From 6f3113df311c0bd3d45c6f0a56a07d2ddc4ceea6 Mon Sep 17 00:00:00 2001 From: acoffman Date: Thu, 3 Aug 2023 17:12:10 +0000 Subject: [PATCH] Automated frontend build --- server/public/10.a57878568e1af68b.js | 1 + server/public/1084.cc7a2dfff7332e28.js | 1 + server/public/1107.21ddf6d39d06779a.js | 1 + server/public/1150.94bdcdeedd2f7339.js | 1 + server/public/1184.9ee6366983dd8c9f.js | 1 - server/public/1192.1161ffe4599e655e.js | 1 - server/public/1364.12bb9c99f867a6aa.js | 1 + server/public/1499.1bcb5b3f2a6a1e89.js | 1 - server/public/1597.ed80e16d49081efd.js | 1 - server/public/1655.9618a309d2f34214.js | 1 - server/public/1703.fe74deedd51f66ab.js | 1 + server/public/1711.eea54ad8a7529740.js | 1 - server/public/1754.906379ee1f4de488.js | 1 + server/public/1761.1757ccd609e3ebfb.js | 1 + server/public/1798.c32eec679b58ec3f.js | 1 - server/public/1806.cd22bea928ef2c97.js | 1 - server/public/1875.638a9575e034ae9e.js | 1 - server/public/1914.81eee4a5b946f717.js | 1 + server/public/2043.b7848c965aa73a21.js | 1 - server/public/2077.cac92e8b07c8ce57.js | 1 - server/public/2156.ecd7c288052ded7d.js | 1 - server/public/2186.1f50c4fe72944294.js | 1 - server/public/2212.7c5b25057022690e.js | 1 + server/public/2294.9818a69a12d743df.js | 1 - server/public/2299.0988428913d7a6f6.js | 1 + server/public/2379.c9fce64ba9a7c959.js | 1 - server/public/2579.938ee89495d8a513.js | 1 - server/public/2602.e359c1494cf777f0.js | 1 + server/public/2907.99547d3b28cc5ead.js | 1 + server/public/3180.6f440dd185b76ec7.js | 1 + server/public/3218.924bd5cde3d1e764.js | 1 - server/public/3241.ac614d68ffc8a17d.js | 1 + server/public/3266.d696285f4aea3d00.js | 1 + server/public/3270.7713e9f84711a804.js | 1 + server/public/3290.f73c6cfa287fc8be.js | 1 + server/public/3291.bdb19855e1d46c8e.js | 1 + server/public/3385.7da54368d3f3368e.js | 1 + server/public/3407.dfec5aefd7ffe3e4.js | 1 + server/public/3505.84bd5eb1b163b35e.js | 1 + server/public/3517.89b7dd18cffca9b4.js | 1 + server/public/3547.440d261bb7a45613.js | 1 - server/public/3577.8c97d3d55e87f3db.js | 1 + server/public/3759.35f8c7163e99f7de.js | 1 + server/public/3883.71e6689a3500da34.js | 1 - server/public/3rdpartylicenses.txt | 54 +- server/public/4024.07ced42d6546c0ef.js | 1 - server/public/4038.8dc8445aa4f19fdd.js | 1 - server/public/404.5e5af8aef5281309.js | 1 - server/public/4294.43ee4cc97fc893b4.js | 1 + server/public/4355.4386fbf1d0ea470e.js | 1 - server/public/4368.f8f7c2083991c012.js | 1 - server/public/4449.385cbcaaa3a2a9b7.js | 1 + server/public/4503.ea75d9592050f619.js | 1 + server/public/4579.b42b3cfa2c0bfb4f.js | 1 - server/public/4637.92c61fd0894ee7dd.js | 1 - server/public/4824.0de1fbb7a4d99eab.js | 1 - server/public/4872.4170af96d9e3e4f3.js | 1 + server/public/5077.62eaefd9054c5bc8.js | 1 + server/public/5291.d8615f40ced2bb98.js | 1 - server/public/5300.aee90e7cda6d8ca9.js | 1 - server/public/5358.970c0a5a4c46ecf3.js | 1 + server/public/5369.bd7c3140e8b78e84.js | 1 + server/public/5376.2cece4bcacd26b39.js | 1 - server/public/5465.8aa4e716762a05ff.js | 1 - server/public/5484.68dcf87aec9743df.js | 1 + server/public/5556.b061e9bbefb5e0f3.js | 1 + server/public/5566.f83e215cf9db82c6.js | 1 - server/public/5584.6969bbc0831b7c8d.js | 1 + server/public/5604.b4a39a9ecac0878b.js | 1 + server/public/5683.9a0c40ea40edb32d.js | 1 + server/public/5714.7ceb10e7de467947.js | 1 - server/public/5756.74732a34d6188e8e.js | 1 + server/public/5787.f7e6bdcc1ffc81c0.js | 1 + server/public/5802.d37c1bd0f3048939.js | 1 + server/public/5978.4c1bb8341b1baecd.js | 1 + server/public/6343.f14f0d0764b0efdd.js | 1 - server/public/647.623c0a47b80c84a8.js | 1 + server/public/6607.6393e299ffce5d74.js | 1 + server/public/6724.4d550e9e44b34d73.js | 1 - server/public/6735.e326392aa1b68077.js | 1 + server/public/681.7bcc292db3618f14.js | 1 - server/public/7121.c94d9e6c2cb75b61.js | 1 + server/public/7129.d41870c75dd1c100.js | 1 + server/public/7215.2dede06be9e2d55f.js | 1 - server/public/729.e0e78753d025d9b9.js | 1 - server/public/7301.36d7c35e2c690965.js | 1 - server/public/770.07c8e52b29e505d9.js | 1 - server/public/7717.17225d5d4dbee03e.js | 1 - server/public/7856.7f558841cb7ecd2a.js | 1 + server/public/79.edcc199a39b0c34f.js | 1 - server/public/7903.9b751d4f9560fc8e.js | 1 + server/public/8026.4d734e84c7104fb8.js | 1 + server/public/8103.cfb73c0b48084050.js | 1 - server/public/8104.4456aeba87b46715.js | 1 + server/public/8245.2f882b4f5fd8d87b.js | 1 + server/public/8252.5d50a5039c93fdd2.js | 1 + server/public/8421.efbeebeb217b3565.js | 1 + server/public/8479.bc64bfa439005be1.js | 1 + server/public/8667.17a3b1aa4be56e18.js | 1 - server/public/8891.08ffd20d3732aa22.js | 1 - server/public/8951.dcfef90be029332d.js | 1 - server/public/9221.1063d4dc30d23675.js | 1 - server/public/9246.f420f906a257bef2.js | 1 - server/public/933.d8777dcd1516ba50.js | 1 - server/public/9397.de8aea4b189d6aa0.js | 1 - server/public/9409.e8a9f8595e5c4989.js | 1 - server/public/943.a4594201e400e93c.js | 1 - server/public/9526.a5a4d10c8d4f9f43.js | 1 - server/public/9636.2ad9d4a0edf91a15.js | 1 - server/public/9641.bed4b144f0984c4d.js | 1 + server/public/97.50ed270308fff8a6.js | 1 - server/public/9716.75cd06843e3c8e35.js | 1 - server/public/9761.d8b5c2efb009faa4.js | 1 - server/public/9803.cc8d47b9b43faece.js | 1 + server/public/9814.ce0ed4c247a924cc.js | 1 + server/public/9896.45d9ccf8c4a64da9.js | 1 - server/public/9939.11664881162fd2af.js | 1 + ...est-22ac7fed5dbcca6a4f46c62baaf8eea0.json} | 2 +- ...2676d49df561c3d06723770321fd441977c.css.gz | Bin 388 -> 388 bytes ...06b8b2259896562b3c75bf5e49fdc9d48f9.css.gz | Bin 7762 -> 7762 bytes ...8e013ba4b0cb6c05e4339c28ce7baed7cfad.js.gz | Bin 1281094 -> 1281094 bytes ...86c9a957a5e40713d58f54be71b66954a1ff.js.gz | Bin 24 -> 24 bytes ...c5b30f5eebb53a50ca90a04fe7d959bddb5.css.gz | Bin 57134 -> 57134 bytes ...e2916012d32240f8dbc11b9b0e4679852f47.js.gz | Bin 113193 -> 113193 bytes ...35ef376b55d125bb4516cebeb14ce788597.css.gz | Bin 20 -> 20 bytes ...8bd845b551aedf1b397e0f09f99d887bd0c.eot.gz | Bin 90627 -> 90627 bytes ...91764d85f002ea1706a99459d903ebf8f95.ttf.gz | Bin 90501 -> 90501 bytes ...0442651935fb12c0c4781bc54205a054d34.svg.gz | Bin 254767 -> 254767 bytes ...f01039045bac6615b3c58c6260a03b4411d.svg.gz | Bin 37143 -> 37143 bytes ...6f48a6db5876a7acf2c6bcb76912af65c87.eot.gz | Bin 16303 -> 16303 bytes ...72d353db275c0cd506a43f15c28146001e3.ttf.gz | Bin 16251 -> 16251 bytes ...744a02d5679b12103ca30373e687aed1698.svg.gz | Bin 255654 -> 255654 bytes ...49bb4314aeb868fcbae3e95de479633205e.eot.gz | Bin 102575 -> 102575 bytes ...89ce35868092ef46c1098afb09f257d4c2b.ttf.gz | Bin 102465 -> 102465 bytes ...54f56146915dca7ba28284b8405562d3ec8.css.gz | Bin 287 -> 287 bytes ...4c61a34e812242d4f32f3e234abaa4b7895.css.gz | Bin 2204 -> 2204 bytes server/public/common.5c82d3c1f0bc6d60.js | 1 - server/public/common.f9a47b73260d63b5.js | 1 + server/public/index.html | 13 +- server/public/main.3f9a66e0b7c17774.js | 4769 +++++++++++++++++ server/public/main.fe4c7af9fb7c3137.js | 4766 ---------------- server/public/polyfills.0d53395d7de28223.js | 1 + server/public/polyfills.46549b99607ed2fb.js | 1 - server/public/runtime.b328a60398147a8d.js | 1 + server/public/runtime.ccd4a70bd0f65f18.js | 1 - ...bcd62b.css => styles.559ff2cf5ef39248.css} | 2 +- 146 files changed, 4892 insertions(+), 4836 deletions(-) create mode 100644 server/public/10.a57878568e1af68b.js create mode 100644 server/public/1084.cc7a2dfff7332e28.js create mode 100644 server/public/1107.21ddf6d39d06779a.js create mode 100644 server/public/1150.94bdcdeedd2f7339.js delete mode 100644 server/public/1184.9ee6366983dd8c9f.js delete mode 100644 server/public/1192.1161ffe4599e655e.js create mode 100644 server/public/1364.12bb9c99f867a6aa.js delete mode 100644 server/public/1499.1bcb5b3f2a6a1e89.js delete mode 100644 server/public/1597.ed80e16d49081efd.js delete mode 100644 server/public/1655.9618a309d2f34214.js create mode 100644 server/public/1703.fe74deedd51f66ab.js delete mode 100644 server/public/1711.eea54ad8a7529740.js create mode 100644 server/public/1754.906379ee1f4de488.js create mode 100644 server/public/1761.1757ccd609e3ebfb.js delete mode 100644 server/public/1798.c32eec679b58ec3f.js delete mode 100644 server/public/1806.cd22bea928ef2c97.js delete mode 100644 server/public/1875.638a9575e034ae9e.js create mode 100644 server/public/1914.81eee4a5b946f717.js delete mode 100644 server/public/2043.b7848c965aa73a21.js delete mode 100644 server/public/2077.cac92e8b07c8ce57.js delete mode 100644 server/public/2156.ecd7c288052ded7d.js delete mode 100644 server/public/2186.1f50c4fe72944294.js create mode 100644 server/public/2212.7c5b25057022690e.js delete mode 100644 server/public/2294.9818a69a12d743df.js create mode 100644 server/public/2299.0988428913d7a6f6.js delete mode 100644 server/public/2379.c9fce64ba9a7c959.js delete mode 100644 server/public/2579.938ee89495d8a513.js create mode 100644 server/public/2602.e359c1494cf777f0.js create mode 100644 server/public/2907.99547d3b28cc5ead.js create mode 100644 server/public/3180.6f440dd185b76ec7.js delete mode 100644 server/public/3218.924bd5cde3d1e764.js create mode 100644 server/public/3241.ac614d68ffc8a17d.js create mode 100644 server/public/3266.d696285f4aea3d00.js create mode 100644 server/public/3270.7713e9f84711a804.js create mode 100644 server/public/3290.f73c6cfa287fc8be.js create mode 100644 server/public/3291.bdb19855e1d46c8e.js create mode 100644 server/public/3385.7da54368d3f3368e.js create mode 100644 server/public/3407.dfec5aefd7ffe3e4.js create mode 100644 server/public/3505.84bd5eb1b163b35e.js create mode 100644 server/public/3517.89b7dd18cffca9b4.js delete mode 100644 server/public/3547.440d261bb7a45613.js create mode 100644 server/public/3577.8c97d3d55e87f3db.js create mode 100644 server/public/3759.35f8c7163e99f7de.js delete mode 100644 server/public/3883.71e6689a3500da34.js delete mode 100644 server/public/4024.07ced42d6546c0ef.js delete mode 100644 server/public/4038.8dc8445aa4f19fdd.js delete mode 100644 server/public/404.5e5af8aef5281309.js create mode 100644 server/public/4294.43ee4cc97fc893b4.js delete mode 100644 server/public/4355.4386fbf1d0ea470e.js delete mode 100644 server/public/4368.f8f7c2083991c012.js create mode 100644 server/public/4449.385cbcaaa3a2a9b7.js create mode 100644 server/public/4503.ea75d9592050f619.js delete mode 100644 server/public/4579.b42b3cfa2c0bfb4f.js delete mode 100644 server/public/4637.92c61fd0894ee7dd.js delete mode 100644 server/public/4824.0de1fbb7a4d99eab.js create mode 100644 server/public/4872.4170af96d9e3e4f3.js create mode 100644 server/public/5077.62eaefd9054c5bc8.js delete mode 100644 server/public/5291.d8615f40ced2bb98.js delete mode 100644 server/public/5300.aee90e7cda6d8ca9.js create mode 100644 server/public/5358.970c0a5a4c46ecf3.js create mode 100644 server/public/5369.bd7c3140e8b78e84.js delete mode 100644 server/public/5376.2cece4bcacd26b39.js delete mode 100644 server/public/5465.8aa4e716762a05ff.js create mode 100644 server/public/5484.68dcf87aec9743df.js create mode 100644 server/public/5556.b061e9bbefb5e0f3.js delete mode 100644 server/public/5566.f83e215cf9db82c6.js create mode 100644 server/public/5584.6969bbc0831b7c8d.js create mode 100644 server/public/5604.b4a39a9ecac0878b.js create mode 100644 server/public/5683.9a0c40ea40edb32d.js delete mode 100644 server/public/5714.7ceb10e7de467947.js create mode 100644 server/public/5756.74732a34d6188e8e.js create mode 100644 server/public/5787.f7e6bdcc1ffc81c0.js create mode 100644 server/public/5802.d37c1bd0f3048939.js create mode 100644 server/public/5978.4c1bb8341b1baecd.js delete mode 100644 server/public/6343.f14f0d0764b0efdd.js create mode 100644 server/public/647.623c0a47b80c84a8.js create mode 100644 server/public/6607.6393e299ffce5d74.js delete mode 100644 server/public/6724.4d550e9e44b34d73.js create mode 100644 server/public/6735.e326392aa1b68077.js delete mode 100644 server/public/681.7bcc292db3618f14.js create mode 100644 server/public/7121.c94d9e6c2cb75b61.js create mode 100644 server/public/7129.d41870c75dd1c100.js delete mode 100644 server/public/7215.2dede06be9e2d55f.js delete mode 100644 server/public/729.e0e78753d025d9b9.js delete mode 100644 server/public/7301.36d7c35e2c690965.js delete mode 100644 server/public/770.07c8e52b29e505d9.js delete mode 100644 server/public/7717.17225d5d4dbee03e.js create mode 100644 server/public/7856.7f558841cb7ecd2a.js delete mode 100644 server/public/79.edcc199a39b0c34f.js create mode 100644 server/public/7903.9b751d4f9560fc8e.js create mode 100644 server/public/8026.4d734e84c7104fb8.js delete mode 100644 server/public/8103.cfb73c0b48084050.js create mode 100644 server/public/8104.4456aeba87b46715.js create mode 100644 server/public/8245.2f882b4f5fd8d87b.js create mode 100644 server/public/8252.5d50a5039c93fdd2.js create mode 100644 server/public/8421.efbeebeb217b3565.js create mode 100644 server/public/8479.bc64bfa439005be1.js delete mode 100644 server/public/8667.17a3b1aa4be56e18.js delete mode 100644 server/public/8891.08ffd20d3732aa22.js delete mode 100644 server/public/8951.dcfef90be029332d.js delete mode 100644 server/public/9221.1063d4dc30d23675.js delete mode 100644 server/public/9246.f420f906a257bef2.js delete mode 100644 server/public/933.d8777dcd1516ba50.js delete mode 100644 server/public/9397.de8aea4b189d6aa0.js delete mode 100644 server/public/9409.e8a9f8595e5c4989.js delete mode 100644 server/public/943.a4594201e400e93c.js delete mode 100644 server/public/9526.a5a4d10c8d4f9f43.js delete mode 100644 server/public/9636.2ad9d4a0edf91a15.js create mode 100644 server/public/9641.bed4b144f0984c4d.js delete mode 100644 server/public/97.50ed270308fff8a6.js delete mode 100644 server/public/9716.75cd06843e3c8e35.js delete mode 100644 server/public/9761.d8b5c2efb009faa4.js create mode 100644 server/public/9803.cc8d47b9b43faece.js create mode 100644 server/public/9814.ce0ed4c247a924cc.js delete mode 100644 server/public/9896.45d9ccf8c4a64da9.js create mode 100644 server/public/9939.11664881162fd2af.js rename server/public/assets/{.sprockets-manifest-fb85a451bf10da5ba5b21d63cebf9e13.json => .sprockets-manifest-22ac7fed5dbcca6a4f46c62baaf8eea0.json} (83%) delete mode 100644 server/public/common.5c82d3c1f0bc6d60.js create mode 100644 server/public/common.f9a47b73260d63b5.js create mode 100644 server/public/main.3f9a66e0b7c17774.js delete mode 100644 server/public/main.fe4c7af9fb7c3137.js create mode 100644 server/public/polyfills.0d53395d7de28223.js delete mode 100644 server/public/polyfills.46549b99607ed2fb.js create mode 100644 server/public/runtime.b328a60398147a8d.js delete mode 100644 server/public/runtime.ccd4a70bd0f65f18.js rename server/public/{styles.a1f965abe4bcd62b.css => styles.559ff2cf5ef39248.css} (80%) diff --git a/server/public/10.a57878568e1af68b.js b/server/public/10.a57878568e1af68b.js new file mode 100644 index 000000000..109c70612 --- /dev/null +++ b/server/public/10.a57878568e1af68b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[10],{1106:(P,C,n)=>{n.d(C,{L:()=>a});var t=n(6814),i=n(4190),l=n(5695),T=n(551),v=n(95),d=n(6067),s=n(8125),h=n(2962),m=n(1022),u=n(5879);let f=(()=>{class _{}return _.\u0275fac=function(c){return new(c||_)},_.\u0275mod=u.oAB({type:_}),_.\u0275inj=u.cJS({imports:[t.ez,h.vh,v.Jb,s.q6,d.X,m.H]}),_})();var O=n(7417);let a=(()=>{class _{}return _.\u0275fac=function(c){return new(c||_)},_.\u0275mod=u.oAB({type:_}),_.\u0275inj=u.cJS({imports:[t.ez,i.Bz,l.X,T.PV,O.$6,f]}),_})()},1835:(P,C,n)=>{n.d(C,{l:()=>O});var t=n(5879),i=n(6814),l=n(5695),T=n(7417),v=n(1887);const d=function(a){return{"matched-tag":a}};function s(a,_){if(1&a&&(t.TgZ(0,"span",2)(1,"nz-tag"),t._uU(2),t.qZA()()),2&a){const g=_.$implicit,c=t.oxw();t.Q6J("ngClass",t.VKq(2,d,c.matchingText&&g.toLowerCase().includes(c.matchingText))),t.xp6(2),t.Oqu(g)}}function h(a,_){if(1&a&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&a){const g=t.oxw(2);t.xp6(1),t.hij(" ",g.matchedHiddenCount," of ")}}function m(a,_){if(1&a&&(t.TgZ(0,"nz-tag",5),t._uU(1," +"),t.YNc(2,h,2,1,"span",6),t._uU(3),t.qZA()),2&a){const g=t.oxw(),c=t.MAs(5);t.Q6J("nzPopoverMouseEnterDelay",0)("nzPopoverContent",c),t.xp6(2),t.Q6J("ngIf",g.matchedHiddenCount>0),t.xp6(1),t.hij("",g.hiddenCount," ")}}function u(a,_){if(1&a&&(t.TgZ(0,"div",2)(1,"nz-tag"),t._uU(2),t.qZA()()),2&a){const g=_.$implicit,c=t.oxw(2);t.Q6J("ngClass",t.VKq(2,d,c.matchingText&&g.toLowerCase().includes(c.matchingText))),t.xp6(2),t.Oqu(g)}}function f(a,_){if(1&a&&(t.TgZ(0,"div",7)(1,"cvc-tag-list",0),t.YNc(2,u,3,4,"div",1),t.qZA()()),2&a){const g=t.oxw();t.xp6(2),t.Q6J("ngForOf",g.hiddenTags)}}let O=(()=>{class a{constructor(g){this.cdr=g,this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnChanges(g){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.hiddenTags){let g=this.matchingText.toLowerCase();this.hiddenTags.forEach(c=>{c.toLowerCase().includes(g)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0}}return a.\u0275fac=function(g){return new(g||a)(t.Y36(t.sBO))},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-plain-tag-overflow"]],inputs:{tags:"tags",matchingText:"matchingText",maxDisplayCount:"maxDisplayCount"},features:[t.TTD],decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"]],template:function(g,c){1&g&&(t.TgZ(0,"cvc-tag-list",0),t.YNc(1,s,3,4,"span",1),t.TgZ(2,"span",2),t.YNc(3,m,4,4,"nz-tag",3),t.qZA(),t.YNc(4,f,3,1,"ng-template",null,4,t.W1O),t.qZA()),2&g&&(t.xp6(1),t.Q6J("ngForOf",c.displayedTags),t.xp6(1),t.Q6J("ngClass",t.VKq(3,d,c.matchedHiddenCount>0)),t.xp6(1),t.Q6J("ngIf",c.hiddenCount&&c.hiddenCount>0))},dependencies:[i.mk,i.sg,i.O5,l.j,T.lU,v.$],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0}),a})()},2966:(P,C,n)=>{n.d(C,{T:()=>d});var t=n(6814),i=n(366),l=n(5695),T=n(7417),v=n(5879);let d=(()=>{class s{}return s.\u0275fac=function(m){return new(m||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[t.ez,l.X,T.$6,i.$]}),s})()},4527:(P,C,n)=>{n.d(C,{T:()=>I});var t=n(5879),i=n(6814),l=n(5695),T=n(7417),v=n(1887),d=n(4770),s=n(9775),h=n(215),m=n(4121),u=n(9408),f=n(7938);const O=function(o){return{"matched-tag":o}},a=function(o,r){return{tagType:o,tag:r}};function _(o,r){if(1&o&&(t.TgZ(0,"div",2),t.GkF(1,6),t.qZA()),2&o){const e=r.$implicit,p=t.oxw(),x=t.MAs(7);t.Q6J("ngClass",t.VKq(3,O,p.matchingText&&e.name.toLowerCase().includes(p.matchingText))),t.xp6(1),t.Q6J("ngTemplateOutlet",x)("ngTemplateOutletContext",t.WLB(5,a,p.tagType,e))}}function g(o,r){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.matchedHiddenCount," of ")}}function c(o,r){if(1&o&&(t.TgZ(0,"nz-tag",7),t._uU(1," +"),t.YNc(2,g,2,1,"span",8),t._uU(3),t.qZA()),2&o){const e=t.oxw(),p=t.MAs(5);t.Q6J("nzPopoverContent",p),t.xp6(2),t.Q6J("ngIf",e.matchedHiddenCount>0),t.xp6(1),t.hij("",e.hiddenCount," ")}}function E(o,r){if(1&o&&(t.TgZ(0,"div",2),t.ynx(1,10),t.GkF(2,6),t.BQk(),t.qZA()),2&o){const e=r.$implicit,p=t.oxw(2),x=t.MAs(7);t.Q6J("ngClass",t.VKq(4,O,p.matchingText&&e.name.toLowerCase().includes(p.matchingText))),t.xp6(1),t.Q6J("ngSwitch",p.tagType),t.xp6(1),t.Q6J("ngTemplateOutlet",x)("ngTemplateOutletContext",t.WLB(6,a,p.tagType,e))}}function M(o,r){if(1&o&&(t.TgZ(0,"div",9)(1,"cvc-tag-list",0),t.YNc(2,E,3,9,"div",1),t.qZA()()),2&o){const e=t.oxw();t.xp6(2),t.Q6J("ngForOf",e.hiddenTags)}}function D(o,r){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-therapy-tag",12),t.BQk()),2&o){const e=t.oxw().tag;t.xp6(1),t.Q6J("therapy",e)("truncateLongName",!0)}}function y(o,r){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-disease-tag",13),t.BQk()),2&o){const e=t.oxw().tag;t.xp6(1),t.Q6J("disease",e)("truncateLongName",!0)}}function z(o,r){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-gene-tag",14),t.BQk()),2&o){const e=t.oxw().tag;t.xp6(1),t.Q6J("gene",e)("truncateLongName",!0)}}function A(o,r){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-organization-tag",15),t.BQk()),2&o){const e=t.oxw().tag;t.xp6(1),t.Q6J("org",e)}}function B(o,r){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-variant-tag",16),t.BQk()),2&o){const e=t.oxw().tag;t.xp6(1),t.Q6J("variant",e)}}function L(o,r){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-variant-type-tag",17),t.BQk()),2&o){const e=t.oxw().tag;t.xp6(1),t.Q6J("variantType",e)}}function U(o,r){1&o&&(t.ynx(0,10),t.YNc(1,D,2,2,"ng-container",11),t.YNc(2,y,2,2,"ng-container",11),t.YNc(3,z,2,2,"ng-container",11),t.YNc(4,A,2,1,"ng-container",11),t.YNc(5,B,2,1,"ng-container",11),t.YNc(6,L,2,1,"ng-container",11),t.BQk()),2&o&&(t.Q6J("ngSwitch",r.tagType),t.xp6(1),t.Q6J("ngSwitchCase","therapy"),t.xp6(1),t.Q6J("ngSwitchCase","disease"),t.xp6(1),t.Q6J("ngSwitchCase","gene"),t.xp6(1),t.Q6J("ngSwitchCase","organization"),t.xp6(1),t.Q6J("ngSwitchCase","variant"),t.xp6(1),t.Q6J("ngSwitchCase","variant-type"))}let I=(()=>{class o{constructor(e){this.cdr=e,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(e){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let e=this.matchingText.toLowerCase();this.hiddenTags.forEach(p=>{p.name.toLowerCase().includes(e)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.sBO))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[t.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(e,p){1&e&&(t.TgZ(0,"cvc-tag-list",0),t.YNc(1,_,2,8,"div",1),t.TgZ(2,"div",2),t.YNc(3,c,4,3,"nz-tag",3),t.qZA(),t.YNc(4,M,3,1,"ng-template",null,4,t.W1O),t.qZA(),t.YNc(6,U,7,7,"ng-template",null,5,t.W1O)),2&e&&(t.xp6(1),t.Q6J("ngForOf",p.displayedTags),t.xp6(1),t.Q6J("ngClass",t.VKq(3,O,p.matchedHiddenCount>0)),t.xp6(1),t.Q6J("ngIf",p.hiddenCount&&p.hiddenCount>0))},dependencies:[i.mk,i.sg,i.O5,i.tP,i.RF,i.n9,l.j,T.lU,v.$,d.T,s.n,h.m,m.H,u.I,f.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0}),o})()},7950:(P,C,n)=>{n.d(C,{x:()=>O});var t=n(6814),i=n(366),l=n(5695),T=n(7417),v=n(3396),d=n(1106),s=n(5956),h=n(7528),m=n(6061),u=n(3717),f=n(5879);let O=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=f.oAB({type:a}),a.\u0275inj=f.cJS({imports:[t.ez,l.X,T.$6,i.$,m.N,v.Q,d.L,s.U,h.Q,u.M]}),a})()},3717:(P,C,n)=>{n.d(C,{M:()=>O});var t=n(6814),i=n(4190),l=n(5695),T=n(2962),v=n(6067),d=n(8125),s=n(551),h=n(2524),m=n(5879);let u=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=m.oAB({type:a}),a.\u0275inj=m.cJS({imports:[t.ez,s.PV,T.vh,d.q6,h.s,v.X]}),a})();var f=n(7417);let O=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=m.oAB({type:a}),a.\u0275inj=m.cJS({imports:[t.ez,i.Bz,s.PV,l.X,f.$6,u]}),a})()},1233:(P,C,n)=>{n.d(C,{F:()=>i});var t=n(5879);let i=(()=>{class l{transform(v,d){return v.map(s=>s[d])}}return l.\u0275fac=function(v){return new(v||l)},l.\u0275pipe=t.Yjl({name:"pluck",type:l,pure:!0}),l})()}}]); \ No newline at end of file diff --git a/server/public/1084.cc7a2dfff7332e28.js b/server/public/1084.cc7a2dfff7332e28.js new file mode 100644 index 000000000..672061580 --- /dev/null +++ b/server/public/1084.cc7a2dfff7332e28.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1084],{5959:(L,z,o)=>{o.d(z,{u:()=>F});var v=o(2023),n=o(5879),t=o(6814),d=o(4190),O=o(7417),D=o(5695),h=o(551),T=o(5676),f=o(7398),I=o(2181),M=o(313),y=o(2962),C=o(8125),x=o(4138),P=o(9408),A=o(1887),G=o(8091),E=o(2616);function N(e,l){if(1&e&&(n._UZ(0,"i",7),n.ALo(1,"entityColor"),n._uU(2)),2&e){const i=n.oxw().ngIf;n.Q6J("nzTwotoneColor",n.lcZ(1,2,"VariantGroup")),n.xp6(2),n.hij(" ",i.name," ")}}function S(e,l){if(1&e&&n._UZ(0,"cvc-variant-tag",10),2&e){const i=l.$implicit;n.Q6J("enablePopover",!1)("variant",i.node)}}function c(e,l){if(1&e&&(n.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),n.YNc(2,S,1,2,"cvc-variant-tag",9),n.qZA()()),2&e){const i=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",i.variants.edges)}}function g(e,l){if(1&e&&n._UZ(0,"cvc-source-tag",13),2&e){const i=l.$implicit;n.Q6J("enablePopover",!1)("source",i)}}function p(e,l){if(1&e&&(n.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),n.YNc(2,g,1,2,"cvc-source-tag",12),n.qZA()()),2&e){const i=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",i.sources)}}function V(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,N,3,4,"ng-template",null,3,n.W1O),n._uU(4),n.TgZ(5,"nz-descriptions",4),n.YNc(6,c,3,1,"nz-descriptions-item",5),n.YNc(7,p,3,1,"nz-descriptions-item",6),n.qZA()(),n.BQk()),2&e){const i=l.ngIf,m=n.MAs(3);n.xp6(1),n.Q6J("nzTitle",m),n.xp6(3),n.hij(" ",i.description," "),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",i.variants.edges.length>0),n.xp6(1),n.Q6J("ngIf",i.sources.length>0)}}let r=(()=>{class e{constructor(i){this.gql=i}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,f.U)(({data:i})=>i?.variantGroup),(0,I.h)(T.ep))}}return e.\u0275fac=function(i){return new(i||e)(n.Y36(M.Zo2))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(i,m){1&i&&(n.TgZ(0,"div",0),n.YNc(1,V,8,5,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&i&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,m.variantGroup$)))},dependencies:[t.sg,t.O5,y.bd,C.R7,C.uj,h.Ls,x.T,P.I,A.$,G.fM,E.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),e})();var u=o(3103);function a(e,l){}function s(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,a,0,0,"ng-template",5),n.qZA(),n.BQk()),2&e){const i=n.oxw(),m=n.MAs(2);n.xp6(1),n.Q6J("routerLink",i.variantgroup.link),n.xp6(1),n.Q6J("ngTemplateOutlet",m)}}function _(e,l){}function U(e,l){if(1&e&&n._UZ(0,"cvc-variant-group-popover",9),2&e){const i=n.oxw(3);n.Q6J("variantGroupId",i.variantgroup.id)}}function Z(e,l){if(1&e&&n.YNc(0,U,1,1,"cvc-variant-group-popover",8),2&e){const i=n.oxw(2);n.Q6J("ngIf",i.enablePopover)}}function w(e,l){if(1&e&&(n.TgZ(0,"nz-tag",6),n.YNc(1,_,0,0,"ng-template",5),n.qZA(),n.YNc(2,Z,1,1,"ng-template",null,7,n.W1O)),2&e){const i=n.MAs(3),m=n.oxw(),J=n.MAs(6);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",i)("nzPopoverTrigger",m.enablePopover?"hover":null),n.xp6(1),n.Q6J("ngTemplateOutlet",J)}}function Q(e,l){}function B(e,l){if(1&e&&n.YNc(0,Q,0,0,"ng-template",5),2&e){n.oxw();const i=n.MAs(2);n.Q6J("ngTemplateOutlet",i)}}function Y(e,l){if(1&e&&(n.TgZ(0,"cvc-icon-badges",10),n._UZ(1,"i",11),n.ALo(2,"entityColor"),n.qZA(),n._uU(3)),2&e){const i=n.oxw();n.Q6J("flagged",i.variantgroup.flagged)("entityColor",i.iconColor),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,4,"VariantGroup")),n.xp6(2),n.hij(" ",i.variantgroup.name,"\n")}}let F=(()=>{class e{set variantgroup(i){if(!i)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=i}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,v.f)("VariantGroup")}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(i,m){if(1&i&&(n.YNc(0,s,3,2,"ng-container",0),n.YNc(1,w,4,4,"ng-template",null,1,n.W1O),n.YNc(3,B,1,1,"ng-template",null,2,n.W1O),n.YNc(5,Y,4,6,"ng-template",null,3,n.W1O)),2&i){const J=n.MAs(4);n.Q6J("ngIf",m.linked)("ngIfElse",J)}},dependencies:[t.O5,t.tP,d.rH,O.lU,D.j,h.Ls,r,u.b,E.a],encapsulation:2,changeDetection:0}),e})()},5419:(L,z,o)=>{o.r(z),o.d(z,{CurationActivityModule:()=>S});var v=o(6814),n=o(4190),t=o(313),d=o(5879),O=o(7441);const h=[{path:"",redirectTo:"curation-timeline",pathMatch:"full"},{path:"curation-timeline",component:(()=>{class c{constructor(){this.feedMode=t.wJ2.Unscoped}ngOnInit(){}}return c.\u0275fac=function(p){return new(p||c)},c.\u0275cmp=d.Xpm({type:c,selectors:[["cvc-curation-activity-timeline"]],decls:1,vars:4,consts:[[3,"showFilters","mode","pageSize","includeAutomatedEvents"]],template:function(p,V){1&p&&d._UZ(0,"cvc-event-feed",0),2&p&&d.Q6J("showFilters",!0)("mode",V.feedMode)("pageSize",17)("includeAutomatedEvents",!1)},dependencies:[O.o],encapsulation:2}),c})(),data:{breadcrumb:"Timeline"}}];let T=(()=>{class c{}return c.\u0275fac=function(p){return new(p||c)},c.\u0275mod=d.oAB({type:c}),c.\u0275inj=d.cJS({imports:[n.Bz.forChild(h),n.Bz]}),c})();var f=o(2419),I=o(6254),M=o(4059),y=o(551),C=o(95),x=o(2962),P=o(9894);let A=(()=>{class c{}return c.\u0275fac=function(p){return new(p||c)},c.\u0275mod=d.oAB({type:c}),c.\u0275inj=d.cJS({imports:[v.ez,C.Jb,x.vh,P.t]}),c})();var G=o(2574),E=o(2392),N=o(2524);let S=(()=>{class c{}return c.\u0275fac=function(p){return new(p||c)},c.\u0275mod=d.oAB({type:c}),c.\u0275inj=d.cJS({imports:[v.ez,T,A,I.KJ,y.PV,G.zf,E.ZJ,C.Jb,N.s,f.D,M.c]}),c})()},6494:(L,z,o)=>{o.d(z,{i:()=>p,m:()=>V});var v=o(655),n=o(6028),t=o(5879),d=o(6223),O=o(8645),D=o(2438),h=o(9773),T=o(874),f=o(7754),I=o(4300),M=o(9388),y=o(6814),C=o(1958),x=o(551),P=o(8324);const A=["switchElement"];function G(r,u){1&r&&t._UZ(0,"span",8)}function E(r,u){if(1&r&&(t.ynx(0),t._uU(1),t.BQk()),2&r){const a=t.oxw(2);t.xp6(1),t.Oqu(a.nzCheckedChildren)}}function N(r,u){if(1&r&&(t.ynx(0),t.YNc(1,E,2,1,"ng-container",9),t.BQk()),2&r){const a=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",a.nzCheckedChildren)}}function S(r,u){if(1&r&&(t.ynx(0),t._uU(1),t.BQk()),2&r){const a=t.oxw(2);t.xp6(1),t.Oqu(a.nzUnCheckedChildren)}}function c(r,u){if(1&r&&t.YNc(0,S,2,1,"ng-container",9),2&r){const a=t.oxw();t.Q6J("nzStringTemplateOutlet",a.nzUnCheckedChildren)}}let p=(()=>{class r{updateValue(a){this.isChecked!==a&&(this.isChecked=a,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(a,s,_,U,Z,w){this.nzConfigService=a,this.host=s,this.ngZone=_,this.cdr=U,this.focusMonitor=Z,this.directionality=w,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new O.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,h.R)(this.destroy$)).subscribe(a=>{this.dir=a,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,D.R)(this.host.nativeElement,"click").pipe((0,h.R)(this.destroy$)).subscribe(a=>{a.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,D.R)(this.switchElement.nativeElement,"keydown").pipe((0,h.R)(this.destroy$)).subscribe(a=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:s}=a;s!==n.oh&&s!==n.SV&&s!==n.L_&&s!==n.K5||(a.preventDefault(),this.ngZone.run(()=>{s===n.oh?this.updateValue(!1):s===n.SV?this.updateValue(!0):(s===n.L_||s===n.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,h.R)(this.destroy$)).subscribe(a=>{a||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(a){this.isChecked=a,this.cdr.markForCheck()}registerOnChange(a){this.onChange=a}registerOnTouched(a){this.onTouched=a}setDisabledState(a){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||a,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return r.\u0275fac=function(a){return new(a||r)(t.Y36(T.jY),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(I.tE),t.Y36(M.Is,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["nz-switch"]],viewQuery:function(a,s){if(1&a&&t.Gf(A,7),2&a){let _;t.iGM(_=t.CRH())&&(s.switchElement=_.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[t._Bn([{provide:d.JU,useExisting:(0,t.Gpc)(()=>r),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(a,s){if(1&a&&(t.TgZ(0,"button",0,1)(2,"span",2),t.YNc(3,G,1,0,"span",3),t.qZA(),t.TgZ(4,"span",4),t.YNc(5,N,2,1,"ng-container",5),t.YNc(6,c,1,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(8,"div",7),t.qZA()),2&a){const _=t.MAs(7);t.ekj("ant-switch-checked",s.isChecked)("ant-switch-loading",s.nzLoading)("ant-switch-disabled",s.nzDisabled)("ant-switch-small","small"===s.nzSize)("ant-switch-rtl","rtl"===s.dir),t.Q6J("disabled",s.nzDisabled)("nzWaveExtraNode",!0),t.uIk("id",s.nzId),t.xp6(3),t.Q6J("ngIf",s.nzLoading),t.xp6(2),t.Q6J("ngIf",s.isChecked)("ngIfElse",_)}},dependencies:[y.O5,C.dQ,x.Ls,P.f],encapsulation:2,changeDetection:0}),(0,v.gn)([(0,f.yF)()],r.prototype,"nzLoading",void 0),(0,v.gn)([(0,f.yF)()],r.prototype,"nzDisabled",void 0),(0,v.gn)([(0,f.yF)()],r.prototype,"nzControl",void 0),(0,v.gn)([(0,T.oS)()],r.prototype,"nzSize",void 0),r})(),V=(()=>{class r{}return r.\u0275fac=function(a){return new(a||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[M.vT,y.ez,C.vG,x.PV,P.T]}),r})()}}]); \ No newline at end of file diff --git a/server/public/1107.21ddf6d39d06779a.js b/server/public/1107.21ddf6d39d06779a.js new file mode 100644 index 000000000..8341a04d2 --- /dev/null +++ b/server/public/1107.21ddf6d39d06779a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1107],{4786:(sn,U,a)=>{a.d(U,{O:()=>j});var u=a(8130),i=a(2023),c=a(5879),G=a(6814),L=a(4190),$=a(5695),F=a(7417),Q=a(551),Z=a(8213),v=a(3103),I=a(2616);function y(_,z){}function b(_,z){if(1&_&&(c.ynx(0),c.TgZ(1,"a",4),c.YNc(2,y,0,0,"ng-template",5),c.qZA(),c.BQk()),2&_){const m=c.oxw(),M=c.MAs(2);c.xp6(1),c.Q6J("routerLink",m.evidence.link),c.xp6(1),c.Q6J("ngTemplateOutlet",M)}}function T(_,z){}function x(_,z){if(1&_&&c._UZ(0,"cvc-evidence-popover",9),2&_){const m=c.oxw(3);c.Q6J("evidenceId",m.evidence.id)}}function h(_,z){if(1&_&&c.YNc(0,x,1,1,"cvc-evidence-popover",8),2&_){const m=c.oxw(2);c.Q6J("ngIf",m.enablePopover)}}const n=function(_,z,m){return{rejected:_,submitted:z,accepted:m}};function J(_,z){if(1&_&&(c.TgZ(0,"nz-tag",6),c.YNc(1,T,0,0,"ng-template",5),c.qZA(),c.YNc(2,h,1,1,"ng-template",null,7,c.W1O)),2&_){const m=c.MAs(3),M=c.oxw(),Y=c.MAs(6);c.Q6J("ngClass",c.kEZ(5,n,"REJECTED"===M.evidence.status,"SUBMITTED"===M.evidence.status,"ACCEPTED"===M.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",m)("nzPopoverTrigger",M.enablePopover?"hover":null),c.xp6(1),c.Q6J("ngTemplateOutlet",Y)}}function f(_,z){}function nn(_,z){if(1&_&&c.YNc(0,f,0,0,"ng-template",5),2&_){c.oxw();const m=c.MAs(2);c.Q6J("ngTemplateOutlet",m)}}function en(_,z){if(1&_&&(c.TgZ(0,"cvc-icon-badges",10),c._UZ(1,"i",11),c.ALo(2,"entityColor"),c.ALo(3,"entityColor"),c.qZA(),c._uU(4)),2&_){const m=c.oxw();c.Q6J("flagged",m.evidence.flagged)("entityColor",m.iconColor),c.xp6(1),c.Q6J("nzTwotoneColor","REJECTED"===m.evidence.status?c.lcZ(2,4,"Rejected"):c.lcZ(3,6,"EvidenceItem")),c.xp6(3),c.hij(" ",m.evidence.name,"\n")}}let j=(()=>{class _ extends u.a{set evidence(m){if(!m)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=m}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,i.f)("EvidenceItem")}idFunction(){return this.evidence.id}}return _.\u0275fac=function(m){return new(m||_)},_.\u0275cmp=c.Xpm({type:_,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[c.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(m,M){if(1&m&&(c.YNc(0,b,3,2,"ng-container",0),c.YNc(1,J,4,9,"ng-template",null,1,c.W1O),c.YNc(3,nn,1,1,"ng-template",null,2,c.W1O),c.YNc(5,en,5,8,"ng-template",null,3,c.W1O)),2&m){const Y=c.MAs(4);c.Q6J("ngIf",M.linked)("ngIfElse",Y)}},dependencies:[G.mk,G.O5,G.tP,L.rH,$.j,F.lU,Q.Ls,Z._,v.b,I.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]}),_})()},5959:(sn,U,a)=>{a.d(U,{u:()=>mn});var u=a(2023),i=a(5879),c=a(6814),G=a(4190),L=a(7417),$=a(5695),F=a(551),Q=a(5676),Z=a(7398),v=a(2181),I=a(313),y=a(2962),b=a(8125),T=a(4138),x=a(9408),h=a(1887),n=a(8091),J=a(2616);function f(l,d){if(1&l&&(i._UZ(0,"i",7),i.ALo(1,"entityColor"),i._uU(2)),2&l){const p=i.oxw().ngIf;i.Q6J("nzTwotoneColor",i.lcZ(1,2,"VariantGroup")),i.xp6(2),i.hij(" ",p.name," ")}}function nn(l,d){if(1&l&&i._UZ(0,"cvc-variant-tag",10),2&l){const p=d.$implicit;i.Q6J("enablePopover",!1)("variant",p.node)}}function en(l,d){if(1&l&&(i.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),i.YNc(2,nn,1,2,"cvc-variant-tag",9),i.qZA()()),2&l){const p=i.oxw().ngIf;i.xp6(2),i.Q6J("ngForOf",p.variants.edges)}}function j(l,d){if(1&l&&i._UZ(0,"cvc-source-tag",13),2&l){const p=d.$implicit;i.Q6J("enablePopover",!1)("source",p)}}function _(l,d){if(1&l&&(i.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),i.YNc(2,j,1,2,"cvc-source-tag",12),i.qZA()()),2&l){const p=i.oxw().ngIf;i.xp6(2),i.Q6J("ngForOf",p.sources)}}function z(l,d){if(1&l&&(i.ynx(0),i.TgZ(1,"nz-card",2),i.YNc(2,f,3,4,"ng-template",null,3,i.W1O),i._uU(4),i.TgZ(5,"nz-descriptions",4),i.YNc(6,en,3,1,"nz-descriptions-item",5),i.YNc(7,_,3,1,"nz-descriptions-item",6),i.qZA()(),i.BQk()),2&l){const p=d.ngIf,A=i.MAs(3);i.xp6(1),i.Q6J("nzTitle",A),i.xp6(3),i.hij(" ",p.description," "),i.xp6(1),i.Q6J("nzColumn",2),i.xp6(1),i.Q6J("ngIf",p.variants.edges.length>0),i.xp6(1),i.Q6J("ngIf",p.sources.length>0)}}let m=(()=>{class l{constructor(p){this.gql=p}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,Z.U)(({data:p})=>p?.variantGroup),(0,v.h)(Q.ep))}}return l.\u0275fac=function(p){return new(p||l)(i.Y36(I.Zo2))},l.\u0275cmp=i.Xpm({type:l,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(p,A){1&p&&(i.TgZ(0,"div",0),i.YNc(1,z,8,5,"ng-container",1),i.ALo(2,"ngrxPush"),i.qZA()),2&p&&(i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,A.variantGroup$)))},dependencies:[c.sg,c.O5,y.bd,b.R7,b.uj,F.Ls,T.T,x.I,h.$,n.fM,J.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),l})();var M=a(3103);function Y(l,d){}function B(l,d){if(1&l&&(i.ynx(0),i.TgZ(1,"a",4),i.YNc(2,Y,0,0,"ng-template",5),i.qZA(),i.BQk()),2&l){const p=i.oxw(),A=i.MAs(2);i.xp6(1),i.Q6J("routerLink",p.variantgroup.link),i.xp6(1),i.Q6J("ngTemplateOutlet",A)}}function tn(l,d){}function on(l,d){if(1&l&&i._UZ(0,"cvc-variant-group-popover",9),2&l){const p=i.oxw(3);i.Q6J("variantGroupId",p.variantgroup.id)}}function ln(l,d){if(1&l&&i.YNc(0,on,1,1,"cvc-variant-group-popover",8),2&l){const p=i.oxw(2);i.Q6J("ngIf",p.enablePopover)}}function pn(l,d){if(1&l&&(i.TgZ(0,"nz-tag",6),i.YNc(1,tn,0,0,"ng-template",5),i.qZA(),i.YNc(2,ln,1,1,"ng-template",null,7,i.W1O)),2&l){const p=i.MAs(3),A=i.oxw(),an=i.MAs(6);i.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",p)("nzPopoverTrigger",A.enablePopover?"hover":null),i.xp6(1),i.Q6J("ngTemplateOutlet",an)}}function gn(l,d){}function _n(l,d){if(1&l&&i.YNc(0,gn,0,0,"ng-template",5),2&l){i.oxw();const p=i.MAs(2);i.Q6J("ngTemplateOutlet",p)}}function un(l,d){if(1&l&&(i.TgZ(0,"cvc-icon-badges",10),i._UZ(1,"i",11),i.ALo(2,"entityColor"),i.qZA(),i._uU(3)),2&l){const p=i.oxw();i.Q6J("flagged",p.variantgroup.flagged)("entityColor",p.iconColor),i.xp6(1),i.Q6J("nzTwotoneColor",i.lcZ(2,4,"VariantGroup")),i.xp6(2),i.hij(" ",p.variantgroup.name,"\n")}}let mn=(()=>{class l{set variantgroup(p){if(!p)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=p}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,u.f)("VariantGroup")}}return l.\u0275fac=function(p){return new(p||l)},l.\u0275cmp=i.Xpm({type:l,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(p,A){if(1&p&&(i.YNc(0,B,3,2,"ng-container",0),i.YNc(1,pn,4,4,"ng-template",null,1,i.W1O),i.YNc(3,_n,1,1,"ng-template",null,2,i.W1O),i.YNc(5,un,4,6,"ng-template",null,3,i.W1O)),2&p){const an=i.MAs(4);i.Q6J("ngIf",A.linked)("ngIfElse",an)}},dependencies:[c.O5,c.tP,G.rH,L.lU,$.j,F.Ls,m,M.b,J.a],encapsulation:2,changeDetection:0}),l})()},3641:(sn,U,a)=>{a.d(U,{G:()=>x});var u=a(6814),i=a(4190),c=a(7417),G=a(5695),L=a(551),$=a(366),F=a(8641),Q=a(7528),Z=a(2524),v=a(2962),I=a(8125),y=a(5879);let b=(()=>{class h{}return h.\u0275fac=function(J){return new(J||h)},h.\u0275mod=y.oAB({type:h}),h.\u0275inj=y.cJS({imports:[u.ez,v.vh,I.q6,L.PV,F.s,Q.Q,$.$,Z.s]}),h})();var T=a(3146);let x=(()=>{class h{}return h.\u0275fac=function(J){return new(J||h)},h.\u0275mod=y.oAB({type:h}),h.\u0275inj=y.cJS({imports:[u.ez,i.Bz,c.$6,G.X,L.PV,b,Z.s,T.C]}),h})()},4601:(sn,U,a)=>{a.r(U),a.d(U,{GenesDetailModule:()=>gt});var u=a(6814),i=a(9894),c=a(5725),G=a(936),L=a(7129),$=a(2419),F=a(4059),Q=a(2524),Z=a(2840),v=a(95),I=a(551),y=a(6254),b=a(2574),T=a(2392),x=a(4190),h=a(1830),n=a(5879);let J=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,h.l]}),e})();var f=a(313),nn=a(800);let en=(()=>{class e{constructor(t){this.route=t,this.commentable={id:+this.route.snapshot.params.geneId,entityType:f.OfU.Gene}}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(x.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-genes-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(t,r){1&t&&n._UZ(0,"cvc-comment-list",0),2&t&&n.Q6J("commentable",r.commentable)},dependencies:[nn.D],styles:["[_nghost-%COMP%]{display:block}"]}),e})();var j=a(8645),_=a(5619),z=a(7921),m=a(9773),M=a(4223),Y=a(951),B=a(8091),tn=a(855),on=a(1958),ln=a(5098),pn=a(327),gn=a(1801),_n=a(1520),un=a(3145),mn=a(8295),l=a(2616);const d=function(e){return["/genes",e,"revise"]};function p(e,o){if(1&e&&(n.TgZ(0,"button",14,15),n._uU(2," Revise "),n.qZA()),2&e){const t=n.MAs(1),r=n.oxw(4).ngIf;n.Q6J("routerLink",n.VKq(2,d,r.id))("nzType",t.isActive?"primary":"default")}}function A(e,o){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,p,3,4,"button",13),n.qZA()),2&e){const t=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",t.signedIn)}}function an(e,o){if(1&e&&(n.TgZ(0,"button",17,15),n._uU(2," Flag "),n.qZA()),2&e){const t=n.MAs(1);n.Q6J("nzType",t.isActive?"primary":"default")}}function Pn(e,o){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,an,3,1,"button",16),n.qZA()),2&e){const t=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",t.signedIn)}}function Zn(e,o){if(1&e&&n._UZ(0,"cvc-entity-subscription-button",19),2&e){const t=n.oxw(2).ngrxLet,r=n.oxw(3);n.Q6J("viewer",t)("subscribableId",r.subscribable.id)}}function bn(e,o){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Zn,1,2,"cvc-entity-subscription-button",18),n.qZA()),2&e){const t=n.oxw().ngrxLet,r=n.oxw(3);n.xp6(1),n.Q6J("ngIf",t.signedIn&&r.subscribable)}}function In(e,o){1&e&&(n.TgZ(0,"nz-space",11),n.YNc(1,A,2,1,"span",12),n.YNc(2,Pn,2,1,"span",12),n.YNc(3,bn,2,1,"span",12),n.qZA())}function An(e,o){if(1&e&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,In,4,0,"nz-space",10),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",t.viewer$)}}function wn(e,o){if(1&e&&(n.TgZ(0,"nz-col",20),n._UZ(1,"cvc-contributor-avatars",21),n.qZA()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("subscribable",t.subscribable)}}const Jn=function(e){return{flagged:e}};function On(e,o){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"div",2),n.ALo(3,"ngrxPush"),n.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),n._UZ(6,"i",5),n.ALo(7,"entityColor"),n._uU(8),n.qZA(),n.TgZ(9,"nz-page-header-subtitle"),n._uU(10),n.qZA(),n.YNc(11,An,2,1,"nz-page-header-extra",6),n.TgZ(12,"nz-page-header-content")(13,"cvc-tab-navigation",7),n.ALo(14,"ngrxPush"),n.YNc(15,wn,2,1,"ng-template",null,8,n.W1O),n.qZA(),n.TgZ(17,"div",9),n._UZ(18,"router-outlet"),n.qZA()()()(),n.BQk()),2&e){const t=o.ngIf,r=n.oxw();n.xp6(1),n.Q6J("displayName",t.name),n.xp6(1),n.Q6J("flags",n.lcZ(3,8,r.flagsTotal$)),n.xp6(3),n.Q6J("ngClass",n.VKq(14,Jn,t.flags.totalCount>0)),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(7,10,"Gene")),n.xp6(2),n.hij(" ",t.name," "),n.xp6(2),n.hij(" ",t.officialName," "),n.xp6(1),n.Q6J("ngrxLet",r.viewer$),n.xp6(2),n.Q6J("tabs",n.lcZ(14,12,r.tabs$))}}let Gn=(()=>{class e{constructor(t,r,s){this.gql=t,this.viewerService=r,this.route=s,this.destroy$=new j.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.filterCurators=g=>"curator"==g.role,this.filterEditors=g=>"editor"==g.role||"admin"==g.role,this.tabs$=new _.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(g=>{let R=this.gql.watch({geneId:+g.geneId}).valueChanges;this.loading$=R.pipe((0,M.j)("loading"),(0,z.O)(!0)),this.gene$=R.pipe((0,M.j)("data","gene")),this.flagsTotal$=this.gene$.pipe((0,M.j)("flags","totalCount")),this.gene$.pipe((0,m.R)(this.destroy$)).subscribe({next:C=>{this.tabs$.next(this.defaultTabs.map(k=>"Revisions"===k.tabLabel?{badgeCount:C?.revisions.totalCount,...k}:"Comments"===k.tabLabel?{badgeCount:C?.comments.totalCount,badgeColor:"#cccccc",...k}:k))}}),this.subscribable={id:+g.geneId,entityType:f.o71.Gene}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(f.TNk),n.Y36(Y.a),n.Y36(x.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["genes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],[4,"ngrxLet"],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Gene",3,"viewer","subscribableId",4,"ngIf"],["typename","Gene",3,"viewer","subscribableId"],["id","contributors-col"],[3,"subscribable"]],template:function(t,r){1&t&&(n.YNc(0,On,19,16,"ng-container",0),n.ALo(1,"async")),2&t&&n.Q6J("ngIf",n.lcZ(1,1,r.gene$))},dependencies:[u.mk,u.O5,x.lC,x.rH,x.Od,B.eJ,Z.ix,tn.w,on.dQ,I.Ls,y.$O,y.u9,y.yG,y.u5,y.Jp,b.NU,b.$1,v.t3,ln.P,pn.o,gn.Y,_n.N,un.I,mn.Q,u.Ov,B.fM,l.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})(),Qn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,i.t]}),e})();var Sn=a(7441);let Nn=(()=>{class e{constructor(t){this.route=t,this.subscribable={id:+this.route.snapshot.params.geneId,entityType:f.o71.Gene}}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(x.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-genes-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(t,r){1&t&&n._UZ(0,"cvc-event-feed",0),2&t&&n.Q6J("subscribable",r.subscribable)},dependencies:[Sn.o],styles:["[_nghost-%COMP%]{display:block}"]}),e})();var S=a(2962),Vn=a(4139),En=a(183);let Un=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,v.Jb,S.vh,b.zf,Vn.H0,En.M]}),e})();var Ln=a(7287);let Fn=(()=>{class e{constructor(t){this.route=t,this.flaggable={entityType:f.sfv.Gene,id:+this.route.snapshot.params.geneId}}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(x.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-genes-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(t,r){1&t&&n._UZ(0,"cvc-flag-list-and-filter",0),2&t&&n.Q6J("flaggable",r.flaggable)},dependencies:[Ln.L],styles:["[_nghost-%COMP%]{display:block}"]}),e})();var Yn=a(6976),dn=a(5695),Dn=a(1595),$n=a(6928),jn=a(1665),Bn=a(2534);let Rn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,v.Jb,Yn.Ph,S.vh,b.zf,dn.X,T.ZJ,$n.Rt,Dn.N,jn.i,Bn.A]}),e})();var Wn=a(6126);let Kn=(()=>{class e{constructor(t){this.route=t,this.routeSub=this.route.params.subscribe(r=>{this.geneId=+r.geneId,this.entityType=f.oRL.Gene})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(x.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-genes-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(t,r){1&t&&n._UZ(0,"cvc-revisions-list-and-filter",0),2&t&&n.Q6J("id",r.geneId)("entityType",r.entityType)},dependencies:[Wn.a],styles:["[_nghost-%COMP%]{display:block}"]}),e})();var W=a(8125),Hn=a(3511),fn=a(366),Xn=a(6067),qn=a(8641),P=a(6223),kn=a(7528),O=a(3599),D=a(824),K=a(9691),ne=a(3717),Cn=a(2612),rn=a(2669);let ee=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,P.u5,Z.sL,v.Jb,S.vh,I.PV,O.U5,D.o7,K.LV,T.ZJ,Cn.Wr,rn.j,Q.s,kn.Q,fn.$,ne.M]}),e})();var H=a(9382),N=a(3740);let te=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,S.vh,H.we,N.HQ,v.Jb,N.HQ,T.ZJ,W.q6]}),e})();var oe=a(2655),ae=a(3235),ie=a(8527);let re=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,P.u5,Z.sL,v.Jb,S.vh,I.PV,O.U5,D.o7,K.LV,rn.j,T.ZJ,Q.s,ie.u,fn.$]}),e})(),ce=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,v.Jb,W.q6,T.ZJ,b.zf,dn.X,H.we,Hn.o,fn.$,Xn.X,qn.s,oe.x,ae.W,ee,te,re]}),e})();var X,se=a(3493),vn=a(1887),le=a(3317),pe=a(4138),xn=a(655),w=a(7398),V=a(2181),Tn=a(3620),cn=a(1791),E=a(5676),ge=a(2023),_e=a(9408);function ue(e,o){if(1&e&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&e){const t=n.oxw(3).ngIf;n.xp6(1),n.hij("(",t.length," displayed)")}}function me(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"span",8),n._uU(2),n.qZA(),n.YNc(3,ue,2,1,"span",9),n.BQk()),2&e){const t=o.ngIf,r=n.oxw(2).ngIf;n.xp6(2),n.hij("",t," Total"),n.xp6(1),n.Q6J("ngIf",t>r.length)}}function de(e,o){if(1&e&&(n.YNc(0,me,4,2,"ng-container",1),n.ALo(1,"ngrxPush")),2&e){const t=n.oxw(2);n.Q6J("ngIf",n.lcZ(1,1,t.totalVariants$))}}function fe(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"i",20),n.NdJ("click",function(){n.CHM(t);const s=n.oxw(4);return s.variantNameFilter=void 0,n.KtG(s.onModelUpdated())}),n.qZA()}}function ve(e,o){if(1&e&&n.YNc(0,fe,1,0,"i",19),2&e){const t=n.oxw(3);n.Q6J("ngIf",t.variantNameFilter)}}function he(e,o){if(1&e&&n._UZ(0,"nz-option",24),2&e){const t=o.$implicit;n.Q6J("nzLabel",t.name)("nzValue",t)}}function ze(e,o){if(1&e&&(n.TgZ(0,"div",25),n._UZ(1,"i",26),n._uU(2),n.qZA()),2&e){const t=o.$implicit,r=n.oxw(4);n.xp6(1),n.Q6J("nzTwotoneColor",r.iconColor),n.xp6(1),n.hij(" ",t.nzLabel," ")}}function Ce(e,o){if(1&e){const t=n.EpF();n.ynx(0),n.TgZ(1,"nz-select",21),n.NdJ("ngModelChange",function(s){n.CHM(t);const g=n.oxw(3);return n.KtG(g.variantTypeFilter=s)})("ngModelChange",function(){n.CHM(t);const s=n.oxw(3);return n.KtG(s.onModelUpdated())}),n.YNc(2,he,1,2,"nz-option",22),n.qZA(),n.YNc(3,ze,3,2,"ng-template",null,23,n.W1O),n.BQk()}if(2&e){const t=o.ngIf,r=n.MAs(4),s=n.oxw(3);n.xp6(1),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",s.variantTypeFilter)("nzCustomTemplate",r),n.xp6(1),n.Q6J("ngForOf",t)}}function xe(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"form",10)(1,"nz-form-item")(2,"nz-form-label"),n._uU(3,"Name Filter"),n.qZA(),n.TgZ(4,"nz-form-control")(5,"nz-input-group",11)(6,"input",12),n.NdJ("ngModelChange",function(){n.CHM(t);const s=n.oxw(2);return n.KtG(s.onModelUpdated())})("ngModelChange",function(s){n.CHM(t);const g=n.oxw(2);return n.KtG(g.variantNameFilter=s)}),n.qZA(),n.YNc(7,ve,1,1,"ng-template",null,13,n.W1O),n.qZA()()(),n.TgZ(9,"nz-form-item")(10,"nz-form-label"),n._uU(11,"Variant Type"),n.qZA(),n.TgZ(12,"nz-form-control"),n.YNc(13,Ce,5,4,"ng-container",1),n.ALo(14,"ngrxPush"),n.qZA()(),n.TgZ(15,"nz-form-item")(16,"nz-form-label"),n._uU(17," No Variant Type "),n.qZA(),n.TgZ(18,"nz-form-control")(19,"label",14),n.NdJ("ngModelChange",function(s){n.CHM(t);const g=n.oxw(2);return n.KtG(g.hasNoVariantType=s)})("ngModelChange",function(){n.CHM(t);const s=n.oxw(2);return n.KtG(s.onModelUpdated())}),n.qZA()()(),n.TgZ(20,"nz-form-item")(21,"nz-form-label"),n._uU(22,"Order By"),n.qZA(),n.TgZ(23,"nz-form-control")(24,"nz-select",15),n.NdJ("ngModelChange",function(s){n.CHM(t);const g=n.oxw(2);return n.KtG(g.onVariantSortOrderChanged(s))})("ngModelChange",function(s){n.CHM(t);const g=n.oxw(2);return n.KtG(g.sortBy=s)}),n._UZ(25,"nz-option",16)(26,"nz-option",17)(27,"nz-option",18),n.qZA()()()()}if(2&e){const t=n.MAs(8),r=n.oxw(2);n.xp6(5),n.Q6J("nzSuffix",t)("nzCompact",!0),n.xp6(1),n.Q6J("ngModel",r.variantNameFilter),n.xp6(7),n.Q6J("ngIf",n.lcZ(14,6,r.menuVariantTypes$)),n.xp6(6),n.Q6J("ngModel",r.hasNoVariantType),n.xp6(5),n.Q6J("ngModel",r.sortBy)}}function Te(e,o){if(1&e&&n._UZ(0,"cvc-variant-tag",28),2&e){const t=n.oxw().$implicit;n.Q6J("variant",t)}}function Me(e,o){if(1&e&&(n.ynx(0),n.YNc(1,Te,1,1,"cvc-variant-tag",27),n.BQk()),2&e){const t=o.$implicit;n.xp6(1),n.Q6J("ngIf",t)}}function ye(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"nz-row",30)(1,"button",31),n.NdJ("click",function(){n.CHM(t);const s=n.oxw().ngIf,g=n.oxw(2);return n.KtG(g.fetchMore(s.endCursor))}),n._uU(2,"Load More "),n.qZA(),n.TgZ(3,"nz-select",32),n.NdJ("ngModelChange",function(s){n.CHM(t);const g=n.oxw(3);return n.KtG(g.pageSize=s)}),n._UZ(4,"nz-option",33)(5,"nz-option",34)(6,"nz-option",35),n.qZA()()}if(2&e){const t=n.oxw(3);n.xp6(3),n.Q6J("ngModel",t.pageSize),n.xp6(1),n.Q6J("nzValue",50),n.xp6(1),n.Q6J("nzValue",100),n.xp6(1),n.Q6J("nzValue",300)}}function Pe(e,o){if(1&e&&(n.ynx(0),n.YNc(1,ye,7,4,"nz-row",29),n.BQk()),2&e){const t=o.ngIf;n.xp6(1),n.Q6J("ngIf",t.hasNextPage&&t.endCursor)}}function Ze(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,de,2,3,"ng-template",null,3,n.W1O),n.YNc(4,xe,28,8,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-row")(7,"nz-col",5)(8,"cvc-tag-list",6),n.YNc(9,Me,2,1,"ng-container",7),n.qZA()()(),n.YNc(10,Pe,2,1,"ng-container",1),n.ALo(11,"ngrxPush"),n.qZA(),n.BQk()),2&e){const t=o.ngIf,r=n.MAs(3),s=n.MAs(5),g=n.oxw();n.xp6(1),n.Q6J("nzTitle",r)("nzExtra",s),n.xp6(8),n.Q6J("ngForOf",t),n.xp6(1),n.Q6J("ngIf",n.lcZ(11,4,g.pageInfo$))}}let hn=((X=class{constructor(o,t){this.gql=o,this.variantTypeGql=t,this.sortBy=f.d4o.Name,this.variantTypeFilter=[],this.hasNoVariantType=!1,this.debouncedQuery=new j.x,this.pageSize=50,this.iconColor=(0,ge.f)("VariantType")}ngOnInit(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.initialQueryVars={geneId:this.geneId,first:this.pageSize},this.queryRef$=this.gql.watch(this.initialQueryVars),this.result$=this.queryRef$.valueChanges,this.loading$=this.result$.pipe((0,w.U)(({data:o,loading:t})=>t&&!o),(0,V.h)(E.ep),(0,z.O)(!0)),this.connection$=this.result$.pipe((0,w.U)(o=>o.data?.variants),(0,V.h)(E.ep)),this.pageInfo$=this.connection$.pipe((0,w.U)(o=>o.pageInfo),(0,V.h)(E.ep)),this.menuVariants$=this.connection$.pipe((0,w.U)(o=>o.edges.map(t=>t.node),(0,V.h)(E.ep))),this.totalVariants$=this.connection$.pipe((0,w.U)(o=>o.totalCount)),this.debouncedQuery.pipe((0,Tn.b)(500),(0,cn.t)(this)).subscribe(o=>this.refresh()),this.menuVariantTypes$=this.variantTypeGql.watch({geneId:this.geneId}).valueChanges.pipe((0,w.U)(o=>o.data?.variantTypes.edges?.map(t=>t.node)),(0,V.h)(E.ep))}onModelUpdated(){this.debouncedQuery.next()}onVariantSortOrderChanged(o){this.queryRef$.refetch({first:this.pageSize,sortBy:{column:o,direction:o==f.d4o.CoordinateEnd?f.SrV.Desc:f.SrV.Asc}})}refresh(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.queryRef$.refetch({geneId:this.geneId,variantName:this.variantNameFilter,hasNoVariantType:this.hasNoVariantType,variantTypeIds:this.variantTypeFilter?.map(o=>o.id),first:this.pageSize,sortBy:{column:this.sortBy,direction:f.SrV.Asc}})}fetchMore(o){this.queryRef$.fetchMore({variables:{first:this.pageSize,after:o}})}}).\u0275fac=function(o){return new(o||X)(n.Y36(f.zwS),n.Y36(f.l$X))},X.\u0275cmp=n.Xpm({type:X,selectors:[["cvc-variant-menu"]],inputs:{geneId:"geneId",geneName:"geneName"},decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],[3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],["size","sm"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-form","","nzLayout","inline","id","variant-filters"],["id","name-filter-group","nzSize","small",3,"nzSuffix","nzCompact"],["type","text","nz-input","","placeholder","Variant Names","name","name-filter",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["nz-checkbox","","name","noVt",3,"ngModel","ngModelChange"],["nzSize","small","id","variant-sort-order","name","sortBy",2,"width","115px",3,"ngModel","ngModelChange"],["nzValue","NAME","nzLabel","Variant Name","selected","",2,"width","100%"],["nzValue","COORDINATE_START","nzLabel","Start Position",2,"width","100%"],["nzValue","COORDINATE_END","nzLabel","End Position",2,"width","100%"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzAllowClear","","nzSize","small","nzMode","multiple","nzPlaceHolder","Variant Type","name","variantTypes","nzShowSearch","",2,"min-width","115px",3,"nzDropdownMatchSelectWidth","ngModel","nzCustomTemplate","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["variantTypeTemplate",""],[3,"nzLabel","nzValue"],[1,"ant-select-selection-item-content"],["nz-icon","","nzType","civic-varianttype","nzTheme","twotone",3,"nzTwotoneColor"],[3,"variant",4,"ngIf"],[3,"variant"],["id","load-more-btn",4,"ngIf"],["id","load-more-btn"],["nz-button","","nzType","default","nzSize","small",2,"width","95%",3,"click"],["nzSize","small",2,"width","5%",3,"ngModel","ngModelChange"],["nzLabel","50",3,"nzValue"],["nzLabel","100",3,"nzValue"],["nzLabel","300",3,"nzValue"]],template:function(o,t){1&o&&(n.TgZ(0,"nz-spin",0),n.ALo(1,"ngrxPush"),n.YNc(2,Ze,12,6,"ng-container",1),n.ALo(3,"ngrxPush"),n.qZA()),2&o&&(n.Q6J("nzSpinning",n.lcZ(1,2,t.loading$)),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,4,t.menuVariants$)))},dependencies:[u.sg,u.O5,P._Y,P.Fj,P.JJ,P.JL,P.On,P.F,Z.ix,tn.w,on.dQ,v.t3,v.SK,S.bd,I.Ls,O.Lr,O.Nx,O.iK,O.Fd,D.Zp,D.gB,D.ke,K.Ip,K.Vq,T.ZU,Cn.Ie,rn.W,_e.I,vn.$,B.fM],styles:["[_nghost-%COMP%]{display:block}#variant-filters[_ngcontent-%COMP%] #name-filter-group[_ngcontent-%COMP%]{width:175px}#variant-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#load-more-btn[_ngcontent-%COMP%]{margin-top:12px}"]}),X);hn=(0,xn.gn)([(0,cn.c)()],hn);let be=(()=>{class e{constructor(){}parse(t){const r={kegg:"http://www.genome.jp/kegg-bin/show_pathway?",reactome:"https://reactome.org/content/detail/",pharmgkb:"https://www.pharmgkb.org/pathway/",humancyc:"http://humancyc.org/HUMAN/NEW-IMAGE?type=PATHWAY&object=",smpdb:"http://www.smpdb.ca/view/",pid:"http://pid.nci.nih.gov/search/pathway_landing.shtml?what=graphic&jpg=on&pathway_id=",wikipathways:"http://wikipathways.org/index.php/Pathway:",netpath:null,biocarta:null,inoh:null,signalink:null,ehmn:null},s=t.pathway||[],g=[];let R;return Object.keys(s).forEach(function(C){Array.isArray(s[C])||(s[C]=[s[C]]),s[C].forEach(function(k,yn){R=r[C]+s[C][yn].id,null===r[C]&&(R=null),g.push({name:s[C][yn].name,link:R,src:C})})}),t.pathway=g,t.pathwayList=g.map(C=>C.name),!Array.isArray(t.alias)&&t.alias&&(t.alias=[t.alias]),!Array.isArray(t.interpro)&&t.interpro&&(t.interpro=[t.interpro]),t.interproList=t.interpro.map(C=>C.desc),t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ie=function(){return{xxl:2,xl:2,lg:2,md:1,sm:1,xs:1}},Ae=function(){return{xxl:4,xl:4,lg:2,md:2,sm:1,xs:1}};function we(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"div",6)(2,"nz-descriptions",7)(3,"nz-descriptions-item",8),n._uU(4),n.qZA(),n.TgZ(5,"nz-descriptions-item",9),n._uU(6),n.qZA()(),n.TgZ(7,"nz-descriptions",7)(8,"nz-descriptions-item",10),n._uU(9),n.qZA(),n.TgZ(10,"nz-descriptions-item",11),n._uU(11),n.qZA(),n.TgZ(12,"nz-descriptions-item",12),n._uU(13),n.qZA(),n.TgZ(14,"nz-descriptions-item",13),n._uU(15),n.qZA()(),n.TgZ(16,"nz-descriptions",14)(17,"nz-descriptions-item",15),n._uU(18),n.qZA(),n.TgZ(19,"nz-descriptions-item",16)(20,"p",17),n._uU(21),n.qZA()(),n.TgZ(22,"nz-descriptions-item",18)(23,"p",17),n._uU(24),n.qZA()()()(),n.BQk()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("nzColumn",n.DdM(15,Ie)),n.xp6(2),n.AsE(" ",t.info.symbol," (ID: ",t.info._id,") "),n.xp6(2),n.hij(" ",t.info.uniprot["Swiss-Prot"]," "),n.xp6(1),n.Q6J("nzColumn",n.DdM(16,Ae)),n.xp6(2),n.hij(" ",t.info.genomic_pos_hg19.chr," "),n.xp6(2),n.hij(" ",t.info.genomic_pos_hg19.strand," "),n.xp6(2),n.hij(" ",t.info.genomic_pos_hg19.start," "),n.xp6(2),n.hij(" ",t.info.genomic_pos_hg19.end," "),n.xp6(1),n.Q6J("nzColumn",1),n.xp6(2),n.hij(" ",t.info.alias.join(", ")," "),n.xp6(2),n.Q6J("nzEllipsisRows",3),n.xp6(1),n.hij(" ",t.info.interproList.join(", ")," "),n.xp6(2),n.Q6J("nzEllipsisRows",3),n.xp6(1),n.hij(" ",t.info.pathwayList.join(", ")," ")}}function Je(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"div",6)(2,"p",17),n._uU(3),n.qZA()(),n.BQk()),2&e){const t=n.oxw(2);n.xp6(2),n.Q6J("nzEllipsisRows",12),n.xp6(1),n.hij(" ",t.info.summary," ")}}function Oe(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA()()),2&e){const t=o.$implicit;n.xp6(2),n.hij(" ",t.short_desc," "),n.xp6(2),n.hij(" ",t.desc," "),n.xp6(2),n.hij(" ",t.id," ")}}const Mn=function(){return{x:"100%",y:"200px"}};function Ge(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-table",19,20)(3,"thead")(4,"tr")(5,"th"),n._uU(6,"Name"),n.qZA(),n.TgZ(7,"th"),n._uU(8,"Description"),n.qZA(),n.TgZ(9,"th"),n._uU(10,"ID"),n.qZA()()(),n.TgZ(11,"tbody"),n.YNc(12,Oe,7,3,"ng-template",21),n.qZA()(),n.BQk()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("nzData",t.info.interpro)("nzScroll",n.DdM(4,Mn))("nzFrontPagination",!1)("nzShowPagination",!1)}}function Qe(e,o){if(1&e&&(n.TgZ(0,"a",28),n._uU(1),n.qZA()),2&e){const t=n.oxw().$implicit;n.s9C("href",null==t?null:t.link,n.LSH),n.xp6(1),n.hij(" ",t.src," ")}}function Se(e,o){if(1&e&&n._uU(0),2&e){const t=n.oxw().$implicit;n.hij(" ",t.src," ")}}function Ne(e,o){if(1&e&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td",25),n.YNc(4,Qe,2,2,"a",26),n.YNc(5,Se,1,1,"ng-template",null,27,n.W1O),n.qZA()()),2&e){const t=o.$implicit,r=n.MAs(6);n.xp6(2),n.hij(" ",t.name," "),n.xp6(2),n.Q6J("ngIf",null==t?null:t.link)("ngIfElse",r)}}function Ve(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-table",19,22)(3,"colgroup"),n._UZ(4,"col",23)(5,"col",24),n.qZA(),n.TgZ(6,"thead")(7,"tr")(8,"th"),n._uU(9,"Name"),n.qZA(),n.TgZ(10,"th",25),n._uU(11,"Source"),n.qZA()()(),n.TgZ(12,"tbody"),n.YNc(13,Ne,7,3,"ng-template",21),n.qZA()(),n.BQk()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("nzData",t.info.pathway)("nzScroll",n.DdM(4,Mn))("nzFrontPagination",!1)("nzShowPagination",!1)}}function Ee(e,o){if(1&e){const t=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",1)(2,"nz-card-tab")(3,"nz-tabset",2),n.NdJ("nzSelectChange",function(s){n.CHM(t);const g=n.oxw();return n.KtG(g.tabChange(s))}),n._UZ(4,"nz-tab",3)(5,"nz-tab",3)(6,"nz-tab",3)(7,"nz-tab",3),n.qZA()(),n.ynx(8,4),n.YNc(9,we,25,17,"ng-container",5),n.YNc(10,Je,4,2,"ng-container",5),n.YNc(11,Ge,13,5,"ng-container",5),n.YNc(12,Ve,14,5,"ng-container",5),n.BQk(),n.qZA(),n.BQk()}if(2&e){const t=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(1),n.Q6J("nzTitle","Overview"),n.xp6(1),n.Q6J("nzTitle","Summary"),n.xp6(1),n.Q6J("nzTitle","Protein Domains ("+t.info.interproList.length+")"),n.xp6(1),n.Q6J("nzTitle","Pathways ("+t.info.pathway.length+")"),n.xp6(1),n.Q6J("ngSwitch",t.tabIndex),n.xp6(1),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1),n.xp6(1),n.Q6J("ngSwitchCase",2),n.xp6(1),n.Q6J("ngSwitchCase",3)}}let Ue=(()=>{class e{constructor(t){this.infoService=t,this.tabIndex=0}ngOnInit(){this.tabChange({index:0,tab:null})}ngOnChanges(){this.geneInfo&&(this.info=this.infoService.parse(JSON.parse(String(this.geneInfo))))}tabChange(t){this.tabIndex=t.index}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(be))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-my-gene-info"]],inputs:{geneInfo:"geneInfo"},features:[n.TTD],decls:1,vars:1,consts:[[4,"ngIf"],["nzTitle","MyGeneInfo"],["nzSize","small",3,"nzAnimated","nzSelectChange"],[3,"nzTitle"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],["nzSize","small",3,"nzColumn"],["nzTitle","Entrez Symbol"],["nzTitle","UniProtKB ID"],["nzTitle","Chromosome"],["nzTitle","Strand"],["nzTitle","Start"],["nzTitle","Stop"],["nzBordered","true","nzSize","small",3,"nzColumn"],["nzTitle","Aliases"],["nzTitle","Protein Domains"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzTitle","Pathways"],["nzSize","small",3,"nzData","nzScroll","nzFrontPagination","nzShowPagination"],["proteinDomainsTable",""],["nz-virtual-scroll",""],["pathwaysTable",""],["width","90%"],["width","10%"],[1,"button-col"],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href",4,"ngIf","ngIfElse"],["noPathwayLink",""],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href"]],template:function(t,r){1&t&&n.YNc(0,Ee,13,10,"ng-container",0),2&t&&n.Q6J("ngIf",r.info)},dependencies:[u.O5,u.RF,u.n9,S.bd,S._i,H.xH,H.xw,N.N8,N.Uo,N._C,N.Om,N.p0,N.$Z,N.zu,T.ZU,W.R7,W.uj],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]}),e})();var q,Le=a(2606);function Fe(e,o){if(1&e&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&e){const t=n.oxw(3).ngIf;n.xp6(1),n.hij("(",t.length," displayed)")}}function Ye(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"span",8),n._uU(2),n.qZA(),n.YNc(3,Fe,2,1,"span",9),n.BQk()),2&e){const t=o.ngIf,r=n.oxw(2).ngIf;n.xp6(2),n.hij("",t," Total"),n.xp6(1),n.Q6J("ngIf",t>r.length)}}function De(e,o){if(1&e&&(n.YNc(0,Ye,4,2,"ng-container",1),n.ALo(1,"ngrxPush")),2&e){const t=n.oxw(2);n.Q6J("ngIf",n.lcZ(1,1,t.totalMolecularProfiles$))}}function $e(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"i",20),n.NdJ("click",function(){n.CHM(t);const s=n.oxw(4);return s.mpNameFilter=void 0,n.KtG(s.onModelUpdated())}),n.qZA()}}function je(e,o){if(1&e&&n.YNc(0,$e,1,0,"i",19),2&e){const t=n.oxw(3);n.Q6J("ngIf",t.mpNameFilter)}}function Be(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"form",10)(1,"nz-form-item")(2,"nz-form-label"),n._uU(3,"Filter"),n.qZA(),n.TgZ(4,"nz-form-control")(5,"nz-input-group",11)(6,"input",12),n.NdJ("ngModelChange",function(){n.CHM(t);const s=n.oxw(2);return n.KtG(s.onModelUpdated())})("ngModelChange",function(s){n.CHM(t);const g=n.oxw(2);return n.KtG(g.mpNameFilter=s)}),n.qZA(),n.YNc(7,je,1,1,"ng-template",null,13,n.W1O),n.qZA()()(),n.TgZ(9,"nz-form-item")(10,"nz-form-label"),n._uU(11,"Show"),n.qZA(),n.TgZ(12,"nz-form-control")(13,"nz-select",14),n.NdJ("ngModelChange",function(s){n.CHM(t);const g=n.oxw(2);return n.KtG(g.onMolecularProfileStatusFilterChanged(s))})("ngModelChange",function(s){n.CHM(t);const g=n.oxw(2);return n.KtG(g.statusFilter=s)}),n._UZ(14,"nz-option",15)(15,"nz-option",16)(16,"nz-option",17)(17,"nz-option",18),n.qZA()()()()}if(2&e){const t=n.MAs(8),r=n.oxw(2);n.xp6(5),n.Q6J("nzSuffix",t)("nzCompact",!0),n.xp6(1),n.Q6J("ngModel",r.mpNameFilter),n.xp6(7),n.Q6J("ngModel",r.statusFilter)}}function Re(e,o){if(1&e&&n._UZ(0,"cvc-molecular-profile-tag",22),2&e){const t=n.oxw().$implicit;n.Q6J("molecularProfile",t)}}function We(e,o){if(1&e&&(n.ynx(0),n.YNc(1,Re,1,1,"cvc-molecular-profile-tag",21),n.BQk()),2&e){const t=o.$implicit;n.xp6(1),n.Q6J("ngIf",t)}}function Ke(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"nz-row",24)(1,"button",25),n.NdJ("click",function(){n.CHM(t);const s=n.oxw().ngIf,g=n.oxw(2);return n.KtG(g.fetchMore(s.endCursor))}),n._uU(2,"Load More "),n.qZA(),n.TgZ(3,"nz-select",26),n.NdJ("ngModelChange",function(s){n.CHM(t);const g=n.oxw(3);return n.KtG(g.pageSize=s)}),n._UZ(4,"nz-option",27)(5,"nz-option",28)(6,"nz-option",29),n.qZA()()}if(2&e){const t=n.oxw(3);n.xp6(3),n.Q6J("ngModel",t.pageSize),n.xp6(1),n.Q6J("nzValue",50),n.xp6(1),n.Q6J("nzValue",100),n.xp6(1),n.Q6J("nzValue",300)}}function He(e,o){if(1&e&&(n.ynx(0),n.YNc(1,Ke,7,4,"nz-row",23),n.BQk()),2&e){const t=o.ngIf;n.xp6(1),n.Q6J("ngIf",t.hasNextPage&&t.endCursor)}}function Xe(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,De,2,3,"ng-template",null,3,n.W1O),n.YNc(4,Be,18,4,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-row")(7,"nz-col",5)(8,"cvc-tag-list",6),n.YNc(9,We,2,1,"ng-container",7),n.qZA()()(),n.YNc(10,He,2,1,"ng-container",1),n.ALo(11,"ngrxPush"),n.qZA(),n.BQk()),2&e){const t=o.ngIf,r=n.MAs(3),s=n.MAs(5),g=n.oxw();n.xp6(1),n.Q6J("nzTitle",r)("nzExtra",s),n.xp6(8),n.Q6J("ngForOf",t),n.xp6(1),n.Q6J("ngIf",n.lcZ(11,4,g.pageInfo$))}}let zn=((q=class{constructor(o){this.gql=o,this.statusFilter=f.MsG.All,this.debouncedQuery=new j.x,this.pageSize=50}ngOnInit(){if(void 0===this.geneId)throw new Error("Must pass a gene id into molecular profile menu component.");this.initialQueryVars={geneId:this.geneId,evidenceStatusFilter:this.statusFilter,first:this.pageSize},this.queryRef$=this.gql.watch(this.initialQueryVars),this.result$=this.queryRef$.valueChanges,this.loading$=this.result$.pipe((0,w.U)(({data:o,loading:t})=>t&&!o),(0,V.h)(E.ep),(0,z.O)(!0)),this.connection$=this.result$.pipe((0,w.U)(o=>o.data?.molecularProfiles),(0,V.h)(E.ep)),this.pageInfo$=this.connection$.pipe((0,w.U)(o=>o.pageInfo),(0,V.h)(E.ep)),this.menuMolecularProfiles$=this.connection$.pipe((0,w.U)(o=>o.edges.map(t=>t.node),(0,V.h)(E.ep))),this.totalMolecularProfiles$=this.connection$.pipe((0,w.U)(o=>o.totalCount)),this.debouncedQuery.pipe((0,Tn.b)(500),(0,cn.t)(this)).subscribe(o=>this.refresh())}onModelUpdated(){this.debouncedQuery.next()}onMolecularProfileStatusFilterChanged(o){this.queryRef$.refetch({first:this.pageSize,evidenceStatusFilter:o})}refresh(){if(void 0===this.geneId)throw new Error("Must pass a gene id into molecular profile menu component.");this.queryRef$.refetch({geneId:this.geneId,mpName:this.mpNameFilter,first:this.pageSize})}fetchMore(o){this.queryRef$.fetchMore({variables:{first:this.pageSize,after:o}})}}).\u0275fac=function(o){return new(o||q)(n.Y36(f.lcA))},q.\u0275cmp=n.Xpm({type:q,selectors:[["cvc-molecular-profile-menu"]],inputs:{geneId:"geneId"},decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],[3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],["size","sm"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-form","","nzLayout","inline","id","variant-filters"],["id","name-filter-group","nzSize","small",3,"nzSuffix","nzCompact"],["type","text","nz-input","","placeholder","Molecular Profile Names","name","name-filter",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["nzSize","small","id","status-filter","name","statusFilter",2,"width","320px",3,"ngModel","ngModelChange"],["nzValue","WITH_ACCEPTED","nzLabel","Molecular Profiles with accepted evidence",2,"width","100%"],["nzValue","WITH_ACCEPTED_OR_SUBMITTED","nzLabel","Molecular Profiles with accepted and/or submitted evidence","selected","",2,"width","100%"],["nzValue","WITH_SUBMITTED","nzLabel","Molecular Profiles with submitted evidence",2,"width","100%"],["nzValue","ALL","nzLabel","All Molecular Profiles",2,"width","100%"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],[3,"molecularProfile",4,"ngIf"],[3,"molecularProfile"],["id","load-more-btn",4,"ngIf"],["id","load-more-btn"],["nz-button","","nzType","default","nzSize","small",2,"width","95%",3,"click"],["nzSize","small",2,"width","5%",3,"ngModel","ngModelChange"],["nzLabel","50",3,"nzValue"],["nzLabel","100",3,"nzValue"],["nzLabel","300",3,"nzValue"]],template:function(o,t){1&o&&(n.TgZ(0,"nz-spin",0),n.ALo(1,"ngrxPush"),n.YNc(2,Xe,12,6,"ng-container",1),n.ALo(3,"ngrxPush"),n.qZA()),2&o&&(n.Q6J("nzSpinning",n.lcZ(1,2,t.loading$)),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,4,t.menuMolecularProfiles$)))},dependencies:[u.sg,u.O5,P._Y,P.Fj,P.JJ,P.JL,P.On,P.F,Z.ix,tn.w,on.dQ,v.t3,v.SK,S.bd,I.Ls,O.Lr,O.Nx,O.iK,O.Fd,D.Zp,D.gB,D.ke,K.Ip,K.Vq,rn.W,T.ZU,Le.p,vn.$,B.fM],styles:["[_nghost-%COMP%]{display:block}#variant-filters[_ngcontent-%COMP%] #name-filter-group[_ngcontent-%COMP%]{width:175px}#variant-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#load-more-btn[_ngcontent-%COMP%]{margin-top:12px}"]}),q);function qe(e,o){if(1&e&&(n.TgZ(0,"p",23),n._uU(1),n.qZA()),2&e){const t=n.oxw().ngIf;n.Q6J("nzEllipsisRows",8),n.xp6(1),n.hij(" ",t.description," ")}}function ke(e,o){1&e&&n._UZ(0,"cvc-empty-revisable",24)}function nt(e,o){1&e&&n._UZ(0,"cvc-source-tag",26),2&e&&n.Q6J("source",o.$implicit)}function et(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,nt,1,1,"cvc-source-tag",25),n.qZA(),n.BQk()),2&e){const t=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",t.sources)}}function tt(e,o){1&e&&(n.TgZ(0,"span",27),n._uU(1,"None specified"),n.qZA())}function ot(e,o){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const t=o.$implicit;n.xp6(1),n.Oqu(t)}}function at(e,o){if(1&e&&(n.TgZ(0,"nz-descriptions-item",28),n.YNc(1,ot,2,1,"nz-tag",29),n.qZA()),2&e){const t=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",t.geneAliases)}}function it(e,o){1&e&&(n.TgZ(0,"span",27),n._uU(1,"None specified"),n.qZA())}zn=(0,xn.gn)([(0,cn.c)()],zn);const rt=function(){return[8,16]},ct=function(){return[8,8]};function st(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-row",1)(4,"nz-col",3)(5,"nz-descriptions",4)(6,"nz-descriptions-item",5),n.YNc(7,qe,2,2,"p",6),n.YNc(8,ke,1,0,"ng-template",null,7,n.W1O),n.qZA()()(),n.TgZ(10,"nz-col",3)(11,"nz-descriptions",8)(12,"nz-descriptions-item",9),n.YNc(13,et,3,1,"ng-container",10),n.YNc(14,tt,2,0,"ng-template",null,11,n.W1O),n.qZA(),n.YNc(16,at,2,1,"nz-descriptions-item",12),n.YNc(17,it,2,0,"ng-template",null,13,n.W1O),n.TgZ(19,"nz-descriptions-item",14)(20,"cvc-tag-list")(21,"cvc-link-tag",15),n._uU(22," DGIdb "),n.qZA(),n.TgZ(23,"cvc-link-tag",15),n._uU(24," ProteinPaint "),n.qZA()()()()()()(),n.TgZ(25,"nz-col",2),n._UZ(26,"cvc-my-gene-info",16),n.qZA(),n.TgZ(27,"nz-col",17)(28,"nz-tabset",18)(29,"nz-tab",19),n._UZ(30,"cvc-molecular-profile-menu",20),n.qZA(),n.TgZ(31,"nz-tab",21),n._UZ(32,"cvc-variant-menu",22),n.qZA()()()(),n.BQk()),2&e){const t=o.ngIf,r=n.MAs(9),s=n.MAs(15),g=n.MAs(18);n.xp6(1),n.Q6J("nzGutter",n.DdM(19,rt)),n.xp6(2),n.Q6J("nzGutter",n.DdM(20,ct)),n.xp6(2),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",t.description)("ngIfElse",r),n.xp6(4),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",t.sources.length>0)("ngIfElse",s),n.xp6(3),n.Q6J("ngIf",t.geneAliases.length>0)("ngIfElse",g),n.xp6(5),n.Q6J("href","http://dgidb.org/genes/"+t.name)("tooltip","View "+t.name+" on DGIdb"),n.xp6(2),n.Q6J("href","https://pecan.stjude.cloud/variants/protein-paint/?gene="+t.name)("tooltip","View "+t.name+" on ProteinPaint"),n.xp6(3),n.Q6J("geneInfo",t.myGeneInfoDetails),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(3),n.Q6J("geneId",t.id),n.xp6(2),n.Q6J("geneId",t.id)("geneName",t.name)}}const lt=[{path:"",component:Gn,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class e{constructor(t,r,s){this.gql=t,this.viewerService=r,this.route=s,this.routeSub=this.route.params.subscribe(g=>{this.viewer$=this.viewerService.viewer$;let C=this.gql.watch({geneId:+g.geneId}).valueChanges;this.subscribableEntity={id:+g.geneId,entityType:f.o71.Gene},this.gene$=C.pipe((0,M.j)("data","gene")),this.loading$=C.pipe((0,M.j)("loading"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(f.cCu),n.Y36(Y.a),n.Y36(x.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-genes-summary"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzGutter"],["nzSpan","12"],["nzSpan","24"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["noSources",""],["nzTitle","Aliases",4,"ngIf","ngIfElse"],["noAliases",""],["nzTitle","Resources"],[3,"href","tooltip"],[3,"geneInfo"],[3,"nzSpan"],["nzType","card"],["nzTitle","Molecular Profiles"],[3,"geneId"],["nzTitle","Variants"],[3,"geneId","geneName"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],[3,"source",4,"ngFor","ngForOf"],[3,"source"],["nz-typography","","nzType","secondary"],["nzTitle","Aliases"],[4,"ngFor","ngForOf"]],template:function(t,r){1&t&&(n.YNc(0,st,33,21,"ng-container",0),n.ALo(1,"ngrxPush")),2&t&&n.Q6J("ngIf",n.lcZ(1,1,r.gene$))},dependencies:[u.sg,u.O5,v.t3,v.SK,W.R7,W.uj,T.ZU,dn.j,H.xH,H.xw,se.J,vn.$,le.l,pe.T,hn,Ue,zn,B.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]}),e})(),data:{breadcrumb:"Summary"}},{path:"comments",component:en,data:{breadcrumb:"Comments"}},{path:"revisions",component:Kn,data:{breadcrumb:"Revisions"}},{path:"flags",component:Fn,data:{breadcrumb:"Summary"}},{path:"events",component:Nn,data:{breadcrumb:"Events"}}]}];let pt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[x.Bz.forChild(lt),ce,J,Rn,Un,Qn,x.Bz]}),e})(),gt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.ez,pt,Z.sL,I.PV,y.KJ,b.zf,T.ZJ,v.Jb,Q.s,F.c,c.m,G.Z,$.D,L.g,i.t]}),e})()}}]); \ No newline at end of file diff --git a/server/public/1150.94bdcdeedd2f7339.js b/server/public/1150.94bdcdeedd2f7339.js new file mode 100644 index 000000000..cdb162359 --- /dev/null +++ b/server/public/1150.94bdcdeedd2f7339.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1150],{1150:(N,c,a)=>{a.r(c),a.d(c,{VariantGroupsReviseModule:()=>$});var i=a(6814),v=a(8603),m=a(2419),z=a(2524),d=a(95),u=a(551),g=a(6254),h=a(2574),y=a(2392),s=a(4190),x=a(7921),G=a(7398),l=a(4223),t=a(5879),V=a(313),M=a(951),O=a(3145),P=a(8178),C=a(2616),I=a(8091);function S(e,r){1&e&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function b(e,r){1&e&&(t.TgZ(0,"nz-row",8)(1,"div",9),t._UZ(2,"cvc-login-prompt"),t.qZA()())}function R(e,r){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),t._uU(4," REVISE "),t._UZ(5,"i",4),t.ALo(6,"entityColor"),t._uU(7),t.qZA(),t.TgZ(8,"nz-page-header-content")(9,"div",5),t.YNc(10,S,2,0,"div",6),t.ALo(11,"ngrxPush"),t.YNc(12,b,3,0,"ng-template",null,7,t.W1O),t.qZA()()(),t.BQk()),2&e){const n=r.ngIf,o=t.MAs(13),p=t.oxw();t.xp6(1),t.Q6J("displayName",n.name),t.xp6(4),t.Q6J("nzTwotoneColor",t.lcZ(6,5,"VariantGroup")),t.xp6(2),t.hij(" ",n.name," "),t.xp6(3),t.Q6J("ngIf",t.lcZ(11,7,p.isSignedIn$))("ngIfElse",o)}}let Z=(()=>{class e{constructor(n,o,p){this.gql=n,this.route=o,this.viewerService=p,this.routeSub=this.route.params.subscribe(B=>{let f=this.gql.watch({variantGroupId:+B.variantGroupId}).valueChanges;this.loading$=f.pipe((0,l.j)("loading"),(0,x.O)(!0)),this.variantGroup$=f.pipe((0,l.j)("data","variantGroup"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,G.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(V.Qtd),t.Y36(s.gz),t.Y36(M.a))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-groups-revise-view"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,o){1&n&&(t.YNc(0,R,14,9,"ng-container",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,o.variantGroup$))},dependencies:[i.O5,s.lC,g.$O,g.u9,g.u5,u.Ls,O.I,P.u,d.t3,d.SK,i.Ov,C.a,I.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var T=a(4706);let w=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[i.ez,T.A]}),e})();var A=a(9439);function J(e,r){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-variantgroup-revise-form",2),t.BQk()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("variantGroupId",n.variantGroupId)}}function Q(e,r){1&e&&t._uU(0,"Loading Variant Group...")}const U=[{path:"",component:Z,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class e{constructor(n){this.route=n,this.routeParams$=this.route.params.subscribe(o=>{this.variantGroupId=+o.variantGroupId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(s.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-groups-suggest-page"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariantGroup",""],[3,"variantGroupId"]],template:function(n,o){if(1&n&&(t.YNc(0,J,2,1,"ng-container",0),t.YNc(1,Q,1,0,"ng-template",null,1,t.W1O)),2&n){const p=t.MAs(2);t.Q6J("ngIf",o.variantGroupId)("ngIfElse",p)}},dependencies:[i.O5,A.L],encapsulation:2}),e})(),data:{breadcrumb:"Suggest Revision"}}]}];let Y=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.Bz.forChild(U),w,s.Bz]}),e})(),$=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[i.ez,Y,g.KJ,h.zf,u.PV,y.ZJ,h.zf,z.s,m.D,v.a,d.Jb]}),e})()}}]); \ No newline at end of file diff --git a/server/public/1184.9ee6366983dd8c9f.js b/server/public/1184.9ee6366983dd8c9f.js deleted file mode 100644 index ce950ad00..000000000 --- a/server/public/1184.9ee6366983dd8c9f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1184],{9460:(E,_,n)=>{n.d(_,{i:()=>t});var r=n(6895),s=n(9116),d=n(6672),m=n(6581),p=n(1102),h=n(1698),f=n(9444),g=n(48),C=n(6429),c=n(4650);class t{}t.\u0275fac=function(v){return new(v||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[r.ez,s.Bz,g.mS,d.X,m.$6,p.PV,h.f,f.s,C.C]})},9476:(E,_,n)=>{n.d(_,{L:()=>z});var r=n(6895),s=n(9116),d=n(6672),m=n(1102),p=n(3679),h=n(4989),f=n(9194),g=n(1971),C=n(2635),c=n(5473),t=n(4650);class i{}i.\u0275fac=function(Z){return new(Z||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[r.ez,C._N,C.pP,g.vh,p.Jb,f.q6,h.X,c.H]});var v=n(6581);class z{}z.\u0275fac=function(Z){return new(Z||z)},z.\u0275mod=t.oAB({type:z}),z.\u0275inj=t.cJS({imports:[r.ez,s.Bz,d.X,m.PV,v.$6,i]})},7946:(E,_,n)=>{n.d(_,{x:()=>i});var r=n(6895),s=n(897),d=n(6672),m=n(6581),p=n(8845),h=n(9476),f=n(1229),g=n(7043),C=n(701),c=n(8645),t=n(4650);class i{}i.\u0275fac=function(z){return new(z||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[r.ez,d.X,m.$6,s.$,C.N,p.Q,h.L,f.U,g.Q,c.M]})},8645:(E,_,n)=>{n.d(_,{M:()=>v});var r=n(6895),s=n(9116),d=n(6672),m=n(1971),p=n(4989),h=n(9194),f=n(2635),g=n(1102),C=n(9444),c=n(4650);class t{}t.\u0275fac=function(y){return new(y||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[r.ez,f._N,f.pP,g.PV,m.vh,h.q6,C.s,p.X]});var i=n(6581);class v{}v.\u0275fac=function(y){return new(y||v)},v.\u0275mod=c.oAB({type:v}),v.\u0275inj=c.cJS({imports:[r.ez,s.Bz,g.PV,d.X,i.$6,t]})},4475:(E,_,n)=>{n.d(_,{F:()=>d});var s=n(4650);class d{transform(p,h="display-string"){return void 0===p?"":"display-string"===h?function r(m){switch(m){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return m}}(p):`civic-${p.replace(/_/g,"").toLowerCase()}`}}d.\u0275fac=function(p){return new(p||d)},d.\u0275pipe=s.Yjl({name:"therapyInteractionEnumDisplay",type:d,pure:!0})},5281:(E,_,n)=>{n.r(_),n.d(_,{PhenotypesModule:()=>S});var r=n(6895),s=n(9116),d=n(4989),m=n(5630),p=n(9444),h=n(2635),f=n(1102),g=n(5655),C=n(9194),c=n(6903),t=n(4650);class i{}i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[r.ez,s.Bz,h._N,h.pP,g.KJ,f.PV,c.zf,C.q6,p.s,d.X,m.D]});var v=n(767),z=n(9441),y=n(3679),Z=n(9241);class M{}M.\u0275fac=function(e){return new(e||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({imports:[r.ez,y.Jb,Z.h,v.Q,z.s]});var P=n(6675),et=n(4125),ot=n(3973),Q=n(6616),F=n(8823),w=n(1971),Y=n(7570),V=n(6672),at=n(3111),it=n(1433),rt=n(2994),st=n(9240),ct=n(8525);class O{}O.\u0275fac=function(e){return new(e||O)},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({imports:[r.ez,h._N,h.pP,P.HQ,Q.sL,f.PV,F.ZJ,w.vh,Y.cg,V.X,p.s,rt.y,st.w,ct.T,at.n,it.c,et.k,ot.y,d.X]});class A{}A.\u0275fac=function(e){return new(e||A)},A.\u0275mod=t.oAB({type:A}),A.\u0275inj=t.cJS({imports:[r.ez,g.KJ,f.PV,y.Jb,Q.sL,c.zf,F.ZJ,p.s,m.D,O]});var lt=n(8675),x=n(6579),N=n(7630),X=n(6550),G=n(8992),pt=n(9714),k=n(160);function gt(o,e){if(1&o&&(t.TgZ(0,"nz-descriptions",9)(1,"nz-descriptions-item",10),t._uU(2),t.ALo(3,"ifEmpty"),t.qZA()()),2&o){const a=t.oxw().ngIf;t.Q6J("nzBordered",!0)("nzColumn",1),t.xp6(2),t.hij(" ",t.xi3(3,3,a.description,"--")," ")}}function dt(o,e){1&o&&t._UZ(0,"p")}function ht(o,e){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),t._UZ(4,"i",3),t.ALo(5,"entityColor"),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-extra")(8,"cvc-link-tag",4),t._uU(9),t.qZA()(),t.TgZ(10,"nz-page-header-content")(11,"div",5)(12,"nz-space",6),t.YNc(13,gt,4,6,"nz-descriptions",7),t.YNc(14,dt,1,0,"p",8),t.qZA(),t._UZ(15,"router-outlet"),t.qZA()()(),t.BQk()),2&o){const a=e.ngIf;t.xp6(1),t.Q6J("displayName",a.name),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(5,5,"Phenotype")),t.xp6(2),t.hij(" ",a.name," "),t.xp6(2),t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.hpoId," ")}}class D{constructor(e,a){this.route=e,this.gql=a,this.routeSub=this.route.params.subscribe(u=>{this.phenotypeId=+u.phenotypeId,this.queryRef=this.gql.watch({phenotypeId:this.phenotypeId});let l=this.queryRef.valueChanges;this.loading$=l.pipe((0,x.j)("loading"),(0,lt.O)(!0)),this.phenotype$=l.pipe((0,x.j)("data","phenotype"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}D.\u0275fac=function(e){return new(e||D)(t.Y36(s.gz),t.Y36(N.WGV))},D.\u0275cmp=t.Xpm({type:D,selectors:[["cvc-phenotypes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-phenotype",3,"nzTwotoneColor"],["tooltip","View in the HPO",3,"href"],[1,"content"],["nzDirection","vertical",2,"width","100%"],["nzLayout","vertical",3,"nzBordered","nzColumn",4,"nzSpaceItem"],[4,"nzSpaceItem"],["nzLayout","vertical",3,"nzBordered","nzColumn"],["nzTitle","Definition"]],template:function(e,a){1&e&&(t.YNc(0,ht,16,7,"ng-container",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,a.phenotype$))},dependencies:[r.O5,s.lC,g.$O,g.u9,g.u5,g.Jp,f.Ls,c.NU,c.$1,C.R7,C.uj,X.l,G.I,h.fM,pt.D,k.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var b,q=n(7044),mt=n(655),ft=n(3154),U=n(9933),tt=n(1135),R=n(7579),K=n(3240),H=n(1884),ut=n(2529),vt=n(5684),$=n(9300),W=n(4004),zt=n(8372),yt=n(1365),_t=n(3388),Ct=n(9947),Pt=n(3667),Tt=n(5851),xt=n(7451),Mt=n(2166),Ot=n(3172);function At(o,e){}function bt(o,e){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,At,0,0,"ng-template",6),t.qZA(),t.BQk()),2&o){t.oxw();const a=t.MAs(6),u=t.MAs(8),l=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",a)("nzExtra",u),t.xp6(1),t.Q6J("ngTemplateOutlet",l)}}function It(o,e){}const St=function(o){return{height:o}};function Et(o,e){if(1&o&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,It,0,0,"ng-template",6),t.qZA()()),2&o){const a=t.oxw(),u=t.MAs(6),l=t.MAs(8),T=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,St,a.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",u)("nzExtra",l),t.xp6(1),t.Q6J("ngTemplateOutlet",T)}}function Zt(o,e){if(1&o&&(t.TgZ(0,"cvc-link-tag",29),t._uU(1),t.qZA()),2&o){const a=t.oxw().$implicit;t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.hpoId," ")}}function Dt(o,e){1&o&&t._uU(0,"--")}function Ut(o,e){if(1&o&&(t.TgZ(0,"tr",24)(1,"td",20),t._UZ(2,"cvc-phenotype-tag",25),t.qZA(),t.TgZ(3,"td"),t.YNc(4,Zt,2,2,"cvc-link-tag",26),t.YNc(5,Dt,1,0,"ng-template",null,27,t.W1O),t.qZA(),t.TgZ(7,"td",28),t._uU(8),t.qZA(),t.TgZ(9,"td",28),t._uU(10),t.qZA()()),2&o){const a=e.$implicit,u=t.MAs(6);t.xp6(2),t.Q6J("phenotype",a),t.xp6(2),t.Q6J("ngIf",a.hpoId)("ngIfElse",u),t.xp6(4),t.hij(" ",a.evidenceCount," "),t.xp6(2),t.hij(" ",a.assertionCount," ")}}const Bt=function(){return[]},Jt=function(){return{x:"680px",y:"800px"}},nt=function(){return["descend","ascend",null]};function Lt(o,e){if(1&o){const a=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(l){t.CHM(a);const T=t.oxw();return t.KtG(T.scrollEvent$.next(l))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(l){t.CHM(a);const T=t.oxw();return t.KtG(T.sortChange$.next(l))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," HPO ID "),t.qZA(),t.TgZ(12,"th",15),t._UZ(13,"i",16),t._uU(14," Count "),t.qZA(),t.TgZ(15,"th",17),t._UZ(16,"i",18),t._uU(17," Count "),t.qZA()(),t.TgZ(18,"tr",19)(19,"th",20)(20,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(l){t.CHM(a);const T=t.oxw();return t.KtG(T.hpoNameFilter=l)})("inputModelChange",function(){t.CHM(a);const l=t.oxw();return t.KtG(l.filterChange$.next())}),t.qZA()(),t.TgZ(21,"th")(22,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(l){t.CHM(a);const T=t.oxw();return t.KtG(T.hpoIdFilter=l)})("inputModelChange",function(){t.CHM(a);const l=t.oxw();return t.KtG(l.filterChange$.next())}),t.qZA()(),t._UZ(23,"th",22)(24,"th",22),t.qZA()(),t.TgZ(25,"tbody"),t.YNc(26,Ut,11,5,"ng-template",23),t.qZA()()}if(2&o){const a=t.oxw();t.Q6J("nzData",t.lcZ(2,23,a.row$)||t.DdM(31,Bt))("nzLoading",!t.lcZ(3,25,a.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",a.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,27,a.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,29,a.scrollIndex$))("nzVirtualForTrackBy",a.trackByIndex)("nzScroll",t.DdM(32,Jt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",a.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.HpoId)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(33,nt)),t.xp6(3),t.Q6J("nzColumnKey",a.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(34,nt)),t.xp6(5),t.Q6J("inputModel",a.hpoNameFilter),t.xp6(2),t.Q6J("inputModel",a.hpoIdFilter)}}function $t(o,e){}function Qt(o,e){if(1&o&&(t.ynx(0),t.YNc(1,$t,0,0,"ng-template",6),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function Ft(o,e){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.hij(" ",a.cvcTitle," ")}}function Nt(o,e){if(1&o&&(t.YNc(0,Qt,2,1,"ng-container",30),t.YNc(1,Ft,2,1,"ng-container",30),t.TgZ(2,"span",31),t._UZ(3,"cvc-table-counts",32),t.qZA()),2&o){const a=t.oxw();t.Q6J("ngIf",a.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",a.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",a.connection$)}}function Rt(o,e){1&o&&(t.TgZ(0,"nz-tag",35),t._UZ(1,"i",36),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Kt(o,e){if(1&o&&(t.YNc(0,Rt,4,0,"nz-tag",33),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",34),t.ALo(3,"ngrxPush")),2&o){const a=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,a.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,a.noMoreRows$))}}let j=((b=class{set initialUserFilters(e){e&&Object.assign(this,e)}constructor(e,a){this.gql=e,this.cdr=a,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=N.lYz,this.noMoreRows$=new tt.X(!1),this.scrollEvent$=new tt.X("stop"),this.sortChange$=new R.x,this.filterChange$=new R.x,this.scrollIndex$=new R.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,x.j)("loading"),(0,H.x)(),(0,ut.o)(e=>!1!==e,!0)),this.moreLoading$=this.result$.pipe((0,x.j)("loading"),(0,H.x)(),(0,vt.T)(2)),this.connection$=this.result$.pipe((0,x.j)("data","phenotypes"),(0,$.h)(K.ep)),this.row$=this.connection$.pipe((0,x.j)("edges"),(0,$.h)(K.ep),(0,W.U)(e=>e.map(a=>a.node))),this.pageInfo$=this.connection$.pipe((0,x.j)("pageInfo"),(0,$.h)(K.ep)),this.sortChange$.pipe((0,U.t)(this)).subscribe(e=>{this.queryRef.refetch({sortBy:(0,ft._)(e)})}),this.filterChange$.pipe((0,zt.b)(500),(0,U.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,W.U)(e=>"stop"!==e),(0,H.x)(),(0,U.t)(this)).subscribe(e=>{this.isScrolling=e,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,$.h)(e=>"bottom"===e),(0,yt.M)(this.pageInfo$),(0,W.U)(([e,a])=>a),(0,U.t)(this)).subscribe(e=>{e.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.hpoNameFilter,hpoId:this.hpoIdFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(e,a){return a?.id}}).\u0275fac=function(e){return new(e||b)(t.Y36(N.B97),t.Y36(t.sBO))},b.\u0275cmp=t.Xpm({type:b,selectors:[["cvc-phenotypes-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","350px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100%",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"phenotype"],[3,"href",4,"ngIf","ngIfElse"],["noHpo",""],["nzRight","","nzAlign","right"],[3,"href"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(e,a){if(1&e&&(t.YNc(0,bt,3,3,"ng-container",0),t.YNc(1,Et,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Lt,27,35,"ng-template",null,2,t.W1O),t.YNc(5,Nt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,Kt,4,6,"ng-template",null,4,t.W1O)),2&e){const u=t.MAs(2);t.Q6J("ngIf",!a.cvcHeight)("ngIfElse",u)}},dependencies:[r.O5,r.tP,r.PC,P.N8,P.qD,P.Uo,P._C,P.Om,P.p0,P.$Z,P.zu,P.qn,P.UX,q.w,f.Ls,w.bd,Y.SY,V.j,_t.H,Ct.y,Pt.B,Tt.D,xt.q,Mt.p,Ot.i,X.l,h.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),b);function Ht(o,e){1&o&&(t.TgZ(0,"a",14),t._UZ(1,"i",15),t._uU(2," View Associated Phenotype Docs "),t.qZA())}function Wt(o,e){1&o&&(t.TgZ(0,"a",16),t._UZ(1,"i",15),t._uU(2," View Phenotype Curation Docs "),t.qZA())}j=(0,mt.gn)([(0,U.c)()],j);class B{constructor(){}ngOnInit(){}}B.\u0275fac=function(e){return new(e||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["phenotypes-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-phenotype",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Associated Phenotypes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock",""]],template:function(e,a){1&e&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Associated Phenotypes"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," Phenotypes are symptoms or abnormalities that are encountered in human disease, optionally associated with Evidence Items and known to the Human Phenotype Ontology database. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Ht,3,0,"a",8),t.YNc(15,Wt,3,0,"a",9),t.qZA()()(),t.TgZ(16,"div",10)(17,"div",11)(18,"div",12),t._UZ(19,"cvc-phenotypes-table",13),t.qZA()()()()()),2&e&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"Phenotype")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},dependencies:[g.$O,g.u5,f.Ls,y.t3,y.SK,Q.ix,q.w,c.NU,c.$1,F.ZU,G.I,j,k.a],styles:["[_nghost-%COMP%]{display:block}"]});var jt=n(3392),wt=n(3756);const Yt=function(){return[8,16]};function Vt(o,e){if(1&o&&(t.TgZ(0,"nz-row",1)(1,"nz-col",2),t._UZ(2,"cvc-assertions-table",3),t.qZA(),t.TgZ(3,"nz-col",2),t._UZ(4,"cvc-evidence-table",4),t.qZA()()),2&o){const a=t.oxw();t.Q6J("nzGutter",t.DdM(5,Yt)),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("phenotypeId",a.phenotypeId),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("phenotypeId",a.phenotypeId)}}class J{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(a=>{this.phenotypeId=+a.phenotypeId})}ngOnDestroy(){this.routeSub.unsubscribe()}}J.\u0275fac=function(e){return new(e||J)(t.Y36(s.gz))},J.\u0275cmp=t.Xpm({type:J,selectors:[["cvc-phenotypes-summary"]],decls:1,vars:1,consts:[[3,"nzGutter",4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],["cvcHeight","400","cvcTitle","Phenotype Assertions",3,"phenotypeId"],["cvcTitle","Phenotype Evidence",3,"phenotypeId"]],template:function(e,a){1&e&&t.YNc(0,Vt,5,6,"nz-row",0),2&e&&t.Q6J("ngIf",a.phenotypeId)},dependencies:[r.O5,y.t3,y.SK,jt.a,wt.x],styles:["[_nghost-%COMP%]{display:block}"]});class L{constructor(){}ngOnInit(){}}L.\u0275fac=function(e){return new(e||L)},L.\u0275cmp=t.Xpm({type:L,selectors:[["cvc-phenotypes"]],decls:1,vars:0,template:function(e,a){1&e&&t._UZ(0,"router-outlet")},dependencies:[s.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});const Xt=[{path:"",component:L,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:B,data:{breadcrumb:"Home"}},{path:":phenotypeId",component:D,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:J,data:{breadcrumb:"Summary"}}]}]}];class I{}I.\u0275fac=function(e){return new(e||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[s.Bz.forChild(Xt),s.Bz]});class S{}S.\u0275fac=function(e){return new(e||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[r.ez,s.Bz,I,A,i,M]})}}]); \ No newline at end of file diff --git a/server/public/1192.1161ffe4599e655e.js b/server/public/1192.1161ffe4599e655e.js deleted file mode 100644 index e887048b7..000000000 --- a/server/public/1192.1161ffe4599e655e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1192],{3392:(B,L,t)=>{t.d(L,{a:()=>V});var A=t(655),e=t(4650),l=t(3154),g=t(7630),v=t(9933),M=t(1135),f=t(7579),E=t(3240),x=t(1884),y=t(2529),Z=t(5684),z=t(9300),C=t(4004),D=t(8372),I=t(1365),m=t(6579),T=t(6895),O=t(4006),b=t(7044),U=t(1971),S=t(1102),u=t(8231),c=t(6675),p=t(6672),s=t(7570),d=t(8823),N=t(5851),Q=t(7451),J=t(2166),h=t(7491),K=t(5797),W=t(2268),$=t(3388),F=t(3667),w=t(9947),Y=t(6715),G=t(5105),H=t(2635),j=t(4475),X=t(4110);const q=new Map([[g.Sx0.A,"Validated Association"],[g.Sx0.B,"Clinical Evidence"],[g.Sx0.C,"Case Study"],[g.Sx0.D,"Preclinical Evidence"],[g.Sx0.E,"Inferential Association"]]);class R{transform(o,n="display-string"){return void 0===o?"":"display-string"===n?function k(i){return q.get(i)||""}(o):`civic-${o.replace(/_/g,"").toLowerCase()}`}}var P;function ee(i,o){}function ne(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"nz-card",5),e.YNc(2,ee,0,0,"ng-template",6),e.qZA(),e.BQk()),2&i){e.oxw();const n=e.MAs(6),_=e.MAs(8),a=e.MAs(4);e.xp6(1),e.Q6J("nzTitle",n)("nzExtra",_),e.xp6(1),e.Q6J("ngTemplateOutlet",a)}}function te(i,o){}R.\u0275fac=function(o){return new(o||R)},R.\u0275pipe=e.Yjl({name:"evidenceLevelDisplay",type:R,pure:!0});const oe=function(i){return{height:i}};function ie(i,o){if(1&i&&(e.TgZ(0,"div",7)(1,"nz-card",8),e.YNc(2,te,0,0,"ng-template",6),e.qZA()()),2&i){const n=e.oxw(),_=e.MAs(6),a=e.MAs(8),r=e.MAs(4);e.Q6J("ngStyle",e.VKq(4,oe,n.cvcHeight)),e.xp6(1),e.Q6J("nzTitle",_)("nzExtra",a),e.xp6(1),e.Q6J("ngTemplateOutlet",r)}}function le(i,o){1&i&&(e.TgZ(0,"th",80),e._uU(1," Molecular Profile "),e.qZA())}function ae(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"th")(1,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw(2);return e.KtG(r.molecularProfileNameInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw(2);return e.KtG(a.filterChange$.next())}),e.qZA()()}if(2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("inputModel",n.molecularProfileNameInput)}}function ce(i,o){if(1&i&&(e.TgZ(0,"td"),e._UZ(1,"cvc-molecular-profile-tag",90),e.qZA()),2&i){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("molecularProfile",n.molecularProfile)("truncateLongName",40)}}function re(i,o){if(1&i&&(e.ynx(0),e._UZ(1,"cvc-disease-tag",91),e.BQk()),2&i){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("disease",n.disease)("truncateLongName",!0)}}function _e(i,o){1&i&&(e.TgZ(0,"i"),e._uU(1,"N/A"),e.qZA())}function pe(i,o){if(1&i&&(e.ynx(0),e._UZ(1,"cvc-therapy-tag",93),e.BQk()),2&i){const n=o.$implicit;e.xp6(1),e.Q6J("therapy",n)("truncateLongName",!0)}}function se(i,o){if(1&i&&(e.TgZ(0,"div")(1,"cvc-tag-list"),e.YNc(2,pe,2,2,"ng-container",92),e.qZA()()),2&i){const n=e.oxw().$implicit;e.xp6(2),e.Q6J("ngForOf",n.therapies)}}function ge(i,o){1&i&&(e.TgZ(0,"i",94),e._uU(1,"N/A"),e.qZA())}function de(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"nz-tag",85),e.ALo(2,"therapyInteractionEnumDisplay"),e._UZ(3,"i",88),e.ALo(4,"therapyInteractionEnumDisplay"),e.qZA(),e.BQk()),2&i){const n=e.oxw().$implicit,_=e.oxw(2);e.xp6(1),e.Q6J("nzTooltipTitle",_.isScrolling?"":e.lcZ(2,2,n.therapyInteractionType)),e.xp6(2),e.Q6J("nzType",e.xi3(4,4,n.therapyInteractionType,"icon-name"))}}function ue(i,o){1&i&&(e.ynx(0),e.TgZ(1,"i",94),e._uU(2,"N/A"),e.qZA(),e.BQk())}function ve(i,o){if(1&i&&(e.TgZ(0,"tr",81)(1,"td",26),e._UZ(2,"cvc-evidence-tag",82),e.qZA(),e.YNc(3,ce,2,2,"td",28),e.TgZ(4,"td"),e.YNc(5,re,2,2,"ng-container",0),e.YNc(6,_e,2,0,"ng-template",null,83,e.W1O),e.qZA(),e.TgZ(8,"td"),e.YNc(9,se,3,1,"div",0),e.YNc(10,ge,2,0,"ng-template",null,84,e.W1O),e.qZA(),e.TgZ(12,"td"),e.YNc(13,de,5,7,"ng-container",28),e.YNc(14,ue,3,0,"ng-container",28),e.qZA(),e.TgZ(15,"td",29)(16,"nz-tag",85),e._UZ(17,"i",86),e.qZA()(),e.TgZ(18,"td",29)(19,"nz-tag",87),e.ALo(20,"evidenceLevelDisplay"),e._uU(21),e.qZA()(),e.TgZ(22,"td",29)(23,"nz-tag",85),e.ALo(24,"evidenceEnumDisplay"),e._UZ(25,"i",88),e.ALo(26,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(27,"td",29)(28,"nz-tag",85),e.ALo(29,"evidenceEnumDisplay"),e._UZ(30,"i",88),e.ALo(31,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(32,"td",29)(33,"nz-tag",85),e.ALo(34,"evidenceEnumDisplay"),e._UZ(35,"i",88),e.ALo(36,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(37,"td",29)(38,"nz-tag",85),e.ALo(39,"evidenceEnumDisplay"),e._UZ(40,"i",88),e.ALo(41,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(42,"td",29)(43,"nz-tag",85),e._uU(44),e._UZ(45,"i",89),e.qZA()()()),2&i){const n=o.$implicit,_=e.MAs(7),a=e.MAs(11),r=e.oxw(2);e.xp6(2),e.Q6J("evidence",n),e.xp6(1),e.Q6J("ngIf",r.displayMolecularProfile),e.xp6(2),e.Q6J("ngIf",n.disease)("ngIfElse",_),e.xp6(4),e.Q6J("ngIf",n.therapies.length>0)("ngIfElse",a),e.xp6(4),e.Q6J("ngIf",n.therapyInteractionType),e.xp6(1),e.Q6J("ngIf",!n.therapyInteractionType),e.xp6(2),e.Q6J("nzTooltipTitle",r.isScrolling?"":n.description),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":n.evidenceLevel+" - "+e.lcZ(20,21,n.evidenceLevel)),e.xp6(2),e.hij(" ",n.evidenceLevel," "),e.xp6(2),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(24,23,n.evidenceType)),e.xp6(2),e.Q6J("nzType",e.xi3(26,25,n.evidenceType,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(29,28,n.evidenceDirection)),e.xp6(2),e.Q6J("nzType",e.xi3(31,30,n.evidenceDirection,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(34,33,n.significance)),e.xp6(2),e.Q6J("nzType",e.xi3(36,35,n.significance,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(39,38,n.variantOrigin)),e.xp6(2),e.Q6J("nzType",e.xi3(41,40,n.variantOrigin,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":n.evidenceRating+" stars"),e.xp6(1),e.hij(" ",n.evidenceRating," ")}}const me=function(){return[]},ze=function(){return{x:"680px",y:"800px"}},Ce=function(){return["descend","ascend",null]};function Te(i,o){if(1&i){const n=e.EpF();e.TgZ(0,"nz-table",9,10),e.NdJ("cvcTableScrollOnScroll",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.scrollEvent$.next(a))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.TgZ(6,"thead",11),e.NdJ("nzSortOrderChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.sortChange$.next(a))}),e.TgZ(7,"tr",12)(8,"th",13),e._uU(9," EID "),e.qZA(),e.YNc(10,le,2,0,"th",14),e.TgZ(11,"th",15),e._uU(12," Disease "),e.qZA(),e.TgZ(13,"th",16),e._uU(14," Therapies "),e.qZA(),e.TgZ(15,"th",17),e._uU(16," IT "),e.qZA(),e.TgZ(17,"th",18),e._uU(18," DESC "),e.qZA(),e.TgZ(19,"th",19),e._uU(20," EL "),e.qZA(),e.TgZ(21,"th",20),e._uU(22," ET "),e.qZA(),e.TgZ(23,"th",21),e._uU(24," ED "),e.qZA(),e.TgZ(25,"th",22),e._uU(26," S "),e.qZA(),e.TgZ(27,"th",23),e._uU(28," VO "),e.qZA(),e.TgZ(29,"th",24),e._uU(30," R "),e.qZA()(),e.TgZ(31,"tr",25)(32,"th",26)(33,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.eidInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e.YNc(34,ae,2,1,"th",28),e.TgZ(35,"th")(36,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.diseaseNameInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e.TgZ(37,"th")(38,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.therapyNameInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e._UZ(39,"th"),e.TgZ(40,"th",29)(41,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.descriptionInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e.TgZ(42,"th",29)(43,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceLevelInput=a)}),e._UZ(44,"nz-option",31),e.ALo(45,"evidenceLevelDisplay"),e._UZ(46,"nz-option",32),e.ALo(47,"evidenceLevelDisplay"),e._UZ(48,"nz-option",33),e.ALo(49,"evidenceLevelDisplay"),e._UZ(50,"nz-option",34),e.ALo(51,"evidenceLevelDisplay"),e._UZ(52,"nz-option",35),e.ALo(53,"evidenceLevelDisplay"),e.qZA()(),e.TgZ(54,"th",29)(55,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceTypeInput=a)}),e._UZ(56,"nz-option",36)(57,"nz-option",37)(58,"nz-option",38)(59,"nz-option",39)(60,"nz-option",40)(61,"nz-option",41),e.qZA()(),e.TgZ(62,"th",29)(63,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceDirectionInput=a)}),e._UZ(64,"nz-option",42)(65,"nz-option",43)(66,"nz-option",44),e.qZA()(),e.TgZ(67,"th",29)(68,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.SignificanceInput=a)}),e.TgZ(69,"nz-option-group",45),e._UZ(70,"nz-option",46)(71,"nz-option",47)(72,"nz-option",48)(73,"nz-option",49)(74,"nz-option",44),e.qZA(),e.TgZ(75,"nz-option-group",50),e._UZ(76,"nz-option",51)(77,"nz-option",52)(78,"nz-option",44),e.qZA(),e.TgZ(79,"nz-option-group",53),e._UZ(80,"nz-option",54)(81,"nz-option",55),e.qZA(),e.TgZ(82,"nz-option-group",56),e._UZ(83,"nz-option",57)(84,"nz-option",58)(85,"nz-option",44),e.qZA(),e.TgZ(86,"nz-option-group",59),e._UZ(87,"nz-option",60)(88,"nz-option",58)(89,"nz-option",44),e.qZA(),e.TgZ(90,"nz-option-group",61),e._UZ(91,"nz-option",62),e._uU(92,", "),e._UZ(93,"nz-option",63),e._uU(94,", "),e._UZ(95,"nz-option",64),e._uU(96,", "),e._UZ(97,"nz-option",65),e._uU(98,", "),e._UZ(99,"nz-option",66),e._uU(100,", "),e._UZ(101,"nz-option",67),e.qZA()()(),e.TgZ(102,"th",29)(103,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.variantOriginInput=a)}),e._UZ(104,"nz-option",68)(105,"nz-option",69)(106,"nz-option",70)(107,"nz-option",71)(108,"nz-option",72)(109,"nz-option",73)(110,"nz-option",44),e.qZA()(),e.TgZ(111,"th",29)(112,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceRatingInput=a)}),e._UZ(113,"nz-option",74)(114,"nz-option",75)(115,"nz-option",76)(116,"nz-option",77)(117,"nz-option",78),e.qZA()()()(),e.TgZ(118,"tbody"),e.YNc(119,ve,46,43,"ng-template",79),e.qZA()()}if(2&i){const n=e.oxw();e.Q6J("nzData",e.lcZ(2,61,n.row$)||e.DdM(79,me))("nzLoading",!e.lcZ(3,63,n.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",e.lcZ(4,65,n.pageInfo$))("cvcTableScrollToIndex",e.lcZ(5,67,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",e.DdM(80,ze))("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(8),e.Q6J("nzColumnKey",n.sortColumns.Id)("nzSortFn",!0),e.xp6(2),e.Q6J("ngIf",n.displayMolecularProfile),e.xp6(1),e.Q6J("nzColumnKey",n.sortColumns.DiseaseName)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.TherapyName)("nzSortFn",!0),e.xp6(4),e.Q6J("nzColumnKey",n.sortColumns.Description)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceLevel)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceType)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceDirection)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.Significance)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.VariantOrigin)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceRating)("nzSortDirections",e.DdM(81,Ce))("nzSortFn",!0),e.xp6(4),e.Q6J("inputModel",n.eidInput),e.xp6(1),e.Q6J("ngIf",n.displayMolecularProfile),e.xp6(2),e.Q6J("inputModel",n.diseaseNameInput),e.xp6(2),e.Q6J("inputModel",n.therapyNameInput),e.xp6(3),e.Q6J("inputModel",n.descriptionInput),e.xp6(2),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceLevelInput),e.xp6(1),e.Q6J("nzLabel","A - "+e.lcZ(45,69,n.evidenceLevels.A)),e.xp6(2),e.Q6J("nzLabel","B - "+e.lcZ(47,71,n.evidenceLevels.B)),e.xp6(2),e.Q6J("nzLabel","C - "+e.lcZ(49,73,n.evidenceLevels.C)),e.xp6(2),e.Q6J("nzLabel","D - "+e.lcZ(51,75,n.evidenceLevels.D)),e.xp6(2),e.Q6J("nzLabel","E - "+e.lcZ(53,77,n.evidenceLevels.E)),e.xp6(3),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceTypeInput),e.xp6(8),e.Q6J("nzDropdownMatchSelectWidth",!1)("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceDirectionInput),e.xp6(5),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.SignificanceInput),e.xp6(35),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.variantOriginInput),e.xp6(9),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceRatingInput),e.xp6(1),e.Q6J("nzValue",1),e.xp6(1),e.Q6J("nzValue",2),e.xp6(1),e.Q6J("nzValue",3),e.xp6(1),e.Q6J("nzValue",4),e.xp6(1),e.Q6J("nzValue",5)}}function he(i,o){}function fe(i,o){if(1&i&&(e.ynx(0),e.YNc(1,he,0,0,"ng-template",6),e.BQk()),2&i){const n=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function Ee(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.cvcTitle," ")}}function xe(i,o){if(1&i&&(e.YNc(0,fe,2,1,"ng-container",28),e.YNc(1,Ee,2,1,"ng-container",28),e.TgZ(2,"span",95),e._UZ(3,"cvc-table-counts",96),e.qZA()),2&i){const n=e.oxw();e.Q6J("ngIf",n.cvcTitleTemplate),e.xp6(1),e.Q6J("ngIf",n.cvcTitle),e.xp6(2),e.Q6J("cvcTableCountsConnection",n.connection$)}}function Me(i,o){1&i&&(e.TgZ(0,"nz-tag",99),e._UZ(1,"i",100),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}function Ie(i,o){if(1&i&&(e.YNc(0,Me,4,0,"nz-tag",97),e.ALo(1,"ngrxPush"),e._UZ(2,"cvc-no-more-rows",98),e.ALo(3,"ngrxPush")),2&i){const n=e.oxw();e.Q6J("ngIf",e.lcZ(1,2,n.moreLoading$)),e.xp6(2),e.Q6J("cvcShowTag",e.lcZ(3,4,n.noMoreRows$))}}let V=((P=class{set initialUserFilters(o){o&&Object.assign(this,o)}constructor(o,n){this.gql=o,this.cdr=n,this.displayMolecularProfile=!0,this.initialPageSize=35,this.initialTotalCount=new e.vpe,this.isScrolling=!1,this.sortColumns=g.Cp0,this.evidenceLevels=g.Sx0,this.noMoreRows$=new M.X(!1),this.scrollEvent$=new M.X("stop"),this.sortChange$=new f.x,this.filterChange$=new f.x,this.scrollIndex$=new f.x}ngOnInit(){this.queryRef=this.gql.watch({assertionId:this.assertionId,significance:this.SignificanceInput?this.SignificanceInput:void 0,clinicalTrialId:this.clinicalTrialId,description:this.descriptionInput,diseaseId:this.diseaseId,diseaseName:this.diseaseNameInput,therapyId:this.therapyId,therapyName:this.therapyNameInput,evidenceDirection:this.evidenceDirectionInput?this.evidenceDirectionInput:void 0,evidenceLevel:this.evidenceLevelInput?this.evidenceLevelInput:void 0,evidenceType:this.evidenceTypeInput?this.evidenceTypeInput:void 0,first:this.initialPageSize,organizationId:this.organizationId,phenotypeId:this.phenotypeId,rating:this.evidenceRatingInput?this.evidenceRatingInput:void 0,sourceId:this.sourceId,status:this.status,userId:this.userId,variantId:this.variantId,molecularProfileId:this.molecularProfileId,molecularProfileName:this.molecularProfileNameInput?this.molecularProfileNameInput:void 0,variantOrigin:this.variantOriginInput?this.variantOriginInput:void 0}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,m.j)("loading"),(0,x.x)(),(0,y.o)(o=>!1!==o,!0)),this.moreLoading$=this.result$.pipe((0,m.j)("loading"),(0,x.x)(),(0,Z.T)(2)),this.connection$=this.result$.pipe((0,m.j)("data","evidenceItems"),(0,z.h)(E.ep)),this.connection$.pipe((0,C.U)(o=>o.totalCount),(0,v.t)(this)).subscribe(o=>this.initialTotalCount.next(o)),this.row$=this.connection$.pipe((0,m.j)("edges"),(0,z.h)(E.ep),(0,C.U)(o=>o.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,m.j)("pageInfo"),(0,z.h)(E.ep)),this.sortChange$.pipe((0,v.t)(this)).subscribe(o=>{this.queryRef.refetch({sortBy:(0,l._)(o)})}),this.filterChange$.pipe((0,D.b)(500),(0,v.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,C.U)(o=>"stop"!==o),(0,x.x)(),(0,v.t)(this)).subscribe(o=>{this.isScrolling=o,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,z.h)(o=>"bottom"===o),(0,I.M)(this.pageInfo$),(0,C.U)(([o,n])=>n),(0,v.t)(this)).subscribe(o=>{o.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){let o;o=this.eidInput?this.eidInput.toUpperCase().startsWith("EID")?+this.eidInput.toUpperCase().replace("EID",""):+this.eidInput:void 0,this.queryRef.refetch({id:o,diseaseName:this.diseaseNameInput,therapyName:this.therapyNameInput,description:this.descriptionInput,evidenceLevel:this.evidenceLevelInput?this.evidenceLevelInput:void 0,evidenceType:this.evidenceTypeInput?this.evidenceTypeInput:void 0,evidenceDirection:this.evidenceDirectionInput?this.evidenceDirectionInput:void 0,significance:this.SignificanceInput?this.SignificanceInput:void 0,variantOrigin:this.variantOriginInput?this.variantOriginInput:void 0,rating:this.evidenceRatingInput?this.evidenceRatingInput:void 0,molecularProfileName:this.molecularProfileNameInput?this.molecularProfileNameInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(o,n){return n?.id}}).\u0275fac=function(o){return new(o||P)(e.Y36(g.eY8),e.Y36(e.sBO))},P.\u0275cmp=e.Xpm({type:P,selectors:[["cvc-evidence-table"]],inputs:{cvcHeight:"cvcHeight",assertionId:"assertionId",clinicalTrialId:"clinicalTrialId",cvcTitle:"cvcTitle",cvcTitleTemplate:"cvcTitleTemplate",diseaseId:"diseaseId",displayMolecularProfile:"displayMolecularProfile",therapyId:"therapyId",organizationId:"organizationId",phenotypeId:"phenotypeId",sourceId:"sourceId",status:"status",userId:"userId",variantId:"variantId",molecularProfileId:"molecularProfileId",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},outputs:{initialTotalCount:"initialTotalCount"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","100px","nzLeft","","nz-tooltip","","nzTooltipTitle","Evidence ID",3,"nzColumnKey","nzSortFn"],["nzWidth","320px","nz-tooltip","","nzTooltipTitle","Molecular Profile Name",4,"ngIf"],["nzWidth","250px",3,"nzColumnKey","nzSortFn"],["nzWidth","400px",3,"nzColumnKey","nzSortFn"],["nzWidth","40px","nz-tooltip","","nzTooltipTitle","Therapy Interaction Type"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Description",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Level",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Type",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Direction",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Significance",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Variant Origin",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Rating",3,"nzColumnKey","nzSortDirections","nzSortFn"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],[4,"ngIf"],["nzAlign","center","nzRight",""],["nzAllowClear","","nzPlaceHolder","All","nzSize","small",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","A",3,"nzLabel"],["nzValue","B",3,"nzLabel"],["nzValue","C",3,"nzLabel"],["nzValue","D",3,"nzLabel"],["nzValue","E",3,"nzLabel"],["nzValue","PREDICTIVE","nzLabel","Predictive"],["nzValue","PROGNOSTIC","nzLabel","Prognostic"],["nzValue","DIAGNOSTIC","nzLabel","Diagnostic"],["nzValue","PREDISPOSING","nzLabel","Predisposing"],["nzValue","ONCOGENIC","nzLabel","Oncogenic"],["nzValue","FUNCTIONAL","nzLabel","Functional"],["nzValue","SUPPORTS","nzLabel","Supports"],["nzValue","DOES_NOT_SUPPORT","nzLabel","Does not Support"],["nzValue","NA","nzLabel","N/A"],["nzLabel","Predictive"],["nzValue","SENSITIVITYRESPONSE","nzLabel","Sensitivity/Response"],["nzValue","RESISTANCE","nzLabel","Resistance"],["nzValue","ADVERSE_RESPONSE","nzLabel","Adverse Response"],["nzValue","REDUCED SENSITIVITY","nzLabel","Reduced Sensitivity"],["nzLabel","Prognostic"],["nzValue","BETTER_OUTCOME","nzLabel","Better Outcome"],["nzValue","POOR_OUTCOME","nzLabel","Poor Outcome"],["nzLabel","Diagnostic"],["nzValue","POSITIVE","nzLabel","Positive"],["nzValue","NEGATIVE","nzLabel","Negative"],["nzLabel","Predisposing"],["nzValue","PREDISPOSITION","nzLabel","Predisposition"],["nzValue","PROTECTIVENESS","nzLabel","Protectiveness"],["nzLabel","Oncogenic"],["nzValue","ONCOGENICITY","nzLabel","Oncogenicity"],["nzLabel","Functional"],["nzValue","GAIN_OF_FUNCTION","nzLabel","Gain of Function"],["nzValue","LOSS_OF_FUNCTION","nzLabel","Loss of Function"],["nzValue","UNALTERED_FUNCTION","nzLabel","Unaltered Function"],["nzValue","NEOMORPHIC","nzLabel","Neomorphic"],["nzValue","DOMINANT_NEGATIVE","nzLabel","Dominant Negative"],["nzValue","UNKNOWN","nzLabel","Unknown"],["nzValue","SOMATIC","nzLabel","Somatic"],["nzValue","RARE_GERMLINE","nzLabel","Rare Germline"],["nzValue","COMMON_GERMLINE","nzLabel","Common Germline"],["nzValue","GERMLINE_OR_SOMATIC","nzLabel","Germline or Somatic"],["nzValue","COMBINED","nzLabel","Combined"],["nzValue","UNKNOWN","nzLabel","Unkown"],["nzLabel","1",3,"nzValue"],["nzLabel","2",3,"nzValue"],["nzLabel","3",3,"nzValue"],["nzLabel","4",3,"nzValue"],["nzLabel","5",3,"nzValue"],["nz-virtual-scroll",""],["nzWidth","320px","nz-tooltip","","nzTooltipTitle","Molecular Profile Name"],[1,"data-row"],[3,"evidence"],["diseaseElse",""],["therapiesElse",""],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left"],["nz-tooltip","","nz-placement","top",3,"nzTooltipTitle"],["nz-icon","",1,"attribute-icon",3,"nzType"],["nz-icon","","nzType","star","nzTheme","fill",1,"attribute-icon"],[3,"molecularProfile","truncateLongName"],[3,"disease","truncateLongName"],[4,"ngFor","ngForOf"],[3,"therapy","truncateLongName"],["nz-typography","","nzType","secondary"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(o,n){if(1&o&&(e.YNc(0,ne,3,3,"ng-container",0),e.YNc(1,ie,3,6,"ng-template",null,1,e.W1O),e.YNc(3,Te,120,82,"ng-template",null,2,e.W1O),e.YNc(5,xe,4,3,"ng-template",null,3,e.W1O),e.YNc(7,Ie,4,6,"ng-template",null,4,e.W1O)),2&o){const _=e.MAs(2);e.Q6J("ngIf",!n.cvcHeight)("ngIfElse",_)}},dependencies:[T.sg,T.O5,T.tP,T.PC,O.JJ,O.On,b.w,U.bd,S.Ls,u.Ip,u.Vq,u.Yy,c.N8,c.qD,c.Uo,c._C,c.Om,c.p0,c.$Z,c.zu,c.qn,c.UX,p.j,s.SY,d.ZU,N.D,Q.q,J.p,h.n,K.T,W.O,$.H,F.B,w.y,Y.$,G.p,H.fM,j.F,X.Do,R],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),P);V=(0,A.gn)([(0,v.c)()],V)},767:(B,L,t)=>{t.d(L,{Q:()=>h});var A=t(6895),e=t(4006),l=t(8845),g=t(4126),v=t(4125),M=t(2994),f=t(8525),E=t(897),x=t(7946),y=t(701),Z=t(9444),z=t(3111),C=t(1433),D=t(9240),I=t(2635),m=t(6616),T=t(1971),O=t(8213),b=t(6704),U=t(1102),S=t(5635),u=t(8231),c=t(6903),p=t(6675),s=t(6672),d=t(7570),N=t(8823),Q=t(9460),J=t(4650);class h{}h.\u0275fac=function(W){return new(W||h)},h.\u0275mod=J.oAB({type:h}),h.\u0275inj=J.cJS({imports:[A.ez,I._N,I.pP,e.u5,m.sL,T.vh,O.Wr,b.U5,U.PV,S.o7,u.LV,c.zf,p.HQ,s.X,d.cg,N.ZJ,z.n,C.c,v.k,l.Q,y.N,Q.i,Z.s,M.y,f.T,D.w,E.$,x.x,g.u]})},2268:(B,L,t)=>{t.d(L,{O:()=>u});var A=t(6654),e=t(9771),l=t(4650),g=t(6895),v=t(9116),M=t(6672),f=t(6581),E=t(1102),x=t(285),y=t(1730),Z=t(160);function z(c,p){}function C(c,p){if(1&c&&(l.ynx(0),l.TgZ(1,"a",4),l.YNc(2,z,0,0,"ng-template",5),l.qZA(),l.BQk()),2&c){const s=l.oxw(),d=l.MAs(2);l.xp6(1),l.Q6J("routerLink",s.evidence.link),l.xp6(1),l.Q6J("ngTemplateOutlet",d)}}function D(c,p){}function I(c,p){if(1&c&&l._UZ(0,"cvc-evidence-popover",9),2&c){const s=l.oxw(3);l.Q6J("evidenceId",s.evidence.id)}}function m(c,p){if(1&c&&l.YNc(0,I,1,1,"cvc-evidence-popover",8),2&c){const s=l.oxw(2);l.Q6J("ngIf",s.enablePopover)}}const T=function(c,p,s){return{rejected:c,submitted:p,accepted:s}};function O(c,p){if(1&c&&(l.TgZ(0,"nz-tag",6),l.YNc(1,D,0,0,"ng-template",5),l.qZA(),l.YNc(2,m,1,1,"ng-template",null,7,l.W1O)),2&c){const s=l.MAs(3),d=l.oxw(),N=l.MAs(6);l.Q6J("ngClass",l.kEZ(5,T,"REJECTED"===d.evidence.status,"SUBMITTED"===d.evidence.status,"ACCEPTED"===d.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",s)("nzPopoverTrigger",d.enablePopover?"hover":null),l.xp6(1),l.Q6J("ngTemplateOutlet",N)}}function b(c,p){}function U(c,p){if(1&c&&l.YNc(0,b,0,0,"ng-template",5),2&c){l.oxw();const s=l.MAs(2);l.Q6J("ngTemplateOutlet",s)}}function S(c,p){if(1&c&&(l.TgZ(0,"cvc-icon-badges",10),l._UZ(1,"i",11),l.ALo(2,"entityColor"),l.ALo(3,"entityColor"),l.qZA(),l._uU(4)),2&c){const s=l.oxw();l.Q6J("flagged",s.evidence.flagged)("entityColor",s.iconColor),l.xp6(1),l.Q6J("nzTwotoneColor","REJECTED"===s.evidence.status?l.lcZ(2,4,"Rejected"):l.lcZ(3,6,"EvidenceItem")),l.xp6(3),l.hij(" ",s.evidence.name,"\n")}}class u extends A.a{set evidence(p){if(!p)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=p}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,e.f)("EvidenceItem")}idFunction(){return this.evidence.id}}u.\u0275fac=function(p){return new(p||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[l.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(p,s){if(1&p&&(l.YNc(0,C,3,2,"ng-container",0),l.YNc(1,O,4,9,"ng-template",null,1,l.W1O),l.YNc(3,U,1,1,"ng-template",null,2,l.W1O),l.YNc(5,S,5,8,"ng-template",null,3,l.W1O)),2&p){const d=l.MAs(4);l.Q6J("ngIf",s.linked)("ngIfElse",d)}},dependencies:[g.mk,g.O5,g.tP,v.rH,M.j,f.lU,E.Ls,x._,y.b,Z.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]})}}]); \ No newline at end of file diff --git a/server/public/1364.12bb9c99f867a6aa.js b/server/public/1364.12bb9c99f867a6aa.js new file mode 100644 index 000000000..b3f2104af --- /dev/null +++ b/server/public/1364.12bb9c99f867a6aa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1364],{215:(B,d,p)=>{p.d(d,{m:()=>a});var n=p(5879),c=p(6814),t=p(4190),g=p(5695),T=p(551),l=p(7417),f=p(5676),_=p(7398),C=p(2181),u=p(313),z=p(2962),s=p(95),m=p(8125),v=p(3317),x=p(7458),y=p(8091);const h=function(o,e){return{displayName:o,profileImagePath:e}};function O(o,e){if(1&o&&(n._UZ(0,"cvc-user-avatar",12),n.TgZ(1,"span",13),n._uU(2),n.qZA()),2&o){const i=n.oxw().ngIf;n.Q6J("user",n.WLB(2,h,i.name,i.profileImagePath)),n.xp6(2),n.Oqu(i.name)}}function P(o,e){if(1&o&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&o){const i=e.ngIf;n.xp6(1),n.Oqu(i)}}function I(o,e){if(1&o&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",14),n._uU(2),n.qZA(),n.BQk()),2&o){const i=n.oxw().ngIf;n.xp6(1),n.Q6J("href",i.url),n.xp6(1),n.hij(" ",i.name," ")}}function M(o,e){if(1&o&&(n.ynx(0),n.TgZ(1,"nz-card",4),n.YNc(2,O,3,5,"ng-template",null,5,n.W1O),n.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),n.YNc(8,P,2,1,"span",9),n.qZA()()()(),n.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),n.YNc(11,I,3,2,"ng-container",9),n.qZA()()(),n.BQk()),2&o){const i=e.ngIf,r=n.MAs(3);n.oxw();const j=n.MAs(4),S=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",r),n.xp6(7),n.Q6J("ngIf",i.description)("ngIfElse",j),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",i.url)("ngIfElse",S)}}function Z(o,e){1&o&&n._uU(0," Organization has not provided a description.\n")}function A(o,e){1&o&&n._uU(0," -- ")}let Q=(()=>{class o{constructor(i){this.gql=i}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,_.U)(({data:i})=>i?.organization),(0,C.h)(f.ep))}}return o.\u0275fac=function(i){return new(i||o)(n.Y36(u.X5f))},o.\u0275cmp=n.Xpm({type:o,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(i,r){1&i&&(n.TgZ(0,"div",0),n.YNc(1,M,12,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,Z,1,0,"ng-template",null,2,n.W1O),n.YNc(5,A,1,0,"ng-template",null,3,n.W1O)),2&i&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,r.org$)))},dependencies:[c.O5,z.bd,s.t3,s.SK,m.R7,m.uj,v.l,x.L,y.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),o})();function N(o,e){}function Y(o,e){if(1&o&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,N,0,0,"ng-template",5),n.qZA(),n.BQk()),2&o){const i=n.oxw(),r=n.MAs(2);n.xp6(1),n.MGl("routerLink","/organizations/",i.org.id,""),n.xp6(1),n.Q6J("ngTemplateOutlet",r)}}function J(o,e){}function V(o,e){if(1&o&&n._UZ(0,"cvc-organization-popover",9),2&o){const i=n.oxw(3);n.Q6J("orgId",i.org.id)}}function w(o,e){if(1&o&&n.YNc(0,V,1,1,"cvc-organization-popover",8),2&o){const i=n.oxw(2);n.Q6J("ngIf",i.enablePopover)}}function U(o,e){if(1&o&&(n.TgZ(0,"nz-tag",6),n.YNc(1,J,0,0,"ng-template",5),n.qZA(),n.YNc(2,w,1,1,"ng-template",null,7,n.W1O)),2&o){const i=n.MAs(3);n.oxw();const r=n.MAs(6);n.Q6J("nzPopoverContent",i),n.xp6(1),n.Q6J("ngTemplateOutlet",r)}}function E(o,e){}function W(o,e){if(1&o&&n.YNc(0,E,0,0,"ng-template",5),2&o){n.oxw();const i=n.MAs(2);n.Q6J("ngTemplateOutlet",i)}}function L(o,e){if(1&o&&(n._UZ(0,"i",10),n._uU(1)),2&o){const i=n.oxw();n.xp6(1),n.hij(" ",i.org.name,"\n")}}let a=(()=>{class o{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=n.Xpm({type:o,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(i,r){if(1&i&&(n.YNc(0,Y,3,2,"ng-container",0),n.YNc(1,U,4,2,"ng-template",null,1,n.W1O),n.YNc(3,W,1,1,"ng-template",null,2,n.W1O),n.YNc(5,L,2,1,"ng-template",null,3,n.W1O)),2&i){const j=n.MAs(4);n.Q6J("ngIf",r.linked)("ngIfElse",j)}},dependencies:[c.O5,c.tP,t.rH,g.j,T.Ls,l.lU,Q],styles:["[_nghost-%COMP%]{display:inline-block}"]}),o})()},7938:(B,d,p)=>{p.d(d,{j:()=>L});var n=p(8130),c=p(2023),t=p(5879),g=p(6814),T=p(4190),l=p(551),f=p(5695),_=p(7417),C=p(7398),u=p(2181),z=p(5676),s=p(313),m=p(2962),v=p(8125),x=p(3317),y=p(8091),h=p(2616);function O(a,o){if(1&a&&(t._UZ(0,"i",7),t.ALo(1,"entityColor"),t._uU(2)),2&a){const e=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"VariantType")),t.xp6(2),t.hij(" ",e.name," ")}}function P(a,o){if(1&a&&(t.TgZ(0,"cvc-link-tag",9),t._uU(1),t.qZA()),2&a){const e=t.oxw(2).ngIf;t.Q6J("href",e.url),t.xp6(1),t.hij(" ",e.soid," ")}}function I(a,o){if(1&a&&t.YNc(0,P,2,2,"cvc-link-tag",8),2&a){const e=t.oxw().ngIf;t.Q6J("ngIf","N/A"!=e.soid)}}function M(a,o){if(1&a&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,O,3,4,"ng-template",null,3,t.W1O),t.YNc(4,I,1,1,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),t._uU(8),t.qZA()()(),t.BQk()),2&a){const e=o.ngIf,i=t.MAs(3),r=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",i)("nzExtra",r),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(2),t.hij(" ",e.variantCount," ")}}let Z=(()=>{class a{constructor(e){this.gql=e}ngOnInit(){if(null==this.variantTypeId)throw new Error("cvc-variant-type-popover requires valid variantTypeId input.");this.variantType$=this.gql.watch({variantTypeId:this.variantTypeId}).valueChanges.pipe((0,C.U)(({data:e})=>e?.variantTypePopover),(0,u.h)(z.ep))}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(s.tw_))},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-variant-type-popover"]],inputs:{variantTypeId:"variantTypeId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2"],["nz-icon","","nzTheme","twotone","nzType","civic-varianttype",3,"nzTwotoneColor"],["tooltip","View on SequenceOntology.org",3,"href",4,"ngIf"],["tooltip","View on SequenceOntology.org",3,"href"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,M,9,4,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,i.variantType$)))},dependencies:[g.O5,l.Ls,m.bd,v.R7,v.uj,x.l,y.fM,h.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),a})();function A(a,o){}function Q(a,o){if(1&a&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,A,0,0,"ng-template",6),t.qZA(),t.BQk()),2&a){const e=t.oxw(),i=t.MAs(2);t.xp6(1),t.Q6J("routerLink",e.variantType.link),t.xp6(1),t.Q6J("ngTemplateOutlet",i)}}function N(a,o){}function Y(a,o){if(1&a&&t._UZ(0,"cvc-variant-type-popover",9),2&a){const e=t.oxw(2);t.Q6J("variantTypeId",e.variantType.id)}}function J(a,o){if(1&a&&(t.TgZ(0,"nz-tag",7),t.YNc(1,N,0,0,"ng-template",6),t.qZA(),t.YNc(2,Y,1,1,"ng-template",null,8,t.W1O)),2&a){const e=t.MAs(3),i=t.oxw(),r=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",e)("nzPopoverTrigger",i.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function V(a,o){}function w(a,o){if(1&a&&t.YNc(0,V,0,0,"ng-template",6),2&a){t.oxw();const e=t.MAs(2);t.Q6J("ngTemplateOutlet",e)}}function U(a,o){}function E(a,o){if(1&a&&(t.TgZ(0,"nz-tag"),t.YNc(1,U,0,0,"ng-template",6),t.qZA()),2&a){t.oxw();const e=t.MAs(8);t.xp6(1),t.Q6J("ngTemplateOutlet",e)}}function W(a,o){if(1&a&&(t._UZ(0,"i",10),t._uU(1)),2&a){const e=t.oxw();t.Q6J("nzTwotoneColor",e.iconColor),t.xp6(1),t.hij(" ",e.variantType.name,"\n")}}let L=(()=>{class a extends n.a{set variantType(e){if(!e)throw new Error("variant-type-tag variantType Input requires LinkableVariantType.");this._variantType=e}get variantType(){return this._variantType}idFunction(){return this.variantType.id}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,c.f)("VariantType")}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-variant-type-tag"]],inputs:{variantType:"variantType",linked:"linked",enablePopover:"enablePopover"},features:[t.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["noPopover",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["variantTypePopover",""],[3,"variantTypeId"],["nz-icon","","nzType","civic-varianttype","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(e,i){if(1&e&&(t.YNc(0,Q,3,2,"ng-container",0),t.YNc(1,J,4,4,"ng-template",null,1,t.W1O),t.YNc(3,w,1,1,"ng-template",null,2,t.W1O),t.YNc(5,E,2,1,"ng-template",null,3,t.W1O),t.YNc(7,W,2,2,"ng-template",null,4,t.W1O)),2&e){const r=t.MAs(4);t.Q6J("ngIf",i.linked)("ngIfElse",r)}},dependencies:[g.O5,g.tP,T.rH,l.Ls,f.j,_.lU,Z],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),a})()}}]); \ No newline at end of file diff --git a/server/public/1499.1bcb5b3f2a6a1e89.js b/server/public/1499.1bcb5b3f2a6a1e89.js deleted file mode 100644 index 7ebe49e2f..000000000 --- a/server/public/1499.1bcb5b3f2a6a1e89.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1499],{1499:(v,g,n)=>{n.r(g),n.d(g,{AssertionAddModule:()=>s});var h=n(6895),c=n(9116),t=n(4650),p=n(5655),f=n(1102),l=n(8992),m=n(160);class i{constructor(){}ngOnInit(){}}i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-assertion-add"]],decls:9,vars:3,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[1,"content"]],template:function(e,x){1&e&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title",2),t._UZ(3,"i",3),t.ALo(4,"entityColor"),t._uU(5," Submit New Assertion "),t.qZA(),t.TgZ(6,"nz-page-header-content")(7,"div",4),t._UZ(8,"router-outlet"),t.qZA()()()),2&e&&(t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(4,1,"Assertion")))},dependencies:[c.lC,p.$O,p.u9,p.u5,f.Ls,l.I,m.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var u=n(62);class a{}a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[h.ez,u.E]});var z=n(65);class d{constructor(){}ngOnInit(){}}d.\u0275fac=function(e){return new(e||d)},d.\u0275cmp=t.Xpm({type:d,selectors:[["cvc-assertion-submit"]],decls:1,vars:0,template:function(e,x){1&e&&t._UZ(0,"cvc-assertion-submit-form")},dependencies:[z.u],encapsulation:2});const y=[{path:"",component:i,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:d,data:{breadcrumb:"Submit New Assertion"}}]}];class r{}r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[c.Bz.forChild(y),a,c.Bz]});var b=n(5630),A=n(9444);class s{}s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[h.ez,r,p.KJ,f.PV,b.D,A.s]})}}]); \ No newline at end of file diff --git a/server/public/1597.ed80e16d49081efd.js b/server/public/1597.ed80e16d49081efd.js deleted file mode 100644 index b8a336bac..000000000 --- a/server/public/1597.ed80e16d49081efd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1597],{1597:(O,v,n)=>{n.r(v),n.d(v,{EvidenceAddModule:()=>z});var l=n(6895),y=n(9386),E=n(5630),P=n(9444),S=n(2635),c=n(3679),C=n(1102),p=n(5655),d=n(9116),x=n(4004),t=n(4650),A=n(9350),M=n(8616),_=n(8992),w=n(160);function T(s,i){1&s&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function I(s,i){1&s&&(t.TgZ(0,"nz-row",7)(1,"div",8),t._UZ(2,"cvc-login-prompt"),t.qZA()())}class m{constructor(i){this.viewerService=i}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,x.U)(i=>i.signedIn))}}m.\u0275fac=function(i){return new(i||m)(t.Y36(A.a))},m.\u0275cmp=t.Xpm({type:m,selectors:[["evidence-add"]],decls:12,vars:7,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(i,k){if(1&i&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title",2),t._UZ(3,"i",3),t.ALo(4,"entityColor"),t._uU(5," Add New Evidence "),t.qZA(),t.TgZ(6,"nz-page-header-content")(7,"div",4),t.YNc(8,T,2,0,"div",5),t.ALo(9,"ngrxPush"),t.YNc(10,I,3,0,"ng-template",null,6,t.W1O),t.qZA()()()),2&i){const F=t.MAs(11);t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(4,3,"EvidenceItem")),t.xp6(5),t.Q6J("ngIf",t.lcZ(9,5,k.isSignedIn$))("ngIfElse",F)}},dependencies:[l.O5,d.lC,c.t3,c.SK,C.Ls,p.$O,p.u9,p.u5,M.u,_.I,S.fM,w.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var D=n(6903),b=n(545),N=n(1971),o=n(6616),a=n(1243),e=n(4006),r=n(8521),f=n(8164);class h{}h.\u0275fac=function(i){return new(i||h)},h.\u0275mod=t.oAB({type:h}),h.\u0275inj=t.cJS({imports:[l.ez,e.u5,c.Jb,D.zf,N.vh,b.H0,f.Z,a.m,r.aF,c.Jb,C.PV,o.sL]});var B=n(634);class u{constructor(i){this.route=i,this.routeParams$=this.route.params.subscribe(k=>{this.evidenceId=+k.evidenceId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}u.\u0275fac=function(i){return new(i||u)(t.Y36(d.gz))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-evidence-submit"]],decls:1,vars:0,template:function(i,k){1&i&&t._UZ(0,"cvc-evidence-submit-form")},dependencies:[B.l],encapsulation:2});const L=[{path:"",component:m,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:u,data:{breadcrumb:"Submit New Evidence"}}]}];class g{}g.\u0275fac=function(i){return new(i||g)},g.\u0275mod=t.oAB({type:g}),g.\u0275inj=t.cJS({imports:[d.Bz.forChild(L),h,d.Bz]});class z{}z.\u0275fac=function(i){return new(i||z)},z.\u0275mod=t.oAB({type:z}),z.\u0275inj=t.cJS({imports:[l.ez,S._N,S.pP,g,c.Jb,C.PV,p.KJ,y.a,E.D,P.s]})},545:(O,v,n)=>{n.d(v,{H0:()=>N});var l=n(4650),y=n(6895),E=n(445);let N=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=l.oAB({type:o}),o.\u0275inj=l.cJS({imports:[E.vT,y.ez]}),o})()}}]); \ No newline at end of file diff --git a/server/public/1655.9618a309d2f34214.js b/server/public/1655.9618a309d2f34214.js deleted file mode 100644 index edb939a4a..000000000 --- a/server/public/1655.9618a309d2f34214.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1655],{112:(L,y,o)=>{o.d(y,{u:()=>V});var _=o(9771),n=o(4650),t=o(6895),p=o(9116),I=o(6581),v=o(6672),f=o(1102),u=o(3240),T=o(4004),A=o(9300),M=o(7630),E=o(1971),C=o(9194),P=o(783),O=o(5457),h=o(6715),G=o(2635),D=o(160);function N(e,r){if(1&e&&(n._UZ(0,"i",7),n.ALo(1,"entityColor"),n._uU(2)),2&e){const c=n.oxw().ngIf;n.Q6J("nzTwotoneColor",n.lcZ(1,2,"VariantGroup")),n.xp6(2),n.hij(" ",c.name," ")}}function m(e,r){if(1&e&&n._UZ(0,"cvc-variant-tag",10),2&e){const c=r.$implicit;n.Q6J("enablePopover",!1)("variant",c.node)}}function d(e,r){if(1&e&&(n.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),n.YNc(2,m,1,2,"cvc-variant-tag",9),n.qZA()()),2&e){const c=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",c.variants.edges)}}function l(e,r){if(1&e&&n._UZ(0,"cvc-source-tag",13),2&e){const c=r.$implicit;n.Q6J("enablePopover",!1)("source",c)}}function S(e,r){if(1&e&&(n.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),n.YNc(2,l,1,2,"cvc-source-tag",12),n.qZA()()),2&e){const c=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",c.sources)}}function U(e,r){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,N,3,4,"ng-template",null,3,n.W1O),n._uU(4),n.TgZ(5,"nz-descriptions",4),n.YNc(6,d,3,1,"nz-descriptions-item",5),n.YNc(7,S,3,1,"nz-descriptions-item",6),n.qZA()(),n.BQk()),2&e){const c=r.ngIf,x=n.MAs(3);n.xp6(1),n.Q6J("nzTitle",x),n.xp6(3),n.hij(" ",c.description," "),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",c.variants.edges.length>0),n.xp6(1),n.Q6J("ngIf",c.sources.length>0)}}class a{constructor(r){this.gql=r}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,T.U)(({data:r})=>r?.variantGroup),(0,A.h)(u.ep))}}a.\u0275fac=function(r){return new(r||a)(n.Y36(M.Zo2))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(r,c){1&r&&(n.TgZ(0,"div",0),n.YNc(1,U,8,5,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&r&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,c.variantGroup$)))},dependencies:[t.sg,t.O5,E.bd,C.R7,C.uj,f.Ls,P.T,O.I,h.$,G.fM,D.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var g=o(1730);function i(e,r){}function s(e,r){if(1&e&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,i,0,0,"ng-template",5),n.qZA(),n.BQk()),2&e){const c=n.oxw(),x=n.MAs(2);n.xp6(1),n.Q6J("routerLink",c.variantgroup.link),n.xp6(1),n.Q6J("ngTemplateOutlet",x)}}function z(e,r){}function Z(e,r){if(1&e&&n._UZ(0,"cvc-variant-group-popover",9),2&e){const c=n.oxw(3);n.Q6J("variantGroupId",c.variantgroup.id)}}function w(e,r){if(1&e&&n.YNc(0,Z,1,1,"cvc-variant-group-popover",8),2&e){const c=n.oxw(2);n.Q6J("ngIf",c.enablePopover)}}function J(e,r){if(1&e&&(n.TgZ(0,"nz-tag",6),n.YNc(1,z,0,0,"ng-template",5),n.qZA(),n.YNc(2,w,1,1,"ng-template",null,7,n.W1O)),2&e){const c=n.MAs(3),x=n.oxw(),F=n.MAs(6);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",c)("nzPopoverTrigger",x.enablePopover?"hover":null),n.xp6(1),n.Q6J("ngTemplateOutlet",F)}}function Q(e,r){}function B(e,r){if(1&e&&n.YNc(0,Q,0,0,"ng-template",5),2&e){n.oxw();const c=n.MAs(2);n.Q6J("ngTemplateOutlet",c)}}function Y(e,r){if(1&e&&(n.TgZ(0,"cvc-icon-badges",10),n._UZ(1,"i",11),n.ALo(2,"entityColor"),n.qZA(),n._uU(3)),2&e){const c=n.oxw();n.Q6J("flagged",c.variantgroup.flagged)("entityColor",c.iconColor),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,4,"VariantGroup")),n.xp6(2),n.hij(" ",c.variantgroup.name,"\n")}}class V{set variantgroup(r){if(!r)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=r}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,_.f)("VariantGroup")}}V.\u0275fac=function(r){return new(r||V)},V.\u0275cmp=n.Xpm({type:V,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(r,c){if(1&r&&(n.YNc(0,s,3,2,"ng-container",0),n.YNc(1,J,4,4,"ng-template",null,1,n.W1O),n.YNc(3,B,1,1,"ng-template",null,2,n.W1O),n.YNc(5,Y,4,6,"ng-template",null,3,n.W1O)),2&r){const x=n.MAs(4);n.Q6J("ngIf",c.linked)("ngIfElse",x)}},dependencies:[t.O5,t.tP,p.rH,I.lU,v.j,f.Ls,a,g.b,D.a],encapsulation:2,changeDetection:0})},6461:(L,y,o)=>{o.r(y),o.d(y,{CurationActivityModule:()=>m});var _=o(6895),n=o(9116),t=o(7630),p=o(4650),I=o(2011);class v{constructor(){this.feedMode=t.wJ2.Unscoped}ngOnInit(){}}v.\u0275fac=function(l){return new(l||v)},v.\u0275cmp=p.Xpm({type:v,selectors:[["cvc-curation-activity-timeline"]],decls:1,vars:4,consts:[[3,"showFilters","mode","pageSize","includeAutomatedEvents"]],template:function(l,S){1&l&&p._UZ(0,"cvc-event-feed",0),2&l&&p.Q6J("showFilters",!0)("mode",S.feedMode)("pageSize",17)("includeAutomatedEvents",!1)},dependencies:[I.o],encapsulation:2});const f=[{path:"",redirectTo:"curation-timeline",pathMatch:"full"},{path:"curation-timeline",component:v,data:{breadcrumb:"Timeline"}}];class u{}u.\u0275fac=function(l){return new(l||u)},u.\u0275mod=p.oAB({type:u}),u.\u0275inj=p.cJS({imports:[n.Bz.forChild(f),n.Bz]});var T=o(5630),A=o(5655),M=o(8762),E=o(1102),C=o(3679),P=o(1971),O=o(5291);class h{}h.\u0275fac=function(l){return new(l||h)},h.\u0275mod=p.oAB({type:h}),h.\u0275inj=p.cJS({imports:[_.ez,C.Jb,P.vh,O.t]});var G=o(6903),D=o(8823),N=o(9444);class m{}m.\u0275fac=function(l){return new(l||m)},m.\u0275mod=p.oAB({type:m}),m.\u0275inj=p.cJS({imports:[_.ez,u,h,A.KJ,E.PV,G.zf,D.ZJ,C.Jb,N.s,T.D,M.c]})},1243:(L,y,o)=>{o.d(y,{i:()=>S,m:()=>U});var _=o(655),n=o(9521),t=o(4650),p=o(4006),I=o(7579),v=o(4968),f=o(2722),u=o(2536),T=o(3187),A=o(2687),M=o(445),E=o(6895),C=o(1664),P=o(1102),O=o(6287);const h=["switchElement"];function G(a,g){1&a&&t._UZ(0,"span",8)}function D(a,g){if(1&a&&(t.ynx(0),t._uU(1),t.BQk()),2&a){const i=t.oxw(2);t.xp6(1),t.Oqu(i.nzCheckedChildren)}}function N(a,g){if(1&a&&(t.ynx(0),t.YNc(1,D,2,1,"ng-container",9),t.BQk()),2&a){const i=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",i.nzCheckedChildren)}}function m(a,g){if(1&a&&(t.ynx(0),t._uU(1),t.BQk()),2&a){const i=t.oxw(2);t.xp6(1),t.Oqu(i.nzUnCheckedChildren)}}function d(a,g){if(1&a&&t.YNc(0,m,2,1,"ng-container",9),2&a){const i=t.oxw();t.Q6J("nzStringTemplateOutlet",i.nzUnCheckedChildren)}}let S=(()=>{class a{constructor(i,s,z,Z,w,J){this.nzConfigService=i,this.host=s,this.ngZone=z,this.cdr=Z,this.focusMonitor=w,this.directionality=J,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new I.x,this.isNzDisableFirstChange=!0}updateValue(i){this.isChecked!==i&&(this.isChecked=i,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,f.R)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,v.R)(this.host.nativeElement,"click").pipe((0,f.R)(this.destroy$)).subscribe(i=>{i.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,v.R)(this.switchElement.nativeElement,"keydown").pipe((0,f.R)(this.destroy$)).subscribe(i=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:s}=i;s!==n.oh&&s!==n.SV&&s!==n.L_&&s!==n.K5||(i.preventDefault(),this.ngZone.run(()=>{s===n.oh?this.updateValue(!1):s===n.SV?this.updateValue(!0):(s===n.L_||s===n.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,f.R)(this.destroy$)).subscribe(i=>{i||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(i){this.isChecked=i,this.cdr.markForCheck()}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||i,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return a.\u0275fac=function(i){return new(i||a)(t.Y36(u.jY),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(A.tE),t.Y36(M.Is,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["nz-switch"]],viewQuery:function(i,s){if(1&i&&t.Gf(h,7),2&i){let z;t.iGM(z=t.CRH())&&(s.switchElement=z.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[t._Bn([{provide:p.JU,useExisting:(0,t.Gpc)(()=>a),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(i,s){if(1&i&&(t.TgZ(0,"button",0,1)(2,"span",2),t.YNc(3,G,1,0,"span",3),t.qZA(),t.TgZ(4,"span",4),t.YNc(5,N,2,1,"ng-container",5),t.YNc(6,d,1,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(8,"div",7),t.qZA()),2&i){const z=t.MAs(7);t.ekj("ant-switch-checked",s.isChecked)("ant-switch-loading",s.nzLoading)("ant-switch-disabled",s.nzDisabled)("ant-switch-small","small"===s.nzSize)("ant-switch-rtl","rtl"===s.dir),t.Q6J("disabled",s.nzDisabled)("nzWaveExtraNode",!0),t.uIk("id",s.nzId),t.xp6(3),t.Q6J("ngIf",s.nzLoading),t.xp6(2),t.Q6J("ngIf",s.isChecked)("ngIfElse",z)}},dependencies:[E.O5,C.dQ,P.Ls,O.f],encapsulation:2,changeDetection:0}),(0,_.gn)([(0,T.yF)()],a.prototype,"nzLoading",void 0),(0,_.gn)([(0,T.yF)()],a.prototype,"nzDisabled",void 0),(0,_.gn)([(0,T.yF)()],a.prototype,"nzControl",void 0),(0,_.gn)([(0,u.oS)()],a.prototype,"nzSize",void 0),a})(),U=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[M.vT,E.ez,C.vG,P.PV,O.T]}),a})()}}]); \ No newline at end of file diff --git a/server/public/1703.fe74deedd51f66ab.js b/server/public/1703.fe74deedd51f66ab.js new file mode 100644 index 000000000..cc3cf5b46 --- /dev/null +++ b/server/public/1703.fe74deedd51f66ab.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1703],{5959:(W,V,e)=>{e.d(V,{u:()=>R});var d=e(2023),n=e(5879),t=e(6814),b=e(4190),M=e(7417),y=e(5695),Z=e(551),A=e(5676),z=e(7398),P=e(2181),C=e(313),h=e(2962),T=e(8125),S=e(4138),I=e(9408),g=e(1887),x=e(8091),f=e(2616);function J(i,c){if(1&i&&(n._UZ(0,"i",7),n.ALo(1,"entityColor"),n._uU(2)),2&i){const l=n.oxw().ngIf;n.Q6J("nzTwotoneColor",n.lcZ(1,2,"VariantGroup")),n.xp6(2),n.hij(" ",l.name," ")}}function Q(i,c){if(1&i&&n._UZ(0,"cvc-variant-tag",10),2&i){const l=c.$implicit;n.Q6J("enablePopover",!1)("variant",l.node)}}function w(i,c){if(1&i&&(n.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),n.YNc(2,Q,1,2,"cvc-variant-tag",9),n.qZA()()),2&i){const l=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",l.variants.edges)}}function H(i,c){if(1&i&&n._UZ(0,"cvc-source-tag",13),2&i){const l=c.$implicit;n.Q6J("enablePopover",!1)("source",l)}}function O(i,c){if(1&i&&(n.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),n.YNc(2,H,1,2,"cvc-source-tag",12),n.qZA()()),2&i){const l=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",l.sources)}}function N(i,c){if(1&i&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,J,3,4,"ng-template",null,3,n.W1O),n._uU(4),n.TgZ(5,"nz-descriptions",4),n.YNc(6,w,3,1,"nz-descriptions-item",5),n.YNc(7,O,3,1,"nz-descriptions-item",6),n.qZA()(),n.BQk()),2&i){const l=c.ngIf,u=n.MAs(3);n.xp6(1),n.Q6J("nzTitle",u),n.xp6(3),n.hij(" ",l.description," "),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",l.variants.edges.length>0),n.xp6(1),n.Q6J("ngIf",l.sources.length>0)}}let L=(()=>{class i{constructor(l){this.gql=l}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,z.U)(({data:l})=>l?.variantGroup),(0,P.h)(A.ep))}}return i.\u0275fac=function(l){return new(l||i)(n.Y36(C.Zo2))},i.\u0275cmp=n.Xpm({type:i,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(l,u){1&l&&(n.TgZ(0,"div",0),n.YNc(1,N,8,5,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&l&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,u.variantGroup$)))},dependencies:[t.sg,t.O5,h.bd,T.R7,T.uj,Z.Ls,S.T,I.I,g.$,x.fM,f.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),i})();var B=e(3103);function G(i,c){}function _(i,c){if(1&i&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,G,0,0,"ng-template",5),n.qZA(),n.BQk()),2&i){const l=n.oxw(),u=n.MAs(2);n.xp6(1),n.Q6J("routerLink",l.variantgroup.link),n.xp6(1),n.Q6J("ngTemplateOutlet",u)}}function U(i,c){}function v(i,c){if(1&i&&n._UZ(0,"cvc-variant-group-popover",9),2&i){const l=n.oxw(3);n.Q6J("variantGroupId",l.variantgroup.id)}}function F(i,c){if(1&i&&n.YNc(0,v,1,1,"cvc-variant-group-popover",8),2&i){const l=n.oxw(2);n.Q6J("ngIf",l.enablePopover)}}function Y(i,c){if(1&i&&(n.TgZ(0,"nz-tag",6),n.YNc(1,U,0,0,"ng-template",5),n.qZA(),n.YNc(2,F,1,1,"ng-template",null,7,n.W1O)),2&i){const l=n.MAs(3),u=n.oxw(),$=n.MAs(6);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",l)("nzPopoverTrigger",u.enablePopover?"hover":null),n.xp6(1),n.Q6J("ngTemplateOutlet",$)}}function E(i,c){}function j(i,c){if(1&i&&n.YNc(0,E,0,0,"ng-template",5),2&i){n.oxw();const l=n.MAs(2);n.Q6J("ngTemplateOutlet",l)}}function D(i,c){if(1&i&&(n.TgZ(0,"cvc-icon-badges",10),n._UZ(1,"i",11),n.ALo(2,"entityColor"),n.qZA(),n._uU(3)),2&i){const l=n.oxw();n.Q6J("flagged",l.variantgroup.flagged)("entityColor",l.iconColor),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,4,"VariantGroup")),n.xp6(2),n.hij(" ",l.variantgroup.name,"\n")}}let R=(()=>{class i{set variantgroup(l){if(!l)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=l}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,d.f)("VariantGroup")}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=n.Xpm({type:i,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(l,u){if(1&l&&(n.YNc(0,_,3,2,"ng-container",0),n.YNc(1,Y,4,4,"ng-template",null,1,n.W1O),n.YNc(3,j,1,1,"ng-template",null,2,n.W1O),n.YNc(5,D,4,6,"ng-template",null,3,n.W1O)),2&l){const $=n.MAs(4);n.Q6J("ngIf",u.linked)("ngIfElse",$)}},dependencies:[t.O5,t.tP,b.rH,M.lU,y.j,Z.Ls,L,B.b,f.a],encapsulation:2,changeDetection:0}),i})()},3641:(W,V,e)=>{e.d(V,{G:()=>I});var d=e(6814),n=e(4190),t=e(7417),b=e(5695),M=e(551),y=e(366),Z=e(8641),A=e(7528),z=e(2524),P=e(2962),C=e(8125),h=e(5879);let T=(()=>{class g{}return g.\u0275fac=function(f){return new(f||g)},g.\u0275mod=h.oAB({type:g}),g.\u0275inj=h.cJS({imports:[d.ez,P.vh,C.q6,M.PV,Z.s,A.Q,y.$,z.s]}),g})();var S=e(3146);let I=(()=>{class g{}return g.\u0275fac=function(f){return new(f||g)},g.\u0275mod=h.oAB({type:g}),g.\u0275inj=h.cJS({imports:[d.ez,n.Bz,t.$6,b.X,M.PV,T,z.s,S.C]}),g})()},1703:(W,V,e)=>{e.r(V),e.d(V,{VariantGroupsModule:()=>$t});var u,d=e(6814),n=e(4190),t=e(5879),b=e(951),M=e(8091),y=e(2840),Z=e(855),A=e(1958),z=e(95),P=e(6254),C=e(551),h=e(2392),T=e(2574),S=e(655),I=e(4632),g=e(313),x=e(5619),f=e(8645),J=e(5676),Q=e(3997),w=e(812),H=e(836),O=e(2181),N=e(7398),L=e(3620),B=e(2460),G=e(4223),_=e(1791),U=e(2962),v=e(3740),F=e(5695),Y=e(6109),E=e(6753),j=e(4764),D=e(8516),R=e(3489),i=e(9857),c=e(4997),l=e(5959);function $(o,r){}function k(o,r){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,$,0,0,"ng-template",6),t.qZA(),t.BQk()),2&o){t.oxw();const a=t.MAs(6),s=t.MAs(8),p=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",a)("nzExtra",s),t.xp6(1),t.Q6J("ngTemplateOutlet",p)}}function tt(o,r){}const nt=function(o){return{height:o}};function et(o,r){if(1&o&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,tt,0,0,"ng-template",6),t.qZA()()),2&o){const a=t.oxw(),s=t.MAs(6),p=t.MAs(8),m=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,nt,a.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",s)("nzExtra",p),t.xp6(1),t.Q6J("ngTemplateOutlet",m)}}function ot(o,r){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const a=r.$implicit,s=r.last;t.xp6(1),t.AsE(" ",a,"",s?"":", "," ")}}function at(o,r){if(1&o&&t.YNc(0,ot,2,2,"ng-container",29),2&o){const a=t.oxw().$implicit;t.Q6J("ngForOf",a.variantNames)}}function rt(o,r){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const a=r.$implicit,s=r.last;t.xp6(1),t.AsE(" ",a,"",s?"":", "," ")}}function it(o,r){if(1&o&&(t.TgZ(0,"tr",25)(1,"td",21),t._UZ(2,"cvc-variant-group-tag",26),t.qZA(),t.TgZ(3,"td",27),t.YNc(4,at,1,1,"ng-template",null,28,t.W1O),t.GkF(6,6),t.qZA(),t.TgZ(7,"td"),t.YNc(8,rt,2,2,"span",29),t.qZA(),t.TgZ(9,"td",30),t._uU(10),t.qZA(),t.TgZ(11,"td",30),t._uU(12),t.qZA()()),2&o){const a=r.$implicit,s=t.MAs(5),p=t.oxw(2);t.xp6(2),t.Q6J("variantgroup",a),t.xp6(1),t.Q6J("nzTooltipTitle",p.isScrolling?"":s),t.xp6(3),t.Q6J("ngTemplateOutlet",s),t.xp6(2),t.Q6J("ngForOf",a.geneNames),t.xp6(2),t.hij(" ",a.variantCount," "),t.xp6(2),t.hij(" ",a.evidenceItemCount," ")}}const lt=function(){return[]},ct=function(){return{x:"680px",y:"800px"}},X=function(){return["descend","ascend",null]};function pt(o,r){if(1&o){const a=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(p){t.CHM(a);const m=t.oxw();return t.KtG(m.scrollEvent$.next(p))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(p){t.CHM(a);const m=t.oxw();return t.KtG(m.sortChange$.next(p))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11,"Variants"),t.qZA(),t.TgZ(12,"th",15),t._uU(13,"Genes"),t.qZA(),t.TgZ(14,"th",16),t._UZ(15,"i",17),t._uU(16," Count "),t.qZA(),t.TgZ(17,"th",18),t._UZ(18,"i",19),t._uU(19," Count "),t.qZA()(),t.TgZ(20,"tr",20)(21,"th",21)(22,"cvc-clearable-input-filter",22),t.NdJ("inputModelChange",function(p){t.CHM(a);const m=t.oxw();return t.KtG(m.nameInput=p)})("inputModelChange",function(){t.CHM(a);const p=t.oxw();return t.KtG(p.filterChange$.next())}),t.qZA()(),t.TgZ(23,"th")(24,"cvc-clearable-input-filter",22),t.NdJ("inputModelChange",function(p){t.CHM(a);const m=t.oxw();return t.KtG(m.variantNameInput=p)})("inputModelChange",function(){t.CHM(a);const p=t.oxw();return t.KtG(p.filterChange$.next())}),t.qZA()(),t.TgZ(25,"th")(26,"cvc-clearable-input-filter",22),t.NdJ("inputModelChange",function(p){t.CHM(a);const m=t.oxw();return t.KtG(m.geneNameInput=p)})("inputModelChange",function(){t.CHM(a);const p=t.oxw();return t.KtG(p.filterChange$.next())}),t.qZA()(),t._UZ(27,"th",23)(28,"th",23),t.qZA()(),t.TgZ(29,"tbody"),t.YNc(30,it,13,6,"ng-template",24),t.qZA()()}if(2&o){const a=t.oxw();t.Q6J("nzData",t.lcZ(2,22,a.row$)||t.DdM(30,lt))("nzLoading",!t.lcZ(3,24,a.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",a.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,26,a.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,28,a.scrollIndex$))("nzVirtualForTrackBy",a.trackByIndex)("nzScroll",t.DdM(31,ct))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",a.sortColumns.Name)("nzSortFn",!0),t.xp6(6),t.Q6J("nzColumnKey",a.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(32,X)),t.xp6(3),t.Q6J("nzColumnKey",a.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(33,X)),t.xp6(5),t.Q6J("inputModel",a.nameInput),t.xp6(2),t.Q6J("inputModel",a.variantNameInput),t.xp6(2),t.Q6J("inputModel",a.geneNameInput)}}function st(o,r){}function gt(o,r){if(1&o&&(t.ynx(0),t.YNc(1,st,0,0,"ng-template",6),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function ut(o,r){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.hij(" ",a.cvcTitle," ")}}function dt(o,r){if(1&o&&(t.YNc(0,gt,2,1,"ng-container",31),t.YNc(1,ut,2,1,"ng-container",31),t.TgZ(2,"span",32),t._UZ(3,"cvc-table-counts",33),t.qZA()),2&o){const a=t.oxw();t.Q6J("ngIf",a.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",a.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",a.connection$)}}function vt(o,r){1&o&&(t.TgZ(0,"nz-tag",36),t._UZ(1,"i",37),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function mt(o,r){if(1&o&&(t.YNc(0,vt,4,0,"nz-tag",34),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",35),t.ALo(3,"ngrxPush")),2&o){const a=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,a.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,a.noMoreRows$))}}let K=((u=class{set initialUserFilters(r){r&&Object.assign(this,r)}constructor(r,a){this.gql=r,this.cdr=a,this.initialPageSize=30,this.isScrolling=!1,this.sortColumns=g.FB1,this.noMoreRows$=new x.X(!1),this.scrollEvent$=new x.X("stop"),this.sortChange$=new f.x,this.filterChange$=new f.x,this.scrollIndex$=new f.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,G.j)("loading"),(0,Q.x)(),(0,w.o)(r=>!1!==r,!0)),this.moreLoading$=this.result$.pipe((0,G.j)("loading"),(0,Q.x)(),(0,H.T)(2)),this.connection$=this.result$.pipe((0,G.j)("data","browseVariantGroups"),(0,O.h)(J.ep)),this.row$=this.connection$.pipe((0,G.j)("edges"),(0,O.h)(J.ep),(0,N.U)(r=>r.map(a=>a.node))),this.pageInfo$=this.connection$.pipe((0,G.j)("pageInfo"),(0,O.h)(J.ep)),this.sortChange$.pipe((0,_.t)(this)).subscribe(r=>{this.queryRef.refetch({sortBy:(0,I._)(r)})}),this.filterChange$.pipe((0,L.b)(500),(0,_.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,N.U)(r=>"stop"!==r),(0,Q.x)(),(0,_.t)(this)).subscribe(r=>{this.isScrolling=r,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,O.h)(r=>"bottom"===r),(0,B.M)(this.pageInfo$),(0,N.U)(([r,a])=>a),(0,_.t)(this)).subscribe(r=>{r.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameInput,geneNames:this.geneNameInput,variantNames:this.variantNameInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(r,a){return a?.id}}).\u0275fac=function(r){return new(r||u)(t.Y36(g.qf4),t.Y36(t.sBO))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-variant-groups-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","250px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","600px"],["nzWidth","150px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"variantgroup"],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],["variantNames",""],[4,"ngFor","ngForOf"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","k","","nzType","sync","nzSpin",""]],template:function(r,a){if(1&r&&(t.YNc(0,k,3,3,"ng-container",0),t.YNc(1,et,3,6,"ng-template",null,1,t.W1O),t.YNc(3,pt,31,34,"ng-template",null,2,t.W1O),t.YNc(5,dt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,mt,4,6,"ng-template",null,4,t.W1O)),2&r){const s=t.MAs(2);t.Q6J("ngIf",!a.cvcHeight)("ngIfElse",s)}},dependencies:[d.sg,d.O5,d.tP,d.PC,U.bd,C.Ls,v.N8,v.qD,v.Uo,v._C,v.Om,v.p0,v.$Z,v.zu,v.qn,v.UX,F.j,Y.SY,E.D,j.q,D.p,R.H,i.B,c.y,l.u,M.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"],changeDetection:0}),u);K=(0,S.gn)([(0,_.c)()],K);var ht=e(3145),ft=e(2616);function Ct(o,r){1&o&&(t.TgZ(0,"button",18),t._UZ(1,"i",19),t._uU(2," Submit New Variant Group "),t.qZA())}function zt(o,r){if(1&o&&(t.ynx(0),t.YNc(1,Ct,3,0,"button",17),t.BQk()),2&o){const a=r.ngrxLet;t.xp6(1),t.Q6J("ngIf",a.signedIn)}}function Tt(o,r){if(1&o&&t.YNc(0,zt,2,1,"ng-container",16),2&o){const a=t.oxw();t.Q6J("ngrxLet",a.viewer$)}}function xt(o,r){1&o&&(t.TgZ(0,"a",20),t._UZ(1,"i",21),t._uU(2," View Variant Group Model Docs "),t.qZA())}function Mt(o,r){1&o&&(t.TgZ(0,"a",22),t._UZ(1,"i",21),t._uU(2," View Variant Group Curation Docs "),t.qZA())}const Pt=[{path:"",component:(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-variant-groups"]],decls:1,vars:0,template:function(a,s){1&a&&t._UZ(0,"router-outlet")},dependencies:[n.lC],encapsulation:2}),o})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class o{constructor(a){this.viewerService=a,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return o.\u0275fac=function(a){return new(a||o)(t.Y36(b.a))},o.\u0275cmp=t.Xpm({type:o,selectors:[["variant-groups-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["vargroupActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html#curating-variant-groups","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variant Groups"],[4,"ngrxLet"],["routerLink","/variant-groups/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/variant-groups/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html#curating-variant-groups","target","_blank","nzSize","small","nzBlock",""]],template:function(a,s){if(1&a&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,Tt,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Variant Groups"),t.qZA(),t.TgZ(12,"p",7),t._uU(13," Variant Groups provide user-defined grouping of Variants within and between genes based on unifying characteristics. "),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,xt,3,0,"a",10),t.YNc(17,Mt,3,0,"a",11),t.qZA()()(),t.TgZ(18,"div",12)(19,"div",13)(20,"div",14),t._UZ(21,"cvc-variant-groups-table",15),t.qZA()()()()()),2&a){const p=t.MAs(2);t.Q6J("actionsTpl",p),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"VariantGroup")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24)}},dependencies:[d.O5,n.rH,M.eJ,y.ix,Z.w,A.dQ,z.t3,z.SK,P.$O,P.u5,C.Ls,h.ZU,T.NU,T.$1,K,ht.I,ft.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})(),data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>Promise.all([e.e(8592),e.e(1754)]).then(e.bind(e,1754)).then(o=>o.VariantGroupsAddModule),data:{breadcrumb:"Add"}},{path:":variantGroupId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([e.e(4872),e.e(5556),e.e(2602),e.e(3270),e.e(7856),e.e(1364),e.e(8245),e.e(4503),e.e(8104),e.e(10),e.e(5683),e.e(5484)]).then(e.bind(e,7093)).then(o=>o.VariantGroupsDetailModule)},{path:"revise",loadChildren:()=>Promise.all([e.e(8592),e.e(1150)]).then(e.bind(e,1150)).then(o=>o.VariantGroupsReviseModule),data:{breadcrumb:"Revise"}}]}]}];let Gt=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[n.Bz.forChild(Pt),n.Bz]}),o})();var _t=e(6223),Vt=e(7856),yt=e(9154),Zt=e(2989),Ot=e(7528),q=e(2524),bt=e(9175),At=e(4742),St=e(9312),It=e(3641);let Jt=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[d.ez,_t.u5,U.vh,C.PV,C.PV,v.HQ,F.X,Y.cg,h.ZJ,bt.n,At.c,Vt.k,yt.y,q.s,Zt.T,St.w,It.G,Ot.Q]}),o})();var Qt=e(2419);let Nt=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[d.ez,n.Bz,y.sL,z.Jb,P.KJ,C.PV,h.ZJ,T.zf,q.s,Jt,Qt.D]}),o})(),$t=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[d.ez,Gt,Nt]}),o})()}}]); \ No newline at end of file diff --git a/server/public/1711.eea54ad8a7529740.js b/server/public/1711.eea54ad8a7529740.js deleted file mode 100644 index 65452f059..000000000 --- a/server/public/1711.eea54ad8a7529740.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1711],{5749:(q,N,e)=>{e.d(N,{m:()=>R});var n=e(4650),o=e(6895),t=e(9116),T=e(6672),P=e(1102),Z=e(6581),I=e(3240),M=e(4004),E=e(9300),Q=e(7630),k=e(1971),Y=e(3679),L=e(9194),J=e(6550),G=e(7881),w=e(2635);const C=function(p,m){return{displayName:p,profileImagePath:m}};function x(p,m){if(1&p&&(n._UZ(0,"cvc-user-avatar",12),n.TgZ(1,"span",13),n._uU(2),n.qZA()),2&p){const c=n.oxw().ngIf;n.Q6J("user",n.WLB(2,C,c.name,c.profileImagePath)),n.xp6(2),n.Oqu(c.name)}}function h(p,m){if(1&p&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&p){const c=m.ngIf;n.xp6(1),n.Oqu(c)}}function O(p,m){if(1&p&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",14),n._uU(2),n.qZA(),n.BQk()),2&p){const c=n.oxw().ngIf;n.xp6(1),n.Q6J("href",c.url),n.xp6(1),n.hij(" ",c.name," ")}}function y(p,m){if(1&p&&(n.ynx(0),n.TgZ(1,"nz-card",4),n.YNc(2,x,3,5,"ng-template",null,5,n.W1O),n.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),n.YNc(8,h,2,1,"span",9),n.qZA()()()(),n.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),n.YNc(11,O,3,2,"ng-container",9),n.qZA()()(),n.BQk()),2&p){const c=m.ngIf,g=n.MAs(3);n.oxw();const d=n.MAs(4),b=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",g),n.xp6(7),n.Q6J("ngIf",c.description)("ngIfElse",d),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",c.url)("ngIfElse",b)}}function u(p,m){1&p&&n._uU(0," Organization has not provided a description.\n")}function f(p,m){1&p&&n._uU(0," -- ")}class l{constructor(m){this.gql=m}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,M.U)(({data:m})=>m?.organization),(0,E.h)(I.ep))}}function z(p,m){}function U(p,m){if(1&p&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,z,0,0,"ng-template",5),n.qZA(),n.BQk()),2&p){const c=n.oxw(),g=n.MAs(2);n.xp6(1),n.MGl("routerLink","/organizations/",c.org.id,""),n.xp6(1),n.Q6J("ngTemplateOutlet",g)}}function A(p,m){}function B(p,m){if(1&p&&n._UZ(0,"cvc-organization-popover",9),2&p){const c=n.oxw(3);n.Q6J("orgId",c.org.id)}}function V(p,m){if(1&p&&n.YNc(0,B,1,1,"cvc-organization-popover",8),2&p){const c=n.oxw(2);n.Q6J("ngIf",c.enablePopover)}}function W(p,m){if(1&p&&(n.TgZ(0,"nz-tag",6),n.YNc(1,A,0,0,"ng-template",5),n.qZA(),n.YNc(2,V,1,1,"ng-template",null,7,n.W1O)),2&p){const c=n.MAs(3);n.oxw();const g=n.MAs(6);n.Q6J("nzPopoverContent",c),n.xp6(1),n.Q6J("ngTemplateOutlet",g)}}function H(p,m){}function $(p,m){if(1&p&&n.YNc(0,H,0,0,"ng-template",5),2&p){n.oxw();const c=n.MAs(2);n.Q6J("ngTemplateOutlet",c)}}function K(p,m){if(1&p&&(n._UZ(0,"i",10),n._uU(1)),2&p){const c=n.oxw();n.xp6(1),n.hij(" ",c.org.name,"\n")}}l.\u0275fac=function(m){return new(m||l)(n.Y36(Q.X5f))},l.\u0275cmp=n.Xpm({type:l,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(m,c){1&m&&(n.TgZ(0,"div",0),n.YNc(1,y,12,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,u,1,0,"ng-template",null,2,n.W1O),n.YNc(5,f,1,0,"ng-template",null,3,n.W1O)),2&m&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,c.org$)))},dependencies:[o.O5,k.bd,Y.t3,Y.SK,L.R7,L.uj,J.l,G.L,w.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});class R{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}R.\u0275fac=function(m){return new(m||R)},R.\u0275cmp=n.Xpm({type:R,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(m,c){if(1&m&&(n.YNc(0,U,3,2,"ng-container",0),n.YNc(1,W,4,2,"ng-template",null,1,n.W1O),n.YNc(3,$,1,1,"ng-template",null,2,n.W1O),n.YNc(5,K,2,1,"ng-template",null,3,n.W1O)),2&m){const g=n.MAs(4);n.Q6J("ngIf",c.linked)("ngIfElse",g)}},dependencies:[o.O5,o.tP,t.rH,T.j,P.Ls,Z.lU,l],styles:["[_nghost-%COMP%]{display:inline-block}"]})},3579:(q,N,e)=>{e.d(N,{p:()=>X});var n=e(4650),o=e(6895),t=e(9116),T=e(4004),P=e(9300),Z=e(3240),I=e(7630),M=e(1971),E=e(1102),Q=e(6903),k=e(9194),Y=e(3965),L=e(125),J=e(2826),G=e(2268),w=e(5457),C=e(112),x=e(4590),h=e(2635),O=e(160),y=e(5083);function u(s,_){if(1&s&&(n.TgZ(0,"span"),n._UZ(1,"i",14),n.ALo(2,"entityColor"),n._uU(3),n.qZA()),2&s){const v=n.oxw(2).ngIf;n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,2,"Revision")),n.xp6(2),n.hij(" RID",v.id," ")}}function f(s,_){if(1&s&&n._UZ(0,"cvc-status-tag",15),2&s){const v=n.oxw(2).ngIf;n.Q6J("status",v.status)}}function l(s,_){1&s&&(n.TgZ(0,"nz-space",11),n.YNc(1,u,4,4,"span",12),n.YNc(2,f,1,1,"cvc-status-tag",13),n.qZA())}function z(s,_){if(1&s&&n._UZ(0,"cvc-gene-tag",23),2&s){const v=n.oxw(2).ngIf;n.Q6J("enablePopover",!1)("gene",v.subject)}}function U(s,_){if(1&s&&n._UZ(0,"cvc-assertion-tag",24),2&s){const v=n.oxw(2).ngIf;n.Q6J("enablePopover",!1)("assertion",v.subject)}}function A(s,_){if(1&s&&n._UZ(0,"cvc-evidence-tag",25),2&s){const v=n.oxw(2).ngIf;n.Q6J("enablePopover",!1)("evidence",v.subject)}}function B(s,_){if(1&s&&n._UZ(0,"cvc-variant-tag",26),2&s){const v=n.oxw(2).ngIf;n.Q6J("enablePopover",!1)("variant",v.subject)}}function V(s,_){if(1&s&&n._UZ(0,"cvc-variant-group-tag",27),2&s){const v=n.oxw(2).ngIf;n.Q6J("enablePopover",!1)("variantgroup",v.subject)}}function W(s,_){if(1&s&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&s){const v=n.oxw(2).ngIf;n.xp6(1),n.Oqu(v.subject.name)}}function H(s,_){if(1&s&&(n.ynx(0,16),n.YNc(1,z,1,2,"cvc-gene-tag",17),n.YNc(2,U,1,2,"cvc-assertion-tag",18),n.YNc(3,A,1,2,"cvc-evidence-tag",19),n.YNc(4,B,1,2,"cvc-variant-tag",20),n.YNc(5,V,1,2,"cvc-variant-group-tag",21),n.YNc(6,W,2,1,"span",22),n.BQk()),2&s){const v=n.oxw().ngIf;n.Q6J("ngSwitch",v.subject.__typename),n.xp6(1),n.Q6J("ngSwitchCase","Gene"),n.xp6(1),n.Q6J("ngSwitchCase","Assertion"),n.xp6(1),n.Q6J("ngSwitchCase","EvidenceItem"),n.xp6(1),n.Q6J("ngSwitchCase","Variant"),n.xp6(1),n.Q6J("ngSwitchCase","VariantGroup")}}function $(s,_){if(1&s&&n._UZ(0,"cvc-user-tag",28),2&s){const v=n.oxw().ngIf;n.Q6J("enablePopover",!1)("user",v.revisor)}}function K(s,_){if(1&s&&(n.TgZ(0,"nz-descriptions-item",29),n._uU(1),n.qZA()),2&s){const v=n.oxw().ngIf;n.xp6(1),n.hij(" ",v.creationComment.comment," ")}}function R(s,_){if(1&s&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,l,3,0,"ng-template",null,3,n.W1O),n.YNc(4,H,7,6,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),n.YNc(8,$,1,2,"cvc-user-tag",7),n.qZA(),n.TgZ(9,"nz-descriptions-item",8),n._uU(10),n.qZA(),n.TgZ(11,"nz-descriptions-item",9),n._uU(12),n.ALo(13,"timeAgo"),n.qZA(),n.YNc(14,K,2,1,"nz-descriptions-item",10),n.qZA()(),n.BQk()),2&s){const v=_.ngIf,F=n.MAs(3),tt=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",F)("nzExtra",tt),n.xp6(5),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",v.revisor),n.xp6(2),n.hij(" ",v.linkoutData.name," "),n.xp6(2),n.hij(" ",n.lcZ(13,7,v.createdAt)," "),n.xp6(2),n.Q6J("ngIf",v.creationComment)}}class p{constructor(_){this.gql=_}ngOnInit(){if(null==this.revisionId)throw new Error("cvc-revision-popover requires valid revisionId input.");this.revision$=this.gql.watch({revisionId:this.revisionId}).valueChanges.pipe((0,T.U)(({data:_})=>_?.revision),(0,P.h)(Z.ep))}}p.\u0275fac=function(_){return new(_||p)(n.Y36(I.otH))},p.\u0275cmp=n.Xpm({type:p,selectors:[["cvc-revision-popover"]],inputs:{revisionId:"revisionId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["subject",""],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Revisor"],[3,"enablePopover","user",4,"ngIf"],["nzTitle","Field"],["nzTitle","Revision Date"],["nzTitle","Creation Comment",4,"ngIf"],[1,"revision-card-title"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],[3,"status"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","variantgroup",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","variantgroup"],[3,"enablePopover","user"],["nzTitle","Creation Comment"]],template:function(_,v){1&_&&(n.TgZ(0,"div",0),n.YNc(1,R,15,9,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&_&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,v.revision$)))},dependencies:[o.O5,o.RF,o.n9,o.ED,M.bd,E.Ls,Q.NU,Q.$1,k.R7,k.uj,Y.H,L.I,J.w,G.O,w.I,C.u,x.h,h.fM,O.a,y.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.revision-card-title[_ngcontent-%COMP%]{font-weight:400}"]});var m=e(6672),c=e(6581);function g(s,_){}function d(s,_){}function b(s,_){if(1&s&&n._UZ(0,"cvc-revision-popover",6),2&s){const v=n.oxw(2);n.Q6J("revisionId",v.revision.id)}}function j(s,_){if(1&s&&(n.TgZ(0,"nz-tag",4),n.YNc(1,d,0,0,"ng-template",1),n.qZA(),n.YNc(2,b,1,1,"ng-template",null,5,n.W1O)),2&s){const v=n.MAs(3),F=n.oxw(),tt=n.MAs(5);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",v)("nzPopoverTrigger",F.enablePopover?"hover":null),n.xp6(1),n.Q6J("ngTemplateOutlet",tt)}}function ut(s,_){if(1&s&&(n._UZ(0,"i",7),n._uU(1)),2&s){const v=n.oxw();n.xp6(1),n.hij(" ",v.revision.name,"\n")}}const ft=function(s){return{revisionSetId:s}};class X{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.revision)throw new Error("cvc-revision-tag requires LinkableRevision input, none supplied.")}}X.\u0275fac=function(_){return new(_||X)},X.\u0275cmp=n.Xpm({type:X,selectors:[["cvc-revision-tag"]],inputs:{revision:"revision",subject:"subject",enablePopover:"enablePopover"},decls:6,vars:5,consts:[[3,"routerLink","queryParams"],[3,"ngTemplateOutlet"],["tag",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["revisionPopover",""],[3,"revisionId"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#F0673A"]],template:function(_,v){if(1&_&&(n.TgZ(0,"a",0),n.YNc(1,g,0,0,"ng-template",1),n.qZA(),n.YNc(2,j,4,4,"ng-template",null,2,n.W1O),n.YNc(4,ut,2,1,"ng-template",null,3,n.W1O)),2&_){const F=n.MAs(3);n.Q6J("routerLink",v.revision.link)("queryParams",n.VKq(3,ft,v.revision.revisionSetId)),n.xp6(1),n.Q6J("ngTemplateOutlet",F)}},dependencies:[o.tP,t.rH,p,m.j,E.Ls,c.lU],encapsulation:2})},8747:(q,N,e)=>{e.d(N,{l:()=>w});var n=e(4650),o=e(6895),t=e(1971),T=e(6152),P=e(1102),Z=e(6616),I=e(7044),M=e(1664);const E=["itemTemplate"],Q=function(C){return{$implicit:C}};function k(C,x){if(1&C){const h=n.EpF();n.TgZ(0,"nz-list-item",5),n.NdJ("click",function(){n.CHM(h);const y=n.oxw().$implicit,u=n.oxw(2);return n.KtG(u.onParticipantSelected(y))}),n.GkF(1,6),n.qZA()}if(2&C){const h=n.oxw().$implicit,O=n.oxw(2);n.ekj("selected-participant",h.id==(null==O.selectedItem?null:O.selectedItem.id)),n.xp6(1),n.Q6J("ngTemplateOutlet",O.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(4,Q,h))}}function Y(C,x){if(1&C&&(n.ynx(0),n.YNc(1,k,2,6,"nz-list-item",4),n.BQk()),2&C){const h=x.index,O=n.oxw(2);n.xp6(1),n.Q6J("ngIf",h+1<=O.defaultListSize)}}function L(C,x){if(1&C){const h=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){n.CHM(h);const y=n.oxw(2);return n.KtG(y.onExpandClicked())}),n._UZ(1,"i",8),n._uU(2," Expand "),n.qZA()}}function J(C,x){if(1&C){const h=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){n.CHM(h);const y=n.oxw(2);return n.KtG(y.onCollapseClicked())}),n._UZ(1,"i",9),n._uU(2," Collapse "),n.qZA()}}function G(C,x){if(1&C&&(n.ynx(0),n.TgZ(1,"nz-card",1)(2,"nz-list"),n.YNc(3,Y,2,1,"ng-container",2),n.qZA(),n.YNc(4,L,3,0,"button",3),n.YNc(5,J,3,0,"button",3),n.qZA(),n.BQk()),2&C){const h=n.oxw();n.xp6(1),n.Q6J("nzTitle",h.listTitle),n.xp6(2),n.Q6J("ngForOf",h.participantList),n.xp6(1),n.Q6J("ngIf",h.participantList.length>h.defaultListSize),n.xp6(1),n.Q6J("ngIf",h.isExpanded)}}class w{constructor(){this.defaultListSize=5,this.participantSelectedEvent=new n.vpe,this.isExpanded=!1}ngOnInit(){this.preselectedOption&&(this.selectedItem=this.preselectedOption)}onParticipantSelected(x){this.selectedItem=x.id==this.selectedItem?.id?void 0:x,this.participantSelectedEvent.emit(this.selectedItem)}onExpandClicked(){this.originalDefaultListSize=this.defaultListSize,this.defaultListSize=this.participantList.length,this.isExpanded=!0}onCollapseClicked(){this.originalDefaultListSize&&(this.defaultListSize=this.originalDefaultListSize,this.isExpanded=!1)}}w.\u0275fac=function(x){return new(x||w)},w.\u0275cmp=n.Xpm({type:w,selectors:[["cvc-participant-list"]],contentQueries:function(x,h,O){if(1&x&&n.Suo(O,E,5),2&x){let y;n.iGM(y=n.CRH())&&(h.itemTemplateRef=y.first)}},inputs:{participantList:"participantList",listTitle:"listTitle",defaultListSize:"defaultListSize",preselectedOption:"preselectedOption"},outputs:{participantSelectedEvent:"participantSelectedEvent"},decls:1,vars:1,consts:[[4,"ngIf"],["nz-type","inner",2,"margin-bottom","1em",3,"nzTitle"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nzSize","small","class","participant-list-item",3,"selected-participant","click",4,"ngIf"],["nzSize","small",1,"participant-list-item",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","vertical-align-bottom"],["nz-icon","","nzType","vertical-align-top"]],template:function(x,h){1&x&&n.YNc(0,G,6,4,"ng-container",0),2&x&&n.Q6J("ngIf",h.participantList&&h.participantList.length>0)},dependencies:[o.sg,o.O5,o.tP,t.bd,T.n_,T.AA,P.Ls,Z.ix,I.w,M.dQ],styles:[".participant-list-item[_ngcontent-%COMP%]:hover{border:1px solid #40a9ff;cursor:pointer}.participant-list-item[_ngcontent-%COMP%]{padding:2px;margin:2px}.selected-participant[_ngcontent-%COMP%]{background:#40a9ff;color:#fff}"]})},1150:(q,N,e)=>{e.d(N,{N:()=>I});var n=e(6895),o=e(1971),t=e(6152),T=e(1102),P=e(6616),Z=e(4650);class I{}I.\u0275fac=function(E){return new(E||I)},I.\u0275mod=Z.oAB({type:I}),I.\u0275inj=Z.cJS({imports:[n.ez,o.vh,t.Ph,T.PV,P.sL]})},112:(q,N,e)=>{e.d(N,{u:()=>m});var n=e(9771),o=e(4650),t=e(6895),T=e(9116),P=e(6581),Z=e(6672),I=e(1102),M=e(3240),E=e(4004),Q=e(9300),k=e(7630),Y=e(1971),L=e(9194),J=e(783),G=e(5457),w=e(6715),C=e(2635),x=e(160);function h(c,g){if(1&c&&(o._UZ(0,"i",7),o.ALo(1,"entityColor"),o._uU(2)),2&c){const d=o.oxw().ngIf;o.Q6J("nzTwotoneColor",o.lcZ(1,2,"VariantGroup")),o.xp6(2),o.hij(" ",d.name," ")}}function O(c,g){if(1&c&&o._UZ(0,"cvc-variant-tag",10),2&c){const d=g.$implicit;o.Q6J("enablePopover",!1)("variant",d.node)}}function y(c,g){if(1&c&&(o.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),o.YNc(2,O,1,2,"cvc-variant-tag",9),o.qZA()()),2&c){const d=o.oxw().ngIf;o.xp6(2),o.Q6J("ngForOf",d.variants.edges)}}function u(c,g){if(1&c&&o._UZ(0,"cvc-source-tag",13),2&c){const d=g.$implicit;o.Q6J("enablePopover",!1)("source",d)}}function f(c,g){if(1&c&&(o.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),o.YNc(2,u,1,2,"cvc-source-tag",12),o.qZA()()),2&c){const d=o.oxw().ngIf;o.xp6(2),o.Q6J("ngForOf",d.sources)}}function l(c,g){if(1&c&&(o.ynx(0),o.TgZ(1,"nz-card",2),o.YNc(2,h,3,4,"ng-template",null,3,o.W1O),o._uU(4),o.TgZ(5,"nz-descriptions",4),o.YNc(6,y,3,1,"nz-descriptions-item",5),o.YNc(7,f,3,1,"nz-descriptions-item",6),o.qZA()(),o.BQk()),2&c){const d=g.ngIf,b=o.MAs(3);o.xp6(1),o.Q6J("nzTitle",b),o.xp6(3),o.hij(" ",d.description," "),o.xp6(1),o.Q6J("nzColumn",2),o.xp6(1),o.Q6J("ngIf",d.variants.edges.length>0),o.xp6(1),o.Q6J("ngIf",d.sources.length>0)}}class z{constructor(g){this.gql=g}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,E.U)(({data:g})=>g?.variantGroup),(0,Q.h)(M.ep))}}z.\u0275fac=function(g){return new(g||z)(o.Y36(k.Zo2))},z.\u0275cmp=o.Xpm({type:z,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(g,d){1&g&&(o.TgZ(0,"div",0),o.YNc(1,l,8,5,"ng-container",1),o.ALo(2,"ngrxPush"),o.qZA()),2&g&&(o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,d.variantGroup$)))},dependencies:[t.sg,t.O5,Y.bd,L.R7,L.uj,I.Ls,J.T,G.I,w.$,C.fM,x.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var U=e(1730);function A(c,g){}function B(c,g){if(1&c&&(o.ynx(0),o.TgZ(1,"a",4),o.YNc(2,A,0,0,"ng-template",5),o.qZA(),o.BQk()),2&c){const d=o.oxw(),b=o.MAs(2);o.xp6(1),o.Q6J("routerLink",d.variantgroup.link),o.xp6(1),o.Q6J("ngTemplateOutlet",b)}}function V(c,g){}function W(c,g){if(1&c&&o._UZ(0,"cvc-variant-group-popover",9),2&c){const d=o.oxw(3);o.Q6J("variantGroupId",d.variantgroup.id)}}function H(c,g){if(1&c&&o.YNc(0,W,1,1,"cvc-variant-group-popover",8),2&c){const d=o.oxw(2);o.Q6J("ngIf",d.enablePopover)}}function $(c,g){if(1&c&&(o.TgZ(0,"nz-tag",6),o.YNc(1,V,0,0,"ng-template",5),o.qZA(),o.YNc(2,H,1,1,"ng-template",null,7,o.W1O)),2&c){const d=o.MAs(3),b=o.oxw(),j=o.MAs(6);o.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",d)("nzPopoverTrigger",b.enablePopover?"hover":null),o.xp6(1),o.Q6J("ngTemplateOutlet",j)}}function K(c,g){}function R(c,g){if(1&c&&o.YNc(0,K,0,0,"ng-template",5),2&c){o.oxw();const d=o.MAs(2);o.Q6J("ngTemplateOutlet",d)}}function p(c,g){if(1&c&&(o.TgZ(0,"cvc-icon-badges",10),o._UZ(1,"i",11),o.ALo(2,"entityColor"),o.qZA(),o._uU(3)),2&c){const d=o.oxw();o.Q6J("flagged",d.variantgroup.flagged)("entityColor",d.iconColor),o.xp6(1),o.Q6J("nzTwotoneColor",o.lcZ(2,4,"VariantGroup")),o.xp6(2),o.hij(" ",d.variantgroup.name,"\n")}}class m{set variantgroup(g){if(!g)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=g}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,n.f)("VariantGroup")}}m.\u0275fac=function(g){return new(g||m)},m.\u0275cmp=o.Xpm({type:m,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(g,d){if(1&g&&(o.YNc(0,B,3,2,"ng-container",0),o.YNc(1,$,4,4,"ng-template",null,1,o.W1O),o.YNc(3,R,1,1,"ng-template",null,2,o.W1O),o.YNc(5,p,4,6,"ng-template",null,3,o.W1O)),2&g){const b=o.MAs(4);o.Q6J("ngIf",d.linked)("ngIfElse",b)}},dependencies:[t.O5,t.tP,T.rH,P.lU,Z.j,I.Ls,z,U.b,x.a],encapsulation:2,changeDetection:0})},1075:(q,N,e)=>{e.r(N),e.d(N,{SourcesModule:()=>st});var n=e(6895),o=e(9116),t=e(4650),T=e(5655),P=e(1102),Z=e(8992),I=e(655),M=e(4006),E=e(6123),Q=e(9933);const Y=[{wrappers:["form-layout"],props:{submitLabel:"Submit Source Suggestion",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Submit Source Suggestion"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!1,description:"Select a Molecular Profile for this Source Suggestion, if applicable.",watchVariantMolecularProfileId:!0}},{key:"diseaseId",type:"disease-select",props:{}},{key:"sourceId",type:"source-select",wrappers:["form-field"],props:{required:!0}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Source Suggestion"}}]}]}];var h,J=e(7630),G=e(9169),w=e(6704),C=e(6212),x=e(7830);function O(a,i){if(1&a&&(t._uU(0," You will be redirected shortly or you may view your Source Suggestion "),t.TgZ(1,"a",4),t._uU(2,"here"),t.qZA(),t._uU(3,". ")),2&a){const r=t.oxw();t.xp6(1),t.Q6J("href",r.url,t.LSH)}}let y=((h=class{constructor(i,r,S){this.submitSourceGQL=i,this.networkErrorService=r,this.cdr=S,this.form=new M.nJ({}),this.model={fields:{}},this.fields=Y,this.submitSourceMutator=new E.U(r)}ngOnInit(){this.url="/curation/queues/pending-sources"}onSubmit(i){const r=function L(a){const i=a.fields;if(![a.comment,i.sourceId].find(S=>void 0===S))return{sourceId:i.sourceId,molecularProfileId:i.molecularProfileId,diseaseId:i.diseaseId,organizationId:a.organizationId,comment:a.comment}}(i);r&&(this.mutationState=this.submitSourceMutator.mutate(this.submitSourceGQL,{input:r},void 0,S=>{this.newSourceId=S.suggestSource?.sourceSuggestion.id}))}}).\u0275fac=function(i){return new(i||h)(t.Y36(J.tWC),t.Y36(G.Y),t.Y36(t.sBO))},h.\u0275cmp=t.Xpm({type:h,selectors:[["cvc-source-submit-form"]],decls:5,vars:7,consts:[["entityType","Source",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","modelChange"],[3,"href"]],template:function(i,r){if(1&i&&(t.TgZ(0,"cvc-form-submission-status-display",0),t.YNc(1,O,4,1,"ng-template",null,1,t.W1O),t.TgZ(3,"form",2),t.NdJ("ngSubmit",function(){return r.onSubmit(r.model)}),t.TgZ(4,"formly-form",3),t.NdJ("modelChange",function(D){return r.model=D}),t.qZA()()()),2&i){const S=t.MAs(2);t.Q6J("mutationState",r.mutationState)("redirectUrl",r.url)("successMessage",S),t.xp6(3),t.Q6J("formGroup",r.form),t.xp6(1),t.Q6J("form",r.form)("fields",r.fields)("model",r.model)}},dependencies:[w.Lr,M._Y,M.JL,M.sg,C.T7,x.F]}),h);y=(0,I.gn)([(0,Q.c)()],y);var u=e(160);class f{constructor(){}ngOnInit(){}}f.\u0275fac=function(i){return new(i||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["cvc-source-add-page"]],decls:11,vars:3,consts:[["displayName","New"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],[1,"content"]],template:function(i,r){1&i&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title"),t._UZ(3,"i",2),t.ALo(4,"entityColor"),t._uU(5," Add a Source Suggestion "),t.qZA(),t.TgZ(6,"nz-page-header-subtitle"),t._uU(7," Submit a promising source for curation "),t.qZA(),t.TgZ(8,"nz-page-header-content")(9,"div",3),t._UZ(10,"cvc-source-submit-form"),t.qZA()()()),2&i&&(t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(4,1,"Assertion")))},dependencies:[T.$O,T.u9,T.yG,T.u5,P.Ls,Z.I,y,u.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var l=e(8675),z=e(6579),U=e(9350),A=e(2635),B=e(6616),V=e(7044),W=e(1664),H=e(6550),$=e(2233);function K(a,i){1&a&&(t.TgZ(0,"button",10),t._UZ(1,"i",11),t._uU(2," Suggest a New Source "),t.qZA())}function R(a,i){if(1&a&&(t.ynx(0),t.YNc(1,K,3,0,"button",9),t.BQk()),2&a){const r=i.ngrxLet;t.xp6(1),t.Q6J("ngIf",r.signedIn)}}function p(a,i){if(1&a&&t.YNc(0,R,2,1,"ng-container",8),2&a){const r=t.oxw(2);t.Q6J("ngrxLet",r.viewer$)}}function m(a,i){if(1&a&&(t.TgZ(0,"cvc-link-tag",12),t._uU(1),t.qZA()),2&a){const r=t.oxw().ngIf;t.Q6J("href",r.sourceUrl)("tooltip","View on "+r.displayType),t.xp6(1),t.hij(" ",r.displayType+":"+r.citationId," ")}}function c(a,i){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.YNc(2,p,1,1,"ng-template",null,2,t.W1O),t.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title"),t._UZ(6,"i",4),t.ALo(7,"entityColor"),t._uU(8),t.qZA(),t.TgZ(9,"nz-page-header-extra"),t.YNc(10,m,2,3,"cvc-link-tag",5),t.qZA(),t.TgZ(11,"nz-page-header-content"),t._UZ(12,"cvc-tab-navigation",6),t.TgZ(13,"div",7),t._UZ(14,"router-outlet"),t.qZA()()(),t.BQk()),2&a){const r=i.ngIf,S=t.MAs(3),D=t.oxw();t.xp6(1),t.Q6J("displayName",r.citation)("actionsTpl",S),t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(7,6,"Source")),t.xp6(2),t.hij(" ",r.citation," "),t.xp6(2),t.Q6J("ngIf",r.sourceUrl),t.xp6(2),t.Q6J("tabs",D.tabs)}}class g{constructor(i,r,S){this.viewerService=i,this.route=r,this.gql=S,this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(D=>{this.sourceId=+D.sourceId,this.queryRef=this.gql.watch({sourceId:this.sourceId});let mt=this.queryRef.valueChanges;this.loading$=mt.pipe((0,z.j)("loading"),(0,l.O)(!0)),this.source$=mt.pipe((0,z.j)("data","source"))}),this.tabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"}]}ngOnDestroy(){this.routeSub.unsubscribe()}}g.\u0275fac=function(i){return new(i||g)(t.Y36(U.a),t.Y36(o.gz),t.Y36(J.Bk6))},g.\u0275cmp=t.Xpm({type:g,selectors:[["cvc-sources-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","actionsTpl"],["sourcesActions",""],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],[3,"href","tooltip",4,"ngIf"],[3,"tabs"],[1,"content"],[4,"ngrxLet"],["routerLink","/sources/add","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/sources/add","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],[3,"href","tooltip"]],template:function(i,r){1&i&&(t.YNc(0,c,15,8,"ng-container",0),t.ALo(1,"ngrxPush")),2&i&&t.Q6J("ngIf",t.lcZ(1,1,r.source$))},dependencies:[n.O5,o.lC,o.rH,A.eJ,T.$O,T.u9,T.u5,T.Jp,B.ix,V.w,W.dQ,P.Ls,Z.I,H.l,$.P,A.fM,u.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var d=e(3679),b=e(8823),j=e(6903),ut=e(3575);function ft(a,i){1&a&&(t.TgZ(0,"button",18),t._UZ(1,"i",19),t._uU(2," Suggest a New Source "),t.qZA())}function X(a,i){if(1&a&&(t.ynx(0),t.YNc(1,ft,3,0,"button",17),t.BQk()),2&a){const r=i.ngrxLet;t.xp6(1),t.Q6J("ngIf",r.signedIn)}}function s(a,i){if(1&a&&t.YNc(0,X,2,1,"ng-container",16),2&a){const r=t.oxw();t.Q6J("ngrxLet",r.viewer$)}}function _(a,i){1&a&&(t.TgZ(0,"a",20),t._UZ(1,"i",21),t._uU(2," View Source Docs "),t.qZA())}function v(a,i){1&a&&(t.TgZ(0,"a",22),t._UZ(1,"i",21),t._uU(2," View Source Curation Docs "),t.qZA())}class F{constructor(i){this.viewerService=i,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}F.\u0275fac=function(i){return new(i||F)(t.Y36(U.a))},F.\u0275cmp=t.Xpm({type:F,selectors:[["sources-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["sourcesActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html#curating-source","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Sources"],[4,"ngrxLet"],["routerLink","/sources/add","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/sources/add","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html#curating-source","target","_blank","nzSize","small","nzBlock",""]],template:function(i,r){if(1&i&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,s,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Sources"),t.qZA(),t.TgZ(12,"p",7),t._uU(13," Each Evidence Item is associated with a Source which supports the Item's clinical claims. CIViC accepts publications known to PubMed or abstracts published through the American Society of Clinical Oncology. "),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,_,3,0,"a",10),t.YNc(17,v,3,0,"a",11),t.qZA()()(),t.TgZ(18,"div",12)(19,"div",13)(20,"div",14),t._UZ(21,"cvc-sources-table",15),t.qZA()()()()()),2&i){const S=t.MAs(2);t.Q6J("actionsTpl",S),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"Source")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24)}},dependencies:[n.O5,o.rH,A.eJ,T.$O,T.u5,P.Ls,d.t3,d.SK,B.ix,V.w,W.dQ,b.ZU,j.NU,j.$1,Z.I,ut.d,u.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var tt=e(7570),vt=e(9194),xt=e(7579),Tt=e(9468);class pt{set cvcAutoHeightDiv(i){const r=parseInt(i,0);!isNaN(r)&&r>=0&&(this._offset=r)}set cvcAutoHeightTarget(i){this._target=i}get cvcAutoHeightTarget(){return this._target}constructor(i,r,S){this.el=i,this.zone=r,this.cdr=S,this._offset=0,this._target="parent",this.divTop=0,this.onResized$=new xt.x,this.resizeObserver=new ResizeObserver(D=>{this.zone.run(()=>{this.onResized$.next(!0)})}),this.onResized$.pipe((0,Tt.p)(10)).subscribe(D=>{this.resizeToFitContent()})}ngOnInit(){this.resizeObserver.observe(this.el.nativeElement)}ngAfterViewInit(){Promise.resolve().then(()=>{this.resizeToFitContent()})}resizeToFitContent(){const i=this.el.nativeElement,r=i.parentElement.getBoundingClientRect().height;i&&i.getBoundingClientRect&&i.getBoundingClientRect().top&&(this.divTop=i.getBoundingClientRect().top),i&&("parent"===this._target?i.style.height=r:"viewport"===this._target&&(i.getBoundingClientRect&&i.getBoundingClientRect().top&&(this.divTop=i.getBoundingClientRect().top),i.style.height=`calc(100vh - ${this.divTop+this._offset}px)`),i.style["overflow-y"]="auto",this.cdr.detectChanges())}ngOnDestroy(){this.onResized$.unsubscribe(),this.resizeObserver.unobserve(this.el.nativeElement)}}pt.\u0275fac=function(i){return new(i||pt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO))},pt.\u0275dir=t.lG2({type:pt,selectors:[["","cvcAutoHeightDiv",""]],inputs:{cvcAutoHeightDiv:"cvcAutoHeightDiv",cvcAutoHeightTarget:"cvcAutoHeightTarget"}});var St=e(3392),yt=e(9814),Pt=e(4049);function Ot(a,i){if(1&a&&(t.TgZ(0,"cvc-link-tag",23),t._uU(1),t.qZA()),2&a){const r=t.oxw().ngIf;t.Q6J("href",r.sourceUrl)("tooltip","View on "+r.displayType),t.xp6(1),t.hij(" ",r.displayType+":"+r.citationId," ")}}function It(a,i){if(1&a&&(t.ynx(0),t._uU(1),t.BQk()),2&a){const r=t.oxw().ngIf;t.xp6(1),t.hij(" ",r.pmcId," ")}}function Mt(a,i){}function At(a,i){if(1&a&&(t.TgZ(0,"nz-descriptions-item",28),t.YNc(1,Mt,0,0,"ng-template",29),t.qZA()),2&a){t.oxw(2);const r=t.MAs(29);t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function bt(a,i){if(1&a&&(t.TgZ(0,"nz-descriptions-item",28),t._UZ(1,"cvc-clinical-trial-tag",30),t.qZA()),2&a){const r=t.oxw(2).ngIf;t.xp6(1),t.Q6J("clinicalTrial",r.clinicalTrials[0])}}function Zt(a,i){if(1&a&&(t.ynx(0),t.TgZ(1,"nz-space"),t._UZ(2,"cvc-clinical-trial-tag",30),t.qZA(),t.BQk()),2&a){const r=i.$implicit;t.xp6(2),t.Q6J("clinicalTrial",r)}}function wt(a,i){if(1&a&&(t.TgZ(0,"nz-descriptions-item",31),t.YNc(1,Zt,3,1,"ng-container",32),t.qZA()),2&a){const r=t.oxw(2).ngIf;t.xp6(1),t.Q6J("ngForOf",r.clinicalTrials)}}function Nt(a,i){if(1&a&&(t.ynx(0,24),t.YNc(1,At,2,1,"ng-template",25),t.YNc(2,bt,2,1,"ng-template",26),t.YNc(3,wt,2,1,"ng-template",27),t.BQk()),2&a){const r=t.oxw().ngIf;t.Q6J("ngPlural",r.clinicalTrials.length)}}function Et(a,i){1&a&&(t.TgZ(0,"span",33),t._uU(1," Not available "),t.qZA())}function Jt(a,i){if(1&a&&t._uU(0),2&a){const r=t.oxw().ngIf;t.hij(" Evidence for ",r.citation," ")}}function Qt(a,i){if(1&a&&t._uU(0),2&a){const r=t.oxw().ngIf;t.hij(" Source Suggestions for ",r.citation," ")}}const Lt=function(){return[8,16]};function Ut(a,i){if(1&a&&(t.ynx(0),t.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-descriptions",3)(4,"nz-descriptions-item",4)(5,"i"),t._uU(6),t.qZA()(),t.TgZ(7,"nz-descriptions-item",5),t._uU(8),t.qZA()()(),t.TgZ(9,"nz-col",2)(10,"nz-descriptions",3)(11,"nz-descriptions-item",6)(12,"p",7),t._uU(13),t.qZA()()()(),t.TgZ(14,"nz-col",2)(15,"nz-descriptions",8)(16,"nz-descriptions-item",9),t._uU(17),t.qZA(),t.TgZ(18,"nz-descriptions-item",10),t.YNc(19,Ot,2,3,"cvc-link-tag",11),t.qZA(),t.TgZ(20,"nz-descriptions-item",12),t._uU(21),t.qZA(),t.TgZ(22,"nz-descriptions-item",13),t.YNc(23,It,2,1,"ng-container",14),t.qZA(),t.TgZ(24,"nz-descriptions-item",15)(25,"span",16),t._UZ(26,"span",17),t.qZA()(),t.YNc(27,Nt,4,1,"ng-container",18),t.qZA(),t.YNc(28,Et,2,0,"ng-template",null,19,t.W1O),t.qZA(),t.TgZ(30,"nz-col",2),t._UZ(31,"cvc-evidence-table",20),t.YNc(32,Jt,1,1,"ng-template",null,21,t.W1O),t.qZA(),t.TgZ(34,"nz-col",2),t._UZ(35,"cvc-source-suggestions-table",20),t.YNc(36,Qt,1,1,"ng-template",null,22,t.W1O),t.qZA()(),t.BQk()),2&a){const r=i.ngIf,S=t.MAs(29),D=t.MAs(33),mt=t.MAs(37),Ct=t.oxw();t.xp6(1),t.Q6J("nzGutter",t.DdM(26,Lt)),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("nzColumn",1),t.xp6(3),t.Oqu(r.title),t.xp6(2),t.hij(" ",r.authorString," "),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(1),t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("nzEllipsisRows",6),t.xp6(1),t.hij(" ",r.abstract," "),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(1),t.Q6J("nzColumn",1),t.xp6(2),t.Oqu(r.publicationDate),t.xp6(1),t.MGl("nzTitle","",r.displayType," ID"),t.xp6(1),t.Q6J("ngIf",r.sourceUrl),t.xp6(2),t.Oqu(r.fullJournalTitle),t.xp6(2),t.Q6J("ngIf",r.pmcId)("ngIfElse",S),t.xp6(2),t.Q6J("nzTooltipTitle",r.pmcId?"Open":"Closed"),t.xp6(1),t.Q6J("nzType",r.pmcId?"unlock":"lock"),t.xp6(1),t.Q6J("ngIf",r.clinicalTrials),t.xp6(3),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("sourceId",Ct.sourceId)("cvcTitleTemplate",D),t.xp6(3),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("sourceId",Ct.sourceId)("cvcTitleTemplate",mt)}}class lt{constructor(i,r){this.route=i,this.gql=r,this.routeSub=this.route.params.subscribe(S=>{this.sourceId=+S.sourceId,this.queryRef=this.gql.watch({sourceId:this.sourceId});let D=this.queryRef.valueChanges;this.loading$=D.pipe((0,z.j)("loading"),(0,l.O)(!0)),this.source$=D.pipe((0,z.j)("data","source"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}lt.\u0275fac=function(i){return new(i||lt)(t.Y36(o.gz),t.Y36(J.g0X))},lt.\u0275cmp=t.Xpm({type:lt,selectors:[["cvc-sources-summary"]],decls:2,vars:3,consts:[[4,"ngIf"],["cvcAutoHeightDiv","",3,"nzGutter"],[3,"nzSpan"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn"],["nzTitle","Title"],["nzTitle","Authors"],["nzTitle","Abstract"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Published"],[3,"nzTitle"],[3,"href","tooltip",4,"ngIf"],["nzTitle","Journal"],["nzTitle","PMC ID"],[4,"ngIf","ngIfElse"],["nzTitle","Access"],["nz-tooltip","",3,"nzTooltipTitle"],["nz-icon","","nzTheme","outline",3,"nzType"],[3,"ngPlural",4,"ngIf"],["notAvailable",""],["cvcHeight","400",3,"sourceId","cvcTitleTemplate"],["evidenceCardTitle",""],["sourceSuggestionCardTitle",""],[3,"href","tooltip"],[3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],["nzTitle","Clinicial Trial"],[3,"ngTemplateOutlet"],[3,"clinicalTrial"],["nzTitle","Clinicial Trials"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"]],template:function(i,r){1&i&&(t.YNc(0,Ut,38,27,"ng-container",0),t.ALo(1,"ngrxPush")),2&i&&t.Q6J("ngIf",t.lcZ(1,1,r.source$))},dependencies:[n.sg,n.O5,n.tP,n.iq,n.zE,d.t3,d.SK,j.NU,b.ZU,P.Ls,tt.SY,vt.R7,vt.uj,H.l,pt,St.a,yt.O,Pt.G,A.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}"]});class gt{constructor(){}ngOnInit(){}}gt.\u0275fac=function(i){return new(i||gt)},gt.\u0275cmp=t.Xpm({type:gt,selectors:[["app-sources"]],decls:1,vars:0,template:function(i,r){1&i&&t._UZ(0,"router-outlet")},dependencies:[o.lC],encapsulation:2});var Dt=e(3801);class dt{constructor(i){this.route=i,this.commentable={id:+this.route.snapshot.params.sourceId,entityType:J.OfU.Source}}}dt.\u0275fac=function(i){return new(i||dt)(t.Y36(o.gz))},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["cvc-sources-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(i,r){1&i&&t._UZ(0,"cvc-comment-list",0),2&i&&t.Q6J("commentable",r.commentable)},dependencies:[Dt.D],styles:["[_nghost-%COMP%]{display:block}"]});const kt=[{path:"",component:gt,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:F,data:{breadcrumb:"Home"}},{path:"add",data:{breadcrumb:"Submit a Source Suggestion"},runGuardsAndResolvers:"always",component:f},{path:":sourceId",component:g,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:lt,data:{breadcrumb:"Summary"}},{path:"comments",component:dt,data:{breadcrumb:"Comments"}}]}]}];class nt{}nt.\u0275fac=function(i){return new(i||nt)},nt.\u0275mod=t.oAB({type:nt}),nt.\u0275inj=t.cJS({imports:[o.Bz.forChild(kt),o.Bz]});var Yt=e(7279),ht=e(5630),_t=e(9444);class et{}et.\u0275fac=function(i){return new(i||et)},et.\u0275mod=t.oAB({type:et}),et.\u0275inj=t.cJS({imports:[n.ez,o.Bz,A._N,A.pP,T.KJ,P.PV,d.Jb,B.sL,b.ZJ,j.zf,ht.D,Yt.h,_t.s]});var zt=e(4989),Bt=e(8762);class ot{}ot.\u0275fac=function(i){return new(i||ot)},ot.\u0275mod=t.oAB({type:ot}),ot.\u0275inj=t.cJS({imports:[n.ez,o.Bz,A._N,A.pP,T.KJ,B.sL,P.PV,ht.D,zt.X,Bt.c,_t.s]});var Rt=e(5453),Ft=e(767),Gt=e(2832),jt=e(9241);class it{}it.\u0275fac=function(i){return new(i||it)},it.\u0275mod=t.oAB({type:it}),it.\u0275inj=t.cJS({imports:[n.ez,A._N,A.pP,d.Jb,j.zf,d.Jb,j.zf,b.ZJ,P.PV,tt.cg,vt.q6,zt.X,jt.h,Ft.Q,Gt.W,Rt.N]});var Vt=e(5106),Wt=e(317),Ht=e(9676);class at{}at.\u0275fac=function(i){return new(i||at)},at.\u0275mod=t.oAB({type:at}),at.\u0275inj=t.cJS({imports:[n.ez,w.U5,B.sL,Vt.S,Ht.g,Wt.s]});class rt{}rt.\u0275fac=function(i){return new(i||rt)},rt.\u0275mod=t.oAB({type:rt}),rt.\u0275inj=t.cJS({imports:[n.ez,T.KJ,P.PV,_t.s,ht.D,at]});var $t=e(2278);class ct{}ct.\u0275fac=function(i){return new(i||ct)},ct.\u0275mod=t.oAB({type:ct}),ct.\u0275inj=t.cJS({imports:[n.ez,$t.l]});class st{}st.\u0275fac=function(i){return new(i||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[n.ez,o.Bz,nt,et,ot,it,rt,ct]})},545:(q,N,e)=>{e.d(N,{H0:()=>y});var n=e(4650),o=e(6895),t=e(445);let y=(()=>{class u{}return u.\u0275fac=function(l){return new(l||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({imports:[t.vT,o.ez]}),u})()}}]); \ No newline at end of file diff --git a/server/public/1754.906379ee1f4de488.js b/server/public/1754.906379ee1f4de488.js new file mode 100644 index 000000000..87d1b9474 --- /dev/null +++ b/server/public/1754.906379ee1f4de488.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1754],{1754:(W,g,n)=>{n.r(g),n.d(g,{VariantGroupsAddModule:()=>D});var p=n(6814),v=n(8603),y=n(2419),V=n(2524),l=n(95),f=n(551),d=n(6254),s=n(4190),b=n(7398),t=n(5879),G=n(951),z=n(8178),S=n(3145),C=n(8091),M=n(2616);function x(e,a){1&e&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function w(e,a){1&e&&(t.TgZ(0,"nz-row",7)(1,"div",8),t._UZ(2,"cvc-login-prompt"),t.qZA()())}let A=(()=>{class e{constructor(r){this.viewerService=r}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,b.U)(r=>r.signedIn))}}return e.\u0275fac=function(r){return new(r||e)(t.Y36(G.a))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-groups-add-view"]],decls:12,vars:7,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(r,o){if(1&r&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title",2),t._UZ(3,"i",3),t.ALo(4,"entityColor"),t._uU(5," Add New Variant Group "),t.qZA(),t.TgZ(6,"nz-page-header-content")(7,"div",4),t.YNc(8,x,2,0,"div",5),t.ALo(9,"ngrxPush"),t.YNc(10,w,3,0,"ng-template",null,6,t.W1O),t.qZA()()()),2&r){const c=t.MAs(11);t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(4,3,"VariantGroup")),t.xp6(5),t.Q6J("ngIf",t.lcZ(9,5,o.isSignedIn$))("ngIfElse",c)}},dependencies:[p.O5,s.lC,l.t3,l.SK,f.Ls,d.$O,d.u9,d.u5,z.u,S.I,C.fM,M.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var h=n(3599),O=n(2840),P=n(6683),T=n(279),F=n(5106);let Z=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[p.ez,s.Bz,h.U5,O.sL,P.S,T.s,F.g]}),e})(),I=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[p.ez,Z]}),e})();var J=n(655),u=n(6223),U=n(2024),L=n(2784),N=n(1791);const Y=[{wrappers:["form-layout"],props:{submitLabel:"Submit Variant Group",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Submit Variant Group"},fieldGroup:[{key:"name",type:"input",props:{label:"Variant Group Name",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"User-defined summary of the clinical relevance of this Variant Group.",placeholder:"Enter a Variant Group Summary",label:"Variant Group Summary",required:!0,rows:5}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{required:!1}},{key:"variantIds",type:"variant-multi-select",props:{label:"Variants",required:!0,colSpan:24,requireGene:!1,showManagerBtn:!0}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Variant Group"}}]}]}];var i,B=n(313),Q=n(7473),j=n(5545),$=n(4634);const E=function(e){return["/variant-groups",e]};function K(e,a){if(1&e&&(t._uU(0," View your Variant Group "),t.TgZ(1,"a",4),t._uU(2,"here"),t.qZA(),t._uU(3,". You will be redirected shortly. ")),2&e){const r=t.oxw();t.xp6(1),t.Q6J("routerLink",t.VKq(1,E,r.newVariantGroupId))}}let m=((i=class{constructor(a,r,o){this.submitVariantGroupGQL=a,this.networkErrorService=r,this.cdr=o,this.form=new u.nJ({}),this.model={fields:{}},this.fields=Y,this.submitVariantGroupMutator=new U.U(r)}onSubmit(a){const r=(0,L.t3)(a);r&&(this.mutationState=this.submitVariantGroupMutator.mutate(this.submitVariantGroupGQL,{input:r},void 0,o=>{this.newVariantGroupId=o.submitVariantGroup?.variantGroup.id,this.newVariantGroupUrl=`/variant-groups/${this.newVariantGroupId}`}))}}).\u0275fac=function(a){return new(a||i)(t.Y36(B.tji),t.Y36(Q.Y),t.Y36(t.sBO))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-variantgroup-submit-form"]],decls:5,vars:7,consts:[["entityType","Variant Group",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","modelChange"],[3,"routerLink"]],template:function(a,r){if(1&a&&(t.TgZ(0,"cvc-form-submission-status-display",0),t.YNc(1,K,4,3,"ng-template",null,1,t.W1O),t.TgZ(3,"form",2),t.NdJ("ngSubmit",function(){return r.onSubmit(r.model)}),t.TgZ(4,"formly-form",3),t.NdJ("modelChange",function(c){return r.model=c}),t.qZA()()()),2&a){const o=t.MAs(2);t.Q6J("mutationState",r.mutationState)("redirectUrl",r.newVariantGroupUrl)("successMessage",o),t.xp6(3),t.Q6J("formGroup",r.form),t.xp6(1),t.Q6J("form",r.form)("fields",r.fields)("model",r.model)}},dependencies:[s.rH,h.Lr,u._Y,u.JL,u.sg,j.T7,$.F]}),i);m=(0,J.gn)([(0,N.c)()],m);const R=[{path:"",component:A,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-groups-submit-page"]],decls:1,vars:0,template:function(r,o){1&r&&t._UZ(0,"cvc-variantgroup-submit-form")},dependencies:[m],encapsulation:2}),e})(),data:{breadcrumb:"Submit New Variant Groups"}}]}];let X=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.Bz.forChild(R),I,s.Bz]}),e})(),D=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[p.ez,X,l.Jb,f.PV,d.KJ,v.a,V.s,y.D]}),e})()}}]); \ No newline at end of file diff --git a/server/public/1761.1757ccd609e3ebfb.js b/server/public/1761.1757ccd609e3ebfb.js new file mode 100644 index 000000000..87fb216dd --- /dev/null +++ b/server/public/1761.1757ccd609e3ebfb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1761],{4786:(W,M,i)=>{i.d(M,{O:()=>m});var o=i(8130),A=i(2023),a=i(5879),t=i(6814),O=i(4190),_=i(5695),x=i(7417),I=i(551),P=i(8213),T=i(3103),k=i(2616);function y(c,p){}function w(c,p){if(1&c&&(a.ynx(0),a.TgZ(1,"a",4),a.YNc(2,y,0,0,"ng-template",5),a.qZA(),a.BQk()),2&c){const g=a.oxw(),E=a.MAs(2);a.xp6(1),a.Q6J("routerLink",g.evidence.link),a.xp6(1),a.Q6J("ngTemplateOutlet",E)}}function C(c,p){}function S(c,p){if(1&c&&a._UZ(0,"cvc-evidence-popover",9),2&c){const g=a.oxw(3);a.Q6J("evidenceId",g.evidence.id)}}function f(c,p){if(1&c&&a.YNc(0,S,1,1,"cvc-evidence-popover",8),2&c){const g=a.oxw(2);a.Q6J("ngIf",g.enablePopover)}}const N=function(c,p,g){return{rejected:c,submitted:p,accepted:g}};function D(c,p){if(1&c&&(a.TgZ(0,"nz-tag",6),a.YNc(1,C,0,0,"ng-template",5),a.qZA(),a.YNc(2,f,1,1,"ng-template",null,7,a.W1O)),2&c){const g=a.MAs(3),E=a.oxw(),b=a.MAs(6);a.Q6J("ngClass",a.kEZ(5,N,"REJECTED"===E.evidence.status,"SUBMITTED"===E.evidence.status,"ACCEPTED"===E.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",g)("nzPopoverTrigger",E.enablePopover?"hover":null),a.xp6(1),a.Q6J("ngTemplateOutlet",b)}}function Q(c,p){}function Y(c,p){if(1&c&&a.YNc(0,Q,0,0,"ng-template",5),2&c){a.oxw();const g=a.MAs(2);a.Q6J("ngTemplateOutlet",g)}}function L(c,p){if(1&c&&(a.TgZ(0,"cvc-icon-badges",10),a._UZ(1,"i",11),a.ALo(2,"entityColor"),a.ALo(3,"entityColor"),a.qZA(),a._uU(4)),2&c){const g=a.oxw();a.Q6J("flagged",g.evidence.flagged)("entityColor",g.iconColor),a.xp6(1),a.Q6J("nzTwotoneColor","REJECTED"===g.evidence.status?a.lcZ(2,4,"Rejected"):a.lcZ(3,6,"EvidenceItem")),a.xp6(3),a.hij(" ",g.evidence.name,"\n")}}let m=(()=>{class c extends o.a{set evidence(g){if(!g)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=g}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,A.f)("EvidenceItem")}idFunction(){return this.evidence.id}}return c.\u0275fac=function(g){return new(g||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[a.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(g,E){if(1&g&&(a.YNc(0,w,3,2,"ng-container",0),a.YNc(1,D,4,9,"ng-template",null,1,a.W1O),a.YNc(3,Y,1,1,"ng-template",null,2,a.W1O),a.YNc(5,L,5,8,"ng-template",null,3,a.W1O)),2&g){const b=a.MAs(4);a.Q6J("ngIf",E.linked)("ngIfElse",b)}},dependencies:[t.mk,t.O5,t.tP,O.rH,_.j,x.lU,I.Ls,P._,T.b,k.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]}),c})()},1218:(W,M,i)=>{i.d(M,{i:()=>k});var o=i(6814),A=i(4190),a=i(5695),t=i(7417),O=i(551),_=i(1855),x=i(2524),I=i(3640),P=i(3146),T=i(5879);let k=(()=>{class y{}return y.\u0275fac=function(C){return new(C||y)},y.\u0275mod=T.oAB({type:y}),y.\u0275inj=T.cJS({imports:[o.ez,A.Bz,I.mS,a.X,t.$6,O.PV,_.f,x.s,P.C]}),y})()},215:(W,M,i)=>{i.d(M,{m:()=>pt});var o=i(5879),A=i(6814),a=i(4190),t=i(5695),O=i(551),_=i(7417),x=i(5676),I=i(7398),P=i(2181),T=i(313),k=i(2962),y=i(95),w=i(8125),C=i(3317),S=i(7458),f=i(8091);const N=function(h,z){return{displayName:h,profileImagePath:z}};function D(h,z){if(1&h&&(o._UZ(0,"cvc-user-avatar",12),o.TgZ(1,"span",13),o._uU(2),o.qZA()),2&h){const d=o.oxw().ngIf;o.Q6J("user",o.WLB(2,N,d.name,d.profileImagePath)),o.xp6(2),o.Oqu(d.name)}}function Q(h,z){if(1&h&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&h){const d=z.ngIf;o.xp6(1),o.Oqu(d)}}function Y(h,z){if(1&h&&(o.ynx(0),o.TgZ(1,"cvc-link-tag",14),o._uU(2),o.qZA(),o.BQk()),2&h){const d=o.oxw().ngIf;o.xp6(1),o.Q6J("href",d.url),o.xp6(1),o.hij(" ",d.name," ")}}function L(h,z){if(1&h&&(o.ynx(0),o.TgZ(1,"nz-card",4),o.YNc(2,D,3,5,"ng-template",null,5,o.W1O),o.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),o.YNc(8,Q,2,1,"span",9),o.qZA()()()(),o.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),o.YNc(11,Y,3,2,"ng-container",9),o.qZA()()(),o.BQk()),2&h){const d=z.ngIf,Z=o.MAs(3);o.oxw();const B=o.MAs(4),J=o.MAs(6);o.xp6(1),o.Q6J("nzTitle",Z),o.xp6(7),o.Q6J("ngIf",d.description)("ngIfElse",B),o.xp6(1),o.Q6J("nzColumn",2),o.xp6(2),o.Q6J("ngIf",d.url)("ngIfElse",J)}}function m(h,z){1&h&&o._uU(0," Organization has not provided a description.\n")}function c(h,z){1&h&&o._uU(0," -- ")}let p=(()=>{class h{constructor(d){this.gql=d}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,I.U)(({data:d})=>d?.organization),(0,P.h)(x.ep))}}return h.\u0275fac=function(d){return new(d||h)(o.Y36(T.X5f))},h.\u0275cmp=o.Xpm({type:h,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(d,Z){1&d&&(o.TgZ(0,"div",0),o.YNc(1,L,12,6,"ng-container",1),o.ALo(2,"ngrxPush"),o.qZA(),o.YNc(3,m,1,0,"ng-template",null,2,o.W1O),o.YNc(5,c,1,0,"ng-template",null,3,o.W1O)),2&d&&(o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,Z.org$)))},dependencies:[A.O5,k.bd,y.t3,y.SK,w.R7,w.uj,C.l,S.L,f.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),h})();function g(h,z){}function E(h,z){if(1&h&&(o.ynx(0),o.TgZ(1,"a",4),o.YNc(2,g,0,0,"ng-template",5),o.qZA(),o.BQk()),2&h){const d=o.oxw(),Z=o.MAs(2);o.xp6(1),o.MGl("routerLink","/organizations/",d.org.id,""),o.xp6(1),o.Q6J("ngTemplateOutlet",Z)}}function b(h,z){}function X(h,z){if(1&h&&o._UZ(0,"cvc-organization-popover",9),2&h){const d=o.oxw(3);o.Q6J("orgId",d.org.id)}}function q(h,z){if(1&h&&o.YNc(0,X,1,1,"cvc-organization-popover",8),2&h){const d=o.oxw(2);o.Q6J("ngIf",d.enablePopover)}}function tt(h,z){if(1&h&&(o.TgZ(0,"nz-tag",6),o.YNc(1,b,0,0,"ng-template",5),o.qZA(),o.YNc(2,q,1,1,"ng-template",null,7,o.W1O)),2&h){const d=o.MAs(3);o.oxw();const Z=o.MAs(6);o.Q6J("nzPopoverContent",d),o.xp6(1),o.Q6J("ngTemplateOutlet",Z)}}function et(h,z){}function nt(h,z){if(1&h&&o.YNc(0,et,0,0,"ng-template",5),2&h){o.oxw();const d=o.MAs(2);o.Q6J("ngTemplateOutlet",d)}}function ot(h,z){if(1&h&&(o._UZ(0,"i",10),o._uU(1)),2&h){const d=o.oxw();o.xp6(1),o.hij(" ",d.org.name,"\n")}}let pt=(()=>{class h{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275cmp=o.Xpm({type:h,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(d,Z){if(1&d&&(o.YNc(0,E,3,2,"ng-container",0),o.YNc(1,tt,4,2,"ng-template",null,1,o.W1O),o.YNc(3,nt,1,1,"ng-template",null,2,o.W1O),o.YNc(5,ot,2,1,"ng-template",null,3,o.W1O)),2&d){const B=o.MAs(4);o.Q6J("ngIf",Z.linked)("ngIfElse",B)}},dependencies:[A.O5,A.tP,a.rH,t.j,O.Ls,_.lU,p],styles:["[_nghost-%COMP%]{display:inline-block}"]}),h})()},1106:(W,M,i)=>{i.d(M,{L:()=>w});var o=i(6814),A=i(4190),a=i(5695),t=i(551),O=i(95),_=i(6067),x=i(8125),I=i(2962),P=i(1022),T=i(5879);let k=(()=>{class C{}return C.\u0275fac=function(f){return new(f||C)},C.\u0275mod=T.oAB({type:C}),C.\u0275inj=T.cJS({imports:[o.ez,I.vh,O.Jb,x.q6,_.X,P.H]}),C})();var y=i(7417);let w=(()=>{class C{}return C.\u0275fac=function(f){return new(f||C)},C.\u0275mod=T.oAB({type:C}),C.\u0275inj=T.cJS({imports:[o.ez,A.Bz,a.X,t.PV,y.$6,k]}),C})()},3641:(W,M,i)=>{i.d(M,{G:()=>S});var o=i(6814),A=i(4190),a=i(7417),t=i(5695),O=i(551),_=i(366),x=i(8641),I=i(7528),P=i(2524),T=i(2962),k=i(8125),y=i(5879);let w=(()=>{class f{}return f.\u0275fac=function(D){return new(D||f)},f.\u0275mod=y.oAB({type:f}),f.\u0275inj=y.cJS({imports:[o.ez,T.vh,k.q6,O.PV,x.s,I.Q,_.$,P.s]}),f})();var C=i(3146);let S=(()=>{class f{}return f.\u0275fac=function(D){return new(D||f)},f.\u0275mod=y.oAB({type:f}),f.\u0275inj=y.cJS({imports:[o.ez,A.Bz,a.$6,t.X,O.PV,w,P.s,C.C]}),f})()},6588:(W,M,i)=>{i.r(M),i.d(M,{WelcomeModule:()=>ie});var o=i(4190),A=i(313),a=i(7398),t=i(5879),O=i(9862),_=i(6814),x=i(95),I=i(9388),P=i(2831),T=i(655),k=i(6028),y=i(8645),w=i(2438),C=i(9773),S=i(874),f=i(7754),N=i(9087);const D=["slickList"],Q=["slickTrack"];function Y(n,s){}const L=function(n){return{$implicit:n}};function m(n,s){if(1&n){const e=t.EpF();t.TgZ(0,"li",9),t.NdJ("click",function(){const u=t.CHM(e).index,U=t.oxw(2);return t.KtG(U.onLiClick(u))}),t.YNc(1,Y,0,0,"ng-template",10),t.qZA()}if(2&n){const e=s.index,r=t.oxw(2),l=t.MAs(8);t.ekj("slick-active",e===r.activeIndex),t.xp6(1),t.Q6J("ngTemplateOutlet",r.nzDotRender||l)("ngTemplateOutletContext",t.VKq(4,L,e))}}function c(n,s){if(1&n&&(t.TgZ(0,"ul",7),t.YNc(1,m,2,6,"li",8),t.qZA()),2&n){const e=t.oxw();t.ekj("slick-dots-top","top"===e.nzDotPosition)("slick-dots-bottom","bottom"===e.nzDotPosition)("slick-dots-left","left"===e.nzDotPosition)("slick-dots-right","right"===e.nzDotPosition),t.xp6(1),t.Q6J("ngForOf",e.carouselContents)}}function p(n,s){if(1&n&&(t.TgZ(0,"button"),t._uU(1),t.qZA()),2&n){const e=s.$implicit;t.xp6(1),t.Oqu(e+1)}}const g=["*"];let E=(()=>{class n{set isActive(e){this._active=e,this.isActive?this.renderer.addClass(this.el,"slick-active"):this.renderer.removeClass(this.el,"slick-active")}get isActive(){return this._active}constructor(e,r){this.renderer=r,this._active=!1,this.el=e.nativeElement}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(t.Qsj))},n.\u0275dir=t.lG2({type:n,selectors:[["","nz-carousel-content",""]],hostAttrs:[1,"slick-slide"],exportAs:["nzCarouselContent"]}),n})();class b{get maxIndex(){return this.length-1}get firstEl(){return this.contents[0].el}get lastEl(){return this.contents[this.maxIndex].el}constructor(s,e,r,l,u){this.cdr=e,this.renderer=r,this.platform=l,this.options=u,this.carouselComponent=s}withCarouselContents(s){const e=this.carouselComponent;if(this.slickListEl=e.slickListEl,this.slickTrackEl=e.slickTrackEl,this.contents=s?.toArray()||[],this.length=this.contents.length,this.platform.isBrowser){const r=e.el.getBoundingClientRect();this.unitWidth=r.width,this.unitHeight=r.height}else s?.forEach((r,l)=>{0===l?this.renderer.setStyle(r.el,"width","100%"):this.renderer.setStyle(r.el,"display","none")})}dragging(s){}dispose(){}getFromToInBoundary(s,e){const r=this.maxIndex+1;return{from:(s+r)%r,to:(e+r)%r}}}class X extends b{withCarouselContents(s){super.withCarouselContents(s),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((e,r)=>{this.renderer.setStyle(e.el,"opacity",this.carouselComponent.activeIndex===r?"1":"0"),this.renderer.setStyle(e.el,"position","relative"),this.renderer.setStyle(e.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(e.el,"left",-this.unitWidth*r+"px"),this.renderer.setStyle(e.el,"transition",["opacity 500ms ease 0s","visibility 500ms ease 0s"])}))}switch(s,e){const{to:r}=this.getFromToInBoundary(s,e),l=new y.x;return this.contents.forEach((u,U)=>{this.renderer.setStyle(u.el,"opacity",r===U?"1":"0")}),setTimeout(()=>{l.next(),l.complete()},this.carouselComponent.nzTransitionSpeed),l}dispose(){this.contents.forEach(s=>{this.renderer.setStyle(s.el,"transition",null),this.renderer.setStyle(s.el,"opacity",null),this.renderer.setStyle(s.el,"width",null),this.renderer.setStyle(s.el,"left",null)}),super.dispose()}}class q extends b{get vertical(){return this.carouselComponent.vertical}constructor(s,e,r,l,u){super(s,e,r,l,u),this.isDragging=!1,this.isTransitioning=!1}dispose(){super.dispose(),this.renderer.setStyle(this.slickTrackEl,"transform",null)}withCarouselContents(s){super.withCarouselContents(s);const r=this.carouselComponent.activeIndex;this.platform.isBrowser&&this.contents.length&&(this.renderer.setStyle(this.slickListEl,"height",`${this.unitHeight}px`),this.vertical?(this.renderer.setStyle(this.slickTrackEl,"width",`${this.unitWidth}px`),this.renderer.setStyle(this.slickTrackEl,"height",this.length*this.unitHeight+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-r*this.unitHeight}px, 0)`)):(this.renderer.setStyle(this.slickTrackEl,"height",`${this.unitHeight}px`),this.renderer.setStyle(this.slickTrackEl,"width",this.length*this.unitWidth+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-r*this.unitWidth}px, 0, 0)`)),this.contents.forEach(l=>{this.renderer.setStyle(l.el,"position","relative"),this.renderer.setStyle(l.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(l.el,"height",`${this.unitHeight}px`)}))}switch(s,e){const{to:r}=this.getFromToInBoundary(s,e),l=new y.x;return this.renderer.setStyle(this.slickTrackEl,"transition",`transform ${this.carouselComponent.nzTransitionSpeed}ms ease`),this.vertical?this.verticalTransform(s,e):this.horizontalTransform(s,e),this.isTransitioning=!0,this.isDragging=!1,setTimeout(()=>{this.renderer.setStyle(this.slickTrackEl,"transition",null),this.contents.forEach(u=>{this.renderer.setStyle(u.el,this.vertical?"top":"left",null)}),this.renderer.setStyle(this.slickTrackEl,"transform",this.vertical?`translate3d(0, ${-r*this.unitHeight}px, 0)`:`translate3d(${-r*this.unitWidth}px, 0, 0)`),this.isTransitioning=!1,l.next(),l.complete()},this.carouselComponent.nzTransitionSpeed),l.asObservable()}dragging(s){if(this.isTransitioning)return;const e=this.carouselComponent.activeIndex;this.carouselComponent.vertical?(!this.isDragging&&this.length>2&&(e===this.maxIndex?this.prepareVerticalContext(!0):0===e&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-e*this.unitHeight+s.x}px, 0)`)):(!this.isDragging&&this.length>2&&(e===this.maxIndex?this.prepareHorizontalContext(!0):0===e&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-e*this.unitWidth+s.x}px, 0, 0)`)),this.isDragging=!0}verticalTransform(s,e){const{from:r,to:l}=this.getFromToInBoundary(s,e);this.length>2&&e!==l?(this.prepareVerticalContext(l2&&e!==l?(this.prepareHorizontalContext(l{class n{set nzDotPosition(e){this._dotPosition=e,this.vertical="left"===e||"right"===e}get nzDotPosition(){return this._dotPosition}constructor(e,r,l,u,U,$,R,at,lt,ct){this.nzConfigService=r,this.ngZone=l,this.renderer=u,this.cdr=U,this.platform=$,this.resizeService=R,this.nzDragService=at,this.directionality=lt,this.customStrategies=ct,this._nzModuleName="carousel",this.nzEffect="scrollx",this.nzEnableSwipe=!0,this.nzDots=!0,this.nzAutoPlay=!1,this.nzAutoPlaySpeed=3e3,this.nzTransitionSpeed=500,this.nzLoop=!0,this.nzStrategyOptions=void 0,this._dotPosition="bottom",this.nzBeforeChange=new t.vpe,this.nzAfterChange=new t.vpe,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this.dir="ltr",this.destroy$=new y.x,this.gestureRect=null,this.pointerDelta=null,this.isTransiting=!1,this.isDragging=!1,this.onLiClick=F=>{this.goTo("rtl"===this.dir?this.carouselContents.length-1-F:F)},this.pointerDown=F=>{!this.isDragging&&!this.isTransiting&&this.nzEnableSwipe&&(this.clearScheduledTransition(),this.gestureRect=this.slickListEl.getBoundingClientRect(),this.nzDragService.requestDraggingSequence(F).subscribe(v=>{this.pointerDelta=v,this.isDragging=!0,this.strategy?.dragging(this.pointerDelta)},()=>{},()=>{if(this.nzEnableSwipe&&this.isDragging){const v=this.pointerDelta?this.pointerDelta.x:0;Math.abs(v)>this.gestureRect.width/3&&(this.nzLoop||v<=0&&this.activeIndex+10&&this.activeIndex>0)?this.goTo(v>0?this.activeIndex-1:this.activeIndex+1):this.goTo(this.activeIndex),this.gestureRect=null,this.pointerDelta=null}this.isDragging=!1}))},this.nzDotPosition="bottom",this.el=e.nativeElement}ngOnInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.dir=this.directionality.value,this.directionality.change.pipe((0,C.R)(this.destroy$)).subscribe(e=>{this.dir=e,this.markContentActive(this.activeIndex),this.cdr.detectChanges()}),this.ngZone.runOutsideAngular(()=>{(0,w.R)(this.slickListEl,"keydown").pipe((0,C.R)(this.destroy$)).subscribe(e=>{const{keyCode:r}=e;r!==k.oh&&r!==k.SV||(e.preventDefault(),this.ngZone.run(()=>{r===k.oh?this.pre():this.next(),this.cdr.markForCheck()}))})})}ngAfterContentInit(){this.markContentActive(0)}ngAfterViewInit(){this.carouselContents.changes.subscribe(()=>{this.markContentActive(0),this.layout()}),this.resizeService.subscribe().pipe((0,C.R)(this.destroy$)).subscribe(()=>{this.layout()}),this.switchStrategy(),this.markContentActive(0),this.layout(),Promise.resolve().then(()=>{this.layout()})}ngOnChanges(e){const{nzEffect:r,nzDotPosition:l}=e;r&&!r.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),l&&!l.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()}ngOnDestroy(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()}next(){this.goTo(this.activeIndex+1)}pre(){this.goTo(this.activeIndex-1)}goTo(e){if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting&&(this.nzLoop||e>=0&&e{this.scheduleNextTransition(),this.nzAfterChange.emit(u),this.isTransiting=!1}),this.markContentActive(u),this.cdr.markForCheck()}}switchStrategy(){this.strategy&&this.strategy.dispose();const e=this.customStrategies?this.customStrategies.find(r=>r.name===this.nzEffect):null;this.strategy=e?new e.strategy(this,this.cdr,this.renderer,this.platform):"scrollx"===this.nzEffect?new q(this,this.cdr,this.renderer,this.platform):new X(this,this.cdr,this.renderer,this.platform)}scheduleNextTransition(){this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this.goTo(this.activeIndex+1)},this.nzAutoPlaySpeed))}clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}markContentActive(e){this.activeIndex=e,this.carouselContents&&this.carouselContents.forEach((r,l)=>{r.isActive="rtl"===this.dir?e===this.carouselContents.length-1-l:e===l}),this.cdr.markForCheck()}layout(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t.SBq),t.Y36(S.jY),t.Y36(t.R0b),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(P.t4),t.Y36(N.rI),t.Y36(N.Ml),t.Y36(I.Is,8),t.Y36(tt,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["nz-carousel"]],contentQueries:function(e,r,l){if(1&e&&t.Suo(l,E,4),2&e){let u;t.iGM(u=t.CRH())&&(r.carouselContents=u)}},viewQuery:function(e,r){if(1&e&&(t.Gf(D,7),t.Gf(Q,7)),2&e){let l;t.iGM(l=t.CRH())&&(r.slickList=l.first),t.iGM(l=t.CRH())&&(r.slickTrack=l.first)}},hostAttrs:[1,"ant-carousel"],hostVars:4,hostBindings:function(e,r){2&e&&t.ekj("ant-carousel-vertical",r.vertical)("ant-carousel-rtl","rtl"===r.dir)},inputs:{nzDotRender:"nzDotRender",nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzLoop:"nzLoop",nzStrategyOptions:"nzStrategyOptions",nzDotPosition:"nzDotPosition"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[t.TTD],ngContentSelectors:g,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,r){1&e&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1,2),t.NdJ("mousedown",function(u){return r.pointerDown(u)})("touchstart",function(u){return r.pointerDown(u)}),t.TgZ(3,"div",3,4),t.Hsn(5),t.qZA()(),t.YNc(6,c,2,9,"ul",5),t.qZA(),t.YNc(7,p,2,1,"ng-template",null,6,t.W1O)),2&e&&(t.ekj("slick-vertical","left"===r.nzDotPosition||"right"===r.nzDotPosition),t.xp6(6),t.Q6J("ngIf",r.nzDots))},dependencies:[_.sg,_.O5,_.tP],encapsulation:2,changeDetection:0}),(0,T.gn)([(0,S.oS)()],n.prototype,"nzEffect",void 0),(0,T.gn)([(0,S.oS)(),(0,f.yF)()],n.prototype,"nzEnableSwipe",void 0),(0,T.gn)([(0,S.oS)(),(0,f.yF)()],n.prototype,"nzDots",void 0),(0,T.gn)([(0,S.oS)(),(0,f.yF)()],n.prototype,"nzAutoPlay",void 0),(0,T.gn)([(0,S.oS)(),(0,f.Rn)()],n.prototype,"nzAutoPlaySpeed",void 0),(0,T.gn)([(0,f.Rn)()],n.prototype,"nzTransitionSpeed",void 0),(0,T.gn)([(0,S.oS)()],n.prototype,"nzLoop",void 0),(0,T.gn)([(0,S.oS)()],n.prototype,"nzDotPosition",null),n})(),ot=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[I.vT,_.ez,P.ud]}),n})();var z=i(2962),d=i(6976),Z=i(2574),B=i(2392),J=i(5676),V=i(2181),H=i(4223),j=i(6223),it=i(2996),G=i(7907),ht=i(855),st=i(551),dt=i(8091),mt=i(2616);function zt(n,s){if(1&n){const e=t.EpF();t.TgZ(0,"nz-radio-group",4),t.NdJ("ngModelChange",function(l){t.CHM(e);const u=t.oxw();return t.KtG(u.statsType=l)}),t.TgZ(1,"label",5),t._uU(2,"Total"),t.qZA(),t.TgZ(3,"label",6),t._uU(4,"Weekly"),t.qZA(),t.TgZ(5,"label",7),t._uU(6,"Monthly"),t.qZA(),t.TgZ(7,"label",8),t._uU(8,"Yearly"),t.qZA()()}if(2&n){const e=t.oxw();t.Q6J("ngModel",e.statsType)}}function ft(n,s){1&n&&(t._UZ(0,"i",31),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Assertion"))}function vt(n,s){1&n&&(t._UZ(0,"i",32),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"EvidenceItem"))}function Ct(n,s){1&n&&(t._UZ(0,"i",33),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Gene"))}function _t(n,s){1&n&&(t._UZ(0,"i",34),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Variant"))}function Tt(n,s){1&n&&(t._UZ(0,"i",35),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"MolecularProfile"))}function yt(n,s){1&n&&(t._UZ(0,"i",36),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Disease"))}function xt(n,s){1&n&&(t._UZ(0,"i",37),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Therapy"))}function St(n,s){1&n&&(t._UZ(0,"i",38),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Source"))}function At(n,s){1&n&&(t._UZ(0,"i",39),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Revision"))}function Et(n,s){1&n&&(t._UZ(0,"i",40),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Curator"))}function Zt(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-row",9)(2,"nz-col",10)(3,"a",11),t._UZ(4,"nz-statistic",12),t.ALo(5,"number"),t.YNc(6,ft,2,3,"ng-template",null,13,t.W1O),t.qZA()(),t.TgZ(8,"nz-col",10)(9,"a",14),t._UZ(10,"nz-statistic",12),t.ALo(11,"number"),t.YNc(12,vt,2,3,"ng-template",null,15,t.W1O),t.qZA()(),t.TgZ(14,"nz-col",10)(15,"a",16),t._UZ(16,"nz-statistic",12),t.ALo(17,"number"),t.YNc(18,Ct,2,3,"ng-template",null,17,t.W1O),t.qZA()(),t.TgZ(20,"nz-col",10)(21,"a",18),t._UZ(22,"nz-statistic",12),t.ALo(23,"number"),t.YNc(24,_t,2,3,"ng-template",null,19,t.W1O),t.qZA()(),t.TgZ(26,"nz-col",10)(27,"a",20),t._UZ(28,"nz-statistic",12),t.ALo(29,"number"),t.YNc(30,Tt,2,3,"ng-template",null,21,t.W1O),t.qZA()()(),t.TgZ(32,"nz-row",9)(33,"nz-col",10)(34,"a",22),t._UZ(35,"nz-statistic",12),t.ALo(36,"number"),t.YNc(37,yt,2,3,"ng-template",null,23,t.W1O),t.qZA()(),t.TgZ(39,"nz-col",10)(40,"a",24),t._UZ(41,"nz-statistic",12),t.ALo(42,"number"),t.YNc(43,xt,2,3,"ng-template",null,25,t.W1O),t.qZA()(),t.TgZ(45,"nz-col",10)(46,"a",26),t._UZ(47,"nz-statistic",12),t.ALo(48,"number"),t.YNc(49,St,2,3,"ng-template",null,27,t.W1O),t.qZA()(),t.TgZ(51,"nz-col",10),t._UZ(52,"nz-statistic",12),t.ALo(53,"number"),t.YNc(54,At,2,3,"ng-template",null,28,t.W1O),t.qZA(),t.TgZ(56,"nz-col",10)(57,"a",29),t._UZ(58,"nz-statistic",12),t.ALo(59,"number"),t.YNc(60,Et,2,3,"ng-template",null,30,t.W1O),t.qZA()()(),t.BQk()),2&n){const e=s.ngIf,r=t.MAs(7),l=t.MAs(13),u=t.MAs(19),U=t.MAs(25),$=t.MAs(31),R=t.MAs(38),at=t.MAs(44),lt=t.MAs(50),ct=t.MAs(55),F=t.MAs(61),v=t.oxw();t.xp6(4),t.Q6J("nzTitle",v.label()+" Assertions")("nzValue",t.lcZ(5,30,e.assertions[v.statsType]))("nzPrefix",r),t.xp6(6),t.Q6J("nzTitle",v.label()+" Evidence")("nzValue",t.lcZ(11,32,e.evidenceItems[v.statsType]))("nzPrefix",l),t.xp6(6),t.Q6J("nzTitle",v.label()+" Genes")("nzValue",t.lcZ(17,34,e.genes[v.statsType]))("nzPrefix",u),t.xp6(6),t.Q6J("nzTitle",v.label()+" Variants")("nzValue",t.lcZ(23,36,e.variants[v.statsType]))("nzPrefix",U),t.xp6(6),t.Q6J("nzTitle",v.label()+" Molecular Profiles")("nzValue",t.lcZ(29,38,e.molecularProfiles[v.statsType]))("nzPrefix",$),t.xp6(7),t.Q6J("nzTitle",v.label()+" Diseases")("nzValue",t.lcZ(36,40,e.diseases[v.statsType]))("nzPrefix",R),t.xp6(6),t.Q6J("nzTitle",v.label()+" Therapies")("nzValue",t.lcZ(42,42,e.therapies[v.statsType]))("nzPrefix",at),t.xp6(6),t.Q6J("nzTitle",v.label()+" Sources")("nzValue",t.lcZ(48,44,e.sources[v.statsType]))("nzPrefix",lt),t.xp6(5),t.Q6J("nzTitle",v.label()+" Revisions")("nzValue",t.lcZ(53,46,e.revisions[v.statsType]))("nzPrefix",ct),t.xp6(6),t.Q6J("nzTitle",v.label()+" Contributors")("nzValue",t.lcZ(59,48,e.users[v.statsType]))("nzPrefix",F)}}function Pt(n,s){if(1&n&&(t.TgZ(0,"nz-row",9)(1,"nz-col",10),t._UZ(2,"nz-statistic",41),t.qZA(),t.TgZ(3,"nz-col",10),t._UZ(4,"nz-statistic",41),t.qZA(),t.TgZ(5,"nz-col",10),t._UZ(6,"nz-statistic",41),t.qZA(),t.TgZ(7,"nz-col",10),t._UZ(8,"nz-statistic",41),t.qZA(),t.TgZ(9,"nz-col",10),t._UZ(10,"nz-statistic",41),t.qZA()(),t.TgZ(11,"nz-row",9)(12,"nz-col",10),t._UZ(13,"nz-statistic",41),t.qZA(),t.TgZ(14,"nz-col",10),t._UZ(15,"nz-statistic",41),t.qZA(),t.TgZ(16,"nz-col",10),t._UZ(17,"nz-statistic",41),t.qZA(),t.TgZ(18,"nz-col",10),t._UZ(19,"nz-statistic",41),t.qZA(),t.TgZ(20,"nz-col",10),t._UZ(21,"nz-statistic",41),t.qZA()()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("nzTitle",e.label()+" Assertions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Evidence")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Genes")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Variants")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Molecular Profiles")("nzValue","--"),t.xp6(3),t.Q6J("nzTitle",e.label()+" Diseases")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Therapies")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Sources")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Revisions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Contributors")("nzValue","--")}}let kt=(()=>{class n{constructor(e){this.statsGql=e,this.statsLabel={allTime:"Total",newThisYear:"Yearly",newThisMonth:"Monthly",newThisWeek:"Weekly"},this.statsType="allTime"}label(){return this.statsLabel[this.statsType]}ngOnInit(){this.statsRef=this.statsGql.watch({}),this.response$=this.statsRef.valueChanges,this.isLoading$=this.response$.pipe((0,H.j)("loading"),(0,V.h)(J.ep)),this.stats$=this.response$.pipe((0,H.j)("data","timepointStats"),(0,V.h)(J.ep))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(A.UWf))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-site-stats-card"]],decls:7,vars:5,consts:[["nzTitle","Knowledgebase Statistics","nzSize","small",1,"home-card",3,"nzExtra"],["statsRadioGroup",""],[4,"ngIf","ngIfElse"],["isLoading",""],["nzSize","small",3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","allTime"],["nz-radio-button","","nzValue","newThisWeek"],["nz-radio-button","","nzValue","newThisMonth"],["nz-radio-button","","nzValue","newThisYear"],["nzGutter","8"],["nzFlex","1"],["routerLink","/assertions"],[3,"nzTitle","nzValue","nzPrefix"],["assertionIcon",""],["routerLink","/evidence"],["evidenceIcon",""],["routerLink","/genes"],["geneIcon",""],["routerLink","/variants"],["variantIcon",""],["routerLink","/molecular-profiles"],["mpIcon",""],["routerLink","/diseases"],["diseaseIcon",""],["routerLink","/therapies"],["therapyIcon",""],["routerLink","/sources"],["sourceIcon",""],["revisionsIcon",""],["routerLink","/users"],["userIcon",""],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-molecularprofile",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-disease",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-therapy",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-user",3,"nzTwotoneColor"],[3,"nzTitle","nzValue"]],template:function(e,r){if(1&e&&(t.TgZ(0,"nz-card",0),t.YNc(1,zt,9,1,"ng-template",null,1,t.W1O),t.YNc(3,Zt,62,50,"ng-container",2),t.ALo(4,"ngrxPush"),t.YNc(5,Pt,22,20,"ng-template",null,3,t.W1O),t.qZA()),2&e){const l=t.MAs(2),u=t.MAs(6);t.Q6J("nzExtra",l),t.xp6(3),t.Q6J("ngIf",t.lcZ(4,3,r.stats$))("ngIfElse",u)}},dependencies:[_.O5,j.JJ,j.On,o.rH,it.my,x.t3,x.SK,z.bd,G.Of,G.Bq,G.Dg,ht.w,st.Ls,_.JJ,dt.fM,mt.a],styles:["[_nghost-%COMP%]{display:block}.home-card[_ngcontent-%COMP%]{border-radius:8px}"]}),n})();var Mt=i(553),K=i(2840),It=i(1958),gt=i(804),Ot=i(7169);function wt(n,s){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",9),t.BQk()),2&n){const e=t.oxw().ngIf,r=t.oxw(3);t.xp6(1),t.Q6J("events",e)("tagDisplay",r.tagDisplay)}}function Nt(n,s){1&n&&(t.ynx(0),t.TgZ(1,"button",10),t._uU(2," See Full Activity Feed "),t.qZA(),t.BQk())}function Dt(n,s){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",8),t.YNc(3,wt,2,2,"ng-container",0),t.YNc(4,Nt,3,0,"ng-container",7),t.ALo(5,"ngrxPush"),t.qZA()(),t.BQk()),2&n){const e=s.ngIf,r=t.oxw(3),l=t.MAs(3);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",e.length)("ngIfElse",l),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,r.pageInfo$))}}function Ut(n,s){if(1&n&&(t.TgZ(0,"nz-card",6),t.YNc(1,Dt,6,6,"ng-container",7),t.ALo(2,"ngrxPush"),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("nzTitle",void 0),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,2,e.events$))}}function bt(n,s){1&n&&(t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),t.YNc(4,Ut,3,4,"nz-card",5),t.qZA()()(),t.BQk()),2&n&&(t.xp6(1),t.Q6J("nzGutter",16))}function Lt(n,s){1&n&&t._UZ(0,"nz-empty",11)}let Bt=(()=>{class n{constructor(e){this.gql=e,this.pageSize=15,this.mode=A.wJ2.Unscoped,this.tagDisplay="hideOrg",this.showFilters=!1}ngOnInit(){this.initialQueryVars={first:this.pageSize,mode:this.mode,showFilters:this.showFilters,includeAutomatedEvents:!1},this.queryRef=Mt.N.production?this.gql.watch(this.initialQueryVars,{pollInterval:3e4}):this.gql.watch(this.initialQueryVars),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,H.j)("data"),(0,V.h)(J.ep),(0,a.U)(({events:e})=>e.pageInfo)),this.events$=this.results$.pipe((0,H.j)("data"),(0,V.h)(J.ep),(0,a.U)(({events:e})=>e.edges.map(r=>r.node))),this.unfilteredCount$=this.results$.pipe((0,H.j)("data"),(0,V.h)(J.ep),(0,a.U)(({events:e})=>e.unfilteredCount))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(A.BTF))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-homepage-event-feed"]],inputs:{pageSize:"pageSize"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],["nzSpan","24"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle",4,"nzSpaceItem"],[3,"nzTitle"],[4,"ngIf"],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-button","","nzType","default","nzSize","small","nzBlock","","routerLink","/curation/activity"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(e,r){if(1&e&&(t.YNc(0,bt,5,1,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,Lt,1,0,"ng-template",null,1,t.W1O)),2&e){const l=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,r.unfilteredCount$))("ngIfElse",l)}},dependencies:[_.O5,o.rH,K.ix,ht.w,It.dQ,z.bd,x.t3,x.SK,Z.NU,Z.$1,gt.p9,Ot.r,dt.fM],styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]}),n})();function Jt(n,s){1&n&&(t.TgZ(0,"nz-carousel",6)(1,"div",7)(2,"h1"),t._uU(3,"Welcome to CIViC"),t.qZA(),t.TgZ(4,"h2"),t._uU(5," an open-source platform supporting crowdsourced and expert-moderated cancer variant curation. "),t.qZA()(),t.TgZ(6,"div",7)(7,"h1"),t._uU(8," Discover supported clinical interpretations "),t._UZ(9,"br"),t._uU(10," of mutations related to cancer. "),t.qZA()(),t.TgZ(11,"div",7)(12,"h1"),t._uU(13," Participate with colleagues "),t._UZ(14,"br"),t._uU(15,"to add variants and support "),t._UZ(16,"br"),t._uU(17,"for cancer-related mutations. "),t.qZA()(),t.TgZ(18,"div",7)(19,"h1")(20,"a",8),t._uU(21,"Become an Editor! "),t._UZ(22,"br"),t._uU(23,"Help moderate updates to CIViC"),t.qZA()()()())}function Wt(n,s){1&n&&(t.TgZ(0,"nz-row")(1,"nz-col",4)(2,"nz-space",0),t.YNc(3,Jt,24,0,"nz-carousel",5),t.qZA()()()),2&n&&(t.xp6(1),t.Q6J("nzSpan",24))}function Qt(n,s){1&n&&(t.TgZ(0,"nz-row",9)(1,"nz-col",4),t._UZ(2,"cvc-site-stats-card"),t.qZA()()),2&n&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}function Yt(n,s){1&n&&(t.TgZ(0,"nz-row",9)(1,"nz-col",4)(2,"nz-card",10)(3,"nz-list",11)(4,"nz-list-item")(5,"nz-list-item-meta")(6,"nz-list-item-meta-title")(7,"span"),t._uU(8,"Introducing Molecular Profiles"),t.qZA(),t._UZ(9,"br"),t.TgZ(10,"span",12),t._uU(11," January 9th, 2023 "),t.qZA()()(),t._uU(12," Today we have rolled out support for a new core concept in CIViC: "),t.TgZ(13,"a",13),t._uU(14," Molecular Profiles"),t.qZA(),t._uU(15,". Molecular Profiles are logical combinations of one or more CIViC Variants. While most Molecular Profiles will consist of a single Variant (\u201cSimple\u201d) they will also allow users to build \u201cComplex\u201d (multi-variant) Molecular Profiles to associate Evidence with. These complex profiles expand the CIViC data model to allow for clinical significance to be evaluated within contexts such as variant co-occurrence or mutual exclusivity. Going forward, Evidence will be associated with a Molecular Profile rather than directly with a Variant. If you have any questions about this change, please feel free to "),t.TgZ(16,"a",14),t._uU(17,"contact us"),t.qZA(),t._uU(18,". We have also prepared a "),t.TgZ(19,"a",15),t._uU(20,"video"),t.qZA(),t._uU(21," explaining this new feature. "),t.TgZ(22,"nz-list-item-extra",16),t._UZ(23,"iframe",17),t.qZA()(),t.TgZ(24,"nz-list-item")(25,"nz-list-item-meta")(26,"nz-list-item-meta-title")(27,"span"),t._uU(28,"Announcing Support for ASH Abstracts "),t.qZA(),t._UZ(29,"br"),t.TgZ(30,"span",12),t._uU(31," January 9, 2023 "),t.qZA()()(),t._UZ(32,"img",18),t._uU(33," ASH Annual Meeting Abstracts can now be used as Sources when submitting Evidence Items to CIViC. They can be specified by DOI in the 'Add Source' section of the Evidence form. "),t._UZ(34,"nz-list-item-extra"),t.qZA(),t.TgZ(35,"nz-list-item")(36,"nz-list-item-meta")(37,"nz-list-item-meta-title")(38,"span"),t._uU(39,"CIViC named as a Global Core Biodata Resource"),t.qZA(),t._UZ(40,"br"),t.TgZ(41,"span",12),t._uU(42," Dec 15, 2022 "),t.qZA()()(),t.TgZ(43,"a",19),t._UZ(44,"img",20),t.qZA(),t._uU(45," CIViC has been named in a "),t.TgZ(46,"a",21),t._uU(47,"list of 37 Global Core Biodata Resources"),t.qZA(),t._uU(48," alongside other important resources such as Ensembl, ClinGen and Gnomad. The GCBR includes "),t.TgZ(49,"a",22),t._uU(50,"select resources"),t.qZA(),t._uU(51," that ensure the long term preservation of biological data, and are of fundamental importance to the biological and life sciences community. "),t._UZ(52,"nz-list-item-extra"),t.qZA(),t.TgZ(53,"nz-list-item")(54,"nz-list-item-meta")(55,"nz-list-item-meta-title")(56,"span"),t._uU(57,"CIViC Wins ICTR Elevator Pitch Award"),t.qZA(),t._UZ(58,"br"),t.TgZ(59,"span",12),t._uU(60," September 14th, 2022 "),t.qZA()()(),t._uU(61," At this year's "),t.TgZ(62,"a",23),t._uU(63,"Informatics Technology for Cancer Research"),t.qZA(),t._uU(64," annual "),t.TgZ(65,"a",24),t._uU(66,"meeting in St. Louis"),t.qZA(),t._uU(67,', CIViC won 1st prize in the Elevator Pitch contest for "Most Potential for Patient Impact". Please check out the award-winning elevator pitch, now featured at the top of the '),t.TgZ(68,"a",25),t._uU(69,"About CIViC page"),t.qZA(),t._uU(70,". "),t._UZ(71,"nz-list-item-extra"),t.qZA(),t.TgZ(72,"nz-list-item")(73,"nz-list-item-meta")(74,"nz-list-item-meta-title")(75,"span"),t._uU(76,"Pediatric Cancer Variants"),t.qZA(),t._UZ(77,"br"),t.TgZ(78,"span",12),t._uU(79," February 12th, 2021 "),t.qZA()()(),t._uU(80," Through support from the Childhood Cancer Data Initiative (CCDI), we have executed our initial phase of highlighting pediatric cancer variant content. This advanced search query displays childhood relevant data contained in CIViC. Stay tuned for more pediatric-focused features as we launch the first open-access searchable childhood-cancer-specific dataset. "),t._UZ(81,"nz-list-item-extra"),t.qZA()()()(),t.TgZ(82,"nz-col",4)(83,"nz-card",26),t._UZ(84,"cvc-homepage-event-feed",27),t.qZA()()()),2&n&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(81),t.Q6J("nzSpan",12),t.xp6(2),t.Q6J("pageSize",23))}function $t(n,s){1&n&&(t.TgZ(0,"nz-row",9)(1,"nz-col",4)(2,"nz-card",28)(3,"p"),t._uU(4," CIViC is a community-edited forum for discussion and interpretation of peer-reviewed publications pertaining to the clinical relevance of variants (or biomarker alterations) in cancer. These interpretations may include associations between molecular alterations (or lack of alteration) and one or more therapies, diagnoses, prognoses or other treatment decisions. These interpretations of clinical significance (or lack of clinical significance) are purely for research purposes. A finding of no interpretation does not necessarily indicate lack of relevance for any specific variant or biomarker alteration. Interpretations are not presented in ranked order of potential or predicted importance. These interpretations make no promise or guarantee of any clinical benefit (or lack of clinical benefit). "),t.qZA(),t.TgZ(5,"p"),t._uU(6," The civicdb.org website does not provide any medical or healthcare products, services or advice, and is not for medical emergencies or urgent situations. "),t.TgZ(7,"strong"),t._uU(8,"IF YOU THINK YOU MAY HAVE A MEDICAL EMERGENCY, CALL YOUR DOCTOR OR 911 IMMEDIATELY"),t.qZA(),t._uU(9,". Information contained on this website is not a substitute for a doctor's medical judgment or advice. We recommend that you discuss your specific, individual health concerns with your doctor or health care professional. "),t.qZA()()()()),2&n&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}function Rt(n,s){if(1&n&&(t.TgZ(0,"nz-row",30)(1,"div",31),t._uU(2),t.ALo(3,"date"),t.TgZ(4,"a",32),t._uU(5,"Release Notes"),t.qZA(),t._uU(6," \u2022 "),t.TgZ(7,"a",33),t._uU(8,"History"),t.qZA()()()),2&n){const e=t.oxw().ngIf;t.xp6(2),t.AsE(" CIViC ",e.name," (",t.lcZ(3,3,e.published_at),") \u2022 "),t.xp6(2),t.Q6J("href",e.html_url,t.LSH)}}function Ft(n,s){1&n&&(t.ynx(0),t.YNc(1,Rt,9,5,"nz-row",29),t.BQk())}const Vt=[{path:"",component:(()=>{class n{constructor(e){this.http=e,this.feedMode=A.wJ2.Unscoped}ngOnInit(){this.release$=this.http.get("https://api.github.com/repos/griffithlab/civic-v2/releases?per_page=1").pipe((0,a.U)(e=>e[0]))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(O.eN))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-welcome"]],decls:7,vars:3,consts:[["nzDirection","vertical","nzSize","middle",1,"space-container"],[4,"nzSpaceItem"],[3,"nzGutter",4,"nzSpaceItem"],[4,"ngIf"],[3,"nzSpan"],["nzAutoPlay","","nzAutoPlaySpeed","10000",4,"nzSpaceItem"],["nzAutoPlay","","nzAutoPlaySpeed","10000"],["nz-carousel-content",""],["href","https://civic.readthedocs.io/en/latest/curating/editor.html","target","_blank",1,"header-link"],[3,"nzGutter"],["nzTitle","News & Events","nzSize","small",1,"home-card",2,"height","100%"],["nzItemLayout","vertical"],["nz-typography","","nzType","secondary"],["href","https://civic.readthedocs.io/en/latest/model/molecular_profiles.html","target","_blank"],["href","mailto:help@civicdb.org"],["href","https://www.youtube.com/watch?v=--i54jY746w","target","_blank"],[2,"padding-top","100px"],["width","300","src","https://www.youtube.com/embed/--i54jY746w","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["src","assets/images/ash-control-screenshot.png","alt","Screenshot of Add Source form Control",2,"float","right","margin","-20px 8px 8px 8px","height","75px"],["href","https://globalbiodata.org","title","GCBR Homepage","target","_blank"],["src","assets/images/GCBR-Logo-RGB.png","alt","The Global Code Biodata Resources Logo",2,"float","right","margin","0 0 8px 8px","height","75px"],["href","https://globalbiodata.org/scientific-activities/global-core-biodata-resources/","title","Global Core Biodata Resources List","target","_blank"],["href","https://globalbiodata.org/scientific-activities/global-core-biodata-resources/gcbr-selection-2022/","title","GCBR Selection Process Overview, 2022","target","_blank"],["href","https://itcr.cancer.gov"],["href","https://itcr2022.org/#abstracts"],["href","/pages/about"],["nzTitle","Live Curation Activity","nzSize","small",1,"home-card",2,"height","100%"],[3,"pageSize"],["nzTitle","Medical Disclaimer: This resource is intended for purely research purposes. It should not be used for emergencies or medical or professional advice.","nzSize","small",1,"home-card"],["nzAlign","middle","nzJustify","center",4,"nzSpaceItem"],["nzAlign","middle","nzJustify","center"],["id","release-info","nz-typography",""],["target","_blank",3,"href"],["href","https://github.com/griffithlab/civic-v2/releases/","target","_blank"]],template:function(e,r){1&e&&(t.TgZ(0,"nz-space",0),t.YNc(1,Wt,4,1,"nz-row",1),t.YNc(2,Qt,3,2,"nz-row",2),t.YNc(3,Yt,85,4,"nz-row",2),t.YNc(4,$t,10,2,"nz-row",2),t.YNc(5,Ft,2,0,"ng-container",3),t.ALo(6,"async"),t.qZA()),2&e&&(t.xp6(5),t.Q6J("ngIf",t.lcZ(6,1,r.release$)))},dependencies:[_.O5,x.t3,x.SK,nt,E,z.bd,d.n_,d.AA,d.yi,d.IO,d.yw,Z.NU,Z.$1,B.ZU,kt,Bt,_.Ov,_.uU],styles:["[_nghost-%COMP%]{display:block}.space-container[_ngcontent-%COMP%]{display:block}.ant-carousel[_ngcontent-%COMP%]{border:1px solid #3e5166;border-radius:8px;height:200px;background-color:#001529}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%]{padding-top:3em;padding-left:3em;height:200px;background-color:#2e143e;overflow:hidden;color:#fff}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff}.home-card[_ngcontent-%COMP%]{border-radius:8px}.header-link[_ngcontent-%COMP%], #release-info[_ngcontent-%COMP%]{color:#fff}#release-info[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline}"]}),n})()}];let Ht=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[o.Bz.forChild(Vt),o.Bz]}),n})();var ut=i(279),jt=i(4139),rt=i(2524);let Gt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[_.ez,j.u5,o.Bz,it.A2,x.Jb,z.vh,G.aF,K.sL,jt.H0,B.ZJ,st.PV,ut.s,rt.s]}),n})();var Kt=i(3599),Xt=i(6494),qt=i(9691),te=i(4416),ee=i(1595),ne=i(6928);let oe=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[_.ez,j.u5,o.Bz,K.sL,z.vh,st.PV,Kt.U5,qt.LV,Xt.m,x.Jb,Z.zf,gt.Xo,ne.Rt,te.m,rt.s,ee.N,rt.s]}),n})(),ie=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[_.ez,j.u5,K.sL,x.Jb,ot,z.vh,d.Ph,G.aF,Z.zf,it.A2,B.ZJ,Ht,Gt,oe,ut.s]}),n})()},4139:(W,M,i)=>{i.d(M,{H0:()=>L});var o=i(5879),A=i(6814),a=i(9388);let L=(()=>{class m{}return m.\u0275fac=function(p){return new(p||m)},m.\u0275mod=o.oAB({type:m}),m.\u0275inj=o.cJS({imports:[a.vT,A.ez]}),m})()}}]); \ No newline at end of file diff --git a/server/public/1798.c32eec679b58ec3f.js b/server/public/1798.c32eec679b58ec3f.js deleted file mode 100644 index 885afbf89..000000000 --- a/server/public/1798.c32eec679b58ec3f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1798],{5749:(j,_,i)=>{i.d(_,{m:()=>a});var n=i(4650),s=i(6895),t=i(9116),m=i(6672),u=i(1102),v=i(6581),C=i(3240),x=i(4004),z=i(9300),y=i(7630),h=i(1971),d=i(3679),T=i(9194),f=i(6550),O=i(7881),P=i(2635);const I=function(o,e){return{displayName:o,profileImagePath:e}};function M(o,e){if(1&o&&(n._UZ(0,"cvc-user-avatar",12),n.TgZ(1,"span",13),n._uU(2),n.qZA()),2&o){const p=n.oxw().ngIf;n.Q6J("user",n.WLB(2,I,p.name,p.profileImagePath)),n.xp6(2),n.Oqu(p.name)}}function Z(o,e){if(1&o&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&o){const p=e.ngIf;n.xp6(1),n.Oqu(p)}}function A(o,e){if(1&o&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",14),n._uU(2),n.qZA(),n.BQk()),2&o){const p=n.oxw().ngIf;n.xp6(1),n.Q6J("href",p.url),n.xp6(1),n.hij(" ",p.name," ")}}function Q(o,e){if(1&o&&(n.ynx(0),n.TgZ(1,"nz-card",4),n.YNc(2,M,3,5,"ng-template",null,5,n.W1O),n.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),n.YNc(8,Z,2,1,"span",9),n.qZA()()()(),n.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),n.YNc(11,A,3,2,"ng-container",9),n.qZA()()(),n.BQk()),2&o){const p=e.ngIf,r=n.MAs(3);n.oxw();const B=n.MAs(4),S=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",r),n.xp6(7),n.Q6J("ngIf",p.description)("ngIfElse",B),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",p.url)("ngIfElse",S)}}function c(o,e){1&o&&n._uU(0," Organization has not provided a description.\n")}function N(o,e){1&o&&n._uU(0," -- ")}class g{constructor(e){this.gql=e}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,x.U)(({data:e})=>e?.organization),(0,z.h)(C.ep))}}function Y(o,e){}function J(o,e){if(1&o&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,Y,0,0,"ng-template",5),n.qZA(),n.BQk()),2&o){const p=n.oxw(),r=n.MAs(2);n.xp6(1),n.MGl("routerLink","/organizations/",p.org.id,""),n.xp6(1),n.Q6J("ngTemplateOutlet",r)}}function V(o,e){}function w(o,e){if(1&o&&n._UZ(0,"cvc-organization-popover",9),2&o){const p=n.oxw(3);n.Q6J("orgId",p.org.id)}}function U(o,e){if(1&o&&n.YNc(0,w,1,1,"cvc-organization-popover",8),2&o){const p=n.oxw(2);n.Q6J("ngIf",p.enablePopover)}}function E(o,e){if(1&o&&(n.TgZ(0,"nz-tag",6),n.YNc(1,V,0,0,"ng-template",5),n.qZA(),n.YNc(2,U,1,1,"ng-template",null,7,n.W1O)),2&o){const p=n.MAs(3);n.oxw();const r=n.MAs(6);n.Q6J("nzPopoverContent",p),n.xp6(1),n.Q6J("ngTemplateOutlet",r)}}function W(o,e){}function L(o,e){if(1&o&&n.YNc(0,W,0,0,"ng-template",5),2&o){n.oxw();const p=n.MAs(2);n.Q6J("ngTemplateOutlet",p)}}function l(o,e){if(1&o&&(n._UZ(0,"i",10),n._uU(1)),2&o){const p=n.oxw();n.xp6(1),n.hij(" ",p.org.name,"\n")}}g.\u0275fac=function(e){return new(e||g)(n.Y36(y.X5f))},g.\u0275cmp=n.Xpm({type:g,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(e,p){1&e&&(n.TgZ(0,"div",0),n.YNc(1,Q,12,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,c,1,0,"ng-template",null,2,n.W1O),n.YNc(5,N,1,0,"ng-template",null,3,n.W1O)),2&e&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,p.org$)))},dependencies:[s.O5,h.bd,d.t3,d.SK,T.R7,T.uj,f.l,O.L,P.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});class a{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(e,p){if(1&e&&(n.YNc(0,J,3,2,"ng-container",0),n.YNc(1,E,4,2,"ng-template",null,1,n.W1O),n.YNc(3,L,1,1,"ng-template",null,2,n.W1O),n.YNc(5,l,2,1,"ng-template",null,3,n.W1O)),2&e){const r=n.MAs(4);n.Q6J("ngIf",p.linked)("ngIfElse",r)}},dependencies:[s.O5,s.tP,t.rH,m.j,u.Ls,v.lU,g],styles:["[_nghost-%COMP%]{display:inline-block}"]})},7701:(j,_,i)=>{i.d(_,{j:()=>l});var n=i(6654),s=i(9771),t=i(4650),m=i(6895),u=i(9116),v=i(1102),C=i(6672),x=i(6581),z=i(4004),y=i(9300),h=i(3240),d=i(7630),T=i(1971),f=i(9194),O=i(6550),P=i(2635),I=i(160);function M(a,o){if(1&a&&(t._UZ(0,"i",7),t.ALo(1,"entityColor"),t._uU(2)),2&a){const e=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"VariantType")),t.xp6(2),t.hij(" ",e.name," ")}}function Z(a,o){if(1&a&&(t.TgZ(0,"cvc-link-tag",9),t._uU(1),t.qZA()),2&a){const e=t.oxw(2).ngIf;t.Q6J("href",e.url),t.xp6(1),t.hij(" ",e.soid," ")}}function A(a,o){if(1&a&&t.YNc(0,Z,2,2,"cvc-link-tag",8),2&a){const e=t.oxw().ngIf;t.Q6J("ngIf","N/A"!=e.soid)}}function Q(a,o){if(1&a&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,M,3,4,"ng-template",null,3,t.W1O),t.YNc(4,A,1,1,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),t._uU(8),t.qZA()()(),t.BQk()),2&a){const e=o.ngIf,p=t.MAs(3),r=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",p)("nzExtra",r),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(2),t.hij(" ",e.variantCount," ")}}class c{constructor(o){this.gql=o}ngOnInit(){if(null==this.variantTypeId)throw new Error("cvc-variant-type-popover requires valid variantTypeId input.");this.variantType$=this.gql.watch({variantTypeId:this.variantTypeId}).valueChanges.pipe((0,z.U)(({data:o})=>o?.variantTypePopover),(0,y.h)(h.ep))}}function N(a,o){}function g(a,o){if(1&a&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,N,0,0,"ng-template",6),t.qZA(),t.BQk()),2&a){const e=t.oxw(),p=t.MAs(2);t.xp6(1),t.Q6J("routerLink",e.variantType.link),t.xp6(1),t.Q6J("ngTemplateOutlet",p)}}function Y(a,o){}function J(a,o){if(1&a&&t._UZ(0,"cvc-variant-type-popover",9),2&a){const e=t.oxw(2);t.Q6J("variantTypeId",e.variantType.id)}}function V(a,o){if(1&a&&(t.TgZ(0,"nz-tag",7),t.YNc(1,Y,0,0,"ng-template",6),t.qZA(),t.YNc(2,J,1,1,"ng-template",null,8,t.W1O)),2&a){const e=t.MAs(3),p=t.oxw(),r=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",e)("nzPopoverTrigger",p.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function w(a,o){}function U(a,o){if(1&a&&t.YNc(0,w,0,0,"ng-template",6),2&a){t.oxw();const e=t.MAs(2);t.Q6J("ngTemplateOutlet",e)}}function E(a,o){}function W(a,o){if(1&a&&(t.TgZ(0,"nz-tag"),t.YNc(1,E,0,0,"ng-template",6),t.qZA()),2&a){t.oxw();const e=t.MAs(8);t.xp6(1),t.Q6J("ngTemplateOutlet",e)}}function L(a,o){if(1&a&&(t._UZ(0,"i",10),t._uU(1)),2&a){const e=t.oxw();t.Q6J("nzTwotoneColor",e.iconColor),t.xp6(1),t.hij(" ",e.variantType.name,"\n")}}c.\u0275fac=function(o){return new(o||c)(t.Y36(d.tw_))},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-variant-type-popover"]],inputs:{variantTypeId:"variantTypeId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2"],["nz-icon","","nzTheme","twotone","nzType","civic-varianttype",3,"nzTwotoneColor"],["tooltip","View on SequenceOntology.org",3,"href",4,"ngIf"],["tooltip","View on SequenceOntology.org",3,"href"]],template:function(o,e){1&o&&(t.TgZ(0,"div",0),t.YNc(1,Q,9,4,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&o&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,e.variantType$)))},dependencies:[m.O5,v.Ls,T.bd,f.R7,f.uj,O.l,P.fM,I.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});class l extends n.a{set variantType(o){if(!o)throw new Error("variant-type-tag variantType Input requires LinkableVariantType.");this._variantType=o}get variantType(){return this._variantType}idFunction(){return this.variantType.id}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,s.f)("VariantType")}}l.\u0275fac=function(o){return new(o||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["cvc-variant-type-tag"]],inputs:{variantType:"variantType",linked:"linked",enablePopover:"enablePopover"},features:[t.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["noPopover",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["variantTypePopover",""],[3,"variantTypeId"],["nz-icon","","nzType","civic-varianttype","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(o,e){if(1&o&&(t.YNc(0,g,3,2,"ng-container",0),t.YNc(1,V,4,4,"ng-template",null,1,t.W1O),t.YNc(3,U,1,1,"ng-template",null,2,t.W1O),t.YNc(5,W,2,1,"ng-template",null,3,t.W1O),t.YNc(7,L,2,2,"ng-template",null,4,t.W1O)),2&o){const p=t.MAs(4);t.Q6J("ngIf",e.linked)("ngIfElse",p)}},dependencies:[m.O5,m.tP,u.rH,v.Ls,C.j,x.lU,c],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}]); \ No newline at end of file diff --git a/server/public/1806.cd22bea928ef2c97.js b/server/public/1806.cd22bea928ef2c97.js deleted file mode 100644 index e4821b88c..000000000 --- a/server/public/1806.cd22bea928ef2c97.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1806],{1912:(Y,Z,t)=>{t.d(Z,{s:()=>I});var e=t(4650),l=t(6616),n=t(7044),c=t(1664),x=t(6960),i=t(5657),T=t(1102),r=t(6152);class g{constructor(U){this.cookies=U,this.location=function O(F){return encodeURIComponent(F).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}(window.location.href),this.xsrfToken=this.cookies.get("XSRF-TOKEN")}ngOnInit(){}}function _(F,U){1&F&&(e.ynx(0),e.TgZ(1,"p",5),e._uU(2," Click on one of the OAuth providers below to sign into CIViC. If you do not not have a CIViC account, one will be created for you based upon the account information your OAuth provider provides. "),e.qZA(),e._UZ(3,"cvc-auth-options-list"),e.BQk())}function M(F,U){1&F&&e._uU(0," Sign In / Sign Up ")}function P(F,U){if(1&F){const B=e.EpF();e.TgZ(0,"button",0),e.NdJ("click",function(){e.CHM(B);const o=e.oxw();return e.KtG(o.handleCancel())}),e._uU(1," Cancel "),e.qZA()}}g.\u0275fac=function(U){return new(U||g)(e.Y36(i.N))},g.\u0275cmp=e.Xpm({type:g,selectors:[["cvc-auth-options-list"]],decls:19,vars:6,consts:[["nzBordered","false","nzSplit","false"],["method","post",3,"action"],["type","hidden","name","authenticity_token",3,"value"],["type","submit","nz-button","","nzBlock","","nzType","default","nzSize","large","nzShape","round"],["nz-icon","","nzType","google"],["src","assets/images/orcid-logo.svg","alt","ORCID Logo",1,"orcid-logo"],["nz-icon","","nzType","github"]],template:function(U,B){1&U&&(e.TgZ(0,"nz-list",0)(1,"nz-list-item")(2,"form",1),e._UZ(3,"input",2),e.TgZ(4,"button",3),e._UZ(5,"i",4),e._uU(6," Sign In with a Google Account "),e.qZA()()(),e.TgZ(7,"nz-list-item")(8,"form",1),e._UZ(9,"input",2),e.TgZ(10,"button",3),e._UZ(11,"img",5),e._uU(12," Sign In with an ORCID Account "),e.qZA()()(),e.TgZ(13,"nz-list-item")(14,"form",1),e._UZ(15,"input",2),e.TgZ(16,"button",3),e._UZ(17,"i",6),e._uU(18," Sign In with a Github Account "),e.qZA()()()()),2&U&&(e.xp6(2),e.MGl("action","/api/auth/google_oauth2?origin=",B.location,"",e.LSH),e.xp6(1),e.s9C("value",B.xsrfToken),e.xp6(5),e.MGl("action","/api/auth/orcid?origin=",B.location,"",e.LSH),e.xp6(1),e.s9C("value",B.xsrfToken),e.xp6(5),e.MGl("action","/api/auth/github?origin=",B.location,"",e.LSH),e.xp6(1),e.s9C("value",B.xsrfToken))},dependencies:[T.Ls,r.n_,r.AA,l.ix,n.w,c.dQ],styles:["[_nghost-%COMP%]{display:block}nz-list-item[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}.orcid-logo[_ngcontent-%COMP%]{width:16px;margin-right:4px;line-height:1}i[_ngcontent-%COMP%]{font-size:16px}"]});class I{constructor(){this.authVisible=!1}ngOnInit(){}showAuth(){this.authVisible=!0}handleCancel(){this.authVisible=!1}}I.\u0275fac=function(U){return new(U||I)},I.\u0275cmp=e.Xpm({type:I,selectors:[["cvc-login-button"]],decls:9,vars:3,consts:[["nz-button","","nzType","primary","nzValue","small",3,"click"],[3,"nzVisible","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],[4,"nzModalContent"],["loginModalTitle",""],["loginModalFooter",""],["nzType","secondary"]],template:function(U,B){if(1&U&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return B.showAuth()}),e.TgZ(1,"span"),e._uU(2,"Sign In / Sign Up"),e.qZA()(),e.TgZ(3,"nz-modal",1),e.NdJ("nzVisibleChange",function(o){return B.authVisible=o})("nzOnCancel",function(){return B.handleCancel()}),e.YNc(4,_,4,0,"ng-container",2),e.qZA(),e.YNc(5,M,1,0,"ng-template",null,3,e.W1O),e.YNc(7,P,2,0,"ng-template",null,4,e.W1O)),2&U){const J=e.MAs(6),o=e.MAs(8);e.xp6(3),e.Q6J("nzVisible",B.authVisible)("nzTitle",J)("nzFooter",o)}},dependencies:[l.ix,n.w,c.dQ,x.du,x.Hf,g],styles:["[_nghost-%COMP%]{display:inline-block}"]})},1844:(Y,Z,t)=>{t.d(Z,{B:()=>T});var e=t(6895),l=t(6616),n=t(6960),c=t(6152),x=t(1102),O=t(4650);class i{}i.\u0275fac=function(g){return new(g||i)},i.\u0275mod=O.oAB({type:i}),i.\u0275inj=O.cJS({imports:[e.ez,x.PV,c.Ph,l.sL]});class T{}T.\u0275fac=function(g){return new(g||T)},T.\u0275mod=O.oAB({type:T}),T.\u0275inj=O.cJS({imports:[e.ez,l.sL,n.Qp,i]})},7881:(Y,Z,t)=>{t.d(Z,{L:()=>O});var e=t(4650),l=t(6895),n=t(4383);function c(i,T){if(1&i&&e._UZ(0,"nz-avatar",2),2&i){const r=e.oxw();e.Q6J("nzSrc",r.user.profileImagePath)("nzShape",r.shape?r.shape:"circle")("nzSize",r.size)}}function x(i,T){if(1&i&&(e._UZ(0,"nz-avatar",3),e.ALo(1,"uppercase")),2&i){const r=e.oxw();e.Q6J("nzSize",r.size)("nzText",e.lcZ(1,2,r.user.displayName.charAt(0)))}}class O{ngOnInit(){if(void 0===this.user)throw new Error("Must supply a user to use this component");void 0===this.size&&(this.size="default")}}O.\u0275fac=function(T){return new(T||O)},O.\u0275cmp=e.Xpm({type:O,selectors:[["cvc-user-avatar"]],inputs:{user:"user",size:"size",shape:"shape"},decls:3,vars:2,consts:[["nz-comment-avatar","",3,"nzSrc","nzShape","nzSize",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc","nzShape","nzSize"],["nz-comment-avatar","",3,"nzSize","nzText"]],template:function(T,r){if(1&T&&(e.YNc(0,c,1,3,"nz-avatar",0),e.YNc(1,x,2,4,"ng-template",null,1,e.W1O)),2&T){const g=e.MAs(2);e.Q6J("ngIf",r.user.profileImagePath)("ngIfElse",g)}},dependencies:[l.O5,n.Dz,l.gd],styles:["[_nghost-%COMP%]{display:inline-block}"]})},5473:(Y,Z,t)=>{t.d(Z,{H:()=>c});var e=t(6895),l=t(4383),n=t(4650);class c{}c.\u0275fac=function(O){return new(O||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[e.ez,l.Rt]})},9058:(Y,Z,t)=>{t.d(Z,{j:()=>n});var e=t(7630),l=t(4650);class n{transform(x){switch(x){case"ASSERTION":case"Assertion":case e.o71.Assertion:return"civic-assertion";case"EVIDENCE_ITEM":case"EvidenceItem":case e.o71.EvidenceItem:return"civic-evidence";case"GENE":case"Gene":case e.o71.Gene:return"civic-gene";case e.o71.Revision:case"REVISION":case"Revision":return"civic-revision";case e.o71.Variant:case"VARIANT":case"Variant":return"civic-variant";case e.o71.VariantGroup:case"VARIANT_GROUP":case"VariantGroup":return"civic-variant-group";case e.o71.MolecularProfile:case"MOLECULAR_PROFILE":case"MolecularProfile":return"civic-molecularprofile";default:return console.log("String No icon name found for "+x),"border-outer"}}}n.\u0275fac=function(x){return new(x||n)},n.\u0275pipe=l.Yjl({name:"iconNameForSubscribableEntity",type:n,pure:!0})},9180:(Y,Z,t)=>{t.d(Z,{Z:()=>n});var e=t(4650);class n{constructor(){}ngOnInit(){}}n.\u0275fac=function(x){return new(x||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-form-buttons"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"form-buttons"]],template:function(x,O){1&x&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:["[_nghost-%COMP%]{display:block}.form-buttons[_ngcontent-%COMP%]{text-align:right}"]})},4375:(Y,Z,t)=>{t.d(Z,{R:()=>n});var e=t(6895),l=t(4650);class n{}n.\u0275fac=function(x){return new(x||n)},n.\u0275mod=l.oAB({type:n}),n.\u0275inj=l.cJS({imports:[e.ez]})},822:(Y,Z,t)=>{t.d(Z,{V:()=>T});var e=t(4650),l=t(6895),n=t(9597);function c(r,g){if(1&r&&e._UZ(0,"nz-alert",4),2&r){const _=e.oxw();e.Q6J("nzDescription",_.errors[0])}}function x(r,g){if(1&r&&e._UZ(0,"nz-alert",5),2&r){e.oxw();const _=e.MAs(3);e.Q6J("nzDescription",_)}}function O(r,g){if(1&r&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&r){const _=g.$implicit;e.xp6(1),e.Oqu(_)}}function i(r,g){if(1&r&&(e.TgZ(0,"ul",6),e.YNc(1,O,2,1,"li",7),e.qZA()),2&r){const _=e.oxw();e.xp6(1),e.Q6J("ngForOf",_.errors)}}class T{constructor(){}ngOnInit(){1==this.errors.length&&(this.errors=this.errors[0].split("|"))}}T.\u0275fac=function(g){return new(g||T)},T.\u0275cmp=e.Xpm({type:T,selectors:[["cvc-form-errors-alert"]],inputs:{errors:"errors"},decls:4,vars:2,consts:[["nzType","error","nzShowIcon","",3,"nzDescription",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Submit Errors Occured",3,"nzDescription",4,"ngIf"],["nzSize","small"],["errorList",""],["nzType","error","nzShowIcon","",3,"nzDescription"],["nzType","error","nzShowIcon","","nzMessage","Submit Errors Occured",3,"nzDescription"],[1,"error-list"],[4,"ngFor","ngForOf"]],template:function(g,_){1&g&&(e.YNc(0,c,1,1,"nz-alert",0),e.YNc(1,x,1,1,"nz-alert",1),e.YNc(2,i,2,1,"ng-template",2,3,e.W1O)),2&g&&(e.Q6J("ngIf",1===_.errors.length),e.xp6(1),e.Q6J("ngIf",_.errors.length>1))},dependencies:[l.sg,l.O5,n.r],styles:["[_nghost-%COMP%]{display:block}.error-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 2em}"]})},7008:(Y,Z,t)=>{t.d(Z,{B:()=>c});var e=t(6895),l=t(9597),n=t(4650);class c{}c.\u0275fac=function(O){return new(O||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[e.ez,l.L]})},6789:(Y,Z,t)=>{t.d(Z,{_:()=>M});var e=t(6895),l=t(1971),n=t(317),c=t(9054),x=t(2635),O=t(6211),i=t(6212),T=t(1102),r=t(7570),g=t(4650);class _{}_.\u0275fac=function(I){return new(I||_)},_.\u0275mod=g.oAB({type:_}),_.\u0275inj=g.cJS({imports:[e.ez,x._N,x.pP,i.X0,O.j,c.cD,T.PV,r.cg,n.s]});class M{}M.\u0275fac=function(I){return new(I||M)},M.\u0275mod=g.oAB({type:M}),M.\u0275inj=g.cJS({imports:[e.ez,x._N,x.pP,i.X0,l.vh,O.j,c.cD,T.PV,r.cg,_,n.s]})},1825:(Y,Z,t)=>{t.d(Z,{A:()=>i});var e=t(6895),l=t(6616),n=t(4383),c=t(9562),x=t(2635),O=t(4650);class i{}i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=O.oAB({type:i}),i.\u0275inj=O.cJS({imports:[e.ez,x._N,x.pP,l.sL,n.Rt,c.b1]})},1793:(Y,Z,t)=>{t.d(Z,{m:()=>T});var i,e=t(655),l=t(4650),n=t(9933),c=t(457),x=t(4004),O=t(5910);let T=((i=class{constructor(g){this.el=g,this.domChange=new l.vpe,this.changes=new MutationObserver(_=>{(0,c.D)(_).pipe((0,x.U)(M=>{const P=M.target;return"class"===M.attributeName?{type:"class",change:P.classList.value,key:`${M.attributeName}:${P.classList.value}`}:"disabled"===M.attributeName?{type:"disabled",change:P.disabled,key:`${M.attributeName}:${P.disabled}`}:"hidden"===M.attributeName?{type:"hidden",change:P.hidden,key:`${M.attributeName}:${P.hidden}`}:{type:M.attributeName,change:"unknown change type",key:`${M.attributeName}:unknown-change-type`}}),(0,O.g)("key"),(0,n.t)(this)).subscribe(M=>{this.domChange.emit(M)})}),this.changes.observe(this.el.nativeElement,{attributeFilter:["class","disabled","hidden"],attributes:!0,childList:!1,subtree:!1})}ngAfterViewInit(){console.log(`directive ngAfterViewInit classList.value: ${this.el.nativeElement.classList.value}`),this.initialClass=this.el.nativeElement.classList.value}ngOnDestroy(){this.changes.disconnect()}}).\u0275fac=function(g){return new(g||i)(l.Y36(l.SBq))},i.\u0275dir=l.lG2({type:i,selectors:[["button","cvcOrgSelectorBtn",""]],outputs:{domChange:"domChange"}}),i);T=(0,e.gn)([(0,n.c)()],T)},7905:(Y,Z,t)=>{t.d(Z,{nT:()=>O,yQ:()=>c});var e=t(915),l=t(7630),n=t(444),c=(()=>{return(i=c||(c={})).EVIDENCE="Evidence",i.ASSERTION="Assertion",c;var i})();class O{constructor(T){this.validStates=new Map,this.getTypeOptions=()=>this.entityName==c.ASSERTION?(0,n.o6)(l.uBv).map(r=>r):(0,n.o6)(l.kqt).map(r=>r),this.getSignificanceOptions=r=>this.validStates.get(r)?.significance||[],this.isValidSignificanceOption=(r,g)=>{const _=this.validStates.get(r);return!_||_.significance.includes(g)},this.getDirectionOptions=r=>this.validStates.get(r)?.entityDirection||[],this.isValidDirectionOption=(r,g)=>{const _=this.validStates.get(r);return!_||_.entityDirection.includes(g)},this.requiresDrug=r=>{const g=this.validStates.get(r);return void 0===g||g.requiresDrug},this.requiresDisease=r=>{const g=this.validStates.get(r);return void 0===g||g.requiresDisease},this.requiresAcmgCodes=r=>{const g=this.validStates.get(r);return void 0===g||g.requiresAcmgCodes},this.requiresAmpLevel=r=>{const g=this.validStates.get(r);return void 0===g||g.requiresAmpLevel},this.requiresClingenCodes=r=>{const g=this.validStates.get(r);return void 0===g||g.requiresClingenCodes},this.allowsFdaApproval=r=>{const g=this.validStates.get(r);return void 0===g||g.allowsFdaApproval},this.getOptionsFromEnums=r=>0===r.length?[]:r.map(g=>({value:g,label:(0,e.E)(g)})),this.entityName=T,this.pluralNames=new Map,this.pluralNames.set(c.ASSERTION,"Assertions"),this.pluralNames.set(c.EVIDENCE,"Evidence")}}},4889:(Y,Z,t)=>{t.d(Z,{E:()=>I});var e=t(6895),l=t(4006),n=t(9116),c=t(6212),x=t(7221),O=t(6616),i=t(4650),T=t(7044),r=t(1664);function g(F,U){if(1&F){const B=i.EpF();i.TgZ(0,"button",2),i.NdJ("click",function(){i.CHM(B);const o=i.oxw();return i.KtG(o.callOnClick())}),i._uU(1," Cancel\n"),i.qZA()}}function _(F,U){if(1&F&&(i.TgZ(0,"button",3),i._uU(1," Cancel "),i.qZA()),2&F){const B=i.oxw();i.Q6J("routerLink",B.redirectPath)}}class M extends c.fS{constructor(){super(...arguments),this.redirectPath="/"}ngOnInit(){this.field.templateOptions?.onClick?this.callOnClick=this.field.templateOptions?.onClick:this.field.templateOptions?.redirectPath&&(this.redirectPath=this.field.templateOptions?.redirectPath)}}M.\u0275fac=function(){let F;return function(B){return(F||(F=i.n5z(M)))(B||M)}}(),M.\u0275cmp=i.Xpm({type:M,selectors:[["cvc-cancel-button"]],features:[i.qOj],decls:3,vars:2,consts:[["class","cancel-button","nz-button","","type","button","nzType","default","nzSize","large",3,"click",4,"ngIf","ngIfElse"],["redirect",""],["nz-button","","type","button","nzType","default","nzSize","large",1,"cancel-button",3,"click"],["nz-button","","type","button","nzType","default","nzSize","large",1,"cancel-button",3,"routerLink"]],template:function(U,B){if(1&U&&(i.YNc(0,g,2,0,"button",0),i.YNc(1,_,2,1,"ng-template",null,1,i.W1O)),2&U){const J=i.MAs(2);i.Q6J("ngIf",B.callOnClick)("ngIfElse",J)}},dependencies:[e.O5,O.ix,T.w,r.dQ,n.rH],styles:[".cancel-button[_ngcontent-%COMP%]{float:left}"]});const P={name:"cancel-button",component:M};class I{}I.\u0275fac=function(U){return new(U||I)},I.\u0275mod=i.oAB({type:I}),I.\u0275inj=i.cJS({imports:[e.ez,l.u5,l.UX,O.sL,n.Bz,x.F,c.X0.forChild({types:[P]})]})},4623:(Y,Z,t)=>{t.d(Z,{K:()=>g});var e=t(6895),l=t(6212),n=t(4650),c=t(4006),x=t(5635);class O extends l.fS{constructor(){super(...arguments),this.defaultOptions={defaultValue:"",validation:{messages:{minlength:(M,P)=>`Comments must be at least ${P.templateOptions?.minLength} characters in length.`}},templateOptions:{rows:4}}}}O.\u0275fac=function(){let _;return function(P){return(_||(_=n.n5z(O)))(P||O)}}(),O.\u0275cmp=n.Xpm({type:O,selectors:[["comment-textarea-type"]],features:[n.qOj],decls:1,vars:2,consts:[["nz-input","",3,"formControl","formlyAttributes"]],template:function(M,P){1&M&&n._UZ(0,"textarea",0),2&M&&n.Q6J("formControl",P.formControl)("formlyAttributes",P.field)},dependencies:[c.Fj,c.JJ,c.oH,l.JD,x.Zp],encapsulation:2,changeDetection:0});const i={name:"comment-textarea",component:O,wrappers:["form-field"]};var T=t(6704),r=t(4697);class g{}g.\u0275fac=function(M){return new(M||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[e.ez,c.UX,l.X0.forChild({types:[i]}),r.u,T.U5,x.o7]})},8390:(Y,Z,t)=>{t.d(Z,{N:()=>h});var e=t(6895),l=t(4006),n=t(6212),c=t(6704),x=t(5635),O=t(1102),i=t(4650),T=t(3679),r=t(6616),g=t(7044),_=t(1664),M=t(6672);function P(z,v){if(1&z){const d=i.EpF();i.TgZ(0,"nz-form-item")(1,"nz-form-control",3)(2,"nz-tag",4),i.NdJ("click",function(N){i.CHM(d);const W=i.oxw();return i.KtG(W.addField(N))}),i._UZ(3,"i",5),i._uU(4),i.qZA()()()}if(2&z){const d=i.oxw();i.xp6(1),i.Q6J("nzValidateStatus",d.errorState),i.xp6(3),i.hij(" ",d.to.addText," ")}}function I(z,v){if(1&z){const d=i.EpF();i.TgZ(0,"nz-tag",4),i.NdJ("click",function(N){i.CHM(d);const W=i.oxw(4);return i.KtG(W.addField(N))}),i._UZ(1,"i",5),i._uU(2),i.qZA()}if(2&z){const d=i.oxw(4);i.xp6(2),i.hij(" ",d.to.addText," ")}}function F(z,v){if(1&z&&(i.TgZ(0,"div",11),i.YNc(1,I,3,1,"nz-tag",12),i.qZA()),2&z){const d=i.oxw(2).$implicit,S=i.oxw();i.xp6(1),i.Q6J("ngIf",0==S.to.maxCount||S.to.maxCount>d.model.length)}}function U(z,v){if(1&z){const d=i.EpF();i.ynx(0),i.TgZ(1,"nz-tag",8)(2,"i",9),i.NdJ("click",function(){i.CHM(d);const N=i.oxw().index,W=i.oxw();return i.KtG(W.remove(N))}),i.qZA()(),i.YNc(3,F,2,1,"div",10),i.BQk()}if(2&z){const d=i.oxw().last;i.xp6(3),i.Q6J("ngIf",d)}}function B(z,v){if(1&z){const d=i.EpF();i.ynx(0),i.TgZ(1,"div",13)(2,"button",14),i.NdJ("click",function(){i.CHM(d);const N=i.oxw().index,W=i.oxw();return i.KtG(W.remove(N))}),i._UZ(3,"i",15),i.qZA()(),i.BQk()}}function J(z,v){if(1&z&&(i.TgZ(0,"nz-form-item")(1,"div",6)(2,"div",0),i._UZ(3,"formly-field",7),i.qZA(),i.YNc(4,U,4,1,"ng-container",1),i.YNc(5,B,4,0,"ng-container",1),i.qZA()()),2&z){const d=v.$implicit,S=v.index;i.xp6(2),i.Q6J("ngClass",d.model[S]?"selected-field-col":"default-field-col"),i.xp6(1),i.Q6J("field",d),i.xp6(1),i.Q6J("ngIf",d.model[S]),i.xp6(1),i.Q6J("ngIf",!d.model[S])}}const o=function(z){return{hidden:z}};class R extends n.hv{constructor(){super(),this.defaultOptions={templateOptions:{maxCount:0}}}get errorState(){return this.showError?"error":""}addField(v){v&&v.preventDefault(),this.add()}ngOnInit(){this.to.add=this.add.bind(this),this.to.remove=this.remove.bind(this)}}R.\u0275fac=function(v){return new(v||R)},R.\u0275cmp=i.Xpm({type:R,selectors:[["cvc-multi-field-type"]],features:[i.qOj],decls:3,vars:5,consts:[[3,"ngClass"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"nzValidateStatus"],["nzNoAnimation","",1,"editable-tag",3,"click"],["nz-icon","","nzType","plus"],["ngClass","field-display"],[3,"field"],[1,"close-tag"],["nz-icon","","nzType","close",3,"click"],["class","field-add-btn",4,"ngIf"],[1,"field-add-btn"],["class","editable-tag","nzNoAnimation","",3,"click",4,"ngIf"],[1,"field-cancel-btn"],["nz-button","","nzBlock","","nzType","default","nzSize","small","nzDanger","",3,"click"],["nz-icon","","nzType","close"]],template:function(v,d){1&v&&(i.TgZ(0,"div",0),i.YNc(1,P,5,2,"nz-form-item",1),i.YNc(2,J,6,4,"nz-form-item",2),i.qZA()),2&v&&(i.Q6J("ngClass",i.VKq(3,o,!0===d.to.hidden)),i.xp6(1),i.Q6J("ngIf",0===(null==d.field.fieldGroup?null:d.field.fieldGroup.length)),i.xp6(1),i.Q6J("ngForOf",d.field.fieldGroup))},dependencies:[e.mk,e.sg,e.O5,n.cw,T.t3,T.SK,c.Nx,c.Fd,O.Ls,r.ix,g.w,_.dQ,M.j],styles:["[_nghost-%COMP%]{display:block}nz-form-item[_ngcontent-%COMP%]{margin-bottom:.25em}nz-form-item[_ngcontent-%COMP%]:last-child{margin-bottom:16px}.hidden[_ngcontent-%COMP%]{display:none}.editable-tag[_ngcontent-%COMP%]{background:#ffffff;border-style:dashed;cursor:pointer}.field-display[_ngcontent-%COMP%]{margin-top:.5em;display:inline-block} > nz-form-item[_ngcontent-%COMP%]{margin-bottom:0}.selected-field-col[_ngcontent-%COMP%]{display:inline-block}.default-field-col[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - (2*(10px + 1em)))}.field-add-btn[_ngcontent-%COMP%]{display:inline-block;margin-left:1em}.close-tag[_ngcontent-%COMP%]{margin-left:-9px;cursor:pointer}.field-cancel-btn[_ngcontent-%COMP%]{display:inline-block;margin-left:1em;width:calc(20px + 1em)}"]});const K={name:"multi-field",component:R};function Q(z,v){if(1&z&&i._UZ(0,"formly-validation-message",3),2&z){const d=i.oxw();i.Q6J("field",d.field)}}class L extends n.n2{get errorState(){return this.showError?"error":""}}L.\u0275fac=function(){let z;return function(d){return(z||(z=i.n5z(L)))(d||L)}}(),L.\u0275cmp=i.Xpm({type:L,selectors:[["cvc-field-errors-wrapper"]],features:[i.qOj],decls:7,vars:3,consts:[[3,"nzValidateStatus","nzErrorTip"],["fieldComponent",""],["errorTpl",""],[3,"field"]],template:function(v,d){if(1&v&&(i.TgZ(0,"nz-form-control",0)(1,"p"),i._uU(2),i.qZA(),i.GkF(3,null,1),i.YNc(5,Q,1,1,"ng-template",null,2,i.W1O),i.qZA()),2&v){const S=i.MAs(6);i.Q6J("nzValidateStatus",d.errorState)("nzErrorTip",S),i.xp6(2),i.hij("errorState: ",d.errorState,"")}},dependencies:[T.t3,c.Fd,n.M2],encapsulation:2,changeDetection:0});const D={name:"cvc-field-errors",component:L};class C{}C.\u0275fac=function(v){return new(v||C)},C.\u0275mod=i.oAB({type:C}),C.\u0275inj=i.cJS({imports:[e.ez,l.UX,c.U5,n.X0.forChild({wrappers:[D]})]});var A=t(317);class h{}h.\u0275fac=function(v){return new(v||h)},h.\u0275mod=i.oAB({type:h}),h.\u0275inj=i.cJS({imports:[e.ez,l.u5,n.X0.forChild({types:[K]}),l.UX,C,c.U5,x.o7,O.PV,r.sL,A.s,M.X]})},7075:(Y,Z,t)=>{t.d(Z,{l:()=>I});var e=t(6895),l=t(6212),n=t(4650),c=t(6616),x=t(7044),O=t(1664),i=t(9180),T=t(1793);class r extends l.fS{constructor(){super(),this.defaultOptions={templateOptions:{submitLabel:"Submit",submitSize:"small"}}}}r.\u0275fac=function(U){return new(U||r)},r.\u0275cmp=n.Xpm({type:r,selectors:[["cvc-submit-button-type"]],features:[n.qOj],decls:3,vars:2,consts:[["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","large",3,"disabled"]],template:function(U,B){1&U&&(n.TgZ(0,"cvc-form-buttons")(1,"button",0),n._uU(2),n.qZA()()),2&U&&(n.xp6(1),n.Q6J("disabled",!B.form.valid),n.xp6(1),n.hij(" ",B.to.submitLabel," "))},dependencies:[c.ix,x.w,O.dQ,i.Z,T.m],encapsulation:2,changeDetection:0});const g={name:"submit-button",component:r};var _=t(4375),M=t(1825),P=t(4006);class I{}I.\u0275fac=function(U){return new(U||I)},I.\u0275mod=n.oAB({type:I}),I.\u0275inj=n.cJS({imports:[e.ez,P.UX,l.X0.forChild({types:[g]}),c.sL,_.R,M.A]})},7462:(Y,Z,t)=>{t.d(Z,{o:()=>T});var e=t(6895),l=t(6212),n=t(4650),c=t(4006),x=t(5635);class O extends l.fS{constructor(){super(...arguments),this.defaultOptions={templateOptions:{autosize:{minRows:2,maxRows:20}}}}}O.\u0275fac=function(){let r;return function(_){return(r||(r=n.n5z(O)))(_||O)}}(),O.\u0275cmp=n.Xpm({type:O,selectors:[["cvc-textarea-base-type"]],features:[n.qOj],decls:1,vars:4,consts:[["nz-input","",3,"formControl","formlyAttributes","nzAutosize","placeholder"]],template:function(g,_){1&g&&n._UZ(0,"textarea",0),2&g&&n.Q6J("formControl",_.formControl)("formlyAttributes",_.field)("nzAutosize",_.to.autosize)("placeholder",_.to.placeholder)},dependencies:[c.Fj,c.JJ,c.oH,l.JD,x.Zp,x.rh],encapsulation:2,changeDetection:0});const i={name:"cvc-textarea",component:O,wrappers:["form-field"]};class T{}T.\u0275fac=function(g){return new(g||T)},T.\u0275mod=n.oAB({type:T}),T.\u0275inj=n.cJS({imports:[e.ez,c.u5,c.UX,l.X0.forChild({types:[i]}),x.o7]})},7695:(Y,Z,t)=>{t.d(Z,{C:()=>D});var e=t(6895),l=t(2635),n=t(6212),c=t(1971),x=t(9054),O=t(3679),i=t(317),T=t(6789),r=t(4650),g=t(6211),_=t(1102),M=t(7570);function P(C,A){1&C&&r._UZ(0,"div",9),2&C&&r.Q6J("innerHtml",A.ngIf,r.oJD)}function I(C,A){1&C&&(r.TgZ(0,"div",10),r._uU(1,"Help not available for this field."),r.qZA())}function F(C,A){if(1&C&&(r.TgZ(0,"nz-collapse-panel",6),r.YNc(1,P,1,1,"div",7),r.YNc(2,I,2,0,"ng-template",null,8,r.W1O),r.qZA()),2&C){const h=A.ngIf,z=r.MAs(3),v=r.oxw().$implicit,d=r.MAs(3);r.Q6J("nzHeader",h)("nzActive",v.templateOptions.hasFocus)("nzExtra",d),r.xp6(1),r.Q6J("ngIf",null==v.templateOptions?null:v.templateOptions.helpText)("ngIfElse",z)}}function U(C,A){if(1&C&&r._UZ(0,"formly-validation-message",14),2&C){const h=r.oxw(4).$implicit;r.Q6J("field",h)}}function B(C,A){if(1&C&&(r.ynx(0),r._UZ(1,"i",12),r.YNc(2,U,1,1,"ng-template",null,13,r.W1O),r.BQk()),2&C){const h=r.MAs(3);r.xp6(1),r.Q6J("nzTooltipTitle",h)}}function J(C,A){if(1&C&&(r.ynx(0),r.YNc(1,B,4,1,"ng-container",11),r.BQk()),2&C){const h=A.ngIf;r.xp6(1),r.Q6J("ngIf","INVALID"===h)}}function o(C,A){if(1&C&&(r.YNc(0,J,2,1,"ng-container",11),r.ALo(1,"ngrxPush")),2&C){const h=r.oxw().$implicit;r.Q6J("ngIf",r.lcZ(1,1,h.formControl.statusChanges))}}function R(C,A){if(1&C&&(r.ynx(0),r.YNc(1,F,4,5,"nz-collapse-panel",4),r.YNc(2,o,2,3,"ng-template",null,5,r.W1O),r.BQk()),2&C){const h=A.$implicit;r.xp6(1),r.Q6J("ngIf",null==h.templateOptions?null:h.templateOptions.label)}}class K{constructor(){}ngOnInit(){}}K.\u0275fac=function(A){return new(A||K)},K.\u0275cmp=r.Xpm({type:K,selectors:[["cvc-form-info-card"]],inputs:{fieldGroup:"fieldGroup",affixTo:"affixTo"},decls:4,vars:4,consts:[[3,"nzOffsetTop","nzTarget"],["nzTitle","Form Assistant","nzSize","default",1,"form-helper-card"],[3,"nzBordered"],[4,"ngFor","ngForOf"],[3,"nzHeader","nzActive","nzExtra",4,"ngIf"],["fieldStatus",""],[3,"nzHeader","nzActive","nzExtra"],["class","help-text",3,"innerHtml",4,"ngIf","ngIfElse"],["noHelpText",""],[1,"help-text",3,"innerHtml"],[1,"help-text"],[4,"ngIf"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","#f5222d","nz-tooltip","","nzTooltipColor","red",3,"nzTooltipTitle"],["errorTooltip",""],[3,"field"]],template:function(A,h){1&A&&(r.TgZ(0,"nz-affix",0)(1,"nz-card",1)(2,"nz-collapse",2),r.YNc(3,R,4,1,"ng-container",3),r.qZA()()()),2&A&&(r.Q6J("nzOffsetTop",0)("nzTarget",h.affixTo),r.xp6(2),r.Q6J("nzBordered",!1),r.xp6(1),r.Q6J("ngForOf",h.fieldGroup))},dependencies:[e.sg,e.O5,n.M2,c.bd,g.$,x.Zv,x.yH,_.Ls,M.SY,l.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}.help-text[_ngcontent-%COMP%]{padding:6px 8px;border:1px solid #efefef;background:white;border-radius:6px}"]});class Q extends n.n2{}Q.\u0275fac=function(){let C;return function(h){return(C||(C=r.n5z(Q)))(h||Q)}}(),Q.\u0275cmp=r.Xpm({type:Q,selectors:[["cvc-form-info-wrapper"]],features:[r.qOj],decls:9,vars:5,consts:[["nzGutter","16"],[3,"nzSpan"],["nzSize","default",3,"nzTitle"],["fieldComponent",""],["infoCardContainer",""],[3,"fieldGroup","affixTo"]],template:function(A,h){if(1&A&&(r.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"nz-card",2),r.GkF(3,null,3),r.qZA()(),r.TgZ(5,"nz-col",1)(6,"div",null,4),r._UZ(8,"cvc-form-info-card",5),r.qZA()()()),2&A){const z=r.MAs(7);r.xp6(1),r.Q6J("nzSpan",16),r.xp6(1),r.Q6J("nzTitle",h.to.label),r.xp6(3),r.Q6J("nzSpan",8),r.xp6(3),r.Q6J("fieldGroup",h.field.fieldGroup)("affixTo",z)}},dependencies:[O.t3,O.SK,c.bd,K],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});const L={name:"form-info",component:Q};class D{}D.\u0275fac=function(A){return new(A||D)},D.\u0275mod=r.oAB({type:D}),D.\u0275inj=r.cJS({imports:[e.ez,l._N,l.pP,n.X0.forChild({wrappers:[L]}),O.Jb,c.vh,x.cD,T._,i.s]})},8785:(Y,Z,t)=>{t.d(Z,{t:()=>Q});var e=t(4650),l=t(6123),n=t(7579),c=t(2722),x=t(7630),O=t(9169),i=t(6895),T=t(4006),r=t(3679),g=t(6704),_=t(1971),M=t(9597),P=t(8521),I=t(6616),F=t(7044),U=t(1664),B=t(5681),J=t(822);function o(L,D){1&L&&e._UZ(0,"nz-alert",7)}function R(L,D){if(1&L&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",8),e.qZA()),2&L){const C=e.oxw();e.xp6(1),e.Q6J("errors",C.errorMessages)}}function K(L,D){if(1&L){const C=e.EpF();e.TgZ(0,"nz-form-item")(1,"textarea",9),e.NdJ("ngModelChange",function(h){e.CHM(C);const z=e.oxw();return e.KtG(z.coiText=h)}),e.qZA()()}if(2&L){const C=e.oxw();e.xp6(1),e.Q6J("ngModel",C.coiText)}}class Q{constructor(D,C){this.updateCoiGql=D,this.coiUpdatedEvent=new e.vpe,this.coiText=void 0,this.coiStatus="noCoi",this.success=!1,this.errorMessages=[],this.loading=!1,this.destroy$=new n.x,this.updateCoiMutator=new l.U(C)}updateCoi(){if("coiPresent"===this.coiStatus&&this.coiText||"noCoi"===this.coiStatus){this.errorMessages=[];let C=this.updateCoiMutator.mutate(this.updateCoiGql,{input:{coiPresent:"coiPresent"===this.coiStatus,statement:this.coiText}});C.submitSuccess$.pipe((0,c.R)(this.destroy$)).subscribe(A=>{A&&(this.resetForm(),this.success=!0,this.coiUpdatedEvent.emit())}),C.submitError$.pipe((0,c.R)(this.destroy$)).subscribe(A=>{A&&(this.errorMessages=A,this.success=!1)}),C.isSubmitting$.pipe((0,c.R)(this.destroy$)).subscribe(A=>{this.loading=A})}}resetForm(){this.coiStatus="noCoi",this.coiText=void 0}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}Q.\u0275fac=function(D){return new(D||Q)(e.Y36(x.IP1),e.Y36(O.Y))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["cvc-user-coi-form"]],outputs:{coiUpdatedEvent:"coiUpdatedEvent"},decls:14,vars:6,consts:[["nzBanner","","nzMessage","COI Statement Updated.","nzType","success","nzCloseable","",4,"ngIf"],[4,"ngIf"],["nzTip","Submitting",3,"nzSpinning"],[3,"ngModel","ngModelChange"],["nz-radio","","nzValue","noCoi"],["nz-radio","","nzValue","coiPresent"],["type","submit","nz-button","","nzType","primary","nzSize","small",3,"disabled","click"],["nzBanner","","nzMessage","COI Statement Updated.","nzType","success","nzCloseable",""],[3,"errors"],["nz-input","","rows","5","placeholder","Provide a concise description of any potential or actual conflicts of interest that you may have in curating CIViC",2,"width","100%",3,"ngModel","ngModelChange"]],template:function(D,C){1&D&&(e.TgZ(0,"nz-card"),e.YNc(1,o,1,0,"nz-alert",0),e.YNc(2,R,2,1,"nz-form-item",1),e.TgZ(3,"nz-spin",2)(4,"nz-form-item")(5,"nz-radio-group",3),e.NdJ("ngModelChange",function(h){return C.coiStatus=h}),e.TgZ(6,"label",4),e._uU(7,"I do not have any potential conflicts of interest."),e.qZA(),e.TgZ(8,"label",5),e._uU(9,"I do have a potential conflict of interest."),e.qZA()()(),e.YNc(10,K,2,1,"nz-form-item",1),e.TgZ(11,"nz-form-item")(12,"button",6),e.NdJ("click",function(){return C.updateCoi()}),e._uU(13," Save Conflict of Interest Statement "),e.qZA()()()()),2&D&&(e.xp6(1),e.Q6J("ngIf",C.success),e.xp6(1),e.Q6J("ngIf",C.errorMessages.length>0),e.xp6(1),e.Q6J("nzSpinning",C.loading),e.xp6(2),e.Q6J("ngModel",C.coiStatus),e.xp6(5),e.Q6J("ngIf","coiPresent"===C.coiStatus),e.xp6(2),e.Q6J("disabled",C.loading||"coiPresent"===C.coiStatus&&(void 0===C.coiText||C.coiText.length<10)))},dependencies:[i.O5,T.Fj,T.JJ,T.On,r.SK,g.Nx,_.bd,M.r,P.Of,P.Dg,I.ix,F.w,U.dQ,B.W,J.V],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-form-item[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"]})},330:(Y,Z,t)=>{t.d(Z,{e:()=>M});var e=t(6895),l=t(4006),n=t(2635),c=t(1971),x=t(9597),O=t(6704),i=t(7008),T=t(8521),r=t(5681),g=t(6616),_=t(4650);class M{}M.\u0275fac=function(I){return new(I||M)},M.\u0275mod=_.oAB({type:M}),M.\u0275inj=_.cJS({imports:[e.ez,l.u5,O.U5,l.UX,n._N,n.pP,c.vh,x.L,T.aF,g.sL,r.j,i.B]})},3044:(Y,Z,t)=>{t.d(Z,{G:()=>L});var e=t(4650),l=t(4006),n=t(7579),c=t(7630),x=t(7905);class O extends x.nT{constructor(){super(x.yQ.EVIDENCE),this.validStates.set(c.kqt.Predictive,{entityType:c.kqt.Predictive,significance:[c.y1h.Sensitivityresponse,c.y1h.Resistance,c.y1h.AdverseResponse,c.y1h.ReducedSensitivity,c.y1h.Na],entityDirection:[c.tI1.Supports,c.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(c.kqt.Diagnostic,{entityType:c.kqt.Diagnostic,significance:[c.y1h.Positive,c.y1h.Negative],entityDirection:[c.tI1.Supports,c.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(c.kqt.Prognostic,{entityType:c.kqt.Prognostic,significance:[c.y1h.BetterOutcome,c.y1h.PoorOutcome,c.y1h.Na],entityDirection:[c.tI1.Supports,c.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(c.kqt.Oncogenic,{entityType:c.kqt.Oncogenic,significance:[c.y1h.Oncogenicity,c.y1h.Protectiveness],entityDirection:[c.tI1.Supports,c.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(c.kqt.Predisposing,{entityType:c.kqt.Predisposing,significance:[c.y1h.Predisposition,c.y1h.Protectiveness],entityDirection:[c.tI1.Supports,c.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(c.kqt.Functional,{entityType:c.kqt.Functional,significance:[c.y1h.GainOfFunction,c.y1h.LossOfFunction,c.y1h.UnalteredFunction,c.y1h.Neomorphic,c.y1h.DominantNegative,c.y1h.Unknown],entityDirection:[c.tI1.Supports,c.tI1.DoesNotSupport],requiresDisease:!1,requiresDrug:!1,requiresAcmgCodes:!1,requiresClingenCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}var i=t(6123),T=t(2722),r=t(9169),g=t(9116),_=t(6895),M=t(3679),P=t(6704),I=t(9597),F=t(5681),U=t(6212),B=t(822);function J(D,C){1&D&&e.GkF(0)}function o(D,C){if(1&D&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",6),e.qZA()),2&D){const A=e.oxw(2);e.xp6(1),e.Q6J("errors",A.errorMessages)}}function R(D,C){if(1&D&&(e.TgZ(0,"p"),e._uU(1," View "),e.TgZ(2,"a",10),e._uU(3,"its details"),e.qZA(),e._uU(4,". "),e.qZA()),2&D){const A=e.oxw(3);e.xp6(2),e.MGl("routerLink","/variants/",A.newId,"/summary")}}function K(D,C){if(1&D&&(e.ynx(0),e._UZ(1,"nz-alert",7),e.YNc(2,R,5,1,"ng-template",8,9,e.W1O),e.BQk()),2&D){const A=e.MAs(3),h=e.oxw(2);e.xp6(1),e.Q6J("nzMessage",h.isNew?"Variant Created":"Variant Already Exists")("nzDescription",A)}}function Q(D,C){if(1&D&&(e.YNc(0,o,2,1,"nz-form-item",5),e.YNc(1,K,4,2,"ng-container",5)),2&D){const A=e.oxw();e.Q6J("ngIf",A.errorMessages.length>0),e.xp6(1),e.Q6J("ngIf",A.success)}}class L{constructor(C,A,h){this.submitVariantGQL=C,this.networkErrorService=A,this.route=h,this.onVariantSelected=new e.vpe,this.allowCreate=!0,this.destroy$=new n.x,this.formGroup=new l.nJ({}),this.formFields=[],this.formOptions={formState:new O},this.success=!1,this.errorMessages=[],this.loading=!1,this.submitVariantMutator=new i.U(A)}ngOnInit(){this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{},fieldGroup:[{key:"gene",type:"gene-array",templateOptions:{maxCount:1,required:!0},validation:{messages:{required:"Gene is required to select a variant."}}},{key:"variant",type:"variant-array",templateOptions:{required:!1,maxCount:1,allowCreate:this.allowCreate}}]}]}submitVariant(C){let A=C?.fields.gene[0].id,h=C?.fields.variant[0].name;if(A&&h){let v=this.submitVariantMutator.mutate(this.submitVariantGQL,{geneId:A,name:h},{},d=>{let S=d.addVariant;S&&(this.newId=S.variant.id,this.isNew=S.new,this.onVariantSelected.emit({variantId:S.variant.id,molecularProfile:S.variant.singleVariantMolecularProfile}))});v.submitSuccess$.pipe((0,T.R)(this.destroy$)).subscribe(d=>{d&&(this.success=!0)}),v.submitError$.pipe((0,T.R)(this.destroy$)).subscribe(d=>{d&&(this.errorMessages=d,this.success=!1)}),v.isSubmitting$.pipe((0,T.R)(this.destroy$)).subscribe(d=>{this.loading=d})}}onFormModelChange(C){this.formModel=C,C.fields.variant&&C.fields.variant[0]&&this.onVariantSelected.emit({variantId:C.fields.variant[0].id,molecularProfile:C.fields.variant[0].singleVariantMolecularProfile})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}L.\u0275fac=function(C){return new(C||L)(e.Y36(c.LUc),e.Y36(r.Y),e.Y36(g.gz))},L.\u0275cmp=e.Xpm({type:L,selectors:[["cvc-variant-submit-form"]],inputs:{allowCreate:"allowCreate"},outputs:{onVariantSelected:"onVariantSelected"},decls:6,vars:7,consts:[["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",2,"width","400px",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange"],["formMessages",""],[4,"ngIf"],[3,"errors"],["nzType","success","nzShowIcon","",3,"nzMessage","nzDescription"],["nzSize","small"],["successMessage",""],[3,"routerLink"]],template:function(C,A){if(1&C&&(e.TgZ(0,"nz-spin",0)(1,"form",1),e.NdJ("ngSubmit",function(){return A.submitVariant(A.formModel)}),e.YNc(2,J,1,0,"ng-container",2),e.TgZ(3,"formly-form",3),e.NdJ("modelChange",function(z){return A.onFormModelChange(z)}),e.qZA()()(),e.YNc(4,Q,2,2,"ng-template",null,4,e.W1O)),2&C){const h=e.MAs(5);e.Q6J("nzSpinning",A.loading),e.xp6(1),e.Q6J("formGroup",A.formGroup),e.xp6(1),e.Q6J("ngTemplateOutlet",h),e.xp6(1),e.Q6J("form",A.formGroup)("fields",A.formFields)("model",A.formModel)("options",A.formOptions)}},dependencies:[_.O5,_.tP,g.rH,l._Y,l.JL,l.sg,M.SK,P.Lr,P.Nx,I.r,F.W,U.T7,B.V],encapsulation:2})},5866:(Y,Z,t)=>{t.d(Z,{e:()=>un});var e=t(6895),l=t(4623),n=t(4375),c=t(7008),x=t(7695),O=t(8390),i=t(7462),T=t(6212),r=t(317),g=t(9597),_=t(6616),M=t(6704),P=t(3679),I=t(4006),F=t(9116),U=t(5951),B=t(7221),J=t(8231),o=t(4650),R=t(1971),K=t(7570);class Q{constructor(){console.log("FormCardDirective constructed.")}}function L(p,f){1&p&&o._UZ(0,"i",7)}function D(p,f){if(1&p&&(o.TgZ(0,"nz-form-label",5),o._uU(1),o.YNc(2,L,1,0,"i",6),o.qZA()),2&p){const u=o.oxw();o.Q6J("nzRequired",u.to.required&&!0!==u.to.hideRequiredMarker)("nzFor",u.id),o.xp6(1),o.hij(" ",u.to.label," "),o.xp6(1),o.Q6J("ngIf",u.to.helpText)}}function C(p,f){if(1&p&&o._UZ(0,"formly-validation-message",9),2&p){const u=o.oxw(2);o.Q6J("field",u.field)}}function A(p,f){if(1&p&&o.YNc(0,C,1,1,"formly-validation-message",8),2&p){const u=o.oxw();o.Q6J("ngIf",u.showError)}}Q.\u0275fac=function(f){return new(f||Q)},Q.\u0275dir=o.lG2({type:Q,selectors:[["",8,"cvc-form-card-control"]]});class h extends T.n2{get errorState(){return console.log(`form-card.wrapper showError: ${this.showError}`),this.showError?"error":""}constructor(){super()}ngOnInit(){}}h.\u0275fac=function(f){return new(f||h)},h.\u0275cmp=o.Xpm({type:h,selectors:[["form-card-wrapper"]],features:[o.qOj],decls:9,vars:4,consts:[[1,"cvc-form-card-control",3,"nzValidateStatus","nzErrorTip"],["nzSize","small","nzType","inner",3,"nzTitle","nzExtra"],["fieldComponent",""],["cardTitle",""],["cardExtra",""],[3,"nzRequired","nzFor"],["nzType","question-circle","nzTheme","fill","nz-tooltip","","nzTooltipTitle","to.helpText",4,"ngIf"],["nzType","question-circle","nzTheme","fill","nz-tooltip","","nzTooltipTitle","to.helpText"],[3,"field",4,"ngIf"],[3,"field"]],template:function(f,u){if(1&f&&(o.TgZ(0,"nz-form-item")(1,"nz-form-control",0)(2,"nz-card",1),o.GkF(3,null,2),o.qZA(),o.YNc(5,D,3,4,"ng-template",null,3,o.W1O),o.YNc(7,A,1,1,"ng-template",null,4,o.W1O),o.qZA()()),2&f){const E=o.MAs(6),H=o.MAs(8);o.xp6(1),o.Q6J("nzValidateStatus",u.errorState)("nzErrorTip",H),o.xp6(1),o.Q6J("nzTitle",E)("nzExtra",H)}},dependencies:[e.O5,P.t3,P.SK,M.Nx,M.iK,M.Fd,R.bd,K.SY,T.M2,Q],styles:["[_nghost-%COMP%]{display:block}.ant-form-item-label[_ngcontent-%COMP%]{padding:0}"],changeDetection:0});var z=t(1102);const v={wrappers:[{name:"form-card",component:h}]};class d{}d.\u0275fac=function(f){return new(f||d)},d.\u0275mod=o.oAB({type:d}),d.\u0275inj=o.cJS({imports:[e.ez,I.UX,M.U5,R.vh,z.PV,K.cg,T.X0.forChild(v),r.s]});var S=t(655),N=t(9300),W=t(4004),$=t(6579),q=t(3240),G=t(9933),k=t(7630),j=t(2635),X=t(6903),w=t(8823),en=t(3965);class on{constructor(f){this.host=f,this.autofocus="focus"}ngAfterViewInit(){"click"==this.autofocus?this.host.nativeElement.click():this.host.nativeElement.focus()}}on.\u0275fac=function(f){return new(f||on)(o.Y36(o.SBq))},on.\u0275dir=o.lG2({type:on,selectors:[["","autofocus",""]],inputs:{autofocus:"autofocus"}});var an,Sn=t(8926);function yn(p,f){if(1&p&&(o._UZ(0,"span",10),o.ALo(1,"highlightTypeahead")),2&p){const u=o.oxw().$implicit,E=o.oxw(3);o.Q6J("innerHtml",o.xi3(1,1,u.label,E.to.searchString),o.oJD)}}function En(p,f){if(1&p&&(o._UZ(0,"span",12),o.ALo(1,"highlightTypeahead")),2&p){const u=o.oxw(2).$implicit,E=o.oxw(3);o.Q6J("innerHtml",o.xi3(1,1,u.gene.geneAliases.join(", "),E.to.searchString),o.oJD)}}function Pn(p,f){1&p&&(o.ynx(0),o.YNc(1,En,2,4,"span",11),o.BQk())}function Bn(p,f){if(1&p&&(o.TgZ(0,"nz-option",7)(1,"nz-space"),o.YNc(2,yn,2,4,"span",8),o.YNc(3,Pn,2,0,"ng-container",9),o.qZA()()),2&p){const u=f.$implicit;o.Q6J("nzLabel",u.tooltip)("nzValue",u.gene),o.xp6(3),o.Q6J("ngIf",u.gene.geneAliases.length>0)}}function Nn(p,f){if(1&p&&(o.ynx(0),o.YNc(1,Bn,4,3,"nz-option",6),o.BQk()),2&p){const u=f.ngrxLet;o.xp6(1),o.Q6J("ngForOf",u)}}function Ln(p,f){1&p&&o._uU(0," No gene found in CIViC that matches the string provided. ")}function Vn(p,f){if(1&p){const u=o.EpF();o.ynx(0),o.TgZ(1,"nz-select",2,3),o.NdJ("nzOnSearch",function(H){o.CHM(u);const zn=o.oxw();return o.KtG(zn.to.onSearch(H))}),o.YNc(3,Nn,2,1,"ng-container",4),o.qZA(),o.YNc(4,Ln,1,0,"ng-template",null,5,o.W1O),o.BQk()}if(2&p){const u=o.MAs(5),E=o.oxw();o.xp6(1),o.Q6J("formControl",E.formControl)("formlyAttributes",E.field)("nzPlaceHolder",E.to.placeholder?E.to.placeholder:null)("nzNotFoundContent",u)("nzShowArrow",E.to.showArrow)("nzFilterOption",E.to.filterOption),o.xp6(2),o.Q6J("ngrxLet",E.genes$)}}function Jn(p,f){if(1&p&&o._UZ(0,"cvc-gene-tag",13),2&p){const u=o.oxw();o.Q6J("gene",u.formControl.value)}}let Mn=((an=class extends T.fS{constructor(f){super(),this.geneTypeaheadQuery=f,this.defaultOptions={templateOptions:{placeholder:"Search Genes",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[]}}}ngOnInit(){this.queryRef=this.geneTypeaheadQuery.watch({entrezSymbol:""}),this.genes$=this.queryRef.valueChanges.pipe((0,$.j)("data","geneTypeahead"),(0,N.h)(q.ep),(0,W.U)(f=>f.map(u=>{let E=u.geneAliases.length>0?`Aliases: ${u.geneAliases.join(", ")}`:"";return{value:u.id,tooltip:`${u.name} (${u.entrezId}) ${E}`,label:`${u.name} (${u.entrezId})`,gene:u}})))}ngAfterViewInit(){this.to.onSearch=f=>{f.length"Evidence requires that a Gene be specified."}}}}]}),sn,O.N,d]});var Yn=t(5681),$n=t(9054),bn=t(6789);class cn extends T.n2{}cn.\u0275fac=function(){let p;return function(u){return(p||(p=o.n5z(cn)))(u||cn)}}(),cn.\u0275cmp=o.Xpm({type:cn,selectors:[["cvc-form-container-wrapper"]],features:[o.qOj],decls:5,vars:1,consts:[["nzSpan","24"],["nzSize","default",3,"nzTitle"],["fieldComponent",""]],template:function(f,u){1&f&&(o.TgZ(0,"nz-row")(1,"nz-col",0)(2,"nz-card",1),o.GkF(3,null,2),o.qZA()()()),2&f&&(o.xp6(2),o.Q6J("nzTitle",u.to.label))},dependencies:[P.t3,P.SK,R.bd],styles:["[_nghost-%COMP%]{display:block;width:100%}"],changeDetection:0});const Kn={wrappers:[{name:"form-container",component:cn}]};class dn{}dn.\u0275fac=function(f){return new(f||dn)},dn.\u0275mod=o.oAB({type:dn}),dn.\u0275inj=o.cJS({imports:[e.ez,j._N,j.pP,T.X0.forChild(Kn),P.Jb,R.vh,$n.cD,bn._,r.s]});var pn,Gn=t(4889),jn=t(7075),Hn=t(6123),mn=t(1135),wn=t(5684),fn=t(9169),Xn=t(7044),kn=t(1664),xn=t(4788),qn=t(5457),Zn=t(822);function nt(p,f){if(1&p&&(o._UZ(0,"span",9),o.ALo(1,"highlightTypeahead")),2&p){const u=o.oxw().$implicit,E=o.oxw(2);o.Q6J("innerHtml",o.xi3(1,1,u.label,E.to.searchString),o.oJD)}}function tt(p,f){1&p&&(o.TgZ(0,"span"),o._uU(1," - Aliases:\xa0 "),o.qZA())}function Dn(p,f){if(1&p&&(o.TgZ(0,"span",10),o._uU(1),o.YNc(2,tt,2,0,"span",11),o._UZ(3,"span",9),o.ALo(4,"highlightTypeahead"),o.qZA()),2&p){const u=o.oxw().$implicit,E=o.oxw(2);o.xp6(1),o.hij(" ID: ",u.variant.id," "),o.xp6(1),o.Q6J("ngIf",u.variant.variantAliases.length>0),o.xp6(1),o.Q6J("innerHtml",o.xi3(4,3,u.variant.variantAliases.join(", "),E.to.searchString),o.oJD)}}function et(p,f){1&p&&(o.TgZ(0,"nz-option",6)(1,"nz-space"),o.YNc(2,nt,2,4,"span",7),o.YNc(3,Dn,5,6,"span",8),o.qZA()()),2&p&&o.Q6J("nzValue",f.$implicit.variant)}function On(p,f){if(1&p){const u=o.EpF();o.ynx(0),o.TgZ(1,"nz-select",4),o.NdJ("nzOnSearch",function(H){o.CHM(u);const zn=o.oxw();return o.KtG(zn.to.onSearch(H))}),o.YNc(2,et,4,1,"nz-option",5),o.ALo(3,"ngrxPush"),o.qZA(),o.BQk()}if(2&p){const u=o.oxw(),E=o.MAs(6),H=o.MAs(4);o.xp6(1),o.Q6J("formControl",u.formControl)("formlyAttributes",u.field)("nzPlaceHolder",u.to.placeholder?u.to.placeholder:null)("nzDropdownRender",u.to.allowCreate?E:null)("nzShowArrow",u.to.showArrow)("nzNotFoundContent",H),o.xp6(1),o.Q6J("ngForOf",o.lcZ(3,7,u.variants$))}}function _n(p,f){if(1&p&&o._UZ(0,"cvc-variant-tag",12),2&p){const u=o.oxw();o.Q6J("variant",u.formControl.value)}}function ot(p,f){if(1&p&&(o._uU(0," No Existing CIViC Variant\xa0"),o.TgZ(1,"strong"),o._uU(2),o.qZA(),o._uU(3,"\xa0found. ")),2&p){const u=o.oxw(2);o.xp6(2),o.Oqu(u.to.searchString)}}function it(p,f){if(1&p&&(o._UZ(0,"nz-empty",13),o.YNc(1,ot,4,1,"ng-template",null,14,o.W1O)),2&p){const u=o.MAs(2);o.Q6J("nzNotFoundContent",u)}}function rt(p,f){if(1&p&&o._UZ(0,"cvc-form-errors-alert",18),2&p){const u=o.oxw(4);o.Q6J("errors",u.errorMessages)}}function at(p,f){if(1&p){const u=o.EpF();o.TgZ(0,"button",19),o.NdJ("click",function(){o.CHM(u);const H=o.oxw(4);return o.KtG(H.addVariant(H.to.searchString))}),o._UZ(1,"i",20),o._uU(2,"Create\xa0"),o.TgZ(3,"strong"),o._uU(4),o.qZA(),o._uU(5,"? "),o.qZA()}if(2&p){const u=o.oxw(4);o.Q6J("nzLoading",u.loading),o.xp6(4),o.Oqu(u.to.searchString)}}function st(p,f){if(1&p&&(o.ynx(0),o.TgZ(1,"nz-space",15),o.YNc(2,rt,1,1,"cvc-form-errors-alert",16),o.YNc(3,at,6,2,"button",17),o.qZA(),o.BQk()),2&p){const u=o.oxw(3);o.xp6(2),o.Q6J("ngIf",u.errorMessages.length>0),o.xp6(1),o.Q6J("ngIf",0==u.errorMessages.length)}}function gn(p,f){if(1&p&&(o.ynx(0),o.YNc(1,st,4,2,"ng-container",11),o.BQk()),2&p){const u=o.oxw(2);o.xp6(1),o.Q6J("ngIf",""!==u.to.searchString)}}function lt(p,f){if(1&p&&(o.YNc(0,gn,2,1,"ng-container",11),o.ALo(1,"ngrxPush")),2&p){const u=o.oxw();o.Q6J("ngIf",o.lcZ(1,1,u.displayAdd$))}}let An=((pn=class extends T.fS{constructor(f,u,E){super(),this.variantTypeaheadQuery=f,this.networkErrorService=u,this.addVariantGQL=E,this.onVariantSelected=new o.vpe,this.success=!1,this.errorMessages=[],this.loading=!1,this.displayAdd$=new mn.X(!1),this.addVariantMutator=new Hn.U(this.networkErrorService),this.defaultOptions={templateOptions:{placeholder:"Search Variants",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[],allowCreate:!0},expressionProperties:{"templateOptions.geneId":(H,zn,ut)=>{let Cn=ut?.parent?.parent?.model;if(Cn&&Cn.gene&&Cn.gene[0])return Cn.gene[0].id}}}}ngOnInit(){this.callbackSub=this.field?.formControl?.valueChanges.subscribe(f=>this.onVariantSelected.emit(f.id)),this.queryRef=this.variantTypeaheadQuery.watch({name:"a",geneId:this.to.geneId}),this.variants$=this.queryRef.valueChanges.pipe((0,wn.T)(1),(0,$.j)("data","variants","nodes"),(0,N.h)(q.ep),(0,W.U)(f=>f.map(E=>({value:E.id,label:E.name,variant:E}))))}ngAfterViewInit(){this.to.onSearch=f=>{f.length{this.displayAdd$.next(0==u.data.variants.nodes.filter(E=>E.name.toUpperCase()==f.toUpperCase()).length)}))}}addVariant(f){if(f&&""!=f&&this.to.geneId){let u=this.addVariantMutator.mutate(this.addVariantGQL,{name:f,geneId:this.to.geneId},{},E=>{E.addVariant&&(this.field.formControl?.setValue({id:E.addVariant.variant.id,name:E.addVariant.variant.name}),this.to.searchString="",this.to.searchLength=0)});u.submitSuccess$.pipe((0,G.t)(this)).subscribe(E=>{E&&(this.success=!0)}),u.submitError$.pipe((0,G.t)(this)).subscribe(E=>{E&&(this.errorMessages=E,this.success=!1)}),u.isSubmitting$.pipe((0,G.t)(this)).subscribe(E=>{this.loading=E})}}ngOnDestroy(){this.callbackSub?.unsubscribe()}}).\u0275fac=function(f){return new(f||pn)(o.Y36(k._eC),o.Y36(fn.Y),o.Y36(k.LUc))},pn.\u0275cmp=o.Xpm({type:pn,selectors:[["cvc-variant-input-type"]],outputs:{onVariantSelected:"onVariantSelected"},features:[o.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["variantListItem",""],["variantNotFound",""],["addVariantTmpl",""],["nzShowSearch","","nzServerSearch","","autofocus","click",2,"width","300px",3,"formControl","formlyAttributes","nzPlaceHolder","nzDropdownRender","nzShowArrow","nzNotFoundContent","nzOnSearch"],["nzCustomContent","",3,"nzValue",4,"ngFor","ngForOf"],["nzCustomContent","",3,"nzValue"],[3,"innerHtml",4,"nzSpaceItem"],["nz-typography","","nzType","secondary",4,"nzSpaceItem"],[3,"innerHtml"],["nz-typography","","nzType","secondary"],[4,"ngIf"],[3,"variant"],["nzNotFoundImage","simple",3,"nzNotFoundContent"],["notFoundContent",""],["nzDirection","vertical"],["nzSpaceItem","",3,"errors",4,"ngIf"],["nzSpaceItem","","nz-button","","nzSize","small",3,"nzLoading","click",4,"ngIf"],["nzSpaceItem","",3,"errors"],["nzSpaceItem","","nz-button","","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","plus","nzTheme","outline"]],template:function(f,u){if(1&f&&(o.YNc(0,On,4,9,"ng-container",0),o.YNc(1,_n,1,1,"ng-template",null,1,o.W1O),o.YNc(3,it,3,1,"ng-template",null,2,o.W1O),o.YNc(5,lt,2,3,"ng-template",null,3,o.W1O)),2&f){const E=o.MAs(2);o.Q6J("ngIf",!(null!=u.formControl.value&&u.formControl.value.id))("ngIfElse",E)}},dependencies:[e.sg,e.O5,I.JJ,I.oH,T.JD,J.Ip,J.Vq,_.ix,Xn.w,kn.dQ,z.Ls,X.NU,X.$1,w.ZU,xn.p9,qn.I,Zn.V,on,j.fM,Sn.A],encapsulation:2,changeDetection:0}),pn);An=(0,S.gn)([(0,G.c)()],An);const ct={name:"variant-input",component:An};var dt=t(7043);class tn{}tn.\u0275fac=function(f){return new(f||tn)},tn.\u0275mod=o.oAB({type:tn}),tn.\u0275inj=o.cJS({imports:[e.ez,I.UX,j._N,j.pP,T.X0.forChild({types:[ct]}),J.LV,_.sL,z.PV,X.zf,w.ZJ,xn.Xo,dt.Q,c.B,In.s,rn]});class nn{}nn.\u0275fac=function(f){return new(f||nn)},nn.\u0275mod=o.oAB({type:nn}),nn.\u0275inj=o.cJS({imports:[e.ez,I.u5,I.UX,J.LV,B.F,U.F,T.X0.forChild({types:[{name:"variant-array",extends:"multi-field",wrappers:["form-field"],defaultOptions:{templateOptions:{label:"Variant",helpText:"Description of the type of variant (e.g., V600E, BCR-ABL fusion, Loss-of-function, exon 12 mutations). Should be as specific as possible (i.e., specific amino acid changes).",required:!1,addText:"Specify a Variant"},fieldArray:{type:"variant-input",templateOptions:{required:!1},expressionProperties:{"templateOptions.allowCreate":(p,f,u)=>{const E=u?.parent?.templateOptions?.allowCreate;return void 0===E||E}}},hideExpression:(p,f,u)=>{const E=u?.form?u.form.get("gene"):null;return!E||!E.value||!E.value[0]},defaultValue:[],validation:{messages:{required:()=>"Evidence requires that a Variant be specified."}}}}]}),tn,O.N]});class un{}un.\u0275fac=function(f){return new(f||un)},un.\u0275mod=o.oAB({type:un}),un.\u0275inj=o.cJS({imports:[e.ez,F.Bz,I.UX,r.s,M.U5,g.L,P.Jb,_.sL,Yn.j,R.vh,X.zf,w.ZJ,T.X0,c.B,n.R,x.C,O.N,i.o,l.K,ln,dn,Gn.E,jn.l,tn,nn,r.s]})},1806:(Y,Z,t)=>{t.r(Z),t.d(Z,{LayoutModule:()=>Tn});var e=t(6895),l=t(9116),n=t(4650),c=t(9350),x=t(1102),O=t(3679),i=t(7579),T=t(2722),r=t(655),g=t(3303),_=t(3187),M=t(3325),P=t(3353),I=t(445),F=t(2289);const U=["*"],B=["nz-sider-trigger",""];function J(a,m){}function o(a,m){if(1&a&&(n.ynx(0),n.YNc(1,J,0,0,"ng-template",3),n.BQk()),2&a){const s=n.oxw(),y=n.MAs(5);n.xp6(1),n.Q6J("ngTemplateOutlet",s.nzZeroTrigger||y)}}function R(a,m){}function K(a,m){if(1&a&&(n.ynx(0),n.YNc(1,R,0,0,"ng-template",3),n.BQk()),2&a){const s=n.oxw(),y=n.MAs(3);n.xp6(1),n.Q6J("ngTemplateOutlet",s.nzTrigger||y)}}function Q(a,m){if(1&a&&n._UZ(0,"span",5),2&a){const s=n.oxw(2);n.Q6J("nzType",s.nzCollapsed?"right":"left")}}function L(a,m){if(1&a&&n._UZ(0,"span",5),2&a){const s=n.oxw(2);n.Q6J("nzType",s.nzCollapsed?"left":"right")}}function D(a,m){if(1&a&&(n.YNc(0,Q,1,1,"span",4),n.YNc(1,L,1,1,"span",4)),2&a){const s=n.oxw();n.Q6J("ngIf",!s.nzReverseArrow),n.xp6(1),n.Q6J("ngIf",s.nzReverseArrow)}}function C(a,m){1&a&&n._UZ(0,"span",6)}function A(a,m){if(1&a){const s=n.EpF();n.TgZ(0,"div",2),n.NdJ("click",function(){n.CHM(s);const V=n.oxw();return n.KtG(V.setCollapsed(!V.nzCollapsed))}),n.qZA()}if(2&a){const s=n.oxw();n.Q6J("matchBreakPoint",s.matchBreakPoint)("nzCollapsedWidth",s.nzCollapsedWidth)("nzCollapsed",s.nzCollapsed)("nzBreakpoint",s.nzBreakpoint)("nzReverseArrow",s.nzReverseArrow)("nzTrigger",s.nzTrigger)("nzZeroTrigger",s.nzZeroTrigger)("siderWidth",s.widthSetting)}}let h=(()=>{class a{constructor(s,y){this.elementRef=s,this.renderer=y,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-content")}}return a.\u0275fac=function(s){return new(s||a)(n.Y36(n.SBq),n.Y36(n.Qsj))},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-content"]],exportAs:["nzContent"],ngContentSelectors:U,decls:1,vars:0,template:function(s,y){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),a})(),v=(()=>{class a{constructor(s,y){this.elementRef=s,this.renderer=y,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-header")}}return a.\u0275fac=function(s){return new(s||a)(n.Y36(n.SBq),n.Y36(n.Qsj))},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-header"]],exportAs:["nzHeader"],ngContentSelectors:U,decls:1,vars:0,template:function(s,y){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),a})(),d=(()=>{class a{constructor(){this.nzCollapsed=!1,this.nzReverseArrow=!1,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.matchBreakPoint=!1,this.nzCollapsedWidth=null,this.siderWidth=null,this.nzBreakpoint=null,this.isZeroTrigger=!1,this.isNormalTrigger=!1}updateTriggerType(){this.isZeroTrigger=0===this.nzCollapsedWidth&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=0!==this.nzCollapsedWidth}ngOnInit(){this.updateTriggerType()}ngOnChanges(){this.updateTriggerType()}}return a.\u0275fac=function(s){return new(s||a)},a.\u0275cmp=n.Xpm({type:a,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(s,y){2&s&&(n.Udp("width",y.isNormalTrigger?y.siderWidth:null),n.ekj("ant-layout-sider-trigger",y.isNormalTrigger)("ant-layout-sider-zero-width-trigger",y.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",y.isZeroTrigger&&y.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",y.isZeroTrigger&&!y.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[n.TTD],attrs:B,decls:6,vars:2,consts:[[4,"ngIf"],["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","bars"]],template:function(s,y){1&s&&(n.YNc(0,o,2,1,"ng-container",0),n.YNc(1,K,2,1,"ng-container",0),n.YNc(2,D,2,2,"ng-template",null,1,n.W1O),n.YNc(4,C,1,0,"ng-template",null,2,n.W1O)),2&s&&(n.Q6J("ngIf",y.isZeroTrigger),n.xp6(1),n.Q6J("ngIf",y.isNormalTrigger))},dependencies:[e.O5,e.tP,x.Ls],encapsulation:2,changeDetection:0}),a})(),S=(()=>{class a{constructor(s,y,V){this.platform=s,this.cdr=y,this.breakpointService=V,this.destroy$=new i.x,this.nzMenuDirective=null,this.nzCollapsedChange=new n.vpe,this.nzWidth=200,this.nzTheme="dark",this.nzCollapsedWidth=80,this.nzBreakpoint=null,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.nzReverseArrow=!1,this.nzCollapsible=!1,this.nzCollapsed=!1,this.matchBreakPoint=!1,this.flexSetting=null,this.widthSetting=null}updateStyleMap(){this.widthSetting=this.nzCollapsed?`${this.nzCollapsedWidth}px`:(0,_.WX)(this.nzWidth),this.flexSetting=`0 0 ${this.widthSetting}`,this.cdr.markForCheck()}updateMenuInlineCollapsed(){this.nzMenuDirective&&"inline"===this.nzMenuDirective.nzMode&&0!==this.nzCollapsedWidth&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)}setCollapsed(s){s!==this.nzCollapsed&&(this.nzCollapsed=s,this.nzCollapsedChange.emit(s),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())}ngOnInit(){this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe(g.ow,!0).pipe((0,T.R)(this.destroy$)).subscribe(s=>{const y=this.nzBreakpoint;y&&(0,_.ov)().subscribe(()=>{this.matchBreakPoint=!s[y],this.setCollapsed(this.matchBreakPoint),this.cdr.markForCheck()})})}ngOnChanges(s){const{nzCollapsed:y,nzCollapsedWidth:V,nzWidth:b}=s;(y||V||b)&&this.updateStyleMap(),y&&this.updateMenuInlineCollapsed()}ngAfterContentInit(){this.updateMenuInlineCollapsed()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(s){return new(s||a)(n.Y36(P.t4),n.Y36(n.sBO),n.Y36(g.r3))},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-sider"]],contentQueries:function(s,y,V){if(1&s&&n.Suo(V,M.wO,5),2&s){let b;n.iGM(b=n.CRH())&&(y.nzMenuDirective=b.first)}},hostAttrs:[1,"ant-layout-sider"],hostVars:18,hostBindings:function(s,y){2&s&&(n.Udp("flex",y.flexSetting)("max-width",y.widthSetting)("min-width",y.widthSetting)("width",y.widthSetting),n.ekj("ant-layout-sider-zero-width",y.nzCollapsed&&0===y.nzCollapsedWidth)("ant-layout-sider-light","light"===y.nzTheme)("ant-layout-sider-dark","dark"===y.nzTheme)("ant-layout-sider-collapsed",y.nzCollapsed)("ant-layout-sider-has-trigger",y.nzCollapsible&&null!==y.nzTrigger))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:"nzReverseArrow",nzCollapsible:"nzCollapsible",nzCollapsed:"nzCollapsed"},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[n.TTD],ngContentSelectors:U,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click",4,"ngIf"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click"]],template:function(s,y){1&s&&(n.F$t(),n.TgZ(0,"div",0),n.Hsn(1),n.qZA(),n.YNc(2,A,1,8,"div",1)),2&s&&(n.xp6(2),n.Q6J("ngIf",y.nzCollapsible&&null!==y.nzTrigger))},dependencies:[e.O5,d],encapsulation:2,changeDetection:0}),(0,r.gn)([(0,_.yF)()],a.prototype,"nzReverseArrow",void 0),(0,r.gn)([(0,_.yF)()],a.prototype,"nzCollapsible",void 0),(0,r.gn)([(0,_.yF)()],a.prototype,"nzCollapsed",void 0),a})(),N=(()=>{class a{constructor(s){this.directionality=s,this.dir="ltr",this.destroy$=new i.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,T.R)(this.destroy$)).subscribe(s=>{this.dir=s})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(s){return new(s||a)(n.Y36(I.Is,8))},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-layout"]],contentQueries:function(s,y,V){if(1&s&&n.Suo(V,S,4),2&s){let b;n.iGM(b=n.CRH())&&(y.listOfNzSiderComponent=b)}},hostAttrs:[1,"ant-layout"],hostVars:4,hostBindings:function(s,y){2&s&&n.ekj("ant-layout-rtl","rtl"===y.dir)("ant-layout-has-sider",y.listOfNzSiderComponent.length>0)},exportAs:["nzLayout"],ngContentSelectors:U,decls:1,vars:0,template:function(s,y){1&s&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0}),a})(),W=(()=>{class a{}return a.\u0275fac=function(s){return new(s||a)},a.\u0275mod=n.oAB({type:a}),a.\u0275inj=n.cJS({imports:[I.vT,e.ez,x.PV,F.xu,P.ud]}),a})();var $=t(7570),q=t(1912),G=t(4004),k=t(8675),j=t(2340),X=t(7630),w=t(2635),en=t(9562),on=t(6616),Sn=t(7044),an=t(1664),yn=t(6903),En=t(48),Pn=t(6960),Bn=t(7881),Nn=t(8785),Ln=t(3044);function Vn(a,m){if(1&a&&(n.TgZ(0,"button",25),n._uU(1," Add "),n._UZ(2,"i",26),n.qZA()),2&a){n.oxw(2);const s=n.MAs(15);n.Q6J("nzDropdownMenu",s)}}const Jn=function(){return{backgroundColor:"#096dd9",color:"#fff1f0",boxShadow:"0 0 0 1px #1890ff inset"}};function Mn(a,m){if(1&a&&(n.TgZ(0,"nz-badge",27)(1,"button",28),n._UZ(2,"i",29),n.qZA()()),2&a){const s=n.oxw().ngrxLet,y=n.oxw().ngIf;n.Q6J("nzCount",s)("nzOverflowCount",999)("nzStyle",n.DdM(4,Jn)),n.xp6(1),n.MGl("routerLink","/users/",y.id,"/notifications")}}const Qn=function(a){return{"update-coi":a}};function Rn(a,m){if(1&a&&n._UZ(0,"cvc-user-avatar",35),2&a){const s=n.oxw(3).ngIf;n.Q6J("user",s)("size",22)("ngClass",n.VKq(3,Qn,s.invalidCoi))}}function In(a,m){if(1&a&&(n.TgZ(0,"div",36),n._uU(1),n.qZA()),2&a){const s=n.oxw(3).ngIf;n.xp6(1),n.hij(" ",s.username," ")}}function rn(a,m){1&a&&n._UZ(0,"i",26)}function sn(a,m){if(1&a&&(n.TgZ(0,"button",30)(1,"nz-space",31),n.YNc(2,Rn,1,5,"cvc-user-avatar",32),n.YNc(3,In,2,1,"div",33),n.YNc(4,rn,1,0,"i",34),n.qZA()()),2&a){n.oxw(2);const s=n.MAs(3);n.Q6J("nzDropdownMenu",s)}}function mt(a,m){1&a&&(n.TgZ(0,"nz-space",21),n.YNc(1,Vn,3,1,"button",22),n.YNc(2,Mn,3,5,"nz-badge",23),n.YNc(3,sn,5,1,"button",24),n.qZA())}function Wn(a,m){if(1&a){const s=n.EpF();n.TgZ(0,"li",37)(1,"button",38),n.NdJ("click",function(){n.CHM(s);const V=n.oxw(2);return n.KtG(V.coiUpdateModalVisible=!0)}),n._UZ(2,"i",39),n._uU(3," Please update COI statement "),n.qZA()()}}function ln(a,m){1&a&&n._UZ(0,"li",14)}function Yn(a,m){1&a&&(n.TgZ(0,"li",40)(1,"a",41),n._uU(2," Admin Console "),n.qZA()())}function $n(a,m){1&a&&(n.TgZ(0,"li",42)(1,"a",43),n._uU(2," Background Workers "),n.qZA()())}function bn(a,m){if(1&a){const s=n.EpF();n.TgZ(0,"li",37)(1,"a",44),n.NdJ("click",function(){n.CHM(s);const V=n.oxw(2);return n.KtG(V.addVariantModalVisible=!0)}),n._uU(2," Variant "),n.qZA()()}}const cn=function(a){return["/users",a]};function Kn(a,m){if(1&a){const s=n.EpF();n.ynx(0),n.YNc(1,mt,4,0,"nz-space",6),n.TgZ(2,"nz-dropdown-menu",null,7)(4,"ul",8),n.YNc(5,Wn,4,0,"li",9),n.YNc(6,ln,1,0,"li",10),n.TgZ(7,"li",11),n._uU(8," Your Profile "),n.qZA(),n.YNc(9,Yn,3,0,"li",12),n.YNc(10,$n,3,0,"li",13),n._UZ(11,"li",14),n.TgZ(12,"li",15),n.NdJ("click",function(){n.CHM(s);const V=n.oxw();return n.KtG(V.signOut())}),n._uU(13," Sign Out "),n.qZA()()(),n.TgZ(14,"nz-dropdown-menu",null,16)(16,"ul",8)(17,"li",17)(18,"a"),n._uU(19," Evidence Item "),n.qZA()(),n.TgZ(20,"li",18)(21,"a"),n._uU(22," Assertion "),n.qZA()(),n.TgZ(23,"li",19)(24,"a"),n._uU(25," Source Suggestion "),n.qZA()(),n.YNc(26,bn,3,0,"li",9),n.TgZ(27,"li",20)(28,"a"),n._uU(29," Variant Group "),n.qZA()()()(),n.BQk()}if(2&a){const s=m.ngIf,y=n.oxw();n.xp6(1),n.Q6J("ngrxLet",y.unreadCount$),n.xp6(4),n.Q6J("ngIf",s.invalidCoi),n.xp6(1),n.Q6J("ngIf",s.invalidCoi),n.xp6(1),n.Q6J("routerLink",n.VKq(7,cn,s.id)),n.xp6(2),n.Q6J("ngIf",s.isAdmin),n.xp6(1),n.Q6J("ngIf",s.isAdmin),n.xp6(16),n.Q6J("ngIf",s.isEditor)}}function dn(a,m){1&a&&(n.TgZ(0,"span"),n._uU(1,"Update your Conflict of Interest Statement"),n.qZA())}function Gn(a,m){if(1&a){const s=n.EpF();n.TgZ(0,"cvc-user-coi-form",45),n.NdJ("coiUpdatedEvent",function(){n.CHM(s);const V=n.oxw();return n.KtG(V.coiUpdated())}),n.qZA()}}function jn(a,m){1&a&&(n.TgZ(0,"span"),n._uU(1,"Add New Variant"),n.qZA())}function Hn(a,m){1&a&&n._UZ(0,"cvc-variant-submit-form")}class mn{constructor(m,s){this.queryService=m,this.unreadCountGql=s,this.coiUpdateModalVisible=!1,this.addVariantModalVisible=!1,this.viewer$=this.queryService.viewer$,this.unreadCount$=j.N.production?this.unreadCountGql.watch(void 0,{pollInterval:5e3}).valueChanges.pipe((0,G.U)(({data:y})=>y.notifications.unreadCount),(0,k.O)(0)):this.unreadCountGql.watch(void 0).valueChanges.pipe((0,G.U)(({data:y})=>y.notifications.unreadCount),(0,k.O)(0))}signOut(){this.queryService.signOut()}coiUpdated(){this.coiUpdateModalVisible=!1,this.queryService.refetch()}handleCoiModalCancel(){this.coiUpdateModalVisible=!1}}function wn(a){return a.toLowerCase().split("_").map(m=>m[0].toUpperCase()+m.substring(1)).join("")}mn.\u0275fac=function(m){return new(m||mn)(n.Y36(c.a),n.Y36(X.Kmw))},mn.\u0275cmp=n.Xpm({type:mn,selectors:[["cvc-viewer-button"]],decls:12,vars:11,consts:[[4,"ngIf"],[3,"nzVisible","nzContent","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],["coiModalTitle",""],["coiModalContent",""],["variantModalTitle",""],["variantModalContent",""],["nzDirection","horizontal","nzSize","middle",4,"ngrxLet"],["userMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",4,"ngIf"],["nz-menu-divider","",4,"ngIf"],["nz-menu-item","",3,"routerLink"],["nz-menu-item","","href","/admin",4,"ngIf"],["nz-menu-item","","href","/jobs",4,"ngIf"],["nz-menu-divider",""],["nz-menu-item","",3,"click"],["addMenu","nzDropdownMenu"],["nz-menu-item","","routerLink","/evidence/add/submit"],["nz-menu-item","","routerLink","/assertions/add/submit"],["nz-menu-item","","routerLink","/sources/add"],["nz-menu-item","","routerLink","/variant-groups/add/submit"],["nzDirection","horizontal","nzSize","middle"],["class","add-btn","nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"nzDropdownMenu",4,"nzSpaceItem"],[3,"nzCount","nzOverflowCount","nzStyle",4,"nzSpaceItem"],["class","viewer-btn","nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"nzDropdownMenu",4,"nzSpaceItem"],["nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"add-btn",3,"nzDropdownMenu"],["nz-icon","","nzType","caret-down","nzTheme","outline"],[3,"nzCount","nzOverflowCount","nzStyle"],["nz-button","","nzSize","large","nzShape","circle","nzType","link",1,"notification-btn",3,"routerLink"],["nz-icon","","nzType","bell","nzTheme","outline"],["nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"viewer-btn",3,"nzDropdownMenu"],["nzDirection","horizontal","nzSize","small"],["shape","circle",3,"user","size","ngClass",4,"nzSpaceItem"],["class","viewer-name",4,"nzSpaceItem"],["nz-icon","","nzType","caret-down","nzTheme","outline",4,"nzSpaceItem"],["shape","circle",3,"user","size","ngClass"],[1,"viewer-name"],["nz-menu-item",""],["nz-button","","nzType","primary","nzShape","round","nzSize","small","nzDanger","","nzBlock","",3,"click"],["nz-icon","","nzType","exclamation-circle"],["nz-menu-item","","href","/admin"],["href","/admin"],["nz-menu-item","","href","/jobs"],["href","/jobs"],[3,"click"],[3,"coiUpdatedEvent"]],template:function(m,s){if(1&m&&(n.YNc(0,Kn,30,9,"ng-container",0),n.ALo(1,"ngrxPush"),n.TgZ(2,"nz-modal",1),n.NdJ("nzVisibleChange",function(V){return s.coiUpdateModalVisible=V})("nzOnCancel",function(){return s.handleCoiModalCancel()}),n.YNc(3,dn,2,0,"ng-template",null,2,n.W1O),n.YNc(5,Gn,1,0,"ng-template",null,3,n.W1O),n.qZA(),n.TgZ(7,"nz-modal",1),n.NdJ("nzVisibleChange",function(V){return s.addVariantModalVisible=V})("nzOnCancel",function(){return s.addVariantModalVisible=!1}),n.YNc(8,jn,2,0,"ng-template",null,4,n.W1O),n.YNc(10,Hn,1,0,"ng-template",null,5,n.W1O),n.qZA()),2&m){const y=n.MAs(4),V=n.MAs(6),b=n.MAs(9),Un=n.MAs(11);n.Q6J("ngIf",n.lcZ(1,9,s.viewer$)),n.xp6(2),n.Q6J("nzVisible",s.coiUpdateModalVisible)("nzContent",V)("nzTitle",y)("nzFooter",null),n.xp6(5),n.Q6J("nzVisible",s.addVariantModalVisible)("nzContent",Un)("nzTitle",b)("nzFooter",null)}},dependencies:[e.mk,e.O5,w.eJ,M.wO,M.r9,M.YV,en.cm,en.RR,en.wA,l.rH,on.ix,Sn.w,an.dQ,yn.NU,yn.$1,x.Ls,En.x7,Pn.du,Bn.L,Nn.t,Ln.G,w.fM],styles:["[_nghost-%COMP%]{display:inline-block}.topMenuIcon[_ngcontent-%COMP%]:hover{cursor:pointer}.topMenuIcon[_ngcontent-%COMP%]{font-size:16px}.topMenuIcon[_ngcontent-%COMP%] .topBarBadge[_ngcontent-%COMP%]{margin-right:-10px;margin-top:-16px}.topMenuIcon[_ngcontent-%COMP%] .topMenuSecondary[_ngcontent-%COMP%]{font-size:10px;margin-left:2px}.add-btn[_ngcontent-%COMP%]{margin-right:0;background-color:#001529;border:none;color:#ccc}.notification-btn[_ngcontent-%COMP%]{background-color:#001529;border:1px solid #096dd9}.viewer-btn[_ngcontent-%COMP%]{background-color:#0050b3;border:none;color:#ccc;padding-left:5px;padding-right:10px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar[_ngcontent-%COMP%]{position:relative;top:-1px;left:1px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar[_ngcontent-%COMP%] .ant-avatar>img{border-width:1.5px;border-style:solid;border-color:#096dd9;border-radius:22px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar.update-coi[_ngcontent-%COMP%] .ant-avatar>img{border-color:#f5222d}"]});var fn=t(8231),Xn=t(4986),kn=t(8382),xn=t(9770),qn=t(457),Zn=t(3240),pn=t(5684),nt=t(9468),tt=t(3900),Dn=t(9300),et=t(1884),On=t(4006),_n=t(8823),ot=t(9058),it=t(160);function rt(a,m){if(1&a&&(n.TgZ(0,"span",7),n._uU(1," \u2014 "),n._UZ(2,"span",5),n.qZA()),2&a){const s=n.oxw().$implicit;n.xp6(2),n.s9C("innerHTML",s.result.matchingText,n.oJD)}}function at(a,m){if(1&a&&(n.TgZ(0,"nz-option",3),n._UZ(1,"i",4),n.ALo(2,"entityColor"),n.ALo(3,"iconNameForSubscribableEntity"),n._UZ(4,"span",5),n.YNc(5,rt,3,1,"span",6),n.qZA()),2&a){const s=m.$implicit,y=n.oxw();n.Q6J("nzValue",s.result),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,5,y.converter(s.result.resultType)))("nzType",n.lcZ(3,7,s.result.resultType)),n.xp6(3),n.s9C("innerHTML",s.result.name,n.oJD),n.xp6(1),n.Q6J("ngIf",s.result.matchingText)}}function st(a,m){1&a&&(n.TgZ(0,"nz-option",8),n._UZ(1,"i",9),n._uU(2," Loading Data... "),n.qZA())}class gn{set selectedOpt(m){this._selectedOpt=m}get selectedOpt(){return this._selectedOpt}constructor(m,s){this.gql=m,this.router=s,this.converter=wn,this.onSearch$=new i.x,this.onSelect$=new i.x,this.response$=this.onSearch$.pipe((0,pn.T)(1),(0,nt.p)(300,Xn.z,{leading:!1,trailing:!0}),(0,tt.w)(b=>(0,kn.s)(()=>void 0===this.queryRef,(0,xn.P)(()=>y(b)),(0,xn.P)(()=>V(b))))),this.isLoading$=this.response$.pipe((0,G.U)(b=>b.loading),(0,Dn.h)(Zn.ep),(0,et.x)()),this.result$=this.response$.pipe((0,G.U)(b=>b.data?.search),(0,Dn.h)(Zn.ep)),this.option$=this.result$.pipe((0,G.U)(b=>{const Un=[];return b.forEach(Fn=>{Fn&&Un.push({text:Fn.name,value:Fn.id.toString(),result:Fn})}),Un})),this.onSelect$.subscribe(()=>{this.selectedOpt&&this.router.navigateByUrl(this.urlForResult(this.selectedOpt)),this.selectNode.writeValue(void 0)});const y=b=>(this.queryRef=this.gql.watch({query:b,highlightMatches:!0}),this.queryRef.valueChanges),V=b=>(0,qn.D)(this.queryRef.refetch({query:b}))}urlForResult(m){let s;switch(m.resultType){case X.rZD.VariantGroup:s="variant-groups";break;case X.rZD.EvidenceItem:s="evidence";break;case X.rZD.MolecularProfile:s="molecular-profiles";break;default:s=`${m.resultType.toLowerCase()}s`}return`/${s}/${m.id}/summary`}}function lt(a,m){1&a&&n._UZ(0,"img",61)}function An(a,m){1&a&&n._UZ(0,"img",62)}function ct(a,m){1&a&&n._UZ(0,"cvc-login-button")}function dt(a,m){1&a&&n._UZ(0,"cvc-viewer-button")}gn.\u0275fac=function(m){return new(m||gn)(n.Y36(X.ghc),n.Y36(l.F0))},gn.\u0275cmp=n.Xpm({type:gn,selectors:[["cvc-quicksearch"]],viewQuery:function(m,s){if(1&m&&n.Gf(fn.Vq,7),2&m){let y;n.iGM(y=n.CRH())&&(s.selectNode=y.first)}},decls:5,vars:10,consts:[["nzShowSearch","","nzServerSearch","","nzAllowClear","","nzPlaceHolder","Search CIViC",3,"ngModel","nzOptionHeightPx","nzShowArrow","nzDropdownMatchSelectWidth","ngModelChange","nzOnSearch"],["nzCustomContent","",3,"nzValue",4,"ngFor","ngForOf"],["nzDisabled","","nzCustomContent","",4,"ngIf"],["nzCustomContent","",3,"nzValue"],["nz-icon","","nzTheme","twotone",2,"margin-right","0.5em",3,"nzTwotoneColor","nzType"],[3,"innerHTML"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-typography","","nzType","secondary"],["nzDisabled","","nzCustomContent",""],["nz-icon","","nzType","loading",1,"loading-icon"]],template:function(m,s){1&m&&(n.TgZ(0,"nz-select",0),n.NdJ("ngModelChange",function(V){return s.selectedOpt=V})("ngModelChange",function(V){return s.onSelect$.next(V)})("nzOnSearch",function(V){return s.onSearch$.next(V)}),n.YNc(1,at,6,9,"nz-option",1),n.ALo(2,"ngrxPush"),n.YNc(3,st,3,0,"nz-option",2),n.ALo(4,"ngrxPush"),n.qZA()),2&m&&(n.Q6J("ngModel",s.selectedOpt)("nzOptionHeightPx",28)("nzShowArrow",!1)("nzDropdownMatchSelectWidth",!1),n.xp6(1),n.Q6J("ngForOf",n.lcZ(2,6,s.option$)),n.xp6(2),n.Q6J("ngIf",n.lcZ(4,8,s.isLoading$)))},dependencies:[e.sg,e.O5,On.JJ,On.On,_n.ZU,fn.Ip,fn.Vq,x.Ls,w.fM,ot.j,it.a],styles:[":[_nghost-%COMP%]{display:block}nz-select[_ngcontent-%COMP%]{width:100%}"]});const tn=function(a){return{"is-collapsed":a}};class hn{constructor(m){this.viewerService=m,this.isCollapsed=!1}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.signedIn$=this.viewerService.signedIn$,this.signedOut$=this.viewerService.signedOut$,this.canCurate$=this.viewerService.canCurate$,this.canModerate$=this.viewerService.canModerate$}}hn.\u0275fac=function(m){return new(m||hn)(n.Y36(c.a))},hn.\u0275cmp=n.Xpm({type:hn,selectors:[["cvc-layout"]],decls:132,vars:47,consts:[[1,"app-layout"],["nzCollapsible","","nzBreakpoint","md",1,"app-sider",3,"nzWidth","nzCollapsedWidth","nzCollapsed","nzTrigger","nzCollapsedChange"],["routerLink","/"],[1,"sidebar-logo",3,"ngClass"],["src","assets/images/civic-logo_sidebar-expanded.png","alt","CIViC - Clinical Interpretations of Variants in Cancer",4,"ngIf"],["src","assets/images/civic-logo_sidebar-collapsed.png","alt","CIViC - Clinical Interpretations of Variants in Cancer",4,"ngIf"],["nz-menu","","nzTheme","dark","nzMode","inline",1,"sidebar-menu",3,"ngClass","nzInlineCollapsed"],["nz-menu-group","",3,"nzTitle"],["nz-menu-item","","nz-tooltip","","nzTooltipPlacement","right","nzSelected","","nzMatchRouter","",3,"nzTooltipTitle"],["nz-icon","","nzType","civic-assertion"],["routerLink","/assertions"],["nz-icon","","nzType","civic-evidence"],["routerLink","/evidence"],["nz-icon","","nzType","civic-molecularprofile"],["routerLink","/molecular-profiles"],["nz-icon","","nzType","civic-gene"],["routerLink","/genes"],["nz-icon","","nzType","civic-variant"],["routerLink","/variants"],["nz-icon","","nzType","civic-variantgroup"],["routerLink","/variant-groups"],["nz-icon","","nzType","civic-clinicaltrial"],["routerLink","/clinical-trials"],["nz-icon","","nzType","civic-disease"],["routerLink","/diseases"],["nz-icon","","nzType","civic-therapy"],["routerLink","/therapies"],["nz-icon","","nzType","civic-phenotype"],["routerLink","/phenotypes"],["nz-icon","","nzType","civic-source"],["routerLink","/sources"],["nz-icon","","nzType","civic-varianttype"],["routerLink","/variant-types"],["nz-icon","","nzType","civic-event"],["routerLink","/curation/activity"],["nz-icon","","nzType","civic-queue"],["routerLink","/curation/queues"],["nz-icon","","nzType","civic-curator"],["routerLink","/users","id","main-users"],["nz-icon","","nzType","civic-organization"],["routerLink","/organizations","id","main-organization"],["nz-icon","","nzType","download"],["routerLink","/releases","id","releases"],["nz-tooltip","","nzTooltipPlacement","rightTop","nzTooltipTitle","By marking the work with a CC0 public domain dedication, the creator is giving up their copyright and allowing reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes.",1,"cc-notice",3,"ngClass"],["src","assets/images/CC0-notice-glyph.svg","alt","CC0 1.0 Universal",1,"cc-glyph"],["src","assets/images/CC0-notice-txt.svg","alt","This work has been marked as dedicated to the public domain.",1,"cc-txt"],[1,"right-layout",3,"ngClass"],["nz-row","","id","header-row"],["nz-col","","nzFlex","40px"],[1,"header-trigger",3,"click"],["nz-icon","",1,"trigger",3,"nzType"],["nz-col","","nzFlex","200px","id","header-search"],["nz-col","","nzFlex","1 0 250px","id","header-menu"],["nz-menu","","nzMode","horizontal","nzTheme","dark"],["nz-menu-item","","nzSelected","","nzMatchRouter",""],["routerLink","/welcome"],["routerLink","/pages/about"],["target","_blank","href","https://docs.civicdb.org/"],["routerLink","/pages/help"],["nz-col","","nzFlex","1 0 auto","id","header-viewer"],[4,"ngIf"],["src","assets/images/civic-logo_sidebar-expanded.png","alt","CIViC - Clinical Interpretations of Variants in Cancer"],["src","assets/images/civic-logo_sidebar-collapsed.png","alt","CIViC - Clinical Interpretations of Variants in Cancer"]],template:function(m,s){1&m&&(n.TgZ(0,"nz-layout",0)(1,"nz-sider",1),n.NdJ("nzCollapsedChange",function(V){return s.isCollapsed=V}),n.TgZ(2,"a",2)(3,"div",3),n.YNc(4,lt,1,0,"img",4),n.YNc(5,An,1,0,"img",5),n.qZA()(),n.TgZ(6,"ul",6)(7,"li",7)(8,"ul")(9,"li",8),n._UZ(10,"i",9),n.TgZ(11,"span")(12,"a",10),n._uU(13,"Assertions"),n.qZA()()(),n.TgZ(14,"li",8),n._UZ(15,"i",11),n.TgZ(16,"span")(17,"a",12),n._uU(18,"Evidence"),n.qZA()()(),n.TgZ(19,"li",8),n._UZ(20,"i",13),n.TgZ(21,"span")(22,"a",14),n._uU(23,"Molecular Profiles"),n.qZA()()(),n.TgZ(24,"li",8),n._UZ(25,"i",15),n.TgZ(26,"span")(27,"a",16),n._uU(28,"Genes"),n.qZA()()(),n.TgZ(29,"li",8),n._UZ(30,"i",17),n.TgZ(31,"span")(32,"a",18),n._uU(33,"Variants"),n.qZA()()(),n.TgZ(34,"li",8),n._UZ(35,"i",19),n.TgZ(36,"span")(37,"a",20),n._uU(38,"Variant Groups"),n.qZA()()()()(),n.TgZ(39,"li",8),n._UZ(40,"i",21),n.TgZ(41,"span")(42,"a",22),n._uU(43,"Clinical Trials"),n.qZA()()(),n.TgZ(44,"li",8),n._UZ(45,"i",23),n.TgZ(46,"span")(47,"a",24),n._uU(48,"Diseases"),n.qZA()()(),n.TgZ(49,"li",8),n._UZ(50,"i",25),n.TgZ(51,"span")(52,"a",26),n._uU(53,"Therapies"),n.qZA()()(),n.TgZ(54,"li",8),n._UZ(55,"i",27),n.TgZ(56,"span")(57,"a",28),n._uU(58,"Phenotypes"),n.qZA()()(),n.TgZ(59,"li",8),n._UZ(60,"i",29),n.TgZ(61,"span")(62,"a",30),n._uU(63,"Sources"),n.qZA()()(),n.TgZ(64,"li",8),n._UZ(65,"i",31),n.TgZ(66,"span")(67,"a",32),n._uU(68,"Variant Types"),n.qZA()()(),n.TgZ(69,"li",7)(70,"ul")(71,"li",8),n._UZ(72,"i",33),n.TgZ(73,"span")(74,"a",34),n._uU(75," Activity "),n.qZA()()(),n.TgZ(76,"li",8),n._UZ(77,"i",35),n.TgZ(78,"span")(79,"a",36),n._uU(80,"Queues"),n.qZA()()()()(),n.TgZ(81,"li",7)(82,"ul")(83,"li",8),n._UZ(84,"i",37),n.TgZ(85,"span")(86,"a",38),n._uU(87,"Contributors"),n.qZA()()(),n.TgZ(88,"li",8),n._UZ(89,"i",39),n.TgZ(90,"span")(91,"a",40),n._uU(92,"Organizations"),n.qZA()()()()(),n.TgZ(93,"li",7)(94,"ul")(95,"li",8),n._UZ(96,"i",41),n.TgZ(97,"span")(98,"a",42),n._uU(99,"Data Releases"),n.qZA()()()()()(),n.TgZ(100,"div",43),n._UZ(101,"img",44)(102,"img",45),n.qZA()(),n.TgZ(103,"nz-layout",46)(104,"nz-header")(105,"div",47)(106,"div",48)(107,"span",49),n.NdJ("click",function(){return s.isCollapsed=!s.isCollapsed}),n._UZ(108,"i",50),n.qZA()(),n.TgZ(109,"div",51),n._UZ(110,"cvc-quicksearch"),n.qZA(),n.TgZ(111,"div",52)(112,"ul",53)(113,"li",54)(114,"a",55),n._uU(115,"Home"),n.qZA()(),n.TgZ(116,"li",54)(117,"a",56),n._uU(118,"About CIViC"),n.qZA()(),n.TgZ(119,"li",54)(120,"a",57),n._uU(121,"Documentation"),n.qZA()(),n.TgZ(122,"li",54)(123,"a",58),n._uU(124,"Help"),n.qZA()()()(),n.TgZ(125,"div",59),n.YNc(126,ct,1,0,"cvc-login-button",60),n.ALo(127,"async"),n.YNc(128,dt,1,0,"cvc-viewer-button",60),n.ALo(129,"async"),n.qZA()()(),n.TgZ(130,"nz-content"),n._UZ(131,"router-outlet"),n.qZA()()()),2&m&&(n.xp6(1),n.Q6J("nzWidth",170)("nzCollapsedWidth",80)("nzCollapsed",s.isCollapsed)("nzTrigger",null),n.xp6(2),n.Q6J("ngClass",n.VKq(39,tn,s.isCollapsed)),n.xp6(1),n.Q6J("ngIf",!s.isCollapsed),n.xp6(1),n.Q6J("ngIf",s.isCollapsed),n.xp6(1),n.Q6J("ngClass",n.VKq(41,tn,s.isCollapsed))("nzInlineCollapsed",s.isCollapsed),n.xp6(1),n.Q6J("nzTitle",s.isCollapsed?"KNOW":"KNOWLEDGEBASE"),n.xp6(2),n.Q6J("nzTooltipTitle",s.isCollapsed?"Assertions":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Evidence":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Molecular Profiles":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Genes":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Variants":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Variant Groups":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Clinical Trials":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Diseases":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Therapies":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Phenotypes":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Sources":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Variant Types":""),n.xp6(5),n.Q6J("nzTitle",s.isCollapsed?"CURATE":"CURATION"),n.xp6(2),n.Q6J("nzTooltipTitle",s.isCollapsed?"Activity":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Pending Queues":""),n.xp6(5),n.Q6J("nzTitle",s.isCollapsed?"COMM":"COMMUNITY"),n.xp6(2),n.Q6J("nzTooltipTitle",s.isCollapsed?"Users":""),n.xp6(5),n.Q6J("nzTooltipTitle",s.isCollapsed?"Organizations":""),n.xp6(5),n.Q6J("nzTitle",s.isCollapsed?"RES":"RESOURCES"),n.xp6(2),n.Q6J("nzTooltipTitle",s.isCollapsed?"Data Releases":""),n.xp6(5),n.Q6J("ngClass",n.VKq(43,tn,s.isCollapsed)),n.xp6(3),n.Q6J("ngClass",n.VKq(45,tn,s.isCollapsed)),n.xp6(5),n.Q6J("nzType",s.isCollapsed?"menu-unfold":"menu-fold"),n.xp6(18),n.Q6J("ngIf",n.lcZ(127,35,s.signedOut$)),n.xp6(2),n.Q6J("ngIf",n.lcZ(129,37,s.signedIn$)))},dependencies:[e.mk,e.O5,l.lC,l.rH,x.Ls,O.t3,O.SK,N,v,h,S,M.wO,M.r9,M.uA,$.SY,q.s,mn,gn,e.Ov],styles:["[_nghost-%COMP%]{display:flex;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-layout[_ngcontent-%COMP%]{min-height:100vh}nz-sider[_ngcontent-%COMP%]{width:170px;overflow:auto;height:100%;position:fixed;left:0}.right-layout[_ngcontent-%COMP%]{margin-left:170px;width:100%;position:relative;transition:all .2s,padding 0s;background-color:#001529}.right-layout.is-collapsed[_ngcontent-%COMP%]{margin-left:80px}.sidebar-menu[_ngcontent-%COMP%]{margin-top:-20px}.sidebar-menu[_ngcontent-%COMP%] .ant-menu-item-group-title{padding-bottom:0}.sidebar-menu.is-collapsed[_ngcontent-%COMP%]{margin-top:-8px}.sidebar-menu.is-collapsed[_ngcontent-%COMP%] .ant-menu-item-group-title{text-align:center}.cc-notice[_ngcontent-%COMP%]{margin-top:5em;text-align:center;width:170px}.cc-notice[_ngcontent-%COMP%] .cc-glyph[_ngcontent-%COMP%]{width:56px}.cc-notice[_ngcontent-%COMP%] .cc-txt[_ngcontent-%COMP%]{width:76px}.cc-notice.is-collapsed[_ngcontent-%COMP%]{width:80px}.cc-notice.is-collapsed[_ngcontent-%COMP%] .cc-glyph[_ngcontent-%COMP%]{width:35px}.cc-notice.is-collapsed[_ngcontent-%COMP%] .cc-txt[_ngcontent-%COMP%]{display:none}.sidebar-logo[_ngcontent-%COMP%]{height:90px}.sidebar-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:133px;height:auto;margin:12px 16px;transition:all .2s}.sidebar-logo.is-collapsed[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:auto;margin:12px 20px;transition:all .2s}.ant-layout-header[_ngcontent-%COMP%]{height:64px;line-height:64px;padding:0;position:fixed;width:calc(100% - 170px);z-index:10;color:#d6e4ff}.header-trigger[_ngcontent-%COMP%]{height:64px;cursor:pointer;color:#d6e4ff;padding:1em 1em 1em 0}#header-row[_ngcontent-%COMP%]{flex-wrap:nowrap}#header-menu[_ngcontent-%COMP%]{text-align:right;height:64px}#header-search[_ngcontent-%COMP%]{height:64px;padding-right:16px}#header-viewer[_ngcontent-%COMP%]{text-align:right;padding-right:1em}.header-quicksearch[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .header-menu[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .header-user[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#d6e4ff}nz-content[_ngcontent-%COMP%]{margin-top:64px;overflow:initial;position:relative;z-index:1;background-color:#273340;border-top:1px solid #3e5166;border-left:1px solid #3e5166;padding:12px;border-top-left-radius:16px}"]});const pt=[{path:"",pathMatch:"full",redirectTo:"/welcome"},{path:"",component:hn,children:[{path:"assertions",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(3883),t.e(770),t.e(8592),t.e(404)]).then(t.bind(t,136)).then(a=>a.AssertionsModule),data:{breadcrumb:"Assertions"}},{path:"molecular-profiles",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(1798),t.e(4024),t.e(8103),t.e(933)]).then(t.bind(t,933)).then(a=>a.MolecularProfilesModule),data:{breadcrumb:"Molecular Profiles"}},{path:"clinical-trials",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(1192),t.e(7717),t.e(729)]).then(t.bind(t,1838)).then(a=>a.ClinicalTrialsModule),data:{breadcrumb:"Clinical Trials"}},{path:"diseases",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(1192),t.e(3883),t.e(3547)]).then(t.bind(t,9317)).then(a=>a.DiseasesModule),data:{breadcrumb:"Diseases"}},{path:"therapies",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(1192),t.e(3883),t.e(9526)]).then(t.bind(t,8379)).then(a=>a.TherapiesModule),data:{breadcrumb:"Therapies"}},{path:"evidence",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(1192),t.e(7215)]).then(t.bind(t,7727)).then(a=>a.EvidenceModule),data:{breadcrumb:"Evidence"}},{path:"genes",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(1798),t.e(681)]).then(t.bind(t,681)).then(a=>a.GenesModule),data:{breadcrumb:"Genes"}},{path:"organizations",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(1192),t.e(6724),t.e(9716),t.e(5566),t.e(3883),t.e(5291),t.e(1798),t.e(943),t.e(2186),t.e(8592),t.e(9761)]).then(t.bind(t,9761)).then(a=>a.OrganizationsModule),data:{breadcrumb:"Organizations"}},{path:"phenotypes",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(1192),t.e(3883),t.e(1184)]).then(t.bind(t,5281)).then(a=>a.PhenotypesModule),data:{breadcrumb:"Phenotypes"}},{path:"sources",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(1192),t.e(6724),t.e(5566),t.e(2043),t.e(943),t.e(7717),t.e(1711)]).then(t.bind(t,1075)).then(a=>a.SourcesModule),data:{breadcrumb:"Sources"}},{path:"curation",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(1192),t.e(6724),t.e(5566),t.e(3883),t.e(943),t.e(8891)]).then(t.bind(t,7563)).then(a=>a.CurationModule),data:{breadcrumb:"Curation"}},{path:"users",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(9397),t.e(1192),t.e(6724),t.e(9716),t.e(5566),t.e(3883),t.e(5291),t.e(1798),t.e(943),t.e(2186),t.e(8592),t.e(3218)]).then(t.bind(t,3218)).then(a=>a.UsersModule),data:{breadcrumb:"Contributors"}},{path:"variant-groups",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(79)]).then(t.bind(t,79)).then(a=>a.VariantGroupsModule),data:{breadcrumb:"Variant Groups"}},{path:"variants",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(1798),t.e(4024),t.e(9246),t.e(9221)]).then(t.bind(t,9221)).then(a=>a.VariantsModule),data:{breadcrumb:"Variants"}},{path:"variant-types",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(1798),t.e(4024),t.e(9246),t.e(1875)]).then(t.bind(t,1875)).then(a=>a.VariantTypesModule),data:{breadcrumb:"Variant Types"}},{path:"welcome",loadChildren:()=>Promise.all([t.e(9397),t.e(6724),t.e(9716),t.e(2186),t.e(4368)]).then(t.bind(t,195)).then(a=>a.WelcomeModule),data:{breadcrumb:"Welcome to CIViC"}},{path:"releases",loadChildren:()=>Promise.all([t.e(4637),t.e(4579)]).then(t.bind(t,4579)).then(a=>a.ReleasesModule),data:{breadcrumb:"Releases"}},{path:"pages",loadChildren:()=>t.e(4038).then(t.bind(t,4038)).then(a=>a.PagesModule),data:{breadcrumb:"Pages"}},{path:"forms2",loadChildren:()=>Promise.all([t.e(4637),t.e(8951),t.e(1192),t.e(2379),t.e(770),t.e(8592),t.e(6343)]).then(t.bind(t,8317)).then(a=>a.TestPagesModule),data:{breadcrumb:"Forms2"}}]}];class nn{}nn.\u0275fac=function(m){return new(m||nn)},nn.\u0275mod=n.oAB({type:nn}),nn.\u0275inj=n.cJS({imports:[l.Bz.forChild(pt),l.Bz]});var un=t(317),p=t(5635),f=t(6704),u=t(2383),E=t(9444);class H{}H.\u0275fac=function(m){return new(m||H)},H.\u0275mod=n.oAB({type:H}),H.\u0275inj=n.cJS({imports:[e.ez,On.u5,l.Bz,w._N,w.pP,E.s,_n.ZJ,fn.LV,p.o7,f.U5,x.PV,u.ic]});var zn=t(1844),ut=t(5473),Cn=t(330),gt=t(5866);class vn{}vn.\u0275fac=function(m){return new(m||vn)},vn.\u0275mod=n.oAB({type:vn}),vn.\u0275inj=n.cJS({imports:[e.ez,w._N,w.pP,en.b1,l.Bz,on.sL,yn.zf,x.PV,En.mS,$.cg,Pn.Qp,ut.H,Cn.e,gt.e]});class Tn{}Tn.\u0275fac=function(m){return new(m||Tn)},Tn.\u0275mod=n.oAB({type:Tn}),Tn.\u0275inj=n.cJS({imports:[e.ez,nn,x.PV,O.Jb,W,M.ip,$.cg,_n.ZJ,un.s,zn.B,vn,H]})},6211:(Y,Z,t)=>{t.d(Z,{$:()=>A,j:()=>h});var e=t(655),l=t(6895),n=t(4650),c=t(727),x=t(4707),O=t(7579),i=t(6451),T=t(4968),r=t(2722),g=t(4004),_=t(9468),M=t(2536),P=t(3187),I=t(3303),F=t(3353),U=t(1519),B=t(445);const J=["fixedEl"],o=["*"];var R=(()=>{return(z=R||(R={})).resize="resize",z.scroll="scroll",z.touchstart="touchstart",z.touchmove="touchmove",z.touchend="touchend",z.pageshow="pageshow",z.load="LOAD",R;var z})();function Q(z){return function K(z){return typeof window<"u"&&z===window}(z)?{top:0,left:0,bottom:0}:z.getBoundingClientRect()}const D="ant-affix";let A=(()=>{class z{constructor(d,S,N,W,$,q,G,k,j,X){this.nzConfigService=N,this.scrollSrv=W,this.ngZone=$,this.platform=q,this.renderer=G,this.nzResizeObserver=k,this.cdr=j,this.directionality=X,this._nzModuleName="affix",this.nzChange=new n.vpe,this.dir="ltr",this.positionChangeSubscription=c.w0.EMPTY,this.offsetChanged$=new x.t(1),this.destroy$=new O.x,this.placeholderNode=d.nativeElement,this.document=S}get target(){const d=this.nzTarget;return("string"==typeof d?this.document.querySelector(d):d)||window}ngOnInit(){this.directionality.change?.pipe((0,r.R)(this.destroy$)).subscribe(d=>{this.dir=d,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(d){const{nzOffsetBottom:S,nzOffsetTop:N,nzTarget:W}=d;(S||N)&&this.offsetChanged$.next(),W&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){if(!this.platform.isBrowser)return;this.removeListeners();const d=this.target===window?this.document.body:this.target;this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>(0,i.T)(...Object.keys(R).map(S=>(0,T.R)(this.target,S)),this.offsetChanged$.pipe((0,g.U)(()=>({}))),this.nzResizeObserver.observe(d)).pipe((0,_.p)(20,void 0,{trailing:!0}),(0,r.R)(this.destroy$)).subscribe(S=>this.updatePosition(S))),this.timeout=setTimeout(()=>this.updatePosition({}))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}getOffset(d,S){const N=d.getBoundingClientRect(),W=Q(S),$=this.scrollSrv.getScroll(S,!0),q=this.scrollSrv.getScroll(S,!1),G=this.document.body;return{top:N.top-W.top+$-(G.clientTop||0),left:N.left-W.left+q-(G.clientLeft||0),width:N.width,height:N.height}}setAffixStyle(d,S){const N=this.affixStyle,W=this.target===window;if("scroll"===d.type&&N&&S&&W||(0,P.wU)(N,S))return;const $=!!S,q=this.fixedEl.nativeElement;this.renderer.setStyle(q,"cssText",(0,P.GM)(S)),this.affixStyle=S,$?q.classList.add(D):q.classList.remove(D),this.updateRtlClass(),(S&&!N||!S&&N)&&this.nzChange.emit($)}setPlaceholderStyle(d){(0,P.wU)(d,this.placeholderStyle)||(this.renderer.setStyle(this.placeholderNode,"cssText",(0,P.GM)(d)),this.placeholderStyle=d)}syncPlaceholderStyle(d){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;const S={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(d,{...this.affixStyle,...S}),this.setPlaceholderStyle(S)}updatePosition(d){if(!this.platform.isBrowser)return;const S=this.target;let N=this.nzOffsetTop;const W=this.scrollSrv.getScroll(S,!0),$=this.getOffset(this.placeholderNode,S),q=this.fixedEl.nativeElement,G={width:q.offsetWidth,height:q.offsetHeight},k={top:!1,bottom:!1};"number"!=typeof N&&"number"!=typeof this.nzOffsetBottom?(k.top=!0,N=0):(k.top="number"==typeof N,k.bottom="number"==typeof this.nzOffsetBottom);const j=Q(S),X=S.innerHeight||S.clientHeight;if(W>=$.top-N&&k.top){const w=$.width;this.setAffixStyle(d,{position:"fixed",top:j.top+N,left:j.left+$.left,width:w}),this.setPlaceholderStyle({width:w,height:G.height})}else if(W<=$.top+G.height+this.nzOffsetBottom-X&&k.bottom){const w=S===window?0:window.innerHeight-j.bottom,en=$.width;this.setAffixStyle(d,{position:"fixed",bottom:w+this.nzOffsetBottom,left:j.left+$.left,width:en}),this.setPlaceholderStyle({width:en,height:$.height})}else d.type===R.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(d,{...this.affixStyle,width:this.placeholderNode.offsetWidth}):this.setAffixStyle(d),this.setPlaceholderStyle();"resize"===d.type&&this.syncPlaceholderStyle(d)}updateRtlClass(){const d=this.fixedEl.nativeElement;"rtl"===this.dir&&d.classList.contains(D)?d.classList.add(`${D}-rtl`):d.classList.remove(`${D}-rtl`)}}return z.\u0275fac=function(d){return new(d||z)(n.Y36(n.SBq),n.Y36(l.K0),n.Y36(M.jY),n.Y36(I.MF),n.Y36(n.R0b),n.Y36(F.t4),n.Y36(n.Qsj),n.Y36(U.D3),n.Y36(n.sBO),n.Y36(B.Is,8))},z.\u0275cmp=n.Xpm({type:z,selectors:[["nz-affix"]],viewQuery:function(d,S){if(1&d&&n.Gf(J,7),2&d){let N;n.iGM(N=n.CRH())&&(S.fixedEl=N.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[n.TTD],ngContentSelectors:o,decls:3,vars:0,consts:[["fixedEl",""]],template:function(d,S){1&d&&(n.F$t(),n.TgZ(0,"div",null,0),n.Hsn(2),n.qZA())},encapsulation:2,changeDetection:0}),(0,e.gn)([(0,M.oS)(),(0,P.Rn)(void 0)],z.prototype,"nzOffsetTop",void 0),(0,e.gn)([(0,M.oS)(),(0,P.Rn)(void 0)],z.prototype,"nzOffsetBottom",void 0),z})(),h=(()=>{class z{}return z.\u0275fac=function(d){return new(d||z)},z.\u0275mod=n.oAB({type:z}),z.\u0275inj=n.cJS({imports:[B.vT,l.ez,F.ud]}),z})()},9054:(Y,Z,t)=>{t.d(Z,{Zv:()=>C,cD:()=>A,yH:()=>L});var e=t(655),l=t(4650),n=t(4968),c=t(2722),x=t(9300),O=t(2539),i=t(2536),T=t(3303),r=t(3187),g=t(445),_=t(4903),M=t(6895),P=t(1102),I=t(6287);const F=["*"],U=["collapseHeader"];function B(h,z){if(1&h&&(l.ynx(0),l._UZ(1,"span",7),l.BQk()),2&h){const v=z.$implicit,d=l.oxw(2);l.xp6(1),l.Q6J("nzType",v||"right")("nzRotate",d.nzActive?90:0)}}function J(h,z){if(1&h&&(l.TgZ(0,"div"),l.YNc(1,B,2,2,"ng-container",3),l.qZA()),2&h){const v=l.oxw();l.xp6(1),l.Q6J("nzStringTemplateOutlet",v.nzExpandedIcon)}}function o(h,z){if(1&h&&(l.ynx(0),l._uU(1),l.BQk()),2&h){const v=l.oxw();l.xp6(1),l.Oqu(v.nzHeader)}}function R(h,z){if(1&h&&(l.ynx(0),l._uU(1),l.BQk()),2&h){const v=l.oxw(2);l.xp6(1),l.Oqu(v.nzExtra)}}function K(h,z){if(1&h&&(l.TgZ(0,"div",8),l.YNc(1,R,2,1,"ng-container",3),l.qZA()),2&h){const v=l.oxw();l.xp6(1),l.Q6J("nzStringTemplateOutlet",v.nzExtra)}}const Q="collapse";let L=(()=>{class h{constructor(v,d,S,N){this.nzConfigService=v,this.cdr=d,this.directionality=S,this.destroy$=N,this._nzModuleName=Q,this.nzAccordion=!1,this.nzBordered=!0,this.nzGhost=!1,this.nzExpandIconPosition="left",this.dir="ltr",this.listOfNzCollapsePanelComponent=[],this.nzConfigService.getConfigChangeEventForComponent(Q).pipe((0,c.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,c.R)(this.destroy$)).subscribe(v=>{this.dir=v,this.cdr.detectChanges()}),this.dir=this.directionality.value}addPanel(v){this.listOfNzCollapsePanelComponent.push(v)}removePanel(v){this.listOfNzCollapsePanelComponent.splice(this.listOfNzCollapsePanelComponent.indexOf(v),1)}click(v){this.nzAccordion&&!v.nzActive&&this.listOfNzCollapsePanelComponent.filter(d=>d!==v).forEach(d=>{d.nzActive&&(d.nzActive=!1,d.nzActiveChange.emit(d.nzActive),d.markForCheck())}),v.nzActive=!v.nzActive,v.nzActiveChange.emit(v.nzActive)}}return h.\u0275fac=function(v){return new(v||h)(l.Y36(i.jY),l.Y36(l.sBO),l.Y36(g.Is,8),l.Y36(T.kn))},h.\u0275cmp=l.Xpm({type:h,selectors:[["nz-collapse"]],hostAttrs:[1,"ant-collapse"],hostVars:10,hostBindings:function(v,d){2&v&&l.ekj("ant-collapse-icon-position-left","left"===d.nzExpandIconPosition)("ant-collapse-icon-position-right","right"===d.nzExpandIconPosition)("ant-collapse-ghost",d.nzGhost)("ant-collapse-borderless",!d.nzBordered)("ant-collapse-rtl","rtl"===d.dir)},inputs:{nzAccordion:"nzAccordion",nzBordered:"nzBordered",nzGhost:"nzGhost",nzExpandIconPosition:"nzExpandIconPosition"},exportAs:["nzCollapse"],features:[l._Bn([T.kn])],ngContentSelectors:F,decls:1,vars:0,template:function(v,d){1&v&&(l.F$t(),l.Hsn(0))},encapsulation:2,changeDetection:0}),(0,e.gn)([(0,i.oS)(),(0,r.yF)()],h.prototype,"nzAccordion",void 0),(0,e.gn)([(0,i.oS)(),(0,r.yF)()],h.prototype,"nzBordered",void 0),(0,e.gn)([(0,i.oS)(),(0,r.yF)()],h.prototype,"nzGhost",void 0),h})();const D="collapsePanel";let C=(()=>{class h{constructor(v,d,S,N,W,$){this.nzConfigService=v,this.ngZone=d,this.cdr=S,this.destroy$=N,this.nzCollapseComponent=W,this.noAnimation=$,this._nzModuleName=D,this.nzActive=!1,this.nzDisabled=!1,this.nzShowArrow=!0,this.nzActiveChange=new l.vpe,this.nzConfigService.getConfigChangeEventForComponent(D).pipe((0,c.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}markForCheck(){this.cdr.markForCheck()}ngOnInit(){this.nzCollapseComponent.addPanel(this),this.ngZone.runOutsideAngular(()=>(0,n.R)(this.collapseHeader.nativeElement,"click").pipe((0,x.h)(()=>!this.nzDisabled),(0,c.R)(this.destroy$)).subscribe(()=>{this.ngZone.run(()=>{this.nzCollapseComponent.click(this),this.cdr.markForCheck()})}))}ngOnDestroy(){this.nzCollapseComponent.removePanel(this)}}return h.\u0275fac=function(v){return new(v||h)(l.Y36(i.jY),l.Y36(l.R0b),l.Y36(l.sBO),l.Y36(T.kn),l.Y36(L,1),l.Y36(_.P,8))},h.\u0275cmp=l.Xpm({type:h,selectors:[["nz-collapse-panel"]],viewQuery:function(v,d){if(1&v&&l.Gf(U,7),2&v){let S;l.iGM(S=l.CRH())&&(d.collapseHeader=S.first)}},hostAttrs:[1,"ant-collapse-item"],hostVars:6,hostBindings:function(v,d){2&v&&l.ekj("ant-collapse-no-arrow",!d.nzShowArrow)("ant-collapse-item-active",d.nzActive)("ant-collapse-item-disabled",d.nzDisabled)},inputs:{nzActive:"nzActive",nzDisabled:"nzDisabled",nzShowArrow:"nzShowArrow",nzExtra:"nzExtra",nzHeader:"nzHeader",nzExpandedIcon:"nzExpandedIcon"},outputs:{nzActiveChange:"nzActiveChange"},exportAs:["nzCollapsePanel"],features:[l._Bn([T.kn])],ngContentSelectors:F,decls:8,vars:8,consts:[["role","button",1,"ant-collapse-header"],["collapseHeader",""],[4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-collapse-extra",4,"ngIf"],[1,"ant-collapse-content"],[1,"ant-collapse-content-box"],["nz-icon","",1,"ant-collapse-arrow",3,"nzType","nzRotate"],[1,"ant-collapse-extra"]],template:function(v,d){1&v&&(l.F$t(),l.TgZ(0,"div",0,1),l.YNc(2,J,2,1,"div",2),l.YNc(3,o,2,1,"ng-container",3),l.YNc(4,K,2,1,"div",4),l.qZA(),l.TgZ(5,"div",5)(6,"div",6),l.Hsn(7),l.qZA()()),2&v&&(l.uIk("aria-expanded",d.nzActive),l.xp6(2),l.Q6J("ngIf",d.nzShowArrow),l.xp6(1),l.Q6J("nzStringTemplateOutlet",d.nzHeader),l.xp6(1),l.Q6J("ngIf",d.nzExtra),l.xp6(1),l.ekj("ant-collapse-content-active",d.nzActive),l.Q6J("@.disabled",!(null==d.noAnimation||!d.noAnimation.nzNoAnimation))("@collapseMotion",d.nzActive?"expanded":"hidden"))},dependencies:[M.O5,P.Ls,I.f],encapsulation:2,data:{animation:[O.J_]},changeDetection:0}),(0,e.gn)([(0,r.yF)()],h.prototype,"nzActive",void 0),(0,e.gn)([(0,r.yF)()],h.prototype,"nzDisabled",void 0),(0,e.gn)([(0,i.oS)(),(0,r.yF)()],h.prototype,"nzShowArrow",void 0),h})(),A=(()=>{class h{}return h.\u0275fac=function(v){return new(v||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[g.vT,M.ez,P.PV,I.T,_.g]}),h})()}}]); \ No newline at end of file diff --git a/server/public/1875.638a9575e034ae9e.js b/server/public/1875.638a9575e034ae9e.js deleted file mode 100644 index 5ca9acf2b..000000000 --- a/server/public/1875.638a9575e034ae9e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1875],{767:(X,u,n)=>{n.d(u,{Q:()=>M});var l=n(6895),s=n(4006),d=n(8845),c=n(4126),h=n(4125),C=n(2994),y=n(8525),f=n(897),t=n(7946),p=n(701),r=n(9444),O=n(3111),E=n(1433),L=n(9240),m=n(2635),x=n(6616),Z=n(1971),V=n(8213),R=n(6704),K=n(1102),I=n(5635),v=n(8231),W=n(6903),D=n(6675),H=n(6672),_=n(7570),j=n(8823),Y=n(9460),b=n(4650);class M{}M.\u0275fac=function(P){return new(P||M)},M.\u0275mod=b.oAB({type:M}),M.\u0275inj=b.cJS({imports:[l.ez,m._N,m.pP,s.u5,x.sL,Z.vh,V.Wr,R.U5,K.PV,I.o7,v.LV,W.zf,D.HQ,H.X,_.cg,j.ZJ,O.n,E.c,h.k,d.Q,p.N,Y.i,r.s,C.y,y.T,L.w,f.$,t.x,c.u]})},9460:(X,u,n)=>{n.d(u,{i:()=>r});var l=n(6895),s=n(9116),d=n(6672),c=n(6581),h=n(1102),C=n(1698),y=n(9444),f=n(48),t=n(6429),p=n(4650);class r{}r.\u0275fac=function(E){return new(E||r)},r.\u0275mod=p.oAB({type:r}),r.\u0275inj=p.cJS({imports:[l.ez,s.Bz,f.mS,d.X,c.$6,h.PV,C.f,y.s,t.C]})},7279:(X,u,n)=>{n.d(u,{h:()=>v});var l=n(6895),s=n(4006),d=n(4125),c=n(2994),h=n(3650),C=n(8525),y=n(9444),f=n(3111),t=n(1433),p=n(9240),r=n(2635),O=n(6616),E=n(1971),L=n(1102),m=n(8231),x=n(6675),Z=n(6672),V=n(7570),R=n(8823),K=n(2811),I=n(4650);class v{}v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=I.oAB({type:v}),v.\u0275inj=I.cJS({imports:[l.ez,s.u5,r._N,r.pP,O.sL,E.vh,L.PV,m.LV,x.HQ,Z.X,V.cg,R.ZJ,y.s,f.n,t.c,d.k,c.y,h.T,K.s,C.T,p.w]})},1875:(X,u,n)=>{n.r(u),n.d(u,{VariantTypesModule:()=>S});var l=n(6895),s=n(9116),d=n(2635),c=n(5655),h=n(1102),C=n(4989),y=n(5630),f=n(9444),t=n(4650);class p{}p.\u0275fac=function(e){return new(e||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[l.ez,s.Bz,d._N,d.pP,c.KJ,h.PV,f.s,C.X,y.D]});var r=n(6903),O=n(767),E=n(7279),L=n(3855);class m{}m.\u0275fac=function(e){return new(e||m)},m.\u0275mod=t.oAB({type:m}),m.\u0275inj=t.cJS({imports:[l.ez,r.zf,O.Q,E.h,L.H]});var x=n(3679),Z=n(3973),V=n(4125),R=n(2994),K=n(8525),I=n(3111),v=n(1433),W=n(9240),D=n(6616),H=n(1971),_=n(6675),j=n(6672),Y=n(7570),b=n(8823),M=n(8645);class z{}z.\u0275fac=function(e){return new(e||z)},z.\u0275mod=t.oAB({type:z}),z.\u0275inj=t.cJS({imports:[l.ez,s.Bz,d._N,d.pP,D.sL,H.vh,h.PV,_.HQ,j.X,Y.cg,b.ZJ,I.n,v.c,V.k,C.X,R.y,Z.y,K.T,W.w,M.M,f.s]});class P{}P.\u0275fac=function(e){return new(e||P)},P.\u0275mod=t.oAB({type:P}),P.\u0275inj=t.cJS({imports:[l.ez,c.KJ,h.PV,x.Jb,D.sL,r.zf,b.ZJ,f.s,y.D,z]});var st=n(8675),A=n(6579),G=n(7630),at=n(6550),ot=n(8992),rt=n(160);function ct(a,e){if(1&a&&(t.TgZ(0,"cvc-link-tag",6),t._uU(1),t.qZA()),2&a){const o=t.oxw().ngIf;t.Q6J("href",o.url),t.xp6(1),t.hij(" ",o.soid," ")}}function pt(a,e){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),t._UZ(4,"i",3),t.ALo(5,"entityColor"),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-extra"),t.YNc(8,ct,2,2,"cvc-link-tag",4),t.qZA(),t.TgZ(9,"nz-page-header-content")(10,"div",5),t._uU(11),t._UZ(12,"router-outlet"),t.qZA()()(),t.BQk()),2&a){const o=e.ngIf;t.xp6(1),t.Q6J("displayName",o.name),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(5,5,"VariantType")),t.xp6(2),t.hij(" ",o.name," "),t.xp6(2),t.Q6J("ngIf",o.url),t.xp6(3),t.hij(" ",o.description," ")}}class J{constructor(e,o){this.route=e,this.gql=o,this.routeSub=this.route.params.subscribe(g=>{this.variantTypeId=+g.variantTypeId,this.queryRef=this.gql.watch({variantTypeId:this.variantTypeId});let i=this.queryRef.valueChanges;this.loading$=i.pipe((0,A.j)("loading"),(0,st.O)(!0)),this.variantType$=i.pipe((0,A.j)("data","variantType"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}J.\u0275fac=function(e){return new(e||J)(t.Y36(s.gz),t.Y36(G.ubO))},J.\u0275cmp=t.Xpm({type:J,selectors:[["cvc-variant-types-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-varianttype",3,"nzTwotoneColor"],["tooltip","View on sequenceontology.org",3,"href",4,"ngIf"],[1,"content"],["tooltip","View on sequenceontology.org",3,"href"]],template:function(e,o){1&e&&(t.YNc(0,pt,13,7,"ng-container",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,o.variantType$))},dependencies:[l.O5,s.lC,c.$O,c.u9,c.u5,c.Jp,h.Ls,at.l,ot.I,d.fM,rt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var U,it=n(7044),_t=n(655),gt=n(3154),$=n(9933),lt=n(1135),k=n(7579),q=n(3240),tt=n(1884),dt=n(2529),ht=n(5684),w=n(9300),nt=n(4004),mt=n(8372),vt=n(1365),ft=n(5851),Tt=n(7451),ut=n(2166),Ct=n(3388),yt=n(3667),Mt=n(9947),zt=n(7701);function Pt(a,e){}function Ot(a,e){if(1&a&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,Pt,0,0,"ng-template",6),t.qZA(),t.BQk()),2&a){t.oxw();const o=t.MAs(6),g=t.MAs(8),i=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",o)("nzExtra",g),t.xp6(1),t.Q6J("ngTemplateOutlet",i)}}function Et(a,e){}const xt=function(a){return{height:a}};function Dt(a,e){if(1&a&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,Et,0,0,"ng-template",6),t.qZA()()),2&a){const o=t.oxw(),g=t.MAs(6),i=t.MAs(8),T=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,xt,o.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",g)("nzExtra",i),t.xp6(1),t.Q6J("ngTemplateOutlet",T)}}function At(a,e){1&a&&t._uU(0," -- ")}function It(a,e){if(1&a&&(t.TgZ(0,"tr",22)(1,"td",18),t._UZ(2,"cvc-variant-type-tag",23),t.qZA(),t.TgZ(3,"td")(4,"cvc-link-tag",24),t._uU(5),t.qZA(),t.YNc(6,At,1,0,"ng-template",null,25,t.W1O),t.qZA(),t.TgZ(8,"td",26),t._uU(9),t.qZA()()),2&a){const o=e.$implicit;t.xp6(2),t.Q6J("variantType",o),t.xp6(2),t.Q6J("href",o.url),t.xp6(1),t.hij(" ",o.soid," "),t.xp6(4),t.hij(" ",o.variantCount," ")}}const bt=function(){return[]},Ut=function(){return{x:"680px",y:"800px"}},Bt=function(){return["descend","ascend",null]};function St(a,e){if(1&a){const o=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(i){t.CHM(o);const T=t.oxw();return t.KtG(T.scrollEvent$.next(i))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(i){t.CHM(o);const T=t.oxw();return t.KtG(T.sortChange$.next(i))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," SOID "),t.qZA(),t.TgZ(12,"th",15),t._UZ(13,"i",16),t._uU(14," Count "),t.qZA()(),t.TgZ(15,"tr",17)(16,"th",18)(17,"cvc-clearable-input-filter",19),t.NdJ("inputModelChange",function(i){t.CHM(o);const T=t.oxw();return t.KtG(T.nameFilter=i)})("inputModelChange",function(){t.CHM(o);const i=t.oxw();return t.KtG(i.filterChange$.next())}),t.qZA()(),t.TgZ(18,"th")(19,"cvc-clearable-input-filter",19),t.NdJ("inputModelChange",function(i){t.CHM(o);const T=t.oxw();return t.KtG(T.soidFilter=i)})("inputModelChange",function(){t.CHM(o);const i=t.oxw();return t.KtG(i.filterChange$.next())}),t.qZA()(),t._UZ(20,"th",20),t.qZA()(),t.TgZ(21,"tbody"),t.YNc(22,It,10,4,"ng-template",21),t.qZA()()}if(2&a){const o=t.oxw();t.Q6J("nzData",t.lcZ(2,20,o.row$)||t.DdM(28,bt))("nzLoading",!t.lcZ(3,22,o.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",o.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,24,o.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,26,o.scrollIndex$))("nzVirtualForTrackBy",o.trackByIndex)("nzScroll",t.DdM(29,Ut))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",o.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",o.sortColumns.Soid)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",o.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(30,Bt)),t.xp6(5),t.Q6J("inputModel",o.nameFilter),t.xp6(2),t.Q6J("inputModel",o.soidFilter)}}function Lt(a,e){}function Zt(a,e){if(1&a&&(t.ynx(0),t.YNc(1,Lt,0,0,"ng-template",6),t.BQk()),2&a){const o=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",o.cvcTitleTemplate)}}function Vt(a,e){if(1&a&&(t.ynx(0),t._uU(1),t.BQk()),2&a){const o=t.oxw(2);t.xp6(1),t.hij(" ",o.cvcTitle," ")}}function Rt(a,e){if(1&a&&(t.YNc(0,Zt,2,1,"ng-container",27),t.YNc(1,Vt,2,1,"ng-container",27),t.TgZ(2,"span",28),t._UZ(3,"cvc-table-counts",29),t.qZA()),2&a){const o=t.oxw();t.Q6J("ngIf",o.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",o.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",o.connection$)}}function Kt(a,e){1&a&&(t.TgZ(0,"nz-tag",32),t._UZ(1,"i",33),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Wt(a,e){if(1&a&&(t.YNc(0,Kt,4,0,"nz-tag",30),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",31),t.ALo(3,"ngrxPush")),2&a){const o=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,o.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,o.noMoreRows$))}}let et=((U=class{set initialUserFilters(e){e&&Object.assign(this,e)}constructor(e,o){this.gql=e,this.cdr=o,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=G.wpb,this.noMoreRows$=new lt.X(!1),this.scrollEvent$=new lt.X("stop"),this.sortChange$=new k.x,this.filterChange$=new k.x,this.scrollIndex$=new k.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,A.j)("loading"),(0,tt.x)(),(0,dt.o)(e=>!1!==e,!0)),this.moreLoading$=this.result$.pipe((0,A.j)("loading"),(0,tt.x)(),(0,ht.T)(2)),this.connection$=this.result$.pipe((0,A.j)("data","variantTypes"),(0,w.h)(q.ep)),this.row$=this.connection$.pipe((0,A.j)("edges"),(0,w.h)(q.ep),(0,nt.U)(e=>e.map(o=>o.node))),this.pageInfo$=this.connection$.pipe((0,A.j)("pageInfo"),(0,w.h)(q.ep)),this.sortChange$.pipe((0,$.t)(this)).subscribe(e=>{this.queryRef.refetch({sortBy:(0,gt._)(e)})}),this.filterChange$.pipe((0,mt.b)(500),(0,$.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,nt.U)(e=>"stop"!==e),(0,tt.x)(),(0,$.t)(this)).subscribe(e=>{this.isScrolling=e,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,w.h)(e=>"bottom"===e),(0,vt.M)(this.pageInfo$),(0,nt.U)(([e,o])=>o),(0,$.t)(this)).subscribe(e=>{e.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameFilter,soid:this.soidFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(e,o){return o?.id}}).\u0275fac=function(e){return new(e||U)(t.Y36(G.fwG),t.Y36(t.sBO))},U.\u0275cmp=t.Xpm({type:U,selectors:[["cvc-variant-types-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","450px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100%",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"variantType"],["tooltip","View on sequenceontology.org",3,"href"],["noSoid",""],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(e,o){if(1&e&&(t.YNc(0,Ot,3,3,"ng-container",0),t.YNc(1,Dt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,St,23,31,"ng-template",null,2,t.W1O),t.YNc(5,Rt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,Wt,4,6,"ng-template",null,4,t.W1O)),2&e){const g=t.MAs(2);t.Q6J("ngIf",!o.cvcHeight)("ngIfElse",g)}},dependencies:[l.O5,l.tP,l.PC,it.w,H.bd,h.Ls,_.N8,_.qD,_.Uo,_._C,_.Om,_.p0,_.$Z,_.zu,_.qn,_.UX,j.j,Y.SY,ft.D,Tt.q,ut.p,at.l,Ct.H,yt.B,Mt.y,zt.j,d.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),U);function Jt(a,e){1&a&&(t.TgZ(0,"a",14),t._UZ(1,"i",15),t._uU(2," View Variant Type Docs "),t.qZA())}function $t(a,e){1&a&&(t.TgZ(0,"a",16),t._UZ(1,"i",15),t._uU(2," View Variant Type Curation Docs "),t.qZA())}et=(0,_t.gn)([(0,$.c)()],et);class Q{constructor(){}ngOnInit(){}}Q.\u0275fac=function(e){return new(e||Q)},Q.\u0275cmp=t.Xpm({type:Q,selectors:[["variant-types-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-varianttype",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html#curating-variant-types","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variant Types"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html#curating-variant-types","target","_blank","nzSize","small","nzBlock",""]],template:function(e,o){1&e&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Variant Types"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," Variant Types are used to classify CIViC variants by Sequence Ontology terms, permitting advanced searching for categories of variants downstream semantic analyses. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Jt,3,0,"a",8),t.YNc(15,$t,3,0,"a",9),t.qZA()()(),t.TgZ(16,"div",10)(17,"div",11)(18,"div",12),t._UZ(19,"cvc-variant-types-table",13),t.qZA()()()()()),2&e&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"VariantType")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},dependencies:[c.$O,c.u5,h.Ls,x.t3,x.SK,D.ix,it.w,r.NU,r.$1,b.ZU,ot.I,et,rt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var Qt=n(6274);function Ft(a,e){if(1&a&&t._UZ(0,"cvc-variants-table",3),2&a){const o=t.oxw(2);t.Q6J("variantTypeId",o.variantTypeId)}}function Nt(a,e){1&a&&(t.TgZ(0,"nz-space",1),t.YNc(1,Ft,1,1,"cvc-variants-table",2),t.qZA())}class F{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(o=>{this.variantTypeId=+o.variantTypeId})}ngOnDestroy(){this.routeSub.unsubscribe()}}F.\u0275fac=function(e){return new(e||F)(t.Y36(s.gz))},F.\u0275cmp=t.Xpm({type:F,selectors:[["cvc-variant-types-summary"]],decls:1,vars:1,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["cvcTitle","Type Variants",3,"variantTypeId",4,"nzSpaceItem"],["cvcTitle","Type Variants",3,"variantTypeId"]],template:function(e,o){1&e&&t.YNc(0,Nt,2,0,"nz-space",0),2&e&&t.Q6J("ngIf",o.variantTypeId)},dependencies:[l.O5,r.NU,r.$1,Qt.S],styles:["[_nghost-%COMP%]{display:block}"]});class N{constructor(){}ngOnInit(){}}N.\u0275fac=function(e){return new(e||N)},N.\u0275cmp=t.Xpm({type:N,selectors:[["cvc-variant-types"]],decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"router-outlet")},dependencies:[s.lC],encapsulation:2});const Ht=[{path:"",component:N,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Q,data:{breadcrumb:"Home"}},{path:":variantTypeId",component:J,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:F,data:{breadcrumb:"Summary"}}]}]}];class B{}B.\u0275fac=function(e){return new(e||B)},B.\u0275mod=t.oAB({type:B}),B.\u0275inj=t.cJS({imports:[s.Bz.forChild(Ht),s.Bz]});class S{}S.\u0275fac=function(e){return new(e||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[l.ez,s.Bz,B,P,p,m]})}}]); \ No newline at end of file diff --git a/server/public/1914.81eee4a5b946f717.js b/server/public/1914.81eee4a5b946f717.js new file mode 100644 index 000000000..9c90678ca --- /dev/null +++ b/server/public/1914.81eee4a5b946f717.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[1914],{4059:(z,u,r)=>{r.d(u,{c:()=>c});var o=r(6814),d=r(9382),e=r(95),h=r(4190),f=r(551),_=r(3640),y=r(5879);let c=(()=>{class s{}return s.\u0275fac=function(T){return new(T||s)},s.\u0275mod=y.oAB({type:s}),s.\u0275inj=y.cJS({imports:[o.ez,h.Bz,d.we,e.Jb,f.PV,_.mS]}),s})()},5884:(z,u,r)=>{r.d(u,{J:()=>d,i:()=>o});const o={molecularProfileId:void 0,acmgCodeIds:[],ampLevel:void 0,assertionDirection:void 0,assertionType:void 0,clingenCodeIds:[],significance:void 0,description:void 0,diseaseId:void 0,therapyIds:[],therapyInteractionType:void 0,evidenceItemIds:[],fdaCompanionTest:void 0,fdaRegulatoryApproval:void 0,nccnGuidelineId:void 0,nccnGuidelineVersion:void 0,phenotypeIds:[],summary:void 0,variantOrigin:void 0},d={clientMutationId:void 0,fields:o,comment:void 0,organizationId:void 0}},5710:(z,u,r)=>{r.d(u,{_:()=>_});var o=r(313),d=r(1791),e=r(5619),h=r(5884),f=r(8475);class _ extends f.lG{constructor(){super(f.yQ.ASSERTION);const c=h.i;this.fields={molecularProfileId$:new e.X(c.molecularProfileId),variantMolecularProfile$:new e.X(void 0),geneId$:new e.X(void 0),variantId$:new e.X(void 0),variantOrigin$:new e.X(c.variantOrigin),assertionType$:new e.X(c.assertionType),assertionDirection$:new e.X(c.assertionDirection),evidenceItemIds$:new e.X(c.evidenceItemIds),significance$:new e.X(c.significance),diseaseId$:new e.X(c.diseaseId),therapyIds$:new e.X(c.therapyIds),therapyInteractionType$:new e.X(c.therapyInteractionType),phenotypeIds$:new e.X(c.phenotypeIds),nccnGuidelineId$:new e.X(c.nccnGuidelineId),fdaRegulatoryApproval$:new e.X(c.fdaRegulatoryApproval),fdaCompanionTest$:new e.X(c.fdaCompanionTest),ampLevel$:new e.X(c.ampLevel),acmgCodeIds$:new e.X(c.acmgCodeIds),clingenCodeIds$:new e.X(c.clingenCodeIds),nccnGuidelineVersion$:new e.X(c.nccnGuidelineVersion)},this.enums={entityType$:new e.X(this.getTypeOptions()),significance$:new e.X([]),direction$:new e.X([]),interaction$:new e.X(this.getInteractionOptions())},this.options={assertionTypeOption$:new e.X(this.getOptionsFromEnums(this.getTypeOptions())),directionOption$:new e.X(void 0),significanceOption$:new e.X(void 0)},this.requires={requiresDisease$:new e.X(!1),requiresTherapy$:new e.X(!1),requiresTherapyInteractionType$:new e.X(!1),requiresClingenCodes$:new e.X(!1),requiresAcmgCodes$:new e.X(!1),requiresAmpLevel$:new e.X(!1),allowsFdaApproval$:new e.X(!1)},this.fields.assertionType$.pipe((0,d.t)(this,"onDestroy")).subscribe(s=>{if(!s)return Object.entries(this.requires).forEach(([C,T])=>{T.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(s)),this.enums.direction$.next(this.getDirectionOptions(s)),this.requires.requiresDisease$.next(this.requiresDisease(s)),this.requires.requiresTherapy$.next(this.requiresTherapy(s)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(s)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(s)),this.requires.requiresAmpLevel$.next(this.requiresAmpLevel(s)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(s))}),this.fields.therapyIds$.pipe((0,d.t)(this,"onDestroy")).subscribe(s=>{this.requires.requiresTherapyInteractionType$.next(null!=s&&s.length>1)}),this.validStates.set(o.uBv.Predictive,{entityType:o.uBv.Predictive,significance:[o._3P.Sensitivityresponse,o._3P.Resistance,o._3P.AdverseResponse,o._3P.ReducedSensitivity,o._3P.Na],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!0}),this.validStates.set(o.uBv.Diagnostic,{entityType:o.uBv.Diagnostic,significance:[o._3P.Positive,o._3P.Negative],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Prognostic,{entityType:o.uBv.Prognostic,significance:[o._3P.BetterOutcome,o._3P.PoorOutcome,o._3P.Na],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Predisposing,{entityType:o.uBv.Predisposing,significance:[o._3P.Pathogenic,o._3P.LikelyPathogenic,o._3P.Benign,o._3P.LikelyBenign,o._3P.UncertainSignificance],entityDirection:[o.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!0,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Oncogenic,{entityType:o.uBv.Oncogenic,significance:[o._3P.Oncogenic,o._3P.LikelyOncogenic,o._3P.Benign,o._3P.LikelyBenign,o._3P.UncertainSignificance],entityDirection:[o.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!0,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},5910:(z,u,r)=>{r.r(u),r.d(u,{TestPagesModule:()=>Ke});var o=r(6814),d=r(4190),e=r(5879),h=r(4263);let f=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-nonstate-form"]],decls:1,vars:1,consts:[[3,"assertionId"]],template:function(n,a){1&n&&e._UZ(0,"cvc-assertion-revise-form",0),2&n&&e.Q6J("assertionId",3)},dependencies:[h.G],encapsulation:2,changeDetection:0}),t})();var _=r(1689);let y=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-assertion-submit-test-page"]],decls:1,vars:0,template:function(n,a){1&n&&e._UZ(0,"cvc-assertion-submit-form")},dependencies:[_.u],encapsulation:2,changeDetection:0}),t})();var c=r(9958);let s=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-evidence-revise-test-page"]],decls:1,vars:1,consts:[[3,"evidenceId"]],template:function(n,a){1&n&&e._UZ(0,"cvc-evidence-revise-form",0),2&n&&e.Q6J("evidenceId",7606)},dependencies:[c.r],encapsulation:2,changeDetection:0}),t})();var C=r(6278);let T=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-nonstate-form"]],decls:1,vars:0,template:function(n,a){1&n&&e._UZ(0,"cvc-evidence-submit-form")},dependencies:[C.l],encapsulation:2,changeDetection:0}),t})();var l=r(6223);const x={geneId:void 0},O=[{key:"molecularProfileId",type:"molecular-profile-select",props:{}},{key:"molecularProfileIds",type:"molecular-profile-multi-select",props:{}},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"evidenceType",type:"type-select",props:{}},{key:"evidenceTypes",type:"type-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"geneId",type:"gene-select"},{key:"geneIds",type:"gene-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"variantId",type:"variant-select",props:{requireGene:!1}},{key:"variantIds",type:"variant-multi-select",props:{requireGene:!1}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"sourceId",type:"source-select",props:{}},{key:"sourceIds",type:"source-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"diseaseId",type:"disease-select",props:{}},{key:"diseaseIds",type:"disease-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"drugId",type:"therapy-select",props:{}},{key:"drugIds",type:"therapy-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"evidenceLevel",type:"level-select",props:{}},{key:"evidenceLevel",type:"level-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"variantOrigin",type:"origin-select",props:{}},{key:"variantOrigins",type:"origin-multi-select",props:{}}]}];var A=r(5545),I=r(3599);let E=(()=>{class t{constructor(){this.form=new l.nJ({}),this.model=x,this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.fields=[{key:"fields",wrappers:["form-card"],props:{title:"Horizontal Field Layout, No State"},fieldGroup:O}]}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-horizontal-form"]],decls:2,vars:6,consts:[["nz-form","",3,"nzLayout","formGroup"],[2,"width","100%",3,"form","fields","model","options","modelChange"]],template:function(n,a){1&n&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(p){return a.model=p}),e.qZA()()),2&n&&(e.Q6J("nzLayout",a.formLayout)("formGroup",a.form),e.xp6(1),e.Q6J("form",a.form)("fields",a.fields)("model",a.model)("options",a.options))},dependencies:[l._Y,l.JL,l.sg,A.T7,I.Lr],encapsulation:2,changeDetection:0}),t})();var R=r(655),J=r(1791),D=r(5619),$=r(2181),U=r(7398),N=r(5676),q=r(4223);function S(t,i){for(var n=0;n{console.log(n);const a=Object.values(n).filter(g=>"object"==typeof g);return console.log(a),a}))}tagChecked(i){console.log(`Tag checked: ${i}`)}ngOnInit(){}}).\u0275fac=function(i){return new(i||v)(e.Y36(j.eDl))},v.\u0275cmp=e.Xpm({type:v,selectors:[["cvc-nonstate-form"]],decls:26,vars:6,consts:[["nzTitle","Entity Tags & Features"],["nzSize","small",3,"nzShowPagination","nzData"],["tagTable",""],["nzWidth","150px"],[4,"ngrxLet"],["cardExtra",""],[4,"ngFor","ngForOf"],[3,"cvcCacheId","cvcEmphasize"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["cvcMode","closeable",3,"cvcCacheId","cvcEmphasize"],["cvcMode","checkable",3,"cvcCacheId","cvcEmphasize","cvcTagCheckedChange"],["nz-input","","nzSize","small","type","text",3,"ngModel","ngModelChange"],["emphasizeInput",""]],template:function(i,n){1&i&&(e.TgZ(0,"nz-card",0)(1,"nz-table",1,2),e.ALo(3,"ngrxPush"),e.TgZ(4,"thead")(5,"tr")(6,"th",3),e._uU(7,"Entity"),e.qZA(),e.TgZ(8,"th"),e._uU(9,"Default"),e.qZA(),e.TgZ(10,"th"),e._uU(11,"Popover"),e.qZA(),e.TgZ(12,"th"),e._uU(13,"Closeable"),e.qZA(),e.TgZ(14,"th"),e._uU(15,"Checkable"),e.qZA(),e.TgZ(16,"th"),e._uU(17,"Trucate"),e.qZA(),e.TgZ(18,"th"),e._uU(19,"Group"),e.qZA(),e.TgZ(20,"th"),e._uU(21,"Unlinked"),e.qZA()()(),e.TgZ(22,"tbody"),e.YNc(23,re,13,3,"ng-container",4),e.qZA()()(),e.YNc(24,oe,4,3,"ng-template",null,5,e.W1O)),2&i&&(e.xp6(1),e.Q6J("nzShowPagination",!1)("nzData",e.lcZ(3,3,n.entityTagsData$)||e.DdM(5,se)),e.xp6(22),e.Q6J("ngrxLet",n.emphasizeStr$))},dependencies:[o.sg,o.RF,o.n9,o.ED,L.eJ,l.Fj,l.JJ,l.On,F.bd,m.N8,m.Uo,m._C,m.Om,m.p0,m.$Z,K.J,L.fM],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),v);b=(0,R.gn)([(0,J.c)()],b);let ce=(()=>{class t{constructor(){this.form=new l.nJ({}),this.model=x,this.formLayout="inline",this.options={formState:{formLayout:this.formLayout}},this.fields=[{key:"fields",wrappers:["form-card"],props:{title:"Inline Field Layout, No State"},fieldGroup:O}]}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-inline-form"]],decls:2,vars:6,consts:[["nz-form","",3,"nzLayout","formGroup"],[2,"width","100%",3,"form","fields","model","options","modelChange"]],template:function(n,a){1&n&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(p){return a.model=p}),e.qZA()()),2&n&&(e.Q6J("nzLayout",a.formLayout)("formGroup",a.form),e.xp6(1),e.Q6J("form",a.form)("fields",a.fields)("model",a.model)("options",a.options))},dependencies:[l._Y,l.JL,l.sg,A.T7,I.Lr],encapsulation:2,changeDetection:0}),t})(),le=(()=>{class t{constructor(){this.form=new l.nJ({}),this.model=x,this.formLayout="vertical",this.options={formState:{formLayout:this.formLayout}},this.fields=[{key:"fields",wrappers:["form-card"],props:{title:"Vertical Field Layout, No State"},fieldGroup:O}]}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-vertical-form"]],decls:2,vars:4,consts:[["nz-form","","nzLayout","vertical",3,"formGroup"],[2,"width","100%",3,"form","fields","model","modelChange"]],template:function(n,a){1&n&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(p){return a.model=p}),e.qZA()()),2&n&&(e.Q6J("formGroup",a.form),e.xp6(1),e.Q6J("form",a.form)("fields",a.fields)("model",a.model))},dependencies:[l._Y,l.JL,l.sg,A.T7,I.Lr],encapsulation:2,changeDetection:0}),t})();var M=r(6254),Z=r(95),P=r(9382),de=r(3145);function pe(t,i){if(1&t&&(e.TgZ(0,"a",9),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.Q6J("routerLink",n.routeName),e.xp6(1),e.hij(" ",n.tabLabel," ")}}function ge(t,i){1&t&&(e.TgZ(0,"nz-tab"),e.YNc(1,pe,2,2,"a",8),e.qZA())}let ue=(()=>{class t{constructor(n){this.router=n,this.selectedTabIndex=this.getActivatedRouteIndex(this.router.url),this.tabs=[{routeName:"evidence-submit-test",iconName:"civic-evidence",tabLabel:"Evidence Submit"},{routeName:"evidence-revise-test",iconName:"",tabLabel:"Evidence Revise"},{routeName:"assertion-submit-test",iconName:"",tabLabel:"Assertion Submit"},{routeName:"assertion-revise-test",iconName:"",tabLabel:"Assertion Revise"},{routeName:"variantgroup-revise-test",iconName:"",tabLabel:"VG Revise"},{routeName:"gene-revise-test",iconName:"",tabLabel:"Gene Revise"},{routeName:"mp-revise-test",iconName:"",tabLabel:"MP Revise"},{routeName:"variant-revise-test",iconName:"",tabLabel:"Variant Revise"},{routeName:"vertical-form",iconName:"",tabLabel:"Vertical"},{routeName:"inline-form",iconName:"",tabLabel:"Inline"},{routeName:"horizontal-form",iconName:"",tabLabel:"Horizontal"},{routeName:"tags-test",iconName:"",tabLabel:"Tags"}]}getActivatedRouteIndex(n){return this.tabs?.findIndex(a=>n.includes(a.routeName))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(d.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-test-pages"]],decls:15,vars:4,consts:[[1,"site-page-header"],["cvcFlaggableOptions",""],[3,"nzSpan"],["id","section-tabs"],["nzSpan","24"],["nzLinkRouter","","nzType","card","nzSize","small",3,"nzSelectedIndex"],[4,"ngFor","ngForOf"],[1,"content"],["nz-tab-link","",3,"routerLink",4,"nzTabLink"],["nz-tab-link","",3,"routerLink"]],template:function(n,a){1&n&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-title",1),e._uU(3," Forms2 Test Pages "),e.qZA(),e.TgZ(4,"nz-page-header-content")(5,"nz-row")(6,"nz-col",2)(7,"nz-row",3)(8,"nz-col",4)(9,"nz-tabset",5),e.YNc(10,ge,2,0,"nz-tab",6),e.qZA()()()()(),e.TgZ(11,"nz-row")(12,"nz-col",2)(13,"div",7),e._UZ(14,"router-outlet"),e.qZA()()()()()),2&n&&(e.xp6(6),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzSelectedIndex",a.selectedTabIndex),e.xp6(1),e.Q6J("ngForOf",a.tabs),e.xp6(2),e.Q6J("nzSpan",24))},dependencies:[o.sg,d.lC,d.rH,M.$O,M.u9,M.u5,Z.t3,Z.SK,P.xH,P.xw,P.Ao,P.Fx,de.I],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"],changeDetection:0}),t})();var me=r(9439);let fe=(()=>{class t{constructor(n){this.cdr=n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-variantgroup-revise-test-page"]],decls:1,vars:0,template:function(n,a){1&n&&e._UZ(0,"cvc-variantgroup-revise-form")},dependencies:[me.L],encapsulation:2}),t})();var ve=r(1858);let he=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-gene-form"]],decls:1,vars:1,consts:[[3,"geneId"]],template:function(n,a){1&n&&e._UZ(0,"cvc-gene-revise-form",0),2&n&&e.Q6J("geneId",6)},dependencies:[ve.$],encapsulation:2,changeDetection:0}),t})();var _e=r(3610);let ye=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-mp-form"]],decls:1,vars:1,consts:[[3,"molecularProfileId"]],template:function(n,a){1&n&&e._UZ(0,"cvc-mp-revise-form",0),2&n&&e.Q6J("molecularProfileId",3176)},dependencies:[_e.R],encapsulation:2,changeDetection:0}),t})();var Te=r(9230);const Pe=[{path:"",component:ue,children:[{path:"",redirectTo:"evidence-submit-test",pathMatch:"full"},{path:"evidence-submit-test",component:T,data:{breadcrumb:"Evidence Submit Test"}},{path:"evidence-revise-test",component:s,data:{breadcrumb:"Evidence Revise Test"}},{path:"assertion-submit-test",component:y,data:{breadcrumb:"Assertion Submit Test"}},{path:"assertion-revise-test",component:f,data:{breadcrumb:"Assertion Revise Test"}},{path:"variantgroup-revise-test",component:fe,data:{breadcrumb:"Variant Group Revise Test"}},{path:"gene-revise-test",component:he,data:{breadcrumb:"Gene Revise Test"}},{path:"mp-revise-test",component:ye,data:{breadcrumb:"MP Revise Test"}},{path:"variant-revise-test",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-variant-form"]],decls:1,vars:1,consts:[[3,"variantId"]],template:function(n,a){1&n&&e._UZ(0,"cvc-variant-revise-form",0),2&n&&e.Q6J("variantId",4)},dependencies:[Te.J],encapsulation:2,changeDetection:0}),t})(),data:{breadcrumb:"Variant Revise Test"}},{path:"vertical-form",component:le,data:{breadcrumb:"Nonstate"}},{path:"inline-form",component:ce,data:{breadcrumb:"Inline"}},{path:"horizontal-form",component:E,data:{breadcrumb:"Horizontal"}},{path:"tags-test",component:b,data:{breadcrumb:"Horizontal"}}]}];let Ce=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[d.Bz.forChild(Pe),d.Bz]}),t})();var Me=r(2419),ze=r(4059),xe=r(551),Oe=r(2392),Ae=r(2524),Ie=r(1416),be=r(2574);let Ze=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,Ie.Z,be.zf]}),t})();var we=r(7471);let Se=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,we.A]}),t})();var Le=r(4975);let Fe=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,Le.E]}),t})();var Ee=r(6902);let Re=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,Ee.P]}),t})();var w=r(6683);let Je=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,w.S]}),t})(),De=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,w.S]}),t})(),$e=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,w.S]}),t})();var Ue=r(3328);let Ne=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,l.u5,F.vh,m.HQ,Ue.x]}),t})();var qe=r(4706);let Be=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,qe.A]}),t})();var Xe=r(296);let Ge=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,Xe.C]}),t})();var Qe=r(9934);let Ve=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,Qe.i]}),t})();var He=r(1351);let je=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,He.K]}),t})(),Ke=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[o.ez,Ce,M.KJ,Z.Jb,xe.PV,Oe.ZJ,P.we,Ze,Se,Ge,Ve,Fe,Re,je,Je,De,$e,Ne,Ae.s,ze.c,Me.D,Be]}),t})()}}]); \ No newline at end of file diff --git a/server/public/2043.b7848c965aa73a21.js b/server/public/2043.b7848c965aa73a21.js deleted file mode 100644 index 4382b27cc..000000000 --- a/server/public/2043.b7848c965aa73a21.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2043],{7948:(w,Q,e)=>{e.d(Q,{m:()=>N});var t=e(4650),v=e(6895),o=e(6672),n=e(1102),y=e(3579),$=e(2826),M=e(2268),A=e(5457),Z=e(112),P=e(3965),R=e(125),O=e(5749),z=e(5105);function x(_,g){if(1&_&&(t.ynx(0),t._UZ(1,"span",2),t.BQk()),2&_){const r=t.oxw().$implicit;t.xp6(1),t.Q6J("innerHtml",r.text,t.oJD)}}function I(_,g){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-user-tag",3),t.BQk()),2&_){const r=t.oxw().$implicit;t.xp6(1),t.Q6J("user",r)}}const S=function(_,g,r,W){return{id:_,name:g,link:r,revisionSetId:W}};function F(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-revision-tag",6),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("revision",t.l5B(1,S,r.entityId,r.displayName,r.link,r.revisionSetId))}}const U=function(_,g,r){return{id:_,name:g,link:r}};function L(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-gene-tag",7),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("gene",t.kEZ(1,U,r.entityId,r.displayName,r.link))}}const B=function(_,g,r,W){return{id:_,name:g,link:r,deprecated:W}};function D(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-variant-tag",8),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("variant",t.l5B(1,B,r.entityId,r.displayName,r.link,r.deprecated))}}function J(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-variant-group-tag",9),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("variantgroup",t.kEZ(1,U,r.entityId,r.displayName,r.link))}}const E=function(_,g,r,W){return{id:_,name:g,status:r,link:W}};function f(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-evidence-tag",10),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("evidence",t.l5B(1,E,r.entityId,r.displayName,r.status,r.link))}}function d(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-assertion-tag",11),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("assertion",t.l5B(1,E,r.entityId,r.displayName,r.status,r.link))}}const i=function(_,g){return{id:_,name:g}};function l(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-organization-tag",12),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("org",t.WLB(1,i,r.entityId,r.displayName))}}function a(_,g){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-molecular-profile-tag",13),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("molecularProfile",t.l5B(1,B,r.entityId,r.displayName,r.link,r.deprecated))}}function C(_,g){if(1&_&&(t.TgZ(0,"span")(1,"nz-tag"),t._UZ(2,"i",14),t._uU(3),t.qZA()()),2&_){const r=t.oxw(2).$implicit;t.xp6(2),t.MGl("nzType","civic-",r.displayName.slice(0,-1),""),t.xp6(1),t.hij(" ",r.displayName,"")}}function T(_,g){if(1&_&&(t.ynx(0)(1,4),t.YNc(2,F,2,6,"span",5),t.YNc(3,L,2,5,"span",5),t.YNc(4,D,2,6,"span",5),t.YNc(5,J,2,5,"span",5),t.YNc(6,f,2,6,"span",5),t.YNc(7,d,2,6,"span",5),t.YNc(8,l,2,4,"span",5),t.YNc(9,a,2,6,"span",5),t.YNc(10,C,4,2,"span",5),t.BQk()()),2&_){const r=t.oxw().$implicit;t.xp6(1),t.Q6J("ngSwitch",r.tagType),t.xp6(1),t.Q6J("ngSwitchCase","REVISION"),t.xp6(1),t.Q6J("ngSwitchCase","GENE"),t.xp6(1),t.Q6J("ngSwitchCase","VARIANT"),t.xp6(1),t.Q6J("ngSwitchCase","VARIANT_GROUP"),t.xp6(1),t.Q6J("ngSwitchCase","EVIDENCE_ITEM"),t.xp6(1),t.Q6J("ngSwitchCase","ASSERTION"),t.xp6(1),t.Q6J("ngSwitchCase","ORGANIZATION"),t.xp6(1),t.Q6J("ngSwitchCase","MOLECULAR_PROFILE"),t.xp6(1),t.Q6J("ngSwitchCase","ROLE")}}function h(_,g){if(1&_&&(t.ynx(0),t.YNc(1,x,2,1,"ng-container",1),t.YNc(2,I,2,1,"ng-container",1),t.YNc(3,T,11,10,"ng-container",1),t.BQk()),2&_){const r=g.$implicit;t.xp6(1),t.Q6J("ngIf","CommentTextSegment"==r.__typename),t.xp6(1),t.Q6J("ngIf","User"==r.__typename),t.xp6(1),t.Q6J("ngIf","CommentTagSegment"==r.__typename)}}class N{ngOnInit(){if(void 0===this.commentBodySegments)throw new Error("Must pass a list of comment body segments into comment body component.")}}N.\u0275fac=function(g){return new(g||N)},N.\u0275cmp=t.Xpm({type:N,selectors:[["cvc-comment-body"]],inputs:{commentBodySegments:"commentBodySegments"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"innerHtml"],[3,"user"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"revision"],[3,"gene"],[3,"variant"],[3,"variantgroup"],[3,"evidence"],[3,"assertion"],[3,"org"],[3,"molecularProfile"],["nz-icon","","nzTheme","twotone","nzTwotoneColor","#A0D8F5",3,"nzType"]],template:function(g,r){1&g&&t.YNc(0,h,4,3,"ng-container",0),2&g&&t.Q6J("ngForOf",r.commentBodySegments)},dependencies:[v.sg,v.O5,v.RF,v.n9,o.j,n.Ls,y.p,$.w,M.O,A.I,Z.u,P.H,R.I,O.m,z.p],encapsulation:2})},3801:(w,Q,e)=>{e.d(Q,{D:()=>G});var t=e(7630),v=e(4004),o=e(6579),n=e(4650),y=e(6895),$=e(6616),M=e(7044),A=e(3679),Z=e(1971),P=e(6152),R=e(1102),O=e(4383),z=e(6903),x=e(7579),I=e(2722),S=e(6123),F=e(9350),U=e(9169),L=e(4006),B=e(1664),D=e(6704),J=e(5681),E=e(9597),f=e(822),d=e(1793),i=e(8227),l=e(9180),a=e(9383);function C(s,c){if(1&s){const m=n.EpF();n.TgZ(0,"nz-alert",7),n.NdJ("nzOnClose",function(){n.CHM(m);const u=n.oxw();return n.KtG(u.onSuccessBannerClose())}),n.qZA()}}function T(s,c){if(1&s&&(n.TgZ(0,"nz-form-item"),n._UZ(1,"cvc-form-errors-alert",8),n.qZA()),2&s){const m=n.oxw();n.xp6(1),n.Q6J("errors",m.errorMessages)}}class h{constructor(c,m,p){this.viewerService=c,this.addCommentGql=m,this.networkErrorService=p,this.commentAddedEvent=new n.vpe,this.destroy$=new x.x,this.success=!1,this.errorMessages=[],this.loading=!1,this.viewerService.viewer$.pipe((0,I.R)(this.destroy$)).subscribe(u=>{this.organizations=u.organizations,this.mostRecentOrg=u.mostRecentOrg}),this.addCommentMutator=new S.U(p)}selectOrg(c){this.mostRecentOrg=c}submitComment(){if(this.commentText){this.errorMessages=[];let m=this.addCommentMutator.mutate(this.addCommentGql,{input:{body:this.commentText,subject:this.subject,organizationId:void 0===this.mostRecentOrg?void 0:this.mostRecentOrg.id}});m.submitSuccess$.pipe((0,I.R)(this.destroy$)).subscribe(p=>{p&&(this.resetForm(),this.success=!0)}),m.submitError$.pipe((0,I.R)(this.destroy$)).subscribe(p=>{p&&(this.errorMessages=p,this.success=!1)}),m.isSubmitting$.pipe((0,I.R)(this.destroy$)).subscribe(p=>{this.loading=p})}}resetForm(){this.commentText="",this.commentAddedEvent.emit()}onSuccessBannerClose(){this.resetForm()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}h.\u0275fac=function(c){return new(c||h)(n.Y36(F.a),n.Y36(t.iGM),n.Y36(U.Y))},h.\u0275cmp=n.Xpm({type:h,selectors:[["cvc-comment-add-form"]],inputs:{subject:"subject"},outputs:{commentAddedEvent:"commentAddedEvent"},decls:12,vars:6,consts:[["nzBanner","","nzMessage","Comment submitted","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[4,"ngIf"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"],["nzBanner","","nzMessage","Comment submitted","nzType","success","nzCloseable","",3,"nzOnClose"],[3,"errors"]],template:function(c,m){1&c&&(n.TgZ(0,"nz-card"),n.YNc(1,C,1,0,"nz-alert",0),n.TgZ(2,"form",1),n.NdJ("ngSubmit",function(){return m.submitComment()}),n.YNc(3,T,2,1,"nz-form-item",2),n.TgZ(4,"cvc-comment-input-form",3),n.NdJ("commentChange",function(u){return m.commentText=u}),n.qZA(),n.TgZ(5,"nz-spin",4)(6,"nz-form-item")(7,"nz-form-control")(8,"cvc-form-buttons")(9,"cvc-org-selector-btn-group",5),n.NdJ("selectedOrgChange",function(u){return m.mostRecentOrg=u}),n.TgZ(10,"button",6),n._uU(11," Add Comment "),n.qZA()()()()()()()()),2&c&&(n.xp6(1),n.Q6J("ngIf",m.success),n.xp6(2),n.Q6J("ngIf",m.errorMessages.length>0),n.xp6(1),n.Q6J("comment",m.commentText),n.xp6(1),n.Q6J("nzSpinning",m.loading),n.xp6(4),n.Q6J("selectedOrg",m.mostRecentOrg),n.xp6(1),n.Q6J("disabled",m.loading||!(void 0!==m.commentText&&m.commentText.length>=10)))},dependencies:[y.O5,L._Y,L.JL,$.ix,M.w,B.dQ,Z.bd,A.t3,A.SK,D.Lr,D.Nx,D.Fd,J.W,E.r,L.F,f.V,d.m,i.q,l.Z,a.b],styles:[":host{display:block}nz-space{width:100%}nz-form-item:last-of-type{margin-bottom:0}\n"],encapsulation:2});var N=e(8747),_=e(3682),g=e(7948),r=e(5083);function W(s,c){if(1&s&&n._UZ(0,"nz-avatar",4),2&s){const m=n.oxw();n.Q6J("nzSrc",m.comment.commenter.profileImagePath)}}function H(s,c){1&s&&n._UZ(0,"nz-avatar",5)}class K{ngOnInit(){if(void 0===this.comment)throw new Error("Must pass a comment into comment display component.")}}K.\u0275fac=function(c){return new(c||K)},K.\u0275cmp=n.Xpm({type:K,selectors:[["cvc-comment-display"]],inputs:{comment:"comment"},decls:7,vars:7,consts:[[3,"nzAuthor","nzDatetime"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],[3,"commentBodySegments"],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","","nzIcon","civic:curator"]],template:function(c,m){if(1&c&&(n.TgZ(0,"nz-comment",0),n.ALo(1,"timeAgo"),n.YNc(2,W,1,1,"nz-avatar",1),n.YNc(3,H,1,0,"ng-template",null,2,n.W1O),n.TgZ(5,"nz-comment-content"),n._UZ(6,"cvc-comment-body",3),n.qZA()()),2&c){const p=n.MAs(4);n.Q6J("nzAuthor",m.comment.commenter.displayName)("nzDatetime",n.lcZ(1,5,m.comment.createdAt)),n.xp6(2),n.Q6J("ngIf",m.comment.commenter.profileImagePath)("ngIfElse",p),n.xp6(4),n.Q6J("commentBodySegments",m.comment.parsedComment)}},dependencies:[y.O5,_.WE,_.DA,_.Y4,O.Dz,g.m,r.x],encapsulation:2});var V=e(2635),b=e(9058);function X(s,c){if(1&s){const m=n.EpF();n.TgZ(0,"div",18)(1,"button",19),n.NdJ("click",function(){n.CHM(m);const u=n.oxw().ngIf,Y=n.oxw(3);return n.KtG(Y.onLoadMore(u.startCursor))}),n._uU(2," Load older comments "),n.qZA()()}}function q(s,c){if(1&s&&(n.TgZ(0,"nz-list-header"),n.YNc(1,X,3,0,"div",17),n.qZA()),2&s){const m=c.ngIf;n.xp6(1),n.Q6J("ngIf",m.hasPreviousPage)}}function k(s,c){if(1&s&&(n.TgZ(0,"nz-list-item"),n._UZ(1,"cvc-comment-display",20),n.qZA()),2&s){const m=c.$implicit;n.xp6(1),n.Q6J("comment",m)}}function nn(s,c){if(1&s&&(n.TgZ(0,"nz-card",13)(1,"nz-list",14),n.ALo(2,"ngrxPush"),n.ALo(3,"ngrxPush"),n.YNc(4,q,2,1,"nz-list-header",15),n.ALo(5,"ngrxPush"),n.YNc(6,k,2,1,"ng-template",null,16,n.W1O),n.qZA()()),2&s){const m=n.MAs(7),p=n.oxw(2);n.xp6(1),n.Q6J("nzDataSource",n.lcZ(2,4,p.comments$))("nzLoading",n.lcZ(3,6,p.loading$))("nzRenderItem",m),n.xp6(3),n.Q6J("ngIf",n.lcZ(5,8,p.pageInfo$))}}function tn(s,c){if(1&s){const m=n.EpF();n.TgZ(0,"cvc-comment-add-form",21),n.NdJ("commentAddedEvent",function(){n.CHM(m);const u=n.oxw(2);return n.KtG(u.refreshList())}),n.qZA()}if(2&s){const m=n.oxw(2);n.Q6J("subject",m.commentable)}}function en(s,c){if(1&s&&n._UZ(0,"nz-avatar",24),2&s){const m=n.oxw().$implicit;n.Q6J("nzSrc",m.profileImagePath)}}function on(s,c){if(1&s&&(n._UZ(0,"nz-avatar",25),n.ALo(1,"uppercase")),2&s){const m=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,m.displayName.charAt(0)))}}function mn(s,c){if(1&s&&(n.YNc(0,en,1,1,"nz-avatar",22),n.YNc(1,on,2,3,"ng-template",null,23,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&s){const m=c.$implicit,p=n.MAs(2);n.Q6J("ngIf",m.profileImagePath)("ngIfElse",p),n.xp6(4),n.Oqu(m.displayName)}}function cn(s,c){if(1&s&&n._UZ(0,"nz-avatar",24),2&s){const m=n.oxw().$implicit;n.Q6J("nzSrc",m.profileImagePath)}}function an(s,c){if(1&s&&(n._UZ(0,"nz-avatar",25),n.ALo(1,"uppercase")),2&s){const m=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,m.displayName.charAt(0)))}}function sn(s,c){if(1&s&&(n.YNc(0,cn,1,1,"nz-avatar",22),n.YNc(1,an,2,3,"ng-template",null,23,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&s){const m=c.$implicit,p=n.MAs(2);n.Q6J("ngIf",m.profileImagePath)("ngIfElse",p),n.xp6(4),n.Oqu(m.displayName)}}function rn(s,c){if(1&s&&(n._UZ(0,"nz-avatar",26),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&s){const m=c.$implicit;n.MGl("nzIcon","civic-",m.tag.displayName,""),n.xp6(2),n.hij("",m.tag.displayName,"s")}}function _n(s,c){if(1&s&&(n._UZ(0,"i",27),n.ALo(1,"iconNameForSubscribableEntity"),n.TgZ(2,"span"),n._uU(3),n.qZA()),2&s){const m=c.$implicit;n.Q6J("nzType",n.lcZ(1,2,m.tag.tagType)),n.xp6(3),n.Oqu(m.tag.displayName)}}const j=function(){return[]};function ln(s,c){if(1&s){const m=n.EpF();n.ynx(0),n.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),n.YNc(4,nn,8,10,"nz-card",5),n.YNc(5,tn,1,1,"cvc-comment-add-form",6),n.qZA()(),n.TgZ(6,"nz-col",7)(7,"cvc-participant-list",8),n.NdJ("participantSelectedEvent",function(u){n.CHM(m);const Y=n.oxw();return n.KtG(Y.onCommenterSelected(u))}),n.ALo(8,"ngrxPush"),n.YNc(9,mn,5,3,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(11,"cvc-participant-list",10),n.NdJ("participantSelectedEvent",function(u){n.CHM(m);const Y=n.oxw();return n.KtG(Y.onMentionedUserSelected(u))}),n.ALo(12,"ngrxPush"),n.YNc(13,sn,5,3,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(15,"cvc-participant-list",11),n.NdJ("participantSelectedEvent",function(u){n.CHM(m);const Y=n.oxw();return n.KtG(Y.onMentionedRoleSelected(u))}),n.ALo(16,"ngrxPush"),n.YNc(17,rn,3,2,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(19,"cvc-participant-list",12),n.NdJ("participantSelectedEvent",function(u){n.CHM(m);const Y=n.oxw();return n.KtG(Y.onMentionedEntitySelected(u))}),n.ALo(20,"ngrxPush"),n.YNc(21,_n,4,4,"ng-template",null,9,n.W1O),n.qZA()()(),n.BQk()}if(2&s){const m=n.oxw();n.xp6(1),n.Q6J("nzGutter",16),n.xp6(6),n.Q6J("participantList",n.lcZ(8,5,m.commenters$)||n.DdM(13,j)),n.xp6(4),n.Q6J("participantList",n.lcZ(12,7,m.mentionedUsers$)||n.DdM(14,j)),n.xp6(4),n.Q6J("participantList",n.lcZ(16,9,m.mentionedRoles$)||n.DdM(15,j)),n.xp6(4),n.Q6J("participantList",n.lcZ(20,11,m.mentionedEntities$)||n.DdM(16,j))}}function pn(s,c){if(1&s){const m=n.EpF();n.TgZ(0,"cvc-comment-add-form",21),n.NdJ("commentAddedEvent",function(){n.CHM(m);const u=n.oxw();return n.KtG(u.refreshList())}),n.qZA()}if(2&s){const m=n.oxw();n.Q6J("subject",m.commentable)}}class G{constructor(c){this.gql=c,this.pageSize=5}ngOnInit(){this.queryRef$=this.gql.watch({subject:this.commentable,last:this.pageSize,sortBy:{column:t.h01.Created,direction:t.SrV.Asc}});let c=this.queryRef$.valueChanges;this.pageInfo$=c.pipe((0,v.U)(({data:m})=>m.comments.pageInfo)),this.loading$=c.pipe((0,v.U)(({loading:m})=>m)),this.comments$=c.pipe((0,v.U)(({data:m})=>m.comments.edges.map(p=>p.node))),this.commenters$=c.pipe((0,v.U)(({data:m})=>m.comments.uniqueCommenters)),this.mentionedUsers$=c.pipe((0,v.U)(({data:m})=>m.comments.mentionedUsers)),this.mentionedRoles$=c.pipe((0,v.U)(({data:m})=>m.comments.mentionedRoles.map(p=>({id:`${p.entityId}-${p.tagType}`,tag:p})))),this.mentionedEntities$=c.pipe((0,v.U)(({data:m})=>m.comments.mentionedEntities.map(p=>({id:`${p.entityId}-${p.tagType}`,tag:p})))),this.unfilteredCount$=c.pipe((0,o.j)("data","comments","unfilteredCountForSubject"))}onLoadMore(c){this.queryRef$.fetchMore({variables:{last:this.pageSize,before:c}})}onCommenterSelected(c){this.queryRef$.refetch({originatingUserId:c?.id})}onMentionedUserSelected(c){this.queryRef$.refetch({mentionedUserId:c?.id})}onMentionedRoleSelected(c){if(c){let m=t.i44[c.tag.displayName[0].toUpperCase()+c.tag.displayName.slice(1)];this.queryRef$.refetch({mentionedRole:m})}else this.queryRef$.refetch({mentionedRole:void 0})}onMentionedEntitySelected(c){this.queryRef$.refetch(c?{mentionedEntity:{entityType:c.tag.tagType,id:c.tag.entityId}}:{mentionedEntity:void 0})}refreshList(){this.queryRef$.refetch()}}G.\u0275fac=function(c){return new(c||G)(n.Y36(t.iST))},G.\u0275cmp=n.Xpm({type:G,selectors:[["cvc-comment-list"]],inputs:{commentable:"commentable"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noComments",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical",2,"width","100%"],["nzTitle","Comments",4,"nzSpaceItem"],["id","addComment",3,"subject","commentAddedEvent",4,"nzSpaceItem"],["nzSpan","6"],["listTitle","Commenters",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Mentioned Users",3,"participantList","participantSelectedEvent"],["listTitle","Mentioned Roles",3,"participantList","participantSelectedEvent"],["listTitle","Mentioned Entities",3,"participantList","participantSelectedEvent"],["nzTitle","Comments"],["nzSize","small","nzItemLayout","horizontal",3,"nzDataSource","nzLoading","nzRenderItem"],[4,"ngIf"],["comment",""],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","link","nzSize","small","nzBlock","",3,"click"],[3,"comment"],["id","addComment",3,"subject","commentAddedEvent"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],[3,"nzIcon"],["nz-icon","",3,"nzType"]],template:function(c,m){if(1&c&&(n.YNc(0,ln,23,17,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,pn,1,1,"ng-template",null,1,n.W1O)),2&c){const p=n.MAs(3);n.Q6J("ngIf",n.lcZ(1,2,m.unfilteredCount$))("ngIfElse",p)}},dependencies:[y.O5,$.ix,M.w,A.t3,A.SK,Z.bd,P.n_,P.t4,P.AA,R.Ls,O.Dz,z.NU,z.$1,h,N.l,K,y.gd,V.fM,b.j],styles:["[_nghost-%COMP%]{display:block}nz-list-header[_ngcontent-%COMP%]{padding:0;margin:0}nz-list-header[_ngcontent-%COMP%] [nz-list-load-more][_ngcontent-%COMP%]{margin-top:-.5em;padding-bottom:.5em}"]})},2278:(w,Q,e)=>{e.d(Q,{l:()=>T});var t=e(6895),v=e(3679),o=e(1971),n=e(6152),y=e(4383),$=e(6903),M=e(2635),A=e(545),Z=e(1150),P=e(3682),R=e(8909),O=e(9444),z=e(4650);class x{}x.\u0275fac=function(N){return new(N||x)},x.\u0275mod=z.oAB({type:x}),x.\u0275inj=z.cJS({imports:[t.ez,P.YM,y.Rt,R.m,O.s]});var I=e(4006),S=e(6212),F=e(6704),U=e(7008),L=e(1825),B=e(4375),D=e(6616),J=e(4623),E=e(3513),f=e(5681),d=e(3997),i=e(4509),l=e(9597);class a{}a.\u0275fac=function(N){return new(N||a)},a.\u0275mod=z.oAB({type:a}),a.\u0275inj=z.cJS({imports:[t.ez,I.UX,M._N,M.pP,D.sL,o.vh,E.we,F.U5,f.j,d.Gl,l.L,I.u5,S.X0,U.B,L.A,B.R,R.m,J.K,i.w]});var C=e(1102);class T{}T.\u0275fac=function(N){return new(N||T)},T.\u0275mod=z.oAB({type:T}),T.\u0275inj=z.cJS({imports:[t.ez,M._N,M.pP,D.sL,v.Jb,o.vh,n.Ph,C.PV,O.s,y.Rt,$.zf,A.H0,a,Z.N,x]})},9383:(w,Q,e)=>{e.d(Q,{b:()=>E});var t=e(4650),v=e(7579),o=e(7630),n=e(9300),y=e(2722),$=e(4004),M=e(8675),A=e(6579),Z=e(3240),P=e(9350),R=e(6895),O=e(4006),z=e(2635),x=e(3513),I=e(5681),S=e(3997),F=e(7948);function U(f,d){if(1&f&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2),t.qZA(),t.BQk()),2&f){const i=d.$implicit;t.xp6(2),t.Oqu(i.displayName)}}function L(f,d){1&f&&(t.ynx(0),t._UZ(1,"nz-spin",8),t.BQk())}function B(f,d){if(1&f&&(t.ynx(0),t._UZ(1,"cvc-comment-body",9),t.BQk()),2&f){const i=d.ngIf;t.xp6(1),t.Q6J("commentBodySegments",i)}}const D=function(){return["#","@","$"]};function J(f,d){if(1&f){const i=t.EpF();t.ynx(0),t.TgZ(1,"nz-tabset",1)(2,"nz-tab",2)(3,"nz-mention",3),t.NdJ("nzOnSearchChange",function(a){t.CHM(i);const C=t.oxw();return t.KtG(C.onSearchChange(a))})("nzOnSelect",function(){t.CHM(i);const a=t.oxw();return t.KtG(a.suggestions=[])}),t.TgZ(4,"textarea",4),t.NdJ("ngModelChange",function(a){t.CHM(i);const C=t.oxw();return t.KtG(C.commentText=a)})("ngModelChange",function(a){t.CHM(i);const C=t.oxw();return t.KtG(C.onCommentChanged(a))}),t.qZA(),t.YNc(5,U,3,1,"ng-container",5),t.qZA()(),t.TgZ(6,"nz-tab",6),t.NdJ("nzClick",function(){t.CHM(i);const a=t.oxw();return t.KtG(a.onPreviewButtonClicked())}),t.YNc(7,L,2,0,"ng-container",7),t.ALo(8,"ngrxPush"),t.YNc(9,B,2,1,"ng-container",7),t.ALo(10,"ngrxPush"),t.qZA()(),t.BQk()}if(2&f){const i=d.ngrxLet,l=t.oxw();t.xp6(1),t.Q6J("nzAnimated",!1),t.xp6(2),t.Q6J("nzSuggestions",l.suggestions)("nzPrefix",t.DdM(13,D))("nzValueWith",l.autoCompleteValueFor),t.xp6(1),t.Q6J("placeholder",i&&i.canCurate?"Enter comment (minimum length 10. Use @ to mention users; # to link entities)":"Please sign in")("ngModel",l.commentText),t.uIk("disabled",!i||!i.canCurate||null),t.xp6(3),t.Q6J("ngIf",t.lcZ(8,9,l.previewLoading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(10,11,l.previewComment$))}}class E{constructor(d,i,l,a){this.previewCommentGql=d,this.userTypeaheadGql=i,this.entityTypeaheadGql=l,this.viewerService=a,this.commentChange=new t.vpe,this.destroy$=new v.x,this.suggestions=[],this.roleSuggestions=[{displayName:"admins",value:"admins"},{displayName:"editors",value:"editors"}]}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.commentText=this.comment,this.userTypeaheadQueryRef$=this.userTypeaheadGql.watch({queryTerm:""}),this.userTypeaheadQueryRef$.valueChanges.pipe((0,A.j)("data","userTypeahead"),(0,n.h)(Z.ep),(0,y.R)(this.destroy$)).subscribe(d=>this.suggestions=d.map(i=>({displayName:i.username,value:i.username}))),this.entityTypeaheadQueryRef$=this.entityTypeaheadGql.watch({queryTerm:""}),this.entityTypeaheadQueryRef$.valueChanges.pipe((0,A.j)("data","entityTypeahead"),(0,n.h)(Z.ep),(0,y.R)(this.destroy$)).subscribe(d=>this.suggestions=d.map(i=>({displayName:i.displayName,value:this.tagForEntityTypeAndId(i.tagType,i.entityId)})))}ngOnChanges(){this.commentText=this.comment}autoCompleteValueFor(d){return d.value}tagForEntityTypeAndId(d,i){switch(d){case o.mpB.Gene:return`GID${i}`;case o.mpB.Variant:return`VID${i}`;case o.mpB.VariantGroup:return`VGID${i}`;case o.mpB.EvidenceItem:return`EID${i}`;case o.mpB.Assertion:return`AID${i}`;case o.mpB.Revision:return`RID${i}`;case o.mpB.MolecularProfile:return`MPID${i}`;case o.mpB.Role:return Object.keys(o.i44)[i]}}resetForm(){this.commentText=""}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onPreviewButtonClicked(){this.commentText&&(this.previewComment$=this.previewCommentGql.watch({commentText:this.commentText}).valueChanges.pipe((0,A.j)("data","previewCommentText"),(0,n.h)(Z.ep)),this.previewLoading$=this.previewCommentGql.watch({commentText:this.commentText}).valueChanges.pipe((0,$.U)(({loading:d})=>d),(0,M.O)(!0)))}onSearchChange({value:d,prefix:i}){"@"===i?this.userTypeaheadQueryRef$.refetch({queryTerm:d}):"$"==i?this.suggestions=this.roleSuggestions.filter(l=>l.value.startsWith(d)):this.entityTypeaheadQueryRef$.refetch({queryTerm:d})}onCommentChanged(d){this.commentChange.emit(d)}}E.\u0275fac=function(d){return new(d||E)(t.Y36(o.mII),t.Y36(o.vMt),t.Y36(o.GYx),t.Y36(P.a))},E.\u0275cmp=t.Xpm({type:E,selectors:[["cvc-comment-input-form"]],inputs:{comment:"comment"},outputs:{commentChange:"commentChange"},features:[t.TTD],decls:1,vars:1,consts:[[4,"ngrxLet"],[3,"nzAnimated"],["nzTitle","Write"],["nzNotFoundContent","No matches...",3,"nzSuggestions","nzPrefix","nzValueWith","nzOnSearchChange","nzOnSelect"],["nzMentionTrigger","","nz-input","","rows","4",2,"width","100%",3,"placeholder","ngModel","ngModelChange"],[4,"nzMentionSuggestion"],["nzTitle","Preview",3,"nzClick"],[4,"ngIf"],["nzTip","Loading..."],[3,"commentBodySegments"]],template:function(d,i){1&d&&t.YNc(0,J,11,14,"ng-container",0),2&d&&t.Q6J("ngrxLet",i.viewer$)},dependencies:[R.O5,O.Fj,O.JJ,z.eJ,x.xH,x.xw,I.W,S.YW,S.jO,S.O3,O.On,F.m,z.fM],styles:[":host{display:block}nz-space{width:100%}nz-form-item:last-of-type{margin-bottom:0}\n"],encapsulation:2})},3682:(w,Q,e)=>{e.d(Q,{DA:()=>L,WE:()=>E,Y4:()=>B,YM:()=>d});var t=e(445),v=e(6895),o=e(4650),n=e(6287),y=e(4080),$=e(7579),M=e(2722);function A(i,l){1&i&&o.Hsn(0)}const Z=["*"];function P(i,l){if(1&i&&(o.ynx(0),o._uU(1),o.BQk()),2&i){const a=o.oxw(2);o.xp6(1),o.Oqu(a.nzAuthor)}}function R(i,l){if(1&i&&(o.TgZ(0,"span",8),o.YNc(1,P,2,1,"ng-container",9),o.qZA()),2&i){const a=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",a.nzAuthor)}}function O(i,l){if(1&i&&(o.ynx(0),o._uU(1),o.BQk()),2&i){const a=o.oxw(2);o.xp6(1),o.Oqu(a.nzDatetime)}}function z(i,l){if(1&i&&(o.TgZ(0,"span",10),o.YNc(1,O,2,1,"ng-container",9),o.qZA()),2&i){const a=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",a.nzDatetime)}}function x(i,l){}function I(i,l){if(1&i&&(o.TgZ(0,"li")(1,"span"),o.YNc(2,x,0,0,"ng-template",13),o.qZA()()),2&i){const a=l.$implicit;o.xp6(2),o.Q6J("nzCommentActionHost",a.content)}}function S(i,l){if(1&i&&(o.TgZ(0,"ul",11),o.YNc(1,I,3,1,"li",12),o.qZA()),2&i){const a=o.oxw();o.xp6(1),o.Q6J("ngForOf",a.actions)}}const F=[[["nz-avatar","nz-comment-avatar",""]],[["nz-comment-content"]],"*"],U=["nz-avatar[nz-comment-avatar]","nz-comment-content","*"];let L=(()=>{class i{}return i.\u0275fac=function(a){return new(a||i)},i.\u0275dir=o.lG2({type:i,selectors:[["nz-avatar","nz-comment-avatar",""]],exportAs:["nzCommentAvatar"]}),i})(),B=(()=>{class i{}return i.\u0275fac=function(a){return new(a||i)},i.\u0275dir=o.lG2({type:i,selectors:[["nz-comment-content"],["","nz-comment-content",""]],hostAttrs:[1,"ant-comment-content-detail"],exportAs:["nzCommentContent"]}),i})(),D=(()=>{class i extends y.Pl{constructor(a,C){super(a,C)}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}ngAfterViewInit(){this.attach(this.nzCommentActionHost)}}return i.\u0275fac=function(a){return new(a||i)(o.Y36(o._Vd),o.Y36(o.s_b))},i.\u0275dir=o.lG2({type:i,selectors:[["","nzCommentActionHost",""]],inputs:{nzCommentActionHost:"nzCommentActionHost"},exportAs:["nzCommentActionHost"],features:[o.qOj]}),i})(),J=(()=>{class i{constructor(a){this.viewContainerRef=a,this.contentPortal=null}get content(){return this.contentPortal}ngOnInit(){this.contentPortal=new y.UE(this.implicitContent,this.viewContainerRef)}}return i.\u0275fac=function(a){return new(a||i)(o.Y36(o.s_b))},i.\u0275cmp=o.Xpm({type:i,selectors:[["nz-comment-action"]],viewQuery:function(a,C){if(1&a&&o.Gf(o.Rgc,7),2&a){let T;o.iGM(T=o.CRH())&&(C.implicitContent=T.first)}},exportAs:["nzCommentAction"],ngContentSelectors:Z,decls:1,vars:0,template:function(a,C){1&a&&(o.F$t(),o.YNc(0,A,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),i})(),E=(()=>{class i{constructor(a,C){this.cdr=a,this.directionality=C,this.dir="ltr",this.destroy$=new $.x}ngOnInit(){this.directionality.change?.pipe((0,M.R)(this.destroy$)).subscribe(a=>{this.dir=a,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(a){return new(a||i)(o.Y36(o.sBO),o.Y36(t.Is,8))},i.\u0275cmp=o.Xpm({type:i,selectors:[["nz-comment"]],contentQueries:function(a,C,T){if(1&a&&o.Suo(T,J,4),2&a){let h;o.iGM(h=o.CRH())&&(C.actions=h)}},hostVars:4,hostBindings:function(a,C){2&a&&o.ekj("ant-comment",!0)("ant-comment-rtl","rtl"===C.dir)},inputs:{nzAuthor:"nzAuthor",nzDatetime:"nzDatetime"},exportAs:["nzComment"],ngContentSelectors:U,decls:11,vars:3,consts:[[1,"ant-comment-inner"],[1,"ant-comment-avatar"],[1,"ant-comment-content"],[1,"ant-comment-content-author"],["class","ant-comment-content-author-name",4,"ngIf"],["class","ant-comment-content-author-time",4,"ngIf"],["class","ant-comment-actions",4,"ngIf"],[1,"ant-comment-nested"],[1,"ant-comment-content-author-name"],[4,"nzStringTemplateOutlet"],[1,"ant-comment-content-author-time"],[1,"ant-comment-actions"],[4,"ngFor","ngForOf"],[3,"nzCommentActionHost"]],template:function(a,C){1&a&&(o.F$t(F),o.TgZ(0,"div",0)(1,"div",1),o.Hsn(2),o.qZA(),o.TgZ(3,"div",2)(4,"div",3),o.YNc(5,R,2,1,"span",4),o.YNc(6,z,2,1,"span",5),o.qZA(),o.Hsn(7,1),o.YNc(8,S,2,1,"ul",6),o.qZA()(),o.TgZ(9,"div",7),o.Hsn(10,2),o.qZA()),2&a&&(o.xp6(5),o.Q6J("ngIf",C.nzAuthor),o.xp6(1),o.Q6J("ngIf",C.nzDatetime),o.xp6(2),o.Q6J("ngIf",null==C.actions?null:C.actions.length))},dependencies:[v.sg,v.O5,n.f,D],encapsulation:2,changeDetection:0}),i})(),d=(()=>{class i{}return i.\u0275fac=function(a){return new(a||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[t.vT,v.ez,n.T]}),i})()}}]); \ No newline at end of file diff --git a/server/public/2077.cac92e8b07c8ce57.js b/server/public/2077.cac92e8b07c8ce57.js deleted file mode 100644 index 23da6b0ab..000000000 --- a/server/public/2077.cac92e8b07c8ce57.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2077],{3612:(M,m,a)=>{function g(c,x){const z=(t,r)=>{let o;for(let s of t)if(s.fieldGroup)o=z(s.fieldGroup,r);else if(s.key===r){o=s;break}return o},p=(t,r)=>{for(let o of Object.keys(r))if(r[o]instanceof Object&&!Array.isArray(r[o]))p(t,r[o]);else{const s=z(t,o);s&&(s.defaultValue=r[o])}return t};return p(c,x)}a.d(m,{Z:()=>g})},9411:(M,m,a)=>{a.r(m),a.d(m,{VariantsReviseModule:()=>h});var g=a(6895),c=a(9116),x=a(8675),z=a(4004),p=a(6579),t=a(4650),r=a(7630),o=a(9350),s=a(5655),b=a(1102),_=a(8992),P=a(8616),y=a(3679),I=a(160),V=a(2635);function T(e,n){1&e&&(t.TgZ(0,"span"),t._uU(1,",\xa0"),t.qZA())}function Z(e,n){if(1&e&&(t.TgZ(0,"span"),t._uU(1),t.YNc(2,T,2,0,"span",0),t.qZA()),2&e){const i=n.$implicit,d=n.last;t.xp6(1),t.hij(" ",i,""),t.xp6(1),t.Q6J("ngIf",!d)}}function S(e,n){if(1&e&&(t.TgZ(0,"nz-page-header-subtitle"),t.YNc(1,Z,3,2,"span",8),t.qZA()),2&e){const i=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",i.variantAliases)}}function A(e,n){1&e&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function R(e,n){1&e&&(t.TgZ(0,"nz-row",9)(1,"div",10),t._UZ(2,"cvc-login-prompt"),t.qZA()())}function w(e,n){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),t._uU(4," REVISE "),t._UZ(5,"i",4),t.ALo(6,"entityColor"),t._uU(7),t.qZA(),t.YNc(8,S,2,1,"nz-page-header-subtitle",0),t.TgZ(9,"nz-page-header-content")(10,"div",5),t.YNc(11,A,2,0,"div",6),t.ALo(12,"ngrxPush"),t.YNc(13,R,3,0,"ng-template",null,7,t.W1O),t.qZA()()(),t.BQk()),2&e){const i=n.ngIf,d=t.MAs(14),O=t.oxw();t.xp6(1),t.Q6J("displayName",i.name),t.xp6(4),t.Q6J("nzTwotoneColor",t.lcZ(6,6,"Variant")),t.xp6(2),t.hij(" ",i.name," "),t.xp6(1),t.Q6J("ngIf",i.variantAliases.length>0),t.xp6(3),t.Q6J("ngIf",t.lcZ(12,8,O.isSignedIn$))("ngIfElse",d)}}class u{constructor(n,i,d){this.gql=n,this.route=i,this.viewerService=d,this.routeSub=this.route.params.subscribe(O=>{let C=this.gql.watch({variantId:+O.variantId}).valueChanges;this.loading$=C.pipe((0,p.j)("loading"),(0,x.O)(!0)),this.variant$=C.pipe((0,p.j)("data","variant")),this.commentsTotal$=this.variant$.pipe((0,p.j)("comments","totalCount")),this.flagsTotal$=this.variant$.pipe((0,p.j)("flags","totalCount")),this.revisionsTotal$=this.variant$.pipe((0,p.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,z.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}u.\u0275fac=function(n){return new(n||u)(t.Y36(r.iJT),t.Y36(c.gz),t.Y36(o.a))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-variants-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],[4,"ngFor","ngForOf"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,i){1&n&&(t.YNc(0,w,15,10,"ng-container",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,i.variant$))},dependencies:[g.sg,g.O5,c.lC,s.$O,s.u9,s.yG,s.u5,b.Ls,_.I,P.u,y.t3,y.SK,g.Ov,I.a,V.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var J=a(654);class l{}l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({imports:[g.ez,J.K]});var $=a(5126);function j(e,n){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-variant-revise-form",2),t.BQk()),2&e){const i=t.oxw();t.xp6(1),t.Q6J("variantId",i.variantId)}}function Y(e,n){1&e&&t._uU(0,"Loading Variant...")}class v{constructor(n){this.route=n,this.routeParams$=this.route.params.subscribe(i=>{this.variantId=+i.variantId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}v.\u0275fac=function(n){return new(n||v)(t.Y36(c.gz))},v.\u0275cmp=t.Xpm({type:v,selectors:[["cvc-variants-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariant",""],[3,"variantId"]],template:function(n,i){if(1&n&&(t.YNc(0,j,2,1,"ng-container",0),t.YNc(1,Y,1,0,"ng-template",null,1,t.W1O)),2&n){const d=t.MAs(2);t.Q6J("ngIf",i.variantId)("ngIfElse",d)}},dependencies:[g.O5,$.J],encapsulation:2});const N=[{path:"",component:u,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:v,data:{breadcrumb:"Suggest Revision"}}]}];class f{}f.\u0275fac=function(n){return new(n||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[c.Bz.forChild(N),l,c.Bz]});var Q=a(5630),U=a(9386),F=a(9444);class h{}h.\u0275fac=function(n){return new(n||h)},h.\u0275mod=t.oAB({type:h}),h.\u0275inj=t.cJS({imports:[g.ez,f,s.KJ,b.PV,F.s,Q.D,U.a,V._N,V.pP,y.Jb]})}}]); \ No newline at end of file diff --git a/server/public/2156.ecd7c288052ded7d.js b/server/public/2156.ecd7c288052ded7d.js deleted file mode 100644 index a1180921d..000000000 --- a/server/public/2156.ecd7c288052ded7d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2156],{3612:(b,M,o)=>{function c(g,z){const h=(s,r)=>{let i;for(let l of s)if(l.fieldGroup)i=h(l.fieldGroup,r);else if(l.key===r){i=l;break}return i},x=(s,r)=>{for(let i of Object.keys(r))if(r[i]instanceof Object&&!Array.isArray(r[i]))x(s,r[i]);else{const l=h(s,i);l&&(l.defaultValue=r[i])}return s};return x(g,z)}o.d(M,{Z:()=>c})},4159:(b,M,o)=>{o.r(M),o.d(M,{MolecularProfilesReviseModule:()=>u});var c=o(6895),g=o(5655),z=o(5630),h=o(1102),x=o(9386),s=o(2635),r=o(3679),i=o(9116),l=o(8675),O=o(4004),m=o(6579),e=o(4650),C=o(7630),I=o(9350),S=o(8992),T=o(8616);function Z(n,t){1&n&&(e.TgZ(0,"span"),e._uU(1,",\xa0"),e.qZA())}function A(n,t){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,Z,2,0,"span",0),e.qZA()),2&n){const a=t.$implicit,p=t.last;e.xp6(1),e.hij(" ",a,""),e.xp6(1),e.Q6J("ngIf",!p)}}function R(n,t){if(1&n&&(e.TgZ(0,"nz-page-header-subtitle"),e.YNc(1,A,3,2,"span",8),e.qZA()),2&n){const a=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",a.molecularProfileAliases)}}function w(n,t){1&n&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function $(n,t){1&n&&(e.TgZ(0,"nz-row",9)(1,"div",10),e._UZ(2,"cvc-login-prompt"),e.qZA()())}function J(n,t){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e._uU(6),e.qZA(),e.YNc(7,R,2,1,"nz-page-header-subtitle",0),e.TgZ(8,"nz-page-header-content")(9,"div",5),e.YNc(10,w,2,0,"div",6),e.ALo(11,"ngrxPush"),e.YNc(12,$,3,0,"ng-template",null,7,e.W1O),e.qZA()()(),e.BQk()),2&n){const a=t.ngIf,p=e.MAs(13),y=e.oxw();e.xp6(1),e.Q6J("displayName",a.name),e.xp6(5),e.hij(" ",a.name," "),e.xp6(1),e.Q6J("ngIf",a.molecularProfileAliases.length>0),e.xp6(3),e.Q6J("ngIf",e.lcZ(11,5,y.isSignedIn$))("ngIfElse",p)}}class v{constructor(t,a,p){this.gql=t,this.route=a,this.viewerService=p,this.routeSub=this.route.params.subscribe(y=>{let _=this.gql.watch({mpId:+y.molecularProfileId}).valueChanges;this.loading$=_.pipe((0,m.j)("loading"),(0,l.O)(!0)),this.molecularProfile$=_.pipe((0,m.j)("data","molecularProfile")),this.commentsTotal$=this.molecularProfile$.pipe((0,m.j)("comments","totalCount")),this.flagsTotal$=this.molecularProfile$.pipe((0,m.j)("flags","totalCount")),this.revisionsTotal$=this.molecularProfile$.pipe((0,m.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,O.U)(t=>t.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}v.\u0275fac=function(t){return new(t||v)(e.Y36(C.AMF),e.Y36(i.gz),e.Y36(I.a))},v.\u0275cmp=e.Xpm({type:v,selectors:[["cvc-molecular-profiles-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:molecularprofile"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],[4,"ngFor","ngForOf"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(t,a){1&t&&(e.YNc(0,J,14,7,"ng-container",0),e.ALo(1,"async")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,a.molecularProfile$))},dependencies:[c.sg,c.O5,i.lC,g.$O,g.u9,g.yG,g.u5,h.Ls,S.I,T.u,r.t3,r.SK,c.Ov,s.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var V=o(7357);class f{}f.\u0275fac=function(t){return new(t||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[c.ez,V.i]});var j=o(6074);function Y(n,t){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-mp-revise-form",2),e.BQk()),2&n){const a=e.oxw();e.xp6(1),e.Q6J("molecularProfileId",a.molecularProfileId)}}function F(n,t){1&n&&e._uU(0,"Loading Molecular Profile...")}class P{constructor(t){this.route=t,this.routeParams$=this.route.params.subscribe(a=>{this.molecularProfileId=+a.molecularProfileId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}P.\u0275fac=function(t){return new(t||P)(e.Y36(i.gz))},P.\u0275cmp=e.Xpm({type:P,selectors:[["cvc-molecular-profiles-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingMp",""],[3,"molecularProfileId"]],template:function(t,a){if(1&t&&(e.YNc(0,Y,2,1,"ng-container",0),e.YNc(1,F,1,0,"ng-template",null,1,e.W1O)),2&t){const p=e.MAs(2);e.Q6J("ngIf",a.molecularProfileId)("ngIfElse",p)}},dependencies:[c.O5,j.R],encapsulation:2});const N=[{path:"",component:v,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:P,data:{breadcrumb:"Suggest Revision"}}]}];class d{}d.\u0275fac=function(t){return new(t||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({imports:[i.Bz.forChild(N),f,i.Bz]});class u{}u.\u0275fac=function(t){return new(t||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[c.ez,d,g.KJ,h.PV,z.D,x.a,s._N,s.pP,r.Jb]})}}]); \ No newline at end of file diff --git a/server/public/2186.1f50c4fe72944294.js b/server/public/2186.1f50c4fe72944294.js deleted file mode 100644 index e233ee603..000000000 --- a/server/public/2186.1f50c4fe72944294.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2186],{112:(R,P,r)=>{r.d(P,{u:()=>A});var n=r(9771),t=r(4650),a=r(6895),C=r(9116),d=r(6581),f=r(6672),g=r(1102),S=r(3240),_=r(4004),D=r(9300),T=r(7630),x=r(1971),z=r(9194),y=r(783),N=r(5457),M=r(6715),I=r(2635),O=r(160);function E(s,l){if(1&s&&(t._UZ(0,"i",7),t.ALo(1,"entityColor"),t._uU(2)),2&s){const p=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"VariantGroup")),t.xp6(2),t.hij(" ",p.name," ")}}function Z(s,l){if(1&s&&t._UZ(0,"cvc-variant-tag",10),2&s){const p=l.$implicit;t.Q6J("enablePopover",!1)("variant",p.node)}}function w(s,l){if(1&s&&(t.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),t.YNc(2,Z,1,2,"cvc-variant-tag",9),t.qZA()()),2&s){const p=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",p.variants.edges)}}function V(s,l){if(1&s&&t._UZ(0,"cvc-source-tag",13),2&s){const p=l.$implicit;t.Q6J("enablePopover",!1)("source",p)}}function Q(s,l){if(1&s&&(t.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),t.YNc(2,V,1,2,"cvc-source-tag",12),t.qZA()()),2&s){const p=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",p.sources)}}function b(s,l){if(1&s&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,E,3,4,"ng-template",null,3,t.W1O),t._uU(4),t.TgZ(5,"nz-descriptions",4),t.YNc(6,w,3,1,"nz-descriptions-item",5),t.YNc(7,Q,3,1,"nz-descriptions-item",6),t.qZA()(),t.BQk()),2&s){const p=l.ngIf,v=t.MAs(3);t.xp6(1),t.Q6J("nzTitle",v),t.xp6(3),t.hij(" ",p.description," "),t.xp6(1),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",p.variants.edges.length>0),t.xp6(1),t.Q6J("ngIf",p.sources.length>0)}}class c{constructor(l){this.gql=l}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,_.U)(({data:l})=>l?.variantGroup),(0,D.h)(S.ep))}}c.\u0275fac=function(l){return new(l||c)(t.Y36(T.Zo2))},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(l,p){1&l&&(t.TgZ(0,"div",0),t.YNc(1,b,8,5,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&l&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,p.variantGroup$)))},dependencies:[a.sg,a.O5,x.bd,z.R7,z.uj,g.Ls,y.T,N.I,M.$,I.fM,O.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var i=r(1730);function o(s,l){}function e(s,l){if(1&s&&(t.ynx(0),t.TgZ(1,"a",4),t.YNc(2,o,0,0,"ng-template",5),t.qZA(),t.BQk()),2&s){const p=t.oxw(),v=t.MAs(2);t.xp6(1),t.Q6J("routerLink",p.variantgroup.link),t.xp6(1),t.Q6J("ngTemplateOutlet",v)}}function u(s,l){}function m(s,l){if(1&s&&t._UZ(0,"cvc-variant-group-popover",9),2&s){const p=t.oxw(3);t.Q6J("variantGroupId",p.variantgroup.id)}}function h(s,l){if(1&s&&t.YNc(0,m,1,1,"cvc-variant-group-popover",8),2&s){const p=t.oxw(2);t.Q6J("ngIf",p.enablePopover)}}function G(s,l){if(1&s&&(t.TgZ(0,"nz-tag",6),t.YNc(1,u,0,0,"ng-template",5),t.qZA(),t.YNc(2,h,1,1,"ng-template",null,7,t.W1O)),2&s){const p=t.MAs(3),v=t.oxw(),Y=t.MAs(6);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",p)("nzPopoverTrigger",v.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",Y)}}function U(s,l){}function F(s,l){if(1&s&&t.YNc(0,U,0,0,"ng-template",5),2&s){t.oxw();const p=t.MAs(2);t.Q6J("ngTemplateOutlet",p)}}function J(s,l){if(1&s&&(t.TgZ(0,"cvc-icon-badges",10),t._UZ(1,"i",11),t.ALo(2,"entityColor"),t.qZA(),t._uU(3)),2&s){const p=t.oxw();t.Q6J("flagged",p.variantgroup.flagged)("entityColor",p.iconColor),t.xp6(1),t.Q6J("nzTwotoneColor",t.lcZ(2,4,"VariantGroup")),t.xp6(2),t.hij(" ",p.variantgroup.name,"\n")}}class A{set variantgroup(l){if(!l)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=l}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,n.f)("VariantGroup")}}A.\u0275fac=function(l){return new(l||A)},A.\u0275cmp=t.Xpm({type:A,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(l,p){if(1&l&&(t.YNc(0,e,3,2,"ng-container",0),t.YNc(1,G,4,4,"ng-template",null,1,t.W1O),t.YNc(3,F,1,1,"ng-template",null,2,t.W1O),t.YNc(5,J,4,6,"ng-template",null,3,t.W1O)),2&l){const v=t.MAs(4);t.Q6J("ngIf",p.linked)("ngIfElse",v)}},dependencies:[a.O5,a.tP,C.rH,d.lU,f.j,g.Ls,c,i.b,O.a],encapsulation:2,changeDetection:0})},3848:(R,P,r)=>{r.d(P,{my:()=>V,A2:()=>c});var n=r(4650),t=r(7579),a=r(2722),C=r(445),d=r(6895),f=r(6287),g=r(3353);let _=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[d.ez]}),i})();const D=function(i){return{$implicit:i}};function T(i,o){if(1&i&&n.GkF(0,3),2&i){const e=n.oxw();n.Q6J("ngTemplateOutlet",e.nzValueTemplate)("ngTemplateOutletContext",n.VKq(2,D,e.nzValue))}}function x(i,o){if(1&i&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.displayInt)}}function z(i,o){if(1&i&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.displayDecimal)}}function y(i,o){if(1&i&&(n.ynx(0),n.YNc(1,x,2,1,"span",4),n.YNc(2,z,2,1,"span",5),n.BQk()),2&i){const e=n.oxw();n.xp6(1),n.Q6J("ngIf",e.displayInt),n.xp6(1),n.Q6J("ngIf",e.displayDecimal)}}function N(i,o){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const e=n.oxw();n.xp6(1),n.Oqu(e.nzTitle)}}function M(i,o){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.nzPrefix)}}function I(i,o){if(1&i&&(n.TgZ(0,"span",6),n.YNc(1,M,2,1,"ng-container",1),n.qZA()),2&i){const e=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",e.nzPrefix)}}function O(i,o){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.nzSuffix)}}function E(i,o){if(1&i&&(n.TgZ(0,"span",7),n.YNc(1,O,2,1,"ng-container",1),n.qZA()),2&i){const e=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",e.nzSuffix)}}let w=(()=>{class i{constructor(e){this.locale_id=e,this.displayInt="",this.displayDecimal=""}ngOnChanges(){this.formatNumber()}formatNumber(){const e="number"==typeof this.nzValue?".":(0,d.dv)(this.locale_id,d.wE.Decimal),u=String(this.nzValue),[m,h]=u.split(e);this.displayInt=m,this.displayDecimal=h?`${e}${h}`:""}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.soG))},i.\u0275cmp=n.Xpm({type:i,selectors:[["nz-statistic-number"]],inputs:{nzValue:"nzValue",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatisticNumber"],features:[n.TTD],decls:3,vars:2,consts:[[1,"ant-statistic-content-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ant-statistic-content-value-int",4,"ngIf"],["class","ant-statistic-content-value-decimal",4,"ngIf"],[1,"ant-statistic-content-value-int"],[1,"ant-statistic-content-value-decimal"]],template:function(e,u){1&e&&(n.TgZ(0,"span",0),n.YNc(1,T,1,4,"ng-container",1),n.YNc(2,y,3,2,"ng-container",2),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf",u.nzValueTemplate),n.xp6(1),n.Q6J("ngIf",!u.nzValueTemplate))},dependencies:[d.O5,d.tP],encapsulation:2,changeDetection:0}),i})(),V=(()=>{class i{constructor(e,u){this.cdr=e,this.directionality=u,this.nzValueStyle={},this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.directionality.change?.pipe((0,a.R)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.sBO),n.Y36(C.Is,8))},i.\u0275cmp=n.Xpm({type:i,selectors:[["nz-statistic"]],hostAttrs:[1,"ant-statistic"],hostVars:2,hostBindings:function(e,u){2&e&&n.ekj("ant-statistic-rtl","rtl"===u.dir)},inputs:{nzPrefix:"nzPrefix",nzSuffix:"nzSuffix",nzTitle:"nzTitle",nzValue:"nzValue",nzValueStyle:"nzValueStyle",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatistic"],decls:6,vars:6,consts:[[1,"ant-statistic-title"],[4,"nzStringTemplateOutlet"],[1,"ant-statistic-content",3,"ngStyle"],["class","ant-statistic-content-prefix",4,"ngIf"],[3,"nzValue","nzValueTemplate"],["class","ant-statistic-content-suffix",4,"ngIf"],[1,"ant-statistic-content-prefix"],[1,"ant-statistic-content-suffix"]],template:function(e,u){1&e&&(n.TgZ(0,"div",0),n.YNc(1,N,2,1,"ng-container",1),n.qZA(),n.TgZ(2,"div",2),n.YNc(3,I,2,1,"span",3),n._UZ(4,"nz-statistic-number",4),n.YNc(5,E,2,1,"span",5),n.qZA()),2&e&&(n.xp6(1),n.Q6J("nzStringTemplateOutlet",u.nzTitle),n.xp6(1),n.Q6J("ngStyle",u.nzValueStyle),n.xp6(1),n.Q6J("ngIf",u.nzPrefix),n.xp6(1),n.Q6J("nzValue",u.nzValue)("nzValueTemplate",u.nzValueTemplate),n.xp6(1),n.Q6J("ngIf",u.nzSuffix))},dependencies:[d.O5,d.PC,f.f,w],encapsulation:2,changeDetection:0}),i})(),c=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[C.vT,d.ez,g.ud,f.T,_]}),i})()},1243:(R,P,r)=>{r.d(P,{i:()=>Q,m:()=>b});var n=r(655),t=r(9521),a=r(4650),C=r(4006),d=r(7579),f=r(4968),g=r(2722),S=r(2536),_=r(3187),D=r(2687),T=r(445),x=r(6895),z=r(1664),y=r(1102),N=r(6287);const M=["switchElement"];function I(c,i){1&c&&a._UZ(0,"span",8)}function O(c,i){if(1&c&&(a.ynx(0),a._uU(1),a.BQk()),2&c){const o=a.oxw(2);a.xp6(1),a.Oqu(o.nzCheckedChildren)}}function E(c,i){if(1&c&&(a.ynx(0),a.YNc(1,O,2,1,"ng-container",9),a.BQk()),2&c){const o=a.oxw();a.xp6(1),a.Q6J("nzStringTemplateOutlet",o.nzCheckedChildren)}}function Z(c,i){if(1&c&&(a.ynx(0),a._uU(1),a.BQk()),2&c){const o=a.oxw(2);a.xp6(1),a.Oqu(o.nzUnCheckedChildren)}}function w(c,i){if(1&c&&a.YNc(0,Z,2,1,"ng-container",9),2&c){const o=a.oxw();a.Q6J("nzStringTemplateOutlet",o.nzUnCheckedChildren)}}let Q=(()=>{class c{constructor(o,e,u,m,h,G){this.nzConfigService=o,this.host=e,this.ngZone=u,this.cdr=m,this.focusMonitor=h,this.directionality=G,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new d.x,this.isNzDisableFirstChange=!0}updateValue(o){this.isChecked!==o&&(this.isChecked=o,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,g.R)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,f.R)(this.host.nativeElement,"click").pipe((0,g.R)(this.destroy$)).subscribe(o=>{o.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,f.R)(this.switchElement.nativeElement,"keydown").pipe((0,g.R)(this.destroy$)).subscribe(o=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:e}=o;e!==t.oh&&e!==t.SV&&e!==t.L_&&e!==t.K5||(o.preventDefault(),this.ngZone.run(()=>{e===t.oh?this.updateValue(!1):e===t.SV?this.updateValue(!0):(e===t.L_||e===t.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,g.R)(this.destroy$)).subscribe(o=>{o||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(o){this.isChecked=o,this.cdr.markForCheck()}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||o,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return c.\u0275fac=function(o){return new(o||c)(a.Y36(S.jY),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(D.tE),a.Y36(T.Is,8))},c.\u0275cmp=a.Xpm({type:c,selectors:[["nz-switch"]],viewQuery:function(o,e){if(1&o&&a.Gf(M,7),2&o){let u;a.iGM(u=a.CRH())&&(e.switchElement=u.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[a._Bn([{provide:C.JU,useExisting:(0,a.Gpc)(()=>c),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(o,e){if(1&o&&(a.TgZ(0,"button",0,1)(2,"span",2),a.YNc(3,I,1,0,"span",3),a.qZA(),a.TgZ(4,"span",4),a.YNc(5,E,2,1,"ng-container",5),a.YNc(6,w,1,1,"ng-template",null,6,a.W1O),a.qZA(),a._UZ(8,"div",7),a.qZA()),2&o){const u=a.MAs(7);a.ekj("ant-switch-checked",e.isChecked)("ant-switch-loading",e.nzLoading)("ant-switch-disabled",e.nzDisabled)("ant-switch-small","small"===e.nzSize)("ant-switch-rtl","rtl"===e.dir),a.Q6J("disabled",e.nzDisabled)("nzWaveExtraNode",!0),a.uIk("id",e.nzId),a.xp6(3),a.Q6J("ngIf",e.nzLoading),a.xp6(2),a.Q6J("ngIf",e.isChecked)("ngIfElse",u)}},dependencies:[x.O5,z.dQ,y.Ls,N.f],encapsulation:2,changeDetection:0}),(0,n.gn)([(0,_.yF)()],c.prototype,"nzLoading",void 0),(0,n.gn)([(0,_.yF)()],c.prototype,"nzDisabled",void 0),(0,n.gn)([(0,_.yF)()],c.prototype,"nzControl",void 0),(0,n.gn)([(0,S.oS)()],c.prototype,"nzSize",void 0),c})(),b=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({imports:[T.vT,x.ez,z.vG,y.PV,N.T]}),c})()}}]); \ No newline at end of file diff --git a/server/public/2212.7c5b25057022690e.js b/server/public/2212.7c5b25057022690e.js new file mode 100644 index 000000000..b872d5609 --- /dev/null +++ b/server/public/2212.7c5b25057022690e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2212],{6822:(V,L,t)=>{t.d(L,{a:()=>W});var y=t(655),e=t(5879),l=t(4632),g=t(313),u=t(1791),I=t(5619),h=t(8645),f=t(5676),E=t(3997),A=t(812),Z=t(836),m=t(2181),z=t(7398),D=t(3620),b=t(2460),v=t(4223),C=t(6814),O=t(6223),U=t(855),S=t(2962),N=t(551),x=t(9691),c=t(3740),s=t(5695),p=t(6109),d=t(2392),M=t(6753),R=t(4764),J=t(8516),T=t(9775),Q=t(4770),K=t(4786),B=t(3489),$=t(9857),F=t(4997),w=t(1887),Y=t(2606),G=t(8091),H=t(4010),j=t(6967);const X=new Map([[g.Sx0.A,"Validated Association"],[g.Sx0.B,"Clinical Evidence"],[g.Sx0.C,"Case Study"],[g.Sx0.D,"Preclinical Evidence"],[g.Sx0.E,"Inferential Association"]]);let k=(()=>{class o{transform(n,_="display-string"){return void 0===n?"":"display-string"===_?function q(o){return X.get(o)||""}(n):`civic-${n.replace(/_/g,"").toLowerCase()}`}}return o.\u0275fac=function(n){return new(n||o)},o.\u0275pipe=e.Yjl({name:"evidenceLevelDisplay",type:o,pure:!0}),o})();var P;function ee(o,i){}function ne(o,i){if(1&o&&(e.ynx(0),e.TgZ(1,"nz-card",5),e.YNc(2,ee,0,0,"ng-template",6),e.qZA(),e.BQk()),2&o){e.oxw();const n=e.MAs(6),_=e.MAs(8),a=e.MAs(4);e.xp6(1),e.Q6J("nzTitle",n)("nzExtra",_),e.xp6(1),e.Q6J("ngTemplateOutlet",a)}}function te(o,i){}const oe=function(o){return{height:o}};function ie(o,i){if(1&o&&(e.TgZ(0,"div",7)(1,"nz-card",8),e.YNc(2,te,0,0,"ng-template",6),e.qZA()()),2&o){const n=e.oxw(),_=e.MAs(6),a=e.MAs(8),r=e.MAs(4);e.Q6J("ngStyle",e.VKq(4,oe,n.cvcHeight)),e.xp6(1),e.Q6J("nzTitle",_)("nzExtra",a),e.xp6(1),e.Q6J("ngTemplateOutlet",r)}}function le(o,i){1&o&&(e.TgZ(0,"th",80),e._uU(1," Molecular Profile "),e.qZA())}function ae(o,i){if(1&o){const n=e.EpF();e.TgZ(0,"th")(1,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw(2);return e.KtG(r.molecularProfileNameInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw(2);return e.KtG(a.filterChange$.next())}),e.qZA()()}if(2&o){const n=e.oxw(2);e.xp6(1),e.Q6J("inputModel",n.molecularProfileNameInput)}}function ce(o,i){if(1&o&&(e.TgZ(0,"td"),e._UZ(1,"cvc-molecular-profile-tag",90),e.qZA()),2&o){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("molecularProfile",n.molecularProfile)("truncateLongName",40)}}function re(o,i){if(1&o&&(e.ynx(0),e._UZ(1,"cvc-disease-tag",91),e.BQk()),2&o){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("disease",n.disease)("truncateLongName",!0)}}function _e(o,i){1&o&&(e.TgZ(0,"i"),e._uU(1,"N/A"),e.qZA())}function pe(o,i){if(1&o&&(e.ynx(0),e._UZ(1,"cvc-therapy-tag",93),e.BQk()),2&o){const n=i.$implicit;e.xp6(1),e.Q6J("therapy",n)("truncateLongName",!0)}}function se(o,i){if(1&o&&(e.TgZ(0,"div")(1,"cvc-tag-list"),e.YNc(2,pe,2,2,"ng-container",92),e.qZA()()),2&o){const n=e.oxw().$implicit;e.xp6(2),e.Q6J("ngForOf",n.therapies)}}function ge(o,i){1&o&&(e.TgZ(0,"i",94),e._uU(1,"N/A"),e.qZA())}function de(o,i){if(1&o&&(e.ynx(0),e.TgZ(1,"nz-tag",85),e.ALo(2,"therapyInteractionEnumDisplay"),e._UZ(3,"i",88),e.ALo(4,"therapyInteractionEnumDisplay"),e.qZA(),e.BQk()),2&o){const n=e.oxw().$implicit,_=e.oxw(2);e.xp6(1),e.Q6J("nzTooltipTitle",_.isScrolling?"":e.lcZ(2,2,n.therapyInteractionType)),e.xp6(2),e.Q6J("nzType",e.xi3(4,4,n.therapyInteractionType,"icon-name"))}}function ue(o,i){1&o&&(e.ynx(0),e.TgZ(1,"i",94),e._uU(2,"N/A"),e.qZA(),e.BQk())}function ve(o,i){if(1&o&&(e.TgZ(0,"tr",81)(1,"td",26),e._UZ(2,"cvc-evidence-tag",82),e.qZA(),e.YNc(3,ce,2,2,"td",28),e.TgZ(4,"td"),e.YNc(5,re,2,2,"ng-container",0),e.YNc(6,_e,2,0,"ng-template",null,83,e.W1O),e.qZA(),e.TgZ(8,"td"),e.YNc(9,se,3,1,"div",0),e.YNc(10,ge,2,0,"ng-template",null,84,e.W1O),e.qZA(),e.TgZ(12,"td"),e.YNc(13,de,5,7,"ng-container",28),e.YNc(14,ue,3,0,"ng-container",28),e.qZA(),e.TgZ(15,"td",29)(16,"nz-tag",85),e._UZ(17,"i",86),e.qZA()(),e.TgZ(18,"td",29)(19,"nz-tag",87),e.ALo(20,"evidenceLevelDisplay"),e._uU(21),e.qZA()(),e.TgZ(22,"td",29)(23,"nz-tag",85),e.ALo(24,"evidenceEnumDisplay"),e._UZ(25,"i",88),e.ALo(26,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(27,"td",29)(28,"nz-tag",85),e.ALo(29,"evidenceEnumDisplay"),e._UZ(30,"i",88),e.ALo(31,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(32,"td",29)(33,"nz-tag",85),e.ALo(34,"evidenceEnumDisplay"),e._UZ(35,"i",88),e.ALo(36,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(37,"td",29)(38,"nz-tag",85),e.ALo(39,"evidenceEnumDisplay"),e._UZ(40,"i",88),e.ALo(41,"evidenceEnumDisplay"),e.qZA()(),e.TgZ(42,"td",29)(43,"nz-tag",85),e._uU(44),e._UZ(45,"i",89),e.qZA()()()),2&o){const n=i.$implicit,_=e.MAs(7),a=e.MAs(11),r=e.oxw(2);e.xp6(2),e.Q6J("evidence",n),e.xp6(1),e.Q6J("ngIf",r.displayMolecularProfile),e.xp6(2),e.Q6J("ngIf",n.disease)("ngIfElse",_),e.xp6(4),e.Q6J("ngIf",n.therapies.length>0)("ngIfElse",a),e.xp6(4),e.Q6J("ngIf",n.therapyInteractionType),e.xp6(1),e.Q6J("ngIf",!n.therapyInteractionType),e.xp6(2),e.Q6J("nzTooltipTitle",r.isScrolling?"":n.description),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":n.evidenceLevel+" - "+e.lcZ(20,21,n.evidenceLevel)),e.xp6(2),e.hij(" ",n.evidenceLevel," "),e.xp6(2),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(24,23,n.evidenceType)),e.xp6(2),e.Q6J("nzType",e.xi3(26,25,n.evidenceType,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(29,28,n.evidenceDirection)),e.xp6(2),e.Q6J("nzType",e.xi3(31,30,n.evidenceDirection,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(34,33,n.significance)),e.xp6(2),e.Q6J("nzType",e.xi3(36,35,n.significance,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":e.lcZ(39,38,n.variantOrigin)),e.xp6(2),e.Q6J("nzType",e.xi3(41,40,n.variantOrigin,"icon-name")),e.xp6(3),e.Q6J("nzTooltipTitle",r.isScrolling?"":n.evidenceRating+" stars"),e.xp6(1),e.hij(" ",n.evidenceRating," ")}}const me=function(){return[]},ze=function(){return{x:"680px",y:"800px"}},Ce=function(){return["descend","ascend",null]};function Te(o,i){if(1&o){const n=e.EpF();e.TgZ(0,"nz-table",9,10),e.NdJ("cvcTableScrollOnScroll",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.scrollEvent$.next(a))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.TgZ(6,"thead",11),e.NdJ("nzSortOrderChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.sortChange$.next(a))}),e.TgZ(7,"tr",12)(8,"th",13),e._uU(9," EID "),e.qZA(),e.YNc(10,le,2,0,"th",14),e.TgZ(11,"th",15),e._uU(12," Disease "),e.qZA(),e.TgZ(13,"th",16),e._uU(14," Therapies "),e.qZA(),e.TgZ(15,"th",17),e._uU(16," IT "),e.qZA(),e.TgZ(17,"th",18),e._uU(18," DESC "),e.qZA(),e.TgZ(19,"th",19),e._uU(20," EL "),e.qZA(),e.TgZ(21,"th",20),e._uU(22," ET "),e.qZA(),e.TgZ(23,"th",21),e._uU(24," ED "),e.qZA(),e.TgZ(25,"th",22),e._uU(26," S "),e.qZA(),e.TgZ(27,"th",23),e._uU(28," VO "),e.qZA(),e.TgZ(29,"th",24),e._uU(30," R "),e.qZA()(),e.TgZ(31,"tr",25)(32,"th",26)(33,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.eidInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e.YNc(34,ae,2,1,"th",28),e.TgZ(35,"th")(36,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.diseaseNameInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e.TgZ(37,"th")(38,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.therapyNameInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e._UZ(39,"th"),e.TgZ(40,"th",29)(41,"cvc-clearable-input-filter",27),e.NdJ("inputModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.descriptionInput=a)})("inputModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())}),e.qZA()(),e.TgZ(42,"th",29)(43,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceLevelInput=a)}),e._UZ(44,"nz-option",31),e.ALo(45,"evidenceLevelDisplay"),e._UZ(46,"nz-option",32),e.ALo(47,"evidenceLevelDisplay"),e._UZ(48,"nz-option",33),e.ALo(49,"evidenceLevelDisplay"),e._UZ(50,"nz-option",34),e.ALo(51,"evidenceLevelDisplay"),e._UZ(52,"nz-option",35),e.ALo(53,"evidenceLevelDisplay"),e.qZA()(),e.TgZ(54,"th",29)(55,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceTypeInput=a)}),e._UZ(56,"nz-option",36)(57,"nz-option",37)(58,"nz-option",38)(59,"nz-option",39)(60,"nz-option",40)(61,"nz-option",41),e.qZA()(),e.TgZ(62,"th",29)(63,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceDirectionInput=a)}),e._UZ(64,"nz-option",42)(65,"nz-option",43)(66,"nz-option",44),e.qZA()(),e.TgZ(67,"th",29)(68,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.SignificanceInput=a)}),e.TgZ(69,"nz-option-group",45),e._UZ(70,"nz-option",46)(71,"nz-option",47)(72,"nz-option",48)(73,"nz-option",49)(74,"nz-option",44),e.qZA(),e.TgZ(75,"nz-option-group",50),e._UZ(76,"nz-option",51)(77,"nz-option",52)(78,"nz-option",44),e.qZA(),e.TgZ(79,"nz-option-group",53),e._UZ(80,"nz-option",54)(81,"nz-option",55),e.qZA(),e.TgZ(82,"nz-option-group",56),e._UZ(83,"nz-option",57)(84,"nz-option",58)(85,"nz-option",44),e.qZA(),e.TgZ(86,"nz-option-group",59),e._UZ(87,"nz-option",60)(88,"nz-option",58)(89,"nz-option",44),e.qZA(),e.TgZ(90,"nz-option-group",61),e._UZ(91,"nz-option",62),e._uU(92,", "),e._UZ(93,"nz-option",63),e._uU(94,", "),e._UZ(95,"nz-option",64),e._uU(96,", "),e._UZ(97,"nz-option",65),e._uU(98,", "),e._UZ(99,"nz-option",66),e._uU(100,", "),e._UZ(101,"nz-option",67),e.qZA()()(),e.TgZ(102,"th",29)(103,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.variantOriginInput=a)}),e._UZ(104,"nz-option",68)(105,"nz-option",69)(106,"nz-option",70)(107,"nz-option",71)(108,"nz-option",72)(109,"nz-option",73)(110,"nz-option",44),e.qZA()(),e.TgZ(111,"th",29)(112,"nz-select",30),e.NdJ("ngModelChange",function(){e.CHM(n);const a=e.oxw();return e.KtG(a.filterChange$.next())})("ngModelChange",function(a){e.CHM(n);const r=e.oxw();return e.KtG(r.evidenceRatingInput=a)}),e._UZ(113,"nz-option",74)(114,"nz-option",75)(115,"nz-option",76)(116,"nz-option",77)(117,"nz-option",78),e.qZA()()()(),e.TgZ(118,"tbody"),e.YNc(119,ve,46,43,"ng-template",79),e.qZA()()}if(2&o){const n=e.oxw();e.Q6J("nzData",e.lcZ(2,61,n.row$)||e.DdM(79,me))("nzLoading",!e.lcZ(3,63,n.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",e.lcZ(4,65,n.pageInfo$))("cvcTableScrollToIndex",e.lcZ(5,67,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",e.DdM(80,ze))("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(8),e.Q6J("nzColumnKey",n.sortColumns.Id)("nzSortFn",!0),e.xp6(2),e.Q6J("ngIf",n.displayMolecularProfile),e.xp6(1),e.Q6J("nzColumnKey",n.sortColumns.DiseaseName)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.TherapyName)("nzSortFn",!0),e.xp6(4),e.Q6J("nzColumnKey",n.sortColumns.Description)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceLevel)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceType)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceDirection)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.Significance)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.VariantOrigin)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",n.sortColumns.EvidenceRating)("nzSortDirections",e.DdM(81,Ce))("nzSortFn",!0),e.xp6(4),e.Q6J("inputModel",n.eidInput),e.xp6(1),e.Q6J("ngIf",n.displayMolecularProfile),e.xp6(2),e.Q6J("inputModel",n.diseaseNameInput),e.xp6(2),e.Q6J("inputModel",n.therapyNameInput),e.xp6(3),e.Q6J("inputModel",n.descriptionInput),e.xp6(2),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceLevelInput),e.xp6(1),e.Q6J("nzLabel","A - "+e.lcZ(45,69,n.evidenceLevels.A)),e.xp6(2),e.Q6J("nzLabel","B - "+e.lcZ(47,71,n.evidenceLevels.B)),e.xp6(2),e.Q6J("nzLabel","C - "+e.lcZ(49,73,n.evidenceLevels.C)),e.xp6(2),e.Q6J("nzLabel","D - "+e.lcZ(51,75,n.evidenceLevels.D)),e.xp6(2),e.Q6J("nzLabel","E - "+e.lcZ(53,77,n.evidenceLevels.E)),e.xp6(3),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceTypeInput),e.xp6(8),e.Q6J("nzDropdownMatchSelectWidth",!1)("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceDirectionInput),e.xp6(5),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.SignificanceInput),e.xp6(35),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.variantOriginInput),e.xp6(9),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",n.evidenceRatingInput),e.xp6(1),e.Q6J("nzValue",1),e.xp6(1),e.Q6J("nzValue",2),e.xp6(1),e.Q6J("nzValue",3),e.xp6(1),e.Q6J("nzValue",4),e.xp6(1),e.Q6J("nzValue",5)}}function he(o,i){}function fe(o,i){if(1&o&&(e.ynx(0),e.YNc(1,he,0,0,"ng-template",6),e.BQk()),2&o){const n=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function Ee(o,i){if(1&o&&(e.ynx(0),e._uU(1),e.BQk()),2&o){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.cvcTitle," ")}}function xe(o,i){if(1&o&&(e.YNc(0,fe,2,1,"ng-container",28),e.YNc(1,Ee,2,1,"ng-container",28),e.TgZ(2,"span",95),e._UZ(3,"cvc-table-counts",96),e.qZA()),2&o){const n=e.oxw();e.Q6J("ngIf",n.cvcTitleTemplate),e.xp6(1),e.Q6J("ngIf",n.cvcTitle),e.xp6(2),e.Q6J("cvcTableCountsConnection",n.connection$)}}function Me(o,i){1&o&&(e.TgZ(0,"nz-tag",99),e._UZ(1,"i",100),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}function Ie(o,i){if(1&o&&(e.YNc(0,Me,4,0,"nz-tag",97),e.ALo(1,"ngrxPush"),e._UZ(2,"cvc-no-more-rows",98),e.ALo(3,"ngrxPush")),2&o){const n=e.oxw();e.Q6J("ngIf",e.lcZ(1,2,n.moreLoading$)),e.xp6(2),e.Q6J("cvcShowTag",e.lcZ(3,4,n.noMoreRows$))}}let W=((P=class{set initialUserFilters(i){i&&Object.assign(this,i)}constructor(i,n){this.gql=i,this.cdr=n,this.displayMolecularProfile=!0,this.initialPageSize=35,this.initialTotalCount=new e.vpe,this.isScrolling=!1,this.sortColumns=g.Cp0,this.evidenceLevels=g.Sx0,this.noMoreRows$=new I.X(!1),this.scrollEvent$=new I.X("stop"),this.sortChange$=new h.x,this.filterChange$=new h.x,this.scrollIndex$=new h.x}ngOnInit(){this.queryRef=this.gql.watch({assertionId:this.assertionId,significance:this.SignificanceInput?this.SignificanceInput:void 0,clinicalTrialId:this.clinicalTrialId,description:this.descriptionInput,diseaseId:this.diseaseId,diseaseName:this.diseaseNameInput,therapyId:this.therapyId,therapyName:this.therapyNameInput,evidenceDirection:this.evidenceDirectionInput?this.evidenceDirectionInput:void 0,evidenceLevel:this.evidenceLevelInput?this.evidenceLevelInput:void 0,evidenceType:this.evidenceTypeInput?this.evidenceTypeInput:void 0,first:this.initialPageSize,organizationId:this.organizationId,phenotypeId:this.phenotypeId,rating:this.evidenceRatingInput?this.evidenceRatingInput:void 0,sourceId:this.sourceId,status:this.status,userId:this.userId,variantId:this.variantId,molecularProfileId:this.molecularProfileId,molecularProfileName:this.molecularProfileNameInput?this.molecularProfileNameInput:void 0,variantOrigin:this.variantOriginInput?this.variantOriginInput:void 0}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,v.j)("loading"),(0,E.x)(),(0,A.o)(i=>!1!==i,!0)),this.moreLoading$=this.result$.pipe((0,v.j)("loading"),(0,E.x)(),(0,Z.T)(2)),this.connection$=this.result$.pipe((0,v.j)("data","evidenceItems"),(0,m.h)(f.ep)),this.connection$.pipe((0,z.U)(i=>i.totalCount),(0,u.t)(this)).subscribe(i=>this.initialTotalCount.next(i)),this.row$=this.connection$.pipe((0,v.j)("edges"),(0,m.h)(f.ep),(0,z.U)(i=>i.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,v.j)("pageInfo"),(0,m.h)(f.ep)),this.sortChange$.pipe((0,u.t)(this)).subscribe(i=>{this.queryRef.refetch({sortBy:(0,l._)(i)})}),this.filterChange$.pipe((0,D.b)(500),(0,u.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,z.U)(i=>"stop"!==i),(0,E.x)(),(0,u.t)(this)).subscribe(i=>{this.isScrolling=i,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,m.h)(i=>"bottom"===i),(0,b.M)(this.pageInfo$),(0,z.U)(([i,n])=>n),(0,u.t)(this)).subscribe(i=>{i.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){let i;i=this.eidInput?this.eidInput.toUpperCase().startsWith("EID")?+this.eidInput.toUpperCase().replace("EID",""):+this.eidInput:void 0,this.queryRef.refetch({id:i,diseaseName:this.diseaseNameInput,therapyName:this.therapyNameInput,description:this.descriptionInput,evidenceLevel:this.evidenceLevelInput?this.evidenceLevelInput:void 0,evidenceType:this.evidenceTypeInput?this.evidenceTypeInput:void 0,evidenceDirection:this.evidenceDirectionInput?this.evidenceDirectionInput:void 0,significance:this.SignificanceInput?this.SignificanceInput:void 0,variantOrigin:this.variantOriginInput?this.variantOriginInput:void 0,rating:this.evidenceRatingInput?this.evidenceRatingInput:void 0,molecularProfileName:this.molecularProfileNameInput?this.molecularProfileNameInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(i,n){return n?.id}}).\u0275fac=function(i){return new(i||P)(e.Y36(g.eY8),e.Y36(e.sBO))},P.\u0275cmp=e.Xpm({type:P,selectors:[["cvc-evidence-table"]],inputs:{cvcHeight:"cvcHeight",assertionId:"assertionId",clinicalTrialId:"clinicalTrialId",cvcTitle:"cvcTitle",cvcTitleTemplate:"cvcTitleTemplate",diseaseId:"diseaseId",displayMolecularProfile:"displayMolecularProfile",therapyId:"therapyId",organizationId:"organizationId",phenotypeId:"phenotypeId",sourceId:"sourceId",status:"status",userId:"userId",variantId:"variantId",molecularProfileId:"molecularProfileId",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},outputs:{initialTotalCount:"initialTotalCount"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","100px","nzLeft","","nz-tooltip","","nzTooltipTitle","Evidence ID",3,"nzColumnKey","nzSortFn"],["nzWidth","320px","nz-tooltip","","nzTooltipTitle","Molecular Profile Name",4,"ngIf"],["nzWidth","250px",3,"nzColumnKey","nzSortFn"],["nzWidth","400px",3,"nzColumnKey","nzSortFn"],["nzWidth","40px","nz-tooltip","","nzTooltipTitle","Therapy Interaction Type"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Description",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Level",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Type",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Evidence Direction",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Significance",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Variant Origin",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Rating",3,"nzColumnKey","nzSortDirections","nzSortFn"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],[4,"ngIf"],["nzAlign","center","nzRight",""],["nzAllowClear","","nzPlaceHolder","All","nzSize","small",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","A",3,"nzLabel"],["nzValue","B",3,"nzLabel"],["nzValue","C",3,"nzLabel"],["nzValue","D",3,"nzLabel"],["nzValue","E",3,"nzLabel"],["nzValue","PREDICTIVE","nzLabel","Predictive"],["nzValue","PROGNOSTIC","nzLabel","Prognostic"],["nzValue","DIAGNOSTIC","nzLabel","Diagnostic"],["nzValue","PREDISPOSING","nzLabel","Predisposing"],["nzValue","ONCOGENIC","nzLabel","Oncogenic"],["nzValue","FUNCTIONAL","nzLabel","Functional"],["nzValue","SUPPORTS","nzLabel","Supports"],["nzValue","DOES_NOT_SUPPORT","nzLabel","Does not Support"],["nzValue","NA","nzLabel","N/A"],["nzLabel","Predictive"],["nzValue","SENSITIVITYRESPONSE","nzLabel","Sensitivity/Response"],["nzValue","RESISTANCE","nzLabel","Resistance"],["nzValue","ADVERSE_RESPONSE","nzLabel","Adverse Response"],["nzValue","REDUCED SENSITIVITY","nzLabel","Reduced Sensitivity"],["nzLabel","Prognostic"],["nzValue","BETTER_OUTCOME","nzLabel","Better Outcome"],["nzValue","POOR_OUTCOME","nzLabel","Poor Outcome"],["nzLabel","Diagnostic"],["nzValue","POSITIVE","nzLabel","Positive"],["nzValue","NEGATIVE","nzLabel","Negative"],["nzLabel","Predisposing"],["nzValue","PREDISPOSITION","nzLabel","Predisposition"],["nzValue","PROTECTIVENESS","nzLabel","Protectiveness"],["nzLabel","Oncogenic"],["nzValue","ONCOGENICITY","nzLabel","Oncogenicity"],["nzLabel","Functional"],["nzValue","GAIN_OF_FUNCTION","nzLabel","Gain of Function"],["nzValue","LOSS_OF_FUNCTION","nzLabel","Loss of Function"],["nzValue","UNALTERED_FUNCTION","nzLabel","Unaltered Function"],["nzValue","NEOMORPHIC","nzLabel","Neomorphic"],["nzValue","DOMINANT_NEGATIVE","nzLabel","Dominant Negative"],["nzValue","UNKNOWN","nzLabel","Unknown"],["nzValue","SOMATIC","nzLabel","Somatic"],["nzValue","RARE_GERMLINE","nzLabel","Rare Germline"],["nzValue","COMMON_GERMLINE","nzLabel","Common Germline"],["nzValue","GERMLINE_OR_SOMATIC","nzLabel","Germline or Somatic"],["nzValue","COMBINED","nzLabel","Combined"],["nzValue","UNKNOWN","nzLabel","Unkown"],["nzLabel","1",3,"nzValue"],["nzLabel","2",3,"nzValue"],["nzLabel","3",3,"nzValue"],["nzLabel","4",3,"nzValue"],["nzLabel","5",3,"nzValue"],["nz-virtual-scroll",""],["nzWidth","320px","nz-tooltip","","nzTooltipTitle","Molecular Profile Name"],[1,"data-row"],[3,"evidence"],["diseaseElse",""],["therapiesElse",""],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left"],["nz-tooltip","","nz-placement","top",3,"nzTooltipTitle"],["nz-icon","",1,"attribute-icon",3,"nzType"],["nz-icon","","nzType","star","nzTheme","fill",1,"attribute-icon"],[3,"molecularProfile","truncateLongName"],[3,"disease","truncateLongName"],[4,"ngFor","ngForOf"],[3,"therapy","truncateLongName"],["nz-typography","","nzType","secondary"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(i,n){if(1&i&&(e.YNc(0,ne,3,3,"ng-container",0),e.YNc(1,ie,3,6,"ng-template",null,1,e.W1O),e.YNc(3,Te,120,82,"ng-template",null,2,e.W1O),e.YNc(5,xe,4,3,"ng-template",null,3,e.W1O),e.YNc(7,Ie,4,6,"ng-template",null,4,e.W1O)),2&i){const _=e.MAs(2);e.Q6J("ngIf",!n.cvcHeight)("ngIfElse",_)}},dependencies:[C.sg,C.O5,C.tP,C.PC,O.JJ,O.On,U.w,S.bd,N.Ls,x.Ip,x.Vq,x.Yy,c.N8,c.qD,c.Uo,c._C,c.Om,c.p0,c.$Z,c.zu,c.qn,c.UX,s.j,p.SY,d.ZU,M.D,R.q,J.p,T.n,Q.T,K.O,B.H,$.B,F.y,w.$,Y.p,G.fM,H.F,j.Do,k],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),P);W=(0,y.gn)([(0,u.c)()],W)},1403:(V,L,t)=>{t.d(L,{Q:()=>J});var y=t(6814),e=t(6223),l=t(3396),g=t(8527),u=t(7856),I=t(9154),h=t(2989),f=t(366),E=t(7950),A=t(6061),Z=t(2524),m=t(9175),z=t(4742),D=t(9312),b=t(2840),v=t(2962),C=t(2612),O=t(3599),U=t(551),S=t(824),N=t(9691),x=t(2574),c=t(3740),s=t(5695),p=t(6109),d=t(2392),M=t(1218),R=t(5879);let J=(()=>{class T{}return T.\u0275fac=function(K){return new(K||T)},T.\u0275mod=R.oAB({type:T}),T.\u0275inj=R.cJS({imports:[y.ez,e.u5,b.sL,v.vh,C.Wr,O.U5,U.PV,S.o7,N.LV,x.zf,c.HQ,s.X,p.cg,d.ZJ,m.n,z.c,u.k,l.Q,A.N,M.i,Z.s,I.y,h.T,D.w,f.$,E.x,g.u]}),T})()},4786:(V,L,t)=>{t.d(L,{O:()=>x});var y=t(8130),e=t(2023),l=t(5879),g=t(6814),u=t(4190),I=t(5695),h=t(7417),f=t(551),E=t(8213),A=t(3103),Z=t(2616);function m(c,s){}function z(c,s){if(1&c&&(l.ynx(0),l.TgZ(1,"a",4),l.YNc(2,m,0,0,"ng-template",5),l.qZA(),l.BQk()),2&c){const p=l.oxw(),d=l.MAs(2);l.xp6(1),l.Q6J("routerLink",p.evidence.link),l.xp6(1),l.Q6J("ngTemplateOutlet",d)}}function D(c,s){}function b(c,s){if(1&c&&l._UZ(0,"cvc-evidence-popover",9),2&c){const p=l.oxw(3);l.Q6J("evidenceId",p.evidence.id)}}function v(c,s){if(1&c&&l.YNc(0,b,1,1,"cvc-evidence-popover",8),2&c){const p=l.oxw(2);l.Q6J("ngIf",p.enablePopover)}}const C=function(c,s,p){return{rejected:c,submitted:s,accepted:p}};function O(c,s){if(1&c&&(l.TgZ(0,"nz-tag",6),l.YNc(1,D,0,0,"ng-template",5),l.qZA(),l.YNc(2,v,1,1,"ng-template",null,7,l.W1O)),2&c){const p=l.MAs(3),d=l.oxw(),M=l.MAs(6);l.Q6J("ngClass",l.kEZ(5,C,"REJECTED"===d.evidence.status,"SUBMITTED"===d.evidence.status,"ACCEPTED"===d.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",p)("nzPopoverTrigger",d.enablePopover?"hover":null),l.xp6(1),l.Q6J("ngTemplateOutlet",M)}}function U(c,s){}function S(c,s){if(1&c&&l.YNc(0,U,0,0,"ng-template",5),2&c){l.oxw();const p=l.MAs(2);l.Q6J("ngTemplateOutlet",p)}}function N(c,s){if(1&c&&(l.TgZ(0,"cvc-icon-badges",10),l._UZ(1,"i",11),l.ALo(2,"entityColor"),l.ALo(3,"entityColor"),l.qZA(),l._uU(4)),2&c){const p=l.oxw();l.Q6J("flagged",p.evidence.flagged)("entityColor",p.iconColor),l.xp6(1),l.Q6J("nzTwotoneColor","REJECTED"===p.evidence.status?l.lcZ(2,4,"Rejected"):l.lcZ(3,6,"EvidenceItem")),l.xp6(3),l.hij(" ",p.evidence.name,"\n")}}let x=(()=>{class c extends y.a{set evidence(p){if(!p)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=p}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,e.f)("EvidenceItem")}idFunction(){return this.evidence.id}}return c.\u0275fac=function(p){return new(p||c)},c.\u0275cmp=l.Xpm({type:c,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[l.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(p,d){if(1&p&&(l.YNc(0,z,3,2,"ng-container",0),l.YNc(1,O,4,9,"ng-template",null,1,l.W1O),l.YNc(3,S,1,1,"ng-template",null,2,l.W1O),l.YNc(5,N,5,8,"ng-template",null,3,l.W1O)),2&p){const M=l.MAs(4);l.Q6J("ngIf",d.linked)("ngIfElse",M)}},dependencies:[g.mk,g.O5,g.tP,u.rH,I.j,h.lU,f.Ls,E._,A.b,Z.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]}),c})()}}]); \ No newline at end of file diff --git a/server/public/2294.9818a69a12d743df.js b/server/public/2294.9818a69a12d743df.js deleted file mode 100644 index e4100654d..000000000 --- a/server/public/2294.9818a69a12d743df.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2294],{4475:(ne,U,o)=>{o.d(U,{F:()=>c});var L=o(4650);class c{transform(m,Z="display-string"){return void 0===m?"":"display-string"===Z?function r(p){switch(p){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return p}}(m):`civic-${m.replace(/_/g,"").toLowerCase()}`}}c.\u0275fac=function(m){return new(m||c)},c.\u0275pipe=L.Yjl({name:"therapyInteractionEnumDisplay",type:c,pure:!0})},724:(ne,U,o)=>{o.r(U),o.d(U,{MolecularProfilesDetailModule:()=>C});var r=o(6895),L=o(5630),c=o(2635),p=o(6903),m=o(4682),Z=o(1229),d=o(5655),B=o(6616),_=o(1102),te=o(8762),g=o(3679),ae=o(5750),oe=o(4609),s=o(9116),ie=o(2278),e=o(4650);class v{}v.\u0275fac=function(a){return new(a||v)},v.\u0275mod=e.oAB({type:v}),v.\u0275inj=e.cJS({imports:[r.ez,ie.l]});var u=o(7630),re=o(3801);class b{constructor(a){this.route=a,this.commentable={id:+this.route.snapshot.params.molecularProfileId,entityType:u.OfU.MolecularProfile}}}b.\u0275fac=function(a){return new(a||b)(e.Y36(s.gz))},b.\u0275cmp=e.Xpm({type:b,selectors:[["cvc-molecular-profiles-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(a,t){1&a&&e._UZ(0,"cvc-comment-list",0),2&a&&e.Q6J("commentable",t.commentable)},dependencies:[re.D],styles:["[_nghost-%COMP%]{display:block}"]});var j=o(8675),le=o(2722),f=o(6579),ce=o(7579),se=o(1135),pe=o(9350),ge=o(7044),ue=o(1664),W=o(9597),me=o(759),fe=o(2233),de=o(5623),_e=o(8168),ve=o(8992),ze=o(9077),G=o(5457),he=o(7948),ye=o(2338);const xe=function(n){return{molecularProfileId:n}};function Pe(n,a){if(1&n&&(e.TgZ(0,"button",14),e._UZ(1,"i",15),e._uU(2," Add Evidence For This Molecular Profile "),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.Q6J("queryParams",e.VKq(1,xe,t.id))}}function Me(n,a){if(1&n&&(e.ynx(0),e.YNc(1,Pe,3,3,"button",13),e.BQk()),2&n){const t=a.ngrxLet;e.xp6(1),e.Q6J("ngIf",t.canCurate)}}function Te(n,a){if(1&n&&e.YNc(0,Me,2,1,"ng-container",7),2&n){const t=e.oxw(2);e.Q6J("ngrxLet",t.viewer$)}}function Ce(n,a){1&n&&(e.TgZ(0,"span"),e._uU(1,",\xa0"),e.qZA())}function Ze(n,a){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,Ce,2,0,"span",0),e.qZA()),2&n){const t=a.$implicit,i=a.last;e.xp6(1),e.hij(" ",t,""),e.xp6(1),e.Q6J("ngIf",!i)}}function be(n,a){if(1&n&&(e.TgZ(0,"nz-page-header-subtitle"),e.YNc(1,Ze,3,2,"span",16),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.molecularProfileAliases)}}const Ie=function(n){return["/molecular-profiles",n,"revise"]};function Ae(n,a){if(1&n&&(e.TgZ(0,"button",21,22),e._uU(2," Revise "),e.qZA()),2&n){const t=e.MAs(1),i=e.oxw(4).ngIf;e.Q6J("routerLink",e.VKq(2,Ie,i.id))("nzType",t.isActive?"primary":"default")}}function Je(n,a){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Ae,3,4,"button",20),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function Qe(n,a){if(1&n&&(e.TgZ(0,"button",24,22),e._uU(2," Flag "),e.qZA()),2&n){const t=e.MAs(1);e.Q6J("nzType",t.isActive?"primary":"default")}}function Se(n,a){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Qe,3,1,"button",23),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function Ne(n,a){if(1&n&&e._UZ(0,"cvc-entity-subscription-button",26),2&n){const t=e.oxw(2).ngrxLet,i=e.oxw(3);e.Q6J("viewer",t)("subscribableId",i.subscribable.id)}}function Oe(n,a){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Ne,1,2,"cvc-entity-subscription-button",25),e.qZA()),2&n){const t=e.oxw().ngrxLet,i=e.oxw(3);e.xp6(1),e.Q6J("ngIf",t.signedIn&&i.subscribable)}}function Ve(n,a){1&n&&(e.TgZ(0,"nz-space",18),e.YNc(1,Je,2,1,"span",19),e.YNc(2,Se,2,1,"span",19),e.YNc(3,Oe,2,1,"span",19),e.qZA())}function Ue(n,a){if(1&n&&(e.TgZ(0,"nz-page-header-extra"),e.YNc(1,Ve,4,0,"nz-space",17),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngrxLet",t.viewer$)}}function Ye(n,a){if(1&n&&e._UZ(0,"nz-alert",27),2&n){e.oxw();const t=e.MAs(15);e.Q6J("nzMessage",t)}}function we(n,a){if(1&n&&e._UZ(0,"cvc-comment-body",30),2&n){const t=e.oxw().$implicit;e.Q6J("commentBodySegments",t.deprecationComment.parsedComment)}}function De(n,a){if(1&n&&(e.ynx(0),e._UZ(1,"br")(2,"cvc-variant-tag",28),e._uU(3),e.ALo(4,"enumToTitle"),e.YNc(5,we,1,1,"cvc-comment-body",29),e.BQk()),2&n){const t=a.$implicit;e.xp6(2),e.Q6J("variant",t),e.xp6(1),e.hij(" ",e.lcZ(4,3,t.deprecationReason),". "),e.xp6(2),e.Q6J("ngIf",t.deprecationComment)}}function Le(n,a){if(1&n&&(e._uU(0," This Molecular Profile has been deprecated because one or more of its underlying variants are deprecated "),e.YNc(1,De,6,5,"ng-container",16)),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.deprecatedVariants)}}function Fe(n,a){if(1&n&&(e.TgZ(0,"nz-col",31),e._UZ(1,"cvc-contributor-avatars",32),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("subscribable",t.subscribable)}}const Ee=function(n){return{flagged:n}};function $e(n,a){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,Te,1,1,"ng-template",null,2,e.W1O),e.TgZ(4,"div",3),e.ALo(5,"ngrxPush"),e.TgZ(6,"nz-page-header",4)(7,"nz-page-header-title",5),e._UZ(8,"i",6),e._uU(9),e.qZA(),e.YNc(10,be,2,1,"nz-page-header-subtitle",0),e.YNc(11,Ue,2,1,"nz-page-header-extra",7),e.TgZ(12,"nz-page-header-content"),e.YNc(13,Ye,1,1,"nz-alert",8),e.YNc(14,Le,2,1,"ng-template",null,9,e.W1O),e.TgZ(16,"cvc-tab-navigation",10),e.ALo(17,"ngrxPush"),e.YNc(18,Fe,2,1,"ng-template",null,11,e.W1O),e.qZA(),e.TgZ(20,"div",12),e._UZ(21,"router-outlet"),e.qZA()()()(),e.BQk()),2&n){const t=a.ngIf,i=e.MAs(3),l=e.oxw();e.xp6(1),e.Q6J("displayName",t.name)("actionsTpl",i),e.xp6(3),e.Q6J("flags",e.lcZ(5,9,l.flagsTotal$)),e.xp6(3),e.Q6J("ngClass",e.VKq(13,Ee,t.flags.totalCount>0)),e.xp6(2),e.hij(" ",t.name," "),e.xp6(1),e.Q6J("ngIf",t.molecularProfileAliases.length>0),e.xp6(1),e.Q6J("ngrxLet",l.viewer$),e.xp6(2),e.Q6J("ngIf",t.deprecated),e.xp6(3),e.Q6J("tabs",e.lcZ(17,11,l.tabs$))}}class I{constructor(a,t,i){this.gql=a,this.viewerService=t,this.route=i,this.destroy$=new ce.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.tabs$=new se.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(l=>{this.queryRef=this.gql.watch({mpId:+l.molecularProfileId});let D=this.queryRef.valueChanges;this.loading$=D.pipe((0,f.j)("loading"),(0,j.O)(!0)),this.molecularProfile$=D.pipe((0,f.j)("data","molecularProfile")),this.commentsTotal$=this.molecularProfile$.pipe((0,f.j)("comments","totalCount")),this.flagsTotal$=this.molecularProfile$.pipe((0,f.j)("flags","totalCount")),this.molecularProfile$.pipe((0,f.j)("revisions","totalCount"),(0,le.R)(this.destroy$)).subscribe({next:R=>{this.tabs$.next(this.defaultTabs.map(V=>"Revisions"===V.tabLabel?{badgeCount:R,...V}:V))}}),this.subscribable={id:+l.molecularProfileId,entityType:u.o71.MolecularProfile}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}I.\u0275fac=function(a){return new(a||I)(e.Y36(u.AMF),e.Y36(pe.a),e.Y36(s.gz))},I.\u0275cmp=e.Xpm({type:I,selectors:[["molecular-profiles-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","actionsTpl"],["mpActions",""],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzType","civic:molecularprofile"],[4,"ngrxLet"],["nzBanner","","nzType","error",3,"nzMessage",4,"ngIf"],["deprecationMessageTemplate",""],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small",3,"queryParams",4,"ngIf"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small",3,"queryParams"],["nz-icon","","nzType","plus-circle"],[4,"ngFor","ngForOf"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","MolecularProfile",3,"viewer","subscribableId",4,"ngIf"],["typename","MolecularProfile",3,"viewer","subscribableId"],["nzBanner","","nzType","error",3,"nzMessage"],[3,"variant"],[3,"commentBodySegments",4,"ngIf"],[3,"commentBodySegments"],["id","contributors-col"],[3,"subscribable"]],template:function(a,t){1&a&&(e.YNc(0,$e,22,15,"ng-container",0),e.ALo(1,"ngrxPush")),2&a&&e.Q6J("ngIf",e.lcZ(1,1,t.molecularProfile$))},dependencies:[r.mk,r.sg,r.O5,s.lC,s.rH,s.Od,c.eJ,B.ix,ge.w,ue.dQ,_.Ls,d.$O,d.u9,d.yG,d.u5,d.Jp,p.NU,p.$1,g.t3,W.r,me.N,fe.P,de.o,_e.Y,ve.I,ze.Q,G.I,he.m,c.fM,ye.I],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var Re=o(5291);class z{}z.\u0275fac=function(a){return new(a||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[r.ez,Re.t]});var Be=o(2011);class A{constructor(a){this.route=a,this.subscribable={id:+this.route.snapshot.params.molecularProfileId,entityType:u.o71.MolecularProfile}}}A.\u0275fac=function(a){return new(a||A)(e.Y36(s.gz))},A.\u0275cmp=e.Xpm({type:A,selectors:[["cvc-molecular-profiles-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(a,t){1&a&&e._UZ(0,"cvc-event-feed",0),2&a&&e.Q6J("subscribable",t.subscribable)},dependencies:[Be.o],styles:["[_nghost-%COMP%]{display:block}"]});var je=o(4271),We=o(545),J=o(1971);class h{}h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=e.oAB({type:h}),h.\u0275inj=e.cJS({imports:[r.ez,g.Jb,J.vh,p.zf,We.H0,_.PV,je.M]});var Ge=o(7036);class Q{constructor(a){this.route=a,this.flaggable={entityType:u.sfv.MolecularProfile,id:+this.route.snapshot.params.molecularProfileId}}}Q.\u0275fac=function(a){return new(a||Q)(e.Y36(s.gz))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["cvc-molecular-profiles-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(a,t){1&a&&e._UZ(0,"cvc-flag-list-and-filter",0),2&a&&e.Q6J("flaggable",t.flaggable)},dependencies:[Ge.L],styles:["[_nghost-%COMP%]{display:block}"]});var Xe=o(2914);class y{}y.\u0275fac=function(a){return new(a||y)},y.\u0275mod=e.oAB({type:y}),y.\u0275inj=e.cJS({imports:[r.ez,Xe.A]});var He=o(3770);class S{constructor(a){this.route=a,this.routeSub=this.route.params.subscribe(t=>{this.molecularProfileId=+t.molecularProfileId,this.entityType=u.oRL.MolecularProfile})}ngOnDestroy(){this.routeSub.unsubscribe()}}S.\u0275fac=function(a){return new(a||S)(e.Y36(s.gz))},S.\u0275cmp=e.Xpm({type:S,selectors:[["cvc-molecular-profiles-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(a,t){1&a&&e._UZ(0,"cvc-revisions-list-and-filter",0),2&a&&e.Q6J("id",t.molecularProfileId)("entityType",t.entityType)},dependencies:[He.a],encapsulation:2});var F=o(897),Ke=o(2811),x=o(9194),X=o(8645),H=o(4989),K=o(8541),qe=o(767),ke=o(9441),Y=o(8823),E=o(9444),en=o(7345),w=o(6672),nn=o(3309),q=o(7043),tn=o(4126),$=o(9054),an=o(9341);class P{}P.\u0275fac=function(a){return new(a||P)},P.\u0275mod=e.oAB({type:P}),P.\u0275inj=e.cJS({imports:[r.ez,s.Bz,w.X,_.PV,g.Jb,x.q6,Y.ZJ,J.vh,$.cD,p.zf,E.s,q.Q,Z.U,K.o,F.$,X.M,H.X,F.$,tn.u,an.z]});var on=o(1371);class M{}M.\u0275fac=function(a){return new(a||M)},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({imports:[r.ez,c._N,c.pP,p.zf,g.Jb,x.q6,J.vh,Y.ZJ,_.PV,w.X,on.M,E.s,qe.Q,ke.s,F.$,en.W,Ke.s,Z.U,X.M,H.X,K.o,nn.r,P]});var rn=o(6814),ln=o(3392),cn=o(3756),k=o(6715),sn=o(783),pn=o(427),gn=o(7230),un=o(3965),mn=o(7701),fn=o(6550),dn=o(5105),_n=o(9442),vn=o(160);function zn(n,a){if(1&n&&(e._UZ(0,"i",25),e.ALo(1,"entityColor"),e._uU(2)),2&n){const t=e.oxw();e.Q6J("nzTwotoneColor",e.lcZ(1,2,"Variant")),e.xp6(2),e.hij(" ",t.variant.name," ")}}function hn(n,a){if(1&n&&(e.TgZ(0,"nz-tag"),e._uU(1),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Oqu(t)}}function yn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,hn,2,1,"nz-tag",26),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.variant.variantAliases)}}function xn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None specified"),e.qZA())}function Pn(n,a){1&n&&e._UZ(0,"cvc-variant-type-tag",29),2&n&&e.Q6J("variantType",a.$implicit)}function Mn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,Pn,1,1,"cvc-variant-type-tag",28),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.variant.variantTypes)}}function Tn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None specified"),e.qZA())}function Cn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-link-tag",30),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href","https://reg.genome.network/allele/"+t.variant.alleleRegistryId+".html"),e.xp6(1),e.hij(" ",t.variant.alleleRegistryId," ")}}function Zn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None provided"),e.qZA())}function bn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-link-tag",31),e._uU(2),e.qZA(),e.BQk()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/"+t),e.xp6(1),e.hij(" ",t," ")}}function In(n,a){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,bn,3,2,"ng-container",26),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.variant.clinvarIds)}}function An(n,a){if(1&n&&(e.ynx(0),e.YNc(1,In,2,1,"cvc-tag-list",11),e.BQk()),2&n){const t=e.oxw(),i=e.MAs(27);e.xp6(1),e.Q6J("ngIf","N/A"!==t.variant.clinvarIds[0])("ngIfElse",i)}}function Jn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"N/A"),e.qZA())}function Qn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None provided"),e.qZA())}function Sn(n,a){if(1&n&&(e.TgZ(0,"cvc-link-tag",32),e._uU(1," Variant Report "),e.qZA()),2&n){const t=e.oxw();e.Q6J("href",t.variant.openCravatUrl)}}function Nn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"Allele Registry ID required."),e.qZA())}function On(n,a){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-molecular-profile-tag",35),e.BQk()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("molecularProfile",t)("truncateLongName",!0)}}function Vn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"a",36),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.MGl("routerLink","/variants/",t.variant.id,"/summary"),e.xp6(1),e.hij(" + view ",t.variant.molecularProfiles.totalCount-t.displayMps.length," more ")}}function Un(n,a){if(1&n&&(e.TgZ(0,"nz-descriptions-item",33)(1,"cvc-tag-list"),e.YNc(2,On,2,2,"ng-container",26),e.YNc(3,Vn,3,2,"ng-container",34),e.qZA()()),2&n){const t=e.oxw();e.Q6J("nzSpan",4),e.xp6(2),e.Q6J("ngForOf",t.displayMps),e.xp6(1),e.Q6J("ngIf",t.variant.molecularProfiles.totalCount>t.displayMps.length+1)}}const Yn=function(){return[8,16]},wn=function(){return[8,8]};class N{constructor(){this.displayMps=[]}ngOnInit(){if(void 0===this.variant)throw new Error("Must pass a Variant into the MP Variant Card Component");if(void 0===this.currentMolecularProfileId)throw new Error("Must pass a MP ID into the MP Variant Card Component");this.displayMps=this.variant.molecularProfiles.nodes.filter(a=>a.id!=this.currentMolecularProfileId)}}function Dn(n,a){if(1&n&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&n){const t=e.oxw().ngIf;e.Q6J("nzEllipsisRows",14),e.xp6(1),e.hij(" ",t.description," ")}}function Ln(n,a){1&n&&e._UZ(0,"cvc-empty-revisable",22)}function Fn(n,a){1&n&&e._UZ(0,"cvc-source-tag",24),2&n&&e.Q6J("source",a.$implicit)}function En(n,a){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,Fn,1,1,"cvc-source-tag",23),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.sources)}}function $n(n,a){if(1&n&&(e.TgZ(0,"nz-tag"),e._uU(1),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Oqu(t)}}function Rn(n,a){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,$n,2,1,"nz-tag",25),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.molecularProfileAliases)}}function Bn(n,a){if(1&n&&(e.TgZ(0,"nz-col",16),e._UZ(1,"cvc-mp-variant-card",26),e.qZA()),2&n){const t=a.$implicit,i=e.oxw().ngIf;e.xp6(1),e.Q6J("variant",t)("currentMolecularProfileId",i.id)}}N.\u0275fac=function(a){return new(a||N)},N.\u0275cmp=e.Xpm({type:N,selectors:[["cvc-mp-variant-card"]],inputs:{variant:"variant",currentMolecularProfileId:"currentMolecularProfileId"},decls:39,vars:32,consts:[["nzType","inner","nzSize","small",3,"nzTitle"],["cardTitle",""],[3,"nzGutter"],[3,"nzSpan"],["nzSpan","24"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variant",3,"nzSpan"],[3,"variant"],["nzTitle","Gene",3,"nzSpan"],[3,"gene"],["nzTitle","Aliases",3,"nzSpan"],[4,"ngIf","ngIfElse"],["noAliases",""],[3,"nzSpan","nzTitle"],["noTypes",""],["nzTitle","Allele Registry ID",3,"nzSpan"],["noAlleleRegistry",""],["clinvarNotApplicable",""],["noClinvarIds",""],["nzTitle","OpenCRAVAT",3,"nzSpan"],["tooltip","View on OpenCRAVAT",3,"href",4,"ngIf","ngIfElse"],["noCravat",""],["nzTitle","Other Molecular Profiles",3,"nzSpan",4,"ngIf"],["nzHeader","Representative Variant Coordinates"],[3,"displayTitle","cvcCoordinates"],["nz-icon","","nzType","civic-variant","nzTheme","twotone",3,"nzTwotoneColor"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],[3,"variantType",4,"ngFor","ngForOf"],[3,"variantType"],["tooltip","View on ClinGen Allele Registry",3,"href"],["tooltip","View on ClinVar",3,"href"],["tooltip","View on OpenCRAVAT",3,"href"],["nzTitle","Other Molecular Profiles",3,"nzSpan"],[4,"ngIf"],[3,"molecularProfile","truncateLongName"],[3,"routerLink"]],template:function(a,t){if(1&a&&(e.TgZ(0,"nz-card",0),e.YNc(1,zn,3,4,"ng-template",null,1,e.W1O),e.TgZ(3,"nz-row",2)(4,"nz-col",3)(5,"nz-row",2)(6,"nz-col",4)(7,"nz-descriptions",5)(8,"nz-descriptions-item",6),e._UZ(9,"cvc-variant-tag",7),e.qZA(),e.TgZ(10,"nz-descriptions-item",8),e._UZ(11,"cvc-gene-tag",9),e.qZA(),e.TgZ(12,"nz-descriptions-item",10),e.YNc(13,yn,3,1,"ng-container",11),e.YNc(14,xn,2,0,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(16,"nz-descriptions-item",13),e.YNc(17,Mn,3,1,"ng-container",11),e.YNc(18,Tn,2,0,"ng-template",null,14,e.W1O),e.qZA(),e.TgZ(20,"nz-descriptions-item",15),e.YNc(21,Cn,3,2,"ng-container",11),e.YNc(22,Zn,2,0,"ng-template",null,16,e.W1O),e.qZA(),e.TgZ(24,"nz-descriptions-item",13),e.YNc(25,An,2,2,"ng-container",11),e.YNc(26,Jn,2,0,"ng-template",null,17,e.W1O),e.YNc(28,Qn,2,0,"ng-template",null,18,e.W1O),e.qZA(),e.TgZ(30,"nz-descriptions-item",19),e.YNc(31,Sn,2,1,"cvc-link-tag",20),e.YNc(32,Nn,2,0,"ng-template",null,21,e.W1O),e.qZA(),e.YNc(34,Un,4,3,"nz-descriptions-item",22),e.qZA()(),e.TgZ(35,"nz-col",3)(36,"nz-collapse")(37,"nz-collapse-panel",23),e._UZ(38,"cvc-coordinates-card",24),e.qZA()()()()()()()),2&a){const i=e.MAs(2),l=e.MAs(15),D=e.MAs(19),R=e.MAs(23),V=e.MAs(29),qn=e.MAs(33);e.Q6J("nzTitle",i),e.xp6(3),e.Q6J("nzGutter",e.DdM(30,Yn)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzGutter",e.DdM(31,wn)),e.xp6(2),e.Q6J("nzColumn",4),e.xp6(1),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("variant",t.variant),e.xp6(1),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("gene",t.variant.gene),e.xp6(1),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("ngIf",t.variant.variantAliases.length>0)("ngIfElse",l),e.xp6(3),e.Q6J("nzSpan",2)("nzTitle",t.variant.variantTypes.length>1?"Variant Types":"Variant Type"),e.xp6(1),e.Q6J("ngIf",t.variant.variantTypes.length>0)("ngIfElse",D),e.xp6(3),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("ngIf",t.variant.alleleRegistryId)("ngIfElse",R),e.xp6(3),e.Q6J("nzSpan",2)("nzTitle",t.variant.clinvarIds.length>1?"ClinVar IDs":"ClinVar ID"),e.xp6(1),e.Q6J("ngIf",t.variant.clinvarIds.length>0)("ngIfElse",V),e.xp6(5),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("ngIf",t.variant.openCravatUrl)("ngIfElse",qn),e.xp6(3),e.Q6J("ngIf",t.displayMps.length>0),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("displayTitle",!1)("cvcCoordinates",t.variant)}},dependencies:[r.sg,r.O5,s.rH,w.j,_.Ls,g.t3,g.SK,x.R7,x.uj,Y.ZU,J.bd,$.Zv,$.yH,G.I,un.H,k.$,mn.j,fn.l,dn.p,_n.m,vn.a],styles:[".card-title[_ngcontent-%COMP%]{font-size:120%}"]});const jn=function(){return[8,16]},ee=function(){return[8,8]};function Wn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-row",3)(4,"nz-col",4)(5,"nz-descriptions",5)(6,"nz-descriptions-item",6),e._UZ(7,"cvc-mp-tag-name",7),e.qZA()()(),e.TgZ(8,"nz-col",4)(9,"nz-descriptions",5)(10,"nz-descriptions-item",8),e.YNc(11,Dn,2,2,"p",9),e.YNc(12,Ln,1,0,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(14,"nz-descriptions-item",11),e.YNc(15,En,2,1,"cvc-tag-list",12),e.qZA(),e.TgZ(16,"nz-descriptions-item",13)(17,"span",14),e._uU(18),e.ALo(19,"number"),e.qZA()(),e.TgZ(20,"nz-descriptions-item",15),e.YNc(21,Rn,2,1,"cvc-tag-list",12),e.qZA()()()()(),e.TgZ(22,"nz-col",16)(23,"nz-card",17)(24,"nz-row",3),e.YNc(25,Bn,2,2,"nz-col",18),e.qZA()()(),e.TgZ(26,"nz-col",16),e._UZ(27,"cvc-evidence-table",19),e.qZA(),e.TgZ(28,"nz-col",16),e._UZ(29,"cvc-assertions-table",20),e.qZA()(),e.BQk()),2&n){const t=a.ngIf,i=e.MAs(13);e.oxw();const l=e.MAs(5);e.xp6(1),e.Q6J("nzGutter",e.DdM(24,jn)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzGutter",e.DdM(25,ee)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",1),e.xp6(1),e.Q6J("nzSpan",1),e.xp6(1),e.Q6J("nameSegments",t.parsedName),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",2),e.xp6(2),e.Q6J("ngIf",t.description)("ngIfElse",i),e.xp6(4),e.Q6J("ngIf",t.sources.length>0)("ngIfElse",l),e.xp6(3),e.Oqu(e.lcZ(19,22,t.molecularProfileScore)),e.xp6(3),e.Q6J("ngIf",t.molecularProfileAliases.length>0)("ngIfElse",l),e.xp6(3),e.Q6J("nzGutter",e.DdM(26,ee)),e.xp6(1),e.Q6J("ngForOf",t.variants),e.xp6(2),e.Q6J("molecularProfileId",t.id)("displayMolecularProfile",!1),e.xp6(2),e.MGl("cvcTitle","",t.name," Assertions"),e.Q6J("molecularProfileId",t.id)}}function Gn(n,a){1&n&&e._UZ(0,"cvc-empty-value",27)}function Xn(n,a){1&n&&e._UZ(0,"cvc-empty-value",28)}class O{constructor(a,t){var i;if(this.gql=a,this.route=t,null==(i=this.molecularProfileId?this.molecularProfileId:+this.route.snapshot.params.molecularProfileId))throw new Error("Must pass in a molecular profile ID as an input or via the route.");this.queryRef=this.gql.watch({mpId:i});let l=this.queryRef.valueChanges;this.loading$=l.pipe((0,f.j)("loading"),(0,j.O)(!0)),this.molecularProfile$=l.pipe((0,f.j)("data","molecularProfile")),this.subscribable={entityType:u.o71.MolecularProfile,id:i}}}O.\u0275fac=function(a){return new(a||O)(e.Y36(u.Tg0),e.Y36(s.gz))},O.\u0275cmp=e.Xpm({type:O,selectors:[["cvc-molecular-profiles-summary"]],inputs:{molecularProfileId:"molecularProfileId"},decls:6,vars:3,consts:[[4,"ngIf"],["valueNotApplicable",""],["valueUnspecified",""],[3,"nzGutter"],[3,"nzSpan"],["nzSize","small","nzBordered","true","nzLayout","vertical",3,"nzColumn"],["nzTitle","MP Expression",3,"nzSpan"],[3,"nameSegments"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["nzTitle","Molecular Profile Score"],["nz-typography",""],["nzTitle","Aliases"],["nzSpan","24"],["nzTitle","MP Variants"],["nzSpan","24",4,"ngFor","ngForOf"],["cvcHeight","300px","cvcTitle","Evidence",3,"molecularProfileId","displayMolecularProfile"],["cvcHeight","200px",3,"molecularProfileId","cvcTitle"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],[3,"source",4,"ngFor","ngForOf"],[3,"source"],[4,"ngFor","ngForOf"],[3,"variant","currentMolecularProfileId"],["cvcEmptyCategory","not-applicable"],["cvcEmptyCategory","unspecified"]],template:function(a,t){1&a&&(e.YNc(0,Wn,30,27,"ng-container",0),e.ALo(1,"ngrxPush"),e.YNc(2,Gn,1,0,"ng-template",null,1,e.W1O),e.YNc(4,Xn,1,0,"ng-template",null,2,e.W1O)),2&a&&e.Q6J("ngIf",e.lcZ(1,1,t.molecularProfile$))},dependencies:[r.sg,r.O5,g.t3,g.SK,x.R7,x.uj,J.bd,Y.ZU,w.j,rn.P,ln.a,cn.x,k.$,sn.T,pn.J,gn.C,N,r.JJ,c.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]});const Hn=[{path:"",component:I,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:O,data:{breadcrumb:"Summary"}},{path:"comments",component:b,data:{breadcrumb:"Comments"}},{path:"revisions",component:S,data:{breadcrumb:"Revisions"}},{path:"flags",component:Q,data:{breadcrumb:"Flags"}},{path:"events",component:A,data:{breadcrumb:"Events"}}]}];class T{}T.\u0275fac=function(a){return new(a||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[s.Bz.forChild(Hn),M,y,v,h,z,s.Bz]});var Kn=o(8909);class C{}C.\u0275fac=function(a){return new(a||C)},C.\u0275mod=e.oAB({type:C}),C.\u0275inj=e.cJS({imports:[r.ez,T,c._N,c.pP,B.sL,_.PV,d.KJ,p.zf,g.Jb,W.L,ae.Z,te.c,m.m,Z.U,L.D,oe.g,q.Q,E.s,Kn.m]})}}]); \ No newline at end of file diff --git a/server/public/2299.0988428913d7a6f6.js b/server/public/2299.0988428913d7a6f6.js new file mode 100644 index 000000000..198b1c29a --- /dev/null +++ b/server/public/2299.0988428913d7a6f6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2299],{7745:(M,h,o)=>{function g(f,v){const p=(l,i)=>{let r;for(let c of l)if(c.fieldGroup)r=p(c.fieldGroup,i);else if(c.key===i){r=c;break}return r},m=(l,i)=>{for(let r of Object.keys(i))if(i[r]instanceof Object&&!Array.isArray(i[r]))m(l,i[r]);else{const c=p(l,r);c&&(c.defaultValue=i[r])}return l};return m(f,v)}o.d(h,{Z:()=>g})},4897:(M,h,o)=>{o.r(h),o.d(h,{MolecularProfilesReviseModule:()=>F});var g=o(6814),f=o(6254),v=o(2419),p=o(551),m=o(8603),l=o(95),i=o(4190),r=o(7921),c=o(7398),d=o(4223),e=o(5879),x=o(313),z=o(951),y=o(3145),_=o(8178),b=o(8091);function O(t,a){1&t&&(e.TgZ(0,"span"),e._uU(1,",\xa0"),e.qZA())}function C(t,a){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,O,2,0,"span",0),e.qZA()),2&t){const n=a.$implicit,s=a.last;e.xp6(1),e.hij(" ",n,""),e.xp6(1),e.Q6J("ngIf",!s)}}function I(t,a){if(1&t&&(e.TgZ(0,"nz-page-header-subtitle"),e.YNc(1,C,3,2,"span",8),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",n.molecularProfileAliases)}}function S(t,a){1&t&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function R(t,a){1&t&&(e.TgZ(0,"nz-row",9)(1,"div",10),e._UZ(2,"cvc-login-prompt"),e.qZA()())}function T(t,a){if(1&t&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e._uU(6),e.qZA(),e.YNc(7,I,2,1,"nz-page-header-subtitle",0),e.TgZ(8,"nz-page-header-content")(9,"div",5),e.YNc(10,S,2,0,"div",6),e.ALo(11,"ngrxPush"),e.YNc(12,R,3,0,"ng-template",null,7,e.W1O),e.qZA()()(),e.BQk()),2&t){const n=a.ngIf,s=e.MAs(13),u=e.oxw();e.xp6(1),e.Q6J("displayName",n.name),e.xp6(5),e.hij(" ",n.name," "),e.xp6(1),e.Q6J("ngIf",n.molecularProfileAliases.length>0),e.xp6(3),e.Q6J("ngIf",e.lcZ(11,5,u.isSignedIn$))("ngIfElse",s)}}let Z=(()=>{class t{constructor(n,s,u){this.gql=n,this.route=s,this.viewerService=u,this.routeSub=this.route.params.subscribe(U=>{let P=this.gql.watch({mpId:+U.molecularProfileId}).valueChanges;this.loading$=P.pipe((0,d.j)("loading"),(0,r.O)(!0)),this.molecularProfile$=P.pipe((0,d.j)("data","molecularProfile")),this.commentsTotal$=this.molecularProfile$.pipe((0,d.j)("comments","totalCount")),this.flagsTotal$=this.molecularProfile$.pipe((0,d.j)("flags","totalCount")),this.revisionsTotal$=this.molecularProfile$.pipe((0,d.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,c.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(x.AMF),e.Y36(i.gz),e.Y36(z.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-molecular-profiles-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:molecularprofile"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],[4,"ngFor","ngForOf"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,s){1&n&&(e.YNc(0,T,14,7,"ng-container",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,s.molecularProfile$))},dependencies:[g.sg,g.O5,i.lC,f.$O,f.u9,f.yG,f.u5,p.Ls,y.I,_.u,l.t3,l.SK,g.Ov,b.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();var A=o(9934);let w=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[g.ez,A.i]}),t})();var $=o(3610);function J(t,a){if(1&t&&(e.ynx(0),e._UZ(1,"cvc-mp-revise-form",2),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("molecularProfileId",n.molecularProfileId)}}function V(t,a){1&t&&e._uU(0,"Loading Molecular Profile...")}const j=[{path:"",component:Z,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class t{constructor(n){this.route=n,this.routeParams$=this.route.params.subscribe(s=>{this.molecularProfileId=+s.molecularProfileId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(i.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-molecular-profiles-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingMp",""],[3,"molecularProfileId"]],template:function(n,s){if(1&n&&(e.YNc(0,J,2,1,"ng-container",0),e.YNc(1,V,1,0,"ng-template",null,1,e.W1O)),2&n){const u=e.MAs(2);e.Q6J("ngIf",s.molecularProfileId)("ngIfElse",u)}},dependencies:[g.O5,$.R],encapsulation:2}),t})(),data:{breadcrumb:"Suggest Revision"}}]}];let Y=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[i.Bz.forChild(j),w,i.Bz]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[g.ez,Y,f.KJ,p.PV,v.D,m.a,l.Jb]}),t})()}}]); \ No newline at end of file diff --git a/server/public/2379.c9fce64ba9a7c959.js b/server/public/2379.c9fce64ba9a7c959.js deleted file mode 100644 index aa6d0d5ab..000000000 --- a/server/public/2379.c9fce64ba9a7c959.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2379],{8164:(I,h,t)=>{t.d(h,{Z:()=>o});var e=t(6895),f=t(9116),n=t(9676),v=t(5106),r=t(2635),s=t(6616),p=t(317),a=t(9597),c=t(767),d=t(4650);class o{}o.\u0275fac=function(E){return new(E||o)},o.\u0275mod=d.oAB({type:o}),o.\u0275inj=d.cJS({imports:[e.ez,f.Bz,r._N,r.pP,s.sL,a.L,v.S,n.g,c.Q,p.s]})},634:(I,h,t)=>{t.d(h,{l:()=>D});var e=t(655),f=t(4006),n=t(6123),v=t(9637),r=t(7404),s=t(9933),p=t(3327);const d=(0,t(3612).Z)([{wrappers:["form-layout"],props:{submitLabel:"Submit Evidence Item",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"New Evidence Item"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0,tooltip:"A single variant (Simple Molecular Profile) or a combination of variants (Complex Molecular Profile) relevant to the curated evidence.",watchVariantMolecularProfileId:!0}},{key:"sourceId",type:"source-select",props:{required:!0}},{key:"evidenceType",type:"type-select",props:{required:!0}},{key:"evidenceDirection",type:"direction-select",props:{required:!0}},{key:"significance",type:"significance-select",props:{required:!0}},{key:"diseaseId",type:"disease-select",props:{}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"evidenceLevel",type:"level-select",props:{required:!0}},{key:"rating",type:"rating",props:{required:!0}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"Your original description of evidence from published literature detailing the association or lack of association between a variant and its predictive, prognostic, diagnostic, predisposing, functional or oncogenic value. ",placeholder:"Enter an Evidence Statement",extraType:"description",description:'Data constituting personal or identifying information should not be entered (e.g. protected health information (PHI) as defined by HIPAA in the U.S. and/or comparable laws in your jurisdiction).',label:"Evidence Statement",required:!0,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!1,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Evidence Item"}}]}]}],p.C);var _,o=t(4004),y=t(9300),E=t(3240),i=t(4650),T=t(7630),S=t(9169),P=t(6895),O=t(9116),A=t(9597),M=t(6212),q=t(6704),L=t(7830),$=t(3392),w=t(2635);const x=function(m){return["/evidence",m,"summary"]};function F(m,u){if(1&m&&(i._uU(0," View your new EID "),i.TgZ(1,"a",5),i._uU(2,"here"),i.qZA(),i._uU(3,". You will be redirected shortly. ")),2&m){const l=i.oxw();i.xp6(1),i.Q6J("routerLink",i.VKq(1,x,l.newEvidenceId))}}function b(m,u){if(1&m&&i._UZ(0,"nz-alert",8),2&m){i.oxw();const l=i.MAs(3);i.Q6J("nzMessage",l)}}function U(m,u){if(1&m&&(i.TgZ(0,"p")(1,"strong"),i._uU(2," Evidence for this Molecular Profile has already been curated from this Source. Please double check that your Evidence has not already been entered. "),i.qZA()(),i._UZ(3,"cvc-evidence-table",9)),2&m){const l=i.oxw(2);i.xp6(3),i.Q6J("molecularProfileId",l.selectedMpId)("sourceId",l.selectedSourceId)}}function R(m,u){if(1&m&&(i.ynx(0),i.YNc(1,b,1,1,"nz-alert",6),i.YNc(2,U,4,2,"ng-template",null,7,i.W1O),i._UZ(4,"br"),i.BQk()),2&m){const l=u.ngIf;i.xp6(1),i.Q6J("ngIf",l>0)}}let D=((_=class{constructor(u,l,g){this.submitEvidenceGQL=u,this.existingEvidenceGQL=l,this.networkErrorService=g,this.form=new f.nJ({}),this.fields=d,this.model={fields:{}},this.state=new v._,this.options={formState:this.state},this.submitEvidenceMutator=new n.U(g)}ngOnInit(){this.countQueryRef=this.existingEvidenceGQL.watch({molecularProfileId:0,sourceId:0}),this.existingEvidenceCount$=this.countQueryRef?.valueChanges.pipe((0,o.U)(u=>u.data?.evidenceItems?.totalCount),(0,y.h)(E.ep),(0,s.t)(this))}ngAfterViewInit(){this.state.formReady$.next(!0)}onSubmit(u){const l=(0,r.I9)(u);l&&(this.mutationState=this.submitEvidenceMutator.mutate(this.submitEvidenceGQL,{input:l},void 0,g=>{this.newEvidenceId=g.submitEvidence?.evidenceItem.id,this.newEvidenceUrl=`/evidence/${this.newEvidenceId}/summary`}))}onModelChange(u){u.fields.sourceId&&u.fields.molecularProfileId?(u.fields.sourceId!=this.selectedSourceId||u.fields.molecularProfileId!=this.selectedMpId)&&(this.selectedSourceId=u.fields.sourceId,this.selectedMpId=u.fields.molecularProfileId,this.countQueryRef?.refetch({molecularProfileId:u.fields.molecularProfileId,sourceId:u.fields.sourceId})):this.countQueryRef?.refetch({molecularProfileId:0,sourceId:0})}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(u){return new(u||_)(i.Y36(T.WFw),i.Y36(T.vxe),i.Y36(S.Y))},_.\u0275cmp=i.Xpm({type:_,selectors:[["cvc-evidence-submit-form"]],decls:7,vars:11,consts:[["entityType","Evidence Item",3,"mutationState","redirectUrl","successMessage"],["success",""],[4,"ngIf"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[2,"width","100%",3,"form","fields","model","options","modelChange"],[3,"routerLink"],["nzType","warning",3,"nzMessage",4,"ngIf"],["duplicateEvidenceAlert",""],["nzType","warning",3,"nzMessage"],["cvcHeight","150",3,"molecularProfileId","sourceId"]],template:function(u,l){if(1&u&&(i.TgZ(0,"cvc-form-submission-status-display",0),i.YNc(1,F,4,3,"ng-template",null,1,i.W1O),i.YNc(3,R,5,1,"ng-container",2),i.ALo(4,"ngrxPush"),i.TgZ(5,"form",3),i.NdJ("ngSubmit",function(){return l.onSubmit(l.model)}),i.TgZ(6,"formly-form",4),i.NdJ("modelChange",function(C){return l.model=C,l.onModelChange(C)}),i.qZA()()()),2&u){const g=i.MAs(2);i.Q6J("mutationState",l.mutationState)("redirectUrl",l.newEvidenceUrl)("successMessage",g),i.xp6(3),i.Q6J("ngIf",i.lcZ(4,9,l.existingEvidenceCount$)),i.xp6(2),i.Q6J("formGroup",l.form),i.xp6(1),i.Q6J("form",l.form)("fields",l.fields)("model",l.model)("options",l.options)}},dependencies:[P.O5,O.rH,A.r,f._Y,f.JL,f.sg,M.T7,q.Lr,L.F,$.a,w.fM],encapsulation:2,changeDetection:0}),_);D=(0,e.gn)([(0,s.c)()],D)},3327:(I,h,t)=>{t.d(h,{C:()=>f,w:()=>e});const e={geneId:void 0,variantId:void 0,significance:void 0,description:void 0,diseaseId:void 0,therapyIds:void 0,therapyInteractionType:void 0,evidenceDirection:void 0,evidenceLevel:void 0,evidenceType:void 0,molecularProfileId:void 0,phenotypeIds:void 0,rating:void 0,sourceId:void 0,variantOrigin:void 0},f={clientMutationId:void 0,fields:e,comment:void 0,organizationId:void 0}},5451:(I,h,t)=>{t.d(h,{lG:()=>p,yQ:()=>r});var e=t(915),f=t(7630),n=t(7579),v=t(444),r=(()=>{return(a=r||(r={})).EVIDENCE="Evidence",a.ASSERTION="Assertion",r;var a})();class p{constructor(c){this.formReady$=new n.x,this.formLayout="vertical",this.validStates=new Map,this.typeOption$=new n.x,this.requiresTherapy$=new n.x,this.requiresDisease$=new n.x,this.requiresAcmgCode$=new n.x,this.requiresAmpLevel$=new n.x,this.requiresClingenCode$=new n.x,this.allowsFdaApproval$=new n.x,this.getTypeOptions=()=>this.entityName==r.ASSERTION?(0,v.o6)(f.uBv).map(d=>d):(0,v.o6)(f.kqt).map(d=>d),this.getSignificanceOptions=d=>this.validStates.get(d)?.significance||[],this.getInteractionOptions=()=>(0,v.o6)(f.wkr).map(d=>d),this.isValidSignificanceOption=(d,o)=>{const y=this.validStates.get(d);return!y||y.significance.includes(o)},this.getDirectionOptions=d=>this.validStates.get(d)?.entityDirection||[],this.isValidDirectionOption=(d,o)=>{const y=this.validStates.get(d);return!y||y.entityDirection.includes(o)},this.requiresTherapy=d=>{const o=this.validStates.get(d);return void 0===o||o.requiresTherapy},this.requiresDisease=d=>{const o=this.validStates.get(d);return void 0===o||o.requiresDisease},this.requiresAcmgCodes=d=>{const o=this.validStates.get(d);return void 0===o||o.requiresAcmgCodes},this.requiresAmpLevel=d=>{const o=this.validStates.get(d);return void 0===o||o.requiresAmpLevel},this.requiresClingenCodes=d=>{const o=this.validStates.get(d);return void 0===o||o.requiresClingenCodes},this.allowsFdaApproval=d=>{const o=this.validStates.get(d);return void 0===o||o.allowsFdaApproval},this.getOptionsFromEnums=d=>0===d.length?[]:d.map(o=>({value:o,label:(0,e.E)(o)})),this.fields={},this.options={},this.enums={},this.requires={},this.entityName=c,this.pluralNames=new Map,this.pluralNames.set(r.ASSERTION,"Assertions"),this.pluralNames.set(r.EVIDENCE,"Evidence")}onDestroy(){}}},9637:(I,h,t)=>{t.d(h,{_:()=>s});var e=t(7630),f=t(9933),n=t(1135),v=t(3327),r=t(5451);class s extends r.lG{constructor(){super(r.yQ.EVIDENCE);const a=v.w;this.fields={molecularProfileId$:new n.X(a.molecularProfileId),variantId$:new n.X(a.variantId),variantMolecularProfile$:new n.X(void 0),geneId$:new n.X(a.geneId),evidenceType$:new n.X(a.evidenceType),evidenceLevel$:new n.X(a.evidenceLevel),evidenceDirection$:new n.X(a.evidenceDirection),significance$:new n.X(a.significance),variantOrigin$:new n.X(a.variantOrigin),diseaseId$:new n.X(a.diseaseId),therapyIds$:new n.X(a.therapyIds),therapyInteractionType$:new n.X(a.therapyInteractionType),rating$:new n.X(a.rating),phenotypeIds$:new n.X(a.phenotypeIds),sourceId$:new n.X(a.sourceId)},this.enums={entityType$:new n.X(this.getTypeOptions()),significance$:new n.X([]),direction$:new n.X([]),interaction$:new n.X(this.getInteractionOptions())},this.requires={requiresDisease$:new n.X(!1),requiresTherapy$:new n.X(!1),requiresTherapyInteractionType$:new n.X(!1),requiresClingenCodes$:new n.X(!1),requiresAcmgCodes$:new n.X(!1),requiresAmpLevel$:new n.X(!1),allowsFdaApproval$:new n.X(!1)},this.fields.evidenceType$.pipe((0,f.t)(this,"onDestroy")).subscribe(c=>{if(!c)return Object.entries(this.requires).forEach(([d,o])=>{o.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(c)),this.enums.direction$.next(this.getDirectionOptions(c)),this.requires.requiresDisease$.next(this.requiresDisease(c)),this.requires.requiresTherapy$.next(this.requiresTherapy(c)),this.requires.requiresTherapyInteractionType$.next(this.requiresTherapy(c)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(c)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(c)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(c))}),this.fields.therapyIds$.pipe((0,f.t)(this,"onDestroy")).subscribe(c=>{this.requires.requiresTherapyInteractionType$.next(!!c&&c.length>1)}),this.validStates.set(e.kqt.Predictive,{entityType:e.kqt.Predictive,significance:[e.y1h.Sensitivityresponse,e.y1h.Resistance,e.y1h.AdverseResponse,e.y1h.ReducedSensitivity,e.y1h.Na],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Diagnostic,{entityType:e.kqt.Diagnostic,significance:[e.y1h.Positive,e.y1h.Negative],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Prognostic,{entityType:e.kqt.Prognostic,significance:[e.y1h.BetterOutcome,e.y1h.PoorOutcome,e.y1h.Na],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Oncogenic,{entityType:e.kqt.Oncogenic,significance:[e.y1h.Oncogenicity,e.y1h.Protectiveness],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Predisposing,{entityType:e.kqt.Predisposing,significance:[e.y1h.Predisposition,e.y1h.Protectiveness],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Functional,{entityType:e.kqt.Functional,significance:[e.y1h.GainOfFunction,e.y1h.LossOfFunction,e.y1h.UnalteredFunction,e.y1h.Neomorphic,e.y1h.DominantNegative,e.y1h.Unknown],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!1,requiresTherapy:!1,requiresAcmgCodes:!1,requiresClingenCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},3612:(I,h,t)=>{function e(f,n){const v=(s,p)=>{let a;for(let c of s)if(c.fieldGroup)a=v(c.fieldGroup,p);else if(c.key===p){a=c;break}return a},r=(s,p)=>{for(let a of Object.keys(p))if(p[a]instanceof Object&&!Array.isArray(p[a]))r(s,p[a]);else{const c=v(s,a);c&&(c.defaultValue=p[a])}return s};return r(f,n)}t.d(h,{Z:()=>e})},7404:(I,h,t)=>{t.d(h,{Ct:()=>n,I9:()=>v,ux:()=>f});var e=t(9289);function f(r){return{significance:r.significance,description:r.description,diseaseId:r.disease?.id,therapyIds:r.therapies.map(s=>s.id),therapyInteractionType:r.therapyInteractionType,evidenceDirection:r.evidenceDirection,evidenceLevel:r.evidenceLevel,evidenceType:r.evidenceType,molecularProfileId:r.molecularProfile.id,phenotypeIds:r.phenotypes.map(s=>s.id),rating:r.evidenceRating,sourceId:r.source.id,variantOrigin:r.variantOrigin}}function n(r,s){let p=v(s);if(p)return{id:r,comment:p.comment,organizationId:p.organizationId,fields:p.fields}}function v(r){const s=r.fields;if(![s.molecularProfileId,s.variantOrigin,s.sourceId,s.evidenceType,s.significance,s.evidenceLevel,s.evidenceDirection,s.rating].find(a=>void 0===a))return{fields:{molecularProfileId:s.molecularProfileId,variantOrigin:s.variantOrigin,sourceId:s.sourceId,evidenceType:s.evidenceType,significance:s.significance,evidenceLevel:s.evidenceLevel,evidenceDirection:s.evidenceDirection,rating:s.rating,description:e.xt(s.description),diseaseId:e.uP(s.diseaseId),phenotypeIds:s.phenotypeIds?s.phenotypeIds:[],therapyIds:s.therapyIds?s.therapyIds:[],therapyInteractionType:e.uP(s.therapyInteractionType)},organizationId:r.organizationId,comment:r.comment}}}}]); \ No newline at end of file diff --git a/server/public/2579.938ee89495d8a513.js b/server/public/2579.938ee89495d8a513.js deleted file mode 100644 index f1ad2f22f..000000000 --- a/server/public/2579.938ee89495d8a513.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2579],{2579:(H,b,n)=>{n.r(b),n.d(b,{VariantGroupsAddModule:()=>u});var g=n(6895),S=n(9386),C=n(5630),M=n(9444),v=n(2635),y=n(3679),z=n(1102),f=n(5655),m=n(9116),x=n(4004),t=n(4650),O=n(9350),w=n(8616),P=n(8992),A=n(160);function T(r,e){1&r&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function F(r,e){1&r&&(t.TgZ(0,"nz-row",7)(1,"div",8),t._UZ(2,"cvc-login-prompt"),t.qZA()())}class l{constructor(e){this.viewerService=e}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,x.U)(e=>e.signedIn))}}l.\u0275fac=function(e){return new(e||l)(t.Y36(O.a))},l.\u0275cmp=t.Xpm({type:l,selectors:[["cvc-variant-groups-add-view"]],decls:12,vars:7,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(e,a){if(1&e&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title",2),t._UZ(3,"i",3),t.ALo(4,"entityColor"),t._uU(5," Add New Variant Group "),t.qZA(),t.TgZ(6,"nz-page-header-content")(7,"div",4),t.YNc(8,T,2,0,"div",5),t.ALo(9,"ngrxPush"),t.YNc(10,F,3,0,"ng-template",null,6,t.W1O),t.qZA()()()),2&e){const o=t.MAs(11);t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(4,3,"VariantGroup")),t.xp6(5),t.Q6J("ngIf",t.lcZ(9,5,a.isSignedIn$))("ngIfElse",o)}},dependencies:[g.O5,m.lC,y.t3,y.SK,z.Ls,f.$O,f.u9,f.u5,w.u,P.I,v.fM,A.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var G=n(6704),Z=n(6616),I=n(5106),J=n(317),U=n(9676);class i{}i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[g.ez,m.Bz,G.U5,Z.sL,I.S,J.s,U.g]});class s{}s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[g.ez,i]});var L=n(655),h=n(4006),N=n(6123),Y=n(2854),B=n(9933);const Q=[{wrappers:["form-layout"],props:{submitLabel:"Submit Variant Group",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Submit Variant Group"},fieldGroup:[{key:"name",type:"input",props:{label:"Variant Group Name",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"User-defined summary of the clinical relevance of this Variant Group.",placeholder:"Enter a Variant Group Summary",label:"Variant Group Summary",required:!0,rows:5}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{required:!1}},{key:"variantIds",type:"variant-multi-select",props:{label:"Variants",required:!0,colSpan:24,requireGene:!1,showManagerBtn:!0}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Variant Group"}}]}]}];var p,j=n(7630),$=n(9169),E=n(6212),K=n(7830);const X=function(r){return["/variant-groups",r]};function D(r,e){if(1&r&&(t._uU(0," View your Variant Group "),t.TgZ(1,"a",4),t._uU(2,"here"),t.qZA(),t._uU(3,". You will be redirected shortly. ")),2&r){const a=t.oxw();t.xp6(1),t.Q6J("routerLink",t.VKq(1,X,a.newVariantGroupId))}}let V=((p=class{constructor(e,a,o){this.submitVariantGroupGQL=e,this.networkErrorService=a,this.cdr=o,this.form=new h.nJ({}),this.model={fields:{}},this.fields=Q,this.submitVariantGroupMutator=new N.U(a)}onSubmit(e){const a=(0,Y.t3)(e);a&&(this.mutationState=this.submitVariantGroupMutator.mutate(this.submitVariantGroupGQL,{input:a},void 0,o=>{this.newVariantGroupId=o.submitVariantGroup?.variantGroup.id,this.newVariantGroupUrl=`/variant-groups/${this.newVariantGroupId}`}))}}).\u0275fac=function(e){return new(e||p)(t.Y36(j.tji),t.Y36($.Y),t.Y36(t.sBO))},p.\u0275cmp=t.Xpm({type:p,selectors:[["cvc-variantgroup-submit-form"]],decls:5,vars:7,consts:[["entityType","Variant Group",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","modelChange"],[3,"routerLink"]],template:function(e,a){if(1&e&&(t.TgZ(0,"cvc-form-submission-status-display",0),t.YNc(1,D,4,3,"ng-template",null,1,t.W1O),t.TgZ(3,"form",2),t.NdJ("ngSubmit",function(){return a.onSubmit(a.model)}),t.TgZ(4,"formly-form",3),t.NdJ("modelChange",function(W){return a.model=W}),t.qZA()()()),2&e){const o=t.MAs(2);t.Q6J("mutationState",a.mutationState)("redirectUrl",a.newVariantGroupUrl)("successMessage",o),t.xp6(3),t.Q6J("formGroup",a.form),t.xp6(1),t.Q6J("form",a.form)("fields",a.fields)("model",a.model)}},dependencies:[m.rH,G.Lr,h._Y,h.JL,h.sg,E.T7,K.F]}),p);V=(0,L.gn)([(0,B.c)()],V);class c{constructor(){}ngOnInit(){}}c.\u0275fac=function(e){return new(e||c)},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-variant-groups-submit-page"]],decls:1,vars:0,template:function(e,a){1&e&&t._UZ(0,"cvc-variantgroup-submit-form")},dependencies:[V],encapsulation:2});const R=[{path:"",component:l,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:c,data:{breadcrumb:"Submit New Variant Groups"}}]}];class d{}d.\u0275fac=function(e){return new(e||d)},d.\u0275mod=t.oAB({type:d}),d.\u0275inj=t.cJS({imports:[m.Bz.forChild(R),s,m.Bz]});class u{}u.\u0275fac=function(e){return new(e||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[g.ez,d,v._N,v.pP,y.Jb,z.PV,f.KJ,S.a,M.s,C.D]})}}]); \ No newline at end of file diff --git a/server/public/2602.e359c1494cf777f0.js b/server/public/2602.e359c1494cf777f0.js new file mode 100644 index 000000000..01d3f867f --- /dev/null +++ b/server/public/2602.e359c1494cf777f0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2602],{2834:(L,M,t)=>{t.d(M,{T:()=>S});var e=t(6814),g=t(7417),I=t(3235),C=t(6165),O=t(1218),_=t(7528),s=t(2962),h=t(95),E=t(5956),D=t(9755),Z=t(8641),Q=t(2524),P=t(5879);let m=(()=>{class z{}return z.\u0275fac=function(u){return new(u||z)},z.\u0275mod=P.oAB({type:z}),z.\u0275inj=P.cJS({imports:[e.ez,s.vh,h.Jb,E.U,I.W,C.W,O.i,O.i,_.Q,D.y,Z.s,Q.s]}),z})();var x=t(5695),v=t(551),A=t(4190);let S=(()=>{class z{}return z.\u0275fac=function(u){return new(u||z)},z.\u0275mod=P.oAB({type:z}),z.\u0275inj=P.cJS({imports:[e.ez,Q.s,A.Bz,g.$6,v.PV,m,x.X]}),z})()},5528:(L,M,t)=>{t.d(M,{E:()=>j});var e=t(6814),g=t(551),I=t(3235),C=t(2392),O=t(2524),_=t(2834),s=t(8607),h=t(5956),E=t(6165),D=t(1218),Z=t(7528),Q=t(1106),P=t(6109),m=t(95),x=t(9755),v=t(2840),A=t(8641),S=t(3641),z=t(5695),R=t(4190),u=t(8527),y=t(5879);let j=(()=>{class J{}return J.\u0275fac=function(W){return new(W||J)},J.\u0275mod=y.oAB({type:J}),J.\u0275inj=y.cJS({imports:[e.ez,v.sL,g.PV,z.X,P.cg,C.ZJ,m.Jb,R.Bz,x.y,I.W,O.s,_.T,s.O,h.U,E.W,D.i,Z.Q,Q.L,A.s,S.G,u.u]}),J})()},4736:(L,M,t)=>{t.d(M,{t:()=>Ge});var e=t(5879),g=t(6814),I=t(5695),C=t(6109),O=t(2392),_=t(95),s=t(4190),h=t(3488),E=t(356),D=t(7417),Z=t(551),Q=t(4223),P=t(313),m=t(2962),x=t(4121),v=t(270),A=t(4786),S=t(9408),z=t(4138),R=t(8091),u=t(5573);function y(n,i){if(1&n&&e._UZ(0,"cvc-gene-tag",17),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("gene",o.commentable)}}function j(n,i){if(1&n&&e._UZ(0,"cvc-assertion-tag",18),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("assertion",o.commentable)}}function J(n,i){if(1&n&&e._UZ(0,"cvc-evidence-tag",19),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("evidence",o.commentable)}}function B(n,i){if(1&n&&e._UZ(0,"cvc-variant-tag",20),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variant",o.commentable)}}function W(n,i){if(1&n&&e._UZ(0,"cvc-revision-tag",21),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("revision",o.commentable)}}function $(n,i){if(1&n&&e._UZ(0,"cvc-source-tag",22),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("source",o.commentable)}}function Y(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Oqu(o.commentable.name)}}function G(n,i){if(1&n&&(e.TgZ(0,"span",7),e._UZ(1,"cvc-user-tag",8),e._uU(2,"commented on "),e.ynx(3,9),e.YNc(4,y,1,2,"cvc-gene-tag",10),e.YNc(5,j,1,2,"cvc-assertion-tag",11),e.YNc(6,J,1,2,"cvc-evidence-tag",12),e.YNc(7,B,1,2,"cvc-variant-tag",13),e.YNc(8,W,1,2,"cvc-revision-tag",14),e.YNc(9,$,1,2,"cvc-source-tag",15),e.YNc(10,Y,2,1,"span",16),e.BQk(),e._uU(11),e.ALo(12,"timeAgo"),e.qZA()),2&n){const o=e.oxw().ngIf;e.xp6(1),e.Q6J("enablePopover",!1)("user",o.commenter),e.xp6(2),e.Q6J("ngSwitch",o.commentable.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","Revision"),e.xp6(1),e.Q6J("ngSwitchCase","Source"),e.xp6(2),e.hij(" ",e.lcZ(12,10,o.createdAt)," ")}}function K(n,i){if(1&n&&(e.TgZ(0,"p",23)(1,"b"),e._uU(2),e.qZA()()),2&n){const o=e.oxw().ngIf;e.xp6(2),e.Oqu(o.title)}}function H(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,G,13,12,"ng-template",null,3,e.W1O),e.TgZ(4,"nz-row")(5,"nz-col",4)(6,"div",5),e.YNc(7,K,3,1,"p",6),e.TgZ(8,"p"),e._uU(9),e.qZA()()()()(),e.BQk()),2&n){const o=i.ngIf,f=e.MAs(3);e.xp6(1),e.Q6J("nzTitle",f),e.xp6(6),e.Q6J("ngIf",o.title),e.xp6(2),e.hij(" ",o.comment," ")}}let V=(()=>{class n{constructor(o){this.gql=o}ngOnInit(){if(null==this.commentId)throw new Error("cvc-comment-popover requires valid commentId input.");this.comment$=this.gql.watch({commentId:this.commentId}).valueChanges.pipe((0,Q.j)("data","comment"))}}return n.\u0275fac=function(o){return new(o||n)(e.Y36(P.Kk))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-comment-popover"]],inputs:{commentId:"commentId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography","",4,"ngIf"],[1,"comment-card-title"],[3,"enablePopover","user"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","revision",4,"ngSwitchCase"],["mode","concise",3,"enablePopover","source",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","revision"],["mode","concise",3,"enablePopover","source"],["nz-typography",""]],template:function(o,f){1&o&&(e.TgZ(0,"div",0),e.YNc(1,H,10,3,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&o&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,f.comment$)))},dependencies:[g.O5,g.RF,g.n9,g.ED,m.bd,_.t3,_.SK,x.H,E.I,v.w,A.O,S.I,h.p,z.T,R.fM,u.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.comment-card-title[_ngcontent-%COMP%]{font-weight:400}"]}),n})();function X(n,i){}function q(n,i){}function a(n,i){if(1&n&&e._UZ(0,"cvc-comment-popover",7),2&n){const o=e.oxw(2);e.Q6J("commentId",o.comment.id)}}function p(n,i){if(1&n&&(e.TgZ(0,"nz-tag",5),e.YNc(1,q,0,0,"ng-template",1),e.qZA(),e.YNc(2,a,1,1,"ng-template",null,6,e.W1O)),2&n){const o=e.MAs(3),f=e.oxw(),F=e.MAs(7);e.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",o)("nzPopoverTrigger",f.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",F)}}function c(n,i){}function d(n,i){if(1&n&&(e.TgZ(0,"nz-tag"),e.YNc(1,c,0,0,"ng-template",1),e.qZA()),2&n){e.oxw();const o=e.MAs(7);e.xp6(1),e.Q6J("ngTemplateOutlet",o)}}function U(n,i){if(1&n&&(e._UZ(0,"i",8),e._uU(1)),2&n){const o=e.oxw();e.xp6(1),e.hij(" ",o.comment.name,"\n")}}let N=(()=>{class n{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.comment)throw new Error("cvc-comment-tag requires LinkableComment input, none supplied.")}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-comment-tag"]],inputs:{comment:"comment",subject:"subject",enablePopover:"enablePopover"},decls:8,vars:2,consts:[[3,"routerLink"],[3,"ngTemplateOutlet"],["tag",""],["noPopover",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["commentPopover",""],[3,"commentId"],["nz-icon","","nzType","civic-comment","nzTheme","twotone","nzTwotoneColor","#44D8EF"]],template:function(o,f){if(1&o&&(e.TgZ(0,"a",0),e.YNc(1,X,0,0,"ng-template",1),e.qZA(),e.YNc(2,p,4,4,"ng-template",null,2,e.W1O),e.YNc(4,d,2,1,"ng-template",null,3,e.W1O),e.YNc(6,U,2,1,"ng-template",null,4,e.W1O)),2&o){const F=e.MAs(3);e.Q6J("routerLink",f.comment.link),e.xp6(1),e.Q6J("ngTemplateOutlet",F)}},dependencies:[g.tP,s.rH,D.lU,Z.Ls,V,I.j],encapsulation:2}),n})();var ee=t(5676),ne=t(7398),te=t(2181),k=t(2574),r=t(8125),T=t(5959),l=t(2384),w=t(2616);function b(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"i",11),e.ALo(2,"entityColor"),e._uU(3),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(2,2,"Flag")),e.xp6(2),e.hij(" FID",o.id," ")}}function oe(n,i){if(1&n&&e._UZ(0,"cvc-status-tag",12),2&n){const o=e.oxw(2).ngIf;e.Q6J("status",o.state)}}function ie(n,i){1&n&&(e.TgZ(0,"nz-space",8),e.YNc(1,b,4,4,"span",9),e.YNc(2,oe,1,1,"cvc-status-tag",10),e.qZA())}function ae(n,i){if(1&n&&e._UZ(0,"cvc-gene-tag",20),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("gene",o.flaggable)}}function ce(n,i){if(1&n&&e._UZ(0,"cvc-assertion-tag",21),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("assertion",o.flaggable)}}function re(n,i){if(1&n&&e._UZ(0,"cvc-evidence-tag",22),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("evidence",o.flaggable)}}function se(n,i){if(1&n&&e._UZ(0,"cvc-variant-tag",23),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variant",o.flaggable)}}function le(n,i){if(1&n&&e._UZ(0,"cvc-variant-group-tag",24),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variantgroup",o.flaggable)}}function ge(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Oqu(o.flaggable.name)}}function _e(n,i){if(1&n&&(e.ynx(0,13),e.YNc(1,ae,1,2,"cvc-gene-tag",14),e.YNc(2,ce,1,2,"cvc-assertion-tag",15),e.YNc(3,re,1,2,"cvc-evidence-tag",16),e.YNc(4,se,1,2,"cvc-variant-tag",17),e.YNc(5,le,1,2,"cvc-variant-group-tag",18),e.YNc(6,ge,2,1,"span",19),e.BQk()),2&n){const o=e.oxw().ngIf;e.Q6J("ngSwitch",o.flaggable.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","VariantGroup")}}function me(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions",25)(1,"nz-descriptions-item",26),e._UZ(2,"cvc-user-tag",27),e.qZA(),e.TgZ(3,"nz-descriptions-item",28),e._uU(4),e.ALo(5,"timeAgo"),e.qZA()()),2&n){const o=e.oxw().ngIf;e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("enablePopover",!1)("user",o.flaggingUser),e.xp6(2),e.hij(" ",e.lcZ(5,4,o.createdAt)," ")}}function pe(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions",29)(1,"nz-descriptions-item",30),e._uU(2),e.qZA()()),2&n){const o=e.oxw().ngIf;e.Q6J("nzColumn",1),e.xp6(2),e.hij(" ",o.openComment.comment," ")}}function ve(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,ie,3,0,"ng-template",null,3,e.W1O),e.YNc(4,_e,7,6,"ng-template",null,4,e.W1O),e.TgZ(6,"nz-space",5),e.YNc(7,me,6,6,"nz-descriptions",6),e.YNc(8,pe,3,2,"nz-descriptions",7),e.qZA()(),e.BQk()),2&n){const o=e.MAs(3),f=e.MAs(5);e.xp6(1),e.Q6J("nzTitle",o)("nzExtra",f)}}let de=(()=>{class n{constructor(o){this.gql=o}ngOnInit(){if(null==this.flagId)throw new Error("cvc-flag-popover requires valid flagId input.");this.flag$=this.gql.watch({flagId:this.flagId}).valueChanges.pipe((0,ne.U)(({data:o})=>o?.flag),(0,te.h)(ee.ep))}}return n.\u0275fac=function(o){return new(o||n)(e.Y36(P.OIL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-flag-popover"]],inputs:{flagId:"flagId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["subject",""],["nzDirection","vertical",2,"width","100%"],["nzBordered","","nzSize","small",3,"nzColumn",4,"nzSpaceItem"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn",4,"nzSpaceItem"],[1,"flag-card-title"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-flag",3,"nzTwotoneColor"],[3,"status"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","variantgroup",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","variantgroup"],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Flagging User"],[3,"enablePopover","user"],["nzTitle","Flagging Date"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn"],["nzTitle","Comment"]],template:function(o,f){1&o&&(e.TgZ(0,"div",0),e.YNc(1,ve,9,2,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&o&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,f.flag$)))},dependencies:[g.O5,g.RF,g.n9,g.ED,m.bd,Z.Ls,k.NU,k.$1,r.R7,r.uj,x.H,E.I,v.w,A.O,S.I,T.u,l.h,R.fM,w.a,u.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.flag-card-title[_ngcontent-%COMP%]{font-weight:400}"]}),n})();function ue(n,i){}function fe(n,i){}function Ce(n,i){if(1&n&&e._UZ(0,"cvc-flag-popover",6),2&n){const o=e.oxw(2);e.Q6J("flagId",o.flag.id)}}function Te(n,i){if(1&n&&(e.TgZ(0,"nz-tag",4),e.YNc(1,fe,0,0,"ng-template",1),e.qZA(),e.YNc(2,Ce,1,1,"ng-template",null,5,e.W1O)),2&n){const o=e.MAs(3),f=e.oxw(),F=e.MAs(5);e.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",o)("nzPopoverTrigger",f.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",F)}}function he(n,i){if(1&n&&(e._UZ(0,"i",7),e._uU(1)),2&n){const o=e.oxw();e.xp6(1),e.hij(" ",o.flag.name,"\n")}}let Pe=(()=>{class n{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.flag)throw new Error("cvc-flag-tag requires LinkableFlag input, none supplied.")}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-flag-tag"]],inputs:{flag:"flag",subject:"subject",enablePopover:"enablePopover"},decls:6,vars:2,consts:[[3,"routerLink"],[3,"ngTemplateOutlet"],["tag",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["flagPopover",""],[3,"flagId"],["nz-icon","","nzType","civic-flag","nzTheme","twotone","nzTwotoneColor","#E24759"]],template:function(o,f){if(1&o&&(e.TgZ(0,"a",0),e.YNc(1,ue,0,0,"ng-template",1),e.qZA(),e.YNc(2,Te,4,4,"ng-template",null,2,e.W1O),e.YNc(4,he,2,1,"ng-template",null,3,e.W1O)),2&o){const F=e.MAs(3);e.Q6J("routerLink",f.flag.link),e.xp6(1),e.Q6J("ngTemplateOutlet",F)}},dependencies:[g.tP,s.rH,I.j,Z.Ls,D.lU,de],encapsulation:2}),n})();var xe=t(215),ze=t(2606),Oe=t(7908);let Ae=(()=>{class n{transform(o){switch(o){case P.AO2.Commented:case P.AO2.RevisionSuggested:case P.AO2.RevisionAccepted:case P.AO2.RevisionRejected:case P.AO2.RevisionSuperseded:return"to";case P.AO2.Flagged:case P.AO2.FlagResolved:return"on";default:return""}}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275pipe=e.Yjl({name:"prepositionForSubject",type:n,pure:!0}),n})();function Ie(n,i){if(1&n&&e._UZ(0,"cvc-user-tag",10),2&n){const o=e.oxw(2);e.Q6J("user",o.event.originatingUser)}}function Ee(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function Me(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-revision-tag",13),e.YNc(2,Ee,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,f=e.oxw(2);e.xp6(1),e.Q6J("revision",o)("subject",f.event.subject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=f.tagDisplay)}}function De(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function ye(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-comment-tag",15),e.YNc(2,De,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,f=e.oxw(2);e.xp6(1),e.Q6J("comment",o)("subject",f.event.subject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=f.tagDisplay)}}function Ze(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function Se(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-flag-tag",16),e.YNc(2,Ze,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,f=e.oxw(2);e.xp6(1),e.Q6J("flag",o)("subject",f.event.subject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=f.tagDisplay)}}function Re(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function Ue(n,i){if(1&n&&(e.TgZ(0,"span")(1,"nz-tag",17),e._uU(2),e.qZA(),e.YNc(3,Re,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,f=e.oxw(2);e.xp6(1),e.Q6J("routerLink",o.link),e.xp6(1),e.hij(" ",o.name," "),e.xp6(1),e.Q6J("ngIf","hideSubject"!=f.tagDisplay)}}function Qe(n,i){if(1&n&&(e.ynx(0)(1,11),e.YNc(2,Me,3,3,"span",12),e.YNc(3,ye,3,3,"span",12),e.YNc(4,Se,3,3,"span",12),e.YNc(5,Ue,4,3,"span",12),e.BQk()()),2&n){const o=i.ngIf;e.xp6(1),e.Q6J("ngSwitch",o.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Revision"),e.xp6(1),e.Q6J("ngSwitchCase","Comment"),e.xp6(1),e.Q6J("ngSwitchCase","Flag"),e.xp6(1),e.Q6J("ngSwitchCase","SourceSuggestion")}}function Je(n,i){if(1&n&&e._UZ(0,"cvc-gene-tag",27),2&n){const o=e.oxw().ngIf;e.Q6J("gene",o)}}function je(n,i){if(1&n&&e._UZ(0,"cvc-assertion-tag",28),2&n){const o=e.oxw().ngIf;e.Q6J("assertion",o)}}function Ne(n,i){if(1&n&&e._UZ(0,"cvc-evidence-tag",29),2&n){const o=e.oxw().ngIf;e.Q6J("evidence",o)}}function we(n,i){if(1&n&&e._UZ(0,"cvc-variant-tag",30),2&n){const o=e.oxw().ngIf;e.Q6J("variant",o)}}function Le(n,i){if(1&n&&e._UZ(0,"cvc-revision-tag",31),2&n){const o=e.oxw().ngIf;e.Q6J("revision",o)}}function Fe(n,i){if(1&n&&e._UZ(0,"cvc-variant-group-tag",32),2&n){const o=e.oxw().ngIf;e.Q6J("variantgroup",o)}}function Ye(n,i){if(1&n&&e._UZ(0,"cvc-source-tag",33),2&n){const o=e.oxw().ngIf;e.Q6J("source",o)}}function be(n,i){if(1&n&&e._UZ(0,"cvc-molecular-profile-tag",34),2&n){const o=e.oxw().ngIf;e.Q6J("molecularProfile",o)}}function Be(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const o=e.oxw().ngIf;e.xp6(1),e.Oqu(o.name)}}function We(n,i){1&n&&(e.ynx(0,11),e.YNc(1,Je,1,1,"cvc-gene-tag",18),e.YNc(2,je,1,1,"cvc-assertion-tag",19),e.YNc(3,Ne,1,1,"cvc-evidence-tag",20),e.YNc(4,we,1,1,"cvc-variant-tag",21),e.YNc(5,Le,1,1,"cvc-revision-tag",22),e.YNc(6,Fe,1,1,"cvc-variant-group-tag",23),e.YNc(7,Ye,1,1,"cvc-source-tag",24),e.YNc(8,be,1,1,"cvc-molecular-profile-tag",25),e.YNc(9,Be,2,1,"span",26),e.BQk()),2&n&&(e.Q6J("ngSwitch",i.ngIf.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","Revision"),e.xp6(1),e.Q6J("ngSwitchCase","VariantGroup"),e.xp6(1),e.Q6J("ngSwitchCase","Source"),e.xp6(1),e.Q6J("ngSwitchCase","MolecularProfile"))}function Ke(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"span",5),e._uU(2,"for\xa0"),e.qZA(),e._UZ(3,"cvc-organization-tag",35),e.BQk()),2&n){const o=i.ngIf;e.xp6(3),e.Q6J("org",o)}}function Ve(n,i){if(1&n&&(e.TgZ(0,"nz-row",2)(1,"nz-col",3),e.YNc(2,Ie,1,1,"cvc-user-tag",4),e.TgZ(3,"span",5),e._uU(4),e.ALo(5,"eventVerbiage"),e.qZA(),e.YNc(6,Qe,6,5,"ng-container",6),e.YNc(7,We,10,9,"ng-container",7),e.YNc(8,Ke,4,1,"ng-container",6),e.qZA(),e.TgZ(9,"nz-col",8)(10,"span",9),e.ALo(11,"date"),e._uU(12),e.ALo(13,"timeAgo"),e.qZA()()()),2&n){const o=e.oxw();e.xp6(2),e.Q6J("ngIf","hideUser"!=o.tagDisplay),e.xp6(2),e.hij("",e.xi3(5,7,o.event.action,"feed"),"\xa0"),e.xp6(2),e.Q6J("ngIf",o.event.originatingObject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=o.tagDisplay&&o.event.subject),e.xp6(1),e.Q6J("ngIf","hideOrg"!=o.tagDisplay&&o.event.organization),e.xp6(2),e.Q6J("nzTooltipTitle",e.lcZ(11,10,o.event.createdAt)),e.xp6(2),e.hij(" ",e.lcZ(13,12,o.event.createdAt)," ")}}function $e(n,i){1&n&&e._uU(0," Event database entry is malformed and cannot be displayed\n")}let Ge=(()=>{class n{constructor(){this.tagDisplay="displayAll"}ngOnInit(){if(void 0===this.event)throw new Error("cvc-timeline-item component requires an EventFeedNodeFragment input.")}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-event-timeline-item"]],inputs:{event:"event",tagDisplay:"tagDisplay"},decls:3,vars:2,consts:[["class","timeline-item",4,"ngIf","ngIfElse"],["noOriginating",""],[1,"timeline-item"],["nzFlex","auto",1,"description"],[3,"user",4,"ngIf"],["nz-typography",""],[4,"ngIf"],[3,"ngSwitch",4,"ngIf"],["nzFlex","100px",1,"timestamp"],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],[3,"user"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"revision","subject"],["nz-typography","",4,"ngIf"],[3,"comment","subject"],[3,"flag","subject"],[2,"cursor","pointer",3,"routerLink"],[3,"gene",4,"ngSwitchCase"],[3,"assertion",4,"ngSwitchCase"],[3,"evidence",4,"ngSwitchCase"],[3,"variant",4,"ngSwitchCase"],[3,"revision",4,"ngSwitchCase"],[3,"variantgroup",4,"ngSwitchCase"],["mode","concise",3,"source",4,"ngSwitchCase"],[3,"molecularProfile",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"gene"],[3,"assertion"],[3,"evidence"],[3,"variant"],[3,"revision"],[3,"variantgroup"],["mode","concise",3,"source"],[3,"molecularProfile"],[3,"org"]],template:function(o,f){if(1&o&&(e.YNc(0,Ve,14,14,"nz-row",0),e.YNc(1,$e,1,0,"ng-template",null,1,e.W1O)),2&o){const F=e.MAs(2);e.Q6J("ngIf",f.event.originatingObject)("ngIfElse",F)}},dependencies:[g.O5,g.RF,g.n9,g.ED,I.j,C.SY,O.ZU,_.t3,_.SK,s.rH,h.p,E.I,N,Pe,x.H,v.w,A.O,S.I,xe.m,z.T,T.u,ze.p,g.uU,Oe.R,Ae,u.x],encapsulation:2}),n})()},7169:(L,M,t)=>{t.d(M,{r:()=>P});var e=t(5879),g=t(6814),I=t(855),C=t(551),O=t(3498),_=t(4736),s=t(313);let h=(()=>{class m{transform(v){switch(v){case s.AO2.Commented:return"civic-comment";case s.AO2.RevisionSuggested:case s.AO2.RevisionAccepted:case s.AO2.RevisionRejected:case s.AO2.RevisionSuperseded:return"civic-revision";case s.AO2.Flagged:case s.AO2.FlagResolved:return"civic-flag";case s.AO2.AssertionSubmitted:case s.AO2.AssertionAccepted:case s.AO2.AssertionRejected:return"civic-assertion";case s.AO2.Submitted:case s.AO2.Accepted:case s.AO2.Rejected:return"civic-evidence";case s.AO2.PublicationSuggested:case s.AO2.CuratedSourceSuggestion:case s.AO2.RejectedSourceSuggestion:case s.AO2.RequeuedSourceSuggestion:return"file-add";case s.AO2.Reverted:return"civic-evidence";case s.AO2.AssertionReverted:return"civic-assertion";case s.AO2.DeprecatedVariant:return"civic-variant";case s.AO2.DeprecatedMolecularProfile:return"civic-molecularprofile";default:return v}}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275pipe=e.Yjl({name:"iconNameForEventAction",type:m,pure:!0}),m})();function E(m,x){if(1&m&&(e._UZ(0,"i",6),e.ALo(1,"iconNameForEventAction")),2&m){const v=e.oxw(2).$implicit;e.Q6J("nzType",e.lcZ(1,1,v.action))}}function D(m,x){if(1&m&&(e.TgZ(0,"nz-timeline-item",3),e.YNc(1,E,2,3,"ng-template",null,4,e.W1O),e._UZ(3,"cvc-event-timeline-item",5),e.qZA()),2&m){const v=e.MAs(2),A=e.oxw().$implicit,S=e.oxw(2);e.Q6J("nzDot",v),e.xp6(3),e.Q6J("event",A)("tagDisplay",S.tagDisplay)}}function Z(m,x){if(1&m&&(e.ynx(0),e.YNc(1,D,4,3,"nz-timeline-item",2),e.BQk()),2&m){const v=x.$implicit;e.xp6(1),e.Q6J("ngIf",v)}}function Q(m,x){if(1&m&&(e.TgZ(0,"nz-timeline"),e.YNc(1,Z,2,1,"ng-container",1),e.qZA()),2&m){const v=e.oxw();e.xp6(1),e.Q6J("ngForOf",v.events)}}let P=(()=>{class m{constructor(){this.tagDisplay="displayAll"}ngOnInit(){if(void 0===this.events)throw new Error("cvc-feed-item component requires array of EventFeedNodeFragment input.")}}return m.\u0275fac=function(v){return new(v||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["cvc-event-timeline"]],inputs:{events:"events",tagDisplay:"tagDisplay"},decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"nzDot",4,"ngIf"],[3,"nzDot"],["timelineDotTemplate",""],[3,"event","tagDisplay"],["nz-icon","","nzTheme","twotone",1,"item-icon",3,"nzType"]],template:function(v,A){1&v&&e.YNc(0,Q,2,1,"nz-timeline",0),2&v&&e.Q6J("ngIf",null==A.events?null:A.events.length)},dependencies:[g.sg,g.O5,I.w,C.Ls,O.Zv,O.PD,_.t,h],styles:["[_nghost-%COMP%]{display:block}.item-icon[_ngcontent-%COMP%]{font-size:18px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%], .timeline-item[_ngcontent-%COMP%] .timestamp[_ngcontent-%COMP%]{margin-top:2px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-left:4px}nz-timeline[_ngcontent-%COMP%] ul li:last-child{padding-bottom:0}nz-timeline[_ngcontent-%COMP%] ul li:last-child .ant-timeline-item-content{min-height:0;padding-bottom:8px}.timestamp[_ngcontent-%COMP%]{text-align:right}.comment-title[_ngcontent-%COMP%]{padding-right:24px}.comment-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}.comment-card[_ngcontent-%COMP%]{width:100%}"]}),m})()},4416:(L,M,t)=>{t.d(M,{m:()=>u});var e=t(6814),g=t(551),I=t(3235),C=t(2392),O=t(2524),_=t(2834),s=t(8607),h=t(5956),E=t(6165),D=t(1218),Z=t(7528),Q=t(1106),P=t(6109),m=t(3498),x=t(95),v=t(9755),A=t(2840),S=t(8641),z=t(5528),R=t(5879);let u=(()=>{class y{}return y.\u0275fac=function(J){return new(J||y)},y.\u0275mod=R.oAB({type:y}),y.\u0275inj=R.cJS({imports:[e.ez,A.sL,g.PV,P.cg,C.ZJ,m.FT,x.Jb,v.y,I.W,O.s,_.T,s.O,h.U,E.W,D.i,Z.Q,Q.L,S.s,z.E]}),y})()},8607:(L,M,t)=>{t.d(M,{O:()=>R});var e=t(6814),g=t(5695),I=t(551),C=t(4190),O=t(2524),_=t(3235),s=t(6165),h=t(1218),E=t(7528),D=t(2962),Z=t(95),Q=t(5956),P=t(3641),m=t(2655),x=t(2574),v=t(8125),A=t(5879);let S=(()=>{class u{}return u.\u0275fac=function(j){return new(j||u)},u.\u0275mod=A.oAB({type:u}),u.\u0275inj=A.cJS({imports:[e.ez,D.vh,Z.Jb,I.PV,x.zf,v.q6,O.s,Q.U,_.W,s.W,h.i,E.Q,P.G,m.x]}),u})();var z=t(7417);let R=(()=>{class u{}return u.\u0275fac=function(j){return new(j||u)},u.\u0275mod=A.oAB({type:u}),u.\u0275inj=A.cJS({imports:[e.ez,C.Bz,g.X,I.PV,z.$6,O.s,S]}),u})()},3488:(L,M,t)=>{t.d(M,{p:()=>k});var e=t(5879),g=t(6814),I=t(4190),C=t(7398),O=t(2181),_=t(5676),s=t(313),h=t(2962),E=t(551),D=t(2574),Z=t(8125),Q=t(4121),P=t(356),m=t(270),x=t(4786),v=t(9408),A=t(5959),S=t(2384),z=t(8091),R=t(2616),u=t(5573);function y(r,T){if(1&r&&(e.TgZ(0,"span"),e._UZ(1,"i",14),e.ALo(2,"entityColor"),e._uU(3),e.qZA()),2&r){const l=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(2,2,"Revision")),e.xp6(2),e.hij(" RID",l.id," ")}}function j(r,T){if(1&r&&e._UZ(0,"cvc-status-tag",15),2&r){const l=e.oxw(2).ngIf;e.Q6J("status",l.status)}}function J(r,T){1&r&&(e.TgZ(0,"nz-space",11),e.YNc(1,y,4,4,"span",12),e.YNc(2,j,1,1,"cvc-status-tag",13),e.qZA())}function B(r,T){if(1&r&&e._UZ(0,"cvc-gene-tag",23),2&r){const l=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("gene",l.subject)}}function W(r,T){if(1&r&&e._UZ(0,"cvc-assertion-tag",24),2&r){const l=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("assertion",l.subject)}}function $(r,T){if(1&r&&e._UZ(0,"cvc-evidence-tag",25),2&r){const l=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("evidence",l.subject)}}function Y(r,T){if(1&r&&e._UZ(0,"cvc-variant-tag",26),2&r){const l=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variant",l.subject)}}function G(r,T){if(1&r&&e._UZ(0,"cvc-variant-group-tag",27),2&r){const l=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variantgroup",l.subject)}}function K(r,T){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const l=e.oxw(2).ngIf;e.xp6(1),e.Oqu(l.subject.name)}}function H(r,T){if(1&r&&(e.ynx(0,16),e.YNc(1,B,1,2,"cvc-gene-tag",17),e.YNc(2,W,1,2,"cvc-assertion-tag",18),e.YNc(3,$,1,2,"cvc-evidence-tag",19),e.YNc(4,Y,1,2,"cvc-variant-tag",20),e.YNc(5,G,1,2,"cvc-variant-group-tag",21),e.YNc(6,K,2,1,"span",22),e.BQk()),2&r){const l=e.oxw().ngIf;e.Q6J("ngSwitch",l.subject.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","VariantGroup")}}function V(r,T){if(1&r&&e._UZ(0,"cvc-user-tag",28),2&r){const l=e.oxw().ngIf;e.Q6J("enablePopover",!1)("user",l.revisor)}}function X(r,T){if(1&r&&(e.TgZ(0,"nz-descriptions-item",29),e._uU(1),e.qZA()),2&r){const l=e.oxw().ngIf;e.xp6(1),e.hij(" ",l.creationComment.comment," ")}}function q(r,T){if(1&r&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,J,3,0,"ng-template",null,3,e.W1O),e.YNc(4,H,7,6,"ng-template",null,4,e.W1O),e.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),e.YNc(8,V,1,2,"cvc-user-tag",7),e.qZA(),e.TgZ(9,"nz-descriptions-item",8),e._uU(10),e.qZA(),e.TgZ(11,"nz-descriptions-item",9),e._uU(12),e.ALo(13,"timeAgo"),e.qZA(),e.YNc(14,X,2,1,"nz-descriptions-item",10),e.qZA()(),e.BQk()),2&r){const l=T.ngIf,w=e.MAs(3),b=e.MAs(5);e.xp6(1),e.Q6J("nzTitle",w)("nzExtra",b),e.xp6(5),e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("ngIf",l.revisor),e.xp6(2),e.hij(" ",l.linkoutData.name," "),e.xp6(2),e.hij(" ",e.lcZ(13,7,l.createdAt)," "),e.xp6(2),e.Q6J("ngIf",l.creationComment)}}let a=(()=>{class r{constructor(l){this.gql=l}ngOnInit(){if(null==this.revisionId)throw new Error("cvc-revision-popover requires valid revisionId input.");this.revision$=this.gql.watch({revisionId:this.revisionId}).valueChanges.pipe((0,C.U)(({data:l})=>l?.revision),(0,O.h)(_.ep))}}return r.\u0275fac=function(l){return new(l||r)(e.Y36(s.otH))},r.\u0275cmp=e.Xpm({type:r,selectors:[["cvc-revision-popover"]],inputs:{revisionId:"revisionId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["subject",""],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Revisor"],[3,"enablePopover","user",4,"ngIf"],["nzTitle","Field"],["nzTitle","Revision Date"],["nzTitle","Creation Comment",4,"ngIf"],[1,"revision-card-title"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],[3,"status"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","variantgroup",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","variantgroup"],[3,"enablePopover","user"],["nzTitle","Creation Comment"]],template:function(l,w){1&l&&(e.TgZ(0,"div",0),e.YNc(1,q,15,9,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&l&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,w.revision$)))},dependencies:[g.O5,g.RF,g.n9,g.ED,h.bd,E.Ls,D.NU,D.$1,Z.R7,Z.uj,Q.H,P.I,m.w,x.O,v.I,A.u,S.h,z.fM,R.a,u.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.revision-card-title[_ngcontent-%COMP%]{font-weight:400}"]}),r})();var p=t(5695),c=t(7417);function d(r,T){}function U(r,T){}function N(r,T){if(1&r&&e._UZ(0,"cvc-revision-popover",6),2&r){const l=e.oxw(2);e.Q6J("revisionId",l.revision.id)}}function ee(r,T){if(1&r&&(e.TgZ(0,"nz-tag",4),e.YNc(1,U,0,0,"ng-template",1),e.qZA(),e.YNc(2,N,1,1,"ng-template",null,5,e.W1O)),2&r){const l=e.MAs(3),w=e.oxw(),b=e.MAs(5);e.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",l)("nzPopoverTrigger",w.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",b)}}function ne(r,T){if(1&r&&(e._UZ(0,"i",7),e._uU(1)),2&r){const l=e.oxw();e.xp6(1),e.hij(" ",l.revision.name,"\n")}}const te=function(r){return{revisionSetId:r}};let k=(()=>{class r{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.revision)throw new Error("cvc-revision-tag requires LinkableRevision input, none supplied.")}}return r.\u0275fac=function(l){return new(l||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["cvc-revision-tag"]],inputs:{revision:"revision",subject:"subject",enablePopover:"enablePopover"},decls:6,vars:5,consts:[[3,"routerLink","queryParams"],[3,"ngTemplateOutlet"],["tag",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["revisionPopover",""],[3,"revisionId"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#F0673A"]],template:function(l,w){if(1&l&&(e.TgZ(0,"a",0),e.YNc(1,d,0,0,"ng-template",1),e.qZA(),e.YNc(2,ee,4,4,"ng-template",null,2,e.W1O),e.YNc(4,ne,2,1,"ng-template",null,3,e.W1O)),2&l){const b=e.MAs(3);e.Q6J("routerLink",w.revision.link)("queryParams",e.VKq(3,te,w.revision.revisionSetId)),e.xp6(1),e.Q6J("ngTemplateOutlet",b)}},dependencies:[g.tP,I.rH,a,p.j,E.Ls,c.lU],encapsulation:2}),r})()},1595:(L,M,t)=>{t.d(M,{N:()=>s});var e=t(6814),g=t(2962),I=t(6976),C=t(551),O=t(2840),_=t(5879);let s=(()=>{class h{}return h.\u0275fac=function(D){return new(D||h)},h.\u0275mod=_.oAB({type:h}),h.\u0275inj=_.cJS({imports:[e.ez,g.vh,I.Ph,C.PV,O.sL]}),h})()},7908:(L,M,t)=>{t.d(M,{R:()=>I});var e=t(313),g=t(5879);let I=(()=>{class C{transform(_,s="contributor-card",h=0){return"contributor-card"===s?this.contributorVerbiage(_,h):"action-filter"===s?this.actionFilterVerbiage(_):this.eventFeedVerbiage(_)}eventFeedVerbiage(_){switch(_){case e.AO2.Commented:return"added comment";case e.AO2.RevisionSuggested:return"suggested revision";case e.AO2.RevisionAccepted:return"accepted revision";case e.AO2.RevisionRejected:return"rejected revision";case e.AO2.RevisionSuperseded:return"closed revision";case e.AO2.Flagged:return"opened new flag";case e.AO2.FlagResolved:return"resolved flag";case e.AO2.AssertionSubmitted:return"submitted assertion";case e.AO2.AssertionAccepted:return"accepted assertion";case e.AO2.AssertionRejected:return"rejected assertion";case e.AO2.Submitted:return"submitted evidence item";case e.AO2.Accepted:return"accepted evidence item";case e.AO2.Rejected:return"rejected evidence item";case e.AO2.PublicationSuggested:return"created source suggestion";case e.AO2.CuratedSourceSuggestion:return"finished curating source suggestion";case e.AO2.RejectedSourceSuggestion:return"rejected source suggestion";case e.AO2.RequeuedSourceSuggestion:return"requeued source suggestion";case e.AO2.Reverted:return"reverted evidence item";case e.AO2.AssertionReverted:return"reverted assertion";case e.AO2.DeprecatedVariant:return"deprecated variant";case e.AO2.DeprecatedMolecularProfile:return"deprecated molecular profile";default:return _}}actionFilterVerbiage(_){switch(_){case e.AO2.Commented:return"commented";case e.AO2.RevisionSuggested:return"revision suggested";case e.AO2.RevisionAccepted:return"revision accepted";case e.AO2.RevisionRejected:return"revision rejected";case e.AO2.RevisionSuperseded:return"revision closed";case e.AO2.Flagged:return"flag opened";case e.AO2.FlagResolved:return"flag resolved";case e.AO2.AssertionSubmitted:return"assertion submitted";case e.AO2.AssertionAccepted:return"assertion accepted";case e.AO2.AssertionRejected:return"assertion rejected";case e.AO2.Submitted:return"evidence item submitted";case e.AO2.Accepted:return"evidence item accepted";case e.AO2.Rejected:return"evidence item rejected";case e.AO2.PublicationSuggested:return"source suggestion created";case e.AO2.CuratedSourceSuggestion:return"source suggestion curated";case e.AO2.RejectedSourceSuggestion:return"source suggestion rejected";case e.AO2.RequeuedSourceSuggestion:return"source suggestion requeued";case e.AO2.Reverted:return"evidence item reverted";case e.AO2.AssertionReverted:return"assertion reverted";case e.AO2.DeprecatedVariant:return"variant deprecated";case e.AO2.DeprecatedMolecularProfile:return"molecular profile deprecated";default:return _}}contributorVerbiage(_,s){switch(_){case e.AO2.Commented:return 1==s?"left a comment on this entity":`left ${s} comments on this entity`;case e.AO2.RevisionSuggested:return 1==s?"suggested a revision to this entity":`suggested ${s} revisions on this entity`;case e.AO2.RevisionAccepted:return 1==s?"accepted a revision to this entity":`accepted ${s} revisions on this entity`;case e.AO2.RevisionRejected:return 1==s?"rejected a revision to this entity":`rejected ${s} revisions on this entity`;case e.AO2.RevisionSuperseded:return 1==s?"closed a revision to this entity":`closed ${s} revisions on this entity`;case e.AO2.Flagged:return 1==s?"opened new flag on this entity":`opened ${s} new flags on this entity`;case e.AO2.FlagResolved:return 1==s?"resolved a flag on this entity":`resolved ${s} flags on this entity`;case e.AO2.AssertionSubmitted:return"submitted this assertion";case e.AO2.AssertionAccepted:return"accepted this assertion";case e.AO2.AssertionRejected:return"rejected this assertion";case e.AO2.Submitted:return"submitted this evidence item";case e.AO2.Accepted:return"accepted this evidence item";case e.AO2.Rejected:return"rejected this evidence item";case e.AO2.PublicationSuggested:return"";case e.AO2.CuratedSourceSuggestion:return"finished curating this source suggestion";case e.AO2.RejectedSourceSuggestion:return"rejected this source suggestion";case e.AO2.RequeuedSourceSuggestion:return"requeued this source suggestion";case e.AO2.AssertionReverted:return"reverted this assertion";case e.AO2.Reverted:return"reverted this evidence item";case e.AO2.DeprecatedVariant:return"deprecated this variant";case e.AO2.DeprecatedMolecularProfile:return"deprecated this molecular profile";default:return _}}}return C.\u0275fac=function(_){return new(_||C)},C.\u0275pipe=g.Yjl({name:"eventVerbiage",type:C,pure:!0}),C})()},3498:(L,M,t)=>{t.d(M,{FT:()=>q,PD:()=>H,Zv:()=>K});var e=t(5879),g=t(7328),I=t(8645),C=t(6814),O=t(8324),_=t(9773),s=t(9388),h=t(551),E=t(2831);const D=["template"];function Z(a,p){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const c=e.oxw(3);e.xp6(1),e.Oqu(c.nzLabel)}}function Q(a,p){if(1&a&&(e.TgZ(0,"div",7),e.YNc(1,Z,2,1,"ng-container",5),e.qZA()),2&a){const c=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",c.nzLabel)}}function P(a,p){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const c=e.oxw(2);e.xp6(1),e.Oqu(c.nzDot)}}function m(a,p){if(1&a&&(e.TgZ(0,"li",1),e.YNc(1,Q,2,1,"div",2),e._UZ(2,"div",3),e.TgZ(3,"div",4),e.YNc(4,P,2,1,"ng-container",5),e.qZA(),e.TgZ(5,"div",6),e.Hsn(6),e.qZA()()),2&a){const c=e.oxw();e.ekj("ant-timeline-item-right","right"===(c.nzPosition||c.position))("ant-timeline-item-left","left"===(c.nzPosition||c.position))("ant-timeline-item-last",c.isLast),e.xp6(1),e.Q6J("ngIf",c.nzLabel),e.xp6(2),e.Udp("border-color",c.borderColor),e.ekj("ant-timeline-item-head-red","red"===c.nzColor)("ant-timeline-item-head-blue","blue"===c.nzColor)("ant-timeline-item-head-green","green"===c.nzColor)("ant-timeline-item-head-gray","gray"===c.nzColor)("ant-timeline-item-head-custom",!!c.nzDot),e.xp6(1),e.Q6J("nzStringTemplateOutlet",c.nzDot)}}const x=["*"];function v(a,p){if(1&a&&e.GkF(0,4),2&a){e.oxw();const c=e.MAs(5);e.Q6J("ngTemplateOutlet",c)}}function A(a,p){}function S(a,p){if(1&a&&(e.ynx(0),e.YNc(1,A,0,0,"ng-template",4),e.BQk()),2&a){const c=p.$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",c.template)}}function z(a,p){if(1&a&&e.GkF(0,4),2&a){e.oxw();const c=e.MAs(5);e.Q6J("ngTemplateOutlet",c)}}function R(a,p){1&a&&e._UZ(0,"span",12)}function u(a,p){if(1&a&&(e.ynx(0),e._uU(1),e.YNc(2,R,1,0,"span",11),e.BQk()),2&a){const c=e.oxw(3);e.xp6(1),e.hij(" ",c.nzPendingDot," "),e.xp6(1),e.Q6J("ngIf",!c.nzPendingDot)}}function y(a,p){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const c=e.oxw(3);e.xp6(1),e.hij(" ",c.isPendingBoolean?"":c.nzPending," ")}}function j(a,p){if(1&a&&(e.TgZ(0,"li",6),e._UZ(1,"div",7),e.TgZ(2,"div",8),e.YNc(3,u,3,2,"ng-container",9),e.qZA(),e.TgZ(4,"div",10),e.YNc(5,y,2,1,"ng-container",9),e.qZA()()),2&a){const c=e.oxw(2);e.xp6(3),e.Q6J("nzStringTemplateOutlet",c.nzPendingDot),e.xp6(2),e.Q6J("nzStringTemplateOutlet",c.nzPending)}}function J(a,p){if(1&a&&e.YNc(0,j,6,2,"li",5),2&a){const c=e.oxw();e.Q6J("ngIf",c.nzPending)}}const $=["red","blue","green","grey","gray"];let Y=(()=>{class a{constructor(){this.check$=new g.t(1)}markForCheck(){this.check$.next()}}return a.\u0275fac=function(c){return new(c||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),K=(()=>{class a{constructor(c,d){this.cdr=c,this.timelineService=d,this.nzColor="blue",this.isLast=!1,this.borderColor=null}ngOnChanges(c){this.timelineService.markForCheck(),c.nzColor&&this.updateCustomColor()}detectChanges(){this.cdr.detectChanges()}updateCustomColor(){this.borderColor=function G(a){return-1!==$.findIndex(p=>p===a)}(this.nzColor)?null:this.nzColor}}return a.\u0275fac=function(c){return new(c||a)(e.Y36(e.sBO),e.Y36(Y))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-timeline-item"],["","nz-timeline-item",""]],viewQuery:function(c,d){if(1&c&&e.Gf(D,5),2&c){let U;e.iGM(U=e.CRH())&&(d.template=U.first)}},inputs:{nzPosition:"nzPosition",nzColor:"nzColor",nzDot:"nzDot",nzLabel:"nzLabel"},exportAs:["nzTimelineItem"],features:[e.TTD],ngContentSelectors:x,decls:2,vars:0,consts:[["template",""],[1,"ant-timeline-item"],["class","ant-timeline-item-label",4,"ngIf"],[1,"ant-timeline-item-tail"],[1,"ant-timeline-item-head"],[4,"nzStringTemplateOutlet"],[1,"ant-timeline-item-content"],[1,"ant-timeline-item-label"]],template:function(c,d){1&c&&(e.F$t(),e.YNc(0,m,7,20,"ng-template",null,0,e.W1O))},dependencies:[C.O5,O.f],encapsulation:2,changeDetection:0}),a})(),H=(()=>{class a{constructor(c,d,U){this.cdr=c,this.timelineService=d,this.directionality=U,this.nzMode="left",this.nzReverse=!1,this.isPendingBoolean=!1,this.timelineItems=[],this.dir="ltr",this.hasLabelItem=!1,this.destroy$=new I.x}ngOnChanges(c){const{nzMode:d,nzReverse:U,nzPending:N}=c;(V(d)||V(U))&&this.updateChildren(),N&&(this.isPendingBoolean=!0===N.currentValue)}ngOnInit(){this.timelineService.check$.pipe((0,_.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.directionality.change?.pipe((0,_.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.updateChildren(),this.listOfItems.changes.pipe((0,_.R)(this.destroy$)).subscribe(()=>{this.updateChildren()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateChildren(){if(this.listOfItems&&this.listOfItems.length){const c=this.listOfItems.length;let d=!1;this.listOfItems.forEach((U,N)=>{U.isLast=this.nzReverse?0===N:N===c-1,U.position=function X(a,p){return"custom"===p?void 0:"left"===p?"left":"right"===p?"right":"alternate"===p&&a%2==0?"left":"right"}(N,this.nzMode),!d&&U.nzLabel&&(d=!0),U.detectChanges()}),this.timelineItems=this.nzReverse?this.listOfItems.toArray().reverse():this.listOfItems.toArray(),this.hasLabelItem=d}else this.timelineItems=[],this.hasLabelItem=!1;this.cdr.markForCheck()}}return a.\u0275fac=function(c){return new(c||a)(e.Y36(e.sBO),e.Y36(Y),e.Y36(s.Is,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-timeline"]],contentQueries:function(c,d,U){if(1&c&&e.Suo(U,K,4),2&c){let N;e.iGM(N=e.CRH())&&(d.listOfItems=N)}},inputs:{nzMode:"nzMode",nzPending:"nzPending",nzPendingDot:"nzPendingDot",nzReverse:"nzReverse"},exportAs:["nzTimeline"],features:[e._Bn([Y]),e.TTD],ngContentSelectors:x,decls:7,vars:15,consts:[[1,"ant-timeline"],[3,"ngTemplateOutlet",4,"ngIf"],[4,"ngFor","ngForOf"],["pendingTemplate",""],[3,"ngTemplateOutlet"],["class","ant-timeline-item ant-timeline-item-pending",4,"ngIf"],[1,"ant-timeline-item","ant-timeline-item-pending"],[1,"ant-timeline-item-tail"],[1,"ant-timeline-item-head","ant-timeline-item-head-custom","ant-timeline-item-head-blue"],[4,"nzStringTemplateOutlet"],[1,"ant-timeline-item-content"],["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(c,d){1&c&&(e.F$t(),e.TgZ(0,"ul",0),e.YNc(1,v,1,1,"ng-container",1),e.YNc(2,S,2,1,"ng-container",2),e.YNc(3,z,1,1,"ng-container",1),e.qZA(),e.YNc(4,J,1,1,"ng-template",null,3,e.W1O),e.Hsn(6)),2&c&&(e.ekj("ant-timeline-label",d.hasLabelItem)("ant-timeline-right",!d.hasLabelItem&&"right"===d.nzMode)("ant-timeline-alternate","alternate"===d.nzMode||"custom"===d.nzMode)("ant-timeline-pending",!!d.nzPending)("ant-timeline-reverse",d.nzReverse)("ant-timeline-rtl","rtl"===d.dir),e.xp6(1),e.Q6J("ngIf",d.nzReverse),e.xp6(1),e.Q6J("ngForOf",d.timelineItems),e.xp6(1),e.Q6J("ngIf",!d.nzReverse))},dependencies:[C.sg,C.O5,C.tP,h.Ls,O.f],encapsulation:2,changeDetection:0}),a})();function V(a){return!(!a||a.previousValue===a.currentValue&&!a.isFirstChange())}let q=(()=>{class a{}return a.\u0275fac=function(c){return new(c||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[s.vT,C.ez,E.ud,h.PV,O.T]}),a})()}}]); \ No newline at end of file diff --git a/server/public/2907.99547d3b28cc5ead.js b/server/public/2907.99547d3b28cc5ead.js new file mode 100644 index 000000000..8cb706719 --- /dev/null +++ b/server/public/2907.99547d3b28cc5ead.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[2907],{1218:(b,C,o)=>{o.d(C,{i:()=>z});var r=o(6814),h=o(4190),T=o(5695),c=o(7417),t=o(551),d=o(1855),p=o(2524),m=o(3640),u=o(3146),v=o(5879);let z=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=v.oAB({type:f}),f.\u0275inj=v.cJS({imports:[r.ez,h.Bz,m.mS,T.X,c.$6,t.PV,d.f,p.s,u.C]}),f})()},1106:(b,C,o)=>{o.d(C,{L:()=>l});var r=o(6814),h=o(4190),T=o(5695),c=o(551),t=o(95),d=o(6067),p=o(8125),m=o(2962),u=o(1022),v=o(5879);let z=(()=>{class s{}return s.\u0275fac=function(A){return new(A||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[r.ez,m.vh,t.Jb,p.q6,d.X,u.H]}),s})();var f=o(7417);let l=(()=>{class s{}return s.\u0275fac=function(A){return new(A||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[r.ez,h.Bz,T.X,c.PV,f.$6,z]}),s})()},7950:(b,C,o)=>{o.d(C,{x:()=>f});var r=o(6814),h=o(366),T=o(5695),c=o(7417),t=o(3396),d=o(1106),p=o(5956),m=o(7528),u=o(6061),v=o(3717),z=o(5879);let f=(()=>{class l{}return l.\u0275fac=function(y){return new(y||l)},l.\u0275mod=z.oAB({type:l}),l.\u0275inj=z.cJS({imports:[r.ez,T.X,c.$6,h.$,u.N,t.Q,d.L,p.U,m.Q,v.M]}),l})()},3717:(b,C,o)=>{o.d(C,{M:()=>f});var r=o(6814),h=o(4190),T=o(5695),c=o(2962),t=o(6067),d=o(8125),p=o(551),m=o(2524),u=o(5879);let v=(()=>{class l{}return l.\u0275fac=function(y){return new(y||l)},l.\u0275mod=u.oAB({type:l}),l.\u0275inj=u.cJS({imports:[r.ez,p.PV,c.vh,d.q6,m.s,t.X]}),l})();var z=o(7417);let f=(()=>{class l{}return l.\u0275fac=function(y){return new(y||l)},l.\u0275mod=u.oAB({type:l}),l.\u0275inj=u.cJS({imports:[r.ez,h.Bz,p.PV,T.X,z.$6,v]}),l})()},4010:(b,C,o)=>{o.d(C,{F:()=>T});var h=o(5879);let T=(()=>{class c{transform(d,p="display-string"){return void 0===d?"":"display-string"===p?function r(c){switch(c){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return c}}(d):`civic-${d.replace(/_/g,"").toLowerCase()}`}}return c.\u0275fac=function(d){return new(d||c)},c.\u0275pipe=h.Yjl({name:"therapyInteractionEnumDisplay",type:c,pure:!0}),c})()},2057:(b,C,o)=>{o.r(C),o.d(C,{TherapiesModule:()=>Tn});var r=o(6814),h=o(4190),T=o(7921),c=o(4223),t=o(5879),d=o(313),p=o(551),m=o(6254),u=o(3317),v=o(3145),z=o(8091),f=o(2616);function l(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",6),t._uU(1),t.qZA()),2&n){const e=t.oxw(2).ngIf;t.Q6J("href",e.therapyUrl),t.xp6(1),t.hij(" ",e.ncitId," ")}}function s(n,a){if(1&n&&(t.TgZ(0,"nz-page-header-extra"),t.YNc(1,l,2,2,"cvc-link-tag",5),t.qZA()),2&n){const e=t.oxw().ngIf;t.xp6(1),t.Q6J("ngIf",e.therapyUrl)}}function y(n,a){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),t._UZ(4,"i",3),t.ALo(5,"entityColor"),t._uU(6),t.qZA(),t.YNc(7,s,2,1,"nz-page-header-extra",0),t.TgZ(8,"nz-page-header-content")(9,"div",4),t._UZ(10,"router-outlet"),t.qZA()()(),t.BQk()),2&n){const e=a.ngIf;t.xp6(1),t.Q6J("displayName",e.name),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(5,4,"Therapy")),t.xp6(2),t.hij(" ",e.name," "),t.xp6(1),t.Q6J("ngIf",e.ncitId)}}let A=(()=>{class n{constructor(e,i){this.route=e,this.gql=i,this.routeSub=this.route.params.subscribe(g=>{this.therapyId=+g.therapyId,this.queryRef=this.gql.watch({therapyId:this.therapyId});let _=this.queryRef.valueChanges;this.loading$=_.pipe((0,c.j)("loading"),(0,T.O)(!0)),this.therapy$=_.pipe((0,c.j)("data","therapy"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(h.gz),t.Y36(d.hVB))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-therapies-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-therapy",3,"nzTwotoneColor"],[1,"content"],["tooltip","View in the NCIthesaurus",3,"href",4,"ngIf"],["tooltip","View in the NCIthesaurus",3,"href"]],template:function(e,i){1&e&&(t.YNc(0,y,11,6,"ng-container",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,i.therapy$))},dependencies:[r.O5,h.lC,p.Ls,m.$O,m.u9,m.u5,m.Jp,u.l,v.I,z.fM,f.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var Z,M=o(95),I=o(2392),S=o(2574),D=o(2840),Y=o(855),X=o(655),G=o(4632),E=o(1791),N=o(5619),w=o(8645),F=o(5676),$=o(3997),k=o(812),q=o(836),Q=o(2181),L=o(7398),tt=o(3620),nt=o(2460),B=o(2962),x=o(3740),O=o(5695),J=o(6109),et=o(6753),ot=o(4764),at=o(8516),it=o(4770),rt=o(3489),ct=o(9857),lt=o(4997);function st(n,a){}function pt(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,st,0,0,"ng-template",6),t.qZA(),t.BQk()),2&n){t.oxw();const e=t.MAs(6),i=t.MAs(8),g=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",e)("nzExtra",i),t.xp6(1),t.Q6J("ngTemplateOutlet",g)}}function gt(n,a){}const ht=function(n){return{height:n}};function dt(n,a){if(1&n&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,gt,0,0,"ng-template",6),t.qZA()()),2&n){const e=t.oxw(),i=t.MAs(6),g=t.MAs(8),_=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,ht,e.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",i)("nzExtra",g),t.xp6(1),t.Q6J("ngTemplateOutlet",_)}}function mt(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",27),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.Q6J("href",e.therapyUrl),t.xp6(1),t.hij(" ",e.ncitId," ")}}function ft(n,a){1&n&&t._uU(0,"--")}function _t(n,a){if(1&n&&(t.TgZ(0,"tr",22)(1,"td",18),t._UZ(2,"cvc-therapy-tag",23),t.qZA(),t.TgZ(3,"td"),t.YNc(4,mt,2,2,"cvc-link-tag",24),t.YNc(5,ft,1,0,"ng-template",null,25,t.W1O),t.qZA(),t.TgZ(7,"td",26),t._uU(8),t.qZA(),t.TgZ(9,"td",26),t._uU(10),t.qZA()()),2&n){const e=a.$implicit,i=t.MAs(6);t.xp6(2),t.Q6J("therapy",e),t.xp6(2),t.Q6J("ngIf",e.ncitId)("ngIfElse",i),t.xp6(4),t.hij(" ",e.evidenceCount," "),t.xp6(2),t.hij(" ",e.assertionCount," ")}}const ut=function(){return[]},vt=function(){return{x:"680px",y:"800px"}},K=function(){return["descend","ascend",null]};function Ct(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(g){t.CHM(e);const _=t.oxw();return t.KtG(_.scrollEvent$.next(g))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(g){t.CHM(e);const _=t.oxw();return t.KtG(_.sortChange$.next(g))}),t.TgZ(7,"tr")(8,"th",12),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",13),t._uU(11," NCIt ID "),t.qZA(),t.TgZ(12,"th",14),t._UZ(13,"i",15),t._uU(14," Count "),t.qZA(),t.TgZ(15,"th",16),t._UZ(16,"i",17),t._uU(17," Count "),t.qZA()(),t.TgZ(18,"tr")(19,"th",18)(20,"cvc-clearable-input-filter",19),t.NdJ("inputModelChange",function(g){t.CHM(e);const _=t.oxw();return t.KtG(_.nameFilter=g)})("inputModelChange",function(){t.CHM(e);const g=t.oxw();return t.KtG(g.filterChange$.next())}),t.qZA()(),t.TgZ(21,"th")(22,"cvc-clearable-input-filter",19),t.NdJ("inputModelChange",function(g){t.CHM(e);const _=t.oxw();return t.KtG(_.ncitIdFilter=g)})("inputModelChange",function(){t.CHM(e);const g=t.oxw();return t.KtG(g.filterChange$.next())}),t.qZA()(),t._UZ(23,"th",20)(24,"th",20),t.qZA()(),t.TgZ(25,"tbody"),t.YNc(26,_t,11,5,"ng-template",21),t.qZA()()}if(2&n){const e=t.oxw();t.Q6J("nzData",t.lcZ(2,23,e.row$)||t.DdM(31,ut))("nzLoading",!t.lcZ(3,25,e.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",e.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,27,e.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,29,e.scrollIndex$))("nzVirtualForTrackBy",e.trackByIndex)("nzScroll",t.DdM(32,vt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",e.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.NcitId)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.EvidenceItemCount)("nzSortDirections",t.DdM(33,K))("nzSortFn",!0),t.xp6(3),t.Q6J("nzColumnKey",e.sortColumns.AssertionCount)("nzSortDirections",t.DdM(34,K))("nzSortFn",!0),t.xp6(5),t.Q6J("inputModel",e.nameFilter),t.xp6(2),t.Q6J("inputModel",e.ncitIdFilter)}}function Tt(n,a){}function zt(n,a){if(1&n&&(t.ynx(0),t.YNc(1,Tt,0,0,"ng-template",6),t.BQk()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function xt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.BQk()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.cvcTitle," ")}}function yt(n,a){if(1&n&&(t.YNc(0,zt,2,1,"ng-container",28),t.YNc(1,xt,2,1,"ng-container",28),t.TgZ(2,"span",29),t._UZ(3,"cvc-table-counts",30),t.qZA()),2&n){const e=t.oxw();t.Q6J("ngIf",e.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",e.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",e.connection$)}}function Mt(n,a){1&n&&(t.TgZ(0,"nz-tag",33),t._UZ(1,"i",34),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function It(n,a){if(1&n&&(t.YNc(0,Mt,4,0,"nz-tag",31),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",32),t.ALo(3,"ngrxPush")),2&n){const e=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,e.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,e.noMoreRows$))}}let R=((Z=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,e){this.gql=a,this.cdr=e,this.truncateLongName=!1,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=d.HUC,this.noMoreRows$=new N.X(!1),this.scrollEvent$=new N.X("stop"),this.sortChange$=new w.x,this.filterChange$=new w.x,this.scrollIndex$=new w.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,c.j)("loading"),(0,$.x)(),(0,k.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,c.j)("loading"),(0,$.x)(),(0,q.T)(2)),this.connection$=this.result$.pipe((0,c.j)("data","therapies"),(0,Q.h)(F.ep)),this.row$=this.connection$.pipe((0,c.j)("edges"),(0,Q.h)(F.ep),(0,L.U)(a=>a.map(e=>e.node))),this.pageInfo$=this.connection$.pipe((0,c.j)("pageInfo"),(0,Q.h)(F.ep)),this.sortChange$.pipe((0,E.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,G._)(a)})}),this.filterChange$.pipe((0,tt.b)(500),(0,E.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,L.U)(a=>"stop"!==a),(0,$.x)(),(0,E.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,Q.h)(a=>"bottom"===a),(0,nt.M)(this.pageInfo$),(0,L.U)(([a,e])=>e),(0,E.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameFilter,ncitId:this.ncitIdFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(a,e){return e?.id}}).\u0275fac=function(a){return new(a||Z)(t.Y36(d.vz2),t.Y36(t.sBO))},Z.\u0275cmp=t.Xpm({type:Z,selectors:[["cvc-therapies-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",truncateLongName:"truncateLongName",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],["nzWidth","400px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100%",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortDirections","nzSortFn"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortDirections","nzSortFn"],["nz-icon","","nzType","civic-assertion"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"therapy"],[3,"href",4,"ngIf","ngIfElse"],["noNcit",""],["nzRight","","nzAlign","right"],[3,"href"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,e){if(1&a&&(t.YNc(0,pt,3,3,"ng-container",0),t.YNc(1,dt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Ct,27,35,"ng-template",null,2,t.W1O),t.YNc(5,yt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,It,4,6,"ng-template",null,4,t.W1O)),2&a){const i=t.MAs(2);t.Q6J("ngIf",!e.cvcHeight)("ngIfElse",i)}},dependencies:[r.O5,r.tP,r.PC,Y.w,B.bd,p.Ls,x.N8,x.qD,x.Uo,x._C,x.Om,x.p0,x.$Z,x.zu,x.qn,x.UX,O.j,J.SY,et.D,ot.q,at.p,it.T,u.l,rt.H,ct.B,lt.y,z.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),Z);function Ot(n,a){1&n&&(t.TgZ(0,"a",14),t._UZ(1,"i",15),t._uU(2," View Therapy Attribute Docs "),t.qZA())}function Pt(n,a){1&n&&(t.TgZ(0,"a",16),t._UZ(1,"i",15),t._uU(2," View Therapy Curation Docs "),t.qZA())}R=(0,X.gn)([(0,E.c)()],R);let Zt=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["therapies-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-therapy",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html#curating-therapies","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Therapies"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html#curating-therapies","target","_blank","nzSize","small","nzBlock",""]],template:function(e,i){1&e&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Therapies"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," CIViC Therapies are associated with Predictive Evidence Types, and describe the sensitivity, resistance or adverse response to treatment. Therapies may also be used to describe more general treatment types and regimes, such as FOLFOX or Radiation. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Ot,3,0,"a",8),t.YNc(15,Pt,3,0,"a",9),t.qZA()()(),t.TgZ(16,"div",10)(17,"div",11)(18,"div",12),t._UZ(19,"cvc-therapies-table",13),t.qZA()()()()()),2&e&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"Therapy")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},dependencies:[p.Ls,m.$O,m.u5,M.t3,M.SK,I.ZU,S.NU,S.$1,D.ix,Y.w,v.I,R,f.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var P=o(8125),V=o(1887),bt=o(6822),At=o(1826);function St(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.BQk()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.chemInfo.chebiDefinition," ")}}function Et(n,a){if(1&n&&(t.TgZ(0,"nz-tag"),t._uU(1),t.qZA()),2&n){const e=a.$implicit;t.xp6(1),t.Oqu(e)}}function Jt(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"cvc-tag-list"),t.YNc(2,Et,2,1,"nz-tag",13),t.qZA(),t.BQk()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("ngForOf",e.chemInfo.indications)}}function Ut(n,a){if(1&n&&(t.TgZ(0,"nz-descriptions-item",21),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("nzSpan",2),t.xp6(1),t.hij(" ",e.chemInfo.inchikey," ")}}function Dt(n,a){if(1&n&&(t.TgZ(0,"nz-descriptions-item",22),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.chemInfo.firstApproval," ")}}function Qt(n,a){if(1&n&&(t.TgZ(0,"nz-descriptions-item",23),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.chemInfo.chemblMoleculeType," ")}}function Bt(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-descriptions-item",24),t._uU(2),t.qZA(),t.TgZ(3,"nz-descriptions-item",25),t._uU(4),t.qZA(),t.BQk()),2&n){const e=a.$implicit;t.xp6(2),t.hij(" ",e.code," "),t.xp6(2),t.hij(" ",e.description," ")}}function Nt(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-descriptions-item",26),t._uU(2),t.qZA(),t.TgZ(3,"nz-descriptions-item",27),t._uU(4),t.qZA(),t.BQk()),2&n){const e=a.$implicit;t.xp6(2),t.hij(" ",e.code," "),t.xp6(2),t.hij(" ",e.description," ")}}function wt(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",28),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("href","https://www.ebi.ac.uk/chebi/searchId.do?chebiId="+e.chemInfo.chebiId),t.xp6(1),t.hij(" ",e.chemInfo.chebiId," ")}}function Ft(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",29),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("href","https://www.ebi.ac.uk/chembl/compound_report_card/"+e.chemInfo.chemblId),t.xp6(1),t.hij(" ",e.chemInfo.chemblId," ")}}function $t(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",30),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("href","https://pubchem.ncbi.nlm.nih.gov/compound/"+e.chemInfo.pubchemCid),t.xp6(1),t.hij(" PubChem ",e.chemInfo.pubchemCid," ")}}function Lt(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",31),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("href","https://www.pharmgkb.org/chemical/"+e.chemInfo.pharmgkbId),t.xp6(1),t.hij(" PHARMGKB ",e.chemInfo.pharmgkbId," ")}}function Rt(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",32),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("href","https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm="+e.chemInfo.rxnorm),t.xp6(1),t.hij(" RxNav ",e.chemInfo.rxnorm," ")}}function jt(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",33),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("href","https://go.drugbank.com/drugs/"+e.chemInfo.drugbankId),t.xp6(1),t.hij(" DrugBank ",e.chemInfo.drugbankId," ")}}function Yt(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-card",2)(2,"div",3)(3,"nz-row",4)(4,"nz-col",5)(5,"nz-descriptions",6)(6,"nz-descriptions-item",7),t.YNc(7,St,2,1,"ng-container",8),t.qZA(),t.TgZ(8,"nz-descriptions-item",9),t.YNc(9,Jt,3,1,"ng-container",8),t.qZA(),t.YNc(10,Ut,2,2,"nz-descriptions-item",10),t.qZA()(),t.TgZ(11,"nz-col",5)(12,"nz-descriptions",6),t.YNc(13,Dt,2,1,"nz-descriptions-item",11),t.YNc(14,Qt,2,1,"nz-descriptions-item",12),t.YNc(15,Bt,5,2,"ng-container",13),t.YNc(16,Nt,5,2,"ng-container",13),t.TgZ(17,"nz-descriptions-item",14)(18,"cvc-tag-list"),t.YNc(19,wt,2,2,"cvc-link-tag",15),t.YNc(20,Ft,2,2,"cvc-link-tag",16),t.YNc(21,$t,2,2,"cvc-link-tag",17),t.YNc(22,Lt,2,2,"cvc-link-tag",18),t.YNc(23,Rt,2,2,"cvc-link-tag",19),t.YNc(24,jt,2,2,"cvc-link-tag",20),t.qZA()()()()()()(),t.BQk()),2&n){const e=t.oxw(),i=t.MAs(2);t.xp6(3),t.Q6J("nzGutter",8),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(1),t.Q6J("nzBordered",!0)("nzColumn",2),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.Q6J("ngIf",e.chemInfo.chebiDefinition)("ngIfElse",i),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.Q6J("ngIf",e.chemInfo.indications.length>0)("ngIfElse",i),t.xp6(1),t.Q6J("ngIf",e.chemInfo.inchikey),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(1),t.Q6J("nzBordered",!0)("nzColumn",2),t.xp6(1),t.Q6J("ngIf",e.chemInfo.firstApproval),t.xp6(1),t.Q6J("ngIf",e.chemInfo.chemblMoleculeType),t.xp6(1),t.Q6J("ngForOf",e.chemInfo.fdaEpcCodes),t.xp6(1),t.Q6J("ngForOf",e.chemInfo.fdaMoaCodes),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(2),t.Q6J("ngIf",e.chemInfo.chebiId),t.xp6(1),t.Q6J("ngIf",e.chemInfo.chemblId),t.xp6(1),t.Q6J("ngIf",e.chemInfo.pubchemCid),t.xp6(1),t.Q6J("ngIf",e.chemInfo.pharmgkbId),t.xp6(1),t.Q6J("ngIf",e.chemInfo.rxnorm),t.xp6(1),t.Q6J("ngIf",e.chemInfo.drugbankId)}}function Kt(n,a){1&n&&(t.TgZ(0,"span",34),t._uU(1,"Not Found"),t.qZA())}let Vt=(()=>{class n{constructor(){this.tabIndex=new N.X(0)}tabChange(e){this.tabIndex.next(e)}ngOnDestroy(){this.tabIndex.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-my-chem-info"]],inputs:{chemInfo:"chemInfo"},decls:3,vars:1,consts:[[4,"ngIf"],["noValue",""],["nzTitle","MyChemInfo"],[1,"tab-padding"],[3,"nzGutter"],[3,"nzSpan"],["nzSize","small",3,"nzBordered","nzColumn"],["nzTitle","ChEBI Definition",3,"nzSpan"],[4,"ngIf","ngIfElse"],["nzTitle","Inidications",3,"nzSpan"],["nzTitle","InChIKey",3,"nzSpan",4,"ngIf"],["nzTitle","First Approval",4,"ngIf"],["nzTitle","Molecule Type",4,"ngIf"],[4,"ngFor","ngForOf"],["nzTitle","External Identifiers",3,"nzSpan"],["tooltip","View in ChEBI",3,"href",4,"ngIf"],["tooltip","View in ChEMBL",3,"href",4,"ngIf"],["tooltip","View in PubChem",3,"href",4,"ngIf"],["tooltip","View in PHARMGKB",3,"href",4,"ngIf"],["tooltip","View in RxNav",3,"href",4,"ngIf"],["tooltip","View in DrugBank",3,"href",4,"ngIf"],["nzTitle","InChIKey",3,"nzSpan"],["nzTitle","First Approval"],["nzTitle","Molecule Type"],["nzTitle","FDA EPC Code"],["nzTitle","FDA EPC Description"],["nzTitle","FDA MOA Code"],["nzTitle","FDA MOA Description"],["tooltip","View in ChEBI",3,"href"],["tooltip","View in ChEMBL",3,"href"],["tooltip","View in PubChem",3,"href"],["tooltip","View in PHARMGKB",3,"href"],["tooltip","View in RxNav",3,"href"],["tooltip","View in DrugBank",3,"href"],["nz-typography","","nzType","secondary"]],template:function(e,i){1&e&&(t.YNc(0,Yt,25,25,"ng-container",0),t.YNc(1,Kt,2,0,"ng-template",null,1,t.W1O)),2&e&&t.Q6J("ngIf",i.chemInfo)},dependencies:[r.sg,r.O5,B.bd,P.R7,P.uj,M.t3,M.SK,O.j,I.ZU,u.l,V.$],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]}),n})();var Ht=o(5869);function Wt(n,a){if(1&n&&(t.TgZ(0,"nz-tag",12),t._uU(1),t.ALo(2,"truncate"),t.qZA()),2&n){const e=a.$implicit;t.Q6J("nzTooltipTitle",e),t.xp6(1),t.hij(" ",t.lcZ(2,2,e)," ")}}function Xt(n,a){if(1&n&&(t.TgZ(0,"cvc-tag-list"),t.YNc(1,Wt,3,4,"nz-tag",11),t.qZA()),2&n){const e=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",e.therapyAliases)}}function Gt(n,a){1&n&&(t.TgZ(0,"i",13),t._uU(1,"None specified"),t.qZA())}const kt=function(){return[8,16]};function qt(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-row",2),t._UZ(2,"cvc-my-chem-info",3),t.TgZ(3,"nz-col",4)(4,"nz-descriptions",5)(5,"nz-descriptions-item",6),t.YNc(6,Xt,2,1,"cvc-tag-list",7),t.YNc(7,Gt,2,0,"ng-template",null,8,t.W1O),t.qZA()()(),t.TgZ(9,"nz-col",4),t._UZ(10,"cvc-evidence-table",9),t.qZA(),t.TgZ(11,"nz-col",4),t._UZ(12,"cvc-assertions-table",10),t.qZA()(),t.BQk()),2&n){const e=a.ngIf,i=t.MAs(8);t.xp6(1),t.Q6J("nzGutter",t.DdM(12,kt)),t.xp6(1),t.Q6J("chemInfo",e.myChemInfo),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("ngIf",e.therapyAliases.length>0)("ngIfElse",i),t.xp6(3),t.Q6J("nzSpan",24),t.xp6(1),t.MGl("cvcTitle","Evidence associated with ",e.name,""),t.Q6J("therapyId",e.id),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.MGl("cvcTitle","Assertions associated with ",e.name,""),t.Q6J("therapyId",e.id)}}const tn=[{path:"",component:(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-therapies"]],decls:1,vars:0,template:function(e,i){1&e&&t._UZ(0,"router-outlet")},dependencies:[h.lC],encapsulation:2}),n})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Zt,data:{breadcrumb:"Home"}},{path:":therapyId",component:A,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class n{constructor(e,i){this.route=e,this.gql=i,this.routeSub=this.route.params.subscribe(g=>{this.therapyId=+g.therapyId,this.queryRef=this.gql.watch({therapyId:this.therapyId});let _=this.queryRef.valueChanges;this.loading$=_.pipe((0,c.j)("loading"),(0,T.O)(!0)),this.therapy$=_.pipe((0,c.j)("data","therapy"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(h.gz),t.Y36(d.Gnp))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-therapies-summary"]],decls:3,vars:3,consts:[[1,"summary-container"],[4,"ngIf"],[3,"nzGutter"],[3,"chemInfo"],[3,"nzSpan"],["nzSize","small","nzLayout","vertical","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","1"],[4,"ngIf","ngIfElse"],["noAliases",""],["cvcHeight","400px",3,"therapyId","cvcTitle"],[3,"therapyId","cvcTitle"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["nz-typography","","nzType","secondary"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,qt,13,13,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,i.therapy$)))},dependencies:[r.sg,r.O5,M.t3,M.SK,I.ZU,O.j,P.R7,P.uj,J.SY,V.$,bt.a,At.x,Vt,z.fM,Ht.W],styles:["[_nghost-%COMP%]{display:block}.summary-container[_ngcontent-%COMP%]{margin-top:8px}.top-table[_ngcontent-%COMP%]{max-height:500px}"]}),n})(),data:{breadcrumb:"Summary"}}]}]}];let nn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[h.Bz.forChild(tn),h.Bz]}),n})();var H=o(2419),j=o(6067),U=o(2524);let en=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,h.Bz,p.PV,m.KJ,S.zf,P.q6,O.X,J.cg,j.X,H.D,U.s]}),n})();var on=o(7856),an=o(9175),rn=o(4742),cn=o(9312),ln=o(2989),sn=o(9154),pn=o(6061);let gn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,D.sL,B.vh,p.PV,p.PV,x.HQ,O.X,J.cg,I.ZJ,U.s,an.n,rn.c,on.k,pn.N,j.X,sn.y,ln.T,cn.w]}),n})(),hn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,p.PV,m.KJ,M.Jb,I.ZJ,S.zf,D.sL,U.s,H.D,gn]}),n})();var dn=o(1403),mn=o(5895),fn=o(9333),_n=o(279),W=o(366),un=o(9382);let vn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,un.we,x.HQ,B.vh,P.q6,M.Jb,O.X,I.ZJ,U.s,j.X,W.$]}),n})(),Cn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,M.Jb,S.zf,I.ZJ,D.sL,O.X,p.PV,P.q6,J.cg,W.$,fn.h,U.s,dn.Q,mn.s,vn,_n.s]}),n})(),Tn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,h.Bz,nn,hn,en,Cn]}),n})()}}]); \ No newline at end of file diff --git a/server/public/3180.6f440dd185b76ec7.js b/server/public/3180.6f440dd185b76ec7.js new file mode 100644 index 000000000..a121267d5 --- /dev/null +++ b/server/public/3180.6f440dd185b76ec7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3180],{1218:(T,C,n)=>{n.d(C,{i:()=>E});var l=n(6814),d=n(4190),e=n(5695),c=n(7417),f=n(551),g=n(1855),m=n(2524),P=n(3640),z=n(3146),u=n(5879);let E=(()=>{class p{}return p.\u0275fac=function(t){return new(t||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[l.ez,d.Bz,P.mS,e.X,c.$6,f.PV,g.f,m.s,z.C]}),p})()},1106:(T,C,n)=>{n.d(C,{L:()=>s});var l=n(6814),d=n(4190),e=n(5695),c=n(551),f=n(95),g=n(6067),m=n(8125),P=n(2962),z=n(1022),u=n(5879);let E=(()=>{class t{}return t.\u0275fac=function(O){return new(O||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[l.ez,P.vh,f.Jb,m.q6,g.X,z.H]}),t})();var p=n(7417);let s=(()=>{class t{}return t.\u0275fac=function(O){return new(O||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[l.ez,d.Bz,e.X,c.PV,p.$6,E]}),t})()},7950:(T,C,n)=>{n.d(C,{x:()=>p});var l=n(6814),d=n(366),e=n(5695),c=n(7417),f=n(3396),g=n(1106),m=n(5956),P=n(7528),z=n(6061),u=n(3717),E=n(5879);let p=(()=>{class s{}return s.\u0275fac=function(M){return new(M||s)},s.\u0275mod=E.oAB({type:s}),s.\u0275inj=E.cJS({imports:[l.ez,e.X,c.$6,d.$,z.N,f.Q,g.L,m.U,P.Q,u.M]}),s})()},3717:(T,C,n)=>{n.d(C,{M:()=>p});var l=n(6814),d=n(4190),e=n(5695),c=n(2962),f=n(6067),g=n(8125),m=n(551),P=n(2524),z=n(5879);let u=(()=>{class s{}return s.\u0275fac=function(M){return new(M||s)},s.\u0275mod=z.oAB({type:s}),s.\u0275inj=z.cJS({imports:[l.ez,m.PV,c.vh,g.q6,P.s,f.X]}),s})();var E=n(7417);let p=(()=>{class s{}return s.\u0275fac=function(M){return new(M||s)},s.\u0275mod=z.oAB({type:s}),s.\u0275inj=z.cJS({imports:[l.ez,d.Bz,m.PV,e.X,E.$6,u]}),s})()},4010:(T,C,n)=>{n.d(C,{F:()=>e});var d=n(5879);let e=(()=>{class c{transform(g,m="display-string"){return void 0===g?"":"display-string"===m?function l(c){switch(c){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return c}}(g):`civic-${g.replace(/_/g,"").toLowerCase()}`}}return c.\u0275fac=function(g){return new(g||c)},c.\u0275pipe=d.Yjl({name:"therapyInteractionEnumDisplay",type:c,pure:!0}),c})()},6534:(T,C,n)=>{n.r(C),n.d(C,{EvidenceModule:()=>Z});var l=n(6814),d=n(4190),e=n(2419),c=n(6254),f=n(95),g=n(551),m=n(1403),P=n(5956),z=n(6494),u=n(2840),E=n(2574),p=n(2392),s=n(2524),t=n(5879);let M=(()=>{class o{}return o.\u0275fac=function(h){return new(h||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[l.ez,d.Bz,u.sL,z.m,c.KJ,f.Jb,g.PV,E.zf,p.ZJ,s.s,e.D,P.U,m.Q]}),o})();var O=n(951),D=n(8091),x=n(855),A=n(1958),I=n(3145),B=n(6822),U=n(2616);function L(o,v){1&o&&(t.TgZ(0,"button",15),t._UZ(1,"i",16),t._uU(2," Submit New Evidence "),t.qZA())}function S(o,v){if(1&o&&(t.ynx(0),t.YNc(1,L,3,0,"button",14),t.BQk()),2&o){const h=v.ngrxLet;t.xp6(1),t.Q6J("ngIf",h.signedIn)}}function i(o,v){if(1&o&&t.YNc(0,S,2,1,"ng-container",13),2&o){const h=t.oxw();t.Q6J("ngrxLet",h.viewer$)}}function _(o,v){1&o&&(t.TgZ(0,"a",17),t._UZ(1,"i",18),t._uU(2," View Evidence Model Docs "),t.qZA())}function a(o,v){1&o&&(t.TgZ(0,"a",19),t._UZ(1,"i",18),t._uU(2," View Evidence Curation Docs "),t.qZA())}function r(o,v){1&o&&(t.TgZ(0,"nz-row")(1,"div",20)(2,"div",21),t._UZ(3,"cvc-evidence-table",22),t.qZA()()()),2&o&&(t.xp6(1),t.Q6J("nzSpan",24))}const R=[{path:"",component:(()=>{class o{constructor(){}}return o.\u0275fac=function(h){return new(h||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-evidence"]],decls:1,vars:0,template:function(h,W){1&h&&t._UZ(0,"router-outlet")},dependencies:[d.lC],encapsulation:2}),o})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class o{constructor(h){this.viewerService=h,this.tableView=!0,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return o.\u0275fac=function(h){return new(h||o)(t.Y36(O.a))},o.\u0275cmp=t.Xpm({type:o,selectors:[["evidence-home"]],decls:19,vars:6,consts:[[3,"actionsTpl"],["evidenceActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/evidence.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[4,"ngIf"],[4,"ngrxLet"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/evidence.html","target","_blank","nzSize","small","nzBlock",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Evidence"]],template:function(h,W){if(1&h&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,i,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Evidence Items"),t.qZA(),t.TgZ(12,"p",7),t._uU(13," The clinical evidence statement is a piece of information that has been manually curated from trustable medical literature about a variant or genomic \u2018event\u2019 that has implications in cancer predisposition, diagnosis (aka molecular classification), prognosis, or predictive response to therapy. "),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,_,3,0,"a",10),t.YNc(17,a,3,0,"a",11),t.qZA()()(),t.YNc(18,r,4,1,"nz-row",12),t.qZA()()),2&h){const V=t.MAs(2);t.Q6J("actionsTpl",V),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"EvidenceItem")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(6),t.Q6J("ngIf",W.tableView)}},dependencies:[l.O5,d.rH,D.eJ,u.ix,x.w,A.dQ,c.$O,c.u5,f.t3,f.SK,g.Ls,E.NU,E.$1,p.ZU,I.I,B.a,U.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})(),data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>Promise.all([n.e(6607),n.e(8592),n.e(9803)]).then(n.bind(n,9803)).then(o=>o.EvidenceAddModule),data:{breadcrumb:"Add"}},{path:":evidenceId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([n.e(4872),n.e(5556),n.e(2602),n.e(3270),n.e(3577),n.e(7856),n.e(1364),n.e(8245),n.e(4503),n.e(5756),n.e(8592),n.e(9814)]).then(n.bind(n,9814)).then(o=>o.EvidenceDetailModule)},{path:"revise",loadChildren:()=>Promise.all([n.e(8592),n.e(3266)]).then(n.bind(n,8287)).then(o=>o.EvidenceReviseModule),data:{breadcrumb:"Revise"}}]}]}];let K=(()=>{class o{}return o.\u0275fac=function(h){return new(h||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[d.Bz.forChild(R),M,d.Bz]}),o})(),Z=(()=>{class o{}return o.\u0275fac=function(h){return new(h||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[l.ez,K]}),o})()},6494:(T,C,n)=>{n.d(C,{i:()=>L,m:()=>S});var l=n(655),d=n(6028),e=n(5879),c=n(6223),f=n(8645),g=n(2438),m=n(9773),P=n(874),z=n(7754),u=n(4300),E=n(9388),p=n(6814),s=n(1958),t=n(551),M=n(8324);const O=["switchElement"];function D(i,_){1&i&&e._UZ(0,"span",8)}function x(i,_){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzCheckedChildren)}}function A(i,_){if(1&i&&(e.ynx(0),e.YNc(1,x,2,1,"ng-container",9),e.BQk()),2&i){const a=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",a.nzCheckedChildren)}}function I(i,_){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzUnCheckedChildren)}}function B(i,_){if(1&i&&e.YNc(0,I,2,1,"ng-container",9),2&i){const a=e.oxw();e.Q6J("nzStringTemplateOutlet",a.nzUnCheckedChildren)}}let L=(()=>{class i{updateValue(a){this.isChecked!==a&&(this.isChecked=a,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(a,r,y,N,R,K){this.nzConfigService=a,this.host=r,this.ngZone=y,this.cdr=N,this.focusMonitor=R,this.directionality=K,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new f.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,m.R)(this.destroy$)).subscribe(a=>{this.dir=a,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,g.R)(this.host.nativeElement,"click").pipe((0,m.R)(this.destroy$)).subscribe(a=>{a.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,g.R)(this.switchElement.nativeElement,"keydown").pipe((0,m.R)(this.destroy$)).subscribe(a=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:r}=a;r!==d.oh&&r!==d.SV&&r!==d.L_&&r!==d.K5||(a.preventDefault(),this.ngZone.run(()=>{r===d.oh?this.updateValue(!1):r===d.SV?this.updateValue(!0):(r===d.L_||r===d.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,m.R)(this.destroy$)).subscribe(a=>{a||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(a){this.isChecked=a,this.cdr.markForCheck()}registerOnChange(a){this.onChange=a}registerOnTouched(a){this.onTouched=a}setDisabledState(a){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||a,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return i.\u0275fac=function(a){return new(a||i)(e.Y36(P.jY),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(u.tE),e.Y36(E.Is,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-switch"]],viewQuery:function(a,r){if(1&a&&e.Gf(O,7),2&a){let y;e.iGM(y=e.CRH())&&(r.switchElement=y.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[e._Bn([{provide:c.JU,useExisting:(0,e.Gpc)(()=>i),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(a,r){if(1&a&&(e.TgZ(0,"button",0,1)(2,"span",2),e.YNc(3,D,1,0,"span",3),e.qZA(),e.TgZ(4,"span",4),e.YNc(5,A,2,1,"ng-container",5),e.YNc(6,B,1,1,"ng-template",null,6,e.W1O),e.qZA(),e._UZ(8,"div",7),e.qZA()),2&a){const y=e.MAs(7);e.ekj("ant-switch-checked",r.isChecked)("ant-switch-loading",r.nzLoading)("ant-switch-disabled",r.nzDisabled)("ant-switch-small","small"===r.nzSize)("ant-switch-rtl","rtl"===r.dir),e.Q6J("disabled",r.nzDisabled)("nzWaveExtraNode",!0),e.uIk("id",r.nzId),e.xp6(3),e.Q6J("ngIf",r.nzLoading),e.xp6(2),e.Q6J("ngIf",r.isChecked)("ngIfElse",y)}},dependencies:[p.O5,s.dQ,t.Ls,M.f],encapsulation:2,changeDetection:0}),(0,l.gn)([(0,z.yF)()],i.prototype,"nzLoading",void 0),(0,l.gn)([(0,z.yF)()],i.prototype,"nzDisabled",void 0),(0,l.gn)([(0,z.yF)()],i.prototype,"nzControl",void 0),(0,l.gn)([(0,P.oS)()],i.prototype,"nzSize",void 0),i})(),S=(()=>{class i{}return i.\u0275fac=function(a){return new(a||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[E.vT,p.ez,s.vG,t.PV,M.T]}),i})()}}]); \ No newline at end of file diff --git a/server/public/3218.924bd5cde3d1e764.js b/server/public/3218.924bd5cde3d1e764.js deleted file mode 100644 index ab6057de6..000000000 --- a/server/public/3218.924bd5cde3d1e764.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3218],{392:(Pt,k,a)=>{a.d(k,{T:()=>U});var s=a(4650),z=a(6895),e=a(6672),C=a(6581),x=a(6715),b=a(5797),j=a(7491),Z=a(5749),D=a(3965),t=a(5457),L=a(7701);const Y=function(d){return{"matched-tag":d}},lt=function(d,m){return{tagType:d,tag:m}};function y(d,m){if(1&d&&(s.TgZ(0,"div",2),s.GkF(1,6),s.qZA()),2&d){const _=m.$implicit,f=s.oxw(),K=s.MAs(7);s.Q6J("ngClass",s.VKq(3,Y,f.matchingText&&_.name.toLowerCase().includes(f.matchingText))),s.xp6(1),s.Q6J("ngTemplateOutlet",K)("ngTemplateOutletContext",s.WLB(5,lt,f.tagType,_))}}function $(d,m){if(1&d&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&d){const _=s.oxw(2);s.xp6(1),s.hij(" ",_.matchedHiddenCount," of ")}}function O(d,m){if(1&d&&(s.TgZ(0,"nz-tag",7),s._uU(1," +"),s.YNc(2,$,2,1,"span",8),s._uU(3),s.qZA()),2&d){const _=s.oxw(),f=s.MAs(5);s.Q6J("nzPopoverContent",f),s.xp6(2),s.Q6J("ngIf",_.matchedHiddenCount>0),s.xp6(1),s.hij("",_.hiddenCount," ")}}function I(d,m){if(1&d&&(s.TgZ(0,"div",2),s.ynx(1,10),s.GkF(2,6),s.BQk(),s.qZA()),2&d){const _=m.$implicit,f=s.oxw(2),K=s.MAs(7);s.Q6J("ngClass",s.VKq(4,Y,f.matchingText&&_.name.toLowerCase().includes(f.matchingText))),s.xp6(1),s.Q6J("ngSwitch",f.tagType),s.xp6(1),s.Q6J("ngTemplateOutlet",K)("ngTemplateOutletContext",s.WLB(6,lt,f.tagType,_))}}function et(d,m){if(1&d&&(s.TgZ(0,"div",9)(1,"cvc-tag-list",0),s.YNc(2,I,3,9,"div",1),s.qZA()()),2&d){const _=s.oxw();s.xp6(2),s.Q6J("ngForOf",_.hiddenTags)}}function nt(d,m){if(1&d&&(s.ynx(0),s._UZ(1,"cvc-therapy-tag",12),s.BQk()),2&d){const _=s.oxw().tag;s.xp6(1),s.Q6J("therapy",_)("truncateLongName",!0)}}function ct(d,m){if(1&d&&(s.ynx(0),s._UZ(1,"cvc-disease-tag",13),s.BQk()),2&d){const _=s.oxw().tag;s.xp6(1),s.Q6J("disease",_)("truncateLongName",!0)}}function J(d,m){if(1&d&&(s.ynx(0),s._UZ(1,"cvc-gene-tag",14),s.BQk()),2&d){const _=s.oxw().tag;s.xp6(1),s.Q6J("gene",_)("truncateLongName",!0)}}function Q(d,m){if(1&d&&(s.ynx(0),s._UZ(1,"cvc-organization-tag",15),s.BQk()),2&d){const _=s.oxw().tag;s.xp6(1),s.Q6J("org",_)}}function R(d,m){if(1&d&&(s.ynx(0),s._UZ(1,"cvc-variant-tag",16),s.BQk()),2&d){const _=s.oxw().tag;s.xp6(1),s.Q6J("variant",_)}}function ft(d,m){if(1&d&&(s.ynx(0),s._UZ(1,"cvc-variant-type-tag",17),s.BQk()),2&d){const _=s.oxw().tag;s.xp6(1),s.Q6J("variantType",_)}}function ht(d,m){1&d&&(s.ynx(0,10),s.YNc(1,nt,2,2,"ng-container",11),s.YNc(2,ct,2,2,"ng-container",11),s.YNc(3,J,2,2,"ng-container",11),s.YNc(4,Q,2,1,"ng-container",11),s.YNc(5,R,2,1,"ng-container",11),s.YNc(6,ft,2,1,"ng-container",11),s.BQk()),2&d&&(s.Q6J("ngSwitch",m.tagType),s.xp6(1),s.Q6J("ngSwitchCase","therapy"),s.xp6(1),s.Q6J("ngSwitchCase","disease"),s.xp6(1),s.Q6J("ngSwitchCase","gene"),s.xp6(1),s.Q6J("ngSwitchCase","organization"),s.xp6(1),s.Q6J("ngSwitchCase","variant"),s.xp6(1),s.Q6J("ngSwitchCase","variant-type"))}class U{constructor(m){this.cdr=m,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(m){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let m=this.matchingText.toLowerCase();this.hiddenTags.forEach(_=>{_.name.toLowerCase().includes(m)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}U.\u0275fac=function(m){return new(m||U)(s.Y36(s.sBO))},U.\u0275cmp=s.Xpm({type:U,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[s.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(m,_){1&m&&(s.TgZ(0,"cvc-tag-list",0),s.YNc(1,y,2,8,"div",1),s.TgZ(2,"div",2),s.YNc(3,O,4,3,"nz-tag",3),s.qZA(),s.YNc(4,et,3,1,"ng-template",null,4,s.W1O),s.qZA(),s.YNc(6,ht,7,7,"ng-template",null,5,s.W1O)),2&m&&(s.xp6(1),s.Q6J("ngForOf",_.displayedTags),s.xp6(1),s.Q6J("ngClass",s.VKq(3,Y,_.matchedHiddenCount>0)),s.xp6(1),s.Q6J("ngIf",_.hiddenCount&&_.hiddenCount>0))},dependencies:[z.mk,z.sg,z.O5,z.tP,z.RF,z.n9,e.j,C.lU,x.$,b.T,j.n,Z.m,D.H,t.I,L.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0})},2338:(Pt,k,a)=>{a.d(k,{I:()=>z});var s=a(4650);class z{transform(C){if(C){let b=C.toLowerCase().replace(/_/g," ").split(" ");for(var x=0;x{a.r(k),a.d(k,{UsersDetailModule:()=>mt});var s=a(6895),z=a(5630),e=a(5655),C=a(9116),x=a(8762),b=a(6903),j=a(5473),Z=a(6616),D=a(1102),t=a(4650);class L{}L.\u0275fac=function(o){return new(o||L)},L.\u0275mod=t.oAB({type:L}),L.\u0275inj=t.cJS({imports:[s.ez,Z.sL,D.PV]});var Y=a(9194),lt=a(9476),y=a(3679),$=a(9444),O=a(2635),I=a(1971),et=a(3848),nt=a(2577),ct=a(6960),J=a(4006),Q=a(9597),R=a(6704),ft=a(7008),ht=a(8521),U=a(5681),d=a(8231);class m{}m.\u0275fac=function(o){return new(o||m)},m.\u0275mod=t.oAB({type:m}),m.\u0275inj=t.cJS({imports:[s.ez,J.u5,R.U5,J.UX,O._N,O.pP,I.vh,Q.L,ht.aF,Z.sL,U.j,d.LV,ft.B]});var _=a(330),f=a(5013),K=a(3756);class B{constructor(o){this.route=o,this.userId=+this.route.snapshot.params.userId}}B.\u0275fac=function(o){return new(o||B)(t.Y36(C.gz))},B.\u0275cmp=t.Xpm({type:B,selectors:[["cvc-users-assertions"]],decls:1,vars:1,consts:[["cvcTitle","User Assertions",3,"userId"]],template:function(o,n){1&o&&t._UZ(0,"cvc-assertions-table",0),2&o&&t.Q6J("userId",n.userId)},dependencies:[K.x],styles:["[_nghost-%COMP%]{display:block}"]});var T=a(7630),Nt=a(2011);class ot{constructor(o){this.route=o,this.mode=T.wJ2.User,this.userId=+this.route.snapshot.params.userId}}ot.\u0275fac=function(o){return new(o||ot)(t.Y36(C.gz))},ot.\u0275cmp=t.Xpm({type:ot,selectors:[["cvc-users-events"]],decls:1,vars:2,consts:[["tagDisplay","hideUser",3,"userId","mode"]],template:function(o,n){1&o&&t._UZ(0,"cvc-event-feed",0),2&o&&t.Q6J("userId",n.userId)("mode",n.mode)},dependencies:[Nt.o],styles:["[_nghost-%COMP%]{display:block}"]});var St=a(3392);class it{constructor(o){this.route=o,this.userId=+this.route.snapshot.params.userId}}it.\u0275fac=function(o){return new(o||it)(t.Y36(C.gz))},it.\u0275cmp=t.Xpm({type:it,selectors:[["cvc-users-evidence"]],decls:1,vars:1,consts:[["cvcTitle","User Evidence",3,"userId"]],template:function(o,n){1&o&&t._UZ(0,"cvc-evidence-table",0),2&o&&t.Q6J("userId",n.userId)},dependencies:[St.a],styles:["[_nghost-%COMP%]{display:block}"]});var Ct=a(6123),pt=a(3240),A=a(4004),P=a(9300),Tt=a(8675),xt=a(9169),W=a(7570),gt=a(7044),bt=a(1664),It=a(8213),Ut=a(9790),Jt=a(1897),Qt=a(8747),Et=a(2937),wt=a(9058);function Dt(i,o){if(1&i&&(t.TgZ(0,"nz-col"),t._UZ(1,"i",17),t._uU(2),t.qZA()),2&i){const n=o.$implicit;t.xp6(1),t.Q6J("nzType",n.iconName),t.xp6(1),t.hij(" ",n.displayName," ")}}function Lt(i,o){1&i&&(t._uU(0),t.ALo(1,"eventVerbiage")),2&i&&t.hij(" ",t.xi3(1,1,o.$implicit.id,"action-filter")," ")}function Ft(i,o){if(1&i&&(t.TgZ(0,"nz-col"),t._UZ(1,"i",17),t.ALo(2,"iconNameForSubscribableEntity"),t._uU(3),t.qZA()),2&i){const n=o.$implicit;t.xp6(1),t.Q6J("nzType",t.lcZ(2,3,n.subjectWithCount.subject.__typename)),t.xp6(2),t.AsE(" ",n.subjectWithCount.subject.name," (",n.subjectWithCount.occuranceCount,") ")}}function kt(i,o){if(1&i&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&i){const n=o.$implicit;t.xp6(1),t.hij(" ",n.displayName," ")}}function Yt(i,o){if(1&i&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&i){const n=o.$implicit;t.xp6(1),t.hij(" ",n.name," ")}}function $t(i,o){if(1&i){const n=t.EpF();t.TgZ(0,"button",18),t.NdJ("click",function(){t.CHM(n);const r=t.oxw(2);return t.KtG(r.bulkMarkRead())}),t._UZ(1,"i",19),t._uU(2,"Mark as read "),t.qZA(),t.TgZ(3,"button",18),t.NdJ("click",function(){t.CHM(n);const r=t.oxw(2);return t.KtG(r.bulkMarkUnread())}),t._UZ(4,"i",19),t._uU(5,"Mark as unread "),t.qZA(),t.TgZ(6,"button",18),t.NdJ("click",function(){t.CHM(n);const r=t.oxw(2);return t.KtG(r.bulkUnsubscribe())}),t._UZ(7,"i",20),t._uU(8,"Unsubscribe "),t.qZA(),t._uU(9," Check all "),t.TgZ(10,"label",21),t.NdJ("ngModelChange",function(r){t.CHM(n);const u=t.oxw(2);return t.KtG(u.allChecked=r)})("nzCheckedChange",function(r){t.CHM(n);const u=t.oxw(2);return t.KtG(u.onCheckAllCheckBoxClicked(r))}),t.qZA()}if(2&i){const n=t.oxw(2);t.Q6J("disabled",!n.bulkMarkEnabled),t.xp6(3),t.Q6J("disabled",!n.bulkMarkEnabled),t.xp6(3),t.Q6J("disabled",!n.bulkMarkEnabled),t.xp6(4),t.Q6J("ngModel",n.allChecked)("nzIndeterminate",n.someChecked)}}function Rt(i,o){if(1&i&&t._UZ(0,"i",32),2&i){const n=t.oxw().$implicit;t.Q6J("nzType","SUBSCRIPTION"===n.key.type?"book":"notification")("nzTheme",n.key.seen?"outline":"twotone")}}function Bt(i,o){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",33),t.NdJ("click",function(){t.CHM(n);const r=t.oxw().$implicit,u=t.oxw(3);return t.KtG(u.markAsUnread(r.key.id))}),t._UZ(2,"i",34),t.qZA(),t.BQk()}}function Ht(i,o){if(1&i){const n=t.EpF();t.TgZ(0,"button",35),t.NdJ("click",function(){t.CHM(n);const r=t.oxw().$implicit,u=t.oxw(3);return t.KtG(u.markAsRead(r.key.id))}),t._UZ(1,"i",19),t.qZA()}}function jt(i,o){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",36),t.NdJ("click",function(){t.CHM(n);const r=t.oxw().$implicit,u=t.oxw(3);return t.KtG(u.unsubscribe(r.key.subscription.subscribable.id,r.key.subscription.subscribable.__typename))}),t._UZ(2,"i",20),t.qZA(),t.BQk()}if(2&i){const n=t.oxw().$implicit;t.xp6(1),t.MGl("nzTooltipTitle","You received this notification because you are subscribed to ",n.key.subscription.subscribable.name,". Click to unsubscribe.")}}function Kt(i,o){1&i&&(t.TgZ(0,"button",37),t._UZ(1,"i",20),t.qZA())}function Wt(i,o){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"nz-timeline-item",23),t.YNc(2,Rt,1,2,"ng-template",null,24,t.W1O),t.TgZ(4,"nz-row")(5,"nz-col",25),t._UZ(6,"cvc-event-timeline-item",26),t.qZA(),t.TgZ(7,"nz-col",27),t.YNc(8,Bt,3,0,"ng-container",28),t.YNc(9,Ht,2,0,"ng-template",null,29,t.W1O),t.qZA(),t.TgZ(11,"nz-col",27),t.YNc(12,jt,3,1,"ng-container",28),t.YNc(13,Kt,2,0,"ng-template",null,30,t.W1O),t.TgZ(15,"label",31),t.NdJ("ngModelChange",function(r){const w=t.CHM(n).$implicit;return t.KtG(w.value.checked=r)})("nzCheckedChange",function(r){const w=t.CHM(n).$implicit,ge=t.oxw(3);return t.KtG(ge.onNotificationCheckBoxClicked(w.key.id,r))}),t.qZA()()()(),t.BQk()}if(2&i){const n=o.$implicit,l=t.MAs(3),r=t.MAs(10),u=t.MAs(14);t.xp6(1),t.Q6J("nzDot",l)("nzColor",n.key.seen?"gray":"blue"),t.xp6(5),t.Q6J("event",n.key.event),t.xp6(2),t.Q6J("ngIf",n.key.seen)("ngIfElse",r),t.xp6(4),t.Q6J("ngIf",n.key.subscription)("ngIfElse",u),t.xp6(3),t.Q6J("ngModel",n.value.checked)}}function Vt(i,o){if(1&i&&(t.TgZ(0,"nz-timeline"),t.YNc(1,Wt,16,8,"ng-container",22),t.ALo(2,"keyvalue"),t.qZA()),2&i){const n=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,1,n))}}function zt(i,o){if(1&i){const n=t.EpF();t.TgZ(0,"div",39)(1,"button",40),t.NdJ("click",function(){t.CHM(n);const r=t.oxw().ngIf,u=t.oxw(2);return t.KtG(u.fetchMore(r.endCursor))}),t._uU(2," Load More "),t.qZA()()}}function Gt(i,o){if(1&i&&(t.ynx(0),t.YNc(1,zt,3,0,"div",38),t.BQk()),2&i){const n=o.ngIf;t.xp6(1),t.Q6J("ngIf",n.hasNextPage&&n.endCursor)}}const dt=function(){return[]};function at(i,o){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-row")(4,"nz-button-group",4)(5,"button",5),t.NdJ("click",function(){t.CHM(n);const r=t.oxw();return t.KtG(r.setIncludeRead(!1))}),t._uU(6," Unread "),t.qZA(),t.TgZ(7,"button",5),t.NdJ("click",function(){t.CHM(n);const r=t.oxw();return t.KtG(r.setIncludeRead(!0))}),t._uU(8," All "),t.qZA()()(),t.TgZ(9,"nz-row")(10,"nz-col",6)(11,"cvc-participant-list",7),t.NdJ("participantSelectedEvent",function(r){t.CHM(n);const u=t.oxw();return t.KtG(u.onNotificationReasonSelected(r))}),t.YNc(12,Dt,3,2,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(14,"cvc-participant-list",9),t.NdJ("participantSelectedEvent",function(r){t.CHM(n);const u=t.oxw();return t.KtG(u.onActionSelected(r))}),t.ALo(15,"ngrxPush"),t.YNc(16,Lt,2,4,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(18,"cvc-participant-list",10),t.NdJ("participantSelectedEvent",function(r){t.CHM(n);const u=t.oxw();return t.KtG(u.onNotificationSubjectSelected(r))}),t.ALo(19,"ngrxPush"),t.YNc(20,Ft,4,5,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(22,"cvc-participant-list",11),t.NdJ("participantSelectedEvent",function(r){t.CHM(n);const u=t.oxw();return t.KtG(u.onOriginatingUserSelected(r))}),t.ALo(23,"ngrxPush"),t.YNc(24,kt,2,1,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(26,"cvc-participant-list",12),t.NdJ("participantSelectedEvent",function(r){t.CHM(n);const u=t.oxw();return t.KtG(u.onOrganizationSelected(r))}),t.ALo(27,"ngrxPush"),t.YNc(28,Yt,2,1,"ng-template",null,8,t.W1O),t.qZA()()()(),t.TgZ(30,"nz-col",13)(31,"nz-card",14),t.YNc(32,$t,11,5,"ng-template",null,15,t.W1O),t.TgZ(34,"nz-row",2)(35,"nz-col",16),t.YNc(36,Vt,3,3,"nz-timeline",1),t.YNc(37,Gt,2,1,"ng-container",1),t.ALo(38,"ngrxPush"),t.qZA()()()()(),t.BQk()}if(2&i){const n=o.ngIf,l=t.MAs(33),r=t.oxw();t.xp6(1),t.Q6J("nzGutter",25),t.xp6(4),t.Q6J("nzType",r.includeReadInput?"default":"primary"),t.xp6(2),t.Q6J("nzType",r.includeReadInput?"primary":"default"),t.xp6(4),t.Q6J("participantList",r.notificationTypes),t.xp6(3),t.Q6J("participantList",t.lcZ(15,12,r.actions$)||t.DdM(22,dt)),t.xp6(4),t.Q6J("participantList",t.lcZ(19,14,r.notificationSubjects$)||t.DdM(23,dt)),t.xp6(4),t.Q6J("participantList",t.lcZ(23,16,r.originatingUsers$)||t.DdM(24,dt)),t.xp6(4),t.Q6J("participantList",t.lcZ(27,18,r.organizations$)||t.DdM(25,dt)),t.xp6(5),t.Q6J("nzExtra",l),t.xp6(3),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",n.size>0),t.xp6(1),t.Q6J("ngIf",t.lcZ(38,20,r.pageInfo$))}}class E{constructor(o,n,l,r,u){this.route=o,this.gql=n,this.networkErrorService=l,this.updateNotificationStatusMuation=r,this.unsubscribeMutation=u,this.notificationState=new Map,this.includeReadInput=!1,this.bulkMarkEnabled=!1,this.allChecked=!1,this.someChecked=!1,this.notificationTypes=[{id:1,type:T.fow.Mention,iconName:"notification",displayName:"Mentioned"},{id:2,type:T.fow.Subscription,iconName:"book",displayName:"Subscribed"}],this.userId=+this.route.snapshot.params.userId,this.updateNotificationStatusMutator=new Ct.U(l),this.unsubscribeMutator=new Ct.U(l)}ngOnInit(){this.initialQueryVars={includeRead:this.includeReadInput},this.queryRef=this.gql.watch(this.initialQueryVars),this.results$=this.queryRef.valueChanges,this.connection$=this.results$.pipe((0,A.U)(o=>o.data?.notifications),(0,P.h)(pt.ep)),this.pageInfo$=this.connection$.pipe((0,A.U)(o=>o.pageInfo),(0,P.h)(pt.ep)),this.notificationStateObservable$=this.results$.pipe((0,A.U)(o=>o.data),(0,P.h)(pt.ep),(0,A.U)(({notifications:o})=>{let n=new Map;return o.edges.forEach(l=>{if(l.node){let r={checked:!1};n.set(l.node,r),this.notificationState.set(l.node,r)}}),n})),this.notificationSubjects$=this.results$.pipe((0,A.U)(o=>o.data),(0,P.h)(pt.ep),(0,A.U)(({notifications:o})=>o.notificationSubjects.map(n=>({id:`${n.subject?.__typename}:${n.subject?.id}`,subjectWithCount:n})))),this.originatingUsers$=this.results$.pipe((0,A.U)(({data:o})=>o.notifications.originatingUsers)),this.actions$=this.results$.pipe((0,A.U)(({data:o})=>o.notifications.eventTypes.map(n=>({id:n})))),this.organizations$=this.results$.pipe((0,A.U)(({data:o})=>o.notifications.organizations)),this.isLoading$=this.results$.pipe((0,A.U)(({loading:o})=>o),(0,Tt.O)(!0))}fetchMore(o){this.queryRef.fetchMore({variables:{after:o}})}setIncludeRead(o){this.includeReadInput=o,this.queryRef.refetch({includeRead:this.includeReadInput})}onNotificationReasonSelected(o){this.queryRef.refetch({notificationReason:o?o.type:void 0})}onNotificationSubjectSelected(o){let n;if(void 0!==o){let l=o.subjectWithCount.subject?.__typename;n={id:o.subjectWithCount.subject.id,entityType:T.o71[l]}}this.queryRef.refetch({originatingObject:n})}onOriginatingUserSelected(o){this.queryRef.refetch({originatingUserId:o?.id})}onActionSelected(o){this.queryRef.refetch({eventType:o?o.id:void 0})}onOrganizationSelected(o){this.queryRef.refetch({organizationId:o?.id})}markAsRead(o){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:[o],newStatus:T.NQC.Read}})}markAsUnread(o){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:[o],newStatus:T.NQC.Unread}})}unsubscribe(o,n){this.unsubscribeMutator.mutate(this.unsubscribeMutation,{input:{subscribables:[{id:o,entityType:T.o71[n]}]}})}onNotificationCheckBoxClicked(o,n){let l=Array.from(this.notificationState.keys()).find(r=>r.id===o);if(l){let r=this.notificationState.get(l);r&&(r.checked=n)}n?(this.bulkMarkEnabled=!0,Array.from(this.notificationState.values()).every(r=>r.checked)?(this.allChecked=!0,this.someChecked=!1):this.someChecked=!0):Array.from(this.notificationState.values()).some(r=>r.checked)?(this.bulkMarkEnabled=!0,this.allChecked=!1,this.someChecked=!Array.from(this.notificationState.values()).every(r=>!r.checked)):(this.bulkMarkEnabled=!1,this.allChecked=!1,this.someChecked=!1)}onCheckAllCheckBoxClicked(o){o?this.checkAll():this.uncheckAll()}getCheckedIds(){let o=[];return this.notificationState.forEach((n,l)=>{n.checked&&o.push(l.id)}),o}checkAll(){this.queryRef.refetch().then(()=>{this.notificationState.forEach((o,n)=>{o.checked=!0})}),this.allChecked=!0,this.someChecked=!1,this.bulkMarkEnabled=!0}uncheckAll(){this.queryRef.refetch().then(()=>{this.notificationState.forEach((o,n)=>{o.checked=!1})}),this.allChecked=!1,this.someChecked=!1,this.bulkMarkEnabled=!1}bulkMarkRead(){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:this.getCheckedIds(),newStatus:T.NQC.Read}}),this.uncheckAll()}bulkMarkUnread(){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:this.getCheckedIds(),newStatus:T.NQC.Unread}}),this.uncheckAll()}bulkUnsubscribe(){let o=[];this.notificationState.forEach((n,l)=>{n.checked&&l.subscription&&o.push({id:l.subscription.subscribable.id,entityType:T.o71[l.subscription.subscribable.__typename]})}),this.unsubscribeMutator.mutate(this.unsubscribeMutation,{input:{subscribables:o}}).submitSuccess$.subscribe(n=>{n&&this.queryRef.refetch()}),this.uncheckAll()}}E.\u0275fac=function(o){return new(o||E)(t.Y36(C.gz),t.Y36(T.yqR),t.Y36(xt.Y),t.Y36(T.LiH),t.Y36(T.m$d))},E.\u0275cmp=t.Xpm({type:E,selectors:[["cvc-users-notifications"]],decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],[3,"nzGutter"],["nzSpan","4"],["nzSize","small"],["nz-button","","nzShape","round",3,"nzType","click"],["nzSpan","24"],["listTitle","Notification Reason",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Action",3,"participantList","participantSelectedEvent"],["listTitle","Subject",3,"participantList","participantSelectedEvent"],["listTitle","User",3,"participantList","participantSelectedEvent"],["listTitle","Organization",3,"participantList","participantSelectedEvent"],["nzSpan","20"],["nzTitle","Notifications","id","card-content",3,"nzExtra"],["bulkOperations",""],["nzSpan","24",1,"timeline"],["nz-icon","",3,"nzType"],["nz-button","","nzSize","small",3,"disabled","click"],["nz-icon","","nzType","check"],["nz-icon","","nzType","bell"],["nz-checkbox","",3,"ngModel","nzIndeterminate","ngModelChange","nzCheckedChange"],[4,"ngFor","ngForOf"],[3,"nzDot","nzColor"],["timelineDotTemplate",""],["nzFlex","auto"],[3,"event"],["nzFlex","50px"],[4,"ngIf","ngIfElse"],["unread",""],["noSubscriptionButton",""],["nz-checkbox","",3,"ngModel","ngModelChange","nzCheckedChange"],["nz-icon","",1,"item-icon",3,"nzType","nzTheme"],["nz-tooltip","","nzTooltipTitle","Mark as unread.","nz-button","","nzType","default","nzShape","circle",3,"click"],["nz-icon","","nzType","undo"],["nz-tooltip","","nzTooltipTitle","Mark as read.","nz-button","","nzType","default","nzShape","circle",3,"click"],["nz-tooltip","","nz-button","","nzType","default","nzShape","circle",3,"nzTooltipTitle","click"],["nz-tooltip","","nzTooltipTitle","You are no longer subscribed to the entity that triggered this notification.","nz-button","","nzType","default","nzShape","circle","disabled",""],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"]],template:function(o,n){1&o&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,at,39,26,"ng-container",1),t.ALo(3,"async"),t.qZA()),2&o&&(t.Q6J("nzSpinning",t.lcZ(1,2,n.isLoading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,4,n.notificationStateObservable$)))},dependencies:[s.sg,s.O5,J.JJ,J.On,W.SY,U.W,y.t3,y.SK,Z.ix,Z.fY,gt.w,bt.dQ,I.bd,D.Ls,It.Ie,Ut.Zv,Ut.PD,Jt.t,Qt.l,s.Ov,s.Nd,O.fM,Et.R,wt.j],styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}.item-icon[_ngcontent-%COMP%]{font-size:18px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%], .timeline-item[_ngcontent-%COMP%] .timestamp[_ngcontent-%COMP%]{margin-top:2px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-left:4px}.read-notification[_ngcontent-%COMP%]{background-color:gray}nz-timeline[_ngcontent-%COMP%] ul li:last-child{padding-bottom:0}nz-timeline[_ngcontent-%COMP%] ul li:last-child .ant-timeline-item-content{min-height:0;padding-bottom:8px}.timestamp[_ngcontent-%COMP%]{text-align:right}.comment-title[_ngcontent-%COMP%]{padding-right:24px}.comment-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}.comment-card[_ngcontent-%COMP%]{width:100%}"]});var qt=a(9814);class N{constructor(o){this.route=o,this.userId=+this.route.snapshot.params.userId}}N.\u0275fac=function(o){return new(o||N)(t.Y36(C.gz))},N.\u0275cmp=t.Xpm({type:N,selectors:[["cvc-users-source-suggestions"]],decls:1,vars:1,consts:[["cvcTitle","User Source Suggestions",3,"submitterId"]],template:function(o,n){1&o&&t._UZ(0,"cvc-source-suggestions-table",0),2&o&&t.Q6J("submitterId",n.userId)},dependencies:[qt.O],styles:["[_nghost-%COMP%]{display:block}"]});var Mt=a(6579),yt=a(1135),Xt=a(9350),Zt=a(8823),te=a(8785);function H(i){let o={value:void 0,unset:void 0};return i&&i.trim().length>0?o.value=i.trim():o.unset=!0,o}function At(i){let o={value:void 0,unset:void 0};return void 0!==i?o.value=i:o.unset=!0,o}var ee=a(7579),F=a(2722),ne=a(822);function V(i,o){1&i&&t._UZ(0,"nz-alert",13)}function oe(i,o){if(1&i&&(t.TgZ(0,"nz-form-item"),t._UZ(1,"cvc-form-errors-alert",14),t.qZA()),2&i){const n=t.oxw();t.xp6(1),t.Q6J("errors",n.errorMessages)}}function ie(i,o){if(1&i&&t._UZ(0,"nz-option",15),2&i){const n=o.$implicit;t.Q6J("nzLabel",n.name)("nzValue",n.id)}}class S{constructor(o,n,l){this.updateProfileGql=o,this.profileUpdatedEvent=new t.vpe,this.success=!1,this.errorMessages=[],this.loading=!1,this.destroy$=new ee.x,this.updateProfileMutator=new Ct.U(l),this.countries$=n.fetch().pipe((0,A.U)(({data:r})=>r.countries))}ngOnInit(){if(!this.user)throw new Error("Must pass a user into the Profile Update Form");this.setInitialFormFields()}updateProfile(){if(this.username&&this.email){this.errorMessages=[];let o={username:this.username,email:this.email,name:H(this.name),areaOfExpertise:At(this.areaOfExpertise),orcid:H(this.orcid),url:H(this.url),bio:H(this.bio),countryId:At(this.countryId),twitterHandle:H(this.twitterHandle),facebookProfile:H(this.facebookProfile),linkedinProfile:H(this.linkedinProfile)},n=this.updateProfileMutator.mutate(this.updateProfileGql,{input:o});n.submitSuccess$.pipe((0,F.R)(this.destroy$)).subscribe(l=>{l&&(this.setInitialFormFields(),this.success=!0,this.profileUpdatedEvent.emit())}),n.submitError$.pipe((0,F.R)(this.destroy$)).subscribe(l=>{l&&(this.errorMessages=l,this.success=!1)}),n.isSubmitting$.pipe((0,F.R)(this.destroy$)).subscribe(l=>{this.loading=l})}}setInitialFormFields(){this.name=this.user.name,this.username=this.user.username,this.email=this.user.email,this.areaOfExpertise=this.user.areaOfExpertise,this.orcid=this.user.orcid,this.url=this.user.url,this.bio=this.user.bio,this.twitterHandle=this.user.twitterHandle,this.facebookProfile=this.user.facebookProfile,this.linkedinProfile=this.user.linkedinProfile,this.countryId=this.user.country?.id}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}S.\u0275fac=function(o){return new(o||S)(t.Y36(T.wbP),t.Y36(T.l4w),t.Y36(xt.Y))},S.\u0275cmp=t.Xpm({type:S,selectors:[["cvc-user-profile-form"]],inputs:{user:"user"},outputs:{profileUpdatedEvent:"profileUpdatedEvent"},decls:56,vars:18,consts:[["nzBanner","","nzMessage","Profile Updated","nzType","success","nzCloseable","",4,"ngIf"],[4,"ngIf"],["nzTip","Submitting",3,"nzSpinning"],["nzRequired",""],["nz-input","",2,"width","100%",3,"ngModel","ngModelChange"],["nz-input","","rows","5",2,"width","100%",3,"ngModel","ngModelChange"],["nzAllowClear","","nzShowSearch","",3,"ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["nzAllowClear","",3,"ngModel","ngModelChange"],["nzLabel","Patient Advocate","nzValue","PATIENT_ADVOCATE"],["nzLabel","Clinical Scientist","nzValue","CLINICAL_SCIENTIST"],["nzLabel","Research Scientist","nzValue","RESEARCH_SCIENTIST"],["type","submit","nz-button","","nzType","primary","nzSize","small",2,"width","100%",3,"disabled","click"],["nzBanner","","nzMessage","Profile Updated","nzType","success","nzCloseable",""],[3,"errors"],[3,"nzLabel","nzValue"]],template:function(o,n){1&o&&(t.TgZ(0,"nz-card"),t.YNc(1,V,1,0,"nz-alert",0),t.YNc(2,oe,2,1,"nz-form-item",1),t.TgZ(3,"nz-spin",2)(4,"nz-form-item")(5,"nz-form-label",3),t._uU(6,"Username"),t.qZA(),t.TgZ(7,"input",4),t.NdJ("ngModelChange",function(r){return n.username=r}),t.qZA()(),t.TgZ(8,"nz-form-item")(9,"nz-form-label"),t._uU(10,"Name"),t.qZA(),t.TgZ(11,"input",4),t.NdJ("ngModelChange",function(r){return n.name=r}),t.qZA()(),t.TgZ(12,"nz-form-item")(13,"nz-form-label",3),t._uU(14,"Email"),t.qZA(),t.TgZ(15,"input",4),t.NdJ("ngModelChange",function(r){return n.email=r}),t.qZA()(),t.TgZ(16,"nz-form-item")(17,"nz-form-label"),t._uU(18,"User Bio"),t.qZA(),t.TgZ(19,"textarea",5),t.NdJ("ngModelChange",function(r){return n.bio=r}),t.qZA()(),t.TgZ(20,"nz-form-item")(21,"nz-form-label"),t._uU(22,"Country"),t.qZA(),t.TgZ(23,"nz-select",6),t.NdJ("ngModelChange",function(r){return n.countryId=r}),t.YNc(24,ie,1,2,"nz-option",7),t.ALo(25,"ngrxPush"),t.qZA()(),t.TgZ(26,"nz-form-item")(27,"nz-form-label"),t._uU(28,"Area of Expertise"),t.qZA(),t.TgZ(29,"nz-select",8),t.NdJ("ngModelChange",function(r){return n.areaOfExpertise=r}),t._UZ(30,"nz-option",9)(31,"nz-option",10)(32,"nz-option",11),t.qZA()(),t.TgZ(33,"nz-form-item")(34,"nz-form-label"),t._uU(35,"ORCID Identifier"),t.qZA(),t.TgZ(36,"input",4),t.NdJ("ngModelChange",function(r){return n.orcid=r}),t.qZA()(),t.TgZ(37,"nz-form-item")(38,"nz-form-label"),t._uU(39,"Personal Website"),t.qZA(),t.TgZ(40,"input",4),t.NdJ("ngModelChange",function(r){return n.url=r}),t.qZA()(),t.TgZ(41,"nz-form-item")(42,"nz-form-label"),t._uU(43,"Twitter Handle"),t.qZA(),t.TgZ(44,"input",4),t.NdJ("ngModelChange",function(r){return n.twitterHandle=r}),t.qZA()(),t.TgZ(45,"nz-form-item")(46,"nz-form-label"),t._uU(47,"Facebook Profile"),t.qZA(),t.TgZ(48,"input",4),t.NdJ("ngModelChange",function(r){return n.facebookProfile=r}),t.qZA()(),t.TgZ(49,"nz-form-item")(50,"nz-form-label"),t._uU(51,"LinkedIn Profile"),t.qZA(),t.TgZ(52,"input",4),t.NdJ("ngModelChange",function(r){return n.linkedinProfile=r}),t.qZA()(),t.TgZ(53,"nz-form-item")(54,"button",12),t.NdJ("click",function(){return n.updateProfile()}),t._uU(55," Update Profile "),t.qZA()()()()),2&o&&(t.xp6(1),t.Q6J("ngIf",n.success),t.xp6(1),t.Q6J("ngIf",n.errorMessages.length>0),t.xp6(1),t.Q6J("nzSpinning",n.loading),t.xp6(4),t.Q6J("ngModel",n.username),t.xp6(4),t.Q6J("ngModel",n.name),t.xp6(4),t.Q6J("ngModel",n.email),t.xp6(4),t.Q6J("ngModel",n.bio),t.xp6(4),t.Q6J("ngModel",n.countryId),t.xp6(1),t.Q6J("ngForOf",t.lcZ(25,16,n.countries$)),t.xp6(5),t.Q6J("ngModel",n.areaOfExpertise),t.xp6(7),t.Q6J("ngModel",n.orcid),t.xp6(4),t.Q6J("ngModel",n.url),t.xp6(4),t.Q6J("ngModel",n.twitterHandle),t.xp6(4),t.Q6J("ngModel",n.facebookProfile),t.xp6(4),t.Q6J("ngModel",n.linkedinProfile),t.xp6(2),t.Q6J("disabled",n.loading||!n.username||!n.email))},dependencies:[s.sg,s.O5,J.Fj,J.JJ,J.On,y.t3,y.SK,R.Nx,R.iK,I.bd,Q.r,Z.ix,gt.w,bt.dQ,U.W,d.Ip,d.Vq,ne.V,O.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-form-item[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"]});var ae=a(8992),G=a(2233),se=a(7881),q=a(529);class rt{constructor(o){this.http=o,this.uploadComplete=new t.vpe}processProfileImage(o){if(o&&o[0]){let n=new FormData;n.append("image",o[0],o[0].name),this.uploadSubscription=this.http.post("/api/upload_profile_image",n).subscribe(l=>this.uploadComplete.emit(!0),l=>this.uploadComplete.emit(!1))}}ngOnDestroy(){this.uploadSubscription?.unsubscribe()}}rt.\u0275fac=function(o){return new(o||rt)(t.Y36(q.eN))},rt.\u0275cmp=t.Xpm({type:rt,selectors:[["cvc-avatar-uploader"]],outputs:{uploadComplete:"uploadComplete"},decls:4,vars:0,consts:[["type","file","accept","image/*",2,"display","none",3,"change"],["profileImage",""],["nz-button","","nzSize","small","nzType","link",3,"click"]],template:function(o,n){if(1&o){const l=t.EpF();t.TgZ(0,"input",0,1),t.NdJ("change",function(){t.CHM(l);const u=t.MAs(1);return t.KtG(n.processProfileImage(u.files))}),t.qZA(),t.TgZ(2,"button",2),t.NdJ("click",function(){t.CHM(l);const u=t.MAs(1);return t.KtG(u.click())}),t._uU(3," Upload Image\n"),t.qZA()}},dependencies:[Z.ix,gt.w],encapsulation:2});var re=a(5749),le=a(7893),ce=a(2338);function pe(i,o){if(1&i){const n=t.EpF();t.TgZ(0,"nz-alert",35),t.NdJ("nzOnClose",function(){t.CHM(n);const r=t.oxw(2);return t.KtG(r.uploadError=!1)}),t.qZA()}}function X(i,o){if(1&i){const n=t.EpF();t.TgZ(0,"nz-alert",36),t.NdJ("nzOnClose",function(){t.CHM(n);const r=t.oxw(2);return t.KtG(r.updateSuccess=!1)}),t.qZA()}}function tt(i,o){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"cvc-avatar-uploader",37),t.NdJ("uploadComplete",function(r){t.CHM(n);const u=t.oxw(2);return t.KtG(u.profileUploadComplete(r))}),t.qZA(),t.BQk()}}function c(i,o){if(1&i&&(t.TgZ(0,"a",39),t._UZ(1,"i",40),t.qZA()),2&i){const n=t.oxw(2).ngIf;t.MGl("href","http://twitter.com/",n.twitterHandle,"",t.LSH)}}function p(i,o){1&i&&(t.ynx(0),t.YNc(1,c,2,1,"a",38),t.BQk())}function g(i,o){if(1&i&&(t.TgZ(0,"a",39),t._UZ(1,"i",41),t.qZA()),2&i){const n=t.oxw(2).ngIf;t.MGl("href","http://facebook.com/",n.facebookProfile,"",t.LSH)}}function v(i,o){1&i&&(t.ynx(0),t.YNc(1,g,2,1,"a",38),t.BQk())}function h(i,o){if(1&i&&(t.TgZ(0,"a",39),t._UZ(1,"i",42),t.qZA()),2&i){const n=t.oxw(2).ngIf;t.MGl("href","http://linkedin.com/in/",n.linkedinProfile,"",t.LSH)}}function M(i,o){1&i&&(t.ynx(0),t.YNc(1,h,2,1,"a",38),t.BQk())}function me(i,o){if(1&i&&(t.TgZ(0,"a",39),t._UZ(1,"img",43),t.qZA()),2&i){const n=t.oxw(2).ngIf;t.MGl("href","https://orcid.org/",n.orcid,"",t.LSH)}}function fe(i,o){1&i&&(t.ynx(0),t.YNc(1,me,2,1,"a",38),t.BQk())}function he(i,o){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",44),t.NdJ("click",function(){t.CHM(n);const r=t.oxw(3);return t.KtG(r.updateProfileModalVisible=!0)}),t._uU(2," Edit Profile "),t.qZA(),t.BQk()}}function Ce(i,o){if(1&i&&(t.YNc(0,he,3,0,"ng-container",0),t.ALo(1,"ngrxPush")),2&i){const n=t.oxw(2);t.Q6J("ngIf",t.lcZ(1,1,n.ownProfile$))}}function ze(i,o){if(1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"enumToTitle"),t.BQk()),2&i){const n=t.oxw().ngIf;t.xp6(1),t.hij(" ",t.lcZ(2,1,n.areaOfExpertise)," ")}}function ve(i,o){1&i&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"Unspecified"),t.qZA()(),t.BQk())}function Te(i,o){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const n=t.oxw().ngIf;t.xp6(1),t.hij(" ",n.country.name," ")}}function xe(i,o){1&i&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"Unspecified"),t.qZA()(),t.BQk())}function be(i,o){1&i&&t._UZ(0,"cvc-organization-tag",47),2&i&&t.Q6J("org",o.$implicit)}function Ue(i,o){if(1&i&&(t.ynx(0),t.YNc(1,be,1,1,"cvc-organization-tag",46),t.BQk()),2&i){const n=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",n.organizations)}}function Me(i,o){1&i&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"User is not a member of any Organizations."),t.qZA()(),t.BQk())}function ye(i,o){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const n=t.oxw().ngIf;t.xp6(1),t.hij(" ",n.bio," ")}}function Ze(i,o){1&i&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"User has not provided a bio."),t.qZA()(),t.BQk())}function Ae(i,o){1&i&&t._uU(0," Editor Conflict of Interest Statement ")}function Oe(i,o){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",51),t.NdJ("click",function(){t.CHM(n);const r=t.oxw(4);return t.KtG(r.updateCoiModalVisible=!0)}),t._uU(2," Update COI "),t.qZA(),t.BQk()}}function Pe(i,o){if(1&i&&(t.YNc(0,Oe,3,0,"ng-container",0),t.ALo(1,"ngrxPush")),2&i){const n=t.oxw(3);t.Q6J("ngIf",t.lcZ(1,1,n.ownProfile$))}}function Ne(i,o){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const n=t.oxw(3).ngIf;t.xp6(1),t.hij(" ",n.mostRecentConflictOfInterestStatement.coiStatement," ")}}function Se(i,o){1&i&&t._uU(0," I do not have any potential conflicts of interest. ")}function Ie(i,o){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-descriptions-item",52),t._uU(2),t.ALo(3,"enumToTitle"),t.qZA(),t.TgZ(4,"nz-descriptions-item",53),t._uU(5),t.ALo(6,"date"),t.qZA(),t.TgZ(7,"nz-descriptions-item",54),t._uU(8),t.ALo(9,"date"),t.qZA(),t.TgZ(10,"nz-descriptions-item",55),t.YNc(11,Ne,2,1,"ng-container",56),t.YNc(12,Se,1,0,"ng-template",null,57,t.W1O),t.qZA(),t.BQk()),2&i){const n=t.MAs(13),l=t.oxw(2).ngIf;t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.lcZ(3,9,l.mostRecentConflictOfInterestStatement.coiStatus)," "),t.xp6(2),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.xi3(6,11,l.mostRecentConflictOfInterestStatement.createdAt,"shortDate")," "),t.xp6(2),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.xi3(9,14,l.mostRecentConflictOfInterestStatement.expiresAt,"shortDate")," "),t.xp6(2),t.Q6J("nzSpan",3),t.xp6(1),t.Q6J("ngIf",l.mostRecentConflictOfInterestStatement.coiPresent)("ngIfElse",n)}}function Je(i,o){1&i&&(t.ynx(0),t.TgZ(1,"nz-descriptions-item",52),t._uU(2,"None on file."),t.qZA(),t.BQk()),2&i&&(t.xp6(1),t.Q6J("nzSpan",3))}function Qe(i,o){if(1&i&&(t.TgZ(0,"nz-descriptions",48),t.YNc(1,Ae,1,0,"ng-template",null,49,t.W1O),t.YNc(3,Pe,2,3,"ng-template",null,50,t.W1O),t.YNc(5,Ie,14,17,"ng-container",0),t.YNc(6,Je,3,1,"ng-container",0),t.qZA()),2&i){const n=t.MAs(2),l=t.MAs(4),r=t.oxw().ngIf;t.Q6J("nzTitle",n)("nzExtra",l)("nzColumn",3),t.xp6(5),t.Q6J("ngIf",r.mostRecentConflictOfInterestStatement),t.xp6(1),t.Q6J("ngIf",!r.mostRecentConflictOfInterestStatement)}}function Ee(i,o){1&i&&(t.TgZ(0,"span"),t._uU(1,"Edit Profile"),t.qZA())}function we(i,o){if(1&i){const n=t.EpF();t.TgZ(0,"cvc-user-profile-form",58),t.NdJ("profileUpdatedEvent",function(){t.CHM(n);const r=t.oxw(2);return t.KtG(r.profileUpdated())}),t.qZA()}if(2&i){const n=t.oxw().ngIf;t.Q6J("user",n)}}function De(i,o){if(1&i){const n=t.EpF();t.ynx(0),t._UZ(1,"cvc-section-navigation",4),t.TgZ(2,"nz-page-header",5)(3,"nz-page-header-content"),t.YNc(4,pe,1,0,"nz-alert",6),t.YNc(5,X,1,0,"nz-alert",7),t.TgZ(6,"div",8)(7,"nz-row",9)(8,"nz-col",10)(9,"div",11),t._UZ(10,"cvc-user-avatar",12),t.qZA(),t.TgZ(11,"div",13)(12,"span",14)(13,"strong"),t._uU(14),t.qZA()(),t.YNc(15,tt,2,0,"ng-container",0),t.ALo(16,"ngrxPush"),t.qZA(),t.TgZ(17,"div",15)(18,"nz-space",16),t.YNc(19,p,2,0,"ng-container",0),t.YNc(20,v,2,0,"ng-container",0),t.YNc(21,M,2,0,"ng-container",0),t.YNc(22,fe,2,0,"ng-container",0),t.qZA()()(),t.TgZ(23,"nz-col",10)(24,"nz-card",17),t.YNc(25,Ce,2,3,"ng-template",null,18,t.W1O),t.TgZ(27,"nz-descriptions",19)(28,"nz-descriptions-item",20),t._uU(29),t.qZA(),t.TgZ(30,"nz-descriptions-item",21),t._uU(31),t.qZA(),t.TgZ(32,"nz-descriptions-item",22),t._uU(33),t.ALo(34,"enumToTitle"),t.qZA(),t.TgZ(35,"nz-descriptions-item",23),t.YNc(36,ze,3,3,"ng-container",0),t.YNc(37,ve,4,0,"ng-container",0),t.qZA(),t.TgZ(38,"nz-descriptions-item",24),t.YNc(39,Te,2,1,"ng-container",0),t.YNc(40,xe,4,0,"ng-container",0),t.qZA(),t.TgZ(41,"nz-descriptions-item",25),t.YNc(42,Ue,2,1,"ng-container",0),t.YNc(43,Me,4,0,"ng-container",0),t.qZA()(),t.TgZ(44,"nz-descriptions",26)(45,"nz-descriptions-item",27),t.YNc(46,ye,2,1,"ng-container",0),t.YNc(47,Ze,4,0,"ng-container",0),t.qZA()(),t.YNc(48,Qe,7,5,"nz-descriptions",28),t.qZA()(),t.TgZ(49,"nz-col",10)(50,"nz-card",29),t._UZ(51,"cvc-stats-card",30),t.qZA()()()(),t._UZ(52,"cvc-tab-navigation",31),t.ALo(53,"ngrxPush"),t.TgZ(54,"div",32),t._UZ(55,"router-outlet"),t.qZA()()(),t.TgZ(56,"nz-modal",1),t.NdJ("nzVisibleChange",function(r){t.CHM(n);const u=t.oxw();return t.KtG(u.updateProfileModalVisible=r)})("nzOnCancel",function(){t.CHM(n);const r=t.oxw();return t.KtG(r.handleProfileModalCancel())}),t.YNc(57,Ee,2,0,"ng-template",null,33,t.W1O),t.YNc(59,we,1,1,"ng-template",null,34,t.W1O),t.qZA(),t.BQk()}if(2&i){const n=o.ngIf,l=t.MAs(26),r=t.MAs(58),u=t.MAs(60),w=t.oxw();t.xp6(1),t.Q6J("displayName",n.displayName),t.xp6(3),t.Q6J("ngIf",w.uploadError),t.xp6(1),t.Q6J("ngIf",w.updateSuccess),t.xp6(2),t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",3),t.xp6(2),t.Q6J("user",n)("size",128),t.xp6(4),t.Oqu(n.name),t.xp6(1),t.Q6J("ngIf",t.lcZ(16,42,w.ownProfile$)),t.xp6(4),t.Q6J("ngIf",n.twitterHandle),t.xp6(1),t.Q6J("ngIf",n.facebookProfile),t.xp6(1),t.Q6J("ngIf",n.linkedinProfile),t.xp6(1),t.Q6J("ngIf",n.orcid),t.xp6(1),t.Q6J("nzSpan",13),t.xp6(1),t.Q6J("nzExtra",l),t.xp6(3),t.Q6J("nzColumn",7),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.hij(" ",n.name," "),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.hij(" ",n.username," "),t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.lcZ(34,44,n.role)," "),t.xp6(2),t.Q6J("nzSpan",2),t.xp6(1),t.Q6J("ngIf",n.areaOfExpertise),t.xp6(1),t.Q6J("ngIf",!n.areaOfExpertise),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.Q6J("ngIf",n.country),t.xp6(1),t.Q6J("ngIf",!n.country),t.xp6(1),t.Q6J("nzSpan",5),t.xp6(1),t.Q6J("ngIf",n.organizations.length>0),t.xp6(1),t.Q6J("ngIf",0===n.organizations.length),t.xp6(2),t.Q6J("nzSpan",4),t.xp6(1),t.Q6J("ngIf",n.bio),t.xp6(1),t.Q6J("ngIf",!n.bio),t.xp6(1),t.Q6J("ngIf","EDITOR"===n.role||"ADMIN"===n.role),t.xp6(1),t.Q6J("nzSpan",8),t.xp6(2),t.Q6J("stats",n.statsHash),t.xp6(1),t.Q6J("tabs",t.lcZ(53,46,w.tabs$)),t.xp6(4),t.Q6J("nzVisible",w.updateProfileModalVisible)("nzContent",u)("nzTitle",r)("nzFooter",null)}}function Le(i,o){1&i&&(t.TgZ(0,"span"),t._uU(1,"Update your Conflict of Interest Statement"),t.qZA())}function Fe(i,o){if(1&i){const n=t.EpF();t.TgZ(0,"cvc-user-coi-form",59),t.NdJ("coiUpdatedEvent",function(){t.CHM(n);const r=t.oxw();return t.KtG(r.coiUpdated())}),t.qZA()}}class vt{constructor(o,n,l){this.gql=o,this.viewerService=n,this.route=l,this.ownProfile$=new yt.X(!1),this.uploadError=!1,this.updateSuccess=!1,this.updateCoiModalVisible=!1,this.updateProfileModalVisible=!1,this.defaultTabs=[{routeName:"activity",tabLabel:"Activity",iconName:"civic-event"},{routeName:"evidence",tabLabel:"Evidence Items",iconName:"civic-evidence"},{routeName:"assertions",tabLabel:"Assertions",iconName:"civic-assertion"},{routeName:"source-suggestions",tabLabel:"Source Suggestions",iconName:"file-add"}],this.tabs$=new yt.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(r=>{this.queryRef=this.gql.watch({userId:+r.userId});let u=this.queryRef.valueChanges;this.loading$=u.pipe((0,Mt.j)("loading"),(0,Tt.O)(!0)),this.user$=u.pipe((0,Mt.j)("data","user")),this.viewerSub=this.viewerService.viewer$.subscribe(w=>{w.id===+r.userId&&(this.tabs$.next([...this.defaultTabs,{routeName:"notifications",tabLabel:"Notifications",iconName:"bell"}]),this.ownProfile$.next(!0))})})}ngOnDestroy(){this.routeSub.unsubscribe(),this.viewerSub?.unsubscribe()}profileUploadComplete(o){o?(this.queryRef?.refetch(),this.updateSuccess=!0):this.uploadError=!0}coiUpdated(){this.updateCoiModalVisible=!1,this.queryRef?.refetch()}profileUpdated(){this.updateProfileModalVisible=!1,this.queryRef?.refetch()}handleCoiModalCancel(){this.updateCoiModalVisible=!1}handleProfileModalCancel(){this.updateProfileModalVisible=!1}}vt.\u0275fac=function(o){return new(o||vt)(t.Y36(T.sLD),t.Y36(Xt.a),t.Y36(C.gz))},vt.\u0275cmp=t.Xpm({type:vt,selectors:[["users-detail"]],decls:7,vars:7,consts:[[4,"ngIf"],[3,"nzVisible","nzContent","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],["coiModalTitle",""],["coiModalContent",""],[3,"displayName"],[1,"site-page-header"],["nzType","error","nzCloseable","","nzMessage","There was an error updating your profile image.",3,"nzOnClose",4,"ngIf"],["nzType","success","nzCloseable","","nzMessage","Profile image successfully updated.",3,"nzOnClose",4,"ngIf"],[1,"profile-content"],[3,"nzGutter"],[3,"nzSpan"],[1,"user-avatar"],[3,"user","size"],[1,"user-name"],["nz-typography",""],[1,"user-socials"],["nzAlign","center"],["nzTitle","Profile","nzSize","small",1,"user-profile",3,"nzExtra"],["updateProfile",""],["nzBordered","","nzLayout","vertical","nzSize","small",3,"nzColumn"],["nzTitle","Name",3,"nzSpan"],["nzTitle","User Name",3,"nzSpan"],["nzTitle","Role",3,"nzSpan"],["nzTitle","Area of Expertise",3,"nzSpan"],["nzTitle","Country",3,"nzSpan"],["nzTitle","Organizations",3,"nzSpan"],["nzBordered","","nzLayout","vertical","nzSize","small",1,"user-bio"],["nzTitle","Bio",3,"nzSpan"],["nzBordered","","class","user-coi","nzSize","small",3,"nzTitle","nzExtra","nzColumn",4,"ngIf"],["nzSize","small","nzTitle","Curation Stats"],["header","User Statistics",3,"stats"],[3,"tabs"],[1,"content"],["profileModalTitle",""],["profileModalContent",""],["nzType","error","nzCloseable","","nzMessage","There was an error updating your profile image.",3,"nzOnClose"],["nzType","success","nzCloseable","","nzMessage","Profile image successfully updated.",3,"nzOnClose"],[3,"uploadComplete"],["target","_blank",3,"href",4,"nzSpaceItem"],["target","_blank",3,"href"],["nz-icon","","nzType","twitter","nzTheme","outline"],["nz-icon","","nzType","facebook","nzTheme","outline"],["nz-icon","","nzType","linkedin","nzTheme","outline"],["src","/assets/images/orcid-logo.svg","alt","ORCID Logo",1,"orcid-logo"],["nz-button","","nzSize","small","nzType","link",3,"click"],["nz-typography","","nzType","secondary"],[3,"org",4,"ngFor","ngForOf"],[3,"org"],["nzBordered","","nzSize","small",1,"user-coi",3,"nzTitle","nzExtra","nzColumn"],["coiTitle",""],["updateCoi",""],["nz-button","","nzType","link","nzSize","small",3,"click"],["nzTitle","Status",3,"nzSpan"],["nzTitle","Updated",3,"nzSpan"],["nzTitle","Expires",3,"nzSpan"],["nzTitle","Statement",3,"nzSpan"],[4,"ngIf","ngIfElse"],["noStatement",""],[3,"user","profileUpdatedEvent"],[3,"coiUpdatedEvent"]],template:function(o,n){if(1&o&&(t.YNc(0,De,61,48,"ng-container",0),t.ALo(1,"ngrxPush"),t.TgZ(2,"nz-modal",1),t.NdJ("nzVisibleChange",function(r){return n.updateCoiModalVisible=r})("nzOnCancel",function(){return n.handleCoiModalCancel()}),t.YNc(3,Le,2,0,"ng-template",null,2,t.W1O),t.YNc(5,Fe,1,0,"ng-template",null,3,t.W1O),t.qZA()),2&o){const l=t.MAs(4),r=t.MAs(6);t.Q6J("ngIf",t.lcZ(1,5,n.user$)),t.xp6(2),t.Q6J("nzVisible",n.updateCoiModalVisible)("nzContent",r)("nzTitle",l)("nzFooter",null)}},dependencies:[s.sg,s.O5,C.lC,Q.r,y.t3,y.SK,e.$O,e.u5,b.NU,b.$1,Y.R7,Y.uj,I.bd,ct.du,D.Ls,Zt.ZU,Z.ix,gt.w,te.t,S,ae.I,G.P,se.L,rt,re.m,le.z,s.uU,O.fM,ce.I],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}[_nghost-%COMP%] .user-profile .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .user-profile .ant-descriptions-view{border:none}[_nghost-%COMP%] .user-profile nz-descriptions.is-editor .ant-descriptions-view{border-bottom:1px solid #f0f0f0}[_nghost-%COMP%] .user-profile .user-bio .ant-descriptions-view{border-top:1px solid #f0f0f0}[_nghost-%COMP%] .user-profile .user-coi .ant-descriptions-header{margin:0;padding:0 12px;border-top:1px solid #f0f0f0}[_nghost-%COMP%] .user-profile .user-coi .ant-descriptions-header .ant-descriptions-title{padding:6px 0;font-weight:400;font-size:12px;font-weight:500}[_nghost-%COMP%] .user-profile .user-coi .ant-descriptions-view{border-top:1px solid #f0f0f0}[_nghost-%COMP%] .profile-content{margin-top:8px;margin-bottom:16px}[_nghost-%COMP%] .user-socials i{font-size:16px;color:#000}[_nghost-%COMP%] .orcid-logo{width:16px;margin-top:-4px}[_nghost-%COMP%] .content{margin-bottom:8px}[_nghost-%COMP%] .user-avatar{text-align:center}[_nghost-%COMP%] .user-socials{text-align:center}[_nghost-%COMP%] .user-name{text-align:center;font-size:120%}"]});const ke=[{path:"",component:vt,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",pathMatch:"full",redirectTo:"activity"},{path:"evidence",component:it,data:{breadcrumb:"Evidence"}},{path:"assertions",component:B,data:{breadcrumb:"Assertions"}},{path:"activity",component:ot,data:{breadcrumb:"Activity"}},{path:"source-suggestions",component:N,data:{breadcrumb:"Source Suggestions"}},{path:"notifications",component:E,data:{breadcrumb:"Notifications"}}]}];class _t{}_t.\u0275fac=function(o){return new(o||_t)},_t.\u0275mod=t.oAB({type:_t}),_t.\u0275inj=t.cJS({imports:[C.Bz.forChild(ke),C.Bz]});class mt{}mt.\u0275fac=function(o){return new(o||mt)},mt.\u0275mod=t.oAB({type:mt}),mt.\u0275inj=t.cJS({imports:[s.ez,C.Bz,_t,O._N,O.pP,Q.L,y.Jb,e.KJ,b.zf,Y.q6,I.vh,nt.S,ct.Qp,et.A2,D.PV,Zt.ZJ,Z.sL,_.e,m,$.s,z.D,x.c,j.H,L,lt.L,f.C]})},3218:(Pt,k,a)=>{a.r(k),a.d(k,{UsersModule:()=>tt});var W,s=a(6895),z=a(9116),e=a(4650),C=a(5655),x=a(1102),b=a(3679),j=a(6616),Z=a(7044),D=a(6903),t=a(8823),L=a(8992),Y=a(655),lt=a(3154),y=a(7630),$=a(9933),O=a(1135),I=a(7579),et=a(3240),nt=a(1884),ct=a(2529),J=a(5684),Q=a(9300),R=a(4004),ft=a(8372),ht=a(1365),U=a(6579),d=a(4006),m=a(1971),_=a(8231),f=a(6675),K=a(6672),B=a(7570),T=a(5851),Nt=a(7451),ot=a(2166),St=a(3388),it=a(3667),Ct=a(9947),pt=a(392),A=a(125),P=a(2635),Tt=a(2338),xt=a(5083);function gt(c,p){}function bt(c,p){if(1&c&&(e.ynx(0),e.TgZ(1,"nz-card",5),e.YNc(2,gt,0,0,"ng-template",6),e.qZA(),e.BQk()),2&c){e.oxw();const g=e.MAs(6),v=e.MAs(8),h=e.MAs(4);e.xp6(1),e.Q6J("nzTitle",g)("nzExtra",v),e.xp6(1),e.Q6J("ngTemplateOutlet",h)}}function It(c,p){}const Ut=function(c){return{height:c}};function Jt(c,p){if(1&c&&(e.TgZ(0,"div",7)(1,"nz-card",8),e.YNc(2,It,0,0,"ng-template",6),e.qZA()()),2&c){const g=e.oxw(),v=e.MAs(6),h=e.MAs(8),M=e.MAs(4);e.Q6J("ngStyle",e.VKq(4,Ut,g.cvcHeight)),e.xp6(1),e.Q6J("nzTitle",v)("nzExtra",h),e.xp6(1),e.Q6J("ngTemplateOutlet",M)}}function Qt(c,p){if(1&c&&(e.ynx(0),e._uU(1),e.BQk()),2&c){const g=e.oxw().$implicit;e.xp6(1),e.hij(" ",g.name," ")}}function Et(c,p){1&c&&(e.TgZ(0,"i",39),e._uU(1,"Not specified"),e.qZA())}function wt(c,p){if(1&c&&(e.TgZ(0,"div"),e._UZ(1,"cvc-tag-overflow",40),e.qZA()),2&c){const g=e.oxw().$implicit,v=e.oxw(2);e.xp6(1),e.Q6J("maxDisplayCount",1)("tags",g.organizations)("matchingText",v.orgNameInput)}}function Dt(c,p){1&c&&(e.TgZ(0,"i",39),e._uU(1,"None specified"),e.qZA())}function Lt(c,p){if(1&c&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&c){const g=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,g.mostRecentActionTimestamp)," ")}}function Ft(c,p){1&c&&e._uU(0," -- ")}function kt(c,p){if(1&c&&(e.TgZ(0,"tr",31)(1,"td",23),e._UZ(2,"cvc-user-tag",32),e.qZA(),e.TgZ(3,"td",33),e.YNc(4,Qt,2,1,"ng-container",0),e.YNc(5,Et,2,0,"ng-template",null,34,e.W1O),e.qZA(),e.TgZ(7,"td"),e.YNc(8,wt,2,3,"div",0),e.YNc(9,Dt,2,0,"ng-template",null,35,e.W1O),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.ALo(13,"enumToTitle"),e.qZA(),e.TgZ(14,"td",36),e.YNc(15,Lt,3,3,"ng-container",0),e.YNc(16,Ft,1,0,"ng-template",null,37,e.W1O),e.qZA(),e.TgZ(18,"td",38),e._uU(19),e.qZA(),e.TgZ(20,"td",38),e._uU(21),e.qZA()()),2&c){const g=p.$implicit,v=e.MAs(6),h=e.MAs(10),M=e.MAs(17);e.xp6(2),e.Q6J("user",g),e.xp6(2),e.Q6J("ngIf",g.name)("ngIfElse",v),e.xp6(4),e.Q6J("ngIf",g.organizations.length>0)("ngIfElse",h),e.xp6(4),e.hij(" ",e.lcZ(13,10,g.role)," "),e.xp6(3),e.Q6J("ngIf",g.mostRecentActionTimestamp)("ngIfElse",M),e.xp6(4),e.hij(" ",g.statsHash.submittedEvidenceItems," "),e.xp6(2),e.hij(" ",g.statsHash.revisions," ")}}const Yt=function(){return[]},$t=function(){return{x:"680px",y:"800px"}};function Rt(c,p){if(1&c){const g=e.EpF();e.TgZ(0,"nz-table",9,10),e.NdJ("cvcTableScrollOnScroll",function(h){e.CHM(g);const M=e.oxw();return e.KtG(M.scrollEvent$.next(h))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.TgZ(6,"thead",11),e.NdJ("nzSortOrderChange",function(h){e.CHM(g);const M=e.oxw();return e.KtG(M.sortChange$.next(h))}),e.TgZ(7,"tr",12)(8,"th",13),e._uU(9," User "),e.qZA(),e.TgZ(10,"th",14),e._uU(11," Name "),e.qZA(),e.TgZ(12,"th",15),e._uU(13,"Organizations"),e.qZA(),e.TgZ(14,"th",16),e._uU(15," Role "),e.qZA(),e.TgZ(16,"th",17),e._uU(17," Last Action "),e.qZA(),e.TgZ(18,"th",18),e._UZ(19,"i",19),e._uU(20," Count "),e.qZA(),e.TgZ(21,"th",20),e._UZ(22,"i",21),e._uU(23," Count "),e.qZA()(),e.TgZ(24,"tr",22),e._UZ(25,"th",23),e.TgZ(26,"th")(27,"cvc-clearable-input-filter",24),e.NdJ("inputModelChange",function(h){e.CHM(g);const M=e.oxw();return e.KtG(M.nameInput=h)})("inputModelChange",function(){e.CHM(g);const h=e.oxw();return e.KtG(h.filterChange$.next())}),e.qZA()(),e.TgZ(28,"th")(29,"cvc-clearable-input-filter",24),e.NdJ("inputModelChange",function(h){e.CHM(g);const M=e.oxw();return e.KtG(M.orgNameInput=h)})("inputModelChange",function(){e.CHM(g);const h=e.oxw();return e.KtG(h.filterChange$.next())}),e.qZA()(),e.TgZ(30,"th")(31,"nz-select",25),e.NdJ("ngModelChange",function(){e.CHM(g);const h=e.oxw();return e.KtG(h.filterChange$.next())})("ngModelChange",function(h){e.CHM(g);const M=e.oxw();return e.KtG(M.roleInput=h)}),e._UZ(32,"nz-option",26)(33,"nz-option",27)(34,"nz-option",28),e.qZA()(),e._UZ(35,"th")(36,"th",29)(37,"th",29),e.qZA()(),e.TgZ(38,"tbody"),e.YNc(39,kt,22,12,"ng-template",30),e.qZA()()}if(2&c){const g=e.oxw();e.Q6J("nzData",e.lcZ(2,21,g.row$)||e.DdM(29,Yt))("nzLoading",!e.lcZ(3,23,g.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",g.queryRef)("cvcTableScrollPageInfo",e.lcZ(4,25,g.pageInfo$))("cvcTableScrollToIndex",e.lcZ(5,27,g.scrollIndex$))("nzVirtualForTrackBy",g.trackByIndex)("nzScroll",e.DdM(30,$t))("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(10),e.Q6J("nzColumnKey",g.sortColumns.Name)("nzSortFn",!0),e.xp6(4),e.Q6J("nzColumnKey",g.sortColumns.Role)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",g.sortColumns.LastAction)("nzSortFn",!0),e.xp6(11),e.Q6J("inputModel",g.nameInput),e.xp6(2),e.Q6J("inputModel",g.orgNameInput),e.xp6(2),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",g.roleInput)}}function Bt(c,p){}function Ht(c,p){if(1&c&&(e.ynx(0),e.YNc(1,Bt,0,0,"ng-template",6),e.BQk()),2&c){const g=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",g.cvcTitleTemplate)}}function jt(c,p){if(1&c&&(e.ynx(0),e._uU(1),e.BQk()),2&c){const g=e.oxw(2);e.xp6(1),e.hij(" ",g.cvcTitle," ")}}function Kt(c,p){if(1&c&&(e.YNc(0,Ht,2,1,"ng-container",41),e.YNc(1,jt,2,1,"ng-container",41),e.TgZ(2,"span",42),e._UZ(3,"cvc-table-counts",43),e.qZA()),2&c){const g=e.oxw();e.Q6J("ngIf",g.cvcTitleTemplate),e.xp6(1),e.Q6J("ngIf",g.cvcTitle),e.xp6(2),e.Q6J("cvcTableCountsConnection",g.connection$)}}function Wt(c,p){1&c&&(e.TgZ(0,"nz-tag",46),e._UZ(1,"i",47),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}function Vt(c,p){if(1&c&&(e.YNc(0,Wt,4,0,"nz-tag",44),e.ALo(1,"ngrxPush"),e._UZ(2,"cvc-no-more-rows",45),e.ALo(3,"ngrxPush")),2&c){const g=e.oxw();e.Q6J("ngIf",e.lcZ(1,2,g.moreLoading$)),e.xp6(2),e.Q6J("cvcShowTag",e.lcZ(3,4,g.noMoreRows$))}}let zt=((W=class{set initialUserFilters(p){p&&Object.assign(this,p)}constructor(p,g){this.gql=p,this.cdr=g,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=y.IRu,this.noMoreRows$=new O.X(!1),this.scrollEvent$=new O.X("stop"),this.sortChange$=new I.x,this.filterChange$=new I.x,this.scrollIndex$=new I.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,sortBy:{column:y.IRu.LastAction,direction:y.SrV.Desc}}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,U.j)("loading"),(0,nt.x)(),(0,ct.o)(p=>!1!==p,!0)),this.moreLoading$=this.result$.pipe((0,U.j)("loading"),(0,nt.x)(),(0,J.T)(2)),this.connection$=this.result$.pipe((0,U.j)("data","users"),(0,Q.h)(et.ep)),this.row$=this.connection$.pipe((0,U.j)("edges"),(0,Q.h)(et.ep),(0,R.U)(p=>p.map(g=>g.node))),this.pageInfo$=this.connection$.pipe((0,U.j)("pageInfo"),(0,Q.h)(et.ep)),this.sortChange$.pipe((0,$.t)(this)).subscribe(p=>{this.queryRef.refetch({sortBy:(0,lt._)(p)})}),this.filterChange$.pipe((0,ft.b)(500),(0,$.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,R.U)(p=>"stop"!==p),(0,nt.x)(),(0,$.t)(this)).subscribe(p=>{this.isScrolling=p,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,Q.h)(p=>"bottom"===p),(0,ht.M)(this.pageInfo$),(0,R.U)(([p,g])=>g),(0,$.t)(this)).subscribe(p=>{p.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({userName:this.nameInput?this.nameInput:void 0,orgName:this.orgNameInput?{name:this.orgNameInput}:void 0,userRole:this.roleInput?this.roleInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(p,g){return g?.id}}).\u0275fac=function(p){return new(p||W)(e.Y36(y.tJ6),e.Y36(e.sBO))},W.\u0275cmp=e.Xpm({type:W,selectors:[["cvc-users-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","200px","nzLeft",""],["nzWidth","150px",3,"nzColumnKey","nzSortFn"],["nzWidth","300px"],["nzWidth","80px",3,"nzColumnKey","nzSortFn"],["nzWidth","85px","nzAlign","right",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Revision Count"],["nz-icon","","nzType","civic-revision"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzAllowClear","","nzSize","small","nzPlaceHolder","Any",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","ADMIN","nzLabel","Admin"],["nzValue","CURATOR","nzLabel","Curator"],["nzValue","EDITOR","nzLabel","Editor"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"user"],[1,"overflow-ellipsis"],["nameElse",""],["orgElse",""],["nzAlign","right"],["eventElse",""],["nzRight","","nzAlign","right"],["nz-typography","","nzType","secondary"],["tagType","organization",3,"maxDisplayCount","tags","matchingText"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(p,g){if(1&p&&(e.YNc(0,bt,3,3,"ng-container",0),e.YNc(1,Jt,3,6,"ng-template",null,1,e.W1O),e.YNc(3,Rt,40,31,"ng-template",null,2,e.W1O),e.YNc(5,Kt,4,3,"ng-template",null,3,e.W1O),e.YNc(7,Vt,4,6,"ng-template",null,4,e.W1O)),2&p){const v=e.MAs(2);e.Q6J("ngIf",!g.cvcHeight)("ngIfElse",v)}},dependencies:[s.O5,s.tP,s.PC,d.JJ,d.On,Z.w,m.bd,x.Ls,_.Ip,_.Vq,f.N8,f.qD,f.Uo,f._C,f.Om,f.p0,f.$Z,f.zu,f.qn,f.UX,K.j,B.SY,t.ZU,T.D,Nt.q,ot.p,St.H,it.B,Ct.y,pt.T,A.I,P.fM,Tt.I,xt.x],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),W);zt=(0,Y.gn)([(0,$.c)()],zt);var Gt=a(160);function dt(c,p){1&c&&(e.TgZ(0,"a",13),e._UZ(1,"i",14),e._uU(2," View Contributor Docs "),e.qZA())}class at{constructor(){}ngOnInit(){}}at.\u0275fac=function(p){return new(p||at)},at.\u0275cmp=e.Xpm({type:at,selectors:[["users-home"]],decls:19,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-curator",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/users.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Contributors"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/users.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"]],template:function(p,g){1&p&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),e._UZ(5,"i",3),e.ALo(6,"entityColor"),e.qZA(),e.TgZ(7,"nz-col",4)(8,"h2"),e._uU(9,"Contributors"),e.qZA(),e.TgZ(10,"p",5),e._uU(11," CIViC depends on its users to add to its knowledgebase and curate its content. Anyone may join CIViC as a Curator and begin contributing. "),e.qZA()(),e.TgZ(12,"nz-col",6)(13,"nz-space",7),e.YNc(14,dt,3,0,"a",8),e.qZA()()(),e.TgZ(15,"div",9)(16,"div",10)(17,"div",11),e._UZ(18,"cvc-users-table",12),e.qZA()()()()()),2&p&&(e.xp6(5),e.Q6J("nzTwotoneColor",e.lcZ(6,3,"Curator")),e.xp6(5),e.Q6J("nzEllipsisRows",2),e.xp6(6),e.Q6J("nzSpan",24))},dependencies:[C.$O,C.u5,x.Ls,b.t3,b.SK,j.ix,Z.w,D.NU,D.$1,t.ZU,L.I,zt,Gt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class E{constructor(){}}E.\u0275fac=function(p){return new(p||E)},E.\u0275cmp=e.Xpm({type:E,selectors:[["app-users"]],decls:1,vars:0,template:function(p,g){1&p&&e._UZ(0,"router-outlet")},dependencies:[z.lC],encapsulation:2});const qt=[{path:"",component:E,data:{displayName:"Contributors"},children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:at,data:{displayName:"Home"}},{path:":userId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.resolve().then(a.bind(a,7800)).then(c=>c.UsersDetailModule)}]}]}];class N{}N.\u0275fac=function(p){return new(p||N)},N.\u0275mod=e.oAB({type:N}),N.\u0275inj=e.cJS({imports:[z.Bz.forChild(qt),z.Bz]});var Mt=a(9476),yt=a(4125),Xt=a(4989),Zt=a(2994),te=a(8525),H=a(897),At=a(7946),ut=a(9444),de=a(3111),ue=a(1433),_e=a(9240),Ot=a(7345);class st{}st.\u0275fac=function(p){return new(p||st)},st.\u0275mod=e.oAB({type:st}),st.\u0275inj=e.cJS({imports:[s.ez,d.u5,P._N,P.pP,j.sL,m.vh,x.PV,_.LV,f.HQ,K.X,B.cg,t.ZJ,de.n,ue.c,yt.k,Xt.X,Zt.y,Mt.L,ut.s,te.T,_e.w,H.$,At.x,Ot.W]});var ee=a(5630);class F{}F.\u0275fac=function(p){return new(p||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[s.ez,C.KJ,x.PV,b.Jb,j.sL,D.zf,t.ZJ,ee.D,st,ut.s]});var ne=a(9441);class V{}V.\u0275fac=function(p){return new(p||V)},V.\u0275mod=e.oAB({type:V}),V.\u0275inj=e.cJS({imports:[s.ez,x.PV,ne.s]});var oe=a(7800),ie=a(5291);class S{}S.\u0275fac=function(p){return new(p||S)},S.\u0275mod=e.oAB({type:S}),S.\u0275inj=e.cJS({imports:[s.ez,ie.t]});var ae=a(767);class G{}G.\u0275fac=function(p){return new(p||G)},G.\u0275mod=e.oAB({type:G}),G.\u0275inj=e.cJS({imports:[s.ez,ae.Q]});var se=a(2832);class q{}q.\u0275fac=function(p){return new(p||q)},q.\u0275mod=e.oAB({type:q}),q.\u0275inj=e.cJS({imports:[s.ez,se.W]});var rt=a(5681),re=a(1150),le=a(8213),ce=a(9790),pe=a(3212);class X{}X.\u0275fac=function(p){return new(p||X)},X.\u0275mod=e.oAB({type:X}),X.\u0275inj=e.cJS({imports:[s.ez,d.u5,P._N,P.pP,B.cg,rt.j,b.Jb,j.sL,m.vh,x.PV,le.Wr,ce.FT,pe.E,ut.s,re.N]});class tt{}tt.\u0275fac=function(p){return new(p||tt)},tt.\u0275mod=e.oAB({type:tt}),tt.\u0275inj=e.cJS({imports:[s.ez,z.Bz,P._N,P.pP,N,F,V,oe.UsersDetailModule,S,G,q,X]})}}]); \ No newline at end of file diff --git a/server/public/3241.ac614d68ffc8a17d.js b/server/public/3241.ac614d68ffc8a17d.js new file mode 100644 index 000000000..1ba9e42f0 --- /dev/null +++ b/server/public/3241.ac614d68ffc8a17d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3241],{215:(nt,Z,i)=>{i.d(Z,{m:()=>$});var e=i(5879),a=i(6814),t=i(4190),x=i(5695),P=i(551),M=i(7417),E=i(5676),y=i(7398),w=i(2181),N=i(313),Q=i(2962),U=i(95),L=i(8125),J=i(3317),B=i(7458),D=i(8091);const z=function(p,_){return{displayName:p,profileImagePath:_}};function O(p,_){if(1&p&&(e._UZ(0,"cvc-user-avatar",12),e.TgZ(1,"span",13),e._uU(2),e.qZA()),2&p){const r=e.oxw().ngIf;e.Q6J("user",e.WLB(2,z,r.name,r.profileImagePath)),e.xp6(2),e.Oqu(r.name)}}function m(p,_){if(1&p&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&p){const r=_.ngIf;e.xp6(1),e.Oqu(r)}}function T(p,_){if(1&p&&(e.ynx(0),e.TgZ(1,"cvc-link-tag",14),e._uU(2),e.qZA(),e.BQk()),2&p){const r=e.oxw().ngIf;e.xp6(1),e.Q6J("href",r.url),e.xp6(1),e.hij(" ",r.name," ")}}function I(p,_){if(1&p&&(e.ynx(0),e.TgZ(1,"nz-card",4),e.YNc(2,O,3,5,"ng-template",null,5,e.W1O),e.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),e.YNc(8,m,2,1,"span",9),e.qZA()()()(),e.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),e.YNc(11,T,3,2,"ng-container",9),e.qZA()()(),e.BQk()),2&p){const r=_.ngIf,v=e.MAs(3);e.oxw();const l=e.MAs(4),b=e.MAs(6);e.xp6(1),e.Q6J("nzTitle",v),e.xp6(7),e.Q6J("ngIf",r.description)("ngIfElse",l),e.xp6(1),e.Q6J("nzColumn",2),e.xp6(2),e.Q6J("ngIf",r.url)("ngIfElse",b)}}function u(p,_){1&p&&e._uU(0," Organization has not provided a description.\n")}function h(p,_){1&p&&e._uU(0," -- ")}let d=(()=>{class p{constructor(r){this.gql=r}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,y.U)(({data:r})=>r?.organization),(0,w.h)(E.ep))}}return p.\u0275fac=function(r){return new(r||p)(e.Y36(N.X5f))},p.\u0275cmp=e.Xpm({type:p,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(r,v){1&r&&(e.TgZ(0,"div",0),e.YNc(1,I,12,6,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA(),e.YNc(3,u,1,0,"ng-template",null,2,e.W1O),e.YNc(5,h,1,0,"ng-template",null,3,e.W1O)),2&r&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,v.org$)))},dependencies:[a.O5,Q.bd,U.t3,U.SK,L.R7,L.uj,J.l,B.L,D.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),p})();function S(p,_){}function k(p,_){if(1&p&&(e.ynx(0),e.TgZ(1,"a",4),e.YNc(2,S,0,0,"ng-template",5),e.qZA(),e.BQk()),2&p){const r=e.oxw(),v=e.MAs(2);e.xp6(1),e.MGl("routerLink","/organizations/",r.org.id,""),e.xp6(1),e.Q6J("ngTemplateOutlet",v)}}function q(p,_){}function R(p,_){if(1&p&&e._UZ(0,"cvc-organization-popover",9),2&p){const r=e.oxw(3);e.Q6J("orgId",r.org.id)}}function j(p,_){if(1&p&&e.YNc(0,R,1,1,"cvc-organization-popover",8),2&p){const r=e.oxw(2);e.Q6J("ngIf",r.enablePopover)}}function F(p,_){if(1&p&&(e.TgZ(0,"nz-tag",6),e.YNc(1,q,0,0,"ng-template",5),e.qZA(),e.YNc(2,j,1,1,"ng-template",null,7,e.W1O)),2&p){const r=e.MAs(3);e.oxw();const v=e.MAs(6);e.Q6J("nzPopoverContent",r),e.xp6(1),e.Q6J("ngTemplateOutlet",v)}}function Y(p,_){}function W(p,_){if(1&p&&e.YNc(0,Y,0,0,"ng-template",5),2&p){e.oxw();const r=e.MAs(2);e.Q6J("ngTemplateOutlet",r)}}function H(p,_){if(1&p&&(e._UZ(0,"i",10),e._uU(1)),2&p){const r=e.oxw();e.xp6(1),e.hij(" ",r.org.name,"\n")}}let $=(()=>{class p{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return p.\u0275fac=function(r){return new(r||p)},p.\u0275cmp=e.Xpm({type:p,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(r,v){if(1&r&&(e.YNc(0,k,3,2,"ng-container",0),e.YNc(1,F,4,2,"ng-template",null,1,e.W1O),e.YNc(3,W,1,1,"ng-template",null,2,e.W1O),e.YNc(5,H,2,1,"ng-template",null,3,e.W1O)),2&r){const l=e.MAs(4);e.Q6J("ngIf",v.linked)("ngIfElse",l)}},dependencies:[a.O5,a.tP,t.rH,x.j,P.Ls,M.lU,d],styles:["[_nghost-%COMP%]{display:inline-block}"]}),p})()},3488:(nt,Z,i)=>{i.d(Z,{p:()=>K});var e=i(5879),a=i(6814),t=i(4190),x=i(7398),P=i(2181),M=i(5676),E=i(313),y=i(2962),w=i(551),N=i(2574),Q=i(8125),U=i(4121),L=i(356),J=i(270),B=i(4786),D=i(9408),z=i(5959),O=i(2384),m=i(8091),T=i(2616),I=i(5573);function u(s,C){if(1&s&&(e.TgZ(0,"span"),e._UZ(1,"i",14),e.ALo(2,"entityColor"),e._uU(3),e.qZA()),2&s){const g=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(2,2,"Revision")),e.xp6(2),e.hij(" RID",g.id," ")}}function h(s,C){if(1&s&&e._UZ(0,"cvc-status-tag",15),2&s){const g=e.oxw(2).ngIf;e.Q6J("status",g.status)}}function d(s,C){1&s&&(e.TgZ(0,"nz-space",11),e.YNc(1,u,4,4,"span",12),e.YNc(2,h,1,1,"cvc-status-tag",13),e.qZA())}function S(s,C){if(1&s&&e._UZ(0,"cvc-gene-tag",23),2&s){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("gene",g.subject)}}function k(s,C){if(1&s&&e._UZ(0,"cvc-assertion-tag",24),2&s){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("assertion",g.subject)}}function q(s,C){if(1&s&&e._UZ(0,"cvc-evidence-tag",25),2&s){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("evidence",g.subject)}}function R(s,C){if(1&s&&e._UZ(0,"cvc-variant-tag",26),2&s){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variant",g.subject)}}function j(s,C){if(1&s&&e._UZ(0,"cvc-variant-group-tag",27),2&s){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variantgroup",g.subject)}}function F(s,C){if(1&s&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&s){const g=e.oxw(2).ngIf;e.xp6(1),e.Oqu(g.subject.name)}}function Y(s,C){if(1&s&&(e.ynx(0,16),e.YNc(1,S,1,2,"cvc-gene-tag",17),e.YNc(2,k,1,2,"cvc-assertion-tag",18),e.YNc(3,q,1,2,"cvc-evidence-tag",19),e.YNc(4,R,1,2,"cvc-variant-tag",20),e.YNc(5,j,1,2,"cvc-variant-group-tag",21),e.YNc(6,F,2,1,"span",22),e.BQk()),2&s){const g=e.oxw().ngIf;e.Q6J("ngSwitch",g.subject.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","VariantGroup")}}function W(s,C){if(1&s&&e._UZ(0,"cvc-user-tag",28),2&s){const g=e.oxw().ngIf;e.Q6J("enablePopover",!1)("user",g.revisor)}}function H(s,C){if(1&s&&(e.TgZ(0,"nz-descriptions-item",29),e._uU(1),e.qZA()),2&s){const g=e.oxw().ngIf;e.xp6(1),e.hij(" ",g.creationComment.comment," ")}}function $(s,C){if(1&s&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,d,3,0,"ng-template",null,3,e.W1O),e.YNc(4,Y,7,6,"ng-template",null,4,e.W1O),e.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),e.YNc(8,W,1,2,"cvc-user-tag",7),e.qZA(),e.TgZ(9,"nz-descriptions-item",8),e._uU(10),e.qZA(),e.TgZ(11,"nz-descriptions-item",9),e._uU(12),e.ALo(13,"timeAgo"),e.qZA(),e.YNc(14,H,2,1,"nz-descriptions-item",10),e.qZA()(),e.BQk()),2&s){const g=C.ngIf,G=e.MAs(3),et=e.MAs(5);e.xp6(1),e.Q6J("nzTitle",G)("nzExtra",et),e.xp6(5),e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("ngIf",g.revisor),e.xp6(2),e.hij(" ",g.linkoutData.name," "),e.xp6(2),e.hij(" ",e.lcZ(13,7,g.createdAt)," "),e.xp6(2),e.Q6J("ngIf",g.creationComment)}}let p=(()=>{class s{constructor(g){this.gql=g}ngOnInit(){if(null==this.revisionId)throw new Error("cvc-revision-popover requires valid revisionId input.");this.revision$=this.gql.watch({revisionId:this.revisionId}).valueChanges.pipe((0,x.U)(({data:g})=>g?.revision),(0,P.h)(M.ep))}}return s.\u0275fac=function(g){return new(g||s)(e.Y36(E.otH))},s.\u0275cmp=e.Xpm({type:s,selectors:[["cvc-revision-popover"]],inputs:{revisionId:"revisionId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["subject",""],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Revisor"],[3,"enablePopover","user",4,"ngIf"],["nzTitle","Field"],["nzTitle","Revision Date"],["nzTitle","Creation Comment",4,"ngIf"],[1,"revision-card-title"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],[3,"status"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","variantgroup",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","variantgroup"],[3,"enablePopover","user"],["nzTitle","Creation Comment"]],template:function(g,G){1&g&&(e.TgZ(0,"div",0),e.YNc(1,$,15,9,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&g&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,G.revision$)))},dependencies:[a.O5,a.RF,a.n9,a.ED,y.bd,w.Ls,N.NU,N.$1,Q.R7,Q.uj,U.H,L.I,J.w,B.O,D.I,z.u,O.h,m.fM,T.a,I.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.revision-card-title[_ngcontent-%COMP%]{font-weight:400}"]}),s})();var _=i(5695),r=i(7417);function v(s,C){}function l(s,C){}function b(s,C){if(1&s&&e._UZ(0,"cvc-revision-popover",6),2&s){const g=e.oxw(2);e.Q6J("revisionId",g.revision.id)}}function tt(s,C){if(1&s&&(e.TgZ(0,"nz-tag",4),e.YNc(1,l,0,0,"ng-template",1),e.qZA(),e.YNc(2,b,1,1,"ng-template",null,5,e.W1O)),2&s){const g=e.MAs(3),G=e.oxw(),et=e.MAs(5);e.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",g)("nzPopoverTrigger",G.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",et)}}function V(s,C){if(1&s&&(e._UZ(0,"i",7),e._uU(1)),2&s){const g=e.oxw();e.xp6(1),e.hij(" ",g.revision.name,"\n")}}const ot=function(s){return{revisionSetId:s}};let K=(()=>{class s{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.revision)throw new Error("cvc-revision-tag requires LinkableRevision input, none supplied.")}}return s.\u0275fac=function(g){return new(g||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["cvc-revision-tag"]],inputs:{revision:"revision",subject:"subject",enablePopover:"enablePopover"},decls:6,vars:5,consts:[[3,"routerLink","queryParams"],[3,"ngTemplateOutlet"],["tag",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["revisionPopover",""],[3,"revisionId"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#F0673A"]],template:function(g,G){if(1&g&&(e.TgZ(0,"a",0),e.YNc(1,v,0,0,"ng-template",1),e.qZA(),e.YNc(2,tt,4,4,"ng-template",null,2,e.W1O),e.YNc(4,V,2,1,"ng-template",null,3,e.W1O)),2&g){const et=e.MAs(3);e.Q6J("routerLink",G.revision.link)("queryParams",e.VKq(3,ot,G.revision.revisionSetId)),e.xp6(1),e.Q6J("ngTemplateOutlet",et)}},dependencies:[a.tP,t.rH,p,_.j,w.Ls,r.lU],encapsulation:2}),s})()},6794:(nt,Z,i)=>{i.d(Z,{l:()=>D});var e=i(5879),a=i(6814),t=i(2962),x=i(6976),P=i(551),M=i(2840),E=i(855),y=i(1958);const w=["itemTemplate"],N=function(z){return{$implicit:z}};function Q(z,O){if(1&z){const m=e.EpF();e.TgZ(0,"nz-list-item",5),e.NdJ("click",function(){e.CHM(m);const I=e.oxw().$implicit,u=e.oxw(2);return e.KtG(u.onParticipantSelected(I))}),e.GkF(1,6),e.qZA()}if(2&z){const m=e.oxw().$implicit,T=e.oxw(2);e.ekj("selected-participant",m.id==(null==T.selectedItem?null:T.selectedItem.id)),e.xp6(1),e.Q6J("ngTemplateOutlet",T.itemTemplateRef||null)("ngTemplateOutletContext",e.VKq(4,N,m))}}function U(z,O){if(1&z&&(e.ynx(0),e.YNc(1,Q,2,6,"nz-list-item",4),e.BQk()),2&z){const m=O.index,T=e.oxw(2);e.xp6(1),e.Q6J("ngIf",m+1<=T.defaultListSize)}}function L(z,O){if(1&z){const m=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){e.CHM(m);const I=e.oxw(2);return e.KtG(I.onExpandClicked())}),e._UZ(1,"i",8),e._uU(2," Expand "),e.qZA()}}function J(z,O){if(1&z){const m=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){e.CHM(m);const I=e.oxw(2);return e.KtG(I.onCollapseClicked())}),e._UZ(1,"i",9),e._uU(2," Collapse "),e.qZA()}}function B(z,O){if(1&z&&(e.ynx(0),e.TgZ(1,"nz-card",1)(2,"nz-list"),e.YNc(3,U,2,1,"ng-container",2),e.qZA(),e.YNc(4,L,3,0,"button",3),e.YNc(5,J,3,0,"button",3),e.qZA(),e.BQk()),2&z){const m=e.oxw();e.xp6(1),e.Q6J("nzTitle",m.listTitle),e.xp6(2),e.Q6J("ngForOf",m.participantList),e.xp6(1),e.Q6J("ngIf",m.participantList.length>m.defaultListSize),e.xp6(1),e.Q6J("ngIf",m.isExpanded)}}let D=(()=>{class z{constructor(){this.defaultListSize=5,this.participantSelectedEvent=new e.vpe,this.isExpanded=!1}ngOnInit(){this.preselectedOption&&(this.selectedItem=this.preselectedOption)}onParticipantSelected(m){this.selectedItem=m.id==this.selectedItem?.id?void 0:m,this.participantSelectedEvent.emit(this.selectedItem)}onExpandClicked(){this.originalDefaultListSize=this.defaultListSize,this.defaultListSize=this.participantList.length,this.isExpanded=!0}onCollapseClicked(){this.originalDefaultListSize&&(this.defaultListSize=this.originalDefaultListSize,this.isExpanded=!1)}}return z.\u0275fac=function(m){return new(m||z)},z.\u0275cmp=e.Xpm({type:z,selectors:[["cvc-participant-list"]],contentQueries:function(m,T,I){if(1&m&&e.Suo(I,w,5),2&m){let u;e.iGM(u=e.CRH())&&(T.itemTemplateRef=u.first)}},inputs:{participantList:"participantList",listTitle:"listTitle",defaultListSize:"defaultListSize",preselectedOption:"preselectedOption"},outputs:{participantSelectedEvent:"participantSelectedEvent"},decls:1,vars:1,consts:[[4,"ngIf"],["nz-type","inner",2,"margin-bottom","1em",3,"nzTitle"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nzSize","small","class","participant-list-item",3,"selected-participant","click",4,"ngIf"],["nzSize","small",1,"participant-list-item",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","vertical-align-bottom"],["nz-icon","","nzType","vertical-align-top"]],template:function(m,T){1&m&&e.YNc(0,B,6,4,"ng-container",0),2&m&&e.Q6J("ngIf",T.participantList&&T.participantList.length>0)},dependencies:[a.sg,a.O5,a.tP,t.bd,x.n_,x.AA,P.Ls,M.ix,E.w,y.dQ],styles:[".participant-list-item[_ngcontent-%COMP%]:hover{border:1px solid #40a9ff;cursor:pointer}.participant-list-item[_ngcontent-%COMP%]{padding:2px;margin:2px}.selected-participant[_ngcontent-%COMP%]{background:#40a9ff;color:#fff}"]}),z})()},1595:(nt,Z,i)=>{i.d(Z,{N:()=>E});var e=i(6814),a=i(2962),t=i(6976),x=i(551),P=i(2840),M=i(5879);let E=(()=>{class y{}return y.\u0275fac=function(N){return new(N||y)},y.\u0275mod=M.oAB({type:y}),y.\u0275inj=M.cJS({imports:[e.ez,a.vh,t.Ph,x.PV,P.sL]}),y})()},5959:(nt,Z,i)=>{i.d(Z,{u:()=>_});var e=i(2023),a=i(5879),t=i(6814),x=i(4190),P=i(7417),M=i(5695),E=i(551),y=i(5676),w=i(7398),N=i(2181),Q=i(313),U=i(2962),L=i(8125),J=i(4138),B=i(9408),D=i(1887),z=i(8091),O=i(2616);function m(r,v){if(1&r&&(a._UZ(0,"i",7),a.ALo(1,"entityColor"),a._uU(2)),2&r){const l=a.oxw().ngIf;a.Q6J("nzTwotoneColor",a.lcZ(1,2,"VariantGroup")),a.xp6(2),a.hij(" ",l.name," ")}}function T(r,v){if(1&r&&a._UZ(0,"cvc-variant-tag",10),2&r){const l=v.$implicit;a.Q6J("enablePopover",!1)("variant",l.node)}}function I(r,v){if(1&r&&(a.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),a.YNc(2,T,1,2,"cvc-variant-tag",9),a.qZA()()),2&r){const l=a.oxw().ngIf;a.xp6(2),a.Q6J("ngForOf",l.variants.edges)}}function u(r,v){if(1&r&&a._UZ(0,"cvc-source-tag",13),2&r){const l=v.$implicit;a.Q6J("enablePopover",!1)("source",l)}}function h(r,v){if(1&r&&(a.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),a.YNc(2,u,1,2,"cvc-source-tag",12),a.qZA()()),2&r){const l=a.oxw().ngIf;a.xp6(2),a.Q6J("ngForOf",l.sources)}}function d(r,v){if(1&r&&(a.ynx(0),a.TgZ(1,"nz-card",2),a.YNc(2,m,3,4,"ng-template",null,3,a.W1O),a._uU(4),a.TgZ(5,"nz-descriptions",4),a.YNc(6,I,3,1,"nz-descriptions-item",5),a.YNc(7,h,3,1,"nz-descriptions-item",6),a.qZA()(),a.BQk()),2&r){const l=v.ngIf,b=a.MAs(3);a.xp6(1),a.Q6J("nzTitle",b),a.xp6(3),a.hij(" ",l.description," "),a.xp6(1),a.Q6J("nzColumn",2),a.xp6(1),a.Q6J("ngIf",l.variants.edges.length>0),a.xp6(1),a.Q6J("ngIf",l.sources.length>0)}}let S=(()=>{class r{constructor(l){this.gql=l}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,w.U)(({data:l})=>l?.variantGroup),(0,N.h)(y.ep))}}return r.\u0275fac=function(l){return new(l||r)(a.Y36(Q.Zo2))},r.\u0275cmp=a.Xpm({type:r,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(l,b){1&l&&(a.TgZ(0,"div",0),a.YNc(1,d,8,5,"ng-container",1),a.ALo(2,"ngrxPush"),a.qZA()),2&l&&(a.xp6(1),a.Q6J("ngIf",a.lcZ(2,1,b.variantGroup$)))},dependencies:[t.sg,t.O5,U.bd,L.R7,L.uj,E.Ls,J.T,B.I,D.$,z.fM,O.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),r})();var k=i(3103);function q(r,v){}function R(r,v){if(1&r&&(a.ynx(0),a.TgZ(1,"a",4),a.YNc(2,q,0,0,"ng-template",5),a.qZA(),a.BQk()),2&r){const l=a.oxw(),b=a.MAs(2);a.xp6(1),a.Q6J("routerLink",l.variantgroup.link),a.xp6(1),a.Q6J("ngTemplateOutlet",b)}}function j(r,v){}function F(r,v){if(1&r&&a._UZ(0,"cvc-variant-group-popover",9),2&r){const l=a.oxw(3);a.Q6J("variantGroupId",l.variantgroup.id)}}function Y(r,v){if(1&r&&a.YNc(0,F,1,1,"cvc-variant-group-popover",8),2&r){const l=a.oxw(2);a.Q6J("ngIf",l.enablePopover)}}function W(r,v){if(1&r&&(a.TgZ(0,"nz-tag",6),a.YNc(1,j,0,0,"ng-template",5),a.qZA(),a.YNc(2,Y,1,1,"ng-template",null,7,a.W1O)),2&r){const l=a.MAs(3),b=a.oxw(),tt=a.MAs(6);a.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",l)("nzPopoverTrigger",b.enablePopover?"hover":null),a.xp6(1),a.Q6J("ngTemplateOutlet",tt)}}function H(r,v){}function $(r,v){if(1&r&&a.YNc(0,H,0,0,"ng-template",5),2&r){a.oxw();const l=a.MAs(2);a.Q6J("ngTemplateOutlet",l)}}function p(r,v){if(1&r&&(a.TgZ(0,"cvc-icon-badges",10),a._UZ(1,"i",11),a.ALo(2,"entityColor"),a.qZA(),a._uU(3)),2&r){const l=a.oxw();a.Q6J("flagged",l.variantgroup.flagged)("entityColor",l.iconColor),a.xp6(1),a.Q6J("nzTwotoneColor",a.lcZ(2,4,"VariantGroup")),a.xp6(2),a.hij(" ",l.variantgroup.name,"\n")}}let _=(()=>{class r{set variantgroup(l){if(!l)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=l}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,e.f)("VariantGroup")}}return r.\u0275fac=function(l){return new(l||r)},r.\u0275cmp=a.Xpm({type:r,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(l,b){if(1&l&&(a.YNc(0,R,3,2,"ng-container",0),a.YNc(1,W,4,4,"ng-template",null,1,a.W1O),a.YNc(3,$,1,1,"ng-template",null,2,a.W1O),a.YNc(5,p,4,6,"ng-template",null,3,a.W1O)),2&l){const tt=a.MAs(4);a.Q6J("ngIf",b.linked)("ngIfElse",tt)}},dependencies:[t.O5,t.tP,x.rH,P.lU,M.j,E.Ls,S,k.b,O.a],encapsulation:2,changeDetection:0}),r})()},4710:(nt,Z,i)=>{i.r(Z),i.d(Z,{SourcesModule:()=>Xt});var e=i(6814),a=i(4190),t=i(5879),x=i(6254),P=i(551),M=i(3145),E=i(655),y=i(6223),w=i(2024),N=i(1791);const U=[{wrappers:["form-layout"],props:{submitLabel:"Submit Source Suggestion",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Submit Source Suggestion"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!1,description:"Select a Molecular Profile for this Source Suggestion, if applicable.",watchVariantMolecularProfileId:!0}},{key:"diseaseId",type:"disease-select",props:{}},{key:"sourceId",type:"source-select",wrappers:["form-field"],props:{required:!0}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Source Suggestion"}}]}]}];var m,J=i(313),B=i(7473),D=i(3599),z=i(5545),O=i(4634);function T(n,c){if(1&n&&(t._uU(0," You will be redirected shortly or you may view your Source Suggestion "),t.TgZ(1,"a",4),t._uU(2,"here"),t.qZA(),t._uU(3,". ")),2&n){const o=t.oxw();t.xp6(1),t.Q6J("href",o.url,t.LSH)}}let I=((m=class{constructor(c,o,f){this.submitSourceGQL=c,this.networkErrorService=o,this.cdr=f,this.form=new y.nJ({}),this.model={fields:{}},this.fields=U,this.submitSourceMutator=new w.U(o)}ngOnInit(){this.url="/curation/queues/pending-sources"}onSubmit(c){const o=function L(n){const c=n.fields;if(![n.comment,c.sourceId].find(f=>void 0===f))return{sourceId:c.sourceId,molecularProfileId:c.molecularProfileId,diseaseId:c.diseaseId,organizationId:n.organizationId,comment:n.comment}}(c);o&&(this.mutationState=this.submitSourceMutator.mutate(this.submitSourceGQL,{input:o},void 0,f=>{this.newSourceId=f.suggestSource?.sourceSuggestion.id}))}}).\u0275fac=function(c){return new(c||m)(t.Y36(J.tWC),t.Y36(B.Y),t.Y36(t.sBO))},m.\u0275cmp=t.Xpm({type:m,selectors:[["cvc-source-submit-form"]],decls:5,vars:7,consts:[["entityType","Source",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","modelChange"],[3,"href"]],template:function(c,o){if(1&c&&(t.TgZ(0,"cvc-form-submission-status-display",0),t.YNc(1,T,4,1,"ng-template",null,1,t.W1O),t.TgZ(3,"form",2),t.NdJ("ngSubmit",function(){return o.onSubmit(o.model)}),t.TgZ(4,"formly-form",3),t.NdJ("modelChange",function(A){return o.model=A}),t.qZA()()()),2&c){const f=t.MAs(2);t.Q6J("mutationState",o.mutationState)("redirectUrl",o.url)("successMessage",f),t.xp6(3),t.Q6J("formGroup",o.form),t.xp6(1),t.Q6J("form",o.form)("fields",o.fields)("model",o.model)}},dependencies:[D.Lr,y._Y,y.JL,y.sg,z.T7,O.F]}),m);I=(0,E.gn)([(0,N.c)()],I);var u=i(2616);let h=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-source-add-page"]],decls:11,vars:3,consts:[["displayName","New"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],[1,"content"]],template:function(o,f){1&o&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title"),t._UZ(3,"i",2),t.ALo(4,"entityColor"),t._uU(5," Add a Source Suggestion "),t.qZA(),t.TgZ(6,"nz-page-header-subtitle"),t._uU(7," Submit a promising source for curation "),t.qZA(),t.TgZ(8,"nz-page-header-content")(9,"div",3),t._UZ(10,"cvc-source-submit-form"),t.qZA()()()),2&o&&(t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(4,1,"Assertion")))},dependencies:[x.$O,x.u9,x.yG,x.u5,P.Ls,M.I,I,u.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var d=i(8645),S=i(5619),k=i(7921),q=i(9773),R=i(4223),j=i(951),F=i(8091),Y=i(2840),W=i(855),H=i(1958),$=i(3317),p=i(5098);function _(n,c){1&n&&(t.TgZ(0,"button",10),t._UZ(1,"i",11),t._uU(2," Suggest a New Source "),t.qZA())}function r(n,c){if(1&n&&(t.ynx(0),t.YNc(1,_,3,0,"button",9),t.BQk()),2&n){const o=c.ngrxLet;t.xp6(1),t.Q6J("ngIf",o.signedIn)}}function v(n,c){if(1&n&&t.YNc(0,r,2,1,"ng-container",8),2&n){const o=t.oxw(2);t.Q6J("ngrxLet",o.viewer$)}}function l(n,c){if(1&n&&(t.TgZ(0,"cvc-link-tag",12),t._uU(1),t.qZA()),2&n){const o=t.oxw().ngIf;t.Q6J("href",o.sourceUrl)("tooltip","View on "+o.displayType),t.xp6(1),t.hij(" ",o.displayType+":"+o.citationId," ")}}function b(n,c){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.YNc(2,v,1,1,"ng-template",null,2,t.W1O),t.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title"),t._UZ(6,"i",4),t.ALo(7,"entityColor"),t._uU(8),t.qZA(),t.TgZ(9,"nz-page-header-extra"),t.YNc(10,l,2,3,"cvc-link-tag",5),t.qZA(),t.TgZ(11,"nz-page-header-content"),t._UZ(12,"cvc-tab-navigation",6),t.ALo(13,"ngrxPush"),t.TgZ(14,"div",7),t._UZ(15,"router-outlet"),t.qZA()()(),t.BQk()),2&n){const o=c.ngIf,f=t.MAs(3),A=t.oxw();t.xp6(1),t.Q6J("displayName",o.citation)("actionsTpl",f),t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(7,6,"Source")),t.xp6(2),t.hij(" ",o.citation," "),t.xp6(2),t.Q6J("ngIf",o.sourceUrl),t.xp6(2),t.Q6J("tabs",t.lcZ(13,8,A.tabs$))}}let tt=(()=>{class n{constructor(o,f,A){this.viewerService=o,this.route=f,this.gql=A,this.destroy$=new d.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"}],this.tabs$=new S.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(X=>{this.sourceId=+X.sourceId,this.queryRef=this.gql.watch({sourceId:this.sourceId});let it=this.queryRef.valueChanges;this.loading$=it.pipe((0,R.j)("loading"),(0,k.O)(!0)),this.source$=it.pipe((0,R.j)("data","source")),this.source$.pipe((0,q.R)(this.destroy$)).subscribe({next:qt=>{this.tabs$.next(this.defaultTabs.map(st=>"Comments"===st.tabLabel?{badgeCount:qt?.comments.totalCount,badgeColor:"#cccccc",...st}:st))}})})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(j.a),t.Y36(a.gz),t.Y36(J.Bk6))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-sources-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","actionsTpl"],["sourcesActions",""],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],[3,"href","tooltip",4,"ngIf"],[3,"tabs"],[1,"content"],[4,"ngrxLet"],["routerLink","/sources/add","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/sources/add","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],[3,"href","tooltip"]],template:function(o,f){1&o&&(t.YNc(0,b,16,10,"ng-container",0),t.ALo(1,"ngrxPush")),2&o&&t.Q6J("ngIf",t.lcZ(1,1,f.source$))},dependencies:[e.O5,a.lC,a.rH,F.eJ,x.$O,x.u9,x.u5,x.Jp,Y.ix,W.w,H.dQ,P.Ls,M.I,$.l,p.P,F.fM,u.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var V=i(95),ot=i(2392),K=i(2574),s=i(6473);function C(n,c){1&n&&(t.TgZ(0,"button",18),t._UZ(1,"i",19),t._uU(2," Suggest a New Source "),t.qZA())}function g(n,c){if(1&n&&(t.ynx(0),t.YNc(1,C,3,0,"button",17),t.BQk()),2&n){const o=c.ngrxLet;t.xp6(1),t.Q6J("ngIf",o.signedIn)}}function G(n,c){if(1&n&&t.YNc(0,g,2,1,"ng-container",16),2&n){const o=t.oxw();t.Q6J("ngrxLet",o.viewer$)}}function et(n,c){1&n&&(t.TgZ(0,"a",20),t._UZ(1,"i",21),t._uU(2," View Source Docs "),t.qZA())}function gt(n,c){1&n&&(t.TgZ(0,"a",22),t._UZ(1,"i",21),t._uU(2," View Source Curation Docs "),t.qZA())}let dt=(()=>{class n{constructor(o){this.viewerService=o,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(j.a))},n.\u0275cmp=t.Xpm({type:n,selectors:[["sources-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["sourcesActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html#curating-source","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Sources"],[4,"ngrxLet"],["routerLink","/sources/add","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/sources/add","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html#curating-source","target","_blank","nzSize","small","nzBlock",""]],template:function(o,f){if(1&o&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,G,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Sources"),t.qZA(),t.TgZ(12,"p",7),t._uU(13," Each Evidence Item is associated with a Source which supports the Item's clinical claims. CIViC accepts publications known to PubMed or abstracts published through the American Society of Clinical Oncology. "),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,et,3,0,"a",10),t.YNc(17,gt,3,0,"a",11),t.qZA()()(),t.TgZ(18,"div",12)(19,"div",13)(20,"div",14),t._UZ(21,"cvc-sources-table",15),t.qZA()()()()()),2&o){const A=t.MAs(2);t.Q6J("actionsTpl",A),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"Source")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24)}},dependencies:[e.O5,a.rH,F.eJ,x.$O,x.u5,P.Ls,V.t3,V.SK,Y.ix,W.w,H.dQ,ot.ZU,K.NU,K.$1,M.I,s.d,u.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var pt=i(6109),at=i(8125),ut=i(8753);let mt=(()=>{class n{set cvcAutoHeightDiv(o){const f=parseInt(o,0);!isNaN(f)&&f>=0&&(this._offset=f)}set cvcAutoHeightTarget(o){this._target=o}get cvcAutoHeightTarget(){return this._target}constructor(o,f,A){this.el=o,this.zone=f,this.cdr=A,this._offset=0,this._target="parent",this.divTop=0,this.onResized$=new d.x,this.resizeObserver=new ResizeObserver(X=>{this.zone.run(()=>{this.onResized$.next(!0)})}),this.onResized$.pipe((0,ut.p)(10)).subscribe(X=>{this.resizeToFitContent()})}ngOnInit(){this.resizeObserver.observe(this.el.nativeElement)}ngAfterViewInit(){Promise.resolve().then(()=>{this.resizeToFitContent()})}resizeToFitContent(){const o=this.el.nativeElement,f=o.parentElement.getBoundingClientRect().height;o&&o.getBoundingClientRect&&o.getBoundingClientRect().top&&(this.divTop=o.getBoundingClientRect().top),o&&("parent"===this._target?o.style.height=f:"viewport"===this._target&&(o.getBoundingClientRect&&o.getBoundingClientRect().top&&(this.divTop=o.getBoundingClientRect().top),o.style.height=`calc(100vh - ${this.divTop+this._offset}px)`),o.style["overflow-y"]="auto",this.cdr.detectChanges())}ngOnDestroy(){this.onResized$.unsubscribe(),this.resizeObserver.unobserve(this.el.nativeElement)}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO))},n.\u0275dir=t.lG2({type:n,selectors:[["","cvcAutoHeightDiv",""]],inputs:{cvcAutoHeightDiv:"cvcAutoHeightDiv",cvcAutoHeightTarget:"cvcAutoHeightTarget"}}),n})();var vt=i(6822),ft=i(4106),ht=i(3369);function _t(n,c){if(1&n&&(t.TgZ(0,"cvc-link-tag",23),t._uU(1),t.qZA()),2&n){const o=t.oxw().ngIf;t.Q6J("href",o.sourceUrl)("tooltip","View on "+o.displayType),t.xp6(1),t.hij(" ",o.displayType+":"+o.citationId," ")}}function zt(n,c){if(1&n&&(t.ynx(0),t._uU(1),t.BQk()),2&n){const o=t.oxw().ngIf;t.xp6(1),t.hij(" ",o.pmcId," ")}}function Ct(n,c){}function xt(n,c){if(1&n&&(t.TgZ(0,"nz-descriptions-item",28),t.YNc(1,Ct,0,0,"ng-template",29),t.qZA()),2&n){t.oxw(2);const o=t.MAs(29);t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function Tt(n,c){if(1&n&&(t.TgZ(0,"nz-descriptions-item",28),t._UZ(1,"cvc-clinical-trial-tag",30),t.qZA()),2&n){const o=t.oxw(2).ngIf;t.xp6(1),t.Q6J("clinicalTrial",o.clinicalTrials[0])}}function St(n,c){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-space"),t._UZ(2,"cvc-clinical-trial-tag",30),t.qZA(),t.BQk()),2&n){const o=c.$implicit;t.xp6(2),t.Q6J("clinicalTrial",o)}}function yt(n,c){if(1&n&&(t.TgZ(0,"nz-descriptions-item",31),t.YNc(1,St,3,1,"ng-container",32),t.qZA()),2&n){const o=t.oxw(2).ngIf;t.xp6(1),t.Q6J("ngForOf",o.clinicalTrials)}}function Pt(n,c){if(1&n&&(t.ynx(0,24),t.YNc(1,xt,2,1,"ng-template",25),t.YNc(2,Tt,2,1,"ng-template",26),t.YNc(3,yt,2,1,"ng-template",27),t.BQk()),2&n){const o=t.oxw().ngIf;t.Q6J("ngPlural",o.clinicalTrials.length)}}function Ot(n,c){1&n&&(t.TgZ(0,"span",33),t._uU(1," Not available "),t.qZA())}function It(n,c){if(1&n&&t._uU(0),2&n){const o=t.oxw().ngIf;t.hij(" Evidence for ",o.citation," ")}}function Mt(n,c){if(1&n&&t._uU(0),2&n){const o=t.oxw().ngIf;t.hij(" Source Suggestions for ",o.citation," ")}}const bt=function(){return[8,16]};function At(n,c){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-descriptions",3)(4,"nz-descriptions-item",4)(5,"i"),t._uU(6),t.qZA()(),t.TgZ(7,"nz-descriptions-item",5),t._uU(8),t.qZA()()(),t.TgZ(9,"nz-col",2)(10,"nz-descriptions",3)(11,"nz-descriptions-item",6)(12,"p",7),t._uU(13),t.qZA()()()(),t.TgZ(14,"nz-col",2)(15,"nz-descriptions",8)(16,"nz-descriptions-item",9),t._uU(17),t.qZA(),t.TgZ(18,"nz-descriptions-item",10),t.YNc(19,_t,2,3,"cvc-link-tag",11),t.qZA(),t.TgZ(20,"nz-descriptions-item",12),t._uU(21),t.qZA(),t.TgZ(22,"nz-descriptions-item",13),t.YNc(23,zt,2,1,"ng-container",14),t.qZA(),t.TgZ(24,"nz-descriptions-item",15)(25,"span",16),t._UZ(26,"span",17),t.qZA()(),t.YNc(27,Pt,4,1,"ng-container",18),t.qZA(),t.YNc(28,Ot,2,0,"ng-template",null,19,t.W1O),t.qZA(),t.TgZ(30,"nz-col",2),t._UZ(31,"cvc-evidence-table",20),t.YNc(32,It,1,1,"ng-template",null,21,t.W1O),t.qZA(),t.TgZ(34,"nz-col",2),t._UZ(35,"cvc-source-suggestions-table",20),t.YNc(36,Mt,1,1,"ng-template",null,22,t.W1O),t.qZA()(),t.BQk()),2&n){const o=c.ngIf,f=t.MAs(29),A=t.MAs(33),X=t.MAs(37),it=t.oxw();t.xp6(1),t.Q6J("nzGutter",t.DdM(26,bt)),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("nzColumn",1),t.xp6(3),t.Oqu(o.title),t.xp6(2),t.hij(" ",o.authorString," "),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(1),t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("nzEllipsisRows",6),t.xp6(1),t.hij(" ",o.abstract," "),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(1),t.Q6J("nzColumn",1),t.xp6(2),t.Oqu(o.publicationDate),t.xp6(1),t.MGl("nzTitle","",o.displayType," ID"),t.xp6(1),t.Q6J("ngIf",o.sourceUrl),t.xp6(2),t.Oqu(o.fullJournalTitle),t.xp6(2),t.Q6J("ngIf",o.pmcId)("ngIfElse",f),t.xp6(2),t.Q6J("nzTooltipTitle",o.pmcId?"Open":"Closed"),t.xp6(1),t.Q6J("nzType",o.pmcId?"unlock":"lock"),t.xp6(1),t.Q6J("ngIf",o.clinicalTrials),t.xp6(3),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("sourceId",it.sourceId)("cvcTitleTemplate",A),t.xp6(3),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("sourceId",it.sourceId)("cvcTitleTemplate",X)}}let Zt=(()=>{class n{constructor(o,f){this.route=o,this.gql=f,this.routeSub=this.route.params.subscribe(A=>{this.sourceId=+A.sourceId,this.queryRef=this.gql.watch({sourceId:this.sourceId});let X=this.queryRef.valueChanges;this.loading$=X.pipe((0,R.j)("loading"),(0,k.O)(!0)),this.source$=X.pipe((0,R.j)("data","source"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(a.gz),t.Y36(J.g0X))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-sources-summary"]],decls:2,vars:3,consts:[[4,"ngIf"],["cvcAutoHeightDiv","",3,"nzGutter"],[3,"nzSpan"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn"],["nzTitle","Title"],["nzTitle","Authors"],["nzTitle","Abstract"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Published"],[3,"nzTitle"],[3,"href","tooltip",4,"ngIf"],["nzTitle","Journal"],["nzTitle","PMC ID"],[4,"ngIf","ngIfElse"],["nzTitle","Access"],["nz-tooltip","",3,"nzTooltipTitle"],["nz-icon","","nzTheme","outline",3,"nzType"],[3,"ngPlural",4,"ngIf"],["notAvailable",""],["cvcHeight","400",3,"sourceId","cvcTitleTemplate"],["evidenceCardTitle",""],["sourceSuggestionCardTitle",""],[3,"href","tooltip"],[3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],["nzTitle","Clinicial Trial"],[3,"ngTemplateOutlet"],[3,"clinicalTrial"],["nzTitle","Clinicial Trials"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"]],template:function(o,f){1&o&&(t.YNc(0,At,38,27,"ng-container",0),t.ALo(1,"ngrxPush")),2&o&&t.Q6J("ngIf",t.lcZ(1,1,f.source$))},dependencies:[e.sg,e.O5,e.tP,e.iq,e.zE,V.t3,V.SK,K.NU,ot.ZU,P.Ls,pt.SY,at.R7,at.uj,$.l,mt,vt.a,ft.O,ht.G,F.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}"]}),n})(),wt=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-sources"]],decls:1,vars:0,template:function(o,f){1&o&&t._UZ(0,"router-outlet")},dependencies:[a.lC],encapsulation:2}),n})();var Nt=i(800);const Et=[{path:"",component:wt,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:dt,data:{breadcrumb:"Home"}},{path:"add",data:{breadcrumb:"Submit a Source Suggestion"},runGuardsAndResolvers:"always",component:h},{path:":sourceId",component:tt,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:Zt,data:{breadcrumb:"Summary"}},{path:"comments",component:(()=>{class n{constructor(o){this.route=o,this.commentable={id:+this.route.snapshot.params.sourceId,entityType:J.OfU.Source}}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(a.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-sources-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(o,f){1&o&&t._UZ(0,"cvc-comment-list",0),2&o&&t.Q6J("commentable",f.commentable)},dependencies:[Nt.D],styles:["[_nghost-%COMP%]{display:block}"]}),n})(),data:{breadcrumb:"Comments"}}]}]}];let Jt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[a.Bz.forChild(Et),a.Bz]}),n})();var Lt=i(6078),rt=i(2419),ct=i(2524);let Qt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.ez,a.Bz,x.KJ,P.PV,V.Jb,Y.sL,ot.ZJ,K.zf,rt.D,Lt.h,ct.s]}),n})();var lt=i(6067),Ut=i(4059);let Dt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.ez,a.Bz,x.KJ,Y.sL,P.PV,rt.D,lt.X,Ut.c,ct.s]}),n})();var kt=i(4605),Yt=i(1403),Bt=i(5843),Rt=i(9333);let Ft=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.ez,V.Jb,K.zf,V.Jb,K.zf,ot.ZJ,P.PV,pt.cg,at.q6,lt.X,Rt.h,Yt.Q,Bt.W,kt.N]}),n})();var Gt=i(6683),Vt=i(279),jt=i(5106);let Wt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.ez,D.U5,Y.sL,Gt.S,jt.g,Vt.s]}),n})(),Ht=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.ez,x.KJ,P.PV,ct.s,rt.D,Wt]}),n})();var $t=i(1830);let Kt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.ez,$t.l]}),n})(),Xt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[e.ez,a.Bz,Jt,Qt,Dt,Ft,Ht,Kt]}),n})()},4139:(nt,Z,i)=>{i.d(Z,{H0:()=>I});var e=i(5879),a=i(6814),t=i(9388);let I=(()=>{class u{}return u.\u0275fac=function(d){return new(d||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[t.vT,a.ez]}),u})()}}]); \ No newline at end of file diff --git a/server/public/3266.d696285f4aea3d00.js b/server/public/3266.d696285f4aea3d00.js new file mode 100644 index 000000000..84a764efe --- /dev/null +++ b/server/public/3266.d696285f4aea3d00.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3266],{1759:(I,y,n)=>{n.d(y,{C:()=>m,w:()=>t});const t={geneId:void 0,variantId:void 0,significance:void 0,description:void 0,diseaseId:void 0,therapyIds:void 0,therapyInteractionType:void 0,evidenceDirection:void 0,evidenceLevel:void 0,evidenceType:void 0,molecularProfileId:void 0,phenotypeIds:void 0,rating:void 0,sourceId:void 0,variantOrigin:void 0},m={clientMutationId:void 0,fields:t,comment:void 0,organizationId:void 0}},8475:(I,y,n)=>{n.d(y,{lG:()=>f,yQ:()=>r});var t=n(2),m=n(313),o=n(8645),S=n(3742),r=(()=>((r=r||{}).EVIDENCE="Evidence",r.ASSERTION="Assertion",r))();class f{constructor(g){this.formReady$=new o.x,this.formLayout="vertical",this.validStates=new Map,this.typeOption$=new o.x,this.requiresTherapy$=new o.x,this.requiresDisease$=new o.x,this.requiresAcmgCode$=new o.x,this.requiresAmpLevel$=new o.x,this.requiresClingenCode$=new o.x,this.allowsFdaApproval$=new o.x,this.getTypeOptions=()=>this.entityName==r.ASSERTION?(0,S.o6)(m.uBv).map(l=>l):(0,S.o6)(m.kqt).map(l=>l),this.getSignificanceOptions=l=>this.validStates.get(l)?.significance||[],this.getInteractionOptions=()=>(0,S.o6)(m.wkr).map(l=>l),this.isValidSignificanceOption=(l,c)=>{const _=this.validStates.get(l);return!_||_.significance.includes(c)},this.getDirectionOptions=l=>this.validStates.get(l)?.entityDirection||[],this.isValidDirectionOption=(l,c)=>{const _=this.validStates.get(l);return!_||_.entityDirection.includes(c)},this.requiresTherapy=l=>{const c=this.validStates.get(l);return void 0===c||c.requiresTherapy},this.requiresDisease=l=>{const c=this.validStates.get(l);return void 0===c||c.requiresDisease},this.requiresAcmgCodes=l=>{const c=this.validStates.get(l);return void 0===c||c.requiresAcmgCodes},this.requiresAmpLevel=l=>{const c=this.validStates.get(l);return void 0===c||c.requiresAmpLevel},this.requiresClingenCodes=l=>{const c=this.validStates.get(l);return void 0===c||c.requiresClingenCodes},this.allowsFdaApproval=l=>{const c=this.validStates.get(l);return void 0===c||c.allowsFdaApproval},this.getOptionsFromEnums=l=>0===l.length?[]:l.map(c=>({value:c,label:(0,t.E)(c)})),this.fields={},this.options={},this.enums={},this.requires={},this.entityName=g,this.pluralNames=new Map,this.pluralNames.set(r.ASSERTION,"Assertions"),this.pluralNames.set(r.EVIDENCE,"Evidence")}onDestroy(){}}},3684:(I,y,n)=>{n.d(y,{_:()=>s});var t=n(313),m=n(1791),o=n(5619),S=n(1759),r=n(8475);class s extends r.lG{constructor(){super(r.yQ.EVIDENCE);const p=S.w;this.fields={molecularProfileId$:new o.X(p.molecularProfileId),variantId$:new o.X(p.variantId),variantMolecularProfile$:new o.X(void 0),geneId$:new o.X(p.geneId),evidenceType$:new o.X(p.evidenceType),evidenceLevel$:new o.X(p.evidenceLevel),evidenceDirection$:new o.X(p.evidenceDirection),significance$:new o.X(p.significance),variantOrigin$:new o.X(p.variantOrigin),diseaseId$:new o.X(p.diseaseId),therapyIds$:new o.X(p.therapyIds),therapyInteractionType$:new o.X(p.therapyInteractionType),rating$:new o.X(p.rating),phenotypeIds$:new o.X(p.phenotypeIds),sourceId$:new o.X(p.sourceId)},this.enums={entityType$:new o.X(this.getTypeOptions()),significance$:new o.X([]),direction$:new o.X([]),interaction$:new o.X(this.getInteractionOptions())},this.requires={requiresDisease$:new o.X(!1),requiresTherapy$:new o.X(!1),requiresTherapyInteractionType$:new o.X(!1),requiresClingenCodes$:new o.X(!1),requiresAcmgCodes$:new o.X(!1),requiresAmpLevel$:new o.X(!1),allowsFdaApproval$:new o.X(!1)},this.fields.evidenceType$.pipe((0,m.t)(this,"onDestroy")).subscribe(g=>{if(!g)return Object.entries(this.requires).forEach(([l,c])=>{c.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(g)),this.enums.direction$.next(this.getDirectionOptions(g)),this.requires.requiresDisease$.next(this.requiresDisease(g)),this.requires.requiresTherapy$.next(this.requiresTherapy(g)),this.requires.requiresTherapyInteractionType$.next(this.requiresTherapy(g)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(g)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(g)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(g))}),this.fields.therapyIds$.pipe((0,m.t)(this,"onDestroy")).subscribe(g=>{this.requires.requiresTherapyInteractionType$.next(!!g&&g.length>1)}),this.validStates.set(t.kqt.Predictive,{entityType:t.kqt.Predictive,significance:[t.y1h.Sensitivityresponse,t.y1h.Resistance,t.y1h.AdverseResponse,t.y1h.ReducedSensitivity,t.y1h.Na],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Diagnostic,{entityType:t.kqt.Diagnostic,significance:[t.y1h.Positive,t.y1h.Negative],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Prognostic,{entityType:t.kqt.Prognostic,significance:[t.y1h.BetterOutcome,t.y1h.PoorOutcome,t.y1h.Na],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Oncogenic,{entityType:t.kqt.Oncogenic,significance:[t.y1h.Oncogenicity,t.y1h.Protectiveness],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Predisposing,{entityType:t.kqt.Predisposing,significance:[t.y1h.Predisposition,t.y1h.Protectiveness],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Functional,{entityType:t.kqt.Functional,significance:[t.y1h.GainOfFunction,t.y1h.LossOfFunction,t.y1h.UnalteredFunction,t.y1h.Neomorphic,t.y1h.DominantNegative,t.y1h.Unknown],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!1,requiresTherapy:!1,requiresAcmgCodes:!1,requiresClingenCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},7745:(I,y,n)=>{function t(m,o){const S=(s,f)=>{let p;for(let g of s)if(g.fieldGroup)p=S(g.fieldGroup,f);else if(g.key===f){p=g;break}return p},r=(s,f)=>{for(let p of Object.keys(f))if(f[p]instanceof Object&&!Array.isArray(f[p]))r(s,f[p]);else{const g=S(s,p);g&&(g.defaultValue=f[p])}return s};return r(m,o)}n.d(y,{Z:()=>t})},1565:(I,y,n)=>{n.d(y,{Ct:()=>o,I9:()=>S,ux:()=>m});var t=n(2701);function m(r){return{significance:r.significance,description:r.description,diseaseId:r.disease?.id,therapyIds:r.therapies.map(s=>s.id),therapyInteractionType:r.therapyInteractionType,evidenceDirection:r.evidenceDirection,evidenceLevel:r.evidenceLevel,evidenceType:r.evidenceType,molecularProfileId:r.molecularProfile.id,phenotypeIds:r.phenotypes.map(s=>s.id),rating:r.evidenceRating,sourceId:r.source.id,variantOrigin:r.variantOrigin}}function o(r,s){let f=S(s);if(f)return{id:r,comment:f.comment,organizationId:f.organizationId,fields:f.fields}}function S(r){const s=r.fields;if(![s.molecularProfileId,s.variantOrigin,s.sourceId,s.evidenceType,s.significance,s.evidenceLevel,s.evidenceDirection,s.rating].find(p=>void 0===p))return{fields:{molecularProfileId:s.molecularProfileId,variantOrigin:s.variantOrigin,sourceId:s.sourceId,evidenceType:s.evidenceType,significance:s.significance,evidenceLevel:s.evidenceLevel,evidenceDirection:s.evidenceDirection,rating:s.rating,description:t.xt(s.description),diseaseId:t.uP(s.diseaseId),phenotypeIds:s.phenotypeIds?s.phenotypeIds:[],therapyIds:s.therapyIds?s.therapyIds:[],therapyInteractionType:t.uP(s.therapyInteractionType)},organizationId:r.organizationId,comment:r.comment}}},8287:(I,y,n)=>{n.r(y),n.d(y,{EvidenceReviseModule:()=>K});var t=n(6814),m=n(8603),o=n(2419),S=n(2524),r=n(9560),s=n(95),f=n(8527),p=n(551),g=n(6254),l=n(2574),c=n(2392),_=n(4190),k=n(7921),D=n(7398),E=n(4223),e=n(5879),N=n(313),w=n(951),O=n(2606),M=n(3145),P=n(8178),d=n(8091),h=n(2616);function a(i,v){if(1&i&&(e.TgZ(0,"span",12)(1,"strong"),e._uU(2),e.qZA(),e._uU(3," Parents:"),e.qZA()),2&i){const u=e.oxw(2).ngIf;e.xp6(2),e.Oqu(u.name)}}function z(i,v){if(1&i&&(e.TgZ(0,"span",13),e._UZ(1,"cvc-molecular-profile-tag",14),e.qZA()),2&i){const u=e.oxw(2).ngIf;e.xp6(1),e.Q6J("molecularProfile",u.molecularProfile)("enablePopover",!1)}}function x(i,v){1&i&&(e.TgZ(0,"nz-space",9),e.YNc(1,a,4,1,"span",10),e.YNc(2,z,2,2,"span",11),e.qZA())}function $(i,v){1&i&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function L(i,v){1&i&&(e.TgZ(0,"nz-row",15)(1,"div",16),e._UZ(2,"cvc-login-prompt"),e.qZA()())}function R(i,v){if(1&i&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,x,3,0,"ng-template",null,2,e.W1O),e.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),e._uU(6," REVISE "),e._UZ(7,"i",5),e.ALo(8,"entityColor"),e._uU(9),e.qZA(),e.TgZ(10,"nz-page-header-content")(11,"div",6),e.YNc(12,$,2,0,"div",7),e.ALo(13,"ngrxPush"),e.YNc(14,L,3,0,"ng-template",null,8,e.W1O),e.qZA()()(),e.BQk()),2&i){const u=v.ngIf,C=e.MAs(3),T=e.MAs(15),A=e.oxw();e.xp6(1),e.Q6J("displayName",u.name)("relationsTpl",C),e.xp6(6),e.Q6J("nzTwotoneColor",e.lcZ(8,6,"EvidenceItem")),e.xp6(2),e.hij(" ",u.name," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(13,8,A.isSignedIn$))("ngIfElse",T)}}let F=(()=>{class i{constructor(u,C,T){this.gql=u,this.route=C,this.viewerService=T,this.routeSub=this.route.params.subscribe(A=>{let q=this.gql.watch({evidenceId:+A.evidenceId}).valueChanges;this.loading$=q.pipe((0,E.j)("loading"),(0,k.O)(!0)),this.evidence$=q.pipe((0,E.j)("data","evidenceItem")),this.commentsTotal$=this.evidence$.pipe((0,E.j)("comments","totalCount")),this.flagsTotal$=this.evidence$.pipe((0,E.j)("flags","totalCount")),this.revisionsTotal$=this.evidence$.pipe((0,E.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,D.U)(u=>u.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return i.\u0275fac=function(u){return new(u||i)(e.Y36(N.pHu),e.Y36(_.gz),e.Y36(w.a))},i.\u0275cmp=e.Xpm({type:i,selectors:[["cvc-evidence-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["evidenceRelations",""],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(u,C){1&u&&(e.YNc(0,R,16,10,"ng-container",0),e.ALo(1,"async")),2&u&&e.Q6J("ngIf",e.lcZ(1,1,C.evidence$))},dependencies:[t.O5,_.lC,g.$O,g.u9,g.u5,l.NU,l.$1,s.t3,s.SK,p.Ls,c.ZU,O.p,M.I,P.u,t.Ov,d.fM,h.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),i})();var b=n(2962),B=n(4139),U=n(7471);let X=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[t.ez,s.Jb,b.vh,B.H0,l.zf,U.A]}),i})();var Z=n(9958);function V(i,v){if(1&i&&(e.ynx(0),e._UZ(1,"cvc-evidence-revise-form",2),e.BQk()),2&i){const u=e.oxw();e.xp6(1),e.Q6J("evidenceId",u.evidenceId)}}function j(i,v){1&i&&e._uU(0,"Loading Evidence...")}const W=[{path:"",component:F,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class i{constructor(u){this.route=u,this.routeParams$=this.route.params.subscribe(C=>{this.evidenceId=+C.evidenceId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return i.\u0275fac=function(u){return new(u||i)(e.Y36(_.gz))},i.\u0275cmp=e.Xpm({type:i,selectors:[["cvc-evidence-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingEvidence",""],[3,"evidenceId"]],template:function(u,C){if(1&u&&(e.YNc(0,V,2,1,"ng-container",0),e.YNc(1,j,1,0,"ng-template",null,1,e.W1O)),2&u){const T=e.MAs(2);e.Q6J("ngIf",C.evidenceId)("ngIfElse",T)}},dependencies:[t.O5,Z.r],encapsulation:2}),i})(),data:{breadcrumb:"Suggest Revision"}}]}];let J=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[_.Bz.forChild(W),X,_.Bz]}),i})(),K=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[t.ez,J,g.KJ,l.zf,s.Jb,p.PV,c.ZJ,l.zf,f.u,S.s,o.D,r.K,m.a]}),i})()},4139:(I,y,n)=>{n.d(y,{H0:()=>P});var t=n(5879),m=n(6814),o=n(9388);let P=(()=>{class d{}return d.\u0275fac=function(a){return new(a||d)},d.\u0275mod=t.oAB({type:d}),d.\u0275inj=t.cJS({imports:[o.vT,m.ez]}),d})()}}]); \ No newline at end of file diff --git a/server/public/3270.7713e9f84711a804.js b/server/public/3270.7713e9f84711a804.js new file mode 100644 index 000000000..fab2171df --- /dev/null +++ b/server/public/3270.7713e9f84711a804.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3270],{4758:(W,I,e)=>{e.d(I,{m:()=>A});var r=e(6814),o=e(9755),p=e(6165),n=e(1218),O=e(7528),E=e(3641),C=e(5956),z=e(3235),v=e(1106),M=e(5695),f=e(551),y=e(8527),S=e(5879);let A=(()=>{class c{}return c.\u0275fac=function(l){return new(l||c)},c.\u0275mod=S.oAB({type:c}),c.\u0275inj=S.cJS({imports:[r.ez,M.X,f.PV,o.y,p.W,n.i,O.Q,E.G,C.U,z.W,v.L,y.u]}),c})()},5098:(W,I,e)=>{e.d(I,{P:()=>A});var r=e(5879),o=e(4190),p=e(6814),n=e(9382),O=e(95),E=e(551),C=e(3640);const z=["tabBarExtraContent"];function v(c,h){if(1&c&&r.GkF(0,5),2&c){const l=r.oxw();r.Q6J("ngTemplateOutlet",l.tabBarExtraContent||null)}}const M=function(c){return{transform:"scale(0.75, 0.75) translate(0, -2px)",backgroundColor:c}};function f(c,h){if(1&c&&r._UZ(0,"nz-badge",10),2&c){const l=r.oxw(2).$implicit;r.hYB("nzTitle","",l.badgeCount," ",l.tabLabel,"(s)."),r.Q6J("nzCount",l.badgeCount)("nzStyle",r.VKq(4,M,l.badgeColor||"#ff4d4f"))}}function y(c,h){if(1&c&&(r.TgZ(0,"a",7),r._UZ(1,"i",8),r._uU(2),r.YNc(3,f,1,6,"nz-badge",9),r.qZA()),2&c){const l=r.oxw().$implicit;r.Q6J("routerLink",l.routeName),r.xp6(1),r.Q6J("nzType",l.iconName),r.xp6(1),r.hij(" ",l.tabLabel," "),r.xp6(1),r.Q6J("ngIf",l.badgeCount&&l.badgeCount>0)}}function S(c,h){1&c&&(r.TgZ(0,"nz-tab"),r.YNc(1,y,4,4,"a",6),r.qZA())}let A=(()=>{class c{constructor(l){this.router=l,this.selectedTabIndex=this.getActivatedRouteIndex(this.router.url)}getActivatedRouteIndex(l){return this.tabs?.findIndex(T=>l.includes(T.routeName))}}return c.\u0275fac=function(l){return new(l||c)(r.Y36(o.F0))},c.\u0275cmp=r.Xpm({type:c,selectors:[["cvc-tab-navigation"]],contentQueries:function(l,T,x){if(1&l&&r.Suo(x,z,5),2&l){let L;r.iGM(L=r.CRH())&&(T.tabBarExtraContent=L.first)}},inputs:{entity:"entity",tabs:"tabs"},decls:6,vars:3,consts:[["id","section-tabs"],["nzSpan","24"],["nzLinkRouter","","nzType","card","nzSize","small",3,"nzSelectedIndex","nzTabBarExtraContent"],["extraTpl",""],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["nz-tab-link","",3,"routerLink",4,"nzTabLink"],["nz-tab-link","",3,"routerLink"],["nz-icon","",3,"nzType"],["nzStandalone","",3,"nzCount","nzTitle","nzStyle",4,"ngIf"],["nzStandalone","",3,"nzCount","nzTitle","nzStyle"]],template:function(l,T){if(1&l&&(r.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"nz-tabset",2),r.YNc(3,v,1,1,"ng-template",null,3,r.W1O),r.YNc(5,S,2,0,"nz-tab",4),r.qZA()()()),2&l){const x=r.MAs(4);r.xp6(2),r.Q6J("nzSelectedIndex",T.selectedTabIndex)("nzTabBarExtraContent",x),r.xp6(3),r.Q6J("ngForOf",T.tabs)}},dependencies:[p.sg,p.O5,p.tP,o.rH,n.xH,n.xw,n.Ao,n.Fx,O.t3,O.SK,E.Ls,C.x7],styles:["[_nghost-%COMP%]{display:block}"]}),c})()},4059:(W,I,e)=>{e.d(I,{c:()=>z});var r=e(6814),o=e(9382),p=e(95),n=e(4190),O=e(551),E=e(3640),C=e(5879);let z=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275mod=C.oAB({type:v}),v.\u0275inj=C.cJS({imports:[r.ez,n.Bz,o.we,p.Jb,O.PV,E.mS]}),v})()},3378:(W,I,e)=>{e.d(I,{w:()=>c});var r=e(6814),o=e(6223),p=e(2962),n=e(3599),O=e(3394),E=e(6294),C=e(845),z=e(2840),v=e(9560),M=e(9382),f=e(4758),y=e(2669),S=e(6513),A=e(5879);let c=(()=>{class h{}return h.\u0275fac=function(T){return new(T||h)},h.\u0275mod=A.oAB({type:h}),h.\u0275inj=A.cJS({imports:[r.ez,o.UX,z.sL,p.vh,M.we,n.U5,y.j,S.Gl,o.u5,O.B,E.A,C.R,f.m,v.K]}),h})()},2257:(W,I,e)=>{e.d(I,{q:()=>N});var x,r=e(655),o=e(5879),p=e(1791),n=e(8645),O=e(5619),E=e(7398),C=e(9397),z=e(4223),v=e(5805),M=e(951),f=e(6814),y=e(2840),S=e(855),A=e(1958),c=e(6928),h=e(3460),l=e(2787),T=e(8091);function L(u,_){1&u&&o.Hsn(0)}function b(u,_){1&u&&o.GkF(0)}function Z(u,_){if(1&u&&(o.ynx(0),o.YNc(1,b,1,0,"ng-container",5),o.BQk()),2&u){o.oxw(2);const m=o.MAs(1);o.xp6(1),o.Q6J("ngTemplateOutlet",m)}}function B(u,_){1&u&&o.GkF(0)}function Q(u,_){if(1&u&&(o.ynx(0),o.TgZ(1,"nz-button-group"),o.YNc(2,B,1,0,"ng-container",5),o.TgZ(3,"button",6),o.ALo(4,"ngrxPush"),o.ALo(5,"ngrxPush"),o.ALo(6,"ngrxPush"),o.TgZ(7,"span"),o._uU(8,"for"),o.qZA(),o._UZ(9,"nz-avatar",7)(10,"i",8),o.qZA()(),o.BQk()),2&u){o.oxw();const m=o.MAs(4),P=o.oxw(),R=o.MAs(1);o.xp6(2),o.Q6J("ngTemplateOutlet",R),o.xp6(1),o.Q6J("ngClass",o.lcZ(4,8,P.buttonClass$))("hidden",o.lcZ(5,10,P.isHidden$))("disabled",o.lcZ(6,12,P.isDisabled$))("nzDropdownMenu",m),o.xp6(6),o.Q6J("nzSrc",null==P.selectedOrg?null:P.selectedOrg.profileImagePath)("nzSize",10)("nzShape","square")}}function w(u,_){if(1&u){const m=o.EpF();o.TgZ(0,"li",9),o.NdJ("click",function(){const G=o.CHM(m).$implicit,J=o.oxw(2);return o.KtG(J.selectOrg(G))}),o._UZ(1,"nz-avatar",10),o._uU(2),o.qZA()}if(2&u){const m=_.$implicit,P=o.oxw(2);o.Q6J("nzSelected",(null==P.selectedOrg?null:P.selectedOrg.id)===m.id),o.xp6(1),o.Q6J("nzSrc",null==m?null:m.profileImagePath)("nzSize",10)("nzShape","square"),o.xp6(1),o.hij(" ",m.name," ")}}function U(u,_){if(1&u&&(o.ynx(0),o.YNc(1,Z,2,1,"ng-container",1),o.YNc(2,Q,11,14,"ng-container",1),o.TgZ(3,"nz-dropdown-menu",null,2)(5,"ul",3),o.YNc(6,w,3,5,"li",4),o.qZA()(),o.BQk()),2&u){const m=_.ngIf;o.xp6(1),o.Q6J("ngIf",m.length<=1),o.xp6(1),o.Q6J("ngIf",m.length>1),o.xp6(4),o.Q6J("ngForOf",m)}}let N=((x=class{constructor(_){this.viewerService=_,this.selectedOrgChange=new o.vpe,this.baseButtonClass="org-dropdown-btn",this.isDisabled$=new n.x,this.isHidden$=new n.x,this.buttonClass$=new O.X("")}selectOrg(_){this.selectedOrg=_,this.selectedOrgChange.emit(_)}refreshViewer(){setTimeout(()=>{this.viewerService.refetch()},2500)}ngOnInit(){this.organizations$=this.viewerService.viewer$.pipe((0,E.U)(_=>_.organizations)),this.mostRecentOrg$=this.viewerService.viewer$.pipe((0,z.j)("mostRecentOrg"),(0,C.b)(_=>{_&&(this.selectedOrg=_,this.selectedOrgChange.emit(_))})),this.mostRecentOrg$.pipe((0,p.t)(this)).subscribe()}ngAfterViewInit(){this.button&&this.button.domChange&&this.button.domChange.pipe((0,p.t)(this)).subscribe(_=>{"class"===_.type&&"string"==typeof _.change?this.buttonClass$.next(`${this.baseButtonClass} ${_.change}`):"disabled"===_.type&&"boolean"==typeof _.change?this.isDisabled$.next(_.change):"hidden"===_.type&&"boolean"==typeof _.change&&this.isHidden$.next(_.change)})}}).\u0275fac=function(_){return new(_||x)(o.Y36(M.a))},x.\u0275cmp=o.Xpm({type:x,selectors:[["cvc-org-selector-btn-group"]],contentQueries:function(_,m,P){if(1&_&&o.Suo(P,v.m,5),2&_){let R;o.iGM(R=o.CRH())&&(m.button=R.first)}},inputs:{selectedOrg:"selectedOrg"},outputs:{selectedOrgChange:"selectedOrgChange"},ngContentSelectors:["*"],decls:4,vars:3,consts:[["submitButton",""],[4,"ngIf"],["orgMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],["type","button","nz-button","","nz-dropdown","",3,"ngClass","hidden","disabled","nzDropdownMenu"],[3,"nzSrc","nzSize","nzShape"],["nz-icon","","nzType","down"],["nz-menu-item","",3,"nzSelected","click"],[2,"background-color","#f0f5ff",3,"nzSrc","nzSize","nzShape"]],template:function(_,m){1&_&&(o.F$t(),o.YNc(0,L,1,0,"ng-template",null,0,o.W1O),o.YNc(2,U,7,3,"ng-container",1),o.ALo(3,"async")),2&_&&(o.xp6(2),o.Q6J("ngIf",o.lcZ(3,1,m.organizations$)))},dependencies:[f.mk,f.sg,f.O5,f.tP,y.ix,y.fY,S.w,A.dQ,c.Dz,h.wO,h.r9,l.cm,l.RR,l.wA,f.Ov,T.fM],styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:first-child:not(:last-child){border-right-color:#ff4d4f}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:hover, [_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:focus{border-right-color:#fd7978}.org-dropdown-btn[_ngcontent-%COMP%] nz-avatar[_ngcontent-%COMP%]{margin:0 6px}.org-dropdown-btn.ant-btn-dangerous[_ngcontent-%COMP%]:last-child:not(:first-child), .org-dropdown-btn[_ngcontent-%COMP%] .ant-btn-dangerous[_ngcontent-%COMP%] + .ant-btn-dangerous[_ngcontent-%COMP%]{border-left-color:#fd7978}"]}),x);N=(0,r.gn)([(0,p.c)()],N)},6513:(W,I,e)=>{e.d(I,{Gl:()=>et,O3:()=>j,YW:()=>X,jO:()=>H});var r=e(9388),o=e(9594),p=e(6814),n=e(5879),O=e(6223),E=e(883),C=e(804),z=e(551),v=e(8645),M=e(2438),f=e(2096),y=e(5592),S=e(3019),A=e(7394),c=e(9773),h=e(3997),l=e(2460),T=e(7398),x=e(7921),L=e(4664),b=e(9087),Z=e(655),B=e(6028),Q=e(8484),w=e(5448),U=e(7754);const $=["items"];function N(s,d){1&s&&n.GkF(0)}const u=function(s){return{$implicit:s}};function _(s,d){if(1&s&&(n.ynx(0),n.YNc(1,N,1,0,"ng-container",10),n.BQk()),2&s){const t=n.oxw().$implicit,i=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",i.suggestionTemplate)("ngTemplateOutletContext",n.VKq(2,u,t))}}function m(s,d){if(1&s&&n._uU(0),2&s){const t=n.oxw().$implicit,i=n.oxw(2);n.Oqu(i.nzValueWith(t))}}function P(s,d){if(1&s){const t=n.EpF();n.TgZ(0,"li",6,7),n.NdJ("click",function(){const g=n.CHM(t).$implicit,D=n.oxw(2);return n.KtG(D.selectSuggestion(g))}),n.YNc(2,_,2,4,"ng-container",8),n.YNc(3,m,1,1,"ng-template",null,9,n.W1O),n.qZA()}if(2&s){const t=d.index,i=n.MAs(4),a=n.oxw(2);n.ekj("ant-mentions-dropdown-menu-item-active",t===a.activeIndex)("ant-mentions-dropdown-menu-item-selected",t===a.activeIndex),n.xp6(2),n.Q6J("ngIf",a.suggestionTemplate)("ngIfElse",i)}}function R(s,d){1&s&&(n.TgZ(0,"span"),n._UZ(1,"span",13),n.qZA())}function G(s,d){if(1&s&&(n.TgZ(0,"span"),n._UZ(1,"nz-embed-empty",14),n.qZA()),2&s){const t=n.oxw(3);n.xp6(1),n.Q6J("specificContent",t.nzNotFoundContent)}}function J(s,d){if(1&s&&(n.TgZ(0,"li",11),n.YNc(1,R,2,0,"span",12),n.YNc(2,G,2,1,"span",12),n.qZA()),2&s){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.nzLoading),n.xp6(1),n.Q6J("ngIf",!t.nzLoading)}}function k(s,d){if(1&s&&(n.TgZ(0,"div",2)(1,"ul",3),n.YNc(2,P,5,6,"li",4),n.YNc(3,J,3,2,"li",5),n.qZA()()),2&s){const t=n.oxw();n.xp6(2),n.Q6J("ngForOf",t.filteredSuggestions),n.xp6(1),n.Q6J("ngIf",0===t.filteredSuggestions.length)}}function q(s,d){if(1&s&&n._UZ(0,"nz-form-item-feedback-icon",15),2&s){const t=n.oxw();n.Q6J("status",t.status)}}const tt=["*"];let j=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275dir=n.lG2({type:s,selectors:[["","nzMentionSuggestion",""]],exportAs:["nzMentionSuggestion"]}),s})();let V=(()=>{class s{constructor(){this.triggerChange$=new v.x}triggerChanged(){return this.triggerChange$.asObservable()}registerTrigger(t){this.trigger!==t&&(this.trigger=t,this.triggerChange$.next(t))}ngOnDestroy(){this.triggerChange$.complete()}}return s.\u0275fac=function(t){return new(t||s)},s.\u0275prov=n.Yz7({token:s,factory:s.\u0275fac}),s})();const nt={provide:O.JU,useExisting:(0,n.Gpc)(()=>H),multi:!0};let H=(()=>{class s{constructor(t,i,a,g,D){this.el=t,this.ngZone=i,this.ref=a,this.destroy$=g,this.nzMentionService=D,this.onChange=()=>{},this.onTouched=()=>{},this.onFocusin=new n.vpe,this.onBlur=new n.vpe,this.onInput=new n.vpe,this.onKeydown=new n.vpe,this.onClick=new n.vpe}completeEvents(){this.onFocusin.complete(),this.onBlur.complete(),this.onInput.complete(),this.onKeydown.complete(),this.onClick.complete()}focus(t=null){this.el.nativeElement.focus(),this.el.nativeElement.setSelectionRange(t,t)}insertMention(t){const i=this.el.nativeElement.value,a=`${t.mention} `,g=[i.slice(0,t.startPos+1),a,i.slice(t.endPos,i.length)].join("");this.el.nativeElement.value=g,this.focus(t.startPos+a.length+1),this.onChange(g),this.value=g}writeValue(t){this.value=t,this.el.nativeElement.value="string"==typeof t?t:""}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}ngAfterViewInit(){this.nzMentionService.registerTrigger(this),this.setupEventListener("blur",this.onBlur),this.setupEventListener("focusin",this.onFocusin),this.setupEventListener("input",this.onInput,!0),this.setupEventListener("click",this.onClick,!0),this.setupEventListener("keydown",this.onKeydown,!0)}ngOnDestroy(){this.completeEvents()}setupEventListener(t,i,a=!1){this.ngZone.runOutsideAngular(()=>{(0,M.R)(this.el.nativeElement,t).pipe((0,c.R)(this.destroy$)).subscribe(g=>{i.observers.length&&this.ngZone.run(()=>{i.emit(a?g:void 0),this.ref.markForCheck()})})})}}return s.\u0275fac=function(t){return new(t||s)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(b.kn),n.Y36(V))},s.\u0275dir=n.lG2({type:s,selectors:[["input","nzMentionTrigger",""],["textarea","nzMentionTrigger",""]],hostAttrs:["autocomplete","off"],outputs:{onFocusin:"onFocusin",onBlur:"onBlur",onInput:"onInput",onKeydown:"onKeydown",onClick:"onClick"},exportAs:["nzMentionTrigger"],features:[n._Bn([b.kn,nt])]}),s})(),X=(()=>{class s{set suggestionChild(t){t&&(this.suggestionTemplate=t)}get triggerNativeElement(){return this.trigger.el.nativeElement}get focusItemElement(){const t=this.items?.toArray();return t&&t[this.activeIndex]?t[this.activeIndex].nativeElement:null}constructor(t,i,a,g,D,Y,F,ot,it,st,rt,at){this.ngZone=t,this.ngDocument=i,this.directionality=a,this.cdr=g,this.overlay=D,this.viewContainerRef=Y,this.elementRef=F,this.renderer=ot,this.nzMentionService=it,this.destroy$=st,this.nzFormStatusService=rt,this.nzFormNoStatusService=at,this.nzValueWith=_t=>_t,this.nzPrefix="@",this.nzLoading=!1,this.nzNotFoundContent="\u65e0\u5339\u914d\u7ed3\u679c\uff0c\u8f7b\u6572\u7a7a\u683c\u5b8c\u6210\u8f93\u5165",this.nzPlacement="bottom",this.nzSuggestions=[],this.nzStatus="",this.nzOnSelect=new n.vpe,this.nzOnSearchChange=new n.vpe,this.isOpen=!1,this.filteredSuggestions=[],this.suggestionTemplate=null,this.activeIndex=-1,this.dir="ltr",this.prefixCls="ant-mentions",this.statusCls={},this.status="",this.hasFeedback=!1,this.previousValue=null,this.cursorMention=null,this.overlayRef=null}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,h.x)((t,i)=>t.status===i.status&&t.hasFeedback===i.hasFeedback),(0,l.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,f.of)(!1)),(0,T.U)(([{status:t,hasFeedback:i},a])=>({status:a?"":t,hasFeedback:i})),(0,c.R)(this.destroy$)).subscribe(({status:t,hasFeedback:i})=>{this.setStatusStyles(t,i)}),this.nzMentionService.triggerChanged().subscribe(t=>{this.trigger=t,this.bindTriggerEvents(),this.closeDropdown(),this.overlayRef=null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,c.R)(this.destroy$)).subscribe(t=>{this.dir=t})}ngOnChanges(t){const{nzSuggestions:i,nzStatus:a}=t;i&&this.isOpen&&(this.previousValue=null,this.activeIndex=-1,this.resetDropdown(!1)),a&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.items.changes.pipe((0,x.O)(this.items),(0,L.w)(()=>{const t=this.items.toArray();return new y.y(i=>this.ngZone.runOutsideAngular(()=>(0,S.T)(...t.map(a=>(0,M.R)(a.nativeElement,"mousedown"))).subscribe(i)))})).subscribe(t=>{t.preventDefault()})}ngOnDestroy(){this.closeDropdown()}closeDropdown(){this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.overlayOutsideClickSubscription.unsubscribe(),this.isOpen=!1,this.cdr.markForCheck())}openDropdown(){this.attachOverlay(),this.isOpen=!0,this.cdr.markForCheck()}getMentions(){return this.trigger?(0,U.qR)(this.trigger.value,this.nzPrefix):[]}selectSuggestion(t){const i=this.nzValueWith(t);this.trigger.insertMention({mention:i,startPos:this.cursorMentionStart,endPos:this.cursorMentionEnd}),this.nzOnSelect.emit(t),this.closeDropdown(),this.activeIndex=-1}handleInput(t){const i=t.target;this.trigger.onChange(i.value),this.trigger.value=i.value,this.resetDropdown()}handleKeydown(t){const i=t.keyCode;if(this.isOpen&&i===B.K5&&-1!==this.activeIndex&&this.filteredSuggestions.length)this.selectSuggestion(this.filteredSuggestions[this.activeIndex]),t.preventDefault();else if(i===B.oh||i===B.SV)this.resetDropdown(),t.stopPropagation();else{if(this.isOpen&&(i===B.Mf||i===B.hY))return void this.closeDropdown();this.isOpen&&i===B.LH&&(this.setPreviousItemActive(),t.preventDefault(),t.stopPropagation()),this.isOpen&&i===B.JH&&(this.setNextItemActive(),t.preventDefault(),t.stopPropagation())}}handleClick(){this.resetDropdown()}bindTriggerEvents(){this.trigger.onInput.subscribe(t=>this.handleInput(t)),this.trigger.onKeydown.subscribe(t=>this.handleKeydown(t)),this.trigger.onClick.subscribe(()=>this.handleClick())}suggestionsFilter(t,i){const a=t.substring(1);if(this.previousValue===t&&t!==this.cursorMention[0])return;this.previousValue=t,i&&this.nzOnSearchChange.emit({value:this.cursorMention.substring(1),prefix:this.cursorMention[0]});const g=a.toLowerCase();this.filteredSuggestions=this.nzSuggestions.filter(D=>this.nzValueWith(D).toLowerCase().includes(g))}resetDropdown(t=!0){if(this.resetCursorMention(),"string"!=typeof this.cursorMention||!this.canOpen())return void this.closeDropdown();this.suggestionsFilter(this.cursorMention,t);const i=this.filteredSuggestions.indexOf(this.cursorMention.substring(1));this.activeIndex=i>=0?i:0,this.openDropdown()}setNextItemActive(){this.activeIndex=this.activeIndex+1<=this.filteredSuggestions.length-1?this.activeIndex+1:0,this.cdr.markForCheck(),this.scrollToFocusItem()}setPreviousItemActive(){this.activeIndex=this.activeIndex-1<0?this.filteredSuggestions.length-1:this.activeIndex-1,this.cdr.markForCheck(),this.scrollToFocusItem()}scrollToFocusItem(){this.focusItemElement&&this.focusItemElement.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}canOpen(){const t=this.triggerNativeElement;return!t.readOnly&&!t.disabled}resetCursorMention(){const t=this.triggerNativeElement.value.replace(/[\r\n]/g," ")||"",i=this.triggerNativeElement.selectionStart,a="string"==typeof this.nzPrefix?[this.nzPrefix]:this.nzPrefix;let g=a.length;for(;g>=0;){const D=t.lastIndexOf(a[g],i),Y=t.indexOf(" ",i)>-1?t.indexOf(" ",i):t.length,F=t.substring(D,Y);if(!(D>0&&" "!==t[D-1]||D<0||F.includes(a[g],1)||F.includes(" ")))return this.cursorMention=F,this.cursorMentionStart=D,void(this.cursorMentionEnd=Y);this.cursorMention=null,this.cursorMentionStart=-1,this.cursorMentionEnd=-1,g--}}updatePositions(){const t=(0,U.Ly)(this.triggerNativeElement,this.cursorMentionStart),i=t.top-this.triggerNativeElement.getBoundingClientRect().height-this.triggerNativeElement.scrollTop+("bottom"===this.nzPlacement?t.height-6:-6);this.positionStrategy.withDefaultOffsetX(t.left-this.triggerNativeElement.scrollLeft).withDefaultOffsetY(i),"bottom"===this.nzPlacement&&this.positionStrategy.withPositions([...w.fG]),"top"===this.nzPlacement&&this.positionStrategy.withPositions([...w.A7]),this.positionStrategy.apply()}subscribeOverlayOutsideClick(){const t=a=>{const g=a.target;return this.isOpen&&g!==this.trigger.el.nativeElement&&!this.overlayRef?.overlayElement.contains(g)},i=new A.w0;return i.add(this.overlayRef.outsidePointerEvents().subscribe(a=>t(a)&&this.closeDropdown())),i.add(this.ngZone.runOutsideAngular(()=>(0,M.R)(this.ngDocument,"touchend").subscribe(a=>t(a)&&this.ngZone.run(()=>this.closeDropdown())))),i}attachOverlay(){this.overlayRef||(this.portal=new Q.UE(this.suggestionsTemp,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick()),this.updatePositions()}getOverlayConfig(){return new o.X_({positionStrategy:this.getOverlayPosition(),scrollStrategy:this.overlay.scrollStrategies.reposition(),disposeOnNavigation:!0})}getOverlayPosition(){const t=[new o.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new o.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.trigger.el).withPositions(t).withFlexibleDimensions(!1).withPush(!1),this.positionStrategy}setStatusStyles(t,i){this.status=t,this.hasFeedback=i,this.cdr.markForCheck(),this.statusCls=(0,U.Zu)(this.prefixCls,t,i),Object.keys(this.statusCls).forEach(a=>{this.statusCls[a]?this.renderer.addClass(this.elementRef.nativeElement,a):this.renderer.removeClass(this.elementRef.nativeElement,a)})}}return s.\u0275fac=function(t){return new(t||s)(n.Y36(n.R0b),n.Y36(p.K0,8),n.Y36(r.Is,8),n.Y36(n.sBO),n.Y36(o.aV),n.Y36(n.s_b),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(V),n.Y36(b.kn),n.Y36(E.kH,8),n.Y36(E.yW,8))},s.\u0275cmp=n.Xpm({type:s,selectors:[["nz-mention"]],contentQueries:function(t,i,a){if(1&t&&n.Suo(a,j,5,n.Rgc),2&t){let g;n.iGM(g=n.CRH())&&(i.suggestionChild=g.first)}},viewQuery:function(t,i){if(1&t&&(n.Gf(n.Rgc,5),n.Gf($,5,n.SBq)),2&t){let a;n.iGM(a=n.CRH())&&(i.suggestionsTemp=a.first),n.iGM(a=n.CRH())&&(i.items=a)}},hostAttrs:[1,"ant-mentions"],hostVars:2,hostBindings:function(t,i){2&t&&n.ekj("ant-mentions-rtl","rtl"===i.dir)},inputs:{nzValueWith:"nzValueWith",nzPrefix:"nzPrefix",nzLoading:"nzLoading",nzNotFoundContent:"nzNotFoundContent",nzPlacement:"nzPlacement",nzSuggestions:"nzSuggestions",nzStatus:"nzStatus"},outputs:{nzOnSelect:"nzOnSelect",nzOnSearchChange:"nzOnSearchChange"},exportAs:["nzMention"],features:[n._Bn([V,b.kn]),n.TTD],ngContentSelectors:tt,decls:4,vars:1,consts:[["suggestions",""],["class","ant-mentions-suffix",3,"status",4,"ngIf"],[1,"ant-mentions-dropdown"],["role","menu","tabindex","0",1,"ant-mentions-dropdown-menu"],["class","ant-mentions-dropdown-menu-item","role","menuitem","tabindex","-1",3,"ant-mentions-dropdown-menu-item-active","ant-mentions-dropdown-menu-item-selected","click",4,"ngFor","ngForOf"],["class","ant-mentions-dropdown-menu-item ant-mentions-dropdown-menu-item-disabled",4,"ngIf"],["role","menuitem","tabindex","-1",1,"ant-mentions-dropdown-menu-item",3,"click"],["items",""],[4,"ngIf","ngIfElse"],["defaultSuggestion",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-mentions-dropdown-menu-item","ant-mentions-dropdown-menu-item-disabled"],[4,"ngIf"],["nz-icon","","nzType","loading"],["nzComponentName","select",3,"specificContent"],[1,"ant-mentions-suffix",3,"status"]],template:function(t,i){1&t&&(n.F$t(),n.Hsn(0),n.YNc(1,k,4,2,"ng-template",null,0,n.W1O),n.YNc(3,q,1,1,"nz-form-item-feedback-icon",1)),2&t&&(n.xp6(3),n.Q6J("ngIf",i.hasFeedback&&!!i.status))},dependencies:[p.sg,p.O5,p.tP,z.Ls,C.gB,E.w_],encapsulation:2,changeDetection:0}),(0,Z.gn)([(0,U.yF)()],s.prototype,"nzLoading",void 0),s})(),et=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=n.oAB({type:s}),s.\u0275inj=n.cJS({imports:[r.vT,p.ez,O.u5,o.U8,z.PV,C.Xo,E.mJ]}),s})()}}]); \ No newline at end of file diff --git a/server/public/3290.f73c6cfa287fc8be.js b/server/public/3290.f73c6cfa287fc8be.js new file mode 100644 index 000000000..2452b9f6c --- /dev/null +++ b/server/public/3290.f73c6cfa287fc8be.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3290],{3145:(K,y,r)=>{r.d(y,{I:()=>Y});var n=r(4190),v=r(8645),e=r(2181),T=r(9773),b=r(7921),i=r(5879),m=r(6593);let N=(()=>{class g{constructor(d,p){this.title=d,this.meta=p}updateTitle(d){this.title.setTitle(d+=" | CIViC")}updateMetaTags(d){d.forEach(p=>this.meta.updateTag(p))}}return g.\u0275fac=function(d){return new(d||g)(i.LFG(m.Dx),i.LFG(m.h_))},g.\u0275prov=i.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();var P=r(6814),x=r(95),R=r(3626);function H(g,f){}function L(g,f){if(1&g&&(i.TgZ(0,"nz-col",5),i.YNc(1,H,0,0,"ng-template",6),i.qZA()),2&g){const d=i.oxw();i.Q6J("nzSpan",d.relationsTpl?5:14),i.xp6(1),i.Q6J("ngTemplateOutlet",d.actionsTpl)}}function S(g,f){}function F(g,f){if(1&g&&(i.TgZ(0,"nz-col",7),i.YNc(1,S,0,0,"ng-template",6),i.qZA()),2&g){const d=i.oxw();i.Q6J("nzSpan",d.actionsTpl?9:14),i.xp6(1),i.Q6J("ngTemplateOutlet",d.relationsTpl)}}const U=function(g,f,d){return{"has-relations":g,"has-actions":f,"no-extras":d}};let Y=(()=>{class g{constructor(d,p,z){this.titleService=d,this.injector=p,this.cdr=z,this.destroy$=new v.x,this.segments=[],this._getRouteLabel=h=>"DISPLAYNAME"!==h?h:void 0===this.displayName?"[?DISPLAY NAME?]":this.displayName,this.getRouteLabel=h=>h}ngOnInit(){this.getRouteLabel=this._getRouteLabel,this.registerRouterChange()}registerRouterChange(){try{const d=this.injector.get(n.F0),p=this.injector.get(n.gz);d.events.pipe((0,e.h)(z=>z instanceof n.m2),(0,T.R)(this.destroy$),(0,b.O)(!0)).subscribe(()=>{this.segments=this.getTitleSegments(p.root);let z="",h=this.segments.length,C=1;this.segments.forEach(D=>{z+=this._getRouteLabel(D.label),CM.path).filter(M=>M).join("/"),B=D?p+`/${D}`:p,A=C.snapshot.data.breadcrumb;return D&&A&&z.push({label:A,url:B}),this.getTitleSegments(C,B,z)}return z}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return g.\u0275fac=function(d){return new(d||g)(i.Y36(N),i.Y36(i.zs3),i.Y36(i.sBO))},g.\u0275cmp=i.Xpm({type:g,selectors:[["cvc-section-navigation"]],inputs:{displayName:"displayName",relationsTpl:"relationsTpl",actionsTpl:"actionsTpl"},decls:5,vars:9,consts:[["id","nav-container",3,"ngClass"],["nzSpan","10","id","breadcrumbs"],[3,"nzAutoGenerate","nzRouteLabelFn"],["id","action-btns",3,"nzSpan",4,"ngIf"],["id","relations-summary",3,"nzSpan",4,"ngIf"],["id","action-btns",3,"nzSpan"],[3,"ngTemplateOutlet"],["id","relations-summary",3,"nzSpan"]],template:function(d,p){1&d&&(i.TgZ(0,"nz-row",0)(1,"nz-col",1),i._UZ(2,"nz-breadcrumb",2),i.qZA(),i.YNc(3,L,2,2,"nz-col",3),i.YNc(4,F,2,2,"nz-col",4),i.qZA()),2&d&&(i.Q6J("ngClass",i.kEZ(5,U,void 0!==p.relationsTpl,void 0!==p.actionsTpl,!(p.relationsTpl||p.actionsTpl))),i.xp6(2),i.Q6J("nzAutoGenerate",!0)("nzRouteLabelFn",p.getRouteLabel),i.xp6(1),i.Q6J("ngIf",p.actionsTpl),i.xp6(1),i.Q6J("ngIf",p.relationsTpl))},dependencies:[P.mk,P.O5,P.tP,x.t3,x.SK,R.Dg],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]{display:block}#nav-container[_ngcontent-%COMP%]{margin-top:-12px;padding:8px}#nav-container.has-actions[_ngcontent-%COMP%]{padding:7px}#breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb a, #breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb-separator{color:#ffffffa6}#breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb a:hover{color:#40a9ff}#action-btns[_ngcontent-%COMP%], #relations-summary[_ngcontent-%COMP%]{text-align:right}#relations-summary[_ngcontent-%COMP%] .label{color:#ffffffa6}#relations-summary[_ngcontent-%COMP%] nz-space .tags>*:last-child nz-tag{margin-right:0}#relations-summary[_ngcontent-%COMP%] nz-space .ant-space-item:last-child{margin-right:0!important}"],changeDetection:0}),g})()},2419:(K,y,r)=>{r.d(y,{D:()=>i});var n=r(6814),v=r(95),e=r(3626),T=r(4190),b=r(5879);let i=(()=>{class m{}return m.\u0275fac=function(P){return new(P||m)},m.\u0275mod=b.oAB({type:m}),m.\u0275inj=b.cJS({imports:[n.ez,T.Bz,v.Jb,e.lt]}),m})()},3626:(K,y,r)=>{r.d(y,{Dg:()=>M,lt:()=>J});var n=r(5879),v=r(6814),e=r(8324),T=r(2787),b=r(551),i=r(655),m=r(4190),N=r(8645),P=r(9773),x=r(2181),R=r(7921),H=r(7032),L=r(7754),S=r(9388),F=r(9594),U=r(5448);function Y(o,u){}function g(o,u){1&o&&n._UZ(0,"span",6)}function f(o,u){if(1&o&&(n.ynx(0),n.TgZ(1,"span",3),n.YNc(2,Y,0,0,"ng-template",4),n.YNc(3,g,1,0,"span",5),n.qZA(),n.BQk()),2&o){const c=n.oxw(),_=n.MAs(2);n.xp6(1),n.Q6J("nzDropdownMenu",c.nzOverlay),n.xp6(1),n.Q6J("ngTemplateOutlet",_),n.xp6(1),n.Q6J("ngIf",!!c.nzOverlay)}}function d(o,u){1&o&&(n.TgZ(0,"span",7),n.Hsn(1),n.qZA())}function p(o,u){if(1&o&&(n.ynx(0),n._uU(1),n.BQk()),2&o){const c=n.oxw(2);n.xp6(1),n.hij(" ",c.nzBreadCrumbComponent.nzSeparator," ")}}function z(o,u){if(1&o&&(n.TgZ(0,"span",8),n.YNc(1,p,2,1,"ng-container",9),n.qZA()),2&o){const c=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",c.nzBreadCrumbComponent.nzSeparator)}}const h=["*"];function C(o,u){if(1&o){const c=n.EpF();n.TgZ(0,"nz-breadcrumb-item")(1,"a",2),n.NdJ("click",function(t){const a=n.CHM(c).$implicit,l=n.oxw(2);return n.KtG(l.navigate(a.url,t))}),n._uU(2),n.qZA()()}if(2&o){const c=u.$implicit;n.xp6(1),n.uIk("href",c.url,n.LSH),n.xp6(1),n.Oqu(c.label)}}function D(o,u){if(1&o&&(n.ynx(0),n.YNc(1,C,3,2,"nz-breadcrumb-item",1),n.BQk()),2&o){const c=n.oxw();n.xp6(1),n.Q6J("ngForOf",c.breadcrumbs)}}class B{}let A=(()=>{class o{constructor(c){this.nzBreadCrumbComponent=c}}return o.\u0275fac=function(c){return new(c||o)(n.Y36(B))},o.\u0275cmp=n.Xpm({type:o,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:h,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],["class","ant-breadcrumb-separator",4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[1,"ant-breadcrumb-separator"],[4,"nzStringTemplateOutlet"]],template:function(c,_){if(1&c&&(n.F$t(),n.YNc(0,f,4,3,"ng-container",0),n.YNc(1,d,2,0,"ng-template",null,1,n.W1O),n.YNc(3,z,2,1,"span",2)),2&c){const t=n.MAs(2);n.Q6J("ngIf",!!_.nzOverlay)("ngIfElse",t),n.xp6(3),n.Q6J("ngIf",_.nzBreadCrumbComponent.nzSeparator)}},dependencies:[v.O5,v.tP,e.f,T.cm,b.Ls],encapsulation:2,changeDetection:0}),o})(),M=(()=>{class o{constructor(c,_,t,s,a){this.injector=c,this.cdr=_,this.elementRef=t,this.renderer=s,this.directionality=a,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=l=>l,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new N.x}ngOnInit(){this.nzAutoGenerate&&this.registerRouterChange(),this.directionality.change?.pipe((0,P.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(c,_){_.preventDefault(),this.injector.get(m.F0).navigateByUrl(c)}registerRouterChange(){try{const c=this.injector.get(m.F0),_=this.injector.get(m.gz);c.events.pipe((0,x.h)(t=>t instanceof m.m2),(0,P.R)(this.destroy$),(0,R.O)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(_.root),this.cdr.markForCheck()})}catch{throw new Error(`${H.Bq} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(c,_="",t=[]){const s=c.children;if(0===s.length)return t;for(const a of s)if(a.outlet===m.eC){const l=a.snapshot.url.map(I=>I.path).filter(I=>I).join("/"),E=l?`${_}/${l}`:_,O=this.nzRouteLabelFn(a.snapshot.data[this.nzRouteLabel]);return l&&O&&t.push({label:O,params:a.snapshot.params,url:E}),this.getBreadcrumbs(a,E,t)}return t}prepareComponentForRtl(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}}return o.\u0275fac=function(c){return new(c||o)(n.Y36(n.zs3),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(S.Is,8))},o.\u0275cmp=n.Xpm({type:o,selectors:[["nz-breadcrumb"]],hostAttrs:[1,"ant-breadcrumb"],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn"},exportAs:["nzBreadcrumb"],features:[n._Bn([{provide:B,useExisting:o}])],ngContentSelectors:h,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(c,_){1&c&&(n.F$t(),n.Hsn(0),n.YNc(1,D,2,1,"ng-container",0)),2&c&&(n.xp6(1),n.Q6J("ngIf",_.nzAutoGenerate&&_.breadcrumbs.length))},dependencies:[v.sg,v.O5,A],encapsulation:2,changeDetection:0}),(0,i.gn)([(0,L.yF)()],o.prototype,"nzAutoGenerate",void 0),o})(),J=(()=>{class o{}return o.\u0275fac=function(c){return new(c||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[v.ez,e.T,F.U8,U.e4,T.b1,b.PV,S.vT]}),o})()},6254:(K,y,r)=>{r.d(y,{$O:()=>u,Jp:()=>A,KJ:()=>_,ZJ:()=>B,u5:()=>D,u9:()=>h,yG:()=>C});var n=r(9388),v=r(6814),e=r(5879),T=r(8324),b=r(551),i=r(655),m=r(8645),N=r(9773),P=r(7398),x=r(874),R=r(7032),H=r(8802);function L(t,s){if(1&t&&(e.ynx(0),e._UZ(1,"span",9),e.BQk()),2&t){const a=s.$implicit,l=e.oxw(2);e.xp6(1),e.Q6J("nzType",a||l.getBackIcon())}}function S(t,s){if(1&t){const a=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(a);const E=e.oxw();return e.KtG(E.onBack())}),e.TgZ(1,"div",7),e.YNc(2,L,2,1,"ng-container",8),e.qZA()()}if(2&t){const a=e.oxw();e.xp6(2),e.Q6J("nzStringTemplateOutlet",a.nzBackIcon)}}function F(t,s){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzTitle)}}function U(t,s){if(1&t&&(e.TgZ(0,"span",10),e.YNc(1,F,2,1,"ng-container",8),e.qZA()),2&t){const a=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",a.nzTitle)}}function Y(t,s){1&t&&e.Hsn(0,6,["*ngIf","!nzTitle"])}function g(t,s){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzSubtitle)}}function f(t,s){if(1&t&&(e.TgZ(0,"span",11),e.YNc(1,g,2,1,"ng-container",8),e.qZA()),2&t){const a=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",a.nzSubtitle)}}function d(t,s){1&t&&e.Hsn(0,7,["*ngIf","!nzSubtitle"])}const p=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],z=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"];let h=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),t})(),C=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),t})(),D=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-content"],["","nz-page-header-content",""]],hostAttrs:[1,"ant-page-header-content"],exportAs:["nzPageHeaderContent"]}),t})(),B=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-tags"],["","nz-page-header-tags",""]],hostAttrs:[1,"ant-page-header-heading-tags"],exportAs:["nzPageHeaderTags"]}),t})(),A=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),t})(),u=(()=>{class t{constructor(a,l,E,O,I,Q){this.location=a,this.nzConfigService=l,this.elementRef=E,this.nzResizeObserver=O,this.cdr=I,this.directionality=Q,this._nzModuleName="pageHeader",this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new e.vpe,this.compact=!1,this.destroy$=new m.x,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe((0,N.R)(this.destroy$)).subscribe(a=>{this.dir=a,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,P.U)(([a])=>a.contentRect.width),(0,N.R)(this.destroy$)).subscribe(a=>{this.compact=a<768,this.cdr.markForCheck()})}onBack(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(`${R.Bq} you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!`);this.location.back()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getBackIcon(){return"rtl"===this.dir?"arrow-right":"arrow-left"}}return t.\u0275fac=function(a){return new(a||t)(e.Y36(v.Ye,8),e.Y36(x.jY),e.Y36(e.SBq),e.Y36(H.D3),e.Y36(e.sBO),e.Y36(n.Is,8))},t.\u0275cmp=e.Xpm({type:t,selectors:[["nz-page-header"]],contentQueries:function(a,l,E){if(1&a&&(e.Suo(E,M,5),e.Suo(E,W,5)),2&a){let O;e.iGM(O=e.CRH())&&(l.nzPageHeaderFooter=O.first),e.iGM(O=e.CRH())&&(l.nzPageHeaderBreadcrumb=O.first)}},hostAttrs:[1,"ant-page-header"],hostVars:10,hostBindings:function(a,l){2&a&&e.ekj("has-footer",l.nzPageHeaderFooter)("ant-page-header-ghost",l.nzGhost)("has-breadcrumb",l.nzPageHeaderBreadcrumb)("ant-page-header-compact",l.compact)("ant-page-header-rtl","rtl"===l.dir)},inputs:{nzBackIcon:"nzBackIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzGhost:"nzGhost"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:z,decls:13,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(a,l){1&a&&(e.F$t(p),e.Hsn(0),e.TgZ(1,"div",0)(2,"div",1),e.YNc(3,S,3,1,"div",2),e.Hsn(4,1),e.YNc(5,U,2,1,"span",3),e.YNc(6,Y,1,0,"ng-content",4),e.YNc(7,f,2,1,"span",5),e.YNc(8,d,1,0,"ng-content",4),e.Hsn(9,2),e.qZA(),e.Hsn(10,3),e.qZA(),e.Hsn(11,4),e.Hsn(12,5)),2&a&&(e.xp6(3),e.Q6J("ngIf",null!==l.nzBackIcon),e.xp6(2),e.Q6J("ngIf",l.nzTitle),e.xp6(1),e.Q6J("ngIf",!l.nzTitle),e.xp6(1),e.Q6J("ngIf",l.nzSubtitle),e.xp6(1),e.Q6J("ngIf",!l.nzSubtitle))},dependencies:[v.O5,T.f,b.Ls],encapsulation:2,changeDetection:0}),(0,i.gn)([(0,x.oS)()],t.prototype,"nzGhost",void 0),t})(),_=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[n.vT,v.ez,T.T,b.PV]}),t})()}}]); \ No newline at end of file diff --git a/server/public/3291.bdb19855e1d46c8e.js b/server/public/3291.bdb19855e1d46c8e.js new file mode 100644 index 000000000..f09c5624d --- /dev/null +++ b/server/public/3291.bdb19855e1d46c8e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3291],{4527:(ut,E,i)=>{i.d(E,{T:()=>S});var a=i(5879),U=i(6814),e=i(5695),v=i(7417),b=i(1887),x=i(4770),y=i(9775),A=i(215),I=i(4121),t=i(9408),q=i(7938);const w=function(u){return{"matched-tag":u}},j=function(u,f){return{tagType:u,tag:f}};function Z(u,f){if(1&u&&(a.TgZ(0,"div",2),a.GkF(1,6),a.qZA()),2&u){const _=f.$implicit,m=a.oxw(),Y=a.MAs(7);a.Q6J("ngClass",a.VKq(3,w,m.matchingText&&_.name.toLowerCase().includes(m.matchingText))),a.xp6(1),a.Q6J("ngTemplateOutlet",Y)("ngTemplateOutletContext",a.WLB(5,j,m.tagType,_))}}function D(u,f){if(1&u&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&u){const _=a.oxw(2);a.xp6(1),a.hij(" ",_.matchedHiddenCount," of ")}}function J(u,f){if(1&u&&(a.TgZ(0,"nz-tag",7),a._uU(1," +"),a.YNc(2,D,2,1,"span",8),a._uU(3),a.qZA()),2&u){const _=a.oxw(),m=a.MAs(5);a.Q6J("nzPopoverContent",m),a.xp6(2),a.Q6J("ngIf",_.matchedHiddenCount>0),a.xp6(1),a.hij("",_.hiddenCount," ")}}function $(u,f){if(1&u&&(a.TgZ(0,"div",2),a.ynx(1,10),a.GkF(2,6),a.BQk(),a.qZA()),2&u){const _=f.$implicit,m=a.oxw(2),Y=a.MAs(7);a.Q6J("ngClass",a.VKq(4,w,m.matchingText&&_.name.toLowerCase().includes(m.matchingText))),a.xp6(1),a.Q6J("ngSwitch",m.tagType),a.xp6(1),a.Q6J("ngTemplateOutlet",Y)("ngTemplateOutletContext",a.WLB(6,j,m.tagType,_))}}function R(u,f){if(1&u&&(a.TgZ(0,"div",9)(1,"cvc-tag-list",0),a.YNc(2,$,3,9,"div",1),a.qZA()()),2&u){const _=a.oxw();a.xp6(2),a.Q6J("ngForOf",_.hiddenTags)}}function F(u,f){if(1&u&&(a.ynx(0),a._UZ(1,"cvc-therapy-tag",12),a.BQk()),2&u){const _=a.oxw().tag;a.xp6(1),a.Q6J("therapy",_)("truncateLongName",!0)}}function P(u,f){if(1&u&&(a.ynx(0),a._UZ(1,"cvc-disease-tag",13),a.BQk()),2&u){const _=a.oxw().tag;a.xp6(1),a.Q6J("disease",_)("truncateLongName",!0)}}function k(u,f){if(1&u&&(a.ynx(0),a._UZ(1,"cvc-gene-tag",14),a.BQk()),2&u){const _=a.oxw().tag;a.xp6(1),a.Q6J("gene",_)("truncateLongName",!0)}}function Q(u,f){if(1&u&&(a.ynx(0),a._UZ(1,"cvc-organization-tag",15),a.BQk()),2&u){const _=a.oxw().tag;a.xp6(1),a.Q6J("org",_)}}function B(u,f){if(1&u&&(a.ynx(0),a._UZ(1,"cvc-variant-tag",16),a.BQk()),2&u){const _=a.oxw().tag;a.xp6(1),a.Q6J("variant",_)}}function X(u,f){if(1&u&&(a.ynx(0),a._UZ(1,"cvc-variant-type-tag",17),a.BQk()),2&u){const _=a.oxw().tag;a.xp6(1),a.Q6J("variantType",_)}}function H(u,f){1&u&&(a.ynx(0,10),a.YNc(1,F,2,2,"ng-container",11),a.YNc(2,P,2,2,"ng-container",11),a.YNc(3,k,2,2,"ng-container",11),a.YNc(4,Q,2,1,"ng-container",11),a.YNc(5,B,2,1,"ng-container",11),a.YNc(6,X,2,1,"ng-container",11),a.BQk()),2&u&&(a.Q6J("ngSwitch",f.tagType),a.xp6(1),a.Q6J("ngSwitchCase","therapy"),a.xp6(1),a.Q6J("ngSwitchCase","disease"),a.xp6(1),a.Q6J("ngSwitchCase","gene"),a.xp6(1),a.Q6J("ngSwitchCase","organization"),a.xp6(1),a.Q6J("ngSwitchCase","variant"),a.xp6(1),a.Q6J("ngSwitchCase","variant-type"))}let S=(()=>{class u{constructor(_){this.cdr=_,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(_){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let _=this.matchingText.toLowerCase();this.hiddenTags.forEach(m=>{m.name.toLowerCase().includes(_)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}return u.\u0275fac=function(_){return new(_||u)(a.Y36(a.sBO))},u.\u0275cmp=a.Xpm({type:u,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[a.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(_,m){1&_&&(a.TgZ(0,"cvc-tag-list",0),a.YNc(1,Z,2,8,"div",1),a.TgZ(2,"div",2),a.YNc(3,J,4,3,"nz-tag",3),a.qZA(),a.YNc(4,R,3,1,"ng-template",null,4,a.W1O),a.qZA(),a.YNc(6,H,7,7,"ng-template",null,5,a.W1O)),2&_&&(a.xp6(1),a.Q6J("ngForOf",m.displayedTags),a.xp6(1),a.Q6J("ngClass",a.VKq(3,w,m.matchedHiddenCount>0)),a.xp6(1),a.Q6J("ngIf",m.hiddenCount&&m.hiddenCount>0))},dependencies:[U.mk,U.sg,U.O5,U.tP,U.RF,U.n9,e.j,v.lU,b.$,x.T,y.n,A.m,I.H,t.I,q.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0}),u})()},4082:(ut,E,i)=>{i.d(E,{I:()=>U});var a=i(5879);let U=(()=>{class e{transform(b){if(b){let y=b.toLowerCase().replace(/_/g," ").split(" ");for(var x=0;x{i.r(E),i.d(E,{UsersDetailModule:()=>Fe});var a=i(6814),U=i(2419),e=i(6254),v=i(4190),b=i(4059),x=i(2574),y=i(1022),A=i(2840),I=i(551),t=i(5879);let q=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[a.ez,A.sL,I.PV]}),o})();var w=i(8125),j=i(1106),Z=i(95),D=i(2524),J=i(2962),$=i(2996),R=i(6987),F=i(67),P=i(6223),k=i(3903),Q=i(3599),B=i(3394),X=i(7907),H=i(2669),S=i(9691);let u=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[a.ez,P.u5,Q.U5,P.UX,J.vh,k.L,X.aF,A.sL,H.j,S.LV,B.B]}),o})();var f=i(8788),_=i(5572),m=i(1826);let Y=(()=>{class o{constructor(n){this.route=n,this.userId=+this.route.snapshot.params.userId}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(v.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-users-assertions"]],decls:1,vars:1,consts:[["cvcTitle","User Assertions",3,"userId"]],template:function(n,s){1&n&&t._UZ(0,"cvc-assertions-table",0),2&n&&t.Q6J("userId",s.userId)},dependencies:[m.x],styles:["[_nghost-%COMP%]{display:block}"]}),o})();var z=i(313),_t=i(7441);let mt=(()=>{class o{constructor(n){this.route=n,this.mode=z.wJ2.User,this.userId=+this.route.snapshot.params.userId}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(v.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-users-events"]],decls:1,vars:2,consts:[["tagDisplay","hideUser",3,"userId","mode"]],template:function(n,s){1&n&&t._UZ(0,"cvc-event-feed",0),2&n&&t.Q6J("userId",s.userId)("mode",s.mode)},dependencies:[_t.o],styles:["[_nghost-%COMP%]{display:block}"]}),o})();var ft=i(6822);let ht=(()=>{class o{constructor(n){this.route=n,this.userId=+this.route.snapshot.params.userId}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(v.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-users-evidence"]],decls:1,vars:1,consts:[["cvcTitle","User Evidence",3,"userId"]],template:function(n,s){1&n&&t._UZ(0,"cvc-evidence-table",0),2&n&&t.Q6J("userId",s.userId)},dependencies:[ft.a],styles:["[_nghost-%COMP%]{display:block}"]}),o})();var tt=i(2024),K=i(5676),O=i(7398),W=i(2181),it=i(7921),at=i(7473),Ct=i(6109),N=i(855),st=i(1958),zt=i(2612),rt=i(3498),vt=i(4736),Tt=i(6794),et=i(8091),xt=i(7908),Ut=i(6116);function bt(o,c){if(1&o&&(t.TgZ(0,"nz-col"),t._UZ(1,"i",17),t._uU(2),t.qZA()),2&o){const n=c.$implicit;t.xp6(1),t.Q6J("nzType",n.iconName),t.xp6(1),t.hij(" ",n.displayName," ")}}function Mt(o,c){1&o&&(t._uU(0),t.ALo(1,"eventVerbiage")),2&o&&t.hij(" ",t.xi3(1,1,c.$implicit.id,"action-filter")," ")}function yt(o,c){if(1&o&&(t.TgZ(0,"nz-col"),t._UZ(1,"i",17),t.ALo(2,"iconNameForSubscribableEntity"),t._uU(3),t.qZA()),2&o){const n=c.$implicit;t.xp6(1),t.Q6J("nzType",t.lcZ(2,3,n.subjectWithCount.subject.__typename)),t.xp6(2),t.AsE(" ",n.subjectWithCount.subject.name," (",n.subjectWithCount.occuranceCount,") ")}}function Zt(o,c){if(1&o&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&o){const n=c.$implicit;t.xp6(1),t.hij(" ",n.displayName," ")}}function At(o,c){if(1&o&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&o){const n=c.$implicit;t.xp6(1),t.hij(" ",n.name," ")}}function Ot(o,c){if(1&o){const n=t.EpF();t.TgZ(0,"button",18),t.NdJ("click",function(){t.CHM(n);const l=t.oxw(2);return t.KtG(l.bulkMarkRead())}),t._UZ(1,"i",19),t._uU(2,"Mark as read "),t.qZA(),t.TgZ(3,"button",18),t.NdJ("click",function(){t.CHM(n);const l=t.oxw(2);return t.KtG(l.bulkMarkUnread())}),t._UZ(4,"i",19),t._uU(5,"Mark as unread "),t.qZA(),t.TgZ(6,"button",18),t.NdJ("click",function(){t.CHM(n);const l=t.oxw(2);return t.KtG(l.bulkUnsubscribe())}),t._UZ(7,"i",20),t._uU(8,"Unsubscribe "),t.qZA(),t._uU(9," Check all "),t.TgZ(10,"label",21),t.NdJ("ngModelChange",function(l){t.CHM(n);const g=t.oxw(2);return t.KtG(g.allChecked=l)})("nzCheckedChange",function(l){t.CHM(n);const g=t.oxw(2);return t.KtG(g.onCheckAllCheckBoxClicked(l))}),t.qZA()}if(2&o){const n=t.oxw(2);t.Q6J("disabled",!n.bulkMarkEnabled),t.xp6(3),t.Q6J("disabled",!n.bulkMarkEnabled),t.xp6(3),t.Q6J("disabled",!n.bulkMarkEnabled),t.xp6(4),t.Q6J("ngModel",n.allChecked)("nzIndeterminate",n.someChecked)}}function Pt(o,c){if(1&o&&t._UZ(0,"i",32),2&o){const n=t.oxw().$implicit;t.Q6J("nzType","SUBSCRIPTION"===n.key.type?"book":"notification")("nzTheme",n.key.seen?"outline":"twotone")}}function St(o,c){if(1&o){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",33),t.NdJ("click",function(){t.CHM(n);const l=t.oxw().$implicit,g=t.oxw(3);return t.KtG(g.markAsUnread(l.key.id))}),t._UZ(2,"i",34),t.qZA(),t.BQk()}}function Nt(o,c){if(1&o){const n=t.EpF();t.TgZ(0,"button",35),t.NdJ("click",function(){t.CHM(n);const l=t.oxw().$implicit,g=t.oxw(3);return t.KtG(g.markAsRead(l.key.id))}),t._UZ(1,"i",19),t.qZA()}}function It(o,c){if(1&o){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",36),t.NdJ("click",function(){t.CHM(n);const l=t.oxw().$implicit,g=t.oxw(3);return t.KtG(g.unsubscribe(l.key.subscription.subscribable.id,l.key.subscription.subscribable.__typename))}),t._UZ(2,"i",20),t.qZA(),t.BQk()}if(2&o){const n=t.oxw().$implicit;t.xp6(1),t.MGl("nzTooltipTitle","You received this notification because you are subscribed to ",n.key.subscription.subscribable.name,". Click to unsubscribe.")}}function Jt(o,c){1&o&&(t.TgZ(0,"button",37),t._UZ(1,"i",20),t.qZA())}function Qt(o,c){if(1&o){const n=t.EpF();t.ynx(0),t.TgZ(1,"nz-timeline-item",23),t.YNc(2,Pt,1,2,"ng-template",null,24,t.W1O),t.TgZ(4,"nz-row")(5,"nz-col",25),t._UZ(6,"cvc-event-timeline-item",26),t.qZA(),t.TgZ(7,"nz-col",27),t.YNc(8,St,3,0,"ng-container",28),t.YNc(9,Nt,2,0,"ng-template",null,29,t.W1O),t.qZA(),t.TgZ(11,"nz-col",27),t.YNc(12,It,3,1,"ng-container",28),t.YNc(13,Jt,2,0,"ng-template",null,30,t.W1O),t.TgZ(15,"label",31),t.NdJ("ngModelChange",function(l){const T=t.CHM(n).$implicit;return t.KtG(T.value.checked=l)})("nzCheckedChange",function(l){const T=t.CHM(n).$implicit,ae=t.oxw(3);return t.KtG(ae.onNotificationCheckBoxClicked(T.key.id,l))}),t.qZA()()()(),t.BQk()}if(2&o){const n=c.$implicit,s=t.MAs(3),l=t.MAs(10),g=t.MAs(14);t.xp6(1),t.Q6J("nzDot",s)("nzColor",n.key.seen?"gray":"blue"),t.xp6(5),t.Q6J("event",n.key.event),t.xp6(2),t.Q6J("ngIf",n.key.seen)("ngIfElse",l),t.xp6(4),t.Q6J("ngIf",n.key.subscription)("ngIfElse",g),t.xp6(3),t.Q6J("ngModel",n.value.checked)}}function Et(o,c){if(1&o&&(t.TgZ(0,"nz-timeline"),t.YNc(1,Qt,16,8,"ng-container",22),t.ALo(2,"keyvalue"),t.qZA()),2&o){const n=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,1,n))}}function nt(o,c){if(1&o){const n=t.EpF();t.TgZ(0,"div",39)(1,"button",40),t.NdJ("click",function(){t.CHM(n);const l=t.oxw().ngIf,g=t.oxw(2);return t.KtG(g.fetchMore(l.endCursor))}),t._uU(2," Load More "),t.qZA()()}}function wt(o,c){if(1&o&&(t.ynx(0),t.YNc(1,nt,3,0,"div",38),t.BQk()),2&o){const n=c.ngIf;t.xp6(1),t.Q6J("ngIf",n.hasNextPage&&n.endCursor)}}const V=function(){return[]};function se(o,c){if(1&o){const n=t.EpF();t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-row")(4,"nz-button-group",4)(5,"button",5),t.NdJ("click",function(){t.CHM(n);const l=t.oxw();return t.KtG(l.setIncludeRead(!1))}),t._uU(6," Unread "),t.qZA(),t.TgZ(7,"button",5),t.NdJ("click",function(){t.CHM(n);const l=t.oxw();return t.KtG(l.setIncludeRead(!0))}),t._uU(8," All "),t.qZA()()(),t.TgZ(9,"nz-row")(10,"nz-col",6)(11,"cvc-participant-list",7),t.NdJ("participantSelectedEvent",function(l){t.CHM(n);const g=t.oxw();return t.KtG(g.onNotificationReasonSelected(l))}),t.YNc(12,bt,3,2,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(14,"cvc-participant-list",9),t.NdJ("participantSelectedEvent",function(l){t.CHM(n);const g=t.oxw();return t.KtG(g.onActionSelected(l))}),t.ALo(15,"ngrxPush"),t.YNc(16,Mt,2,4,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(18,"cvc-participant-list",10),t.NdJ("participantSelectedEvent",function(l){t.CHM(n);const g=t.oxw();return t.KtG(g.onNotificationSubjectSelected(l))}),t.ALo(19,"ngrxPush"),t.YNc(20,yt,4,5,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(22,"cvc-participant-list",11),t.NdJ("participantSelectedEvent",function(l){t.CHM(n);const g=t.oxw();return t.KtG(g.onOriginatingUserSelected(l))}),t.ALo(23,"ngrxPush"),t.YNc(24,Zt,2,1,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(26,"cvc-participant-list",12),t.NdJ("participantSelectedEvent",function(l){t.CHM(n);const g=t.oxw();return t.KtG(g.onOrganizationSelected(l))}),t.ALo(27,"ngrxPush"),t.YNc(28,At,2,1,"ng-template",null,8,t.W1O),t.qZA()()()(),t.TgZ(30,"nz-col",13)(31,"nz-card",14),t.YNc(32,Ot,11,5,"ng-template",null,15,t.W1O),t.TgZ(34,"nz-row",2)(35,"nz-col",16),t.YNc(36,Et,3,3,"nz-timeline",1),t.YNc(37,wt,2,1,"ng-container",1),t.ALo(38,"ngrxPush"),t.qZA()()()()(),t.BQk()}if(2&o){const n=c.ngIf,s=t.MAs(33),l=t.oxw();t.xp6(1),t.Q6J("nzGutter",25),t.xp6(4),t.Q6J("nzType",l.includeReadInput?"default":"primary"),t.xp6(2),t.Q6J("nzType",l.includeReadInput?"primary":"default"),t.xp6(4),t.Q6J("participantList",l.notificationTypes),t.xp6(3),t.Q6J("participantList",t.lcZ(15,12,l.actions$)||t.DdM(22,V)),t.xp6(4),t.Q6J("participantList",t.lcZ(19,14,l.notificationSubjects$)||t.DdM(23,V)),t.xp6(4),t.Q6J("participantList",t.lcZ(23,16,l.originatingUsers$)||t.DdM(24,V)),t.xp6(4),t.Q6J("participantList",t.lcZ(27,18,l.organizations$)||t.DdM(25,V)),t.xp6(5),t.Q6J("nzExtra",s),t.xp6(3),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",n.size>0),t.xp6(1),t.Q6J("ngIf",t.lcZ(38,20,l.pageInfo$))}}let re=(()=>{class o{constructor(n,s,l,g,T){this.route=n,this.gql=s,this.networkErrorService=l,this.updateNotificationStatusMuation=g,this.unsubscribeMutation=T,this.notificationState=new Map,this.includeReadInput=!1,this.bulkMarkEnabled=!1,this.allChecked=!1,this.someChecked=!1,this.notificationTypes=[{id:1,type:z.fow.Mention,iconName:"notification",displayName:"Mentioned"},{id:2,type:z.fow.Subscription,iconName:"book",displayName:"Subscribed"}],this.userId=+this.route.snapshot.params.userId,this.updateNotificationStatusMutator=new tt.U(l),this.unsubscribeMutator=new tt.U(l)}ngOnInit(){this.initialQueryVars={includeRead:this.includeReadInput},this.queryRef=this.gql.watch(this.initialQueryVars),this.results$=this.queryRef.valueChanges,this.connection$=this.results$.pipe((0,O.U)(n=>n.data?.notifications),(0,W.h)(K.ep)),this.pageInfo$=this.connection$.pipe((0,O.U)(n=>n.pageInfo),(0,W.h)(K.ep)),this.notificationStateObservable$=this.results$.pipe((0,O.U)(n=>n.data),(0,W.h)(K.ep),(0,O.U)(({notifications:n})=>{let s=new Map;return n.edges.forEach(l=>{if(l.node){let g={checked:!1};s.set(l.node,g),this.notificationState.set(l.node,g)}}),s})),this.notificationSubjects$=this.results$.pipe((0,O.U)(n=>n.data),(0,W.h)(K.ep),(0,O.U)(({notifications:n})=>n.notificationSubjects.map(s=>({id:`${s.subject?.__typename}:${s.subject?.id}`,subjectWithCount:s})))),this.originatingUsers$=this.results$.pipe((0,O.U)(({data:n})=>n.notifications.originatingUsers)),this.actions$=this.results$.pipe((0,O.U)(({data:n})=>n.notifications.eventTypes.map(s=>({id:s})))),this.organizations$=this.results$.pipe((0,O.U)(({data:n})=>n.notifications.organizations)),this.isLoading$=this.results$.pipe((0,O.U)(({loading:n})=>n),(0,it.O)(!0))}fetchMore(n){this.queryRef.fetchMore({variables:{after:n}})}setIncludeRead(n){this.includeReadInput=n,this.queryRef.refetch({includeRead:this.includeReadInput})}onNotificationReasonSelected(n){this.queryRef.refetch({notificationReason:n?n.type:void 0})}onNotificationSubjectSelected(n){let s;if(void 0!==n){let l=n.subjectWithCount.subject?.__typename;s={id:n.subjectWithCount.subject.id,entityType:z.o71[l]}}this.queryRef.refetch({originatingObject:s})}onOriginatingUserSelected(n){this.queryRef.refetch({originatingUserId:n?.id})}onActionSelected(n){this.queryRef.refetch({eventType:n?n.id:void 0})}onOrganizationSelected(n){this.queryRef.refetch({organizationId:n?.id})}markAsRead(n){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:[n],newStatus:z.NQC.Read}})}markAsUnread(n){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:[n],newStatus:z.NQC.Unread}})}unsubscribe(n,s){this.unsubscribeMutator.mutate(this.unsubscribeMutation,{input:{subscribables:[{id:n,entityType:z.o71[s]}]}})}onNotificationCheckBoxClicked(n,s){let l=Array.from(this.notificationState.keys()).find(g=>g.id===n);if(l){let g=this.notificationState.get(l);g&&(g.checked=s)}s?(this.bulkMarkEnabled=!0,Array.from(this.notificationState.values()).every(g=>g.checked)?(this.allChecked=!0,this.someChecked=!1):this.someChecked=!0):Array.from(this.notificationState.values()).some(g=>g.checked)?(this.bulkMarkEnabled=!0,this.allChecked=!1,this.someChecked=!Array.from(this.notificationState.values()).every(g=>!g.checked)):(this.bulkMarkEnabled=!1,this.allChecked=!1,this.someChecked=!1)}onCheckAllCheckBoxClicked(n){n?this.checkAll():this.uncheckAll()}getCheckedIds(){let n=[];return this.notificationState.forEach((s,l)=>{s.checked&&n.push(l.id)}),n}checkAll(){this.queryRef.refetch().then(()=>{this.notificationState.forEach((n,s)=>{n.checked=!0})}),this.allChecked=!0,this.someChecked=!1,this.bulkMarkEnabled=!0}uncheckAll(){this.queryRef.refetch().then(()=>{this.notificationState.forEach((n,s)=>{n.checked=!1})}),this.allChecked=!1,this.someChecked=!1,this.bulkMarkEnabled=!1}bulkMarkRead(){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:this.getCheckedIds(),newStatus:z.NQC.Read}}),this.uncheckAll()}bulkMarkUnread(){this.updateNotificationStatusMutator.mutate(this.updateNotificationStatusMuation,{input:{ids:this.getCheckedIds(),newStatus:z.NQC.Unread}}),this.uncheckAll()}bulkUnsubscribe(){let n=[];this.notificationState.forEach((s,l)=>{s.checked&&l.subscription&&n.push({id:l.subscription.subscribable.id,entityType:z.o71[l.subscription.subscribable.__typename]})}),this.unsubscribeMutator.mutate(this.unsubscribeMutation,{input:{subscribables:n}}).submitSuccess$.subscribe(s=>{s&&this.queryRef.refetch()}),this.uncheckAll()}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(v.gz),t.Y36(z.yqR),t.Y36(at.Y),t.Y36(z.LiH),t.Y36(z.m$d))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-users-notifications"]],decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],[3,"nzGutter"],["nzSpan","4"],["nzSize","small"],["nz-button","","nzShape","round",3,"nzType","click"],["nzSpan","24"],["listTitle","Notification Reason",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Action",3,"participantList","participantSelectedEvent"],["listTitle","Subject",3,"participantList","participantSelectedEvent"],["listTitle","User",3,"participantList","participantSelectedEvent"],["listTitle","Organization",3,"participantList","participantSelectedEvent"],["nzSpan","20"],["nzTitle","Notifications","id","card-content",3,"nzExtra"],["bulkOperations",""],["nzSpan","24",1,"timeline"],["nz-icon","",3,"nzType"],["nz-button","","nzSize","small",3,"disabled","click"],["nz-icon","","nzType","check"],["nz-icon","","nzType","bell"],["nz-checkbox","",3,"ngModel","nzIndeterminate","ngModelChange","nzCheckedChange"],[4,"ngFor","ngForOf"],[3,"nzDot","nzColor"],["timelineDotTemplate",""],["nzFlex","auto"],[3,"event"],["nzFlex","50px"],[4,"ngIf","ngIfElse"],["unread",""],["noSubscriptionButton",""],["nz-checkbox","",3,"ngModel","ngModelChange","nzCheckedChange"],["nz-icon","",1,"item-icon",3,"nzType","nzTheme"],["nz-tooltip","","nzTooltipTitle","Mark as unread.","nz-button","","nzType","default","nzShape","circle",3,"click"],["nz-icon","","nzType","undo"],["nz-tooltip","","nzTooltipTitle","Mark as read.","nz-button","","nzType","default","nzShape","circle",3,"click"],["nz-tooltip","","nz-button","","nzType","default","nzShape","circle",3,"nzTooltipTitle","click"],["nz-tooltip","","nzTooltipTitle","You are no longer subscribed to the entity that triggered this notification.","nz-button","","nzType","default","nzShape","circle","disabled",""],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"]],template:function(n,s){1&n&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,se,39,26,"ng-container",1),t.ALo(3,"async"),t.qZA()),2&n&&(t.Q6J("nzSpinning",t.lcZ(1,2,s.isLoading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,4,s.notificationStateObservable$)))},dependencies:[a.sg,a.O5,P.JJ,P.On,Ct.SY,H.W,Z.t3,Z.SK,A.ix,A.fY,N.w,st.dQ,J.bd,I.Ls,zt.Ie,rt.Zv,rt.PD,vt.t,Tt.l,a.Ov,a.Nd,et.fM,xt.R,Ut.j],styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}.item-icon[_ngcontent-%COMP%]{font-size:18px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%], .timeline-item[_ngcontent-%COMP%] .timestamp[_ngcontent-%COMP%]{margin-top:2px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-left:4px}.read-notification[_ngcontent-%COMP%]{background-color:gray}nz-timeline[_ngcontent-%COMP%] ul li:last-child{padding-bottom:0}nz-timeline[_ngcontent-%COMP%] ul li:last-child .ant-timeline-item-content{min-height:0;padding-bottom:8px}.timestamp[_ngcontent-%COMP%]{text-align:right}.comment-title[_ngcontent-%COMP%]{padding-right:24px}.comment-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}.comment-card[_ngcontent-%COMP%]{width:100%}"]}),o})();var Dt=i(4106);let Lt=(()=>{class o{constructor(n){this.route=n,this.userId=+this.route.snapshot.params.userId}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(v.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-users-source-suggestions"]],decls:1,vars:1,consts:[["cvcTitle","User Source Suggestions",3,"submitterId"]],template:function(n,s){1&n&&t._UZ(0,"cvc-source-suggestions-table",0),2&n&&t.Q6J("submitterId",s.userId)},dependencies:[Dt.O],styles:["[_nghost-%COMP%]{display:block}"]}),o})();var lt=i(4223),ct=i(5619),Ft=i(951),pt=i(2392),kt=i(4989);function L(o){let c={value:void 0,unset:void 0};return o&&o.trim().length>0?c.value=o.trim():c.unset=!0,c}function gt(o){let c={value:void 0,unset:void 0};return void 0!==o?c.value=o:c.unset=!0,c}var Yt=i(8645),ot=i(9773),$t=i(4755);function Rt(o,c){1&o&&t._UZ(0,"nz-alert",13)}function Bt(o,c){if(1&o&&(t.TgZ(0,"nz-form-item"),t._UZ(1,"cvc-form-errors-alert",14),t.qZA()),2&o){const n=t.oxw();t.xp6(1),t.Q6J("errors",n.errorMessages)}}function Ht(o,c){if(1&o&&t._UZ(0,"nz-option",15),2&o){const n=c.$implicit;t.Q6J("nzLabel",n.name)("nzValue",n.id)}}let jt=(()=>{class o{constructor(n,s,l){this.updateProfileGql=n,this.profileUpdatedEvent=new t.vpe,this.success=!1,this.errorMessages=[],this.loading=!1,this.destroy$=new Yt.x,this.updateProfileMutator=new tt.U(l),this.countries$=s.fetch().pipe((0,O.U)(({data:g})=>g.countries))}ngOnInit(){if(!this.user)throw new Error("Must pass a user into the Profile Update Form");this.setInitialFormFields()}updateProfile(){if(this.username&&this.email){this.errorMessages=[];let n={username:this.username,email:this.email,name:L(this.name),areaOfExpertise:gt(this.areaOfExpertise),orcid:L(this.orcid),url:L(this.url),bio:L(this.bio),countryId:gt(this.countryId),twitterHandle:L(this.twitterHandle),facebookProfile:L(this.facebookProfile),linkedinProfile:L(this.linkedinProfile)},s=this.updateProfileMutator.mutate(this.updateProfileGql,{input:n});s.submitSuccess$.pipe((0,ot.R)(this.destroy$)).subscribe(l=>{l&&(this.setInitialFormFields(),this.success=!0,this.profileUpdatedEvent.emit())}),s.submitError$.pipe((0,ot.R)(this.destroy$)).subscribe(l=>{l&&(this.errorMessages=l,this.success=!1)}),s.isSubmitting$.pipe((0,ot.R)(this.destroy$)).subscribe(l=>{this.loading=l})}}setInitialFormFields(){this.name=this.user.name,this.username=this.user.username,this.email=this.user.email,this.areaOfExpertise=this.user.areaOfExpertise,this.orcid=this.user.orcid,this.url=this.user.url,this.bio=this.user.bio,this.twitterHandle=this.user.twitterHandle,this.facebookProfile=this.user.facebookProfile,this.linkedinProfile=this.user.linkedinProfile,this.countryId=this.user.country?.id}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(z.wbP),t.Y36(z.l4w),t.Y36(at.Y))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-user-profile-form"]],inputs:{user:"user"},outputs:{profileUpdatedEvent:"profileUpdatedEvent"},decls:56,vars:18,consts:[["nzBanner","","nzMessage","Profile Updated","nzType","success","nzCloseable","",4,"ngIf"],[4,"ngIf"],["nzTip","Submitting",3,"nzSpinning"],["nzRequired",""],["nz-input","",2,"width","100%",3,"ngModel","ngModelChange"],["nz-input","","rows","5",2,"width","100%",3,"ngModel","ngModelChange"],["nzAllowClear","","nzShowSearch","",3,"ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["nzAllowClear","",3,"ngModel","ngModelChange"],["nzLabel","Patient Advocate","nzValue","PATIENT_ADVOCATE"],["nzLabel","Clinical Scientist","nzValue","CLINICAL_SCIENTIST"],["nzLabel","Research Scientist","nzValue","RESEARCH_SCIENTIST"],["type","submit","nz-button","","nzType","primary","nzSize","small",2,"width","100%",3,"disabled","click"],["nzBanner","","nzMessage","Profile Updated","nzType","success","nzCloseable",""],[3,"errors"],[3,"nzLabel","nzValue"]],template:function(n,s){1&n&&(t.TgZ(0,"nz-card"),t.YNc(1,Rt,1,0,"nz-alert",0),t.YNc(2,Bt,2,1,"nz-form-item",1),t.TgZ(3,"nz-spin",2)(4,"nz-form-item")(5,"nz-form-label",3),t._uU(6,"Username"),t.qZA(),t.TgZ(7,"input",4),t.NdJ("ngModelChange",function(g){return s.username=g}),t.qZA()(),t.TgZ(8,"nz-form-item")(9,"nz-form-label"),t._uU(10,"Name"),t.qZA(),t.TgZ(11,"input",4),t.NdJ("ngModelChange",function(g){return s.name=g}),t.qZA()(),t.TgZ(12,"nz-form-item")(13,"nz-form-label",3),t._uU(14,"Email"),t.qZA(),t.TgZ(15,"input",4),t.NdJ("ngModelChange",function(g){return s.email=g}),t.qZA()(),t.TgZ(16,"nz-form-item")(17,"nz-form-label"),t._uU(18,"User Bio"),t.qZA(),t.TgZ(19,"textarea",5),t.NdJ("ngModelChange",function(g){return s.bio=g}),t.qZA()(),t.TgZ(20,"nz-form-item")(21,"nz-form-label"),t._uU(22,"Country"),t.qZA(),t.TgZ(23,"nz-select",6),t.NdJ("ngModelChange",function(g){return s.countryId=g}),t.YNc(24,Ht,1,2,"nz-option",7),t.ALo(25,"ngrxPush"),t.qZA()(),t.TgZ(26,"nz-form-item")(27,"nz-form-label"),t._uU(28,"Area of Expertise"),t.qZA(),t.TgZ(29,"nz-select",8),t.NdJ("ngModelChange",function(g){return s.areaOfExpertise=g}),t._UZ(30,"nz-option",9)(31,"nz-option",10)(32,"nz-option",11),t.qZA()(),t.TgZ(33,"nz-form-item")(34,"nz-form-label"),t._uU(35,"ORCID Identifier"),t.qZA(),t.TgZ(36,"input",4),t.NdJ("ngModelChange",function(g){return s.orcid=g}),t.qZA()(),t.TgZ(37,"nz-form-item")(38,"nz-form-label"),t._uU(39,"Personal Website"),t.qZA(),t.TgZ(40,"input",4),t.NdJ("ngModelChange",function(g){return s.url=g}),t.qZA()(),t.TgZ(41,"nz-form-item")(42,"nz-form-label"),t._uU(43,"Twitter Handle"),t.qZA(),t.TgZ(44,"input",4),t.NdJ("ngModelChange",function(g){return s.twitterHandle=g}),t.qZA()(),t.TgZ(45,"nz-form-item")(46,"nz-form-label"),t._uU(47,"Facebook Profile"),t.qZA(),t.TgZ(48,"input",4),t.NdJ("ngModelChange",function(g){return s.facebookProfile=g}),t.qZA()(),t.TgZ(49,"nz-form-item")(50,"nz-form-label"),t._uU(51,"LinkedIn Profile"),t.qZA(),t.TgZ(52,"input",4),t.NdJ("ngModelChange",function(g){return s.linkedinProfile=g}),t.qZA()(),t.TgZ(53,"nz-form-item")(54,"button",12),t.NdJ("click",function(){return s.updateProfile()}),t._uU(55," Update Profile "),t.qZA()()()()),2&n&&(t.xp6(1),t.Q6J("ngIf",s.success),t.xp6(1),t.Q6J("ngIf",s.errorMessages.length>0),t.xp6(1),t.Q6J("nzSpinning",s.loading),t.xp6(4),t.Q6J("ngModel",s.username),t.xp6(4),t.Q6J("ngModel",s.name),t.xp6(4),t.Q6J("ngModel",s.email),t.xp6(4),t.Q6J("ngModel",s.bio),t.xp6(4),t.Q6J("ngModel",s.countryId),t.xp6(1),t.Q6J("ngForOf",t.lcZ(25,16,s.countries$)),t.xp6(5),t.Q6J("ngModel",s.areaOfExpertise),t.xp6(7),t.Q6J("ngModel",s.orcid),t.xp6(4),t.Q6J("ngModel",s.url),t.xp6(4),t.Q6J("ngModel",s.twitterHandle),t.xp6(4),t.Q6J("ngModel",s.facebookProfile),t.xp6(4),t.Q6J("ngModel",s.linkedinProfile),t.xp6(2),t.Q6J("disabled",s.loading||!s.username||!s.email))},dependencies:[a.sg,a.O5,P.Fj,P.JJ,P.On,Z.t3,Z.SK,Q.Nx,Q.iK,J.bd,k.r,A.ix,N.w,st.dQ,H.W,S.Ip,S.Vq,$t.V,et.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-form-item[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"]}),o})();var Kt=i(3145),Wt=i(5098),Vt=i(7458),Gt=i(9862);let qt=(()=>{class o{constructor(n){this.http=n,this.uploadComplete=new t.vpe}processProfileImage(n){if(n&&n[0]){let s=new FormData;s.append("image",n[0],n[0].name),this.uploadSubscription=this.http.post("/api/upload_profile_image",s).subscribe(l=>this.uploadComplete.emit(!0),l=>this.uploadComplete.emit(!1))}}ngOnDestroy(){this.uploadSubscription?.unsubscribe()}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(Gt.eN))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-avatar-uploader"]],outputs:{uploadComplete:"uploadComplete"},decls:4,vars:0,consts:[["type","file","accept","image/*",2,"display","none",3,"change"],["profileImage",""],["nz-button","","nzSize","small","nzType","link",3,"click"]],template:function(n,s){if(1&n){const l=t.EpF();t.TgZ(0,"input",0,1),t.NdJ("change",function(){t.CHM(l);const T=t.MAs(1);return t.KtG(s.processProfileImage(T.files))}),t.qZA(),t.TgZ(2,"button",2),t.NdJ("click",function(){t.CHM(l);const T=t.MAs(1);return t.KtG(T.click())}),t._uU(3," Upload Image\n"),t.qZA()}},dependencies:[A.ix,N.w],encapsulation:2}),o})();var Xt=i(215),te=i(2137),ee=i(4082);function ne(o,c){if(1&o){const n=t.EpF();t.TgZ(0,"nz-alert",35),t.NdJ("nzOnClose",function(){t.CHM(n);const l=t.oxw(2);return t.KtG(l.uploadError=!1)}),t.qZA()}}function oe(o,c){if(1&o){const n=t.EpF();t.TgZ(0,"nz-alert",36),t.NdJ("nzOnClose",function(){t.CHM(n);const l=t.oxw(2);return t.KtG(l.updateSuccess=!1)}),t.qZA()}}function ie(o,c){if(1&o){const n=t.EpF();t.ynx(0),t.TgZ(1,"cvc-avatar-uploader",37),t.NdJ("uploadComplete",function(l){t.CHM(n);const g=t.oxw(2);return t.KtG(g.profileUploadComplete(l))}),t.qZA(),t.BQk()}}function r(o,c){if(1&o&&(t.TgZ(0,"a",39),t._UZ(1,"i",40),t.qZA()),2&o){const n=t.oxw(2).ngIf;t.MGl("href","http://twitter.com/",n.twitterHandle,"",t.LSH)}}function d(o,c){1&o&&(t.ynx(0),t.YNc(1,r,2,1,"a",38),t.BQk())}function p(o,c){if(1&o&&(t.TgZ(0,"a",39),t._UZ(1,"i",41),t.qZA()),2&o){const n=t.oxw(2).ngIf;t.MGl("href","http://facebook.com/",n.facebookProfile,"",t.LSH)}}function C(o,c){1&o&&(t.ynx(0),t.YNc(1,p,2,1,"a",38),t.BQk())}function h(o,c){if(1&o&&(t.TgZ(0,"a",39),t._UZ(1,"i",42),t.qZA()),2&o){const n=t.oxw(2).ngIf;t.MGl("href","http://linkedin.com/in/",n.linkedinProfile,"",t.LSH)}}function M(o,c){1&o&&(t.ynx(0),t.YNc(1,h,2,1,"a",38),t.BQk())}function de(o,c){if(1&o&&(t.TgZ(0,"a",39),t._UZ(1,"img",43),t.qZA()),2&o){const n=t.oxw(2).ngIf;t.MGl("href","https://orcid.org/",n.orcid,"",t.LSH)}}function ue(o,c){1&o&&(t.ynx(0),t.YNc(1,de,2,1,"a",38),t.BQk())}function _e(o,c){if(1&o){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",44),t.NdJ("click",function(){t.CHM(n);const l=t.oxw(3);return t.KtG(l.updateProfileModalVisible=!0)}),t._uU(2," Edit Profile "),t.qZA(),t.BQk()}}function me(o,c){if(1&o&&(t.YNc(0,_e,3,0,"ng-container",0),t.ALo(1,"ngrxPush")),2&o){const n=t.oxw(2);t.Q6J("ngIf",t.lcZ(1,1,n.ownProfile$))}}function fe(o,c){if(1&o&&(t.ynx(0),t._uU(1),t.ALo(2,"enumToTitle"),t.BQk()),2&o){const n=t.oxw().ngIf;t.xp6(1),t.hij(" ",t.lcZ(2,1,n.areaOfExpertise)," ")}}function he(o,c){1&o&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"Unspecified"),t.qZA()(),t.BQk())}function Ce(o,c){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const n=t.oxw().ngIf;t.xp6(1),t.hij(" ",n.country.name," ")}}function ze(o,c){1&o&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"Unspecified"),t.qZA()(),t.BQk())}function ve(o,c){1&o&&t._UZ(0,"cvc-organization-tag",47),2&o&&t.Q6J("org",c.$implicit)}function Te(o,c){if(1&o&&(t.ynx(0),t.YNc(1,ve,1,1,"cvc-organization-tag",46),t.BQk()),2&o){const n=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",n.organizations)}}function xe(o,c){1&o&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"User is not a member of any Organizations."),t.qZA()(),t.BQk())}function Ue(o,c){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const n=t.oxw().ngIf;t.xp6(1),t.hij(" ",n.bio," ")}}function be(o,c){1&o&&(t.ynx(0),t.TgZ(1,"span",45)(2,"i"),t._uU(3,"User has not provided a bio."),t.qZA()(),t.BQk())}function Me(o,c){1&o&&t._uU(0," Editor Conflict of Interest Statement ")}function ye(o,c){if(1&o){const n=t.EpF();t.ynx(0),t.TgZ(1,"button",51),t.NdJ("click",function(){t.CHM(n);const l=t.oxw(4);return t.KtG(l.updateCoiModalVisible=!0)}),t._uU(2," Update COI "),t.qZA(),t.BQk()}}function Ze(o,c){if(1&o&&(t.YNc(0,ye,3,0,"ng-container",0),t.ALo(1,"ngrxPush")),2&o){const n=t.oxw(3);t.Q6J("ngIf",t.lcZ(1,1,n.ownProfile$))}}function Ae(o,c){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const n=t.oxw(3).ngIf;t.xp6(1),t.hij(" ",n.mostRecentConflictOfInterestStatement.coiStatement," ")}}function Oe(o,c){1&o&&t._uU(0," I do not have any potential conflicts of interest. ")}function Pe(o,c){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-descriptions-item",52),t._uU(2),t.ALo(3,"enumToTitle"),t.qZA(),t.TgZ(4,"nz-descriptions-item",53),t._uU(5),t.ALo(6,"date"),t.qZA(),t.TgZ(7,"nz-descriptions-item",54),t._uU(8),t.ALo(9,"date"),t.qZA(),t.TgZ(10,"nz-descriptions-item",55),t.YNc(11,Ae,2,1,"ng-container",56),t.YNc(12,Oe,1,0,"ng-template",null,57,t.W1O),t.qZA(),t.BQk()),2&o){const n=t.MAs(13),s=t.oxw(2).ngIf;t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.lcZ(3,9,s.mostRecentConflictOfInterestStatement.coiStatus)," "),t.xp6(2),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.xi3(6,11,s.mostRecentConflictOfInterestStatement.createdAt,"shortDate")," "),t.xp6(2),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.xi3(9,14,s.mostRecentConflictOfInterestStatement.expiresAt,"shortDate")," "),t.xp6(2),t.Q6J("nzSpan",3),t.xp6(1),t.Q6J("ngIf",s.mostRecentConflictOfInterestStatement.coiPresent)("ngIfElse",n)}}function Se(o,c){1&o&&(t.ynx(0),t.TgZ(1,"nz-descriptions-item",52),t._uU(2,"None on file."),t.qZA(),t.BQk()),2&o&&(t.xp6(1),t.Q6J("nzSpan",3))}function Ne(o,c){if(1&o&&(t.TgZ(0,"nz-descriptions",48),t.YNc(1,Me,1,0,"ng-template",null,49,t.W1O),t.YNc(3,Ze,2,3,"ng-template",null,50,t.W1O),t.YNc(5,Pe,14,17,"ng-container",0),t.YNc(6,Se,3,1,"ng-container",0),t.qZA()),2&o){const n=t.MAs(2),s=t.MAs(4),l=t.oxw().ngIf;t.Q6J("nzTitle",n)("nzExtra",s)("nzColumn",3),t.xp6(5),t.Q6J("ngIf",l.mostRecentConflictOfInterestStatement),t.xp6(1),t.Q6J("ngIf",!l.mostRecentConflictOfInterestStatement)}}function Ie(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1,"Edit Profile"),t.qZA())}function Je(o,c){if(1&o){const n=t.EpF();t.TgZ(0,"cvc-user-profile-form",58),t.NdJ("profileUpdatedEvent",function(){t.CHM(n);const l=t.oxw(2);return t.KtG(l.profileUpdated())}),t.qZA()}if(2&o){const n=t.oxw().ngIf;t.Q6J("user",n)}}function Qe(o,c){if(1&o){const n=t.EpF();t.ynx(0),t._UZ(1,"cvc-section-navigation",4),t.TgZ(2,"nz-page-header",5)(3,"nz-page-header-content"),t.YNc(4,ne,1,0,"nz-alert",6),t.YNc(5,oe,1,0,"nz-alert",7),t.TgZ(6,"div",8)(7,"nz-row",9)(8,"nz-col",10)(9,"div",11),t._UZ(10,"cvc-user-avatar",12),t.qZA(),t.TgZ(11,"div",13)(12,"span",14)(13,"strong"),t._uU(14),t.qZA()(),t.YNc(15,ie,2,0,"ng-container",0),t.ALo(16,"ngrxPush"),t.qZA(),t.TgZ(17,"div",15)(18,"nz-space",16),t.YNc(19,d,2,0,"ng-container",0),t.YNc(20,C,2,0,"ng-container",0),t.YNc(21,M,2,0,"ng-container",0),t.YNc(22,ue,2,0,"ng-container",0),t.qZA()()(),t.TgZ(23,"nz-col",10)(24,"nz-card",17),t.YNc(25,me,2,3,"ng-template",null,18,t.W1O),t.TgZ(27,"nz-descriptions",19)(28,"nz-descriptions-item",20),t._uU(29),t.qZA(),t.TgZ(30,"nz-descriptions-item",21),t._uU(31),t.qZA(),t.TgZ(32,"nz-descriptions-item",22),t._uU(33),t.ALo(34,"enumToTitle"),t.qZA(),t.TgZ(35,"nz-descriptions-item",23),t.YNc(36,fe,3,3,"ng-container",0),t.YNc(37,he,4,0,"ng-container",0),t.qZA(),t.TgZ(38,"nz-descriptions-item",24),t.YNc(39,Ce,2,1,"ng-container",0),t.YNc(40,ze,4,0,"ng-container",0),t.qZA(),t.TgZ(41,"nz-descriptions-item",25),t.YNc(42,Te,2,1,"ng-container",0),t.YNc(43,xe,4,0,"ng-container",0),t.qZA()(),t.TgZ(44,"nz-descriptions",26)(45,"nz-descriptions-item",27),t.YNc(46,Ue,2,1,"ng-container",0),t.YNc(47,be,4,0,"ng-container",0),t.qZA()(),t.YNc(48,Ne,7,5,"nz-descriptions",28),t.qZA()(),t.TgZ(49,"nz-col",10)(50,"nz-card",29),t._UZ(51,"cvc-stats-card",30),t.qZA()()()(),t._UZ(52,"cvc-tab-navigation",31),t.ALo(53,"ngrxPush"),t.TgZ(54,"div",32),t._UZ(55,"router-outlet"),t.qZA()()(),t.TgZ(56,"nz-modal",1),t.NdJ("nzVisibleChange",function(l){t.CHM(n);const g=t.oxw();return t.KtG(g.updateProfileModalVisible=l)})("nzOnCancel",function(){t.CHM(n);const l=t.oxw();return t.KtG(l.handleProfileModalCancel())}),t.YNc(57,Ie,2,0,"ng-template",null,33,t.W1O),t.YNc(59,Je,1,1,"ng-template",null,34,t.W1O),t.qZA(),t.BQk()}if(2&o){const n=c.ngIf,s=t.MAs(26),l=t.MAs(58),g=t.MAs(60),T=t.oxw();t.xp6(1),t.Q6J("displayName",n.displayName),t.xp6(3),t.Q6J("ngIf",T.uploadError),t.xp6(1),t.Q6J("ngIf",T.updateSuccess),t.xp6(2),t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",3),t.xp6(2),t.Q6J("user",n)("size",128),t.xp6(4),t.Oqu(n.name),t.xp6(1),t.Q6J("ngIf",t.lcZ(16,42,T.ownProfile$)),t.xp6(4),t.Q6J("ngIf",n.twitterHandle),t.xp6(1),t.Q6J("ngIf",n.facebookProfile),t.xp6(1),t.Q6J("ngIf",n.linkedinProfile),t.xp6(1),t.Q6J("ngIf",n.orcid),t.xp6(1),t.Q6J("nzSpan",13),t.xp6(1),t.Q6J("nzExtra",s),t.xp6(3),t.Q6J("nzColumn",7),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.hij(" ",n.name," "),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.hij(" ",n.username," "),t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",t.lcZ(34,44,n.role)," "),t.xp6(2),t.Q6J("nzSpan",2),t.xp6(1),t.Q6J("ngIf",n.areaOfExpertise),t.xp6(1),t.Q6J("ngIf",!n.areaOfExpertise),t.xp6(1),t.Q6J("nzSpan",2),t.xp6(1),t.Q6J("ngIf",n.country),t.xp6(1),t.Q6J("ngIf",!n.country),t.xp6(1),t.Q6J("nzSpan",5),t.xp6(1),t.Q6J("ngIf",n.organizations.length>0),t.xp6(1),t.Q6J("ngIf",0===n.organizations.length),t.xp6(2),t.Q6J("nzSpan",4),t.xp6(1),t.Q6J("ngIf",n.bio),t.xp6(1),t.Q6J("ngIf",!n.bio),t.xp6(1),t.Q6J("ngIf","EDITOR"===n.role||"ADMIN"===n.role),t.xp6(1),t.Q6J("nzSpan",8),t.xp6(2),t.Q6J("stats",n.statsHash),t.xp6(1),t.Q6J("tabs",t.lcZ(53,46,T.tabs$)),t.xp6(4),t.Q6J("nzVisible",T.updateProfileModalVisible)("nzContent",g)("nzTitle",l)("nzFooter",null)}}function Ee(o,c){1&o&&(t.TgZ(0,"span"),t._uU(1,"Update your Conflict of Interest Statement"),t.qZA())}function we(o,c){if(1&o){const n=t.EpF();t.TgZ(0,"cvc-user-coi-form",59),t.NdJ("coiUpdatedEvent",function(){t.CHM(n);const l=t.oxw();return t.KtG(l.coiUpdated())}),t.qZA()}}const De=[{path:"",component:(()=>{class o{constructor(n,s,l){this.gql=n,this.viewerService=s,this.route=l,this.ownProfile$=new ct.X(!1),this.uploadError=!1,this.updateSuccess=!1,this.updateCoiModalVisible=!1,this.updateProfileModalVisible=!1,this.defaultTabs=[{routeName:"activity",tabLabel:"Activity",iconName:"civic-event"},{routeName:"evidence",tabLabel:"Evidence Items",iconName:"civic-evidence"},{routeName:"assertions",tabLabel:"Assertions",iconName:"civic-assertion"},{routeName:"source-suggestions",tabLabel:"Source Suggestions",iconName:"file-add"}],this.tabs$=new ct.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(g=>{this.queryRef=this.gql.watch({userId:+g.userId});let T=this.queryRef.valueChanges;this.loading$=T.pipe((0,lt.j)("loading"),(0,it.O)(!0)),this.user$=T.pipe((0,lt.j)("data","user")),this.viewerSub=this.viewerService.viewer$.subscribe(ae=>{ae.id===+g.userId&&(this.tabs$.next([...this.defaultTabs,{routeName:"notifications",tabLabel:"Notifications",iconName:"bell"}]),this.ownProfile$.next(!0))})})}ngOnDestroy(){this.routeSub.unsubscribe(),this.viewerSub?.unsubscribe()}profileUploadComplete(n){n?(this.queryRef?.refetch(),this.updateSuccess=!0):this.uploadError=!0}coiUpdated(){this.updateCoiModalVisible=!1,this.queryRef?.refetch()}profileUpdated(){this.updateProfileModalVisible=!1,this.queryRef?.refetch()}handleCoiModalCancel(){this.updateCoiModalVisible=!1}handleProfileModalCancel(){this.updateProfileModalVisible=!1}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(z.sLD),t.Y36(Ft.a),t.Y36(v.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["users-detail"]],decls:7,vars:7,consts:[[4,"ngIf"],[3,"nzVisible","nzContent","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],["coiModalTitle",""],["coiModalContent",""],[3,"displayName"],[1,"site-page-header"],["nzType","error","nzCloseable","","nzMessage","There was an error updating your profile image.",3,"nzOnClose",4,"ngIf"],["nzType","success","nzCloseable","","nzMessage","Profile image successfully updated.",3,"nzOnClose",4,"ngIf"],[1,"profile-content"],[3,"nzGutter"],[3,"nzSpan"],[1,"user-avatar"],[3,"user","size"],[1,"user-name"],["nz-typography",""],[1,"user-socials"],["nzAlign","center"],["nzTitle","Profile","nzSize","small",1,"user-profile",3,"nzExtra"],["updateProfile",""],["nzBordered","","nzLayout","vertical","nzSize","small",3,"nzColumn"],["nzTitle","Name",3,"nzSpan"],["nzTitle","User Name",3,"nzSpan"],["nzTitle","Role",3,"nzSpan"],["nzTitle","Area of Expertise",3,"nzSpan"],["nzTitle","Country",3,"nzSpan"],["nzTitle","Organizations",3,"nzSpan"],["nzBordered","","nzLayout","vertical","nzSize","small",1,"user-bio"],["nzTitle","Bio",3,"nzSpan"],["nzBordered","","class","user-coi","nzSize","small",3,"nzTitle","nzExtra","nzColumn",4,"ngIf"],["nzSize","small","nzTitle","Curation Stats"],["header","User Statistics",3,"stats"],[3,"tabs"],[1,"content"],["profileModalTitle",""],["profileModalContent",""],["nzType","error","nzCloseable","","nzMessage","There was an error updating your profile image.",3,"nzOnClose"],["nzType","success","nzCloseable","","nzMessage","Profile image successfully updated.",3,"nzOnClose"],[3,"uploadComplete"],["target","_blank",3,"href",4,"nzSpaceItem"],["target","_blank",3,"href"],["nz-icon","","nzType","twitter","nzTheme","outline"],["nz-icon","","nzType","facebook","nzTheme","outline"],["nz-icon","","nzType","linkedin","nzTheme","outline"],["src","/assets/images/orcid-logo.svg","alt","ORCID Logo",1,"orcid-logo"],["nz-button","","nzSize","small","nzType","link",3,"click"],["nz-typography","","nzType","secondary"],[3,"org",4,"ngFor","ngForOf"],[3,"org"],["nzBordered","","nzSize","small",1,"user-coi",3,"nzTitle","nzExtra","nzColumn"],["coiTitle",""],["updateCoi",""],["nz-button","","nzType","link","nzSize","small",3,"click"],["nzTitle","Status",3,"nzSpan"],["nzTitle","Updated",3,"nzSpan"],["nzTitle","Expires",3,"nzSpan"],["nzTitle","Statement",3,"nzSpan"],[4,"ngIf","ngIfElse"],["noStatement",""],[3,"user","profileUpdatedEvent"],[3,"coiUpdatedEvent"]],template:function(n,s){if(1&n&&(t.YNc(0,Qe,61,48,"ng-container",0),t.ALo(1,"ngrxPush"),t.TgZ(2,"nz-modal",1),t.NdJ("nzVisibleChange",function(g){return s.updateCoiModalVisible=g})("nzOnCancel",function(){return s.handleCoiModalCancel()}),t.YNc(3,Ee,2,0,"ng-template",null,2,t.W1O),t.YNc(5,we,1,0,"ng-template",null,3,t.W1O),t.qZA()),2&n){const l=t.MAs(4),g=t.MAs(6);t.Q6J("ngIf",t.lcZ(1,5,s.user$)),t.xp6(2),t.Q6J("nzVisible",s.updateCoiModalVisible)("nzContent",g)("nzTitle",l)("nzFooter",null)}},dependencies:[a.sg,a.O5,v.lC,k.r,Z.t3,Z.SK,e.$O,e.u5,x.NU,x.$1,w.R7,w.uj,J.bd,F.du,I.Ls,pt.ZU,A.ix,N.w,kt.t,jt,Kt.I,Wt.P,Vt.L,qt,Xt.m,te.z,a.uU,et.fM,ee.I],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}[_nghost-%COMP%] .user-profile .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .user-profile .ant-descriptions-view{border:none}[_nghost-%COMP%] .user-profile nz-descriptions.is-editor .ant-descriptions-view{border-bottom:1px solid #f0f0f0}[_nghost-%COMP%] .user-profile .user-bio .ant-descriptions-view{border-top:1px solid #f0f0f0}[_nghost-%COMP%] .user-profile .user-coi .ant-descriptions-header{margin:0;padding:0 12px;border-top:1px solid #f0f0f0}[_nghost-%COMP%] .user-profile .user-coi .ant-descriptions-header .ant-descriptions-title{padding:6px 0;font-weight:400;font-size:12px;font-weight:500}[_nghost-%COMP%] .user-profile .user-coi .ant-descriptions-view{border-top:1px solid #f0f0f0}[_nghost-%COMP%] .profile-content{margin-top:8px;margin-bottom:16px}[_nghost-%COMP%] .user-socials i{font-size:16px;color:#000}[_nghost-%COMP%] .orcid-logo{width:16px;margin-top:-4px}[_nghost-%COMP%] .content{margin-bottom:8px}[_nghost-%COMP%] .user-avatar{text-align:center}[_nghost-%COMP%] .user-socials{text-align:center}[_nghost-%COMP%] .user-name{text-align:center;font-size:120%}"]}),o})(),data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",pathMatch:"full",redirectTo:"activity"},{path:"evidence",component:ht,data:{breadcrumb:"Evidence"}},{path:"assertions",component:Y,data:{breadcrumb:"Assertions"}},{path:"activity",component:mt,data:{breadcrumb:"Activity"}},{path:"source-suggestions",component:Lt,data:{breadcrumb:"Source Suggestions"}},{path:"notifications",component:re,data:{breadcrumb:"Notifications"}}]}];let Le=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[v.Bz.forChild(De),v.Bz]}),o})(),Fe=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[a.ez,v.Bz,Le,k.L,Z.Jb,e.KJ,x.zf,w.q6,J.vh,R.S,F.Qp,$.A2,I.PV,pt.ZJ,A.sL,f.e,u,D.s,U.D,b.c,y.H,q,j.L,_.C]}),o})()},3291:(ut,E,i)=>{i.r(E),i.d(E,{UsersModule:()=>ie});var N,a=i(6814),U=i(4190),e=i(5879),v=i(6254),b=i(551),x=i(95),y=i(2840),A=i(855),I=i(2574),t=i(2392),q=i(3145),w=i(655),j=i(4632),Z=i(313),D=i(1791),J=i(5619),$=i(8645),R=i(5676),F=i(3997),P=i(812),k=i(836),Q=i(2181),B=i(7398),X=i(3620),H=i(2460),S=i(4223),u=i(6223),f=i(2962),_=i(9691),m=i(3740),Y=i(5695),z=i(6109),_t=i(6753),mt=i(4764),ft=i(8516),ht=i(3489),tt=i(9857),K=i(4997),O=i(4527),W=i(356),it=i(8091),at=i(4082),Ct=i(5573);function st(r,d){}function zt(r,d){if(1&r&&(e.ynx(0),e.TgZ(1,"nz-card",5),e.YNc(2,st,0,0,"ng-template",6),e.qZA(),e.BQk()),2&r){e.oxw();const p=e.MAs(6),C=e.MAs(8),h=e.MAs(4);e.xp6(1),e.Q6J("nzTitle",p)("nzExtra",C),e.xp6(1),e.Q6J("ngTemplateOutlet",h)}}function rt(r,d){}const vt=function(r){return{height:r}};function Tt(r,d){if(1&r&&(e.TgZ(0,"div",7)(1,"nz-card",8),e.YNc(2,rt,0,0,"ng-template",6),e.qZA()()),2&r){const p=e.oxw(),C=e.MAs(6),h=e.MAs(8),M=e.MAs(4);e.Q6J("ngStyle",e.VKq(4,vt,p.cvcHeight)),e.xp6(1),e.Q6J("nzTitle",C)("nzExtra",h),e.xp6(1),e.Q6J("ngTemplateOutlet",M)}}function et(r,d){if(1&r&&(e.ynx(0),e._uU(1),e.BQk()),2&r){const p=e.oxw().$implicit;e.xp6(1),e.hij(" ",p.name," ")}}function xt(r,d){1&r&&(e.TgZ(0,"i",39),e._uU(1,"Not specified"),e.qZA())}function Ut(r,d){if(1&r&&(e.TgZ(0,"div"),e._UZ(1,"cvc-tag-overflow",40),e.qZA()),2&r){const p=e.oxw().$implicit,C=e.oxw(2);e.xp6(1),e.Q6J("maxDisplayCount",1)("tags",p.organizations)("matchingText",C.orgNameInput)}}function bt(r,d){1&r&&(e.TgZ(0,"i",39),e._uU(1,"None specified"),e.qZA())}function Mt(r,d){if(1&r&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&r){const p=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,p.mostRecentActionTimestamp)," ")}}function yt(r,d){1&r&&e._uU(0," -- ")}function Zt(r,d){if(1&r&&(e.TgZ(0,"tr",31)(1,"td",23),e._UZ(2,"cvc-user-tag",32),e.qZA(),e.TgZ(3,"td",33),e.YNc(4,et,2,1,"ng-container",0),e.YNc(5,xt,2,0,"ng-template",null,34,e.W1O),e.qZA(),e.TgZ(7,"td"),e.YNc(8,Ut,2,3,"div",0),e.YNc(9,bt,2,0,"ng-template",null,35,e.W1O),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.ALo(13,"enumToTitle"),e.qZA(),e.TgZ(14,"td",36),e.YNc(15,Mt,3,3,"ng-container",0),e.YNc(16,yt,1,0,"ng-template",null,37,e.W1O),e.qZA(),e.TgZ(18,"td",38),e._uU(19),e.qZA(),e.TgZ(20,"td",38),e._uU(21),e.qZA()()),2&r){const p=d.$implicit,C=e.MAs(6),h=e.MAs(10),M=e.MAs(17);e.xp6(2),e.Q6J("user",p),e.xp6(2),e.Q6J("ngIf",p.name)("ngIfElse",C),e.xp6(4),e.Q6J("ngIf",p.organizations.length>0)("ngIfElse",h),e.xp6(4),e.hij(" ",e.lcZ(13,10,p.role)," "),e.xp6(3),e.Q6J("ngIf",p.mostRecentActionTimestamp)("ngIfElse",M),e.xp6(4),e.hij(" ",p.statsHash.submittedEvidenceItems," "),e.xp6(2),e.hij(" ",p.statsHash.revisions," ")}}const At=function(){return[]},Ot=function(){return{x:"680px",y:"800px"}};function Pt(r,d){if(1&r){const p=e.EpF();e.TgZ(0,"nz-table",9,10),e.NdJ("cvcTableScrollOnScroll",function(h){e.CHM(p);const M=e.oxw();return e.KtG(M.scrollEvent$.next(h))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.TgZ(6,"thead",11),e.NdJ("nzSortOrderChange",function(h){e.CHM(p);const M=e.oxw();return e.KtG(M.sortChange$.next(h))}),e.TgZ(7,"tr",12)(8,"th",13),e._uU(9," User "),e.qZA(),e.TgZ(10,"th",14),e._uU(11," Name "),e.qZA(),e.TgZ(12,"th",15),e._uU(13,"Organizations"),e.qZA(),e.TgZ(14,"th",16),e._uU(15," Role "),e.qZA(),e.TgZ(16,"th",17),e._uU(17," Last Action "),e.qZA(),e.TgZ(18,"th",18),e._UZ(19,"i",19),e._uU(20," Count "),e.qZA(),e.TgZ(21,"th",20),e._UZ(22,"i",21),e._uU(23," Count "),e.qZA()(),e.TgZ(24,"tr",22),e._UZ(25,"th",23),e.TgZ(26,"th")(27,"cvc-clearable-input-filter",24),e.NdJ("inputModelChange",function(h){e.CHM(p);const M=e.oxw();return e.KtG(M.nameInput=h)})("inputModelChange",function(){e.CHM(p);const h=e.oxw();return e.KtG(h.filterChange$.next())}),e.qZA()(),e.TgZ(28,"th")(29,"cvc-clearable-input-filter",24),e.NdJ("inputModelChange",function(h){e.CHM(p);const M=e.oxw();return e.KtG(M.orgNameInput=h)})("inputModelChange",function(){e.CHM(p);const h=e.oxw();return e.KtG(h.filterChange$.next())}),e.qZA()(),e.TgZ(30,"th")(31,"nz-select",25),e.NdJ("ngModelChange",function(){e.CHM(p);const h=e.oxw();return e.KtG(h.filterChange$.next())})("ngModelChange",function(h){e.CHM(p);const M=e.oxw();return e.KtG(M.roleInput=h)}),e._UZ(32,"nz-option",26)(33,"nz-option",27)(34,"nz-option",28),e.qZA()(),e._UZ(35,"th")(36,"th",29)(37,"th",29),e.qZA()(),e.TgZ(38,"tbody"),e.YNc(39,Zt,22,12,"ng-template",30),e.qZA()()}if(2&r){const p=e.oxw();e.Q6J("nzData",e.lcZ(2,21,p.row$)||e.DdM(29,At))("nzLoading",!e.lcZ(3,23,p.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",p.queryRef)("cvcTableScrollPageInfo",e.lcZ(4,25,p.pageInfo$))("cvcTableScrollToIndex",e.lcZ(5,27,p.scrollIndex$))("nzVirtualForTrackBy",p.trackByIndex)("nzScroll",e.DdM(30,Ot))("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(10),e.Q6J("nzColumnKey",p.sortColumns.Name)("nzSortFn",!0),e.xp6(4),e.Q6J("nzColumnKey",p.sortColumns.Role)("nzSortFn",!0),e.xp6(2),e.Q6J("nzColumnKey",p.sortColumns.LastAction)("nzSortFn",!0),e.xp6(11),e.Q6J("inputModel",p.nameInput),e.xp6(2),e.Q6J("inputModel",p.orgNameInput),e.xp6(2),e.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",p.roleInput)}}function St(r,d){}function Nt(r,d){if(1&r&&(e.ynx(0),e.YNc(1,St,0,0,"ng-template",6),e.BQk()),2&r){const p=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",p.cvcTitleTemplate)}}function It(r,d){if(1&r&&(e.ynx(0),e._uU(1),e.BQk()),2&r){const p=e.oxw(2);e.xp6(1),e.hij(" ",p.cvcTitle," ")}}function Jt(r,d){if(1&r&&(e.YNc(0,Nt,2,1,"ng-container",41),e.YNc(1,It,2,1,"ng-container",41),e.TgZ(2,"span",42),e._UZ(3,"cvc-table-counts",43),e.qZA()),2&r){const p=e.oxw();e.Q6J("ngIf",p.cvcTitleTemplate),e.xp6(1),e.Q6J("ngIf",p.cvcTitle),e.xp6(2),e.Q6J("cvcTableCountsConnection",p.connection$)}}function Qt(r,d){1&r&&(e.TgZ(0,"nz-tag",46),e._UZ(1,"i",47),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}function Et(r,d){if(1&r&&(e.YNc(0,Qt,4,0,"nz-tag",44),e.ALo(1,"ngrxPush"),e._UZ(2,"cvc-no-more-rows",45),e.ALo(3,"ngrxPush")),2&r){const p=e.oxw();e.Q6J("ngIf",e.lcZ(1,2,p.moreLoading$)),e.xp6(2),e.Q6J("cvcShowTag",e.lcZ(3,4,p.noMoreRows$))}}let nt=((N=class{set initialUserFilters(d){d&&Object.assign(this,d)}constructor(d,p){this.gql=d,this.cdr=p,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=Z.IRu,this.noMoreRows$=new J.X(!1),this.scrollEvent$=new J.X("stop"),this.sortChange$=new $.x,this.filterChange$=new $.x,this.scrollIndex$=new $.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,sortBy:{column:Z.IRu.LastAction,direction:Z.SrV.Desc}}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,S.j)("loading"),(0,F.x)(),(0,P.o)(d=>!1!==d,!0)),this.moreLoading$=this.result$.pipe((0,S.j)("loading"),(0,F.x)(),(0,k.T)(2)),this.connection$=this.result$.pipe((0,S.j)("data","users"),(0,Q.h)(R.ep)),this.row$=this.connection$.pipe((0,S.j)("edges"),(0,Q.h)(R.ep),(0,B.U)(d=>d.map(p=>p.node))),this.pageInfo$=this.connection$.pipe((0,S.j)("pageInfo"),(0,Q.h)(R.ep)),this.sortChange$.pipe((0,D.t)(this)).subscribe(d=>{this.queryRef.refetch({sortBy:(0,j._)(d)})}),this.filterChange$.pipe((0,X.b)(500),(0,D.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,B.U)(d=>"stop"!==d),(0,F.x)(),(0,D.t)(this)).subscribe(d=>{this.isScrolling=d,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,Q.h)(d=>"bottom"===d),(0,H.M)(this.pageInfo$),(0,B.U)(([d,p])=>p),(0,D.t)(this)).subscribe(d=>{d.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({userName:this.nameInput?this.nameInput:void 0,orgName:this.orgNameInput?{name:this.orgNameInput}:void 0,userRole:this.roleInput?this.roleInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(d,p){return p?.id}}).\u0275fac=function(d){return new(d||N)(e.Y36(Z.tJ6),e.Y36(e.sBO))},N.\u0275cmp=e.Xpm({type:N,selectors:[["cvc-users-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","200px","nzLeft",""],["nzWidth","150px",3,"nzColumnKey","nzSortFn"],["nzWidth","300px"],["nzWidth","80px",3,"nzColumnKey","nzSortFn"],["nzWidth","85px","nzAlign","right",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Revision Count"],["nz-icon","","nzType","civic-revision"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzAllowClear","","nzSize","small","nzPlaceHolder","Any",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","ADMIN","nzLabel","Admin"],["nzValue","CURATOR","nzLabel","Curator"],["nzValue","EDITOR","nzLabel","Editor"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"user"],[1,"overflow-ellipsis"],["nameElse",""],["orgElse",""],["nzAlign","right"],["eventElse",""],["nzRight","","nzAlign","right"],["nz-typography","","nzType","secondary"],["tagType","organization",3,"maxDisplayCount","tags","matchingText"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(d,p){if(1&d&&(e.YNc(0,zt,3,3,"ng-container",0),e.YNc(1,Tt,3,6,"ng-template",null,1,e.W1O),e.YNc(3,Pt,40,31,"ng-template",null,2,e.W1O),e.YNc(5,Jt,4,3,"ng-template",null,3,e.W1O),e.YNc(7,Et,4,6,"ng-template",null,4,e.W1O)),2&d){const C=e.MAs(2);e.Q6J("ngIf",!p.cvcHeight)("ngIfElse",C)}},dependencies:[a.O5,a.tP,a.PC,u.JJ,u.On,A.w,f.bd,b.Ls,_.Ip,_.Vq,m.N8,m.qD,m.Uo,m._C,m.Om,m.p0,m.$Z,m.zu,m.qn,m.UX,Y.j,z.SY,t.ZU,_t.D,mt.q,ft.p,ht.H,tt.B,K.y,O.T,W.I,it.fM,at.I,Ct.x],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),N);nt=(0,w.gn)([(0,D.c)()],nt);var wt=i(2616);function V(r,d){1&r&&(e.TgZ(0,"a",13),e._UZ(1,"i",14),e._uU(2," View Contributor Docs "),e.qZA())}const Dt=[{path:"",component:(()=>{class r{constructor(){}}return r.\u0275fac=function(p){return new(p||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-users"]],decls:1,vars:0,template:function(p,C){1&p&&e._UZ(0,"router-outlet")},dependencies:[U.lC],encapsulation:2}),r})(),data:{displayName:"Contributors"},children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class r{constructor(){}ngOnInit(){}}return r.\u0275fac=function(p){return new(p||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["users-home"]],decls:19,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-curator",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/users.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Contributors"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/users.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"]],template:function(p,C){1&p&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),e._UZ(5,"i",3),e.ALo(6,"entityColor"),e.qZA(),e.TgZ(7,"nz-col",4)(8,"h2"),e._uU(9,"Contributors"),e.qZA(),e.TgZ(10,"p",5),e._uU(11," CIViC depends on its users to add to its knowledgebase and curate its content. Anyone may join CIViC as a Curator and begin contributing. "),e.qZA()(),e.TgZ(12,"nz-col",6)(13,"nz-space",7),e.YNc(14,V,3,0,"a",8),e.qZA()()(),e.TgZ(15,"div",9)(16,"div",10)(17,"div",11),e._UZ(18,"cvc-users-table",12),e.qZA()()()()()),2&p&&(e.xp6(5),e.Q6J("nzTwotoneColor",e.lcZ(6,3,"Curator")),e.xp6(5),e.Q6J("nzEllipsisRows",2),e.xp6(6),e.Q6J("nzSpan",24))},dependencies:[v.$O,v.u5,b.Ls,x.t3,x.SK,y.ix,A.w,I.NU,I.$1,t.ZU,q.I,nt,wt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),r})(),data:{displayName:"Home"}},{path:":userId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.resolve().then(i.bind(i,7431)).then(r=>r.UsersDetailModule)}]}]}];let Lt=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[U.Bz.forChild(Dt),U.Bz]}),r})();var lt=i(1106),ct=i(7856),Ft=i(6067),pt=i(9154),kt=i(2989),L=i(366),gt=i(7950),G=i(2524),le=i(9175),ce=i(4742),pe=i(9312),dt=i(3235);let ge=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,u.u5,y.sL,f.vh,b.PV,_.LV,m.HQ,Y.X,z.cg,t.ZJ,le.n,ce.c,ct.k,Ft.X,pt.y,lt.L,G.s,kt.T,pe.w,L.$,gt.x,dt.W]}),r})();var Yt=i(2419);let ot=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,v.KJ,b.PV,x.Jb,y.sL,I.zf,t.ZJ,Yt.D,ge,G.s]}),r})();var $t=i(5895);let Rt=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,b.PV,$t.s]}),r})();var Bt=i(7431),Ht=i(9894);let jt=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,Ht.t]}),r})();var Kt=i(1403);let Wt=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,Kt.Q]}),r})();var Vt=i(5843);let Gt=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,Vt.W]}),r})();var qt=i(2669),Xt=i(1595),te=i(2612),ee=i(3498),ne=i(5528);let oe=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,u.u5,z.cg,qt.j,x.Jb,y.sL,f.vh,b.PV,te.Wr,ee.FT,ne.E,G.s,Xt.N]}),r})(),ie=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[a.ez,U.Bz,Lt,ot,Rt,Bt.UsersDetailModule,jt,Wt,Gt,oe]}),r})()}}]); \ No newline at end of file diff --git a/server/public/3385.7da54368d3f3368e.js b/server/public/3385.7da54368d3f3368e.js new file mode 100644 index 000000000..6eb935b40 --- /dev/null +++ b/server/public/3385.7da54368d3f3368e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3385],{8516:(C,d,e)=>{e.d(d,{p:()=>h});var t=e(5879),a=e(6814),n=e(6223),o=e(824),c=e(551);function s(i,u){if(1&i){const l=t.EpF();t.TgZ(0,"i",4),t.NdJ("click",function(){t.CHM(l);const v=t.oxw(2);return v.inputModel=void 0,t.KtG(v.onModelUpdated())}),t.qZA()}}function r(i,u){if(1&i&&t.YNc(0,s,1,0,"i",3),2&i){const l=t.oxw();t.Q6J("ngIf",l.inputModel)}}let h=(()=>{class i{constructor(){this.inputModelChange=new t.vpe}onModelUpdated(){this.inputModelChange.emit(""!=this.inputModel?this.inputModel:void 0),this.onInputChanged&&this.onInputChanged()}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-clearable-input-filter"]],inputs:{placeholderText:"placeholderText",onInputChanged:"onInputChanged",inputModel:"inputModel"},outputs:{inputModelChange:"inputModelChange"},decls:4,vars:3,consts:[[3,"nzSuffix"],["type","text","nz-input","","nzSize","small",3,"placeholder","ngModel","ngModelChange"],["clearTmpl",""],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"]],template:function(l,g){if(1&l&&(t.TgZ(0,"nz-input-group",0)(1,"input",1),t.NdJ("ngModelChange",function(T){return g.inputModel=T})("ngModelChange",function(){return g.onModelUpdated()}),t.qZA()(),t.YNc(2,r,1,1,"ng-template",null,2,t.W1O)),2&l){const v=t.MAs(3);t.Q6J("nzSuffix",v),t.xp6(1),t.Q6J("placeholder",g.placeholderText?g.placeholderText:"")("ngModel",g.inputModel)}},dependencies:[a.O5,n.Fj,n.JJ,n.On,o.Zp,o.gB,o.ke,c.Ls],styles:["[_nghost-%COMP%]{display:block;height:22px}[_nghost-%COMP%] nz-input-group{padding:2px;height:22px}[_nghost-%COMP%] nz-input-group input{height:16px}"],changeDetection:0}),i})()},7856:(C,d,e)=>{e.d(d,{k:()=>r});var t=e(6814),a=e(824),n=e(6223),o=e(551),c=e(3599),s=e(5879);let r=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275mod=s.oAB({type:h}),h.\u0275inj=s.cJS({imports:[t.ez,n.u5,c.U5,a.o7,o.PV]}),h})()},9857:(C,d,e)=>{e.d(d,{B:()=>h});var t=e(2181),a=e(7398),n=e(5879),o=e(6814),c=e(2392),s=e(8091);function r(i,u){if(1&i&&(n.TgZ(0,"span",1),n._uU(1),n.ALo(2,"number"),n.ALo(3,"number"),n.qZA()),2&i){const l=u.ngIf;n.xp6(1),n.AsE(" ",n.lcZ(2,2,l.edgeCount)," of ",n.lcZ(3,4,l.filteredCount)," displayed\n")}}let h=(()=>{class i{ngOnInit(){this.tableCountsInfo$=this.cvcTableCountsConnection.pipe((0,t.h)(l=>null!=l.totalCount||null!=l.filteredCount),(0,a.U)(l=>{const g=l.filteredCount,v=l.totalCount,T=l.edges;return null==g&&null==v&&console.log("Need to provide either filtered count or total count in the table counts component"),{edgeCount:T.length,filteredCount:g??v}}))}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=n.Xpm({type:i,selectors:[["cvc-table-counts"]],inputs:{cvcTableCountsConnection:"cvcTableCountsConnection"},decls:2,vars:3,consts:[["class","table-counts","nz-typography","","nzType","secondary",4,"ngIf"],["nz-typography","","nzType","secondary",1,"table-counts"]],template:function(l,g){1&l&&(n.YNc(0,r,4,6,"span",0),n.ALo(1,"ngrxPush")),2&l&&n.Q6J("ngIf",n.lcZ(1,1,g.tableCountsInfo$))},dependencies:[o.O5,c.ZU,o.JJ,s.fM],styles:[":[_nghost-%COMP%]{border:1px solid red}.table-counts[_ngcontent-%COMP%]{display:inline-block}"],changeDetection:0}),i})()},2989:(C,d,e)=>{e.d(d,{T:()=>o});var t=e(6814),a=e(2392),n=e(5879);let o=(()=>{class c{}return c.\u0275fac=function(r){return new(r||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[t.ez,a.ZJ]}),c})()},4632:(C,d,e)=>{e.d(d,{_:()=>a});var t=e(313);function a(n){var o;switch(n.value){case"ascend":o=t.SrV.Asc;break;case"descend":o=t.SrV.Desc;break;default:return}return{column:n.key,direction:o}}},6753:(C,d,e)=>{e.d(d,{D:()=>o});var t=e(8645),a=e(8753),n=e(5879);let o=(()=>{class c{set cvcAutoHeightCard(r){r&&(this._offset=r)}get cvcAutoHeightCard(){return this._offset}set cvcAutoHeightTarget(r){this._target=r}get cvcAutoHeightTarget(){return this._target}constructor(r,h,i){this.el=r,this.zone=h,this.cdr=i,this._offset=0,this._target="parent",this.onResized$=new t.x,this.resizeObserver=new ResizeObserver(u=>{this.zone.run(()=>{this.onResized$.next(!0)})}),this.onResized$.pipe((0,a.p)(10)).subscribe(u=>{this.doAutoSize()})}ngOnInit(){this.resizeObserver.observe(this.el.nativeElement)}doAutoSize(){const r=this.el.nativeElement,h=r.parentElement.clientHeight,u=r.querySelector(".ant-card-head").clientHeight,l=r.querySelector(".ant-card-body");if(l){if("parent"===this._target)l.style.height=`calc(${h-u}px)`;else if("viewport"===this._target){let g=0;l.getBoundingClientRect&&l.getBoundingClientRect().top&&(g=l.getBoundingClientRect().top),l.style.height=`calc(100vh - ${g+u+this._offset}px)`}l.style["overflow-y"]="auto"}else console.warn("auto-height-card could not find reference to ant-card-body div.");this.cdr.detectChanges()}ngOnDestroy(){this.onResized$.unsubscribe(),this.resizeObserver.unobserve(this.el.nativeElement)}}return c.\u0275fac=function(r){return new(r||c)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.sBO))},c.\u0275dir=n.lG2({type:c,selectors:[["","cvcAutoHeightCard",""]],inputs:{cvcAutoHeightCard:"cvcAutoHeightCard",cvcAutoHeightTarget:"cvcAutoHeightTarget"}}),c})()},9175:(C,d,e)=>{e.d(d,{n:()=>n});var t=e(6814),a=e(5879);let n=(()=>{class o{}return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=a.oAB({type:o}),o.\u0275inj=a.cJS({imports:[t.ez]}),o})()},4764:(C,d,e)=>{e.d(d,{q:()=>n});var t=e(5879),a=e(3740);let n=(()=>{class o{constructor(s,r,h){this.element=s,this.table=r,this.cd=h,this.table&&this.table.nzPageIndexChange&&this.table.nzPageIndexChange.subscribe(i=>{const u=this.element.nativeElement.querySelector(".ant-table-body");u&&u.scrollTop&&(u.scrollTop=0)})}onResize(){this.doAutoSize()}ngOnInit(){}ngAfterViewInit(){this.doAutoSize()}doAutoSize(){setTimeout(()=>{const s=void 0===this.offset?70:this.offset;if(this.element&&this.element.nativeElement&&this.element.nativeElement.parentElement&&this.element.nativeElement.parentElement.offsetHeight)if(this.table&&this.table.nzScroll&&this.table.nzScroll.x){const r=this.table.nzScroll?{...this.table.nzScroll}:null;this.table.nzScroll={y:(this.element.nativeElement.parentElement.offsetHeight-this.element.nativeElement.offsetTop-s).toString()+"px",x:this.table.nzScroll.x},this.table.ngOnChanges({nzScroll:new t.WD2({originNzScroll:r},this.table.nzScroll,!1)}),this.cd.detectChanges()}else{const r=this.table.nzScroll?{...this.table.nzScroll}:null;this.table.nzScroll={y:(this.element.nativeElement.parentElement.offsetHeight-this.element.nativeElement.offsetTop-s).toString()+"px"},this.table.ngOnChanges({nzScroll:new t.WD2({originNzScroll:r},this.table.nzScroll,!1)}),this.cd.detectChanges()}},10)}}return o.\u0275fac=function(s){return new(s||o)(t.Y36(t.SBq),t.Y36(a.N8),t.Y36(t.sBO))},o.\u0275dir=t.lG2({type:o,selectors:[["","cvcAutoHeightTable",""]],hostBindings:function(s,r){1&s&&t.NdJ("resize",function(i){return r.onResize(i)},!1,t.Jf7)},inputs:{offset:["cvcAutoHeightTable","offset"]}}),o})()},4742:(C,d,e)=>{e.d(d,{c:()=>n});var t=e(6814),a=e(5879);let n=(()=>{class o{}return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=a.oAB({type:o}),o.\u0275inj=a.cJS({imports:[t.ez]}),o})()},4997:(C,d,e)=>{e.d(d,{y:()=>T});var v,t=e(655),a=e(5879),n=e(1791),o=e(6321),c=e(1374),s=e(8753),r=e(9397),h=e(3620),i=e(7398),u=e(9384),l=e(2181),g=e(3740);let T=((v=class{set cvcTableScrollToIndex(_){void 0!==_&&this.scrollToIndex(_)}set cvcTableScrollToOffset(_){void 0!==_&&this.scrollToIndex(_)}constructor(_){this.host=_,this.cvcTableScrollOnScroll=new a.vpe,this.cvcTableScrollTargetHeight=140,this.cvcTableScrollFetchCount=25,this.onLoadThrottleTime=500,this.onScrollThrottleTime=250,this.onScrollDebounceTime=300,console.log("table-scroll.directive constructor()")}ngAfterViewInit(){if(!this.host||!this.host.cdkVirtualScrollViewport)throw new Error("cvcTableScroll directive could not obtain reference to host cdkVirtualScrollViewport.");this.viewport=this.host.cdkVirtualScrollViewport,this.scrolled$=this.viewport.elementScrolled(),this.rendered$=this.viewport.renderedRangeStream,this.rendered$.pipe((0,c.P)()).subscribe(()=>this.viewport.checkViewportSize()),this.scrolled$.pipe((0,s.p)(this.onScrollThrottleTime,o.z,{leading:!0,trailing:!0}),(0,r.b)(_=>this.cvcTableScrollOnScroll.next("scroll")),(0,h.b)(this.onScrollDebounceTime),(0,n.t)(this)).subscribe(_=>{this.cvcTableScrollOnScroll.next("stop")}),this.scrolled$.pipe((0,i.U)(_=>this.viewport.measureScrollOffset("bottom")),(0,u.G)(),(0,l.h)(([_,p])=>p<_&&p{this.cvcTableScrollOnScroll.next("bottom");try{this.loadMore(this.cvcTableScrollPageInfo)}catch(p){console.error(p)}})}loadMore(_){const p=this.cvcTableScrollQueryRef;if(!_&&p)throw new Error("table-scroll directive requires PageInfo to use provided QueryRef.");if(_&&!p)throw new Error("table-scroll directive requires valid QueryRef when PageInfo provided.");if(_&&p){const[f,O,M]=[this.cvcTableScrollFetchCount,_.hasNextPage,_.endCursor];if(!f||!M)throw new Error("table-scroll PageInfo invalid.");if(!O)return;p.fetchMore({variables:{first:f,after:M}})}}scrollToIndex(_){const[p,f]=[this.host,this.host.cdkVirtualScrollViewport];if(!p||!f)throw new Error("table-scroll scrollToIndex() cannot find host viewport.");f.scrollToIndex(_)}scrollToOffset(_){const[p,f]=[this.host,this.host.cdkVirtualScrollViewport];if(!p||!f)throw new Error("table-scroll scrollToOffset() cannot find host viewport.");f.scrollToOffset(_)}}).\u0275fac=function(_){return new(_||v)(a.Y36(g.N8))},v.\u0275dir=a.lG2({type:v,selectors:[["","cvcTableScroll",""]],inputs:{cvcTableScrollTargetHeight:"cvcTableScrollTargetHeight",cvcTableScrollQueryRef:"cvcTableScrollQueryRef",cvcTableScrollPageInfo:"cvcTableScrollPageInfo",cvcTableScrollFetchCount:"cvcTableScrollFetchCount",cvcTableScrollToIndex:"cvcTableScrollToIndex",cvcTableScrollToOffset:"cvcTableScrollToOffset"},outputs:{cvcTableScrollOnScroll:"cvcTableScrollOnScroll"}}),v);T=(0,t.gn)([(0,n.c)()],T)},9312:(C,d,e)=>{e.d(d,{w:()=>n});var t=e(6814),a=e(5879);let n=(()=>{class o{}return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=a.oAB({type:o}),o.\u0275inj=a.cJS({imports:[t.ez]}),o})()}}]); \ No newline at end of file diff --git a/server/public/3407.dfec5aefd7ffe3e4.js b/server/public/3407.dfec5aefd7ffe3e4.js new file mode 100644 index 000000000..e0d2374ea --- /dev/null +++ b/server/public/3407.dfec5aefd7ffe3e4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3407],{3180:(K,f,e)=>{e.d(f,{B:()=>L});var u,x=e(655),E=e(4632),d=e(313),c=e(1791),T=e(5619),h=e(8645),C=e(5676),m=e(3997),O=e(812),D=e(836),g=e(2181),M=e(7398),z=e(3620),A=e(2460),s=e(4223),t=e(5879),p=e(6814),I=e(855),v=e(2962),Z=e(551),i=e(3740),U=e(5695),b=e(6109),y=e(6753),R=e(4764),W=e(8516),B=e(3489),S=e(1835),N=e(9857),J=e(4997),$=e(4527),Q=e(2606),w=e(8091),H=e(1233);function j(l,o){}function F(l,o){if(1&l&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,j,0,0,"ng-template",6),t.qZA(),t.BQk()),2&l){t.oxw();const n=t.MAs(6),_=t.MAs(8),a=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",n)("nzExtra",_),t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function G(l,o){}const Y=function(l){return{height:l}};function V(l,o){if(1&l&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,G,0,0,"ng-template",6),t.qZA()()),2&l){const n=t.oxw(),_=t.MAs(6),a=t.MAs(8),r=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,Y,n.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",_)("nzExtra",a),t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function X(l,o){if(1&l&&(t.TgZ(0,"tr",31)(1,"td",32),t._UZ(2,"cvc-molecular-profile-tag",33),t.qZA(),t.TgZ(3,"td"),t._UZ(4,"cvc-plain-tag-overflow",34),t.ALo(5,"pluck"),t.qZA(),t.TgZ(6,"td"),t._UZ(7,"cvc-tag-overflow",35),t.qZA(),t.TgZ(8,"td"),t._UZ(9,"cvc-tag-overflow",36),t.qZA(),t.TgZ(10,"td"),t._UZ(11,"cvc-tag-overflow",37),t.qZA(),t.TgZ(12,"td"),t._UZ(13,"cvc-tag-overflow",38),t.qZA(),t.TgZ(14,"td",39),t._uU(15),t.ALo(16,"number"),t.qZA(),t.TgZ(17,"td",40),t._uU(18),t.ALo(19,"number"),t.qZA(),t.TgZ(20,"td",40),t._uU(21),t.ALo(22,"number"),t.qZA(),t.TgZ(23,"td",40),t._uU(24),t.ALo(25,"number"),t.qZA()()),2&l){const n=o.$implicit,_=t.oxw(2);t.xp6(2),t.Q6J("molecularProfile",n)("truncateLongName",!0),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",t.xi3(5,22,n.aliases,"name"))("maxDisplayCount",1)("matchingText",_.aliasInput),t.xp6(3),t.Q6J("tags",n.genes)("maxDisplayCount",1)("matchingText",_.geneSymbolInput),t.xp6(2),t.Q6J("tags",n.variants)("maxDisplayCount",1)("matchingText",_.variantNameInput),t.xp6(2),t.Q6J("tags",n.diseases)("maxDisplayCount",1)("matchingText",_.diseaseNameInput),t.xp6(2),t.Q6J("tags",n.therapies)("maxDisplayCount",1)("matchingText",_.therapyNameInput),t.xp6(2),t.hij(" ",t.lcZ(16,25,n.molecularProfileScore)," "),t.xp6(3),t.hij(" ",t.lcZ(19,27,n.evidenceItemCount)," "),t.xp6(3),t.hij(" ",t.lcZ(22,29,n.assertionCount)," "),t.xp6(3),t.hij(" ",t.lcZ(25,31,n.variantCount)," ")}}const q=function(){return[]},k=function(){return{x:"680px",y:"800px"}},P=function(){return["descend","ascend",null]};function tt(l,o){if(1&l){const n=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.scrollEvent$.next(a))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.sortChange$.next(a))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Aliases "),t.qZA(),t.TgZ(12,"th",15),t._uU(13," Genes "),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Variants "),t.qZA(),t.TgZ(16,"th",17),t._uU(17,"Diseases"),t.qZA(),t.TgZ(18,"th",18),t._uU(19,"Therapies"),t.qZA(),t.TgZ(20,"th",19),t._UZ(21,"i",20),t._uU(22," Score "),t.qZA(),t.TgZ(23,"th",21),t._UZ(24,"i",22),t._uU(25," Count "),t.qZA(),t.TgZ(26,"th",23),t._UZ(27,"i",24),t._uU(28," Count "),t.qZA(),t.TgZ(29,"th",25),t._UZ(30,"i",26),t._uU(31," Count "),t.qZA()(),t.TgZ(32,"tr",27)(33,"th",13)(34,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.mpNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(35,"th",14)(36,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.aliasInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(37,"th",15)(38,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.geneSymbolInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(39,"th",16)(40,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.variantNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(41,"th",17)(42,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.diseaseNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(43,"th",18)(44,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.therapyNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t._UZ(45,"th",29)(46,"th",29)(47,"th",29)(48,"th",29),t.qZA()(),t.TgZ(49,"tbody"),t.YNc(50,X,26,33,"ng-template",30),t.qZA()()}if(2&l){const n=t.oxw();t.Q6J("nzData",t.lcZ(2,29,n.row$)||t.DdM(37,q))("nzLoading",t.lcZ(3,31,n.initialLoading$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,33,n.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,35,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",t.DdM(38,k))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(20),t.Q6J("nzSortFn",!0)("nzSortDirections",t.DdM(39,P))("nzColumnKey",n.sortColumns.MolecularProfileScore),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(40,P)),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(41,P)),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(42,P)),t.xp6(5),t.Q6J("inputModel",n.mpNameInput),t.xp6(2),t.Q6J("inputModel",n.aliasInput),t.xp6(2),t.Q6J("inputModel",n.geneSymbolInput),t.xp6(2),t.Q6J("inputModel",n.variantNameInput),t.xp6(2),t.Q6J("inputModel",n.diseaseNameInput),t.xp6(2),t.Q6J("inputModel",n.therapyNameInput)}}function nt(l,o){}function et(l,o){if(1&l&&(t.ynx(0),t.YNc(1,nt,0,0,"ng-template",6),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function ot(l,o){if(1&l&&(t.ynx(0),t._uU(1),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.hij(" ",n.cvcTitle," ")}}function lt(l,o){if(1&l&&(t.YNc(0,et,2,1,"ng-container",41),t.YNc(1,ot,2,1,"ng-container",41),t.TgZ(2,"span",42),t._UZ(3,"cvc-table-counts",43),t.qZA()),2&l){const n=t.oxw();t.Q6J("ngIf",n.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",n.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",n.connection$)}}function at(l,o){1&l&&(t.TgZ(0,"nz-tag",46),t._UZ(1,"i",47),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function _t(l,o){if(1&l&&(t.YNc(0,at,4,0,"nz-tag",44),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",45),t.ALo(3,"ngrxPush")),2&l){const n=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,n.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,n.noMoreRows$))}}let L=((u=class{set initialUserFilters(o){o&&Object.assign(this,o)}constructor(o,n){this.gql=o,this.cdr=n,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=d.FNv,this.noMoreRows$=new T.X(!1),this.scrollEvent$=new T.X("stop"),this.sortChange$=new h.x,this.filterChange$=new h.x,this.scrollIndex$=new h.x}ngOnInit(){this.initialQueryArgs={first:this.initialPageSize,variantId:this.variantId},this.queryRef=this.gql.watch(this.initialQueryArgs),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,s.j)("loading"),(0,m.x)(),(0,O.o)(o=>!1!==o,!0)),this.moreLoading$=this.result$.pipe((0,s.j)("loading"),(0,m.x)(),(0,D.T)(2)),this.connection$=this.result$.pipe((0,s.j)("data","browseMolecularProfiles"),(0,g.h)(C.ep)),this.row$=this.connection$.pipe((0,s.j)("edges"),(0,g.h)(C.ep),(0,M.U)(o=>o.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,s.j)("pageInfo"),(0,g.h)(C.ep)),this.sortChange$.pipe((0,c.t)(this)).subscribe(o=>{this.queryRef.refetch({sortBy:(0,E._)(o)})}),this.filterChange$.pipe((0,z.b)(500),(0,c.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,M.U)(o=>"stop"!==o),(0,m.x)(),(0,c.t)(this)).subscribe(o=>{this.isScrolling=o,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,g.h)(o=>"bottom"===o),(0,A.M)(this.pageInfo$),(0,M.U)(([o,n])=>n),(0,c.t)(this)).subscribe(o=>{o.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({molecularProfileName:this.mpNameInput,diseaseName:this.diseaseNameInput,therapyName:this.therapyNameInput,variantName:this.variantNameInput?this.variantNameInput:void 0,molecularProfileAlias:this.aliasInput?this.aliasInput:void 0,entrezSymbol:this.geneSymbolInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(o,n){return n?.id}}).\u0275fac=function(o){return new(o||u)(t.Y36(d.q9q),t.Y36(t.sBO))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-molecular-profiles-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",variantId:"variantId",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","200px","nzLeft",""],["nzWidth","100px"],["nzWidth","150px"],["nzWidth","200px"],["nzWidth","250px"],["nzWidth","180px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Molecular Profile Score",3,"nzSortFn","nzSortDirections","nzColumnKey"],["nz-icon","","nzType","civic-molecularprofile"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],[1,"filter-row"],[3,"inputModel","inputModelChange"],["nzWidth","75px","nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],["nzLeft",""],[3,"molecularProfile","truncateLongName"],[3,"maxDisplayCount","tags","matchingText"],["tagType","gene",3,"tags","maxDisplayCount","matchingText"],["tagType","variant",3,"tags","maxDisplayCount","matchingText"],["tagType","disease",3,"tags","maxDisplayCount","matchingText"],["tagType","therapy",3,"tags","maxDisplayCount","matchingText"],["nzRigh","","nzAlign","right"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(o,n){if(1&o&&(t.YNc(0,F,3,3,"ng-container",0),t.YNc(1,V,3,6,"ng-template",null,1,t.W1O),t.YNc(3,tt,51,43,"ng-template",null,2,t.W1O),t.YNc(5,lt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,_t,4,6,"ng-template",null,4,t.W1O)),2&o){const _=t.MAs(2);t.Q6J("ngIf",!n.cvcHeight)("ngIfElse",_)}},dependencies:[p.O5,p.tP,p.PC,I.w,v.bd,Z.Ls,i.N8,i.qD,i.Uo,i._C,i.Om,i.p0,i.$Z,i.zu,i.qn,i.UX,U.j,b.SY,y.D,R.q,W.p,B.H,S.l,N.B,J.y,$.T,Q.p,p.JJ,w.fM,H.F],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),u);L=(0,x.gn)([(0,c.c)()],L)},6610:(K,f,e)=>{e.d(f,{I:()=>Z});var x=e(6814),E=e(7856),d=e(9154),c=e(2966),T=e(2989),h=e(7950),C=e(2524),m=e(9175),O=e(4742),D=e(9312),g=e(2840),M=e(2962),z=e(551),A=e(3740),s=e(5695),t=e(6109),p=e(2392),I=e(8527),v=e(5879);let Z=(()=>{class i{}return i.\u0275fac=function(b){return new(b||i)},i.\u0275mod=v.oAB({type:i}),i.\u0275inj=v.cJS({imports:[x.ez,g.sL,M.vh,z.PV,A.HQ,s.X,t.cg,p.ZJ,m.n,O.c,E.k,d.y,C.s,c.T,T.T,D.w,h.x,I.u,c.T]}),i})()}}]); \ No newline at end of file diff --git a/server/public/3505.84bd5eb1b163b35e.js b/server/public/3505.84bd5eb1b163b35e.js new file mode 100644 index 000000000..7f66aa559 --- /dev/null +++ b/server/public/3505.84bd5eb1b163b35e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3505],{7745:(x,f,a)=>{function p(d,u){const h=(t,g)=>{let r;for(let s of t)if(s.fieldGroup)r=h(s.fieldGroup,g);else if(s.key===g){r=s;break}return r},c=(t,g)=>{for(let r of Object.keys(g))if(g[r]instanceof Object&&!Array.isArray(g[r]))c(t,g[r]);else{const s=h(t,r);s&&(s.defaultValue=g[r])}return t};return c(d,u)}a.d(f,{Z:()=>p})},9846:(x,f,a)=>{a.r(f),a.d(f,{VariantsReviseModule:()=>F});var p=a(6814),d=a(4190),u=a(7921),h=a(7398),c=a(4223),t=a(5879),g=a(313),r=a(951),s=a(6254),m=a(551),y=a(3145),V=a(8178),v=a(95),O=a(2616),M=a(8091);function b(e,i){1&e&&(t.TgZ(0,"span"),t._uU(1,",\xa0"),t.qZA())}function C(e,i){if(1&e&&(t.TgZ(0,"span"),t._uU(1),t.YNc(2,b,2,0,"span",0),t.qZA()),2&e){const n=i.$implicit,o=i.last;t.xp6(1),t.hij(" ",n,""),t.xp6(1),t.Q6J("ngIf",!o)}}function P(e,i){if(1&e&&(t.TgZ(0,"nz-page-header-subtitle"),t.YNc(1,C,3,2,"span",8),t.qZA()),2&e){const n=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",n.variantAliases)}}function _(e,i){1&e&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function I(e,i){1&e&&(t.TgZ(0,"nz-row",9)(1,"div",10),t._UZ(2,"cvc-login-prompt"),t.qZA()())}function T(e,i){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),t._uU(4," REVISE "),t._UZ(5,"i",4),t.ALo(6,"entityColor"),t._uU(7),t.qZA(),t.YNc(8,P,2,1,"nz-page-header-subtitle",0),t.TgZ(9,"nz-page-header-content")(10,"div",5),t.YNc(11,_,2,0,"div",6),t.ALo(12,"ngrxPush"),t.YNc(13,I,3,0,"ng-template",null,7,t.W1O),t.qZA()()(),t.BQk()),2&e){const n=i.ngIf,o=t.MAs(14),l=t.oxw();t.xp6(1),t.Q6J("displayName",n.name),t.xp6(4),t.Q6J("nzTwotoneColor",t.lcZ(6,6,"Variant")),t.xp6(2),t.hij(" ",n.name," "),t.xp6(1),t.Q6J("ngIf",n.variantAliases.length>0),t.xp6(3),t.Q6J("ngIf",t.lcZ(12,8,l.isSignedIn$))("ngIfElse",o)}}let S=(()=>{class e{constructor(n,o,l){this.gql=n,this.route=o,this.viewerService=l,this.routeSub=this.route.params.subscribe(N=>{let z=this.gql.watch({variantId:+N.variantId}).valueChanges;this.loading$=z.pipe((0,c.j)("loading"),(0,u.O)(!0)),this.variant$=z.pipe((0,c.j)("data","variant")),this.commentsTotal$=this.variant$.pipe((0,c.j)("comments","totalCount")),this.flagsTotal$=this.variant$.pipe((0,c.j)("flags","totalCount")),this.revisionsTotal$=this.variant$.pipe((0,c.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,h.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(g.iJT),t.Y36(d.gz),t.Y36(r.a))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variants-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],[4,"ngFor","ngForOf"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,o){1&n&&(t.YNc(0,T,15,10,"ng-container",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,o.variant$))},dependencies:[p.sg,p.O5,d.lC,s.$O,s.u9,s.yG,s.u5,m.Ls,y.I,V.u,v.t3,v.SK,p.Ov,O.a,M.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var R=a(1351);let Z=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[p.ez,R.K]}),e})();var A=a(9230);function w(e,i){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-variant-revise-form",2),t.BQk()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("variantId",n.variantId)}}function J(e,i){1&e&&t._uU(0,"Loading Variant...")}const $=[{path:"",component:S,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class e{constructor(n){this.route=n,this.routeParams$=this.route.params.subscribe(o=>{this.variantId=+o.variantId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(d.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variants-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariant",""],[3,"variantId"]],template:function(n,o){if(1&n&&(t.YNc(0,w,2,1,"ng-container",0),t.YNc(1,J,1,0,"ng-template",null,1,t.W1O)),2&n){const l=t.MAs(2);t.Q6J("ngIf",o.variantId)("ngIfElse",l)}},dependencies:[p.O5,A.J],encapsulation:2}),e})(),data:{breadcrumb:"Suggest Revision"}}]}];let j=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[d.Bz.forChild($),Z,d.Bz]}),e})();var Y=a(2419),Q=a(8603),U=a(2524);let F=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[p.ez,j,s.KJ,m.PV,U.s,Y.D,Q.a,v.Jb]}),e})()}}]); \ No newline at end of file diff --git a/server/public/3517.89b7dd18cffca9b4.js b/server/public/3517.89b7dd18cffca9b4.js new file mode 100644 index 000000000..ccc8ee9ee --- /dev/null +++ b/server/public/3517.89b7dd18cffca9b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3517],{6602:(B,v,o)=>{o.r(v),o.d(v,{PagesModule:()=>N});var l=o(6814),h=o(4190),e=o(5879),c=o(6254),g=o(95),u=o(2962),p=o(3740);function b(n,s){if(1&n&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA()()),2&n){const r=s.$implicit;e.xp6(2),e.Oqu(r.awardee),e.xp6(2),e.Oqu(r.org),e.xp6(2),e.Oqu(r.award)}}const y=function(){return[8,12]};let C=(()=>{class n{constructor(){this.funding=[{awardee:"Malachi Griffith",org:"National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH)",award:"R00HG007940"},{awardee:"Obi Lee Griffith",org:"National Cancer Institute (NCI) of NIH",award:"K22CA188163"},{awardee:"Obi Lee Griffith (with Malachi Griffith as co-PI)",org:"NCI including a funding supplement from the Childhood Cancer Data Initiative (CCDI)",award:"U24CA237719 (previously: U01CA209936)"},{awardee:"CIViC",org:"Washington University Institute of Clinical and Translational Sciences from National Center for Advancing Translational Sciences (NCATS) of NIH",award:"UL1TR002345"},{awardee:"CIViC",org:"Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine.",award:""},{awardee:"CIViC (awarded in cloud credits)",org:"NIH Cloud Credits Model Pilot of the NIH Big Data to Knowledge (BD2K) program",award:""},{awardee:"CIViC (integration with Google BigQuery)",org:"Google",award:""}]}ngOnInit(){}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-pages-about"]],decls:49,vars:7,consts:[[1,"site-page-header"],[3,"nzGutter"],[3,"nzSpan"],["nzType","inner","nzTitle","Why Use CIViC - Our Elevator Pitch",2,"width","100%"],["nzXs","24","nzSm","24","nzMd","24","nzLg","12","nzXl","12","nzXXl","8"],["nzType","inner","nzTitle","Mission Statement",2,"width","100%"],["href","https://www.civicdb.org","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["src","assets/images/CIViC_principles__shorter.png","alt","CIViC principles",2,"width","100%"],["nzType","inner","nzTitle","Funding",2,"width","100%"],[3,"nzData","nzFrontPagination","nzShowPagination"],["basicTable",""],[4,"ngFor","ngForOf"],["nzXs","24","nzSm","24","nzMd","24","nzXXl","8"],["nzType","inner","nzTitle","Acknowledgements",2,"width","100%"],["src","assets/images/nih-nci-logo.png","alt","NHI - National Cancer Institute",2,"height","50px","margin","12px"],["src","assets/images/icts-logo.png","alt","Washington University - Institute for Clinical and Translational Sciences",2,"height","50px","margin","12px"],["src","assets/images/ga4gh-logo.png","alt","Global Alliance for Genomics & Health",2,"height","50px","margin","12px"],["src","assets/images/GCBR-Logo-RGB.png","alt","Global Code Biodata Resources",2,"height","50px","margin","12px"],["src","assets/images/nih-nhgri-logo.png","alt","NHI - National Human Genome Research Institute",2,"height","50px","margin","12px"],["src","assets/images/wustl-logo.png","alt","Washington University in St. Louis",2,"height","50px","margin","12px"],["src","assets/images/cdi-logo.jpeg","alt","Washington University - Children's Discovery Institute",2,"height","50px","margin","12px"]],template:function(r,z){if(1&r&&(e.TgZ(0,"nz-page-header",0)(1,"nz-page-header-title"),e._uU(2," About CIViC "),e.qZA(),e.TgZ(3,"nz-page-header-content")(4,"nz-row",1)(5,"nz-col",2)(6,"nz-card",3),e._uU(7," We developed a free, expert-curated web resource that helps doctors identify the best treatment options for cancer patients based on their unique tumor DNA. Cancer is driven by DNA mutations. Using these mutations to guide patient care requires experts to actively review and summarize the latest scientific advances. Our easily searchable resource coordinates these efforts. The free and open design of our database shares expert cancer mutation knowledge with everyone. "),e.qZA()(),e.TgZ(8,"nz-col",4)(9,"nz-card",5)(10,"p"),e._uU(11," Precision medicine refers to the use of prevention and treatment strategies that are tailored to the unique features of each individual and their disease. In the context of cancer this might involve the identification of specific variants shown to predict response to a targeted therapy. The biomedical literature describing associations between genetic variants and clinically relevant outcomes is large and growing rapidly. Currently variant interpretations exist largely in private or encumbered databases resulting in extensive repetition of effort. Effective precision medicine requires this information to be centralized, debated, and interpreted for application in a clinical setting. CIViC is an open access, open source, community-driven web resource for Clinical Interpretation of Variants in Cancer, available online at "),e.TgZ(12,"a",6),e._uU(13,"civicdb.org"),e.qZA(),e._uU(14,". Our goal is to enable precision medicine by providing an educational forum for dissemination of knowledge and active discussion of the clinical significance of cancer genome alterations. For more details and to cite CIViC please refer to the "),e.TgZ(15,"a",7),e._uU(16,"CIViC publication"),e.qZA(),e._uU(17," in Nature Genetics. "),e.qZA(),e.TgZ(18,"p"),e._uU(19," All content created in CIViC is, and will continue to be, freely available, without restriction with a "),e.TgZ(20,"a",8),e._uU(21,"Public Domain License"),e.qZA(),e._uU(22,". Anyone can contribute to CIViC by simply registering for an account. Users join the community with \u201cCurator\u201d level privileges that allow them to comment or propose additions or revisions on any knowledge in CIViC. Proposed additions and revisions are then reviewed by users with \u201cEditor\u201d or \u201cAdmin\u201d level privileges before gaining \u201cAccepted\u201d status. Content that has been Submitted but not yet Accepted should be interpreted and used with caution. Community Curators work together with Editors towards comprehensive and accurate interpretations of the clinical relevance of variants in cancer. "),e.qZA(),e._UZ(23,"img",9),e.qZA()(),e.TgZ(24,"nz-col",4)(25,"nz-card",10)(26,"p"),e._uU(27," Malachi Griffith was supported by the National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH) under Award Number R00HG007940. Obi Lee Griffith was supported by the National Cancer Institute of the NIH under Award Number K22CA188163. The CIViC project is also supported by the NCI under Award Numbers U24CA237719 to Obi Lee Griffith (with Malachi Griffith as co-PI), including a funding supplement from the Childhood Cancer Data Initiative (CCDI), and previously U01CA209936 (with Malachi Griffith and Elaine R Mardis as co-PIs). CIViC is also supported by the Washington University Institute of Clinical and Translational Sciences grant UL1TR002345 from the National Center for Advancing Translational Sciences (NCATS) of the National Institutes of Health (NIH). CIViC is also supported by Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine. This research benefited from the use of credits from the National Institutes of Health (NIH) Cloud Credits Model Pilot, a component of the NIH Big Data to Knowledge (BD2K) program. Support for the VCF format and integration with Google BigQuery was funded by Google. The content of this website is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health or other funding sources. "),e.qZA(),e.TgZ(28,"nz-table",11,12)(30,"thead")(31,"tr")(32,"th"),e._uU(33,"Awardee"),e.qZA(),e.TgZ(34,"th"),e._uU(35,"Awarding Organization"),e.qZA(),e.TgZ(36,"th"),e._uU(37,"Award Number"),e.qZA()()(),e.TgZ(38,"tbody"),e.YNc(39,b,7,3,"tr",13),e.qZA()()()(),e.TgZ(40,"nz-col",14)(41,"nz-card",15),e._UZ(42,"img",16)(43,"img",17)(44,"img",18)(45,"img",19)(46,"img",20)(47,"img",21)(48,"img",22),e.qZA()()()()()),2&r){const P=e.MAs(29);e.xp6(4),e.Q6J("nzGutter",e.DdM(6,y)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(23),e.Q6J("nzData",z.funding)("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(11),e.Q6J("ngForOf",P.data)}},dependencies:[l.sg,c.$O,c.u9,c.u5,g.t3,g.SK,u.bd,p.N8,p.Uo,p._C,p.Om,p.p0,p.$Z],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var f=o(2574);function x(n,s){1&n&&(e.TgZ(0,"nz-row",5)(1,"nz-col",1)(2,"nz-card",6)(3,"p"),e._uU(4," CIViC provides an educational resource to support better understanding of the current state of precision medicine. It may also provide useful summaries and links to relevant published evidence for the clinical relevance of specific variants. "),e.qZA(),e.TgZ(5,"p"),e._uU(6," For more information on the CIViC knowledge model, please see "),e.TgZ(7,"a",7),e._uU(8,"our documentation"),e.qZA(),e._uU(9,". "),e.qZA()()(),e.TgZ(10,"nz-col",1)(11,"nz-card",8)(12,"p"),e._uU(13," CIViC provides an open forum for community contributions. Anyone can create an account to flag problems, add comments, propose revisions to existing content, or submit new evidence, assertions, or summaries. All proposed additions/revisions enter a pending state until considered for acceptance by a CIViC editor. All content contributed and accepted is immediately considered public domain knowledge. "),e.qZA(),e.TgZ(14,"p"),e._uU(15," For more details on how to contribute please read our "),e.TgZ(16,"a",9),e._uU(17,"curating docs"),e.qZA(),e._uU(18,". "),e.qZA()()(),e.TgZ(19,"nz-col",1)(20,"nz-card",10)(21,"p"),e._uU(22," CIViC data can be retrieved using the underlying GraphQL API. The API documentation is available on "),e.TgZ(23,"a",11),e._uU(24,"GitHub"),e.qZA(),e._uU(25,". "),e.qZA(),e.TgZ(26,"p"),e._uU(27," The GraphiQL user interface found "),e.TgZ(28,"a",12),e._uU(29,"here"),e.qZA(),e._uU(30,' is a good way to get started interacting with the API. You can explore the schema and available queries using the "Docs" explorer found in the upper right. '),e.qZA()()(),e.TgZ(31,"nz-col",1)(32,"nz-card",13)(33,"p"),e._uU(34," We've recorded a few instructional videos to offer overviews of the CIViC application. They are recommended viewing for users wishing to gain a quick understanding of basic CIViC interface elements and workflows. "),e.qZA(),e.TgZ(35,"p"),e._uU(36," These videos can be found on the "),e.TgZ(37,"a",14),e._uU(38,"CIViC YouTube channel"),e.qZA(),e._uU(39,". "),e.qZA()()()()),2&n&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(12),e.Q6J("nzSpan",6))}function w(n,s){1&n&&(e.TgZ(0,"nz-row",5)(1,"nz-col",1)(2,"nz-card",15),e._uU(3," Please follow our Twitter account "),e.TgZ(4,"a",16),e._uU(5,"@CIViCdb"),e.qZA(),e._uU(6,". "),e.qZA()(),e.TgZ(7,"nz-col",1)(8,"nz-card",17),e._uU(9," Please email "),e.TgZ(10,"a",18),e._uU(11,"help@civicdb.org"),e.qZA(),e._uU(12,". "),e.qZA()(),e.TgZ(13,"nz-col",1)(14,"nz-card",19),e._uU(15," Please create an issue in the "),e.TgZ(16,"a",20),e._uU(17,"civic-v2 GitHub repo"),e.qZA(),e._uU(18,". "),e.qZA()()()),2&n&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8))}const T=[{path:"",component:(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-pages"]],decls:1,vars:0,template:function(r,z){1&r&&e._UZ(0,"router-outlet")},dependencies:[h.lC],encapsulation:2}),n})(),children:[{path:"about",component:C},{path:"help",component:(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-pages-help"]],decls:10,vars:1,consts:[[1,"site-page-header"],[3,"nzSpan"],[1,"content",2,"min-height","600px"],["nzDirection","vertical",2,"width","100%"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzType","inner","nzTitle","Knowledgebase Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/model.html","target","_blank"],["nzType","inner","nzTitle","Curation Process Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/curating.html","target","_blank"],["nzType","inner","nzTitle","API Documentation",2,"width","100%","height","100%"],["href","https://griffithlab.github.io/civic-v2/","target","_blank"],["href","https://civicdb.org/api/graphiql","target","_blank"],["nzType","inner","nzTitle","Tutorials",2,"width","100%","height","100%"],["href","https://www.youtube.com/playlist?list=PLImz36orVFPCQjx6wjMrYW-IPWGk8HrbX","target","_blank"],["nzType","inner","nzTitle","News and Updates",2,"width","100%"],["href","https://twitter.com/CIViCdb","target","_blank"],["nzType","inner","nzTitle","General Inquiries",2,"width","100%"],["href","mailto:help@civicdb.org","target","_blank"],["nzType","inner","nzTitle","Bug Reports and Feature Requests",2,"width","100%"],["href","https://github.com/griffithlab/civic-v2/issues","target","_blank"]],template:function(r,z){1&r&&(e.TgZ(0,"nz-page-header",0)(1,"nz-page-header-title"),e._uU(2," CIViC Help "),e.qZA(),e.TgZ(3,"nz-page-header-content")(4,"nz-row")(5,"nz-col",1)(6,"div",2)(7,"nz-space",3),e.YNc(8,x,40,5,"nz-row",4),e.YNc(9,w,19,4,"nz-row",4),e.qZA()()()()()()),2&r&&(e.xp6(5),e.Q6J("nzSpan",24))},dependencies:[c.$O,c.u9,c.u5,g.t3,g.SK,f.NU,f.$1,u.bd],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})()}]}];let A=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[h.Bz.forChild(T),h.Bz]}),n})(),M=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[l.ez,c.KJ,g.Jb,f.zf,u.vh,p.HQ]}),n})();var I=o(824);let H=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[l.ez,I.o7,c.KJ,g.Jb,f.zf,u.vh]}),n})(),N=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[l.ez,A,M,H]}),n})()},6254:(B,v,o)=>{o.d(v,{$O:()=>k,Jp:()=>Z,KJ:()=>R,ZJ:()=>P,u5:()=>z,u9:()=>s,yG:()=>r});var l=o(9388),h=o(6814),e=o(5879),c=o(8324),g=o(551),u=o(655),p=o(8645),b=o(9773),y=o(7398),C=o(874),f=o(7032),x=o(8802);function w(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"span",9),e.BQk()),2&t){const a=i.$implicit,d=e.oxw(2);e.xp6(1),e.Q6J("nzType",a||d.getBackIcon())}}function D(t,i){if(1&t){const a=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(a);const m=e.oxw();return e.KtG(m.onBack())}),e.TgZ(1,"div",7),e.YNc(2,w,2,1,"ng-container",8),e.qZA()()}if(2&t){const a=e.oxw();e.xp6(2),e.Q6J("nzStringTemplateOutlet",a.nzBackIcon)}}function O(t,i){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzTitle)}}function T(t,i){if(1&t&&(e.TgZ(0,"span",10),e.YNc(1,O,2,1,"ng-container",8),e.qZA()),2&t){const a=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",a.nzTitle)}}function A(t,i){1&t&&e.Hsn(0,6,["*ngIf","!nzTitle"])}function M(t,i){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzSubtitle)}}function I(t,i){if(1&t&&(e.TgZ(0,"span",11),e.YNc(1,M,2,1,"ng-container",8),e.qZA()),2&t){const a=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",a.nzSubtitle)}}function H(t,i){1&t&&e.Hsn(0,7,["*ngIf","!nzSubtitle"])}const N=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],n=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"];let s=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),t})(),r=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-content"],["","nz-page-header-content",""]],hostAttrs:[1,"ant-page-header-content"],exportAs:["nzPageHeaderContent"]}),t})(),P=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-tags"],["","nz-page-header-tags",""]],hostAttrs:[1,"ant-page-header-heading-tags"],exportAs:["nzPageHeaderTags"]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),t})(),S=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),t})(),k=(()=>{class t{constructor(a,d,m,_,F,q){this.location=a,this.nzConfigService=d,this.elementRef=m,this.nzResizeObserver=_,this.cdr=F,this.directionality=q,this._nzModuleName="pageHeader",this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new e.vpe,this.compact=!1,this.destroy$=new p.x,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe((0,b.R)(this.destroy$)).subscribe(a=>{this.dir=a,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,y.U)(([a])=>a.contentRect.width),(0,b.R)(this.destroy$)).subscribe(a=>{this.compact=a<768,this.cdr.markForCheck()})}onBack(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(`${f.Bq} you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!`);this.location.back()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getBackIcon(){return"rtl"===this.dir?"arrow-right":"arrow-left"}}return t.\u0275fac=function(a){return new(a||t)(e.Y36(h.Ye,8),e.Y36(C.jY),e.Y36(e.SBq),e.Y36(x.D3),e.Y36(e.sBO),e.Y36(l.Is,8))},t.\u0275cmp=e.Xpm({type:t,selectors:[["nz-page-header"]],contentQueries:function(a,d,m){if(1&a&&(e.Suo(m,U,5),e.Suo(m,S,5)),2&a){let _;e.iGM(_=e.CRH())&&(d.nzPageHeaderFooter=_.first),e.iGM(_=e.CRH())&&(d.nzPageHeaderBreadcrumb=_.first)}},hostAttrs:[1,"ant-page-header"],hostVars:10,hostBindings:function(a,d){2&a&&e.ekj("has-footer",d.nzPageHeaderFooter)("ant-page-header-ghost",d.nzGhost)("has-breadcrumb",d.nzPageHeaderBreadcrumb)("ant-page-header-compact",d.compact)("ant-page-header-rtl","rtl"===d.dir)},inputs:{nzBackIcon:"nzBackIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzGhost:"nzGhost"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:n,decls:13,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(a,d){1&a&&(e.F$t(N),e.Hsn(0),e.TgZ(1,"div",0)(2,"div",1),e.YNc(3,D,3,1,"div",2),e.Hsn(4,1),e.YNc(5,T,2,1,"span",3),e.YNc(6,A,1,0,"ng-content",4),e.YNc(7,I,2,1,"span",5),e.YNc(8,H,1,0,"ng-content",4),e.Hsn(9,2),e.qZA(),e.Hsn(10,3),e.qZA(),e.Hsn(11,4),e.Hsn(12,5)),2&a&&(e.xp6(3),e.Q6J("ngIf",null!==d.nzBackIcon),e.xp6(2),e.Q6J("ngIf",d.nzTitle),e.xp6(1),e.Q6J("ngIf",!d.nzTitle),e.xp6(1),e.Q6J("ngIf",d.nzSubtitle),e.xp6(1),e.Q6J("ngIf",!d.nzSubtitle))},dependencies:[h.O5,c.f,g.Ls],encapsulation:2,changeDetection:0}),(0,u.gn)([(0,C.oS)()],t.prototype,"nzGhost",void 0),t})(),R=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[l.vT,h.ez,c.T,g.PV]}),t})()}}]); \ No newline at end of file diff --git a/server/public/3547.440d261bb7a45613.js b/server/public/3547.440d261bb7a45613.js deleted file mode 100644 index 09e0b3442..000000000 --- a/server/public/3547.440d261bb7a45613.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3547],{9460:(Q,C,a)=>{a.d(C,{i:()=>c});var r=a(6895),p=a(9116),_=a(6672),l=a(6581),n=a(1102),m=a(1698),h=a(9444),d=a(48),x=a(6429),f=a(4650);class c{}c.\u0275fac=function(u){return new(u||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({imports:[r.ez,p.Bz,d.mS,_.X,l.$6,n.PV,m.f,h.s,x.C]})},9476:(Q,C,a)=>{a.d(C,{L:()=>z});var r=a(6895),p=a(9116),_=a(6672),l=a(1102),n=a(3679),m=a(4989),h=a(9194),d=a(1971),x=a(2635),f=a(5473),c=a(4650);class g{}g.\u0275fac=function(M){return new(M||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[r.ez,x._N,x.pP,d.vh,n.Jb,h.q6,m.X,f.H]});var u=a(6581);class z{}z.\u0275fac=function(M){return new(M||z)},z.\u0275mod=c.oAB({type:z}),z.\u0275inj=c.cJS({imports:[r.ez,p.Bz,_.X,l.PV,u.$6,g]})},7946:(Q,C,a)=>{a.d(C,{x:()=>g});var r=a(6895),p=a(897),_=a(6672),l=a(6581),n=a(8845),m=a(9476),h=a(1229),d=a(7043),x=a(701),f=a(8645),c=a(4650);class g{}g.\u0275fac=function(z){return new(z||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[r.ez,_.X,l.$6,p.$,x.N,n.Q,m.L,h.U,d.Q,f.M]})},8645:(Q,C,a)=>{a.d(C,{M:()=>u});var r=a(6895),p=a(9116),_=a(6672),l=a(1971),n=a(4989),m=a(9194),h=a(2635),d=a(1102),x=a(9444),f=a(4650);class c{}c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({imports:[r.ez,h._N,h.pP,d.PV,l.vh,m.q6,x.s,n.X]});var g=a(6581);class u{}u.\u0275fac=function(y){return new(y||u)},u.\u0275mod=f.oAB({type:u}),u.\u0275inj=f.cJS({imports:[r.ez,p.Bz,d.PV,_.X,g.$6,c]})},4475:(Q,C,a)=>{a.d(C,{F:()=>_});var p=a(4650);class _{transform(n,m="display-string"){return void 0===n?"":"display-string"===m?function r(l){switch(l){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return l}}(n):`civic-${n.replace(/_/g,"").toLowerCase()}`}}_.\u0275fac=function(n){return new(n||_)},_.\u0275pipe=p.Yjl({name:"therapyInteractionEnumDisplay",type:_,pure:!0})},9317:(Q,C,a)=>{a.r(C),a.d(C,{DiseasesModule:()=>E});var r=a(6895),p=a(9116),_=a(8675),l=a(6579),n=a(4650),m=a(7630),h=a(1102),d=a(5655),x=a(6550),f=a(8992),c=a(2635),g=a(160);function u(t,o){if(1&t&&(n.TgZ(0,"cvc-link-tag",6),n._uU(1),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.Q6J("href",e.diseaseUrl),n.xp6(1),n.hij(" ","DOID:"+e.doid," ")}}function z(t,o){if(1&t&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,u,2,2,"cvc-link-tag",5),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("ngIf",e.diseaseUrl)}}function y(t,o){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),n._UZ(4,"i",3),n.ALo(5,"entityColor"),n._uU(6),n.qZA(),n.YNc(7,z,2,1,"nz-page-header-extra",0),n.TgZ(8,"nz-page-header-content")(9,"div",4),n._UZ(10,"router-outlet"),n.qZA()()(),n.BQk()),2&t){const e=o.ngIf;n.xp6(1),n.Q6J("displayName",e.name),n.xp6(3),n.Q6J("nzTwotoneColor",n.lcZ(5,4,"Disease")),n.xp6(2),n.hij(" ",e.name," "),n.xp6(1),n.Q6J("ngIf",e.doid)}}class M{constructor(o,e){this.route=o,this.gql=e,this.routeSub=this.route.params.subscribe(i=>{this.diseaseId=+i.diseaseId,this.queryRef=this.gql.watch({diseaseId:this.diseaseId});let s=this.queryRef.valueChanges;this.loading$=s.pipe((0,l.j)("loading"),(0,_.O)(!0)),this.disease$=s.pipe((0,l.j)("data","disease"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}M.\u0275fac=function(o){return new(o||M)(n.Y36(p.gz),n.Y36(m.wg3))},M.\u0275cmp=n.Xpm({type:M,selectors:[["cvc-diseases-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-disease",3,"nzTwotoneColor"],[1,"content"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf"],["tooltip","View on disease-ontology.org",3,"href"]],template:function(o,e){1&o&&(n.YNc(0,y,11,6,"ng-container",0),n.ALo(1,"ngrxPush")),2&o&&n.Q6J("ngIf",n.lcZ(1,1,e.disease$))},dependencies:[r.O5,p.lC,h.Ls,d.$O,d.u9,d.u5,d.Jp,x.l,f.I,c.fM,g.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var O,I=a(3679),W=a(6616),on=a(7044),D=a(8823),L=a(6903),rn=a(655),ln=a(3154),U=a(9933),V=a(1135),G=a(7579),X=a(3240),q=a(1884),gn=a(2529),pn=a(5684),K=a(9300),k=a(4004),dn=a(8372),_n=a(1365),N=a(1971),T=a(6675),j=a(6672),an=a(7570),hn=a(5851),mn=a(7451),fn=a(2166),un=a(7491),zn=a(3388),vn=a(3667),Cn=a(9947);function xn(t,o){}function Tn(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",5),n.YNc(2,xn,0,0,"ng-template",6),n.qZA(),n.BQk()),2&t){n.oxw();const e=n.MAs(6),i=n.MAs(8),s=n.MAs(4);n.xp6(1),n.Q6J("nzTitle",e)("nzExtra",i),n.xp6(1),n.Q6J("ngTemplateOutlet",s)}}function yn(t,o){}const Mn=function(t){return{height:t}};function In(t,o){if(1&t&&(n.TgZ(0,"div",7)(1,"nz-card",8),n.YNc(2,yn,0,0,"ng-template",6),n.qZA()()),2&t){const e=n.oxw(),i=n.MAs(6),s=n.MAs(8),v=n.MAs(4);n.Q6J("ngStyle",n.VKq(4,Mn,e.cvcHeight)),n.xp6(1),n.Q6J("nzTitle",i)("nzExtra",s),n.xp6(1),n.Q6J("ngTemplateOutlet",v)}}function Dn(t,o){if(1&t&&(n.TgZ(0,"cvc-link-tag",36),n._uU(1),n.qZA()),2&t){const e=n.oxw().$implicit;n.Q6J("href",e.diseaseUrl),n.xp6(1),n.hij(" ","DOID:"+e.doid," ")}}function On(t,o){1&t&&n._uU(0," -- ")}function Pn(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=o.$implicit,i=o.last;n.xp6(1),n.AsE(" ",e,"",i?"":", "," ")}}function Zn(t,o){if(1&t&&n.YNc(0,Pn,2,2,"ng-container",37),2&t){const e=n.oxw().$implicit;n.Q6J("ngForOf",e.geneNames)}}function Sn(t,o){if(1&t&&(n.TgZ(0,"tr",29)(1,"td",25),n._UZ(2,"cvc-disease-tag",30),n.qZA(),n.TgZ(3,"td",25),n.YNc(4,Dn,2,2,"cvc-link-tag",31),n.YNc(5,On,1,0,"ng-template",null,32,n.W1O),n.qZA(),n.TgZ(7,"td",33),n.YNc(8,Zn,1,1,"ng-template",null,34,n.W1O),n.GkF(10,6),n.qZA(),n.TgZ(11,"td",35),n._uU(12),n.qZA(),n.TgZ(13,"td",35),n._uU(14),n.qZA(),n.TgZ(15,"td",35),n._uU(16),n.qZA(),n.TgZ(17,"td",35),n._uU(18),n.qZA()()),2&t){const e=o.$implicit,i=n.MAs(6),s=n.MAs(9),v=n.oxw(2);n.xp6(2),n.Q6J("disease",e),n.xp6(2),n.Q6J("ngIf",e.doid)("ngIfElse",i),n.xp6(3),n.Q6J("nzTooltipTitle",v.isScrolling?"":s),n.xp6(3),n.Q6J("ngTemplateOutlet",s),n.xp6(2),n.hij(" ",e.geneCount," "),n.xp6(2),n.hij(" ",e.variantCount," "),n.xp6(2),n.hij(" ",e.evidenceItemCount," "),n.xp6(2),n.hij(" ",e.assertionCount," ")}}const An=function(){return[]},bn=function(){return{x:"680px",y:"800px"}},Y=function(){return["descend","ascend",null]};function Jn(t,o){if(1&t){const e=n.EpF();n.TgZ(0,"nz-table",9,10),n.NdJ("cvcTableScrollOnScroll",function(s){n.CHM(e);const v=n.oxw();return n.KtG(v.scrollEvent$.next(s))}),n.ALo(2,"ngrxPush"),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.ALo(5,"ngrxPush"),n.TgZ(6,"thead",11),n.NdJ("nzSortOrderChange",function(s){n.CHM(e);const v=n.oxw();return n.KtG(v.sortChange$.next(s))}),n.TgZ(7,"tr",12)(8,"th",13),n._uU(9," Name "),n.qZA(),n.TgZ(10,"th",14),n._uU(11," DOID "),n.qZA(),n.TgZ(12,"th",15),n._uU(13,"Genes"),n.qZA(),n.TgZ(14,"th",16),n._UZ(15,"i",17),n._uU(16," Count "),n.qZA(),n.TgZ(17,"th",18),n._UZ(18,"i",19),n._uU(19," Count "),n.qZA(),n.TgZ(20,"th",20),n._UZ(21,"i",21),n._uU(22," Count "),n.qZA(),n.TgZ(23,"th",22),n._UZ(24,"i",23),n._uU(25," Count "),n.qZA()(),n.TgZ(26,"tr",24)(27,"th",25)(28,"cvc-clearable-input-filter",26),n.NdJ("inputModelChange",function(s){n.CHM(e);const v=n.oxw();return n.KtG(v.nameInput=s)})("inputModelChange",function(){n.CHM(e);const s=n.oxw();return n.KtG(s.filterChange$.next())}),n.qZA()(),n.TgZ(29,"th",25)(30,"cvc-clearable-input-filter",26),n.NdJ("inputModelChange",function(s){n.CHM(e);const v=n.oxw();return n.KtG(v.doidInput=s)})("inputModelChange",function(){n.CHM(e);const s=n.oxw();return n.KtG(s.filterChange$.next())}),n.qZA()(),n.TgZ(31,"th")(32,"cvc-clearable-input-filter",26),n.NdJ("inputModelChange",function(s){n.CHM(e);const v=n.oxw();return n.KtG(v.geneNameInput=s)})("inputModelChange",function(){n.CHM(e);const s=n.oxw();return n.KtG(s.filterChange$.next())}),n.qZA()(),n._UZ(33,"th",27)(34,"th",27)(35,"th",27)(36,"th",27),n.qZA()(),n.TgZ(37,"tbody"),n.YNc(38,Sn,19,9,"ng-template",28),n.qZA()()}if(2&t){const e=n.oxw();n.Q6J("nzData",n.lcZ(2,30,e.row$)||n.DdM(38,An))("nzLoading",!n.lcZ(3,32,e.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",e.queryRef)("cvcTableScrollPageInfo",n.lcZ(4,34,e.pageInfo$))("cvcTableScrollToIndex",n.lcZ(5,36,e.scrollIndex$))("nzVirtualForTrackBy",e.trackByIndex)("nzScroll",n.DdM(39,bn))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(8),n.Q6J("nzColumnKey",e.sortColumns.Name)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",e.sortColumns.Doid)("nzSortFn",!0),n.xp6(4),n.Q6J("nzColumnKey",e.sortColumns.GeneCount)("nzSortFn",!0)("nzSortDirections",n.DdM(40,Y)),n.xp6(3),n.Q6J("nzColumnKey",e.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",n.DdM(41,Y)),n.xp6(3),n.Q6J("nzColumnKey",e.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(42,Y)),n.xp6(3),n.Q6J("nzColumnKey",e.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",n.DdM(43,Y)),n.xp6(5),n.Q6J("inputModel",e.nameInput),n.xp6(2),n.Q6J("inputModel",e.doidInput),n.xp6(2),n.Q6J("inputModel",e.geneNameInput)}}function En(t,o){}function Qn(t,o){if(1&t&&(n.ynx(0),n.YNc(1,En,0,0,"ng-template",6),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function Un(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.cvcTitle," ")}}function Nn(t,o){if(1&t&&(n.YNc(0,Qn,2,1,"ng-container",38),n.YNc(1,Un,2,1,"ng-container",38),n.TgZ(2,"span",39),n._UZ(3,"cvc-table-counts",40),n.qZA()),2&t){const e=n.oxw();n.Q6J("ngIf",e.cvcTitleTemplate),n.xp6(1),n.Q6J("ngIf",e.cvcTitle),n.xp6(2),n.Q6J("cvcTableCountsConnection",e.connection$)}}function wn(t,o){1&t&&(n.TgZ(0,"nz-tag",43),n._UZ(1,"i",44),n.TgZ(2,"span"),n._uU(3,"Loading\u2026"),n.qZA()())}function Bn(t,o){if(1&t&&(n.YNc(0,wn,4,0,"nz-tag",41),n.ALo(1,"ngrxPush"),n._UZ(2,"cvc-no-more-rows",42),n.ALo(3,"ngrxPush")),2&t){const e=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,e.moreLoading$)),n.xp6(2),n.Q6J("cvcShowTag",n.lcZ(3,4,e.noMoreRows$))}}let nn=((O=class{set initialUserFilters(o){o&&Object.assign(this,o)}constructor(o,e){this.gql=o,this.cdr=e,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=m.R8w,this.noMoreRows$=new V.X(!1),this.scrollEvent$=new V.X("stop"),this.sortChange$=new G.x,this.filterChange$=new G.x,this.scrollIndex$=new G.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,l.j)("loading"),(0,q.x)(),(0,gn.o)(o=>!1!==o,!0)),this.moreLoading$=this.result$.pipe((0,l.j)("loading"),(0,q.x)(),(0,pn.T)(2)),this.connection$=this.result$.pipe((0,l.j)("data","browseDiseases"),(0,K.h)(X.ep)),this.row$=this.connection$.pipe((0,l.j)("edges"),(0,K.h)(X.ep),(0,k.U)(o=>o.map(e=>e.node))),this.pageInfo$=this.connection$.pipe((0,l.j)("pageInfo"),(0,K.h)(X.ep)),this.sortChange$.pipe((0,U.t)(this)).subscribe(o=>{this.queryRef.refetch({sortBy:(0,ln._)(o)})}),this.filterChange$.pipe((0,dn.b)(500),(0,U.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,k.U)(o=>"stop"!==o),(0,q.x)(),(0,U.t)(this)).subscribe(o=>{this.isScrolling=o,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,K.h)(o=>"bottom"===o),(0,_n.M)(this.pageInfo$),(0,k.U)(([o,e])=>e),(0,U.t)(this)).subscribe(o=>{o.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameInput,geneNames:this.geneNameInput,doid:this.doidInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(o,e){return e?.id}}).\u0275fac=function(o){return new(o||O)(n.Y36(m.Tq1),n.Y36(n.sBO))},O.\u0275cmp=n.Xpm({type:O,selectors:[["cvc-diseases-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","300px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","400px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Gene Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-gene"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"disease"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf","ngIfElse"],["noDoid",""],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],["geneNames",""],["nzRight","","nzAlign","right"],["tooltip","View on disease-ontology.org",3,"href"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(o,e){if(1&o&&(n.YNc(0,Tn,3,3,"ng-container",0),n.YNc(1,In,3,6,"ng-template",null,1,n.W1O),n.YNc(3,Jn,39,44,"ng-template",null,2,n.W1O),n.YNc(5,Nn,4,3,"ng-template",null,3,n.W1O),n.YNc(7,Bn,4,6,"ng-template",null,4,n.W1O)),2&o){const i=n.MAs(2);n.Q6J("ngIf",!e.cvcHeight)("ngIfElse",i)}},dependencies:[r.sg,r.O5,r.tP,r.PC,on.w,N.bd,h.Ls,T.N8,T.qD,T.Uo,T._C,T.Om,T.p0,T.$Z,T.zu,T.qn,T.UX,j.j,an.SY,hn.D,mn.q,fn.p,un.n,x.l,zn.H,vn.B,Cn.y,c.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),O);function Fn(t,o){1&t&&(n.TgZ(0,"a",14),n._UZ(1,"i",15),n._uU(2," View Disease Attribute Docs "),n.qZA())}function $n(t,o){1&t&&(n.TgZ(0,"a",16),n._UZ(1,"i",15),n._uU(2," View Disease Curation Docs "),n.qZA())}nn=(0,rn.gn)([(0,U.c)()],nn);class w{constructor(){}ngOnInit(){}}w.\u0275fac=function(o){return new(o||w)},w.\u0275cmp=n.Xpm({type:w,selectors:[["diseases-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-disease",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html#curating-diseases","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Diseases"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html#curating-diseases","target","_blank","nzSize","small","nzBlock",""]],template:function(o,e){1&o&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),n._UZ(5,"i",3),n.ALo(6,"entityColor"),n.qZA(),n.TgZ(7,"nz-col",4)(8,"h2"),n._uU(9,"Diseases"),n.qZA(),n.TgZ(10,"p",5),n._uU(11," All CIViC Evidence Items are associated with a Disease included in the Disease Ontology database. "),n.qZA()(),n.TgZ(12,"nz-col",6)(13,"nz-space",7),n.YNc(14,Fn,3,0,"a",8),n.YNc(15,$n,3,0,"a",9),n.qZA()()(),n.TgZ(16,"div",10)(17,"div",11)(18,"div",12),n._UZ(19,"cvc-diseases-table",13),n.qZA()()()()()),2&o&&(n.xp6(5),n.Q6J("nzTwotoneColor",n.lcZ(6,3,"Disease")),n.xp6(5),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24))},dependencies:[h.Ls,d.$O,d.u5,I.t3,I.SK,W.ix,on.w,D.ZU,L.NU,L.$1,f.I,nn,g.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var sn=a(4813),Rn=a(3392),Ln=a(3756),tn=a(3513),B=a(9194),Kn=a(6715);function jn(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.hij(" ",e.diseaseInfo.doDef," ")}}function Yn(t,o){if(1&t&&(n.TgZ(0,"cvc-link-tag",24),n._uU(1),n.qZA()),2&t){const i=o.index;n.Q6J("href",o.$implicit),n.xp6(1),n.hij("Source ",i+1,"")}}function Hn(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,Yn,2,2,"cvc-link-tag",23),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(2),n.Q6J("ngForOf",e.diseaseInfo.doDefCitations)}}function Wn(t,o){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=o.$implicit;n.xp6(1),n.hij(" ",e," ")}}function Vn(t,o){if(1&t&&(n.TgZ(0,"nz-descriptions-item",25)(1,"cvc-tag-list"),n.YNc(2,Wn,2,1,"nz-tag",26),n.qZA()()),2&t){const e=n.oxw(3);n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("ngForOf",e.diseaseInfo.diseaseOntologyExactSynonyms)}}function Gn(t,o){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=o.$implicit;n.xp6(1),n.hij(" ",e," ")}}function Xn(t,o){if(1&t&&(n.TgZ(0,"nz-descriptions-item",27)(1,"cvc-tag-list"),n.YNc(2,Gn,2,1,"nz-tag",26),n.qZA()()),2&t){const e=n.oxw(3);n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("ngForOf",e.diseaseInfo.diseaseOntologyRelatedSynonyms)}}function qn(t,o){if(1&t&&(n.TgZ(0,"cvc-link-tag",28),n._uU(1),n.qZA()),2&t){const e=n.oxw(3);n.Q6J("href","https://meshb.nlm.nih.gov/record/ui?ui="+e.diseaseInfo.mesh),n.xp6(1),n.hij(" MeSH:",e.diseaseInfo.mesh," ")}}function kn(t,o){if(1&t&&(n.TgZ(0,"cvc-link-tag",29),n._uU(1),n.qZA()),2&t){const e=o.$implicit;n.Q6J("href","https://ncithesaurus.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI_Thesaurus&ns=ncit&code="+e),n.xp6(1),n.hij(" NCIt:",e," ")}}function nt(t,o){if(1&t&&(n.TgZ(0,"cvc-link-tag",30),n._uU(1),n.qZA()),2&t){const e=n.oxw(3);n.Q6J("href","https://www.omim.org/entry/"+e.diseaseInfo.omim),n.xp6(1),n.hij(" OMIM:",e.diseaseInfo.omim," ")}}function tt(t,o){if(1&t&&(n.TgZ(0,"nz-descriptions-item",31),n._uU(1),n.qZA()),2&t){const e=n.oxw(3);n.xp6(1),n.hij(" ",e.diseaseInfo.icd10," ")}}function et(t,o){if(1&t&&(n.TgZ(0,"nz-descriptions-item",32),n._uU(1),n.qZA()),2&t){const e=n.oxw(3);n.xp6(1),n.hij(" ",e.diseaseInfo.icdo," ")}}function ot(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"div",8)(2,"nz-row",9)(3,"nz-col",10)(4,"nz-descriptions",11)(5,"nz-descriptions-item",12),n.YNc(6,jn,2,1,"ng-container",13),n.qZA(),n.TgZ(7,"nz-descriptions-item",14),n.YNc(8,Hn,3,1,"ng-container",13),n.qZA()()(),n.TgZ(9,"nz-col",10)(10,"nz-descriptions",11),n.YNc(11,Vn,3,2,"nz-descriptions-item",15),n.YNc(12,Xn,3,2,"nz-descriptions-item",16),n.TgZ(13,"nz-descriptions-item",17)(14,"cvc-tag-list"),n.YNc(15,qn,2,2,"cvc-link-tag",18),n.YNc(16,kn,2,2,"cvc-link-tag",19),n.YNc(17,nt,2,2,"cvc-link-tag",20),n.qZA()(),n.YNc(18,tt,2,1,"nz-descriptions-item",21),n.YNc(19,et,2,1,"nz-descriptions-item",22),n.qZA()()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",1),n.xp6(2),n.Q6J("ngIf",e.diseaseInfo.doDef)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.diseaseInfo.doDefCitations.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",2),n.xp6(1),n.Q6J("ngIf",e.diseaseInfo.diseaseOntologyExactSynonyms.length>0),n.xp6(1),n.Q6J("ngIf",e.diseaseInfo.diseaseOntologyRelatedSynonyms.length>0),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("ngIf",e.diseaseInfo.mesh),n.xp6(1),n.Q6J("ngForOf",e.diseaseInfo.ncit),n.xp6(1),n.Q6J("ngIf",e.diseaseInfo.omim),n.xp6(1),n.Q6J("ngIf",e.diseaseInfo.icd10),n.xp6(1),n.Q6J("ngIf",e.diseaseInfo.icdo)}}function at(t,o){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.hij(" ",e.diseaseInfo.mondoDef," ")}}function it(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"div",8)(2,"nz-row",9)(3,"nz-col",10)(4,"nz-descriptions",11)(5,"nz-descriptions-item",12),n.YNc(6,at,2,1,"ng-container",13),n.qZA()()()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",2),n.xp6(2),n.Q6J("ngIf",e.diseaseInfo.mondoDef)("ngIfElse",i)}}function st(t,o){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",2)(2,"nz-card-tab")(3,"nz-tabset",3)(4,"nz-tab",4),n.NdJ("nzClick",function(){n.CHM(e);const s=n.oxw();return n.KtG(s.tabIndex.next(0))}),n.qZA(),n.TgZ(5,"nz-tab",5),n.NdJ("nzClick",function(){n.CHM(e);const s=n.oxw();return n.KtG(s.tabIndex.next(1))}),n.qZA()()(),n.ynx(6,6),n.ALo(7,"async"),n.YNc(8,ot,20,19,"ng-container",7),n.YNc(9,it,7,6,"ng-container",7),n.BQk(),n.qZA(),n.BQk()}if(2&t){const e=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(3),n.Q6J("ngSwitch",n.lcZ(7,4,e.tabIndex)),n.xp6(2),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1)}}function ct(t,o){1&t&&(n.TgZ(0,"span",33),n._uU(1,"Not Found"),n.qZA())}class F{constructor(){this.tabIndex=new V.X(0)}tabChange(o){this.tabIndex.next(o)}ngOnDestroy(){this.tabIndex.unsubscribe()}}F.\u0275fac=function(o){return new(o||F)},F.\u0275cmp=n.Xpm({type:F,selectors:[["cvc-my-disease-info"]],inputs:{diseaseInfo:"diseaseInfo"},decls:3,vars:1,consts:[[4,"ngIf"],["noValue",""],["nzTitle","MyDiseaseInfo"],["nzSize","small",3,"nzAnimated"],["nzTitle","Disease Ontology",3,"nzClick"],["nzTitle","Mondo",3,"nzClick"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],[3,"nzGutter"],[3,"nzSpan"],["nzSize","small",3,"nzBordered","nzColumn"],["nzTitle","Definition"],[4,"ngIf","ngIfElse"],["nzTitle","Citations"],["nzTitle","Exact Synonyms",3,"nzSpan",4,"ngIf"],["nzTitle","Related Synonyms",3,"nzSpan",4,"ngIf"],["nzTitle","External Identifiers",3,"nzSpan"],["tooltip","View in MeSH",3,"href",4,"ngIf"],["tooltip","View in NCI Thesaurus",3,"href",4,"ngFor","ngForOf"],["tooltip","View on OMIM",3,"href",4,"ngIf"],["nzTitle","ICD - 10",4,"ngIf"],["nzTitle","ICD - O",4,"ngIf"],[3,"href",4,"ngFor","ngForOf"],[3,"href"],["nzTitle","Exact Synonyms",3,"nzSpan"],[4,"ngFor","ngForOf"],["nzTitle","Related Synonyms",3,"nzSpan"],["tooltip","View in MeSH",3,"href"],["tooltip","View in NCI Thesaurus",3,"href"],["tooltip","View on OMIM",3,"href"],["nzTitle","ICD - 10"],["nzTitle","ICD - O"],["nz-typography","","nzType","secondary"]],template:function(o,e){1&o&&(n.YNc(0,st,10,6,"ng-container",0),n.YNc(1,ct,2,0,"ng-template",null,1,n.W1O)),2&o&&n.Q6J("ngIf",e.diseaseInfo)},dependencies:[r.sg,r.O5,r.RF,r.n9,tn.xH,tn.xw,N.bd,N._i,B.R7,B.uj,I.t3,I.SK,j.j,D.ZU,x.l,Kn.$,r.Ov],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]});const rt=function(){return[8,16]};function lt(t,o){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-row",2)(2,"nz-col",3),n._UZ(3,"cvc-my-disease-info",4),n.qZA(),n.TgZ(4,"nz-col",3),n._UZ(5,"cvc-evidence-table",5),n.qZA(),n.TgZ(6,"nz-col",3),n._UZ(7,"cvc-assertions-table",6),n.qZA()(),n.BQk()),2&t){const e=o.ngIf,i=n.oxw();n.xp6(1),n.Q6J("nzGutter",n.DdM(9,rt)),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("diseaseInfo",e.myDiseaseInfo),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.MGl("cvcTitle","",e.displayName," Evidence"),n.Q6J("diseaseId",i.diseaseId),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.MGl("cvcTitle","",e.displayName," Assertions"),n.Q6J("diseaseId",i.diseaseId)}}class ${constructor(o,e){this.route=o,this.gql=e,this.routeSub=this.route.params.subscribe(i=>{this.diseaseId=+i.diseaseId,this.queryRef=this.gql.watch({diseaseId:this.diseaseId});let s=this.queryRef.valueChanges;this.loading$=s.pipe((0,sn.j)("loading"),(0,_.O)(!0)),this.disease$=s.pipe((0,sn.j)("data","disease"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}$.\u0275fac=function(o){return new(o||$)(n.Y36(p.gz),n.Y36(m.MNv))},$.\u0275cmp=n.Xpm({type:$,selectors:[["cvc-diseases-summary"]],decls:3,vars:3,consts:[[1,"summary-container"],[4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],[3,"diseaseInfo"],["cvcHeight","400px",3,"diseaseId","cvcTitle"],[3,"diseaseId","cvcTitle"]],template:function(o,e){1&o&&(n.TgZ(0,"div",0),n.YNc(1,lt,8,10,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&o&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,e.disease$)))},dependencies:[r.O5,I.t3,I.SK,Rn.a,Ln.x,F,c.fM],styles:["[_nghost-%COMP%]{display:block}"]});class R{constructor(){}ngOnInit(){}}R.\u0275fac=function(o){return new(o||R)},R.\u0275cmp=n.Xpm({type:R,selectors:[["app-diseases"]],decls:1,vars:0,template:function(o,e){1&o&&n._UZ(0,"router-outlet")},dependencies:[p.lC],encapsulation:2});const gt=[{path:"",component:R,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:w,data:{breadcrumb:"Home"}},{path:":diseaseId",component:M,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:$,data:{breadcrumb:"Summary"}}]}]}];class P{}P.\u0275fac=function(o){return new(o||P)},P.\u0275mod=n.oAB({type:P}),P.\u0275inj=n.cJS({imports:[p.Bz.forChild(gt),p.Bz]});var en=a(4989),cn=a(5630),H=a(9444);class Z{}Z.\u0275fac=function(o){return new(o||Z)},Z.\u0275mod=n.oAB({type:Z}),Z.\u0275inj=n.cJS({imports:[r.ez,p.Bz,c._N,c.pP,h.PV,D.ZJ,d.KJ,B.q6,L.zf,en.X,cn.D,H.s]});var pt=a(9441),dt=a(767),_t=a(897);class S{}S.\u0275fac=function(o){return new(o||S)},S.\u0275mod=n.oAB({type:S}),S.\u0275inj=n.cJS({imports:[r.ez,tn.we,T.HQ,N.vh,B.q6,I.Jb,j.X,D.ZJ,H.s,en.X,_t.$]});class A{}A.\u0275fac=function(o){return new(o||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({imports:[r.ez,c._N,c.pP,I.Jb,B.q6,D.ZJ,dt.Q,pt.s,S]});var ht=a(4125),mt=a(2994),ft=a(8525),ut=a(3111),zt=a(1433),vt=a(9240),Ct=a(8845);class b{}b.\u0275fac=function(o){return new(o||b)},b.\u0275mod=n.oAB({type:b}),b.\u0275inj=n.cJS({imports:[r.ez,c._N,c.pP,W.sL,N.vh,h.PV,h.PV,T.HQ,j.X,an.cg,D.ZJ,H.s,ut.n,zt.c,ht.k,Ct.Q,en.X,mt.y,ft.T,vt.w]});class J{}J.\u0275fac=function(o){return new(o||J)},J.\u0275mod=n.oAB({type:J}),J.\u0275inj=n.cJS({imports:[r.ez,h.PV,d.KJ,I.Jb,W.sL,D.ZJ,L.zf,cn.D,b,H.s]});class E{}E.\u0275fac=function(o){return new(o||E)},E.\u0275mod=n.oAB({type:E}),E.\u0275inj=n.cJS({imports:[r.ez,p.Bz,P,J,Z,A]})}}]); \ No newline at end of file diff --git a/server/public/3577.8c97d3d55e87f3db.js b/server/public/3577.8c97d3d55e87f3db.js new file mode 100644 index 000000000..34205275f --- /dev/null +++ b/server/public/3577.8c97d3d55e87f3db.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3577],{1826:(J,P,e)=>{e.d(P,{x:()=>N});var T,A=e(655),O=e(4632),M=e(313),p=e(1791),g=e(8645),m=e(5619),h=e(5676),C=e(3997),x=e(812),f=e(836),d=e(2181),z=e(7398),D=e(9773),L=e(3620),y=e(2460),c=e(4223),n=e(5879),u=e(6814),I=e(6223),Z=e(855),U=e(2962),R=e(551),E=e(9691),s=e(3740),b=e(5695),S=e(6109),v=e(2392),K=e(270),r=e(6753),W=e(4764),B=e(8516),Q=e(9775),V=e(4770),$=e(3489),F=e(9857),H=e(4997),Y=e(1887),w=e(2606),G=e(8091),j=e(3702),X=e(4010),q=e(6967);function k(o,_){}function nn(o,_){if(1&o&&(n.ynx(0),n.TgZ(1,"nz-card",5),n.YNc(2,k,0,0,"ng-template",6),n.qZA(),n.BQk()),2&o){n.oxw();const t=n.MAs(6),l=n.MAs(8),a=n.MAs(4);n.xp6(1),n.Q6J("nzTitle",t)("nzExtra",l),n.xp6(1),n.Q6J("ngTemplateOutlet",a)}}function tn(o,_){}const en=function(o){return{height:o}};function on(o,_){if(1&o&&(n.TgZ(0,"div",7)(1,"nz-card",8),n.YNc(2,tn,0,0,"ng-template",6),n.qZA()()),2&o){const t=n.oxw(),l=n.MAs(6),a=n.MAs(8),i=n.MAs(4);n.Q6J("ngStyle",n.VKq(4,en,t.cvcHeight)),n.xp6(1),n.Q6J("nzTitle",l)("nzExtra",a),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function _n(o,_){if(1&o&&(n.ynx(0),n._UZ(1,"cvc-disease-tag",76),n.BQk()),2&o){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("disease",t.disease)("truncateLongName",!0)}}function an(o,_){1&o&&(n.TgZ(0,"i"),n._uU(1,"N/A"),n.qZA())}function ln(o,_){if(1&o&&(n.ynx(0),n._UZ(1,"cvc-therapy-tag",78),n.BQk()),2&o){const t=_.$implicit;n.xp6(1),n.Q6J("therapy",t)("truncateLongName",!0)}}function sn(o,_){if(1&o&&(n.TgZ(0,"div")(1,"cvc-tag-list"),n.YNc(2,ln,2,2,"ng-container",77),n.qZA()()),2&o){const t=n.oxw().$implicit;n.xp6(2),n.Q6J("ngForOf",t.therapies)}}function rn(o,_){1&o&&(n.TgZ(0,"i",79),n._uU(1,"N/A"),n.qZA())}function cn(o,_){if(1&o&&(n.ynx(0),n.TgZ(1,"nz-tag",71),n.ALo(2,"therapyInteractionEnumDisplay"),n._UZ(3,"i",80),n.ALo(4,"therapyInteractionEnumDisplay"),n.qZA(),n.BQk()),2&o){const t=n.oxw().$implicit,l=n.oxw(2);n.xp6(1),n.Q6J("nzTooltipTitle",l.isScrolling?"":n.lcZ(2,2,t.therapyInteractionType)),n.xp6(2),n.Q6J("nzType",n.xi3(4,4,t.therapyInteractionType,"icon-name"))}}function pn(o,_){1&o&&(n.ynx(0),n.TgZ(1,"i",79),n._uU(2,"N/A"),n.qZA(),n.BQk())}function gn(o,_){if(1&o&&(n.TgZ(0,"nz-tag",71),n.ALo(1,"formatAmp"),n._uU(2),n.ALo(3,"formatAmp"),n.qZA()),2&o){const t=n.oxw().$implicit,l=n.oxw(2);n.Q6J("nzTooltipTitle",l.isScrolling?"":n.xi3(1,2,t.ampLevel,"verbose")),n.xp6(2),n.hij(" ",n.xi3(3,5,t.ampLevel,"compact")," ")}}function dn(o,_){if(1&o&&(n.TgZ(0,"tr",64)(1,"td",26),n._UZ(2,"cvc-assertion-tag",65),n.qZA(),n.TgZ(3,"td"),n._UZ(4,"cvc-molecular-profile-tag",66),n.qZA(),n.TgZ(5,"td"),n.YNc(6,_n,2,2,"ng-container",0),n.YNc(7,an,2,0,"ng-template",null,67,n.W1O),n.qZA(),n.TgZ(9,"td"),n.YNc(10,sn,3,1,"div",0),n.YNc(11,rn,2,0,"ng-template",null,68,n.W1O),n.qZA(),n.TgZ(13,"td"),n.YNc(14,cn,5,7,"ng-container",69),n.YNc(15,pn,3,0,"ng-container",69),n.qZA(),n.TgZ(16,"td",70)(17,"nz-tag",71),n._UZ(18,"i",72),n.qZA()(),n.TgZ(19,"td",70)(20,"nz-tag",71),n.ALo(21,"evidenceEnumDisplay"),n._UZ(22,"i",73),n.ALo(23,"evidenceEnumDisplay"),n.qZA()(),n.TgZ(24,"td",70)(25,"nz-tag",71),n.ALo(26,"evidenceEnumDisplay"),n._UZ(27,"i",73),n.ALo(28,"evidenceEnumDisplay"),n.qZA()(),n.TgZ(29,"td",70)(30,"nz-tag",71),n.ALo(31,"evidenceEnumDisplay"),n._UZ(32,"i",73),n.ALo(33,"evidenceEnumDisplay"),n.qZA()(),n.TgZ(34,"td",29),n.YNc(35,gn,4,8,"nz-tag",74),n.qZA(),n.TgZ(36,"td",75),n._uU(37),n.qZA()()),2&o){const t=_.$implicit,l=n.MAs(8),a=n.MAs(12),i=n.oxw(2);n.xp6(2),n.Q6J("assertion",t),n.xp6(2),n.Q6J("molecularProfile",t.molecularProfile)("truncateLongName",40),n.xp6(2),n.Q6J("ngIf",t.disease.name)("ngIfElse",l),n.xp6(4),n.Q6J("ngIf",t.therapies.length>0)("ngIfElse",a),n.xp6(4),n.Q6J("ngIf",t.therapyInteractionType),n.xp6(1),n.Q6J("ngIf",!t.therapyInteractionType),n.xp6(2),n.Q6J("nzTooltipTitle",i.isScrolling?"":t.summary),n.xp6(3),n.Q6J("nzTooltipTitle",i.isScrolling?"":n.lcZ(21,18,t.assertionType)),n.xp6(2),n.Q6J("nzType",n.xi3(23,20,t.assertionType,"icon-name")),n.xp6(3),n.Q6J("nzTooltipTitle",i.isScrolling?"":n.lcZ(26,23,t.assertionDirection)),n.xp6(2),n.Q6J("nzType",n.xi3(28,25,t.assertionDirection,"icon-name")),n.xp6(3),n.Q6J("nzTooltipTitle",i.isScrolling?"":n.lcZ(31,28,t.significance)),n.xp6(2),n.Q6J("nzType",n.xi3(33,30,t.significance,"icon-name")),n.xp6(3),n.Q6J("ngIf",t.ampLevel),n.xp6(2),n.hij(" ",t.evidenceItemsCount," ")}}const un=function(){return[]},Tn=function(){return{x:"680px",y:"800px"}},mn=function(){return["descend","ascend",null]};function hn(o,_){if(1&o){const t=n.EpF();n.TgZ(0,"nz-table",9,10),n.NdJ("cvcTableScrollOnScroll",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.scrollEvent$.next(a))}),n.ALo(2,"ngrxPush"),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.ALo(5,"ngrxPush"),n.TgZ(6,"thead",11),n.NdJ("nzSortOrderChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.sortChange$.next(a))}),n.TgZ(7,"tr",12)(8,"th",13),n._uU(9," AID "),n.qZA(),n.TgZ(10,"th",14),n._uU(11," Molecular Profile "),n.qZA(),n.TgZ(12,"th",15),n._uU(13," Disease "),n.qZA(),n.TgZ(14,"th",16),n._uU(15," Therapies "),n.qZA(),n.TgZ(16,"th",17),n._uU(17," IT "),n.qZA(),n.TgZ(18,"th",18),n._uU(19," SUM "),n.qZA(),n.TgZ(20,"th",19),n._uU(21," AT "),n.qZA(),n.TgZ(22,"th",20),n._uU(23," AD "),n.qZA(),n.TgZ(24,"th",21),n._uU(25," S "),n.qZA(),n.TgZ(26,"th",22),n._uU(27," CAT "),n.qZA(),n.TgZ(28,"th",23),n._UZ(29,"i",24),n._uU(30," Count "),n.qZA()(),n.TgZ(31,"tr",25)(32,"th",26)(33,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.aidInput=a)}),n.qZA()(),n.TgZ(34,"th")(35,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.molecularProfileNameInput=a)}),n.qZA()(),n.TgZ(36,"th")(37,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.diseaseNameInput=a)}),n.qZA()(),n.TgZ(38,"th")(39,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.therapyNameInput=a)}),n.qZA()(),n._UZ(40,"th"),n.TgZ(41,"th",28)(42,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.summaryInput=a)}),n.qZA()(),n.TgZ(43,"th",29)(44,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.assertionTypeInput=a)}),n._UZ(45,"nz-option",31)(46,"nz-option",32)(47,"nz-option",33)(48,"nz-option",34)(49,"nz-option",35),n.qZA()(),n.TgZ(50,"th",29)(51,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.assertionDirectionInput=a)}),n._UZ(52,"nz-option",36)(53,"nz-option",37)(54,"nz-option",38),n.qZA()(),n.TgZ(55,"th",29)(56,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.SignificanceInput=a)}),n.TgZ(57,"nz-option-group",39),n._UZ(58,"nz-option",40)(59,"nz-option",41)(60,"nz-option",42)(61,"nz-option",43)(62,"nz-option",38),n.qZA(),n.TgZ(63,"nz-option-group",44),n._UZ(64,"nz-option",45)(65,"nz-option",46)(66,"nz-option",38),n.qZA(),n.TgZ(67,"nz-option-group",47),n._UZ(68,"nz-option",48)(69,"nz-option",49),n.qZA(),n.TgZ(70,"nz-option-group",50),n._UZ(71,"nz-option",51)(72,"nz-option",52)(73,"nz-option",53)(74,"nz-option",54)(75,"nz-option",55),n.qZA(),n.TgZ(76,"nz-option-group",56),n._UZ(77,"nz-option",35)(78,"nz-option",57)(79,"nz-option",53)(80,"nz-option",54)(81,"nz-option",55),n.qZA()()(),n.TgZ(82,"th",29)(83,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.ampLevelInput=a)}),n._UZ(84,"nz-option",58)(85,"nz-option",59)(86,"nz-option",60)(87,"nz-option",61)(88,"nz-option",62),n.qZA()(),n._UZ(89,"th",28),n.qZA()(),n.TgZ(90,"tbody"),n.YNc(91,dn,38,33,"ng-template",63),n.qZA()()}if(2&o){const t=n.oxw();n.Q6J("nzData",n.lcZ(2,48,t.row$)||n.DdM(56,un))("nzLoading",!n.lcZ(3,50,t.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",t.queryRef)("cvcTableScrollPageInfo",n.lcZ(4,52,t.pageInfo$))("cvcTableScrollToIndex",n.lcZ(5,54,t.scrollIndex$))("nzVirtualForTrackBy",t.trackByIndex)("nzScroll",n.DdM(57,Tn))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(8),n.Q6J("nzColumnKey",t.sortColumns.Id)("nzSortFn",!0),n.xp6(4),n.Q6J("nzColumnKey",t.sortColumns.DiseaseName)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.TherapyName)("nzSortFn",!0),n.xp6(4),n.Q6J("nzColumnKey",t.sortColumns.Summary)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.AssertionType)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.AssertionDirection)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.Significance)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.AmpLevel)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.EvidenceItemsCount)("nzSortFn",!0)("nzSortDirections",n.DdM(58,mn)),n.xp6(5),n.Q6J("inputModel",t.aidInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("inputModel",t.molecularProfileNameInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("inputModel",t.diseaseNameInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("inputModel",t.therapyNameInput)("onInputChanged",t.textInputCallback),n.xp6(3),n.Q6J("inputModel",t.summaryInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.assertionTypeInput),n.xp6(7),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.assertionDirectionInput),n.xp6(5),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.SignificanceInput),n.xp6(27),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.ampLevelInput)}}function Cn(o,_){}function zn(o,_){if(1&o&&(n.ynx(0),n.YNc(1,Cn,0,0,"ng-template",6),n.BQk()),2&o){const t=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",t.cvcTitleTemplate)}}function En(o,_){if(1&o&&(n.ynx(0),n._uU(1),n.BQk()),2&o){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.cvcTitle," ")}}function Mn(o,_){if(1&o&&(n.YNc(0,zn,2,1,"ng-container",69),n.YNc(1,En,2,1,"ng-container",69),n.TgZ(2,"span",81),n._UZ(3,"cvc-table-counts",82),n.qZA()),2&o){const t=n.oxw();n.Q6J("ngIf",t.cvcTitleTemplate),n.xp6(1),n.Q6J("ngIf",t.cvcTitle),n.xp6(2),n.Q6J("cvcTableCountsConnection",t.connection$)}}function In(o,_){1&o&&(n.TgZ(0,"nz-tag",85),n._UZ(1,"i",86),n.TgZ(2,"span"),n._uU(3,"Loading\u2026"),n.qZA()())}function vn(o,_){if(1&o&&(n.YNc(0,In,4,0,"nz-tag",83),n.ALo(1,"ngrxPush"),n._UZ(2,"cvc-no-more-rows",84),n.ALo(3,"ngrxPush")),2&o){const t=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,t.moreLoading$)),n.xp6(2),n.Q6J("cvcShowTag",n.lcZ(3,4,t.noMoreRows$))}}let N=((T=class{constructor(_,t){this.gql=_,this.cdr=t,this.isScrolling=!1,this.debouncedQuery=new g.x,this.isLoading=!1,this.initialPageSize=25,this.fetchMorePageSize=25,this.isLoadingDelay=300,this.visibleCount=this.initialPageSize,this.loadedPages=1,this.tableView=!0,this.showTooltips=!0,this.sortColumns=M.u4i,this.destroy$=new g.x,this.noMoreRows$=new m.X(!1),this.scrollEvent$=new m.X("stop"),this.sortChange$=new g.x,this.scrollIndex$=new g.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,variantId:this.variantId,molecularProfileId:this.molecularProfileId,evidenceId:this.evidenceId,organizationId:this.organizationId,userId:this.userId,phenotypeId:this.phenotypeId,diseaseId:this.diseaseId,therapyId:this.therapyId,status:this.status}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,c.j)("loading"),(0,C.x)(),(0,x.o)(_=>!1!==_,!0)),this.moreLoading$=this.result$.pipe((0,c.j)("loading"),(0,C.x)(),(0,f.T)(2)),this.connection$=this.result$.pipe((0,c.j)("data","assertions"),(0,d.h)(h.ep)),this.row$=this.connection$.pipe((0,c.j)("edges"),(0,d.h)(h.ep),(0,z.U)(_=>_.map(t=>t.node))),this.pageInfo$=this.connection$.pipe((0,c.j)("pageInfo"),(0,d.h)(h.ep)),this.sortChange$.pipe((0,p.t)(this)).subscribe(_=>{this.queryRef.refetch({sortBy:(0,O._)(_)})}),this.debouncedQuery.pipe((0,D.R)(this.destroy$),(0,L.b)(500)).subscribe(_=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()},this.scrollEvent$.pipe((0,z.U)(_=>"stop"!==_),(0,C.x)(),(0,p.t)(this)).subscribe(_=>{this.isScrolling=_,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,d.h)(_=>"bottom"===_),(0,y.M)(this.pageInfo$),(0,z.U)(([_,t])=>t),(0,p.t)(this)).subscribe(_=>{_.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}onModelChanged(){this.debouncedQuery.next()}refresh(){var _;this.isLoading=!0,this.loadedPages=1,_=this.aidInput?this.aidInput.toUpperCase().startsWith("AID")?+this.aidInput.toUpperCase().replace("AID",""):+this.aidInput:void 0,this.queryRef.refetch({id:_,diseaseName:this.diseaseNameInput,molecularProfileName:this.molecularProfileNameInput,therapyName:this.therapyNameInput,summary:this.summaryInput,assertionType:this.assertionTypeInput?this.assertionTypeInput:void 0,assertionDirection:this.assertionDirectionInput?this.assertionDirectionInput:void 0,significance:this.SignificanceInput?this.SignificanceInput:void 0,ampLevel:this.ampLevelInput?this.ampLevelInput:void 0})}loadMore(_){this.isLoading=!0,this.queryRef.fetchMore({variables:{after:_}}),this.loadedPages+=1}trackByIndex(_,t){return t?.id}ngOnDestroy(){this.destroy$.next(),this.destroy$.unsubscribe()}}).\u0275fac=function(_){return new(_||T)(n.Y36(M.td),n.Y36(n.sBO))},T.\u0275cmp=n.Xpm({type:T,selectors:[["cvc-assertions-table"]],inputs:{cvcHeight:"cvcHeight",evidenceId:"evidenceId",variantId:"variantId",molecularProfileId:"molecularProfileId",organizationId:"organizationId",userId:"userId",phenotypeId:"phenotypeId",diseaseId:"diseaseId",therapyId:"therapyId",status:"status",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","100px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","320px"],["nzWidth","250px",3,"nzColumnKey","nzSortFn"],["nzWidth","350px",3,"nzColumnKey","nzSortFn"],["nzWidth","40px","nz-tooltip","","nzTooltipTitle","Therapy Interaction Type"],["nzWidth","60px","nzRight","","nz-tooltip","","nzTooltipTitle","Summary",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Assertion Type",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Assertion Direction",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Significance",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","AMP/ASCO/CAP Category",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","onInputChanged","inputModelChange"],["nzRight",""],["nzRight","","nzAlign","center"],["nzAllowClear","","nzSize","small","nzPlaceHolder","All",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","PREDICTIVE","nzLabel","Predictive"],["nzValue","PROGNOSTIC","nzLabel","Prognostic"],["nzValue","DIAGNOSTIC","nzLabel","Diagnostic"],["nzValue","PREDISPOSING","nzLabel","Predisposing"],["nzValue","ONCOGENIC","nzLabel","Oncogenic"],["nzValue","SUPPORTS","nzLabel","Supports"],["nzValue","DOES_NOT_SUPPORT","nzLabel","Does not Support"],["nzValue","NA","nzLabel","N/A"],["nzLabel","Predictive"],["nzValue","SENSITIVITYRESPONSE","nzLabel","Sensitivity/Response"],["nzValue","RESISTANCE","nzLabel","Resistance"],["nzValue","ADVERSE_RESPONSE","nzLabel","Adverse Response"],["nzValue","REDUCED SENSITIVITY","nzLabel","Reduced Sensitivity"],["nzLabel","Prognostic"],["nzValue","BETTER_OUTCOME","nzLabel","Better Outcome"],["nzValue","POOR_OUTCOME","nzLabel","Poor Outcome"],["nzLabel","Diagnostic"],["nzValue","POSITIVE","nzLabel","Positive"],["nzValue","NEGATIVE","nzLabel","Negative"],["nzLabel","Predisposing"],["nzValue","PATHOGENIC","nzLabel","Pathogenic"],["nzValue","LIKELY_PATHOGENIC","nzLabel","Likely Pathogenic"],["nzValue","BENIGN","nzLabel","Benign"],["nzValue","LIKELY_BENIGN","nzLabel","Likely Benign"],["nzValue","UNCERTAIN_SIGNIFICANCE","nzLabel","Uncertain Significance"],["nzLabel","Oncogenic"],["nzValue","LIKELY_ONCOGENIC","nzLabel","Likely Oncogenic"],["nzValue","TIER_I_LEVEL_A","nzLabel","Tier I Level A"],["nzValue","TIER_I_LEVEL_B","nzLabel","Tier I Level B"],["nzValue","TIER_II_LEVEL_C","nzLabel","Tier II Level C"],["nzValue","TIER_II_LEVEL_D","nzLabel","Tier II Level D"],["nzValue","TIER_III","nzLabel","Tier III"],["nz-virtual-scroll",""],[1,"data-row"],[3,"assertion"],[3,"molecularProfile","truncateLongName"],["diseaseElse",""],["therapiesElse",""],[4,"ngIf"],["nzAlign","center","nzRight",""],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left"],["nz-icon","",1,"attribute-icon",3,"nzType"],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle",4,"ngIf"],["nzRight","","nzAlign","right"],[3,"disease","truncateLongName"],[4,"ngFor","ngForOf"],[3,"therapy","truncateLongName"],["nz-typography","","nzType","secondary"],["nz-icon","",1,"attribute-icon",2,"color","#ac3996",3,"nzType"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(_,t){if(1&_&&(n.YNc(0,nn,3,3,"ng-container",0),n.YNc(1,on,3,6,"ng-template",null,1,n.W1O),n.YNc(3,hn,92,59,"ng-template",null,2,n.W1O),n.YNc(5,Mn,4,3,"ng-template",null,3,n.W1O),n.YNc(7,vn,4,6,"ng-template",null,4,n.W1O)),2&_){const l=n.MAs(2);n.Q6J("ngIf",!t.cvcHeight)("ngIfElse",l)}},dependencies:[u.sg,u.O5,u.tP,u.PC,I.JJ,I.On,Z.w,U.bd,R.Ls,E.Ip,E.Vq,E.Yy,s.N8,s.qD,s.Uo,s._C,s.Om,s.p0,s.$Z,s.zu,s.qn,s.UX,b.j,S.SY,v.ZU,K.w,r.D,W.q,B.p,Q.n,V.T,$.H,F.B,H.y,Y.$,w.p,G.fM,j.t,X.F,q.Do],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),T);N=(0,A.gn)([(0,p.c)()],N)},5895:(J,P,e)=>{e.d(P,{s:()=>K});var A=e(6814),O=e(6223),M=e(3396),p=e(1218),g=e(8527),m=e(7856),h=e(9154),C=e(2989),x=e(366),f=e(7950),d=e(6061),z=e(2524),D=e(9175),L=e(4742),y=e(9312),c=e(2840),n=e(2962),u=e(3599),I=e(551),Z=e(824),U=e(9691),R=e(3740),E=e(5695),s=e(6109),b=e(2392),S=e(6165),v=e(5879);let K=(()=>{class r{}return r.\u0275fac=function(B){return new(B||r)},r.\u0275mod=v.oAB({type:r}),r.\u0275inj=v.cJS({imports:[A.ez,O.u5,c.sL,n.vh,u.U5,I.PV,Z.o7,U.LV,R.HQ,E.X,s.cg,b.ZJ,S.W,D.n,L.c,m.k,m.k,M.Q,d.N,p.i,h.y,z.s,C.T,y.w,x.$,f.x,g.u]}),r})()}}]); \ No newline at end of file diff --git a/server/public/3759.35f8c7163e99f7de.js b/server/public/3759.35f8c7163e99f7de.js new file mode 100644 index 000000000..21b3cdbea --- /dev/null +++ b/server/public/3759.35f8c7163e99f7de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3759],{3759:(H,d,o)=>{o.r(d),o.d(d,{MolecularProfilesModule:()=>B});var c=o(6814),l=o(4190),h=o(2419),r=o(6254),i=o(95),p=o(551),m=o(5956),f=o(2392),g=o(2840),s=o(2574),u=o(9333),z=o(7417),M=o(9191),P=o(6610),v=o(2524),e=o(5879);let y=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[c.ez,l.Bz,r.KJ,i.Jb,p.PV,f.ZJ,g.sL,s.zf,z.$6,v.s,h.D,m.U,P.I,u.h,h.D,M.e]}),t})();var x=o(951),C=o(855),O=o(3145),Z=o(3180),T=o(2616);function b(t,a){1&t&&(e.TgZ(0,"a",13),e._UZ(1,"i",14),e._uU(2," View Molecular Profiles Model Docs "),e.qZA())}function A(t,a){1&t&&(e.TgZ(0,"a",15),e._UZ(1,"i",14),e._uU(2," View Molecular Profiles Curation Docs "),e.qZA())}const S=[{path:"",component:(()=>{class t{constructor(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-molecular-profiles"]],decls:1,vars:0,template:function(n,V){1&n&&e._UZ(0,"router-outlet")},dependencies:[l.lC],encapsulation:2}),t})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class t{constructor(n){this.viewerService=n,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(x.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["molecular-profiles-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-molecularprofile",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/molecular_profiles.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/molecular_profiles.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Molecular Profiles"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/molecular_profiles.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/molecular_profiles.html","target","_blank","nzSize","small","nzBlock",""]],template:function(n,V){1&n&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),e._UZ(5,"i",3),e.ALo(6,"entityColor"),e.qZA(),e.TgZ(7,"nz-col",4)(8,"h2"),e._uU(9,"Molecular Profiles"),e.qZA(),e.TgZ(10,"p",5),e._uU(11," CIViC molecular profiles are complex combinations of one or more CIViC variants across one or more genes. Variants are placed in combinations connected by AND or OR, and mutual exclusivity is supported by NOT. These relationships may be further defined by parenthesis. "),e.qZA()(),e.TgZ(12,"nz-col",6)(13,"nz-space",7),e.YNc(14,b,3,0,"a",8),e.YNc(15,A,3,0,"a",9),e.qZA()()(),e.TgZ(16,"nz-row")(17,"nz-col",10)(18,"div",11),e._UZ(19,"cvc-molecular-profiles-table",12),e.qZA()()()()()),2&n&&(e.xp6(5),e.Q6J("nzTwotoneColor",e.lcZ(6,3,"MolecularProfile")),e.xp6(5),e.Q6J("nzEllipsisRows",2),e.xp6(7),e.Q6J("nzSpan",24))},dependencies:[r.$O,r.u5,i.t3,i.SK,p.Ls,f.ZU,g.ix,C.w,s.NU,s.$1,O.I,Z.B,T.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}:[_nghost-%COMP%]{position:relative}.addVariant[_ngcontent-%COMP%]{width:500px}"]}),t})(),data:{breadcrumb:"Home"}},{path:":molecularProfileId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([o.e(4872),o.e(2212),o.e(5556),o.e(2602),o.e(3270),o.e(3577),o.e(7856),o.e(8245),o.e(4503),o.e(8104),o.e(8421),o.e(8026)]).then(o.bind(o,4519)).then(t=>t.MolecularProfilesDetailModule)},{path:"revise",loadChildren:()=>Promise.all([o.e(8592),o.e(2299)]).then(o.bind(o,4897)).then(t=>t.MolecularProfilesReviseModule),data:{breadcrumb:"Revise"}}]}]}];let U=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[l.Bz.forChild(S),y,l.Bz]}),t})(),B=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[c.ez,U]}),t})()}}]); \ No newline at end of file diff --git a/server/public/3883.71e6689a3500da34.js b/server/public/3883.71e6689a3500da34.js deleted file mode 100644 index 59e9884e8..000000000 --- a/server/public/3883.71e6689a3500da34.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[3883],{3756:(J,P,e)=>{e.d(P,{x:()=>N});var T,A=e(655),O=e(3154),M=e(7630),p=e(9933),g=e(7579),m=e(1135),h=e(3240),C=e(1884),x=e(2529),f=e(5684),d=e(9300),z=e(4004),D=e(2722),L=e(8372),y=e(1365),r=e(6579),n=e(4650),u=e(6895),I=e(4006),Z=e(7044),U=e(1971),R=e(1102),E=e(8231),s=e(6675),K=e(6672),S=e(7570),b=e(8823),v=e(2826),c=e(5851),W=e(7451),B=e(2166),Q=e(7491),V=e(5797),$=e(3388),F=e(3667),H=e(9947),Y=e(6715),G=e(5105),w=e(2635),j=e(9657),X=e(4475),q=e(4110);function k(o,_){}function nn(o,_){if(1&o&&(n.ynx(0),n.TgZ(1,"nz-card",5),n.YNc(2,k,0,0,"ng-template",6),n.qZA(),n.BQk()),2&o){n.oxw();const t=n.MAs(6),l=n.MAs(8),a=n.MAs(4);n.xp6(1),n.Q6J("nzTitle",t)("nzExtra",l),n.xp6(1),n.Q6J("ngTemplateOutlet",a)}}function tn(o,_){}const en=function(o){return{height:o}};function on(o,_){if(1&o&&(n.TgZ(0,"div",7)(1,"nz-card",8),n.YNc(2,tn,0,0,"ng-template",6),n.qZA()()),2&o){const t=n.oxw(),l=n.MAs(6),a=n.MAs(8),i=n.MAs(4);n.Q6J("ngStyle",n.VKq(4,en,t.cvcHeight)),n.xp6(1),n.Q6J("nzTitle",l)("nzExtra",a),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function _n(o,_){if(1&o&&(n.ynx(0),n._UZ(1,"cvc-disease-tag",76),n.BQk()),2&o){const t=n.oxw().$implicit;n.xp6(1),n.Q6J("disease",t.disease)("truncateLongName",!0)}}function an(o,_){1&o&&(n.TgZ(0,"i"),n._uU(1,"N/A"),n.qZA())}function ln(o,_){if(1&o&&(n.ynx(0),n._UZ(1,"cvc-therapy-tag",78),n.BQk()),2&o){const t=_.$implicit;n.xp6(1),n.Q6J("therapy",t)("truncateLongName",!0)}}function sn(o,_){if(1&o&&(n.TgZ(0,"div")(1,"cvc-tag-list"),n.YNc(2,ln,2,2,"ng-container",77),n.qZA()()),2&o){const t=n.oxw().$implicit;n.xp6(2),n.Q6J("ngForOf",t.therapies)}}function rn(o,_){1&o&&(n.TgZ(0,"i",79),n._uU(1,"N/A"),n.qZA())}function cn(o,_){if(1&o&&(n.ynx(0),n.TgZ(1,"nz-tag",71),n.ALo(2,"therapyInteractionEnumDisplay"),n._UZ(3,"i",80),n.ALo(4,"therapyInteractionEnumDisplay"),n.qZA(),n.BQk()),2&o){const t=n.oxw().$implicit,l=n.oxw(2);n.xp6(1),n.Q6J("nzTooltipTitle",l.isScrolling?"":n.lcZ(2,2,t.therapyInteractionType)),n.xp6(2),n.Q6J("nzType",n.xi3(4,4,t.therapyInteractionType,"icon-name"))}}function pn(o,_){1&o&&(n.ynx(0),n.TgZ(1,"i",79),n._uU(2,"N/A"),n.qZA(),n.BQk())}function gn(o,_){if(1&o&&(n.TgZ(0,"nz-tag",71),n.ALo(1,"formatAmp"),n._uU(2),n.ALo(3,"formatAmp"),n.qZA()),2&o){const t=n.oxw().$implicit,l=n.oxw(2);n.Q6J("nzTooltipTitle",l.isScrolling?"":n.xi3(1,2,t.ampLevel,"verbose")),n.xp6(2),n.hij(" ",n.xi3(3,5,t.ampLevel,"compact")," ")}}function dn(o,_){if(1&o&&(n.TgZ(0,"tr",64)(1,"td",26),n._UZ(2,"cvc-assertion-tag",65),n.qZA(),n.TgZ(3,"td"),n._UZ(4,"cvc-molecular-profile-tag",66),n.qZA(),n.TgZ(5,"td"),n.YNc(6,_n,2,2,"ng-container",0),n.YNc(7,an,2,0,"ng-template",null,67,n.W1O),n.qZA(),n.TgZ(9,"td"),n.YNc(10,sn,3,1,"div",0),n.YNc(11,rn,2,0,"ng-template",null,68,n.W1O),n.qZA(),n.TgZ(13,"td"),n.YNc(14,cn,5,7,"ng-container",69),n.YNc(15,pn,3,0,"ng-container",69),n.qZA(),n.TgZ(16,"td",70)(17,"nz-tag",71),n._UZ(18,"i",72),n.qZA()(),n.TgZ(19,"td",70)(20,"nz-tag",71),n.ALo(21,"evidenceEnumDisplay"),n._UZ(22,"i",73),n.ALo(23,"evidenceEnumDisplay"),n.qZA()(),n.TgZ(24,"td",70)(25,"nz-tag",71),n.ALo(26,"evidenceEnumDisplay"),n._UZ(27,"i",73),n.ALo(28,"evidenceEnumDisplay"),n.qZA()(),n.TgZ(29,"td",70)(30,"nz-tag",71),n.ALo(31,"evidenceEnumDisplay"),n._UZ(32,"i",73),n.ALo(33,"evidenceEnumDisplay"),n.qZA()(),n.TgZ(34,"td",29),n.YNc(35,gn,4,8,"nz-tag",74),n.qZA(),n.TgZ(36,"td",75),n._uU(37),n.qZA()()),2&o){const t=_.$implicit,l=n.MAs(8),a=n.MAs(12),i=n.oxw(2);n.xp6(2),n.Q6J("assertion",t),n.xp6(2),n.Q6J("molecularProfile",t.molecularProfile)("truncateLongName",40),n.xp6(2),n.Q6J("ngIf",t.disease.name)("ngIfElse",l),n.xp6(4),n.Q6J("ngIf",t.therapies.length>0)("ngIfElse",a),n.xp6(4),n.Q6J("ngIf",t.therapyInteractionType),n.xp6(1),n.Q6J("ngIf",!t.therapyInteractionType),n.xp6(2),n.Q6J("nzTooltipTitle",i.isScrolling?"":t.summary),n.xp6(3),n.Q6J("nzTooltipTitle",i.isScrolling?"":n.lcZ(21,18,t.assertionType)),n.xp6(2),n.Q6J("nzType",n.xi3(23,20,t.assertionType,"icon-name")),n.xp6(3),n.Q6J("nzTooltipTitle",i.isScrolling?"":n.lcZ(26,23,t.assertionDirection)),n.xp6(2),n.Q6J("nzType",n.xi3(28,25,t.assertionDirection,"icon-name")),n.xp6(3),n.Q6J("nzTooltipTitle",i.isScrolling?"":n.lcZ(31,28,t.significance)),n.xp6(2),n.Q6J("nzType",n.xi3(33,30,t.significance,"icon-name")),n.xp6(3),n.Q6J("ngIf",t.ampLevel),n.xp6(2),n.hij(" ",t.evidenceItemsCount," ")}}const un=function(){return[]},Tn=function(){return{x:"680px",y:"800px"}},mn=function(){return["descend","ascend",null]};function hn(o,_){if(1&o){const t=n.EpF();n.TgZ(0,"nz-table",9,10),n.NdJ("cvcTableScrollOnScroll",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.scrollEvent$.next(a))}),n.ALo(2,"ngrxPush"),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.ALo(5,"ngrxPush"),n.TgZ(6,"thead",11),n.NdJ("nzSortOrderChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.sortChange$.next(a))}),n.TgZ(7,"tr",12)(8,"th",13),n._uU(9," AID "),n.qZA(),n.TgZ(10,"th",14),n._uU(11," Molecular Profile "),n.qZA(),n.TgZ(12,"th",15),n._uU(13," Disease "),n.qZA(),n.TgZ(14,"th",16),n._uU(15," Therapies "),n.qZA(),n.TgZ(16,"th",17),n._uU(17," IT "),n.qZA(),n.TgZ(18,"th",18),n._uU(19," SUM "),n.qZA(),n.TgZ(20,"th",19),n._uU(21," AT "),n.qZA(),n.TgZ(22,"th",20),n._uU(23," AD "),n.qZA(),n.TgZ(24,"th",21),n._uU(25," S "),n.qZA(),n.TgZ(26,"th",22),n._uU(27," CAT "),n.qZA(),n.TgZ(28,"th",23),n._UZ(29,"i",24),n._uU(30," Count "),n.qZA()(),n.TgZ(31,"tr",25)(32,"th",26)(33,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.aidInput=a)}),n.qZA()(),n.TgZ(34,"th")(35,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.molecularProfileNameInput=a)}),n.qZA()(),n.TgZ(36,"th")(37,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.diseaseNameInput=a)}),n.qZA()(),n.TgZ(38,"th")(39,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.therapyNameInput=a)}),n.qZA()(),n._UZ(40,"th"),n.TgZ(41,"th",28)(42,"cvc-clearable-input-filter",27),n.NdJ("inputModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.summaryInput=a)}),n.qZA()(),n.TgZ(43,"th",29)(44,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.assertionTypeInput=a)}),n._UZ(45,"nz-option",31)(46,"nz-option",32)(47,"nz-option",33)(48,"nz-option",34)(49,"nz-option",35),n.qZA()(),n.TgZ(50,"th",29)(51,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.assertionDirectionInput=a)}),n._UZ(52,"nz-option",36)(53,"nz-option",37)(54,"nz-option",38),n.qZA()(),n.TgZ(55,"th",29)(56,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.SignificanceInput=a)}),n.TgZ(57,"nz-option-group",39),n._UZ(58,"nz-option",40)(59,"nz-option",41)(60,"nz-option",42)(61,"nz-option",43)(62,"nz-option",38),n.qZA(),n.TgZ(63,"nz-option-group",44),n._UZ(64,"nz-option",45)(65,"nz-option",46)(66,"nz-option",38),n.qZA(),n.TgZ(67,"nz-option-group",47),n._UZ(68,"nz-option",48)(69,"nz-option",49),n.qZA(),n.TgZ(70,"nz-option-group",50),n._UZ(71,"nz-option",51)(72,"nz-option",52)(73,"nz-option",53)(74,"nz-option",54)(75,"nz-option",55),n.qZA(),n.TgZ(76,"nz-option-group",56),n._UZ(77,"nz-option",35)(78,"nz-option",57)(79,"nz-option",53)(80,"nz-option",54)(81,"nz-option",55),n.qZA()()(),n.TgZ(82,"th",29)(83,"nz-select",30),n.NdJ("ngModelChange",function(){n.CHM(t);const a=n.oxw();return n.KtG(a.onModelChanged())})("ngModelChange",function(a){n.CHM(t);const i=n.oxw();return n.KtG(i.ampLevelInput=a)}),n._UZ(84,"nz-option",58)(85,"nz-option",59)(86,"nz-option",60)(87,"nz-option",61)(88,"nz-option",62),n.qZA()(),n._UZ(89,"th",28),n.qZA()(),n.TgZ(90,"tbody"),n.YNc(91,dn,38,33,"ng-template",63),n.qZA()()}if(2&o){const t=n.oxw();n.Q6J("nzData",n.lcZ(2,48,t.row$)||n.DdM(56,un))("nzLoading",!n.lcZ(3,50,t.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",t.queryRef)("cvcTableScrollPageInfo",n.lcZ(4,52,t.pageInfo$))("cvcTableScrollToIndex",n.lcZ(5,54,t.scrollIndex$))("nzVirtualForTrackBy",t.trackByIndex)("nzScroll",n.DdM(57,Tn))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(8),n.Q6J("nzColumnKey",t.sortColumns.Id)("nzSortFn",!0),n.xp6(4),n.Q6J("nzColumnKey",t.sortColumns.DiseaseName)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.TherapyName)("nzSortFn",!0),n.xp6(4),n.Q6J("nzColumnKey",t.sortColumns.Summary)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.AssertionType)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.AssertionDirection)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.Significance)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.AmpLevel)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.EvidenceItemsCount)("nzSortFn",!0)("nzSortDirections",n.DdM(58,mn)),n.xp6(5),n.Q6J("inputModel",t.aidInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("inputModel",t.molecularProfileNameInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("inputModel",t.diseaseNameInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("inputModel",t.therapyNameInput)("onInputChanged",t.textInputCallback),n.xp6(3),n.Q6J("inputModel",t.summaryInput)("onInputChanged",t.textInputCallback),n.xp6(2),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.assertionTypeInput),n.xp6(7),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.assertionDirectionInput),n.xp6(5),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.SignificanceInput),n.xp6(27),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",t.ampLevelInput)}}function Cn(o,_){}function zn(o,_){if(1&o&&(n.ynx(0),n.YNc(1,Cn,0,0,"ng-template",6),n.BQk()),2&o){const t=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",t.cvcTitleTemplate)}}function En(o,_){if(1&o&&(n.ynx(0),n._uU(1),n.BQk()),2&o){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.cvcTitle," ")}}function Mn(o,_){if(1&o&&(n.YNc(0,zn,2,1,"ng-container",69),n.YNc(1,En,2,1,"ng-container",69),n.TgZ(2,"span",81),n._UZ(3,"cvc-table-counts",82),n.qZA()),2&o){const t=n.oxw();n.Q6J("ngIf",t.cvcTitleTemplate),n.xp6(1),n.Q6J("ngIf",t.cvcTitle),n.xp6(2),n.Q6J("cvcTableCountsConnection",t.connection$)}}function In(o,_){1&o&&(n.TgZ(0,"nz-tag",85),n._UZ(1,"i",86),n.TgZ(2,"span"),n._uU(3,"Loading\u2026"),n.qZA()())}function vn(o,_){if(1&o&&(n.YNc(0,In,4,0,"nz-tag",83),n.ALo(1,"ngrxPush"),n._UZ(2,"cvc-no-more-rows",84),n.ALo(3,"ngrxPush")),2&o){const t=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,t.moreLoading$)),n.xp6(2),n.Q6J("cvcShowTag",n.lcZ(3,4,t.noMoreRows$))}}let N=((T=class{constructor(_,t){this.gql=_,this.cdr=t,this.isScrolling=!1,this.debouncedQuery=new g.x,this.isLoading=!1,this.initialPageSize=25,this.fetchMorePageSize=25,this.isLoadingDelay=300,this.visibleCount=this.initialPageSize,this.loadedPages=1,this.tableView=!0,this.showTooltips=!0,this.sortColumns=M.u4i,this.destroy$=new g.x,this.noMoreRows$=new m.X(!1),this.scrollEvent$=new m.X("stop"),this.sortChange$=new g.x,this.scrollIndex$=new g.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,variantId:this.variantId,molecularProfileId:this.molecularProfileId,evidenceId:this.evidenceId,organizationId:this.organizationId,userId:this.userId,phenotypeId:this.phenotypeId,diseaseId:this.diseaseId,therapyId:this.therapyId,status:this.status}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,r.j)("loading"),(0,C.x)(),(0,x.o)(_=>!1!==_,!0)),this.moreLoading$=this.result$.pipe((0,r.j)("loading"),(0,C.x)(),(0,f.T)(2)),this.connection$=this.result$.pipe((0,r.j)("data","assertions"),(0,d.h)(h.ep)),this.row$=this.connection$.pipe((0,r.j)("edges"),(0,d.h)(h.ep),(0,z.U)(_=>_.map(t=>t.node))),this.pageInfo$=this.connection$.pipe((0,r.j)("pageInfo"),(0,d.h)(h.ep)),this.sortChange$.pipe((0,p.t)(this)).subscribe(_=>{this.queryRef.refetch({sortBy:(0,O._)(_)})}),this.debouncedQuery.pipe((0,D.R)(this.destroy$),(0,L.b)(500)).subscribe(_=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()},this.scrollEvent$.pipe((0,z.U)(_=>"stop"!==_),(0,C.x)(),(0,p.t)(this)).subscribe(_=>{this.isScrolling=_,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,d.h)(_=>"bottom"===_),(0,y.M)(this.pageInfo$),(0,z.U)(([_,t])=>t),(0,p.t)(this)).subscribe(_=>{_.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}onModelChanged(){this.debouncedQuery.next()}refresh(){var _;this.isLoading=!0,this.loadedPages=1,_=this.aidInput?this.aidInput.toUpperCase().startsWith("AID")?+this.aidInput.toUpperCase().replace("AID",""):+this.aidInput:void 0,this.queryRef.refetch({id:_,diseaseName:this.diseaseNameInput,molecularProfileName:this.molecularProfileNameInput,therapyName:this.therapyNameInput,summary:this.summaryInput,assertionType:this.assertionTypeInput?this.assertionTypeInput:void 0,assertionDirection:this.assertionDirectionInput?this.assertionDirectionInput:void 0,significance:this.SignificanceInput?this.SignificanceInput:void 0,ampLevel:this.ampLevelInput?this.ampLevelInput:void 0})}loadMore(_){this.isLoading=!0,this.queryRef.fetchMore({variables:{after:_}}),this.loadedPages+=1}trackByIndex(_,t){return t?.id}ngOnDestroy(){this.destroy$.next(),this.destroy$.unsubscribe()}}).\u0275fac=function(_){return new(_||T)(n.Y36(M.td),n.Y36(n.sBO))},T.\u0275cmp=n.Xpm({type:T,selectors:[["cvc-assertions-table"]],inputs:{cvcHeight:"cvcHeight",evidenceId:"evidenceId",variantId:"variantId",molecularProfileId:"molecularProfileId",organizationId:"organizationId",userId:"userId",phenotypeId:"phenotypeId",diseaseId:"diseaseId",therapyId:"therapyId",status:"status",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","100px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","320px"],["nzWidth","250px",3,"nzColumnKey","nzSortFn"],["nzWidth","350px",3,"nzColumnKey","nzSortFn"],["nzWidth","40px","nz-tooltip","","nzTooltipTitle","Therapy Interaction Type"],["nzWidth","60px","nzRight","","nz-tooltip","","nzTooltipTitle","Summary",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Assertion Type",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Assertion Direction",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","Significance",3,"nzColumnKey","nzSortFn"],["nzWidth","60px","nzRight","","nzAlign","center","nz-tooltip","","nzTooltipTitle","AMP/ASCO/CAP Category",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","onInputChanged","inputModelChange"],["nzRight",""],["nzRight","","nzAlign","center"],["nzAllowClear","","nzSize","small","nzPlaceHolder","All",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","PREDICTIVE","nzLabel","Predictive"],["nzValue","PROGNOSTIC","nzLabel","Prognostic"],["nzValue","DIAGNOSTIC","nzLabel","Diagnostic"],["nzValue","PREDISPOSING","nzLabel","Predisposing"],["nzValue","ONCOGENIC","nzLabel","Oncogenic"],["nzValue","SUPPORTS","nzLabel","Supports"],["nzValue","DOES_NOT_SUPPORT","nzLabel","Does not Support"],["nzValue","NA","nzLabel","N/A"],["nzLabel","Predictive"],["nzValue","SENSITIVITYRESPONSE","nzLabel","Sensitivity/Response"],["nzValue","RESISTANCE","nzLabel","Resistance"],["nzValue","ADVERSE_RESPONSE","nzLabel","Adverse Response"],["nzValue","REDUCED SENSITIVITY","nzLabel","Reduced Sensitivity"],["nzLabel","Prognostic"],["nzValue","BETTER_OUTCOME","nzLabel","Better Outcome"],["nzValue","POOR_OUTCOME","nzLabel","Poor Outcome"],["nzLabel","Diagnostic"],["nzValue","POSITIVE","nzLabel","Positive"],["nzValue","NEGATIVE","nzLabel","Negative"],["nzLabel","Predisposing"],["nzValue","PATHOGENIC","nzLabel","Pathogenic"],["nzValue","LIKELY_PATHOGENIC","nzLabel","Likely Pathogenic"],["nzValue","BENIGN","nzLabel","Benign"],["nzValue","LIKELY_BENIGN","nzLabel","Likely Benign"],["nzValue","UNCERTAIN_SIGNIFICANCE","nzLabel","Uncertain Significance"],["nzLabel","Oncogenic"],["nzValue","LIKELY_ONCOGENIC","nzLabel","Likely Oncogenic"],["nzValue","TIER_I_LEVEL_A","nzLabel","Tier I Level A"],["nzValue","TIER_I_LEVEL_B","nzLabel","Tier I Level B"],["nzValue","TIER_II_LEVEL_C","nzLabel","Tier II Level C"],["nzValue","TIER_II_LEVEL_D","nzLabel","Tier II Level D"],["nzValue","TIER_III","nzLabel","Tier III"],["nz-virtual-scroll",""],[1,"data-row"],[3,"assertion"],[3,"molecularProfile","truncateLongName"],["diseaseElse",""],["therapiesElse",""],[4,"ngIf"],["nzAlign","center","nzRight",""],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left"],["nz-icon","",1,"attribute-icon",3,"nzType"],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle",4,"ngIf"],["nzRight","","nzAlign","right"],[3,"disease","truncateLongName"],[4,"ngFor","ngForOf"],[3,"therapy","truncateLongName"],["nz-typography","","nzType","secondary"],["nz-icon","",1,"attribute-icon",2,"color","#ac3996",3,"nzType"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(_,t){if(1&_&&(n.YNc(0,nn,3,3,"ng-container",0),n.YNc(1,on,3,6,"ng-template",null,1,n.W1O),n.YNc(3,hn,92,59,"ng-template",null,2,n.W1O),n.YNc(5,Mn,4,3,"ng-template",null,3,n.W1O),n.YNc(7,vn,4,6,"ng-template",null,4,n.W1O)),2&_){const l=n.MAs(2);n.Q6J("ngIf",!t.cvcHeight)("ngIfElse",l)}},dependencies:[u.sg,u.O5,u.tP,u.PC,I.JJ,I.On,Z.w,U.bd,R.Ls,E.Ip,E.Vq,E.Yy,s.N8,s.qD,s.Uo,s._C,s.Om,s.p0,s.$Z,s.zu,s.qn,s.UX,K.j,S.SY,b.ZU,v.w,c.D,W.q,B.p,Q.n,V.T,$.H,F.B,H.y,Y.$,G.p,w.fM,j.t,X.F,q.Do],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),T);N=(0,A.gn)([(0,p.c)()],N)},9441:(J,P,e)=>{e.d(P,{s:()=>c});var A=e(6895),O=e(4006),M=e(8845),p=e(9460),g=e(4126),m=e(4125),h=e(2994),C=e(8525),x=e(897),f=e(7946),d=e(701),z=e(9444),D=e(3111),L=e(1433),y=e(9240),r=e(2635),n=e(6616),u=e(1971),I=e(6704),Z=e(1102),U=e(5635),R=e(8231),E=e(6675),s=e(6672),K=e(7570),S=e(8823),b=e(8369),v=e(4650);class c{}c.\u0275fac=function(B){return new(B||c)},c.\u0275mod=v.oAB({type:c}),c.\u0275inj=v.cJS({imports:[A.ez,O.u5,r._N,r.pP,n.sL,u.vh,I.U5,Z.PV,U.o7,R.LV,E.HQ,s.X,K.cg,S.ZJ,b.W,D.n,L.c,m.k,m.k,M.Q,d.N,p.i,h.y,z.s,C.T,y.w,x.$,f.x,g.u]})}}]); \ No newline at end of file diff --git a/server/public/3rdpartylicenses.txt b/server/public/3rdpartylicenses.txt index 5bf070e87..c7b5e7a90 100644 --- a/server/public/3rdpartylicenses.txt +++ b/server/public/3rdpartylicenses.txt @@ -112,6 +112,32 @@ SOFTWARE. @apollo/client/utilities/globals +@babel/runtime +MIT +MIT License + +Copyright (c) 2014-present Sebastian McKenzie and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @ctrl/tinycolor MIT Copyright (c) Scott Cooper @@ -128,6 +154,32 @@ MIT @ngrx/component MIT +The MIT License (MIT) + +Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +This repository includes a file "debounceSync.ts" originially copied from +https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the +file header for details. + @ngx-formly/core MIT @@ -717,7 +769,7 @@ zone.js MIT The MIT License -Copyright (c) 2010-2022 Google LLC. https://angular.io/license +Copyright (c) 2010-2023 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/server/public/4024.07ced42d6546c0ef.js b/server/public/4024.07ced42d6546c0ef.js deleted file mode 100644 index c3ff2ed2e..000000000 --- a/server/public/4024.07ced42d6546c0ef.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4024],{9476:(P,d,n)=>{n.d(d,{L:()=>g});var t=n(6895),c=n(9116),m=n(6672),p=n(1102),v=n(3679),l=n(4989),T=n(9194),h=n(1971),O=n(2635),u=n(5473),r=n(4650);class s{}s.\u0275fac=function(C){return new(C||s)},s.\u0275mod=r.oAB({type:s}),s.\u0275inj=r.cJS({imports:[t.ez,O._N,O.pP,h.vh,v.Jb,T.q6,l.X,u.H]});var o=n(6581);class g{}g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=r.oAB({type:g}),g.\u0275inj=r.cJS({imports:[t.ez,c.Bz,m.X,p.PV,o.$6,s]})},3220:(P,d,n)=>{n.d(d,{l:()=>s});var t=n(4650),c=n(6895),m=n(6672),p=n(6581),v=n(6715);const l=function(o){return{"matched-tag":o}};function T(o,g){if(1&o&&(t.TgZ(0,"span",2)(1,"nz-tag"),t._uU(2),t.qZA()()),2&o){const _=g.$implicit,C=t.oxw();t.Q6J("ngClass",t.VKq(2,l,C.matchingText&&_.toLowerCase().includes(C.matchingText))),t.xp6(2),t.Oqu(_)}}function h(o,g){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const _=t.oxw(2);t.xp6(1),t.hij(" ",_.matchedHiddenCount," of ")}}function O(o,g){if(1&o&&(t.TgZ(0,"nz-tag",5),t._uU(1," +"),t.YNc(2,h,2,1,"span",6),t._uU(3),t.qZA()),2&o){const _=t.oxw(),C=t.MAs(5);t.Q6J("nzPopoverMouseEnterDelay",0)("nzPopoverContent",C),t.xp6(2),t.Q6J("ngIf",_.matchedHiddenCount>0),t.xp6(1),t.hij("",_.hiddenCount," ")}}function u(o,g){if(1&o&&(t.TgZ(0,"div",2)(1,"nz-tag"),t._uU(2),t.qZA()()),2&o){const _=g.$implicit,C=t.oxw(2);t.Q6J("ngClass",t.VKq(2,l,C.matchingText&&_.toLowerCase().includes(C.matchingText))),t.xp6(2),t.Oqu(_)}}function r(o,g){if(1&o&&(t.TgZ(0,"div",7)(1,"cvc-tag-list",0),t.YNc(2,u,3,4,"div",1),t.qZA()()),2&o){const _=t.oxw();t.xp6(2),t.Q6J("ngForOf",_.hiddenTags)}}class s{constructor(g){this.cdr=g,this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnChanges(g){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.hiddenTags){let g=this.matchingText.toLowerCase();this.hiddenTags.forEach(_=>{_.toLowerCase().includes(g)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0}}s.\u0275fac=function(g){return new(g||s)(t.Y36(t.sBO))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-plain-tag-overflow"]],inputs:{tags:"tags",matchingText:"matchingText",maxDisplayCount:"maxDisplayCount"},features:[t.TTD],decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"]],template:function(g,_){1&g&&(t.TgZ(0,"cvc-tag-list",0),t.YNc(1,T,3,4,"span",1),t.TgZ(2,"span",2),t.YNc(3,O,4,4,"nz-tag",3),t.qZA(),t.YNc(4,r,3,1,"ng-template",null,4,t.W1O),t.qZA()),2&g&&(t.xp6(1),t.Q6J("ngForOf",_.displayedTags),t.xp6(1),t.Q6J("ngClass",t.VKq(3,l,_.matchedHiddenCount>0)),t.xp6(1),t.Q6J("ngIf",_.hiddenCount&&_.hiddenCount>0))},dependencies:[c.mk,c.sg,c.O5,m.j,p.lU,v.$],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0})},3650:(P,d,n)=>{n.d(d,{T:()=>l});var t=n(6895),c=n(897),m=n(6672),p=n(6581),v=n(4650);class l{}l.\u0275fac=function(h){return new(h||l)},l.\u0275mod=v.oAB({type:l}),l.\u0275inj=v.cJS({imports:[t.ez,m.X,p.$6,c.$]})},392:(P,d,n)=>{n.d(d,{T:()=>x});var t=n(4650),c=n(6895),m=n(6672),p=n(6581),v=n(6715),l=n(5797),T=n(7491),h=n(5749),O=n(3965),u=n(5457),r=n(7701);const s=function(a){return{"matched-tag":a}},o=function(a,i){return{tagType:a,tag:i}};function g(a,i){if(1&a&&(t.TgZ(0,"div",2),t.GkF(1,6),t.qZA()),2&a){const e=i.$implicit,f=t.oxw(),E=t.MAs(7);t.Q6J("ngClass",t.VKq(3,s,f.matchingText&&e.name.toLowerCase().includes(f.matchingText))),t.xp6(1),t.Q6J("ngTemplateOutlet",E)("ngTemplateOutletContext",t.WLB(5,o,f.tagType,e))}}function _(a,i){if(1&a&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&a){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.matchedHiddenCount," of ")}}function C(a,i){if(1&a&&(t.TgZ(0,"nz-tag",7),t._uU(1," +"),t.YNc(2,_,2,1,"span",8),t._uU(3),t.qZA()),2&a){const e=t.oxw(),f=t.MAs(5);t.Q6J("nzPopoverContent",f),t.xp6(2),t.Q6J("ngIf",e.matchedHiddenCount>0),t.xp6(1),t.hij("",e.hiddenCount," ")}}function M(a,i){if(1&a&&(t.TgZ(0,"div",2),t.ynx(1,10),t.GkF(2,6),t.BQk(),t.qZA()),2&a){const e=i.$implicit,f=t.oxw(2),E=t.MAs(7);t.Q6J("ngClass",t.VKq(4,s,f.matchingText&&e.name.toLowerCase().includes(f.matchingText))),t.xp6(1),t.Q6J("ngSwitch",f.tagType),t.xp6(1),t.Q6J("ngTemplateOutlet",E)("ngTemplateOutletContext",t.WLB(6,o,f.tagType,e))}}function D(a,i){if(1&a&&(t.TgZ(0,"div",9)(1,"cvc-tag-list",0),t.YNc(2,M,3,9,"div",1),t.qZA()()),2&a){const e=t.oxw();t.xp6(2),t.Q6J("ngForOf",e.hiddenTags)}}function y(a,i){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-therapy-tag",12),t.BQk()),2&a){const e=t.oxw().tag;t.xp6(1),t.Q6J("therapy",e)("truncateLongName",!0)}}function z(a,i){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-disease-tag",13),t.BQk()),2&a){const e=t.oxw().tag;t.xp6(1),t.Q6J("disease",e)("truncateLongName",!0)}}function A(a,i){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-gene-tag",14),t.BQk()),2&a){const e=t.oxw().tag;t.xp6(1),t.Q6J("gene",e)("truncateLongName",!0)}}function B(a,i){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-organization-tag",15),t.BQk()),2&a){const e=t.oxw().tag;t.xp6(1),t.Q6J("org",e)}}function L(a,i){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-variant-tag",16),t.BQk()),2&a){const e=t.oxw().tag;t.xp6(1),t.Q6J("variant",e)}}function U(a,i){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-variant-type-tag",17),t.BQk()),2&a){const e=t.oxw().tag;t.xp6(1),t.Q6J("variantType",e)}}function I(a,i){1&a&&(t.ynx(0,10),t.YNc(1,y,2,2,"ng-container",11),t.YNc(2,z,2,2,"ng-container",11),t.YNc(3,A,2,2,"ng-container",11),t.YNc(4,B,2,1,"ng-container",11),t.YNc(5,L,2,1,"ng-container",11),t.YNc(6,U,2,1,"ng-container",11),t.BQk()),2&a&&(t.Q6J("ngSwitch",i.tagType),t.xp6(1),t.Q6J("ngSwitchCase","therapy"),t.xp6(1),t.Q6J("ngSwitchCase","disease"),t.xp6(1),t.Q6J("ngSwitchCase","gene"),t.xp6(1),t.Q6J("ngSwitchCase","organization"),t.xp6(1),t.Q6J("ngSwitchCase","variant"),t.xp6(1),t.Q6J("ngSwitchCase","variant-type"))}class x{constructor(i){this.cdr=i,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(i){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let i=this.matchingText.toLowerCase();this.hiddenTags.forEach(e=>{e.name.toLowerCase().includes(i)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}x.\u0275fac=function(i){return new(i||x)(t.Y36(t.sBO))},x.\u0275cmp=t.Xpm({type:x,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[t.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(i,e){1&i&&(t.TgZ(0,"cvc-tag-list",0),t.YNc(1,g,2,8,"div",1),t.TgZ(2,"div",2),t.YNc(3,C,4,3,"nz-tag",3),t.qZA(),t.YNc(4,D,3,1,"ng-template",null,4,t.W1O),t.qZA(),t.YNc(6,I,7,7,"ng-template",null,5,t.W1O)),2&i&&(t.xp6(1),t.Q6J("ngForOf",e.displayedTags),t.xp6(1),t.Q6J("ngClass",t.VKq(3,s,e.matchedHiddenCount>0)),t.xp6(1),t.Q6J("ngIf",e.hiddenCount&&e.hiddenCount>0))},dependencies:[c.mk,c.sg,c.O5,c.tP,c.RF,c.n9,m.j,p.lU,v.$,l.T,T.n,h.m,O.H,u.I,r.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0})},7946:(P,d,n)=>{n.d(d,{x:()=>s});var t=n(6895),c=n(897),m=n(6672),p=n(6581),v=n(8845),l=n(9476),T=n(1229),h=n(7043),O=n(701),u=n(8645),r=n(4650);class s{}s.\u0275fac=function(g){return new(g||s)},s.\u0275mod=r.oAB({type:s}),s.\u0275inj=r.cJS({imports:[t.ez,m.X,p.$6,c.$,O.N,v.Q,l.L,T.U,h.Q,u.M]})},8645:(P,d,n)=>{n.d(d,{M:()=>o});var t=n(6895),c=n(9116),m=n(6672),p=n(1971),v=n(4989),l=n(9194),T=n(2635),h=n(1102),O=n(9444),u=n(4650);class r{}r.\u0275fac=function(_){return new(_||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[t.ez,T._N,T.pP,h.PV,p.vh,l.q6,O.s,v.X]});var s=n(6581);class o{}o.\u0275fac=function(_){return new(_||o)},o.\u0275mod=u.oAB({type:o}),o.\u0275inj=u.cJS({imports:[t.ez,c.Bz,h.PV,m.X,s.$6,r]})},567:(P,d,n)=>{n.d(d,{F:()=>c});var t=n(4650);class c{transform(p,v){return p.map(l=>l[v])}}c.\u0275fac=function(p){return new(p||c)},c.\u0275pipe=t.Yjl({name:"pluck",type:c,pure:!0})}}]); \ No newline at end of file diff --git a/server/public/4038.8dc8445aa4f19fdd.js b/server/public/4038.8dc8445aa4f19fdd.js deleted file mode 100644 index 7195f9452..000000000 --- a/server/public/4038.8dc8445aa4f19fdd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4038],{4038:(B,w,o)=>{o.r(w),o.d(w,{PagesModule:()=>z});var m=o(6895),_=o(9116),e=o(4650),d=o(5655),g=o(3679),C=o(1971),p=o(6675);function T(r,i){if(1&r&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA()()),2&r){const c=i.$implicit;e.xp6(2),e.Oqu(c.awardee),e.xp6(2),e.Oqu(c.org),e.xp6(2),e.Oqu(c.award)}}const I=function(){return[8,12]};class h{constructor(){this.funding=[{awardee:"Malachi Griffith",org:"National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH)",award:"R00HG007940"},{awardee:"Obi Lee Griffith",org:"National Cancer Institute (NCI) of NIH",award:"K22CA188163"},{awardee:"Obi Lee Griffith (with Malachi Griffith as co-PI)",org:"NCI including a funding supplement from the Childhood Cancer Data Initiative (CCDI)",award:"U24CA237719 (previously: U01CA209936)"},{awardee:"CIViC",org:"Washington University Institute of Clinical and Translational Sciences from National Center for Advancing Translational Sciences (NCATS) of NIH",award:"UL1TR002345"},{awardee:"CIViC",org:"Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine.",award:""},{awardee:"CIViC (awarded in cloud credits)",org:"NIH Cloud Credits Model Pilot of the NIH Big Data to Knowledge (BD2K) program",award:""},{awardee:"CIViC (integration with Google BigQuery)",org:"Google",award:""}]}ngOnInit(){}}h.\u0275fac=function(i){return new(i||h)},h.\u0275cmp=e.Xpm({type:h,selectors:[["cvc-pages-about"]],decls:49,vars:7,consts:[[1,"site-page-header"],[3,"nzGutter"],[3,"nzSpan"],["nzType","inner","nzTitle","Why Use CIViC - Our Elevator Pitch",2,"width","100%"],["nzXs","24","nzSm","24","nzMd","24","nzLg","12","nzXl","12","nzXXl","8"],["nzType","inner","nzTitle","Mission Statement",2,"width","100%"],["href","https://www.civicdb.org","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["src","assets/images/CIViC_principles__shorter.png","alt","CIViC principles",2,"width","100%"],["nzType","inner","nzTitle","Funding",2,"width","100%"],[3,"nzData","nzFrontPagination","nzShowPagination"],["basicTable",""],[4,"ngFor","ngForOf"],["nzXs","24","nzSm","24","nzMd","24","nzXXl","8"],["nzType","inner","nzTitle","Acknowledgements",2,"width","100%"],["src","assets/images/nih-nci-logo.png","alt","NHI - National Cancer Institute",2,"height","50px","margin","12px"],["src","assets/images/icts-logo.png","alt","Washington University - Institute for Clinical and Translational Sciences",2,"height","50px","margin","12px"],["src","assets/images/ga4gh-logo.png","alt","Global Alliance for Genomics & Health",2,"height","50px","margin","12px"],["src","assets/images/GCBR-Logo-RGB.png","alt","Global Code Biodata Resources",2,"height","50px","margin","12px"],["src","assets/images/nih-nhgri-logo.png","alt","NHI - National Human Genome Research Institute",2,"height","50px","margin","12px"],["src","assets/images/wustl-logo.png","alt","Washington University in St. Louis",2,"height","50px","margin","12px"],["src","assets/images/cdi-logo.jpeg","alt","Washington University - Children's Discovery Institute",2,"height","50px","margin","12px"]],template:function(i,c){if(1&i&&(e.TgZ(0,"nz-page-header",0)(1,"nz-page-header-title"),e._uU(2," About CIViC "),e.qZA(),e.TgZ(3,"nz-page-header-content")(4,"nz-row",1)(5,"nz-col",2)(6,"nz-card",3),e._uU(7," We developed a free, expert-curated web resource that helps doctors identify the best treatment options for cancer patients based on their unique tumor DNA. Cancer is driven by DNA mutations. Using these mutations to guide patient care requires experts to actively review and summarize the latest scientific advances. Our easily searchable resource coordinates these efforts. The free and open design of our database shares expert cancer mutation knowledge with everyone. "),e.qZA()(),e.TgZ(8,"nz-col",4)(9,"nz-card",5)(10,"p"),e._uU(11," Precision medicine refers to the use of prevention and treatment strategies that are tailored to the unique features of each individual and their disease. In the context of cancer this might involve the identification of specific variants shown to predict response to a targeted therapy. The biomedical literature describing associations between genetic variants and clinically relevant outcomes is large and growing rapidly. Currently variant interpretations exist largely in private or encumbered databases resulting in extensive repetition of effort. Effective precision medicine requires this information to be centralized, debated, and interpreted for application in a clinical setting. CIViC is an open access, open source, community-driven web resource for Clinical Interpretation of Variants in Cancer, available online at "),e.TgZ(12,"a",6),e._uU(13,"civicdb.org"),e.qZA(),e._uU(14,". Our goal is to enable precision medicine by providing an educational forum for dissemination of knowledge and active discussion of the clinical significance of cancer genome alterations. For more details and to cite CIViC please refer to the "),e.TgZ(15,"a",7),e._uU(16,"CIViC publication"),e.qZA(),e._uU(17," in Nature Genetics. "),e.qZA(),e.TgZ(18,"p"),e._uU(19," All content created in CIViC is, and will continue to be, freely available, without restriction with a "),e.TgZ(20,"a",8),e._uU(21,"Public Domain License"),e.qZA(),e._uU(22,". Anyone can contribute to CIViC by simply registering for an account. Users join the community with \u201cCurator\u201d level privileges that allow them to comment or propose additions or revisions on any knowledge in CIViC. Proposed additions and revisions are then reviewed by users with \u201cEditor\u201d or \u201cAdmin\u201d level privileges before gaining \u201cAccepted\u201d status. Content that has been Submitted but not yet Accepted should be interpreted and used with caution. Community Curators work together with Editors towards comprehensive and accurate interpretations of the clinical relevance of variants in cancer. "),e.qZA(),e._UZ(23,"img",9),e.qZA()(),e.TgZ(24,"nz-col",4)(25,"nz-card",10)(26,"p"),e._uU(27," Malachi Griffith was supported by the National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH) under Award Number R00HG007940. Obi Lee Griffith was supported by the National Cancer Institute of the NIH under Award Number K22CA188163. The CIViC project is also supported by the NCI under Award Numbers U24CA237719 to Obi Lee Griffith (with Malachi Griffith as co-PI), including a funding supplement from the Childhood Cancer Data Initiative (CCDI), and previously U01CA209936 (with Malachi Griffith and Elaine R Mardis as co-PIs). CIViC is also supported by the Washington University Institute of Clinical and Translational Sciences grant UL1TR002345 from the National Center for Advancing Translational Sciences (NCATS) of the National Institutes of Health (NIH). CIViC is also supported by Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine. This research benefited from the use of credits from the National Institutes of Health (NIH) Cloud Credits Model Pilot, a component of the NIH Big Data to Knowledge (BD2K) program. Support for the VCF format and integration with Google BigQuery was funded by Google. The content of this website is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health or other funding sources. "),e.qZA(),e.TgZ(28,"nz-table",11,12)(30,"thead")(31,"tr")(32,"th"),e._uU(33,"Awardee"),e.qZA(),e.TgZ(34,"th"),e._uU(35,"Awarding Organization"),e.qZA(),e.TgZ(36,"th"),e._uU(37,"Award Number"),e.qZA()()(),e.TgZ(38,"tbody"),e.YNc(39,T,7,3,"tr",13),e.qZA()()()(),e.TgZ(40,"nz-col",14)(41,"nz-card",15),e._UZ(42,"img",16)(43,"img",17)(44,"img",18)(45,"img",19)(46,"img",20)(47,"img",21)(48,"img",22),e.qZA()()()()()),2&i){const A=e.MAs(29);e.xp6(4),e.Q6J("nzGutter",e.DdM(6,I)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(23),e.Q6J("nzData",c.funding)("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(11),e.Q6J("ngForOf",A.data)}},dependencies:[m.sg,d.$O,d.u9,d.u5,g.t3,g.SK,C.bd,p.N8,p.Uo,p._C,p.Om,p.p0,p.$Z],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var P=o(6903);function M(r,i){1&r&&(e.TgZ(0,"nz-row",5)(1,"nz-col",1)(2,"nz-card",6)(3,"p"),e._uU(4," CIViC provides an educational resource to support better understanding of the current state of precision medicine. It may also provide useful summaries and links to relevant published evidence for the clinical relevance of specific variants. "),e.qZA(),e.TgZ(5,"p"),e._uU(6," For more information on the CIViC knowledge model, please see "),e.TgZ(7,"a",7),e._uU(8,"our documentation"),e.qZA(),e._uU(9,". "),e.qZA()()(),e.TgZ(10,"nz-col",1)(11,"nz-card",8)(12,"p"),e._uU(13," CIViC provides an open forum for community contributions. Anyone can create an account to flag problems, add comments, propose revisions to existing content, or submit new evidence, assertions, or summaries. All proposed additions/revisions enter a pending state until considered for acceptance by a CIViC editor. All content contributed and accepted is immediately considered public domain knowledge. "),e.qZA(),e.TgZ(14,"p"),e._uU(15," For more details on how to contribute please read our "),e.TgZ(16,"a",9),e._uU(17,"curating docs"),e.qZA(),e._uU(18,". "),e.qZA()()(),e.TgZ(19,"nz-col",1)(20,"nz-card",10)(21,"p"),e._uU(22," CIViC data can be retrieved using the underlying GraphQL API. The API documentation is available on "),e.TgZ(23,"a",11),e._uU(24,"GitHub"),e.qZA(),e._uU(25,". "),e.qZA(),e.TgZ(26,"p"),e._uU(27," The GraphiQL user interface found "),e.TgZ(28,"a",12),e._uU(29,"here"),e.qZA(),e._uU(30,' is a good way to get started interacting with the API. You can explore the schema and available queries using the "Docs" explorer found in the upper right. '),e.qZA()()(),e.TgZ(31,"nz-col",1)(32,"nz-card",13)(33,"p"),e._uU(34," We've recorded a few instructional videos to offer overviews of the CIViC application. They are recommended viewing for users wishing to gain a quick understanding of basic CIViC interface elements and workflows. "),e.qZA(),e.TgZ(35,"p"),e._uU(36," These videos can be found on the "),e.TgZ(37,"a",14),e._uU(38,"CIViC YouTube channel"),e.qZA(),e._uU(39,". "),e.qZA()()()()),2&r&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(12),e.Q6J("nzSpan",6))}function H(r,i){1&r&&(e.TgZ(0,"nz-row",5)(1,"nz-col",1)(2,"nz-card",15),e._uU(3," Please follow our Twitter account "),e.TgZ(4,"a",16),e._uU(5,"@CIViCdb"),e.qZA(),e._uU(6,". "),e.qZA()(),e.TgZ(7,"nz-col",1)(8,"nz-card",17),e._uU(9," Please email "),e.TgZ(10,"a",18),e._uU(11,"help@civicdb.org"),e.qZA(),e._uU(12,". "),e.qZA()(),e.TgZ(13,"nz-col",1)(14,"nz-card",19),e._uU(15," Please create an issue in the "),e.TgZ(16,"a",20),e._uU(17,"civic-v2 GitHub repo"),e.qZA(),e._uU(18,". "),e.qZA()()()),2&r&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8))}class v{constructor(){}ngOnInit(){}}v.\u0275fac=function(i){return new(i||v)},v.\u0275cmp=e.Xpm({type:v,selectors:[["cvc-pages-help"]],decls:10,vars:1,consts:[[1,"site-page-header"],[3,"nzSpan"],[1,"content",2,"min-height","600px"],["nzDirection","vertical",2,"width","100%"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzType","inner","nzTitle","Knowledgebase Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/model.html","target","_blank"],["nzType","inner","nzTitle","Curation Process Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/curating.html","target","_blank"],["nzType","inner","nzTitle","API Documentation",2,"width","100%","height","100%"],["href","https://griffithlab.github.io/civic-v2/","target","_blank"],["href","https://civicdb.org/api/graphiql","target","_blank"],["nzType","inner","nzTitle","Tutorials",2,"width","100%","height","100%"],["href","https://www.youtube.com/playlist?list=PLImz36orVFPCQjx6wjMrYW-IPWGk8HrbX","target","_blank"],["nzType","inner","nzTitle","News and Updates",2,"width","100%"],["href","https://twitter.com/CIViCdb","target","_blank"],["nzType","inner","nzTitle","General Inquiries",2,"width","100%"],["href","mailto:help@civicdb.org","target","_blank"],["nzType","inner","nzTitle","Bug Reports and Feature Requests",2,"width","100%"],["href","https://github.com/griffithlab/civic-v2/issues","target","_blank"]],template:function(i,c){1&i&&(e.TgZ(0,"nz-page-header",0)(1,"nz-page-header-title"),e._uU(2," CIViC Help "),e.qZA(),e.TgZ(3,"nz-page-header-content")(4,"nz-row")(5,"nz-col",1)(6,"div",2)(7,"nz-space",3),e.YNc(8,M,40,5,"nz-row",4),e.YNc(9,H,19,4,"nz-row",4),e.qZA()()()()()()),2&i&&(e.xp6(5),e.Q6J("nzSpan",24))},dependencies:[d.$O,d.u9,d.u5,g.t3,g.SK,P.NU,P.$1,C.bd],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class b{constructor(){}ngOnInit(){}}b.\u0275fac=function(i){return new(i||b)},b.\u0275cmp=e.Xpm({type:b,selectors:[["cvc-pages"]],decls:1,vars:0,template:function(i,c){1&i&&e._UZ(0,"router-outlet")},dependencies:[_.lC],encapsulation:2});const N=[{path:"",component:b,children:[{path:"about",component:h},{path:"help",component:v}]}];class l{}l.\u0275fac=function(i){return new(i||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[_.Bz.forChild(N),_.Bz]});class u{}u.\u0275fac=function(i){return new(i||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[m.ez,d.KJ,g.Jb,P.zf,C.vh,p.HQ]});var D=o(5635);class f{}f.\u0275fac=function(i){return new(i||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[m.ez,D.o7,d.KJ,g.Jb,P.zf,C.vh]});class z{}z.\u0275fac=function(i){return new(i||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[m.ez,l,u,f]})},5655:(B,w,o)=>{o.d(w,{$O:()=>k,Jp:()=>Z,KJ:()=>F,ZJ:()=>O,u5:()=>A,u9:()=>i,yG:()=>c});var m=o(445),_=o(6895),e=o(4650),d=o(6287),g=o(1102),C=o(655),p=o(7579),T=o(2722),I=o(4004),h=o(2536),P=o(1355),M=o(1519);function H(t,a){if(1&t&&(e.ynx(0),e._UZ(1,"span",9),e.BQk()),2&t){const n=a.$implicit,s=e.oxw(2);e.xp6(1),e.Q6J("nzType",n||s.getBackIcon())}}function v(t,a){if(1&t){const n=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(n);const y=e.oxw();return e.KtG(y.onBack())}),e.TgZ(1,"div",7),e.YNc(2,H,2,1,"ng-container",8),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(2),e.Q6J("nzStringTemplateOutlet",n.nzBackIcon)}}function b(t,a){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.nzTitle)}}function N(t,a){if(1&t&&(e.TgZ(0,"span",10),e.YNc(1,b,2,1,"ng-container",8),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.nzTitle)}}function l(t,a){1&t&&e.Hsn(0,6,["*ngIf","!nzTitle"])}function u(t,a){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.nzSubtitle)}}function D(t,a){if(1&t&&(e.TgZ(0,"span",11),e.YNc(1,u,2,1,"ng-container",8),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.nzSubtitle)}}function f(t,a){1&t&&e.Hsn(0,7,["*ngIf","!nzSubtitle"])}const z=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],r=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"];let i=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),t})(),c=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),t})(),A=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-content"],["","nz-page-header-content",""]],hostAttrs:[1,"ant-page-header-content"],exportAs:["nzPageHeaderContent"]}),t})(),O=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-tags"],["","nz-page-header-tags",""]],hostAttrs:[1,"ant-page-header-heading-tags"],exportAs:["nzPageHeaderTags"]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),t})(),S=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),t})(),k=(()=>{class t{constructor(n,s,y,x,R,q){this.location=n,this.nzConfigService=s,this.elementRef=y,this.nzResizeObserver=x,this.cdr=R,this.directionality=q,this._nzModuleName="pageHeader",this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new e.vpe,this.compact=!1,this.destroy$=new p.x,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe((0,T.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,I.U)(([n])=>n.contentRect.width),(0,T.R)(this.destroy$)).subscribe(n=>{this.compact=n<768,this.cdr.markForCheck()})}onBack(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(`${P.Bq} you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!`);this.location.back()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getBackIcon(){return"rtl"===this.dir?"arrow-right":"arrow-left"}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(_.Ye,8),e.Y36(h.jY),e.Y36(e.SBq),e.Y36(M.D3),e.Y36(e.sBO),e.Y36(m.Is,8))},t.\u0275cmp=e.Xpm({type:t,selectors:[["nz-page-header"]],contentQueries:function(n,s,y){if(1&n&&(e.Suo(y,U,5),e.Suo(y,S,5)),2&n){let x;e.iGM(x=e.CRH())&&(s.nzPageHeaderFooter=x.first),e.iGM(x=e.CRH())&&(s.nzPageHeaderBreadcrumb=x.first)}},hostAttrs:[1,"ant-page-header"],hostVars:10,hostBindings:function(n,s){2&n&&e.ekj("has-footer",s.nzPageHeaderFooter)("ant-page-header-ghost",s.nzGhost)("has-breadcrumb",s.nzPageHeaderBreadcrumb)("ant-page-header-compact",s.compact)("ant-page-header-rtl","rtl"===s.dir)},inputs:{nzBackIcon:"nzBackIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzGhost:"nzGhost"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:r,decls:13,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(n,s){1&n&&(e.F$t(z),e.Hsn(0),e.TgZ(1,"div",0)(2,"div",1),e.YNc(3,v,3,1,"div",2),e.Hsn(4,1),e.YNc(5,N,2,1,"span",3),e.YNc(6,l,1,0,"ng-content",4),e.YNc(7,D,2,1,"span",5),e.YNc(8,f,1,0,"ng-content",4),e.Hsn(9,2),e.qZA(),e.Hsn(10,3),e.qZA(),e.Hsn(11,4),e.Hsn(12,5)),2&n&&(e.xp6(3),e.Q6J("ngIf",null!==s.nzBackIcon),e.xp6(2),e.Q6J("ngIf",s.nzTitle),e.xp6(1),e.Q6J("ngIf",!s.nzTitle),e.xp6(1),e.Q6J("ngIf",s.nzSubtitle),e.xp6(1),e.Q6J("ngIf",!s.nzSubtitle))},dependencies:[_.O5,d.f,g.Ls],encapsulation:2,changeDetection:0}),(0,C.gn)([(0,h.oS)()],t.prototype,"nzGhost",void 0),t})(),F=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[m.vT,_.ez,d.T,g.PV]}),t})()}}]); \ No newline at end of file diff --git a/server/public/404.5e5af8aef5281309.js b/server/public/404.5e5af8aef5281309.js deleted file mode 100644 index 202955574..000000000 --- a/server/public/404.5e5af8aef5281309.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[404],{3612:(J,M,e)=>{function f(g,n){const E=(t,u)=>{let v;for(let z of t)if(z.fieldGroup)v=E(z.fieldGroup,u);else if(z.key===u){v=z;break}return v},A=(t,u)=>{for(let v of Object.keys(u))if(u[v]instanceof Object&&!Array.isArray(u[v]))A(t,u[v]);else{const z=E(t,v);z&&(z.defaultValue=u[v])}return t};return A(g,n)}e.d(M,{Z:()=>f})},937:(J,M,e)=>{e.r(M),e.d(M,{AssertionsReviseModule:()=>R});var f=e(6895),g=e(9116),n=e(8675),E=e(4004),A=e(6579),t=e(4650),u=e(7630),v=e(9350),z=e(5655),T=e(6903),_=e(1102),N=e(8823),D=e(5105),o=e(8992),y=e(3679),b=e(8616),L=e(160),O=e(2635);function B(d,h){if(1&d&&(t.TgZ(0,"span",12)(1,"strong"),t._uU(2),t.qZA(),t._uU(3," Parents:"),t.qZA()),2&d){const S=t.oxw(2).ngIf;t.xp6(2),t.Oqu(S.name)}}function Z(d,h){if(1&d&&(t.TgZ(0,"span",13),t._UZ(1,"cvc-molecular-profile-tag",14),t.qZA()),2&d){const S=t.oxw(2).ngIf;t.xp6(1),t.Q6J("molecularProfile",S.molecularProfile)("enablePopover",!1)}}function w(d,h){1&d&&(t.TgZ(0,"nz-space",9),t.YNc(1,B,4,1,"span",10),t.YNc(2,Z,2,2,"span",11),t.qZA())}function l(d,h){1&d&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function c(d,h){1&d&&(t.TgZ(0,"nz-row",15)(1,"div",16),t._UZ(2,"cvc-login-prompt"),t.qZA()())}function a(d,h){if(1&d&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.YNc(2,w,3,0,"ng-template",null,2,t.W1O),t.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),t._uU(6," REVISE "),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t._uU(9),t.qZA(),t.TgZ(10,"nz-page-header-content")(11,"div",6),t.YNc(12,l,2,0,"div",7),t.ALo(13,"ngrxPush"),t.YNc(14,c,3,0,"ng-template",null,8,t.W1O),t.qZA()()(),t.BQk()),2&d){const S=h.ngIf,F=t.MAs(3),Q=t.MAs(15),V=t.oxw();t.xp6(1),t.Q6J("displayName",S.name)("relationsTpl",F),t.xp6(6),t.Q6J("nzTwotoneColor",t.lcZ(8,6,"Assertion")),t.xp6(2),t.hij(" ",S.name," "),t.xp6(3),t.Q6J("ngIf",t.lcZ(13,8,V.isSignedIn$))("ngIfElse",Q)}}class i{constructor(h,S,F){this.gql=h,this.route=S,this.viewerService=F,this.routeSub=this.route.params.subscribe(Q=>{let V=this.gql.watch({assertionId:+Q.assertionId}).valueChanges;this.loading$=V.pipe((0,A.j)("loading"),(0,n.O)(!0)),this.assertion$=V.pipe((0,A.j)("data","assertion"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,E.U)(h=>h.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}i.\u0275fac=function(h){return new(h||i)(t.Y36(u.A94),t.Y36(g.gz),t.Y36(v.a))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-assertions-revise-view"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["assertionRelations",""],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(h,S){1&h&&(t.YNc(0,a,16,10,"ng-container",0),t.ALo(1,"async")),2&h&&t.Q6J("ngIf",t.lcZ(1,1,S.assertion$))},dependencies:[f.O5,g.lC,z.$O,z.u9,z.u5,T.NU,T.$1,_.Ls,N.ZU,D.p,o.I,y.t3,y.SK,b.u,f.Ov,L.a,O.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var C=e(1971),s=e(545),p=e(1076);class x{}x.\u0275fac=function(h){return new(h||x)},x.\u0275mod=t.oAB({type:x}),x.\u0275inj=t.cJS({imports:[f.ez,O._N,O.pP,y.Jb,C.vh,s.H0,T.zf,p.P]});var k=e(9878);function U(d,h){if(1&d&&(t.ynx(0),t._UZ(1,"cvc-assertion-revise-form",2),t.BQk()),2&d){const S=t.oxw();t.xp6(1),t.Q6J("assertionId",S.assertionId)}}function I(d,h){1&d&&t._uU(0,"Loading Assertion...")}class r{constructor(h){this.route=h,this.routeParams$=this.route.params.subscribe(S=>{this.assertionId=+S.assertionId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}r.\u0275fac=function(h){return new(h||r)(t.Y36(g.gz))},r.\u0275cmp=t.Xpm({type:r,selectors:[["cvc-assertions-suggest-page"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingAssertion",""],[3,"assertionId"]],template:function(h,S){if(1&h&&(t.YNc(0,U,2,1,"ng-container",0),t.YNc(1,I,1,0,"ng-template",null,1,t.W1O)),2&h){const F=t.MAs(2);t.Q6J("ngIf",S.assertionId)("ngIfElse",F)}},dependencies:[f.O5,k.G],encapsulation:2});const m=[{path:"",component:i,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:r,data:{breadcrumb:"Suggest Revision"}}]}];class P{}P.\u0275fac=function(h){return new(h||P)},P.\u0275mod=t.oAB({type:P}),P.\u0275inj=t.cJS({imports:[g.Bz.forChild(m),x,g.Bz]});var Y=e(5630),W=e(4623),K=e(9386),j=e(4126),$=e(9444);class R{}R.\u0275fac=function(h){return new(h||R)},R.\u0275mod=t.oAB({type:R}),R.\u0275inj=t.cJS({imports:[f.ez,P,z.KJ,T.zf,_.PV,N.ZJ,T.zf,$.s,j.u,Y.D,W.K,O._N,O.pP,y.Jb,K.a]})},136:(J,M,e)=>{e.r(M),e.d(M,{AssertionsModule:()=>I});var f=e(6895),g=e(9116),n=e(8823),E=e(5655),A=e(3679),t=e(2635),u=e(1243),v=e(9441),z=e(1102),T=e(5630),_=e(6616),N=e(6903),D=e(9444),o=e(4650);class y{}y.\u0275fac=function(m){return new(m||y)},y.\u0275mod=o.oAB({type:y}),y.\u0275inj=o.cJS({imports:[f.ez,t._N,t.pP,g.Bz,z.PV,n.ZJ,E.KJ,A.Jb,u.m,_.sL,N.zf,D.s,v.s,T.D]});var b=e(9350),L=e(7044),O=e(1664),B=e(3756),Z=e(8992),w=e(160);function l(r,m){1&r&&(o.TgZ(0,"button",17),o._UZ(1,"i",18),o._uU(2," Submit New Assertion "),o.qZA())}function c(r,m){if(1&r&&(o.ynx(0),o.YNc(1,l,3,0,"button",16),o.BQk()),2&r){const P=m.ngrxLet;o.xp6(1),o.Q6J("ngIf",P.signedIn)}}function a(r,m){if(1&r&&o.YNc(0,c,2,1,"ng-container",15),2&r){const P=o.oxw();o.Q6J("ngrxLet",P.viewer$)}}function i(r,m){1&r&&(o.TgZ(0,"a",19),o._UZ(1,"i",20),o._uU(2," View Assertion Model Docs "),o.qZA())}function C(r,m){1&r&&(o.TgZ(0,"a",21),o._UZ(1,"i",20),o._uU(2," View Assertion Curation Docs "),o.qZA())}class s{constructor(m){this.viewerService=m,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}s.\u0275fac=function(m){return new(m||s)(o.Y36(b.a))},s.\u0275cmp=o.Xpm({type:s,selectors:[["assertions-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["assertionActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/assertions.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/assertions.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Assertions"],[4,"ngrxLet"],["routerLink","/assertions/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/assertions/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/assertions.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/assertions.html","target","_blank","nzSize","small","nzBlock",""]],template:function(m,P){if(1&m&&(o._UZ(0,"cvc-section-navigation",0),o.YNc(1,a,1,1,"ng-template",null,1,o.W1O),o.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),o._UZ(7,"i",5),o.ALo(8,"entityColor"),o.qZA(),o.TgZ(9,"nz-col",6)(10,"h2"),o._uU(11,"Assertions"),o.qZA(),o.TgZ(12,"p",7),o._uU(13," A CIViC Assertion summarizes a collection of Evidence Items that cover predictive/therapeutic, diagnostic, prognostic or predisposing clinical information for a variant in a specific cancer context. "),o.qZA()(),o.TgZ(14,"nz-col",8)(15,"nz-space",9),o.YNc(16,i,3,0,"a",10),o.YNc(17,C,3,0,"a",11),o.qZA()()(),o.TgZ(18,"nz-row")(19,"nz-col",12)(20,"div",13),o._UZ(21,"cvc-assertions-table",14),o.qZA()()()()()),2&m){const Y=o.MAs(2);o.Q6J("actionsTpl",Y),o.xp6(7),o.Q6J("nzTwotoneColor",o.lcZ(8,4,"Assertion")),o.xp6(5),o.Q6J("nzEllipsisRows",2),o.xp6(7),o.Q6J("nzSpan",24)}},dependencies:[f.O5,t.eJ,g.rH,z.Ls,n.ZU,E.$O,E.u5,A.t3,A.SK,_.ix,L.w,O.dQ,N.NU,N.$1,B.x,Z.I,w.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class p{constructor(){}}p.\u0275fac=function(m){return new(m||p)},p.\u0275cmp=o.Xpm({type:p,selectors:[["app-assertions"]],decls:1,vars:0,template:function(m,P){1&m&&o._UZ(0,"router-outlet")},dependencies:[g.lC],encapsulation:2});const x=[{path:"",component:p,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:s,data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>Promise.all([e.e(8592),e.e(1499)]).then(e.bind(e,1499)).then(r=>r.AssertionAddModule),data:{breadcrumb:"Add"}},{path:":assertionId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([e.e(1192),e.e(6724),e.e(9716),e.e(5566),e.e(5291),e.e(1798),e.e(2043),e.e(4355),e.e(5465),e.e(8667)]).then(e.bind(e,8667)).then(r=>r.AssertionsDetailModule)},{path:"revise",loadChildren:()=>Promise.resolve().then(e.bind(e,937)).then(r=>r.AssertionsReviseModule),data:{breadcrumb:"Revise"}}]}]},{path:"revise",loadChildren:()=>Promise.all([e.e(8592),e.e(1499)]).then(e.bind(e,1499)).then(r=>r.AssertionAddModule)}];class k{}k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({imports:[g.Bz.forChild(x),y,g.Bz]});var U=e(937);class I{}I.\u0275fac=function(m){return new(m||I)},I.\u0275mod=o.oAB({type:I}),I.\u0275inj=o.cJS({imports:[f.ez,k,U.AssertionsReviseModule]})},545:(J,M,e)=>{e.d(M,{H0:()=>w});var f=e(4650),g=e(6895),n=e(445);let w=(()=>{class l{}return l.\u0275fac=function(a){return new(a||l)},l.\u0275mod=f.oAB({type:l}),l.\u0275inj=f.cJS({imports:[n.vT,g.ez]}),l})()},1243:(J,M,e)=>{e.d(M,{i:()=>c,m:()=>a});var f=e(655),g=e(9521),n=e(4650),E=e(4006),A=e(7579),t=e(4968),u=e(2722),v=e(2536),z=e(3187),T=e(2687),_=e(445),N=e(6895),D=e(1664),o=e(1102),y=e(6287);const b=["switchElement"];function L(i,C){1&i&&n._UZ(0,"span",8)}function O(i,C){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const s=n.oxw(2);n.xp6(1),n.Oqu(s.nzCheckedChildren)}}function B(i,C){if(1&i&&(n.ynx(0),n.YNc(1,O,2,1,"ng-container",9),n.BQk()),2&i){const s=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",s.nzCheckedChildren)}}function Z(i,C){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const s=n.oxw(2);n.xp6(1),n.Oqu(s.nzUnCheckedChildren)}}function w(i,C){if(1&i&&n.YNc(0,Z,2,1,"ng-container",9),2&i){const s=n.oxw();n.Q6J("nzStringTemplateOutlet",s.nzUnCheckedChildren)}}let c=(()=>{class i{constructor(s,p,x,k,U,I){this.nzConfigService=s,this.host=p,this.ngZone=x,this.cdr=k,this.focusMonitor=U,this.directionality=I,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new A.x,this.isNzDisableFirstChange=!0}updateValue(s){this.isChecked!==s&&(this.isChecked=s,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,u.R)(this.destroy$)).subscribe(s=>{this.dir=s,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,t.R)(this.host.nativeElement,"click").pipe((0,u.R)(this.destroy$)).subscribe(s=>{s.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,t.R)(this.switchElement.nativeElement,"keydown").pipe((0,u.R)(this.destroy$)).subscribe(s=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:p}=s;p!==g.oh&&p!==g.SV&&p!==g.L_&&p!==g.K5||(s.preventDefault(),this.ngZone.run(()=>{p===g.oh?this.updateValue(!1):p===g.SV?this.updateValue(!0):(p===g.L_||p===g.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,u.R)(this.destroy$)).subscribe(s=>{s||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(s){this.isChecked=s,this.cdr.markForCheck()}registerOnChange(s){this.onChange=s}registerOnTouched(s){this.onTouched=s}setDisabledState(s){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||s,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return i.\u0275fac=function(s){return new(s||i)(n.Y36(v.jY),n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(T.tE),n.Y36(_.Is,8))},i.\u0275cmp=n.Xpm({type:i,selectors:[["nz-switch"]],viewQuery:function(s,p){if(1&s&&n.Gf(b,7),2&s){let x;n.iGM(x=n.CRH())&&(p.switchElement=x.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[n._Bn([{provide:E.JU,useExisting:(0,n.Gpc)(()=>i),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(s,p){if(1&s&&(n.TgZ(0,"button",0,1)(2,"span",2),n.YNc(3,L,1,0,"span",3),n.qZA(),n.TgZ(4,"span",4),n.YNc(5,B,2,1,"ng-container",5),n.YNc(6,w,1,1,"ng-template",null,6,n.W1O),n.qZA(),n._UZ(8,"div",7),n.qZA()),2&s){const x=n.MAs(7);n.ekj("ant-switch-checked",p.isChecked)("ant-switch-loading",p.nzLoading)("ant-switch-disabled",p.nzDisabled)("ant-switch-small","small"===p.nzSize)("ant-switch-rtl","rtl"===p.dir),n.Q6J("disabled",p.nzDisabled)("nzWaveExtraNode",!0),n.uIk("id",p.nzId),n.xp6(3),n.Q6J("ngIf",p.nzLoading),n.xp6(2),n.Q6J("ngIf",p.isChecked)("ngIfElse",x)}},dependencies:[N.O5,D.dQ,o.Ls,y.f],encapsulation:2,changeDetection:0}),(0,f.gn)([(0,z.yF)()],i.prototype,"nzLoading",void 0),(0,f.gn)([(0,z.yF)()],i.prototype,"nzDisabled",void 0),(0,f.gn)([(0,z.yF)()],i.prototype,"nzControl",void 0),(0,f.gn)([(0,v.oS)()],i.prototype,"nzSize",void 0),i})(),a=(()=>{class i{}return i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[_.vT,N.ez,D.vG,o.PV,y.T]}),i})()}}]); \ No newline at end of file diff --git a/server/public/4294.43ee4cc97fc893b4.js b/server/public/4294.43ee4cc97fc893b4.js new file mode 100644 index 000000000..bf4c4da92 --- /dev/null +++ b/server/public/4294.43ee4cc97fc893b4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4294],{1403:(J,T,n)=>{n.d(T,{Q:()=>$});var l=n(6814),s=n(6223),c=n(3396),g=n(8527),f=n(7856),u=n(9154),v=n(2989),t=n(366),y=n(7950),p=n(6061),M=n(2524),d=n(9175),z=n(4742),P=n(9312),O=n(2840),U=n(2962),V=n(2612),S=n(3599),B=n(551),D=n(824),L=n(9691),m=n(2574),E=n(3740),A=n(5695),_=n(6109),R=n(2392),K=n(1218),I=n(5879);let $=(()=>{class C{}return C.\u0275fac=function(F){return new(F||C)},C.\u0275mod=I.oAB({type:C}),C.\u0275inj=I.cJS({imports:[l.ez,s.u5,O.sL,U.vh,V.Wr,S.U5,B.PV,D.o7,L.LV,m.zf,E.HQ,A.X,_.cg,R.ZJ,d.n,z.c,f.k,c.Q,p.N,K.i,M.s,u.y,v.T,P.w,t.$,y.x,g.u]}),C})()},1218:(J,T,n)=>{n.d(T,{i:()=>M});var l=n(6814),s=n(4190),c=n(5695),g=n(7417),f=n(551),u=n(1855),v=n(2524),t=n(3640),y=n(3146),p=n(5879);let M=(()=>{class d{}return d.\u0275fac=function(P){return new(P||d)},d.\u0275mod=p.oAB({type:d}),d.\u0275inj=p.cJS({imports:[l.ez,s.Bz,t.mS,c.X,g.$6,f.PV,u.f,v.s,y.C]}),d})()},6078:(J,T,n)=>{n.d(T,{h:()=>L});var l=n(6814),s=n(6223),c=n(7856),g=n(9154),f=n(2966),u=n(2989),v=n(2524),t=n(9175),y=n(4742),p=n(9312),M=n(2840),d=n(2962),z=n(551),P=n(9691),O=n(3740),U=n(5695),V=n(6109),S=n(2392),B=n(8641),D=n(5879);let L=(()=>{class m{}return m.\u0275fac=function(A){return new(A||m)},m.\u0275mod=D.oAB({type:m}),m.\u0275inj=D.cJS({imports:[l.ez,s.u5,M.sL,d.vh,z.PV,P.LV,O.HQ,U.X,V.cg,S.ZJ,v.s,t.n,y.c,c.k,g.y,f.T,B.s,u.T,p.w]}),m})()},4294:(J,T,n)=>{n.r(T),n.d(T,{VariantTypesModule:()=>Ft});var l=n(6814),s=n(4190),c=n(6254),g=n(551),f=n(6067),u=n(2419),v=n(2524),t=n(5879);let y=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[l.ez,s.Bz,c.KJ,g.PV,v.s,f.X,u.D]}),e})();var p=n(2574),M=n(1403),d=n(6078),z=n(6506);let P=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[l.ez,p.zf,M.Q,d.h,z.H]}),e})();var O=n(95),U=n(3043),V=n(7856),S=n(9154),B=n(2989),D=n(9175),L=n(4742),m=n(9312),E=n(2840),A=n(2962),_=n(3740),R=n(5695),K=n(6109),I=n(2392),$=n(3717);let C=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[l.ez,s.Bz,E.sL,A.vh,g.PV,_.HQ,R.X,K.cg,I.ZJ,D.n,L.c,V.k,f.X,S.y,U.y,B.T,m.w,$.M,v.s]}),e})(),Q=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[l.ez,c.KJ,g.PV,O.Jb,E.sL,p.zf,I.ZJ,v.s,u.D,C]}),e})();var F=n(7921),x=n(4223),N=n(313),G=n(3317),k=n(3145),q=n(8091),tt=n(2616);function at(e,o){if(1&e&&(t.TgZ(0,"cvc-link-tag",6),t._uU(1),t.qZA()),2&e){const a=t.oxw().ngIf;t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.soid," ")}}function ot(e,o){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),t._UZ(4,"i",3),t.ALo(5,"entityColor"),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-extra"),t.YNc(8,at,2,2,"cvc-link-tag",4),t.qZA(),t.TgZ(9,"nz-page-header-content")(10,"div",5),t._uU(11),t._UZ(12,"router-outlet"),t.qZA()()(),t.BQk()),2&e){const a=o.ngIf;t.xp6(1),t.Q6J("displayName",a.name),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(5,5,"VariantType")),t.xp6(2),t.hij(" ",a.name," "),t.xp6(2),t.Q6J("ngIf",a.url),t.xp6(3),t.hij(" ",a.description," ")}}let rt=(()=>{class e{constructor(a,r){this.route=a,this.gql=r,this.routeSub=this.route.params.subscribe(i=>{this.variantTypeId=+i.variantTypeId,this.queryRef=this.gql.watch({variantTypeId:this.variantTypeId});let h=this.queryRef.valueChanges;this.loading$=h.pipe((0,x.j)("loading"),(0,F.O)(!0)),this.variantType$=h.pipe((0,x.j)("data","variantType"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(a){return new(a||e)(t.Y36(s.gz),t.Y36(N.ubO))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-types-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-varianttype",3,"nzTwotoneColor"],["tooltip","View on sequenceontology.org",3,"href",4,"ngIf"],[1,"content"],["tooltip","View on sequenceontology.org",3,"href"]],template:function(a,r){1&a&&(t.YNc(0,ot,13,7,"ng-container",0),t.ALo(1,"ngrxPush")),2&a&&t.Q6J("ngIf",t.lcZ(1,1,r.variantType$))},dependencies:[l.O5,s.lC,c.$O,c.u9,c.u5,c.Jp,g.Ls,G.l,k.I,q.fM,tt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var b,nt=n(855),it=n(655),lt=n(4632),Z=n(1791),et=n(5619),H=n(8645),j=n(5676),Y=n(3997),st=n(812),ct=n(836),W=n(2181),w=n(7398),pt=n(3620),_t=n(2460),gt=n(6753),dt=n(4764),ht=n(8516),mt=n(3489),vt=n(9857),Tt=n(4997),ft=n(7938);function ut(e,o){}function Ct(e,o){if(1&e&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,ut,0,0,"ng-template",6),t.qZA(),t.BQk()),2&e){t.oxw();const a=t.MAs(6),r=t.MAs(8),i=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",a)("nzExtra",r),t.xp6(1),t.Q6J("ngTemplateOutlet",i)}}function yt(e,o){}const Mt=function(e){return{height:e}};function zt(e,o){if(1&e&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,yt,0,0,"ng-template",6),t.qZA()()),2&e){const a=t.oxw(),r=t.MAs(6),i=t.MAs(8),h=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,Mt,a.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",r)("nzExtra",i),t.xp6(1),t.Q6J("ngTemplateOutlet",h)}}function Pt(e,o){1&e&&t._uU(0," -- ")}function Ot(e,o){if(1&e&&(t.TgZ(0,"tr",22)(1,"td",18),t._UZ(2,"cvc-variant-type-tag",23),t.qZA(),t.TgZ(3,"td")(4,"cvc-link-tag",24),t._uU(5),t.qZA(),t.YNc(6,Pt,1,0,"ng-template",null,25,t.W1O),t.qZA(),t.TgZ(8,"td",26),t._uU(9),t.qZA()()),2&e){const a=o.$implicit;t.xp6(2),t.Q6J("variantType",a),t.xp6(2),t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.soid," "),t.xp6(4),t.hij(" ",a.variantCount," ")}}const Et=function(){return[]},xt=function(){return{x:"680px",y:"800px"}},Dt=function(){return["descend","ascend",null]};function At(e,o){if(1&e){const a=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(i){t.CHM(a);const h=t.oxw();return t.KtG(h.scrollEvent$.next(i))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(i){t.CHM(a);const h=t.oxw();return t.KtG(h.sortChange$.next(i))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," SOID "),t.qZA(),t.TgZ(12,"th",15),t._UZ(13,"i",16),t._uU(14," Count "),t.qZA()(),t.TgZ(15,"tr",17)(16,"th",18)(17,"cvc-clearable-input-filter",19),t.NdJ("inputModelChange",function(i){t.CHM(a);const h=t.oxw();return t.KtG(h.nameFilter=i)})("inputModelChange",function(){t.CHM(a);const i=t.oxw();return t.KtG(i.filterChange$.next())}),t.qZA()(),t.TgZ(18,"th")(19,"cvc-clearable-input-filter",19),t.NdJ("inputModelChange",function(i){t.CHM(a);const h=t.oxw();return t.KtG(h.soidFilter=i)})("inputModelChange",function(){t.CHM(a);const i=t.oxw();return t.KtG(i.filterChange$.next())}),t.qZA()(),t._UZ(20,"th",20),t.qZA()(),t.TgZ(21,"tbody"),t.YNc(22,Ot,10,4,"ng-template",21),t.qZA()()}if(2&e){const a=t.oxw();t.Q6J("nzData",t.lcZ(2,20,a.row$)||t.DdM(28,Et))("nzLoading",!t.lcZ(3,22,a.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",a.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,24,a.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,26,a.scrollIndex$))("nzVirtualForTrackBy",a.trackByIndex)("nzScroll",t.DdM(29,xt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",a.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.Soid)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(30,Dt)),t.xp6(5),t.Q6J("inputModel",a.nameFilter),t.xp6(2),t.Q6J("inputModel",a.soidFilter)}}function It(e,o){}function bt(e,o){if(1&e&&(t.ynx(0),t.YNc(1,It,0,0,"ng-template",6),t.BQk()),2&e){const a=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function Ut(e,o){if(1&e&&(t.ynx(0),t._uU(1),t.BQk()),2&e){const a=t.oxw(2);t.xp6(1),t.hij(" ",a.cvcTitle," ")}}function Vt(e,o){if(1&e&&(t.YNc(0,bt,2,1,"ng-container",27),t.YNc(1,Ut,2,1,"ng-container",27),t.TgZ(2,"span",28),t._UZ(3,"cvc-table-counts",29),t.qZA()),2&e){const a=t.oxw();t.Q6J("ngIf",a.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",a.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",a.connection$)}}function St(e,o){1&e&&(t.TgZ(0,"nz-tag",32),t._UZ(1,"i",33),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Bt(e,o){if(1&e&&(t.YNc(0,St,4,0,"nz-tag",30),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",31),t.ALo(3,"ngrxPush")),2&e){const a=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,a.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,a.noMoreRows$))}}let X=((b=class{set initialUserFilters(o){o&&Object.assign(this,o)}constructor(o,a){this.gql=o,this.cdr=a,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=N.wpb,this.noMoreRows$=new et.X(!1),this.scrollEvent$=new et.X("stop"),this.sortChange$=new H.x,this.filterChange$=new H.x,this.scrollIndex$=new H.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,x.j)("loading"),(0,Y.x)(),(0,st.o)(o=>!1!==o,!0)),this.moreLoading$=this.result$.pipe((0,x.j)("loading"),(0,Y.x)(),(0,ct.T)(2)),this.connection$=this.result$.pipe((0,x.j)("data","variantTypes"),(0,W.h)(j.ep)),this.row$=this.connection$.pipe((0,x.j)("edges"),(0,W.h)(j.ep),(0,w.U)(o=>o.map(a=>a.node))),this.pageInfo$=this.connection$.pipe((0,x.j)("pageInfo"),(0,W.h)(j.ep)),this.sortChange$.pipe((0,Z.t)(this)).subscribe(o=>{this.queryRef.refetch({sortBy:(0,lt._)(o)})}),this.filterChange$.pipe((0,pt.b)(500),(0,Z.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,w.U)(o=>"stop"!==o),(0,Y.x)(),(0,Z.t)(this)).subscribe(o=>{this.isScrolling=o,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,W.h)(o=>"bottom"===o),(0,_t.M)(this.pageInfo$),(0,w.U)(([o,a])=>a),(0,Z.t)(this)).subscribe(o=>{o.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameFilter,soid:this.soidFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(o,a){return a?.id}}).\u0275fac=function(o){return new(o||b)(t.Y36(N.fwG),t.Y36(t.sBO))},b.\u0275cmp=t.Xpm({type:b,selectors:[["cvc-variant-types-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","450px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100%",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"variantType"],["tooltip","View on sequenceontology.org",3,"href"],["noSoid",""],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(o,a){if(1&o&&(t.YNc(0,Ct,3,3,"ng-container",0),t.YNc(1,zt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,At,23,31,"ng-template",null,2,t.W1O),t.YNc(5,Vt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,Bt,4,6,"ng-template",null,4,t.W1O)),2&o){const r=t.MAs(2);t.Q6J("ngIf",!a.cvcHeight)("ngIfElse",r)}},dependencies:[l.O5,l.tP,l.PC,nt.w,A.bd,g.Ls,_.N8,_.qD,_.Uo,_._C,_.Om,_.p0,_.$Z,_.zu,_.qn,_.UX,R.j,K.SY,gt.D,dt.q,ht.p,G.l,mt.H,vt.B,Tt.y,ft.j,q.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),b);function Lt(e,o){1&e&&(t.TgZ(0,"a",14),t._UZ(1,"i",15),t._uU(2," View Variant Type Docs "),t.qZA())}function Zt(e,o){1&e&&(t.TgZ(0,"a",16),t._UZ(1,"i",15),t._uU(2," View Variant Type Curation Docs "),t.qZA())}X=(0,it.gn)([(0,Z.c)()],X);let Rt=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["variant-types-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-varianttype",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html#curating-variant-types","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variant Types"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html#curating-variant-types","target","_blank","nzSize","small","nzBlock",""]],template:function(a,r){1&a&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Variant Types"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," Variant Types are used to classify CIViC variants by Sequence Ontology terms, permitting advanced searching for categories of variants downstream semantic analyses. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Lt,3,0,"a",8),t.YNc(15,Zt,3,0,"a",9),t.qZA()()(),t.TgZ(16,"div",10)(17,"div",11)(18,"div",12),t._UZ(19,"cvc-variant-types-table",13),t.qZA()()()()()),2&a&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"VariantType")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},dependencies:[c.$O,c.u5,g.Ls,O.t3,O.SK,E.ix,nt.w,p.NU,p.$1,I.ZU,k.I,X,tt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var Kt=n(806);function Wt(e,o){if(1&e&&t._UZ(0,"cvc-variants-table",3),2&e){const a=t.oxw(2);t.Q6J("variantTypeId",a.variantTypeId)}}function Jt(e,o){1&e&&(t.TgZ(0,"nz-space",1),t.YNc(1,Wt,1,1,"cvc-variants-table",2),t.qZA())}const $t=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-types"]],decls:1,vars:0,template:function(a,r){1&a&&t._UZ(0,"router-outlet")},dependencies:[s.lC],encapsulation:2}),e})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Rt,data:{breadcrumb:"Home"}},{path:":variantTypeId",component:rt,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class e{constructor(a){this.route=a,this.routeSub=this.route.params.subscribe(r=>{this.variantTypeId=+r.variantTypeId})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(a){return new(a||e)(t.Y36(s.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-types-summary"]],decls:1,vars:1,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["cvcTitle","Type Variants",3,"variantTypeId",4,"nzSpaceItem"],["cvcTitle","Type Variants",3,"variantTypeId"]],template:function(a,r){1&a&&t.YNc(0,Jt,2,0,"nz-space",0),2&a&&t.Q6J("ngIf",r.variantTypeId)},dependencies:[l.O5,p.NU,p.$1,Kt.S],styles:["[_nghost-%COMP%]{display:block}"]}),e})(),data:{breadcrumb:"Summary"}}]}]}];let Qt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.Bz.forChild($t),s.Bz]}),e})(),Ft=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[l.ez,s.Bz,Qt,Q,y,P]}),e})()}}]); \ No newline at end of file diff --git a/server/public/4355.4386fbf1d0ea470e.js b/server/public/4355.4386fbf1d0ea470e.js deleted file mode 100644 index c78711736..000000000 --- a/server/public/4355.4386fbf1d0ea470e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4355],{7036:(w,M,o)=>{o.d(M,{L:()=>pn});var r=o(7630),c=o(9300),L=o(4004),h=o(6579),n=o(3240),t=o(4650),d=o(6895),y=o(2635),O=o(6616),R=o(7044),F=o(1664),b=o(3679),I=o(6123),S=o(7579),E=o(2722),N=o(9350),Z=o(9169),f=o(4006),u=o(6704),v=o(1971),J=o(9597),P=o(7570),K=o(5681),$=o(1793),B=o(8227),z=o(9180),C=o(9383),A=o(2338);function Y(_,l){if(1&_){const a=t.EpF();t.TgZ(0,"nz-alert",8),t.NdJ("nzOnClose",function(){t.CHM(a);const x=t.oxw();return t.KtG(x.onSuccessBannerClose())}),t.qZA()}}function q(_,l){if(1&_&&t._UZ(0,"nz-alert",9),2&_){t.oxw();const a=t.MAs(4);t.Q6J("nzDescription",a)}}function nn(_,l){if(1&_&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&_){const a=l.$implicit;t.xp6(1),t.Oqu(a)}}function tn(_,l){if(1&_&&(t.TgZ(0,"ul"),t.YNc(1,nn,2,1,"li",10),t.qZA()),2&_){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.errorMessages)}}function en(_,l){}function V(_,l){1&_&&t.YNc(0,en,0,0,"ng-template")}function on(_,l){if(1&_&&(t.ynx(0),t.YNc(1,V,1,0,null,15),t.BQk()),2&_){t.oxw();const a=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function j(_,l){}function sn(_,l){1&_&&t.YNc(0,j,0,0,"ng-template")}function an(_,l){if(1&_&&(t.TgZ(0,"span",16),t.YNc(1,sn,1,0,null,15),t.qZA()),2&_){t.oxw();const a=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function W(_,l){if(1&_&&(t.TgZ(0,"button",17),t._uU(1),t.ALo(2,"enumToTitle"),t.qZA()),2&_){const a=t.oxw().ngrxLet,m=t.oxw();t.Q6J("disabled",!(void 0!==m.comment&&m.comment.length>=10&&a.signedIn)),t.xp6(1),t.hij(" Flag ",t.lcZ(2,2,m.flaggable.entityType)," ")}}function G(_,l){if(1&_){const a=t.EpF();t.ynx(0),t.TgZ(1,"cvc-form-buttons")(2,"cvc-org-selector-btn-group",11),t.NdJ("selectedOrgChange",function(x){t.CHM(a);const Q=t.oxw();return t.KtG(Q.onOrgSelected(x))}),t.YNc(3,on,2,1,"ng-container",12),t.YNc(4,an,2,1,"ng-template",null,13,t.W1O),t.YNc(6,W,3,4,"ng-template",null,14,t.W1O),t.qZA()(),t.BQk()}if(2&_){const a=l.ngrxLet,m=t.MAs(5);t.xp6(3),t.Q6J("ngIf",a.signedIn)("ngIfElse",m)}}class U{constructor(l,a,m){this.gql=l,this.viewerService=a,this.networkErrorService=m,this.errorMessages=[],this.success=!1,this.loading=!1,this.comment="",this.destroy$=new S.x,this.addFlagMutator=new I.U(m),this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(x=>{this.selectedOrg=x.mostRecentOrg})}ngOnInit(){if(void 0===this.flaggable)throw new Error("Must pass a flagggable into flag add component")}onOrgSelected(l){this.selectedOrg=l}submitFlag(){this.errorMessages=[];let a=this.addFlagMutator.mutate(this.gql,{input:{comment:this.comment,subject:this.flaggable,organizationId:this.selectedOrg?.id}});a.submitSuccess$.pipe((0,E.R)(this.destroy$)).subscribe(m=>{m&&(this.flagAddedCallback&&this.flagAddedCallback(),this.success=!0,this.comment="")}),a.submitError$.pipe((0,E.R)(this.destroy$)).subscribe(m=>{m.length>0&&(this.errorMessages=m)}),a.isSubmitting$.pipe((0,E.R)(this.destroy$)).subscribe(m=>{this.loading=m})}onSuccessBannerClose(){this.success=!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}U.\u0275fac=function(l){return new(l||U)(t.Y36(r.B0s),t.Y36(N.a),t.Y36(Z.Y))},U.\u0275cmp=t.Xpm({type:U,selectors:[["cvc-flag-add-form"]],inputs:{flaggable:"flaggable",flagAddedCallback:"flagAddedCallback"},decls:11,vars:5,consts:[["nzType","inner"],["nzBanner","","nzMessage","Flag submitted","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Error Adding Flag",3,"nzDescription",4,"ngIf"],["errorContents",""],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[4,"ngrxLet"],["nzBanner","","nzMessage","Flag submitted","nzType","success","nzCloseable","",3,"nzOnClose"],["nzType","error","nzShowIcon","","nzMessage","Error Adding Flag",3,"nzDescription"],[4,"ngFor","ngForOf"],[3,"selectedOrgChange"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to flag entity."],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"]],template:function(l,a){1&l&&(t.TgZ(0,"nz-card",0),t.YNc(1,Y,1,0,"nz-alert",1),t.YNc(2,q,1,1,"nz-alert",2),t.YNc(3,tn,2,1,"ng-template",null,3,t.W1O),t.TgZ(5,"form",4),t.NdJ("ngSubmit",function(){return a.submitFlag()}),t.TgZ(6,"cvc-comment-input-form",5),t.NdJ("commentChange",function(x){return a.comment=x}),t.qZA(),t.TgZ(7,"nz-spin",6)(8,"nz-form-item")(9,"nz-form-control"),t.YNc(10,G,8,2,"ng-container",7),t.qZA()()()()()),2&l&&(t.xp6(1),t.Q6J("ngIf",a.success),t.xp6(1),t.Q6J("ngIf",a.errorMessages.length>0),t.xp6(4),t.Q6J("comment",a.comment),t.xp6(1),t.Q6J("nzSpinning",a.loading),t.xp6(3),t.Q6J("ngrxLet",a.viewer$))},dependencies:[d.sg,d.O5,d.tP,f._Y,f.JL,f.F,y.eJ,b.t3,b.SK,u.Lr,u.Nx,u.Fd,O.ix,R.w,F.dQ,v.bd,J.r,P.SY,K.W,$.m,B.q,z.Z,C.b,A.I],encapsulation:2});var D=o(6903),H=o(8823),vn=o(4788),zn=o(2577),dn=o(1102),Cn=o(125),xn=o(4590),Tn=o(6581);function hn(_,l){if(1&_){const a=t.EpF();t.TgZ(0,"nz-alert",4),t.NdJ("nzOnClose",function(){t.CHM(a);const x=t.oxw();return t.KtG(x.onSuccessBannerClose())}),t.qZA()}}function yn(_,l){}function Rn(_,l){1&_&&t.YNc(0,yn,0,0,"ng-template")}function On(_,l){if(1&_&&(t.ynx(0),t.YNc(1,Rn,1,0,null,9),t.BQk()),2&_){t.oxw(2);const a=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function An(_,l){if(1&_&&(t.ynx(0),t.YNc(1,On,2,1,"ng-container",5),t.BQk()),2&_){const a=t.oxw().ngrxLet,m=t.MAs(5),x=t.oxw();t.xp6(1),t.Q6J("ngIf",a.isEditor||a.isAdmin||x.flag.flaggingUser.id===a.id)("ngIfElse",m)}}function Zn(_,l){}function Ln(_,l){1&_&&t.YNc(0,Zn,0,0,"ng-template")}function bn(_,l){if(1&_&&(t.TgZ(0,"span",10),t.YNc(1,Ln,1,0,null,9),t.qZA()),2&_){t.oxw();const a=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function Fn(_,l){}function Mn(_,l){1&_&&t.YNc(0,Fn,0,0,"ng-template")}function En(_,l){if(1&_&&(t.TgZ(0,"span",11),t.YNc(1,Mn,1,0,null,9),t.qZA()),2&_){t.oxw();const a=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function Sn(_,l){if(1&_){const a=t.EpF();t.TgZ(0,"button",13),t.NdJ("nzPopoverVisibleChange",function(x){t.CHM(a);const Q=t.oxw(3);return t.KtG(Q.flagResolvePopoverVisible=x)})("click",function(){t.CHM(a);const x=t.oxw(3);return t.KtG(x.flagResolvePopoverVisible=!x.flagResolvePopoverVisible)}),t._uU(1," Resolve Flag "),t._UZ(2,"i",14),t.qZA()}if(2&_){const a=t.oxw(2).ngrxLet,m=t.oxw(),x=t.MAs(3),Q=t.MAs(5);t.Q6J("nzPopoverTitle",x)("nzPopoverVisible",m.flagResolvePopoverVisible)("nzPopoverContent",Q)("nzPopoverTrigger",void 0)("disabled",!a.signedIn||a.isCurator&&m.flag.flaggingUser.id!=a.id)}}function _n(_,l){if(1&_&&t.YNc(0,Sn,3,5,"button",12),2&_){const a=t.oxw(2);t.Q6J("ngIf",!a.success)}}function Nn(_,l){if(1&_&&(t.ynx(0),t.YNc(1,An,2,2,"ng-container",5),t.YNc(2,bn,2,1,"ng-template",null,6,t.W1O),t.YNc(4,En,2,1,"ng-template",null,7,t.W1O),t.YNc(6,_n,1,1,"ng-template",null,8,t.W1O),t.BQk()),2&_){const a=l.ngrxLet,m=t.MAs(3);t.xp6(1),t.Q6J("ngIf",a.signedIn)("ngIfElse",m)}}const Qn=function(){return{float:"right"}};function cn(_,l){if(1&_){const a=t.EpF();t._uU(0," Resolve Flag "),t.TgZ(1,"span",15)(2,"i",16),t.NdJ("click",function(){t.CHM(a);const x=t.oxw();return x.flagResolvePopoverVisible=!1,t.KtG(x.errorMessages=[])}),t.qZA()()}2&_&&(t.xp6(1),t.Q6J("ngStyle",t.DdM(1,Qn)))}function In(_,l){if(1&_&&t._UZ(0,"nz-alert",25),2&_){t.oxw();const a=t.MAs(2);t.Q6J("nzDescription",a)}}function Jn(_,l){if(1&_&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&_){const a=l.$implicit;t.xp6(1),t.Oqu(a)}}function Pn(_,l){if(1&_&&(t.TgZ(0,"ul"),t.YNc(1,Jn,2,1,"li",26),t.qZA()),2&_){const a=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",a.errorMessages)}}function Yn(_,l){if(1&_){const a=t.EpF();t.YNc(0,In,1,1,"nz-alert",17),t.YNc(1,Pn,2,1,"ng-template",null,18,t.W1O),t.TgZ(3,"nz-card",19)(4,"form",20),t.NdJ("ngSubmit",function(){t.CHM(a);const x=t.oxw();return t.KtG(x.resolveFlag())}),t.TgZ(5,"cvc-comment-input-form",21),t.NdJ("commentChange",function(x){t.CHM(a);const Q=t.oxw();return t.KtG(Q.comment=x)}),t.qZA(),t.TgZ(6,"nz-spin",22)(7,"nz-form-item")(8,"nz-form-control")(9,"cvc-form-buttons")(10,"cvc-org-selector-btn-group",23),t.NdJ("selectedOrgChange",function(x){t.CHM(a);const Q=t.oxw();return t.KtG(Q.onOrgSelected(x))}),t.TgZ(11,"button",24),t._uU(12," Resolve "),t.qZA()()()()()()()()}if(2&_){const a=t.oxw();t.Q6J("ngIf",a.errorMessages.length>0),t.xp6(5),t.Q6J("comment",a.comment),t.xp6(1),t.Q6J("nzSpinning",a.loading),t.xp6(5),t.Q6J("disabled",!(void 0!==a.comment&&a.comment.length>=10))}}class ln{constructor(l,a,m){this.gql=l,this.viewerService=a,this.networkErrorService=m,this.errorMessages=[],this.loading=!1,this.success=!1,this.flagResolvePopoverVisible=!1,this.destroy$=new S.x,this.resolveFlagMutator=new I.U(m),this.viewer$=this.viewerService.viewer$}ngOnInit(){if(void 0===this.flag)throw new Error("Must pass a Flag in to resolve component.");this.viewerService.viewer$.subscribe(l=>{this.selectedOrg=l.mostRecentOrg})}onOrgSelected(l){this.selectedOrg=l}resolveFlag(){if(this.comment){this.errorMessages=[];let l=this.resolveFlagMutator.mutate(this.gql,{input:{id:this.flag.id,comment:this.comment,organizationId:this.selectedOrg?.id}});l.submitSuccess$.pipe((0,E.R)(this.destroy$)).subscribe(a=>{a&&(this.flagResolvePopoverVisible=!1,this.success=!0,this.flagResolvedCallback&&this.flagResolvedCallback())}),l.submitError$.pipe((0,E.R)(this.destroy$)).subscribe(a=>{a.length>0&&(this.success=!1,this.errorMessages=a)}),l.isSubmitting$.pipe((0,E.R)(this.destroy$)).subscribe(a=>{this.loading=a})}}onSuccessBannerClose(){this.success=!1,this.flagResolvedCallback&&this.flagResolvedCallback()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}ln.\u0275fac=function(l){return new(l||ln)(t.Y36(r.EwB),t.Y36(N.a),t.Y36(Z.Y))},ln.\u0275cmp=t.Xpm({type:ln,selectors:[["cvc-flag-resolve-form"]],inputs:{flag:"flag",flagResolvedCallback:"flagResolvedCallback"},decls:6,vars:2,consts:[["nzBanner","","nzMessage","Flag resolved.","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],[4,"ngrxLet"],["flagResolvePopoverTitleTemplate",""],["flagResolvePopoverContentTemplate",""],["nzBanner","","nzMessage","Flag resolved.","nzType","success","nzCloseable","",3,"nzOnClose"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["noPermissions",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to resolve flag."],["nz-tooltip","","nzTooltipTitle","If you are not an editor, you can only resolve flags you opened."],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click",4,"ngIf"],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click"],["nz-icon","","nzType","caret-down","nzTheme","outline"],[3,"ngStyle"],["nz-icon","","nzType","close","nzTheme","outline",3,"click"],["nzType","error","nzShowIcon","","nzMessage","Error Resolving Flag",3,"nzDescription",4,"ngIf"],["errorContents",""],["nzType","inner",2,"width","300px"],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"],["nzType","error","nzShowIcon","","nzMessage","Error Resolving Flag",3,"nzDescription"],[4,"ngFor","ngForOf"]],template:function(l,a){1&l&&(t.YNc(0,hn,1,0,"nz-alert",0),t.YNc(1,Nn,8,2,"ng-container",1),t.YNc(2,cn,3,2,"ng-template",null,2,t.W1O),t.YNc(4,Yn,13,4,"ng-template",null,3,t.W1O)),2&l&&(t.Q6J("ngIf",a.success),t.xp6(1),t.Q6J("ngrxLet",a.viewer$))},dependencies:[d.sg,d.O5,d.tP,d.PC,f._Y,f.JL,y.eJ,O.ix,R.w,F.dQ,b.t3,b.SK,u.Lr,u.Nx,u.Fd,f.F,J.r,v.bd,Tn.lU,dn.Ls,P.SY,K.W,C.b,z.Z,$.m,B.q],encapsulation:2});var Un=o(7948),Dn=o(160),$n=o(5083);function Bn(_,l){if(1&_){const a=t.EpF();t.TgZ(0,"nz-alert",5),t.NdJ("nzOnClose",function(){const Q=t.CHM(a).$implicit,zt=t.oxw();return t.KtG(zt.onErrorBannerClose(Q))}),t.qZA()}2&_&&t.Q6J("nzMessage",l.$implicit)}function wn(_,l){if(1&_){const a=t.EpF();t.TgZ(0,"nz-alert",6),t.NdJ("nzOnClose",function(){t.CHM(a);const x=t.oxw();return t.KtG(x.onSuccessBannerClose())}),t.qZA()}if(2&_){const a=t.oxw();t.MGl("nzMessage","Revision(s) successfully ",a.success,".")}}function jn(_,l){if(1&_&&t._UZ(0,"cvc-comment-body",15),2&_){const a=t.oxw(2).$implicit;t.Q6J("commentBodySegments",a.openComment.parsedComment)}}function un(_,l){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-flag-resolve-form",16),t.BQk()),2&_){const a=t.oxw(2).$implicit,m=t.oxw(2);t.xp6(1),t.Q6J("flag",a)("flagResolvedCallback",m.flagResolvedCallback)}}function Wn(_,l){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-comment-body",15),t.BQk()),2&_){const a=t.oxw(3).$implicit;t.xp6(1),t.Q6J("commentBodySegments",a.resolutionComment.parsedComment)}}function Gn(_,l){if(1&_&&t._UZ(0,"cvc-user-tag",21),2&_){const a=t.oxw(3).$implicit;t.Q6J("user",a.resolvingUser)}}function Kn(_,l){if(1&_&&(t.TgZ(0,"nz-row")(1,"nz-col",17),t.YNc(2,Wn,2,1,"ng-container",18),t.qZA(),t.TgZ(3,"nz-col",19),t._uU(4," Resolved By "),t.YNc(5,Gn,1,1,"cvc-user-tag",20),t._uU(6),t.ALo(7,"timeAgo"),t.qZA()()),2&_){const a=t.oxw(2).$implicit;t.xp6(2),t.Q6J("ngIf",a.resolutionComment),t.xp6(3),t.Q6J("ngIf",void 0!==a.resolvingUser),t.xp6(1),t.hij(" ",t.lcZ(7,3,a.resolvedAt)," ")}}function Vn(_,l){if(1&_&&(t._UZ(0,"i",22),t.ALo(1,"entityColor"),t._uU(2)),2&_){const a=t.oxw(2).$implicit;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"Flag")),t.xp6(2),t.hij(" FID",a.id," ")}}function Hn(_,l){if(1&_&&(t.TgZ(0,"span")(1,"span",26),t._uU(2,"Flagged By"),t.qZA(),t._UZ(3,"cvc-user-tag",21),t.TgZ(4,"span",26),t._uU(5),t.ALo(6,"timeAgo"),t.qZA()()),2&_){const a=t.oxw(3).$implicit;t.xp6(3),t.Q6J("user",a.flaggingUser),t.xp6(2),t.Oqu(t.lcZ(6,2,a.createdAt))}}function kn(_,l){if(1&_&&t._UZ(0,"cvc-status-tag",27),2&_){const a=t.oxw(3).$implicit;t.Q6J("status",a.state)}}function k(_,l){1&_&&(t.TgZ(0,"nz-space",23),t.YNc(1,Hn,7,4,"span",24),t.YNc(2,kn,1,1,"cvc-status-tag",25),t.qZA())}function qn(_,l){if(1&_&&(t.TgZ(0,"nz-card",10),t.YNc(1,jn,1,1,"cvc-comment-body",11),t._UZ(2,"nz-divider"),t.YNc(3,un,2,2,"ng-container",3),t.YNc(4,Kn,8,5,"ng-template",null,12,t.W1O),t.YNc(6,Vn,3,4,"ng-template",null,13,t.W1O),t.YNc(8,k,3,0,"ng-template",null,14,t.W1O),t.qZA()),2&_){const a=t.MAs(5),m=t.MAs(7),x=t.MAs(9),Q=t.oxw().$implicit;t.Q6J("nzTitle",m)("nzExtra",x),t.xp6(1),t.Q6J("ngIf",Q.openComment),t.xp6(2),t.Q6J("ngIf","OPEN"==Q.state)("ngIfElse",a)}}function Xn(_,l){1&_&&(t.ynx(0),t.YNc(1,qn,10,5,"nz-card",9),t.BQk())}function nt(_,l){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-space",7),t.YNc(2,Xn,2,0,"ng-container",8),t.qZA(),t.BQk()),2&_){const a=t.oxw();t.xp6(2),t.Q6J("ngForOf",a.flags)}}function tt(_,l){1&_&&t._UZ(0,"nz-empty",28)}class rn{constructor(l){this.viewerService=l,this.isLoading=!1,this.success=!1,this.destroy$=new S.x}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(l=>{this.mostRecentOrg=l.mostRecentOrg})}setupMutationResultHandlers(l,a){l.submitSuccess$.pipe((0,E.R)(this.destroy$)).subscribe(m=>{m&&(this.isLoading=!1,this.errors=void 0,this.success=a)}),l.submitError$.pipe((0,E.R)(this.destroy$)).subscribe(m=>{m.length>0&&(this.isLoading=!1,this.success=!1,this.errors=m)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onErrorBannerClose(l){this.errors=this.errors?.filter(a=>a!=l)}onSuccessBannerClose(){this.success=!1}}rn.\u0275fac=function(l){return new(l||rn)(t.Y36(N.a))},rn.\u0275cmp=t.Xpm({type:rn,selectors:[["cvc-flag-list"]],inputs:{flags:"flags",flagResolvedCallback:"flagResolvedCallback"},decls:6,vars:4,consts:[["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["nzTitle","Flags",1,"card-list"],[4,"ngIf","ngIfElse"],["noFlags",""],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzDirection","vertical"],[4,"ngFor","ngForOf"],["nzType","inner",3,"nzTitle","nzExtra",4,"nzSpaceItem"],["nzType","inner",3,"nzTitle","nzExtra"],[3,"commentBodySegments",4,"ngIf"],["flagResolved",""],["flagCardHeaderTitle",""],["flagCardHeaderExtra",""],[3,"commentBodySegments"],[3,"flag","flagResolvedCallback"],["nzSpan","16"],[4,"ngIf"],["nzSpan","8","nz-typography","","nzType","secondary",2,"text-align","right"],[3,"user",4,"ngIf"],[3,"user"],["nz-icon","","nzTheme","twotone","nzType","civic-flag",3,"nzTwotoneColor"],["nzSize","small"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-typography","","nzType","secondary"],[3,"status"],["nzNotFoundImage","simple","nzNotFoundContent","No Flags matching filters"]],template:function(l,a){if(1&l&&(t.YNc(0,Bn,1,1,"nz-alert",0),t.YNc(1,wn,1,1,"nz-alert",1),t.TgZ(2,"nz-card",2),t.YNc(3,nt,3,1,"ng-container",3),t.YNc(4,tt,1,0,"ng-template",null,4,t.W1O),t.qZA()),2&l){const m=t.MAs(5);t.Q6J("ngForOf",a.errors),t.xp6(1),t.Q6J("ngIf",a.success),t.xp6(2),t.Q6J("ngIf",a.flags&&a.flags.length>0)("ngIfElse",m)}},dependencies:[d.sg,d.O5,b.t3,b.SK,v.bd,D.NU,D.$1,H.ZU,vn.p9,zn.g,dn.Ls,Cn.I,xn.h,R.w,J.r,ln,Un.m,Dn.a,$n.x],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]});var et=o(8747),it=o(4383);const gn=function(){return[]};function ot(_,l){if(1&_&&(t._UZ(0,"cvc-flag-list",13),t.ALo(1,"ngrxPush")),2&_){const a=t.oxw(2);t.Q6J("flags",t.lcZ(1,2,a.flags$)||t.DdM(4,gn))("flagResolvedCallback",a.refresh)}}function st(_,l){if(1&_){const a=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(a);const x=t.oxw(2).ngrxLet,Q=t.oxw(2);return t.KtG(Q.loadMore(null==x?null:x.endCursor))}),t._uU(1," Load More "),t.qZA()}}function at(_,l){1&_&&(t.ynx(0),t.YNc(1,st,2,0,"button",15),t.BQk())}function _t(_,l){if(1&_&&(t.ynx(0),t.YNc(1,at,2,0,"ng-container",14),t.BQk()),2&_){const a=l.ngrxLet;t.xp6(1),t.Q6J("ngIf",a&&(null==a?null:a.hasNextPage)&&a.endCursor)}}function ct(_,l){if(1&_&&t._UZ(0,"cvc-flag-add-form",17),2&_){const a=t.oxw(2);t.Q6J("flaggable",a.flaggable)("flagAddedCallback",a.refresh)}}function lt(_,l){if(1&_&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&_){const a=l.$implicit;t.xp6(1),t.Oqu(a.displayName)}}function rt(_,l){if(1&_&&t._UZ(0,"nz-avatar",20),2&_){const a=t.oxw().$implicit;t.Q6J("nzSrc",a.profileImagePath)}}function pt(_,l){if(1&_&&(t._UZ(0,"nz-avatar",21),t.ALo(1,"uppercase")),2&_){const a=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,a.username.charAt(0)))}}function gt(_,l){if(1&_&&(t.YNc(0,rt,1,1,"nz-avatar",18),t.YNc(1,pt,2,3,"ng-template",null,19,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&_){const a=l.$implicit,m=t.MAs(2);t.Q6J("ngIf",a.profileImagePath)("ngIfElse",m),t.xp6(4),t.Oqu(a.username)}}function mt(_,l){if(1&_&&t._UZ(0,"nz-avatar",20),2&_){const a=t.oxw().$implicit;t.Q6J("nzSrc",a.profileImagePath)}}function ft(_,l){if(1&_&&(t._UZ(0,"nz-avatar",21),t.ALo(1,"uppercase")),2&_){const a=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,a.username.charAt(0)))}}function dt(_,l){if(1&_&&(t.YNc(0,mt,1,1,"nz-avatar",18),t.YNc(1,ft,2,3,"ng-template",null,19,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&_){const a=l.$implicit,m=t.MAs(2);t.Q6J("ngIf",a.profileImagePath)("ngIfElse",m),t.xp6(4),t.Oqu(a.username)}}function ut(_,l){if(1&_){const a=t.EpF();t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),t.YNc(4,ot,2,5,"cvc-flag-list",5),t.YNc(5,_t,2,1,"ng-container",6),t.YNc(6,ct,1,2,"cvc-flag-add-form",7),t.qZA()(),t.TgZ(7,"nz-col",8)(8,"cvc-participant-list",9),t.NdJ("participantSelectedEvent",function(x){t.CHM(a);const Q=t.oxw();return t.KtG(Q.onStateSelected(x))}),t.YNc(9,lt,2,1,"ng-template",null,10,t.W1O),t.qZA(),t.TgZ(11,"cvc-participant-list",11),t.NdJ("participantSelectedEvent",function(x){t.CHM(a);const Q=t.oxw();return t.KtG(Q.onFlaggingUsersSelected(x))}),t.ALo(12,"ngrxPush"),t.YNc(13,gt,5,3,"ng-template",null,10,t.W1O),t.qZA(),t.TgZ(15,"cvc-participant-list",12),t.NdJ("participantSelectedEvent",function(x){t.CHM(a);const Q=t.oxw();return t.KtG(Q.onResolvingUsersSelected(x))}),t.ALo(16,"ngrxPush"),t.YNc(17,dt,5,3,"ng-template",null,10,t.W1O),t.qZA()()(),t.BQk()}if(2&_){const a=t.oxw();t.xp6(1),t.Q6J("nzGutter",16),t.xp6(4),t.Q6J("ngrxLet",a.pageInfo$),t.xp6(3),t.Q6J("preselectedOption",a.selectableStates[0])("participantList",a.selectableStates),t.xp6(3),t.Q6J("participantList",t.lcZ(12,6,a.uniqueFlaggingUsers$)||t.DdM(10,gn)),t.xp6(4),t.Q6J("participantList",t.lcZ(16,8,a.uniqueResolvingUsers$)||t.DdM(11,gn))}}function vt(_,l){if(1&_&&t._UZ(0,"cvc-flag-add-form",17),2&_){const a=t.oxw();t.Q6J("flaggable",a.flaggable)("flagAddedCallback",a.refresh)}}class pn{constructor(l){this.gql=l,this.defaultPageSize=5,this.selectableStates=[{id:1,displayName:"Open",value:r.BQZ.Open},{id:2,displayName:"Resolved",value:r.BQZ.Resolved}]}ngOnInit(){if(null==this.flaggable)throw new Error("Must pass a flaggable into flag list");this.queryRef=this.gql.watch({first:this.defaultPageSize,flaggable:this.flaggable,state:r.BQZ.Open}),this.refresh=()=>{this.queryRef.refetch()},this.results$=this.queryRef.valueChanges,this.flags$=this.results$.pipe((0,h.j)("data","flags","edges"),(0,c.h)(n.ep),(0,L.U)(l=>l.map(a=>a.node))),this.pageInfo$=this.results$.pipe((0,h.j)("data","flags","pageInfo")),this.unfilteredCount$=this.results$.pipe((0,h.j)("data","flags","unfilteredCountForSubject")),this.uniqueFlaggingUsers$=this.results$.pipe((0,L.U)(({data:l})=>l.flags?.uniqueFlaggingUsers)),this.uniqueResolvingUsers$=this.results$.pipe((0,L.U)(({data:l})=>l.flags?.uniqueResolvingUsers))}onFlaggingUsersSelected(l){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},flaggingUserId:l?l.id:void 0})}onResolvingUsersSelected(l){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},resolvingUserId:l?l.id:void 0})}onStateSelected(l){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},state:l?l.value:void 0})}loadMore(l){this.queryRef?.fetchMore({variables:{first:this.defaultPageSize,after:l}})}}pn.\u0275fac=function(l){return new(l||pn)(t.Y36(r.rzy))},pn.\u0275cmp=t.Xpm({type:pn,selectors:[["cvc-flag-list-and-filter"]],inputs:{flaggable:"flaggable"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noFlags",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical"],[3,"flags","flagResolvedCallback",4,"nzSpaceItem"],[4,"ngrxLet"],[3,"flaggable","flagAddedCallback",4,"nzSpaceItem"],["nzSpan","6"],["listTitle","Flag State",3,"preselectedOption","participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Flagging Users",3,"participantList","participantSelectedEvent"],["listTitle","Resolving Users",3,"participantList","participantSelectedEvent"],[3,"flags","flagResolvedCallback"],[4,"ngIf"],["nz-button","","nzBlock","","nzType","default",3,"click",4,"nzSpaceItem"],["nz-button","","nzBlock","","nzType","default",3,"click"],[3,"flaggable","flagAddedCallback"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"]],template:function(l,a){if(1&l&&(t.YNc(0,ut,19,12,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,vt,1,2,"ng-template",null,1,t.W1O)),2&l){const m=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,a.unfilteredCount$))("ngIfElse",m)}},dependencies:[d.O5,y.eJ,O.ix,R.w,F.dQ,b.t3,b.SK,U,rn,et.l,it.Dz,D.NU,D.$1,d.gd,y.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]})},4271:(w,M,o)=>{o.d(M,{M:()=>U});var r=o(6895),c=o(2635),L=o(8521),h=o(7345),n=o(1971),t=o(6704),d=o(6152),y=o(4006),O=o(1825),R=o(6616),F=o(4375),b=o(9597),I=o(7570),S=o(9444),E=o(4509),N=o(5681),Z=o(4650);class f{}f.\u0275fac=function(H){return new(H||f)},f.\u0275mod=Z.oAB({type:f}),f.\u0275inj=Z.cJS({imports:[r.ez,y.u5,y.UX,c._N,c.pP,t.U5,R.sL,n.vh,b.L,I.cg,N.j,O.A,F.R,S.s,E.w]});var u=o(8909),v=o(8845),J=o(3973),P=o(592),K=o(2811),$=o(701),B=o(8645),z=o(7043),C=o(6581),A=o(1102);class Y{}Y.\u0275fac=function(H){return new(H||Y)},Y.\u0275mod=Z.oAB({type:Y}),Y.\u0275inj=Z.cJS({imports:[r.ez,y.UX,c._N,c.pP,R.sL,t.U5,y.u5,b.L,n.vh,C.$6,A.PV,I.cg,N.j,E.w,F.R,O.A]});var q=o(4383),nn=o(8213),tn=o(2577),en=o(4788),V=o(3679),on=o(5635),j=o(6903),sn=o(6672),an=o(8823);class W{}W.\u0275fac=function(H){return new(H||W)},W.\u0275mod=Z.oAB({type:W}),W.\u0275inj=Z.cJS({imports:[r.ez,V.Jb,d.Ph,n.vh,j.zf,sn.X,an.ZJ,q.Rt,en.Xo,nn.Wr,tn.S,I.cg,d.Ph,C.$6,A.PV,on.o7,y.u5,O.A,K.s,h.W,v.Q,$.N,J.y,z.Q,B.M,P.x,S.s,R.sL,b.L,c._N,c.pP,Y,tn.S,u.m]});var G=o(1150);class U{}U.\u0275fac=function(H){return new(H||U)},U.\u0275mod=Z.oAB({type:U}),U.\u0275inj=Z.cJS({imports:[r.ez,y.u5,c._N,c.pP,R.sL,t.U5,L.aF,R.sL,h.W,d.Ph,n.vh,f,W,en.Xo,G.N,q.Rt,j.zf,S.s]})},8168:(w,M,o)=>{o.d(M,{Y:()=>c});var r=o(4650);class c{constructor(){}}c.\u0275fac=function(h){return new(h||c)},c.\u0275dir=r.lG2({type:c,selectors:[["","cvcFlaggableOptions",""]]})},5623:(w,M,o)=>{o.d(M,{o:()=>Z});var r=o(4650),c=o(8168),L=o(6895),h=o(9116),n=o(1102),t=o(48),d=o(7570);function O(f,u){1&f&&r.Hsn(0)}function R(f,u){1&f&&r.GkF(0)}function F(f,u){if(1&f&&(r.ynx(0),r.YNc(1,R,1,0,"ng-container",2),r.BQk()),2&f){r.oxw();const v=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",v)}}function b(f,u){if(1&f&&(r.TgZ(0,"a",6),r._UZ(1,"i",7),r.qZA()),2&f){r.oxw();const v=r.MAs(5);r.xp6(1),r.Q6J("nzTooltipTitle",v)}}function I(f,u){if(1&f&&r._uU(0),2&f){const v=r.oxw(2);r.hij(" ",v.flags," open flags ")}}function S(f,u){1&f&&r.GkF(0)}function E(f,u){if(1&f&&(r.ynx(0),r.TgZ(1,"nz-ribbon",3),r.YNc(2,b,2,1,"ng-template",null,4,r.W1O),r.YNc(4,I,1,1,"ng-template",null,5,r.W1O),r.YNc(6,S,1,0,"ng-container",2),r.qZA(),r.BQk()),2&f){const v=r.MAs(3);r.oxw();const J=r.MAs(1);r.xp6(1),r.Q6J("nzText",v),r.xp6(5),r.Q6J("ngTemplateOutlet",J)}}class Z{constructor(u){this.renderer=u}ngOnChanges(){this.flags&&0===this.flags?this.removeFlagged():this.addFlagged()}ngAfterViewInit(){this.flags&&0===this.flags?this.removeFlagged():this.addFlagged()}addFlagged(){this.flaggedChild&&this.renderer.addClass(this.flaggedChild.nativeElement,"flaggedChild")}removeFlagged(){this.flaggedChild&&this.renderer.removeClass(this.flaggedChild.nativeElement,"flaggedChild")}}Z.\u0275fac=function(u){return new(u||Z)(r.Y36(r.Qsj))},Z.\u0275cmp=r.Xpm({type:Z,selectors:[["","cvcFlaggable",""]],contentQueries:function(u,v,J){if(1&u&&r.Suo(J,c.Y,5,r.SBq),2&u){let P;r.iGM(P=r.CRH())&&(v.flaggedChild=P.first)}},inputs:{flags:"flags",entity:"entity"},features:[r.TTD],attrs:["cvcFlaggable",""],ngContentSelectors:["*"],decls:4,vars:2,consts:[["flaggedContent",""],[4,"ngIf"],[4,"ngTemplateOutlet"],["nzPlacement","start","nzColor","#ff3333",3,"nzText"],["flaggedText",""],["flaggedTooltip",""],["routerLink","flags",2,"color","#fff"],["nz-icon","","nzType","flag","nzTheme","fill","nz-tooltip","","nzTooltipPlacement","top","nzTooltipColor","#FF3333",3,"nzTooltipTitle"]],template:function(u,v){1&u&&(r.F$t(),r.YNc(0,O,1,0,"ng-template",null,0,r.W1O),r.YNc(2,F,2,1,"ng-container",1),r.YNc(3,E,7,2,"ng-container",1)),2&u&&(r.xp6(2),r.Q6J("ngIf",0===v.flags),r.xp6(1),r.Q6J("ngIf",v.flags))},dependencies:[L.O5,L.tP,h.rH,n.Ls,t.F9,d.SY],encapsulation:2})},4682:(w,M,o)=>{o.d(M,{m:()=>y});var r=o(6895),c=o(7570),L=o(8823),h=o(48),n=o(1102),t=o(9116),d=o(4650);class y{}y.\u0275fac=function(R){return new(R||y)},y.\u0275mod=d.oAB({type:y}),y.\u0275inj=d.cJS({imports:[r.ez,t.Bz,n.PV,h.mS,c.cg,L.ZJ]})},6059:(w,M,o)=>{o.d(M,{i:()=>G});var r=o(6895),c=o(1971),L=o(6152),h=o(3679),n=o(4650);class t{}t.\u0275fac=function(D){return new(D||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[r.ez,h.Jb]});var d=o(2322),y=o(2811),O=o(6903),R=o(1825),F=o(6672),b=o(8823),I=o(4383),S=o(7345),E=o(8845),N=o(3973),Z=o(7043),f=o(8645),u=o(9054),v=o(4788),J=o(592),P=o(8213),K=o(2577),$=o(7570),B=o(6616),z=o(9597),C=o(2635),A=o(1102),Y=o(6581),q=o(5635),nn=o(4006),tn=o(9444),en=o(9194),V=o(4509),on=o(8909),j=o(9460),sn=o(701),an=o(4126),W=o(1229);class G{}G.\u0275fac=function(D){return new(D||G)},G.\u0275mod=n.oAB({type:G}),G.\u0275inj=n.cJS({imports:[r.ez,h.Jb,L.Ph,c.vh,O.zf,F.X,b.ZJ,I.Rt,v.Xo,P.Wr,K.S,$.cg,L.Ph,Y.$6,A.PV,q.o7,en.q6,K.S,nn.u5,R.A,d.C,W.U,y.s,t,S.W,E.Q,sn.N,N.y,Z.Q,j.i,f.M,J.x,V.w,an.u,tn.s,on.m,u.cD,B.sL,z.L,C._N,C.pP]})},3770:(w,M,o)=>{o.d(M,{a:()=>fn});var r=o(7630),c=o(4004),L=o(8675),h=o(6579),n=o(4650),t=o(9116),d=o(6895),y=o(2635),O=o(3679),R=o(6903),F=o(6672),b=o(4383),I=o(4788),S=o(6616),E=o(7044),N=o(1664),Z=o(1102),f=o(8747),u=o(7579),v=o(6123),J=o(2722),P=o(9350),K=o(9169),$=o(6152),B=o(1971),z=o(8823),C=o(8213),A=o(2577),Y=o(7570),q=o(6581),nn=o(9194),tn=o(1793),en=o(8227);class V{transform(s){return s?s.replace(/([a-z])([A-Z])/g,"$1 $2"):""}}V.\u0275fac=function(s){return new(s||V)},V.\u0275pipe=n.Yjl({name:"camelToWords",type:V,pure:!0});const on=["itemTemplate"],j=function(e){return{$implicit:e}};function sn(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,p=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",p.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,j,i))}}function an(e,s){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function W(e,s){if(1&e&&(n.TgZ(0,"nz-list-item",9),n.YNc(1,sn,3,4,"ng-container",10),n.YNc(2,an,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",p)}}function G(e,s){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw();n.MGl("nzNoResult","No ",i.entityType,"")}}function U(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,p=n.oxw(3);n.xp6(2),n.Q6J("ngTemplateOutlet",p.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,j,i))}}function D(e,s){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function H(e,s){if(1&e&&(n.TgZ(0,"nz-list-item",17),n.YNc(1,U,3,4,"ng-container",10),n.YNc(2,D,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",p)}}function vn(e,s){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw(3);n.MGl("nzNoResult","No ",i.entityType," Removed")}}function zn(e,s){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,H,4,2,"nz-list-item",16),n.YNc(2,vn,1,1,"nz-list-empty",4),n.qZA()),2&e){const i=n.oxw(2);n.MGl("nzHeader","Removed ",i.entityType,""),n.xp6(1),n.Q6J("ngForOf",i.diffObject.removedObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.removedObjects.length)}}function dn(e,s){1&e&&(n.ynx(0),n.YNc(1,zn,3,3,"nz-list",7),n.BQk())}function Cn(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,p=n.oxw(2);n.xp6(2),n.Q6J("ngTemplateOutlet",p.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,j,i))}}function xn(e,s){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function Tn(e,s){if(1&e&&(n.TgZ(0,"nz-list-item",19),n.YNc(1,Cn,3,4,"ng-container",10),n.YNc(2,xn,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",p)}}function hn(e,s){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw(2);n.MGl("nzNoResult","No ",i.entityType," Added")}}function yn(e,s){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,Tn,4,2,"nz-list-item",18),n.YNc(2,hn,1,1,"nz-list-empty",4),n.qZA()),2&e){const i=n.oxw();n.MGl("nzHeader","Added ",i.entityType,""),n.xp6(1),n.Q6J("ngForOf",i.diffObject.addedObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.addedObjects.length)}}function Rn(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,p=n.oxw(3);n.xp6(2),n.Q6J("ngTemplateOutlet",p.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,j,i))}}function On(e,s){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function An(e,s){if(1&e&&(n.TgZ(0,"nz-list-item",21),n.YNc(1,Rn,3,4,"ng-container",10),n.YNc(2,On,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",p)}}function Zn(e,s){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw(3);n.MGl("nzNoResult","No ",i.entityType," Kept")}}function Ln(e,s){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,An,4,2,"nz-list-item",20),n.YNc(2,Zn,1,1,"nz-list-empty",4),n.qZA()),2&e){const i=n.oxw(2);n.MGl("nzHeader","Kept ",i.entityType,""),n.xp6(1),n.Q6J("ngForOf",i.diffObject.keptObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.keptObjects.length)}}function bn(e,s){1&e&&(n.ynx(0),n.YNc(1,Ln,3,3,"nz-list",7),n.BQk())}function Fn(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,p=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",p.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,j,i))}}function Mn(e,s){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function En(e,s){if(1&e&&(n.TgZ(0,"nz-list-item",22),n.YNc(1,Fn,3,4,"ng-container",10),n.YNc(2,Mn,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",p)}}function Sn(e,s){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw();n.MGl("nzNoResult","No ",i.entityType,"")}}class _n{constructor(){}ngOnInit(){if(void 0===this.diffObject)throw new Error("Must specify a diffObject.");if(void 0===this.entityType)throw new Error("Must specify an entityType.")}}_n.\u0275fac=function(s){return new(s||_n)},_n.\u0275cmp=n.Xpm({type:_n,selectors:[["cvc-revision-list-diff"]],contentQueries:function(s,i,p){if(1&s&&n.Suo(p,on,5),2&s){let g;n.iGM(g=n.CRH())&&(i.itemTemplateRef=g.first)}},inputs:{diffObject:"diffObject",entityType:"entityType"},decls:14,vars:12,consts:[[3,"nzGutter"],[3,"nzSpan"],["nzBordered","","nzType","inner","nzSize","small",3,"nzHeader"],["ngClass","current",4,"ngFor","ngForOf"],[3,"nzNoResult",4,"ngIf"],["nzDirection","vertical"],[4,"ngIf"],["nzBordered","","nzType","inner","nzSize","small",3,"nzHeader",4,"nzSpaceItem"],["ngClass","suggested",4,"ngFor","ngForOf"],["ngClass","current"],[4,"ngIf","ngIfElse"],["deleted",""],["nz-typography",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nzColor","error"],[3,"nzNoResult"],["ngClass","removed",4,"ngFor","ngForOf"],["ngClass","removed"],["ngClass","added",4,"ngFor","ngForOf"],["ngClass","added"],["ngClass","kept",4,"ngFor","ngForOf"],["ngClass","kept"],["ngClass","suggested"]],template:function(s,i){1&s&&(n.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"nz-list",2),n.YNc(3,W,4,2,"nz-list-item",3),n.YNc(4,G,1,1,"nz-list-empty",4),n.qZA()(),n.TgZ(5,"nz-col",1)(6,"nz-space",5),n.YNc(7,dn,2,0,"ng-container",6),n.YNc(8,yn,3,3,"nz-list",7),n.YNc(9,bn,2,0,"ng-container",6),n.qZA()(),n.TgZ(10,"nz-col",1)(11,"nz-list",2),n.YNc(12,En,4,2,"nz-list-item",8),n.YNc(13,Sn,1,1,"nz-list-empty",4),n.qZA()()()),2&s&&(n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(1),n.MGl("nzHeader","Original ",i.entityType," List"),n.xp6(1),n.Q6J("ngForOf",i.diffObject.currentObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.currentObjects.length),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.Q6J("ngIf",i.diffObject.currentObjects.length>0),n.xp6(2),n.Q6J("ngIf",i.diffObject.currentObjects.length>0),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(1),n.MGl("nzHeader","Revised ",i.entityType," List"),n.xp6(1),n.Q6J("ngForOf",i.diffObject.suggestedObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.suggestedObjects.length))},dependencies:[d.mk,d.sg,d.O5,d.tP,$.n_,$.I2,$.AA,O.t3,O.SK,F.j,R.NU,R.$1,V],styles:["[_nghost-%COMP%]{display:block}nz-list[_ngcontent-%COMP%] .kept[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .added[_ngcontent-%COMP%]{background-color:#f6ffed;color:#135200}nz-list[_ngcontent-%COMP%] .removed[_ngcontent-%COMP%]{background-color:#fff1f0;color:#820014}nz-list[_ngcontent-%COMP%] .suggested[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-space[_ngcontent-%COMP%]{width:100%}"]});var Nn=o(3965),Qn=o(783);class cn{constructor(){}ngOnInit(){if(void 0===this.left)throw new Error("Must provide a left side of the diff.");if(void 0===this.right)throw new Error("Must provide a right side of the diff.");if(void 0===this.entityType)throw new Error("Must provide a diff.")}}cn.\u0275fac=function(s){return new(s||cn)},cn.\u0275cmp=n.Xpm({type:cn,selectors:[["cvc-revision-value-diff"]],inputs:{currentValue:"currentValue",suggestedValue:"suggestedValue",left:"left",right:"right",entityType:"entityType"},decls:15,vars:10,consts:[[3,"nzGutter"],[3,"nzSpan"],[3,"innerHtml"],[1,"diff","suggested"],[1,"background"]],template:function(s,i){1&s&&(n.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"h4"),n._uU(3),n.qZA(),n._UZ(4,"div",2),n.qZA(),n.TgZ(5,"nz-col",1)(6,"h4"),n._uU(7),n.qZA(),n._UZ(8,"div",2),n.qZA(),n.TgZ(9,"nz-col",1)(10,"h4"),n._uU(11),n.qZA(),n.TgZ(12,"div",3)(13,"div",4),n._uU(14),n.qZA()()()()),2&s&&(n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("Original ",i.entityType,""),n.xp6(1),n.Q6J("innerHtml",i.left,n.oJD),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("",i.entityType," Diff"),n.xp6(1),n.Q6J("innerHtml",i.right,n.oJD),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("Revised ",i.entityType,""),n.xp6(3),n.hij(" ",i.suggestedValue," "))},dependencies:[O.t3,O.SK],styles:[":host{display:block}.diff{overflow:auto;width:100%}.diff .background{padding:4px 8px}.diff.insertions .background{background:#f6ffed;color:#237804}.diff.deletions .background{background:#fff1f0;color:#a8071a}.diff.suggested .background,.diff.original .background{background:#f0f5ff;color:#10239e}.diff del,.diff ins{text-decoration:none}.diff del strong{font-weight:400;background:#fcc}.diff ins strong{font-weight:400;background:#9f9}.diff .del{font-weight:400;background:#fee;color:#b00}.diff .ins{font-weight:400;background:#dfd;color:#080}ul{list-style:none}\n"],encapsulation:2});var In=o(125),Jn=o(7491),Pn=o(5797),Yn=o(3172),ln=o(5457),Un=o(2268),Dn=o(7701),$n=o(4590),Bn=o(9383),wn=o(5105),jn=o(7948),un=o(9054),Wn=o(9597),Gn=o(2338),Kn=o(160),Vn=o(5083);function Hn(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"nz-alert",4),n.NdJ("nzOnClose",function(){const T=n.CHM(i).$implicit,X=n.oxw();return n.KtG(X.onErrorBannerClose(T))}),n.qZA()}2&e&&n.Q6J("nzMessage",s.$implicit)}function kn(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"nz-alert",5),n.NdJ("nzOnClose",function(){n.CHM(i);const g=n.oxw();return n.KtG(g.onSuccessBannerClose())}),n.qZA()}if(2&e){const i=n.oxw();n.MGl("nzMessage","Revision(s) successfully ",i.success,".")}}const k=function(e,s,i){return{id:e,name:s,link:i}};function qn(e,s){if(1&e&&n._UZ(0,"cvc-gene-tag",20),2&e){const i=s.$implicit;n.Q6J("gene",n.kEZ(1,k,i.id,i.displayName,i.link))}}function Xn(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",18),n.YNc(2,qn,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function nt(e,s){1&e&&n._UZ(0,"cvc-source-tag",22),2&e&&n.Q6J("source",s.$implicit)}function tt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",21),n.YNc(2,nt,1,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function rn(e,s){if(1&e&&n._UZ(0,"cvc-disease-tag",24),2&e){const i=s.$implicit;n.Q6J("disease",n.kEZ(1,k,i.id,i.displayName,i.link))}}function et(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",23),n.YNc(2,rn,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function it(e,s){if(1&e&&n._UZ(0,"cvc-molecular-profile-tag",26),2&e){const i=s.$implicit;n.Q6J("molecularProfile",n.kEZ(1,k,i.id,i.displayName,i.link))}}function gn(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",25),n.YNc(2,it,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ot(e,s){if(1&e&&n._UZ(0,"cvc-therapy-tag",28),2&e){const i=s.$implicit;n.Q6J("therapy",n.kEZ(1,k,i.id,i.displayName,i.link))}}function st(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",27),n.YNc(2,ot,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function at(e,s){if(1&e&&n._UZ(0,"cvc-therapy-tag",28),2&e){const i=s.$implicit;n.Q6J("therapy",n.kEZ(1,k,i.id,i.displayName,i.link))}}function _t(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",27),n.YNc(2,at,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ct(e,s){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function lt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",29),n.YNc(2,ct,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function rt(e,s){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function pt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",30),n.YNc(2,rt,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function gt(e,s){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function mt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",31),n.YNc(2,gt,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ft(e,s){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function dt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",32),n.YNc(2,ft,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ut(e,s){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function vt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",33),n.YNc(2,ut,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function pn(e,s){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function _(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",34),n.YNc(2,pn,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function l(e,s){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function a(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",35),n.YNc(2,l,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function m(e,s){if(1&e&&n._UZ(0,"cvc-variant-type-tag",37),2&e){const i=s.$implicit;n.Q6J("variantType",n.kEZ(1,k,i.id,i.displayName,i.link))}}function x(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",36),n.YNc(2,m,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function Q(e,s){if(1&e&&n._UZ(0,"cvc-phenotype-tag",39),2&e){const i=s.$implicit;n.Q6J("phenotype",n.kEZ(1,k,i.id,i.displayName,i.link))}}function zt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",38),n.YNc(2,Q,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function Tt(e,s){if(1&e&&n._UZ(0,"cvc-variant-tag",41),2&e){const i=s.$implicit;n.Q6J("variant",n.kEZ(1,k,i.id,i.displayName,i.link))}}function ht(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",40),n.YNc(2,Tt,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function yt(e,s){if(1&e&&n._UZ(0,"cvc-variant-tag",41),2&e){const i=s.$implicit;n.Q6J("variant",n.kEZ(1,k,i.id,i.displayName,i.link))}}function Rt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",42),n.YNc(2,yt,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function Ot(e,s){1&e&&n._UZ(0,"cvc-source-tag",22),2&e&&n.Q6J("source",s.$implicit)}function At(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",43),n.YNc(2,Ot,1,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}const Zt=function(e,s,i,p){return{id:e,name:s,link:i,status:p}};function Lt(e,s){if(1&e&&n._UZ(0,"cvc-evidence-tag",45),2&e){const i=s.$implicit;n.Q6J("evidence",n.l5B(1,Zt,i.id,i.displayName,i.link,i.status))}}function bt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",44),n.YNc(2,Lt,1,6,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function Ft(e,s){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-revision-value-diff",46),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("currentValue",i.currentValue)("suggestedValue",i.suggestedValue)("left",i.linkoutData.diffValue.left)("right",i.linkoutData.diffValue.right)("entityType",i.linkoutData.name)}}function Mt(e,s){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-comment-body",50),n.BQk()),2&e){const i=n.oxw(2).$implicit;n.xp6(1),n.Q6J("commentBodySegments",i.resolutionComment.parsedComment)}}function Et(e,s){if(1&e&&n._UZ(0,"cvc-user-tag",51),2&e){const i=n.oxw(2).$implicit;n.Q6J("user",i.resolver)}}function St(e,s){if(1&e&&(n.ynx(0),n._UZ(1,"nz-divider"),n.TgZ(2,"nz-row")(3,"nz-col",47),n.YNc(4,Mt,2,1,"ng-container",15),n.qZA(),n.TgZ(5,"nz-col",48),n._uU(6),n.ALo(7,"enumToTitle"),n.YNc(8,Et,1,1,"cvc-user-tag",49),n._uU(9),n.ALo(10,"timeAgo"),n.qZA()(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(4),n.Q6J("ngIf",i.resolutionComment),n.xp6(2),n.hij(" ",n.lcZ(7,4,i.status)," By "),n.xp6(2),n.Q6J("ngIf",void 0!==i.resolver),n.xp6(1),n.hij(" ",n.lcZ(10,6,i.resolvedAt)," ")}}function Nt(e,s){if(1&e&&(n.TgZ(0,"span"),n._UZ(1,"i",53),n.ALo(2,"entityColor"),n._uU(3),n.TgZ(4,"span"),n._uU(5),n.qZA()()),2&e){const i=n.oxw(2).$implicit;n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,3,"Revision")),n.xp6(2),n.hij(" RID",i.id," "),n.xp6(2),n.hij("",i.linkoutData.name," Updated")}}function Qt(e,s){if(1&e&&n._UZ(0,"i",56),2&e){n.oxw();const i=n.MAs(3);n.Q6J("nzPopoverContent",i)}}function It(e,s){if(1&e&&n._UZ(0,"cvc-comment-body",50),2&e){const i=n.oxw(3).$implicit;n.Q6J("commentBodySegments",i.creationComment.parsedComment)}}function Jt(e,s){1&e&&(n.ynx(0),n.YNc(1,Qt,1,1,"i",54),n.YNc(2,It,1,1,"ng-template",null,55,n.W1O),n.BQk())}function Pt(e,s){if(1&e&&(n.TgZ(0,"nz-space"),n.YNc(1,Nt,6,5,"span",52),n.YNc(2,Jt,4,0,"ng-container",15),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(2),n.Q6J("ngIf",i.creationComment)}}function Yt(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"span",63),n._uU(2,"Submitted By"),n.qZA(),n._UZ(3,"cvc-user-tag",51),n.BQk()),2&e){const i=n.oxw(3).$implicit;n.xp6(3),n.Q6J("user",i.revisor)}}function Ut(e,s){1&e&&(n.TgZ(0,"span",63),n._uU(1,"Submitted"),n.qZA())}function Dt(e,s){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Yt,4,1,"ng-container",61),n.YNc(2,Ut,2,0,"ng-template",null,62,n.W1O),n.TgZ(4,"span",63),n._uU(5),n.ALo(6,"timeAgo"),n.qZA()()),2&e){const i=n.MAs(3),p=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",p.revisor)("ngIfElse",i),n.xp6(4),n.Oqu(n.lcZ(6,3,p.createdAt))}}function $t(e,s){if(1&e&&n._UZ(0,"cvc-status-tag",64),2&e){const i=n.oxw(2).$implicit;n.Q6J("status",i.status)}}function Bt(e,s){1&e&&n._UZ(0,"nz-divider",65)}function wt(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"a",66),n.NdJ("click",function(){n.CHM(i);const g=n.oxw(2).$implicit,T=n.oxw(3);return n.KtG(T.onChangesetSelected(g.revisionSetId))}),n._uU(1,"Show Group"),n.qZA()}}function jt(e,s){1&e&&n._UZ(0,"nz-divider",65)}function Wt(e,s){1&e&&n._UZ(0,"label",69),2&e&&n.Q6J("nzDisabled",!0)}function Gt(e,s){1&e&&n._UZ(0,"label",72),2&e&&n.Q6J("nzDisabled",!0)}function Kt(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"label",73),n.NdJ("nzCheckedChange",function(g){n.CHM(i);const T=n.oxw(5).$implicit,X=n.oxw(3);return n.KtG(X.onRevisionCheckboxClicked(g,T.id))}),n.qZA()}}function Vt(e,s){if(1&e&&(n.YNc(0,Gt,1,1,"label",70),n.YNc(1,Kt,1,0,"ng-template",null,71,n.W1O)),2&e){const i=n.MAs(2),p=n.oxw(4).$implicit,g=n.oxw(2).ngrxLet;n.Q6J("ngIf",g.isCurator&&g.id!=(null==p.revisor?null:p.revisor.id))("ngIfElse",i)}}function Ht(e,s){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Wt,1,1,"label",67),n.YNc(2,Vt,3,2,"ng-template",null,68,n.W1O),n.qZA()),2&e){const i=n.MAs(3),p=n.oxw(5).ngrxLet;n.xp6(1),n.Q6J("ngIf",!p.signedIn)("ngIfElse",i)}}function kt(e,s){1&e&&(n.ynx(0),n.YNc(1,jt,1,0,"nz-divider",59),n.YNc(2,Ht,4,2,"span",52),n.BQk())}function qt(e,s){if(1&e&&(n.TgZ(0,"nz-space",57),n.NdJ("click",function(p){return p.stopPropagation()}),n.YNc(1,Dt,7,5,"span",52),n.YNc(2,$t,1,1,"cvc-status-tag",58),n.YNc(3,Bt,1,0,"nz-divider",59),n.YNc(4,wt,2,0,"a",60),n.YNc(5,kt,3,0,"ng-container",15),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(5),n.Q6J("ngIf","NEW"===i.status)}}function Xt(e,s){if(1&e&&(n.TgZ(0,"nz-collapse-panel",11),n.ynx(1,12),n.YNc(2,Xn,4,1,"ng-container",13),n.YNc(3,tt,4,1,"ng-container",13),n.YNc(4,et,4,1,"ng-container",13),n.YNc(5,gn,4,1,"ng-container",13),n.YNc(6,st,4,1,"ng-container",13),n.YNc(7,_t,4,1,"ng-container",13),n.YNc(8,lt,4,1,"ng-container",13),n.YNc(9,pt,4,1,"ng-container",13),n.YNc(10,mt,4,1,"ng-container",13),n.YNc(11,dt,4,1,"ng-container",13),n.YNc(12,vt,4,1,"ng-container",13),n.YNc(13,_,4,1,"ng-container",13),n.YNc(14,a,4,1,"ng-container",13),n.YNc(15,x,4,1,"ng-container",13),n.YNc(16,zt,4,1,"ng-container",13),n.YNc(17,ht,4,1,"ng-container",13),n.YNc(18,Rt,4,1,"ng-container",13),n.YNc(19,At,4,1,"ng-container",13),n.YNc(20,bt,4,1,"ng-container",13),n.YNc(21,Ft,2,5,"ng-container",14),n.BQk(),n.YNc(22,St,11,8,"ng-container",15),n.YNc(23,Pt,3,1,"ng-template",null,16,n.W1O),n.YNc(25,qt,6,1,"ng-template",null,17,n.W1O),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(24),g=n.MAs(26);n.Q6J("nzHeader",p)("nzExtra",g)("nzActive",!0),n.xp6(1),n.Q6J("ngSwitch",i.fieldName),n.xp6(1),n.Q6J("ngSwitchCase","gene_id"),n.xp6(1),n.Q6J("ngSwitchCase","source_ids"),n.xp6(1),n.Q6J("ngSwitchCase","disease_id"),n.xp6(1),n.Q6J("ngSwitchCase","molecular_profile_id"),n.xp6(1),n.Q6J("ngSwitchCase","drug_ids"),n.xp6(1),n.Q6J("ngSwitchCase","therapy_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_alias_ids"),n.xp6(1),n.Q6J("ngSwitchCase","molecular_profile_alias_ids"),n.xp6(1),n.Q6J("ngSwitchCase","clinvar_entry_ids"),n.xp6(1),n.Q6J("ngSwitchCase","clingen_code_ids"),n.xp6(1),n.Q6J("ngSwitchCase","acmg_code_ids"),n.xp6(1),n.Q6J("ngSwitchCase","nccn_guideline_id"),n.xp6(1),n.Q6J("ngSwitchCase","hgvs_description_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_type_ids"),n.xp6(1),n.Q6J("ngSwitchCase","phenotype_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_id"),n.xp6(1),n.Q6J("ngSwitchCase","variant_ids"),n.xp6(1),n.Q6J("ngSwitchCase","source_id"),n.xp6(1),n.Q6J("ngSwitchCase","evidence_item_ids"),n.xp6(2),n.Q6J("ngIf","NEW"!==i.status)}}function ne(e,s){if(1&e&&(n.TgZ(0,"nz-collapse",9),n.YNc(1,Xt,27,24,"nz-collapse-panel",10),n.qZA()),2&e){const i=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",i.untypedRevisons)}}function te(e,s){1&e&&n._UZ(0,"nz-empty",74)}function ee(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",6),n.YNc(2,ne,2,1,"nz-collapse",7),n.YNc(3,te,1,0,"ng-template",null,8,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.MAs(4),p=n.oxw(),g=n.MAs(4);n.xp6(1),n.Q6J("nzExtra",g),n.xp6(1),n.Q6J("ngIf",p.revisions&&p.revisions.length>0)("ngIfElse",i)}}function ie(e,s){}function oe(e,s){1&e&&n.YNc(0,ie,0,0,"ng-template")}function se(e,s){if(1&e&&(n.ynx(0),n.YNc(1,oe,1,0,null,83),n.BQk()),2&e){n.oxw();const i=n.MAs(5);n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function ae(e,s){}function _e(e,s){1&e&&n.YNc(0,ae,0,0,"ng-template")}function ce(e,s){if(1&e&&(n.TgZ(0,"span",84),n.YNc(1,_e,1,0,null,83),n.qZA()),2&e){n.oxw();const i=n.MAs(5);n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function le(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"button",85),n.NdJ("nzPopoverVisibleChange",function(g){n.CHM(i);const T=n.oxw(7);return n.KtG(T.validationPopoverVisible=g)})("click",function(){n.CHM(i);const g=n.oxw(7);return n.KtG(g.validationPopoverVisible=!g.validationPopoverVisible)}),n._uU(1," Review Selected Revisions "),n._UZ(2,"i",86),n.qZA()}if(2&e){const i=n.oxw(2).ngrxLet,p=n.MAs(7),g=n.MAs(9),T=n.oxw(5);n.Q6J("nzPopoverTitle",p)("nzPopoverVisible",T.validationPopoverVisible)("nzPopoverContent",g)("nzPopoverTrigger",void 0)("disabled",0===T.selectedRevisionIds.length||!i.signedIn)}}function re(e,s){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,se,2,1,"ng-container",61),n.YNc(2,ce,2,1,"ng-template",null,81,n.W1O),n.YNc(4,le,3,5,"ng-template",null,82,n.W1O),n.qZA()),2&e){const i=n.MAs(3),p=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",p.signedIn)("ngIfElse",i)}}function pe(e,s){if(1&e&&n._UZ(0,"i",88),2&e){n.oxw(4);const i=n.MAs(3);n.Q6J("nzPopoverContent",i)}}function ge(e,s){1&e&&(n.ynx(0),n.YNc(1,pe,1,1,"i",87),n.BQk())}const me=function(){return{float:"right"}};function fe(e,s){if(1&e){const i=n.EpF();n._uU(0," Review Selected Revisions "),n.TgZ(1,"span",89)(2,"i",90),n.NdJ("click",function(){n.CHM(i);const g=n.oxw(6);return n.KtG(g.validationPopoverVisible=!1)}),n.qZA()()}2&e&&(n.xp6(1),n.Q6J("ngStyle",n.DdM(1,me)))}function de(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"cvc-comment-input-form",93),n.NdJ("commentChange",function(g){n.CHM(i);const T=n.oxw(7);return n.KtG(T.revisionComment=g)}),n.qZA()}if(2&e){const i=n.oxw(7);n.Q6J("comment",i.revisionComment)}}function ue(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"span")(1,"cvc-org-selector-btn-group",94),n.NdJ("selectedOrgChange",function(g){n.CHM(i);const T=n.oxw(8);return n.KtG(T.mostRecentOrg=g)}),n.TgZ(2,"button",95),n.NdJ("click",function(){n.CHM(i);const g=n.oxw(8);return n.KtG(g.onRejectRevisionsClicked())}),n._uU(3," Reject Revision "),n.qZA()()()}if(2&e){const i=n.oxw(8);n.xp6(1),n.Q6J("selectedOrg",i.mostRecentOrg),n.xp6(1),n.Q6J("nzLoading",i.isLoading)("disabled",void 0===i.revisionComment||i.revisionComment.length<10)}}function ve(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"span")(1,"cvc-org-selector-btn-group",94),n.NdJ("selectedOrgChange",function(g){n.CHM(i);const T=n.oxw(8);return n.KtG(T.mostRecentOrg=g)}),n.TgZ(2,"button",96),n.NdJ("click",function(){n.CHM(i);const g=n.oxw(8);return n.KtG(g.onAcceptRevisionClicked())}),n._uU(3," Accept Revision "),n.qZA()()()}if(2&e){const i=n.oxw(4).ngrxLet,p=n.oxw(4);n.xp6(1),n.Q6J("selectedOrg",p.mostRecentOrg),n.xp6(1),n.Q6J("nzLoading",p.isLoading)("disabled",!(0==i&&(void 0===p.revisionComment||""===p.revisionComment||p.revisionComment.length>=10)))}}function ze(e,s){if(1&e&&n._UZ(0,"i",98),2&e){n.oxw(6);const i=n.MAs(3);n.Q6J("nzPopoverContent",i)}}function Ce(e,s){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,ze,1,1,"i",97),n.qZA()),2&e){const i=n.oxw(4).ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&i>0)}}function xe(e,s){1&e&&(n.TgZ(0,"span")(1,"nz-space"),n.YNc(2,ue,4,3,"span",52),n.YNc(3,ve,4,3,"span",52),n.YNc(4,Ce,2,1,"span",52),n.qZA()())}function Te(e,s){1&e&&(n.TgZ(0,"nz-space",91),n.YNc(1,de,1,1,"cvc-comment-input-form",92),n.YNc(2,xe,5,0,"span",52),n.qZA())}function he(e,s){if(1&e&&(n.ynx(0),n.TgZ(1,"div",76)(2,"div",77)(3,"nz-space",78),n.YNc(4,re,6,2,"span",52),n.YNc(5,ge,2,0,"ng-container",15),n.qZA(),n.YNc(6,fe,3,2,"ng-template",null,79,n.W1O),n.YNc(8,Te,3,0,"ng-template",null,80,n.W1O),n.qZA()(),n.BQk()),2&e){const i=n.oxw().ngrxLet;n.xp6(5),n.Q6J("ngIf",i&&i>0)}}function ye(e,s){if(1&e&&(n.ynx(0),n.YNc(1,he,10,1,"ng-container",2),n.BQk()),2&e){const i=n.oxw(4);n.xp6(1),n.Q6J("ngrxLet",i.viewer$)}}function Re(e,s){if(1&e&&(n.TgZ(0,"nz-list-item"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.Oqu(i)}}function Oe(e,s){if(1&e&&(n.TgZ(0,"nz-card",100)(1,"nz-list",101),n.YNc(2,Re,2,1,"nz-list-item",102),n.qZA()()),2&e){const i=n.oxw(3).ngrxLet;n.xp6(2),n.Q6J("ngForOf",i)}}function Ae(e,s){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Oe,3,1,"nz-card",99),n.qZA()),2&e){const i=n.oxw(2).ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&i.length>0)}}function Ze(e,s){if(1&e&&(n.TgZ(0,"nz-descriptions-item",107),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.Q6J("nzTitle",i.fieldName),n.xp6(1),n.Oqu(i.error)}}function Le(e,s){if(1&e&&(n.TgZ(0,"nz-card",104)(1,"nz-descriptions",105),n.YNc(2,Ze,2,2,"nz-descriptions-item",106),n.qZA()()),2&e){const i=n.oxw(4).ngrxLet;n.xp6(2),n.Q6J("ngForOf",i)}}function be(e,s){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Le,3,1,"nz-card",103),n.qZA()),2&e){const i=n.oxw(3).ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&i.length>0)}}function Fe(e,s){1&e&&(n.TgZ(0,"nz-space",91),n.YNc(1,Ae,2,1,"span",52),n.YNc(2,be,2,1,"span",52),n.qZA())}function Me(e,s){if(1&e&&(n.ynx(0),n.YNc(1,ye,2,1,"ng-container",2),n.YNc(2,Fe,3,0,"ng-template",null,75,n.W1O),n.BQk()),2&e){const i=n.oxw(3);n.xp6(1),n.Q6J("ngrxLet",i.totalErrorCount$)}}function Ee(e,s){if(1&e&&(n.ynx(0),n.YNc(1,Me,4,1,"ng-container",2),n.BQk()),2&e){const i=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",i.genericErrors$)}}function Se(e,s){if(1&e&&n.YNc(0,Ee,2,1,"ng-container",2),2&e){const i=n.oxw();n.Q6J("ngrxLet",i.validationErrors$)}}class mn{constructor(s,i,p,g,T){this.viewerService=s,this.networkErrorService=i,this.acceptRevisionsGql=p,this.rejectRevisionsGql=g,this.validationGql=T,this.refetchQueries=[],this.selectedRevisionIds=[],this.isLoading=!1,this.success=!1,this.validationPopoverVisible=!1,this.destroy$=new u.x,this.revisionSetSelectedEvent=new n.vpe,this.revisionMutationCompleted=new n.vpe,this.acceptRevisionsMutator=new v.U(i),this.rejectRevisionsMutator=new v.U(i),this.viewer$=this.viewerService.viewer$}ngOnChanges(s){this.untypedRevisons=this.revisions,this.selectedRevisionIds=[],this.queryRef&&this.queryRef.refetch({ids:this.selectedRevisionIds})}ngOnInit(){this.viewerService.viewer$.subscribe(s=>{this.mostRecentOrg=s.mostRecentOrg}),this.queryRef=this.validationGql.watch({ids:[]}),this.genericErrors$=this.queryRef.valueChanges.pipe((0,c.U)(({data:s})=>s.validateRevisionsForAcceptance.genericErrors)),this.validationErrors$=this.queryRef.valueChanges.pipe((0,c.U)(({data:s})=>s.validateRevisionsForAcceptance.validationErrors)),this.totalErrorCount$=this.queryRef.valueChanges.pipe((0,c.U)(({data:s})=>s.validateRevisionsForAcceptance.genericErrors.length+s.validateRevisionsForAcceptance.validationErrors.length),(0,L.O)(0)),this.untypedRevisons=this.revisions}onChangesetSelected(s){this.revisionSetSelectedEvent.emit(s)}onRevisionCheckboxClicked(s,i){s?this.selectedRevisionIds.push(i):this.selectedRevisionIds=this.selectedRevisionIds.filter(p=>p!=i),this.queryRef.refetch({ids:this.selectedRevisionIds})}setupMutationResultHandlers(s,i){s.submitSuccess$.pipe((0,J.R)(this.destroy$)).subscribe(p=>{p&&(this.isLoading=!1,this.revisionMutationCompleted.emit(),this.errors=void 0,this.success=i,this.validationPopoverVisible=!1,this.selectedRevisionIds=[])}),s.submitError$.pipe((0,J.R)(this.destroy$)).subscribe(p=>{p.length>0&&(this.isLoading=!1,this.success=!1,this.errors=p,this.validationPopoverVisible=!1,this.selectedRevisionIds=[])})}onRejectRevisionsClicked(){if(this.revisionComment&&""!==this.revisionComment){this.isLoading=!0;let s=this.rejectRevisionsMutator.mutate(this.rejectRevisionsGql,{input:{ids:this.selectedRevisionIds,organizationId:this.mostRecentOrg?.id,comment:this.revisionComment}},{refetchQueries:this.refetchQueries});this.setupMutationResultHandlers(s,"rejected")}}onAcceptRevisionClicked(){this.isLoading=!0;let s=this.acceptRevisionsMutator.mutate(this.acceptRevisionsGql,{input:{ids:this.selectedRevisionIds,organizationId:this.mostRecentOrg?.id,comment:""===this.revisionComment?void 0:this.revisionComment}},{refetchQueries:this.refetchQueries});this.setupMutationResultHandlers(s,"accepted")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onErrorBannerClose(s){this.errors=this.errors?.filter(i=>i!=s)}onSuccessBannerClose(){this.success=!1}}function Ne(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"cvc-revision-list",14),n.NdJ("revisionSetSelectedEvent",function(g){n.CHM(i);const T=n.oxw(2);return n.KtG(T.onRevisionSetSelected(g))})("revisionMutationCompleted",function(){n.CHM(i);const g=n.oxw(2);return n.KtG(g.refresh())}),n.ALo(1,"ngrxPush"),n.qZA()}if(2&e){const i=n.oxw(2);n.Q6J("revisions",n.lcZ(1,2,i.revisions$))("refetchQueries",i.refetchQueries)}}function Qe(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(){n.CHM(i);const g=n.oxw(2).ngrxLet,T=n.oxw(2);return n.KtG(T.loadMore(null==g?null:g.endCursor))}),n._uU(1," Load More "),n.qZA()}}function Ie(e,s){1&e&&(n.ynx(0),n.YNc(1,Qe,2,0,"button",16),n.BQk())}function Je(e,s){if(1&e&&(n.ynx(0),n.YNc(1,Ie,2,0,"ng-container",15),n.BQk()),2&e){const i=s.ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&(null==i?null:i.hasNextPage)&&i.endCursor)}}function Pe(e,s){if(1&e){const i=n.EpF();n.TgZ(0,"nz-row")(1,"nz-tag",19),n.NdJ("nzOnClose",function(){n.CHM(i);const g=n.oxw(3);return n.KtG(g.onSetFilterClearClicked())}),n._uU(2),n.qZA()()}if(2&e){const i=n.oxw(3);n.xp6(2),n.hij("Group: ",i.filteredSet,"")}}function Ye(e,s){1&e&&(n.TgZ(0,"nz-space",4),n.YNc(1,Pe,3,1,"nz-row",18),n.qZA())}function Ue(e,s){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.Oqu(i.displayName)}}function De(e,s){if(1&e&&n._UZ(0,"nz-avatar",22),2&e){const i=n.oxw().$implicit;n.Q6J("nzSrc",i.profileImagePath)}}function $e(e,s){if(1&e&&(n._UZ(0,"nz-avatar",23),n.ALo(1,"uppercase")),2&e){const i=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,i.username.charAt(0)))}}function Be(e,s){if(1&e&&(n.YNc(0,De,1,1,"nz-avatar",20),n.YNc(1,$e,2,3,"ng-template",null,21,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(2);n.Q6J("ngIf",i.profileImagePath)("ngIfElse",p),n.xp6(4),n.Oqu(i.username)}}function we(e,s){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const i=s.$implicit;n.xp6(1),n.Oqu(i.displayName)}}function je(e,s){if(1&e&&n._UZ(0,"nz-avatar",22),2&e){const i=n.oxw().$implicit;n.Q6J("nzSrc",i.profileImagePath)}}function We(e,s){if(1&e&&(n._UZ(0,"nz-avatar",23),n.ALo(1,"uppercase")),2&e){const i=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,i.username.charAt(0)))}}function Ge(e,s){if(1&e&&(n.YNc(0,je,1,1,"nz-avatar",20),n.YNc(1,We,2,3,"ng-template",null,21,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&e){const i=s.$implicit,p=n.MAs(2);n.Q6J("ngIf",i.profileImagePath)("ngIfElse",p),n.xp6(4),n.Oqu(i.username)}}mn.\u0275fac=function(s){return new(s||mn)(n.Y36(P.a),n.Y36(K.Y),n.Y36(r.ti),n.Y36(r.VZq),n.Y36(r.Qzn))},mn.\u0275cmp=n.Xpm({type:mn,selectors:[["cvc-revision-list"]],inputs:{revisions:"revisions",refetchQueries:"refetchQueries"},outputs:{revisionSetSelectedEvent:"revisionSetSelectedEvent",revisionMutationCompleted:"revisionMutationCompleted"},features:[n.TTD],decls:5,vars:3,consts:[["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],[4,"ngrxLet"],["moderationButtons",""],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzTitle","Revisions",1,"card-list",3,"nzExtra"],["class","revision-list",4,"ngIf","ngIfElse"],["noRevisions",""],[1,"revision-list"],[3,"nzHeader","nzExtra","nzActive",4,"ngFor","ngForOf"],[3,"nzHeader","nzExtra","nzActive"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],["revCardHeaderTitle",""],["revCardHeaderExtra",""],["entityType","Gene",3,"diffObject"],["itemTemplate",""],[3,"gene"],["entityType","Sources",3,"diffObject"],[3,"source"],["entityType","Disease",3,"diffObject"],[3,"disease"],["entityType","Molecular Profile",3,"diffObject"],[3,"molecularProfile"],["entityType","Therapies",3,"diffObject"],[3,"therapy"],["entityType","Variant Aliases",3,"diffObject"],["entityType","Molecular Profile Aliases",3,"diffObject"],["entityType","ClinVar Entries",3,"diffObject"],["entityType","ClinGen/CGC/VICC Code(s)",3,"diffObject"],["entityType","ACMG/AMP Code(s)",3,"diffObject"],["entityType","NCCN Guideline",3,"diffObject"],["entityType","HGVS Descriptions",3,"diffObject"],["entityType","Variant Types",3,"diffObject"],[3,"variantType"],["entityType","Phenotypes",3,"diffObject"],[3,"phenotype"],["entityType","Variant",3,"diffObject"],[3,"variant"],["entityType","Variants",3,"diffObject"],["entityType","Source",3,"diffObject"],["entityType","Evidence",3,"diffObject"],[3,"evidence"],[3,"currentValue","suggestedValue","left","right","entityType"],["nzSpan","16"],["nzSpan","8","nz-typography","","nzType","secondary",2,"text-align","right"],[3,"user",4,"ngIf"],[3,"commentBodySegments"],[3,"user"],[4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],["nz-popover","","nz-icon","","nzType","comment","nzTheme","outline",3,"nzPopoverContent",4,"nzSpaceItem"],["creationCommentTemplate",""],["nz-popover","","nz-icon","","nzType","comment","nzTheme","outline",3,"nzPopoverContent"],["nzSize","small",3,"click"],[3,"status",4,"nzSpaceItem"],["nzType","vertical",4,"nzSpaceItem"],["nz-button","","nzType","link",3,"click",4,"nzSpaceItem"],[4,"ngIf","ngIfElse"],["noRevisor",""],["nz-typography","","nzType","secondary"],[3,"status"],["nzType","vertical"],["nz-button","","nzType","link",3,"click"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions.",3,"nzDisabled",4,"ngIf","ngIfElse"],["loggedIn",""],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions.",3,"nzDisabled"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Curators may only reject their own revisions.",3,"nzDisabled",4,"ngIf","ngIfElse"],["canRevise",""],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Curators may only reject their own revisions.",3,"nzDisabled"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Select Revision for Acceptance/Rejection",3,"nzCheckedChange"],["nzNotFoundImage","simple","nzNotFoundContent","No Revisions matching filters"],["validationErrorTemplate",""],["nz-row","",2,"margin-top","1em"],["nz-col","","nzSpan","24",2,"text-align","right"],["nzDirection","horizontal"],["validationPopoverTitleTemplate",""],["validationPopoverContentTemplate",""],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions."],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click"],["nz-icon","","nzType","caret-down","nzTheme","outline"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","red","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent",4,"nzSpaceItem"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","red","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent"],[3,"ngStyle"],["nz-icon","","nzType","close","nzTheme","outline",3,"click"],["nzDirection","vertical"],[3,"comment","commentChange",4,"nzSpaceItem"],[3,"comment","commentChange"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzSize","small","nzDanger","",3,"nzLoading","disabled","click"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzSize","small",3,"nzLoading","disabled","click"],["nz-icon","","nzTwotoneColor","red","nzType","exclamation-circle","nzTheme","twotone","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent",4,"ngIf"],["nz-icon","","nzTwotoneColor","red","nzType","exclamation-circle","nzTheme","twotone","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent"],["nzTitle","Errors",4,"ngIf"],["nzTitle","Errors"],["nzSize","small"],[4,"ngFor","ngForOf"],["nzTitle","Validation Errors",4,"ngIf"],["nzTitle","Validation Errors"],["nzBordered",""],[3,"nzTitle",4,"ngFor","ngForOf"],[3,"nzTitle"]],template:function(s,i){1&s&&(n.YNc(0,Hn,1,1,"nz-alert",0),n.YNc(1,kn,1,1,"nz-alert",1),n.YNc(2,ee,5,3,"ng-container",2),n.YNc(3,Se,1,1,"ng-template",null,3,n.W1O)),2&s&&(n.Q6J("ngForOf",i.errors),n.xp6(1),n.Q6J("ngIf",i.success),n.xp6(1),n.Q6J("ngrxLet",i.viewer$))},dependencies:[d.sg,d.O5,d.tP,d.PC,d.RF,d.n9,d.ED,O.t3,O.SK,$.n_,$.AA,B.bd,R.NU,R.$1,F.j,z.ZU,I.p9,C.Ie,A.g,Y.SY,q.lU,Z.Ls,nn.R7,nn.uj,tn.m,en.q,_n,Nn.H,Qn.T,cn,In.I,Jn.n,Pn.T,Yn.i,ln.I,Un.O,Dn.j,$n.h,Bn.b,wn.p,jn.m,un.Zv,un.yH,S.ix,E.w,N.dQ,Wn.r,y.eJ,Gn.I,Kn.a,Vn.x],styles:["[_nghost-%COMP%]{display:block}nz-list[_ngcontent-%COMP%] .kept[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .added[_ngcontent-%COMP%]{background-color:#f6ffed;color:#135200}nz-list[_ngcontent-%COMP%] .removed[_ngcontent-%COMP%]{background-color:#fff1f0;color:#820014}nz-list[_ngcontent-%COMP%] .suggested[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}"]});const Ct=function(){return[]};function Ke(e,s){if(1&e){const i=n.EpF();n.ynx(0),n.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),n.YNc(4,Ne,2,4,"cvc-revision-list",5),n.YNc(5,Je,2,1,"ng-container",6),n.qZA()(),n.TgZ(6,"nz-col",7),n.YNc(7,Ye,2,0,"nz-space",8),n.TgZ(8,"cvc-participant-list",9),n.NdJ("participantSelectedEvent",function(g){n.CHM(i);const T=n.oxw();return n.KtG(T.onStatusSelected(g))}),n.YNc(9,Ue,2,1,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(11,"cvc-participant-list",11),n.NdJ("participantSelectedEvent",function(g){n.CHM(i);const T=n.oxw();return n.KtG(T.onRevisorSelected(g))}),n.ALo(12,"ngrxPush"),n.YNc(13,Be,5,3,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(15,"cvc-participant-list",12),n.NdJ("participantSelectedEvent",function(g){n.CHM(i);const T=n.oxw();return n.KtG(T.onFieldNameSelected(g))}),n.ALo(16,"ngrxPush"),n.YNc(17,we,2,1,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(19,"cvc-participant-list",13),n.NdJ("participantSelectedEvent",function(g){n.CHM(i);const T=n.oxw();return n.KtG(T.onResolverSelected(g))}),n.ALo(20,"ngrxPush"),n.YNc(21,Ge,5,3,"ng-template",null,10,n.W1O),n.qZA()()(),n.BQk()}if(2&e){const i=n.oxw();n.xp6(1),n.Q6J("nzGutter",16),n.xp6(4),n.Q6J("ngrxLet",i.pageInfo$),n.xp6(2),n.Q6J("ngIf",i.filteredSet),n.xp6(1),n.Q6J("preselectedOption",i.preselectedRevisionStatus)("participantList",i.selectableStatuses),n.xp6(3),n.Q6J("participantList",n.lcZ(12,8,i.uniqueRevisors$)||n.DdM(14,Ct)),n.xp6(4),n.Q6J("participantList",n.lcZ(16,10,i.revisionFields$)||n.DdM(15,Ct)),n.xp6(4),n.Q6J("participantList",n.lcZ(20,12,i.uniqueResolvers$)||n.DdM(16,Ct))}}function Ve(e,s){1&e&&(n.ynx(0),n.TgZ(1,"nz-row",25),n._UZ(2,"i",26),n.qZA(),n.BQk())}function He(e,s){1&e&&n._UZ(0,"nz-empty",27)}function ke(e,s){if(1&e&&(n.YNc(0,Ve,3,0,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,He,1,0,"ng-template",null,24,n.W1O)),2&e){const i=n.MAs(3),p=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,p.isLoading$))("ngIfElse",i)}}class fn{constructor(s,i,p,g,T,X,xt,qe,Xe,ni,ti,ei,ii,oi){this.gql=s,this.route=i,this.variantDetailGql=p,this.variantSummaryGql=g,this.variantGroupDetailGql=T,this.variantGroupSummaryGql=X,this.assertionDetailGql=xt,this.assertionSummaryGql=qe,this.geneDetailGql=Xe,this.geneSummaryGql=ni,this.evidenceDetailGql=ti,this.evidenceSummaryGql=ei,this.molecularProfileDetailGql=ii,this.molecularProfileSummaryGql=oi,this.filteredSet=void 0,this.selectableStatuses=[{id:4,displayName:"New",value:r.FJi.New},{id:1,displayName:"Accepted",value:r.FJi.Accepted},{id:2,displayName:"Rejected",value:r.FJi.Rejected},{id:3,displayName:"Superseded",value:r.FJi.Superseded}],this.preselectedRevisionStatus=this.selectableStatuses[0],this.defaultPageSize=10,this.refetchQueries=[]}ngOnInit(){switch(this.routeSub=this.route.params.subscribe(s=>{this.queryParamsSub=this.route.queryParams.subscribe(i=>{let p={first:this.defaultPageSize,subject:{id:this.id,entityType:this.entityType},status:r.FJi.New};i.revisionSetId&&(this.filteredSet=i.revisionSetId,this.preselectedRevisionStatus=void 0,p.status=void 0,p.revisionSetId=i.revisionSetId),this.queryRef=this.gql.watch(p);let g=this.queryRef.valueChanges;this.revisions$=g.pipe((0,h.j)("data","revisions","edges"),(0,c.U)(T=>T.map(X=>X.node))),this.isLoading$=g.pipe((0,c.U)(T=>T.loading),(0,L.O)(!0)),this.pageInfo$=g.pipe((0,h.j)("data","revisions","pageInfo")),this.uniqueRevisors$=g.pipe((0,c.U)(({data:T})=>T.revisions?.uniqueRevisors)),this.uniqueResolvers$=g.pipe((0,c.U)(({data:T})=>T.revisions?.uniqueResolvers)),this.revisionFields$=g.pipe((0,c.U)(({data:T})=>T.revisions?.revisedFieldNames.map((X,xt)=>({...X,id:xt})))),this.unfilteredCount$=g.pipe((0,h.j)("data","revisions","unfilteredCountForSubject"))})}),this.entityType){case r.oRL.Variant:return this.refetchQueries.push({query:this.variantDetailGql.document,variables:{variantId:this.id}}),void this.refetchQueries.push({query:this.variantSummaryGql.document,variables:{variantId:this.id}});case r.oRL.Assertion:return this.refetchQueries.push({query:this.assertionDetailGql.document,variables:{assertionId:this.id}}),void this.refetchQueries.push({query:this.assertionSummaryGql.document,variables:{assertionId:this.id}});case r.oRL.EvidenceItem:return this.refetchQueries.push({query:this.evidenceDetailGql.document,variables:{evidenceId:this.id}}),void this.refetchQueries.push({query:this.evidenceSummaryGql.document,variables:{evidenceId:this.id}});case r.oRL.Gene:return this.refetchQueries.push({query:this.geneDetailGql.document,variables:{geneId:this.id}}),void this.refetchQueries.push({query:this.geneSummaryGql.document,variables:{geneId:this.id}});case r.oRL.VariantGroup:return this.refetchQueries.push({query:this.variantGroupDetailGql.document,variables:{variantGroupId:this.id}}),void this.refetchQueries.push({query:this.variantGroupSummaryGql.document,variables:{variantGroupId:this.id}});case r.oRL.MolecularProfile:return this.refetchQueries.push({query:this.molecularProfileDetailGql.document,variables:{molecularProfileId:this.id}}),void this.refetchQueries.push({query:this.molecularProfileSummaryGql.document,variables:{molecularProfileId:this.id}})}}ngOnDestroy(){this.routeSub?.unsubscribe(),this.queryParamsSub?.unsubscribe()}onFieldNameSelected(s){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},fieldName:s?s.name:void 0})}onRevisorSelected(s){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},originatingUserId:s?s.id:void 0})}onResolverSelected(s){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},resolvingUserId:s?s.id:void 0})}onStatusSelected(s){this.preselectedRevisionStatus=s,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},status:s?s.value:void 0})}onRevisionSetSelected(s){this.filteredSet=s,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},revisionSetId:s?+s:void 0})}onSetFilterClearClicked(){this.filteredSet=void 0,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},revisionSetId:void 0})}refresh(){this.queryRef.refetch()}loadMore(s){this.queryRef?.fetchMore({variables:{first:this.defaultPageSize,after:s}})}}fn.\u0275fac=function(s){return new(s||fn)(n.Y36(r.L5n),n.Y36(t.gz),n.Y36(r.iJT),n.Y36(r.Bo4),n.Y36(r.Qtd),n.Y36(r.q1D),n.Y36(r.A94),n.Y36(r.ejK),n.Y36(r.TNk),n.Y36(r.cCu),n.Y36(r.pHu),n.Y36(r.sBY),n.Y36(r.AMF),n.Y36(r.Tg0))},fn.\u0275cmp=n.Xpm({type:fn,selectors:[["cvc-revisions-list-and-filter"]],inputs:{id:"id",entityType:"entityType"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noRevisions",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical"],[3,"revisions","refetchQueries","revisionSetSelectedEvent","revisionMutationCompleted",4,"nzSpaceItem"],[4,"ngrxLet"],["nzSpan","6"],["nzDirection","vertical",4,"ngIf"],["listTitle","Filter by Revision Status",3,"preselectedOption","participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Filter by Revisor",3,"participantList","participantSelectedEvent"],["listTitle","Filter by Field",3,"participantList","participantSelectedEvent"],["listTitle","Filter by Resolver",3,"participantList","participantSelectedEvent"],[3,"revisions","refetchQueries","revisionSetSelectedEvent","revisionMutationCompleted"],[4,"ngIf"],["nz-button","","nzBlock","","nzType","default",3,"click",4,"nzSpaceItem"],["nz-button","","nzBlock","","nzType","default",3,"click"],[4,"nzSpaceItem"],["nzMode","closeable",3,"nzOnClose"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],["noneFound",""],["nzJustify","center"],["nz-icon","","nzType","loading",2,"font-size","32px"],["nzNotFoundImage","simple","nzNotFoundContent","Entity has no Revisions"]],template:function(s,i){if(1&s&&(n.YNc(0,Ke,23,17,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,ke,4,4,"ng-template",null,1,n.W1O)),2&s){const p=n.MAs(3);n.Q6J("ngIf",n.lcZ(1,2,i.unfilteredCount$))("ngIfElse",p)}},dependencies:[d.O5,y.eJ,O.t3,O.SK,R.NU,R.$1,F.j,b.Dz,I.p9,S.ix,E.w,N.dQ,Z.Ls,f.l,mn,d.gd,y.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]})},2914:(w,M,o)=>{o.d(M,{A:()=>N});var r=o(6895),c=o(2635),L=o(3679),h=o(6152),n=o(1971),t=o(6903),d=o(6672),y=o(8823),O=o(1150),R=o(4383),F=o(6059),b=o(4788),I=o(6616),S=o(1102),E=o(4650);class N{}N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=E.oAB({type:N}),N.\u0275inj=E.cJS({imports:[r.ez,c._N,c.pP,L.Jb,h.Ph,n.vh,t.zf,d.X,y.ZJ,R.Rt,b.Xo,I.sL,S.PV,O.N,F.i]})},759:(w,M,o)=>{o.d(M,{N:()=>B});var r=o(6579),c=o(4650),L=o(7630),h=o(6895),n=o(8823),t=o(9116),d=o(4383),y=o(6581),O=o(9194),R=o(6265),F=o(2937);function b(z,C){1&z&&(c.ynx(0),c._uU(1,", "),c.BQk())}function I(z,C){if(1&z&&(c.ynx(0),c._uU(1),c.ALo(2,"eventVerbiage"),c.YNc(3,b,2,0,"ng-container",12),c.BQk()),2&z){const A=C.$implicit,Y=C.last;c.xp6(1),c.hij(" ",c.Dn7(2,2,A.action,"contributor-card",A.count)," "),c.xp6(2),c.Q6J("ngIf",!Y)}}function S(z,C){if(1&z&&(c.TgZ(0,"nz-descriptions",8)(1,"nz-descriptions-item",9),c.YNc(2,I,4,6,"ng-container",10),c.qZA(),c.TgZ(3,"nz-descriptions-item",11),c._uU(4),c.ALo(5,"date"),c.qZA()()),2&z){const A=c.oxw(2).$implicit;c.Q6J("nzColumn",1),c.xp6(2),c.Q6J("ngForOf",A.uniqueActions),c.xp6(2),c.hij(" ",c.lcZ(5,3,A.lastActionDate)," ")}}function E(z,C){if(1&z&&(c.TgZ(0,"cvc-user-popover",6),c.YNc(1,S,6,5,"ng-template",null,7,c.W1O),c.qZA()),2&z){const A=c.oxw().$implicit;c.Q6J("userId",A.user.id)}}function N(z,C){if(1&z&&(c.TgZ(0,"a",3),c._UZ(1,"nz-avatar",4),c.YNc(2,E,3,1,"ng-template",null,5,c.W1O),c.qZA()),2&z){const A=C.$implicit,Y=c.MAs(3);c.MGl("routerLink","/users/",A.user.id,""),c.xp6(1),c.Q6J("nzSize",14)("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",Y)("nzSrc",A.user.profileImagePath)}}function Z(z,C){if(1&z&&(c.ynx(0),c.YNc(1,N,4,5,"a",2),c.BQk()),2&z){const A=c.oxw();c.xp6(1),c.Q6J("ngForOf",A.sortedContributors)}}function f(z,C){1&z&&c._uU(0," None ")}class u{ngOnInit(){if(void 0===this.contributors)throw new Error("Must pass a list of contributors into the contributor stack");this.sortedContributors=this.contributors.slice(),this.sortedContributors.sort((C,A)=>A.totalActionCount-C.totalActionCount)}}u.\u0275fac=function(C){return new(C||u)},u.\u0275cmp=c.Xpm({type:u,selectors:[["cvc-contributor-stack"]],inputs:{contributors:"contributors"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noContributors",""],["class","avatar",3,"routerLink",4,"ngFor","ngForOf"],[1,"avatar",3,"routerLink"],["nz-popover","","nzPopoverTrigger","hover","nzPopoverPlacement","bottomRight","nzIcon","user","nzSize","small",3,"nzSize","nzPopoverMouseEnterDelay","nzPopoverContent","nzSrc"],["curatorPopover",""],[3,"userId"],["additionalMetadata",""],["nzBordered","","nzTitle","Activity","nzSize","small",3,"nzColumn"],["nzTitle","Contributions"],[4,"ngFor","ngForOf"],["nzTitle","Last Contribution"],[4,"ngIf"]],template:function(C,A){if(1&C&&(c.YNc(0,Z,2,1,"ng-container",0),c.YNc(1,f,1,0,"ng-template",null,1,c.W1O)),2&C){const Y=c.MAs(2);c.Q6J("ngIf",A.sortedContributors&&A.sortedContributors.length>0)("ngIfElse",Y)}},dependencies:[h.sg,h.O5,t.rH,d.Dz,y.lU,O.R7,O.uj,R.q,h.uU,F.R],encapsulation:2});var v=o(2635);function J(z,C){if(1&z&&(c.ynx(0),c._UZ(1,"cvc-contributor-stack",5),c.BQk()),2&z){const A=C.ngIf;c.xp6(1),c.Q6J("contributors",A)}}function P(z,C){1&z&&c._uU(0," None ")}function K(z,C){if(1&z&&(c.ynx(0),c._UZ(1,"cvc-contributor-stack",5),c.BQk()),2&z){const A=C.ngIf;c.xp6(1),c.Q6J("contributors",A)}}function $(z,C){1&z&&c._uU(0," None ")}class B{constructor(C){this.gql=C}ngOnInit(){if(void 0===this.subscribable)throw new Error("Must pass a subscribable into ContributorAvatars component.");let C=this.gql.watch({subscribable:this.subscribable}).valueChanges;this.curators$=C.pipe((0,r.j)("data","contributors","curators")),this.editors$=C.pipe((0,r.j)("data","contributors","editors"))}}B.\u0275fac=function(C){return new(C||B)(c.Y36(L.kQf))},B.\u0275cmp=c.Xpm({type:B,selectors:[["cvc-contributor-avatars"]],inputs:{subscribable:"subscribable"},decls:14,vars:8,consts:[["nz-typography","","nzType","secondary",1,"role-group-label"],[1,"role-group"],[4,"ngIf","ngIfElse"],["noCurators",""],["noEditors",""],[3,"contributors"]],template:function(C,A){if(1&C&&(c.TgZ(0,"span",0),c._uU(1,"Curators:"),c.qZA(),c.TgZ(2,"div",1),c.YNc(3,J,2,1,"ng-container",2),c.ALo(4,"ngrxPush"),c.YNc(5,P,1,0,"ng-template",null,3,c.W1O),c.qZA(),c.TgZ(7,"span",0),c._uU(8,"Editors:"),c.qZA(),c.TgZ(9,"div",1),c.YNc(10,K,2,1,"ng-container",2),c.ALo(11,"ngrxPush"),c.YNc(12,$,1,0,"ng-template",null,4,c.W1O),c.qZA()),2&C){const Y=c.MAs(6),q=c.MAs(13);c.xp6(3),c.Q6J("ngIf",c.lcZ(4,4,A.curators$))("ngIfElse",Y),c.xp6(7),c.Q6J("ngIf",c.lcZ(11,6,A.editors$))("ngIfElse",q)}},dependencies:[h.O5,n.ZU,u,v.fM],styles:["[_nghost-%COMP%]{display:inline-block}.role-group-label[_ngcontent-%COMP%]{margin-left:12px}.role-group[_ngcontent-%COMP%]{display:inline-block}.role-group[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{display:inline-block;margin-left:2px}"]})},5750:(w,M,o)=>{o.d(M,{Z:()=>b});var r=o(6895),c=o(2635),L=o(8823),h=o(9116),n=o(4383),t=o(6581),d=o(9444),y=o(6081),O=o(9194),R=o(4650);class F{}F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=R.oAB({type:F}),F.\u0275inj=R.cJS({imports:[r.ez,h.Bz,n.Rt,t.$6,O.q6,d.s,y.J]});class b{}b.\u0275fac=function(S){return new(S||b)},b.\u0275mod=R.oAB({type:b}),b.\u0275inj=R.cJS({imports:[r.ez,c._N,c.pP,L.ZJ,F]})},9077:(w,M,o)=>{o.d(M,{Q:()=>Z});var r=o(6123),c=o(7630),L=o(7579),h=o(4004),n=o(2722),t=o(4650),d=o(9169),y=o(6895),O=o(6616),R=o(7044),F=o(1664),b=o(1102),I=o(7570),S=o(2635);function E(f,u){if(1&f){const v=t.EpF();t.ynx(0),t.TgZ(1,"button",2),t.NdJ("click",function(){t.CHM(v);const P=t.oxw();return t.KtG(P.unsubscribe())}),t._UZ(2,"i",3),t.qZA(),t.BQk()}if(2&f){const v=t.oxw();t.xp6(1),t.Q6J("nzLoading",v.isSubmitting)}}function N(f,u){if(1&f){const v=t.EpF();t.TgZ(0,"button",4),t.NdJ("click",function(){t.CHM(v);const P=t.oxw();return t.KtG(P.subscribe())}),t._UZ(1,"i",5),t.qZA()}if(2&f){const v=t.oxw();t.Q6J("nzLoading",v.isSubmitting)}}class Z{constructor(u,v,J,P){this.isSubscribedGQL=u,this.unsubscribeMutation=v,this.subscribeMutation=J,this.networkErrorService=P,this.isSubmitting=!1,this.destroy$=new L.x,this.unsubscribeMutator=new r.U(P),this.subscribeMutator=new r.U(P)}ngOnInit(){if(void 0===this.viewer)throw new Error("Must pass in a viewer to the CvcEntitySubscriptionButtonComponent");if(void 0===this.typename)throw new Error("Must pass in a typename to the CvcEntitySubscriptionButtonComponent");if(void 0===this.subscribableId)throw new Error("Must pass in a subscribableId to the CvcEntitySubscriptionButtonComponent");this.subscribable={id:this.subscribableId,entityType:c.o71[this.typename]},this.queryRef=this.isSubscribedGQL.watch({subscribable:this.subscribable}),this.existingSubscription$=this.queryRef.valueChanges.pipe((0,h.U)(({data:v})=>v.subscriptionForEntity))}subscribe(){this.subscribable&&(this.isSubmitting=!0,this.subscribeMutator.mutate(this.subscribeMutation,{input:{subscribables:[this.subscribable]}}).submitSuccess$.pipe((0,n.R)(this.destroy$)).subscribe(v=>{v&&(this.queryRef?.refetch(),this.isSubmitting=!1)}))}unsubscribe(){this.subscribable&&(this.isSubmitting=!0,this.unsubscribeMutator.mutate(this.unsubscribeMutation,{input:{subscribables:[this.subscribable]}}).submitSuccess$.pipe((0,n.R)(this.destroy$)).subscribe(v=>{v&&(this.queryRef?.refetch(),this.isSubmitting=!1)}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}Z.\u0275fac=function(u){return new(u||Z)(t.Y36(c.A4J),t.Y36(c.m$d),t.Y36(c.jMx),t.Y36(d.Y))},Z.\u0275cmp=t.Xpm({type:Z,selectors:[["cvc-entity-subscription-button"]],inputs:{viewer:"viewer",typename:"typename",subscribableId:"subscribableId"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noSub",""],["nz-button","","nz-tooltip","Unsubscribe","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","bell","nzTheme","fill"],["nz-button","","nz-tooltip","Subscribe","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","bell","nzTheme","outline"]],template:function(u,v){if(1&u&&(t.YNc(0,E,3,1,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,N,2,1,"ng-template",null,1,t.W1O)),2&u){const J=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,v.existingSubscription$))("ngIfElse",J)}},dependencies:[y.O5,O.ix,R.w,F.dQ,b.Ls,I.SY,S.fM],styles:["[_nghost-%COMP%]{display:block}"]})},4609:(w,M,o)=>{o.d(M,{g:()=>d});var r=o(6895),c=o(6616),L=o(2635),h=o(1102),n=o(7570),t=o(4650);class d{}d.\u0275fac=function(O){return new(O||d)},d.\u0275mod=t.oAB({type:d}),d.\u0275inj=t.cJS({imports:[r.ez,c.sL,h.PV,n.cg,L._N,L.pP]})},2338:(w,M,o)=>{o.d(M,{I:()=>c});var r=o(4650);class c{transform(h){if(h){let t=h.toLowerCase().replace(/_/g," ").split(" ");for(var n=0;n{s.d(I,{O:()=>g});var i=s(6654),A=s(9771),a=s(4650),t=s(6895),w=s(9116),v=s(6672),x=s(6581),M=s(1102),P=s(285),C=s(1730),_=s(160);function S(p,c){}function k(p,c){if(1&p&&(a.ynx(0),a.TgZ(1,"a",4),a.YNc(2,S,0,0,"ng-template",5),a.qZA(),a.BQk()),2&p){const m=a.oxw(),Z=a.MAs(2);a.xp6(1),a.Q6J("routerLink",m.evidence.link),a.xp6(1),a.Q6J("ngTemplateOutlet",Z)}}function T(p,c){}function E(p,c){if(1&p&&a._UZ(0,"cvc-evidence-popover",9),2&p){const m=a.oxw(3);a.Q6J("evidenceId",m.evidence.id)}}function y(p,c){if(1&p&&a.YNc(0,E,1,1,"cvc-evidence-popover",8),2&p){const m=a.oxw(2);a.Q6J("ngIf",m.enablePopover)}}const N=function(p,c,m){return{rejected:p,submitted:c,accepted:m}};function D(p,c){if(1&p&&(a.TgZ(0,"nz-tag",6),a.YNc(1,T,0,0,"ng-template",5),a.qZA(),a.YNc(2,y,1,1,"ng-template",null,7,a.W1O)),2&p){const m=a.MAs(3),Z=a.oxw(),Y=a.MAs(6);a.Q6J("ngClass",a.kEZ(5,N,"REJECTED"===Z.evidence.status,"SUBMITTED"===Z.evidence.status,"ACCEPTED"===Z.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",m)("nzPopoverTrigger",Z.enablePopover?"hover":null),a.xp6(1),a.Q6J("ngTemplateOutlet",Y)}}function W(p,c){}function Q(p,c){if(1&p&&a.YNc(0,W,0,0,"ng-template",5),2&p){a.oxw();const m=a.MAs(2);a.Q6J("ngTemplateOutlet",m)}}function L(p,c){if(1&p&&(a.TgZ(0,"cvc-icon-badges",10),a._UZ(1,"i",11),a.ALo(2,"entityColor"),a.ALo(3,"entityColor"),a.qZA(),a._uU(4)),2&p){const m=a.oxw();a.Q6J("flagged",m.evidence.flagged)("entityColor",m.iconColor),a.xp6(1),a.Q6J("nzTwotoneColor","REJECTED"===m.evidence.status?a.lcZ(2,4,"Rejected"):a.lcZ(3,6,"EvidenceItem")),a.xp6(3),a.hij(" ",m.evidence.name,"\n")}}class g extends i.a{set evidence(c){if(!c)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=c}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,A.f)("EvidenceItem")}idFunction(){return this.evidence.id}}g.\u0275fac=function(c){return new(c||g)},g.\u0275cmp=a.Xpm({type:g,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[a.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(c,m){if(1&c&&(a.YNc(0,k,3,2,"ng-container",0),a.YNc(1,D,4,9,"ng-template",null,1,a.W1O),a.YNc(3,Q,1,1,"ng-template",null,2,a.W1O),a.YNc(5,L,5,8,"ng-template",null,3,a.W1O)),2&c){const Z=a.MAs(4);a.Q6J("ngIf",m.linked)("ngIfElse",Z)}},dependencies:[t.mk,t.O5,t.tP,w.rH,v.j,x.lU,M.Ls,P._,C.b,_.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]})},9460:(J,I,s)=>{s.d(I,{i:()=>_});var i=s(6895),A=s(9116),a=s(6672),t=s(6581),w=s(1102),v=s(1698),x=s(9444),M=s(48),P=s(6429),C=s(4650);class _{}_.\u0275fac=function(k){return new(k||_)},_.\u0275mod=C.oAB({type:_}),_.\u0275inj=C.cJS({imports:[i.ez,A.Bz,M.mS,a.X,t.$6,w.PV,v.f,x.s,P.C]})},5749:(J,I,s)=>{s.d(I,{m:()=>R});var i=s(4650),A=s(6895),a=s(9116),t=s(6672),w=s(1102),v=s(6581),x=s(3240),M=s(4004),P=s(9300),C=s(7630),_=s(1971),S=s(3679),k=s(9194),T=s(6550),E=s(7881),y=s(2635);const N=function(h,u){return{displayName:h,profileImagePath:u}};function D(h,u){if(1&h&&(i._UZ(0,"cvc-user-avatar",12),i.TgZ(1,"span",13),i._uU(2),i.qZA()),2&h){const z=i.oxw().ngIf;i.Q6J("user",i.WLB(2,N,z.name,z.profileImagePath)),i.xp6(2),i.Oqu(z.name)}}function W(h,u){if(1&h&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&h){const z=u.ngIf;i.xp6(1),i.Oqu(z)}}function Q(h,u){if(1&h&&(i.ynx(0),i.TgZ(1,"cvc-link-tag",14),i._uU(2),i.qZA(),i.BQk()),2&h){const z=i.oxw().ngIf;i.xp6(1),i.Q6J("href",z.url),i.xp6(1),i.hij(" ",z.name," ")}}function L(h,u){if(1&h&&(i.ynx(0),i.TgZ(1,"nz-card",4),i.YNc(2,D,3,5,"ng-template",null,5,i.W1O),i.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),i.YNc(8,W,2,1,"span",9),i.qZA()()()(),i.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),i.YNc(11,Q,3,2,"ng-container",9),i.qZA()()(),i.BQk()),2&h){const z=u.ngIf,O=i.MAs(3);i.oxw();const X=i.MAs(4),B=i.MAs(6);i.xp6(1),i.Q6J("nzTitle",O),i.xp6(7),i.Q6J("ngIf",z.description)("ngIfElse",X),i.xp6(1),i.Q6J("nzColumn",2),i.xp6(2),i.Q6J("ngIf",z.url)("ngIfElse",B)}}function g(h,u){1&h&&i._uU(0," Organization has not provided a description.\n")}function p(h,u){1&h&&i._uU(0," -- ")}class c{constructor(u){this.gql=u}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,M.U)(({data:u})=>u?.organization),(0,P.h)(x.ep))}}function m(h,u){}function Z(h,u){if(1&h&&(i.ynx(0),i.TgZ(1,"a",4),i.YNc(2,m,0,0,"ng-template",5),i.qZA(),i.BQk()),2&h){const z=i.oxw(),O=i.MAs(2);i.xp6(1),i.MGl("routerLink","/organizations/",z.org.id,""),i.xp6(1),i.Q6J("ngTemplateOutlet",O)}}function Y(h,u){}function at(h,u){if(1&h&&i._UZ(0,"cvc-organization-popover",9),2&h){const z=i.oxw(3);i.Q6J("orgId",z.org.id)}}function lt(h,u){if(1&h&&i.YNc(0,at,1,1,"cvc-organization-popover",8),2&h){const z=i.oxw(2);i.Q6J("ngIf",z.enablePopover)}}function ct(h,u){if(1&h&&(i.TgZ(0,"nz-tag",6),i.YNc(1,Y,0,0,"ng-template",5),i.qZA(),i.YNc(2,lt,1,1,"ng-template",null,7,i.W1O)),2&h){const z=i.MAs(3);i.oxw();const O=i.MAs(6);i.Q6J("nzPopoverContent",z),i.xp6(1),i.Q6J("ngTemplateOutlet",O)}}function pt(h,u){}function ht(h,u){if(1&h&&i.YNc(0,pt,0,0,"ng-template",5),2&h){i.oxw();const z=i.MAs(2);i.Q6J("ngTemplateOutlet",z)}}function dt(h,u){if(1&h&&(i._UZ(0,"i",10),i._uU(1)),2&h){const z=i.oxw();i.xp6(1),i.hij(" ",z.org.name,"\n")}}c.\u0275fac=function(u){return new(u||c)(i.Y36(C.X5f))},c.\u0275cmp=i.Xpm({type:c,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(u,z){1&u&&(i.TgZ(0,"div",0),i.YNc(1,L,12,6,"ng-container",1),i.ALo(2,"ngrxPush"),i.qZA(),i.YNc(3,g,1,0,"ng-template",null,2,i.W1O),i.YNc(5,p,1,0,"ng-template",null,3,i.W1O)),2&u&&(i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,z.org$)))},dependencies:[A.O5,_.bd,S.t3,S.SK,k.R7,k.uj,T.l,E.L,y.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});class R{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}R.\u0275fac=function(u){return new(u||R)},R.\u0275cmp=i.Xpm({type:R,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(u,z){if(1&u&&(i.YNc(0,Z,3,2,"ng-container",0),i.YNc(1,ct,4,2,"ng-template",null,1,i.W1O),i.YNc(3,ht,1,1,"ng-template",null,2,i.W1O),i.YNc(5,dt,2,1,"ng-template",null,3,i.W1O)),2&u){const O=i.MAs(4);i.Q6J("ngIf",z.linked)("ngIfElse",O)}},dependencies:[A.O5,A.tP,a.rH,t.j,w.Ls,v.lU,c],styles:["[_nghost-%COMP%]{display:inline-block}"]})},9476:(J,I,s)=>{s.d(I,{L:()=>T});var i=s(6895),A=s(9116),a=s(6672),t=s(1102),w=s(3679),v=s(4989),x=s(9194),M=s(1971),P=s(2635),C=s(5473),_=s(4650);class S{}S.\u0275fac=function(y){return new(y||S)},S.\u0275mod=_.oAB({type:S}),S.\u0275inj=_.cJS({imports:[i.ez,P._N,P.pP,M.vh,w.Jb,x.q6,v.X,C.H]});var k=s(6581);class T{}T.\u0275fac=function(y){return new(y||T)},T.\u0275mod=_.oAB({type:T}),T.\u0275inj=_.cJS({imports:[i.ez,A.Bz,a.X,t.PV,k.$6,S]})},7677:(J,I,s)=>{s.d(I,{G:()=>y});var i=s(6895),A=s(9116),a=s(6581),t=s(6672),w=s(1102),v=s(897),x=s(2811),M=s(7043),P=s(9444),C=s(2635),_=s(1971),S=s(9194),k=s(4650);class T{}T.\u0275fac=function(D){return new(D||T)},T.\u0275mod=k.oAB({type:T}),T.\u0275inj=k.cJS({imports:[i.ez,C._N,C.pP,_.vh,S.q6,w.PV,x.s,M.Q,v.$,P.s]});var E=s(6429);class y{}y.\u0275fac=function(D){return new(D||y)},y.\u0275mod=k.oAB({type:y}),y.\u0275inj=k.cJS({imports:[i.ez,A.Bz,a.$6,t.X,w.PV,T,P.s,E.C]})},195:(J,I,s)=>{s.r(I),s.d(I,{WelcomeModule:()=>H});var i=s(9116),A=s(7630),a=s(4004),t=s(4650),w=s(529),v=s(6895),x=s(3679),M=s(445),P=s(3353),C=s(655),_=s(9521),S=s(7579),k=s(4968),T=s(2722),E=s(2536),y=s(3187),N=s(3303);const D=["slickList"],W=["slickTrack"];function Q(o,n){}const L=function(o){return{$implicit:o}};function g(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"li",9),t.NdJ("click",function(){const d=t.CHM(e).index,U=t.oxw(2);return t.KtG(U.onLiClick(d))}),t.YNc(1,Q,0,0,"ng-template",10),t.qZA()}if(2&o){const e=n.index,r=t.oxw(2),l=t.MAs(8);t.ekj("slick-active",e===r.activeIndex),t.xp6(1),t.Q6J("ngTemplateOutlet",r.nzDotRender||l)("ngTemplateOutletContext",t.VKq(4,L,e))}}function p(o,n){if(1&o&&(t.TgZ(0,"ul",7),t.YNc(1,g,2,6,"li",8),t.qZA()),2&o){const e=t.oxw();t.ekj("slick-dots-top","top"===e.nzDotPosition)("slick-dots-bottom","bottom"===e.nzDotPosition)("slick-dots-left","left"===e.nzDotPosition)("slick-dots-right","right"===e.nzDotPosition),t.xp6(1),t.Q6J("ngForOf",e.carouselContents)}}function c(o,n){if(1&o&&(t.TgZ(0,"button"),t._uU(1),t.qZA()),2&o){const e=n.$implicit;t.xp6(1),t.Oqu(e+1)}}const m=["*"];let Z=(()=>{class o{constructor(e,r){this.renderer=r,this._active=!1,this.el=e.nativeElement,this.renderer.addClass(e.nativeElement,"slick-slide")}set isActive(e){this._active=e,this.isActive?this.renderer.addClass(this.el,"slick-active"):this.renderer.removeClass(this.el,"slick-active")}get isActive(){return this._active}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(t.Qsj))},o.\u0275dir=t.lG2({type:o,selectors:[["","nz-carousel-content",""]],exportAs:["nzCarouselContent"]}),o})();class Y{constructor(n,e,r,l,d){this.cdr=e,this.renderer=r,this.platform=l,this.options=d,this.carouselComponent=n}get maxIndex(){return this.length-1}get firstEl(){return this.contents[0].el}get lastEl(){return this.contents[this.maxIndex].el}withCarouselContents(n){const e=this.carouselComponent;if(this.slickListEl=e.slickListEl,this.slickTrackEl=e.slickTrackEl,this.contents=n?.toArray()||[],this.length=this.contents.length,this.platform.isBrowser){const r=e.el.getBoundingClientRect();this.unitWidth=r.width,this.unitHeight=r.height}else n?.forEach((r,l)=>{0===l?this.renderer.setStyle(r.el,"width","100%"):this.renderer.setStyle(r.el,"display","none")})}dragging(n){}dispose(){}getFromToInBoundary(n,e){const r=this.maxIndex+1;return{from:(n+r)%r,to:(e+r)%r}}}class at extends Y{withCarouselContents(n){super.withCarouselContents(n),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((e,r)=>{this.renderer.setStyle(e.el,"opacity",this.carouselComponent.activeIndex===r?"1":"0"),this.renderer.setStyle(e.el,"position","relative"),this.renderer.setStyle(e.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(e.el,"left",-this.unitWidth*r+"px"),this.renderer.setStyle(e.el,"transition",["opacity 500ms ease 0s","visibility 500ms ease 0s"])}))}switch(n,e){const{to:r}=this.getFromToInBoundary(n,e),l=new S.x;return this.contents.forEach((d,U)=>{this.renderer.setStyle(d.el,"opacity",r===U?"1":"0")}),setTimeout(()=>{l.next(),l.complete()},this.carouselComponent.nzTransitionSpeed),l}dispose(){this.contents.forEach(n=>{this.renderer.setStyle(n.el,"transition",null),this.renderer.setStyle(n.el,"opacity",null),this.renderer.setStyle(n.el,"width",null),this.renderer.setStyle(n.el,"left",null)}),super.dispose()}}class lt extends Y{constructor(n,e,r,l,d){super(n,e,r,l,d),this.isDragging=!1,this.isTransitioning=!1}get vertical(){return this.carouselComponent.vertical}dispose(){super.dispose(),this.renderer.setStyle(this.slickTrackEl,"transform",null)}withCarouselContents(n){super.withCarouselContents(n);const r=this.carouselComponent.activeIndex;this.platform.isBrowser&&this.contents.length&&(this.renderer.setStyle(this.slickListEl,"height",`${this.unitHeight}px`),this.vertical?(this.renderer.setStyle(this.slickTrackEl,"width",`${this.unitWidth}px`),this.renderer.setStyle(this.slickTrackEl,"height",this.length*this.unitHeight+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-r*this.unitHeight}px, 0)`)):(this.renderer.setStyle(this.slickTrackEl,"height",`${this.unitHeight}px`),this.renderer.setStyle(this.slickTrackEl,"width",this.length*this.unitWidth+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-r*this.unitWidth}px, 0, 0)`)),this.contents.forEach(l=>{this.renderer.setStyle(l.el,"position","relative"),this.renderer.setStyle(l.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(l.el,"height",`${this.unitHeight}px`)}))}switch(n,e){const{to:r}=this.getFromToInBoundary(n,e),l=new S.x;return this.renderer.setStyle(this.slickTrackEl,"transition",`transform ${this.carouselComponent.nzTransitionSpeed}ms ease`),this.vertical?this.verticalTransform(n,e):this.horizontalTransform(n,e),this.isTransitioning=!0,this.isDragging=!1,setTimeout(()=>{this.renderer.setStyle(this.slickTrackEl,"transition",null),this.contents.forEach(d=>{this.renderer.setStyle(d.el,this.vertical?"top":"left",null)}),this.renderer.setStyle(this.slickTrackEl,"transform",this.vertical?`translate3d(0, ${-r*this.unitHeight}px, 0)`:`translate3d(${-r*this.unitWidth}px, 0, 0)`),this.isTransitioning=!1,l.next(),l.complete()},this.carouselComponent.nzTransitionSpeed),l.asObservable()}dragging(n){if(this.isTransitioning)return;const e=this.carouselComponent.activeIndex;this.carouselComponent.vertical?(!this.isDragging&&this.length>2&&(e===this.maxIndex?this.prepareVerticalContext(!0):0===e&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-e*this.unitHeight+n.x}px, 0)`)):(!this.isDragging&&this.length>2&&(e===this.maxIndex?this.prepareHorizontalContext(!0):0===e&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-e*this.unitWidth+n.x}px, 0, 0)`)),this.isDragging=!0}verticalTransform(n,e){const{from:r,to:l}=this.getFromToInBoundary(n,e);this.length>2&&e!==l?(this.prepareVerticalContext(l2&&e!==l?(this.prepareHorizontalContext(l{class o{constructor(e,r,l,d,U,j,G,zt,ft,vt){this.nzConfigService=r,this.ngZone=l,this.renderer=d,this.cdr=U,this.platform=j,this.resizeService=G,this.nzDragService=zt,this.directionality=ft,this.customStrategies=vt,this._nzModuleName="carousel",this.nzEffect="scrollx",this.nzEnableSwipe=!0,this.nzDots=!0,this.nzAutoPlay=!1,this.nzAutoPlaySpeed=3e3,this.nzTransitionSpeed=500,this.nzLoop=!0,this.nzStrategyOptions=void 0,this._dotPosition="bottom",this.nzBeforeChange=new t.vpe,this.nzAfterChange=new t.vpe,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this.dir="ltr",this.destroy$=new S.x,this.gestureRect=null,this.pointerDelta=null,this.isTransiting=!1,this.isDragging=!1,this.onLiClick=K=>{this.goTo("rtl"===this.dir?this.carouselContents.length-1-K:K)},this.pointerDown=K=>{!this.isDragging&&!this.isTransiting&&this.nzEnableSwipe&&(this.clearScheduledTransition(),this.gestureRect=this.slickListEl.getBoundingClientRect(),this.nzDragService.requestDraggingSequence(K).subscribe(f=>{this.pointerDelta=f,this.isDragging=!0,this.strategy?.dragging(this.pointerDelta)},()=>{},()=>{if(this.nzEnableSwipe&&this.isDragging){const f=this.pointerDelta?this.pointerDelta.x:0;Math.abs(f)>this.gestureRect.width/3&&(this.nzLoop||f<=0&&this.activeIndex+10&&this.activeIndex>0)?this.goTo(f>0?this.activeIndex-1:this.activeIndex+1):this.goTo(this.activeIndex),this.gestureRect=null,this.pointerDelta=null}this.isDragging=!1}))},this.nzDotPosition="bottom",this.renderer.addClass(e.nativeElement,"ant-carousel"),this.el=e.nativeElement}set nzDotPosition(e){this._dotPosition=e,this.vertical="left"===e||"right"===e}get nzDotPosition(){return this._dotPosition}ngOnInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.dir=this.directionality.value,this.directionality.change.pipe((0,T.R)(this.destroy$)).subscribe(e=>{this.dir=e,this.markContentActive(this.activeIndex),this.cdr.detectChanges()}),this.ngZone.runOutsideAngular(()=>{(0,k.R)(this.slickListEl,"keydown").pipe((0,T.R)(this.destroy$)).subscribe(e=>{const{keyCode:r}=e;r!==_.oh&&r!==_.SV||(e.preventDefault(),this.ngZone.run(()=>{r===_.oh?this.pre():this.next(),this.cdr.markForCheck()}))})})}ngAfterContentInit(){this.markContentActive(0)}ngAfterViewInit(){this.carouselContents.changes.subscribe(()=>{this.markContentActive(0),this.layout()}),this.resizeService.subscribe().pipe((0,T.R)(this.destroy$)).subscribe(()=>{this.layout()}),this.switchStrategy(),this.markContentActive(0),this.layout(),Promise.resolve().then(()=>{this.layout()})}ngOnChanges(e){const{nzEffect:r,nzDotPosition:l}=e;r&&!r.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),l&&!l.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()}ngOnDestroy(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()}next(){this.goTo(this.activeIndex+1)}pre(){this.goTo(this.activeIndex-1)}goTo(e){if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting&&(this.nzLoop||e>=0&&e{this.scheduleNextTransition(),this.nzAfterChange.emit(d),this.isTransiting=!1}),this.markContentActive(d),this.cdr.markForCheck()}}switchStrategy(){this.strategy&&this.strategy.dispose();const e=this.customStrategies?this.customStrategies.find(r=>r.name===this.nzEffect):null;this.strategy=e?new e.strategy(this,this.cdr,this.renderer,this.platform):"scrollx"===this.nzEffect?new lt(this,this.cdr,this.renderer,this.platform):new at(this,this.cdr,this.renderer,this.platform)}scheduleNextTransition(){this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this.goTo(this.activeIndex+1)},this.nzAutoPlaySpeed))}clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}markContentActive(e){this.activeIndex=e,this.carouselContents&&this.carouselContents.forEach((r,l)=>{r.isActive="rtl"===this.dir?e===this.carouselContents.length-1-l:e===l}),this.cdr.markForCheck()}layout(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(t.SBq),t.Y36(E.jY),t.Y36(t.R0b),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(P.t4),t.Y36(N.rI),t.Y36(N.Ml),t.Y36(M.Is,8),t.Y36(ct,8))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nz-carousel"]],contentQueries:function(e,r,l){if(1&e&&t.Suo(l,Z,4),2&e){let d;t.iGM(d=t.CRH())&&(r.carouselContents=d)}},viewQuery:function(e,r){if(1&e&&(t.Gf(D,7),t.Gf(W,7)),2&e){let l;t.iGM(l=t.CRH())&&(r.slickList=l.first),t.iGM(l=t.CRH())&&(r.slickTrack=l.first)}},hostVars:4,hostBindings:function(e,r){2&e&&t.ekj("ant-carousel-vertical",r.vertical)("ant-carousel-rtl","rtl"===r.dir)},inputs:{nzDotRender:"nzDotRender",nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzLoop:"nzLoop",nzStrategyOptions:"nzStrategyOptions",nzDotPosition:"nzDotPosition"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[t.TTD],ngContentSelectors:m,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,r){1&e&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1,2),t.NdJ("mousedown",function(d){return r.pointerDown(d)})("touchstart",function(d){return r.pointerDown(d)}),t.TgZ(3,"div",3,4),t.Hsn(5),t.qZA()(),t.YNc(6,p,2,9,"ul",5),t.qZA(),t.YNc(7,c,2,1,"ng-template",null,6,t.W1O)),2&e&&(t.ekj("slick-vertical","left"===r.nzDotPosition||"right"===r.nzDotPosition),t.xp6(6),t.Q6J("ngIf",r.nzDots))},dependencies:[v.sg,v.O5,v.tP],encapsulation:2,changeDetection:0}),(0,C.gn)([(0,E.oS)()],o.prototype,"nzEffect",void 0),(0,C.gn)([(0,E.oS)(),(0,y.yF)()],o.prototype,"nzEnableSwipe",void 0),(0,C.gn)([(0,E.oS)(),(0,y.yF)()],o.prototype,"nzDots",void 0),(0,C.gn)([(0,E.oS)(),(0,y.yF)()],o.prototype,"nzAutoPlay",void 0),(0,C.gn)([(0,E.oS)(),(0,y.Rn)()],o.prototype,"nzAutoPlaySpeed",void 0),(0,C.gn)([(0,y.Rn)()],o.prototype,"nzTransitionSpeed",void 0),(0,C.gn)([(0,E.oS)()],o.prototype,"nzLoop",void 0),(0,C.gn)([(0,E.oS)()],o.prototype,"nzDotPosition",null),o})(),dt=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[M.vT,v.ez,P.ud]}),o})();var u=s(1971),z=s(6152),O=s(6903),X=s(8823),B=s(3240),q=s(9300),tt=s(6579),et=s(4006),gt=s(3848),nt=s(8521),_t=s(7044),ut=s(1102),b=s(2635),yt=s(160);function xt(o,n){if(1&o){const e=t.EpF();t.TgZ(0,"nz-radio-group",4),t.NdJ("ngModelChange",function(l){t.CHM(e);const d=t.oxw();return t.KtG(d.statsType=l)}),t.TgZ(1,"label",5),t._uU(2,"Total"),t.qZA(),t.TgZ(3,"label",6),t._uU(4,"Weekly"),t.qZA(),t.TgZ(5,"label",7),t._uU(6,"Monthly"),t.qZA(),t.TgZ(7,"label",8),t._uU(8,"Yearly"),t.qZA()()}if(2&o){const e=t.oxw();t.Q6J("ngModel",e.statsType)}}function St(o,n){1&o&&(t._UZ(0,"i",31),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Assertion"))}function Et(o,n){1&o&&(t._UZ(0,"i",32),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"EvidenceItem"))}function At(o,n){1&o&&(t._UZ(0,"i",33),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Gene"))}function Zt(o,n){1&o&&(t._UZ(0,"i",34),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Variant"))}function Pt(o,n){1&o&&(t._UZ(0,"i",35),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"MolecularProfile"))}function kt(o,n){1&o&&(t._UZ(0,"i",36),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Disease"))}function It(o,n){1&o&&(t._UZ(0,"i",37),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Therapy"))}function Mt(o,n){1&o&&(t._UZ(0,"i",38),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Source"))}function Ot(o,n){1&o&&(t._UZ(0,"i",39),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Revision"))}function wt(o,n){1&o&&(t._UZ(0,"i",40),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Curator"))}function Nt(o,n){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-row",9)(2,"nz-col",10)(3,"a",11),t._UZ(4,"nz-statistic",12),t.ALo(5,"number"),t.YNc(6,St,2,3,"ng-template",null,13,t.W1O),t.qZA()(),t.TgZ(8,"nz-col",10)(9,"a",14),t._UZ(10,"nz-statistic",12),t.ALo(11,"number"),t.YNc(12,Et,2,3,"ng-template",null,15,t.W1O),t.qZA()(),t.TgZ(14,"nz-col",10)(15,"a",16),t._UZ(16,"nz-statistic",12),t.ALo(17,"number"),t.YNc(18,At,2,3,"ng-template",null,17,t.W1O),t.qZA()(),t.TgZ(20,"nz-col",10)(21,"a",18),t._UZ(22,"nz-statistic",12),t.ALo(23,"number"),t.YNc(24,Zt,2,3,"ng-template",null,19,t.W1O),t.qZA()(),t.TgZ(26,"nz-col",10)(27,"a",20),t._UZ(28,"nz-statistic",12),t.ALo(29,"number"),t.YNc(30,Pt,2,3,"ng-template",null,21,t.W1O),t.qZA()()(),t.TgZ(32,"nz-row",9)(33,"nz-col",10)(34,"a",22),t._UZ(35,"nz-statistic",12),t.ALo(36,"number"),t.YNc(37,kt,2,3,"ng-template",null,23,t.W1O),t.qZA()(),t.TgZ(39,"nz-col",10)(40,"a",24),t._UZ(41,"nz-statistic",12),t.ALo(42,"number"),t.YNc(43,It,2,3,"ng-template",null,25,t.W1O),t.qZA()(),t.TgZ(45,"nz-col",10)(46,"a",26),t._UZ(47,"nz-statistic",12),t.ALo(48,"number"),t.YNc(49,Mt,2,3,"ng-template",null,27,t.W1O),t.qZA()(),t.TgZ(51,"nz-col",10),t._UZ(52,"nz-statistic",12),t.ALo(53,"number"),t.YNc(54,Ot,2,3,"ng-template",null,28,t.W1O),t.qZA(),t.TgZ(56,"nz-col",10)(57,"a",29),t._UZ(58,"nz-statistic",12),t.ALo(59,"number"),t.YNc(60,wt,2,3,"ng-template",null,30,t.W1O),t.qZA()()(),t.BQk()),2&o){const e=n.ngIf,r=t.MAs(7),l=t.MAs(13),d=t.MAs(19),U=t.MAs(25),j=t.MAs(31),G=t.MAs(38),zt=t.MAs(44),ft=t.MAs(50),vt=t.MAs(55),K=t.MAs(61),f=t.oxw();t.xp6(4),t.Q6J("nzTitle",f.label()+" Assertions")("nzValue",t.lcZ(5,30,e.assertions[f.statsType]))("nzPrefix",r),t.xp6(6),t.Q6J("nzTitle",f.label()+" Evidence")("nzValue",t.lcZ(11,32,e.evidenceItems[f.statsType]))("nzPrefix",l),t.xp6(6),t.Q6J("nzTitle",f.label()+" Genes")("nzValue",t.lcZ(17,34,e.genes[f.statsType]))("nzPrefix",d),t.xp6(6),t.Q6J("nzTitle",f.label()+" Variants")("nzValue",t.lcZ(23,36,e.variants[f.statsType]))("nzPrefix",U),t.xp6(6),t.Q6J("nzTitle",f.label()+" Molecular Profiles")("nzValue",t.lcZ(29,38,e.molecularProfiles[f.statsType]))("nzPrefix",j),t.xp6(7),t.Q6J("nzTitle",f.label()+" Diseases")("nzValue",t.lcZ(36,40,e.diseases[f.statsType]))("nzPrefix",G),t.xp6(6),t.Q6J("nzTitle",f.label()+" Therapies")("nzValue",t.lcZ(42,42,e.therapies[f.statsType]))("nzPrefix",zt),t.xp6(6),t.Q6J("nzTitle",f.label()+" Sources")("nzValue",t.lcZ(48,44,e.sources[f.statsType]))("nzPrefix",ft),t.xp6(5),t.Q6J("nzTitle",f.label()+" Revisions")("nzValue",t.lcZ(53,46,e.revisions[f.statsType]))("nzPrefix",vt),t.xp6(6),t.Q6J("nzTitle",f.label()+" Contributors")("nzValue",t.lcZ(59,48,e.users[f.statsType]))("nzPrefix",K)}}function Dt(o,n){if(1&o&&(t.TgZ(0,"nz-row",9)(1,"nz-col",10),t._UZ(2,"nz-statistic",41),t.qZA(),t.TgZ(3,"nz-col",10),t._UZ(4,"nz-statistic",41),t.qZA(),t.TgZ(5,"nz-col",10),t._UZ(6,"nz-statistic",41),t.qZA(),t.TgZ(7,"nz-col",10),t._UZ(8,"nz-statistic",41),t.qZA(),t.TgZ(9,"nz-col",10),t._UZ(10,"nz-statistic",41),t.qZA()(),t.TgZ(11,"nz-row",9)(12,"nz-col",10),t._UZ(13,"nz-statistic",41),t.qZA(),t.TgZ(14,"nz-col",10),t._UZ(15,"nz-statistic",41),t.qZA(),t.TgZ(16,"nz-col",10),t._UZ(17,"nz-statistic",41),t.qZA(),t.TgZ(18,"nz-col",10),t._UZ(19,"nz-statistic",41),t.qZA(),t.TgZ(20,"nz-col",10),t._UZ(21,"nz-statistic",41),t.qZA()()),2&o){const e=t.oxw();t.xp6(2),t.Q6J("nzTitle",e.label()+" Assertions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Evidence")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Genes")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Variants")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Molecular Profiles")("nzValue","--"),t.xp6(3),t.Q6J("nzTitle",e.label()+" Diseases")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Therapies")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Sources")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Revisions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",e.label()+" Contributors")("nzValue","--")}}class ot{constructor(n){this.statsGql=n,this.statsLabel={allTime:"Total",newThisYear:"Yearly",newThisMonth:"Monthly",newThisWeek:"Weekly"},this.statsType="allTime"}label(){return this.statsLabel[this.statsType]}ngOnInit(){this.statsRef=this.statsGql.watch({}),this.response$=this.statsRef.valueChanges,this.isLoading$=this.response$.pipe((0,tt.j)("loading"),(0,q.h)(B.ep)),this.stats$=this.response$.pipe((0,tt.j)("data","timepointStats"),(0,q.h)(B.ep))}}ot.\u0275fac=function(n){return new(n||ot)(t.Y36(A.UWf))},ot.\u0275cmp=t.Xpm({type:ot,selectors:[["cvc-site-stats-card"]],decls:7,vars:5,consts:[["nzTitle","Knowledgebase Statistics","nzSize","small",1,"home-card",3,"nzExtra"],["statsRadioGroup",""],[4,"ngIf","ngIfElse"],["isLoading",""],["nzSize","small",3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","allTime"],["nz-radio-button","","nzValue","newThisWeek"],["nz-radio-button","","nzValue","newThisMonth"],["nz-radio-button","","nzValue","newThisYear"],["nzGutter","8"],["nzFlex","1"],["routerLink","/assertions"],[3,"nzTitle","nzValue","nzPrefix"],["assertionIcon",""],["routerLink","/evidence"],["evidenceIcon",""],["routerLink","/genes"],["geneIcon",""],["routerLink","/variants"],["variantIcon",""],["routerLink","/molecular-profiles"],["mpIcon",""],["routerLink","/diseases"],["diseaseIcon",""],["routerLink","/therapies"],["therapyIcon",""],["routerLink","/sources"],["sourceIcon",""],["revisionsIcon",""],["routerLink","/users"],["userIcon",""],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-molecularprofile",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-disease",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-therapy",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-user",3,"nzTwotoneColor"],[3,"nzTitle","nzValue"]],template:function(n,e){if(1&n&&(t.TgZ(0,"nz-card",0),t.YNc(1,xt,9,1,"ng-template",null,1,t.W1O),t.YNc(3,Nt,62,50,"ng-container",2),t.ALo(4,"ngrxPush"),t.YNc(5,Dt,22,20,"ng-template",null,3,t.W1O),t.qZA()),2&n){const r=t.MAs(2),l=t.MAs(6);t.Q6J("nzExtra",r),t.xp6(3),t.Q6J("ngIf",t.lcZ(4,3,e.stats$))("ngIfElse",l)}},dependencies:[v.O5,et.JJ,et.On,i.rH,gt.my,x.t3,x.SK,u.bd,nt.Of,nt.Bq,nt.Dg,_t.w,ut.Ls,v.JJ,b.fM,yt.a],styles:["[_nghost-%COMP%]{display:block}.home-card[_ngcontent-%COMP%]{border-radius:8px}"]});var Ut=s(2340),rt=s(6616),bt=s(1664),Ct=s(4788),Lt=s(3227);function Bt(o,n){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",9),t.BQk()),2&o){const e=t.oxw().ngIf,r=t.oxw(3);t.xp6(1),t.Q6J("events",e)("tagDisplay",r.tagDisplay)}}function Jt(o,n){1&o&&(t.ynx(0),t.TgZ(1,"button",10),t._uU(2," See Full Activity Feed "),t.qZA(),t.BQk())}function Wt(o,n){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",8),t.YNc(3,Bt,2,2,"ng-container",0),t.YNc(4,Jt,3,0,"ng-container",7),t.ALo(5,"ngrxPush"),t.qZA()(),t.BQk()),2&o){const e=n.ngIf,r=t.oxw(3),l=t.MAs(3);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",e.length)("ngIfElse",l),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,r.pageInfo$))}}function Qt(o,n){if(1&o&&(t.TgZ(0,"nz-card",6),t.YNc(1,Wt,6,6,"ng-container",7),t.ALo(2,"ngrxPush"),t.qZA()),2&o){const e=t.oxw(2);t.Q6J("nzTitle",void 0),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,2,e.events$))}}function Yt(o,n){1&o&&(t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),t.YNc(4,Qt,3,4,"nz-card",5),t.qZA()()(),t.BQk()),2&o&&(t.xp6(1),t.Q6J("nzGutter",16))}function Rt(o,n){1&o&&t._UZ(0,"nz-empty",11)}class it{constructor(n){this.gql=n,this.pageSize=15,this.mode=A.wJ2.Unscoped,this.tagDisplay="hideOrg",this.showFilters=!1}ngOnInit(){this.initialQueryVars={first:this.pageSize,mode:this.mode,showFilters:this.showFilters,includeAutomatedEvents:!1},this.queryRef=Ut.N.production?this.gql.watch(this.initialQueryVars,{pollInterval:3e4}):this.gql.watch(this.initialQueryVars),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,tt.j)("data"),(0,q.h)(B.ep),(0,a.U)(({events:n})=>n.pageInfo)),this.events$=this.results$.pipe((0,tt.j)("data"),(0,q.h)(B.ep),(0,a.U)(({events:n})=>n.edges.map(e=>e.node))),this.unfilteredCount$=this.results$.pipe((0,tt.j)("data"),(0,q.h)(B.ep),(0,a.U)(({events:n})=>n.unfilteredCount))}}function $t(o,n){1&o&&(t.TgZ(0,"nz-carousel",6)(1,"div",7)(2,"h1"),t._uU(3,"Welcome to CIViC"),t.qZA(),t.TgZ(4,"h2"),t._uU(5," an open-source platform supporting crowdsourced and expert-moderated cancer variant curation. "),t.qZA()(),t.TgZ(6,"div",7)(7,"h1"),t._uU(8," Discover supported clinical interpretations "),t._UZ(9,"br"),t._uU(10," of mutations related to cancer. "),t.qZA()(),t.TgZ(11,"div",7)(12,"h1"),t._uU(13," Participate with colleagues "),t._UZ(14,"br"),t._uU(15,"to add variants and support "),t._UZ(16,"br"),t._uU(17,"for cancer-related mutations. "),t.qZA()(),t.TgZ(18,"div",7)(19,"h1")(20,"a",8),t._uU(21,"Become an Editor! "),t._UZ(22,"br"),t._uU(23,"Help moderate updates to CIViC"),t.qZA()()()())}function Ft(o,n){1&o&&(t.TgZ(0,"nz-row")(1,"nz-col",4)(2,"nz-space",0),t.YNc(3,$t,24,0,"nz-carousel",5),t.qZA()()()),2&o&&(t.xp6(1),t.Q6J("nzSpan",24))}function Vt(o,n){1&o&&(t.TgZ(0,"nz-row",9)(1,"nz-col",4),t._UZ(2,"cvc-site-stats-card"),t.qZA()()),2&o&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}function Ht(o,n){1&o&&(t.TgZ(0,"nz-row",9)(1,"nz-col",4)(2,"nz-card",10)(3,"nz-list",11)(4,"nz-list-item")(5,"nz-list-item-meta")(6,"nz-list-item-meta-title")(7,"span"),t._uU(8,"Introducing Molecular Profiles"),t.qZA(),t._UZ(9,"br"),t.TgZ(10,"span",12),t._uU(11," January 9th, 2023 "),t.qZA()()(),t._uU(12," Today we have rolled out support for a new core concept in CIViC: "),t.TgZ(13,"a",13),t._uU(14," Molecular Profiles"),t.qZA(),t._uU(15,". Molecular Profiles are logical combinations of one or more CIViC Variants. While most Molecular Profiles will consist of a single Variant (\u201cSimple\u201d) they will also allow users to build \u201cComplex\u201d (multi-variant) Molecular Profiles to associate Evidence with. These complex profiles expand the CIViC data model to allow for clinical significance to be evaluated within contexts such as variant co-occurrence or mutual exclusivity. Going forward, Evidence will be associated with a Molecular Profile rather than directly with a Variant. If you have any questions about this change, please feel free to "),t.TgZ(16,"a",14),t._uU(17,"contact us"),t.qZA(),t._uU(18,". We have also prepared a "),t.TgZ(19,"a",15),t._uU(20,"video"),t.qZA(),t._uU(21," explaining this new feature. "),t.TgZ(22,"nz-list-item-extra",16),t._UZ(23,"iframe",17),t.qZA()(),t.TgZ(24,"nz-list-item")(25,"nz-list-item-meta")(26,"nz-list-item-meta-title")(27,"span"),t._uU(28,"Announcing Support for ASH Abstracts "),t.qZA(),t._UZ(29,"br"),t.TgZ(30,"span",12),t._uU(31," January 9, 2023 "),t.qZA()()(),t._UZ(32,"img",18),t._uU(33," ASH Annual Meeting Abstracts can now be used as Sources when submitting Evidence Items to CIViC. They can be specified by DOI in the 'Add Source' section of the Evidence form. "),t._UZ(34,"nz-list-item-extra"),t.qZA(),t.TgZ(35,"nz-list-item")(36,"nz-list-item-meta")(37,"nz-list-item-meta-title")(38,"span"),t._uU(39,"CIViC named as a Global Core Biodata Resource"),t.qZA(),t._UZ(40,"br"),t.TgZ(41,"span",12),t._uU(42," Dec 15, 2022 "),t.qZA()()(),t.TgZ(43,"a",19),t._UZ(44,"img",20),t.qZA(),t._uU(45," CIViC has been named in a "),t.TgZ(46,"a",21),t._uU(47,"list of 37 Global Core Biodata Resources"),t.qZA(),t._uU(48," alongside other important resources such as Ensembl, ClinGen and Gnomad. The GCBR includes "),t.TgZ(49,"a",22),t._uU(50,"select resources"),t.qZA(),t._uU(51," that ensure the long term preservation of biological data, and are of fundamental importance to the biological and life sciences community. "),t._UZ(52,"nz-list-item-extra"),t.qZA(),t.TgZ(53,"nz-list-item")(54,"nz-list-item-meta")(55,"nz-list-item-meta-title")(56,"span"),t._uU(57,"CIViC Wins ICTR Elevator Pitch Award"),t.qZA(),t._UZ(58,"br"),t.TgZ(59,"span",12),t._uU(60," September 14th, 2022 "),t.qZA()()(),t._uU(61," At this year's "),t.TgZ(62,"a",23),t._uU(63,"Informatics Technology for Cancer Research"),t.qZA(),t._uU(64," annual "),t.TgZ(65,"a",24),t._uU(66,"meeting in St. Louis"),t.qZA(),t._uU(67,', CIViC won 1st prize in the Elevator Pitch contest for "Most Potential for Patient Impact". Please check out the award-winning elevator pitch, now featured at the top of the '),t.TgZ(68,"a",25),t._uU(69,"About CIViC page"),t.qZA(),t._uU(70,". "),t._UZ(71,"nz-list-item-extra"),t.qZA(),t.TgZ(72,"nz-list-item")(73,"nz-list-item-meta")(74,"nz-list-item-meta-title")(75,"span"),t._uU(76,"Pediatric Cancer Variants"),t.qZA(),t._UZ(77,"br"),t.TgZ(78,"span",12),t._uU(79," February 12th, 2021 "),t.qZA()()(),t._uU(80," Through support from the Childhood Cancer Data Initiative (CCDI), we have executed our initial phase of highlighting pediatric cancer variant content. This advanced search query displays childhood relevant data contained in CIViC. Stay tuned for more pediatric-focused features as we launch the first open-access searchable childhood-cancer-specific dataset. "),t._UZ(81,"nz-list-item-extra"),t.qZA()()()(),t.TgZ(82,"nz-col",4)(83,"nz-card",26),t._UZ(84,"cvc-homepage-event-feed",27),t.qZA()()()),2&o&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(81),t.Q6J("nzSpan",12),t.xp6(2),t.Q6J("pageSize",23))}function jt(o,n){1&o&&(t.TgZ(0,"nz-row",9)(1,"nz-col",4)(2,"nz-card",28)(3,"p"),t._uU(4," CIViC is a community-edited forum for discussion and interpretation of peer-reviewed publications pertaining to the clinical relevance of variants (or biomarker alterations) in cancer. These interpretations may include associations between molecular alterations (or lack of alteration) and one or more therapies, diagnoses, prognoses or other treatment decisions. These interpretations of clinical significance (or lack of clinical significance) are purely for research purposes. A finding of no interpretation does not necessarily indicate lack of relevance for any specific variant or biomarker alteration. Interpretations are not presented in ranked order of potential or predicted importance. These interpretations make no promise or guarantee of any clinical benefit (or lack of clinical benefit). "),t.qZA(),t.TgZ(5,"p"),t._uU(6," The civicdb.org website does not provide any medical or healthcare products, services or advice, and is not for medical emergencies or urgent situations. "),t.TgZ(7,"strong"),t._uU(8,"IF YOU THINK YOU MAY HAVE A MEDICAL EMERGENCY, CALL YOUR DOCTOR OR 911 IMMEDIATELY"),t.qZA(),t._uU(9,". Information contained on this website is not a substitute for a doctor's medical judgment or advice. We recommend that you discuss your specific, individual health concerns with your doctor or health care professional. "),t.qZA()()()()),2&o&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}function Gt(o,n){if(1&o&&(t.TgZ(0,"nz-row",30)(1,"div",31),t._uU(2),t.ALo(3,"date"),t.TgZ(4,"a",32),t._uU(5,"Release Notes"),t.qZA(),t._uU(6," \u2022 "),t.TgZ(7,"a",33),t._uU(8,"History"),t.qZA()()()),2&o){const e=t.oxw().ngIf;t.xp6(2),t.AsE(" CIViC ",e.name," (",t.lcZ(3,3,e.published_at),") \u2022 "),t.xp6(2),t.Q6J("href",e.html_url,t.LSH)}}function Kt(o,n){1&o&&(t.ynx(0),t.YNc(1,Gt,9,5,"nz-row",29),t.BQk())}it.\u0275fac=function(n){return new(n||it)(t.Y36(A.BTF))},it.\u0275cmp=t.Xpm({type:it,selectors:[["cvc-homepage-event-feed"]],inputs:{pageSize:"pageSize"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],["nzSpan","24"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle",4,"nzSpaceItem"],[3,"nzTitle"],[4,"ngIf"],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-button","","nzType","default","nzSize","small","nzBlock","","routerLink","/curation/activity"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(n,e){if(1&n&&(t.YNc(0,Yt,5,1,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,Rt,1,0,"ng-template",null,1,t.W1O)),2&n){const r=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,e.unfilteredCount$))("ngIfElse",r)}},dependencies:[v.O5,i.rH,rt.ix,_t.w,bt.dQ,u.bd,x.t3,x.SK,O.NU,O.$1,Ct.p9,Lt.r,b.fM],styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]});class st{constructor(n){this.http=n,this.feedMode=A.wJ2.Unscoped}ngOnInit(){this.release$=this.http.get("https://api.github.com/repos/griffithlab/civic-v2/releases?per_page=1").pipe((0,a.U)(n=>n[0]))}}st.\u0275fac=function(n){return new(n||st)(t.Y36(w.eN))},st.\u0275cmp=t.Xpm({type:st,selectors:[["app-welcome"]],decls:7,vars:3,consts:[["nzDirection","vertical","nzSize","middle",1,"space-container"],[4,"nzSpaceItem"],[3,"nzGutter",4,"nzSpaceItem"],[4,"ngIf"],[3,"nzSpan"],["nzAutoPlay","","nzAutoPlaySpeed","10000",4,"nzSpaceItem"],["nzAutoPlay","","nzAutoPlaySpeed","10000"],["nz-carousel-content",""],["href","https://civic.readthedocs.io/en/latest/curating/editor.html","target","_blank",1,"header-link"],[3,"nzGutter"],["nzTitle","News & Events","nzSize","small",1,"home-card",2,"height","100%"],["nzItemLayout","vertical"],["nz-typography","","nzType","secondary"],["href","https://civic.readthedocs.io/en/latest/model/molecular_profiles.html","target","_blank"],["href","mailto:help@civicdb.org"],["href","https://www.youtube.com/watch?v=--i54jY746w","target","_blank"],[2,"padding-top","100px"],["width","300","src","https://www.youtube.com/embed/--i54jY746w","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["src","assets/images/ash-control-screenshot.png","alt","Screenshot of Add Source form Control",2,"float","right","margin","-20px 8px 8px 8px","height","75px"],["href","https://globalbiodata.org","title","GCBR Homepage","target","_blank"],["src","assets/images/GCBR-Logo-RGB.png","alt","The Global Code Biodata Resources Logo",2,"float","right","margin","0 0 8px 8px","height","75px"],["href","https://globalbiodata.org/scientific-activities/global-core-biodata-resources/","title","Global Core Biodata Resources List","target","_blank"],["href","https://globalbiodata.org/scientific-activities/global-core-biodata-resources/gcbr-selection-2022/","title","GCBR Selection Process Overview, 2022","target","_blank"],["href","https://itcr.cancer.gov"],["href","https://itcr2022.org/#abstracts"],["href","/pages/about"],["nzTitle","Live Curation Activity","nzSize","small",1,"home-card",2,"height","100%"],[3,"pageSize"],["nzTitle","Medical Disclaimer: This resource is intended for purely research purposes. It should not be used for emergencies or medical or professional advice.","nzSize","small",1,"home-card"],["nzAlign","middle","nzJustify","center",4,"nzSpaceItem"],["nzAlign","middle","nzJustify","center"],["id","release-info","nz-typography",""],["target","_blank",3,"href"],["href","https://github.com/griffithlab/civic-v2/releases/","target","_blank"]],template:function(n,e){1&n&&(t.TgZ(0,"nz-space",0),t.YNc(1,Ft,4,1,"nz-row",1),t.YNc(2,Vt,3,2,"nz-row",2),t.YNc(3,Ht,85,4,"nz-row",2),t.YNc(4,jt,10,2,"nz-row",2),t.YNc(5,Kt,2,0,"ng-container",3),t.ALo(6,"async"),t.qZA()),2&n&&(t.xp6(5),t.Q6J("ngIf",t.lcZ(6,1,e.release$)))},dependencies:[v.O5,x.t3,x.SK,ht,Z,u.bd,z.n_,z.AA,z.yi,z.IO,z.yw,O.NU,O.$1,X.ZU,ot,it,v.Ov,v.uU],styles:["[_nghost-%COMP%]{display:block}.space-container[_ngcontent-%COMP%]{display:block}.ant-carousel[_ngcontent-%COMP%]{border:1px solid #3e5166;border-radius:8px;height:200px;background-color:#001529}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%]{padding-top:3em;padding-left:3em;height:200px;background-color:#2e143e;overflow:hidden;color:#fff}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff}.home-card[_ngcontent-%COMP%]{border-radius:8px}.header-link[_ngcontent-%COMP%], #release-info[_ngcontent-%COMP%]{color:#fff}#release-info[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline}"]});const Xt=[{path:"",component:st}];class ${}$.\u0275fac=function(n){return new(n||$)},$.\u0275mod=t.oAB({type:$}),$.\u0275inj=t.cJS({imports:[i.Bz.forChild(Xt),i.Bz]});var Tt=s(317),qt=s(545),mt=s(9444);class F{}F.\u0275fac=function(n){return new(n||F)},F.\u0275mod=t.oAB({type:F}),F.\u0275inj=t.cJS({imports:[v.ez,et.u5,i.Bz,b._N,b.pP,gt.A2,x.Jb,u.vh,nt.aF,rt.sL,qt.H0,X.ZJ,ut.PV,Tt.s,mt.s]});var te=s(6704),ee=s(1243),ne=s(8231),oe=s(3884),ie=s(1150),se=s(4383);class V{}V.\u0275fac=function(n){return new(n||V)},V.\u0275mod=t.oAB({type:V}),V.\u0275inj=t.cJS({imports:[v.ez,et.u5,b._N,b.pP,i.Bz,rt.sL,u.vh,ut.PV,te.U5,ne.LV,ee.m,x.Jb,O.zf,Ct.Xo,se.Rt,oe.m,mt.s,ie.N,mt.s]});class H{}H.\u0275fac=function(n){return new(n||H)},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({imports:[v.ez,et.u5,b._N,b.pP,rt.sL,x.Jb,dt,u.vh,z.Ph,nt.aF,O.zf,gt.A2,X.ZJ,$,F,V,Tt.s]})},545:(J,I,s)=>{s.d(I,{H0:()=>L});var i=s(4650),A=s(6895),a=s(445);let L=(()=>{class g{}return g.\u0275fac=function(c){return new(c||g)},g.\u0275mod=i.oAB({type:g}),g.\u0275inj=i.cJS({imports:[a.vT,A.ez]}),g})()}}]); \ No newline at end of file diff --git a/server/public/4449.385cbcaaa3a2a9b7.js b/server/public/4449.385cbcaaa3a2a9b7.js new file mode 100644 index 000000000..86a0d12f2 --- /dev/null +++ b/server/public/4449.385cbcaaa3a2a9b7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4449],{1218:(O,v,o)=>{o.d(v,{i:()=>x});var c=o(6814),d=o(4190),C=o(5695),l=o(7417),n=o(551),_=o(1855),m=o(2524),h=o(3640),u=o(3146),z=o(5879);let x=(()=>{class f{}return f.\u0275fac=function(g){return new(g||f)},f.\u0275mod=z.oAB({type:f}),f.\u0275inj=z.cJS({imports:[c.ez,d.Bz,h.mS,C.X,l.$6,n.PV,_.f,m.s,u.C]}),f})()},1106:(O,v,o)=>{o.d(v,{L:()=>r});var c=o(6814),d=o(4190),C=o(5695),l=o(551),n=o(95),_=o(6067),m=o(8125),h=o(2962),u=o(1022),z=o(5879);let x=(()=>{class g{}return g.\u0275fac=function(P){return new(P||g)},g.\u0275mod=z.oAB({type:g}),g.\u0275inj=z.cJS({imports:[c.ez,h.vh,n.Jb,m.q6,_.X,u.H]}),g})();var f=o(7417);let r=(()=>{class g{}return g.\u0275fac=function(P){return new(P||g)},g.\u0275mod=z.oAB({type:g}),g.\u0275inj=z.cJS({imports:[c.ez,d.Bz,C.X,l.PV,f.$6,x]}),g})()},7950:(O,v,o)=>{o.d(v,{x:()=>f});var c=o(6814),d=o(366),C=o(5695),l=o(7417),n=o(3396),_=o(1106),m=o(5956),h=o(7528),u=o(6061),z=o(3717),x=o(5879);let f=(()=>{class r{}return r.\u0275fac=function(y){return new(y||r)},r.\u0275mod=x.oAB({type:r}),r.\u0275inj=x.cJS({imports:[c.ez,C.X,l.$6,d.$,u.N,n.Q,_.L,m.U,h.Q,z.M]}),r})()},3717:(O,v,o)=>{o.d(v,{M:()=>f});var c=o(6814),d=o(4190),C=o(5695),l=o(2962),n=o(6067),_=o(8125),m=o(551),h=o(2524),u=o(5879);let z=(()=>{class r{}return r.\u0275fac=function(y){return new(y||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[c.ez,m.PV,l.vh,_.q6,h.s,n.X]}),r})();var x=o(7417);let f=(()=>{class r{}return r.\u0275fac=function(y){return new(y||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[c.ez,d.Bz,m.PV,C.X,x.$6,z]}),r})()},4010:(O,v,o)=>{o.d(v,{F:()=>C});var d=o(5879);let C=(()=>{class l{transform(_,m="display-string"){return void 0===_?"":"display-string"===m?function c(l){switch(l){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return l}}(_):`civic-${_.replace(/_/g,"").toLowerCase()}`}}return l.\u0275fac=function(_){return new(_||l)},l.\u0275pipe=d.Yjl({name:"therapyInteractionEnumDisplay",type:l,pure:!0}),l})()},6444:(O,v,o)=>{o.r(v),o.d(v,{DiseasesModule:()=>ze});var c=o(6814),d=o(4190),C=o(7921),l=o(4223),n=o(5879),_=o(313),m=o(551),h=o(6254),u=o(3317),z=o(3145),x=o(8091),f=o(2616);function r(e,a){if(1&e&&(n.TgZ(0,"cvc-link-tag",6),n._uU(1),n.qZA()),2&e){const t=n.oxw(2).ngIf;n.Q6J("href",t.diseaseUrl),n.xp6(1),n.hij(" ","DOID:"+t.doid," ")}}function g(e,a){if(1&e&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,r,2,2,"cvc-link-tag",5),n.qZA()),2&e){const t=n.oxw().ngIf;n.xp6(1),n.Q6J("ngIf",t.diseaseUrl)}}function y(e,a){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),n._UZ(4,"i",3),n.ALo(5,"entityColor"),n._uU(6),n.qZA(),n.YNc(7,g,2,1,"nz-page-header-extra",0),n.TgZ(8,"nz-page-header-content")(9,"div",4),n._UZ(10,"router-outlet"),n.qZA()()(),n.BQk()),2&e){const t=a.ngIf;n.xp6(1),n.Q6J("displayName",t.name),n.xp6(3),n.Q6J("nzTwotoneColor",n.lcZ(5,4,"Disease")),n.xp6(2),n.hij(" ",t.name," "),n.xp6(1),n.Q6J("ngIf",t.doid)}}let P=(()=>{class e{constructor(t,i){this.route=t,this.gql=i,this.routeSub=this.route.params.subscribe(s=>{this.diseaseId=+s.diseaseId,this.queryRef=this.gql.watch({diseaseId:this.diseaseId});let p=this.queryRef.valueChanges;this.loading$=p.pipe((0,l.j)("loading"),(0,C.O)(!0)),this.disease$=p.pipe((0,l.j)("data","disease"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(d.gz),n.Y36(_.wg3))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-diseases-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-disease",3,"nzTwotoneColor"],[1,"content"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf"],["tooltip","View on disease-ontology.org",3,"href"]],template:function(t,i){1&t&&(n.YNc(0,y,11,6,"ng-container",0),n.ALo(1,"ngrxPush")),2&t&&n.Q6J("ngIf",n.lcZ(1,1,i.disease$))},dependencies:[c.O5,d.lC,m.Ls,h.$O,h.u9,h.u5,h.Jp,u.l,z.I,x.fM,f.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var I,M=o(95),w=o(2840),Y=o(855),D=o(2392),b=o(2574),G=o(655),X=o(4632),Z=o(1791),B=o(5619),N=o(8645),F=o(5676),$=o(3997),q=o(812),k=o(836),J=o(2181),R=o(7398),nn=o(3620),en=o(2460),S=o(2962),T=o(3740),E=o(5695),H=o(6109),tn=o(6753),on=o(4764),an=o(8516),sn=o(9775),cn=o(3489),rn=o(9857),ln=o(4997);function gn(e,a){}function pn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",5),n.YNc(2,gn,0,0,"ng-template",6),n.qZA(),n.BQk()),2&e){n.oxw();const t=n.MAs(6),i=n.MAs(8),s=n.MAs(4);n.xp6(1),n.Q6J("nzTitle",t)("nzExtra",i),n.xp6(1),n.Q6J("ngTemplateOutlet",s)}}function dn(e,a){}const _n=function(e){return{height:e}};function mn(e,a){if(1&e&&(n.TgZ(0,"div",7)(1,"nz-card",8),n.YNc(2,dn,0,0,"ng-template",6),n.qZA()()),2&e){const t=n.oxw(),i=n.MAs(6),s=n.MAs(8),p=n.MAs(4);n.Q6J("ngStyle",n.VKq(4,_n,t.cvcHeight)),n.xp6(1),n.Q6J("nzTitle",i)("nzExtra",s),n.xp6(1),n.Q6J("ngTemplateOutlet",p)}}function hn(e,a){if(1&e&&(n.TgZ(0,"cvc-link-tag",36),n._uU(1),n.qZA()),2&e){const t=n.oxw().$implicit;n.Q6J("href",t.diseaseUrl),n.xp6(1),n.hij(" ","DOID:"+t.doid," ")}}function fn(e,a){1&e&&n._uU(0," -- ")}function un(e,a){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const t=a.$implicit,i=a.last;n.xp6(1),n.AsE(" ",t,"",i?"":", "," ")}}function zn(e,a){if(1&e&&n.YNc(0,un,2,2,"ng-container",37),2&e){const t=n.oxw().$implicit;n.Q6J("ngForOf",t.geneNames)}}function vn(e,a){if(1&e&&(n.TgZ(0,"tr",29)(1,"td",25),n._UZ(2,"cvc-disease-tag",30),n.qZA(),n.TgZ(3,"td",25),n.YNc(4,hn,2,2,"cvc-link-tag",31),n.YNc(5,fn,1,0,"ng-template",null,32,n.W1O),n.qZA(),n.TgZ(7,"td",33),n.YNc(8,zn,1,1,"ng-template",null,34,n.W1O),n.GkF(10,6),n.qZA(),n.TgZ(11,"td",35),n._uU(12),n.qZA(),n.TgZ(13,"td",35),n._uU(14),n.qZA(),n.TgZ(15,"td",35),n._uU(16),n.qZA(),n.TgZ(17,"td",35),n._uU(18),n.qZA()()),2&e){const t=a.$implicit,i=n.MAs(6),s=n.MAs(9),p=n.oxw(2);n.xp6(2),n.Q6J("disease",t),n.xp6(2),n.Q6J("ngIf",t.doid)("ngIfElse",i),n.xp6(3),n.Q6J("nzTooltipTitle",p.isScrolling?"":s),n.xp6(3),n.Q6J("ngTemplateOutlet",s),n.xp6(2),n.hij(" ",t.geneCount," "),n.xp6(2),n.hij(" ",t.variantCount," "),n.xp6(2),n.hij(" ",t.evidenceItemCount," "),n.xp6(2),n.hij(" ",t.assertionCount," ")}}const Cn=function(){return[]},xn=function(){return{x:"680px",y:"800px"}},Q=function(){return["descend","ascend",null]};function Tn(e,a){if(1&e){const t=n.EpF();n.TgZ(0,"nz-table",9,10),n.NdJ("cvcTableScrollOnScroll",function(s){n.CHM(t);const p=n.oxw();return n.KtG(p.scrollEvent$.next(s))}),n.ALo(2,"ngrxPush"),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.ALo(5,"ngrxPush"),n.TgZ(6,"thead",11),n.NdJ("nzSortOrderChange",function(s){n.CHM(t);const p=n.oxw();return n.KtG(p.sortChange$.next(s))}),n.TgZ(7,"tr",12)(8,"th",13),n._uU(9," Name "),n.qZA(),n.TgZ(10,"th",14),n._uU(11," DOID "),n.qZA(),n.TgZ(12,"th",15),n._uU(13,"Genes"),n.qZA(),n.TgZ(14,"th",16),n._UZ(15,"i",17),n._uU(16," Count "),n.qZA(),n.TgZ(17,"th",18),n._UZ(18,"i",19),n._uU(19," Count "),n.qZA(),n.TgZ(20,"th",20),n._UZ(21,"i",21),n._uU(22," Count "),n.qZA(),n.TgZ(23,"th",22),n._UZ(24,"i",23),n._uU(25," Count "),n.qZA()(),n.TgZ(26,"tr",24)(27,"th",25)(28,"cvc-clearable-input-filter",26),n.NdJ("inputModelChange",function(s){n.CHM(t);const p=n.oxw();return n.KtG(p.nameInput=s)})("inputModelChange",function(){n.CHM(t);const s=n.oxw();return n.KtG(s.filterChange$.next())}),n.qZA()(),n.TgZ(29,"th",25)(30,"cvc-clearable-input-filter",26),n.NdJ("inputModelChange",function(s){n.CHM(t);const p=n.oxw();return n.KtG(p.doidInput=s)})("inputModelChange",function(){n.CHM(t);const s=n.oxw();return n.KtG(s.filterChange$.next())}),n.qZA()(),n.TgZ(31,"th")(32,"cvc-clearable-input-filter",26),n.NdJ("inputModelChange",function(s){n.CHM(t);const p=n.oxw();return n.KtG(p.geneNameInput=s)})("inputModelChange",function(){n.CHM(t);const s=n.oxw();return n.KtG(s.filterChange$.next())}),n.qZA()(),n._UZ(33,"th",27)(34,"th",27)(35,"th",27)(36,"th",27),n.qZA()(),n.TgZ(37,"tbody"),n.YNc(38,vn,19,9,"ng-template",28),n.qZA()()}if(2&e){const t=n.oxw();n.Q6J("nzData",n.lcZ(2,30,t.row$)||n.DdM(38,Cn))("nzLoading",!n.lcZ(3,32,t.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",t.queryRef)("cvcTableScrollPageInfo",n.lcZ(4,34,t.pageInfo$))("cvcTableScrollToIndex",n.lcZ(5,36,t.scrollIndex$))("nzVirtualForTrackBy",t.trackByIndex)("nzScroll",n.DdM(39,xn))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(8),n.Q6J("nzColumnKey",t.sortColumns.Name)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",t.sortColumns.Doid)("nzSortFn",!0),n.xp6(4),n.Q6J("nzColumnKey",t.sortColumns.GeneCount)("nzSortFn",!0)("nzSortDirections",n.DdM(40,Q)),n.xp6(3),n.Q6J("nzColumnKey",t.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",n.DdM(41,Q)),n.xp6(3),n.Q6J("nzColumnKey",t.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(42,Q)),n.xp6(3),n.Q6J("nzColumnKey",t.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",n.DdM(43,Q)),n.xp6(5),n.Q6J("inputModel",t.nameInput),n.xp6(2),n.Q6J("inputModel",t.doidInput),n.xp6(2),n.Q6J("inputModel",t.geneNameInput)}}function yn(e,a){}function Mn(e,a){if(1&e&&(n.ynx(0),n.YNc(1,yn,0,0,"ng-template",6),n.BQk()),2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",t.cvcTitleTemplate)}}function Dn(e,a){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",t.cvcTitle," ")}}function In(e,a){if(1&e&&(n.YNc(0,Mn,2,1,"ng-container",38),n.YNc(1,Dn,2,1,"ng-container",38),n.TgZ(2,"span",39),n._UZ(3,"cvc-table-counts",40),n.qZA()),2&e){const t=n.oxw();n.Q6J("ngIf",t.cvcTitleTemplate),n.xp6(1),n.Q6J("ngIf",t.cvcTitle),n.xp6(2),n.Q6J("cvcTableCountsConnection",t.connection$)}}function On(e,a){1&e&&(n.TgZ(0,"nz-tag",43),n._UZ(1,"i",44),n.TgZ(2,"span"),n._uU(3,"Loading\u2026"),n.qZA()())}function Pn(e,a){if(1&e&&(n.YNc(0,On,4,0,"nz-tag",41),n.ALo(1,"ngrxPush"),n._UZ(2,"cvc-no-more-rows",42),n.ALo(3,"ngrxPush")),2&e){const t=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,t.moreLoading$)),n.xp6(2),n.Q6J("cvcShowTag",n.lcZ(3,4,t.noMoreRows$))}}let L=((I=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,t){this.gql=a,this.cdr=t,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=_.R8w,this.noMoreRows$=new B.X(!1),this.scrollEvent$=new B.X("stop"),this.sortChange$=new N.x,this.filterChange$=new N.x,this.scrollIndex$=new N.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,l.j)("loading"),(0,$.x)(),(0,q.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,l.j)("loading"),(0,$.x)(),(0,k.T)(2)),this.connection$=this.result$.pipe((0,l.j)("data","browseDiseases"),(0,J.h)(F.ep)),this.row$=this.connection$.pipe((0,l.j)("edges"),(0,J.h)(F.ep),(0,R.U)(a=>a.map(t=>t.node))),this.pageInfo$=this.connection$.pipe((0,l.j)("pageInfo"),(0,J.h)(F.ep)),this.sortChange$.pipe((0,Z.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,X._)(a)})}),this.filterChange$.pipe((0,nn.b)(500),(0,Z.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,R.U)(a=>"stop"!==a),(0,$.x)(),(0,Z.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,J.h)(a=>"bottom"===a),(0,en.M)(this.pageInfo$),(0,R.U)(([a,t])=>t),(0,Z.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameInput,geneNames:this.geneNameInput,doid:this.doidInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(a,t){return t?.id}}).\u0275fac=function(a){return new(a||I)(n.Y36(_.Tq1),n.Y36(n.sBO))},I.\u0275cmp=n.Xpm({type:I,selectors:[["cvc-diseases-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","300px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","400px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Gene Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-gene"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"disease"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf","ngIfElse"],["noDoid",""],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],["geneNames",""],["nzRight","","nzAlign","right"],["tooltip","View on disease-ontology.org",3,"href"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,t){if(1&a&&(n.YNc(0,pn,3,3,"ng-container",0),n.YNc(1,mn,3,6,"ng-template",null,1,n.W1O),n.YNc(3,Tn,39,44,"ng-template",null,2,n.W1O),n.YNc(5,In,4,3,"ng-template",null,3,n.W1O),n.YNc(7,Pn,4,6,"ng-template",null,4,n.W1O)),2&a){const i=n.MAs(2);n.Q6J("ngIf",!t.cvcHeight)("ngIfElse",i)}},dependencies:[c.sg,c.O5,c.tP,c.PC,Y.w,S.bd,m.Ls,T.N8,T.qD,T.Uo,T._C,T.Om,T.p0,T.$Z,T.zu,T.qn,T.UX,E.j,H.SY,tn.D,on.q,an.p,sn.n,u.l,cn.H,rn.B,ln.y,x.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),I);function Zn(e,a){1&e&&(n.TgZ(0,"a",14),n._UZ(1,"i",15),n._uU(2," View Disease Attribute Docs "),n.qZA())}function Sn(e,a){1&e&&(n.TgZ(0,"a",16),n._UZ(1,"i",15),n._uU(2," View Disease Curation Docs "),n.qZA())}L=(0,G.gn)([(0,Z.c)()],L);let An=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["diseases-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-disease",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html#curating-diseases","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Diseases"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/disease.html#curating-diseases","target","_blank","nzSize","small","nzBlock",""]],template:function(t,i){1&t&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),n._UZ(5,"i",3),n.ALo(6,"entityColor"),n.qZA(),n.TgZ(7,"nz-col",4)(8,"h2"),n._uU(9,"Diseases"),n.qZA(),n.TgZ(10,"p",5),n._uU(11," All CIViC Evidence Items are associated with a Disease included in the Disease Ontology database. "),n.qZA()(),n.TgZ(12,"nz-col",6)(13,"nz-space",7),n.YNc(14,Zn,3,0,"a",8),n.YNc(15,Sn,3,0,"a",9),n.qZA()()(),n.TgZ(16,"div",10)(17,"div",11)(18,"div",12),n._UZ(19,"cvc-diseases-table",13),n.qZA()()()()()),2&t&&(n.xp6(5),n.Q6J("nzTwotoneColor",n.lcZ(6,3,"Disease")),n.xp6(5),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24))},dependencies:[m.Ls,h.$O,h.u5,M.t3,M.SK,w.ix,Y.w,D.ZU,b.NU,b.$1,z.I,L,f.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var W=o(2185),bn=o(6822),Jn=o(1826),K=o(9382),A=o(8125),En=o(1887);function Qn(e,a){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const t=n.oxw(3);n.xp6(1),n.hij(" ",t.diseaseInfo.doDef," ")}}function Un(e,a){if(1&e&&(n.TgZ(0,"cvc-link-tag",24),n._uU(1),n.qZA()),2&e){const i=a.index;n.Q6J("href",a.$implicit),n.xp6(1),n.hij("Source ",i+1,"")}}function wn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,Un,2,2,"cvc-link-tag",23),n.qZA(),n.BQk()),2&e){const t=n.oxw(3);n.xp6(2),n.Q6J("ngForOf",t.diseaseInfo.doDefCitations)}}function Bn(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const t=a.$implicit;n.xp6(1),n.hij(" ",t," ")}}function Nn(e,a){if(1&e&&(n.TgZ(0,"nz-descriptions-item",25)(1,"cvc-tag-list"),n.YNc(2,Bn,2,1,"nz-tag",26),n.qZA()()),2&e){const t=n.oxw(3);n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("ngForOf",t.diseaseInfo.diseaseOntologyExactSynonyms)}}function Fn(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const t=a.$implicit;n.xp6(1),n.hij(" ",t," ")}}function $n(e,a){if(1&e&&(n.TgZ(0,"nz-descriptions-item",27)(1,"cvc-tag-list"),n.YNc(2,Fn,2,1,"nz-tag",26),n.qZA()()),2&e){const t=n.oxw(3);n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("ngForOf",t.diseaseInfo.diseaseOntologyRelatedSynonyms)}}function Rn(e,a){if(1&e&&(n.TgZ(0,"cvc-link-tag",28),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.Q6J("href","https://meshb.nlm.nih.gov/record/ui?ui="+t.diseaseInfo.mesh),n.xp6(1),n.hij(" MeSH:",t.diseaseInfo.mesh," ")}}function Ln(e,a){if(1&e&&(n.TgZ(0,"cvc-link-tag",29),n._uU(1),n.qZA()),2&e){const t=a.$implicit;n.Q6J("href","https://ncithesaurus.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI_Thesaurus&ns=ncit&code="+t),n.xp6(1),n.hij(" NCIt:",t," ")}}function Kn(e,a){if(1&e&&(n.TgZ(0,"cvc-link-tag",30),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.Q6J("href","https://www.omim.org/entry/"+t.diseaseInfo.omim),n.xp6(1),n.hij(" OMIM:",t.diseaseInfo.omim," ")}}function jn(e,a){if(1&e&&(n.TgZ(0,"nz-descriptions-item",31),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.hij(" ",t.diseaseInfo.icd10," ")}}function Yn(e,a){if(1&e&&(n.TgZ(0,"nz-descriptions-item",32),n._uU(1),n.qZA()),2&e){const t=n.oxw(3);n.xp6(1),n.hij(" ",t.diseaseInfo.icdo," ")}}function Hn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"div",8)(2,"nz-row",9)(3,"nz-col",10)(4,"nz-descriptions",11)(5,"nz-descriptions-item",12),n.YNc(6,Qn,2,1,"ng-container",13),n.qZA(),n.TgZ(7,"nz-descriptions-item",14),n.YNc(8,wn,3,1,"ng-container",13),n.qZA()()(),n.TgZ(9,"nz-col",10)(10,"nz-descriptions",11),n.YNc(11,Nn,3,2,"nz-descriptions-item",15),n.YNc(12,$n,3,2,"nz-descriptions-item",16),n.TgZ(13,"nz-descriptions-item",17)(14,"cvc-tag-list"),n.YNc(15,Rn,2,2,"cvc-link-tag",18),n.YNc(16,Ln,2,2,"cvc-link-tag",19),n.YNc(17,Kn,2,2,"cvc-link-tag",20),n.qZA()(),n.YNc(18,jn,2,1,"nz-descriptions-item",21),n.YNc(19,Yn,2,1,"nz-descriptions-item",22),n.qZA()()()(),n.BQk()),2&e){const t=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",1),n.xp6(2),n.Q6J("ngIf",t.diseaseInfo.doDef)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",t.diseaseInfo.doDefCitations.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",2),n.xp6(1),n.Q6J("ngIf",t.diseaseInfo.diseaseOntologyExactSynonyms.length>0),n.xp6(1),n.Q6J("ngIf",t.diseaseInfo.diseaseOntologyRelatedSynonyms.length>0),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("ngIf",t.diseaseInfo.mesh),n.xp6(1),n.Q6J("ngForOf",t.diseaseInfo.ncit),n.xp6(1),n.Q6J("ngIf",t.diseaseInfo.omim),n.xp6(1),n.Q6J("ngIf",t.diseaseInfo.icd10),n.xp6(1),n.Q6J("ngIf",t.diseaseInfo.icdo)}}function Wn(e,a){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const t=n.oxw(3);n.xp6(1),n.hij(" ",t.diseaseInfo.mondoDef," ")}}function Vn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"div",8)(2,"nz-row",9)(3,"nz-col",10)(4,"nz-descriptions",11)(5,"nz-descriptions-item",12),n.YNc(6,Wn,2,1,"ng-container",13),n.qZA()()()()(),n.BQk()),2&e){const t=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",2),n.xp6(2),n.Q6J("ngIf",t.diseaseInfo.mondoDef)("ngIfElse",i)}}function Gn(e,a){if(1&e){const t=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",2)(2,"nz-card-tab")(3,"nz-tabset",3)(4,"nz-tab",4),n.NdJ("nzClick",function(){n.CHM(t);const s=n.oxw();return n.KtG(s.tabIndex.next(0))}),n.qZA(),n.TgZ(5,"nz-tab",5),n.NdJ("nzClick",function(){n.CHM(t);const s=n.oxw();return n.KtG(s.tabIndex.next(1))}),n.qZA()()(),n.ynx(6,6),n.ALo(7,"async"),n.YNc(8,Hn,20,19,"ng-container",7),n.YNc(9,Vn,7,6,"ng-container",7),n.BQk(),n.qZA(),n.BQk()}if(2&e){const t=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(3),n.Q6J("ngSwitch",n.lcZ(7,4,t.tabIndex)),n.xp6(2),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1)}}function Xn(e,a){1&e&&(n.TgZ(0,"span",33),n._uU(1,"Not Found"),n.qZA())}let qn=(()=>{class e{constructor(){this.tabIndex=new B.X(0)}tabChange(t){this.tabIndex.next(t)}ngOnDestroy(){this.tabIndex.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-my-disease-info"]],inputs:{diseaseInfo:"diseaseInfo"},decls:3,vars:1,consts:[[4,"ngIf"],["noValue",""],["nzTitle","MyDiseaseInfo"],["nzSize","small",3,"nzAnimated"],["nzTitle","Disease Ontology",3,"nzClick"],["nzTitle","Mondo",3,"nzClick"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],[3,"nzGutter"],[3,"nzSpan"],["nzSize","small",3,"nzBordered","nzColumn"],["nzTitle","Definition"],[4,"ngIf","ngIfElse"],["nzTitle","Citations"],["nzTitle","Exact Synonyms",3,"nzSpan",4,"ngIf"],["nzTitle","Related Synonyms",3,"nzSpan",4,"ngIf"],["nzTitle","External Identifiers",3,"nzSpan"],["tooltip","View in MeSH",3,"href",4,"ngIf"],["tooltip","View in NCI Thesaurus",3,"href",4,"ngFor","ngForOf"],["tooltip","View on OMIM",3,"href",4,"ngIf"],["nzTitle","ICD - 10",4,"ngIf"],["nzTitle","ICD - O",4,"ngIf"],[3,"href",4,"ngFor","ngForOf"],[3,"href"],["nzTitle","Exact Synonyms",3,"nzSpan"],[4,"ngFor","ngForOf"],["nzTitle","Related Synonyms",3,"nzSpan"],["tooltip","View in MeSH",3,"href"],["tooltip","View in NCI Thesaurus",3,"href"],["tooltip","View on OMIM",3,"href"],["nzTitle","ICD - 10"],["nzTitle","ICD - O"],["nz-typography","","nzType","secondary"]],template:function(t,i){1&t&&(n.YNc(0,Gn,10,6,"ng-container",0),n.YNc(1,Xn,2,0,"ng-template",null,1,n.W1O)),2&t&&n.Q6J("ngIf",i.diseaseInfo)},dependencies:[c.sg,c.O5,c.RF,c.n9,K.xH,K.xw,S.bd,S._i,A.R7,A.uj,M.t3,M.SK,E.j,D.ZU,u.l,En.$,c.Ov],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]}),e})();const kn=function(){return[8,16]};function ne(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-row",2)(2,"nz-col",3),n._UZ(3,"cvc-my-disease-info",4),n.qZA(),n.TgZ(4,"nz-col",3),n._UZ(5,"cvc-evidence-table",5),n.qZA(),n.TgZ(6,"nz-col",3),n._UZ(7,"cvc-assertions-table",6),n.qZA()(),n.BQk()),2&e){const t=a.ngIf,i=n.oxw();n.xp6(1),n.Q6J("nzGutter",n.DdM(9,kn)),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("diseaseInfo",t.myDiseaseInfo),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.MGl("cvcTitle","",t.displayName," Evidence"),n.Q6J("diseaseId",i.diseaseId),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.MGl("cvcTitle","",t.displayName," Assertions"),n.Q6J("diseaseId",i.diseaseId)}}const ee=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-diseases"]],decls:1,vars:0,template:function(t,i){1&t&&n._UZ(0,"router-outlet")},dependencies:[d.lC],encapsulation:2}),e})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:An,data:{breadcrumb:"Home"}},{path:":diseaseId",component:P,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class e{constructor(t,i){this.route=t,this.gql=i,this.routeSub=this.route.params.subscribe(s=>{this.diseaseId=+s.diseaseId,this.queryRef=this.gql.watch({diseaseId:this.diseaseId});let p=this.queryRef.valueChanges;this.loading$=p.pipe((0,W.j)("loading"),(0,C.O)(!0)),this.disease$=p.pipe((0,W.j)("data","disease"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(d.gz),n.Y36(_.MNv))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-diseases-summary"]],decls:3,vars:3,consts:[[1,"summary-container"],[4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],[3,"diseaseInfo"],["cvcHeight","400px",3,"diseaseId","cvcTitle"],[3,"diseaseId","cvcTitle"]],template:function(t,i){1&t&&(n.TgZ(0,"div",0),n.YNc(1,ne,8,10,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,i.disease$)))},dependencies:[c.O5,M.t3,M.SK,bn.a,Jn.x,qn,x.fM],styles:["[_nghost-%COMP%]{display:block}"]}),e})(),data:{breadcrumb:"Summary"}}]}]}];let te=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[d.Bz.forChild(ee),d.Bz]}),e})();var j=o(6067),V=o(2419),U=o(2524);let oe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[c.ez,d.Bz,m.PV,D.ZJ,h.KJ,A.q6,b.zf,j.X,V.D,U.s]}),e})();var ae=o(5895),ie=o(1403),se=o(366);let ce=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[c.ez,K.we,T.HQ,S.vh,A.q6,M.Jb,E.X,D.ZJ,U.s,j.X,se.$]}),e})(),re=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[c.ez,M.Jb,A.q6,D.ZJ,ie.Q,ae.s,ce]}),e})();var le=o(7856),ge=o(9154),pe=o(2989),de=o(9175),_e=o(4742),me=o(9312),he=o(3396);let fe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[c.ez,w.sL,S.vh,m.PV,m.PV,T.HQ,E.X,H.cg,D.ZJ,U.s,de.n,_e.c,le.k,he.Q,j.X,ge.y,pe.T,me.w]}),e})(),ue=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[c.ez,m.PV,h.KJ,M.Jb,w.sL,D.ZJ,b.zf,V.D,fe,U.s]}),e})(),ze=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[c.ez,d.Bz,te,ue,oe,re]}),e})()}}]); \ No newline at end of file diff --git a/server/public/4503.ea75d9592050f619.js b/server/public/4503.ea75d9592050f619.js new file mode 100644 index 000000000..a88ad3dd5 --- /dev/null +++ b/server/public/4503.ea75d9592050f619.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4503],{7287:(W,E,o)=>{o.d(E,{L:()=>ut});var l=o(313),c=o(2181),h=o(7398),R=o(4223),n=o(5676),t=o(5879),d=o(6814),L=o(8091),C=o(2840),M=o(855),Q=o(1958),y=o(95),J=o(2024),N=o(8645),I=o(9773),F=o(951),B=o(7473),u=o(6223),b=o(3599),z=o(2962),O=o(3903),P=o(6109),D=o(2669),j=o(5805),q=o(2257),v=o(3764),Z=o(1889),T=o(4082);function Y(_,p){if(1&_){const s=t.EpF();t.TgZ(0,"nz-alert",8),t.NdJ("nzOnClose",function(){t.CHM(s);const f=t.oxw();return t.KtG(f.onSuccessBannerClose())}),t.qZA()}}function G(_,p){if(1&_&&t._UZ(0,"nz-alert",9),2&_){t.oxw();const s=t.MAs(4);t.Q6J("nzDescription",s)}}function K(_,p){if(1&_&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&_){const s=p.$implicit;t.xp6(1),t.Oqu(s)}}function X(_,p){if(1&_&&(t.TgZ(0,"ul"),t.YNc(1,K,2,1,"li",10),t.qZA()),2&_){const s=t.oxw();t.xp6(1),t.Q6J("ngForOf",s.errorMessages)}}function tn(_,p){}function en(_,p){1&_&&t.YNc(0,tn,0,0,"ng-template")}function nn(_,p){if(1&_&&(t.ynx(0),t.YNc(1,en,1,0,null,15),t.BQk()),2&_){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function V(_,p){}function on(_,p){1&_&&t.YNc(0,V,0,0,"ng-template")}function sn(_,p){if(1&_&&(t.TgZ(0,"span",16),t.YNc(1,on,1,0,null,15),t.qZA()),2&_){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function an(_,p){if(1&_&&(t.TgZ(0,"button",17),t._uU(1),t.ALo(2,"enumToTitle"),t.qZA()),2&_){const s=t.oxw().ngrxLet,g=t.oxw();t.Q6J("disabled",!(void 0!==g.comment&&g.comment.length>=10&&s.signedIn)),t.xp6(1),t.hij(" Flag ",t.lcZ(2,2,g.flaggable.entityType)," ")}}function U(_,p){if(1&_){const s=t.EpF();t.ynx(0),t.TgZ(1,"cvc-form-buttons")(2,"cvc-org-selector-btn-group",11),t.NdJ("selectedOrgChange",function(f){t.CHM(s);const S=t.oxw();return t.KtG(S.onOrgSelected(f))}),t.YNc(3,nn,2,1,"ng-container",12),t.YNc(4,sn,2,1,"ng-template",null,13,t.W1O),t.YNc(6,an,3,4,"ng-template",null,14,t.W1O),t.qZA()(),t.BQk()}if(2&_){const s=p.ngrxLet,g=t.MAs(5);t.xp6(3),t.Q6J("ngIf",s.signedIn)("ngIfElse",g)}}let A=(()=>{class _{constructor(s,g,f){this.gql=s,this.viewerService=g,this.networkErrorService=f,this.errorMessages=[],this.success=!1,this.loading=!1,this.comment="",this.destroy$=new N.x,this.addFlagMutator=new J.U(f),this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(S=>{this.selectedOrg=S.mostRecentOrg})}ngOnInit(){if(void 0===this.flaggable)throw new Error("Must pass a flagggable into flag add component")}onOrgSelected(s){this.selectedOrg=s}submitFlag(){this.errorMessages=[];let g=this.addFlagMutator.mutate(this.gql,{input:{comment:this.comment,subject:this.flaggable,organizationId:this.selectedOrg?.id}});g.submitSuccess$.pipe((0,I.R)(this.destroy$)).subscribe(f=>{f&&(this.flagAddedCallback&&this.flagAddedCallback(),this.success=!0,this.comment="")}),g.submitError$.pipe((0,I.R)(this.destroy$)).subscribe(f=>{f.length>0&&(this.errorMessages=f)}),g.isSubmitting$.pipe((0,I.R)(this.destroy$)).subscribe(f=>{this.loading=f})}onSuccessBannerClose(){this.success=!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return _.\u0275fac=function(s){return new(s||_)(t.Y36(l.B0s),t.Y36(F.a),t.Y36(B.Y))},_.\u0275cmp=t.Xpm({type:_,selectors:[["cvc-flag-add-form"]],inputs:{flaggable:"flaggable",flagAddedCallback:"flagAddedCallback"},decls:11,vars:5,consts:[["nzType","inner"],["nzBanner","","nzMessage","Flag submitted","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Error Adding Flag",3,"nzDescription",4,"ngIf"],["errorContents",""],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[4,"ngrxLet"],["nzBanner","","nzMessage","Flag submitted","nzType","success","nzCloseable","",3,"nzOnClose"],["nzType","error","nzShowIcon","","nzMessage","Error Adding Flag",3,"nzDescription"],[4,"ngFor","ngForOf"],[3,"selectedOrgChange"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to flag entity."],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"]],template:function(s,g){1&s&&(t.TgZ(0,"nz-card",0),t.YNc(1,Y,1,0,"nz-alert",1),t.YNc(2,G,1,1,"nz-alert",2),t.YNc(3,X,2,1,"ng-template",null,3,t.W1O),t.TgZ(5,"form",4),t.NdJ("ngSubmit",function(){return g.submitFlag()}),t.TgZ(6,"cvc-comment-input-form",5),t.NdJ("commentChange",function(S){return g.comment=S}),t.qZA(),t.TgZ(7,"nz-spin",6)(8,"nz-form-item")(9,"nz-form-control"),t.YNc(10,U,8,2,"ng-container",7),t.qZA()()()()()),2&s&&(t.xp6(1),t.Q6J("ngIf",g.success),t.xp6(1),t.Q6J("ngIf",g.errorMessages.length>0),t.xp6(4),t.Q6J("comment",g.comment),t.xp6(1),t.Q6J("nzSpinning",g.loading),t.xp6(3),t.Q6J("ngrxLet",g.viewer$))},dependencies:[d.sg,d.O5,d.tP,u._Y,u.JL,u.F,L.eJ,y.t3,y.SK,b.Lr,b.Nx,b.Fd,C.ix,M.w,Q.dQ,z.bd,O.r,P.SY,D.W,j.m,q.q,v.Z,Z.b,T.I],encapsulation:2}),_})();var $=o(2574),H=o(2392),pn=o(804),gn=o(6987),ln=o(551),mn=o(356),fn=o(2384),dn=o(7417);function un(_,p){if(1&_){const s=t.EpF();t.TgZ(0,"nz-alert",4),t.NdJ("nzOnClose",function(){t.CHM(s);const f=t.oxw();return t.KtG(f.onSuccessBannerClose())}),t.qZA()}}function vn(_,p){}function zn(_,p){1&_&&t.YNc(0,vn,0,0,"ng-template")}function Cn(_,p){if(1&_&&(t.ynx(0),t.YNc(1,zn,1,0,null,9),t.BQk()),2&_){t.oxw(2);const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function xn(_,p){if(1&_&&(t.ynx(0),t.YNc(1,Cn,2,1,"ng-container",5),t.BQk()),2&_){const s=t.oxw().ngrxLet,g=t.MAs(5),f=t.oxw();t.xp6(1),t.Q6J("ngIf",s.isEditor||s.isAdmin||f.flag.flaggingUser.id===s.id)("ngIfElse",g)}}function Tn(_,p){}function hn(_,p){1&_&&t.YNc(0,Tn,0,0,"ng-template")}function yn(_,p){if(1&_&&(t.TgZ(0,"span",10),t.YNc(1,hn,1,0,null,9),t.qZA()),2&_){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function Rn(_,p){}function An(_,p){1&_&&t.YNc(0,Rn,0,0,"ng-template")}function On(_,p){if(1&_&&(t.TgZ(0,"span",11),t.YNc(1,An,1,0,null,9),t.qZA()),2&_){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function Zn(_,p){if(1&_){const s=t.EpF();t.TgZ(0,"button",13),t.NdJ("nzPopoverVisibleChange",function(f){t.CHM(s);const S=t.oxw(3);return t.KtG(S.flagResolvePopoverVisible=f)})("click",function(){t.CHM(s);const f=t.oxw(3);return t.KtG(f.flagResolvePopoverVisible=!f.flagResolvePopoverVisible)}),t._uU(1," Resolve Flag "),t._UZ(2,"i",14),t.qZA()}if(2&_){const s=t.oxw(2).ngrxLet,g=t.oxw(),f=t.MAs(3),S=t.MAs(5);t.Q6J("nzPopoverTitle",f)("nzPopoverVisible",g.flagResolvePopoverVisible)("nzPopoverContent",S)("nzPopoverTrigger",void 0)("disabled",!s.signedIn||s.isCurator&&g.flag.flaggingUser.id!=s.id)}}function Fn(_,p){if(1&_&&t.YNc(0,Zn,3,5,"button",12),2&_){const s=t.oxw(2);t.Q6J("ngIf",!s.success)}}function bn(_,p){if(1&_&&(t.ynx(0),t.YNc(1,xn,2,2,"ng-container",5),t.YNc(2,yn,2,1,"ng-template",null,6,t.W1O),t.YNc(4,On,2,1,"ng-template",null,7,t.W1O),t.YNc(6,Fn,1,1,"ng-template",null,8,t.W1O),t.BQk()),2&_){const s=p.ngrxLet,g=t.MAs(3);t.xp6(1),t.Q6J("ngIf",s.signedIn)("ngIfElse",g)}}const Ln=function(){return{float:"right"}};function Mn(_,p){if(1&_){const s=t.EpF();t._uU(0," Resolve Flag "),t.TgZ(1,"span",15)(2,"i",16),t.NdJ("click",function(){t.CHM(s);const f=t.oxw();return f.flagResolvePopoverVisible=!1,t.KtG(f.errorMessages=[])}),t.qZA()()}2&_&&(t.xp6(1),t.Q6J("ngStyle",t.DdM(1,Ln)))}function Sn(_,p){if(1&_&&t._UZ(0,"nz-alert",25),2&_){t.oxw();const s=t.MAs(2);t.Q6J("nzDescription",s)}}function En(_,p){if(1&_&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&_){const s=p.$implicit;t.xp6(1),t.Oqu(s)}}function Qn(_,p){if(1&_&&(t.TgZ(0,"ul"),t.YNc(1,En,2,1,"li",26),t.qZA()),2&_){const s=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",s.errorMessages)}}function Nn(_,p){if(1&_){const s=t.EpF();t.YNc(0,Sn,1,1,"nz-alert",17),t.YNc(1,Qn,2,1,"ng-template",null,18,t.W1O),t.TgZ(3,"nz-card",19)(4,"form",20),t.NdJ("ngSubmit",function(){t.CHM(s);const f=t.oxw();return t.KtG(f.resolveFlag())}),t.TgZ(5,"cvc-comment-input-form",21),t.NdJ("commentChange",function(f){t.CHM(s);const S=t.oxw();return t.KtG(S.comment=f)}),t.qZA(),t.TgZ(6,"nz-spin",22)(7,"nz-form-item")(8,"nz-form-control")(9,"cvc-form-buttons")(10,"cvc-org-selector-btn-group",23),t.NdJ("selectedOrgChange",function(f){t.CHM(s);const S=t.oxw();return t.KtG(S.onOrgSelected(f))}),t.TgZ(11,"button",24),t._uU(12," Resolve "),t.qZA()()()()()()()()}if(2&_){const s=t.oxw();t.Q6J("ngIf",s.errorMessages.length>0),t.xp6(5),t.Q6J("comment",s.comment),t.xp6(1),t.Q6J("nzSpinning",s.loading),t.xp6(5),t.Q6J("disabled",!(void 0!==s.comment&&s.comment.length>=10))}}let In=(()=>{class _{constructor(s,g,f){this.gql=s,this.viewerService=g,this.networkErrorService=f,this.errorMessages=[],this.loading=!1,this.success=!1,this.flagResolvePopoverVisible=!1,this.destroy$=new N.x,this.resolveFlagMutator=new J.U(f),this.viewer$=this.viewerService.viewer$}ngOnInit(){if(void 0===this.flag)throw new Error("Must pass a Flag in to resolve component.");this.viewerService.viewer$.subscribe(s=>{this.selectedOrg=s.mostRecentOrg})}onOrgSelected(s){this.selectedOrg=s}resolveFlag(){if(this.comment){this.errorMessages=[];let s=this.resolveFlagMutator.mutate(this.gql,{input:{id:this.flag.id,comment:this.comment,organizationId:this.selectedOrg?.id}});s.submitSuccess$.pipe((0,I.R)(this.destroy$)).subscribe(g=>{g&&(this.flagResolvePopoverVisible=!1,this.success=!0,this.flagResolvedCallback&&this.flagResolvedCallback())}),s.submitError$.pipe((0,I.R)(this.destroy$)).subscribe(g=>{g.length>0&&(this.success=!1,this.errorMessages=g)}),s.isSubmitting$.pipe((0,I.R)(this.destroy$)).subscribe(g=>{this.loading=g})}}onSuccessBannerClose(){this.success=!1,this.flagResolvedCallback&&this.flagResolvedCallback()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return _.\u0275fac=function(s){return new(s||_)(t.Y36(l.EwB),t.Y36(F.a),t.Y36(B.Y))},_.\u0275cmp=t.Xpm({type:_,selectors:[["cvc-flag-resolve-form"]],inputs:{flag:"flag",flagResolvedCallback:"flagResolvedCallback"},decls:6,vars:2,consts:[["nzBanner","","nzMessage","Flag resolved.","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],[4,"ngrxLet"],["flagResolvePopoverTitleTemplate",""],["flagResolvePopoverContentTemplate",""],["nzBanner","","nzMessage","Flag resolved.","nzType","success","nzCloseable","",3,"nzOnClose"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["noPermissions",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to resolve flag."],["nz-tooltip","","nzTooltipTitle","If you are not an editor, you can only resolve flags you opened."],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click",4,"ngIf"],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click"],["nz-icon","","nzType","caret-down","nzTheme","outline"],[3,"ngStyle"],["nz-icon","","nzType","close","nzTheme","outline",3,"click"],["nzType","error","nzShowIcon","","nzMessage","Error Resolving Flag",3,"nzDescription",4,"ngIf"],["errorContents",""],["nzType","inner",2,"width","300px"],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"],["nzType","error","nzShowIcon","","nzMessage","Error Resolving Flag",3,"nzDescription"],[4,"ngFor","ngForOf"]],template:function(s,g){1&s&&(t.YNc(0,un,1,0,"nz-alert",0),t.YNc(1,bn,8,2,"ng-container",1),t.YNc(2,Mn,3,2,"ng-template",null,2,t.W1O),t.YNc(4,Nn,13,4,"ng-template",null,3,t.W1O)),2&s&&(t.Q6J("ngIf",g.success),t.xp6(1),t.Q6J("ngrxLet",g.viewer$))},dependencies:[d.sg,d.O5,d.tP,d.PC,u._Y,u.JL,L.eJ,C.ix,M.w,Q.dQ,y.t3,y.SK,b.Lr,b.Nx,b.Fd,u.F,O.r,z.bd,dn.lU,ln.Ls,P.SY,D.W,Z.b,v.Z,j.m,q.q],encapsulation:2}),_})();var Jn=o(1834),Pn=o(2616),Yn=o(5573);function Un(_,p){if(1&_){const s=t.EpF();t.TgZ(0,"nz-alert",5),t.NdJ("nzOnClose",function(){const S=t.CHM(s).$implicit,vt=t.oxw();return t.KtG(vt.onErrorBannerClose(S))}),t.qZA()}2&_&&t.Q6J("nzMessage",p.$implicit)}function Dn(_,p){if(1&_){const s=t.EpF();t.TgZ(0,"nz-alert",6),t.NdJ("nzOnClose",function(){t.CHM(s);const f=t.oxw();return t.KtG(f.onSuccessBannerClose())}),t.qZA()}if(2&_){const s=t.oxw();t.MGl("nzMessage","Revision(s) successfully ",s.success,".")}}function $n(_,p){if(1&_&&t._UZ(0,"cvc-comment-body",15),2&_){const s=t.oxw(2).$implicit;t.Q6J("commentBodySegments",s.openComment.parsedComment)}}function rn(_,p){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-flag-resolve-form",16),t.BQk()),2&_){const s=t.oxw(2).$implicit,g=t.oxw(2);t.xp6(1),t.Q6J("flag",s)("flagResolvedCallback",g.flagResolvedCallback)}}function Bn(_,p){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-comment-body",15),t.BQk()),2&_){const s=t.oxw(3).$implicit;t.xp6(1),t.Q6J("commentBodySegments",s.resolutionComment.parsedComment)}}function wn(_,p){if(1&_&&t._UZ(0,"cvc-user-tag",21),2&_){const s=t.oxw(3).$implicit;t.Q6J("user",s.resolvingUser)}}function jn(_,p){if(1&_&&(t.TgZ(0,"nz-row")(1,"nz-col",17),t.YNc(2,Bn,2,1,"ng-container",18),t.qZA(),t.TgZ(3,"nz-col",19),t._uU(4," Resolved By "),t.YNc(5,wn,1,1,"cvc-user-tag",20),t._uU(6),t.ALo(7,"timeAgo"),t.qZA()()),2&_){const s=t.oxw(2).$implicit;t.xp6(2),t.Q6J("ngIf",s.resolutionComment),t.xp6(3),t.Q6J("ngIf",void 0!==s.resolvingUser),t.xp6(1),t.hij(" ",t.lcZ(7,3,s.resolvedAt)," ")}}function Wn(_,p){if(1&_&&(t._UZ(0,"i",22),t.ALo(1,"entityColor"),t._uU(2)),2&_){const s=t.oxw(2).$implicit;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"Flag")),t.xp6(2),t.hij(" FID",s.id," ")}}function Gn(_,p){if(1&_&&(t.TgZ(0,"span")(1,"span",26),t._uU(2,"Flagged By"),t.qZA(),t._UZ(3,"cvc-user-tag",21),t.TgZ(4,"span",26),t._uU(5),t.ALo(6,"timeAgo"),t.qZA()()),2&_){const s=t.oxw(3).$implicit;t.xp6(3),t.Q6J("user",s.flaggingUser),t.xp6(2),t.Oqu(t.lcZ(6,2,s.createdAt))}}function Kn(_,p){if(1&_&&t._UZ(0,"cvc-status-tag",27),2&_){const s=t.oxw(3).$implicit;t.Q6J("status",s.state)}}function k(_,p){1&_&&(t.TgZ(0,"nz-space",23),t.YNc(1,Gn,7,4,"span",24),t.YNc(2,Kn,1,1,"cvc-status-tag",25),t.qZA())}function Vn(_,p){if(1&_&&(t.TgZ(0,"nz-card",10),t.YNc(1,$n,1,1,"cvc-comment-body",11),t._UZ(2,"nz-divider"),t.YNc(3,rn,2,2,"ng-container",3),t.YNc(4,jn,8,5,"ng-template",null,12,t.W1O),t.YNc(6,Wn,3,4,"ng-template",null,13,t.W1O),t.YNc(8,k,3,0,"ng-template",null,14,t.W1O),t.qZA()),2&_){const s=t.MAs(5),g=t.MAs(7),f=t.MAs(9),S=t.oxw().$implicit;t.Q6J("nzTitle",g)("nzExtra",f),t.xp6(1),t.Q6J("ngIf",S.openComment),t.xp6(2),t.Q6J("ngIf","OPEN"==S.state)("ngIfElse",s)}}function Hn(_,p){1&_&&(t.ynx(0),t.YNc(1,Vn,10,5,"nz-card",9),t.BQk())}function kn(_,p){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-space",7),t.YNc(2,Hn,2,0,"ng-container",8),t.qZA(),t.BQk()),2&_){const s=t.oxw();t.xp6(2),t.Q6J("ngForOf",s.flags)}}function qn(_,p){1&_&&t._UZ(0,"nz-empty",28)}let Xn=(()=>{class _{constructor(s){this.viewerService=s,this.isLoading=!1,this.success=!1,this.destroy$=new N.x}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(s=>{this.mostRecentOrg=s.mostRecentOrg})}setupMutationResultHandlers(s,g){s.submitSuccess$.pipe((0,I.R)(this.destroy$)).subscribe(f=>{f&&(this.isLoading=!1,this.errors=void 0,this.success=g)}),s.submitError$.pipe((0,I.R)(this.destroy$)).subscribe(f=>{f.length>0&&(this.isLoading=!1,this.success=!1,this.errors=f)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onErrorBannerClose(s){this.errors=this.errors?.filter(g=>g!=s)}onSuccessBannerClose(){this.success=!1}}return _.\u0275fac=function(s){return new(s||_)(t.Y36(F.a))},_.\u0275cmp=t.Xpm({type:_,selectors:[["cvc-flag-list"]],inputs:{flags:"flags",flagResolvedCallback:"flagResolvedCallback"},decls:6,vars:4,consts:[["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["nzTitle","Flags",1,"card-list"],[4,"ngIf","ngIfElse"],["noFlags",""],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzDirection","vertical"],[4,"ngFor","ngForOf"],["nzType","inner",3,"nzTitle","nzExtra",4,"nzSpaceItem"],["nzType","inner",3,"nzTitle","nzExtra"],[3,"commentBodySegments",4,"ngIf"],["flagResolved",""],["flagCardHeaderTitle",""],["flagCardHeaderExtra",""],[3,"commentBodySegments"],[3,"flag","flagResolvedCallback"],["nzSpan","16"],[4,"ngIf"],["nzSpan","8","nz-typography","","nzType","secondary",2,"text-align","right"],[3,"user",4,"ngIf"],[3,"user"],["nz-icon","","nzTheme","twotone","nzType","civic-flag",3,"nzTwotoneColor"],["nzSize","small"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-typography","","nzType","secondary"],[3,"status"],["nzNotFoundImage","simple","nzNotFoundContent","No Flags matching filters"]],template:function(s,g){if(1&s&&(t.YNc(0,Un,1,1,"nz-alert",0),t.YNc(1,Dn,1,1,"nz-alert",1),t.TgZ(2,"nz-card",2),t.YNc(3,kn,3,1,"ng-container",3),t.YNc(4,qn,1,0,"ng-template",null,4,t.W1O),t.qZA()),2&s){const f=t.MAs(5);t.Q6J("ngForOf",g.errors),t.xp6(1),t.Q6J("ngIf",g.success),t.xp6(2),t.Q6J("ngIf",g.flags&&g.flags.length>0)("ngIfElse",f)}},dependencies:[d.sg,d.O5,y.t3,y.SK,z.bd,$.NU,$.$1,H.ZU,pn.p9,gn.g,ln.Ls,mn.I,fn.h,M.w,O.r,In,Jn.m,Pn.a,Yn.x],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]}),_})();var nt=o(6794),tt=o(6928);const _n=function(){return[]};function et(_,p){if(1&_&&(t._UZ(0,"cvc-flag-list",13),t.ALo(1,"ngrxPush")),2&_){const s=t.oxw(2);t.Q6J("flags",t.lcZ(1,2,s.flags$)||t.DdM(4,_n))("flagResolvedCallback",s.refresh)}}function it(_,p){if(1&_){const s=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(s);const f=t.oxw(2).ngrxLet,S=t.oxw(2);return t.KtG(S.loadMore(null==f?null:f.endCursor))}),t._uU(1," Load More "),t.qZA()}}function ot(_,p){1&_&&(t.ynx(0),t.YNc(1,it,2,0,"button",15),t.BQk())}function st(_,p){if(1&_&&(t.ynx(0),t.YNc(1,ot,2,0,"ng-container",14),t.BQk()),2&_){const s=p.ngrxLet;t.xp6(1),t.Q6J("ngIf",s&&(null==s?null:s.hasNextPage)&&s.endCursor)}}function at(_,p){if(1&_&&t._UZ(0,"cvc-flag-add-form",17),2&_){const s=t.oxw(2);t.Q6J("flaggable",s.flaggable)("flagAddedCallback",s.refresh)}}function _t(_,p){if(1&_&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&_){const s=p.$implicit;t.xp6(1),t.Oqu(s.displayName)}}function ct(_,p){if(1&_&&t._UZ(0,"nz-avatar",20),2&_){const s=t.oxw().$implicit;t.Q6J("nzSrc",s.profileImagePath)}}function lt(_,p){if(1&_&&(t._UZ(0,"nz-avatar",21),t.ALo(1,"uppercase")),2&_){const s=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,s.username.charAt(0)))}}function rt(_,p){if(1&_&&(t.YNc(0,ct,1,1,"nz-avatar",18),t.YNc(1,lt,2,3,"ng-template",null,19,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&_){const s=p.$implicit,g=t.MAs(2);t.Q6J("ngIf",s.profileImagePath)("ngIfElse",g),t.xp6(4),t.Oqu(s.username)}}function pt(_,p){if(1&_&&t._UZ(0,"nz-avatar",20),2&_){const s=t.oxw().$implicit;t.Q6J("nzSrc",s.profileImagePath)}}function gt(_,p){if(1&_&&(t._UZ(0,"nz-avatar",21),t.ALo(1,"uppercase")),2&_){const s=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,s.username.charAt(0)))}}function mt(_,p){if(1&_&&(t.YNc(0,pt,1,1,"nz-avatar",18),t.YNc(1,gt,2,3,"ng-template",null,19,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&_){const s=p.$implicit,g=t.MAs(2);t.Q6J("ngIf",s.profileImagePath)("ngIfElse",g),t.xp6(4),t.Oqu(s.username)}}function ft(_,p){if(1&_){const s=t.EpF();t.ynx(0),t.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),t.YNc(4,et,2,5,"cvc-flag-list",5),t.YNc(5,st,2,1,"ng-container",6),t.YNc(6,at,1,2,"cvc-flag-add-form",7),t.qZA()(),t.TgZ(7,"nz-col",8)(8,"cvc-participant-list",9),t.NdJ("participantSelectedEvent",function(f){t.CHM(s);const S=t.oxw();return t.KtG(S.onStateSelected(f))}),t.YNc(9,_t,2,1,"ng-template",null,10,t.W1O),t.qZA(),t.TgZ(11,"cvc-participant-list",11),t.NdJ("participantSelectedEvent",function(f){t.CHM(s);const S=t.oxw();return t.KtG(S.onFlaggingUsersSelected(f))}),t.ALo(12,"ngrxPush"),t.YNc(13,rt,5,3,"ng-template",null,10,t.W1O),t.qZA(),t.TgZ(15,"cvc-participant-list",12),t.NdJ("participantSelectedEvent",function(f){t.CHM(s);const S=t.oxw();return t.KtG(S.onResolvingUsersSelected(f))}),t.ALo(16,"ngrxPush"),t.YNc(17,mt,5,3,"ng-template",null,10,t.W1O),t.qZA()()(),t.BQk()}if(2&_){const s=t.oxw();t.xp6(1),t.Q6J("nzGutter",16),t.xp6(4),t.Q6J("ngrxLet",s.pageInfo$),t.xp6(3),t.Q6J("preselectedOption",s.selectableStates[0])("participantList",s.selectableStates),t.xp6(3),t.Q6J("participantList",t.lcZ(12,6,s.uniqueFlaggingUsers$)||t.DdM(10,_n)),t.xp6(4),t.Q6J("participantList",t.lcZ(16,8,s.uniqueResolvingUsers$)||t.DdM(11,_n))}}function dt(_,p){if(1&_&&t._UZ(0,"cvc-flag-add-form",17),2&_){const s=t.oxw();t.Q6J("flaggable",s.flaggable)("flagAddedCallback",s.refresh)}}let ut=(()=>{class _{constructor(s){this.gql=s,this.defaultPageSize=5,this.selectableStates=[{id:1,displayName:"Open",value:l.BQZ.Open},{id:2,displayName:"Resolved",value:l.BQZ.Resolved}]}ngOnInit(){if(null==this.flaggable)throw new Error("Must pass a flaggable into flag list");this.queryRef=this.gql.watch({first:this.defaultPageSize,flaggable:this.flaggable,state:l.BQZ.Open}),this.refresh=()=>{this.queryRef.refetch()},this.results$=this.queryRef.valueChanges,this.flags$=this.results$.pipe((0,R.j)("data","flags","edges"),(0,c.h)(n.ep),(0,h.U)(s=>s.map(g=>g.node))),this.pageInfo$=this.results$.pipe((0,R.j)("data","flags","pageInfo")),this.unfilteredCount$=this.results$.pipe((0,R.j)("data","flags","unfilteredCountForSubject")),this.uniqueFlaggingUsers$=this.results$.pipe((0,h.U)(({data:s})=>s.flags?.uniqueFlaggingUsers)),this.uniqueResolvingUsers$=this.results$.pipe((0,h.U)(({data:s})=>s.flags?.uniqueResolvingUsers))}onFlaggingUsersSelected(s){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},flaggingUserId:s?s.id:void 0})}onResolvingUsersSelected(s){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},resolvingUserId:s?s.id:void 0})}onStateSelected(s){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},state:s?s.value:void 0})}loadMore(s){this.queryRef?.fetchMore({variables:{first:this.defaultPageSize,after:s}})}}return _.\u0275fac=function(s){return new(s||_)(t.Y36(l.rzy))},_.\u0275cmp=t.Xpm({type:_,selectors:[["cvc-flag-list-and-filter"]],inputs:{flaggable:"flaggable"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noFlags",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical"],[3,"flags","flagResolvedCallback",4,"nzSpaceItem"],[4,"ngrxLet"],[3,"flaggable","flagAddedCallback",4,"nzSpaceItem"],["nzSpan","6"],["listTitle","Flag State",3,"preselectedOption","participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Flagging Users",3,"participantList","participantSelectedEvent"],["listTitle","Resolving Users",3,"participantList","participantSelectedEvent"],[3,"flags","flagResolvedCallback"],[4,"ngIf"],["nz-button","","nzBlock","","nzType","default",3,"click",4,"nzSpaceItem"],["nz-button","","nzBlock","","nzType","default",3,"click"],[3,"flaggable","flagAddedCallback"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"]],template:function(s,g){if(1&s&&(t.YNc(0,ft,19,12,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,dt,1,2,"ng-template",null,1,t.W1O)),2&s){const f=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,g.unfilteredCount$))("ngIfElse",f)}},dependencies:[d.O5,L.eJ,C.ix,M.w,Q.dQ,y.t3,y.SK,A,Xn,nt.l,tt.Dz,$.NU,$.$1,d.gd,L.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]}),_})()},183:(W,E,o)=>{o.d(E,{M:()=>U});var l=o(6814),c=o(7907),h=o(3235),R=o(2962),n=o(3599),t=o(6976),d=o(6223),L=o(6294),C=o(2840),M=o(845),Q=o(3903),y=o(6109),J=o(2524),N=o(3378),I=o(2669),F=o(5879);let B=(()=>{class A{}return A.\u0275fac=function(H){return new(H||A)},A.\u0275mod=F.oAB({type:A}),A.\u0275inj=F.cJS({imports:[l.ez,d.u5,d.UX,n.U5,C.sL,R.vh,Q.L,y.cg,I.j,L.A,M.R,J.s,N.w]}),A})();var u=o(4758),b=o(3396),z=o(3043),O=o(2655),P=o(8641),D=o(6061),j=o(3717),q=o(7528),v=o(7417),Z=o(551);let T=(()=>{class A{}return A.\u0275fac=function(H){return new(H||A)},A.\u0275mod=F.oAB({type:A}),A.\u0275inj=F.cJS({imports:[l.ez,d.UX,C.sL,n.U5,d.u5,Q.L,R.vh,v.$6,Z.PV,y.cg,I.j,N.w,M.R,L.A]}),A})();var Y=o(6928),G=o(2612),K=o(6987),X=o(804),tn=o(95),en=o(824),nn=o(2574),V=o(5695),on=o(2392);let sn=(()=>{class A{}return A.\u0275fac=function(H){return new(H||A)},A.\u0275mod=F.oAB({type:A}),A.\u0275inj=F.cJS({imports:[l.ez,tn.Jb,t.Ph,R.vh,nn.zf,V.X,on.ZJ,Y.Rt,X.Xo,G.Wr,K.S,y.cg,t.Ph,v.$6,Z.PV,en.o7,d.u5,L.A,P.s,h.W,b.Q,D.N,z.y,q.Q,j.M,O.x,J.s,C.sL,Q.L,T,K.S,u.m]}),A})();var an=o(1595);let U=(()=>{class A{}return A.\u0275fac=function(H){return new(H||A)},A.\u0275mod=F.oAB({type:A}),A.\u0275inj=F.cJS({imports:[l.ez,d.u5,C.sL,n.U5,c.aF,C.sL,h.W,t.Ph,R.vh,B,sn,X.Xo,an.N,Y.Rt,nn.zf,J.s]}),A})()},1801:(W,E,o)=>{o.d(E,{Y:()=>c});var l=o(5879);let c=(()=>{class h{constructor(){}}return h.\u0275fac=function(n){return new(n||h)},h.\u0275dir=l.lG2({type:h,selectors:[["","cvcFlaggableOptions",""]]}),h})()},327:(W,E,o)=>{o.d(E,{o:()=>B});var l=o(5879),c=o(1801),h=o(6814),R=o(4190),n=o(551),t=o(3640),d=o(6109);const L=["cvcFlaggable",""];function C(u,b){1&u&&l.Hsn(0)}function M(u,b){1&u&&l.GkF(0)}function Q(u,b){if(1&u&&(l.ynx(0),l.YNc(1,M,1,0,"ng-container",2),l.BQk()),2&u){l.oxw();const z=l.MAs(1);l.xp6(1),l.Q6J("ngTemplateOutlet",z)}}function y(u,b){if(1&u&&(l.TgZ(0,"a",6),l._UZ(1,"i",7),l.qZA()),2&u){l.oxw();const z=l.MAs(5);l.xp6(1),l.Q6J("nzTooltipTitle",z)}}function J(u,b){if(1&u&&l._uU(0),2&u){const z=l.oxw(2);l.hij(" ",z.flags," open flags ")}}function N(u,b){1&u&&l.GkF(0)}function I(u,b){if(1&u&&(l.ynx(0),l.TgZ(1,"nz-ribbon",3),l.YNc(2,y,2,1,"ng-template",null,4,l.W1O),l.YNc(4,J,1,1,"ng-template",null,5,l.W1O),l.YNc(6,N,1,0,"ng-container",2),l.qZA(),l.BQk()),2&u){const z=l.MAs(3);l.oxw();const O=l.MAs(1);l.xp6(1),l.Q6J("nzText",z),l.xp6(5),l.Q6J("ngTemplateOutlet",O)}}const F=["*"];let B=(()=>{class u{constructor(z){this.renderer=z}ngOnChanges(){this.flags&&0===this.flags?this.removeFlagged():this.addFlagged()}ngAfterViewInit(){this.flags&&0===this.flags?this.removeFlagged():this.addFlagged()}addFlagged(){this.flaggedChild&&this.renderer.addClass(this.flaggedChild.nativeElement,"flaggedChild")}removeFlagged(){this.flaggedChild&&this.renderer.removeClass(this.flaggedChild.nativeElement,"flaggedChild")}}return u.\u0275fac=function(z){return new(z||u)(l.Y36(l.Qsj))},u.\u0275cmp=l.Xpm({type:u,selectors:[["","cvcFlaggable",""]],contentQueries:function(z,O,P){if(1&z&&l.Suo(P,c.Y,5,l.SBq),2&z){let D;l.iGM(D=l.CRH())&&(O.flaggedChild=D.first)}},inputs:{flags:"flags",entity:"entity"},features:[l.TTD],attrs:L,ngContentSelectors:F,decls:4,vars:2,consts:[["flaggedContent",""],[4,"ngIf"],[4,"ngTemplateOutlet"],["nzPlacement","start","nzColor","#ff3333",3,"nzText"],["flaggedText",""],["flaggedTooltip",""],["routerLink","flags",2,"color","#fff"],["nz-icon","","nzType","flag","nzTheme","fill","nz-tooltip","","nzTooltipPlacement","top","nzTooltipColor","#FF3333",3,"nzTooltipTitle"]],template:function(z,O){1&z&&(l.F$t(),l.YNc(0,C,1,0,"ng-template",null,0,l.W1O),l.YNc(2,Q,2,1,"ng-container",1),l.YNc(3,I,7,2,"ng-container",1)),2&z&&(l.xp6(2),l.Q6J("ngIf",0===O.flags),l.xp6(1),l.Q6J("ngIf",O.flags))},dependencies:[h.O5,h.tP,R.rH,n.Ls,t.F9,d.SY],encapsulation:2}),u})()},5725:(W,E,o)=>{o.d(E,{m:()=>L});var l=o(6814),c=o(6109),h=o(2392),R=o(3640),n=o(551),t=o(4190),d=o(5879);let L=(()=>{class C{}return C.\u0275fac=function(Q){return new(Q||C)},C.\u0275mod=d.oAB({type:C}),C.\u0275inj=d.cJS({imports:[l.ez,t.Bz,n.PV,R.mS,c.cg,h.ZJ]}),C})()},1665:(W,E,o)=>{o.d(E,{i:()=>an});var l=o(6814),c=o(2962),h=o(6976),R=o(95),n=o(5879);let t=(()=>{class U{}return U.\u0275fac=function($){return new($||U)},U.\u0275mod=n.oAB({type:U}),U.\u0275inj=n.cJS({imports:[l.ez,R.Jb]}),U})();var d=o(29),L=o(8641),C=o(2574),M=o(6294),Q=o(5695),y=o(2392),J=o(6928),N=o(3235),I=o(3396),F=o(3043),B=o(7528),u=o(3717),b=o(565),z=o(804),O=o(2655),P=o(2612),D=o(6987),j=o(6109),q=o(2840),v=o(3903),Z=o(551),T=o(7417),Y=o(824),G=o(6223),K=o(2524),X=o(8125),tn=o(3378),en=o(4758),nn=o(1218),V=o(6061),on=o(8527),sn=o(5956);let an=(()=>{class U{}return U.\u0275fac=function($){return new($||U)},U.\u0275mod=n.oAB({type:U}),U.\u0275inj=n.cJS({imports:[l.ez,R.Jb,h.Ph,c.vh,C.zf,Q.X,y.ZJ,J.Rt,z.Xo,P.Wr,D.S,j.cg,h.Ph,T.$6,Z.PV,Y.o7,X.q6,D.S,G.u5,M.A,d.C,sn.U,L.s,t,N.W,I.Q,V.N,F.y,B.Q,nn.i,u.M,O.x,tn.w,on.u,K.s,en.m,b.cD,q.sL,v.L]}),U})()},6126:(W,E,o)=>{o.d(E,{a:()=>qe});var l=o(313),c=o(7398),h=o(7921),R=o(4223),n=o(5879),t=o(4190),d=o(6814),L=o(8091),C=o(95),M=o(2574),Q=o(5695),y=o(6928),J=o(804),N=o(2840),I=o(855),F=o(1958),B=o(551),u=o(6794),b=o(8645),z=o(2024),O=o(9773),P=o(951),D=o(7473),j=o(6976),q=o(2962),v=o(2392),Z=o(2612),T=o(6987),Y=o(6109),G=o(7417),K=o(8125),X=o(5805),tn=o(2257);let en=(()=>{class e{transform(i){return i?i.replace(/([a-z])([A-Z])/g,"$1 $2"):""}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=n.Yjl({name:"camelToWords",type:e,pure:!0}),e})();const nn=["itemTemplate"],V=function(e){return{$implicit:e}};function on(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,r=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,V,i))}}function sn(e,a){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function an(e,a){if(1&e&&(n.TgZ(0,"nz-list-item",9),n.YNc(1,on,3,4,"ng-container",10),n.YNc(2,sn,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",r)}}function U(e,a){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw();n.MGl("nzNoResult","No ",i.entityType,"")}}function A(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,r=n.oxw(3);n.xp6(2),n.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,V,i))}}function $(e,a){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function H(e,a){if(1&e&&(n.TgZ(0,"nz-list-item",17),n.YNc(1,A,3,4,"ng-container",10),n.YNc(2,$,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",r)}}function pn(e,a){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw(3);n.MGl("nzNoResult","No ",i.entityType," Removed")}}function gn(e,a){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,H,4,2,"nz-list-item",16),n.YNc(2,pn,1,1,"nz-list-empty",4),n.qZA()),2&e){const i=n.oxw(2);n.MGl("nzHeader","Removed ",i.entityType,""),n.xp6(1),n.Q6J("ngForOf",i.diffObject.removedObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.removedObjects.length)}}function ln(e,a){1&e&&(n.ynx(0),n.YNc(1,gn,3,3,"nz-list",7),n.BQk())}function mn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,r=n.oxw(2);n.xp6(2),n.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,V,i))}}function fn(e,a){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function dn(e,a){if(1&e&&(n.TgZ(0,"nz-list-item",19),n.YNc(1,mn,3,4,"ng-container",10),n.YNc(2,fn,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",r)}}function un(e,a){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw(2);n.MGl("nzNoResult","No ",i.entityType," Added")}}function vn(e,a){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,dn,4,2,"nz-list-item",18),n.YNc(2,un,1,1,"nz-list-empty",4),n.qZA()),2&e){const i=n.oxw();n.MGl("nzHeader","Added ",i.entityType,""),n.xp6(1),n.Q6J("ngForOf",i.diffObject.addedObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.addedObjects.length)}}function zn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,r=n.oxw(3);n.xp6(2),n.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,V,i))}}function Cn(e,a){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function xn(e,a){if(1&e&&(n.TgZ(0,"nz-list-item",21),n.YNc(1,zn,3,4,"ng-container",10),n.YNc(2,Cn,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",r)}}function Tn(e,a){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw(3);n.MGl("nzNoResult","No ",i.entityType," Kept")}}function hn(e,a){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,xn,4,2,"nz-list-item",20),n.YNc(2,Tn,1,1,"nz-list-empty",4),n.qZA()),2&e){const i=n.oxw(2);n.MGl("nzHeader","Kept ",i.entityType,""),n.xp6(1),n.Q6J("ngForOf",i.diffObject.keptObjects),n.xp6(1),n.Q6J("ngIf",0===i.diffObject.keptObjects.length)}}function yn(e,a){1&e&&(n.ynx(0),n.YNc(1,hn,3,3,"nz-list",7),n.BQk())}function Rn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit,r=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,V,i))}}function An(e,a){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,i.entityType)," ",i.id,"")}}function On(e,a){if(1&e&&(n.TgZ(0,"nz-list-item",22),n.YNc(1,Rn,3,4,"ng-container",10),n.YNc(2,An,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!i.deleted)("ngIfElse",r)}}function Zn(e,a){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const i=n.oxw();n.MGl("nzNoResult","No ",i.entityType,"")}}let Fn=(()=>{class e{constructor(){}ngOnInit(){if(void 0===this.diffObject)throw new Error("Must specify a diffObject.");if(void 0===this.entityType)throw new Error("Must specify an entityType.")}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revision-list-diff"]],contentQueries:function(i,r,m){if(1&i&&n.Suo(m,nn,5),2&i){let x;n.iGM(x=n.CRH())&&(r.itemTemplateRef=x.first)}},inputs:{diffObject:"diffObject",entityType:"entityType"},decls:14,vars:12,consts:[[3,"nzGutter"],[3,"nzSpan"],["nzBordered","","nzType","inner","nzSize","small",3,"nzHeader"],["ngClass","current",4,"ngFor","ngForOf"],[3,"nzNoResult",4,"ngIf"],["nzDirection","vertical"],[4,"ngIf"],["nzBordered","","nzType","inner","nzSize","small",3,"nzHeader",4,"nzSpaceItem"],["ngClass","suggested",4,"ngFor","ngForOf"],["ngClass","current"],[4,"ngIf","ngIfElse"],["deleted",""],["nz-typography",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nzColor","error"],[3,"nzNoResult"],["ngClass","removed",4,"ngFor","ngForOf"],["ngClass","removed"],["ngClass","added",4,"ngFor","ngForOf"],["ngClass","added"],["ngClass","kept",4,"ngFor","ngForOf"],["ngClass","kept"],["ngClass","suggested"]],template:function(i,r){1&i&&(n.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"nz-list",2),n.YNc(3,an,4,2,"nz-list-item",3),n.YNc(4,U,1,1,"nz-list-empty",4),n.qZA()(),n.TgZ(5,"nz-col",1)(6,"nz-space",5),n.YNc(7,ln,2,0,"ng-container",6),n.YNc(8,vn,3,3,"nz-list",7),n.YNc(9,yn,2,0,"ng-container",6),n.qZA()(),n.TgZ(10,"nz-col",1)(11,"nz-list",2),n.YNc(12,On,4,2,"nz-list-item",8),n.YNc(13,Zn,1,1,"nz-list-empty",4),n.qZA()()()),2&i&&(n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(1),n.MGl("nzHeader","Original ",r.entityType," List"),n.xp6(1),n.Q6J("ngForOf",r.diffObject.currentObjects),n.xp6(1),n.Q6J("ngIf",0===r.diffObject.currentObjects.length),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.Q6J("ngIf",r.diffObject.currentObjects.length>0),n.xp6(2),n.Q6J("ngIf",r.diffObject.currentObjects.length>0),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(1),n.MGl("nzHeader","Revised ",r.entityType," List"),n.xp6(1),n.Q6J("ngForOf",r.diffObject.suggestedObjects),n.xp6(1),n.Q6J("ngIf",0===r.diffObject.suggestedObjects.length))},dependencies:[d.mk,d.sg,d.O5,d.tP,j.n_,j.I2,j.AA,C.t3,C.SK,Q.j,M.NU,M.$1,en],styles:["[_nghost-%COMP%]{display:block}nz-list[_ngcontent-%COMP%] .kept[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .added[_ngcontent-%COMP%]{background-color:#f6ffed;color:#135200}nz-list[_ngcontent-%COMP%] .removed[_ngcontent-%COMP%]{background-color:#fff1f0;color:#820014}nz-list[_ngcontent-%COMP%] .suggested[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-space[_ngcontent-%COMP%]{width:100%}"]}),e})();var bn=o(4121),Ln=o(4138);let Mn=(()=>{class e{constructor(){}ngOnInit(){if(void 0===this.left)throw new Error("Must provide a left side of the diff.");if(void 0===this.right)throw new Error("Must provide a right side of the diff.");if(void 0===this.entityType)throw new Error("Must provide a diff.")}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revision-value-diff"]],inputs:{currentValue:"currentValue",suggestedValue:"suggestedValue",left:"left",right:"right",entityType:"entityType"},decls:15,vars:10,consts:[[3,"nzGutter"],[3,"nzSpan"],[3,"innerHtml"],[1,"diff","suggested"],[1,"background"]],template:function(i,r){1&i&&(n.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"h4"),n._uU(3),n.qZA(),n._UZ(4,"div",2),n.qZA(),n.TgZ(5,"nz-col",1)(6,"h4"),n._uU(7),n.qZA(),n._UZ(8,"div",2),n.qZA(),n.TgZ(9,"nz-col",1)(10,"h4"),n._uU(11),n.qZA(),n.TgZ(12,"div",3)(13,"div",4),n._uU(14),n.qZA()()()()),2&i&&(n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("Original ",r.entityType,""),n.xp6(1),n.Q6J("innerHtml",r.left,n.oJD),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("",r.entityType," Diff"),n.xp6(1),n.Q6J("innerHtml",r.right,n.oJD),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("Revised ",r.entityType,""),n.xp6(3),n.hij(" ",r.suggestedValue," "))},dependencies:[C.t3,C.SK],styles:[":host{display:block}.diff{overflow:auto;width:100%}.diff .background{padding:4px 8px}.diff.insertions .background{background:#f6ffed;color:#237804}.diff.deletions .background{background:#fff1f0;color:#a8071a}.diff.suggested .background,.diff.original .background{background:#f0f5ff;color:#10239e}.diff del,.diff ins{text-decoration:none}.diff del strong{font-weight:400;background:#fcc}.diff ins strong{font-weight:400;background:#9f9}.diff .del{font-weight:400;background:#fee;color:#b00}.diff .ins{font-weight:400;background:#dfd;color:#080}ul{list-style:none}\n"],encapsulation:2}),e})();var Sn=o(356),En=o(9775),Qn=o(4770),Nn=o(3897),In=o(9408),Jn=o(4786),Pn=o(7938),Yn=o(2384),Un=o(1889),Dn=o(2606),$n=o(1834),rn=o(565),Bn=o(3903),wn=o(4082),jn=o(2616),Wn=o(5573);function Gn(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"nz-alert",4),n.NdJ("nzOnClose",function(){const x=n.CHM(i).$implicit,w=n.oxw();return n.KtG(w.onErrorBannerClose(x))}),n.qZA()}2&e&&n.Q6J("nzMessage",a.$implicit)}function Kn(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"nz-alert",5),n.NdJ("nzOnClose",function(){n.CHM(i);const m=n.oxw();return n.KtG(m.onSuccessBannerClose())}),n.qZA()}if(2&e){const i=n.oxw();n.MGl("nzMessage","Revision(s) successfully ",i.success,".")}}const k=function(e,a,i){return{id:e,name:a,link:i}};function Vn(e,a){if(1&e&&n._UZ(0,"cvc-gene-tag",20),2&e){const i=a.$implicit;n.Q6J("gene",n.kEZ(1,k,i.id,i.displayName,i.link))}}function Hn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",18),n.YNc(2,Vn,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function kn(e,a){1&e&&n._UZ(0,"cvc-source-tag",22),2&e&&n.Q6J("source",a.$implicit)}function qn(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",21),n.YNc(2,kn,1,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function Xn(e,a){if(1&e&&n._UZ(0,"cvc-disease-tag",24),2&e){const i=a.$implicit;n.Q6J("disease",n.kEZ(1,k,i.id,i.displayName,i.link))}}function nt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",23),n.YNc(2,Xn,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function tt(e,a){if(1&e&&n._UZ(0,"cvc-molecular-profile-tag",26),2&e){const i=a.$implicit;n.Q6J("molecularProfile",n.kEZ(1,k,i.id,i.displayName,i.link))}}function _n(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",25),n.YNc(2,tt,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function et(e,a){if(1&e&&n._UZ(0,"cvc-therapy-tag",28),2&e){const i=a.$implicit;n.Q6J("therapy",n.kEZ(1,k,i.id,i.displayName,i.link))}}function it(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",27),n.YNc(2,et,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ot(e,a){if(1&e&&n._UZ(0,"cvc-therapy-tag",28),2&e){const i=a.$implicit;n.Q6J("therapy",n.kEZ(1,k,i.id,i.displayName,i.link))}}function st(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",27),n.YNc(2,ot,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function at(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function _t(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",29),n.YNc(2,at,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ct(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function lt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",30),n.YNc(2,ct,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function rt(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function pt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",31),n.YNc(2,rt,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function gt(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function mt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",32),n.YNc(2,gt,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ft(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function dt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",33),n.YNc(2,ft,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ut(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function _(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",34),n.YNc(2,ut,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function p(e,a){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.hij(" ",i.displayName," ")}}function s(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",35),n.YNc(2,p,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function g(e,a){if(1&e&&n._UZ(0,"cvc-variant-type-tag",37),2&e){const i=a.$implicit;n.Q6J("variantType",n.kEZ(1,k,i.id,i.displayName,i.link))}}function f(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",36),n.YNc(2,g,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function S(e,a){if(1&e&&n._UZ(0,"cvc-phenotype-tag",39),2&e){const i=a.$implicit;n.Q6J("phenotype",n.kEZ(1,k,i.id,i.displayName,i.link))}}function vt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",38),n.YNc(2,S,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function xt(e,a){if(1&e&&n._UZ(0,"cvc-variant-tag",41),2&e){const i=a.$implicit;n.Q6J("variant",n.kEZ(1,k,i.id,i.displayName,i.link))}}function Tt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",40),n.YNc(2,xt,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function ht(e,a){if(1&e&&n._UZ(0,"cvc-variant-tag",41),2&e){const i=a.$implicit;n.Q6J("variant",n.kEZ(1,k,i.id,i.displayName,i.link))}}function yt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",42),n.YNc(2,ht,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function Rt(e,a){1&e&&n._UZ(0,"cvc-source-tag",22),2&e&&n.Q6J("source",a.$implicit)}function At(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",43),n.YNc(2,Rt,1,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}const Ot=function(e,a,i,r){return{id:e,name:a,link:i,status:r}};function Zt(e,a){if(1&e&&n._UZ(0,"cvc-evidence-tag",45),2&e){const i=a.$implicit;n.Q6J("evidence",n.l5B(1,Ot,i.id,i.displayName,i.link,i.status))}}function Ft(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",44),n.YNc(2,Zt,1,6,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",i.linkoutData.diffValue)}}function bt(e,a){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-revision-value-diff",46),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("currentValue",i.currentValue)("suggestedValue",i.suggestedValue)("left",i.linkoutData.diffValue.left)("right",i.linkoutData.diffValue.right)("entityType",i.linkoutData.name)}}function Lt(e,a){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-comment-body",50),n.BQk()),2&e){const i=n.oxw(2).$implicit;n.xp6(1),n.Q6J("commentBodySegments",i.resolutionComment.parsedComment)}}function Mt(e,a){if(1&e&&n._UZ(0,"cvc-user-tag",51),2&e){const i=n.oxw(2).$implicit;n.Q6J("user",i.resolver)}}function St(e,a){if(1&e&&(n.ynx(0),n._UZ(1,"nz-divider"),n.TgZ(2,"nz-row")(3,"nz-col",47),n.YNc(4,Lt,2,1,"ng-container",15),n.qZA(),n.TgZ(5,"nz-col",48),n._uU(6),n.ALo(7,"enumToTitle"),n.YNc(8,Mt,1,1,"cvc-user-tag",49),n._uU(9),n.ALo(10,"timeAgo"),n.qZA()(),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(4),n.Q6J("ngIf",i.resolutionComment),n.xp6(2),n.hij(" ",n.lcZ(7,4,i.status)," By "),n.xp6(2),n.Q6J("ngIf",void 0!==i.resolver),n.xp6(1),n.hij(" ",n.lcZ(10,6,i.resolvedAt)," ")}}function Et(e,a){if(1&e&&(n.TgZ(0,"span"),n._UZ(1,"i",53),n.ALo(2,"entityColor"),n._uU(3),n.TgZ(4,"span"),n._uU(5),n.qZA()()),2&e){const i=n.oxw(2).$implicit;n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,3,"Revision")),n.xp6(2),n.hij(" RID",i.id," "),n.xp6(2),n.hij("",i.linkoutData.name," Updated")}}function Qt(e,a){if(1&e&&n._UZ(0,"i",56),2&e){n.oxw();const i=n.MAs(3);n.Q6J("nzPopoverContent",i)}}function Nt(e,a){if(1&e&&n._UZ(0,"cvc-comment-body",50),2&e){const i=n.oxw(3).$implicit;n.Q6J("commentBodySegments",i.creationComment.parsedComment)}}function It(e,a){1&e&&(n.ynx(0),n.YNc(1,Qt,1,1,"i",54),n.YNc(2,Nt,1,1,"ng-template",null,55,n.W1O),n.BQk())}function Jt(e,a){if(1&e&&(n.TgZ(0,"nz-space"),n.YNc(1,Et,6,5,"span",52),n.YNc(2,It,4,0,"ng-container",15),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(2),n.Q6J("ngIf",i.creationComment)}}function Pt(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"span",63),n._uU(2,"Submitted By"),n.qZA(),n._UZ(3,"cvc-user-tag",51),n.BQk()),2&e){const i=n.oxw(3).$implicit;n.xp6(3),n.Q6J("user",i.revisor)}}function Yt(e,a){1&e&&(n.TgZ(0,"span",63),n._uU(1,"Submitted"),n.qZA())}function Ut(e,a){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Pt,4,1,"ng-container",61),n.YNc(2,Yt,2,0,"ng-template",null,62,n.W1O),n.TgZ(4,"span",63),n._uU(5),n.ALo(6,"timeAgo"),n.qZA()()),2&e){const i=n.MAs(3),r=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",r.revisor)("ngIfElse",i),n.xp6(4),n.Oqu(n.lcZ(6,3,r.createdAt))}}function Dt(e,a){if(1&e&&n._UZ(0,"cvc-status-tag",64),2&e){const i=n.oxw(2).$implicit;n.Q6J("status",i.status)}}function $t(e,a){1&e&&n._UZ(0,"nz-divider",65)}function Bt(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"a",66),n.NdJ("click",function(){n.CHM(i);const m=n.oxw(2).$implicit,x=n.oxw(3);return n.KtG(x.onChangesetSelected(m.revisionSetId))}),n._uU(1,"Show Group"),n.qZA()}}function wt(e,a){1&e&&n._UZ(0,"nz-divider",65)}function jt(e,a){1&e&&n._UZ(0,"label",69),2&e&&n.Q6J("nzDisabled",!0)}function Wt(e,a){1&e&&n._UZ(0,"label",72),2&e&&n.Q6J("nzDisabled",!0)}function Gt(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"label",73),n.NdJ("nzCheckedChange",function(m){n.CHM(i);const x=n.oxw(5).$implicit,w=n.oxw(3);return n.KtG(w.onRevisionCheckboxClicked(m,x.id))}),n.qZA()}}function Kt(e,a){if(1&e&&(n.YNc(0,Wt,1,1,"label",70),n.YNc(1,Gt,1,0,"ng-template",null,71,n.W1O)),2&e){const i=n.MAs(2),r=n.oxw(4).$implicit,m=n.oxw(2).ngrxLet;n.Q6J("ngIf",m.isCurator&&m.id!=(null==r.revisor?null:r.revisor.id))("ngIfElse",i)}}function Vt(e,a){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,jt,1,1,"label",67),n.YNc(2,Kt,3,2,"ng-template",null,68,n.W1O),n.qZA()),2&e){const i=n.MAs(3),r=n.oxw(5).ngrxLet;n.xp6(1),n.Q6J("ngIf",!r.signedIn)("ngIfElse",i)}}function Ht(e,a){1&e&&(n.ynx(0),n.YNc(1,wt,1,0,"nz-divider",59),n.YNc(2,Vt,4,2,"span",52),n.BQk())}function kt(e,a){if(1&e&&(n.TgZ(0,"nz-space",57),n.NdJ("click",function(r){return r.stopPropagation()}),n.YNc(1,Ut,7,5,"span",52),n.YNc(2,Dt,1,1,"cvc-status-tag",58),n.YNc(3,$t,1,0,"nz-divider",59),n.YNc(4,Bt,2,0,"a",60),n.YNc(5,Ht,3,0,"ng-container",15),n.qZA()),2&e){const i=n.oxw().$implicit;n.xp6(5),n.Q6J("ngIf","NEW"===i.status)}}function qt(e,a){if(1&e&&(n.TgZ(0,"nz-collapse-panel",11),n.ynx(1,12),n.YNc(2,Hn,4,1,"ng-container",13),n.YNc(3,qn,4,1,"ng-container",13),n.YNc(4,nt,4,1,"ng-container",13),n.YNc(5,_n,4,1,"ng-container",13),n.YNc(6,it,4,1,"ng-container",13),n.YNc(7,st,4,1,"ng-container",13),n.YNc(8,_t,4,1,"ng-container",13),n.YNc(9,lt,4,1,"ng-container",13),n.YNc(10,pt,4,1,"ng-container",13),n.YNc(11,mt,4,1,"ng-container",13),n.YNc(12,dt,4,1,"ng-container",13),n.YNc(13,_,4,1,"ng-container",13),n.YNc(14,s,4,1,"ng-container",13),n.YNc(15,f,4,1,"ng-container",13),n.YNc(16,vt,4,1,"ng-container",13),n.YNc(17,Tt,4,1,"ng-container",13),n.YNc(18,yt,4,1,"ng-container",13),n.YNc(19,At,4,1,"ng-container",13),n.YNc(20,Ft,4,1,"ng-container",13),n.YNc(21,bt,2,5,"ng-container",14),n.BQk(),n.YNc(22,St,11,8,"ng-container",15),n.YNc(23,Jt,3,1,"ng-template",null,16,n.W1O),n.YNc(25,kt,6,1,"ng-template",null,17,n.W1O),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(24),m=n.MAs(26);n.Q6J("nzHeader",r)("nzExtra",m)("nzActive",!0),n.xp6(1),n.Q6J("ngSwitch",i.fieldName),n.xp6(1),n.Q6J("ngSwitchCase","gene_id"),n.xp6(1),n.Q6J("ngSwitchCase","source_ids"),n.xp6(1),n.Q6J("ngSwitchCase","disease_id"),n.xp6(1),n.Q6J("ngSwitchCase","molecular_profile_id"),n.xp6(1),n.Q6J("ngSwitchCase","drug_ids"),n.xp6(1),n.Q6J("ngSwitchCase","therapy_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_alias_ids"),n.xp6(1),n.Q6J("ngSwitchCase","molecular_profile_alias_ids"),n.xp6(1),n.Q6J("ngSwitchCase","clinvar_entry_ids"),n.xp6(1),n.Q6J("ngSwitchCase","clingen_code_ids"),n.xp6(1),n.Q6J("ngSwitchCase","acmg_code_ids"),n.xp6(1),n.Q6J("ngSwitchCase","nccn_guideline_id"),n.xp6(1),n.Q6J("ngSwitchCase","hgvs_description_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_type_ids"),n.xp6(1),n.Q6J("ngSwitchCase","phenotype_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_id"),n.xp6(1),n.Q6J("ngSwitchCase","variant_ids"),n.xp6(1),n.Q6J("ngSwitchCase","source_id"),n.xp6(1),n.Q6J("ngSwitchCase","evidence_item_ids"),n.xp6(2),n.Q6J("ngIf","NEW"!==i.status)}}function Xt(e,a){if(1&e&&(n.TgZ(0,"nz-collapse",9),n.YNc(1,qt,27,24,"nz-collapse-panel",10),n.qZA()),2&e){const i=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",i.untypedRevisons)}}function ne(e,a){1&e&&n._UZ(0,"nz-empty",74)}function te(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",6),n.YNc(2,Xt,2,1,"nz-collapse",7),n.YNc(3,ne,1,0,"ng-template",null,8,n.W1O),n.qZA(),n.BQk()),2&e){const i=n.MAs(4),r=n.oxw(),m=n.MAs(4);n.xp6(1),n.Q6J("nzExtra",m),n.xp6(1),n.Q6J("ngIf",r.revisions&&r.revisions.length>0)("ngIfElse",i)}}function ee(e,a){}function ie(e,a){1&e&&n.YNc(0,ee,0,0,"ng-template")}function oe(e,a){if(1&e&&(n.ynx(0),n.YNc(1,ie,1,0,null,83),n.BQk()),2&e){n.oxw();const i=n.MAs(5);n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function se(e,a){}function ae(e,a){1&e&&n.YNc(0,se,0,0,"ng-template")}function _e(e,a){if(1&e&&(n.TgZ(0,"span",84),n.YNc(1,ae,1,0,null,83),n.qZA()),2&e){n.oxw();const i=n.MAs(5);n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function ce(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"button",85),n.NdJ("nzPopoverVisibleChange",function(m){n.CHM(i);const x=n.oxw(7);return n.KtG(x.validationPopoverVisible=m)})("click",function(){n.CHM(i);const m=n.oxw(7);return n.KtG(m.validationPopoverVisible=!m.validationPopoverVisible)}),n._uU(1," Review Selected Revisions "),n._UZ(2,"i",86),n.qZA()}if(2&e){const i=n.oxw(2).ngrxLet,r=n.MAs(7),m=n.MAs(9),x=n.oxw(5);n.Q6J("nzPopoverTitle",r)("nzPopoverVisible",x.validationPopoverVisible)("nzPopoverContent",m)("nzPopoverTrigger",void 0)("disabled",0===x.selectedRevisionIds.length||!i.signedIn)}}function le(e,a){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,oe,2,1,"ng-container",61),n.YNc(2,_e,2,1,"ng-template",null,81,n.W1O),n.YNc(4,ce,3,5,"ng-template",null,82,n.W1O),n.qZA()),2&e){const i=n.MAs(3),r=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",r.signedIn)("ngIfElse",i)}}function re(e,a){if(1&e&&n._UZ(0,"i",88),2&e){n.oxw(4);const i=n.MAs(3);n.Q6J("nzPopoverContent",i)}}function pe(e,a){1&e&&(n.ynx(0),n.YNc(1,re,1,1,"i",87),n.BQk())}const ge=function(){return{float:"right"}};function me(e,a){if(1&e){const i=n.EpF();n._uU(0," Review Selected Revisions "),n.TgZ(1,"span",89)(2,"i",90),n.NdJ("click",function(){n.CHM(i);const m=n.oxw(6);return n.KtG(m.validationPopoverVisible=!1)}),n.qZA()()}2&e&&(n.xp6(1),n.Q6J("ngStyle",n.DdM(1,ge)))}function fe(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"cvc-comment-input-form",93),n.NdJ("commentChange",function(m){n.CHM(i);const x=n.oxw(7);return n.KtG(x.revisionComment=m)}),n.qZA()}if(2&e){const i=n.oxw(7);n.Q6J("comment",i.revisionComment)}}function de(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"span")(1,"cvc-org-selector-btn-group",94),n.NdJ("selectedOrgChange",function(m){n.CHM(i);const x=n.oxw(8);return n.KtG(x.mostRecentOrg=m)}),n.TgZ(2,"button",95),n.NdJ("click",function(){n.CHM(i);const m=n.oxw(8);return n.KtG(m.onRejectRevisionsClicked())}),n._uU(3," Reject Revision "),n.qZA()()()}if(2&e){const i=n.oxw(8);n.xp6(1),n.Q6J("selectedOrg",i.mostRecentOrg),n.xp6(1),n.Q6J("nzLoading",i.isLoading)("disabled",void 0===i.revisionComment||i.revisionComment.length<10)}}function ue(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"span")(1,"cvc-org-selector-btn-group",94),n.NdJ("selectedOrgChange",function(m){n.CHM(i);const x=n.oxw(8);return n.KtG(x.mostRecentOrg=m)}),n.TgZ(2,"button",96),n.NdJ("click",function(){n.CHM(i);const m=n.oxw(8);return n.KtG(m.onAcceptRevisionClicked())}),n._uU(3," Accept Revision "),n.qZA()()()}if(2&e){const i=n.oxw(4).ngrxLet,r=n.oxw(4);n.xp6(1),n.Q6J("selectedOrg",r.mostRecentOrg),n.xp6(1),n.Q6J("nzLoading",r.isLoading)("disabled",!(0==i&&(void 0===r.revisionComment||""===r.revisionComment||r.revisionComment.length>=10)))}}function ve(e,a){if(1&e&&n._UZ(0,"i",98),2&e){n.oxw(6);const i=n.MAs(3);n.Q6J("nzPopoverContent",i)}}function ze(e,a){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,ve,1,1,"i",97),n.qZA()),2&e){const i=n.oxw(4).ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&i>0)}}function Ce(e,a){1&e&&(n.TgZ(0,"span")(1,"nz-space"),n.YNc(2,de,4,3,"span",52),n.YNc(3,ue,4,3,"span",52),n.YNc(4,ze,2,1,"span",52),n.qZA()())}function xe(e,a){1&e&&(n.TgZ(0,"nz-space",91),n.YNc(1,fe,1,1,"cvc-comment-input-form",92),n.YNc(2,Ce,5,0,"span",52),n.qZA())}function Te(e,a){if(1&e&&(n.ynx(0),n.TgZ(1,"div",76)(2,"div",77)(3,"nz-space",78),n.YNc(4,le,6,2,"span",52),n.YNc(5,pe,2,0,"ng-container",15),n.qZA(),n.YNc(6,me,3,2,"ng-template",null,79,n.W1O),n.YNc(8,xe,3,0,"ng-template",null,80,n.W1O),n.qZA()(),n.BQk()),2&e){const i=n.oxw().ngrxLet;n.xp6(5),n.Q6J("ngIf",i&&i>0)}}function he(e,a){if(1&e&&(n.ynx(0),n.YNc(1,Te,10,1,"ng-container",2),n.BQk()),2&e){const i=n.oxw(4);n.xp6(1),n.Q6J("ngrxLet",i.viewer$)}}function ye(e,a){if(1&e&&(n.TgZ(0,"nz-list-item"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.Oqu(i)}}function Re(e,a){if(1&e&&(n.TgZ(0,"nz-card",100)(1,"nz-list",101),n.YNc(2,ye,2,1,"nz-list-item",102),n.qZA()()),2&e){const i=n.oxw(3).ngrxLet;n.xp6(2),n.Q6J("ngForOf",i)}}function Ae(e,a){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Re,3,1,"nz-card",99),n.qZA()),2&e){const i=n.oxw(2).ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&i.length>0)}}function Oe(e,a){if(1&e&&(n.TgZ(0,"nz-descriptions-item",107),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.Q6J("nzTitle",i.fieldName),n.xp6(1),n.Oqu(i.error)}}function Ze(e,a){if(1&e&&(n.TgZ(0,"nz-card",104)(1,"nz-descriptions",105),n.YNc(2,Oe,2,2,"nz-descriptions-item",106),n.qZA()()),2&e){const i=n.oxw(4).ngrxLet;n.xp6(2),n.Q6J("ngForOf",i)}}function Fe(e,a){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Ze,3,1,"nz-card",103),n.qZA()),2&e){const i=n.oxw(3).ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&i.length>0)}}function be(e,a){1&e&&(n.TgZ(0,"nz-space",91),n.YNc(1,Ae,2,1,"span",52),n.YNc(2,Fe,2,1,"span",52),n.qZA())}function Le(e,a){if(1&e&&(n.ynx(0),n.YNc(1,he,2,1,"ng-container",2),n.YNc(2,be,3,0,"ng-template",null,75,n.W1O),n.BQk()),2&e){const i=n.oxw(3);n.xp6(1),n.Q6J("ngrxLet",i.totalErrorCount$)}}function Me(e,a){if(1&e&&(n.ynx(0),n.YNc(1,Le,4,1,"ng-container",2),n.BQk()),2&e){const i=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",i.genericErrors$)}}function Se(e,a){if(1&e&&n.YNc(0,Me,2,1,"ng-container",2),2&e){const i=n.oxw();n.Q6J("ngrxLet",i.validationErrors$)}}let Ee=(()=>{class e{constructor(i,r,m,x,w){this.viewerService=i,this.networkErrorService=r,this.acceptRevisionsGql=m,this.rejectRevisionsGql=x,this.validationGql=w,this.refetchQueries=[],this.selectedRevisionIds=[],this.isLoading=!1,this.success=!1,this.validationPopoverVisible=!1,this.destroy$=new b.x,this.revisionSetSelectedEvent=new n.vpe,this.revisionMutationCompleted=new n.vpe,this.acceptRevisionsMutator=new z.U(r),this.rejectRevisionsMutator=new z.U(r),this.viewer$=this.viewerService.viewer$}ngOnChanges(i){this.untypedRevisons=this.revisions,this.selectedRevisionIds=[],this.queryRef&&this.queryRef.refetch({ids:this.selectedRevisionIds})}ngOnInit(){this.viewerService.viewer$.subscribe(i=>{this.mostRecentOrg=i.mostRecentOrg}),this.queryRef=this.validationGql.watch({ids:[]}),this.genericErrors$=this.queryRef.valueChanges.pipe((0,c.U)(({data:i})=>i.validateRevisionsForAcceptance.genericErrors)),this.validationErrors$=this.queryRef.valueChanges.pipe((0,c.U)(({data:i})=>i.validateRevisionsForAcceptance.validationErrors)),this.totalErrorCount$=this.queryRef.valueChanges.pipe((0,c.U)(({data:i})=>i.validateRevisionsForAcceptance.genericErrors.length+i.validateRevisionsForAcceptance.validationErrors.length),(0,h.O)(0)),this.untypedRevisons=this.revisions}onChangesetSelected(i){this.revisionSetSelectedEvent.emit(i)}onRevisionCheckboxClicked(i,r){i?this.selectedRevisionIds.push(r):this.selectedRevisionIds=this.selectedRevisionIds.filter(m=>m!=r),this.queryRef.refetch({ids:this.selectedRevisionIds})}setupMutationResultHandlers(i,r){i.submitSuccess$.pipe((0,O.R)(this.destroy$)).subscribe(m=>{m&&(this.isLoading=!1,this.revisionMutationCompleted.emit(),this.errors=void 0,this.success=r,this.validationPopoverVisible=!1,this.selectedRevisionIds=[])}),i.submitError$.pipe((0,O.R)(this.destroy$)).subscribe(m=>{m.length>0&&(this.isLoading=!1,this.success=!1,this.errors=m,this.validationPopoverVisible=!1,this.selectedRevisionIds=[])})}onRejectRevisionsClicked(){if(this.revisionComment&&""!==this.revisionComment){this.isLoading=!0;let i=this.rejectRevisionsMutator.mutate(this.rejectRevisionsGql,{input:{ids:this.selectedRevisionIds,organizationId:this.mostRecentOrg?.id,comment:this.revisionComment}},{refetchQueries:this.refetchQueries});this.setupMutationResultHandlers(i,"rejected")}}onAcceptRevisionClicked(){this.isLoading=!0;let i=this.acceptRevisionsMutator.mutate(this.acceptRevisionsGql,{input:{ids:this.selectedRevisionIds,organizationId:this.mostRecentOrg?.id,comment:""===this.revisionComment?void 0:this.revisionComment}},{refetchQueries:this.refetchQueries});this.setupMutationResultHandlers(i,"accepted")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onErrorBannerClose(i){this.errors=this.errors?.filter(r=>r!=i)}onSuccessBannerClose(){this.success=!1}}return e.\u0275fac=function(i){return new(i||e)(n.Y36(P.a),n.Y36(D.Y),n.Y36(l.ti),n.Y36(l.VZq),n.Y36(l.Qzn))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revision-list"]],inputs:{revisions:"revisions",refetchQueries:"refetchQueries"},outputs:{revisionSetSelectedEvent:"revisionSetSelectedEvent",revisionMutationCompleted:"revisionMutationCompleted"},features:[n.TTD],decls:5,vars:3,consts:[["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],[4,"ngrxLet"],["moderationButtons",""],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzTitle","Revisions",1,"card-list",3,"nzExtra"],["class","revision-list",4,"ngIf","ngIfElse"],["noRevisions",""],[1,"revision-list"],[3,"nzHeader","nzExtra","nzActive",4,"ngFor","ngForOf"],[3,"nzHeader","nzExtra","nzActive"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],["revCardHeaderTitle",""],["revCardHeaderExtra",""],["entityType","Gene",3,"diffObject"],["itemTemplate",""],[3,"gene"],["entityType","Sources",3,"diffObject"],[3,"source"],["entityType","Disease",3,"diffObject"],[3,"disease"],["entityType","Molecular Profile",3,"diffObject"],[3,"molecularProfile"],["entityType","Therapies",3,"diffObject"],[3,"therapy"],["entityType","Variant Aliases",3,"diffObject"],["entityType","Molecular Profile Aliases",3,"diffObject"],["entityType","ClinVar Entries",3,"diffObject"],["entityType","ClinGen/CGC/VICC Code(s)",3,"diffObject"],["entityType","ACMG/AMP Code(s)",3,"diffObject"],["entityType","NCCN Guideline",3,"diffObject"],["entityType","HGVS Descriptions",3,"diffObject"],["entityType","Variant Types",3,"diffObject"],[3,"variantType"],["entityType","Phenotypes",3,"diffObject"],[3,"phenotype"],["entityType","Variant",3,"diffObject"],[3,"variant"],["entityType","Variants",3,"diffObject"],["entityType","Source",3,"diffObject"],["entityType","Evidence",3,"diffObject"],[3,"evidence"],[3,"currentValue","suggestedValue","left","right","entityType"],["nzSpan","16"],["nzSpan","8","nz-typography","","nzType","secondary",2,"text-align","right"],[3,"user",4,"ngIf"],[3,"commentBodySegments"],[3,"user"],[4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],["nz-popover","","nz-icon","","nzType","comment","nzTheme","outline",3,"nzPopoverContent",4,"nzSpaceItem"],["creationCommentTemplate",""],["nz-popover","","nz-icon","","nzType","comment","nzTheme","outline",3,"nzPopoverContent"],["nzSize","small",3,"click"],[3,"status",4,"nzSpaceItem"],["nzType","vertical",4,"nzSpaceItem"],["nz-button","","nzType","link",3,"click",4,"nzSpaceItem"],[4,"ngIf","ngIfElse"],["noRevisor",""],["nz-typography","","nzType","secondary"],[3,"status"],["nzType","vertical"],["nz-button","","nzType","link",3,"click"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions.",3,"nzDisabled",4,"ngIf","ngIfElse"],["loggedIn",""],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions.",3,"nzDisabled"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Curators may only reject their own revisions.",3,"nzDisabled",4,"ngIf","ngIfElse"],["canRevise",""],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Curators may only reject their own revisions.",3,"nzDisabled"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Select Revision for Acceptance/Rejection",3,"nzCheckedChange"],["nzNotFoundImage","simple","nzNotFoundContent","No Revisions matching filters"],["validationErrorTemplate",""],["nz-row","",2,"margin-top","1em"],["nz-col","","nzSpan","24",2,"text-align","right"],["nzDirection","horizontal"],["validationPopoverTitleTemplate",""],["validationPopoverContentTemplate",""],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions."],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click"],["nz-icon","","nzType","caret-down","nzTheme","outline"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","red","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent",4,"nzSpaceItem"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","red","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent"],[3,"ngStyle"],["nz-icon","","nzType","close","nzTheme","outline",3,"click"],["nzDirection","vertical"],[3,"comment","commentChange",4,"nzSpaceItem"],[3,"comment","commentChange"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzSize","small","nzDanger","",3,"nzLoading","disabled","click"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzSize","small",3,"nzLoading","disabled","click"],["nz-icon","","nzTwotoneColor","red","nzType","exclamation-circle","nzTheme","twotone","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent",4,"ngIf"],["nz-icon","","nzTwotoneColor","red","nzType","exclamation-circle","nzTheme","twotone","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent"],["nzTitle","Errors",4,"ngIf"],["nzTitle","Errors"],["nzSize","small"],[4,"ngFor","ngForOf"],["nzTitle","Validation Errors",4,"ngIf"],["nzTitle","Validation Errors"],["nzBordered",""],[3,"nzTitle",4,"ngFor","ngForOf"],[3,"nzTitle"]],template:function(i,r){1&i&&(n.YNc(0,Gn,1,1,"nz-alert",0),n.YNc(1,Kn,1,1,"nz-alert",1),n.YNc(2,te,5,3,"ng-container",2),n.YNc(3,Se,1,1,"ng-template",null,3,n.W1O)),2&i&&(n.Q6J("ngForOf",r.errors),n.xp6(1),n.Q6J("ngIf",r.success),n.xp6(1),n.Q6J("ngrxLet",r.viewer$))},dependencies:[d.sg,d.O5,d.tP,d.PC,d.RF,d.n9,d.ED,C.t3,C.SK,j.n_,j.AA,q.bd,M.NU,M.$1,Q.j,v.ZU,J.p9,Z.Ie,T.g,Y.SY,G.lU,B.Ls,K.R7,K.uj,X.m,tn.q,Fn,bn.H,Ln.T,Mn,Sn.I,En.n,Qn.T,Nn.i,In.I,Jn.O,Pn.j,Yn.h,Un.b,Dn.p,$n.m,rn.Zv,rn.yH,N.ix,I.w,F.dQ,Bn.r,L.eJ,wn.I,jn.a,Wn.x],styles:["[_nghost-%COMP%]{display:block}nz-list[_ngcontent-%COMP%] .kept[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .added[_ngcontent-%COMP%]{background-color:#f6ffed;color:#135200}nz-list[_ngcontent-%COMP%] .removed[_ngcontent-%COMP%]{background-color:#fff1f0;color:#820014}nz-list[_ngcontent-%COMP%] .suggested[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}"]}),e})();function Qe(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"cvc-revision-list",14),n.NdJ("revisionSetSelectedEvent",function(m){n.CHM(i);const x=n.oxw(2);return n.KtG(x.onRevisionSetSelected(m))})("revisionMutationCompleted",function(){n.CHM(i);const m=n.oxw(2);return n.KtG(m.refresh())}),n.ALo(1,"ngrxPush"),n.qZA()}if(2&e){const i=n.oxw(2);n.Q6J("revisions",n.lcZ(1,2,i.revisions$))("refetchQueries",i.refetchQueries)}}function Ne(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(){n.CHM(i);const m=n.oxw(2).ngrxLet,x=n.oxw(2);return n.KtG(x.loadMore(null==m?null:m.endCursor))}),n._uU(1," Load More "),n.qZA()}}function Ie(e,a){1&e&&(n.ynx(0),n.YNc(1,Ne,2,0,"button",16),n.BQk())}function Je(e,a){if(1&e&&(n.ynx(0),n.YNc(1,Ie,2,0,"ng-container",15),n.BQk()),2&e){const i=a.ngrxLet;n.xp6(1),n.Q6J("ngIf",i&&(null==i?null:i.hasNextPage)&&i.endCursor)}}function Pe(e,a){if(1&e){const i=n.EpF();n.TgZ(0,"nz-row")(1,"nz-tag",19),n.NdJ("nzOnClose",function(){n.CHM(i);const m=n.oxw(3);return n.KtG(m.onSetFilterClearClicked())}),n._uU(2),n.qZA()()}if(2&e){const i=n.oxw(3);n.xp6(2),n.hij("Group: ",i.filteredSet,"")}}function Ye(e,a){1&e&&(n.TgZ(0,"nz-space",4),n.YNc(1,Pe,3,1,"nz-row",18),n.qZA())}function Ue(e,a){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.Oqu(i.displayName)}}function De(e,a){if(1&e&&n._UZ(0,"nz-avatar",22),2&e){const i=n.oxw().$implicit;n.Q6J("nzSrc",i.profileImagePath)}}function $e(e,a){if(1&e&&(n._UZ(0,"nz-avatar",23),n.ALo(1,"uppercase")),2&e){const i=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,i.username.charAt(0)))}}function Be(e,a){if(1&e&&(n.YNc(0,De,1,1,"nz-avatar",20),n.YNc(1,$e,2,3,"ng-template",null,21,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(2);n.Q6J("ngIf",i.profileImagePath)("ngIfElse",r),n.xp6(4),n.Oqu(i.username)}}function we(e,a){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const i=a.$implicit;n.xp6(1),n.Oqu(i.displayName)}}function je(e,a){if(1&e&&n._UZ(0,"nz-avatar",22),2&e){const i=n.oxw().$implicit;n.Q6J("nzSrc",i.profileImagePath)}}function We(e,a){if(1&e&&(n._UZ(0,"nz-avatar",23),n.ALo(1,"uppercase")),2&e){const i=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,i.username.charAt(0)))}}function Ge(e,a){if(1&e&&(n.YNc(0,je,1,1,"nz-avatar",20),n.YNc(1,We,2,3,"ng-template",null,21,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&e){const i=a.$implicit,r=n.MAs(2);n.Q6J("ngIf",i.profileImagePath)("ngIfElse",r),n.xp6(4),n.Oqu(i.username)}}const zt=function(){return[]};function Ke(e,a){if(1&e){const i=n.EpF();n.ynx(0),n.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),n.YNc(4,Qe,2,4,"cvc-revision-list",5),n.YNc(5,Je,2,1,"ng-container",6),n.qZA()(),n.TgZ(6,"nz-col",7),n.YNc(7,Ye,2,0,"nz-space",8),n.TgZ(8,"cvc-participant-list",9),n.NdJ("participantSelectedEvent",function(m){n.CHM(i);const x=n.oxw();return n.KtG(x.onStatusSelected(m))}),n.YNc(9,Ue,2,1,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(11,"cvc-participant-list",11),n.NdJ("participantSelectedEvent",function(m){n.CHM(i);const x=n.oxw();return n.KtG(x.onRevisorSelected(m))}),n.ALo(12,"ngrxPush"),n.YNc(13,Be,5,3,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(15,"cvc-participant-list",12),n.NdJ("participantSelectedEvent",function(m){n.CHM(i);const x=n.oxw();return n.KtG(x.onFieldNameSelected(m))}),n.ALo(16,"ngrxPush"),n.YNc(17,we,2,1,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(19,"cvc-participant-list",13),n.NdJ("participantSelectedEvent",function(m){n.CHM(i);const x=n.oxw();return n.KtG(x.onResolverSelected(m))}),n.ALo(20,"ngrxPush"),n.YNc(21,Ge,5,3,"ng-template",null,10,n.W1O),n.qZA()()(),n.BQk()}if(2&e){const i=n.oxw();n.xp6(1),n.Q6J("nzGutter",16),n.xp6(4),n.Q6J("ngrxLet",i.pageInfo$),n.xp6(2),n.Q6J("ngIf",i.filteredSet),n.xp6(1),n.Q6J("preselectedOption",i.preselectedRevisionStatus)("participantList",i.selectableStatuses),n.xp6(3),n.Q6J("participantList",n.lcZ(12,8,i.uniqueRevisors$)||n.DdM(14,zt)),n.xp6(4),n.Q6J("participantList",n.lcZ(16,10,i.revisionFields$)||n.DdM(15,zt)),n.xp6(4),n.Q6J("participantList",n.lcZ(20,12,i.uniqueResolvers$)||n.DdM(16,zt))}}function Ve(e,a){1&e&&(n.ynx(0),n.TgZ(1,"nz-row",25),n._UZ(2,"i",26),n.qZA(),n.BQk())}function He(e,a){1&e&&n._UZ(0,"nz-empty",27)}function ke(e,a){if(1&e&&(n.YNc(0,Ve,3,0,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,He,1,0,"ng-template",null,24,n.W1O)),2&e){const i=n.MAs(3),r=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,r.isLoading$))("ngIfElse",i)}}let qe=(()=>{class e{constructor(i,r,m,x,w,cn,Ct,Xe,ni,ti,ei,ii,oi,si){this.gql=i,this.route=r,this.variantDetailGql=m,this.variantSummaryGql=x,this.variantGroupDetailGql=w,this.variantGroupSummaryGql=cn,this.assertionDetailGql=Ct,this.assertionSummaryGql=Xe,this.geneDetailGql=ni,this.geneSummaryGql=ti,this.evidenceDetailGql=ei,this.evidenceSummaryGql=ii,this.molecularProfileDetailGql=oi,this.molecularProfileSummaryGql=si,this.filteredSet=void 0,this.selectableStatuses=[{id:4,displayName:"New",value:l.FJi.New},{id:1,displayName:"Accepted",value:l.FJi.Accepted},{id:2,displayName:"Rejected",value:l.FJi.Rejected},{id:3,displayName:"Superseded",value:l.FJi.Superseded}],this.preselectedRevisionStatus=this.selectableStatuses[0],this.defaultPageSize=10,this.refetchQueries=[]}ngOnInit(){switch(this.routeSub=this.route.params.subscribe(i=>{this.queryParamsSub=this.route.queryParams.subscribe(r=>{let m={first:this.defaultPageSize,subject:{id:this.id,entityType:this.entityType},status:l.FJi.New};r.revisionSetId&&(this.filteredSet=r.revisionSetId,this.preselectedRevisionStatus=void 0,m.status=void 0,m.revisionSetId=r.revisionSetId),this.queryRef=this.gql.watch(m);let x=this.queryRef.valueChanges;this.revisions$=x.pipe((0,R.j)("data","revisions","edges"),(0,c.U)(w=>w.map(cn=>cn.node))),this.isLoading$=x.pipe((0,c.U)(w=>w.loading),(0,h.O)(!0)),this.pageInfo$=x.pipe((0,R.j)("data","revisions","pageInfo")),this.uniqueRevisors$=x.pipe((0,c.U)(({data:w})=>w.revisions?.uniqueRevisors)),this.uniqueResolvers$=x.pipe((0,c.U)(({data:w})=>w.revisions?.uniqueResolvers)),this.revisionFields$=x.pipe((0,c.U)(({data:w})=>w.revisions?.revisedFieldNames.map((cn,Ct)=>({...cn,id:Ct})))),this.unfilteredCount$=x.pipe((0,R.j)("data","revisions","unfilteredCountForSubject"))})}),this.entityType){case l.oRL.Variant:return this.refetchQueries.push({query:this.variantDetailGql.document,variables:{variantId:this.id}}),void this.refetchQueries.push({query:this.variantSummaryGql.document,variables:{variantId:this.id}});case l.oRL.Assertion:return this.refetchQueries.push({query:this.assertionDetailGql.document,variables:{assertionId:this.id}}),void this.refetchQueries.push({query:this.assertionSummaryGql.document,variables:{assertionId:this.id}});case l.oRL.EvidenceItem:return this.refetchQueries.push({query:this.evidenceDetailGql.document,variables:{evidenceId:this.id}}),void this.refetchQueries.push({query:this.evidenceSummaryGql.document,variables:{evidenceId:this.id}});case l.oRL.Gene:return this.refetchQueries.push({query:this.geneDetailGql.document,variables:{geneId:this.id}}),void this.refetchQueries.push({query:this.geneSummaryGql.document,variables:{geneId:this.id}});case l.oRL.VariantGroup:return this.refetchQueries.push({query:this.variantGroupDetailGql.document,variables:{variantGroupId:this.id}}),void this.refetchQueries.push({query:this.variantGroupSummaryGql.document,variables:{variantGroupId:this.id}});case l.oRL.MolecularProfile:return this.refetchQueries.push({query:this.molecularProfileDetailGql.document,variables:{molecularProfileId:this.id}}),void this.refetchQueries.push({query:this.molecularProfileSummaryGql.document,variables:{molecularProfileId:this.id}})}}ngOnDestroy(){this.routeSub?.unsubscribe(),this.queryParamsSub?.unsubscribe()}onFieldNameSelected(i){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},fieldName:i?i.name:void 0})}onRevisorSelected(i){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},originatingUserId:i?i.id:void 0})}onResolverSelected(i){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},resolvingUserId:i?i.id:void 0})}onStatusSelected(i){this.preselectedRevisionStatus=i,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},status:i?i.value:void 0})}onRevisionSetSelected(i){this.filteredSet=i,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},revisionSetId:i?+i:void 0})}onSetFilterClearClicked(){this.filteredSet=void 0,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},revisionSetId:void 0})}refresh(){this.queryRef.refetch()}loadMore(i){this.queryRef?.fetchMore({variables:{first:this.defaultPageSize,after:i}})}}return e.\u0275fac=function(i){return new(i||e)(n.Y36(l.L5n),n.Y36(t.gz),n.Y36(l.iJT),n.Y36(l.Bo4),n.Y36(l.Qtd),n.Y36(l.q1D),n.Y36(l.A94),n.Y36(l.ejK),n.Y36(l.TNk),n.Y36(l.cCu),n.Y36(l.pHu),n.Y36(l.sBY),n.Y36(l.AMF),n.Y36(l.Tg0))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revisions-list-and-filter"]],inputs:{id:"id",entityType:"entityType"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noRevisions",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical"],[3,"revisions","refetchQueries","revisionSetSelectedEvent","revisionMutationCompleted",4,"nzSpaceItem"],[4,"ngrxLet"],["nzSpan","6"],["nzDirection","vertical",4,"ngIf"],["listTitle","Filter by Revision Status",3,"preselectedOption","participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Filter by Revisor",3,"participantList","participantSelectedEvent"],["listTitle","Filter by Field",3,"participantList","participantSelectedEvent"],["listTitle","Filter by Resolver",3,"participantList","participantSelectedEvent"],[3,"revisions","refetchQueries","revisionSetSelectedEvent","revisionMutationCompleted"],[4,"ngIf"],["nz-button","","nzBlock","","nzType","default",3,"click",4,"nzSpaceItem"],["nz-button","","nzBlock","","nzType","default",3,"click"],[4,"nzSpaceItem"],["nzMode","closeable",3,"nzOnClose"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],["noneFound",""],["nzJustify","center"],["nz-icon","","nzType","loading",2,"font-size","32px"],["nzNotFoundImage","simple","nzNotFoundContent","Entity has no Revisions"]],template:function(i,r){if(1&i&&(n.YNc(0,Ke,23,17,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,ke,4,4,"ng-template",null,1,n.W1O)),2&i){const m=n.MAs(3);n.Q6J("ngIf",n.lcZ(1,2,r.unfilteredCount$))("ngIfElse",m)}},dependencies:[d.O5,L.eJ,C.t3,C.SK,M.NU,M.$1,Q.j,y.Dz,J.p9,N.ix,I.w,F.dQ,B.Ls,u.l,Ee,d.gd,L.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]}),e})()},2534:(W,E,o)=>{o.d(E,{A:()=>I});var l=o(6814),c=o(95),h=o(6976),R=o(2962),n=o(2574),t=o(5695),d=o(2392),L=o(1595),C=o(6928),M=o(1665),Q=o(804),y=o(2840),J=o(551),N=o(5879);let I=(()=>{class F{}return F.\u0275fac=function(u){return new(u||F)},F.\u0275mod=N.oAB({type:F}),F.\u0275inj=N.cJS({imports:[l.ez,c.Jb,h.Ph,R.vh,n.zf,t.X,d.ZJ,C.Rt,Q.Xo,y.sL,J.PV,L.N,M.i]}),F})()},1520:(W,E,o)=>{o.d(E,{N:()=>q});var l=o(4223),c=o(5879),h=o(313),R=o(6814),n=o(2392),t=o(4190),d=o(6928),L=o(7417),C=o(8125),M=o(4821),Q=o(7908);function y(v,Z){1&v&&(c.ynx(0),c._uU(1,", "),c.BQk())}function J(v,Z){if(1&v&&(c.ynx(0),c._uU(1),c.ALo(2,"eventVerbiage"),c.YNc(3,y,2,0,"ng-container",12),c.BQk()),2&v){const T=Z.$implicit,Y=Z.last;c.xp6(1),c.hij(" ",c.Dn7(2,2,T.action,"contributor-card",T.count)," "),c.xp6(2),c.Q6J("ngIf",!Y)}}function N(v,Z){if(1&v&&(c.TgZ(0,"nz-descriptions",8)(1,"nz-descriptions-item",9),c.YNc(2,J,4,6,"ng-container",10),c.qZA(),c.TgZ(3,"nz-descriptions-item",11),c._uU(4),c.ALo(5,"date"),c.qZA()()),2&v){const T=c.oxw(2).$implicit;c.Q6J("nzColumn",1),c.xp6(2),c.Q6J("ngForOf",T.uniqueActions),c.xp6(2),c.hij(" ",c.lcZ(5,3,T.lastActionDate)," ")}}function I(v,Z){if(1&v&&(c.TgZ(0,"cvc-user-popover",6),c.YNc(1,N,6,5,"ng-template",null,7,c.W1O),c.qZA()),2&v){const T=c.oxw().$implicit;c.Q6J("userId",T.user.id)}}function F(v,Z){if(1&v&&(c.TgZ(0,"a",3),c._UZ(1,"nz-avatar",4),c.YNc(2,I,3,1,"ng-template",null,5,c.W1O),c.qZA()),2&v){const T=Z.$implicit,Y=c.MAs(3);c.MGl("routerLink","/users/",T.user.id,""),c.xp6(1),c.Q6J("nzSize",14)("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",Y)("nzSrc",T.user.profileImagePath)}}function B(v,Z){if(1&v&&(c.ynx(0),c.YNc(1,F,4,5,"a",2),c.BQk()),2&v){const T=c.oxw();c.xp6(1),c.Q6J("ngForOf",T.sortedContributors)}}function u(v,Z){1&v&&c._uU(0," None ")}let b=(()=>{class v{ngOnInit(){if(void 0===this.contributors)throw new Error("Must pass a list of contributors into the contributor stack");this.sortedContributors=this.contributors.slice(),this.sortedContributors.sort((T,Y)=>Y.totalActionCount-T.totalActionCount)}}return v.\u0275fac=function(T){return new(T||v)},v.\u0275cmp=c.Xpm({type:v,selectors:[["cvc-contributor-stack"]],inputs:{contributors:"contributors"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noContributors",""],["class","avatar",3,"routerLink",4,"ngFor","ngForOf"],[1,"avatar",3,"routerLink"],["nz-popover","","nzPopoverTrigger","hover","nzPopoverPlacement","bottomRight","nzIcon","user","nzSize","small",3,"nzSize","nzPopoverMouseEnterDelay","nzPopoverContent","nzSrc"],["curatorPopover",""],[3,"userId"],["additionalMetadata",""],["nzBordered","","nzTitle","Activity","nzSize","small",3,"nzColumn"],["nzTitle","Contributions"],[4,"ngFor","ngForOf"],["nzTitle","Last Contribution"],[4,"ngIf"]],template:function(T,Y){if(1&T&&(c.YNc(0,B,2,1,"ng-container",0),c.YNc(1,u,1,0,"ng-template",null,1,c.W1O)),2&T){const G=c.MAs(2);c.Q6J("ngIf",Y.sortedContributors&&Y.sortedContributors.length>0)("ngIfElse",G)}},dependencies:[R.sg,R.O5,t.rH,d.Dz,L.lU,C.R7,C.uj,M.q,R.uU,Q.R],encapsulation:2}),v})();var z=o(8091);function O(v,Z){if(1&v&&(c.ynx(0),c._UZ(1,"cvc-contributor-stack",5),c.BQk()),2&v){const T=Z.ngIf;c.xp6(1),c.Q6J("contributors",T)}}function P(v,Z){1&v&&c._uU(0," None ")}function D(v,Z){if(1&v&&(c.ynx(0),c._UZ(1,"cvc-contributor-stack",5),c.BQk()),2&v){const T=Z.ngIf;c.xp6(1),c.Q6J("contributors",T)}}function j(v,Z){1&v&&c._uU(0," None ")}let q=(()=>{class v{constructor(T){this.gql=T}ngOnInit(){if(void 0===this.subscribable)throw new Error("Must pass a subscribable into ContributorAvatars component.");let T=this.gql.watch({subscribable:this.subscribable}).valueChanges;this.curators$=T.pipe((0,l.j)("data","contributors","curators")),this.editors$=T.pipe((0,l.j)("data","contributors","editors"))}}return v.\u0275fac=function(T){return new(T||v)(c.Y36(h.kQf))},v.\u0275cmp=c.Xpm({type:v,selectors:[["cvc-contributor-avatars"]],inputs:{subscribable:"subscribable"},decls:14,vars:8,consts:[["nz-typography","","nzType","secondary",1,"role-group-label"],[1,"role-group"],[4,"ngIf","ngIfElse"],["noCurators",""],["noEditors",""],[3,"contributors"]],template:function(T,Y){if(1&T&&(c.TgZ(0,"span",0),c._uU(1,"Curators:"),c.qZA(),c.TgZ(2,"div",1),c.YNc(3,O,2,1,"ng-container",2),c.ALo(4,"ngrxPush"),c.YNc(5,P,1,0,"ng-template",null,3,c.W1O),c.qZA(),c.TgZ(7,"span",0),c._uU(8,"Editors:"),c.qZA(),c.TgZ(9,"div",1),c.YNc(10,D,2,1,"ng-container",2),c.ALo(11,"ngrxPush"),c.YNc(12,j,1,0,"ng-template",null,4,c.W1O),c.qZA()),2&T){const G=c.MAs(6),K=c.MAs(13);c.xp6(3),c.Q6J("ngIf",c.lcZ(4,4,Y.curators$))("ngIfElse",G),c.xp6(7),c.Q6J("ngIf",c.lcZ(11,6,Y.editors$))("ngIfElse",K)}},dependencies:[R.O5,n.ZU,b,z.fM],styles:["[_nghost-%COMP%]{display:inline-block}.role-group-label[_ngcontent-%COMP%]{margin-left:12px}.role-group[_ngcontent-%COMP%]{display:inline-block}.role-group[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{display:inline-block;margin-left:2px}"]}),v})()},936:(W,E,o)=>{o.d(E,{Z:()=>Q});var l=o(6814),c=o(2392),h=o(4190),R=o(6928),n=o(7417),t=o(2524),d=o(4086),L=o(8125),C=o(5879);let M=(()=>{class y{}return y.\u0275fac=function(N){return new(N||y)},y.\u0275mod=C.oAB({type:y}),y.\u0275inj=C.cJS({imports:[l.ez,h.Bz,R.Rt,n.$6,L.q6,t.s,d.J]}),y})(),Q=(()=>{class y{}return y.\u0275fac=function(N){return new(N||y)},y.\u0275mod=C.oAB({type:y}),y.\u0275inj=C.cJS({imports:[l.ez,c.ZJ,M]}),y})()},8295:(W,E,o)=>{o.d(E,{Q:()=>B});var l=o(2024),c=o(313),h=o(8645),R=o(7398),n=o(9773),t=o(5879),d=o(7473),L=o(6814),C=o(2840),M=o(855),Q=o(1958),y=o(551),J=o(6109),N=o(8091);function I(u,b){if(1&u){const z=t.EpF();t.ynx(0),t.TgZ(1,"button",2),t.NdJ("click",function(){t.CHM(z);const P=t.oxw();return t.KtG(P.unsubscribe())}),t._UZ(2,"i",3),t.qZA(),t.BQk()}if(2&u){const z=t.oxw();t.xp6(1),t.Q6J("nzLoading",z.isSubmitting)}}function F(u,b){if(1&u){const z=t.EpF();t.TgZ(0,"button",4),t.NdJ("click",function(){t.CHM(z);const P=t.oxw();return t.KtG(P.subscribe())}),t._UZ(1,"i",5),t.qZA()}if(2&u){const z=t.oxw();t.Q6J("nzLoading",z.isSubmitting)}}let B=(()=>{class u{constructor(z,O,P,D){this.isSubscribedGQL=z,this.unsubscribeMutation=O,this.subscribeMutation=P,this.networkErrorService=D,this.isSubmitting=!1,this.destroy$=new h.x,this.unsubscribeMutator=new l.U(D),this.subscribeMutator=new l.U(D)}ngOnInit(){if(void 0===this.viewer)throw new Error("Must pass in a viewer to the CvcEntitySubscriptionButtonComponent");if(void 0===this.typename)throw new Error("Must pass in a typename to the CvcEntitySubscriptionButtonComponent");if(void 0===this.subscribableId)throw new Error("Must pass in a subscribableId to the CvcEntitySubscriptionButtonComponent");this.subscribable={id:this.subscribableId,entityType:c.o71[this.typename]},this.queryRef=this.isSubscribedGQL.watch({subscribable:this.subscribable}),this.existingSubscription$=this.queryRef.valueChanges.pipe((0,R.U)(({data:O})=>O.subscriptionForEntity))}subscribe(){this.subscribable&&(this.isSubmitting=!0,this.subscribeMutator.mutate(this.subscribeMutation,{input:{subscribables:[this.subscribable]}}).submitSuccess$.pipe((0,n.R)(this.destroy$)).subscribe(O=>{O&&(this.queryRef?.refetch(),this.isSubmitting=!1)}))}unsubscribe(){this.subscribable&&(this.isSubmitting=!0,this.unsubscribeMutator.mutate(this.unsubscribeMutation,{input:{subscribables:[this.subscribable]}}).submitSuccess$.pipe((0,n.R)(this.destroy$)).subscribe(O=>{O&&(this.queryRef?.refetch(),this.isSubmitting=!1)}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return u.\u0275fac=function(z){return new(z||u)(t.Y36(c.A4J),t.Y36(c.m$d),t.Y36(c.jMx),t.Y36(d.Y))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-entity-subscription-button"]],inputs:{viewer:"viewer",typename:"typename",subscribableId:"subscribableId"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noSub",""],["nz-button","","nz-tooltip","Unsubscribe","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","bell","nzTheme","fill"],["nz-button","","nz-tooltip","Subscribe","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","bell","nzTheme","outline"]],template:function(z,O){if(1&z&&(t.YNc(0,I,3,1,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,F,2,1,"ng-template",null,1,t.W1O)),2&z){const P=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,O.existingSubscription$))("ngIfElse",P)}},dependencies:[L.O5,C.ix,M.w,Q.dQ,y.Ls,J.SY,N.fM],styles:["[_nghost-%COMP%]{display:block}"]}),u})()},7129:(W,E,o)=>{o.d(E,{g:()=>t});var l=o(6814),c=o(2840),h=o(551),R=o(6109),n=o(5879);let t=(()=>{class d{}return d.\u0275fac=function(C){return new(C||d)},d.\u0275mod=n.oAB({type:d}),d.\u0275inj=n.cJS({imports:[l.ez,c.sL,h.PV,R.cg]}),d})()},4082:(W,E,o)=>{o.d(E,{I:()=>c});var l=o(5879);let c=(()=>{class h{transform(n){if(n){let d=n.toLowerCase().replace(/_/g," ").split(" ");for(var t=0;t{o.r(z),o.d(z,{ReleasesModule:()=>l});var g=o(6895),h=o(2635),f=o(6903),u=o(5655),m=o(3679),C=o(1102),r=o(6675),y=o(4989),v=o(9597),x=o(8823),w=o(5630),T=o(6616),M=o(1971),e=o(4650);class s{}s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[g.ez,h._N,h.pP,T.sL,u.KJ,m.Jb,C.PV,r.HQ,f.zf,x.ZJ,v.L,M.vh,w.D,y.X]});var _=o(9116),P=o(3240),Z=o(4813),b=o(8675),A=o(9300),O=o(4004),V=o(7630),U=o(7044),I=o(8992),R=o(6550);function S(t,n){1&t&&(e.TgZ(0,"a",11),e._UZ(1,"i",12),e._uU(2," View Data Releases Docs "),e.qZA())}function F(t,n){1&t&&(e.TgZ(0,"nz-row"),e._UZ(1,"nz-alert",13),e.qZA())}function J(t,n){1&t&&(e.TgZ(0,"nz-row")(1,"p",14),e._uU(2," The CIViC server produces nightly and monthly releases that include a subset of all primary entity records (Genes, Variants, Molecular Profiles, Evidence, Variant Groups, and Assertions). Both TSV and VCF versions are provided below - just locate the specific entity type and data format you wish to obtain, then click on the relevant button to download. "),e.qZA(),e.TgZ(3,"p",14),e._uU(4," These records do not contain user profile data, discussion and commentary, data provenance and revision history, or information dynamically obtained from resources external to CIViC (e.g. MyVariant.Info, MyGene.Info). Variant TSV releases only include variant records with accepted evidence records. Variant TSV releases from before August 2020 include all variant records, irregardless of the status of the associated evidence items. Evidence TSV releases only include accepted evidence items and exclude pending or rejected evidence items. Assertion TSV releases only include accepted assertions. Accepted VCF releases include only variants with accepted evidence items and/or accepted assertions. Accepted & Submitted VCF releases include Variants with accepted and/or submitted evidence items and/or assertions. "),e.qZA(),e.TgZ(5,"p",14),e._uU(6," In order to comply with the VCF specification, the VCFs can only include variants with complete coordinates. By contrast, the TSV variants file may contain variants with coordinates that have not been fully curated in CIViC. Additional variants are of types that can not be properly represented in VCF format. Thus, the number of variants will be lower in the VCFs compared to the number of variants in the TSV. "),e.qZA(),e.TgZ(7,"p",14),e._uU(8," As with all curated evidence and interpretations of CIViC, the contents of these files are made freely available, without restriction under the CC0 license ("),e.TgZ(9,"a",15),e._uU(10,"Creative Commons Public Domain Dedication, CC0 1.0 Universal"),e.qZA(),e._uU(11,"). "),e.qZA(),e.TgZ(12,"p",14),e._uU(13," If you use CIViC content, please consider citing the "),e.TgZ(14,"a",16),e._uU(15,"CIViC publication"),e.qZA(),e._uU(16,". "),e.qZA()())}function Q(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Genes TSV "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.geneTsv.path)}}function N(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Variants TSV "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.variantTsv.path)}}function E(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Molecular Profiles TSV "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.molecularProfileTsv.path)}}function D(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Evidence TSV "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.evidenceTsv.path)}}function $(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Variant Groups TSV "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.variantGroupTsv.path)}}function q(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Assertions TSV "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.assertionTsv.path)}}function Y(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Accepted Variants VCF "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.acceptedVariantsVcf.path)}}function B(t,n){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Accepted & Submitted Variants VCF "),e.qZA()()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.acceptedAndSubmittedVariantsVcf.path)}}function G(t,n){if(1&t&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.YNc(3,Q,3,1,"td",24),e.YNc(4,N,3,1,"td",24),e.YNc(5,E,3,1,"td",24),e.YNc(6,D,3,1,"td",24),e.YNc(7,$,3,1,"td",24),e.YNc(8,q,3,1,"td",24),e.YNc(9,Y,3,1,"td",24),e.YNc(10,B,3,1,"td",24),e.qZA()),2&t){const a=n.$implicit;e.oxw();const i=e.MAs(31);e.xp6(2),e.Oqu(a.name),e.xp6(1),e.Q6J("ngIf",a.geneTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",a.variantTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",a.molecularProfileTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",a.evidenceTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",a.variantGroupTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",a.assertionTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",a.acceptedVariantsVcf)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",a.acceptedAndSubmittedVariantsVcf)("ngIfElse",i)}}function j(t,n){1&t&&(e.TgZ(0,"td",26),e._uU(1," -- "),e.qZA())}const L=function(){return[]};function k(t,n){if(1&t&&(e.TgZ(0,"nz-row")(1,"nz-col",17)(2,"div",18)(3,"nz-card",19)(4,"nz-table",20,21),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.TgZ(8,"thead")(9,"tr")(10,"th"),e._uU(11,"Date"),e.qZA(),e.TgZ(12,"th"),e._uU(13,"Genes"),e.qZA(),e.TgZ(14,"th"),e._uU(15,"Variants"),e.qZA(),e.TgZ(16,"th"),e._uU(17,"Molecular Profiles"),e.qZA(),e.TgZ(18,"th"),e._uU(19,"Evidence"),e.qZA(),e.TgZ(20,"th"),e._uU(21,"Variant Groups"),e.qZA(),e.TgZ(22,"th"),e._uU(23,"Assertions"),e.qZA(),e.TgZ(24,"th"),e._uU(25,"Accepted Variants VCF"),e.qZA(),e.TgZ(26,"th"),e._uU(27,"Accepted & Submitted Variants VCF"),e.qZA()()(),e.TgZ(28,"tbody"),e.YNc(29,G,11,17,"tr",22),e.YNc(30,j,2,0,"ng-template",null,23,e.W1O),e.qZA()()()()()()),2&t){const a=e.MAs(5),i=e.oxw();e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzData",e.lcZ(6,7,i.releases$)||e.DdM(11,L))("nzLoading",e.lcZ(7,9,i.loading$))("nzFrontPagination",!0)("nzShowPagination",!0)("nzPageSize",5),e.xp6(25),e.Q6J("ngForOf",a.data)}}class d{constructor(n){this.gql=n}ngOnInit(){let n=this.gql.watch().valueChanges;this.loading$=n.pipe((0,Z.j)("loading"),(0,b.O)(!0)),this.releases$=n.pipe((0,Z.j)("data"),(0,A.h)(P.lm),(0,O.U)(a=>a.dataReleases))}}d.\u0275fac=function(n){return new(n||d)(e.Y36(V.db2))},d.\u0275cmp=e.Xpm({type:d,selectors:[["cvc-releases-main"]],decls:18,vars:1,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","download"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nzDirection","vertical","nzSpace","large"],[4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nzType","info","nzMessage","Please Note","nzDescription","TSV and VCF releases of CIViC data are provided at regular intervals for the convenience of those who require the use of a static file. For most users, we recomend utilizing our API which. Using the API will provide you with the richest metadata about CIViC entries as well as the most current versions of all evidence statements. In fact, the entire CIViC web frontend runs off the exact same API that is available for public use."],["nz-typography",""],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],[3,"nzSpan"],[1,"content"],["nzTitle","Browse All Data Releases"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination","nzPageSize"],["releasesTable",""],[4,"ngFor","ngForOf"],["noData",""],[4,"ngIf","ngIfElse"],["iconName","download",3,"href"],["nz-typography","","nzType","secondary"]],template:function(n,a){1&n&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),e._UZ(5,"i",3),e.qZA(),e.TgZ(6,"nz-col",4)(7,"h2"),e._uU(8,"Data Releases"),e.qZA(),e.TgZ(9,"p",5),e._uU(10," The CIViC server produces nightly and monthly releases that include a subset of all primary entity records. "),e.qZA()(),e.TgZ(11,"nz-col",6)(12,"nz-space",7),e.YNc(13,S,3,0,"a",8),e.qZA()()(),e.TgZ(14,"nz-space",9),e.YNc(15,F,2,0,"nz-row",10),e.YNc(16,J,17,0,"nz-row",10),e.YNc(17,k,32,12,"nz-row",10),e.qZA()()()),2&n&&(e.xp6(9),e.Q6J("nzEllipsisRows",2))},dependencies:[g.sg,g.O5,T.ix,U.w,u.$O,u.u5,m.t3,m.SK,C.Ls,r.N8,r.Uo,r._C,r.Om,r.p0,r.$Z,f.NU,f.$1,x.ZU,v.r,M.bd,I.I,R.l,h.fM],styles:["[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"]});class p{constructor(){}ngOnInit(){}}p.\u0275fac=function(n){return new(n||p)},p.\u0275cmp=e.Xpm({type:p,selectors:[["cvc-releases"]],decls:1,vars:0,template:function(n,a){1&n&&e._UZ(0,"router-outlet")},dependencies:[_.lC],encapsulation:2});const X=[{path:"",component:p,children:[{path:"",redirectTo:"main",pathMatch:"full"},{path:"main",component:d,data:{breadcrumb:"Downloads"}}]}];class c{}c.\u0275fac=function(n){return new(n||c)},c.\u0275mod=e.oAB({type:c}),c.\u0275inj=e.cJS({imports:[_.Bz.forChild(X),_.Bz]});class l{}l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[g.ez,c,s]})}}]); \ No newline at end of file diff --git a/server/public/4637.92c61fd0894ee7dd.js b/server/public/4637.92c61fd0894ee7dd.js deleted file mode 100644 index fe50191d3..000000000 --- a/server/public/4637.92c61fd0894ee7dd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4637],{8992:(K,y,r)=>{r.d(y,{I:()=>T});var n=r(9116),z=r(7579),e=r(9300),M=r(2722),b=r(8675),o=r(4650),C=r(1481);class h{constructor(l,d){this.title=l,this.meta=d}updateTitle(l){this.title.setTitle(l+=" | CIViC")}updateMetaTags(l){l.forEach(d=>this.meta.updateTag(d))}}h.\u0275fac=function(l){return new(l||h)(o.LFG(C.Dx),o.LFG(C.h_))},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"});var B=r(6895),x=r(3679),S=r(4963);function H(_,l){}function L(_,l){if(1&_&&(o.TgZ(0,"nz-col",5),o.YNc(1,H,0,0,"ng-template",6),o.qZA()),2&_){const d=o.oxw();o.Q6J("nzSpan",d.relationsTpl?5:14),o.xp6(1),o.Q6J("ngTemplateOutlet",d.actionsTpl)}}function R(_,l){}function F(_,l){if(1&_&&(o.TgZ(0,"nz-col",7),o.YNc(1,R,0,0,"ng-template",6),o.qZA()),2&_){const d=o.oxw();o.Q6J("nzSpan",d.actionsTpl?9:14),o.xp6(1),o.Q6J("ngTemplateOutlet",d.relationsTpl)}}const U=function(_,l,d){return{"has-relations":_,"has-actions":l,"no-extras":d}};class T{constructor(l,d,m){this.titleService=l,this.injector=d,this.cdr=m,this.destroy$=new z.x,this.segments=[],this._getRouteLabel=f=>"DISPLAYNAME"!==f?f:void 0===this.displayName?"[?DISPLAY NAME?]":this.displayName,this.getRouteLabel=f=>f}ngOnInit(){this.getRouteLabel=this._getRouteLabel,this.registerRouterChange()}registerRouterChange(){try{const l=this.injector.get(n.F0),d=this.injector.get(n.gz);l.events.pipe((0,e.h)(m=>m instanceof n.m2),(0,M.R)(this.destroy$),(0,b.O)(!0)).subscribe(()=>{this.segments=this.getTitleSegments(d.root);let m="",f=this.segments.length,v=1;this.segments.forEach(P=>{m+=this._getRouteLabel(P.label),vD.path).filter(D=>D).join("/"),A=P?d+`/${P}`:d,N=v.snapshot.data.breadcrumb;return P&&N&&m.push({label:N,url:A}),this.getTitleSegments(v,A,m)}return m}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}T.\u0275fac=function(l){return new(l||T)(o.Y36(h),o.Y36(o.zs3),o.Y36(o.sBO))},T.\u0275cmp=o.Xpm({type:T,selectors:[["cvc-section-navigation"]],inputs:{displayName:"displayName",relationsTpl:"relationsTpl",actionsTpl:"actionsTpl"},decls:5,vars:9,consts:[["id","nav-container",3,"ngClass"],["nzSpan","10","id","breadcrumbs"],[3,"nzAutoGenerate","nzRouteLabelFn"],["id","action-btns",3,"nzSpan",4,"ngIf"],["id","relations-summary",3,"nzSpan",4,"ngIf"],["id","action-btns",3,"nzSpan"],[3,"ngTemplateOutlet"],["id","relations-summary",3,"nzSpan"]],template:function(l,d){1&l&&(o.TgZ(0,"nz-row",0)(1,"nz-col",1),o._UZ(2,"nz-breadcrumb",2),o.qZA(),o.YNc(3,L,2,2,"nz-col",3),o.YNc(4,F,2,2,"nz-col",4),o.qZA()),2&l&&(o.Q6J("ngClass",o.kEZ(5,U,void 0!==d.relationsTpl,void 0!==d.actionsTpl,!(d.relationsTpl||d.actionsTpl))),o.xp6(2),o.Q6J("nzAutoGenerate",!0)("nzRouteLabelFn",d.getRouteLabel),o.xp6(1),o.Q6J("ngIf",d.actionsTpl),o.xp6(1),o.Q6J("ngIf",d.relationsTpl))},dependencies:[B.mk,B.O5,B.tP,x.t3,x.SK,S.Dg],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]{display:block}#nav-container[_ngcontent-%COMP%]{margin-top:-12px;padding:8px}#nav-container.has-actions[_ngcontent-%COMP%]{padding:7px}#breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb a, #breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb-separator{color:#ffffffa6}#breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb a:hover{color:#40a9ff}#action-btns[_ngcontent-%COMP%], #relations-summary[_ngcontent-%COMP%]{text-align:right}#relations-summary[_ngcontent-%COMP%] .label{color:#ffffffa6}#relations-summary[_ngcontent-%COMP%] nz-space .tags>*:last-child nz-tag{margin-right:0}#relations-summary[_ngcontent-%COMP%] nz-space .ant-space-item:last-child{margin-right:0!important}"],changeDetection:0})},5630:(K,y,r)=>{r.d(y,{D:()=>o});var n=r(6895),z=r(3679),e=r(4963),M=r(9116),b=r(4650);class o{}o.\u0275fac=function(h){return new(h||o)},o.\u0275mod=b.oAB({type:o}),o.\u0275inj=b.cJS({imports:[n.ez,M.Bz,z.Jb,e.lt]})},4963:(K,y,r)=>{r.d(y,{Dg:()=>Y,lt:()=>J});var n=r(4650),z=r(6895),e=r(6287),M=r(9562),b=r(1102),o=r(655),C=r(9116),h=r(7579),B=r(2722),x=r(9300),S=r(8675),H=r(1355),L=r(3187),R=r(445),F=r(8184),U=r(1691);function T(i,p){}function _(i,p){1&i&&n._UZ(0,"span",6)}function l(i,p){if(1&i&&(n.ynx(0),n.TgZ(1,"span",3),n.YNc(2,T,0,0,"ng-template",4),n.YNc(3,_,1,0,"span",5),n.qZA(),n.BQk()),2&i){const s=n.oxw(),u=n.MAs(2);n.xp6(1),n.Q6J("nzDropdownMenu",s.nzOverlay),n.xp6(1),n.Q6J("ngTemplateOutlet",u),n.xp6(1),n.Q6J("ngIf",!!s.nzOverlay)}}function d(i,p){1&i&&(n.TgZ(0,"span",7),n.Hsn(1),n.qZA())}function m(i,p){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const s=n.oxw(2);n.xp6(1),n.hij(" ",s.nzBreadCrumbComponent.nzSeparator," ")}}function f(i,p){if(1&i&&(n.TgZ(0,"span",8),n.YNc(1,m,2,1,"ng-container",9),n.qZA()),2&i){const s=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",s.nzBreadCrumbComponent.nzSeparator)}}const v=["*"];function P(i,p){if(1&i){const s=n.EpF();n.TgZ(0,"nz-breadcrumb-item")(1,"a",2),n.NdJ("click",function(t){const a=n.CHM(s).$implicit,g=n.oxw(2);return n.KtG(g.navigate(a.url,t))}),n._uU(2),n.qZA()()}if(2&i){const s=p.$implicit;n.xp6(1),n.uIk("href",s.url,n.LSH),n.xp6(1),n.Oqu(s.label)}}function A(i,p){if(1&i&&(n.ynx(0),n.YNc(1,P,3,2,"nz-breadcrumb-item",1),n.BQk()),2&i){const s=n.oxw();n.xp6(1),n.Q6J("ngForOf",s.breadcrumbs)}}class N{}let D=(()=>{class i{constructor(s){this.nzBreadCrumbComponent=s}}return i.\u0275fac=function(s){return new(s||i)(n.Y36(N))},i.\u0275cmp=n.Xpm({type:i,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:v,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],["class","ant-breadcrumb-separator",4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[1,"ant-breadcrumb-separator"],[4,"nzStringTemplateOutlet"]],template:function(s,u){if(1&s&&(n.F$t(),n.YNc(0,l,4,3,"ng-container",0),n.YNc(1,d,2,0,"ng-template",null,1,n.W1O),n.YNc(3,f,2,1,"span",2)),2&s){const t=n.MAs(2);n.Q6J("ngIf",!!u.nzOverlay)("ngIfElse",t),n.xp6(3),n.Q6J("ngIf",u.nzBreadCrumbComponent.nzSeparator)}},dependencies:[z.O5,z.tP,e.f,M.cm,b.Ls],encapsulation:2,changeDetection:0}),i})(),Y=(()=>{class i{constructor(s,u,t,c,a){this.injector=s,this.cdr=u,this.elementRef=t,this.renderer=c,this.directionality=a,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=g=>g,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new h.x,c.addClass(t.nativeElement,"ant-breadcrumb")}ngOnInit(){this.nzAutoGenerate&&this.registerRouterChange(),this.directionality.change?.pipe((0,B.R)(this.destroy$)).subscribe(s=>{this.dir=s,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(s,u){u.preventDefault(),this.injector.get(C.F0).navigateByUrl(s)}registerRouterChange(){try{const s=this.injector.get(C.F0),u=this.injector.get(C.gz);s.events.pipe((0,x.h)(t=>t instanceof C.m2),(0,B.R)(this.destroy$),(0,S.O)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(u.root),this.cdr.markForCheck()})}catch{throw new Error(`${H.Bq} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(s,u="",t=[]){const c=s.children;if(0===c.length)return t;for(const a of c)if(a.outlet===C.eC){const g=a.snapshot.url.map(I=>I.path).filter(I=>I).join("/"),E=g?`${u}/${g}`:u,O=this.nzRouteLabelFn(a.snapshot.data[this.nzRouteLabel]);return g&&O&&t.push({label:O,params:a.snapshot.params,url:E}),this.getBreadcrumbs(a,E,t)}return t}prepareComponentForRtl(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}}return i.\u0275fac=function(s){return new(s||i)(n.Y36(n.zs3),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(R.Is,8))},i.\u0275cmp=n.Xpm({type:i,selectors:[["nz-breadcrumb"]],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn"},exportAs:["nzBreadcrumb"],features:[n._Bn([{provide:N,useExisting:i}])],ngContentSelectors:v,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(s,u){1&s&&(n.F$t(),n.Hsn(0),n.YNc(1,A,2,1,"ng-container",0)),2&s&&(n.xp6(1),n.Q6J("ngIf",u.nzAutoGenerate&&u.breadcrumbs.length))},dependencies:[z.sg,z.O5,D],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,L.yF)()],i.prototype,"nzAutoGenerate",void 0),i})(),J=(()=>{class i{}return i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[z.ez,e.T,F.U8,U.e4,M.b1,b.PV,R.vT]}),i})()},5655:(K,y,r)=>{r.d(y,{$O:()=>p,Jp:()=>D,KJ:()=>u,ZJ:()=>N,u5:()=>A,u9:()=>v,yG:()=>P});var n=r(445),z=r(6895),e=r(4650),M=r(6287),b=r(1102),o=r(655),C=r(7579),h=r(2722),B=r(4004),x=r(2536),S=r(1355),H=r(1519);function L(t,c){if(1&t&&(e.ynx(0),e._UZ(1,"span",9),e.BQk()),2&t){const a=c.$implicit,g=e.oxw(2);e.xp6(1),e.Q6J("nzType",a||g.getBackIcon())}}function R(t,c){if(1&t){const a=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(a);const E=e.oxw();return e.KtG(E.onBack())}),e.TgZ(1,"div",7),e.YNc(2,L,2,1,"ng-container",8),e.qZA()()}if(2&t){const a=e.oxw();e.xp6(2),e.Q6J("nzStringTemplateOutlet",a.nzBackIcon)}}function F(t,c){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzTitle)}}function U(t,c){if(1&t&&(e.TgZ(0,"span",10),e.YNc(1,F,2,1,"ng-container",8),e.qZA()),2&t){const a=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",a.nzTitle)}}function T(t,c){1&t&&e.Hsn(0,6,["*ngIf","!nzTitle"])}function _(t,c){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const a=e.oxw(2);e.xp6(1),e.Oqu(a.nzSubtitle)}}function l(t,c){if(1&t&&(e.TgZ(0,"span",11),e.YNc(1,_,2,1,"ng-container",8),e.qZA()),2&t){const a=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",a.nzSubtitle)}}function d(t,c){1&t&&e.Hsn(0,7,["*ngIf","!nzSubtitle"])}const m=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],f=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"];let v=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),t})(),P=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),t})(),A=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-content"],["","nz-page-header-content",""]],hostAttrs:[1,"ant-page-header-content"],exportAs:["nzPageHeaderContent"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-tags"],["","nz-page-header-tags",""]],hostAttrs:[1,"ant-page-header-heading-tags"],exportAs:["nzPageHeaderTags"]}),t})(),D=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275dir=e.lG2({type:t,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),t})(),p=(()=>{class t{constructor(a,g,E,O,I,Q){this.location=a,this.nzConfigService=g,this.elementRef=E,this.nzResizeObserver=O,this.cdr=I,this.directionality=Q,this._nzModuleName="pageHeader",this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new e.vpe,this.compact=!1,this.destroy$=new C.x,this.dir="ltr"}ngOnInit(){this.directionality.change?.pipe((0,h.R)(this.destroy$)).subscribe(a=>{this.dir=a,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,B.U)(([a])=>a.contentRect.width),(0,h.R)(this.destroy$)).subscribe(a=>{this.compact=a<768,this.cdr.markForCheck()})}onBack(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(`${S.Bq} you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!`);this.location.back()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getBackIcon(){return"rtl"===this.dir?"arrow-right":"arrow-left"}}return t.\u0275fac=function(a){return new(a||t)(e.Y36(z.Ye,8),e.Y36(x.jY),e.Y36(e.SBq),e.Y36(H.D3),e.Y36(e.sBO),e.Y36(n.Is,8))},t.\u0275cmp=e.Xpm({type:t,selectors:[["nz-page-header"]],contentQueries:function(a,g,E){if(1&a&&(e.Suo(E,Y,5),e.Suo(E,W,5)),2&a){let O;e.iGM(O=e.CRH())&&(g.nzPageHeaderFooter=O.first),e.iGM(O=e.CRH())&&(g.nzPageHeaderBreadcrumb=O.first)}},hostAttrs:[1,"ant-page-header"],hostVars:10,hostBindings:function(a,g){2&a&&e.ekj("has-footer",g.nzPageHeaderFooter)("ant-page-header-ghost",g.nzGhost)("has-breadcrumb",g.nzPageHeaderBreadcrumb)("ant-page-header-compact",g.compact)("ant-page-header-rtl","rtl"===g.dir)},inputs:{nzBackIcon:"nzBackIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzGhost:"nzGhost"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:f,decls:13,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(a,g){1&a&&(e.F$t(m),e.Hsn(0),e.TgZ(1,"div",0)(2,"div",1),e.YNc(3,R,3,1,"div",2),e.Hsn(4,1),e.YNc(5,U,2,1,"span",3),e.YNc(6,T,1,0,"ng-content",4),e.YNc(7,l,2,1,"span",5),e.YNc(8,d,1,0,"ng-content",4),e.Hsn(9,2),e.qZA(),e.Hsn(10,3),e.qZA(),e.Hsn(11,4),e.Hsn(12,5)),2&a&&(e.xp6(3),e.Q6J("ngIf",null!==g.nzBackIcon),e.xp6(2),e.Q6J("ngIf",g.nzTitle),e.xp6(1),e.Q6J("ngIf",!g.nzTitle),e.xp6(1),e.Q6J("ngIf",g.nzSubtitle),e.xp6(1),e.Q6J("ngIf",!g.nzSubtitle))},dependencies:[z.O5,M.f,b.Ls],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,x.oS)()],t.prototype,"nzGhost",void 0),t})(),u=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[n.vT,z.ez,M.T,b.PV]}),t})()}}]); \ No newline at end of file diff --git a/server/public/4824.0de1fbb7a4d99eab.js b/server/public/4824.0de1fbb7a4d99eab.js deleted file mode 100644 index 0582670a6..000000000 --- a/server/public/4824.0de1fbb7a4d99eab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4824],{4824:(B,m,e)=>{e.r(m),e.d(m,{VariantGroupsReviseModule:()=>s});var p=e(6895),M=e(9386),O=e(5630),P=e(9444),l=e(2635),f=e(3679),z=e(1102),u=e(5655),y=e(6903),V=e(8823),g=e(9116),C=e(8675),I=e(4004),x=e(6579),t=e(4650),b=e(7630),S=e(9350),Z=e(8992),R=e(8616),T=e(160);function A(a,n){1&a&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function J(a,n){1&a&&(t.TgZ(0,"nz-row",8)(1,"div",9),t._UZ(2,"cvc-login-prompt"),t.qZA()())}function w(a,n){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),t._uU(4," REVISE "),t._UZ(5,"i",4),t.ALo(6,"entityColor"),t._uU(7),t.qZA(),t.TgZ(8,"nz-page-header-content")(9,"div",5),t.YNc(10,A,2,0,"div",6),t.ALo(11,"ngrxPush"),t.YNc(12,J,3,0,"ng-template",null,7,t.W1O),t.qZA()()(),t.BQk()),2&a){const o=n.ngIf,h=t.MAs(13),v=t.oxw();t.xp6(1),t.Q6J("displayName",o.name),t.xp6(4),t.Q6J("nzTwotoneColor",t.lcZ(6,5,"VariantGroup")),t.xp6(2),t.hij(" ",o.name," "),t.xp6(3),t.Q6J("ngIf",t.lcZ(11,7,v.isSignedIn$))("ngIfElse",h)}}class d{constructor(n,o,h){this.gql=n,this.route=o,this.viewerService=h,this.routeSub=this.route.params.subscribe(v=>{let G=this.gql.watch({variantGroupId:+v.variantGroupId}).valueChanges;this.loading$=G.pipe((0,x.j)("loading"),(0,C.O)(!0)),this.variantGroup$=G.pipe((0,x.j)("data","variantGroup"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,I.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}d.\u0275fac=function(n){return new(n||d)(t.Y36(b.Qtd),t.Y36(g.gz),t.Y36(S.a))},d.\u0275cmp=t.Xpm({type:d,selectors:[["cvc-variant-groups-revise-view"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,o){1&n&&(t.YNc(0,w,14,9,"ng-container",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,o.variantGroup$))},dependencies:[p.O5,g.lC,u.$O,u.u9,u.u5,z.Ls,Z.I,R.u,f.t3,f.SK,p.Ov,T.a,l.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var Q=e(2297);class r{}r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[p.ez,Q.A]});var U=e(3085);function Y(a,n){if(1&a&&(t.ynx(0),t._UZ(1,"cvc-variantgroup-revise-form",2),t.BQk()),2&a){const o=t.oxw();t.xp6(1),t.Q6J("variantGroupId",o.variantGroupId)}}function $(a,n){1&a&&t._uU(0,"Loading Variant Group...")}class c{constructor(n){this.route=n,this.routeParams$=this.route.params.subscribe(o=>{this.variantGroupId=+o.variantGroupId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}c.\u0275fac=function(n){return new(n||c)(t.Y36(g.gz))},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-variant-groups-suggest-page"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariantGroup",""],[3,"variantGroupId"]],template:function(n,o){if(1&n&&(t.YNc(0,Y,2,1,"ng-container",0),t.YNc(1,$,1,0,"ng-template",null,1,t.W1O)),2&n){const h=t.MAs(2);t.Q6J("ngIf",o.variantGroupId)("ngIfElse",h)}},dependencies:[p.O5,U.L],encapsulation:2});const N=[{path:"",component:d,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:c,data:{breadcrumb:"Suggest Revision"}}]}];class i{}i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[g.Bz.forChild(N),r,g.Bz]});class s{}s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[p.ez,i,u.KJ,y.zf,z.PV,V.ZJ,y.zf,P.s,O.D,M.a,l._N,l.pP,f.Jb]})}}]); \ No newline at end of file diff --git a/server/public/4872.4170af96d9e3e4f3.js b/server/public/4872.4170af96d9e3e4f3.js new file mode 100644 index 000000000..1d46d1145 --- /dev/null +++ b/server/public/4872.4170af96d9e3e4f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4872],{270:(I,v,o)=>{o.d(v,{w:()=>Se});var r=o(2023),e=o(5879),i=o(6814),_=o(4190),l=o(5695),h=o(7417),A=o(551),d=o(7398),g=o(2181),c=o(5676),p=o(5710),m=o(313),S=o(2962),T=o(8125),z=o(95),O=o(2574),f=o(6109),C=o(9775),y=o(5095),E=o(2606),P=o(3897),u=o(4770),D=o(2384),Z=o(8091),M=o(3702),w=o(6967),L=o(406),N=o(2616),$=o(5573);function U(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"i",17),e.ALo(2,"entityColor"),e._uU(3),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(2,2,"Assertion")),e.xp6(2),e.hij(" ",t.name," ")}}function Q(n,s){if(1&n&&e._UZ(0,"cvc-status-tag",18),2&n){const t=e.oxw(2).ngIf;e.Q6J("status",t.status)}}function q(n,s){1&n&&(e.TgZ(0,"nz-space"),e.YNc(1,U,4,4,"ng-container",15),e.YNc(2,Q,1,1,"cvc-status-tag",16),e.qZA())}function Y(n,s){if(1&n&&e._UZ(0,"cvc-molecular-profile-tag",19),2&n){const t=e.oxw().ngIf;e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!1)("truncateLongName",!0)}}function J(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const t=s.ngIf;e.xp6(1),e.hij(" ",t," ")}}function B(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",21),e._UZ(2,"cvc-mp-tag-name",22),e.qZA()()),2&n){const t=e.oxw().ngIf;e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("nameSegments",t.molecularProfile.parsedName)("enablePopover",!1)}}function F(n,s){if(1&n&&(e.TgZ(0,"nz-tag",42),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("nzTooltipTitle",t.description),e.xp6(1),e.Oqu(t.code)}}function X(n,s){if(1&n&&(e.ynx(0),e.YNc(1,F,2,2,"nz-tag",41),e.BQk()),2&n){const t=e.oxw(3).ngIf;e.xp6(1),e.Q6J("ngForOf",t.acmgCodes)}}function R(n,s){1&n&&e._uU(0," -- ")}function j(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions-item",39),e.YNc(1,X,2,1,"ng-container",9),e.YNc(2,R,1,0,"ng-template",null,40,e.W1O),e.qZA()),2&n){const t=e.MAs(3),a=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngIf",a.acmgCodes.length>0)("ngIfElse",t)}}function W(n,s){if(1&n&&(e.TgZ(0,"nz-tag",42),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("nzTooltipTitle",t.description),e.xp6(1),e.Oqu(t.code)}}function G(n,s){if(1&n&&(e.ynx(0),e.YNc(1,W,2,2,"nz-tag",41),e.BQk()),2&n){const t=e.oxw(3).ngIf;e.xp6(1),e.Q6J("ngForOf",t.clingenCodes)}}function K(n,s){1&n&&e._uU(0," -- ")}function V(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions-item",43),e.YNc(1,G,2,1,"ng-container",9),e.YNc(2,K,1,0,"ng-template",null,44,e.W1O),e.qZA()),2&n){const t=e.MAs(3),a=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngIf",a.clingenCodes.length>0)("ngIfElse",t)}}function H(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions-item",45),e._uU(1),e.ALo(2,"ifEmpty"),e.ALo(3,"formatAmp"),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",e.xi3(2,1,e.xi3(3,4,t.ampLevel,"compact"),"--")," ")}}function b(n,s){1&n&&e._UZ(0,"i",46)}function k(n,s){1&n&&e._UZ(0,"i",47)}function ee(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,t.regulatoryApprovalLastUpdated),") ")}}function ne(n,s){1&n&&e._UZ(0,"i",46)}function te(n,s){1&n&&e._UZ(0,"i",47)}function oe(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,t.fdaCompanionTestLastUpdated),") ")}}function ie(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-disease-tag",48),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("enablePopover",!1)("disease",t.disease)("truncateLongName",!0)}}function se(n,s){1&n&&e._uU(0," N/A ")}function re(n,s){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-therapy-tag",51),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("enablePopover",!1)("therapy",t)("truncateLongName",!0)}}function ae(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"titlecase"),e.BQk()),2&n){const t=e.oxw(3).ngIf;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.therapyInteractionType)," ")}}function ce(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions-item",49),e.YNc(1,re,2,3,"span",50),e.YNc(2,ae,3,3,"ng-container",1),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",t.therapies),e.xp6(1),e.Q6J("ngIf",t.therapies.length>1)}}function pe(n,s){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-phenotype-tag",53),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("enablePopover",!1)("phenotype",t)}}function le(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions-item",52),e.YNc(1,pe,2,2,"span",50),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",t.phenotypes)}}function de(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",23),e._uU(2),e.ALo(3,"evidenceEnumDisplay"),e.qZA(),e.TgZ(4,"nz-descriptions-item",24),e._uU(5),e.ALo(6,"evidenceEnumDisplay"),e.qZA(),e.TgZ(7,"nz-descriptions-item",25),e._uU(8),e.ALo(9,"evidenceEnumDisplay"),e.qZA(),e.YNc(10,j,4,2,"nz-descriptions-item",26),e.YNc(11,V,4,2,"nz-descriptions-item",27),e.YNc(12,H,4,7,"nz-descriptions-item",28),e.TgZ(13,"nz-descriptions-item",29),e.YNc(14,b,1,0,"i",30),e.YNc(15,k,1,0,"i",31),e.YNc(16,ee,3,3,"ng-container",1),e.qZA(),e.TgZ(17,"nz-descriptions-item",32),e.YNc(18,ne,1,0,"i",30),e.YNc(19,te,1,0,"i",31),e.YNc(20,oe,3,3,"ng-container",1),e.qZA(),e.TgZ(21,"nz-descriptions-item",33),e._uU(22),e.ALo(23,"ifEmpty"),e.qZA(),e.TgZ(24,"nz-descriptions-item",25),e._uU(25),e.ALo(26,"evidenceEnumDisplay"),e.qZA(),e.TgZ(27,"nz-descriptions-item",34),e._uU(28),e.ALo(29,"evidenceEnumDisplay"),e.qZA(),e.TgZ(30,"nz-descriptions-item",35),e.YNc(31,ie,2,3,"ng-container",9),e.YNc(32,se,1,0,"ng-template",null,36,e.W1O),e.qZA(),e.YNc(34,ce,3,2,"nz-descriptions-item",37),e.YNc(35,le,2,1,"nz-descriptions-item",38),e.qZA()),2&n){const t=e.MAs(33),a=e.oxw().ngIf,x=e.oxw();e.Q6J("nzColumn",2),e.xp6(2),e.hij(" ",e.lcZ(3,20,a.assertionType)," "),e.xp6(3),e.hij(" ",e.lcZ(6,22,a.assertionDirection)," "),e.xp6(3),e.hij(" ",e.lcZ(9,24,a.variantOrigin)," "),e.xp6(2),e.Q6J("ngIf",x.assertionRules.requiresAcmgCodes(a.assertionType)),e.xp6(1),e.Q6J("ngIf",x.assertionRules.requiresClingenCodes(a.assertionType)),e.xp6(1),e.Q6J("ngIf",x.assertionRules.requiresAmpLevel(a.assertionType)),e.xp6(2),e.Q6J("ngIf",a.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",!a.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",a.regulatoryApprovalLastUpdated),e.xp6(2),e.Q6J("ngIf",a.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",!a.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",a.fdaCompanionTestLastUpdated),e.xp6(2),e.hij(" ",e.xi3(23,26,null==a.nccnGuideline?null:a.nccnGuideline.name,"--")," "),e.xp6(3),e.hij(" ",e.lcZ(26,29,a.variantOrigin)," "),e.xp6(3),e.hij(" ",e.lcZ(29,31,a.significance)," "),e.xp6(3),e.Q6J("ngIf",a.disease)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",a.therapies.length>0),e.xp6(1),e.Q6J("ngIf",a.phenotypes.length>0)}}function ge(n,s){if(1&n&&(e.TgZ(0,"a",54)(1,"nz-tag",55),e._UZ(2,"i",56),e._uU(3),e.qZA()()),2&n){const t=e.oxw().ngIf;e.MGl("routerLink","/assertions/",t.id,"/flags"),e.xp6(3),e.hij(" Flags (",t.flags.totalCount,") ")}}function _e(n,s){if(1&n&&(e.TgZ(0,"a",54)(1,"nz-tag",57),e._UZ(2,"i",58),e._uU(3),e.qZA()()),2&n){const t=e.oxw().ngIf;e.MGl("routerLink","/assertions/",t.id,"/revisions"),e.xp6(3),e.hij(" Revisions (",t.revisions.totalCount,") ")}}function me(n,s){if(1&n&&(e.TgZ(0,"a",54)(1,"nz-tag",59),e._UZ(2,"i",60),e._uU(3),e.qZA()()),2&n){const t=e.oxw().ngIf;e.MGl("routerLink","/assertions/",t.id,"/comments"),e.xp6(3),e.hij(" Comments (",t.comments.totalCount,") ")}}function ue(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-card",3),e.YNc(2,q,3,0,"ng-template",null,4,e.W1O),e.YNc(4,Y,1,3,"ng-template",null,5,e.W1O),e.TgZ(6,"nz-row")(7,"nz-col",6)(8,"div",7)(9,"p",8),e.YNc(10,J,2,1,"ng-container",9),e.qZA()()()(),e.TgZ(11,"nz-space",10),e.YNc(12,B,3,3,"nz-descriptions",11),e.YNc(13,de,36,33,"nz-descriptions",11),e.qZA(),e.TgZ(14,"nz-row",12)(15,"nz-col",6)(16,"nz-space",13),e.YNc(17,ge,4,2,"a",14),e.YNc(18,_e,4,2,"a",14),e.YNc(19,me,4,2,"a",14),e.qZA()()()(),e.BQk()),2&n){const t=s.ngIf,a=e.MAs(3),x=e.MAs(5);e.oxw();const Ee=e.MAs(4);e.xp6(1),e.Q6J("nzTitle",a)("nzExtra",x),e.xp6(9),e.Q6J("ngIf",t.summary)("ngIfElse",Ee)}}function fe(n,s){1&n&&e._uU(0," No Summary exists for this Assertion. ")}let ve=(()=>{class n{constructor(t){this.gql=t,this.assertionRules=new p._}ngOnInit(){if(null==this.assertionId)throw new Error("cvc-assertion-popover requires valid assertionId input.");this.assertion$=this.gql.watch({assertionId:this.assertionId}).valueChanges.pipe((0,d.U)(t=>t.data),(0,g.h)(c.ep),(0,d.U)(({assertion:t})=>t))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(m.Gbq))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-assertion-popover"]],inputs:{assertionId:"assertionId"},decls:5,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noSummary",""],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["molecularProfile",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzDirection","vertical","nzSize","small"],["nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["id","entity-child-counts"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],[4,"nzSpaceItem"],["style","font-weight: normal",3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],[2,"font-weight","normal",3,"status"],[3,"molecularProfile","enablePopover","truncateLongName"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","MP Expression"],[3,"nameSegments","enablePopover"],["nzTitle","Type"],["nzTitle","Direction"],["nzTitle","Variant Origin"],["nzTitle","ACMG Codes","nzSpan","2",4,"ngIf"],["nzTitle","ClinGen/CGC/VICC Codes","nzSpan","2",4,"ngIf"],["nzTitle","AMP/ASCO/CAP Category",4,"ngIf"],["nzTitle","Regulatory Approval"],["nz-icon","","nzType","check-circle","nzTheme","twotone","nzTwotoneColor","#52c41a",4,"ngIf"],["nz-icon","","nzType","close-square","nzTheme","twotone","nzTwotoneColor","#d93026",4,"ngIf"],["nzTitle","FDA Companion Test"],["nzTitle","NCCN Guideline"],["nzTitle","Clinical Significance","nzSpan","2"],["nzTitle","Disease","nzSpan","2"],["noDisease",""],["nzTitle","Therapies","nzSpan","2",4,"ngIf"],["nzTitle","Phenotypes","nzSpan","2",4,"ngIf"],["nzTitle","ACMG Codes","nzSpan","2"],["noAcmg",""],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["nzTitle","ClinGen/CGC/VICC Codes","nzSpan","2"],["noClingen",""],["nzTitle","AMP/ASCO/CAP Category"],["nz-icon","","nzType","check-circle","nzTheme","twotone","nzTwotoneColor","#52c41a"],["nz-icon","","nzType","close-square","nzTheme","twotone","nzTwotoneColor","#d93026"],[3,"enablePopover","disease","truncateLongName"],["nzTitle","Therapies","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"enablePopover","therapy","truncateLongName"],["nzTitle","Phenotypes","nzSpan","2"],[3,"enablePopover","phenotype"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(t,a){1&t&&(e.TgZ(0,"div",0),e.YNc(1,ue,20,4,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA(),e.YNc(3,fe,1,0,"ng-template",null,2,e.W1O)),2&t&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,a.assertion$)))},dependencies:[i.sg,i.O5,_.rH,S.bd,T.R7,T.uj,A.Ls,z.t3,z.SK,O.NU,O.$1,l.j,f.SY,C.n,y.C,E.p,P.i,u.T,D.h,i.rS,Z.fM,M.t,w.Do,L.D,N.a,$.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),n})();var Ce=o(3103);function he(n,s){}function Te(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"a",4),e.YNc(2,he,0,0,"ng-template",5),e.qZA(),e.BQk()),2&n){const t=e.oxw(),a=e.MAs(2);e.xp6(1),e.Q6J("routerLink",t.assertion.link),e.xp6(1),e.Q6J("ngTemplateOutlet",a)}}function ze(n,s){}function Ae(n,s){if(1&n&&e._UZ(0,"cvc-assertion-popover",8),2&n){const t=e.oxw(2);e.Q6J("assertionId",t.assertion.id)}}const ye=function(n,s,t){return{rejected:n,submitted:s,accepted:t}};function xe(n,s){if(1&n&&(e.TgZ(0,"nz-tag",6),e.YNc(1,ze,0,0,"ng-template",5),e.qZA(),e.YNc(2,Ae,1,1,"ng-template",null,7,e.W1O)),2&n){const t=e.MAs(3),a=e.oxw(),x=e.MAs(6);e.Q6J("ngClass",e.kEZ(5,ye,"REJECTED"===a.assertion.status,"SUBMITTED"===a.assertion.status,"ACCEPTED"===a.assertion.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",t)("nzPopoverTrigger",a.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",x)}}function Pe(n,s){}function Ie(n,s){if(1&n&&e.YNc(0,Pe,0,0,"ng-template",5),2&n){e.oxw();const t=e.MAs(2);e.Q6J("ngTemplateOutlet",t)}}function Oe(n,s){if(1&n&&(e.TgZ(0,"cvc-icon-badges",9),e._UZ(1,"i",10),e.ALo(2,"entityColor"),e.ALo(3,"entityColor"),e.qZA(),e._uU(4)),2&n){const t=e.oxw();e.Q6J("flagged",t.assertion.flagged)("entityColor",t.iconColor),e.xp6(1),e.Q6J("nzTwotoneColor","REJECTED"===t.assertion.status?e.lcZ(2,4,"Rejected"):e.lcZ(3,6,"Assertion")),e.xp6(3),e.hij(" ",t.assertion.name,"\n")}}let Se=(()=>{class n{set assertion(t){if(!t)throw new Error("cvc-assertion-tag assertion input requires LinkableAssertion.");this._assertion=t}get assertion(){return this._assertion}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,r.f)("Assertion")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-assertion-tag"]],inputs:{assertion:"assertion",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["assertionPopover",""],[3,"assertionId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-assertion","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(t,a){if(1&t&&(e.YNc(0,Te,3,2,"ng-container",0),e.YNc(1,xe,4,9,"ng-template",null,1,e.W1O),e.YNc(3,Ie,1,1,"ng-template",null,2,e.W1O),e.YNc(5,Oe,5,8,"ng-template",null,3,e.W1O)),2&t){const x=e.MAs(4);e.Q6J("ngIf",a.linked)("ngIfElse",x)}},dependencies:[i.mk,i.O5,i.tP,_.rH,l.j,h.lU,A.Ls,ve,Ce.b,N.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"],changeDetection:0}),n})()},6165:(I,v,o)=>{o.d(v,{W:()=>P});var r=o(6814),e=o(4190),i=o(5695),_=o(7417),l=o(551),h=o(2962),A=o(8125),d=o(3043),g=o(2524),c=o(95),p=o(2574),m=o(3396),S=o(2655),T=o(6109),z=o(9858),O=o(8527),f=o(6061),C=o(5879);let y=(()=>{class u{}return u.\u0275fac=function(Z){return new(Z||u)},u.\u0275mod=C.oAB({type:u}),u.\u0275inj=C.cJS({imports:[r.ez,e.Bz,h.vh,A.q6,l.PV,c.Jb,p.zf,i.X,T.cg,m.Q,z.r,O.u,d.y,f.N,g.s,S.x]}),u})();var E=o(3146);let P=(()=>{class u{}return u.\u0275fac=function(Z){return new(Z||u)},u.\u0275mod=C.oAB({type:u}),u.\u0275inj=C.cJS({imports:[r.ez,e.Bz,i.X,_.$6,l.PV,y,g.s,E.C]}),u})()},406:(I,v,o)=>{o.d(v,{D:()=>e});var r=o(5879);let e=(()=>{class i{transform(l,h){return null==l||""===l?h:l}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275pipe=r.Yjl({name:"ifEmpty",type:i,pure:!0}),i})()},5573:(I,v,o)=>{o.d(v,{x:()=>p});var r=o(5879);const i=3600,_=24*i,h=365*_,d=new Intl.DateTimeFormat("en-US",{weekday:void 0,year:void 0,month:"short",day:"numeric"}),c=new Intl.DateTimeFormat("en-US",{weekday:void 0,year:"numeric",month:"short",day:"numeric"});let p=(()=>{class m{transform(T){let z;z="number"==typeof T?T:Date.parse(T);const O=Date.now(),f=Math.round(Math.abs(O-z)/1e3);if(f>=2592e3&&f=h){let P=new Date(z);return c.format(P)}let C,y;return f<60?(C=Math.round(f),y="second"):f1?"s":""} ago`}}return m.\u0275fac=function(T){return new(T||m)},m.\u0275pipe=r.Yjl({name:"timeAgo",type:m,pure:!0}),m})()},5884:(I,v,o)=>{o.d(v,{J:()=>e,i:()=>r});const r={molecularProfileId:void 0,acmgCodeIds:[],ampLevel:void 0,assertionDirection:void 0,assertionType:void 0,clingenCodeIds:[],significance:void 0,description:void 0,diseaseId:void 0,therapyIds:[],therapyInteractionType:void 0,evidenceItemIds:[],fdaCompanionTest:void 0,fdaRegulatoryApproval:void 0,nccnGuidelineId:void 0,nccnGuidelineVersion:void 0,phenotypeIds:[],summary:void 0,variantOrigin:void 0},e={clientMutationId:void 0,fields:r,comment:void 0,organizationId:void 0}},5710:(I,v,o)=>{o.d(v,{_:()=>h});var r=o(313),e=o(1791),i=o(5619),_=o(5884),l=o(8475);class h extends l.lG{constructor(){super(l.yQ.ASSERTION);const d=_.i;this.fields={molecularProfileId$:new i.X(d.molecularProfileId),variantMolecularProfile$:new i.X(void 0),geneId$:new i.X(void 0),variantId$:new i.X(void 0),variantOrigin$:new i.X(d.variantOrigin),assertionType$:new i.X(d.assertionType),assertionDirection$:new i.X(d.assertionDirection),evidenceItemIds$:new i.X(d.evidenceItemIds),significance$:new i.X(d.significance),diseaseId$:new i.X(d.diseaseId),therapyIds$:new i.X(d.therapyIds),therapyInteractionType$:new i.X(d.therapyInteractionType),phenotypeIds$:new i.X(d.phenotypeIds),nccnGuidelineId$:new i.X(d.nccnGuidelineId),fdaRegulatoryApproval$:new i.X(d.fdaRegulatoryApproval),fdaCompanionTest$:new i.X(d.fdaCompanionTest),ampLevel$:new i.X(d.ampLevel),acmgCodeIds$:new i.X(d.acmgCodeIds),clingenCodeIds$:new i.X(d.clingenCodeIds),nccnGuidelineVersion$:new i.X(d.nccnGuidelineVersion)},this.enums={entityType$:new i.X(this.getTypeOptions()),significance$:new i.X([]),direction$:new i.X([]),interaction$:new i.X(this.getInteractionOptions())},this.options={assertionTypeOption$:new i.X(this.getOptionsFromEnums(this.getTypeOptions())),directionOption$:new i.X(void 0),significanceOption$:new i.X(void 0)},this.requires={requiresDisease$:new i.X(!1),requiresTherapy$:new i.X(!1),requiresTherapyInteractionType$:new i.X(!1),requiresClingenCodes$:new i.X(!1),requiresAcmgCodes$:new i.X(!1),requiresAmpLevel$:new i.X(!1),allowsFdaApproval$:new i.X(!1)},this.fields.assertionType$.pipe((0,e.t)(this,"onDestroy")).subscribe(g=>{if(!g)return Object.entries(this.requires).forEach(([c,p])=>{p.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(g)),this.enums.direction$.next(this.getDirectionOptions(g)),this.requires.requiresDisease$.next(this.requiresDisease(g)),this.requires.requiresTherapy$.next(this.requiresTherapy(g)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(g)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(g)),this.requires.requiresAmpLevel$.next(this.requiresAmpLevel(g)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(g))}),this.fields.therapyIds$.pipe((0,e.t)(this,"onDestroy")).subscribe(g=>{this.requires.requiresTherapyInteractionType$.next(null!=g&&g.length>1)}),this.validStates.set(r.uBv.Predictive,{entityType:r.uBv.Predictive,significance:[r._3P.Sensitivityresponse,r._3P.Resistance,r._3P.AdverseResponse,r._3P.ReducedSensitivity,r._3P.Na],entityDirection:[r.mdl.Supports,r.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!0}),this.validStates.set(r.uBv.Diagnostic,{entityType:r.uBv.Diagnostic,significance:[r._3P.Positive,r._3P.Negative],entityDirection:[r.mdl.Supports,r.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(r.uBv.Prognostic,{entityType:r.uBv.Prognostic,significance:[r._3P.BetterOutcome,r._3P.PoorOutcome,r._3P.Na],entityDirection:[r.mdl.Supports,r.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(r.uBv.Predisposing,{entityType:r.uBv.Predisposing,significance:[r._3P.Pathogenic,r._3P.LikelyPathogenic,r._3P.Benign,r._3P.LikelyBenign,r._3P.UncertainSignificance],entityDirection:[r.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!0,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(r.uBv.Oncogenic,{entityType:r.uBv.Oncogenic,significance:[r._3P.Oncogenic,r._3P.LikelyOncogenic,r._3P.Benign,r._3P.LikelyBenign,r._3P.UncertainSignificance],entityDirection:[r.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!0,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},8475:(I,v,o)=>{o.d(v,{lG:()=>A,yQ:()=>l});var r=o(2),e=o(313),i=o(8645),_=o(3742),l=(()=>((l=l||{}).EVIDENCE="Evidence",l.ASSERTION="Assertion",l))();class A{constructor(g){this.formReady$=new i.x,this.formLayout="vertical",this.validStates=new Map,this.typeOption$=new i.x,this.requiresTherapy$=new i.x,this.requiresDisease$=new i.x,this.requiresAcmgCode$=new i.x,this.requiresAmpLevel$=new i.x,this.requiresClingenCode$=new i.x,this.allowsFdaApproval$=new i.x,this.getTypeOptions=()=>this.entityName==l.ASSERTION?(0,_.o6)(e.uBv).map(c=>c):(0,_.o6)(e.kqt).map(c=>c),this.getSignificanceOptions=c=>this.validStates.get(c)?.significance||[],this.getInteractionOptions=()=>(0,_.o6)(e.wkr).map(c=>c),this.isValidSignificanceOption=(c,p)=>{const m=this.validStates.get(c);return!m||m.significance.includes(p)},this.getDirectionOptions=c=>this.validStates.get(c)?.entityDirection||[],this.isValidDirectionOption=(c,p)=>{const m=this.validStates.get(c);return!m||m.entityDirection.includes(p)},this.requiresTherapy=c=>{const p=this.validStates.get(c);return void 0===p||p.requiresTherapy},this.requiresDisease=c=>{const p=this.validStates.get(c);return void 0===p||p.requiresDisease},this.requiresAcmgCodes=c=>{const p=this.validStates.get(c);return void 0===p||p.requiresAcmgCodes},this.requiresAmpLevel=c=>{const p=this.validStates.get(c);return void 0===p||p.requiresAmpLevel},this.requiresClingenCodes=c=>{const p=this.validStates.get(c);return void 0===p||p.requiresClingenCodes},this.allowsFdaApproval=c=>{const p=this.validStates.get(c);return void 0===p||p.allowsFdaApproval},this.getOptionsFromEnums=c=>0===c.length?[]:c.map(p=>({value:p,label:(0,r.E)(p)})),this.fields={},this.options={},this.enums={},this.requires={},this.entityName=g,this.pluralNames=new Map,this.pluralNames.set(l.ASSERTION,"Assertions"),this.pluralNames.set(l.EVIDENCE,"Evidence")}onDestroy(){}}}}]); \ No newline at end of file diff --git a/server/public/5077.62eaefd9054c5bc8.js b/server/public/5077.62eaefd9054c5bc8.js new file mode 100644 index 000000000..cdb865ce1 --- /dev/null +++ b/server/public/5077.62eaefd9054c5bc8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5077],{4786:(mn,U,o)=>{o.d(U,{O:()=>N});var s=o(8130),O=o(2023),r=o(5879),y=o(6814),E=o(4190),Y=o(5695),D=o(7417),w=o(551),V=o(8213),L=o(3103),B=o(2616);function F(g,p){}function q(g,p){if(1&g&&(r.ynx(0),r.TgZ(1,"a",4),r.YNc(2,F,0,0,"ng-template",5),r.qZA(),r.BQk()),2&g){const _=r.oxw(),v=r.MAs(2);r.xp6(1),r.Q6J("routerLink",_.evidence.link),r.xp6(1),r.Q6J("ngTemplateOutlet",v)}}function j(g,p){}function k(g,p){if(1&g&&r._UZ(0,"cvc-evidence-popover",9),2&g){const _=r.oxw(3);r.Q6J("evidenceId",_.evidence.id)}}function h(g,p){if(1&g&&r.YNc(0,k,1,1,"cvc-evidence-popover",8),2&g){const _=r.oxw(2);r.Q6J("ngIf",_.enablePopover)}}const I=function(g,p,_){return{rejected:g,submitted:p,accepted:_}};function z(g,p){if(1&g&&(r.TgZ(0,"nz-tag",6),r.YNc(1,j,0,0,"ng-template",5),r.qZA(),r.YNc(2,h,1,1,"ng-template",null,7,r.W1O)),2&g){const _=r.MAs(3),v=r.oxw(),M=r.MAs(6);r.Q6J("ngClass",r.kEZ(5,I,"REJECTED"===v.evidence.status,"SUBMITTED"===v.evidence.status,"ACCEPTED"===v.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",_)("nzPopoverTrigger",v.enablePopover?"hover":null),r.xp6(1),r.Q6J("ngTemplateOutlet",M)}}function m(g,p){}function u(g,p){if(1&g&&r.YNc(0,m,0,0,"ng-template",5),2&g){r.oxw();const _=r.MAs(2);r.Q6J("ngTemplateOutlet",_)}}function f(g,p){if(1&g&&(r.TgZ(0,"cvc-icon-badges",10),r._UZ(1,"i",11),r.ALo(2,"entityColor"),r.ALo(3,"entityColor"),r.qZA(),r._uU(4)),2&g){const _=r.oxw();r.Q6J("flagged",_.evidence.flagged)("entityColor",_.iconColor),r.xp6(1),r.Q6J("nzTwotoneColor","REJECTED"===_.evidence.status?r.lcZ(2,4,"Rejected"):r.lcZ(3,6,"EvidenceItem")),r.xp6(3),r.hij(" ",_.evidence.name,"\n")}}let N=(()=>{class g extends s.a{set evidence(_){if(!_)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=_}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,O.f)("EvidenceItem")}idFunction(){return this.evidence.id}}return g.\u0275fac=function(_){return new(_||g)},g.\u0275cmp=r.Xpm({type:g,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[r.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(_,v){if(1&_&&(r.YNc(0,q,3,2,"ng-container",0),r.YNc(1,z,4,9,"ng-template",null,1,r.W1O),r.YNc(3,u,1,1,"ng-template",null,2,r.W1O),r.YNc(5,f,5,8,"ng-template",null,3,r.W1O)),2&_){const M=r.MAs(4);r.Q6J("ngIf",v.linked)("ngIfElse",M)}},dependencies:[y.mk,y.O5,y.tP,E.rH,Y.j,D.lU,w.Ls,V._,L.b,B.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]}),g})()},1485:(mn,U,o)=>{o.r(U),o.d(U,{VariantsDetailModule:()=>mi});var s=o(6814),O=o(4758),r=o(5725),y=o(5956),E=o(936),Y=o(7129),D=o(2419),w=o(4059),V=o(2524),L=o(845),B=o(3394),F=o(5478),q=o(4784),j=o(354),k=o(279),h=o(3903),I=o(2840),z=o(3599),m=o(95),u=o(6223),f=o(4190),N=o(2669),g=o(8706),p=o(2962),_=o(2574),v=o(2392),M=o(8634),vn=o(3378),dn=o(6294),H=o(6109),$=o(9691),un=o(8527),n=o(5879);let xn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,f.Bz,u.u5,u.UX,k.s,z.U5,h.L,m.Jb,I.sL,N.j,p.vh,_.zf,v.ZJ,H.cg,$.LV,B.B,L.R,F.C,q.N,j.o,g.E,M.l,vn.w,dn.A,un.u]}),t})();var S=o(551),C=o(6254),W=o(7417),d=o(313),K=o(7921),P=o(9773),Z=o(4223),X=o(8645),nn=o(5619),tn=o(951),J=o(8091),en=o(855),an=o(1958),Tn=o(1520),yn=o(5098),hn=o(327),In=o(1801),on=o(4121),zn=o(3145),Cn=o(8295),Zn=o(1834),Qn=o(2024),b=o(7398),rn=o(2181),cn=o(5676),An=o(7473),Vn=o(3764),Mn=o(1889),Jn=o(5805),bn=o(2257),Un=o(2606);function Nn(t,a){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-molecular-profile-tag",19),n.BQk()),2&t){const e=a.$implicit;n.xp6(1),n.Q6J("molecularProfile",e)}}function Sn(t,a){if(1&t&&n.YNc(0,Nn,2,1,"ng-container",18),2&t){const e=n.oxw(3).ngrxLet;n.Q6J("ngForOf",e)}}function Pn(t,a){if(1&t&&(n.TgZ(0,"nz-alert",16),n.YNc(1,Sn,1,1,"ng-template",null,17,n.W1O),n.qZA()),2&t){const e=n.MAs(2);n.Q6J("nzDescription",e)}}function On(t,a){1&t&&(n.ynx(0),n.YNc(1,Pn,3,1,"nz-alert",15),n.BQk())}function En(t,a){if(1&t&&(n.ynx(0),n.YNc(1,On,2,0,"ng-container",14),n.BQk()),2&t){const e=a.ngrxLet;n.xp6(1),n.Q6J("ngIf",e&&e.length>0)}}function Yn(t,a){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-molecular-profile-tag",19),n.BQk()),2&t){const e=a.$implicit;n.xp6(1),n.Q6J("molecularProfile",e)}}function Dn(t,a){if(1&t&&n.YNc(0,Yn,2,1,"ng-container",18),2&t){const e=n.oxw(3).ngrxLet;n.Q6J("ngForOf",e)}}function wn(t,a){if(1&t&&(n.TgZ(0,"nz-alert",21),n.YNc(1,Dn,1,1,"ng-template",null,22,n.W1O),n.qZA()),2&t){const e=n.MAs(2);n.Q6J("nzDescription",e)}}function Ln(t,a){1&t&&(n.ynx(0),n.YNc(1,wn,3,1,"nz-alert",20),n.BQk())}function Bn(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ln,2,0,"ng-container",14),n.BQk()),2&t){const e=a.ngrxLet;n.xp6(1),n.Q6J("ngIf",e&&e.length>0)}}function Fn(t,a){if(1&t){const e=n.EpF();n.TgZ(0,"nz-alert",23),n.NdJ("nzOnClose",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.onSuccessBannerClose())}),n.qZA()}}function qn(t,a){if(1&t&&n._UZ(0,"nz-alert",24),2&t){n.oxw();const e=n.MAs(9);n.Q6J("nzDescription",e)}}function jn(t,a){if(1&t&&(n.TgZ(0,"li"),n._uU(1),n.qZA()),2&t){const e=a.$implicit;n.xp6(1),n.Oqu(e)}}function kn(t,a){if(1&t&&(n.TgZ(0,"ul"),n.YNc(1,jn,2,1,"li",18),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("ngForOf",e.errorMessages)}}function $n(t,a){}function Gn(t,a){1&t&&n.YNc(0,$n,0,0,"ng-template")}function Rn(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Gn,1,0,null,29),n.BQk()),2&t){n.oxw();const e=n.MAs(7);n.xp6(1),n.Q6J("ngTemplateOutlet",e)}}function Hn(t,a){}function Wn(t,a){1&t&&n.YNc(0,Hn,0,0,"ng-template")}function Kn(t,a){if(1&t&&(n.TgZ(0,"span",30),n.YNc(1,Wn,1,0,null,29),n.qZA()),2&t){n.oxw();const e=n.MAs(7);n.xp6(1),n.Q6J("ngTemplateOutlet",e)}}function Xn(t,a){if(1&t&&(n.TgZ(0,"button",31),n._uU(1," Deprecate Variant "),n.qZA()),2&t){const e=n.oxw().ngrxLet,i=n.oxw();n.Q6J("disabled",!(void 0!==i.comment&&i.comment.length>=10&&e.signedIn&&e.isEditor&&i.reason))}}function nt(t,a){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"cvc-form-buttons")(2,"cvc-org-selector-btn-group",25),n.NdJ("selectedOrgChange",function(c){n.CHM(e);const l=n.oxw();return n.KtG(l.onOrgSelected(c))}),n.YNc(3,Rn,2,1,"ng-container",26),n.YNc(4,Kn,2,1,"ng-template",null,27,n.W1O),n.YNc(6,Xn,2,1,"ng-template",null,28,n.W1O),n.qZA()(),n.BQk()}if(2&t){const e=a.ngrxLet,i=n.MAs(5);n.xp6(3),n.Q6J("ngIf",e.signedIn&&e.isEditor)("ngIfElse",i)}}let tt=(()=>{class t{constructor(e,i,c,l,Q,A){this.deprecateVariantGQL=e,this.variantDetailGQL=i,this.mpsForVariantGQL=c,this.networkErrorService=l,this.route=Q,this.viewerService=A,this.destroy$=new X.x,this.success=!1,this.errorMessages=[],this.loading=!1,this.comment="",this.deprecateVariantMutator=new Qn.U(l),this.viewer$=this.viewerService.viewer$}ngOnInit(){if(this.viewerService.viewer$.subscribe(i=>{this.selectedOrg=i.mostRecentOrg}),void 0===this.variantId)throw new Error("Must pass a variant id into deprecate variant component");let e=this.mpsForVariantGQL.fetch({variantId:this.variantId});this.mpsToDeprecate$=e.pipe((0,b.U)(({data:i})=>i.molecularProfiles.nodes),(0,rn.h)(cn.ep),(0,b.U)(i=>i.filter(c=>c.evidenceCountsByStatus.submittedCount+c.evidenceCountsByStatus.acceptedCount==0))),this.mpsWithEvidence$=e.pipe((0,b.U)(({data:i})=>i.molecularProfiles.nodes),(0,rn.h)(cn.ep),(0,b.U)(i=>i.filter(c=>c.evidenceCountsByStatus.submittedCount+c.evidenceCountsByStatus.acceptedCount>0))),this.mpListLoading$=e.pipe((0,b.U)(({loading:i})=>i))}onOrgSelected(e){this.selectedOrg=e}deprecateVariant(){if(this.errorMessages=[],this.reason&&this.comment&&this.variantId){let i=this.deprecateVariantMutator.mutate(this.deprecateVariantGQL,{deprecationReason:this.reason,comment:this.comment,variantId:this.variantId,organizationId:this.selectedOrg?.id},{refetchQueries:[{query:this.variantDetailGQL.document,variables:{variantId:this.variantId}}]});i.submitSuccess$.pipe((0,P.R)(this.destroy$)).subscribe(c=>{c&&(this.success=!0,this.comment="")}),i.submitError$.pipe((0,P.R)(this.destroy$)).subscribe(c=>{c.length>0&&(this.errorMessages=c)}),i.isSubmitting$.pipe((0,P.R)(this.destroy$)).subscribe(c=>{this.loading=c})}}onSuccessBannerClose(){this.success=!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(d.vv6),n.Y36(d.iJT),n.Y36(d.E1C),n.Y36(An.Y),n.Y36(f.gz),n.Y36(tn.a))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variant-deprecate-form"]],inputs:{variantId:"variantId"},decls:21,vars:11,consts:[[3,"nzSpinning"],["nzDirection","vertical"],[4,"ngrxLet"],["nzType","inner"],["nzBanner","","nzMessage","Variant deprecated","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Error Deprecating Variant",3,"nzDescription",4,"ngIf"],["errorContents",""],["nzPlaceHolder","Select a deprecation reason",2,"width","300px",3,"ngModel","ngModelChange"],["nzValue","DUPLICATE","nzLabel","duplicate"],["nzValue","INVALID","nzLabel","invalid"],["nzValue","OTHER","nzLabel","other"],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[4,"ngIf"],["nzType","warning","nzMessage","This action will also deprecate the following Molecular Profiles:",3,"nzDescription",4,"nzSpaceItem"],["nzType","warning","nzMessage","This action will also deprecate the following Molecular Profiles:",3,"nzDescription"],["mpsToDeprecateTpl",""],[4,"ngFor","ngForOf"],[3,"molecularProfile"],["nzType","error","nzMessage","Cannot deprecate this Variant because the following Molecular Profiles have attached Evidence Items:",3,"nzDescription",4,"nzSpaceItem"],["nzType","error","nzMessage","Cannot deprecate this Variant because the following Molecular Profiles have attached Evidence Items:",3,"nzDescription"],["mpsWithEvidenceTpl",""],["nzBanner","","nzMessage","Variant deprecated","nzType","success","nzCloseable","",3,"nzOnClose"],["nzType","error","nzShowIcon","","nzMessage","Error Deprecating Variant",3,"nzDescription"],[3,"selectedOrgChange"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in and an editor to deprecate variant."],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"]],template:function(e,i){1&e&&(n.TgZ(0,"nz-spin",0),n.ALo(1,"ngrxPush"),n.TgZ(2,"nz-space",1),n.YNc(3,En,2,1,"ng-container",2),n.YNc(4,Bn,2,1,"ng-container",2),n.qZA()(),n.TgZ(5,"nz-card",3),n.YNc(6,Fn,1,0,"nz-alert",4),n.YNc(7,qn,1,1,"nz-alert",5),n.YNc(8,kn,2,1,"ng-template",null,6,n.W1O),n.TgZ(10,"nz-form-item")(11,"nz-select",7),n.NdJ("ngModelChange",function(l){return i.reason=l}),n._UZ(12,"nz-option",8)(13,"nz-option",9)(14,"nz-option",10),n.qZA()(),n.TgZ(15,"form",11),n.NdJ("ngSubmit",function(){return i.deprecateVariant()}),n.TgZ(16,"cvc-comment-input-form",12),n.NdJ("commentChange",function(l){return i.comment=l}),n.qZA(),n.TgZ(17,"nz-spin",13)(18,"nz-form-item")(19,"nz-form-control"),n.YNc(20,nt,8,2,"ng-container",2),n.qZA()()()()()),2&e&&(n.Q6J("nzSpinning",n.lcZ(1,9,i.mpListLoading$)),n.xp6(3),n.Q6J("ngrxLet",i.mpsToDeprecate$),n.xp6(1),n.Q6J("ngrxLet",i.mpsWithEvidence$),n.xp6(2),n.Q6J("ngIf",i.success),n.xp6(1),n.Q6J("ngIf",i.errorMessages.length>0),n.xp6(4),n.Q6J("ngModel",i.reason),n.xp6(5),n.Q6J("comment",i.comment),n.xp6(1),n.Q6J("nzSpinning",i.loading),n.xp6(3),n.Q6J("ngrxLet",i.viewer$))},dependencies:[s.sg,s.O5,s.tP,u._Y,u.JJ,u.JL,u.On,u.F,J.eJ,m.t3,m.SK,z.Lr,z.Nx,z.Fd,h.r,I.ix,en.w,an.dQ,N.W,p.bd,_.NU,_.$1,H.SY,$.Ip,$.Vq,Vn.Z,Mn.b,Jn.m,bn.q,Un.p,J.fM],encapsulation:2}),t})();var et=o(4082),at=o(2616);function it(t,a){if(1&t&&(n.TgZ(0,"span",16)(1,"strong"),n._uU(2),n.qZA(),n._uU(3," Parent:"),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.xp6(2),n.Oqu(e.name)}}function ot(t,a){if(1&t&&(n.TgZ(0,"span",17)(1,"a",18),n._UZ(2,"cvc-gene-tag",19),n.qZA()()),2&t){const e=n.oxw(2).ngIf;n.xp6(1),n.MGl("routerLink","/genes/",e.gene.id,""),n.xp6(1),n.Q6J("gene",e.gene)}}function rt(t,a){1&t&&(n.TgZ(0,"nz-space",13),n.YNc(1,it,4,1,"span",14),n.YNc(2,ot,3,2,"span",15),n.qZA())}function ct(t,a){1&t&&(n.TgZ(0,"span"),n._uU(1,",\xa0"),n.qZA())}function _t(t,a){if(1&t&&(n.TgZ(0,"span"),n._uU(1),n.YNc(2,ct,2,0,"span",0),n.qZA()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function gt(t,a){if(1&t&&(n.TgZ(0,"nz-page-header-subtitle"),n.YNc(1,_t,3,2,"span",20),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",e.variantAliases)}}const st=function(t){return["/variants",t,"revise"]};function pt(t,a){if(1&t&&(n.TgZ(0,"button",25,26),n._uU(2," Revise "),n.qZA()),2&t){const e=n.MAs(1),i=n.oxw(4).ngIf;n.Q6J("routerLink",n.VKq(2,st,i.id))("nzType",e.isActive?"primary":"default")}}function lt(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,pt,3,4,"button",24),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",null==e?null:e.signedIn)}}function ft(t,a){if(1&t&&(n.TgZ(0,"button",28,26),n._uU(2," Flag "),n.qZA()),2&t){const e=n.MAs(1);n.Q6J("nzType",e.isActive?"primary":"default")}}function mt(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,ft,3,1,"button",27),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.signedIn)}}function vt(t,a){if(1&t&&(n.TgZ(0,"div",32),n._UZ(1,"cvc-variant-deprecate-form",33),n.qZA()),2&t){const e=n.oxw(5).ngIf;n.xp6(1),n.Q6J("variantId",e.id)}}function dt(t,a){if(1&t&&(n.TgZ(0,"button",30),n._uU(1," Deprecate "),n.YNc(2,vt,2,1,"ng-template",null,31,n.W1O),n.qZA()),2&t){const e=n.MAs(3),i=n.oxw(4).ngIf;n.Q6J("disabled",i.deprecated)("nzPopoverContent",e)}}function ut(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,dt,4,2,"button",29),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.isEditor)}}function xt(t,a){if(1&t&&n._UZ(0,"cvc-entity-subscription-button",35),2&t){const e=n.oxw(2).ngrxLet,i=n.oxw(3);n.Q6J("viewer",e)("subscribableId",i.subscribable.id)}}function Tt(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,xt,1,2,"cvc-entity-subscription-button",34),n.qZA()),2&t){const e=n.oxw().ngrxLet,i=n.oxw(3);n.xp6(1),n.Q6J("ngIf",e.signedIn&&i.subscribable)}}function yt(t,a){1&t&&(n.TgZ(0,"nz-space",22),n.YNc(1,lt,2,1,"span",23),n.YNc(2,mt,2,1,"span",23),n.YNc(3,ut,2,1,"span",23),n.YNc(4,Tt,2,1,"span",23),n.qZA())}function ht(t,a){if(1&t&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,yt,5,0,"nz-space",21),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",e.viewer$)}}function It(t,a){if(1&t&&n._UZ(0,"nz-alert",36),2&t){n.oxw();const e=n.MAs(16);n.Q6J("nzMessage",e)}}const zt=function(){return[]};function Ct(t,a){if(1&t&&(n._uU(0),n.ALo(1,"enumToTitle"),n._UZ(2,"cvc-comment-body",37)),2&t){const e=n.oxw().ngIf;n.hij(" This Variant has been deprecated for reason: ",n.lcZ(1,2,e.deprecationReason),". "),n.xp6(2),n.Q6J("commentBodySegments",(null==e.deprecationComment?null:e.deprecationComment.parsedComment)||n.DdM(4,zt))}}function Zt(t,a){if(1&t&&(n.TgZ(0,"nz-col",38),n._UZ(1,"cvc-contributor-avatars",39),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("subscribable",e.subscribable)}}const Qt=function(t){return{flagged:t}};function At(t,a){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.YNc(2,rt,3,0,"ng-template",null,2,n.W1O),n.TgZ(4,"div",3),n.ALo(5,"ngrxPush"),n.TgZ(6,"nz-page-header",4)(7,"nz-page-header-title",5),n._UZ(8,"i",6),n.ALo(9,"entityColor"),n._uU(10),n.qZA(),n.YNc(11,gt,2,1,"nz-page-header-subtitle",0),n.YNc(12,ht,2,1,"nz-page-header-extra",7),n.TgZ(13,"nz-page-header-content"),n.YNc(14,It,1,1,"nz-alert",8),n.YNc(15,Ct,3,5,"ng-template",null,9,n.W1O),n.TgZ(17,"cvc-tab-navigation",10),n.ALo(18,"ngrxPush"),n.YNc(19,Zt,2,1,"ng-template",null,11,n.W1O),n.qZA(),n.TgZ(21,"div",12),n._UZ(22,"router-outlet"),n.qZA()()()(),n.BQk()),2&t){const e=a.ngIf,i=n.MAs(3),c=n.oxw();n.xp6(1),n.Q6J("displayName",e.gene.name+" "+e.name)("relationsTpl",i),n.xp6(3),n.Q6J("flags",n.lcZ(5,10,c.flagsTotal$)),n.xp6(3),n.Q6J("ngClass",n.VKq(16,Qt,e.flags.totalCount>0)),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(9,12,"Variant")),n.xp6(2),n.hij(" ",e.name," "),n.xp6(1),n.Q6J("ngIf",e.variantAliases.length>0),n.xp6(1),n.Q6J("ngrxLet",c.viewer$),n.xp6(2),n.Q6J("ngIf",e.deprecated),n.xp6(3),n.Q6J("tabs",n.lcZ(18,14,c.tabs$))}}let Vt=(()=>{class t{constructor(e,i,c){this.gql=e,this.viewerService=i,this.route=c,this.destroy$=new X.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.tabs$=new nn.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(l=>{this.queryRef=this.gql.watch({variantId:+l.variantId});let Q=this.queryRef.valueChanges;this.loading$=Q.pipe((0,Z.j)("loading"),(0,K.O)(!0)),this.variant$=Q.pipe((0,Z.j)("data","variant")),this.flagsTotal$=this.variant$.pipe((0,Z.j)("flags","totalCount")),this.variant$.pipe((0,P.R)(this.destroy$)).subscribe({next:A=>{this.tabs$.next(this.defaultTabs.map(T=>"Revisions"===T.tabLabel?{badgeCount:A?.revisions.totalCount,...T}:"Comments"===T.tabLabel?{badgeCount:A?.comments.totalCount,badgeColor:"#cccccc",...T}:T))}}),this.subscribable={id:+l.variantId,entityType:d.o71.Variant}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(d.iJT),n.Y36(tn.a),n.Y36(f.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["variants-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["variantRelations",""],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],[4,"ngrxLet"],["nzBanner","","nzType","error",3,"nzMessage",4,"ngIf"],["deprecationMessageTemplate",""],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"routerLink"],[3,"gene"],[4,"ngFor","ngForOf"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Deprecate Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"disabled","nzPopoverContent",4,"ngIf"],["nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Deprecate Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"disabled","nzPopoverContent"],["deprecateVariantForm",""],[1,"deprecateVariant"],[3,"variantId"],["typename","Variant",3,"viewer","subscribableId",4,"ngIf"],["typename","Variant",3,"viewer","subscribableId"],["nzBanner","","nzType","error",3,"nzMessage"],[3,"commentBodySegments"],["id","contributors-col"],[3,"subscribable"]],template:function(e,i){1&e&&(n.YNc(0,At,23,18,"ng-container",0),n.ALo(1,"ngrxPush")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,i.variant$))},dependencies:[s.mk,s.sg,s.O5,f.lC,f.rH,f.Od,J.eJ,I.ix,en.w,an.dQ,S.Ls,C.$O,C.u9,C.yG,C.u5,C.Jp,_.NU,_.$1,m.t3,h.r,W.lU,Tn.N,yn.P,hn.o,In.Y,on.H,zn.I,Cn.Q,Zn.m,tt,J.fM,et.I,at.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}.deprecateVariant[_ngcontent-%COMP%]{width:700px}"]}),t})();var Mt=o(1830);let Jt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,Mt.l]}),t})();var bt=o(800);let Ut=(()=>{class t{constructor(e){this.route=e,this.commentable={id:+this.route.snapshot.params.variantId,entityType:d.OfU.Variant}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(f.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variants-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(e,i){1&e&&n._UZ(0,"cvc-comment-list",0),2&e&&n.Q6J("commentable",i.commentable)},dependencies:[bt.D],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var Nt=o(183),St=o(4139);let Pt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,m.Jb,p.vh,_.zf,St.H0,S.PV,Nt.M]}),t})();var Ot=o(7287);let Et=(()=>{class t{constructor(e){this.route=e,this.flaggable={entityType:d.sfv.Variant,id:+this.route.snapshot.params.variantId}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(f.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variants-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(e,i){1&e&&n._UZ(0,"cvc-flag-list-and-filter",0),2&e&&n.Q6J("flaggable",i.flaggable)},dependencies:[Ot.L],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var Yt=o(2534);let Dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,Yt.A]}),t})();var wt=o(6126);let Lt=(()=>{class t{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(i=>{this.variantId=+i.variantId,this.entityType=d.oRL.Variant})}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(f.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variants-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(e,i){1&e&&n._UZ(0,"cvc-revisions-list-and-filter",0),2&e&&n.Q6J("id",i.variantId)("entityType",i.entityType)},dependencies:[wt.a],encapsulation:2}),t})();var Bt=o(366),Ft=o(8641),G=o(8125),qt=o(3717),_n=o(6067),R=o(9382),x=o(3740);let jt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,R.we,x.HQ,p.vh,_n.X,m.Jb,V.s]}),t})();var kt=o(3511),gn=o(9894),$t=o(3235),sn=o(5695),Gt=o(6055),Rt=o(6610);let Ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,_.zf,m.Jb,G.q6,p.vh,v.ZJ,S.PV,sn.X,Gt.z,V.s,Bt.$,$t.W,Ft.s,y.U,qt.M,_n.X,jt,kt.o,gn.t,Rt.I]}),t})();var Wt=o(1765),Kt=o(1887),Xt=o(7938),pn=o(3317),ne=o(406);function te(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",19),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/",e.variantInfo.clinvarId,"/"),n.xp6(1),n.hij(" ",e.variantInfo.clinvarId," ")}}function ee(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",20),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://www.ncbi.nlm.nih.gov/projects/SNP/snp_ref.cgi?searchType=adhoc_search&type=rs&rs=",e.variantInfo.dbsnpRsid,""),n.xp6(1),n.hij(" ",e.variantInfo.dbsnpRsid," ")}}function ae(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",21),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","http://cancer.sanger.ac.uk/cosmic/mutation/overview?id=",e.variantInfo.cosmicId,""),n.xp6(1),n.hij(" ",e.variantInfo.cosmicId," ")}}function ie(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function oe(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ie,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function re(t,a){if(1&t&&(n.ynx(0),n.YNc(1,oe,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.snpeffSnpEffect)}}function ce(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function _e(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ce,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ge(t,a){if(1&t&&(n.ynx(0),n.YNc(1,_e,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.snpeffSnpImpact)}}function se(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," MyVariant.info ID: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.TgZ(7,"strong",17),n._uU(8,"ClinVar ID:"),n.qZA(),n._uU(9,"\xa0 "),n.YNc(10,te,3,2,"ng-container",18),n.qZA()(),n.TgZ(11,"div",14)(12,"div",15),n._uU(13," dbSNP RSID: "),n.qZA(),n.TgZ(14,"div",16),n.YNc(15,ee,3,2,"ng-container",18),n.TgZ(16,"strong",17),n._uU(17,"COSMIC ID (v68):"),n.qZA(),n._uU(18,"\xa0 "),n.YNc(19,ae,3,2,"ng-container",18),n.qZA()(),n.TgZ(20,"div",14)(21,"div",15),n._uU(22," SNPEff Effect: "),n.qZA(),n.TgZ(23,"div",16),n.YNc(24,re,2,1,"ng-container",18),n.qZA()(),n.TgZ(25,"div",14)(26,"div",15),n._uU(27," SNPEff Impact: "),n.qZA(),n.TgZ(28,"div",16),n.YNc(29,ge,2,1,"ng-container",18),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",e.variantInfo.myVariantInfoId," "),n.xp6(4),n.Q6J("ngIf",e.variantInfo.clinvarId)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.dbsnpRsid)("ngIfElse",i),n.xp6(4),n.Q6J("ngIf",e.variantInfo.cosmicId)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.snpeffSnpEffect.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.snpeffSnpImpact.length>0)("ngIfElse",i)}}function pe(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",19),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/",e.variantInfo.clinvarId,"/"),n.xp6(1),n.hij(" ",e.variantInfo.clinvarId," ")}}function le(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",23),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://omim.org/entry/",e.variantInfo.clinvarOmim.split(".")[0],""),n.xp6(1),n.hij(" ",e.variantInfo.clinvarOmim," ")}}function fe(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function me(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,fe,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ve(t,a){if(1&t&&(n.ynx(0),n.YNc(1,me,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarClinicalSignificance)}}function de(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function ue(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,de,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function xe(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ue,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsCoding)}}function Te(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function ye(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Te,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function he(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ye,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsGenomic)}}function Ie(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function ze(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ie,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ce(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ze,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsNonCoding)}}function Ze(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function Qe(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ze,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ae(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Qe,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsProtein)}}function Ve(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," ClinVar ID: "),n.qZA(),n.TgZ(5,"div",16),n.YNc(6,pe,3,2,"ng-container",18),n.TgZ(7,"strong",17),n._uU(8,"OMIM:"),n.qZA(),n._uU(9,"\xa0 "),n.YNc(10,le,3,2,"ng-container",18),n.qZA()(),n.TgZ(11,"div",14)(12,"div",15),n._uU(13," ClinVar Clinical Significance: "),n.qZA(),n.TgZ(14,"div",16),n.YNc(15,ve,2,1,"ng-container",18),n.qZA()(),n.TgZ(16,"div",14)(17,"div",15),n._uU(18," HGVS Coding: "),n.qZA(),n.TgZ(19,"div",16),n.YNc(20,xe,2,1,"ng-container",18),n.qZA()(),n.TgZ(21,"div",14)(22,"div",15),n._uU(23," HGVS Genomic: "),n.qZA(),n.TgZ(24,"div",16),n.YNc(25,he,2,1,"ng-container",18),n.qZA()(),n.TgZ(26,"div",14)(27,"div",15),n._uU(28," HGVS Non-Coding: "),n.qZA(),n.TgZ(29,"div",16),n.YNc(30,Ce,2,1,"ng-container",18),n.qZA()(),n.TgZ(31,"div",14)(32,"div",15),n._uU(33," HGVS Protein: "),n.qZA(),n.TgZ(34,"div",16),n.YNc(35,Ae,2,1,"ng-container",18),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarId)("ngIfElse",i),n.xp6(4),n.Q6J("ngIf",e.variantInfo.clinvarOmim)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarClinicalSignificance.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsCoding.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsGenomic.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsNonCoding.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsProtein.length>0)("ngIfElse",i)}}function Me(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",27),n._uU(1," View this variant in the gnomAD browser "),n.qZA()),2&t){const e=n.oxw(3);n.MGl("href","https://gnomad.broadinstitute.org/variant/",e.variantInfo.dbsnpRsid,"?dataset=gnomad_r2_1")}}const ln=function(){return["."]};function Je(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Me,2,1,"cvc-link-tag",24),n.TgZ(2,"nz-table",25,26)(4,"thead")(5,"tr")(6,"th"),n._uU(7,"Type"),n.qZA(),n.TgZ(8,"th"),n._uU(9,"Allele Frequency"),n.qZA(),n.TgZ(10,"th"),n._uU(11,"Allele Count"),n.qZA(),n.TgZ(12,"th"),n._uU(13,"Allele Number"),n.qZA(),n.TgZ(14,"th"),n._uU(15,"Filter"),n.qZA()()(),n.TgZ(16,"tbody")(17,"tr")(18,"td"),n._uU(19,"Total Exome"),n.qZA(),n.TgZ(20,"td"),n._uU(21),n.ALo(22,"ifEmpty"),n.qZA(),n.TgZ(23,"td"),n._uU(24),n.ALo(25,"ifEmpty"),n.qZA(),n.TgZ(26,"td"),n._uU(27),n.ALo(28,"ifEmpty"),n.qZA(),n.TgZ(29,"td"),n._uU(30),n.ALo(31,"ifEmpty"),n.qZA()(),n.TgZ(32,"tr")(33,"td"),n._uU(34,"Total Genome"),n.qZA(),n.TgZ(35,"td"),n._uU(36),n.ALo(37,"ifEmpty"),n.qZA(),n.TgZ(38,"td"),n._uU(39),n.ALo(40,"ifEmpty"),n.qZA(),n.TgZ(41,"td"),n._uU(42),n.ALo(43,"ifEmpty"),n.qZA(),n.TgZ(44,"td"),n._uU(45),n.ALo(46,"ifEmpty"),n.qZA()()()(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngIf",e.variantInfo.dbsnpRsid),n.xp6(1),n.Q6J("nzData",n.DdM(36,ln))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(19),n.hij(" ",n.xi3(22,12,e.variantInfo.gnomadExomeAlleleFrequency,"--")," "),n.xp6(3),n.Oqu(n.xi3(25,15,e.variantInfo.gnomadExomeAlleleCount,"--")),n.xp6(3),n.hij(" ",n.xi3(28,18,e.variantInfo.gnomadExomeAlleleNumber,"--")," "),n.xp6(3),n.Oqu(n.xi3(31,21,e.variantInfo.gnomadExomeFilter,"--")),n.xp6(6),n.hij(" ",n.xi3(37,24,e.variantInfo.gnomadGenomeAlleleFrequency,"--")," "),n.xp6(3),n.hij(" ",n.xi3(40,27,e.variantInfo.gnomadGenomeAlleleCount,"--")," "),n.xp6(3),n.hij(" ",n.xi3(43,30,e.variantInfo.gnomadGenomeAlleleNumber,"--")," "),n.xp6(3),n.Oqu(n.xi3(46,33,e.variantInfo.gnomadGenomeFilter,"--"))}}function be(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," Allele Count: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.ALo(7,"ifEmpty"),n.qZA()(),n.TgZ(8,"div",14)(9,"div",15),n._uU(10," Allele Number: "),n.qZA(),n.TgZ(11,"div",16),n._uU(12),n.ALo(13,"ifEmpty"),n.qZA()(),n.TgZ(14,"div",14)(15,"div",15),n._uU(16," Adjusted Allele Frequency: "),n.qZA(),n.TgZ(17,"div",16),n._uU(18),n.ALo(19,"ifEmpty"),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(7,12,e.variantInfo.exacAlleleCount,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(13,15,e.variantInfo.exacAlleleNumber,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(19,18,e.variantInfo.exacAlleleFrequency,"--")," ")}}function Ue(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," phyloP100way: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.ALo(7,"ifEmpty"),n.qZA()(),n.TgZ(8,"div",14)(9,"div",15),n._uU(10," phyloP30way: "),n.qZA(),n.TgZ(11,"div",16),n._uU(12),n.ALo(13,"ifEmpty"),n.qZA()(),n.TgZ(14,"div",14)(15,"div",15),n._uU(16," phastCons100way: "),n.qZA(),n.TgZ(17,"div",16),n._uU(18),n.ALo(19,"ifEmpty"),n.qZA()(),n.TgZ(20,"div",14)(21,"div",15),n._uU(22," phastCons30way: "),n.qZA(),n.TgZ(23,"div",16),n._uU(24),n.ALo(25,"ifEmpty"),n.qZA()(),n.TgZ(26,"div",14)(27,"div",15),n._uU(28," GERP++: "),n.qZA(),n.TgZ(29,"div",16),n._uU(30),n.ALo(31,"ifEmpty"),n.qZA()(),n.TgZ(32,"div",14)(33,"div",15),n._uU(34," SiPhy: "),n.qZA(),n.TgZ(35,"div",16),n._uU(36),n.ALo(37,"ifEmpty"),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(7,24,e.variantInfo.phyloP100way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(13,27,e.variantInfo.phyloP30way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(19,30,e.variantInfo.phastcons100way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(25,33,e.variantInfo.phastcons30way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(31,36,e.variantInfo.gerp,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(37,39,e.variantInfo.siphy,"--")," ")}}function Ne(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function Se(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ne,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Pe(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Se,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.eglHgvs)}}function Oe(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," EGL Class: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.ALo(7,"ifEmpty"),n.qZA()(),n.TgZ(8,"div",14)(9,"div",15),n._uU(10," Protein Variant Name: "),n.qZA(),n.TgZ(11,"div",16),n._uU(12),n.ALo(13,"ifEmpty"),n.qZA()(),n.TgZ(14,"div",14)(15,"div",15),n._uU(16," Transcript Variant Name: "),n.qZA(),n.TgZ(17,"div",16),n._uU(18),n.ALo(19,"ifEmpty"),n.qZA()(),n.TgZ(20,"div",14)(21,"div",15),n._uU(22," HGVS: "),n.qZA(),n.TgZ(23,"div",16),n.YNc(24,Pe,2,1,"ng-container",18),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(7,17,e.variantInfo.eglClass,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(13,20,e.variantInfo.eglProtein,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(19,23,e.variantInfo.eglTranscript,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.eglHgvs.length>0)("ngIfElse",i)}}function Ee(t,a){if(1&t&&(n.TgZ(0,"td"),n._uU(1),n.ALo(2,"ifEmpty"),n.qZA()),2&t){const e=n.oxw(3);n.xp6(1),n.Oqu(n.xi3(2,1,e.variantInfo.revelScore.join(", "),"--"))}}function Ye(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function De(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ye,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function we(t,a){if(1&t&&(n.ynx(0),n.YNc(1,De,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.siftPrediction)}}function Le(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Be(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Le,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Fe(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Be,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.siftScore)}}function qe(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function je(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,qe,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ke(t,a){if(1&t&&(n.ynx(0),n.YNc(1,je,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HdivPrediction)}}function $e(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Ge(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,$e,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Re(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ge,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HdivScore)}}function He(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function We(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,He,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ke(t,a){if(1&t&&(n.ynx(0),n.YNc(1,We,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HvarPrediction)}}function Xe(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function na(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Xe,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ta(t,a){if(1&t&&(n.ynx(0),n.YNc(1,na,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HvarScore)}}function ea(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function aa(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ea,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ia(t,a){if(1&t&&(n.ynx(0),n.YNc(1,aa,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationtasterPrediction)}}function oa(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function ra(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,oa,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ca(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ra,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationtasterScore)}}function _a(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function ga(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,_a,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function sa(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ga,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationassessorPrediction)}}function pa(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function la(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,pa,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function fa(t,a){if(1&t&&(n.ynx(0),n.YNc(1,la,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationassessorScore)}}function ma(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function va(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ma,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function da(t,a){if(1&t&&(n.ynx(0),n.YNc(1,va,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.fathmmPrediction)}}function ua(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function xa(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ua,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ta(t,a){if(1&t&&(n.ynx(0),n.YNc(1,xa,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.fathmmScore)}}function ya(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function ha(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ya,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ia(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ha,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.proveanPrediction)}}function za(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Ca(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,za,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Za(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ca,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.proveanScore)}}function Qa(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Aa(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Qa,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Va(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Aa,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.caddConsequence)}}function Ma(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Ja(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ma,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ba(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ja,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.caddDetail)}}function Ua(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",25,26)(3,"thead")(4,"tr")(5,"th"),n._uU(6,"Predictor"),n.qZA(),n.TgZ(7,"th"),n._uU(8,"Prediction"),n.qZA(),n.TgZ(9,"th"),n._uU(10,"Score"),n.qZA()()(),n.TgZ(11,"tbody")(12,"tr")(13,"td"),n._uU(14,"REVEL"),n.qZA(),n.TgZ(15,"td"),n._uU(16,"N/A"),n.qZA(),n.YNc(17,Ee,3,4,"td",0),n.qZA(),n.TgZ(18,"tr")(19,"td"),n._uU(20,"SIFT"),n.qZA(),n.TgZ(21,"td"),n.YNc(22,we,2,1,"ng-container",18),n.qZA(),n.TgZ(23,"td"),n.YNc(24,Fe,2,1,"ng-container",18),n.qZA()(),n.TgZ(25,"tr")(26,"td"),n._uU(27,"Polyphen2 HDIV"),n.qZA(),n.TgZ(28,"td"),n.YNc(29,ke,2,1,"ng-container",18),n.qZA(),n.TgZ(30,"td"),n.YNc(31,Re,2,1,"ng-container",18),n.qZA()(),n.TgZ(32,"tr")(33,"td"),n._uU(34,"Polyphen2 HVAR"),n.qZA(),n.TgZ(35,"td"),n.YNc(36,Ke,2,1,"ng-container",18),n.qZA(),n.TgZ(37,"td"),n.YNc(38,ta,2,1,"ng-container",18),n.qZA()(),n.TgZ(39,"tr")(40,"td"),n._uU(41,"LRT"),n.qZA(),n.TgZ(42,"td"),n._uU(43),n.ALo(44,"ifEmpty"),n.qZA(),n.TgZ(45,"td"),n._uU(46),n.ALo(47,"ifEmpty"),n.qZA()(),n.TgZ(48,"tr")(49,"td"),n._uU(50,"MutationTaster"),n.qZA(),n.TgZ(51,"td"),n.YNc(52,ia,2,1,"ng-container",18),n.qZA(),n.TgZ(53,"td"),n.YNc(54,ca,2,1,"ng-container",18),n.qZA()(),n.TgZ(55,"tr")(56,"td"),n._uU(57,"MutationAssessor"),n.qZA(),n.TgZ(58,"td"),n.YNc(59,sa,2,1,"ng-container",18),n.qZA(),n.TgZ(60,"td"),n.YNc(61,fa,2,1,"ng-container",18),n.qZA()(),n.TgZ(62,"tr")(63,"td"),n._uU(64,"FATHMM"),n.qZA(),n.TgZ(65,"td"),n.YNc(66,da,2,1,"ng-container",18),n.qZA(),n.TgZ(67,"td"),n.YNc(68,Ta,2,1,"ng-container",18),n.qZA()(),n.TgZ(69,"tr")(70,"td"),n._uU(71,"PROVEAN"),n.qZA(),n.TgZ(72,"td"),n.YNc(73,Ia,2,1,"ng-container",18),n.qZA(),n.TgZ(74,"td"),n.YNc(75,Za,2,1,"ng-container",18),n.qZA()(),n.TgZ(76,"tr")(77,"td"),n._uU(78,"MetaSVM"),n.qZA(),n.TgZ(79,"td"),n._uU(80),n.ALo(81,"ifEmpty"),n.qZA(),n.TgZ(82,"td"),n._uU(83),n.ALo(84,"ifEmpty"),n.qZA()(),n.TgZ(85,"tr")(86,"td"),n._uU(87,"MetaLR"),n.qZA(),n.TgZ(88,"td"),n._uU(89),n.ALo(90,"ifEmpty"),n.qZA(),n.TgZ(91,"td"),n._uU(92),n.ALo(93,"ifEmpty"),n.qZA()(),n.TgZ(94,"tr")(95,"td"),n._uU(96,"CADD"),n.qZA(),n.TgZ(97,"td"),n._uU(98," Consequence: "),n.YNc(99,Va,2,1,"ng-container",18),n._UZ(100,"br"),n._uU(101," Consequence Detail: "),n.YNc(102,ba,2,1,"ng-container",18),n.qZA(),n.TgZ(103,"td"),n._uU(104),n.ALo(105,"ifEmpty"),n._UZ(106,"br"),n._uU(107),n.ALo(108,"ifEmpty"),n.qZA()(),n.TgZ(109,"tr")(110,"td"),n._uU(111,"FATHMM-MKL"),n.qZA(),n.TgZ(112,"td"),n._uU(113),n.ALo(114,"ifEmpty"),n.qZA(),n.TgZ(115,"td"),n._uU(116),n.ALo(117,"ifEmpty"),n.qZA()(),n.TgZ(118,"tr")(119,"td"),n._uU(120,"fitCons"),n.qZA(),n.TgZ(121,"td"),n._uU(122,"N/A"),n.qZA(),n.TgZ(123,"td"),n._uU(124),n.ALo(125,"ifEmpty"),n.qZA()()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(1),n.Q6J("nzData",n.DdM(80,ln))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(16),n.Q6J("ngIf",e.variantInfo.revelScore),n.xp6(5),n.Q6J("ngIf",e.variantInfo.siftPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.siftScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.polyphen2HdivPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.polyphen2HdivScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.polyphen2HvarPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.polyphen2HvarScore.length>0)("ngIfElse",i),n.xp6(5),n.Oqu(n.xi3(44,47,e.variantInfo.lrtPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(47,50,e.variantInfo.lrtScore,"--")),n.xp6(6),n.Q6J("ngIf",e.variantInfo.mutationtasterPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.mutationtasterScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.mutationassessorPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.mutationassessorScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.fathmmPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.fathmmScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.proveanPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.proveanScore.length>0)("ngIfElse",i),n.xp6(5),n.Oqu(n.xi3(81,53,e.variantInfo.metasvmPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(84,56,e.variantInfo.metasvmScore,"--")),n.xp6(6),n.Oqu(n.xi3(90,59,e.variantInfo.metalrPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(93,62,e.variantInfo.metalrScore,"--")),n.xp6(7),n.Q6J("ngIf",e.variantInfo.caddConsequence.length>0)("ngIfElse",i),n.xp6(3),n.Q6J("ngIf",e.variantInfo.caddDetail.length>0)("ngIfElse",i),n.xp6(2),n.hij(" ",n.xi3(105,65,e.variantInfo.caddScore,"--")," (raw) "),n.xp6(3),n.hij(" ",n.xi3(108,68,e.variantInfo.caddPhred,"--")," (PHRED) "),n.xp6(6),n.Oqu(n.xi3(114,71,e.variantInfo.fathmmMklPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(117,74,e.variantInfo.fathmmMklScore,"--")),n.xp6(8),n.Oqu(n.xi3(125,77,e.variantInfo.fitconsScore,"--"))}}function Na(t,a){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",2)(2,"nz-card-tab")(3,"nz-tabset",3)(4,"nz-tab",4),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(0))}),n.qZA(),n.TgZ(5,"nz-tab",5),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(1))}),n.qZA(),n.TgZ(6,"nz-tab",6),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(2))}),n.qZA(),n.TgZ(7,"nz-tab",7),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(3))}),n.qZA(),n.TgZ(8,"nz-tab",8),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(4))}),n.qZA(),n.TgZ(9,"nz-tab",9),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(5))}),n.qZA(),n.TgZ(10,"nz-tab",10),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(6))}),n.qZA()()(),n.ynx(11,11),n.ALo(12,"async"),n.YNc(13,se,30,23,"ng-container",12),n.YNc(14,Ve,36,32,"ng-container",12),n.YNc(15,Je,47,37,"ng-container",12),n.YNc(16,be,20,21,"ng-container",12),n.YNc(17,Ue,38,42,"ng-container",12),n.YNc(18,Oe,25,26,"ng-container",12),n.YNc(19,Ua,126,81,"ng-container",12),n.BQk(),n.qZA(),n.BQk()}if(2&t){const e=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(8),n.Q6J("ngSwitch",n.lcZ(12,9,e.tabIndex)),n.xp6(2),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1),n.xp6(1),n.Q6J("ngSwitchCase",2),n.xp6(1),n.Q6J("ngSwitchCase",3),n.xp6(1),n.Q6J("ngSwitchCase",4),n.xp6(1),n.Q6J("ngSwitchCase",5),n.xp6(1),n.Q6J("ngSwitchCase",6)}}function Sa(t,a){1&t&&n._uU(0,"--")}let Pa=(()=>{class t{constructor(){this.tabIndex=new nn.X(0)}tabChange(e){this.tabIndex.next(e)}ngOnDestroy(){this.tabIndex.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-my-variant-info"]],inputs:{variantInfo:"variantInfo"},decls:3,vars:1,consts:[[4,"ngIf"],["noValue",""],["nzTitle","MyVariantInfo"],["nzSize","small",3,"nzAnimated"],["nzTitle","Overview",3,"nzClick"],["nzTitle","ClinVar",3,"nzClick"],["nzTitle","gnomAD (2.1.1)",3,"nzClick"],["nzTitle","EXAC (0.3.1)",3,"nzClick"],["nzTitle","Conservation Analysis Tools",3,"nzClick"],["nzTitle","EGL",3,"nzClick"],["nzTitle","Effect Scores",3,"nzClick"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],["nz-row","",3,"nzGutter"],["nz-col","",1,"key-col",3,"nzSpan"],["nz-col","",3,"nzSpan"],[2,"margin-left","8px"],[4,"ngIf","ngIfElse"],["tooltip","View on ClinVar",3,"href"],["tooltip","View on dbSNP",3,"href"],["tooltip","View on COSMIC",3,"href"],[4,"ngFor","ngForOf"],["tooltip","View on OMIM",3,"href"],[3,"href",4,"ngIf"],["nzSize","small",3,"nzData","nzFrontPagination","nzShowPagination"],["gnomadTable",""],[3,"href"]],template:function(e,i){1&e&&(n.YNc(0,Na,20,11,"ng-container",0),n.YNc(1,Sa,1,0,"ng-template",null,1,n.W1O)),2&e&&n.Q6J("ngIf",i.variantInfo)},dependencies:[s.sg,s.O5,s.RF,s.n9,R.xH,R.xw,x.N8,x.Uo,x._C,x.Om,x.p0,x.$Z,p.bd,p._i,pn.l,m.t3,m.SK,s.Ov,ne.D],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]}),t})();var Oa=o(3493),Ea=o(3180);function Ya(t,a){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=a.$implicit;n.xp6(1),n.Oqu(e)}}function Da(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,Ya,2,1,"nz-tag",25),n.qZA(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",e.variantAliases)}}function wa(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None specified"),n.qZA())}function La(t,a){1&t&&n._UZ(0,"cvc-variant-type-tag",28),2&t&&n.Q6J("variantType",a.$implicit)}function Ba(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,La,1,1,"cvc-variant-type-tag",27),n.qZA(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",e.variantTypes)}}function Fa(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None specified"),n.qZA())}function qa(t,a){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=a.$implicit;n.xp6(1),n.Oqu(e)}}function ja(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,qa,2,1,"nz-tag",25),n.qZA(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",e.hgvsDescriptions)}}function ka(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None specified"),n.qZA())}function $a(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list")(2,"nz-tag"),n._uU(3),n.qZA()(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(3),n.Oqu(e.maneSelectTranscript)}}function Ga(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None found"),n.qZA())}function Ra(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",29),n._uU(1),n.qZA()),2&t){const e=n.oxw().ngIf;n.Q6J("href","https://reg.genome.network/allele/"+e.alleleRegistryId+".html"),n.xp6(1),n.hij(" ",e.alleleRegistryId," ")}}function Ha(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"Unregistered"),n.qZA())}function Wa(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",30),n._uU(2),n.qZA(),n.BQk()),2&t){const e=a.$implicit;n.xp6(1),n.Q6J("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/"+e),n.xp6(1),n.hij(" ",e," ")}}function Ka(t,a){if(1&t&&(n.TgZ(0,"cvc-tag-list"),n.YNc(1,Wa,3,2,"ng-container",25),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.xp6(1),n.Q6J("ngForOf",e.clinvarIds)}}function Xa(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ka,2,1,"cvc-tag-list",6),n.BQk()),2&t){const e=n.oxw().ngIf,i=n.MAs(37);n.xp6(1),n.Q6J("ngIf","N/A"!==e.clinvarIds[0]&&"NONE FOUND"!==e.clinvarIds[0])("ngIfElse",i)}}function ni(t,a){if(1&t&&(n.TgZ(0,"span",26),n._uU(1),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Oqu(e.clinvarIds[0])}}function ti(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None provided"),n.qZA())}function ei(t,a){if(1&t&&(n.TgZ(0,"nz-descriptions-item",31)(1,"cvc-link-tag",32),n._uU(2," Variant Report "),n.qZA()()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("href",e.openCravatUrl)}}function ai(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-col",2),n._UZ(2,"cvc-my-variant-info",33),n.qZA(),n.BQk()),2&t){const e=a.ngIf;n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("variantInfo",e)}}function ii(t,a){1&t&&(n.TgZ(0,"nz-col",2)(1,"nz-card",34),n._UZ(2,"cvc-empty-revisable",35),n.qZA()()),2&t&&n.Q6J("nzSpan",24)}const oi=function(){return[8,16]},fn=function(){return[8,8]},ri=function(){return{xxl:2,xl:2,lg:1,md:1,sm:1,xs:1}};function ci(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-row",1)(4,"nz-col",3)(5,"nz-descriptions",4)(6,"nz-descriptions-item",5),n.YNc(7,Da,3,1,"ng-container",6),n.YNc(8,wa,2,0,"ng-template",null,7,n.W1O),n.qZA(),n.TgZ(10,"nz-descriptions-item",8),n.YNc(11,Ba,3,1,"ng-container",6),n.YNc(12,Fa,2,0,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(14,"nz-descriptions-item",8),n.YNc(15,ja,3,1,"ng-container",6),n.YNc(16,ka,2,0,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(18,"nz-descriptions-item",11),n.YNc(19,$a,4,1,"ng-container",6),n.YNc(20,Ga,2,0,"ng-template",null,12,n.W1O),n.qZA()()(),n.TgZ(22,"nz-col",2),n._UZ(23,"cvc-coordinates-card",13),n.qZA()()(),n.TgZ(24,"nz-col",14)(25,"nz-row",1)(26,"nz-col",2)(27,"nz-descriptions",4)(28,"nz-descriptions-item",15),n._UZ(29,"cvc-gene-tag",16),n.qZA(),n.TgZ(30,"nz-descriptions-item",17),n.YNc(31,Ra,2,2,"cvc-link-tag",18),n.YNc(32,Ha,2,0,"ng-template",null,19,n.W1O),n.qZA(),n.TgZ(34,"nz-descriptions-item",8),n.YNc(35,Xa,2,2,"ng-container",6),n.YNc(36,ni,2,1,"ng-template",null,20,n.W1O),n.YNc(38,ti,2,0,"ng-template",null,21,n.W1O),n.qZA(),n.YNc(40,ei,3,1,"nz-descriptions-item",22),n.qZA()(),n.YNc(41,ai,3,2,"ng-container",6),n.ALo(42,"ngrxPush"),n.YNc(43,ii,3,1,"ng-template",null,23,n.W1O),n.qZA()(),n.TgZ(45,"nz-col",3),n._UZ(46,"cvc-molecular-profiles-table",24),n.qZA()(),n.BQk()),2&t){const e=a.ngIf,i=n.MAs(9),c=n.MAs(13),l=n.MAs(17),Q=n.MAs(21),A=n.MAs(33),T=n.MAs(39),vi=n.MAs(44),di=n.oxw();n.xp6(1),n.Q6J("nzGutter",n.DdM(32,oi)),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzGutter",n.DdM(33,fn)),n.xp6(2),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",e.variantAliases.length>0)("ngIfElse",i),n.xp6(3),n.Q6J("nzTitle",e.variantTypes.length>1?"Variant Types":"Variant Type"),n.xp6(1),n.Q6J("ngIf",e.variantTypes.length>0)("ngIfElse",c),n.xp6(3),n.Q6J("nzTitle",e.hgvsDescriptions.length>1?"HGVS Descriptions":"HGVS Description"),n.xp6(1),n.Q6J("ngIf",e.hgvsDescriptions.length>0)("ngIfElse",l),n.xp6(4),n.Q6J("ngIf",e.maneSelectTranscript)("ngIfElse",Q),n.xp6(3),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("cvcVariantId",e.id),n.xp6(2),n.Q6J("nzGutter",n.DdM(34,fn)),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("nzColumn",n.DdM(35,ri)),n.xp6(2),n.Q6J("gene",e.gene),n.xp6(2),n.Q6J("ngIf",e.alleleRegistryId&&"unregistered"!=e.alleleRegistryId)("ngIfElse",A),n.xp6(3),n.Q6J("nzTitle",e.clinvarIds.length>1?"ClinVar IDs":"ClinVar ID"),n.xp6(1),n.Q6J("ngIf",e.clinvarIds.length>0)("ngIfElse",T),n.xp6(5),n.Q6J("ngIf",e.openCravatUrl),n.xp6(1),n.Q6J("ngIf",n.lcZ(42,30,di.variantInfo$))("ngIfElse",vi),n.xp6(5),n.MGl("cvcTitle","",e.name," Molecular Profiles"),n.Q6J("variantId",e.id)}}let _i=(()=>{class t{constructor(e,i){var c;if(this.gql=e,this.route=i,null==(c=this.variantId?this.variantId:+this.route.snapshot.params.variantId))throw new Error("Must pass in a variant ID as an input or via the route.");this.queryRef=this.gql.watch({variantId:c});let l=this.queryRef.valueChanges;this.loading$=l.pipe((0,Z.j)("loading"),(0,K.O)(!0)),this.variant$=l.pipe((0,Z.j)("data","variant")),this.variantInfo$=l.pipe((0,Z.j)("data","variant","myVariantInfo")),this.subscribable={entityType:d.o71.Variant,id:c}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(d.Bo4),n.Y36(f.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variants-summary"]],inputs:{variantId:"variantId"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],["nzSpan","24"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases"],[4,"ngIf","ngIfElse"],["noAliases",""],[3,"nzTitle"],["noTypes",""],["noDescriptions",""],["nzTitle","MANE Select Transcript"],["noMane",""],[3,"cvcVariantId"],["nzSpan","12"],["nzTitle","Gene"],[3,"gene"],["nzTitle","Allele Registry ID"],["tooltip","View on ClinGen Allele Registry",3,"href",4,"ngIf","ngIfElse"],["noAlleleRegistry",""],["clinvarNotApplicable",""],["noClinvarIds",""],["nzTitle","OpenCRAVAT",4,"ngIf"],["noVariantInfo",""],["cvcHeight","300px",3,"variantId","cvcTitle"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],[3,"variantType",4,"ngFor","ngForOf"],[3,"variantType"],["tooltip","View on ClinGen Allele Registry",3,"href"],["tooltip","View on ClinVar",3,"href"],["nzTitle","OpenCRAVAT"],["tooltip","View on OpenCRAVAT",3,"href"],[3,"variantInfo"],["nzTitle","MyVariantInfo"],["notification","Not available, provide Representative Variant Coordinates"]],template:function(e,i){1&e&&(n.YNc(0,ci,47,36,"ng-container",0),n.ALo(1,"ngrxPush")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,i.variant$))},dependencies:[s.sg,s.O5,m.t3,m.SK,G.R7,G.uj,p.bd,v.ZU,sn.j,Wt.m,Kt.$,on.H,Xt.j,pn.l,Pa,Oa.J,Ea.B,J.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]}),t})();var gi=o(7441);let si=(()=>{class t{constructor(e){this.route=e,this.subscribable={id:+this.route.snapshot.params.variantId,entityType:d.o71.Variant}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(f.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variants-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(e,i){1&e&&n._UZ(0,"cvc-event-feed",0),2&e&&n.Q6J("subscribable",i.subscribable)},dependencies:[gi.o],styles:["[_nghost-%COMP%]{display:block}"]}),t})(),pi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,gn.t]}),t})();const li=[{path:"",component:Vt,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:_i,data:{breadcrumb:"Summary"}},{path:"comments",component:Ut,data:{breadcrumb:"Comments"}},{path:"revisions",component:Lt,data:{breadcrumb:"Revisions"}},{path:"flags",component:Et,data:{breadcrumb:"Flags"}},{path:"events",component:si,data:{breadcrumb:"Events"}}]}];let fi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[f.Bz.forChild(li),Ht,Jt,Dt,Pt,pi,f.Bz]}),t})(),mi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[s.ez,fi,I.sL,S.PV,C.KJ,_.zf,m.Jb,h.L,W.$6,E.Z,w.c,r.m,y.U,D.D,Y.g,V.s,O.m,xn]}),t})()}}]); \ No newline at end of file diff --git a/server/public/5291.d8615f40ced2bb98.js b/server/public/5291.d8615f40ced2bb98.js deleted file mode 100644 index 520af30ce..000000000 --- a/server/public/5291.d8615f40ced2bb98.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5291],{2011:(W,P,o)=>{o.d(P,{o:()=>K});var E,n=o(655),C=o(7630),h=o(7579),v=o(9300),d=o(4004),I=o(2722),x=o(4813),O=o(1884),T=o(5698),D=o(2340),m=o(3240),M=o(9933),t=o(4650);function L(_,e){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",13),t.BQk()),2&_){const i=t.oxw().ngIf,r=t.oxw(3);t.xp6(1),t.Q6J("events",i)("tagDisplay",r.tagDisplay)}}function u(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"div",15)(1,"button",16),t.NdJ("click",function(){t.CHM(i);const p=t.oxw().ngIf,f=t.oxw(4);return t.KtG(f.fetchMore(p.endCursor))}),t._uU(2," Load More "),t.qZA()()}}function c(_,e){if(1&_&&(t.ynx(0),t.YNc(1,u,3,0,"div",14),t.BQk()),2&_){const i=e.ngIf;t.xp6(1),t.Q6J("ngIf",i.hasNextPage&&i.endCursor)}}function s(_,e){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-row",3)(2,"nz-col",12),t.YNc(3,L,2,2,"ng-container",1),t.YNc(4,c,2,1,"ng-container",10),t.ALo(5,"ngrxPush"),t.qZA()(),t.BQk()),2&_){const i=e.ngIf,r=t.oxw(3),p=t.MAs(5);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",i.length)("ngIfElse",p),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,r.pageInfo$))}}function a(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"nz-badge",19)(1,"button",20),t.NdJ("click",function(){t.CHM(i);const p=t.oxw(6);return t.KtG(p.refresh())}),t._uU(2," New Event(s) "),t.qZA()()}if(2&_){const i=t.oxw().ngrxLet,r=t.oxw(5);t.Q6J("nzCount",i-r.originalEventCount)}}function l(_,e){if(1&_&&(t.ynx(0),t.YNc(1,a,3,1,"nz-badge",18),t.BQk()),2&_){const i=e.ngrxLet,r=t.oxw(5);t.xp6(1),t.Q6J("ngIf",i&&i>r.originalEventCount)}}function g(_,e){if(1&_&&(t.ynx(0),t.YNc(1,l,2,1,"ng-container",17),t.BQk()),2&_){const i=t.oxw(4);t.xp6(1),t.Q6J("ngrxLet",i.newEventCount$)}}function A(_,e){if(1&_&&t.YNc(0,g,2,1,"ng-container",10),2&_){const i=t.oxw(3);t.Q6J("ngIf",i.pollForNewEvents&&i.originalEventCount)}}function U(_,e){if(1&_&&(t.TgZ(0,"nz-card",9),t.YNc(1,s,6,6,"ng-container",10),t.ALo(2,"ngrxPush"),t.YNc(3,A,1,1,"ng-template",null,11,t.W1O),t.qZA()),2&_){const i=t.MAs(4),r=t.oxw(2);t.Q6J("nzTitle",r.showFilters?"Events":void 0)("nzExtra",i),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,3,r.events$))}}function S(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"span"),t._uU(1," Show Child Events "),t.TgZ(2,"nz-switch",22),t.NdJ("ngModelChange",function(p){t.CHM(i);const f=t.oxw(3);return t.KtG(f.showChildren=p)})("ngModelChange",function(){t.CHM(i);const p=t.oxw(3);return t.KtG(p.onShowChildrenToggle())}),t.qZA()()}if(2&_){const i=t.oxw(3);t.xp6(2),t.Q6J("ngModel",i.showChildren)}}function y(_,e){1&_&&(t._uU(0),t.ALo(1,"eventVerbiage")),2&_&&t.hij(" ",t.xi3(1,1,e.$implicit.id,"action-filter")," ")}function R(_,e){if(1&_&&t._UZ(0,"nz-avatar",30),2&_){const i=t.oxw().$implicit;t.Q6J("nzSrc",i.profileImagePath)}}function z(_,e){if(1&_&&(t._UZ(0,"nz-avatar",31),t.ALo(1,"uppercase")),2&_){const i=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,i.displayName.charAt(0)))}}function B(_,e){if(1&_&&(t.YNc(0,R,1,1,"nz-avatar",28),t.YNc(1,z,2,3,"ng-template",null,29,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&_){const i=e.$implicit,r=t.MAs(2);t.Q6J("ngIf",i.profileImagePath)("ngIfElse",r),t.xp6(4),t.Oqu(i.displayName)}}const F=function(){return[]};function N(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"cvc-participant-list",27),t.NdJ("participantSelectedEvent",function(p){t.CHM(i);const f=t.oxw(4);return t.KtG(f.onOriginatingUserSelected(p))}),t.ALo(1,"ngrxPush"),t.YNc(2,B,5,3,"ng-template",null,24,t.W1O),t.qZA()}if(2&_){const i=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,i.participants$)||t.DdM(3,F))}}function Z(_,e){if(1&_&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&_){const i=e.$implicit;t.xp6(1),t.hij(" ",i.name," ")}}function Q(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"cvc-participant-list",32),t.NdJ("participantSelectedEvent",function(p){t.CHM(i);const f=t.oxw(4);return t.KtG(f.onOrganizationSelected(p))}),t.ALo(1,"ngrxPush"),t.YNc(2,Z,2,1,"ng-template",null,24,t.W1O),t.qZA()}if(2&_){const i=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,i.organizations$)||t.DdM(3,F))}}function w(_,e){if(1&_){const i=t.EpF();t.ynx(0),t.TgZ(1,"cvc-participant-list",23),t.NdJ("participantSelectedEvent",function(p){t.CHM(i);const f=t.oxw(3);return t.KtG(f.onActionSelected(p))}),t.ALo(2,"ngrxPush"),t.YNc(3,y,2,4,"ng-template",null,24,t.W1O),t.qZA(),t.YNc(5,N,4,4,"cvc-participant-list",25),t.YNc(6,Q,4,4,"cvc-participant-list",26),t.BQk()}if(2&_){const i=t.oxw(3);t.xp6(1),t.Q6J("participantList",t.lcZ(2,3,i.actions$)||t.DdM(5,F)),t.xp6(4),t.Q6J("ngIf",!i.userId),t.xp6(1),t.Q6J("ngIf",!i.organizationId)}}function J(_,e){1&_&&(t.TgZ(0,"nz-space",5),t.YNc(1,S,3,1,"span",21),t.YNc(2,w,7,6,"ng-container",21),t.qZA())}function $(_,e){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-space",5),t.YNc(4,U,5,5,"nz-card",6),t.qZA()(),t.TgZ(5,"nz-col",7),t.YNc(6,J,3,0,"nz-space",8),t.qZA()(),t.BQk()),2&_){const i=t.oxw();t.xp6(1),t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",i.showFilters?"18":"24"),t.xp6(4),t.Q6J("ngIf",i.showFilters)}}function b(_,e){1&_&&t._UZ(0,"nz-empty",33)}let K=((E=class{constructor(e,i){this.gql=e,this.eventCountGql=i,this.tagDisplay="displayAll",this.mode=C.wJ2.Subject,this.showFilters=!0,this.pageSize=15,this.pollForNewEvents=!0,this.includeAutomatedEvents=!0,this.destroy$=new h.x,this.showChildren=!1}ngOnInit(){this.initialQueryVars={subject:this.subscribable,organizationId:this.organizationId,originatingUserId:this.userId,first:this.pageSize,mode:this.mode,showFilters:this.showFilters,includeAutomatedEvents:this.includeAutomatedEvents},this.queryRef=this.gql.watch(this.initialQueryVars),this.pollForNewEvents&&D.N.production&&(this.newEventCount$=this.eventCountGql.watch(this.initialQueryVars,{fetchPolicy:"no-cache",pollInterval:3e4}).valueChanges.pipe((0,v.h)(m.ep),(0,d.U)(({data:e})=>e?.events?.unfilteredCount),(0,I.R)(this.destroy$))),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,d.U)(({data:e})=>e.events.pageInfo)),this.events$=this.results$.pipe((0,x.j)("data","events","edges"),(0,v.h)(m.ep),(0,d.U)(e=>e.map(i=>i.node))),this.loading$=this.results$.pipe((0,d.U)(({loading:e})=>e),(0,O.x)()),this.unfilteredCount$=this.results$.pipe((0,d.U)(e=>e.data),(0,v.h)(m.ep),(0,d.U)(({events:e})=>e.unfilteredCount)),this.unfilteredCount$.pipe((0,T.q)(1),(0,M.t)(this)).subscribe(e=>this.originalEventCount=e),this.showFilters&&(this.participants$=this.results$.pipe((0,v.h)(m.ep),(0,d.U)(({data:e})=>e.events.uniqueParticipants)),this.organizations$=this.results$.pipe((0,v.h)(m.ep),(0,d.U)(({data:e})=>e.events.participatingOrganizations)),this.actions$=this.results$.pipe((0,v.h)(m.ep),(0,d.U)(({data:e})=>e.events?.eventTypes?.map(i=>({id:i}))||[])))}fetchMore(e){this.queryRef.fetchMore({variables:{first:this.pageSize,after:e}})}onOrganizationSelected(e){this.queryRef.refetch({organizationId:e?.id,showFilters:this.showFilters})}onActionSelected(e){this.queryRef.refetch({eventType:e?e.id:void 0,showFilters:this.showFilters})}onOriginatingUserSelected(e){this.queryRef.refetch({originatingUserId:e?.id,showFilters:this.showFilters})}refresh(){this.queryRef.refetch().then(({data:e})=>{this.originalEventCount=e.events.unfilteredCount})}onShowChildrenToggle(){let e;this.subscribable?(e={id:this.subscribable.id,entityType:this.subscribable.entityType,includeChildren:this.showChildren},this.tagDisplay=this.showChildren?"displayAll":"hideSubject"):e=void 0,this.queryRef.refetch({...this.initialQueryVars,subject:e,showFilters:this.showFilters})}ngOnDestroy(){this.destroy$.next(),this.destroy$.unsubscribe()}}).\u0275fac=function(e){return new(e||E)(t.Y36(C.BTF),t.Y36(C.YMi))},E.\u0275cmp=t.Xpm({type:E,selectors:[["cvc-event-feed"]],inputs:{subscribable:"subscribable",subscribableName:"subscribableName",organizationId:"organizationId",userId:"userId",tagDisplay:"tagDisplay",mode:"mode",showFilters:"showFilters",pageSize:"pageSize",pollForNewEvents:"pollForNewEvents",includeAutomatedEvents:"includeAutomatedEvents"},decls:6,vars:7,consts:[["nzTip","Loading",3,"nzSpinning"],[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],[3,"nzSpan"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle","nzExtra",4,"nzSpaceItem"],["nzSpan","6"],["nzDirection","vertical","style","width: 100%",4,"ngIf"],[3,"nzTitle","nzExtra"],[4,"ngIf"],["refreshFeed",""],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"],[4,"ngrxLet"],[3,"nzCount",4,"ngIf"],[3,"nzCount"],["nz-button","","nz-tooltip","Click to Refresh",3,"click"],[4,"nzSpaceItem"],["nzSize","small",3,"ngModel","ngModelChange"],["listTitle","events && Action",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Curator",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Organization",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Curator",3,"participantList","participantSelectedEvent"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],["listTitle","Organization",3,"participantList","participantSelectedEvent"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(e,i){if(1&e&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,$,7,3,"ng-container",1),t.ALo(3,"ngrxPush"),t.YNc(4,b,1,0,"ng-template",null,2,t.W1O),t.qZA()),2&e){const r=t.MAs(5);t.Q6J("nzSpinning",t.lcZ(1,3,i.loading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,5,i.unfilteredCount$))("ngIfElse",r)}},styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]}),E);K=(0,n.gn)([(0,M.c)()],K)},5291:(W,P,o)=>{o.d(P,{t:()=>z});var n=o(6895),C=o(2011),h=o(2635),v=o(1971),d=o(1102),I=o(6704),x=o(4006),O=o(1243),T=o(3679),D=o(8231),m=o(3884),M=o(6616),t=o(9444),E=o(6903),L=o(1150),u=o(4383),c=o(4788),s=o(5681),a=o(48),l=o(7570),g=o(4650),A=o(7044),U=o(1664),S=o(3227),y=o(8747),R=o(2937);class z{}z.\u0275fac=function(F){return new(F||z)},z.\u0275mod=g.oAB({type:z}),z.\u0275inj=g.cJS({imports:[n.ez,x.u5,h._N,h.pP,M.sL,v.vh,d.PV,I.U5,D.LV,O.m,T.Jb,E.zf,c.Xo,u.Rt,s.j,a.mS,l.cg,m.m,t.s,L.N,t.s]}),g.B6R(C.o,[n.O5,x.JJ,x.On,h.eJ,M.ix,A.w,U.dQ,v.bd,T.t3,T.SK,O.i,E.NU,E.$1,c.p9,u.Dz,s.W,a.x7,l.SY,S.r,y.l],[n.gd,h.fM,R.R])},8747:(W,P,o)=>{o.d(P,{l:()=>u});var n=o(4650),C=o(6895),h=o(1971),v=o(6152),d=o(1102),I=o(6616),x=o(7044),O=o(1664);const T=["itemTemplate"],D=function(c){return{$implicit:c}};function m(c,s){if(1&c){const a=n.EpF();n.TgZ(0,"nz-list-item",5),n.NdJ("click",function(){n.CHM(a);const g=n.oxw().$implicit,A=n.oxw(2);return n.KtG(A.onParticipantSelected(g))}),n.GkF(1,6),n.qZA()}if(2&c){const a=n.oxw().$implicit,l=n.oxw(2);n.ekj("selected-participant",a.id==(null==l.selectedItem?null:l.selectedItem.id)),n.xp6(1),n.Q6J("ngTemplateOutlet",l.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(4,D,a))}}function M(c,s){if(1&c&&(n.ynx(0),n.YNc(1,m,2,6,"nz-list-item",4),n.BQk()),2&c){const a=s.index,l=n.oxw(2);n.xp6(1),n.Q6J("ngIf",a+1<=l.defaultListSize)}}function t(c,s){if(1&c){const a=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(2);return n.KtG(g.onExpandClicked())}),n._UZ(1,"i",8),n._uU(2," Expand "),n.qZA()}}function E(c,s){if(1&c){const a=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(2);return n.KtG(g.onCollapseClicked())}),n._UZ(1,"i",9),n._uU(2," Collapse "),n.qZA()}}function L(c,s){if(1&c&&(n.ynx(0),n.TgZ(1,"nz-card",1)(2,"nz-list"),n.YNc(3,M,2,1,"ng-container",2),n.qZA(),n.YNc(4,t,3,0,"button",3),n.YNc(5,E,3,0,"button",3),n.qZA(),n.BQk()),2&c){const a=n.oxw();n.xp6(1),n.Q6J("nzTitle",a.listTitle),n.xp6(2),n.Q6J("ngForOf",a.participantList),n.xp6(1),n.Q6J("ngIf",a.participantList.length>a.defaultListSize),n.xp6(1),n.Q6J("ngIf",a.isExpanded)}}class u{constructor(){this.defaultListSize=5,this.participantSelectedEvent=new n.vpe,this.isExpanded=!1}ngOnInit(){this.preselectedOption&&(this.selectedItem=this.preselectedOption)}onParticipantSelected(s){this.selectedItem=s.id==this.selectedItem?.id?void 0:s,this.participantSelectedEvent.emit(this.selectedItem)}onExpandClicked(){this.originalDefaultListSize=this.defaultListSize,this.defaultListSize=this.participantList.length,this.isExpanded=!0}onCollapseClicked(){this.originalDefaultListSize&&(this.defaultListSize=this.originalDefaultListSize,this.isExpanded=!1)}}u.\u0275fac=function(s){return new(s||u)},u.\u0275cmp=n.Xpm({type:u,selectors:[["cvc-participant-list"]],contentQueries:function(s,a,l){if(1&s&&n.Suo(l,T,5),2&s){let g;n.iGM(g=n.CRH())&&(a.itemTemplateRef=g.first)}},inputs:{participantList:"participantList",listTitle:"listTitle",defaultListSize:"defaultListSize",preselectedOption:"preselectedOption"},outputs:{participantSelectedEvent:"participantSelectedEvent"},decls:1,vars:1,consts:[[4,"ngIf"],["nz-type","inner",2,"margin-bottom","1em",3,"nzTitle"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nzSize","small","class","participant-list-item",3,"selected-participant","click",4,"ngIf"],["nzSize","small",1,"participant-list-item",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","vertical-align-bottom"],["nz-icon","","nzType","vertical-align-top"]],template:function(s,a){1&s&&n.YNc(0,L,6,4,"ng-container",0),2&s&&n.Q6J("ngIf",a.participantList&&a.participantList.length>0)},dependencies:[C.sg,C.O5,C.tP,h.bd,v.n_,v.AA,d.Ls,I.ix,x.w,O.dQ],styles:[".participant-list-item[_ngcontent-%COMP%]:hover{border:1px solid #40a9ff;cursor:pointer}.participant-list-item[_ngcontent-%COMP%]{padding:2px;margin:2px}.selected-participant[_ngcontent-%COMP%]{background:#40a9ff;color:#fff}"]})}}]); \ No newline at end of file diff --git a/server/public/5300.aee90e7cda6d8ca9.js b/server/public/5300.aee90e7cda6d8ca9.js deleted file mode 100644 index a5dab552e..000000000 --- a/server/public/5300.aee90e7cda6d8ca9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5300],{2268:(yn,Y,a)=>{a.d(Y,{O:()=>b});var d=a(6654),i=a(9771),r=a(4650),N=a(6895),$=a(9116),B=a(6672),D=a(6581),S=a(1102),f=a(285),Z=a(1730),x=a(160);function I(m,h){}function y(m,h){if(1&m&&(r.ynx(0),r.TgZ(1,"a",4),r.YNc(2,I,0,0,"ng-template",5),r.qZA(),r.BQk()),2&m){const u=r.oxw(),A=r.MAs(2);r.xp6(1),r.Q6J("routerLink",u.evidence.link),r.xp6(1),r.Q6J("ngTemplateOutlet",A)}}function T(m,h){}function M(m,h){if(1&m&&r._UZ(0,"cvc-evidence-popover",9),2&m){const u=r.oxw(3);r.Q6J("evidenceId",u.evidence.id)}}function v(m,h){if(1&m&&r.YNc(0,M,1,1,"cvc-evidence-popover",8),2&m){const u=r.oxw(2);r.Q6J("ngIf",u.enablePopover)}}const G=function(m,h,u){return{rejected:m,submitted:h,accepted:u}};function n(m,h){if(1&m&&(r.TgZ(0,"nz-tag",6),r.YNc(1,T,0,0,"ng-template",5),r.qZA(),r.YNc(2,v,1,1,"ng-template",null,7,r.W1O)),2&m){const u=r.MAs(3),A=r.oxw(),w=r.MAs(6);r.Q6J("ngClass",r.kEZ(5,G,"REJECTED"===A.evidence.status,"SUBMITTED"===A.evidence.status,"ACCEPTED"===A.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",u)("nzPopoverTrigger",A.enablePopover?"hover":null),r.xp6(1),r.Q6J("ngTemplateOutlet",w)}}function O(m,h){}function z(m,h){if(1&m&&r.YNc(0,O,0,0,"ng-template",5),2&m){r.oxw();const u=r.MAs(2);r.Q6J("ngTemplateOutlet",u)}}function pn(m,h){if(1&m&&(r.TgZ(0,"cvc-icon-badges",10),r._UZ(1,"i",11),r.ALo(2,"entityColor"),r.ALo(3,"entityColor"),r.qZA(),r._uU(4)),2&m){const u=r.oxw();r.Q6J("flagged",u.evidence.flagged)("entityColor",u.iconColor),r.xp6(1),r.Q6J("nzTwotoneColor","REJECTED"===u.evidence.status?r.lcZ(2,4,"Rejected"):r.lcZ(3,6,"EvidenceItem")),r.xp6(3),r.hij(" ",u.evidence.name,"\n")}}class b extends d.a{set evidence(h){if(!h)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=h}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,i.f)("EvidenceItem")}idFunction(){return this.evidence.id}}b.\u0275fac=function(h){return new(h||b)},b.\u0275cmp=r.Xpm({type:b,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[r.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(h,u){if(1&h&&(r.YNc(0,y,3,2,"ng-container",0),r.YNc(1,n,4,9,"ng-template",null,1,r.W1O),r.YNc(3,z,1,1,"ng-template",null,2,r.W1O),r.YNc(5,pn,5,8,"ng-template",null,3,r.W1O)),2&h){const A=r.MAs(4);r.Q6J("ngIf",u.linked)("ngIfElse",A)}},dependencies:[N.mk,N.O5,N.tP,$.rH,B.j,D.lU,S.Ls,f._,Z.b,x.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]})},112:(yn,Y,a)=>{a.d(Y,{u:()=>R});var d=a(9771),i=a(4650),r=a(6895),N=a(9116),$=a(6581),B=a(6672),D=a(1102),S=a(3240),f=a(4004),Z=a(9300),x=a(7630),I=a(1971),y=a(9194),T=a(783),M=a(5457),v=a(6715),G=a(2635),n=a(160);function O(l,g){if(1&l&&(i._UZ(0,"i",7),i.ALo(1,"entityColor"),i._uU(2)),2&l){const _=i.oxw().ngIf;i.Q6J("nzTwotoneColor",i.lcZ(1,2,"VariantGroup")),i.xp6(2),i.hij(" ",_.name," ")}}function z(l,g){if(1&l&&i._UZ(0,"cvc-variant-tag",10),2&l){const _=g.$implicit;i.Q6J("enablePopover",!1)("variant",_.node)}}function pn(l,g){if(1&l&&(i.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),i.YNc(2,z,1,2,"cvc-variant-tag",9),i.qZA()()),2&l){const _=i.oxw().ngIf;i.xp6(2),i.Q6J("ngForOf",_.variants.edges)}}function b(l,g){if(1&l&&i._UZ(0,"cvc-source-tag",13),2&l){const _=g.$implicit;i.Q6J("enablePopover",!1)("source",_)}}function m(l,g){if(1&l&&(i.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),i.YNc(2,b,1,2,"cvc-source-tag",12),i.qZA()()),2&l){const _=i.oxw().ngIf;i.xp6(2),i.Q6J("ngForOf",_.sources)}}function h(l,g){if(1&l&&(i.ynx(0),i.TgZ(1,"nz-card",2),i.YNc(2,O,3,4,"ng-template",null,3,i.W1O),i._uU(4),i.TgZ(5,"nz-descriptions",4),i.YNc(6,pn,3,1,"nz-descriptions-item",5),i.YNc(7,m,3,1,"nz-descriptions-item",6),i.qZA()(),i.BQk()),2&l){const _=g.ngIf,V=i.MAs(3);i.xp6(1),i.Q6J("nzTitle",V),i.xp6(3),i.hij(" ",_.description," "),i.xp6(1),i.Q6J("nzColumn",2),i.xp6(1),i.Q6J("ngIf",_.variants.edges.length>0),i.xp6(1),i.Q6J("ngIf",_.sources.length>0)}}class u{constructor(g){this.gql=g}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,f.U)(({data:g})=>g?.variantGroup),(0,Z.h)(S.ep))}}u.\u0275fac=function(g){return new(g||u)(i.Y36(x.Zo2))},u.\u0275cmp=i.Xpm({type:u,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(g,_){1&g&&(i.TgZ(0,"div",0),i.YNc(1,h,8,5,"ng-container",1),i.ALo(2,"ngrxPush"),i.qZA()),2&g&&(i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,_.variantGroup$)))},dependencies:[r.sg,r.O5,I.bd,y.R7,y.uj,D.Ls,T.T,M.I,v.$,G.fM,n.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var A=a(1730);function w(l,g){}function zn(l,g){if(1&l&&(i.ynx(0),i.TgZ(1,"a",4),i.YNc(2,w,0,0,"ng-template",5),i.qZA(),i.BQk()),2&l){const _=i.oxw(),V=i.MAs(2);i.xp6(1),i.Q6J("routerLink",_.variantgroup.link),i.xp6(1),i.Q6J("ngTemplateOutlet",V)}}function gn(l,g){}function _n(l,g){if(1&l&&i._UZ(0,"cvc-variant-group-popover",9),2&l){const _=i.oxw(3);i.Q6J("variantGroupId",_.variantgroup.id)}}function Mn(l,g){if(1&l&&i.YNc(0,_n,1,1,"cvc-variant-group-popover",8),2&l){const _=i.oxw(2);i.Q6J("ngIf",_.enablePopover)}}function Pn(l,g){if(1&l&&(i.TgZ(0,"nz-tag",6),i.YNc(1,gn,0,0,"ng-template",5),i.qZA(),i.YNc(2,Mn,1,1,"ng-template",null,7,i.W1O)),2&l){const _=i.MAs(3),V=i.oxw(),An=i.MAs(6);i.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",_)("nzPopoverTrigger",V.enablePopover?"hover":null),i.xp6(1),i.Q6J("ngTemplateOutlet",An)}}function Zn(l,g){}function bn(l,g){if(1&l&&i.YNc(0,Zn,0,0,"ng-template",5),2&l){i.oxw();const _=i.MAs(2);i.Q6J("ngTemplateOutlet",_)}}function In(l,g){if(1&l&&(i.TgZ(0,"cvc-icon-badges",10),i._UZ(1,"i",11),i.ALo(2,"entityColor"),i.qZA(),i._uU(3)),2&l){const _=i.oxw();i.Q6J("flagged",_.variantgroup.flagged)("entityColor",_.iconColor),i.xp6(1),i.Q6J("nzTwotoneColor",i.lcZ(2,4,"VariantGroup")),i.xp6(2),i.hij(" ",_.variantgroup.name,"\n")}}class R{set variantgroup(g){if(!g)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=g}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,d.f)("VariantGroup")}}R.\u0275fac=function(g){return new(g||R)},R.\u0275cmp=i.Xpm({type:R,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(g,_){if(1&g&&(i.YNc(0,zn,3,2,"ng-container",0),i.YNc(1,Pn,4,4,"ng-template",null,1,i.W1O),i.YNc(3,bn,1,1,"ng-template",null,2,i.W1O),i.YNc(5,In,4,6,"ng-template",null,3,i.W1O)),2&g){const V=i.MAs(4);i.Q6J("ngIf",_.linked)("ngIfElse",V)}},dependencies:[r.O5,r.tP,N.rH,$.lU,B.j,D.Ls,u,A.b,n.a],encapsulation:2,changeDetection:0})},7677:(yn,Y,a)=>{a.d(Y,{G:()=>v});var d=a(6895),i=a(9116),r=a(6581),N=a(6672),$=a(1102),B=a(897),D=a(2811),S=a(7043),f=a(9444),Z=a(2635),x=a(1971),I=a(9194),y=a(4650);class T{}T.\u0275fac=function(n){return new(n||T)},T.\u0275mod=y.oAB({type:T}),T.\u0275inj=y.cJS({imports:[d.ez,Z._N,Z.pP,x.vh,I.q6,$.PV,D.s,S.Q,B.$,f.s]});var M=a(6429);class v{}v.\u0275fac=function(n){return new(n||v)},v.\u0275mod=y.oAB({type:v}),v.\u0275inj=y.cJS({imports:[d.ez,i.Bz,r.$6,N.X,$.PV,T,f.s,M.C]})},1505:(yn,Y,a)=>{a.r(Y),a.d(Y,{GenesDetailModule:()=>ln});var d=a(6895),i=a(5291),r=a(4682),N=a(5750),$=a(4609),B=a(5630),D=a(8762),S=a(9444),f=a(2635),Z=a(6616),x=a(3679),I=a(1102),y=a(5655),T=a(6903),M=a(8823),v=a(9116),G=a(2278),n=a(4650);class O{}O.\u0275fac=function(e){return new(e||O)},O.\u0275mod=n.oAB({type:O}),O.\u0275inj=n.cJS({imports:[d.ez,G.l]});var z=a(7630),pn=a(3801);class b{constructor(e){this.route=e,this.commentable={id:+this.route.snapshot.params.geneId,entityType:z.OfU.Gene}}}b.\u0275fac=function(e){return new(e||b)(n.Y36(v.gz))},b.\u0275cmp=n.Xpm({type:b,selectors:[["cvc-genes-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(e,o){1&e&&n._UZ(0,"cvc-comment-list",0),2&e&&n.Q6J("commentable",o.commentable)},dependencies:[pn.D],styles:["[_nghost-%COMP%]{display:block}"]});var m=a(7579),h=a(1135),u=a(8675),A=a(2722),w=a(6579),zn=a(9350),gn=a(7044),_n=a(1664),Mn=a(2233),Pn=a(5623),Zn=a(8168),bn=a(759),In=a(8992),R=a(9077),l=a(160);const g=function(t){return["/genes",t,"revise"]};function _(t,e){if(1&t&&(n.TgZ(0,"button",14,15),n._uU(2," Revise "),n.qZA()),2&t){const o=n.MAs(1),c=n.oxw(4).ngIf;n.Q6J("routerLink",n.VKq(2,g,c.id))("nzType",o.isActive?"primary":"default")}}function V(t,e){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,_,3,4,"button",13),n.qZA()),2&t){const o=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",o.signedIn)}}function An(t,e){if(1&t&&(n.TgZ(0,"button",17,15),n._uU(2," Flag "),n.qZA()),2&t){const o=n.MAs(1);n.Q6J("nzType",o.isActive?"primary":"default")}}function Ln(t,e){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,An,3,1,"button",16),n.qZA()),2&t){const o=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",o.signedIn)}}function Fn(t,e){if(1&t&&n._UZ(0,"cvc-entity-subscription-button",19),2&t){const o=n.oxw(2).ngrxLet,c=n.oxw(3);n.Q6J("viewer",o)("subscribableId",c.subscribable.id)}}function Yn(t,e){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,Fn,1,2,"cvc-entity-subscription-button",18),n.qZA()),2&t){const o=n.oxw().ngrxLet,c=n.oxw(3);n.xp6(1),n.Q6J("ngIf",o.signedIn&&c.subscribable)}}function $n(t,e){1&t&&(n.TgZ(0,"nz-space",11),n.YNc(1,V,2,1,"span",12),n.YNc(2,Ln,2,1,"span",12),n.YNc(3,Yn,2,1,"span",12),n.qZA())}function Dn(t,e){if(1&t&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,$n,4,0,"nz-space",10),n.qZA()),2&t){const o=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",o.viewer$)}}function jn(t,e){if(1&t&&(n.TgZ(0,"nz-col",20),n._UZ(1,"cvc-contributor-avatars",21),n.qZA()),2&t){const o=n.oxw(2);n.xp6(1),n.Q6J("subscribable",o.subscribable)}}const Bn=function(t){return{flagged:t}};function Rn(t,e){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"div",2),n.ALo(3,"ngrxPush"),n.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),n._UZ(6,"i",5),n.ALo(7,"entityColor"),n._uU(8),n.qZA(),n.TgZ(9,"nz-page-header-subtitle"),n._uU(10),n.qZA(),n.YNc(11,Dn,2,1,"nz-page-header-extra",6),n.TgZ(12,"nz-page-header-content")(13,"cvc-tab-navigation",7),n.ALo(14,"ngrxPush"),n.YNc(15,jn,2,1,"ng-template",null,8,n.W1O),n.qZA(),n.TgZ(17,"div",9),n._UZ(18,"router-outlet"),n.qZA()()()(),n.BQk()),2&t){const o=e.ngIf,c=n.oxw();n.xp6(1),n.Q6J("displayName",o.name),n.xp6(1),n.Q6J("flags",n.lcZ(3,8,c.flagsTotal$)),n.xp6(3),n.Q6J("ngClass",n.VKq(14,Bn,o.flags.totalCount>0)),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(7,10,"Gene")),n.xp6(2),n.hij(" ",o.name," "),n.xp6(2),n.hij(" ",o.officialName," "),n.xp6(1),n.Q6J("ngrxLet",c.viewer$),n.xp6(2),n.Q6J("tabs",n.lcZ(14,12,c.tabs$))}}class mn{constructor(e,o,c){this.gql=e,this.viewerService=o,this.route=c,this.destroy$=new m.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.filterCurators=s=>"curator"==s.role,this.filterEditors=s=>"editor"==s.role||"admin"==s.role,this.tabs$=new h.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(s=>{let p=this.gql.watch({geneId:+s.geneId}).valueChanges;this.loading$=p.pipe((0,w.j)("loading"),(0,u.O)(!0)),this.gene$=p.pipe((0,w.j)("data","gene")),this.commentsTotal$=this.gene$.pipe((0,w.j)("comments","totalCount")),this.flagsTotal$=this.gene$.pipe((0,w.j)("flags","totalCount")),this.gene$.pipe((0,w.j)("revisions","totalCount"),(0,A.R)(this.destroy$)).subscribe({next:C=>{this.tabs$.next(this.defaultTabs.map(Tn=>"Revisions"===Tn.tabLabel?{badgeCount:C,...Tn}:Tn))}}),this.subscribable={id:+s.geneId,entityType:z.o71.Gene}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}mn.\u0275fac=function(e){return new(e||mn)(n.Y36(z.TNk),n.Y36(zn.a),n.Y36(v.gz))},mn.\u0275cmp=n.Xpm({type:mn,selectors:[["genes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],[4,"ngrxLet"],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Gene",3,"viewer","subscribableId",4,"ngIf"],["typename","Gene",3,"viewer","subscribableId"],["id","contributors-col"],[3,"subscribable"]],template:function(e,o){1&e&&(n.YNc(0,Rn,19,16,"ng-container",0),n.ALo(1,"async")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,o.gene$))},dependencies:[d.mk,d.O5,v.lC,v.rH,v.Od,f.eJ,Z.ix,gn.w,_n.dQ,I.Ls,y.$O,y.u9,y.yG,y.u5,y.Jp,T.NU,T.$1,x.t3,Mn.P,Pn.o,Zn.Y,bn.N,In.I,R.Q,d.Ov,f.fM,l.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class W{}W.\u0275fac=function(e){return new(e||W)},W.\u0275mod=n.oAB({type:W}),W.\u0275inj=n.cJS({imports:[d.ez,i.t]});var Wn=a(2011);class dn{constructor(e){this.route=e,this.subscribable={id:+this.route.snapshot.params.geneId,entityType:z.o71.Gene}}}dn.\u0275fac=function(e){return new(e||dn)(n.Y36(v.gz))},dn.\u0275cmp=n.Xpm({type:dn,selectors:[["cvc-genes-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(e,o){1&e&&n._UZ(0,"cvc-event-feed",0),2&e&&n.Q6J("subscribable",o.subscribable)},dependencies:[Wn.o],styles:["[_nghost-%COMP%]{display:block}"]});var E=a(1971),Kn=a(545),Hn=a(4271);class K{}K.\u0275fac=function(e){return new(e||K)},K.\u0275mod=n.oAB({type:K}),K.\u0275inj=n.cJS({imports:[d.ez,x.Jb,E.vh,T.zf,Kn.H0,Hn.M]});var Xn=a(7036);class un{constructor(e){this.route=e,this.flaggable={entityType:z.sfv.Gene,id:+this.route.snapshot.params.geneId}}ngOnInit(){}}un.\u0275fac=function(e){return new(e||un)(n.Y36(v.gz))},un.\u0275cmp=n.Xpm({type:un,selectors:[["cvc-genes-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(e,o){1&e&&n._UZ(0,"cvc-flag-list-and-filter",0),2&e&&n.Q6J("flaggable",o.flaggable)},dependencies:[Xn.L],styles:["[_nghost-%COMP%]{display:block}"]});var qn=a(6152),wn=a(6672),kn=a(1150),ne=a(4383),ee=a(6059),te=a(2914);class H{}H.\u0275fac=function(e){return new(e||H)},H.\u0275mod=n.oAB({type:H}),H.\u0275inj=n.cJS({imports:[d.ez,f._N,f.pP,x.Jb,qn.Ph,E.vh,T.zf,wn.X,M.ZJ,ne.Rt,kn.N,ee.i,te.A]});var oe=a(3770);class fn{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(o=>{this.geneId=+o.geneId,this.entityType=z.oRL.Gene})}ngOnDestroy(){this.routeSub.unsubscribe()}}fn.\u0275fac=function(e){return new(e||fn)(n.Y36(v.gz))},fn.\u0275cmp=n.Xpm({type:fn,selectors:[["cvc-genes-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(e,o){1&e&&n._UZ(0,"cvc-revisions-list-and-filter",0),2&e&&n.Q6J("id",o.geneId)("entityType",o.entityType)},dependencies:[oe.a],styles:["[_nghost-%COMP%]{display:block}"]});var X=a(9194),ae=a(8541),Jn=a(897),ie=a(4989),re=a(2811),P=a(4006),ce=a(7043),Q=a(6704),j=a(5635),q=a(8231),se=a(8645),Sn=a(8213),xn=a(5681);class k{}k.\u0275fac=function(e){return new(e||k)},k.\u0275mod=n.oAB({type:k}),k.\u0275inj=n.cJS({imports:[d.ez,P.u5,f._N,f.pP,Z.sL,x.Jb,E.vh,I.PV,Q.U5,j.o7,q.LV,M.ZJ,Sn.Wr,xn.j,S.s,ce.Q,Jn.$,se.M]});var nn=a(3513),U=a(6675);class en{}en.\u0275fac=function(e){return new(e||en)},en.\u0275mod=n.oAB({type:en}),en.\u0275inj=n.cJS({imports:[d.ez,E.vh,nn.we,U.HQ,x.Jb,U.HQ,M.ZJ,X.q6]});var le=a(592),pe=a(7345),ge=a(4126);class tn{}tn.\u0275fac=function(e){return new(e||tn)},tn.\u0275mod=n.oAB({type:tn}),tn.\u0275inj=n.cJS({imports:[d.ez,P.u5,f._N,f.pP,Z.sL,x.Jb,E.vh,I.PV,Q.U5,j.o7,q.LV,xn.j,M.ZJ,S.s,ge.u,Jn.$]});class on{}on.\u0275fac=function(e){return new(e||on)},on.\u0275mod=n.oAB({type:on}),on.\u0275inj=n.cJS({imports:[d.ez,f._N,f.pP,x.Jb,X.q6,M.ZJ,T.zf,wn.X,nn.we,ae.o,Jn.$,ie.X,re.s,le.x,pe.W,k,en,tn]});var an,_e=a(427),On=a(6715),me=a(6550),de=a(783),Gn=a(655),J=a(4004),L=a(9300),Vn=a(8372),Cn=a(9933),F=a(3240),ue=a(9771),fe=a(5457);function ve(t,e){if(1&t&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&t){const o=n.oxw(3).ngIf;n.xp6(1),n.hij("(",o.length," displayed)")}}function he(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"span",8),n._uU(2),n.qZA(),n.YNc(3,ve,2,1,"span",9),n.BQk()),2&t){const o=e.ngIf,c=n.oxw(2).ngIf;n.xp6(2),n.hij("",o," Total"),n.xp6(1),n.Q6J("ngIf",o>c.length)}}function ze(t,e){if(1&t&&(n.YNc(0,he,4,2,"ng-container",1),n.ALo(1,"ngrxPush")),2&t){const o=n.oxw(2);n.Q6J("ngIf",n.lcZ(1,1,o.totalVariants$))}}function xe(t,e){if(1&t){const o=n.EpF();n.TgZ(0,"i",20),n.NdJ("click",function(){n.CHM(o);const s=n.oxw(4);return s.variantNameFilter=void 0,n.KtG(s.onModelUpdated())}),n.qZA()}}function Ce(t,e){if(1&t&&n.YNc(0,xe,1,0,"i",19),2&t){const o=n.oxw(3);n.Q6J("ngIf",o.variantNameFilter)}}function Te(t,e){if(1&t&&n._UZ(0,"nz-option",24),2&t){const o=e.$implicit;n.Q6J("nzLabel",o.name)("nzValue",o)}}function ye(t,e){if(1&t&&(n.TgZ(0,"div",25),n._UZ(1,"i",26),n._uU(2),n.qZA()),2&t){const o=e.$implicit,c=n.oxw(4);n.xp6(1),n.Q6J("nzTwotoneColor",c.iconColor),n.xp6(1),n.hij(" ",o.nzLabel," ")}}function Me(t,e){if(1&t){const o=n.EpF();n.ynx(0),n.TgZ(1,"nz-select",21),n.NdJ("ngModelChange",function(s){n.CHM(o);const p=n.oxw(3);return n.KtG(p.variantTypeFilter=s)})("ngModelChange",function(){n.CHM(o);const s=n.oxw(3);return n.KtG(s.onModelUpdated())}),n.YNc(2,Te,1,2,"nz-option",22),n.qZA(),n.YNc(3,ye,3,2,"ng-template",null,23,n.W1O),n.BQk()}if(2&t){const o=e.ngIf,c=n.MAs(4),s=n.oxw(3);n.xp6(1),n.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",s.variantTypeFilter)("nzCustomTemplate",c),n.xp6(1),n.Q6J("ngForOf",o)}}function Pe(t,e){if(1&t){const o=n.EpF();n.TgZ(0,"form",10)(1,"nz-form-item")(2,"nz-form-label"),n._uU(3,"Name Filter"),n.qZA(),n.TgZ(4,"nz-form-control")(5,"nz-input-group",11)(6,"input",12),n.NdJ("ngModelChange",function(){n.CHM(o);const s=n.oxw(2);return n.KtG(s.onModelUpdated())})("ngModelChange",function(s){n.CHM(o);const p=n.oxw(2);return n.KtG(p.variantNameFilter=s)}),n.qZA(),n.YNc(7,Ce,1,1,"ng-template",null,13,n.W1O),n.qZA()()(),n.TgZ(9,"nz-form-item")(10,"nz-form-label"),n._uU(11,"Variant Type"),n.qZA(),n.TgZ(12,"nz-form-control"),n.YNc(13,Me,5,4,"ng-container",1),n.ALo(14,"ngrxPush"),n.qZA()(),n.TgZ(15,"nz-form-item")(16,"nz-form-label"),n._uU(17," No Variant Type "),n.qZA(),n.TgZ(18,"nz-form-control")(19,"label",14),n.NdJ("ngModelChange",function(s){n.CHM(o);const p=n.oxw(2);return n.KtG(p.hasNoVariantType=s)})("ngModelChange",function(){n.CHM(o);const s=n.oxw(2);return n.KtG(s.onModelUpdated())}),n.qZA()()(),n.TgZ(20,"nz-form-item")(21,"nz-form-label"),n._uU(22,"Order By"),n.qZA(),n.TgZ(23,"nz-form-control")(24,"nz-select",15),n.NdJ("ngModelChange",function(s){n.CHM(o);const p=n.oxw(2);return n.KtG(p.onVariantSortOrderChanged(s))})("ngModelChange",function(s){n.CHM(o);const p=n.oxw(2);return n.KtG(p.sortBy=s)}),n._UZ(25,"nz-option",16)(26,"nz-option",17)(27,"nz-option",18),n.qZA()()()()}if(2&t){const o=n.MAs(8),c=n.oxw(2);n.xp6(5),n.Q6J("nzSuffix",o)("nzCompact",!0),n.xp6(1),n.Q6J("ngModel",c.variantNameFilter),n.xp6(7),n.Q6J("ngIf",n.lcZ(14,6,c.menuVariantTypes$)),n.xp6(6),n.Q6J("ngModel",c.hasNoVariantType),n.xp6(5),n.Q6J("ngModel",c.sortBy)}}function Ze(t,e){if(1&t&&n._UZ(0,"cvc-variant-tag",28),2&t){const o=n.oxw().$implicit;n.Q6J("variant",o)}}function be(t,e){if(1&t&&(n.ynx(0),n.YNc(1,Ze,1,1,"cvc-variant-tag",27),n.BQk()),2&t){const o=e.$implicit;n.xp6(1),n.Q6J("ngIf",o)}}function Ie(t,e){if(1&t){const o=n.EpF();n.TgZ(0,"nz-row",30)(1,"button",31),n.NdJ("click",function(){n.CHM(o);const s=n.oxw().ngIf,p=n.oxw(2);return n.KtG(p.fetchMore(s.endCursor))}),n._uU(2,"Load More "),n.qZA(),n.TgZ(3,"nz-select",32),n.NdJ("ngModelChange",function(s){n.CHM(o);const p=n.oxw(3);return n.KtG(p.pageSize=s)}),n._UZ(4,"nz-option",33)(5,"nz-option",34)(6,"nz-option",35),n.qZA()()}if(2&t){const o=n.oxw(3);n.xp6(3),n.Q6J("ngModel",o.pageSize),n.xp6(1),n.Q6J("nzValue",50),n.xp6(1),n.Q6J("nzValue",100),n.xp6(1),n.Q6J("nzValue",300)}}function Ae(t,e){if(1&t&&(n.ynx(0),n.YNc(1,Ie,7,4,"nz-row",29),n.BQk()),2&t){const o=e.ngIf;n.xp6(1),n.Q6J("ngIf",o.hasNextPage&&o.endCursor)}}function we(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,ze,2,3,"ng-template",null,3,n.W1O),n.YNc(4,Pe,28,8,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-row")(7,"nz-col",5)(8,"cvc-tag-list",6),n.YNc(9,be,2,1,"ng-container",7),n.qZA()()(),n.YNc(10,Ae,2,1,"ng-container",1),n.ALo(11,"ngrxPush"),n.qZA(),n.BQk()),2&t){const o=e.ngIf,c=n.MAs(3),s=n.MAs(5),p=n.oxw();n.xp6(1),n.Q6J("nzTitle",c)("nzExtra",s),n.xp6(8),n.Q6J("ngForOf",o),n.xp6(1),n.Q6J("ngIf",n.lcZ(11,4,p.pageInfo$))}}let Qn=((an=class{constructor(e,o){this.gql=e,this.variantTypeGql=o,this.sortBy=z.d4o.Name,this.variantTypeFilter=[],this.hasNoVariantType=!1,this.debouncedQuery=new m.x,this.pageSize=50,this.iconColor=(0,ue.f)("VariantType")}ngOnInit(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.initialQueryVars={geneId:this.geneId,first:this.pageSize},this.queryRef$=this.gql.watch(this.initialQueryVars),this.result$=this.queryRef$.valueChanges,this.loading$=this.result$.pipe((0,J.U)(({data:e,loading:o})=>o&&!e),(0,L.h)(F.ep),(0,u.O)(!0)),this.connection$=this.result$.pipe((0,J.U)(e=>e.data?.variants),(0,L.h)(F.ep)),this.pageInfo$=this.connection$.pipe((0,J.U)(e=>e.pageInfo),(0,L.h)(F.ep)),this.menuVariants$=this.connection$.pipe((0,J.U)(e=>e.edges.map(o=>o.node),(0,L.h)(F.ep))),this.totalVariants$=this.connection$.pipe((0,J.U)(e=>e.totalCount)),this.debouncedQuery.pipe((0,Vn.b)(500),(0,Cn.t)(this)).subscribe(e=>this.refresh()),this.menuVariantTypes$=this.variantTypeGql.watch({geneId:this.geneId}).valueChanges.pipe((0,J.U)(e=>e.data?.variantTypes.edges?.map(o=>o.node)),(0,L.h)(F.ep))}onModelUpdated(){this.debouncedQuery.next()}onVariantSortOrderChanged(e){this.queryRef$.refetch({first:this.pageSize,sortBy:{column:e,direction:e==z.d4o.CoordinateEnd?z.SrV.Desc:z.SrV.Asc}})}refresh(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.queryRef$.refetch({geneId:this.geneId,variantName:this.variantNameFilter,hasNoVariantType:this.hasNoVariantType,variantTypeIds:this.variantTypeFilter?.map(e=>e.id),first:this.pageSize,sortBy:{column:this.sortBy,direction:z.SrV.Asc}})}fetchMore(e){this.queryRef$.fetchMore({variables:{first:this.pageSize,after:e}})}}).\u0275fac=function(e){return new(e||an)(n.Y36(z.zwS),n.Y36(z.l$X))},an.\u0275cmp=n.Xpm({type:an,selectors:[["cvc-variant-menu"]],inputs:{geneId:"geneId",geneName:"geneName"},decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],[3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],["size","sm"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-form","","nzLayout","inline","id","variant-filters"],["id","name-filter-group","nzSize","small",3,"nzSuffix","nzCompact"],["type","text","nz-input","","placeholder","Variant Names","name","name-filter",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["nz-checkbox","","name","noVt",3,"ngModel","ngModelChange"],["nzSize","small","id","variant-sort-order","name","sortBy",2,"width","115px",3,"ngModel","ngModelChange"],["nzValue","NAME","nzLabel","Variant Name","selected","",2,"width","100%"],["nzValue","COORDINATE_START","nzLabel","Start Position",2,"width","100%"],["nzValue","COORDINATE_END","nzLabel","End Position",2,"width","100%"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzAllowClear","","nzSize","small","nzMode","multiple","nzPlaceHolder","Variant Type","name","variantTypes","nzShowSearch","",2,"min-width","115px",3,"nzDropdownMatchSelectWidth","ngModel","nzCustomTemplate","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["variantTypeTemplate",""],[3,"nzLabel","nzValue"],[1,"ant-select-selection-item-content"],["nz-icon","","nzType","civic-varianttype","nzTheme","twotone",3,"nzTwotoneColor"],[3,"variant",4,"ngIf"],[3,"variant"],["id","load-more-btn",4,"ngIf"],["id","load-more-btn"],["nz-button","","nzType","default","nzSize","small",2,"width","95%",3,"click"],["nzSize","small",2,"width","5%",3,"ngModel","ngModelChange"],["nzLabel","50",3,"nzValue"],["nzLabel","100",3,"nzValue"],["nzLabel","300",3,"nzValue"]],template:function(e,o){1&e&&(n.TgZ(0,"nz-spin",0),n.ALo(1,"ngrxPush"),n.YNc(2,we,12,6,"ng-container",1),n.ALo(3,"ngrxPush"),n.qZA()),2&e&&(n.Q6J("nzSpinning",n.lcZ(1,2,o.loading$)),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,4,o.menuVariants$)))},dependencies:[d.sg,d.O5,P._Y,P.Fj,P.JJ,P.JL,P.On,P.F,Z.ix,gn.w,_n.dQ,x.t3,x.SK,E.bd,I.Ls,Q.Lr,Q.Nx,Q.iK,Q.Fd,j.Zp,j.gB,j.ke,q.Ip,q.Vq,M.ZU,Sn.Ie,xn.W,fe.I,On.$,f.fM],styles:["[_nghost-%COMP%]{display:block}#variant-filters[_ngcontent-%COMP%] #name-filter-group[_ngcontent-%COMP%]{width:175px}#variant-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#load-more-btn[_ngcontent-%COMP%]{margin-top:12px}"]}),an);Qn=(0,Gn.gn)([(0,Cn.c)()],Qn);class rn{constructor(){}parse(e){const o={kegg:"http://www.genome.jp/kegg-bin/show_pathway?",reactome:"https://reactome.org/content/detail/",pharmgkb:"https://www.pharmgkb.org/pathway/",humancyc:"http://humancyc.org/HUMAN/NEW-IMAGE?type=PATHWAY&object=",smpdb:"http://www.smpdb.ca/view/",pid:"http://pid.nci.nih.gov/search/pathway_landing.shtml?what=graphic&jpg=on&pathway_id=",wikipathways:"http://wikipathways.org/index.php/Pathway:",netpath:null,biocarta:null,inoh:null,signalink:null,ehmn:null},c=e.pathway||[],s=[];let p;return Object.keys(c).forEach(function(C){Array.isArray(c[C])||(c[C]=[c[C]]),c[C].forEach(function(Tn,Un){p=o[C]+c[C][Un].id,null===o[C]&&(p=null),s.push({name:c[C][Un].name,link:p,src:C})})}),e.pathway=s,e.pathwayList=s.map(C=>C.name),!Array.isArray(e.alias)&&e.alias&&(e.alias=[e.alias]),!Array.isArray(e.interpro)&&e.interpro&&(e.interpro=[e.interpro]),e.interproList=e.interpro.map(C=>C.desc),e}}rn.\u0275fac=function(e){return new(e||rn)},rn.\u0275prov=n.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"});const Je=function(){return{xxl:2,xl:2,lg:2,md:1,sm:1,xs:1}},Oe=function(){return{xxl:4,xl:4,lg:2,md:2,sm:1,xs:1}};function Qe(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"div",6)(2,"nz-descriptions",7)(3,"nz-descriptions-item",8),n._uU(4),n.qZA(),n.TgZ(5,"nz-descriptions-item",9),n._uU(6),n.qZA()(),n.TgZ(7,"nz-descriptions",7)(8,"nz-descriptions-item",10),n._uU(9),n.qZA(),n.TgZ(10,"nz-descriptions-item",11),n._uU(11),n.qZA(),n.TgZ(12,"nz-descriptions-item",12),n._uU(13),n.qZA(),n.TgZ(14,"nz-descriptions-item",13),n._uU(15),n.qZA()(),n.TgZ(16,"nz-descriptions",14)(17,"nz-descriptions-item",15),n._uU(18),n.qZA(),n.TgZ(19,"nz-descriptions-item",16)(20,"p",17),n._uU(21),n.qZA()(),n.TgZ(22,"nz-descriptions-item",18)(23,"p",17),n._uU(24),n.qZA()()()(),n.BQk()),2&t){const o=n.oxw(2);n.xp6(2),n.Q6J("nzColumn",n.DdM(15,Je)),n.xp6(2),n.AsE(" ",o.info.symbol," (ID: ",o.info._id,") "),n.xp6(2),n.hij(" ",o.info.uniprot["Swiss-Prot"]," "),n.xp6(1),n.Q6J("nzColumn",n.DdM(16,Oe)),n.xp6(2),n.hij(" ",o.info.genomic_pos_hg19.chr," "),n.xp6(2),n.hij(" ",o.info.genomic_pos_hg19.strand," "),n.xp6(2),n.hij(" ",o.info.genomic_pos_hg19.start," "),n.xp6(2),n.hij(" ",o.info.genomic_pos_hg19.end," "),n.xp6(1),n.Q6J("nzColumn",1),n.xp6(2),n.hij(" ",o.info.alias.join(", ")," "),n.xp6(2),n.Q6J("nzEllipsisRows",3),n.xp6(1),n.hij(" ",o.info.interproList.join(", ")," "),n.xp6(2),n.Q6J("nzEllipsisRows",3),n.xp6(1),n.hij(" ",o.info.pathwayList.join(", ")," ")}}function Ne(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"div",6)(2,"p",17),n._uU(3),n.qZA()(),n.BQk()),2&t){const o=n.oxw(2);n.xp6(2),n.Q6J("nzEllipsisRows",12),n.xp6(1),n.hij(" ",o.info.summary," ")}}function Se(t,e){if(1&t&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA()()),2&t){const o=e.$implicit;n.xp6(2),n.hij(" ",o.short_desc," "),n.xp6(2),n.hij(" ",o.desc," "),n.xp6(2),n.hij(" ",o.id," ")}}const En=function(){return{x:"100%",y:"200px"}};function Ge(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",19,20)(3,"thead")(4,"tr")(5,"th"),n._uU(6,"Name"),n.qZA(),n.TgZ(7,"th"),n._uU(8,"Description"),n.qZA(),n.TgZ(9,"th"),n._uU(10,"ID"),n.qZA()()(),n.TgZ(11,"tbody"),n.YNc(12,Se,7,3,"ng-template",21),n.qZA()(),n.BQk()),2&t){const o=n.oxw(2);n.xp6(1),n.Q6J("nzData",o.info.interpro)("nzScroll",n.DdM(4,En))("nzFrontPagination",!1)("nzShowPagination",!1)}}function Ve(t,e){if(1&t&&(n.TgZ(0,"a",28),n._uU(1),n.qZA()),2&t){const o=n.oxw().$implicit;n.s9C("href",null==o?null:o.link,n.LSH),n.xp6(1),n.hij(" ",o.src," ")}}function Ee(t,e){if(1&t&&n._uU(0),2&t){const o=n.oxw().$implicit;n.hij(" ",o.src," ")}}function Ue(t,e){if(1&t&&(n.TgZ(0,"tr")(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td",25),n.YNc(4,Ve,2,2,"a",26),n.YNc(5,Ee,1,1,"ng-template",null,27,n.W1O),n.qZA()()),2&t){const o=e.$implicit,c=n.MAs(6);n.xp6(2),n.hij(" ",o.name," "),n.xp6(2),n.Q6J("ngIf",null==o?null:o.link)("ngIfElse",c)}}function Le(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",19,22)(3,"colgroup"),n._UZ(4,"col",23)(5,"col",24),n.qZA(),n.TgZ(6,"thead")(7,"tr")(8,"th"),n._uU(9,"Name"),n.qZA(),n.TgZ(10,"th",25),n._uU(11,"Source"),n.qZA()()(),n.TgZ(12,"tbody"),n.YNc(13,Ue,7,3,"ng-template",21),n.qZA()(),n.BQk()),2&t){const o=n.oxw(2);n.xp6(1),n.Q6J("nzData",o.info.pathway)("nzScroll",n.DdM(4,En))("nzFrontPagination",!1)("nzShowPagination",!1)}}function Fe(t,e){if(1&t){const o=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",1)(2,"nz-card-tab")(3,"nz-tabset",2),n.NdJ("nzSelectChange",function(s){n.CHM(o);const p=n.oxw();return n.KtG(p.tabChange(s))}),n._UZ(4,"nz-tab",3)(5,"nz-tab",3)(6,"nz-tab",3)(7,"nz-tab",3),n.qZA()(),n.ynx(8,4),n.YNc(9,Qe,25,17,"ng-container",5),n.YNc(10,Ne,4,2,"ng-container",5),n.YNc(11,Ge,13,5,"ng-container",5),n.YNc(12,Le,14,5,"ng-container",5),n.BQk(),n.qZA(),n.BQk()}if(2&t){const o=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(1),n.Q6J("nzTitle","Overview"),n.xp6(1),n.Q6J("nzTitle","Summary"),n.xp6(1),n.Q6J("nzTitle","Protein Domains ("+o.info.interproList.length+")"),n.xp6(1),n.Q6J("nzTitle","Pathways ("+o.info.pathway.length+")"),n.xp6(1),n.Q6J("ngSwitch",o.tabIndex),n.xp6(1),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1),n.xp6(1),n.Q6J("ngSwitchCase",2),n.xp6(1),n.Q6J("ngSwitchCase",3)}}class vn{constructor(e){this.infoService=e,this.tabIndex=0}ngOnInit(){this.tabChange({index:0,tab:null})}ngOnChanges(){this.geneInfo&&(this.info=this.infoService.parse(JSON.parse(String(this.geneInfo))))}tabChange(e){this.tabIndex=e.index}}vn.\u0275fac=function(e){return new(e||vn)(n.Y36(rn))},vn.\u0275cmp=n.Xpm({type:vn,selectors:[["cvc-my-gene-info"]],inputs:{geneInfo:"geneInfo"},features:[n.TTD],decls:1,vars:1,consts:[[4,"ngIf"],["nzTitle","MyGeneInfo"],["nzSize","small",3,"nzAnimated","nzSelectChange"],[3,"nzTitle"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],["nzSize","small",3,"nzColumn"],["nzTitle","Entrez Symbol"],["nzTitle","UniProtKB ID"],["nzTitle","Chromosome"],["nzTitle","Strand"],["nzTitle","Start"],["nzTitle","Stop"],["nzBordered","true","nzSize","small",3,"nzColumn"],["nzTitle","Aliases"],["nzTitle","Protein Domains"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzTitle","Pathways"],["nzSize","small",3,"nzData","nzScroll","nzFrontPagination","nzShowPagination"],["proteinDomainsTable",""],["nz-virtual-scroll",""],["pathwaysTable",""],["width","90%"],["width","10%"],[1,"button-col"],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href",4,"ngIf","ngIfElse"],["noPathwayLink",""],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href"]],template:function(e,o){1&e&&n.YNc(0,Fe,13,10,"ng-container",0),2&e&&n.Q6J("ngIf",o.info)},dependencies:[d.O5,d.RF,d.n9,E.bd,E._i,nn.xH,nn.xw,U.N8,U.Uo,U._C,U.Om,U.p0,U.$Z,U.zu,M.ZU,X.R7,X.uj],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]});var cn,Ye=a(5105);function $e(t,e){if(1&t&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&t){const o=n.oxw(3).ngIf;n.xp6(1),n.hij("(",o.length," displayed)")}}function De(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"span",8),n._uU(2),n.qZA(),n.YNc(3,$e,2,1,"span",9),n.BQk()),2&t){const o=e.ngIf,c=n.oxw(2).ngIf;n.xp6(2),n.hij("",o," Total"),n.xp6(1),n.Q6J("ngIf",o>c.length)}}function je(t,e){if(1&t&&(n.YNc(0,De,4,2,"ng-container",1),n.ALo(1,"ngrxPush")),2&t){const o=n.oxw(2);n.Q6J("ngIf",n.lcZ(1,1,o.totalMolecularProfiles$))}}function Be(t,e){if(1&t){const o=n.EpF();n.TgZ(0,"i",20),n.NdJ("click",function(){n.CHM(o);const s=n.oxw(4);return s.mpNameFilter=void 0,n.KtG(s.onModelUpdated())}),n.qZA()}}function Re(t,e){if(1&t&&n.YNc(0,Be,1,0,"i",19),2&t){const o=n.oxw(3);n.Q6J("ngIf",o.mpNameFilter)}}function We(t,e){if(1&t){const o=n.EpF();n.TgZ(0,"form",10)(1,"nz-form-item")(2,"nz-form-label"),n._uU(3,"Filter"),n.qZA(),n.TgZ(4,"nz-form-control")(5,"nz-input-group",11)(6,"input",12),n.NdJ("ngModelChange",function(){n.CHM(o);const s=n.oxw(2);return n.KtG(s.onModelUpdated())})("ngModelChange",function(s){n.CHM(o);const p=n.oxw(2);return n.KtG(p.mpNameFilter=s)}),n.qZA(),n.YNc(7,Re,1,1,"ng-template",null,13,n.W1O),n.qZA()()(),n.TgZ(9,"nz-form-item")(10,"nz-form-label"),n._uU(11,"Show"),n.qZA(),n.TgZ(12,"nz-form-control")(13,"nz-select",14),n.NdJ("ngModelChange",function(s){n.CHM(o);const p=n.oxw(2);return n.KtG(p.onMolecularProfileStatusFilterChanged(s))})("ngModelChange",function(s){n.CHM(o);const p=n.oxw(2);return n.KtG(p.statusFilter=s)}),n._UZ(14,"nz-option",15)(15,"nz-option",16)(16,"nz-option",17)(17,"nz-option",18),n.qZA()()()()}if(2&t){const o=n.MAs(8),c=n.oxw(2);n.xp6(5),n.Q6J("nzSuffix",o)("nzCompact",!0),n.xp6(1),n.Q6J("ngModel",c.mpNameFilter),n.xp6(7),n.Q6J("ngModel",c.statusFilter)}}function Ke(t,e){if(1&t&&n._UZ(0,"cvc-molecular-profile-tag",22),2&t){const o=n.oxw().$implicit;n.Q6J("molecularProfile",o)}}function He(t,e){if(1&t&&(n.ynx(0),n.YNc(1,Ke,1,1,"cvc-molecular-profile-tag",21),n.BQk()),2&t){const o=e.$implicit;n.xp6(1),n.Q6J("ngIf",o)}}function Xe(t,e){if(1&t){const o=n.EpF();n.TgZ(0,"nz-row",24)(1,"button",25),n.NdJ("click",function(){n.CHM(o);const s=n.oxw().ngIf,p=n.oxw(2);return n.KtG(p.fetchMore(s.endCursor))}),n._uU(2,"Load More "),n.qZA(),n.TgZ(3,"nz-select",26),n.NdJ("ngModelChange",function(s){n.CHM(o);const p=n.oxw(3);return n.KtG(p.pageSize=s)}),n._UZ(4,"nz-option",27)(5,"nz-option",28)(6,"nz-option",29),n.qZA()()}if(2&t){const o=n.oxw(3);n.xp6(3),n.Q6J("ngModel",o.pageSize),n.xp6(1),n.Q6J("nzValue",50),n.xp6(1),n.Q6J("nzValue",100),n.xp6(1),n.Q6J("nzValue",300)}}function qe(t,e){if(1&t&&(n.ynx(0),n.YNc(1,Xe,7,4,"nz-row",23),n.BQk()),2&t){const o=e.ngIf;n.xp6(1),n.Q6J("ngIf",o.hasNextPage&&o.endCursor)}}function ke(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,je,2,3,"ng-template",null,3,n.W1O),n.YNc(4,We,18,4,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-row")(7,"nz-col",5)(8,"cvc-tag-list",6),n.YNc(9,He,2,1,"ng-container",7),n.qZA()()(),n.YNc(10,qe,2,1,"ng-container",1),n.ALo(11,"ngrxPush"),n.qZA(),n.BQk()),2&t){const o=e.ngIf,c=n.MAs(3),s=n.MAs(5),p=n.oxw();n.xp6(1),n.Q6J("nzTitle",c)("nzExtra",s),n.xp6(8),n.Q6J("ngForOf",o),n.xp6(1),n.Q6J("ngIf",n.lcZ(11,4,p.pageInfo$))}}let Nn=((cn=class{constructor(e){this.gql=e,this.statusFilter=z.MsG.All,this.debouncedQuery=new m.x,this.pageSize=50}ngOnInit(){if(void 0===this.geneId)throw new Error("Must pass a gene id into molecular profile menu component.");this.initialQueryVars={geneId:this.geneId,evidenceStatusFilter:this.statusFilter,first:this.pageSize},this.queryRef$=this.gql.watch(this.initialQueryVars),this.result$=this.queryRef$.valueChanges,this.loading$=this.result$.pipe((0,J.U)(({data:e,loading:o})=>o&&!e),(0,L.h)(F.ep),(0,u.O)(!0)),this.connection$=this.result$.pipe((0,J.U)(e=>e.data?.molecularProfiles),(0,L.h)(F.ep)),this.pageInfo$=this.connection$.pipe((0,J.U)(e=>e.pageInfo),(0,L.h)(F.ep)),this.menuMolecularProfiles$=this.connection$.pipe((0,J.U)(e=>e.edges.map(o=>o.node),(0,L.h)(F.ep))),this.totalMolecularProfiles$=this.connection$.pipe((0,J.U)(e=>e.totalCount)),this.debouncedQuery.pipe((0,Vn.b)(500),(0,Cn.t)(this)).subscribe(e=>this.refresh())}onModelUpdated(){this.debouncedQuery.next()}onMolecularProfileStatusFilterChanged(e){this.queryRef$.refetch({first:this.pageSize,evidenceStatusFilter:e})}refresh(){if(void 0===this.geneId)throw new Error("Must pass a gene id into molecular profile menu component.");this.queryRef$.refetch({geneId:this.geneId,mpName:this.mpNameFilter,first:this.pageSize})}fetchMore(e){this.queryRef$.fetchMore({variables:{first:this.pageSize,after:e}})}}).\u0275fac=function(e){return new(e||cn)(n.Y36(z.lcA))},cn.\u0275cmp=n.Xpm({type:cn,selectors:[["cvc-molecular-profile-menu"]],inputs:{geneId:"geneId"},decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],[3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],["size","sm"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-form","","nzLayout","inline","id","variant-filters"],["id","name-filter-group","nzSize","small",3,"nzSuffix","nzCompact"],["type","text","nz-input","","placeholder","Molecular Profile Names","name","name-filter",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["nzSize","small","id","status-filter","name","statusFilter",2,"width","320px",3,"ngModel","ngModelChange"],["nzValue","WITH_ACCEPTED","nzLabel","Molecular Profiles with accepted evidence",2,"width","100%"],["nzValue","WITH_ACCEPTED_OR_SUBMITTED","nzLabel","Molecular Profiles with accepted and/or submitted evidence","selected","",2,"width","100%"],["nzValue","WITH_SUBMITTED","nzLabel","Molecular Profiles with submitted evidence",2,"width","100%"],["nzValue","ALL","nzLabel","All Molecular Profiles",2,"width","100%"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],[3,"molecularProfile",4,"ngIf"],[3,"molecularProfile"],["id","load-more-btn",4,"ngIf"],["id","load-more-btn"],["nz-button","","nzType","default","nzSize","small",2,"width","95%",3,"click"],["nzSize","small",2,"width","5%",3,"ngModel","ngModelChange"],["nzLabel","50",3,"nzValue"],["nzLabel","100",3,"nzValue"],["nzLabel","300",3,"nzValue"]],template:function(e,o){1&e&&(n.TgZ(0,"nz-spin",0),n.ALo(1,"ngrxPush"),n.YNc(2,ke,12,6,"ng-container",1),n.ALo(3,"ngrxPush"),n.qZA()),2&e&&(n.Q6J("nzSpinning",n.lcZ(1,2,o.loading$)),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,4,o.menuMolecularProfiles$)))},dependencies:[d.sg,d.O5,P._Y,P.Fj,P.JJ,P.JL,P.On,P.F,Z.ix,gn.w,_n.dQ,x.t3,x.SK,E.bd,I.Ls,Q.Lr,Q.Nx,Q.iK,Q.Fd,j.Zp,j.gB,j.ke,q.Ip,q.Vq,xn.W,M.ZU,Ye.p,On.$,f.fM],styles:["[_nghost-%COMP%]{display:block}#variant-filters[_ngcontent-%COMP%] #name-filter-group[_ngcontent-%COMP%]{width:175px}#variant-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#load-more-btn[_ngcontent-%COMP%]{margin-top:12px}"]}),cn);function nt(t,e){if(1&t&&(n.TgZ(0,"p",23),n._uU(1),n.qZA()),2&t){const o=n.oxw().ngIf;n.Q6J("nzEllipsisRows",8),n.xp6(1),n.hij(" ",o.description," ")}}function et(t,e){1&t&&n._UZ(0,"cvc-empty-revisable",24)}function tt(t,e){1&t&&n._UZ(0,"cvc-source-tag",26),2&t&&n.Q6J("source",e.$implicit)}function ot(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,tt,1,1,"cvc-source-tag",25),n.qZA(),n.BQk()),2&t){const o=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",o.sources)}}function at(t,e){1&t&&(n.TgZ(0,"span",27),n._uU(1,"None specified"),n.qZA())}function it(t,e){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const o=e.$implicit;n.xp6(1),n.Oqu(o)}}function rt(t,e){if(1&t&&(n.TgZ(0,"nz-descriptions-item",28),n.YNc(1,it,2,1,"nz-tag",29),n.qZA()),2&t){const o=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",o.geneAliases)}}function ct(t,e){1&t&&(n.TgZ(0,"span",27),n._uU(1,"None specified"),n.qZA())}Nn=(0,Gn.gn)([(0,Cn.c)()],Nn);const st=function(){return[8,16]},lt=function(){return[8,8]};function pt(t,e){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-row",1)(4,"nz-col",3)(5,"nz-descriptions",4)(6,"nz-descriptions-item",5),n.YNc(7,nt,2,2,"p",6),n.YNc(8,et,1,0,"ng-template",null,7,n.W1O),n.qZA()()(),n.TgZ(10,"nz-col",3)(11,"nz-descriptions",8)(12,"nz-descriptions-item",9),n.YNc(13,ot,3,1,"ng-container",10),n.YNc(14,at,2,0,"ng-template",null,11,n.W1O),n.qZA(),n.YNc(16,rt,2,1,"nz-descriptions-item",12),n.YNc(17,ct,2,0,"ng-template",null,13,n.W1O),n.TgZ(19,"nz-descriptions-item",14)(20,"cvc-tag-list")(21,"cvc-link-tag",15),n._uU(22," DGIdb "),n.qZA(),n.TgZ(23,"cvc-link-tag",15),n._uU(24," ProteinPaint "),n.qZA()()()()()()(),n.TgZ(25,"nz-col",2),n._UZ(26,"cvc-my-gene-info",16),n.qZA(),n.TgZ(27,"nz-col",17)(28,"nz-tabset",18)(29,"nz-tab",19),n._UZ(30,"cvc-molecular-profile-menu",20),n.qZA(),n.TgZ(31,"nz-tab",21),n._UZ(32,"cvc-variant-menu",22),n.qZA()()()(),n.BQk()),2&t){const o=e.ngIf,c=n.MAs(9),s=n.MAs(15),p=n.MAs(18);n.xp6(1),n.Q6J("nzGutter",n.DdM(19,st)),n.xp6(2),n.Q6J("nzGutter",n.DdM(20,lt)),n.xp6(2),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",o.description)("ngIfElse",c),n.xp6(4),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",o.sources.length>0)("ngIfElse",s),n.xp6(3),n.Q6J("ngIf",o.geneAliases.length>0)("ngIfElse",p),n.xp6(5),n.Q6J("href","http://dgidb.org/genes/"+o.name)("tooltip","View "+o.name+" on DGIdb"),n.xp6(2),n.Q6J("href","https://pecan.stjude.cloud/variants/protein-paint/?gene="+o.name)("tooltip","View "+o.name+" on ProteinPaint"),n.xp6(3),n.Q6J("geneInfo",o.myGeneInfoDetails),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(3),n.Q6J("geneId",o.id),n.xp6(2),n.Q6J("geneId",o.id)("geneName",o.name)}}class hn{constructor(e,o,c){this.gql=e,this.viewerService=o,this.route=c,this.routeSub=this.route.params.subscribe(s=>{this.viewer$=this.viewerService.viewer$;let C=this.gql.watch({geneId:+s.geneId}).valueChanges;this.subscribableEntity={id:+s.geneId,entityType:z.o71.Gene},this.gene$=C.pipe((0,w.j)("data","gene")),this.loading$=C.pipe((0,w.j)("loading"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}hn.\u0275fac=function(e){return new(e||hn)(n.Y36(z.cCu),n.Y36(zn.a),n.Y36(v.gz))},hn.\u0275cmp=n.Xpm({type:hn,selectors:[["cvc-genes-summary"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzGutter"],["nzSpan","12"],["nzSpan","24"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["noSources",""],["nzTitle","Aliases",4,"ngIf","ngIfElse"],["noAliases",""],["nzTitle","Resources"],[3,"href","tooltip"],[3,"geneInfo"],[3,"nzSpan"],["nzType","card"],["nzTitle","Molecular Profiles"],[3,"geneId"],["nzTitle","Variants"],[3,"geneId","geneName"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],[3,"source",4,"ngFor","ngForOf"],[3,"source"],["nz-typography","","nzType","secondary"],["nzTitle","Aliases"],[4,"ngFor","ngForOf"]],template:function(e,o){1&e&&(n.YNc(0,pt,33,21,"ng-container",0),n.ALo(1,"ngrxPush")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,o.gene$))},dependencies:[d.sg,d.O5,x.t3,x.SK,X.R7,X.uj,M.ZU,wn.j,nn.xH,nn.xw,_e.J,On.$,me.l,de.T,Qn,vn,Nn,f.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]});const gt=[{path:"",component:mn,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:hn,data:{breadcrumb:"Summary"}},{path:"comments",component:b,data:{breadcrumb:"Comments"}},{path:"revisions",component:fn,data:{breadcrumb:"Revisions"}},{path:"flags",component:un,data:{breadcrumb:"Summary"}},{path:"events",component:dn,data:{breadcrumb:"Events"}}]}];class sn{}sn.\u0275fac=function(e){return new(e||sn)},sn.\u0275mod=n.oAB({type:sn}),sn.\u0275inj=n.cJS({imports:[v.Bz.forChild(gt),on,O,H,K,W,v.Bz]});class ln{}ln.\u0275fac=function(e){return new(e||ln)},ln.\u0275mod=n.oAB({type:ln}),ln.\u0275inj=n.cJS({imports:[d.ez,sn,f._N,f.pP,Z.sL,I.PV,y.KJ,T.zf,M.ZJ,x.Jb,S.s,D.c,r.m,N.Z,B.D,$.g,i.t]})}}]); \ No newline at end of file diff --git a/server/public/5358.970c0a5a4c46ecf3.js b/server/public/5358.970c0a5a4c46ecf3.js new file mode 100644 index 000000000..4cafab7a3 --- /dev/null +++ b/server/public/5358.970c0a5a4c46ecf3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5358],{5358:(k,g,a)=>{a.r(g),a.d(g,{ReleasesModule:()=>L});var s=a(6814),l=a(2574),c=a(6254),d=a(95),h=a(551),r=a(3740),C=a(6067),f=a(3903),u=a(2392),v=a(2419),m=a(2840),z=a(2962),e=a(5879);let M=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[s.ez,m.sL,c.KJ,d.Jb,h.PV,r.HQ,l.zf,u.ZJ,f.L,z.vh,v.D,C.X]}),t})();var p=a(4190),x=a(5676),_=a(2185),T=a(7921),Z=a(2181),y=a(7398),w=a(313),P=a(855),b=a(3145),A=a(3317),O=a(8091);function V(t,o){1&t&&(e.TgZ(0,"a",11),e._UZ(1,"i",12),e._uU(2," View Data Releases Docs "),e.qZA())}function R(t,o){1&t&&(e.TgZ(0,"nz-row"),e._UZ(1,"nz-alert",13),e.qZA())}function U(t,o){1&t&&(e.TgZ(0,"nz-row")(1,"p",14),e._uU(2," The CIViC server produces nightly and monthly releases that include a subset of all primary entity records (Genes, Variants, Molecular Profiles, Evidence, Variant Groups, and Assertions). Both TSV and VCF versions are provided below - just locate the specific entity type and data format you wish to obtain, then click on the relevant button to download. "),e.qZA(),e.TgZ(3,"p",14),e._uU(4," These records do not contain user profile data, discussion and commentary, data provenance and revision history, or information dynamically obtained from resources external to CIViC (e.g. MyVariant.Info, MyGene.Info). Variant TSV releases only include variant records with accepted evidence records. Variant TSV releases from before August 2020 include all variant records, irregardless of the status of the associated evidence items. Evidence TSV releases only include accepted evidence items and exclude pending or rejected evidence items. Assertion TSV releases only include accepted assertions. Accepted VCF releases include only variants with accepted evidence items and/or accepted assertions. Accepted & Submitted VCF releases include Variants with accepted and/or submitted evidence items and/or assertions. "),e.qZA(),e.TgZ(5,"p",14),e._uU(6," In order to comply with the VCF specification, the VCFs can only include variants with complete coordinates. By contrast, the TSV variants file may contain variants with coordinates that have not been fully curated in CIViC. Additional variants are of types that can not be properly represented in VCF format. Thus, the number of variants will be lower in the VCFs compared to the number of variants in the TSV. "),e.qZA(),e.TgZ(7,"p",14),e._uU(8," As with all curated evidence and interpretations of CIViC, the contents of these files are made freely available, without restriction under the CC0 license ("),e.TgZ(9,"a",15),e._uU(10,"Creative Commons Public Domain Dedication, CC0 1.0 Universal"),e.qZA(),e._uU(11,"). "),e.qZA(),e.TgZ(12,"p",14),e._uU(13," If you use CIViC content, please consider citing the "),e.TgZ(14,"a",16),e._uU(15,"CIViC publication"),e.qZA(),e._uU(16,". "),e.qZA()())}function I(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Genes TSV "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.geneTsv.path)}}function S(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Variants TSV "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.variantTsv.path)}}function F(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Molecular Profiles TSV "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.molecularProfileTsv.path)}}function J(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Evidence TSV "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.evidenceTsv.path)}}function Q(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Variant Groups TSV "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.variantGroupTsv.path)}}function N(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Assertions TSV "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.assertionTsv.path)}}function E(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Accepted Variants VCF "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.acceptedVariantsVcf.path)}}function D(t,o){if(1&t&&(e.TgZ(0,"td")(1,"cvc-link-tag",25),e._uU(2," Accepted & Submitted Variants VCF "),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.acceptedAndSubmittedVariantsVcf.path)}}function $(t,o){if(1&t&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.YNc(3,I,3,1,"td",24),e.YNc(4,S,3,1,"td",24),e.YNc(5,F,3,1,"td",24),e.YNc(6,J,3,1,"td",24),e.YNc(7,Q,3,1,"td",24),e.YNc(8,N,3,1,"td",24),e.YNc(9,E,3,1,"td",24),e.YNc(10,D,3,1,"td",24),e.qZA()),2&t){const n=o.$implicit;e.oxw();const i=e.MAs(31);e.xp6(2),e.Oqu(n.name),e.xp6(1),e.Q6J("ngIf",n.geneTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.variantTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.molecularProfileTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.evidenceTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.variantGroupTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.assertionTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.acceptedVariantsVcf)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.acceptedAndSubmittedVariantsVcf)("ngIfElse",i)}}function q(t,o){1&t&&(e.TgZ(0,"td",26),e._uU(1," -- "),e.qZA())}const Y=function(){return[]};function B(t,o){if(1&t&&(e.TgZ(0,"nz-row")(1,"nz-col",17)(2,"div",18)(3,"nz-card",19)(4,"nz-table",20,21),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.TgZ(8,"thead")(9,"tr")(10,"th"),e._uU(11,"Date"),e.qZA(),e.TgZ(12,"th"),e._uU(13,"Genes"),e.qZA(),e.TgZ(14,"th"),e._uU(15,"Variants"),e.qZA(),e.TgZ(16,"th"),e._uU(17,"Molecular Profiles"),e.qZA(),e.TgZ(18,"th"),e._uU(19,"Evidence"),e.qZA(),e.TgZ(20,"th"),e._uU(21,"Variant Groups"),e.qZA(),e.TgZ(22,"th"),e._uU(23,"Assertions"),e.qZA(),e.TgZ(24,"th"),e._uU(25,"Accepted Variants VCF"),e.qZA(),e.TgZ(26,"th"),e._uU(27,"Accepted & Submitted Variants VCF"),e.qZA()()(),e.TgZ(28,"tbody"),e.YNc(29,$,11,17,"tr",22),e.YNc(30,q,2,0,"ng-template",null,23,e.W1O),e.qZA()()()()()()),2&t){const n=e.MAs(5),i=e.oxw();e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzData",e.lcZ(6,7,i.releases$)||e.DdM(11,Y))("nzLoading",e.lcZ(7,9,i.loading$))("nzFrontPagination",!0)("nzShowPagination",!0)("nzPageSize",5),e.xp6(25),e.Q6J("ngForOf",n.data)}}const G=[{path:"",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-releases"]],decls:1,vars:0,template:function(n,i){1&n&&e._UZ(0,"router-outlet")},dependencies:[p.lC],encapsulation:2}),t})(),children:[{path:"",redirectTo:"main",pathMatch:"full"},{path:"main",component:(()=>{class t{constructor(n){this.gql=n}ngOnInit(){let n=this.gql.watch().valueChanges;this.loading$=n.pipe((0,_.j)("loading"),(0,T.O)(!0)),this.releases$=n.pipe((0,_.j)("data"),(0,Z.h)(x.lm),(0,y.U)(i=>i.dataReleases))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(w.db2))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-releases-main"]],decls:18,vars:1,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","download"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nzDirection","vertical","nzSpace","large"],[4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nzType","info","nzMessage","Please Note","nzDescription","TSV and VCF releases of CIViC data are provided at regular intervals for the convenience of those who require the use of a static file. For most users, we recomend utilizing our API which. Using the API will provide you with the richest metadata about CIViC entries as well as the most current versions of all evidence statements. In fact, the entire CIViC web frontend runs off the exact same API that is available for public use."],["nz-typography",""],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],[3,"nzSpan"],[1,"content"],["nzTitle","Browse All Data Releases"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination","nzPageSize"],["releasesTable",""],[4,"ngFor","ngForOf"],["noData",""],[4,"ngIf","ngIfElse"],["iconName","download",3,"href"],["nz-typography","","nzType","secondary"]],template:function(n,i){1&n&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),e._UZ(5,"i",3),e.qZA(),e.TgZ(6,"nz-col",4)(7,"h2"),e._uU(8,"Data Releases"),e.qZA(),e.TgZ(9,"p",5),e._uU(10," The CIViC server produces nightly and monthly releases that include a subset of all primary entity records. "),e.qZA()(),e.TgZ(11,"nz-col",6)(12,"nz-space",7),e.YNc(13,V,3,0,"a",8),e.qZA()()(),e.TgZ(14,"nz-space",9),e.YNc(15,R,2,0,"nz-row",10),e.YNc(16,U,17,0,"nz-row",10),e.YNc(17,B,32,12,"nz-row",10),e.qZA()()()),2&n&&(e.xp6(9),e.Q6J("nzEllipsisRows",2))},dependencies:[s.sg,s.O5,m.ix,P.w,c.$O,c.u5,d.t3,d.SK,h.Ls,r.N8,r.Uo,r._C,r.Om,r.p0,r.$Z,l.NU,l.$1,u.ZU,f.r,z.bd,b.I,A.l,O.fM],styles:["[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"]}),t})(),data:{breadcrumb:"Downloads"}}]}];let j=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[p.Bz.forChild(G),p.Bz]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[s.ez,j,M]}),t})()}}]); \ No newline at end of file diff --git a/server/public/5369.bd7c3140e8b78e84.js b/server/public/5369.bd7c3140e8b78e84.js new file mode 100644 index 000000000..d6460bd77 --- /dev/null +++ b/server/public/5369.bd7c3140e8b78e84.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5369],{1218:(O,v,e)=>{e.d(v,{i:()=>T});var l=e(6814),g=e(4190),y=e(5695),p=e(7417),f=e(551),c=e(1855),d=e(2524),_=e(3640),h=e(3146),t=e(5879);let T=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[l.ez,g.Bz,_.mS,y.X,p.$6,f.PV,c.f,d.s,h.C]}),u})()},1106:(O,v,e)=>{e.d(v,{L:()=>i});var l=e(6814),g=e(4190),y=e(5695),p=e(551),f=e(95),c=e(6067),d=e(8125),_=e(2962),h=e(1022),t=e(5879);let T=(()=>{class r{}return r.\u0275fac=function(b){return new(b||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[l.ez,_.vh,f.Jb,d.q6,c.X,h.H]}),r})();var u=e(7417);let i=(()=>{class r{}return r.\u0275fac=function(b){return new(b||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[l.ez,g.Bz,y.X,p.PV,u.$6,T]}),r})()},7950:(O,v,e)=>{e.d(v,{x:()=>u});var l=e(6814),g=e(366),y=e(5695),p=e(7417),f=e(3396),c=e(1106),d=e(5956),_=e(7528),h=e(6061),t=e(3717),T=e(5879);let u=(()=>{class i{}return i.\u0275fac=function(C){return new(C||i)},i.\u0275mod=T.oAB({type:i}),i.\u0275inj=T.cJS({imports:[l.ez,y.X,p.$6,g.$,h.N,f.Q,c.L,d.U,_.Q,t.M]}),i})()},3717:(O,v,e)=>{e.d(v,{M:()=>u});var l=e(6814),g=e(4190),y=e(5695),p=e(2962),f=e(6067),c=e(8125),d=e(551),_=e(2524),h=e(5879);let t=(()=>{class i{}return i.\u0275fac=function(C){return new(C||i)},i.\u0275mod=h.oAB({type:i}),i.\u0275inj=h.cJS({imports:[l.ez,d.PV,p.vh,c.q6,_.s,f.X]}),i})();var T=e(7417);let u=(()=>{class i{}return i.\u0275fac=function(C){return new(C||i)},i.\u0275mod=h.oAB({type:i}),i.\u0275inj=h.cJS({imports:[l.ez,g.Bz,d.PV,y.X,T.$6,t]}),i})()},4010:(O,v,e)=>{e.d(v,{F:()=>y});var g=e(5879);let y=(()=>{class p{transform(c,d="display-string"){return void 0===c?"":"display-string"===d?function l(p){switch(p){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return p}}(c):`civic-${c.replace(/_/g,"").toLowerCase()}`}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275pipe=g.Yjl({name:"therapyInteractionEnumDisplay",type:p,pure:!0}),p})()},1112:(O,v,e)=>{e.r(v),e.d(v,{PhenotypesModule:()=>Yt});var l=e(6814),g=e(4190),y=e(6067),p=e(2419),f=e(2524),c=e(551),d=e(6254),_=e(8125),h=e(2574),t=e(5879);let T=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,g.Bz,d.KJ,c.PV,h.zf,_.q6,f.s,y.X,p.D]}),n})();var u=e(1403),i=e(5895),r=e(95),C=e(9333);let b=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,r.Jb,C.h,u.Q,i.s]}),n})();var P=e(3740),Y=e(7856),V=e(3043),S=e(2840),E=e(2392),$=e(2962),Q=e(6109),F=e(5695),X=e(9175),G=e(4742),k=e(9154),q=e(9312),tt=e(2989);let nt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,P.HQ,S.sL,c.PV,E.ZJ,$.vh,Q.cg,F.X,f.s,k.y,q.w,tt.T,X.n,G.c,Y.k,V.y,y.X]}),n})(),et=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,d.KJ,c.PV,r.Jb,S.sL,h.zf,E.ZJ,f.s,p.D,nt]}),n})();var ot=e(7921),x=e(4223),Z=e(313),R=e(3317),K=e(3145),N=e(8091),at=e(406),H=e(2616);function rt(n,a){if(1&n&&(t.TgZ(0,"nz-descriptions",9)(1,"nz-descriptions-item",10),t._uU(2),t.ALo(3,"ifEmpty"),t.qZA()()),2&n){const o=t.oxw().ngIf;t.Q6J("nzBordered",!0)("nzColumn",1),t.xp6(2),t.hij(" ",t.xi3(3,3,o.description,"--")," ")}}function it(n,a){1&n&&t._UZ(0,"p")}function st(n,a){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),t._UZ(4,"i",3),t.ALo(5,"entityColor"),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-extra")(8,"cvc-link-tag",4),t._uU(9),t.qZA()(),t.TgZ(10,"nz-page-header-content")(11,"div",5)(12,"nz-space",6),t.YNc(13,rt,4,6,"nz-descriptions",7),t.YNc(14,it,1,0,"p",8),t.qZA(),t._UZ(15,"router-outlet"),t.qZA()()(),t.BQk()),2&n){const o=a.ngIf;t.xp6(1),t.Q6J("displayName",o.name),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(5,5,"Phenotype")),t.xp6(2),t.hij(" ",o.name," "),t.xp6(2),t.Q6J("href",o.url),t.xp6(1),t.hij(" ",o.hpoId," ")}}let lt=(()=>{class n{constructor(o,s){this.route=o,this.gql=s,this.routeSub=this.route.params.subscribe(m=>{this.phenotypeId=+m.phenotypeId,this.queryRef=this.gql.watch({phenotypeId:this.phenotypeId});let z=this.queryRef.valueChanges;this.loading$=z.pipe((0,x.j)("loading"),(0,ot.O)(!0)),this.phenotype$=z.pipe((0,x.j)("data","phenotype"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(g.gz),t.Y36(Z.WGV))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-phenotypes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-phenotype",3,"nzTwotoneColor"],["tooltip","View in the HPO",3,"href"],[1,"content"],["nzDirection","vertical",2,"width","100%"],["nzLayout","vertical",3,"nzBordered","nzColumn",4,"nzSpaceItem"],[4,"nzSpaceItem"],["nzLayout","vertical",3,"nzBordered","nzColumn"],["nzTitle","Definition"]],template:function(o,s){1&o&&(t.YNc(0,st,16,7,"ng-container",0),t.ALo(1,"ngrxPush")),2&o&&t.Q6J("ngIf",t.lcZ(1,1,s.phenotype$))},dependencies:[l.O5,g.lC,d.$O,d.u9,d.u5,d.Jp,c.Ls,h.NU,h.$1,_.R7,_.uj,R.l,K.I,N.fM,at.D,H.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var M,w=e(855),ct=e(655),pt=e(4632),A=e(1791),W=e(5619),D=e(8645),U=e(5676),B=e(3997),dt=e(812),gt=e(836),I=e(2181),J=e(7398),ht=e(3620),mt=e(2460),ut=e(3489),ft=e(4997),vt=e(9857),yt=e(6753),zt=e(4764),_t=e(8516),Ct=e(3897);function Pt(n,a){}function Tt(n,a){if(1&n&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,Pt,0,0,"ng-template",6),t.qZA(),t.BQk()),2&n){t.oxw();const o=t.MAs(6),s=t.MAs(8),m=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",o)("nzExtra",s),t.xp6(1),t.Q6J("ngTemplateOutlet",m)}}function xt(n,a){}const Mt=function(n){return{height:n}};function Ot(n,a){if(1&n&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,xt,0,0,"ng-template",6),t.qZA()()),2&n){const o=t.oxw(),s=t.MAs(6),m=t.MAs(8),z=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,Mt,o.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",s)("nzExtra",m),t.xp6(1),t.Q6J("ngTemplateOutlet",z)}}function bt(n,a){if(1&n&&(t.TgZ(0,"cvc-link-tag",29),t._uU(1),t.qZA()),2&n){const o=t.oxw().$implicit;t.Q6J("href",o.url),t.xp6(1),t.hij(" ",o.hpoId," ")}}function At(n,a){1&n&&t._uU(0,"--")}function It(n,a){if(1&n&&(t.TgZ(0,"tr",24)(1,"td",20),t._UZ(2,"cvc-phenotype-tag",25),t.qZA(),t.TgZ(3,"td"),t.YNc(4,bt,2,2,"cvc-link-tag",26),t.YNc(5,At,1,0,"ng-template",null,27,t.W1O),t.qZA(),t.TgZ(7,"td",28),t._uU(8),t.qZA(),t.TgZ(9,"td",28),t._uU(10),t.qZA()()),2&n){const o=a.$implicit,s=t.MAs(6);t.xp6(2),t.Q6J("phenotype",o),t.xp6(2),t.Q6J("ngIf",o.hpoId)("ngIfElse",s),t.xp6(4),t.hij(" ",o.evidenceCount," "),t.xp6(2),t.hij(" ",o.assertionCount," ")}}const St=function(){return[]},Et=function(){return{x:"680px",y:"800px"}},j=function(){return["descend","ascend",null]};function Zt(n,a){if(1&n){const o=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(m){t.CHM(o);const z=t.oxw();return t.KtG(z.scrollEvent$.next(m))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(m){t.CHM(o);const z=t.oxw();return t.KtG(z.sortChange$.next(m))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," HPO ID "),t.qZA(),t.TgZ(12,"th",15),t._UZ(13,"i",16),t._uU(14," Count "),t.qZA(),t.TgZ(15,"th",17),t._UZ(16,"i",18),t._uU(17," Count "),t.qZA()(),t.TgZ(18,"tr",19)(19,"th",20)(20,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(m){t.CHM(o);const z=t.oxw();return t.KtG(z.hpoNameFilter=m)})("inputModelChange",function(){t.CHM(o);const m=t.oxw();return t.KtG(m.filterChange$.next())}),t.qZA()(),t.TgZ(21,"th")(22,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(m){t.CHM(o);const z=t.oxw();return t.KtG(z.hpoIdFilter=m)})("inputModelChange",function(){t.CHM(o);const m=t.oxw();return t.KtG(m.filterChange$.next())}),t.qZA()(),t._UZ(23,"th",22)(24,"th",22),t.qZA()(),t.TgZ(25,"tbody"),t.YNc(26,It,11,5,"ng-template",23),t.qZA()()}if(2&n){const o=t.oxw();t.Q6J("nzData",t.lcZ(2,23,o.row$)||t.DdM(31,St))("nzLoading",!t.lcZ(3,25,o.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",o.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,27,o.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,29,o.scrollIndex$))("nzVirtualForTrackBy",o.trackByIndex)("nzScroll",t.DdM(32,Et))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",o.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",o.sortColumns.HpoId)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",o.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(33,j)),t.xp6(3),t.Q6J("nzColumnKey",o.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(34,j)),t.xp6(5),t.Q6J("inputModel",o.hpoNameFilter),t.xp6(2),t.Q6J("inputModel",o.hpoIdFilter)}}function Dt(n,a){}function Ut(n,a){if(1&n&&(t.ynx(0),t.YNc(1,Dt,0,0,"ng-template",6),t.BQk()),2&n){const o=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",o.cvcTitleTemplate)}}function Bt(n,a){if(1&n&&(t.ynx(0),t._uU(1),t.BQk()),2&n){const o=t.oxw(2);t.xp6(1),t.hij(" ",o.cvcTitle," ")}}function Jt(n,a){if(1&n&&(t.YNc(0,Ut,2,1,"ng-container",30),t.YNc(1,Bt,2,1,"ng-container",30),t.TgZ(2,"span",31),t._UZ(3,"cvc-table-counts",32),t.qZA()),2&n){const o=t.oxw();t.Q6J("ngIf",o.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",o.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",o.connection$)}}function Lt(n,a){1&n&&(t.TgZ(0,"nz-tag",35),t._UZ(1,"i",36),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function $t(n,a){if(1&n&&(t.YNc(0,Lt,4,0,"nz-tag",33),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",34),t.ALo(3,"ngrxPush")),2&n){const o=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,o.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,o.noMoreRows$))}}let L=((M=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,o){this.gql=a,this.cdr=o,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=Z.lYz,this.noMoreRows$=new W.X(!1),this.scrollEvent$=new W.X("stop"),this.sortChange$=new D.x,this.filterChange$=new D.x,this.scrollIndex$=new D.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,x.j)("loading"),(0,B.x)(),(0,dt.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,x.j)("loading"),(0,B.x)(),(0,gt.T)(2)),this.connection$=this.result$.pipe((0,x.j)("data","phenotypes"),(0,I.h)(U.ep)),this.row$=this.connection$.pipe((0,x.j)("edges"),(0,I.h)(U.ep),(0,J.U)(a=>a.map(o=>o.node))),this.pageInfo$=this.connection$.pipe((0,x.j)("pageInfo"),(0,I.h)(U.ep)),this.sortChange$.pipe((0,A.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,pt._)(a)})}),this.filterChange$.pipe((0,ht.b)(500),(0,A.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,J.U)(a=>"stop"!==a),(0,B.x)(),(0,A.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,I.h)(a=>"bottom"===a),(0,mt.M)(this.pageInfo$),(0,J.U)(([a,o])=>o),(0,A.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.hpoNameFilter,hpoId:this.hpoIdFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(a,o){return o?.id}}).\u0275fac=function(a){return new(a||M)(t.Y36(Z.B97),t.Y36(t.sBO))},M.\u0275cmp=t.Xpm({type:M,selectors:[["cvc-phenotypes-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","350px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100%",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"phenotype"],[3,"href",4,"ngIf","ngIfElse"],["noHpo",""],["nzRight","","nzAlign","right"],[3,"href"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,o){if(1&a&&(t.YNc(0,Tt,3,3,"ng-container",0),t.YNc(1,Ot,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Zt,27,35,"ng-template",null,2,t.W1O),t.YNc(5,Jt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,$t,4,6,"ng-template",null,4,t.W1O)),2&a){const s=t.MAs(2);t.Q6J("ngIf",!o.cvcHeight)("ngIfElse",s)}},dependencies:[l.O5,l.tP,l.PC,P.N8,P.qD,P.Uo,P._C,P.Om,P.p0,P.$Z,P.zu,P.qn,P.UX,w.w,c.Ls,$.bd,Q.SY,F.j,ut.H,ft.y,vt.B,yt.D,zt.q,_t.p,Ct.i,R.l,N.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),M);function Qt(n,a){1&n&&(t.TgZ(0,"a",14),t._UZ(1,"i",15),t._uU(2," View Associated Phenotype Docs "),t.qZA())}function Ft(n,a){1&n&&(t.TgZ(0,"a",16),t._UZ(1,"i",15),t._uU(2," View Phenotype Curation Docs "),t.qZA())}L=(0,ct.gn)([(0,A.c)()],L);let Rt=(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["phenotypes-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-phenotype",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Associated Phenotypes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock",""]],template:function(o,s){1&o&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Associated Phenotypes"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," Phenotypes are symptoms or abnormalities that are encountered in human disease, optionally associated with Evidence Items and known to the Human Phenotype Ontology database. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Qt,3,0,"a",8),t.YNc(15,Ft,3,0,"a",9),t.qZA()()(),t.TgZ(16,"div",10)(17,"div",11)(18,"div",12),t._UZ(19,"cvc-phenotypes-table",13),t.qZA()()()()()),2&o&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"Phenotype")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},dependencies:[d.$O,d.u5,c.Ls,r.t3,r.SK,S.ix,w.w,h.NU,h.$1,E.ZU,K.I,L,H.a],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var Kt=e(6822),Nt=e(1826);const Ht=function(){return[8,16]};function wt(n,a){if(1&n&&(t.TgZ(0,"nz-row",1)(1,"nz-col",2),t._UZ(2,"cvc-assertions-table",3),t.qZA(),t.TgZ(3,"nz-col",2),t._UZ(4,"cvc-evidence-table",4),t.qZA()()),2&n){const o=t.oxw();t.Q6J("nzGutter",t.DdM(5,Ht)),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("phenotypeId",o.phenotypeId),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("phenotypeId",o.phenotypeId)}}const Wt=[{path:"",component:(()=>{class n{constructor(){}ngOnInit(){}}return n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-phenotypes"]],decls:1,vars:0,template:function(o,s){1&o&&t._UZ(0,"router-outlet")},dependencies:[g.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Rt,data:{breadcrumb:"Home"}},{path:":phenotypeId",component:lt,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class n{constructor(o){this.route=o,this.routeSub=this.route.params.subscribe(s=>{this.phenotypeId=+s.phenotypeId})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(o){return new(o||n)(t.Y36(g.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-phenotypes-summary"]],decls:1,vars:1,consts:[[3,"nzGutter",4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],["cvcHeight","400","cvcTitle","Phenotype Assertions",3,"phenotypeId"],["cvcTitle","Phenotype Evidence",3,"phenotypeId"]],template:function(o,s){1&o&&t.YNc(0,wt,5,6,"nz-row",0),2&o&&t.Q6J("ngIf",s.phenotypeId)},dependencies:[l.O5,r.t3,r.SK,Kt.a,Nt.x],styles:["[_nghost-%COMP%]{display:block}"]}),n})(),data:{breadcrumb:"Summary"}}]}]}];let jt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[g.Bz.forChild(Wt),g.Bz]}),n})(),Yt=(()=>{class n{}return n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,g.Bz,jt,et,T,b]}),n})()}}]); \ No newline at end of file diff --git a/server/public/5376.2cece4bcacd26b39.js b/server/public/5376.2cece4bcacd26b39.js deleted file mode 100644 index ce04e86cc..000000000 --- a/server/public/5376.2cece4bcacd26b39.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5376],{2268:(Jn,G,o)=>{o.d(G,{O:()=>x});var p=o(6654),W=o(9771),r=o(4650),I=o(6895),K=o(9116),X=o(6672),nn=o(6581),tn=o(1102),O=o(285),en=o(1730),an=o(160);function on(_,g){}function rn(_,g){if(1&_&&(r.ynx(0),r.TgZ(1,"a",4),r.YNc(2,on,0,0,"ng-template",5),r.qZA(),r.BQk()),2&_){const s=r.oxw(),m=r.MAs(2);r.xp6(1),r.Q6J("routerLink",s.evidence.link),r.xp6(1),r.Q6J("ngTemplateOutlet",m)}}function cn(_,g){}function _n(_,g){if(1&_&&r._UZ(0,"cvc-evidence-popover",9),2&_){const s=r.oxw(3);r.Q6J("evidenceId",s.evidence.id)}}function z(_,g){if(1&_&&r.YNc(0,_n,1,1,"cvc-evidence-popover",8),2&_){const s=r.oxw(2);r.Q6J("ngIf",s.enablePopover)}}const C=function(_,g,s){return{rejected:_,submitted:g,accepted:s}};function Z(_,g){if(1&_&&(r.TgZ(0,"nz-tag",6),r.YNc(1,cn,0,0,"ng-template",5),r.qZA(),r.YNc(2,z,1,1,"ng-template",null,7,r.W1O)),2&_){const s=r.MAs(3),m=r.oxw(),gn=r.MAs(6);r.Q6J("ngClass",r.kEZ(5,C,"REJECTED"===m.evidence.status,"SUBMITTED"===m.evidence.status,"ACCEPTED"===m.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",s)("nzPopoverTrigger",m.enablePopover?"hover":null),r.xp6(1),r.Q6J("ngTemplateOutlet",gn)}}function f(_,g){}function u(_,g){if(1&_&&r.YNc(0,f,0,0,"ng-template",5),2&_){r.oxw();const s=r.MAs(2);r.Q6J("ngTemplateOutlet",s)}}function l(_,g){if(1&_&&(r.TgZ(0,"cvc-icon-badges",10),r._UZ(1,"i",11),r.ALo(2,"entityColor"),r.ALo(3,"entityColor"),r.qZA(),r._uU(4)),2&_){const s=r.oxw();r.Q6J("flagged",s.evidence.flagged)("entityColor",s.iconColor),r.xp6(1),r.Q6J("nzTwotoneColor","REJECTED"===s.evidence.status?r.lcZ(2,4,"Rejected"):r.lcZ(3,6,"EvidenceItem")),r.xp6(3),r.hij(" ",s.evidence.name,"\n")}}class x extends p.a{set evidence(g){if(!g)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=g}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,W.f)("EvidenceItem")}idFunction(){return this.evidence.id}}x.\u0275fac=function(g){return new(g||x)},x.\u0275cmp=r.Xpm({type:x,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[r.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(g,s){if(1&g&&(r.YNc(0,rn,3,2,"ng-container",0),r.YNc(1,Z,4,9,"ng-template",null,1,r.W1O),r.YNc(3,u,1,1,"ng-template",null,2,r.W1O),r.YNc(5,l,5,8,"ng-template",null,3,r.W1O)),2&g){const m=r.MAs(4);r.Q6J("ngIf",s.linked)("ngIfElse",m)}},dependencies:[I.mk,I.O5,I.tP,K.rH,X.j,nn.lU,tn.Ls,O._,en.b,an.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]})},3854:(Jn,G,o)=>{o.r(G),o.d(G,{VariantsDetailModule:()=>P});var p=o(6895),W=o(8909),r=o(4682),I=o(1229),K=o(5750),X=o(4609),nn=o(5630),tn=o(8762),O=o(9444),en=o(4375),an=o(7008),on=o(7695),rn=o(8390),cn=o(7462),_n=o(317),z=o(9597),C=o(6616),Z=o(6704),f=o(3679),u=o(4006),l=o(9116),x=o(5681),_=o(4889),g=o(1971),s=o(6903),m=o(8823),gn=o(7075),bn=o(4509),Un=o(1825),v=o(2635),fn=o(7570),sn=o(8231),Nn=o(4126),n=o(4650);class Q{}Q.\u0275fac=function(a){return new(a||Q)},Q.\u0275mod=n.oAB({type:Q}),Q.\u0275inj=n.cJS({imports:[p.ez,l.Bz,u.u5,u.UX,v._N,v.pP,_n.s,Z.U5,z.L,f.Jb,C.sL,x.j,g.vh,s.zf,m.ZJ,fn.cg,sn.LV,an.B,en.R,on.C,rn.N,cn.o,_.E,gn.l,bn.w,Un.A,Nn.u]});var R=o(1102),A=o(5655),mn=o(6581),d=o(7630),vn=o(8675),H=o(2722),T=o(6579),dn=o(7579),un=o(1135),xn=o(9350),Tn=o(7044),yn=o(1664),Sn=o(759),Pn=o(2233),On=o(5623),En=o(8168),hn=o(3965),Yn=o(8992),Dn=o(9077),wn=o(7948),Ln=o(6123),E=o(4004),In=o(9300),zn=o(3240),Bn=o(9169),qn=o(9180),Fn=o(9383),jn=o(1793),kn=o(8227),$n=o(5105);function Gn(t,a){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-molecular-profile-tag",19),n.BQk()),2&t){const e=a.$implicit;n.xp6(1),n.Q6J("molecularProfile",e)}}function Rn(t,a){if(1&t&&n.YNc(0,Gn,2,1,"ng-container",18),2&t){const e=n.oxw(3).ngrxLet;n.Q6J("ngForOf",e)}}function Hn(t,a){if(1&t&&(n.TgZ(0,"nz-alert",16),n.YNc(1,Rn,1,1,"ng-template",null,17,n.W1O),n.qZA()),2&t){const e=n.MAs(2);n.Q6J("nzDescription",e)}}function Wn(t,a){1&t&&(n.ynx(0),n.YNc(1,Hn,3,1,"nz-alert",15),n.BQk())}function Kn(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Wn,2,0,"ng-container",14),n.BQk()),2&t){const e=a.ngrxLet;n.xp6(1),n.Q6J("ngIf",e&&e.length>0)}}function Xn(t,a){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-molecular-profile-tag",19),n.BQk()),2&t){const e=a.$implicit;n.xp6(1),n.Q6J("molecularProfile",e)}}function nt(t,a){if(1&t&&n.YNc(0,Xn,2,1,"ng-container",18),2&t){const e=n.oxw(3).ngrxLet;n.Q6J("ngForOf",e)}}function tt(t,a){if(1&t&&(n.TgZ(0,"nz-alert",21),n.YNc(1,nt,1,1,"ng-template",null,22,n.W1O),n.qZA()),2&t){const e=n.MAs(2);n.Q6J("nzDescription",e)}}function et(t,a){1&t&&(n.ynx(0),n.YNc(1,tt,3,1,"nz-alert",20),n.BQk())}function at(t,a){if(1&t&&(n.ynx(0),n.YNc(1,et,2,0,"ng-container",14),n.BQk()),2&t){const e=a.ngrxLet;n.xp6(1),n.Q6J("ngIf",e&&e.length>0)}}function it(t,a){if(1&t){const e=n.EpF();n.TgZ(0,"nz-alert",23),n.NdJ("nzOnClose",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.onSuccessBannerClose())}),n.qZA()}}function ot(t,a){if(1&t&&n._UZ(0,"nz-alert",24),2&t){n.oxw();const e=n.MAs(9);n.Q6J("nzDescription",e)}}function rt(t,a){if(1&t&&(n.TgZ(0,"li"),n._uU(1),n.qZA()),2&t){const e=a.$implicit;n.xp6(1),n.Oqu(e)}}function ct(t,a){if(1&t&&(n.TgZ(0,"ul"),n.YNc(1,rt,2,1,"li",18),n.qZA()),2&t){const e=n.oxw();n.xp6(1),n.Q6J("ngForOf",e.errorMessages)}}function _t(t,a){}function gt(t,a){1&t&&n.YNc(0,_t,0,0,"ng-template")}function st(t,a){if(1&t&&(n.ynx(0),n.YNc(1,gt,1,0,null,29),n.BQk()),2&t){n.oxw();const e=n.MAs(7);n.xp6(1),n.Q6J("ngTemplateOutlet",e)}}function pt(t,a){}function lt(t,a){1&t&&n.YNc(0,pt,0,0,"ng-template")}function ft(t,a){if(1&t&&(n.TgZ(0,"span",30),n.YNc(1,lt,1,0,null,29),n.qZA()),2&t){n.oxw();const e=n.MAs(7);n.xp6(1),n.Q6J("ngTemplateOutlet",e)}}function mt(t,a){if(1&t&&(n.TgZ(0,"button",31),n._uU(1," Deprecate Variant "),n.qZA()),2&t){const e=n.oxw().ngrxLet,i=n.oxw();n.Q6J("disabled",!(void 0!==i.comment&&i.comment.length>=10&&e.signedIn&&e.isEditor&&i.reason))}}function vt(t,a){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"cvc-form-buttons")(2,"cvc-org-selector-btn-group",25),n.NdJ("selectedOrgChange",function(c){n.CHM(e);const y=n.oxw();return n.KtG(y.onOrgSelected(c))}),n.YNc(3,st,2,1,"ng-container",26),n.YNc(4,ft,2,1,"ng-template",null,27,n.W1O),n.YNc(6,mt,2,1,"ng-template",null,28,n.W1O),n.qZA()(),n.BQk()}if(2&t){const e=a.ngrxLet,i=n.MAs(5);n.xp6(3),n.Q6J("ngIf",e.signedIn&&e.isEditor)("ngIfElse",i)}}class Y{constructor(a,e,i,c,y,k){this.deprecateVariantGQL=a,this.variantDetailGQL=e,this.mpsForVariantGQL=i,this.networkErrorService=c,this.route=y,this.viewerService=k,this.destroy$=new dn.x,this.success=!1,this.errorMessages=[],this.loading=!1,this.comment="",this.deprecateVariantMutator=new Ln.U(c),this.viewer$=this.viewerService.viewer$}ngOnInit(){if(this.viewerService.viewer$.subscribe(e=>{this.selectedOrg=e.mostRecentOrg}),void 0===this.variantId)throw new Error("Must pass a variant id into deprecate variant component");let a=this.mpsForVariantGQL.fetch({variantId:this.variantId});this.mpsToDeprecate$=a.pipe((0,E.U)(({data:e})=>e.molecularProfiles.nodes),(0,In.h)(zn.ep),(0,E.U)(e=>e.filter(i=>i.evidenceCountsByStatus.submittedCount+i.evidenceCountsByStatus.acceptedCount==0))),this.mpsWithEvidence$=a.pipe((0,E.U)(({data:e})=>e.molecularProfiles.nodes),(0,In.h)(zn.ep),(0,E.U)(e=>e.filter(i=>i.evidenceCountsByStatus.submittedCount+i.evidenceCountsByStatus.acceptedCount>0))),this.mpListLoading$=a.pipe((0,E.U)(({loading:e})=>e))}onOrgSelected(a){this.selectedOrg=a}deprecateVariant(){if(this.errorMessages=[],this.reason&&this.comment&&this.variantId){let e=this.deprecateVariantMutator.mutate(this.deprecateVariantGQL,{deprecationReason:this.reason,comment:this.comment,variantId:this.variantId,organizationId:this.selectedOrg?.id},{refetchQueries:[{query:this.variantDetailGQL.document,variables:{variantId:this.variantId}}]});e.submitSuccess$.pipe((0,H.R)(this.destroy$)).subscribe(i=>{i&&(this.success=!0,this.comment="")}),e.submitError$.pipe((0,H.R)(this.destroy$)).subscribe(i=>{i.length>0&&(this.errorMessages=i)}),e.isSubmitting$.pipe((0,H.R)(this.destroy$)).subscribe(i=>{this.loading=i})}}onSuccessBannerClose(){this.success=!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}Y.\u0275fac=function(a){return new(a||Y)(n.Y36(d.vv6),n.Y36(d.iJT),n.Y36(d.E1C),n.Y36(Bn.Y),n.Y36(l.gz),n.Y36(xn.a))},Y.\u0275cmp=n.Xpm({type:Y,selectors:[["cvc-variant-deprecate-form"]],inputs:{variantId:"variantId"},decls:21,vars:11,consts:[[3,"nzSpinning"],["nzDirection","vertical"],[4,"ngrxLet"],["nzType","inner"],["nzBanner","","nzMessage","Variant deprecated","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Error Deprecating Variant",3,"nzDescription",4,"ngIf"],["errorContents",""],["nzPlaceHolder","Select a deprecation reason",2,"width","300px",3,"ngModel","ngModelChange"],["nzValue","DUPLICATE","nzLabel","duplicate"],["nzValue","INVALID","nzLabel","invalid"],["nzValue","OTHER","nzLabel","other"],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[4,"ngIf"],["nzType","warning","nzMessage","This action will also deprecate the following Molecular Profiles:",3,"nzDescription",4,"nzSpaceItem"],["nzType","warning","nzMessage","This action will also deprecate the following Molecular Profiles:",3,"nzDescription"],["mpsToDeprecateTpl",""],[4,"ngFor","ngForOf"],[3,"molecularProfile"],["nzType","error","nzMessage","Cannot deprecate this Variant because the following Molecular Profiles have attached Evidence Items:",3,"nzDescription",4,"nzSpaceItem"],["nzType","error","nzMessage","Cannot deprecate this Variant because the following Molecular Profiles have attached Evidence Items:",3,"nzDescription"],["mpsWithEvidenceTpl",""],["nzBanner","","nzMessage","Variant deprecated","nzType","success","nzCloseable","",3,"nzOnClose"],["nzType","error","nzShowIcon","","nzMessage","Error Deprecating Variant",3,"nzDescription"],[3,"selectedOrgChange"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in and an editor to deprecate variant."],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"]],template:function(a,e){1&a&&(n.TgZ(0,"nz-spin",0),n.ALo(1,"ngrxPush"),n.TgZ(2,"nz-space",1),n.YNc(3,Kn,2,1,"ng-container",2),n.YNc(4,at,2,1,"ng-container",2),n.qZA()(),n.TgZ(5,"nz-card",3),n.YNc(6,it,1,0,"nz-alert",4),n.YNc(7,ot,1,1,"nz-alert",5),n.YNc(8,ct,2,1,"ng-template",null,6,n.W1O),n.TgZ(10,"nz-form-item")(11,"nz-select",7),n.NdJ("ngModelChange",function(c){return e.reason=c}),n._UZ(12,"nz-option",8)(13,"nz-option",9)(14,"nz-option",10),n.qZA()(),n.TgZ(15,"form",11),n.NdJ("ngSubmit",function(){return e.deprecateVariant()}),n.TgZ(16,"cvc-comment-input-form",12),n.NdJ("commentChange",function(c){return e.comment=c}),n.qZA(),n.TgZ(17,"nz-spin",13)(18,"nz-form-item")(19,"nz-form-control"),n.YNc(20,vt,8,2,"ng-container",2),n.qZA()()()()()),2&a&&(n.Q6J("nzSpinning",n.lcZ(1,9,e.mpListLoading$)),n.xp6(3),n.Q6J("ngrxLet",e.mpsToDeprecate$),n.xp6(1),n.Q6J("ngrxLet",e.mpsWithEvidence$),n.xp6(2),n.Q6J("ngIf",e.success),n.xp6(1),n.Q6J("ngIf",e.errorMessages.length>0),n.xp6(4),n.Q6J("ngModel",e.reason),n.xp6(5),n.Q6J("comment",e.comment),n.xp6(1),n.Q6J("nzSpinning",e.loading),n.xp6(3),n.Q6J("ngrxLet",e.viewer$))},dependencies:[p.sg,p.O5,p.tP,u._Y,u.JJ,u.JL,u.On,u.F,v.eJ,f.t3,f.SK,Z.Lr,Z.Nx,Z.Fd,z.r,C.ix,Tn.w,yn.dQ,x.W,g.bd,s.NU,s.$1,fn.SY,sn.Ip,sn.Vq,qn.Z,Fn.b,jn.m,kn.q,$n.p,v.fM],encapsulation:2});var dt=o(2338),ut=o(160);function xt(t,a){if(1&t&&(n.TgZ(0,"span",16)(1,"strong"),n._uU(2),n.qZA(),n._uU(3," Parent:"),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.xp6(2),n.Oqu(e.name)}}function Tt(t,a){if(1&t&&(n.TgZ(0,"span",17)(1,"a",18),n._UZ(2,"cvc-gene-tag",19),n.qZA()()),2&t){const e=n.oxw(2).ngIf;n.xp6(1),n.MGl("routerLink","/genes/",e.gene.id,""),n.xp6(1),n.Q6J("gene",e.gene)}}function yt(t,a){1&t&&(n.TgZ(0,"nz-space",13),n.YNc(1,xt,4,1,"span",14),n.YNc(2,Tt,3,2,"span",15),n.qZA())}function ht(t,a){1&t&&(n.TgZ(0,"span"),n._uU(1,",\xa0"),n.qZA())}function It(t,a){if(1&t&&(n.TgZ(0,"span"),n._uU(1),n.YNc(2,ht,2,0,"span",0),n.qZA()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function zt(t,a){if(1&t&&(n.TgZ(0,"nz-page-header-subtitle"),n.YNc(1,It,3,2,"span",20),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",e.variantAliases)}}const Ct=function(t){return["/variants",t,"revise"]};function Zt(t,a){if(1&t&&(n.TgZ(0,"button",25,26),n._uU(2," Revise "),n.qZA()),2&t){const e=n.MAs(1),i=n.oxw(4).ngIf;n.Q6J("routerLink",n.VKq(2,Ct,i.id))("nzType",e.isActive?"primary":"default")}}function Qt(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,Zt,3,4,"button",24),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",null==e?null:e.signedIn)}}function At(t,a){if(1&t&&(n.TgZ(0,"button",28,26),n._uU(2," Flag "),n.qZA()),2&t){const e=n.MAs(1);n.Q6J("nzType",e.isActive?"primary":"default")}}function Vt(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,At,3,1,"button",27),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.signedIn)}}function Mt(t,a){if(1&t&&(n.TgZ(0,"div",32),n._UZ(1,"cvc-variant-deprecate-form",33),n.qZA()),2&t){const e=n.oxw(5).ngIf;n.xp6(1),n.Q6J("variantId",e.id)}}function Jt(t,a){if(1&t&&(n.TgZ(0,"button",30),n._uU(1," Deprecate "),n.YNc(2,Mt,2,1,"ng-template",null,31,n.W1O),n.qZA()),2&t){const e=n.MAs(3),i=n.oxw(4).ngIf;n.Q6J("disabled",i.deprecated)("nzPopoverContent",e)}}function bt(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,Jt,4,2,"button",29),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.isEditor)}}function Ut(t,a){if(1&t&&n._UZ(0,"cvc-entity-subscription-button",35),2&t){const e=n.oxw(2).ngrxLet,i=n.oxw(3);n.Q6J("viewer",e)("subscribableId",i.subscribable.id)}}function Nt(t,a){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,Ut,1,2,"cvc-entity-subscription-button",34),n.qZA()),2&t){const e=n.oxw().ngrxLet,i=n.oxw(3);n.xp6(1),n.Q6J("ngIf",e.signedIn&&i.subscribable)}}function St(t,a){1&t&&(n.TgZ(0,"nz-space",22),n.YNc(1,Qt,2,1,"span",23),n.YNc(2,Vt,2,1,"span",23),n.YNc(3,bt,2,1,"span",23),n.YNc(4,Nt,2,1,"span",23),n.qZA())}function Pt(t,a){if(1&t&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,St,5,0,"nz-space",21),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",e.viewer$)}}function Ot(t,a){if(1&t&&n._UZ(0,"nz-alert",36),2&t){n.oxw();const e=n.MAs(16);n.Q6J("nzMessage",e)}}const Et=function(){return[]};function Yt(t,a){if(1&t&&(n._uU(0),n.ALo(1,"enumToTitle"),n._UZ(2,"cvc-comment-body",37)),2&t){const e=n.oxw().ngIf;n.hij(" This Variant has been deprecated for reason: ",n.lcZ(1,2,e.deprecationReason),". "),n.xp6(2),n.Q6J("commentBodySegments",(null==e.deprecationComment?null:e.deprecationComment.parsedComment)||n.DdM(4,Et))}}function Dt(t,a){if(1&t&&(n.TgZ(0,"nz-col",38),n._UZ(1,"cvc-contributor-avatars",39),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("subscribable",e.subscribable)}}const wt=function(t){return{flagged:t}};function Lt(t,a){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.YNc(2,yt,3,0,"ng-template",null,2,n.W1O),n.TgZ(4,"div",3),n.ALo(5,"ngrxPush"),n.TgZ(6,"nz-page-header",4)(7,"nz-page-header-title",5),n._UZ(8,"i",6),n.ALo(9,"entityColor"),n._uU(10),n.qZA(),n.YNc(11,zt,2,1,"nz-page-header-subtitle",0),n.YNc(12,Pt,2,1,"nz-page-header-extra",7),n.TgZ(13,"nz-page-header-content"),n.YNc(14,Ot,1,1,"nz-alert",8),n.YNc(15,Yt,3,5,"ng-template",null,9,n.W1O),n.TgZ(17,"cvc-tab-navigation",10),n.ALo(18,"ngrxPush"),n.YNc(19,Dt,2,1,"ng-template",null,11,n.W1O),n.qZA(),n.TgZ(21,"div",12),n._UZ(22,"router-outlet"),n.qZA()()()(),n.BQk()),2&t){const e=a.ngIf,i=n.MAs(3),c=n.oxw();n.xp6(1),n.Q6J("displayName",e.gene.name+" "+e.name)("relationsTpl",i),n.xp6(3),n.Q6J("flags",n.lcZ(5,10,c.flagsTotal$)),n.xp6(3),n.Q6J("ngClass",n.VKq(16,wt,e.flags.totalCount>0)),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(9,12,"Variant")),n.xp6(2),n.hij(" ",e.name," "),n.xp6(1),n.Q6J("ngIf",e.variantAliases.length>0),n.xp6(1),n.Q6J("ngrxLet",c.viewer$),n.xp6(2),n.Q6J("ngIf",e.deprecated),n.xp6(3),n.Q6J("tabs",n.lcZ(18,14,c.tabs$))}}class D{constructor(a,e,i){this.gql=a,this.viewerService=e,this.route=i,this.destroy$=new dn.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.tabs$=new un.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(c=>{this.queryRef=this.gql.watch({variantId:+c.variantId});let y=this.queryRef.valueChanges;this.loading$=y.pipe((0,T.j)("loading"),(0,vn.O)(!0)),this.variant$=y.pipe((0,T.j)("data","variant")),this.commentsTotal$=this.variant$.pipe((0,T.j)("comments","totalCount")),this.flagsTotal$=this.variant$.pipe((0,T.j)("flags","totalCount")),this.variant$.pipe((0,T.j)("revisions","totalCount"),(0,H.R)(this.destroy$)).subscribe({next:k=>{this.tabs$.next(this.defaultTabs.map($=>"Revisions"===$.tabLabel?{badgeCount:k,...$}:$))}}),this.subscribable={id:+c.variantId,entityType:d.o71.Variant}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}D.\u0275fac=function(a){return new(a||D)(n.Y36(d.iJT),n.Y36(xn.a),n.Y36(l.gz))},D.\u0275cmp=n.Xpm({type:D,selectors:[["variants-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["variantRelations",""],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],[4,"ngrxLet"],["nzBanner","","nzType","error",3,"nzMessage",4,"ngIf"],["deprecationMessageTemplate",""],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"routerLink"],[3,"gene"],[4,"ngFor","ngForOf"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Deprecate Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"disabled","nzPopoverContent",4,"ngIf"],["nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Deprecate Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"disabled","nzPopoverContent"],["deprecateVariantForm",""],[1,"deprecateVariant"],[3,"variantId"],["typename","Variant",3,"viewer","subscribableId",4,"ngIf"],["typename","Variant",3,"viewer","subscribableId"],["nzBanner","","nzType","error",3,"nzMessage"],[3,"commentBodySegments"],["id","contributors-col"],[3,"subscribable"]],template:function(a,e){1&a&&(n.YNc(0,Lt,23,18,"ng-container",0),n.ALo(1,"ngrxPush")),2&a&&n.Q6J("ngIf",n.lcZ(1,1,e.variant$))},dependencies:[p.mk,p.sg,p.O5,l.lC,l.rH,l.Od,v.eJ,C.ix,Tn.w,yn.dQ,R.Ls,A.$O,A.u9,A.yG,A.u5,A.Jp,s.NU,s.$1,f.t3,z.r,mn.lU,Sn.N,Pn.P,On.o,En.Y,hn.H,Yn.I,Dn.Q,wn.m,Y,v.fM,dt.I,ut.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}.deprecateVariant[_ngcontent-%COMP%]{width:700px}"]});var Bt=o(2278);class V{}V.\u0275fac=function(a){return new(a||V)},V.\u0275mod=n.oAB({type:V}),V.\u0275inj=n.cJS({imports:[p.ez,Bt.l]});var qt=o(3801);class w{constructor(a){this.route=a,this.commentable={id:+this.route.snapshot.params.variantId,entityType:d.OfU.Variant}}}w.\u0275fac=function(a){return new(a||w)(n.Y36(l.gz))},w.\u0275cmp=n.Xpm({type:w,selectors:[["cvc-variants-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(a,e){1&a&&n._UZ(0,"cvc-comment-list",0),2&a&&n.Q6J("commentable",e.commentable)},dependencies:[qt.D],styles:["[_nghost-%COMP%]{display:block}"]});var Ft=o(4271),jt=o(545);class M{}M.\u0275fac=function(a){return new(a||M)},M.\u0275mod=n.oAB({type:M}),M.\u0275inj=n.cJS({imports:[p.ez,f.Jb,g.vh,s.zf,jt.H0,R.PV,Ft.M]});var kt=o(7036);class L{constructor(a){this.route=a,this.flaggable={entityType:d.sfv.Variant,id:+this.route.snapshot.params.variantId}}}L.\u0275fac=function(a){return new(a||L)(n.Y36(l.gz))},L.\u0275cmp=n.Xpm({type:L,selectors:[["cvc-variants-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(a,e){1&a&&n._UZ(0,"cvc-flag-list-and-filter",0),2&a&&n.Q6J("flaggable",e.flaggable)},dependencies:[kt.L],styles:["[_nghost-%COMP%]{display:block}"]});var $t=o(2914);class J{}J.\u0275fac=function(a){return new(a||J)},J.\u0275mod=n.oAB({type:J}),J.\u0275inj=n.cJS({imports:[p.ez,$t.A]});var Gt=o(3770);class B{constructor(a){this.route=a,this.routeSub=this.route.params.subscribe(e=>{this.variantId=+e.variantId,this.entityType=d.oRL.Variant})}ngOnDestroy(){this.routeSub.unsubscribe()}}B.\u0275fac=function(a){return new(a||B)(n.Y36(l.gz))},B.\u0275cmp=n.Xpm({type:B,selectors:[["cvc-variants-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(a,e){1&a&&n._UZ(0,"cvc-revisions-list-and-filter",0),2&a&&n.Q6J("id",e.variantId)("entityType",e.entityType)},dependencies:[Gt.a],encapsulation:2});var Rt=o(897),Ht=o(2811),pn=o(9194),Wt=o(8645),Cn=o(4989),ln=o(3513),h=o(6675);class b{}b.\u0275fac=function(a){return new(a||b)},b.\u0275mod=n.oAB({type:b}),b.\u0275inj=n.cJS({imports:[p.ez,ln.we,h.HQ,g.vh,Cn.X,f.Jb,O.s]});var Kt=o(8541),Zn=o(5291),Xt=o(7345),Qn=o(6672),ne=o(9341),te=o(5160);class U{}U.\u0275fac=function(a){return new(a||U)},U.\u0275mod=n.oAB({type:U}),U.\u0275inj=n.cJS({imports:[p.ez,v._N,v.pP,s.zf,f.Jb,pn.q6,g.vh,m.ZJ,R.PV,Qn.X,ne.z,O.s,Rt.$,Xt.W,Ht.s,I.U,Wt.M,Cn.X,b,Kt.o,Zn.t,te.I]});var ee=o(9442),ae=o(6715),ie=o(7701),An=o(6550),oe=o(9714);function re(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",19),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/",e.variantInfo.clinvarId,"/"),n.xp6(1),n.hij(" ",e.variantInfo.clinvarId," ")}}function ce(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",20),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://www.ncbi.nlm.nih.gov/projects/SNP/snp_ref.cgi?searchType=adhoc_search&type=rs&rs=",e.variantInfo.dbsnpRsid,""),n.xp6(1),n.hij(" ",e.variantInfo.dbsnpRsid," ")}}function _e(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",21),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","http://cancer.sanger.ac.uk/cosmic/mutation/overview?id=",e.variantInfo.cosmicId,""),n.xp6(1),n.hij(" ",e.variantInfo.cosmicId," ")}}function ge(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function se(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ge,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function pe(t,a){if(1&t&&(n.ynx(0),n.YNc(1,se,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.snpeffSnpEffect)}}function le(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function fe(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,le,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function me(t,a){if(1&t&&(n.ynx(0),n.YNc(1,fe,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.snpeffSnpImpact)}}function ve(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," MyVariant.info ID: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.TgZ(7,"strong",17),n._uU(8,"ClinVar ID:"),n.qZA(),n._uU(9,"\xa0 "),n.YNc(10,re,3,2,"ng-container",18),n.qZA()(),n.TgZ(11,"div",14)(12,"div",15),n._uU(13," dbSNP RSID: "),n.qZA(),n.TgZ(14,"div",16),n.YNc(15,ce,3,2,"ng-container",18),n.TgZ(16,"strong",17),n._uU(17,"COSMIC ID (v68):"),n.qZA(),n._uU(18,"\xa0 "),n.YNc(19,_e,3,2,"ng-container",18),n.qZA()(),n.TgZ(20,"div",14)(21,"div",15),n._uU(22," SNPEff Effect: "),n.qZA(),n.TgZ(23,"div",16),n.YNc(24,pe,2,1,"ng-container",18),n.qZA()(),n.TgZ(25,"div",14)(26,"div",15),n._uU(27," SNPEff Impact: "),n.qZA(),n.TgZ(28,"div",16),n.YNc(29,me,2,1,"ng-container",18),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",e.variantInfo.myVariantInfoId," "),n.xp6(4),n.Q6J("ngIf",e.variantInfo.clinvarId)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.dbsnpRsid)("ngIfElse",i),n.xp6(4),n.Q6J("ngIf",e.variantInfo.cosmicId)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.snpeffSnpEffect.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.snpeffSnpImpact.length>0)("ngIfElse",i)}}function de(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",19),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/",e.variantInfo.clinvarId,"/"),n.xp6(1),n.hij(" ",e.variantInfo.clinvarId," ")}}function ue(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",23),n._uU(2),n.qZA(),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.MGl("href","https://omim.org/entry/",e.variantInfo.clinvarOmim.split(".")[0],""),n.xp6(1),n.hij(" ",e.variantInfo.clinvarOmim," ")}}function xe(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Te(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,xe,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ye(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Te,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarClinicalSignificance)}}function he(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function Ie(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,he,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ze(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ie,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsCoding)}}function Ce(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function Ze(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ce,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Qe(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ze,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsGenomic)}}function Ae(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function Ve(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ae,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Me(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ve,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsNonCoding)}}function Je(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function be(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Je,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ue(t,a){if(1&t&&(n.ynx(0),n.YNc(1,be,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.clinvarHgvsProtein)}}function Ne(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," ClinVar ID: "),n.qZA(),n.TgZ(5,"div",16),n.YNc(6,de,3,2,"ng-container",18),n.TgZ(7,"strong",17),n._uU(8,"OMIM:"),n.qZA(),n._uU(9,"\xa0 "),n.YNc(10,ue,3,2,"ng-container",18),n.qZA()(),n.TgZ(11,"div",14)(12,"div",15),n._uU(13," ClinVar Clinical Significance: "),n.qZA(),n.TgZ(14,"div",16),n.YNc(15,ye,2,1,"ng-container",18),n.qZA()(),n.TgZ(16,"div",14)(17,"div",15),n._uU(18," HGVS Coding: "),n.qZA(),n.TgZ(19,"div",16),n.YNc(20,ze,2,1,"ng-container",18),n.qZA()(),n.TgZ(21,"div",14)(22,"div",15),n._uU(23," HGVS Genomic: "),n.qZA(),n.TgZ(24,"div",16),n.YNc(25,Qe,2,1,"ng-container",18),n.qZA()(),n.TgZ(26,"div",14)(27,"div",15),n._uU(28," HGVS Non-Coding: "),n.qZA(),n.TgZ(29,"div",16),n.YNc(30,Me,2,1,"ng-container",18),n.qZA()(),n.TgZ(31,"div",14)(32,"div",15),n._uU(33," HGVS Protein: "),n.qZA(),n.TgZ(34,"div",16),n.YNc(35,Ue,2,1,"ng-container",18),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarId)("ngIfElse",i),n.xp6(4),n.Q6J("ngIf",e.variantInfo.clinvarOmim)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarClinicalSignificance.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsCoding.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsGenomic.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsNonCoding.length>0)("ngIfElse",i),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.clinvarHgvsProtein.length>0)("ngIfElse",i)}}function Se(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",27),n._uU(1," View this variant in the gnomAD browser "),n.qZA()),2&t){const e=n.oxw(3);n.MGl("href","https://gnomad.broadinstitute.org/variant/",e.variantInfo.dbsnpRsid,"?dataset=gnomad_r2_1")}}const Vn=function(){return["."]};function Pe(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Se,2,1,"cvc-link-tag",24),n.TgZ(2,"nz-table",25,26)(4,"thead")(5,"tr")(6,"th"),n._uU(7,"Type"),n.qZA(),n.TgZ(8,"th"),n._uU(9,"Allele Frequency"),n.qZA(),n.TgZ(10,"th"),n._uU(11,"Allele Count"),n.qZA(),n.TgZ(12,"th"),n._uU(13,"Allele Number"),n.qZA(),n.TgZ(14,"th"),n._uU(15,"Filter"),n.qZA()()(),n.TgZ(16,"tbody")(17,"tr")(18,"td"),n._uU(19,"Total Exome"),n.qZA(),n.TgZ(20,"td"),n._uU(21),n.ALo(22,"ifEmpty"),n.qZA(),n.TgZ(23,"td"),n._uU(24),n.ALo(25,"ifEmpty"),n.qZA(),n.TgZ(26,"td"),n._uU(27),n.ALo(28,"ifEmpty"),n.qZA(),n.TgZ(29,"td"),n._uU(30),n.ALo(31,"ifEmpty"),n.qZA()(),n.TgZ(32,"tr")(33,"td"),n._uU(34,"Total Genome"),n.qZA(),n.TgZ(35,"td"),n._uU(36),n.ALo(37,"ifEmpty"),n.qZA(),n.TgZ(38,"td"),n._uU(39),n.ALo(40,"ifEmpty"),n.qZA(),n.TgZ(41,"td"),n._uU(42),n.ALo(43,"ifEmpty"),n.qZA(),n.TgZ(44,"td"),n._uU(45),n.ALo(46,"ifEmpty"),n.qZA()()()(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngIf",e.variantInfo.dbsnpRsid),n.xp6(1),n.Q6J("nzData",n.DdM(36,Vn))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(19),n.hij(" ",n.xi3(22,12,e.variantInfo.gnomadExomeAlleleFrequency,"--")," "),n.xp6(3),n.Oqu(n.xi3(25,15,e.variantInfo.gnomadExomeAlleleCount,"--")),n.xp6(3),n.hij(" ",n.xi3(28,18,e.variantInfo.gnomadExomeAlleleNumber,"--")," "),n.xp6(3),n.Oqu(n.xi3(31,21,e.variantInfo.gnomadExomeFilter,"--")),n.xp6(6),n.hij(" ",n.xi3(37,24,e.variantInfo.gnomadGenomeAlleleFrequency,"--")," "),n.xp6(3),n.hij(" ",n.xi3(40,27,e.variantInfo.gnomadGenomeAlleleCount,"--")," "),n.xp6(3),n.hij(" ",n.xi3(43,30,e.variantInfo.gnomadGenomeAlleleNumber,"--")," "),n.xp6(3),n.Oqu(n.xi3(46,33,e.variantInfo.gnomadGenomeFilter,"--"))}}function Oe(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," Allele Count: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.ALo(7,"ifEmpty"),n.qZA()(),n.TgZ(8,"div",14)(9,"div",15),n._uU(10," Allele Number: "),n.qZA(),n.TgZ(11,"div",16),n._uU(12),n.ALo(13,"ifEmpty"),n.qZA()(),n.TgZ(14,"div",14)(15,"div",15),n._uU(16," Adjusted Allele Frequency: "),n.qZA(),n.TgZ(17,"div",16),n._uU(18),n.ALo(19,"ifEmpty"),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(7,12,e.variantInfo.exacAlleleCount,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(13,15,e.variantInfo.exacAlleleNumber,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(19,18,e.variantInfo.exacAlleleFrequency,"--")," ")}}function Ee(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," phyloP100way: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.ALo(7,"ifEmpty"),n.qZA()(),n.TgZ(8,"div",14)(9,"div",15),n._uU(10," phyloP30way: "),n.qZA(),n.TgZ(11,"div",16),n._uU(12),n.ALo(13,"ifEmpty"),n.qZA()(),n.TgZ(14,"div",14)(15,"div",15),n._uU(16," phastCons100way: "),n.qZA(),n.TgZ(17,"div",16),n._uU(18),n.ALo(19,"ifEmpty"),n.qZA()(),n.TgZ(20,"div",14)(21,"div",15),n._uU(22," phastCons30way: "),n.qZA(),n.TgZ(23,"div",16),n._uU(24),n.ALo(25,"ifEmpty"),n.qZA()(),n.TgZ(26,"div",14)(27,"div",15),n._uU(28," GERP++: "),n.qZA(),n.TgZ(29,"div",16),n._uU(30),n.ALo(31,"ifEmpty"),n.qZA()(),n.TgZ(32,"div",14)(33,"div",15),n._uU(34," SiPhy: "),n.qZA(),n.TgZ(35,"div",16),n._uU(36),n.ALo(37,"ifEmpty"),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(7,24,e.variantInfo.phyloP100way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(13,27,e.variantInfo.phyloP30way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(19,30,e.variantInfo.phastcons100way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(25,33,e.variantInfo.phastcons30way,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(31,36,e.variantInfo.gerp,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(37,39,e.variantInfo.siphy,"--")," ")}}function Ye(t,a){1&t&&(n.ynx(0),n._UZ(1,"br"),n.BQk())}function De(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ye,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function we(t,a){if(1&t&&(n.ynx(0),n.YNc(1,De,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.eglHgvs)}}function Le(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"div",13)(2,"div",14)(3,"div",15),n._uU(4," EGL Class: "),n.qZA(),n.TgZ(5,"div",16),n._uU(6),n.ALo(7,"ifEmpty"),n.qZA()(),n.TgZ(8,"div",14)(9,"div",15),n._uU(10," Protein Variant Name: "),n.qZA(),n.TgZ(11,"div",16),n._uU(12),n.ALo(13,"ifEmpty"),n.qZA()(),n.TgZ(14,"div",14)(15,"div",15),n._uU(16," Transcript Variant Name: "),n.qZA(),n.TgZ(17,"div",16),n._uU(18),n.ALo(19,"ifEmpty"),n.qZA()(),n.TgZ(20,"div",14)(21,"div",15),n._uU(22," HGVS: "),n.qZA(),n.TgZ(23,"div",16),n.YNc(24,we,2,1,"ng-container",18),n.qZA()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(7,17,e.variantInfo.eglClass,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(13,20,e.variantInfo.eglProtein,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",n.xi3(19,23,e.variantInfo.eglTranscript,"--")," "),n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("ngIf",e.variantInfo.eglHgvs.length>0)("ngIfElse",i)}}function Be(t,a){if(1&t&&(n.TgZ(0,"td"),n._uU(1),n.ALo(2,"ifEmpty"),n.qZA()),2&t){const e=n.oxw(3);n.xp6(1),n.Oqu(n.xi3(2,1,e.variantInfo.revelScore.join(", "),"--"))}}function qe(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Fe(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,qe,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function je(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Fe,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.siftPrediction)}}function ke(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function $e(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ke,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ge(t,a){if(1&t&&(n.ynx(0),n.YNc(1,$e,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.siftScore)}}function Re(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function He(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Re,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function We(t,a){if(1&t&&(n.ynx(0),n.YNc(1,He,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HdivPrediction)}}function Ke(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Xe(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ke,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function na(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Xe,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HdivScore)}}function ta(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function ea(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ta,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function aa(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ea,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HvarPrediction)}}function ia(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function oa(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ia,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ra(t,a){if(1&t&&(n.ynx(0),n.YNc(1,oa,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.polyphen2HvarScore)}}function ca(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function _a(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ca,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ga(t,a){if(1&t&&(n.ynx(0),n.YNc(1,_a,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationtasterPrediction)}}function sa(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function pa(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,sa,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function la(t,a){if(1&t&&(n.ynx(0),n.YNc(1,pa,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationtasterScore)}}function fa(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function ma(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,fa,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function va(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ma,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationassessorPrediction)}}function da(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function ua(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,da,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function xa(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ua,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.mutationassessorScore)}}function Ta(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function ya(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ta,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function ha(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ya,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.fathmmPrediction)}}function Ia(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function za(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ia,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ca(t,a){if(1&t&&(n.ynx(0),n.YNc(1,za,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.fathmmScore)}}function Za(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Qa(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Za,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Aa(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Qa,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.proveanPrediction)}}function Va(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Ma(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Va,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Ja(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ma,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.proveanScore)}}function ba(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Ua(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,ba,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Na(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Ua,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.caddConsequence)}}function Sa(t,a){1&t&&(n.ynx(0),n._uU(1,", "),n.BQk())}function Pa(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Sa,2,0,"ng-container",0),n.BQk()),2&t){const e=a.$implicit,i=a.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!i)}}function Oa(t,a){if(1&t&&(n.ynx(0),n.YNc(1,Pa,3,2,"ng-container",22),n.BQk()),2&t){const e=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",e.variantInfo.caddDetail)}}function Ea(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",25,26)(3,"thead")(4,"tr")(5,"th"),n._uU(6,"Predictor"),n.qZA(),n.TgZ(7,"th"),n._uU(8,"Prediction"),n.qZA(),n.TgZ(9,"th"),n._uU(10,"Score"),n.qZA()()(),n.TgZ(11,"tbody")(12,"tr")(13,"td"),n._uU(14,"REVEL"),n.qZA(),n.TgZ(15,"td"),n._uU(16,"N/A"),n.qZA(),n.YNc(17,Be,3,4,"td",0),n.qZA(),n.TgZ(18,"tr")(19,"td"),n._uU(20,"SIFT"),n.qZA(),n.TgZ(21,"td"),n.YNc(22,je,2,1,"ng-container",18),n.qZA(),n.TgZ(23,"td"),n.YNc(24,Ge,2,1,"ng-container",18),n.qZA()(),n.TgZ(25,"tr")(26,"td"),n._uU(27,"Polyphen2 HDIV"),n.qZA(),n.TgZ(28,"td"),n.YNc(29,We,2,1,"ng-container",18),n.qZA(),n.TgZ(30,"td"),n.YNc(31,na,2,1,"ng-container",18),n.qZA()(),n.TgZ(32,"tr")(33,"td"),n._uU(34,"Polyphen2 HVAR"),n.qZA(),n.TgZ(35,"td"),n.YNc(36,aa,2,1,"ng-container",18),n.qZA(),n.TgZ(37,"td"),n.YNc(38,ra,2,1,"ng-container",18),n.qZA()(),n.TgZ(39,"tr")(40,"td"),n._uU(41,"LRT"),n.qZA(),n.TgZ(42,"td"),n._uU(43),n.ALo(44,"ifEmpty"),n.qZA(),n.TgZ(45,"td"),n._uU(46),n.ALo(47,"ifEmpty"),n.qZA()(),n.TgZ(48,"tr")(49,"td"),n._uU(50,"MutationTaster"),n.qZA(),n.TgZ(51,"td"),n.YNc(52,ga,2,1,"ng-container",18),n.qZA(),n.TgZ(53,"td"),n.YNc(54,la,2,1,"ng-container",18),n.qZA()(),n.TgZ(55,"tr")(56,"td"),n._uU(57,"MutationAssessor"),n.qZA(),n.TgZ(58,"td"),n.YNc(59,va,2,1,"ng-container",18),n.qZA(),n.TgZ(60,"td"),n.YNc(61,xa,2,1,"ng-container",18),n.qZA()(),n.TgZ(62,"tr")(63,"td"),n._uU(64,"FATHMM"),n.qZA(),n.TgZ(65,"td"),n.YNc(66,ha,2,1,"ng-container",18),n.qZA(),n.TgZ(67,"td"),n.YNc(68,Ca,2,1,"ng-container",18),n.qZA()(),n.TgZ(69,"tr")(70,"td"),n._uU(71,"PROVEAN"),n.qZA(),n.TgZ(72,"td"),n.YNc(73,Aa,2,1,"ng-container",18),n.qZA(),n.TgZ(74,"td"),n.YNc(75,Ja,2,1,"ng-container",18),n.qZA()(),n.TgZ(76,"tr")(77,"td"),n._uU(78,"MetaSVM"),n.qZA(),n.TgZ(79,"td"),n._uU(80),n.ALo(81,"ifEmpty"),n.qZA(),n.TgZ(82,"td"),n._uU(83),n.ALo(84,"ifEmpty"),n.qZA()(),n.TgZ(85,"tr")(86,"td"),n._uU(87,"MetaLR"),n.qZA(),n.TgZ(88,"td"),n._uU(89),n.ALo(90,"ifEmpty"),n.qZA(),n.TgZ(91,"td"),n._uU(92),n.ALo(93,"ifEmpty"),n.qZA()(),n.TgZ(94,"tr")(95,"td"),n._uU(96,"CADD"),n.qZA(),n.TgZ(97,"td"),n._uU(98," Consequence: "),n.YNc(99,Na,2,1,"ng-container",18),n._UZ(100,"br"),n._uU(101," Consequence Detail: "),n.YNc(102,Oa,2,1,"ng-container",18),n.qZA(),n.TgZ(103,"td"),n._uU(104),n.ALo(105,"ifEmpty"),n._UZ(106,"br"),n._uU(107),n.ALo(108,"ifEmpty"),n.qZA()(),n.TgZ(109,"tr")(110,"td"),n._uU(111,"FATHMM-MKL"),n.qZA(),n.TgZ(112,"td"),n._uU(113),n.ALo(114,"ifEmpty"),n.qZA(),n.TgZ(115,"td"),n._uU(116),n.ALo(117,"ifEmpty"),n.qZA()(),n.TgZ(118,"tr")(119,"td"),n._uU(120,"fitCons"),n.qZA(),n.TgZ(121,"td"),n._uU(122,"N/A"),n.qZA(),n.TgZ(123,"td"),n._uU(124),n.ALo(125,"ifEmpty"),n.qZA()()()(),n.BQk()),2&t){const e=n.oxw(2),i=n.MAs(2);n.xp6(1),n.Q6J("nzData",n.DdM(80,Vn))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(16),n.Q6J("ngIf",e.variantInfo.revelScore),n.xp6(5),n.Q6J("ngIf",e.variantInfo.siftPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.siftScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.polyphen2HdivPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.polyphen2HdivScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.polyphen2HvarPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.polyphen2HvarScore.length>0)("ngIfElse",i),n.xp6(5),n.Oqu(n.xi3(44,47,e.variantInfo.lrtPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(47,50,e.variantInfo.lrtScore,"--")),n.xp6(6),n.Q6J("ngIf",e.variantInfo.mutationtasterPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.mutationtasterScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.mutationassessorPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.mutationassessorScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.fathmmPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.fathmmScore.length>0)("ngIfElse",i),n.xp6(5),n.Q6J("ngIf",e.variantInfo.proveanPrediction.length>0)("ngIfElse",i),n.xp6(2),n.Q6J("ngIf",e.variantInfo.proveanScore.length>0)("ngIfElse",i),n.xp6(5),n.Oqu(n.xi3(81,53,e.variantInfo.metasvmPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(84,56,e.variantInfo.metasvmScore,"--")),n.xp6(6),n.Oqu(n.xi3(90,59,e.variantInfo.metalrPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(93,62,e.variantInfo.metalrScore,"--")),n.xp6(7),n.Q6J("ngIf",e.variantInfo.caddConsequence.length>0)("ngIfElse",i),n.xp6(3),n.Q6J("ngIf",e.variantInfo.caddDetail.length>0)("ngIfElse",i),n.xp6(2),n.hij(" ",n.xi3(105,65,e.variantInfo.caddScore,"--")," (raw) "),n.xp6(3),n.hij(" ",n.xi3(108,68,e.variantInfo.caddPhred,"--")," (PHRED) "),n.xp6(6),n.Oqu(n.xi3(114,71,e.variantInfo.fathmmMklPrediction,"--")),n.xp6(3),n.Oqu(n.xi3(117,74,e.variantInfo.fathmmMklScore,"--")),n.xp6(8),n.Oqu(n.xi3(125,77,e.variantInfo.fitconsScore,"--"))}}function Ya(t,a){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",2)(2,"nz-card-tab")(3,"nz-tabset",3)(4,"nz-tab",4),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(0))}),n.qZA(),n.TgZ(5,"nz-tab",5),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(1))}),n.qZA(),n.TgZ(6,"nz-tab",6),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(2))}),n.qZA(),n.TgZ(7,"nz-tab",7),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(3))}),n.qZA(),n.TgZ(8,"nz-tab",8),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(4))}),n.qZA(),n.TgZ(9,"nz-tab",9),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(5))}),n.qZA(),n.TgZ(10,"nz-tab",10),n.NdJ("nzClick",function(){n.CHM(e);const c=n.oxw();return n.KtG(c.tabIndex.next(6))}),n.qZA()()(),n.ynx(11,11),n.ALo(12,"async"),n.YNc(13,ve,30,23,"ng-container",12),n.YNc(14,Ne,36,32,"ng-container",12),n.YNc(15,Pe,47,37,"ng-container",12),n.YNc(16,Oe,20,21,"ng-container",12),n.YNc(17,Ee,38,42,"ng-container",12),n.YNc(18,Le,25,26,"ng-container",12),n.YNc(19,Ea,126,81,"ng-container",12),n.BQk(),n.qZA(),n.BQk()}if(2&t){const e=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(8),n.Q6J("ngSwitch",n.lcZ(12,9,e.tabIndex)),n.xp6(2),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1),n.xp6(1),n.Q6J("ngSwitchCase",2),n.xp6(1),n.Q6J("ngSwitchCase",3),n.xp6(1),n.Q6J("ngSwitchCase",4),n.xp6(1),n.Q6J("ngSwitchCase",5),n.xp6(1),n.Q6J("ngSwitchCase",6)}}function Da(t,a){1&t&&n._uU(0,"--")}class q{constructor(){this.tabIndex=new un.X(0)}tabChange(a){this.tabIndex.next(a)}ngOnDestroy(){this.tabIndex.unsubscribe()}}q.\u0275fac=function(a){return new(a||q)},q.\u0275cmp=n.Xpm({type:q,selectors:[["cvc-my-variant-info"]],inputs:{variantInfo:"variantInfo"},decls:3,vars:1,consts:[[4,"ngIf"],["noValue",""],["nzTitle","MyVariantInfo"],["nzSize","small",3,"nzAnimated"],["nzTitle","Overview",3,"nzClick"],["nzTitle","ClinVar",3,"nzClick"],["nzTitle","gnomAD (2.1.1)",3,"nzClick"],["nzTitle","EXAC (0.3.1)",3,"nzClick"],["nzTitle","Conservation Analysis Tools",3,"nzClick"],["nzTitle","EGL",3,"nzClick"],["nzTitle","Effect Scores",3,"nzClick"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],["nz-row","",3,"nzGutter"],["nz-col","",1,"key-col",3,"nzSpan"],["nz-col","",3,"nzSpan"],[2,"margin-left","8px"],[4,"ngIf","ngIfElse"],["tooltip","View on ClinVar",3,"href"],["tooltip","View on dbSNP",3,"href"],["tooltip","View on COSMIC",3,"href"],[4,"ngFor","ngForOf"],["tooltip","View on OMIM",3,"href"],[3,"href",4,"ngIf"],["nzSize","small",3,"nzData","nzFrontPagination","nzShowPagination"],["gnomadTable",""],[3,"href"]],template:function(a,e){1&a&&(n.YNc(0,Ya,20,11,"ng-container",0),n.YNc(1,Da,1,0,"ng-template",null,1,n.W1O)),2&a&&n.Q6J("ngIf",e.variantInfo)},dependencies:[p.sg,p.O5,p.RF,p.n9,ln.xH,ln.xw,h.N8,h.Uo,h._C,h.Om,h.p0,h.$Z,g.bd,g._i,An.l,f.t3,f.SK,p.Ov,oe.D],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]});var wa=o(427),La=o(7471);function Ba(t,a){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=a.$implicit;n.xp6(1),n.Oqu(e)}}function qa(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,Ba,2,1,"nz-tag",25),n.qZA(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",e.variantAliases)}}function Fa(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None specified"),n.qZA())}function ja(t,a){1&t&&n._UZ(0,"cvc-variant-type-tag",28),2&t&&n.Q6J("variantType",a.$implicit)}function ka(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,ja,1,1,"cvc-variant-type-tag",27),n.qZA(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",e.variantTypes)}}function $a(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None specified"),n.qZA())}function Ga(t,a){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=a.$implicit;n.xp6(1),n.Oqu(e)}}function Ra(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,Ga,2,1,"nz-tag",25),n.qZA(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",e.hgvsDescriptions)}}function Ha(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None specified"),n.qZA())}function Wa(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list")(2,"nz-tag"),n._uU(3),n.qZA()(),n.BQk()),2&t){const e=n.oxw().ngIf;n.xp6(3),n.Oqu(e.maneSelectTranscript)}}function Ka(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None found"),n.qZA())}function Xa(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",29),n._uU(1),n.qZA()),2&t){const e=n.oxw().ngIf;n.Q6J("href","https://reg.genome.network/allele/"+e.alleleRegistryId+".html"),n.xp6(1),n.hij(" ",e.alleleRegistryId," ")}}function ni(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"Unregistered"),n.qZA())}function ti(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",30),n._uU(2),n.qZA(),n.BQk()),2&t){const e=a.$implicit;n.xp6(1),n.Q6J("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/"+e),n.xp6(1),n.hij(" ",e," ")}}function ei(t,a){if(1&t&&(n.TgZ(0,"cvc-tag-list"),n.YNc(1,ti,3,2,"ng-container",25),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.xp6(1),n.Q6J("ngForOf",e.clinvarIds)}}function ai(t,a){if(1&t&&(n.ynx(0),n.YNc(1,ei,2,1,"cvc-tag-list",6),n.BQk()),2&t){const e=n.oxw().ngIf,i=n.MAs(37);n.xp6(1),n.Q6J("ngIf","N/A"!==e.clinvarIds[0]&&"NONE FOUND"!==e.clinvarIds[0])("ngIfElse",i)}}function ii(t,a){if(1&t&&(n.TgZ(0,"span",26),n._uU(1),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Oqu(e.clinvarIds[0])}}function oi(t,a){1&t&&(n.TgZ(0,"span",26),n._uU(1,"None provided"),n.qZA())}function ri(t,a){if(1&t&&(n.TgZ(0,"nz-descriptions-item",31)(1,"cvc-link-tag",32),n._uU(2," Variant Report "),n.qZA()()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("href",e.openCravatUrl)}}function ci(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-col",2),n._UZ(2,"cvc-my-variant-info",33),n.qZA(),n.BQk()),2&t){const e=a.ngIf;n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("variantInfo",e)}}function _i(t,a){1&t&&(n.TgZ(0,"nz-col",2)(1,"nz-card",34),n._UZ(2,"cvc-empty-revisable",35),n.qZA()()),2&t&&n.Q6J("nzSpan",24)}const gi=function(){return[8,16]},Mn=function(){return[8,8]},si=function(){return{xxl:2,xl:2,lg:1,md:1,sm:1,xs:1}};function pi(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-row",1)(4,"nz-col",3)(5,"nz-descriptions",4)(6,"nz-descriptions-item",5),n.YNc(7,qa,3,1,"ng-container",6),n.YNc(8,Fa,2,0,"ng-template",null,7,n.W1O),n.qZA(),n.TgZ(10,"nz-descriptions-item",8),n.YNc(11,ka,3,1,"ng-container",6),n.YNc(12,$a,2,0,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(14,"nz-descriptions-item",8),n.YNc(15,Ra,3,1,"ng-container",6),n.YNc(16,Ha,2,0,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(18,"nz-descriptions-item",11),n.YNc(19,Wa,4,1,"ng-container",6),n.YNc(20,Ka,2,0,"ng-template",null,12,n.W1O),n.qZA()()(),n.TgZ(22,"nz-col",2),n._UZ(23,"cvc-coordinates-card",13),n.qZA()()(),n.TgZ(24,"nz-col",14)(25,"nz-row",1)(26,"nz-col",2)(27,"nz-descriptions",4)(28,"nz-descriptions-item",15),n._UZ(29,"cvc-gene-tag",16),n.qZA(),n.TgZ(30,"nz-descriptions-item",17),n.YNc(31,Xa,2,2,"cvc-link-tag",18),n.YNc(32,ni,2,0,"ng-template",null,19,n.W1O),n.qZA(),n.TgZ(34,"nz-descriptions-item",8),n.YNc(35,ai,2,2,"ng-container",6),n.YNc(36,ii,2,1,"ng-template",null,20,n.W1O),n.YNc(38,oi,2,0,"ng-template",null,21,n.W1O),n.qZA(),n.YNc(40,ri,3,1,"nz-descriptions-item",22),n.qZA()(),n.YNc(41,ci,3,2,"ng-container",6),n.ALo(42,"ngrxPush"),n.YNc(43,_i,3,1,"ng-template",null,23,n.W1O),n.qZA()(),n.TgZ(45,"nz-col",3),n._UZ(46,"cvc-molecular-profiles-table",24),n.qZA()(),n.BQk()),2&t){const e=a.ngIf,i=n.MAs(9),c=n.MAs(13),y=n.MAs(17),k=n.MAs(21),$=n.MAs(33),mi=n.MAs(39),vi=n.MAs(44),di=n.oxw();n.xp6(1),n.Q6J("nzGutter",n.DdM(32,gi)),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzGutter",n.DdM(33,Mn)),n.xp6(2),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",e.variantAliases.length>0)("ngIfElse",i),n.xp6(3),n.Q6J("nzTitle",e.variantTypes.length>1?"Variant Types":"Variant Type"),n.xp6(1),n.Q6J("ngIf",e.variantTypes.length>0)("ngIfElse",c),n.xp6(3),n.Q6J("nzTitle",e.hgvsDescriptions.length>1?"HGVS Descriptions":"HGVS Description"),n.xp6(1),n.Q6J("ngIf",e.hgvsDescriptions.length>0)("ngIfElse",y),n.xp6(4),n.Q6J("ngIf",e.maneSelectTranscript)("ngIfElse",k),n.xp6(3),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("cvcVariantId",e.id),n.xp6(2),n.Q6J("nzGutter",n.DdM(34,Mn)),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("nzColumn",n.DdM(35,si)),n.xp6(2),n.Q6J("gene",e.gene),n.xp6(2),n.Q6J("ngIf",e.alleleRegistryId&&"unregistered"!=e.alleleRegistryId)("ngIfElse",$),n.xp6(3),n.Q6J("nzTitle",e.clinvarIds.length>1?"ClinVar IDs":"ClinVar ID"),n.xp6(1),n.Q6J("ngIf",e.clinvarIds.length>0)("ngIfElse",mi),n.xp6(5),n.Q6J("ngIf",e.openCravatUrl),n.xp6(1),n.Q6J("ngIf",n.lcZ(42,30,di.variantInfo$))("ngIfElse",vi),n.xp6(5),n.MGl("cvcTitle","",e.name," Molecular Profiles"),n.Q6J("variantId",e.id)}}class F{constructor(a,e){var i;if(this.gql=a,this.route=e,null==(i=this.variantId?this.variantId:+this.route.snapshot.params.variantId))throw new Error("Must pass in a variant ID as an input or via the route.");this.queryRef=this.gql.watch({variantId:i});let c=this.queryRef.valueChanges;this.loading$=c.pipe((0,T.j)("loading"),(0,vn.O)(!0)),this.variant$=c.pipe((0,T.j)("data","variant")),this.variantInfo$=c.pipe((0,T.j)("data","variant","myVariantInfo")),this.subscribable={entityType:d.o71.Variant,id:i}}}F.\u0275fac=function(a){return new(a||F)(n.Y36(d.Bo4),n.Y36(l.gz))},F.\u0275cmp=n.Xpm({type:F,selectors:[["cvc-variants-summary"]],inputs:{variantId:"variantId"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],["nzSpan","24"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases"],[4,"ngIf","ngIfElse"],["noAliases",""],[3,"nzTitle"],["noTypes",""],["noDescriptions",""],["nzTitle","MANE Select Transcript"],["noMane",""],[3,"cvcVariantId"],["nzSpan","12"],["nzTitle","Gene"],[3,"gene"],["nzTitle","Allele Registry ID"],["tooltip","View on ClinGen Allele Registry",3,"href",4,"ngIf","ngIfElse"],["noAlleleRegistry",""],["clinvarNotApplicable",""],["noClinvarIds",""],["nzTitle","OpenCRAVAT",4,"ngIf"],["noVariantInfo",""],["cvcHeight","300px",3,"variantId","cvcTitle"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],[3,"variantType",4,"ngFor","ngForOf"],[3,"variantType"],["tooltip","View on ClinGen Allele Registry",3,"href"],["tooltip","View on ClinVar",3,"href"],["nzTitle","OpenCRAVAT"],["tooltip","View on OpenCRAVAT",3,"href"],[3,"variantInfo"],["nzTitle","MyVariantInfo"],["notification","Not available, provide Representative Variant Coordinates"]],template:function(a,e){1&a&&(n.YNc(0,pi,47,36,"ng-container",0),n.ALo(1,"ngrxPush")),2&a&&n.Q6J("ngIf",n.lcZ(1,1,e.variant$))},dependencies:[p.sg,p.O5,f.t3,f.SK,pn.R7,pn.uj,g.bd,m.ZU,Qn.j,ee.m,ae.$,hn.H,ie.j,An.l,q,wa.J,La.B,v.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]});var li=o(2011);class j{constructor(a){this.route=a,this.subscribable={id:+this.route.snapshot.params.variantId,entityType:d.o71.Variant}}}j.\u0275fac=function(a){return new(a||j)(n.Y36(l.gz))},j.\u0275cmp=n.Xpm({type:j,selectors:[["cvc-variants-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(a,e){1&a&&n._UZ(0,"cvc-event-feed",0),2&a&&n.Q6J("subscribable",e.subscribable)},dependencies:[li.o],styles:["[_nghost-%COMP%]{display:block}"]});class N{}N.\u0275fac=function(a){return new(a||N)},N.\u0275mod=n.oAB({type:N}),N.\u0275inj=n.cJS({imports:[p.ez,Zn.t]});const fi=[{path:"",component:D,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:F,data:{breadcrumb:"Summary"}},{path:"comments",component:w,data:{breadcrumb:"Comments"}},{path:"revisions",component:B,data:{breadcrumb:"Revisions"}},{path:"flags",component:L,data:{breadcrumb:"Flags"}},{path:"events",component:j,data:{breadcrumb:"Events"}}]}];class S{}S.\u0275fac=function(a){return new(a||S)},S.\u0275mod=n.oAB({type:S}),S.\u0275inj=n.cJS({imports:[l.Bz.forChild(fi),U,V,J,M,N,l.Bz]});class P{}P.\u0275fac=function(a){return new(a||P)},P.\u0275mod=n.oAB({type:P}),P.\u0275inj=n.cJS({imports:[p.ez,S,v._N,v.pP,C.sL,R.PV,A.KJ,s.zf,f.Jb,z.L,mn.$6,K.Z,tn.c,r.m,I.U,nn.D,X.g,O.s,W.m,Q]})}}]); \ No newline at end of file diff --git a/server/public/5465.8aa4e716762a05ff.js b/server/public/5465.8aa4e716762a05ff.js deleted file mode 100644 index 30789f642..000000000 --- a/server/public/5465.8aa4e716762a05ff.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5465],{8041:(I,C,o)=>{o.d(C,{z:()=>a});var t=o(4650),n=o(6672),_=o(1102),d=o(4110);class a{constructor(){this.cvcShowLabel=!0,this.cvcShowTooltip=!0,this.showIcon=!0}}a.\u0275fac=function(p){return new(p||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-attribute-tag"]],inputs:{cvcAttrValue:"cvcAttrValue",iconPropertyType:"iconPropertyType",cvcShowLabel:"cvcShowLabel",cvcShowTooltip:"cvcShowTooltip",showIcon:"showIcon"},decls:5,vars:7,consts:[["nz-icon","",3,"nzType"]],template:function(p,T){1&p&&(t.TgZ(0,"nz-tag"),t._UZ(1,"i",0),t.ALo(2,"evidenceEnumDisplay"),t._uU(3),t.ALo(4,"evidenceEnumDisplay"),t.qZA()),2&p&&(t.xp6(1),t.Q6J("nzType",t.xi3(2,2,T.cvcAttrValue,"icon-name")),t.xp6(2),t.hij(" ",t.lcZ(4,5,T.cvcAttrValue),"\n"))},dependencies:[n.j,_.Ls,d.Do],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})},4226:(I,C,o)=>{o.d(C,{_:()=>p});var t=o(6895),n=o(6672),_=o(9444),d=o(1102),a=o(7570),m=o(4650);class p{}p.\u0275fac=function(P){return new(P||p)},p.\u0275mod=m.oAB({type:p}),p.\u0275inj=m.cJS({imports:[t.ez,n.X,d.PV,a.cg,_.s]})},3681:(I,C,o)=>{o.d(C,{P:()=>v});var t=o(4650),n=o(6895),_=o(7570);function d(i,g){1&i&&(t.ynx(0),t._uU(1," N/A "),t.BQk())}function a(i,g){1&i&&(t.ynx(0),t._uU(1," Not applicable "),t.BQk())}function m(i,g){if(1&i&&(t.TgZ(0,"span",4),t.ynx(1,0),t.YNc(2,d,2,0,"ng-container",5),t.YNc(3,a,2,0,"ng-container",6),t.BQk(),t.qZA()),2&i){const u=t.oxw();t.xp6(1),t.Q6J("ngSwitch",u.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function p(i,g){1&i&&(t.ynx(0),t._uU(1," \u2013\xa0\u2013 "),t.BQk())}function T(i,g){1&i&&(t.ynx(0),t._uU(1,"Not specified"),t.BQk())}function P(i,g){if(1&i&&(t.TgZ(0,"span",7),t.ynx(1,0),t.YNc(2,p,2,0,"ng-container",5),t.YNc(3,T,2,0,"ng-container",6),t.BQk(),t.qZA()),2&i){const u=t.oxw();t.xp6(1),t.Q6J("ngSwitch",u.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function z(i,g){1&i&&(t.ynx(0),t._uU(1,"!?"),t.BQk())}function E(i,g){1&i&&(t.ynx(0),t._uU(1,"Unspecified"),t.BQk())}function y(i,g){if(1&i&&(t.TgZ(0,"span",8),t.ynx(1,0),t.YNc(2,z,2,0,"ng-container",5),t.YNc(3,E,2,0,"ng-container",6),t.BQk(),t.qZA()),2&i){const u=t.oxw();t.xp6(1),t.Q6J("ngSwitch",u.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}class v{constructor(){this.cvcEmptyCategory="not-applicable",this.cvcDisplayMode="default"}}v.\u0275fac=function(g){return new(g||v)},v.\u0275cmp=t.Xpm({type:v,selectors:[["cvc-empty-value"]],inputs:{cvcEmptyCategory:"cvcEmptyCategory",cvcDisplayMode:"cvcDisplayMode"},decls:4,vars:4,consts:[[3,"ngSwitch"],["class","empty-symbol not-applicable","nz-tooltip","","nzTooltipTitle","Value is not applicable",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Unspecified","class","empty-symbol unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","INVALID","class","empty-symbol invalid","nz-tooltip","","nzTooltipTitle","Error: value requires specification",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Value is not applicable",1,"empty-symbol","not-applicable"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["nz-tooltip","","nzTooltipTitle","Unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",1,"empty-symbol","unspecified"],["nz-tooltip","","nzTooltipTitle","INVALID","nz-tooltip","","nzTooltipTitle","Error: value requires specification",1,"empty-symbol","invalid"]],template:function(g,u){1&g&&(t.ynx(0,0),t.YNc(1,m,4,2,"span",1),t.YNc(2,P,4,2,"span",2),t.YNc(3,y,4,2,"span",3),t.BQk()),2&g&&(t.Q6J("ngSwitch",u.cvcEmptyCategory),t.xp6(1),t.Q6J("ngSwitchCase","not-applicable"),t.xp6(1),t.Q6J("ngSwitchCase","unspecified"),t.xp6(1),t.Q6J("ngSwitchCase","invalid"))},dependencies:[n.RF,n.n9,n.ED,_.SY],styles:[".empty-symbol[_ngcontent-%COMP%]{font-style:oblique;display:inline-block;white-space:no-wrap}.empty-symbol.not-applicable[_ngcontent-%COMP%]{color:#ccc;font-weight:500}.empty-symbol.unspecified[_ngcontent-%COMP%]{display:inline-block;color:#ccc;font-weight:500;padding:0 3px}.empty-symbol.invalid[_ngcontent-%COMP%]{display:inline-block;color:#ff4d4f;font-weight:700}"]})},7837:(I,C,o)=>{o.d(C,{M:()=>a});var t=o(6895),n=o(1102),_=o(7570),d=o(4650);class a{}a.\u0275fac=function(p){return new(p||a)},a.\u0275mod=d.oAB({type:a}),a.\u0275inj=d.cJS({imports:[t.ez,_.cg,n.PV]})},8766:(I,C,o)=>{o.d(C,{P:()=>E});var t=o(6895),n=o(6616),_=o(2635),d=o(7570),a=o(5681),m=o(1825),p=o(4006),T=o(3679),P=o(6903),z=o(4650);class E{}E.\u0275fac=function(v){return new(v||E)},E.\u0275mod=z.oAB({type:E}),E.\u0275inj=z.cJS({imports:[t.ez,p.u5,p.UX,n.sL,d.cg,a.j,P.zf,T.Jb,_._N,_.pP,m.A]})},7914:(I,C,o)=>{o.d(C,{m:()=>g});var t=o(4650),n=o(6123),_=o(7630),d=o(7579),a=o(2722),m=o(9169),p=o(6895),T=o(6616),P=o(7044),z=o(1664),E=o(5681),y=o(1793),v=o(8227);function i(u,f){if(1&u){const s=t.EpF();t.TgZ(0,"cvc-org-selector-btn-group",5),t.NdJ("selectedOrgChange",function(x){t.CHM(s);const B=t.oxw();return t.KtG(B.mostRecentOrg=x)}),t.TgZ(1,"button",6),t.NdJ("click",function(){t.CHM(s);const x=t.oxw();return t.KtG(x.moderate(x.evidenceStatuses.Accepted))}),t._uU(2),t.qZA()()}if(2&u){const s=t.oxw();t.Q6J("selectedOrg",s.mostRecentOrg),t.xp6(2),t.hij(" Accept ",s.entityType," ")}}class g{constructor(f,s,M){this.revertEvidenceGQL=f,this.revertAssertionGQL=s,this.networkErrorService=M,this.rejectOnly=!1,this.onModerated=new t.vpe,this.evidenceStatuses=_.RTy,this.isSubmitting=!1,this.showConfirm=!1,this.destroy$=new d.x,this.moderateAssertionMutator=new n.U(M),this.moderateEvidenceMutator=new n.U(M)}moderate(f){let s;this.isSubmitting=!0,s="EvidenceItem"===this.entityType?this.moderateEvidenceMutator.mutate(this.revertEvidenceGQL,{input:{evidenceItemId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:f}}):this.moderateAssertionMutator.mutate(this.revertAssertionGQL,{input:{assertionId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:f}}),s.submitSuccess$.pipe((0,a.R)(this.destroy$)).subscribe(M=>{M&&(this.isSubmitting=!1,this.showConfirm=!1,this.onModerated.emit(f))}),s.submitError$.pipe((0,a.R)(this.destroy$)).subscribe(M=>{M&&(this.isSubmitting=!1,this.showConfirm=!1,this.onModerated.emit(M))}),s.isSubmitting$.pipe((0,a.R)(this.destroy$)).subscribe(M=>{this.isSubmitting=M})}ngOnInit(){if(void 0===this.viewer)throw new Error("Must pass in a viewer to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityId)throw new Error("Must pass in an id to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityType)throw new Error("Must pass in an entityType to the CvcEntitySubscriptionButtonComponent");this.mostRecentOrg=this.viewer.mostRecentOrg}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}g.\u0275fac=function(f){return new(f||g)(t.Y36(_.MYm),t.Y36(_._jb),t.Y36(m.Y))},g.\u0275cmp=t.Xpm({type:g,selectors:[["cvc-moderate-entity-buttons"]],inputs:{viewer:"viewer",entityType:"entityType",entityId:"entityId",rejectOnly:"rejectOnly"},outputs:{onModerated:"onModerated"},decls:7,vars:4,consts:[[1,"center"],[3,"nzSpinning"],[3,"selectedOrg","selectedOrgChange",4,"ngIf"],["nzDanger","","nzType","primary",3,"selectedOrg","selectedOrgChange"],["cvcOrgSelectorBtn","","nzDanger","","nzType","primary","nzSize","large","nz-button","",3,"click"],[3,"selectedOrg","selectedOrgChange"],["cvcOrgSelectorBtn","","nzType","primary","nzSize","large","nz-button","",3,"click"]],template:function(f,s){1&f&&(t.TgZ(0,"div",0)(1,"nz-spin",1),t.YNc(2,i,3,2,"cvc-org-selector-btn-group",2),t._uU(3," \xa0 "),t.TgZ(4,"cvc-org-selector-btn-group",3),t.NdJ("selectedOrgChange",function(x){return s.mostRecentOrg=x}),t.TgZ(5,"button",4),t.NdJ("click",function(){return s.moderate(s.evidenceStatuses.Rejected)}),t._uU(6),t.qZA()()()()),2&f&&(t.xp6(1),t.Q6J("nzSpinning",s.isSubmitting),t.xp6(1),t.Q6J("ngIf",!s.rejectOnly),t.xp6(2),t.Q6J("selectedOrg",s.mostRecentOrg),t.xp6(2),t.hij(" Reject ",s.entityType," "))},dependencies:[p.O5,T.ix,P.w,z.dQ,E.W,y.m,v.q],styles:["[_nghost-%COMP%]{display:block}.center[_ngcontent-%COMP%]{display:flex;justify-content:center}"]})},3217:(I,C,o)=>{o.d(C,{e:()=>B});var t=o(4650),n=o(6123),_=o(7630),d=o(7579),a=o(2722),m=o(9169),p=o(6616),T=o(7044),P=o(1664),z=o(1102),E=o(7570),y=o(6960),v=o(5681),i=o(6903),g=o(1793),u=o(8227);function f(D,O){if(1&D&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&D){const l=t.oxw();t.xp6(1),t.hij("Revert this ",l.entityType," to Submitted?")}}function s(D,O){if(1&D){const l=t.EpF();t.TgZ(0,"span")(1,"cvc-org-selector-btn-group",8),t.NdJ("selectedOrgChange",function(A){t.CHM(l);const L=t.oxw(2);return t.KtG(L.mostRecentOrg=A)}),t.TgZ(2,"button",9),t.NdJ("click",function(){t.CHM(l);const A=t.oxw(2);return t.KtG(A.revert())}),t._uU(3," Revert "),t.qZA()()()}if(2&D){const l=t.oxw(2);t.xp6(1),t.Q6J("selectedOrg",l.mostRecentOrg)}}function M(D,O){if(1&D){const l=t.EpF();t.TgZ(0,"span")(1,"button",10),t.NdJ("click",function(){t.CHM(l);const A=t.oxw(2);return t.KtG(A.showConfirm=!1)}),t._uU(2," Cancel "),t.qZA()()}}function x(D,O){if(1&D&&(t.TgZ(0,"nz-spin",5)(1,"nz-space",6),t.YNc(2,s,4,1,"span",7),t.YNc(3,M,3,0,"span",7),t.qZA()()),2&D){const l=t.oxw();t.Q6J("nzSpinning",l.isSubmitting)}}class B{constructor(O,l,h){this.revertEvidenceGQL=O,this.revertAssertionGQL=l,this.networkErrorService=h,this.onReverted=new t.vpe,this.isSubmitting=!1,this.showConfirm=!1,this.destroy$=new d.x,this.revertAssertionMutator=new n.U(h),this.revertEvidenceMutator=new n.U(h)}revert(){let O;this.isSubmitting=!0,O="EvidenceItem"===this.entityType?this.revertEvidenceMutator.mutate(this.revertEvidenceGQL,{input:{evidenceItemId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:_.RTy.Submitted}}):this.revertAssertionMutator.mutate(this.revertAssertionGQL,{input:{assertionId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:_.RTy.Submitted}}),O.submitSuccess$.pipe((0,a.R)(this.destroy$)).subscribe(l=>{l&&(this.isSubmitting=!1,this.showConfirm=!1,this.onReverted.emit(!0))}),O.submitError$.pipe((0,a.R)(this.destroy$)).subscribe(l=>{l&&(this.isSubmitting=!1,this.showConfirm=!1,this.onReverted.emit(l))}),O.isSubmitting$.pipe((0,a.R)(this.destroy$)).subscribe(l=>{this.isSubmitting=l})}handleConfirmModalCancel(){this.showConfirm=!1}ngOnInit(){if(void 0===this.viewer)throw new Error("Must pass in a viewer to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityId)throw new Error("Must pass in an id to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityType)throw new Error("Must pass in an entityType to the CvcEntitySubscriptionButtonComponent");this.mostRecentOrg=this.viewer.mostRecentOrg}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}B.\u0275fac=function(O){return new(O||B)(t.Y36(_.MYm),t.Y36(_._jb),t.Y36(m.Y))},B.\u0275cmp=t.Xpm({type:B,selectors:[["cvc-revert-entity-button"]],inputs:{viewer:"viewer",entityType:"entityType",entityId:"entityId"},outputs:{onReverted:"onReverted"},decls:7,vars:5,consts:[["nz-button","","nz-tooltip","Revert to Submitted","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","undo"],[3,"nzVisible","nzContent","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],["confirmModalTitle",""],["confirmModalContent",""],[3,"nzSpinning"],["nzDirection","horizontal"],[4,"nzSpaceItem"],[3,"selectedOrg","selectedOrgChange"],["cvcOrgSelectorBtn","","nzType","primary","nzSize","small","nz-button","",3,"click"],["nz-button","","nzSize","small",3,"click"]],template:function(O,l){if(1&O&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return l.showConfirm=!0}),t._UZ(1,"i",1),t.qZA(),t.TgZ(2,"nz-modal",2),t.NdJ("nzVisibleChange",function(A){return l.showConfirm=A})("nzOnCancel",function(){return l.handleConfirmModalCancel()}),t.YNc(3,f,2,1,"ng-template",null,3,t.W1O),t.YNc(5,x,4,1,"ng-template",null,4,t.W1O),t.qZA()),2&O){const h=t.MAs(4),A=t.MAs(6);t.Q6J("nzLoading",l.isSubmitting),t.xp6(2),t.Q6J("nzVisible",l.showConfirm)("nzContent",A)("nzTitle",h)("nzFooter",null)}},dependencies:[p.ix,T.w,P.dQ,z.Ls,E.SY,y.du,v.W,i.NU,i.$1,g.m,u.q],styles:["[_nghost-%COMP%]{display:block}"]})},694:(I,C,o)=>{o.d(C,{G:()=>y});var t=o(6895),n=o(6616),_=o(2635),d=o(1102),a=o(7570),m=o(6960),p=o(5681),T=o(6903),P=o(1825),z=o(4006),E=o(4650);class y{}y.\u0275fac=function(i){return new(i||y)},y.\u0275mod=E.oAB({type:y}),y.\u0275inj=E.cJS({imports:[t.ez,z.u5,z.UX,n.sL,d.PV,a.cg,m.Qp,p.j,T.zf,_._N,_.pP,P.A]})},112:(I,C,o)=>{o.d(C,{u:()=>U});var t=o(9771),n=o(4650),_=o(6895),d=o(9116),a=o(6581),m=o(6672),p=o(1102),T=o(3240),P=o(4004),z=o(9300),E=o(7630),y=o(1971),v=o(9194),i=o(783),g=o(5457),u=o(6715),f=o(2635),s=o(160);function M(e,r){if(1&e&&(n._UZ(0,"i",7),n.ALo(1,"entityColor"),n._uU(2)),2&e){const c=n.oxw().ngIf;n.Q6J("nzTwotoneColor",n.lcZ(1,2,"VariantGroup")),n.xp6(2),n.hij(" ",c.name," ")}}function x(e,r){if(1&e&&n._UZ(0,"cvc-variant-tag",10),2&e){const c=r.$implicit;n.Q6J("enablePopover",!1)("variant",c.node)}}function B(e,r){if(1&e&&(n.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),n.YNc(2,x,1,2,"cvc-variant-tag",9),n.qZA()()),2&e){const c=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",c.variants.edges)}}function D(e,r){if(1&e&&n._UZ(0,"cvc-source-tag",13),2&e){const c=r.$implicit;n.Q6J("enablePopover",!1)("source",c)}}function O(e,r){if(1&e&&(n.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),n.YNc(2,D,1,2,"cvc-source-tag",12),n.qZA()()),2&e){const c=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",c.sources)}}function l(e,r){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,M,3,4,"ng-template",null,3,n.W1O),n._uU(4),n.TgZ(5,"nz-descriptions",4),n.YNc(6,B,3,1,"nz-descriptions-item",5),n.YNc(7,O,3,1,"nz-descriptions-item",6),n.qZA()(),n.BQk()),2&e){const c=r.ngIf,R=n.MAs(3);n.xp6(1),n.Q6J("nzTitle",R),n.xp6(3),n.hij(" ",c.description," "),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",c.variants.edges.length>0),n.xp6(1),n.Q6J("ngIf",c.sources.length>0)}}class h{constructor(r){this.gql=r}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,P.U)(({data:r})=>r?.variantGroup),(0,z.h)(T.ep))}}h.\u0275fac=function(r){return new(r||h)(n.Y36(E.Zo2))},h.\u0275cmp=n.Xpm({type:h,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(r,c){1&r&&(n.TgZ(0,"div",0),n.YNc(1,l,8,5,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&r&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,c.variantGroup$)))},dependencies:[_.sg,_.O5,y.bd,v.R7,v.uj,p.Ls,i.T,g.I,u.$,f.fM,s.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var A=o(1730);function L(e,r){}function S(e,r){if(1&e&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,L,0,0,"ng-template",5),n.qZA(),n.BQk()),2&e){const c=n.oxw(),R=n.MAs(2);n.xp6(1),n.Q6J("routerLink",c.variantgroup.link),n.xp6(1),n.Q6J("ngTemplateOutlet",R)}}function W(e,r){}function K(e,r){if(1&e&&n._UZ(0,"cvc-variant-group-popover",9),2&e){const c=n.oxw(3);n.Q6J("variantGroupId",c.variantgroup.id)}}function V(e,r){if(1&e&&n.YNc(0,K,1,1,"cvc-variant-group-popover",8),2&e){const c=n.oxw(2);n.Q6J("ngIf",c.enablePopover)}}function Q(e,r){if(1&e&&(n.TgZ(0,"nz-tag",6),n.YNc(1,W,0,0,"ng-template",5),n.qZA(),n.YNc(2,V,1,1,"ng-template",null,7,n.W1O)),2&e){const c=n.MAs(3),R=n.oxw(),Z=n.MAs(6);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",c)("nzPopoverTrigger",R.enablePopover?"hover":null),n.xp6(1),n.Q6J("ngTemplateOutlet",Z)}}function b(e,r){}function G(e,r){if(1&e&&n.YNc(0,b,0,0,"ng-template",5),2&e){n.oxw();const c=n.MAs(2);n.Q6J("ngTemplateOutlet",c)}}function J(e,r){if(1&e&&(n.TgZ(0,"cvc-icon-badges",10),n._UZ(1,"i",11),n.ALo(2,"entityColor"),n.qZA(),n._uU(3)),2&e){const c=n.oxw();n.Q6J("flagged",c.variantgroup.flagged)("entityColor",c.iconColor),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,4,"VariantGroup")),n.xp6(2),n.hij(" ",c.variantgroup.name,"\n")}}class U{set variantgroup(r){if(!r)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=r}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,t.f)("VariantGroup")}}U.\u0275fac=function(r){return new(r||U)},U.\u0275cmp=n.Xpm({type:U,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(r,c){if(1&r&&(n.YNc(0,S,3,2,"ng-container",0),n.YNc(1,Q,4,4,"ng-template",null,1,n.W1O),n.YNc(3,G,1,1,"ng-template",null,2,n.W1O),n.YNc(5,J,4,6,"ng-template",null,3,n.W1O)),2&r){const R=n.MAs(4);n.Q6J("ngIf",c.linked)("ngIfElse",R)}},dependencies:[_.O5,_.tP,d.rH,a.lU,m.j,p.Ls,h,A.b,s.a],encapsulation:2,changeDetection:0})},7677:(I,C,o)=>{o.d(C,{G:()=>u});var t=o(6895),n=o(9116),_=o(6581),d=o(6672),a=o(1102),m=o(897),p=o(2811),T=o(7043),P=o(9444),z=o(2635),E=o(1971),y=o(9194),v=o(4650);class i{}i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=v.oAB({type:i}),i.\u0275inj=v.cJS({imports:[t.ez,z._N,z.pP,E.vh,y.q6,a.PV,p.s,T.Q,m.$,P.s]});var g=o(6429);class u{}u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=v.oAB({type:u}),u.\u0275inj=v.cJS({imports:[t.ez,n.Bz,_.$6,d.X,a.PV,i,P.s,g.C]})}}]); \ No newline at end of file diff --git a/server/public/5484.68dcf87aec9743df.js b/server/public/5484.68dcf87aec9743df.js new file mode 100644 index 000000000..4af6823b2 --- /dev/null +++ b/server/public/5484.68dcf87aec9743df.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5484],{4786:(N,C,a)=>{a.d(C,{O:()=>D});var l=a(8130),g=a(2023),o=a(5879),y=a(6814),u=a(4190),M=a(5695),O=a(7417),m=a(551),t=a(8213),G=a(3103),h=a(2616);function P(s,p){}function v(s,p){if(1&s&&(o.ynx(0),o.TgZ(1,"a",4),o.YNc(2,P,0,0,"ng-template",5),o.qZA(),o.BQk()),2&s){const c=o.oxw(),d=o.MAs(2);o.xp6(1),o.Q6J("routerLink",c.evidence.link),o.xp6(1),o.Q6J("ngTemplateOutlet",d)}}function f(s,p){}function V(s,p){if(1&s&&o._UZ(0,"cvc-evidence-popover",9),2&s){const c=o.oxw(3);o.Q6J("evidenceId",c.evidence.id)}}function E(s,p){if(1&s&&o.YNc(0,V,1,1,"cvc-evidence-popover",8),2&s){const c=o.oxw(2);o.Q6J("ngIf",c.enablePopover)}}const I=function(s,p,c){return{rejected:s,submitted:p,accepted:c}};function _(s,p){if(1&s&&(o.TgZ(0,"nz-tag",6),o.YNc(1,f,0,0,"ng-template",5),o.qZA(),o.YNc(2,E,1,1,"ng-template",null,7,o.W1O)),2&s){const c=o.MAs(3),d=o.oxw(),b=o.MAs(6);o.Q6J("ngClass",o.kEZ(5,I,"REJECTED"===d.evidence.status,"SUBMITTED"===d.evidence.status,"ACCEPTED"===d.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",c)("nzPopoverTrigger",d.enablePopover?"hover":null),o.xp6(1),o.Q6J("ngTemplateOutlet",b)}}function Z(s,p){}function A(s,p){if(1&s&&o.YNc(0,Z,0,0,"ng-template",5),2&s){o.oxw();const c=o.MAs(2);o.Q6J("ngTemplateOutlet",c)}}function S(s,p){if(1&s&&(o.TgZ(0,"cvc-icon-badges",10),o._UZ(1,"i",11),o.ALo(2,"entityColor"),o.ALo(3,"entityColor"),o.qZA(),o._uU(4)),2&s){const c=o.oxw();o.Q6J("flagged",c.evidence.flagged)("entityColor",c.iconColor),o.xp6(1),o.Q6J("nzTwotoneColor","REJECTED"===c.evidence.status?o.lcZ(2,4,"Rejected"):o.lcZ(3,6,"EvidenceItem")),o.xp6(3),o.hij(" ",c.evidence.name,"\n")}}let D=(()=>{class s extends l.a{set evidence(c){if(!c)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=c}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,g.f)("EvidenceItem")}idFunction(){return this.evidence.id}}return s.\u0275fac=function(c){return new(c||s)},s.\u0275cmp=o.Xpm({type:s,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[o.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(c,d){if(1&c&&(o.YNc(0,v,3,2,"ng-container",0),o.YNc(1,_,4,9,"ng-template",null,1,o.W1O),o.YNc(3,A,1,1,"ng-template",null,2,o.W1O),o.YNc(5,S,5,8,"ng-template",null,3,o.W1O)),2&c){const b=o.MAs(4);o.Q6J("ngIf",d.linked)("ngIfElse",b)}},dependencies:[y.mk,y.O5,y.tP,u.rH,M.j,O.lU,m.Ls,t._,G.b,h.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]}),s})()},7093:(N,C,a)=>{a.r(C),a.d(C,{VariantGroupsDetailModule:()=>$t});var l=a(6814),g=a(4190),o=a(8645),y=a(5619),u=a(313),M=a(7921),O=a(9773),m=a(4223),t=a(5879),G=a(951),h=a(8091),P=a(551),v=a(95),f=a(6254),V=a(2840),E=a(855),I=a(1958),_=a(2574),Z=a(327),A=a(1801),S=a(3145),D=a(8295),s=a(5098),p=a(1520),c=a(2616);const d=function(n){return["/variant-groups",n,"revise"]};function b(n,i){if(1&n&&(t.TgZ(0,"button",14,15),t._uU(2," Revise "),t.qZA()),2&n){const e=t.MAs(1),r=t.oxw(4).ngIf;t.Q6J("routerLink",t.VKq(2,d,r.id))("nzType",e.isActive?"primary":"default")}}function Y(n,i){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,b,3,4,"button",13),t.qZA()),2&n){const e=t.oxw().ngrxLet;t.xp6(1),t.Q6J("ngIf",e.signedIn)}}function U(n,i){if(1&n&&(t.TgZ(0,"button",17,15),t._uU(2," Flag "),t.qZA()),2&n){const e=t.MAs(1);t.Q6J("nzType",e.isActive?"primary":"default")}}function R(n,i){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,U,3,1,"button",16),t.qZA()),2&n){const e=t.oxw().ngrxLet;t.xp6(1),t.Q6J("ngIf",e.signedIn)}}function $(n,i){if(1&n&&t._UZ(0,"cvc-entity-subscription-button",19),2&n){const e=t.oxw(2).ngrxLet,r=t.oxw(3);t.Q6J("viewer",e)("subscribableId",r.subscribable.id)}}function F(n,i){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,$,1,2,"cvc-entity-subscription-button",18),t.qZA()),2&n){const e=t.oxw().ngrxLet,r=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.signedIn&&r.subscribable)}}function B(n,i){1&n&&(t.TgZ(0,"nz-space",11),t.YNc(1,Y,2,1,"span",12),t.YNc(2,R,2,1,"span",12),t.YNc(3,F,2,1,"span",12),t.qZA())}function j(n,i){if(1&n&&(t.TgZ(0,"nz-page-header-extra"),t.YNc(1,B,4,0,"nz-space",10),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngrxLet",e.viewer$)}}function W(n,i){if(1&n&&(t.TgZ(0,"nz-col",20),t._UZ(1,"cvc-contributor-avatars",21),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("subscribable",e.subscribable)}}function K(n,i){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"div",2),t.ALo(3,"ngrxPush"),t.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),t._UZ(6,"i",5),t.ALo(7,"entityColor"),t._uU(8),t.qZA(),t.YNc(9,j,2,1,"nz-page-header-extra",6),t.TgZ(10,"nz-page-header-content")(11,"cvc-tab-navigation",7),t.ALo(12,"ngrxPush"),t.YNc(13,W,2,1,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(15,"div",9),t._UZ(16,"router-outlet"),t.qZA()()()(),t.BQk()),2&n){const e=i.ngIf,r=t.oxw();t.xp6(1),t.Q6J("displayName",e.name),t.xp6(1),t.Q6J("flags",t.lcZ(3,6,r.flagsTotal$)),t.xp6(4),t.Q6J("nzTwotoneColor",t.lcZ(7,8,"VariantGroup")),t.xp6(2),t.hij(" ",e.name," "),t.xp6(1),t.Q6J("ngrxLet",r.viewer$),t.xp6(2),t.Q6J("tabs",t.lcZ(12,10,r.tabs$))}}let X=(()=>{class n{constructor(e,r,L){this.gql=e,this.viewerService=r,this.route=L,this.destroy$=new o.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"}],this.viewer$=this.viewerService.viewer$,this.tabs$=new y.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(x=>{let w=this.gql.watch({variantGroupId:+x.variantGroupId}).valueChanges;this.loading$=w.pipe((0,m.j)("loading"),(0,M.O)(!0)),this.variantGroup$=w.pipe((0,m.j)("data","variantGroup")),this.flagsTotal$=this.variantGroup$.pipe((0,m.j)("flags","totalCount")),this.variantGroup$.pipe((0,O.R)(this.destroy$)).subscribe({next:T=>{this.tabs$.next(this.defaultTabs.map(z=>"Revisions"===z.tabLabel?{badgeCount:T?.revisions.totalCount,...z}:"Comments"===z.tabLabel?{badgeCount:T?.comments.totalCount,badgeColor:"#cccccc",...z}:z))}}),this.subscribable={id:+x.variantGroupId,entityType:u.o71.VariantGroup}})}ngOnInit(){}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(u.Qtd),t.Y36(G.a),t.Y36(g.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-variant-groups-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],[4,"ngrxLet"],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Variant",3,"viewer","subscribableId",4,"ngIf"],["typename","Variant",3,"viewer","subscribableId"],["id","contributors-col"],[3,"subscribable"]],template:function(e,r){1&e&&(t.YNc(0,K,17,12,"ng-container",0),t.ALo(1,"async")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,r.variantGroup$))},dependencies:[l.O5,h.eJ,g.lC,g.rH,g.Od,P.Ls,v.t3,f.$O,f.u9,f.u5,f.Jp,V.ix,E.w,I.dQ,_.NU,_.$1,Z.o,A.Y,S.I,D.Q,s.P,p.N,l.Ov,h.fM,c.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var H=a(1830);let k=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,H.l]}),n})();var q=a(800);function tt(n,i){if(1&n&&t._UZ(0,"cvc-comment-list",1),2&n){const e=t.oxw();t.Q6J("commentable",e.commentable)}}let nt=(()=>{class n{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(r=>{this.commentable={entityType:u.OfU.VariantGroup,id:+r.variantGroupId}})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-variant-groups-comments"]],decls:1,vars:1,consts:[[3,"commentable",4,"ngIf"],[3,"commentable"]],template:function(e,r){1&e&&t.YNc(0,tt,1,1,"cvc-comment-list",0),2&e&&t.Q6J("ngIf",r.commentable)},dependencies:[l.O5,q.D],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var et=a(183);let at=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,et.M]}),n})();var ot=a(7287);function it(n,i){if(1&n&&t._UZ(0,"cvc-flag-list-and-filter",1),2&n){const e=t.oxw();t.Q6J("flaggable",e.flaggable)}}let rt=(()=>{class n{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(r=>{this.flaggable={entityType:u.sfv.VariantGroup,id:+r.variantGroupId}})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-variant-groups-flags"]],decls:1,vars:1,consts:[[3,"flaggable",4,"ngIf"],[3,"flaggable"]],template:function(e,r){1&e&&t.YNc(0,it,1,1,"cvc-flag-list-and-filter",0),2&e&&t.Q6J("ngIf",r.flaggable)},dependencies:[l.O5,ot.L],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var st=a(2534);let ct=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,st.A]}),n})();var pt=a(6126);let lt=(()=>{class n{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(r=>{this.vgId=+r.variantGroupId,this.entityType=u.oRL.VariantGroup})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-variant-groups-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(e,r){1&e&&t._UZ(0,"cvc-revisions-list-and-filter",0),2&e&&t.Q6J("id",r.vgId)("entityType",r.entityType)},dependencies:[pt.a],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var J=a(8125),gt=a(3511),ut=a(6506),Q=a(2392),dt=a(366),mt=a(8641);let _t=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,_.zf,v.Jb,J.q6,Q.ZJ,gt.o,ut.H,dt.$,mt.s]}),n})();var vt=a(7398),ft=a(3493),zt=a(806),ht=a(1887),yt=a(4138);function bt(n,i){if(1&n&&(t.TgZ(0,"p",11),t._uU(1),t.qZA()),2&n){const e=t.oxw(3).ngIf;t.Q6J("nzEllipsisRows",14),t.xp6(1),t.hij(" ",e.description," ")}}function xt(n,i){1&n&&t._UZ(0,"cvc-empty-revisable",12)}function Tt(n,i){if(1&n&&(t.TgZ(0,"nz-descriptions",7)(1,"nz-descriptions-item",8),t.YNc(2,bt,2,2,"p",9),t.YNc(3,xt,1,0,"ng-template",null,10,t.W1O),t.qZA()()),2&n){const e=t.MAs(4),r=t.oxw(2).ngIf;t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("ngIf",r.description)("ngIfElse",e)}}function Ct(n,i){1&n&&t._UZ(0,"cvc-source-tag",17),2&n&&t.Q6J("source",i.$implicit)}function Gt(n,i){if(1&n&&(t.ynx(0),t.TgZ(1,"cvc-tag-list"),t.YNc(2,Ct,1,1,"cvc-source-tag",16),t.qZA(),t.BQk()),2&n){const e=t.oxw(3).ngIf;t.xp6(2),t.Q6J("ngForOf",e.sources)}}function Pt(n,i){1&n&&(t.TgZ(0,"span",18),t._uU(1,"None specified"),t.qZA())}function Vt(n,i){if(1&n&&(t.TgZ(0,"nz-descriptions",7)(1,"nz-descriptions-item",13),t.YNc(2,Gt,3,1,"ng-container",14),t.YNc(3,Pt,2,0,"ng-template",null,15,t.W1O),t.qZA()()),2&n){const e=t.MAs(4),r=t.oxw(2).ngIf;t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("ngIf",r.sources.length>0)("ngIfElse",e)}}function Mt(n,i){1&n&&(t.TgZ(0,"nz-row",3)(1,"nz-col",4)(2,"nz-space",5),t.YNc(3,Tt,5,3,"nz-descriptions",6),t.qZA()(),t.TgZ(4,"nz-col",4)(5,"nz-space",5),t.YNc(6,Vt,5,3,"nz-descriptions",6),t.qZA()()()),2&n&&t.Q6J("nzGutter",16)}function Ot(n,i){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-variants-table",21),t.BQk()),2&n){const e=i.ngrxLet;t.xp6(1),t.MGl("cvcTitle","Variants in Variant Groupt ",null==e?null:e.name,""),t.Q6J("variantGroupId",null==e?null:e.id)}}function Et(n,i){if(1&n&&(t.TgZ(0,"nz-row",3)(1,"nz-col",19),t.YNc(2,Ot,2,2,"ng-container",20),t.qZA()()),2&n){const e=t.oxw(2);t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("ngrxLet",e.variantGroup$)}}function It(n,i){1&n&&(t.TgZ(0,"nz-space",1),t.YNc(1,Mt,7,1,"nz-row",2),t.YNc(2,Et,3,3,"nz-row",2),t.qZA())}let Zt=(()=>{class n{constructor(e,r,L){this.gql=e,this.viewerService=r,this.route=L,this.routeSub=this.route.params.subscribe(x=>{this.viewer$=this.viewerService.viewer$;let T=this.gql.watch({variantGroupId:+x.variantGroupId}).valueChanges;this.subscribableEntity={id:+x.variantGroupId,entityType:u.o71.VariantGroup},this.variantGroup$=T.pipe((0,m.j)("data","variantGroup")),this.loading$=T.pipe((0,m.j)("loading")),this.myVariantGroupInfo$=this.variantGroup$.pipe((0,m.j)("myVariantGroupInfoDetails"),(0,vt.U)(z=>JSON.parse(String(z))))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(u.q1D),t.Y36(G.a),t.Y36(g.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-variant-groups-summary"]],decls:2,vars:3,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzSpan","12"],["nzDirection","vertical"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["noSources",""],[3,"source",4,"ngFor","ngForOf"],[3,"source"],["nz-typography","","nzType","secondary"],[3,"nzSpan"],[4,"ngrxLet"],[3,"variantGroupId","cvcTitle"]],template:function(e,r){1&e&&(t.YNc(0,It,3,0,"nz-space",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,r.variantGroup$))},dependencies:[l.sg,l.O5,h.eJ,_.NU,_.$1,v.t3,v.SK,J.R7,J.uj,Q.ZU,ft.J,zt.S,ht.$,yt.T,h.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]}),n})();var At=a(9894);let St=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,At.t]}),n})();var Dt=a(7441);const Jt=[{path:"",component:X,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:Zt,data:{breadcrumb:"Summary"}},{path:"comments",component:nt,data:{breadcrumb:"Comments"}},{path:"revisions",component:lt,data:{breadcrumb:"Revisions"}},{path:"flags",component:rt,data:{breadcrumb:"Flags"}},{path:"events",component:(()=>{class n{constructor(e){this.route=e,this.subscribable={id:+this.route.snapshot.params.variantGroupId,entityType:u.o71.VariantGroup}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-variant-groups-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(e,r){1&e&&t._UZ(0,"cvc-event-feed",0),2&e&&t.Q6J("subscribable",r.subscribable)},dependencies:[Dt.o],styles:["[_nghost-%COMP%]{display:block}"]}),n})(),data:{breadcrumb:"Events"}}]}];let Lt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[g.Bz.forChild(Jt),_t,k,ct,at,St,g.Bz]}),n})();var wt=a(2419),Qt=a(7129),Nt=a(5725),Yt=a(4059),Ut=a(936),Rt=a(2524);let $t=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[l.ez,Lt,P.PV,v.Jb,f.KJ,V.sL,_.zf,Nt.m,Rt.s,wt.D,Qt.g,Yt.c,Ut.Z]}),n})()}}]); \ No newline at end of file diff --git a/server/public/5556.b061e9bbefb5e0f3.js b/server/public/5556.b061e9bbefb5e0f3.js new file mode 100644 index 000000000..c292825cb --- /dev/null +++ b/server/public/5556.b061e9bbefb5e0f3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5556],{29:(U,P,t)=>{t.d(P,{C:()=>u});var o=t(6814),p=t(2962),d=t(6976),n=t(95),m=t(2574),g=t(5695),E=t(2524),v=t(5879);let u=(()=>{class s{}return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[o.ez,p.vh,d.Ph,n.Jb,g.X,m.zf,E.s]}),s})()},9755:(U,P,t)=>{t.d(P,{y:()=>c});var o=t(6814),p=t(5695),d=t(551),n=t(4190),m=t(2524),g=t(3235),E=t(6165),v=t(1218),u=t(7528),s=t(2962),C=t(95),i=t(5956),f=t(3641),D=t(2655),z=t(2574),A=t(8125),I=t(29),T=t(5879);let x=(()=>{class e{}return e.\u0275fac=function(O){return new(O||e)},e.\u0275mod=T.oAB({type:e}),e.\u0275inj=T.cJS({imports:[o.ez,s.vh,C.Jb,d.PV,z.zf,A.q6,m.s,i.U,g.W,E.W,v.i,u.Q,f.G,D.x,I.C]}),e})();var _=t(7417);let c=(()=>{class e{}return e.\u0275fac=function(O){return new(O||e)},e.\u0275mod=T.oAB({type:e}),e.\u0275inj=T.cJS({imports:[o.ez,n.Bz,m.s,x,p.X,d.PV,_.$6]}),e})()},4821:(U,P,t)=>{t.d(P,{q:()=>W});var o=t(5676),p=t(7398),d=t(2181),n=t(5879),m=t(313),g=t(6814),E=t(95),v=t(2962),u=t(8125),s=t(6987),C=t(1887),i=t(215),f=t(7458),D=t(8091);const z=["additionalMetadata"];function A(a,l){if(1&a&&(n._UZ(0,"cvc-user-avatar",14),n.TgZ(1,"span",15),n._uU(2),n.qZA()),2&a){const r=n.oxw().ngIf;n.Q6J("user",r),n.xp6(2),n.Oqu(r.displayName)}}function I(a,l){if(1&a&&(n._UZ(0,"i",16),n._uU(1),n.ALo(2,"titlecase")),2&a){const r=n.oxw().ngIf;n.xp6(1),n.hij(" ",n.lcZ(2,1,r.role)," ")}}function T(a,l){if(1&a&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&a){const r=l.ngIf;n.xp6(1),n.Oqu(r)}}function x(a,l){if(1&a&&n._UZ(0,"cvc-organization-tag",18),2&a){const r=l.$implicit;n.Q6J("enablePopover",!1)("org",r)}}function _(a,l){if(1&a&&(n.TgZ(0,"cvc-tag-list"),n.YNc(1,x,1,2,"cvc-organization-tag",17),n.qZA()),2&a){const r=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",r.organizations)}}function c(a,l){1&a&&n._UZ(0,"nz-divider")}const e=function(a){return{$implicit:a}};function M(a,l){if(1&a&&(n.ynx(0),n._UZ(1,"nz-card",4),n.YNc(2,A,3,2,"ng-template",null,5,n.W1O),n.YNc(4,I,3,3,"ng-template",null,6,n.W1O),n.TgZ(6,"nz-row")(7,"nz-col",7)(8,"div",8)(9,"p",9),n.YNc(10,T,2,1,"span",10),n.qZA()()()(),n.TgZ(11,"nz-row")(12,"nz-col",7)(13,"nz-descriptions",11)(14,"nz-descriptions-item",12),n.YNc(15,_,2,1,"cvc-tag-list",10),n.qZA()()()(),n.TgZ(16,"nz-row"),n.YNc(17,c,1,0,"nz-divider",1),n.GkF(18,13),n.qZA(),n.BQk()),2&a){const r=l.ngIf,h=n.MAs(3),L=n.MAs(5),R=n.oxw(),K=n.MAs(4),y=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",h)("nzExtra",L),n.xp6(9),n.Q6J("ngIf",r.bio)("ngIfElse",K),n.xp6(3),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",r.organizations.length>0)("ngIfElse",y),n.xp6(2),n.Q6J("ngIf",R.metadataTemplateRef),n.xp6(1),n.Q6J("ngTemplateOutlet",R.metadataTemplateRef||null)("ngTemplateOutletContext",n.VKq(10,e,r))}}function O(a,l){1&a&&n._uU(0," User has not provided a biography. ")}function B(a,l){1&a&&(n.TgZ(0,"span",19),n._uU(1,"--"),n.qZA())}let W=(()=>{class a{constructor(r){this.gql=r}ngOnInit(){if(null==this.userId)throw new Error("Must pass an id into user hovercard");this.user$=this.gql.watch({userId:this.userId}).valueChanges.pipe((0,p.U)(({data:r})=>r?.user),(0,d.h)(o.ep))}}return a.\u0275fac=function(r){return new(r||a)(n.Y36(m.cEv))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-user-popover"]],contentQueries:function(r,h,L){if(1&r&&n.Suo(L,z,5),2&r){let R;n.iGM(R=n.CRH())&&(h.metadataTemplateRef=R.first)}},inputs:{userId:"userId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noBio",""],["noOrganizations",""],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Organizations"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],["nz-icon","","nzType","civic-admin"],[3,"enablePopover","org",4,"ngFor","ngForOf"],[3,"enablePopover","org"],["nz-typography","","nzStyle","secondary"]],template:function(r,h){1&r&&(n.TgZ(0,"div",0),n.YNc(1,M,19,12,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,O,1,0,"ng-template",null,2,n.W1O),n.YNc(5,B,2,0,"ng-template",null,3,n.W1O)),2&r&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,h.user$)))},dependencies:[g.sg,g.O5,g.tP,E.t3,E.SK,v.bd,u.R7,u.uj,s.g,C.$,i.m,f.L,g.rS,D.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.display-name[_ngcontent-%COMP%]{margin-left:8px;font-weight:400}"]}),a})()},4086:(U,P,t)=>{t.d(P,{J:()=>C});var o=t(6814),p=t(6067),d=t(8125),n=t(2962),m=t(366),g=t(1106),E=t(1022),v=t(6987),u=t(95),s=t(5879);let C=(()=>{class i{}return i.\u0275fac=function(D){return new(D||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({imports:[o.ez,u.Jb,n.vh,d.q6,v.S,p.X,m.$,g.L,E.H]}),i})()},356:(U,P,t)=>{t.d(P,{I:()=>x});var o=t(5879),p=t(6814),d=t(4190),n=t(7417),m=t(5695),g=t(551),E=t(4821),v=t(2616);function u(_,c){}function s(_,c){if(1&_&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,u,0,0,"ng-template",6),o.qZA(),o.BQk()),2&_){const e=o.oxw(),M=o.MAs(2);o.xp6(1),o.MGl("routerLink","/users/",e.user.id,""),o.xp6(1),o.Q6J("ngTemplateOutlet",M)}}function C(_,c){}function i(_,c){if(1&_&&o._UZ(0,"cvc-user-popover",9),2&_){const e=o.oxw(2);o.Q6J("userId",e.user.id)}}function f(_,c){if(1&_&&(o.TgZ(0,"nz-tag",7),o.YNc(1,C,0,0,"ng-template",6),o.qZA(),o.YNc(2,i,1,1,"ng-template",null,8,o.W1O)),2&_){const e=o.MAs(3),M=o.oxw(),O=o.MAs(8);o.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",e)("nzPopoverTrigger",M.enablePopover?"hover":null),o.xp6(1),o.Q6J("ngTemplateOutlet",O)}}function D(_,c){}function z(_,c){if(1&_&&(o.TgZ(0,"nz-tag"),o.YNc(1,D,0,0,"ng-template",6),o.qZA()),2&_){o.oxw();const e=o.MAs(8);o.xp6(1),o.Q6J("ngTemplateOutlet",e)}}function A(_,c){}function I(_,c){if(1&_&&o.YNc(0,A,0,0,"ng-template",6),2&_){o.oxw();const e=o.MAs(2);o.Q6J("ngTemplateOutlet",e)}}function T(_,c){if(1&_&&(o._UZ(0,"i",10),o.ALo(1,"entityColor"),o.ALo(2,"titlecase"),o._uU(3)),2&_){const e=o.oxw();o.Q6J("nzType",e.icon)("nzTwotoneColor",o.lcZ(1,3,o.lcZ(2,5,e.user.role))),o.xp6(3),o.hij(" ",e.user.displayName,"\n")}}let x=(()=>{class _{constructor(){this.linked=!0,this.enablePopover=!0}set user(e){if(!e)throw new Error("user-tag User input requires TagLinkableUser.");switch(this._user=e,e.role){case"ADMIN":this.icon="civic-admin";break;case"EDITOR":this.icon="civic-editor";break;default:this.icon="civic-curator"}}get user(){return this._user}}return _.\u0275fac=function(e){return new(e||_)},_.\u0275cmp=o.Xpm({type:_,selectors:[["cvc-user-tag"]],inputs:{user:"user",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","topCenter",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["userPopover",""],[3,"userId"],["nz-icon","","nzTheme","twotone",3,"nzType","nzTwotoneColor"]],template:function(e,M){if(1&e&&(o.YNc(0,s,3,2,"ng-container",0),o.YNc(1,f,4,4,"ng-template",null,1,o.W1O),o.YNc(3,z,2,1,"ng-template",null,2,o.W1O),o.YNc(5,I,1,1,"ng-template",null,3,o.W1O),o.YNc(7,T,4,7,"ng-template",null,4,o.W1O)),2&e){const O=o.MAs(6);o.Q6J("ngIf",M.linked)("ngIfElse",O)}},dependencies:[p.O5,p.tP,d.rH,n.lU,m.j,g.Ls,E.q,p.rS,v.a],encapsulation:2,changeDetection:0}),_})()},3235:(U,P,t)=>{t.d(P,{W:()=>u});var o=t(6814),p=t(4190),d=t(7417),n=t(5695),m=t(551),g=t(4086),E=t(2524),v=t(5879);let u=(()=>{class s{}return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[o.ez,p.Bz,d.$6,n.X,m.PV,E.s,g.J]}),s})()}}]); \ No newline at end of file diff --git a/server/public/5566.f83e215cf9db82c6.js b/server/public/5566.f83e215cf9db82c6.js deleted file mode 100644 index 7e8a33d93..000000000 --- a/server/public/5566.f83e215cf9db82c6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5566],{8909:(W,x,e)=>{e.d(x,{m:()=>g});var r=e(6895),o=e(7488),p=e(8369),n=e(9460),M=e(7043),f=e(7677),T=e(1229),C=e(7345),v=e(9476),P=e(6672),E=e(1102),y=e(4126),O=e(4650);class g{}g.\u0275fac=function(l){return new(l||g)},g.\u0275mod=O.oAB({type:g}),g.\u0275inj=O.cJS({imports:[r.ez,P.X,E.PV,o.y,p.W,n.i,M.Q,f.G,T.U,C.W,v.L,y.u]})},2233:(W,x,e)=>{e.d(x,{P:()=>O});var r=e(4650),o=e(9116),p=e(6895),n=e(3513),M=e(3679),f=e(1102),T=e(48);const C=["tabBarExtraContent"];function v(g,c){if(1&g&&r.GkF(0,5),2&g){const l=r.oxw();r.Q6J("ngTemplateOutlet",l.tabBarExtraContent||null)}}const P=function(){return{transform:"scale(0.75, 0.75) translate(0, -2px)"}};function E(g,c){if(1&g&&(r.TgZ(0,"a",7),r._UZ(1,"i",8),r._uU(2),r._UZ(3,"nz-badge",9),r.qZA()),2&g){const l=r.oxw().$implicit;r.Q6J("routerLink",l.routeName),r.xp6(1),r.Q6J("nzType",l.iconName),r.xp6(1),r.hij(" ",l.tabLabel," "),r.xp6(1),r.MGl("nzTitle","There are ",l.badgeCount," outstanding revisions."),r.Q6J("nzCount",l.badgeCount)("nzStyle",r.DdM(6,P))}}function y(g,c){1&g&&(r.TgZ(0,"nz-tab"),r.YNc(1,E,4,7,"a",6),r.qZA())}class O{constructor(c){this.router=c,this.selectedTabIndex=this.getActivatedRouteIndex(this.router.url)}getActivatedRouteIndex(c){return this.tabs?.findIndex(l=>c.includes(l.routeName))}}O.\u0275fac=function(c){return new(c||O)(r.Y36(o.F0))},O.\u0275cmp=r.Xpm({type:O,selectors:[["cvc-tab-navigation"]],contentQueries:function(c,l,I){if(1&c&&r.Suo(I,C,5),2&c){let B;r.iGM(B=r.CRH())&&(l.tabBarExtraContent=B.first)}},inputs:{entity:"entity",tabs:"tabs"},decls:6,vars:3,consts:[["id","section-tabs"],["nzSpan","24"],["nzLinkRouter","","nzType","card","nzSize","small",3,"nzSelectedIndex","nzTabBarExtraContent"],["extraTpl",""],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["nz-tab-link","",3,"routerLink",4,"nzTabLink"],["nz-tab-link","",3,"routerLink"],["nz-icon","",3,"nzType"],["nzStandalone","",3,"nzCount","nzTitle","nzStyle"]],template:function(c,l){if(1&c&&(r.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"nz-tabset",2),r.YNc(3,v,1,1,"ng-template",null,3,r.W1O),r.YNc(5,y,2,0,"nz-tab",4),r.qZA()()()),2&c){const I=r.MAs(4);r.xp6(2),r.Q6J("nzSelectedIndex",l.selectedTabIndex)("nzTabBarExtraContent",I),r.xp6(3),r.Q6J("ngForOf",l.tabs)}},dependencies:[p.sg,p.tP,o.rH,n.xH,n.xw,n.Ao,n.Fx,M.t3,M.SK,f.Ls,T.x7],styles:["[_nghost-%COMP%]{display:block}"]})},8762:(W,x,e)=>{e.d(x,{c:()=>v});var r=e(6895),o=e(3513),p=e(3679),n=e(9116),M=e(1102),f=e(2635),T=e(48),C=e(4650);class v{}v.\u0275fac=function(E){return new(E||v)},v.\u0275mod=C.oAB({type:v}),v.\u0275inj=C.cJS({imports:[r.ez,n.Bz,o.we,p.Jb,M.PV,T.mS,f._N,f.pP]})},4509:(W,x,e)=>{e.d(x,{w:()=>l});var r=e(6895),o=e(4006),p=e(1971),n=e(6704),M=e(7008),f=e(1825),T=e(4375),C=e(6616),v=e(4623),P=e(3513),E=e(2635),y=e(8909),O=e(5681),g=e(3997),c=e(4650);class l{}l.\u0275fac=function(B){return new(B||l)},l.\u0275mod=c.oAB({type:l}),l.\u0275inj=c.cJS({imports:[r.ez,o.UX,E._N,E.pP,C.sL,p.vh,P.we,n.U5,O.j,g.Gl,o.u5,M.B,f.A,T.R,y.m,v.K]})},8227:(W,x,e)=>{e.d(x,{q:()=>b});var R,r=e(655),o=e(4650),p=e(9933),n=e(7579),M=e(1135),f=e(4004),T=e(8505),C=e(6579),v=e(1793),P=e(9350),E=e(6895),y=e(6616),O=e(7044),g=e(1664),c=e(4383),l=e(3325),I=e(9562),B=e(2635);function Y(d,_){1&d&&o.Hsn(0)}function L(d,_){1&d&&o.GkF(0)}function Z(d,_){if(1&d&&(o.ynx(0),o.YNc(1,L,1,0,"ng-container",5),o.BQk()),2&d){o.oxw(2);const m=o.MAs(1);o.xp6(1),o.Q6J("ngTemplateOutlet",m)}}function A(d,_){1&d&&o.GkF(0)}function Q(d,_){if(1&d&&(o.ynx(0),o.TgZ(1,"nz-button-group"),o.YNc(2,A,1,0,"ng-container",5),o.TgZ(3,"button",6),o.ALo(4,"ngrxPush"),o.ALo(5,"ngrxPush"),o.ALo(6,"ngrxPush"),o.TgZ(7,"span"),o._uU(8,"for"),o.qZA(),o._UZ(9,"nz-avatar",7)(10,"i",8),o.qZA()(),o.BQk()),2&d){o.oxw();const m=o.MAs(4),D=o.oxw(),S=o.MAs(1);o.xp6(2),o.Q6J("ngTemplateOutlet",S),o.xp6(1),o.Q6J("ngClass",o.lcZ(4,8,D.buttonClass$))("hidden",o.lcZ(5,10,D.isHidden$))("disabled",o.lcZ(6,12,D.isDisabled$))("nzDropdownMenu",m),o.xp6(6),o.Q6J("nzSrc",null==D.selectedOrg?null:D.selectedOrg.profileImagePath)("nzSize",10)("nzShape","square")}}function F(d,_){if(1&d){const m=o.EpF();o.TgZ(0,"li",9),o.NdJ("click",function(){const $=o.CHM(m).$implicit,J=o.oxw(2);return o.KtG(J.selectOrg($))}),o._UZ(1,"nz-avatar",10),o._uU(2),o.qZA()}if(2&d){const m=_.$implicit,D=o.oxw(2);o.Q6J("nzSelected",(null==D.selectedOrg?null:D.selectedOrg.id)===m.id),o.xp6(1),o.Q6J("nzSrc",null==m?null:m.profileImagePath)("nzSize",10)("nzShape","square"),o.xp6(1),o.hij(" ",m.name," ")}}function U(d,_){if(1&d&&(o.ynx(0),o.YNc(1,Z,2,1,"ng-container",1),o.YNc(2,Q,11,14,"ng-container",1),o.TgZ(3,"nz-dropdown-menu",null,2)(5,"ul",3),o.YNc(6,F,3,5,"li",4),o.qZA()(),o.BQk()),2&d){const m=_.ngIf;o.xp6(1),o.Q6J("ngIf",m.length<=1),o.xp6(1),o.Q6J("ngIf",m.length>1),o.xp6(4),o.Q6J("ngForOf",m)}}let b=((R=class{constructor(_){this.viewerService=_,this.selectedOrgChange=new o.vpe,this.baseButtonClass="org-dropdown-btn",this.isDisabled$=new n.x,this.isHidden$=new n.x,this.buttonClass$=new M.X("")}selectOrg(_){this.selectedOrg=_,this.selectedOrgChange.emit(_)}refreshViewer(){setTimeout(()=>{this.viewerService.refetch()},2500)}ngOnInit(){this.organizations$=this.viewerService.viewer$.pipe((0,f.U)(_=>_.organizations)),this.mostRecentOrg$=this.viewerService.viewer$.pipe((0,C.j)("mostRecentOrg"),(0,T.b)(_=>{_&&(this.selectedOrg=_,this.selectedOrgChange.emit(_))})),this.mostRecentOrg$.pipe((0,p.t)(this)).subscribe()}ngAfterViewInit(){this.button&&this.button.domChange&&this.button.domChange.pipe((0,p.t)(this)).subscribe(_=>{"class"===_.type&&"string"==typeof _.change?this.buttonClass$.next(`${this.baseButtonClass} ${_.change}`):"disabled"===_.type&&"boolean"==typeof _.change?this.isDisabled$.next(_.change):"hidden"===_.type&&"boolean"==typeof _.change&&this.isHidden$.next(_.change)})}}).\u0275fac=function(_){return new(_||R)(o.Y36(P.a))},R.\u0275cmp=o.Xpm({type:R,selectors:[["cvc-org-selector-btn-group"]],contentQueries:function(_,m,D){if(1&_&&o.Suo(D,v.m,5),2&_){let S;o.iGM(S=o.CRH())&&(m.button=S.first)}},inputs:{selectedOrg:"selectedOrg"},outputs:{selectedOrgChange:"selectedOrgChange"},ngContentSelectors:["*"],decls:4,vars:3,consts:[["submitButton",""],[4,"ngIf"],["orgMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],["type","button","nz-button","","nz-dropdown","",3,"ngClass","hidden","disabled","nzDropdownMenu"],[3,"nzSrc","nzSize","nzShape"],["nz-icon","","nzType","down"],["nz-menu-item","",3,"nzSelected","click"],[2,"background-color","#f0f5ff",3,"nzSrc","nzSize","nzShape"]],template:function(_,m){1&_&&(o.F$t(),o.YNc(0,Y,1,0,"ng-template",null,0,o.W1O),o.YNc(2,U,7,3,"ng-container",1),o.ALo(3,"async")),2&_&&(o.xp6(2),o.Q6J("ngIf",o.lcZ(3,1,m.organizations$)))},dependencies:[E.mk,E.sg,E.O5,E.tP,y.ix,y.fY,O.w,g.dQ,c.Dz,l.wO,l.r9,I.cm,I.RR,I.wA,E.Ov,B.fM],styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:first-child:not(:last-child){border-right-color:#ff4d4f}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:hover, [_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:focus{border-right-color:#fd7978}.org-dropdown-btn[_ngcontent-%COMP%] nz-avatar[_ngcontent-%COMP%]{margin:0 6px}.org-dropdown-btn.ant-btn-dangerous[_ngcontent-%COMP%]:last-child:not(:first-child), .org-dropdown-btn[_ngcontent-%COMP%] .ant-btn-dangerous[_ngcontent-%COMP%] + .ant-btn-dangerous[_ngcontent-%COMP%]{border-left-color:#fd7978}"]}),R);b=(0,r.gn)([(0,p.c)()],b)},3997:(W,x,e)=>{e.d(x,{Gl:()=>et,O3:()=>j,YW:()=>X,jO:()=>H});var r=e(445),o=e(8184),p=e(6895),n=e(4650),M=e(4006),f=e(9570),T=e(4788),C=e(1102),v=e(7579),P=e(4968),E=e(9646),y=e(9751),O=e(6451),g=e(727),c=e(2722),l=e(1884),I=e(1365),B=e(4004),R=e(8675),Y=e(3900),L=e(3303),Z=e(655),A=e(9521),Q=e(4080),F=e(1691),U=e(3187);const G=["items"];function b(s,h){1&s&&n.GkF(0)}const d=function(s){return{$implicit:s}};function _(s,h){if(1&s&&(n.ynx(0),n.YNc(1,b,1,0,"ng-container",10),n.BQk()),2&s){const t=n.oxw().$implicit,i=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",i.suggestionTemplate)("ngTemplateOutletContext",n.VKq(2,d,t))}}function m(s,h){if(1&s&&n._uU(0),2&s){const t=n.oxw().$implicit,i=n.oxw(2);n.Oqu(i.nzValueWith(t))}}function D(s,h){if(1&s){const t=n.EpF();n.TgZ(0,"li",6,7),n.NdJ("click",function(){const u=n.CHM(t).$implicit,z=n.oxw(2);return n.KtG(z.selectSuggestion(u))}),n.YNc(2,_,2,4,"ng-container",8),n.YNc(3,m,1,1,"ng-template",null,9,n.W1O),n.qZA()}if(2&s){const t=h.index,i=n.MAs(4),a=n.oxw(2);n.ekj("ant-mentions-dropdown-menu-item-active",t===a.activeIndex)("ant-mentions-dropdown-menu-item-selected",t===a.activeIndex),n.xp6(2),n.Q6J("ngIf",a.suggestionTemplate)("ngIfElse",i)}}function S(s,h){1&s&&(n.TgZ(0,"span"),n._UZ(1,"span",13),n.qZA())}function $(s,h){if(1&s&&(n.TgZ(0,"span"),n._UZ(1,"nz-embed-empty",14),n.qZA()),2&s){const t=n.oxw(3);n.xp6(1),n.Q6J("specificContent",t.nzNotFoundContent)}}function J(s,h){if(1&s&&(n.TgZ(0,"li",11),n.YNc(1,S,2,0,"span",12),n.YNc(2,$,2,1,"span",12),n.qZA()),2&s){const t=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.nzLoading),n.xp6(1),n.Q6J("ngIf",!t.nzLoading)}}function k(s,h){if(1&s&&(n.TgZ(0,"div",2)(1,"ul",3),n.YNc(2,D,5,6,"li",4),n.YNc(3,J,3,2,"li",5),n.qZA()()),2&s){const t=n.oxw();n.xp6(2),n.Q6J("ngForOf",t.filteredSuggestions),n.xp6(1),n.Q6J("ngIf",0===t.filteredSuggestions.length)}}function q(s,h){if(1&s&&n._UZ(0,"nz-form-item-feedback-icon",15),2&s){const t=n.oxw();n.Q6J("status",t.status)}}const tt=["*"];let j=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275dir=n.lG2({type:s,selectors:[["","nzMentionSuggestion",""]],exportAs:["nzMentionSuggestion"]}),s})();let V=(()=>{class s{constructor(){this.triggerChange$=new v.x}triggerChanged(){return this.triggerChange$.asObservable()}registerTrigger(t){this.trigger!==t&&(this.trigger=t,this.triggerChange$.next(t))}ngOnDestroy(){this.triggerChange$.complete()}}return s.\u0275fac=function(t){return new(t||s)},s.\u0275prov=n.Yz7({token:s,factory:s.\u0275fac}),s})();const nt={provide:M.JU,useExisting:(0,n.Gpc)(()=>H),multi:!0};let H=(()=>{class s{constructor(t,i,a,u,z){this.el=t,this.ngZone=i,this.ref=a,this.destroy$=u,this.nzMentionService=z,this.onChange=()=>{},this.onTouched=()=>{},this.onFocusin=new n.vpe,this.onBlur=new n.vpe,this.onInput=new n.vpe,this.onKeydown=new n.vpe,this.onClick=new n.vpe}completeEvents(){this.onFocusin.complete(),this.onBlur.complete(),this.onInput.complete(),this.onKeydown.complete(),this.onClick.complete()}focus(t=null){this.el.nativeElement.focus(),this.el.nativeElement.setSelectionRange(t,t)}insertMention(t){const i=this.el.nativeElement.value,a=`${t.mention} `,u=[i.slice(0,t.startPos+1),a,i.slice(t.endPos,i.length)].join("");this.el.nativeElement.value=u,this.focus(t.startPos+a.length+1),this.onChange(u),this.value=u}writeValue(t){this.value=t,this.el.nativeElement.value="string"==typeof t?t:""}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}ngAfterViewInit(){this.nzMentionService.registerTrigger(this),this.setupEventListener("blur",this.onBlur),this.setupEventListener("focusin",this.onFocusin),this.setupEventListener("input",this.onInput,!0),this.setupEventListener("click",this.onClick,!0),this.setupEventListener("keydown",this.onKeydown,!0)}ngOnDestroy(){this.completeEvents()}setupEventListener(t,i,a=!1){this.ngZone.runOutsideAngular(()=>{(0,P.R)(this.el.nativeElement,t).pipe((0,c.R)(this.destroy$)).subscribe(u=>{i.observers.length&&this.ngZone.run(()=>{i.emit(a?u:void 0),this.ref.markForCheck()})})})}}return s.\u0275fac=function(t){return new(t||s)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(L.kn),n.Y36(V))},s.\u0275dir=n.lG2({type:s,selectors:[["input","nzMentionTrigger",""],["textarea","nzMentionTrigger",""]],hostAttrs:["autocomplete","off"],outputs:{onFocusin:"onFocusin",onBlur:"onBlur",onInput:"onInput",onKeydown:"onKeydown",onClick:"onClick"},exportAs:["nzMentionTrigger"],features:[n._Bn([L.kn,nt])]}),s})(),X=(()=>{class s{constructor(t,i,a,u,z,w,N,ot,it,st,rt,at){this.ngZone=t,this.ngDocument=i,this.directionality=a,this.cdr=u,this.overlay=z,this.viewContainerRef=w,this.elementRef=N,this.renderer=ot,this.nzMentionService=it,this.destroy$=st,this.nzFormStatusService=rt,this.nzFormNoStatusService=at,this.nzValueWith=_t=>_t,this.nzPrefix="@",this.nzLoading=!1,this.nzNotFoundContent="\u65e0\u5339\u914d\u7ed3\u679c\uff0c\u8f7b\u6572\u7a7a\u683c\u5b8c\u6210\u8f93\u5165",this.nzPlacement="bottom",this.nzSuggestions=[],this.nzStatus="",this.nzOnSelect=new n.vpe,this.nzOnSearchChange=new n.vpe,this.isOpen=!1,this.filteredSuggestions=[],this.suggestionTemplate=null,this.activeIndex=-1,this.dir="ltr",this.prefixCls="ant-mentions",this.statusCls={},this.status="",this.hasFeedback=!1,this.previousValue=null,this.cursorMention=null,this.overlayRef=null}set suggestionChild(t){t&&(this.suggestionTemplate=t)}get triggerNativeElement(){return this.trigger.el.nativeElement}get focusItemElement(){const t=this.items?.toArray();return t&&t[this.activeIndex]?t[this.activeIndex].nativeElement:null}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,l.x)((t,i)=>t.status===i.status&&t.hasFeedback===i.hasFeedback),(0,I.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,E.of)(!1)),(0,B.U)(([{status:t,hasFeedback:i},a])=>({status:a?"":t,hasFeedback:i})),(0,c.R)(this.destroy$)).subscribe(({status:t,hasFeedback:i})=>{this.setStatusStyles(t,i)}),this.nzMentionService.triggerChanged().subscribe(t=>{this.trigger=t,this.bindTriggerEvents(),this.closeDropdown(),this.overlayRef=null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,c.R)(this.destroy$)).subscribe(t=>{this.dir=t})}ngOnChanges(t){const{nzSuggestions:i,nzStatus:a}=t;i&&this.isOpen&&(this.previousValue=null,this.activeIndex=-1,this.resetDropdown(!1)),a&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.items.changes.pipe((0,R.O)(this.items),(0,Y.w)(()=>{const t=this.items.toArray();return new y.y(i=>this.ngZone.runOutsideAngular(()=>(0,O.T)(...t.map(a=>(0,P.R)(a.nativeElement,"mousedown"))).subscribe(i)))})).subscribe(t=>{t.preventDefault()})}ngOnDestroy(){this.closeDropdown()}closeDropdown(){this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.overlayOutsideClickSubscription.unsubscribe(),this.isOpen=!1,this.cdr.markForCheck())}openDropdown(){this.attachOverlay(),this.isOpen=!0,this.cdr.markForCheck()}getMentions(){return this.trigger?(0,U.qR)(this.trigger.value,this.nzPrefix):[]}selectSuggestion(t){const i=this.nzValueWith(t);this.trigger.insertMention({mention:i,startPos:this.cursorMentionStart,endPos:this.cursorMentionEnd}),this.nzOnSelect.emit(t),this.closeDropdown(),this.activeIndex=-1}handleInput(t){const i=t.target;this.trigger.onChange(i.value),this.trigger.value=i.value,this.resetDropdown()}handleKeydown(t){const i=t.keyCode;if(this.isOpen&&i===A.K5&&-1!==this.activeIndex&&this.filteredSuggestions.length)this.selectSuggestion(this.filteredSuggestions[this.activeIndex]),t.preventDefault();else if(i===A.oh||i===A.SV)this.resetDropdown(),t.stopPropagation();else{if(this.isOpen&&(i===A.Mf||i===A.hY))return void this.closeDropdown();this.isOpen&&i===A.LH&&(this.setPreviousItemActive(),t.preventDefault(),t.stopPropagation()),this.isOpen&&i===A.JH&&(this.setNextItemActive(),t.preventDefault(),t.stopPropagation())}}handleClick(){this.resetDropdown()}bindTriggerEvents(){this.trigger.onInput.subscribe(t=>this.handleInput(t)),this.trigger.onKeydown.subscribe(t=>this.handleKeydown(t)),this.trigger.onClick.subscribe(()=>this.handleClick())}suggestionsFilter(t,i){const a=t.substring(1);if(this.previousValue===t&&t!==this.cursorMention[0])return;this.previousValue=t,i&&this.nzOnSearchChange.emit({value:this.cursorMention.substring(1),prefix:this.cursorMention[0]});const u=a.toLowerCase();this.filteredSuggestions=this.nzSuggestions.filter(z=>this.nzValueWith(z).toLowerCase().includes(u))}resetDropdown(t=!0){if(this.resetCursorMention(),"string"!=typeof this.cursorMention||!this.canOpen())return void this.closeDropdown();this.suggestionsFilter(this.cursorMention,t);const i=this.filteredSuggestions.indexOf(this.cursorMention.substring(1));this.activeIndex=i>=0?i:0,this.openDropdown()}setNextItemActive(){this.activeIndex=this.activeIndex+1<=this.filteredSuggestions.length-1?this.activeIndex+1:0,this.cdr.markForCheck(),this.scrollToFocusItem()}setPreviousItemActive(){this.activeIndex=this.activeIndex-1<0?this.filteredSuggestions.length-1:this.activeIndex-1,this.cdr.markForCheck(),this.scrollToFocusItem()}scrollToFocusItem(){this.focusItemElement&&this.focusItemElement.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}canOpen(){const t=this.triggerNativeElement;return!t.readOnly&&!t.disabled}resetCursorMention(){const t=this.triggerNativeElement.value.replace(/[\r\n]/g," ")||"",i=this.triggerNativeElement.selectionStart,a="string"==typeof this.nzPrefix?[this.nzPrefix]:this.nzPrefix;let u=a.length;for(;u>=0;){const z=t.lastIndexOf(a[u],i),w=t.indexOf(" ",i)>-1?t.indexOf(" ",i):t.length,N=t.substring(z,w);if(!(z>0&&" "!==t[z-1]||z<0||N.includes(a[u],1)||N.includes(" ")))return this.cursorMention=N,this.cursorMentionStart=z,void(this.cursorMentionEnd=w);this.cursorMention=null,this.cursorMentionStart=-1,this.cursorMentionEnd=-1,u--}}updatePositions(){const t=(0,U.Ly)(this.triggerNativeElement,this.cursorMentionStart),i=t.top-this.triggerNativeElement.getBoundingClientRect().height-this.triggerNativeElement.scrollTop+("bottom"===this.nzPlacement?t.height-6:-6);this.positionStrategy.withDefaultOffsetX(t.left-this.triggerNativeElement.scrollLeft).withDefaultOffsetY(i),"bottom"===this.nzPlacement&&this.positionStrategy.withPositions([...F.fG]),"top"===this.nzPlacement&&this.positionStrategy.withPositions([...F.A7]),this.positionStrategy.apply()}subscribeOverlayOutsideClick(){const t=a=>{const u=a.target;return this.isOpen&&u!==this.trigger.el.nativeElement&&!this.overlayRef?.overlayElement.contains(u)},i=new g.w0;return i.add(this.overlayRef.outsidePointerEvents().subscribe(a=>t(a)&&this.closeDropdown())),i.add(this.ngZone.runOutsideAngular(()=>(0,P.R)(this.ngDocument,"touchend").subscribe(a=>t(a)&&this.ngZone.run(()=>this.closeDropdown())))),i}attachOverlay(){this.overlayRef||(this.portal=new Q.UE(this.suggestionsTemp,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick()),this.updatePositions()}getOverlayConfig(){return new o.X_({positionStrategy:this.getOverlayPosition(),scrollStrategy:this.overlay.scrollStrategies.reposition(),disposeOnNavigation:!0})}getOverlayPosition(){const t=[new o.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new o.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.trigger.el).withPositions(t).withFlexibleDimensions(!1).withPush(!1),this.positionStrategy}setStatusStyles(t,i){this.status=t,this.hasFeedback=i,this.cdr.markForCheck(),this.statusCls=(0,U.Zu)(this.prefixCls,t,i),Object.keys(this.statusCls).forEach(a=>{this.statusCls[a]?this.renderer.addClass(this.elementRef.nativeElement,a):this.renderer.removeClass(this.elementRef.nativeElement,a)})}}return s.\u0275fac=function(t){return new(t||s)(n.Y36(n.R0b),n.Y36(p.K0,8),n.Y36(r.Is,8),n.Y36(n.sBO),n.Y36(o.aV),n.Y36(n.s_b),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(V),n.Y36(L.kn),n.Y36(f.kH,8),n.Y36(f.yW,8))},s.\u0275cmp=n.Xpm({type:s,selectors:[["nz-mention"]],contentQueries:function(t,i,a){if(1&t&&n.Suo(a,j,5,n.Rgc),2&t){let u;n.iGM(u=n.CRH())&&(i.suggestionChild=u.first)}},viewQuery:function(t,i){if(1&t&&(n.Gf(n.Rgc,5),n.Gf(G,5,n.SBq)),2&t){let a;n.iGM(a=n.CRH())&&(i.suggestionsTemp=a.first),n.iGM(a=n.CRH())&&(i.items=a)}},hostAttrs:[1,"ant-mentions"],hostVars:2,hostBindings:function(t,i){2&t&&n.ekj("ant-mentions-rtl","rtl"===i.dir)},inputs:{nzValueWith:"nzValueWith",nzPrefix:"nzPrefix",nzLoading:"nzLoading",nzNotFoundContent:"nzNotFoundContent",nzPlacement:"nzPlacement",nzSuggestions:"nzSuggestions",nzStatus:"nzStatus"},outputs:{nzOnSelect:"nzOnSelect",nzOnSearchChange:"nzOnSearchChange"},exportAs:["nzMention"],features:[n._Bn([V,L.kn]),n.TTD],ngContentSelectors:tt,decls:4,vars:1,consts:[["suggestions",""],["class","ant-mentions-suffix",3,"status",4,"ngIf"],[1,"ant-mentions-dropdown"],["role","menu","tabindex","0",1,"ant-mentions-dropdown-menu"],["class","ant-mentions-dropdown-menu-item","role","menuitem","tabindex","-1",3,"ant-mentions-dropdown-menu-item-active","ant-mentions-dropdown-menu-item-selected","click",4,"ngFor","ngForOf"],["class","ant-mentions-dropdown-menu-item ant-mentions-dropdown-menu-item-disabled",4,"ngIf"],["role","menuitem","tabindex","-1",1,"ant-mentions-dropdown-menu-item",3,"click"],["items",""],[4,"ngIf","ngIfElse"],["defaultSuggestion",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-mentions-dropdown-menu-item","ant-mentions-dropdown-menu-item-disabled"],[4,"ngIf"],["nz-icon","","nzType","loading"],["nzComponentName","select",3,"specificContent"],[1,"ant-mentions-suffix",3,"status"]],template:function(t,i){1&t&&(n.F$t(),n.Hsn(0),n.YNc(1,k,4,2,"ng-template",null,0,n.W1O),n.YNc(3,q,1,1,"nz-form-item-feedback-icon",1)),2&t&&(n.xp6(3),n.Q6J("ngIf",i.hasFeedback&&!!i.status))},dependencies:[p.sg,p.O5,p.tP,C.Ls,T.gB,f.w_],encapsulation:2,changeDetection:0}),(0,Z.gn)([(0,U.yF)()],s.prototype,"nzLoading",void 0),s})(),et=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=n.oAB({type:s}),s.\u0275inj=n.cJS({imports:[r.vT,p.ez,M.u5,o.U8,C.PV,T.Xo,f.mJ]}),s})()}}]); \ No newline at end of file diff --git a/server/public/5584.6969bbc0831b7c8d.js b/server/public/5584.6969bbc0831b7c8d.js new file mode 100644 index 000000000..d5bd09673 --- /dev/null +++ b/server/public/5584.6969bbc0831b7c8d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5584],{1106:(E,f,e)=>{e.d(f,{L:()=>l});var n=e(6814),m=e(4190),t=e(5695),O=e(551),x=e(95),T=e(6067),_=e(8125),P=e(2962),C=e(1022),z=e(5879);let A=(()=>{class g{}return g.\u0275fac=function(p){return new(p||g)},g.\u0275mod=z.oAB({type:g}),g.\u0275inj=z.cJS({imports:[n.ez,P.vh,x.Jb,_.q6,T.X,C.H]}),g})();var M=e(7417);let l=(()=>{class g{}return g.\u0275fac=function(p){return new(p||g)},g.\u0275mod=z.oAB({type:g}),g.\u0275inj=z.cJS({imports:[n.ez,m.Bz,t.X,O.PV,M.$6,A]}),g})()},1835:(E,f,e)=>{e.d(f,{l:()=>M});var n=e(5879),m=e(6814),t=e(5695),O=e(7417),x=e(1887);const T=function(l){return{"matched-tag":l}};function _(l,g){if(1&l&&(n.TgZ(0,"span",2)(1,"nz-tag"),n._uU(2),n.qZA()()),2&l){const r=g.$implicit,p=n.oxw();n.Q6J("ngClass",n.VKq(2,T,p.matchingText&&r.toLowerCase().includes(p.matchingText))),n.xp6(2),n.Oqu(r)}}function P(l,g){if(1&l&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&l){const r=n.oxw(2);n.xp6(1),n.hij(" ",r.matchedHiddenCount," of ")}}function C(l,g){if(1&l&&(n.TgZ(0,"nz-tag",5),n._uU(1," +"),n.YNc(2,P,2,1,"span",6),n._uU(3),n.qZA()),2&l){const r=n.oxw(),p=n.MAs(5);n.Q6J("nzPopoverMouseEnterDelay",0)("nzPopoverContent",p),n.xp6(2),n.Q6J("ngIf",r.matchedHiddenCount>0),n.xp6(1),n.hij("",r.hiddenCount," ")}}function z(l,g){if(1&l&&(n.TgZ(0,"div",2)(1,"nz-tag"),n._uU(2),n.qZA()()),2&l){const r=g.$implicit,p=n.oxw(2);n.Q6J("ngClass",n.VKq(2,T,p.matchingText&&r.toLowerCase().includes(p.matchingText))),n.xp6(2),n.Oqu(r)}}function A(l,g){if(1&l&&(n.TgZ(0,"div",7)(1,"cvc-tag-list",0),n.YNc(2,z,3,4,"div",1),n.qZA()()),2&l){const r=n.oxw();n.xp6(2),n.Q6J("ngForOf",r.hiddenTags)}}let M=(()=>{class l{constructor(r){this.cdr=r,this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnChanges(r){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.hiddenTags){let r=this.matchingText.toLowerCase();this.hiddenTags.forEach(p=>{p.toLowerCase().includes(r)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0}}return l.\u0275fac=function(r){return new(r||l)(n.Y36(n.sBO))},l.\u0275cmp=n.Xpm({type:l,selectors:[["cvc-plain-tag-overflow"]],inputs:{tags:"tags",matchingText:"matchingText",maxDisplayCount:"maxDisplayCount"},features:[n.TTD],decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"]],template:function(r,p){1&r&&(n.TgZ(0,"cvc-tag-list",0),n.YNc(1,_,3,4,"span",1),n.TgZ(2,"span",2),n.YNc(3,C,4,4,"nz-tag",3),n.qZA(),n.YNc(4,A,3,1,"ng-template",null,4,n.W1O),n.qZA()),2&r&&(n.xp6(1),n.Q6J("ngForOf",p.displayedTags),n.xp6(1),n.Q6J("ngClass",n.VKq(3,T,p.matchedHiddenCount>0)),n.xp6(1),n.Q6J("ngIf",p.hiddenCount&&p.hiddenCount>0))},dependencies:[m.mk,m.sg,m.O5,t.j,O.lU,x.$],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0}),l})()},2966:(E,f,e)=>{e.d(f,{T:()=>T});var n=e(6814),m=e(366),t=e(5695),O=e(7417),x=e(5879);let T=(()=>{class _{}return _.\u0275fac=function(C){return new(C||_)},_.\u0275mod=x.oAB({type:_}),_.\u0275inj=x.cJS({imports:[n.ez,t.X,O.$6,m.$]}),_})()},4527:(E,f,e)=>{e.d(f,{T:()=>F});var n=e(5879),m=e(6814),t=e(5695),O=e(7417),x=e(1887),T=e(4770),_=e(9775),P=e(215),C=e(4121),z=e(9408),A=e(7938);const M=function(c){return{"matched-tag":c}},l=function(c,d){return{tagType:c,tag:d}};function g(c,d){if(1&c&&(n.TgZ(0,"div",2),n.GkF(1,6),n.qZA()),2&c){const s=d.$implicit,u=n.oxw(),U=n.MAs(7);n.Q6J("ngClass",n.VKq(3,M,u.matchingText&&s.name.toLowerCase().includes(u.matchingText))),n.xp6(1),n.Q6J("ngTemplateOutlet",U)("ngTemplateOutletContext",n.WLB(5,l,u.tagType,s))}}function r(c,d){if(1&c&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&c){const s=n.oxw(2);n.xp6(1),n.hij(" ",s.matchedHiddenCount," of ")}}function p(c,d){if(1&c&&(n.TgZ(0,"nz-tag",7),n._uU(1," +"),n.YNc(2,r,2,1,"span",8),n._uU(3),n.qZA()),2&c){const s=n.oxw(),u=n.MAs(5);n.Q6J("nzPopoverContent",u),n.xp6(2),n.Q6J("ngIf",s.matchedHiddenCount>0),n.xp6(1),n.hij("",s.hiddenCount," ")}}function B(c,d){if(1&c&&(n.TgZ(0,"div",2),n.ynx(1,10),n.GkF(2,6),n.BQk(),n.qZA()),2&c){const s=d.$implicit,u=n.oxw(2),U=n.MAs(7);n.Q6J("ngClass",n.VKq(4,M,u.matchingText&&s.name.toLowerCase().includes(u.matchingText))),n.xp6(1),n.Q6J("ngSwitch",u.tagType),n.xp6(1),n.Q6J("ngTemplateOutlet",U)("ngTemplateOutletContext",n.WLB(6,l,u.tagType,s))}}function $(c,d){if(1&c&&(n.TgZ(0,"div",9)(1,"cvc-tag-list",0),n.YNc(2,B,3,9,"div",1),n.qZA()()),2&c){const s=n.oxw();n.xp6(2),n.Q6J("ngForOf",s.hiddenTags)}}function D(c,d){if(1&c&&(n.ynx(0),n._UZ(1,"cvc-therapy-tag",12),n.BQk()),2&c){const s=n.oxw().tag;n.xp6(1),n.Q6J("therapy",s)("truncateLongName",!0)}}function N(c,d){if(1&c&&(n.ynx(0),n._UZ(1,"cvc-disease-tag",13),n.BQk()),2&c){const s=n.oxw().tag;n.xp6(1),n.Q6J("disease",s)("truncateLongName",!0)}}function y(c,d){if(1&c&&(n.ynx(0),n._UZ(1,"cvc-gene-tag",14),n.BQk()),2&c){const s=n.oxw().tag;n.xp6(1),n.Q6J("gene",s)("truncateLongName",!0)}}function w(c,d){if(1&c&&(n.ynx(0),n._UZ(1,"cvc-organization-tag",15),n.BQk()),2&c){const s=n.oxw().tag;n.xp6(1),n.Q6J("org",s)}}function G(c,d){if(1&c&&(n.ynx(0),n._UZ(1,"cvc-variant-tag",16),n.BQk()),2&c){const s=n.oxw().tag;n.xp6(1),n.Q6J("variant",s)}}function S(c,d){if(1&c&&(n.ynx(0),n._UZ(1,"cvc-variant-type-tag",17),n.BQk()),2&c){const s=n.oxw().tag;n.xp6(1),n.Q6J("variantType",s)}}function W(c,d){1&c&&(n.ynx(0,10),n.YNc(1,D,2,2,"ng-container",11),n.YNc(2,N,2,2,"ng-container",11),n.YNc(3,y,2,2,"ng-container",11),n.YNc(4,w,2,1,"ng-container",11),n.YNc(5,G,2,1,"ng-container",11),n.YNc(6,S,2,1,"ng-container",11),n.BQk()),2&c&&(n.Q6J("ngSwitch",d.tagType),n.xp6(1),n.Q6J("ngSwitchCase","therapy"),n.xp6(1),n.Q6J("ngSwitchCase","disease"),n.xp6(1),n.Q6J("ngSwitchCase","gene"),n.xp6(1),n.Q6J("ngSwitchCase","organization"),n.xp6(1),n.Q6J("ngSwitchCase","variant"),n.xp6(1),n.Q6J("ngSwitchCase","variant-type"))}let F=(()=>{class c{constructor(s){this.cdr=s,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(s){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let s=this.matchingText.toLowerCase();this.hiddenTags.forEach(u=>{u.name.toLowerCase().includes(s)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}return c.\u0275fac=function(s){return new(s||c)(n.Y36(n.sBO))},c.\u0275cmp=n.Xpm({type:c,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[n.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(s,u){1&s&&(n.TgZ(0,"cvc-tag-list",0),n.YNc(1,g,2,8,"div",1),n.TgZ(2,"div",2),n.YNc(3,p,4,3,"nz-tag",3),n.qZA(),n.YNc(4,$,3,1,"ng-template",null,4,n.W1O),n.qZA(),n.YNc(6,W,7,7,"ng-template",null,5,n.W1O)),2&s&&(n.xp6(1),n.Q6J("ngForOf",u.displayedTags),n.xp6(1),n.Q6J("ngClass",n.VKq(3,M,u.matchedHiddenCount>0)),n.xp6(1),n.Q6J("ngIf",u.hiddenCount&&u.hiddenCount>0))},dependencies:[m.mk,m.sg,m.O5,m.tP,m.RF,m.n9,t.j,O.lU,x.$,T.T,_.n,P.m,C.H,z.I,A.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0}),c})()},7950:(E,f,e)=>{e.d(f,{x:()=>M});var n=e(6814),m=e(366),t=e(5695),O=e(7417),x=e(3396),T=e(1106),_=e(5956),P=e(7528),C=e(6061),z=e(3717),A=e(5879);let M=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=A.oAB({type:l}),l.\u0275inj=A.cJS({imports:[n.ez,t.X,O.$6,m.$,C.N,x.Q,T.L,_.U,P.Q,z.M]}),l})()},3717:(E,f,e)=>{e.d(f,{M:()=>M});var n=e(6814),m=e(4190),t=e(5695),O=e(2962),x=e(6067),T=e(8125),_=e(551),P=e(2524),C=e(5879);let z=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=C.oAB({type:l}),l.\u0275inj=C.cJS({imports:[n.ez,_.PV,O.vh,T.q6,P.s,x.X]}),l})();var A=e(7417);let M=(()=>{class l{}return l.\u0275fac=function(r){return new(r||l)},l.\u0275mod=C.oAB({type:l}),l.\u0275inj=C.cJS({imports:[n.ez,m.Bz,_.PV,t.X,A.$6,z]}),l})()},5584:(E,f,e)=>{e.r(f),e.d(f,{GenesModule:()=>Qt});var n=e(6814),m=e(4190),t=e(5879);let O=(()=>{class o{constructor(){}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-genes"]],decls:1,vars:0,template:function(a,v){1&a&&t._UZ(0,"router-outlet")},dependencies:[m.lC],encapsulation:2}),o})();var x=e(6223),T=e(5956),_=e(7856),P=e(9154),C=e(2966),z=e(2989),A=e(7950),M=e(2524),l=e(9175),g=e(4742),r=e(9312),p=e(2840),B=e(2962),$=e(3599),D=e(551),N=e(824),y=e(3740),w=e(5695),G=e(6109),S=e(2392);let W=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[n.ez,x.u5,p.sL,B.vh,$.U5,D.PV,N.o7,y.HQ,w.X,G.cg,S.ZJ,l.n,g.c,_.k,T.U,P.y,C.T,M.s,z.T,r.w,A.x]}),o})();var F=e(2419),c=e(95),d=e(6254),s=e(2574);let u=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[n.ez,p.sL,D.PV,s.zf,S.ZJ,d.KJ,c.Jb,M.s,F.D,W]}),o})();var I,U=e(855),q=e(3145),k=e(655),tt=e(4632),V=e(313),J=e(1791),L=e(8645),X=e(5619),H=e(5676),b=e(3997),nt=e(812),et=e(836),K=e(2181),Y=e(7398),ot=e(3620),at=e(2460),Q=e(4223),it=e(6753),lt=e(4764),ct=e(8516),st=e(4121),rt=e(3489),gt=e(1835),pt=e(9857),dt=e(4997),ht=e(4527),mt=e(8091);function vt(o,i){}function _t(o,i){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,vt,0,0,"ng-template",6),t.qZA(),t.BQk()),2&o){t.oxw();const a=t.MAs(6),v=t.MAs(8),h=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",a)("nzExtra",v),t.xp6(1),t.Q6J("ngTemplateOutlet",h)}}function ut(o,i){}const Ct=function(o){return{height:o}};function Tt(o,i){if(1&o&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,ut,0,0,"ng-template",6),t.qZA()()),2&o){const a=t.oxw(),v=t.MAs(6),h=t.MAs(8),Z=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,Ct,a.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",v)("nzExtra",h),t.xp6(1),t.Q6J("ngTemplateOutlet",Z)}}function ft(o,i){if(1&o&&(t.TgZ(0,"tr",30)(1,"td",26),t._UZ(2,"cvc-gene-tag",31),t.qZA(),t.TgZ(3,"td",26),t._UZ(4,"cvc-plain-tag-overflow",32),t.qZA(),t.TgZ(5,"td"),t._UZ(6,"cvc-tag-overflow",33),t.qZA(),t.TgZ(7,"td"),t._UZ(8,"cvc-tag-overflow",34),t.qZA(),t.TgZ(9,"td",35),t._uU(10),t.qZA(),t.TgZ(11,"td",35),t._uU(12),t.qZA(),t.TgZ(13,"td",35),t._uU(14),t.qZA(),t.TgZ(15,"td",35),t._uU(16),t.qZA()()),2&o){const a=i.$implicit,v=t.oxw(2);t.xp6(2),t.Q6J("gene",a),t.xp6(2),t.Q6J("tags",a.geneAliases)("matchingText",v.aliasInput),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",a.diseases)("matchingText",v.diseaseInput),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",a.therapies)("matchingText",v.therapyInput),t.xp6(2),t.hij(" ",a.molecularProfileCount," "),t.xp6(2),t.hij(" ",a.variantCount," "),t.xp6(2),t.hij(" ",a.evidenceItemCount," "),t.xp6(2),t.hij(" ",a.assertionCount," ")}}const xt=function(){return[]},zt=function(){return{x:"680px",y:"800px"}},R=function(){return["descend","ascend",null]};function Mt(o,i){if(1&o){const a=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(h){t.CHM(a);const Z=t.oxw();return t.KtG(Z.scrollEvent$.next(h))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(h){t.CHM(a);const Z=t.oxw();return t.KtG(Z.sortChange$.next(h))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Aliases "),t.qZA(),t.TgZ(12,"th",15),t._uU(13,"Diseases"),t.qZA(),t.TgZ(14,"th",16),t._uU(15,"Therapies"),t.qZA(),t.TgZ(16,"th",17),t._UZ(17,"i",18),t._uU(18," Count "),t.qZA(),t.TgZ(19,"th",19),t._UZ(20,"i",20),t._uU(21," Count "),t.qZA(),t.TgZ(22,"th",21),t._UZ(23,"i",22),t._uU(24," Count "),t.qZA(),t.TgZ(25,"th",23),t._UZ(26,"i",24),t._uU(27," Count "),t.qZA()(),t.TgZ(28,"tr",25)(29,"th",26)(30,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(a);const Z=t.oxw();return t.KtG(Z.nameInput=h)})("inputModelChange",function(){t.CHM(a);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t.TgZ(31,"th",26)(32,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(a);const Z=t.oxw();return t.KtG(Z.aliasInput=h)})("inputModelChange",function(){t.CHM(a);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t.TgZ(33,"th")(34,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(a);const Z=t.oxw();return t.KtG(Z.diseaseInput=h)})("inputModelChange",function(){t.CHM(a);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t.TgZ(35,"th")(36,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(a);const Z=t.oxw();return t.KtG(Z.therapyInput=h)})("inputModelChange",function(){t.CHM(a);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t._UZ(37,"th",28)(38,"th",28)(39,"th",28)(40,"th",28),t.qZA()(),t.TgZ(41,"tbody"),t.YNc(42,ft,17,13,"ng-template",29),t.qZA()()}if(2&o){const a=t.oxw();t.Q6J("nzData",t.lcZ(2,29,a.row$)||t.DdM(37,xt))("nzLoading",!t.lcZ(3,31,a.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",a.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,33,a.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,35,a.scrollIndex$))("nzVirtualForTrackBy",a.trackByIndex)("nzScroll",t.DdM(38,zt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",a.sortColumns.EntrezSymbol)("nzSortFn",!0),t.xp6(8),t.Q6J("nzColumnKey",a.sortColumns.MolecularProfileCount)("nzSortFn",!0)("nzSortDirections",t.DdM(39,R)),t.xp6(3),t.Q6J("nzColumnKey",a.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(40,R)),t.xp6(3),t.Q6J("nzColumnKey",a.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(41,R)),t.xp6(3),t.Q6J("nzColumnKey",a.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(42,R)),t.xp6(5),t.Q6J("inputModel",a.nameInput),t.xp6(2),t.Q6J("inputModel",a.aliasInput),t.xp6(2),t.Q6J("inputModel",a.diseaseInput),t.xp6(2),t.Q6J("inputModel",a.therapyInput)}}function Ot(o,i){}function Pt(o,i){if(1&o&&(t.ynx(0),t.YNc(1,Ot,0,0,"ng-template",6),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function yt(o,i){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.hij(" ",a.cvcTitle," ")}}function Zt(o,i){if(1&o&&(t.YNc(0,Pt,2,1,"ng-container",36),t.YNc(1,yt,2,1,"ng-container",36),t.TgZ(2,"span",37),t._UZ(3,"cvc-table-counts",38),t.qZA()),2&o){const a=t.oxw();t.Q6J("ngIf",a.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",a.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",a.connection$)}}function At(o,i){1&o&&(t.TgZ(0,"nz-tag",41),t._UZ(1,"i",42),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Et(o,i){if(1&o&&(t.YNc(0,At,4,0,"nz-tag",39),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",40),t.ALo(3,"ngrxPush")),2&o){const a=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,a.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,a.noMoreRows$))}}let j=((I=class{set initialUserFilters(i){i&&Object.assign(this,i)}constructor(i,a){this.query=i,this.cdr=a,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=V.Fvz,this.debouncedQuery=new L.x,this.noMoreRows$=new X.X(!1),this.scrollEvent$=new X.X("stop"),this.sortChange$=new L.x,this.filterChange$=new L.x,this.scrollIndex$=new L.x}ngOnInit(){this.queryRef=this.query.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,Q.j)("loading"),(0,b.x)(),(0,nt.o)(i=>!1!==i,!0)),this.moreLoading$=this.result$.pipe((0,Q.j)("loading"),(0,b.x)(),(0,et.T)(2)),this.connection$=this.result$.pipe((0,Q.j)("data","browseGenes"),(0,K.h)(H.ep)),this.row$=this.connection$.pipe((0,Q.j)("edges"),(0,K.h)(H.ep),(0,Y.U)(i=>i.map(a=>a.node))),this.pageInfo$=this.connection$.pipe((0,Q.j)("pageInfo"),(0,K.h)(H.ep)),this.sortChange$.pipe((0,J.t)(this)).subscribe(i=>{this.queryRef.refetch({sortBy:(0,tt._)(i)})}),this.filterChange$.pipe((0,ot.b)(500),(0,J.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,Y.U)(i=>"stop"!==i),(0,b.x)(),(0,J.t)(this)).subscribe(i=>{this.isScrolling=i,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,K.h)(i=>"bottom"===i),(0,at.M)(this.pageInfo$),(0,Y.U)(([i,a])=>a),(0,J.t)(this)).subscribe(i=>{i.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({entrezSymbol:this.nameInput,geneAlias:this.aliasInput,diseaseName:this.diseaseInput,therapyName:this.therapyInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}onModelUpdated(i){this.debouncedQuery.next()}trackByIndex(i,a){return a?.id}}).\u0275fac=function(i){return new(i||I)(t.Y36(V.q8c),t.Y36(t.sBO))},I.\u0275cmp=t.Xpm({type:I,selectors:[["cvc-genes-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzLeft","","nzWidth","200px"],["nzWidth","250px"],["nzWidth","225px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Molecular Profile Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-molecularprofile"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"gene"],[3,"tags","matchingText"],["tagType","disease",3,"maxDisplayCount","tags","matchingText"],["tagType","therapy",3,"maxDisplayCount","tags","matchingText"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(i,a){if(1&i&&(t.YNc(0,_t,3,3,"ng-container",0),t.YNc(1,Tt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Mt,43,43,"ng-template",null,2,t.W1O),t.YNc(5,Zt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,Et,4,6,"ng-template",null,4,t.W1O)),2&i){const v=t.MAs(2);t.Q6J("ngIf",!a.cvcHeight)("ngIfElse",v)}},dependencies:[n.O5,n.tP,n.PC,U.w,B.bd,D.Ls,y.N8,y.qD,y.Uo,y._C,y.Om,y.p0,y.$Z,y.zu,y.qn,y.UX,w.j,G.SY,it.D,lt.q,ct.p,st.H,rt.H,gt.l,pt.B,dt.y,ht.T,mt.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"],changeDetection:0}),I);j=(0,k.gn)([(0,J.c)()],j);var Dt=e(2616);function Ut(o,i){1&o&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t._uU(2," View Gene Model Docs "),t.qZA())}function It(o,i){1&o&&(t.TgZ(0,"a",15),t._UZ(1,"i",14),t._uU(2," View Gene Curation Docs "),t.qZA())}const St=[{path:"",component:O,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-genes-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Genes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock",""]],template:function(a,v){1&a&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Genes"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," CIViC Genes include a gene-level summary, a link to the Drug Gene Interation Database, and extensive gene details from MyGene.info. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Ut,3,0,"a",8),t.YNc(15,It,3,0,"a",9),t.qZA()()(),t.TgZ(16,"nz-row")(17,"nz-col",10)(18,"div",11),t._UZ(19,"cvc-genes-table",12),t.qZA()()()()()),2&a&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"Gene")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},dependencies:[p.ix,U.w,D.Ls,s.NU,s.$1,S.ZU,d.$O,d.u5,c.t3,c.SK,q.I,j,Dt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})(),data:{breadcrumb:"Home"}},{path:":geneId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([e.e(4872),e.e(5556),e.e(2602),e.e(3270),e.e(7856),e.e(8245),e.e(4503),e.e(8104),e.e(1107)]).then(e.bind(e,4601)).then(o=>o.GenesDetailModule)},{path:"revise",loadChildren:()=>Promise.all([e.e(8592),e.e(7903)]).then(e.bind(e,8109)).then(o=>o.GenesReviseModule),data:{breadcrumb:"Revise"}}]}]}];let Jt=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[m.Bz.forChild(St),u,m.Bz]}),o})(),Qt=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[n.ez,Jt]}),o})()}}]); \ No newline at end of file diff --git a/server/public/5604.b4a39a9ecac0878b.js b/server/public/5604.b4a39a9ecac0878b.js new file mode 100644 index 000000000..b97e7c686 --- /dev/null +++ b/server/public/5604.b4a39a9ecac0878b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5604],{5959:(R,P,s)=>{s.d(P,{u:()=>Y});var n=s(2023),t=s(5879),a=s(6814),C=s(4190),d=s(7417),_=s(5695),g=s(551),S=s(5676),z=s(7398),D=s(2181),T=s(313),x=s(2962),v=s(8125),y=s(4138),N=s(9408),M=s(1887),I=s(8091),O=s(2616);function E(r,u){if(1&r&&(t._UZ(0,"i",7),t.ALo(1,"entityColor"),t._uU(2)),2&r){const c=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"VariantGroup")),t.xp6(2),t.hij(" ",c.name," ")}}function A(r,u){if(1&r&&t._UZ(0,"cvc-variant-tag",10),2&r){const c=u.$implicit;t.Q6J("enablePopover",!1)("variant",c.node)}}function V(r,u){if(1&r&&(t.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),t.YNc(2,A,1,2,"cvc-variant-tag",9),t.qZA()()),2&r){const c=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",c.variants.edges)}}function w(r,u){if(1&r&&t._UZ(0,"cvc-source-tag",13),2&r){const c=u.$implicit;t.Q6J("enablePopover",!1)("source",c)}}function Z(r,u){if(1&r&&(t.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),t.YNc(2,w,1,2,"cvc-source-tag",12),t.qZA()()),2&r){const c=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",c.sources)}}function Q(r,u){if(1&r&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,E,3,4,"ng-template",null,3,t.W1O),t._uU(4),t.TgZ(5,"nz-descriptions",4),t.YNc(6,V,3,1,"nz-descriptions-item",5),t.YNc(7,Z,3,1,"nz-descriptions-item",6),t.qZA()(),t.BQk()),2&r){const c=u.ngIf,m=t.MAs(3);t.xp6(1),t.Q6J("nzTitle",m),t.xp6(3),t.hij(" ",c.description," "),t.xp6(1),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",c.variants.edges.length>0),t.xp6(1),t.Q6J("ngIf",c.sources.length>0)}}let l=(()=>{class r{constructor(c){this.gql=c}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,z.U)(({data:c})=>c?.variantGroup),(0,D.h)(S.ep))}}return r.\u0275fac=function(c){return new(c||r)(t.Y36(T.Zo2))},r.\u0275cmp=t.Xpm({type:r,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(c,m){1&c&&(t.TgZ(0,"div",0),t.YNc(1,Q,8,5,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&c&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,m.variantGroup$)))},dependencies:[a.sg,a.O5,x.bd,v.R7,v.uj,g.Ls,y.T,N.I,M.$,I.fM,O.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),r})();var i=s(3103);function o(r,u){}function e(r,u){if(1&r&&(t.ynx(0),t.TgZ(1,"a",4),t.YNc(2,o,0,0,"ng-template",5),t.qZA(),t.BQk()),2&r){const c=t.oxw(),m=t.MAs(2);t.xp6(1),t.Q6J("routerLink",c.variantgroup.link),t.xp6(1),t.Q6J("ngTemplateOutlet",m)}}function p(r,u){}function h(r,u){if(1&r&&t._UZ(0,"cvc-variant-group-popover",9),2&r){const c=t.oxw(3);t.Q6J("variantGroupId",c.variantgroup.id)}}function f(r,u){if(1&r&&t.YNc(0,h,1,1,"cvc-variant-group-popover",8),2&r){const c=t.oxw(2);t.Q6J("ngIf",c.enablePopover)}}function G(r,u){if(1&r&&(t.TgZ(0,"nz-tag",6),t.YNc(1,p,0,0,"ng-template",5),t.qZA(),t.YNc(2,f,1,1,"ng-template",null,7,t.W1O)),2&r){const c=t.MAs(3),m=t.oxw(),b=t.MAs(6);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",c)("nzPopoverTrigger",m.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",b)}}function U(r,u){}function F(r,u){if(1&r&&t.YNc(0,U,0,0,"ng-template",5),2&r){t.oxw();const c=t.MAs(2);t.Q6J("ngTemplateOutlet",c)}}function J(r,u){if(1&r&&(t.TgZ(0,"cvc-icon-badges",10),t._UZ(1,"i",11),t.ALo(2,"entityColor"),t.qZA(),t._uU(3)),2&r){const c=t.oxw();t.Q6J("flagged",c.variantgroup.flagged)("entityColor",c.iconColor),t.xp6(1),t.Q6J("nzTwotoneColor",t.lcZ(2,4,"VariantGroup")),t.xp6(2),t.hij(" ",c.variantgroup.name,"\n")}}let Y=(()=>{class r{set variantgroup(c){if(!c)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=c}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,n.f)("VariantGroup")}}return r.\u0275fac=function(c){return new(c||r)},r.\u0275cmp=t.Xpm({type:r,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(c,m){if(1&c&&(t.YNc(0,e,3,2,"ng-container",0),t.YNc(1,G,4,4,"ng-template",null,1,t.W1O),t.YNc(3,F,1,1,"ng-template",null,2,t.W1O),t.YNc(5,J,4,6,"ng-template",null,3,t.W1O)),2&c){const b=t.MAs(4);t.Q6J("ngIf",m.linked)("ngIfElse",b)}},dependencies:[a.O5,a.tP,C.rH,d.lU,_.j,g.Ls,l,i.b,O.a],encapsulation:2,changeDetection:0}),r})()},2996:(R,P,s)=>{s.d(P,{my:()=>w,A2:()=>l});var n=s(5879),t=s(8645),a=s(9773),C=s(9388),d=s(6814),_=s(8324),g=s(2831);let z=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[d.ez]}),i})();const D=function(i){return{$implicit:i}};function T(i,o){if(1&i&&n.GkF(0,3),2&i){const e=n.oxw();n.Q6J("ngTemplateOutlet",e.nzValueTemplate)("ngTemplateOutletContext",n.VKq(2,D,e.nzValue))}}function x(i,o){if(1&i&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.displayInt)}}function v(i,o){if(1&i&&(n.TgZ(0,"span",7),n._uU(1),n.qZA()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.displayDecimal)}}function y(i,o){if(1&i&&(n.ynx(0),n.YNc(1,x,2,1,"span",4),n.YNc(2,v,2,1,"span",5),n.BQk()),2&i){const e=n.oxw();n.xp6(1),n.Q6J("ngIf",e.displayInt),n.xp6(1),n.Q6J("ngIf",e.displayDecimal)}}function N(i,o){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const e=n.oxw();n.xp6(1),n.Oqu(e.nzTitle)}}function M(i,o){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.nzPrefix)}}function I(i,o){if(1&i&&(n.TgZ(0,"span",6),n.YNc(1,M,2,1,"ng-container",1),n.qZA()),2&i){const e=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",e.nzPrefix)}}function O(i,o){if(1&i&&(n.ynx(0),n._uU(1),n.BQk()),2&i){const e=n.oxw(2);n.xp6(1),n.Oqu(e.nzSuffix)}}function E(i,o){if(1&i&&(n.TgZ(0,"span",7),n.YNc(1,O,2,1,"ng-container",1),n.qZA()),2&i){const e=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",e.nzSuffix)}}let V=(()=>{class i{constructor(e){this.locale_id=e,this.displayInt="",this.displayDecimal=""}ngOnChanges(){this.formatNumber()}formatNumber(){const e="number"==typeof this.nzValue?".":(0,d.dv)(this.locale_id,d.wE.Decimal),p=String(this.nzValue),[h,f]=p.split(e);this.displayInt=h,this.displayDecimal=f?`${e}${f}`:""}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.soG))},i.\u0275cmp=n.Xpm({type:i,selectors:[["nz-statistic-number"]],inputs:{nzValue:"nzValue",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatisticNumber"],features:[n.TTD],decls:3,vars:2,consts:[[1,"ant-statistic-content-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ant-statistic-content-value-int",4,"ngIf"],["class","ant-statistic-content-value-decimal",4,"ngIf"],[1,"ant-statistic-content-value-int"],[1,"ant-statistic-content-value-decimal"]],template:function(e,p){1&e&&(n.TgZ(0,"span",0),n.YNc(1,T,1,4,"ng-container",1),n.YNc(2,y,3,2,"ng-container",2),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf",p.nzValueTemplate),n.xp6(1),n.Q6J("ngIf",!p.nzValueTemplate))},dependencies:[d.O5,d.tP],encapsulation:2,changeDetection:0}),i})(),w=(()=>{class i{constructor(e,p){this.cdr=e,this.directionality=p,this.nzValueStyle={},this.dir="ltr",this.destroy$=new t.x}ngOnInit(){this.directionality.change?.pipe((0,a.R)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(e){return new(e||i)(n.Y36(n.sBO),n.Y36(C.Is,8))},i.\u0275cmp=n.Xpm({type:i,selectors:[["nz-statistic"]],hostAttrs:[1,"ant-statistic"],hostVars:2,hostBindings:function(e,p){2&e&&n.ekj("ant-statistic-rtl","rtl"===p.dir)},inputs:{nzPrefix:"nzPrefix",nzSuffix:"nzSuffix",nzTitle:"nzTitle",nzValue:"nzValue",nzValueStyle:"nzValueStyle",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatistic"],decls:6,vars:6,consts:[[1,"ant-statistic-title"],[4,"nzStringTemplateOutlet"],[1,"ant-statistic-content",3,"ngStyle"],["class","ant-statistic-content-prefix",4,"ngIf"],[3,"nzValue","nzValueTemplate"],["class","ant-statistic-content-suffix",4,"ngIf"],[1,"ant-statistic-content-prefix"],[1,"ant-statistic-content-suffix"]],template:function(e,p){1&e&&(n.TgZ(0,"div",0),n.YNc(1,N,2,1,"ng-container",1),n.qZA(),n.TgZ(2,"div",2),n.YNc(3,I,2,1,"span",3),n._UZ(4,"nz-statistic-number",4),n.YNc(5,E,2,1,"span",5),n.qZA()),2&e&&(n.xp6(1),n.Q6J("nzStringTemplateOutlet",p.nzTitle),n.xp6(1),n.Q6J("ngStyle",p.nzValueStyle),n.xp6(1),n.Q6J("ngIf",p.nzPrefix),n.xp6(1),n.Q6J("nzValue",p.nzValue)("nzValueTemplate",p.nzValueTemplate),n.xp6(1),n.Q6J("ngIf",p.nzSuffix))},dependencies:[d.O5,d.PC,_.f,V],encapsulation:2,changeDetection:0}),i})(),l=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[C.vT,d.ez,g.ud,_.T,z]}),i})()},6494:(R,P,s)=>{s.d(P,{i:()=>Z,m:()=>Q});var n=s(655),t=s(6028),a=s(5879),C=s(6223),d=s(8645),_=s(2438),g=s(9773),S=s(874),z=s(7754),D=s(4300),T=s(9388),x=s(6814),v=s(1958),y=s(551),N=s(8324);const M=["switchElement"];function I(l,i){1&l&&a._UZ(0,"span",8)}function O(l,i){if(1&l&&(a.ynx(0),a._uU(1),a.BQk()),2&l){const o=a.oxw(2);a.xp6(1),a.Oqu(o.nzCheckedChildren)}}function E(l,i){if(1&l&&(a.ynx(0),a.YNc(1,O,2,1,"ng-container",9),a.BQk()),2&l){const o=a.oxw();a.xp6(1),a.Q6J("nzStringTemplateOutlet",o.nzCheckedChildren)}}function A(l,i){if(1&l&&(a.ynx(0),a._uU(1),a.BQk()),2&l){const o=a.oxw(2);a.xp6(1),a.Oqu(o.nzUnCheckedChildren)}}function V(l,i){if(1&l&&a.YNc(0,A,2,1,"ng-container",9),2&l){const o=a.oxw();a.Q6J("nzStringTemplateOutlet",o.nzUnCheckedChildren)}}let Z=(()=>{class l{updateValue(o){this.isChecked!==o&&(this.isChecked=o,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(o,e,p,h,f,G){this.nzConfigService=o,this.host=e,this.ngZone=p,this.cdr=h,this.focusMonitor=f,this.directionality=G,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new d.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,g.R)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,_.R)(this.host.nativeElement,"click").pipe((0,g.R)(this.destroy$)).subscribe(o=>{o.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,_.R)(this.switchElement.nativeElement,"keydown").pipe((0,g.R)(this.destroy$)).subscribe(o=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:e}=o;e!==t.oh&&e!==t.SV&&e!==t.L_&&e!==t.K5||(o.preventDefault(),this.ngZone.run(()=>{e===t.oh?this.updateValue(!1):e===t.SV?this.updateValue(!0):(e===t.L_||e===t.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,g.R)(this.destroy$)).subscribe(o=>{o||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(o){this.isChecked=o,this.cdr.markForCheck()}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||o,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return l.\u0275fac=function(o){return new(o||l)(a.Y36(S.jY),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(D.tE),a.Y36(T.Is,8))},l.\u0275cmp=a.Xpm({type:l,selectors:[["nz-switch"]],viewQuery:function(o,e){if(1&o&&a.Gf(M,7),2&o){let p;a.iGM(p=a.CRH())&&(e.switchElement=p.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[a._Bn([{provide:C.JU,useExisting:(0,a.Gpc)(()=>l),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(o,e){if(1&o&&(a.TgZ(0,"button",0,1)(2,"span",2),a.YNc(3,I,1,0,"span",3),a.qZA(),a.TgZ(4,"span",4),a.YNc(5,E,2,1,"ng-container",5),a.YNc(6,V,1,1,"ng-template",null,6,a.W1O),a.qZA(),a._UZ(8,"div",7),a.qZA()),2&o){const p=a.MAs(7);a.ekj("ant-switch-checked",e.isChecked)("ant-switch-loading",e.nzLoading)("ant-switch-disabled",e.nzDisabled)("ant-switch-small","small"===e.nzSize)("ant-switch-rtl","rtl"===e.dir),a.Q6J("disabled",e.nzDisabled)("nzWaveExtraNode",!0),a.uIk("id",e.nzId),a.xp6(3),a.Q6J("ngIf",e.nzLoading),a.xp6(2),a.Q6J("ngIf",e.isChecked)("ngIfElse",p)}},dependencies:[x.O5,v.dQ,y.Ls,N.f],encapsulation:2,changeDetection:0}),(0,n.gn)([(0,z.yF)()],l.prototype,"nzLoading",void 0),(0,n.gn)([(0,z.yF)()],l.prototype,"nzDisabled",void 0),(0,n.gn)([(0,z.yF)()],l.prototype,"nzControl",void 0),(0,n.gn)([(0,S.oS)()],l.prototype,"nzSize",void 0),l})(),Q=(()=>{class l{}return l.\u0275fac=function(o){return new(o||l)},l.\u0275mod=a.oAB({type:l}),l.\u0275inj=a.cJS({imports:[T.vT,x.ez,v.vG,y.PV,N.T]}),l})()}}]); \ No newline at end of file diff --git a/server/public/5683.9a0c40ea40edb32d.js b/server/public/5683.9a0c40ea40edb32d.js new file mode 100644 index 000000000..00f9427d0 --- /dev/null +++ b/server/public/5683.9a0c40ea40edb32d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5683],{806:(K,x,e)=>{e.d(x,{S:()=>L});var h,P=e(655),O=e(4632),d=e(313),s=e(1791),M=e(5619),C=e(8645),u=e(5676),T=e(3997),f=e(812),D=e(836),g=e(2181),m=e(7398),I=e(3620),A=e(2460),p=e(4223),t=e(5879),v=e(6814),z=e(855),y=e(2962),E=e(551),r=e(3740),c=e(5695),b=e(6753),U=e(4764),Z=e(8516),R=e(4121),B=e(3489),W=e(1835),N=e(9857),V=e(4997),S=e(4527),$=e(9408),J=e(8091),Q=e(1233);function w(_,a){}function H(_,a){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,w,0,0,"ng-template",6),t.qZA(),t.BQk()),2&_){t.oxw();const n=t.MAs(6),l=t.MAs(8),o=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",n)("nzExtra",l),t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function F(_,a){}const j=function(_){return{height:_}};function G(_,a){if(1&_&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,F,0,0,"ng-template",6),t.qZA()()),2&_){const n=t.oxw(),l=t.MAs(6),o=t.MAs(8),i=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,j,n.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",l)("nzExtra",o),t.xp6(1),t.Q6J("ngTemplateOutlet",i)}}const Y=function(_,a,n){return{id:_,name:a,link:n}};function X(_,a){if(1&_&&(t.TgZ(0,"tr",23)(1,"td",20),t._UZ(2,"cvc-variant-tag",24),t.qZA(),t.TgZ(3,"td"),t._UZ(4,"cvc-plain-tag-overflow",25),t.ALo(5,"pluck"),t.qZA(),t.TgZ(6,"td"),t._UZ(7,"cvc-tag-overflow",26),t.qZA(),t.TgZ(8,"td"),t._UZ(9,"cvc-gene-tag",27),t.qZA(),t.TgZ(10,"td"),t._UZ(11,"cvc-tag-overflow",28),t.qZA(),t.TgZ(12,"td"),t._UZ(13,"cvc-tag-overflow",29),t.qZA()()),2&_){const n=a.$implicit,l=t.oxw(2);t.xp6(2),t.Q6J("variant",n)("truncateLongName",!0),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",t.xi3(5,16,n.aliases,"name"))("matchingText",l.variantAliasInput),t.xp6(3),t.Q6J("tags",n.variantTypes)("maxDisplayCount",1)("matchingText",l.variantTypeNameInput),t.xp6(2),t.Q6J("gene",t.kEZ(19,Y,n.geneId,n.geneName,n.geneLink))("truncateLongName",!0),t.xp6(2),t.Q6J("tags",n.diseases)("maxDisplayCount",1)("matchingText",l.diseaseNameInput),t.xp6(2),t.Q6J("tags",n.therapies)("maxDisplayCount",1)("matchingText",l.therapyNameInput)}}const q=function(){return[]},k=function(){return{x:"680px",y:"800px"}},tt=function(){return{text:"None",value:!0}},nt=function(_){return[_]};function et(_,a){if(1&_){const n=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.scrollEvent$.next(o))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.sortChange$.next(o))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Variant "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Variant Aliases "),t.qZA(),t.TgZ(12,"th",15),t.NdJ("nzFilterChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.onHasNoVariantTypeInputChange(o))}),t._uU(13," Variant Types "),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Gene "),t.qZA(),t.TgZ(16,"th",17),t._uU(17," Diseases "),t.qZA(),t.TgZ(18,"th",18),t._uU(19," Therapies "),t.qZA()(),t.TgZ(20,"tr",19)(21,"th",20)(22,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.variantNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(23,"th")(24,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.variantAliasInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(25,"th")(26,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.variantTypeNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(27,"th")(28,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.geneSymbolInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(29,"th")(30,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.diseaseNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(31,"th")(32,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.therapyNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()()()(),t.TgZ(33,"tbody"),t.YNc(34,X,14,23,"ng-template",22),t.qZA()()}if(2&_){const n=t.oxw();t.Q6J("nzData",t.lcZ(2,23,n.row$)||t.DdM(31,q))("nzLoading",!t.lcZ(3,25,n.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,27,n.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,29,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",t.DdM(32,k))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",n.sortColumns.VariantName)("nzSortFn",!0),t.xp6(4),t.Q6J("nzFilters",t.VKq(34,nt,t.DdM(33,tt)))("nzFilterFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.EntrezSymbol)("nzSortFn",!0),t.xp6(8),t.Q6J("inputModel",n.variantNameInput),t.xp6(2),t.Q6J("inputModel",n.variantAliasInput),t.xp6(2),t.Q6J("inputModel",n.variantTypeNameInput),t.xp6(2),t.Q6J("inputModel",n.geneSymbolInput),t.xp6(2),t.Q6J("inputModel",n.diseaseNameInput),t.xp6(2),t.Q6J("inputModel",n.therapyNameInput)}}function at(_,a){}function _t(_,a){if(1&_&&(t.ynx(0),t.YNc(1,at,0,0,"ng-template",6),t.BQk()),2&_){const n=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function ot(_,a){if(1&_&&(t.ynx(0),t._uU(1),t.BQk()),2&_){const n=t.oxw(2);t.xp6(1),t.hij(" ",n.cvcTitle," ")}}function lt(_,a){if(1&_&&(t.YNc(0,_t,2,1,"ng-container",30),t.YNc(1,ot,2,1,"ng-container",30),t.TgZ(2,"span",31),t._UZ(3,"cvc-table-counts",32),t.qZA()),2&_){const n=t.oxw();t.Q6J("ngIf",n.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",n.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",n.connection$)}}function it(_,a){1&_&&(t.TgZ(0,"nz-tag",35),t._UZ(1,"i",36),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function rt(_,a){if(1&_&&(t.YNc(0,it,4,0,"nz-tag",33),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",34),t.ALo(3,"ngrxPush")),2&_){const n=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,n.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,n.noMoreRows$))}}let L=((h=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,n){this.gql=a,this.cdr=n,this.initialPageSize=35,this.isScrolling=!1,this.hasNoVariantTypeInput=!1,this.sortColumns=d.pP7,this.noMoreRows$=new M.X(!1),this.scrollEvent$=new M.X("stop"),this.sortChange$=new C.x,this.filterChange$=new C.x,this.scrollIndex$=new C.x}ngOnInit(){this.initialQueryArgs={first:this.initialPageSize,variantTypeId:this.variantTypeId,variantGroupId:this.variantGroupId,hasNoVariantType:this.hasNoVariantTypeInput},this.queryRef=this.gql.watch(this.initialQueryArgs),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,p.j)("loading"),(0,T.x)(),(0,f.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,p.j)("loading"),(0,T.x)(),(0,D.T)(2)),this.connection$=this.result$.pipe((0,p.j)("data","browseVariants"),(0,g.h)(u.ep)),this.row$=this.connection$.pipe((0,p.j)("edges"),(0,g.h)(u.ep),(0,m.U)(a=>a.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,p.j)("pageInfo"),(0,g.h)(u.ep)),this.sortChange$.pipe((0,s.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,O._)(a)})}),this.filterChange$.pipe((0,I.b)(500),(0,s.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,m.U)(a=>"stop"!==a),(0,T.x)(),(0,s.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,g.h)(a=>"bottom"===a),(0,A.M)(this.pageInfo$),(0,m.U)(([a,n])=>n),(0,s.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({diseaseName:this.diseaseNameInput,therapyName:this.therapyNameInput,variantName:this.variantNameInput?this.variantNameInput:void 0,variantAlias:this.variantAliasInput?this.variantAliasInput:void 0,entrezSymbol:this.geneSymbolInput,variantTypeName:this.variantTypeNameInput?this.variantTypeNameInput:void 0,hasNoVariantType:this.hasNoVariantTypeInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(a,n){return n?.id}onHasNoVariantTypeInputChange(a){this.hasNoVariantTypeInput=a[0],this.filterChange$.next()}}).\u0275fac=function(a){return new(a||h)(t.Y36(d.Rdc),t.Y36(t.sBO))},h.\u0275cmp=t.Xpm({type:h,selectors:[["cvc-variants-table"]],inputs:{cvcHeight:"cvcHeight",variantTypeId:"variantTypeId",variantGroupId:"variantGroupId",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","170px"],["nzWidth","180px",3,"nzFilters","nzFilterFn","nzFilterChange"],["nzWidth","100px",3,"nzColumnKey","nzSortFn"],["nzWidth","200px"],["nzWidth","180px"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nz-virtual-scroll",""],[1,"data-row"],[3,"variant","truncateLongName"],[3,"maxDisplayCount","tags","matchingText"],["tagType","variant-type",3,"tags","maxDisplayCount","matchingText"],[3,"gene","truncateLongName"],["tagType","disease",3,"tags","maxDisplayCount","matchingText"],["tagType","therapy",3,"tags","maxDisplayCount","matchingText"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,n){if(1&a&&(t.YNc(0,H,3,3,"ng-container",0),t.YNc(1,G,3,6,"ng-template",null,1,t.W1O),t.YNc(3,et,35,36,"ng-template",null,2,t.W1O),t.YNc(5,lt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,rt,4,6,"ng-template",null,4,t.W1O)),2&a){const l=t.MAs(2);t.Q6J("ngIf",!n.cvcHeight)("ngIfElse",l)}},dependencies:[v.O5,v.tP,v.PC,z.w,y.bd,E.Ls,r.N8,r.qD,r.Uo,r._C,r.Om,r.p0,r.$Z,r.zu,r.qn,c.j,b.D,U.q,Z.p,R.H,B.H,W.l,N.B,V.y,S.T,$.I,J.fM,Q.F],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),h);L=(0,P.gn)([(0,s.c)()],L)},6506:(K,x,e)=>{e.d(x,{H:()=>r});var P=e(6814),O=e(5956),d=e(7856),s=e(9154),M=e(2966),C=e(2989),u=e(7950),T=e(2524),f=e(9175),D=e(4742),g=e(9312),m=e(2840),I=e(2962),A=e(551),p=e(3740),t=e(5695),v=e(6109),z=e(2392),y=e(7528),E=e(5879);let r=(()=>{class c{}return c.\u0275fac=function(U){return new(U||c)},c.\u0275mod=E.oAB({type:c}),c.\u0275inj=E.cJS({imports:[P.ez,m.sL,I.vh,A.PV,p.HQ,t.X,v.cg,z.ZJ,f.n,D.c,d.k,O.U,s.y,T.s,M.T,C.T,g.w,u.x,y.Q]}),c})()}}]); \ No newline at end of file diff --git a/server/public/5714.7ceb10e7de467947.js b/server/public/5714.7ceb10e7de467947.js deleted file mode 100644 index 7c1f91658..000000000 --- a/server/public/5714.7ceb10e7de467947.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5714],{2268:(k,J,a)=>{a.d(J,{O:()=>h});var l=a(6654),g=a(9771),i=a(4650),M=a(6895),u=a(9116),Y=a(6672),U=a(6581),d=a(1102),t=a(285),L=a(1730),_=a(160);function w(r,s){}function f(r,s){if(1&r&&(i.ynx(0),i.TgZ(1,"a",4),i.YNc(2,w,0,0,"ng-template",5),i.qZA(),i.BQk()),2&r){const c=i.oxw(),m=i.MAs(2);i.xp6(1),i.Q6J("routerLink",c.evidence.link),i.xp6(1),i.Q6J("ngTemplateOutlet",m)}}function z(r,s){}function N(r,s){if(1&r&&i._UZ(0,"cvc-evidence-popover",9),2&r){const c=i.oxw(3);i.Q6J("evidenceId",c.evidence.id)}}function $(r,s){if(1&r&&i.YNc(0,N,1,1,"cvc-evidence-popover",8),2&r){const c=i.oxw(2);i.Q6J("ngIf",c.enablePopover)}}const R=function(r,s,c){return{rejected:r,submitted:s,accepted:c}};function v(r,s){if(1&r&&(i.TgZ(0,"nz-tag",6),i.YNc(1,z,0,0,"ng-template",5),i.qZA(),i.YNc(2,$,1,1,"ng-template",null,7,i.W1O)),2&r){const c=i.MAs(3),m=i.oxw(),W=i.MAs(6);i.Q6J("ngClass",i.kEZ(5,R,"REJECTED"===m.evidence.status,"SUBMITTED"===m.evidence.status,"ACCEPTED"===m.evidence.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",c)("nzPopoverTrigger",m.enablePopover?"hover":null),i.xp6(1),i.Q6J("ngTemplateOutlet",W)}}function B(r,s){}function F(r,s){if(1&r&&i.YNc(0,B,0,0,"ng-template",5),2&r){i.oxw();const c=i.MAs(2);i.Q6J("ngTemplateOutlet",c)}}function j(r,s){if(1&r&&(i.TgZ(0,"cvc-icon-badges",10),i._UZ(1,"i",11),i.ALo(2,"entityColor"),i.ALo(3,"entityColor"),i.qZA(),i._uU(4)),2&r){const c=i.oxw();i.Q6J("flagged",c.evidence.flagged)("entityColor",c.iconColor),i.xp6(1),i.Q6J("nzTwotoneColor","REJECTED"===c.evidence.status?i.lcZ(2,4,"Rejected"):i.lcZ(3,6,"EvidenceItem")),i.xp6(3),i.hij(" ",c.evidence.name,"\n")}}class h extends l.a{set evidence(s){if(!s)throw new Error("cvc-evidence-tag evidence input requires LinkableEvidence.");this._evidence=s}get evidence(){return this._evidence}constructor(){super(),this.linked=!0,this.enablePopover=!0,this.iconColor=(0,g.f)("EvidenceItem")}idFunction(){return this.evidence.id}}h.\u0275fac=function(s){return new(s||h)},h.\u0275cmp=i.Xpm({type:h,selectors:[["cvc-evidence-tag"]],inputs:{evidence:"evidence",linked:"linked",enablePopover:"enablePopover"},features:[i.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["evidencePopover",""],[3,"evidenceId",4,"ngIf"],[3,"evidenceId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(s,c){if(1&s&&(i.YNc(0,f,3,2,"ng-container",0),i.YNc(1,v,4,9,"ng-template",null,1,i.W1O),i.YNc(3,F,1,1,"ng-template",null,2,i.W1O),i.YNc(5,j,5,8,"ng-template",null,3,i.W1O)),2&s){const m=i.MAs(4);i.Q6J("ngIf",c.linked)("ngIfElse",m)}},dependencies:[M.mk,M.O5,M.tP,u.rH,Y.j,U.lU,d.Ls,t._,L.b,_.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"]})},8482:(k,J,a)=>{a.r(J),a.d(J,{VariantGroupsDetailModule:()=>G});var l=a(6895),g=a(9116),i=a(7579),M=a(1135),u=a(7630),Y=a(8675),U=a(2722),d=a(6579),t=a(4650),L=a(9350),_=a(2635),w=a(1102),f=a(3679),z=a(5655),N=a(6616),$=a(7044),R=a(1664),v=a(6903),B=a(5623),F=a(8168),j=a(8992),h=a(9077),r=a(2233),s=a(759),c=a(160);const m=function(n){return["/variant-groups",n,"revise"]};function W(n,e){if(1&n&&(t.TgZ(0,"button",14,15),t._uU(2," Revise "),t.qZA()),2&n){const o=t.MAs(1),p=t.oxw(4).ngIf;t.Q6J("routerLink",t.VKq(2,m,p.id))("nzType",o.isActive?"primary":"default")}}function q(n,e){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,W,3,4,"button",13),t.qZA()),2&n){const o=t.oxw().ngrxLet;t.xp6(1),t.Q6J("ngIf",o.signedIn)}}function tt(n,e){if(1&n&&(t.TgZ(0,"button",17,15),t._uU(2," Flag "),t.qZA()),2&n){const o=t.MAs(1);t.Q6J("nzType",o.isActive?"primary":"default")}}function nt(n,e){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,tt,3,1,"button",16),t.qZA()),2&n){const o=t.oxw().ngrxLet;t.xp6(1),t.Q6J("ngIf",o.signedIn)}}function et(n,e){if(1&n&&t._UZ(0,"cvc-entity-subscription-button",19),2&n){const o=t.oxw(2).ngrxLet,p=t.oxw(3);t.Q6J("viewer",o)("subscribableId",p.subscribable.id)}}function at(n,e){if(1&n&&(t.TgZ(0,"span"),t.YNc(1,et,1,2,"cvc-entity-subscription-button",18),t.qZA()),2&n){const o=t.oxw().ngrxLet,p=t.oxw(3);t.xp6(1),t.Q6J("ngIf",o.signedIn&&p.subscribable)}}function ot(n,e){1&n&&(t.TgZ(0,"nz-space",11),t.YNc(1,q,2,1,"span",12),t.YNc(2,nt,2,1,"span",12),t.YNc(3,at,2,1,"span",12),t.qZA())}function it(n,e){if(1&n&&(t.TgZ(0,"nz-page-header-extra"),t.YNc(1,ot,4,0,"nz-space",10),t.qZA()),2&n){const o=t.oxw(2);t.xp6(1),t.Q6J("ngrxLet",o.viewer$)}}function rt(n,e){if(1&n&&(t.TgZ(0,"nz-col",20),t._UZ(1,"cvc-contributor-avatars",21),t.qZA()),2&n){const o=t.oxw(2);t.xp6(1),t.Q6J("subscribable",o.subscribable)}}function st(n,e){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"div",2),t.ALo(3,"ngrxPush"),t.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),t._UZ(6,"i",5),t.ALo(7,"entityColor"),t._uU(8),t.qZA(),t.YNc(9,it,2,1,"nz-page-header-extra",6),t.TgZ(10,"nz-page-header-content")(11,"cvc-tab-navigation",7),t.ALo(12,"ngrxPush"),t.YNc(13,rt,2,1,"ng-template",null,8,t.W1O),t.qZA(),t.TgZ(15,"div",9),t._UZ(16,"router-outlet"),t.qZA()()()(),t.BQk()),2&n){const o=e.ngIf,p=t.oxw();t.xp6(1),t.Q6J("displayName",o.name),t.xp6(1),t.Q6J("flags",t.lcZ(3,6,p.flagsTotal$)),t.xp6(4),t.Q6J("nzTwotoneColor",t.lcZ(7,8,"VariantGroup")),t.xp6(2),t.hij(" ",o.name," "),t.xp6(1),t.Q6J("ngrxLet",p.viewer$),t.xp6(2),t.Q6J("tabs",t.lcZ(12,10,p.tabs$))}}class O{constructor(e,o,p){this.gql=e,this.viewerService=o,this.route=p,this.destroy$=new i.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"}],this.viewer$=this.viewerService.viewer$,this.tabs$=new M.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(S=>{let X=this.gql.watch({variantGroupId:+S.variantGroupId}).valueChanges;this.loading$=X.pipe((0,d.j)("loading"),(0,Y.O)(!0)),this.variantGroup$=X.pipe((0,d.j)("data","variantGroup")),this.commentsTotal$=this.variantGroup$.pipe((0,d.j)("comments","totalCount")),this.flagsTotal$=this.variantGroup$.pipe((0,d.j)("flags","totalCount")),this.variantGroup$.pipe((0,d.j)("revisions","totalCount"),(0,U.R)(this.destroy$)).subscribe({next:Q=>{this.tabs$.next(this.defaultTabs.map(D=>"Revisions"===D.tabLabel?{badgeCount:Q,...D}:D))}}),this.subscribable={id:+S.variantGroupId,entityType:u.o71.VariantGroup}})}ngOnInit(){}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}O.\u0275fac=function(e){return new(e||O)(t.Y36(u.Qtd),t.Y36(L.a),t.Y36(g.gz))},O.\u0275cmp=t.Xpm({type:O,selectors:[["cvc-variant-groups-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],[4,"ngrxLet"],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Variant",3,"viewer","subscribableId",4,"ngIf"],["typename","Variant",3,"viewer","subscribableId"],["id","contributors-col"],[3,"subscribable"]],template:function(e,o){1&e&&(t.YNc(0,st,17,12,"ng-container",0),t.ALo(1,"async")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,o.variantGroup$))},dependencies:[l.O5,_.eJ,g.lC,g.rH,g.Od,w.Ls,f.t3,z.$O,z.u9,z.u5,z.Jp,N.ix,$.w,R.dQ,v.NU,v.$1,B.o,F.Y,j.I,h.Q,r.P,s.N,l.Ov,_.fM,c.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var ct=a(2278);class y{}y.\u0275fac=function(e){return new(e||y)},y.\u0275mod=t.oAB({type:y}),y.\u0275inj=t.cJS({imports:[l.ez,ct.l]});var pt=a(3801);function lt(n,e){if(1&n&&t._UZ(0,"cvc-comment-list",1),2&n){const o=t.oxw();t.Q6J("commentable",o.commentable)}}class V{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(o=>{this.commentable={entityType:u.OfU.VariantGroup,id:+o.variantGroupId}})}ngOnDestroy(){this.routeSub.unsubscribe()}}V.\u0275fac=function(e){return new(e||V)(t.Y36(g.gz))},V.\u0275cmp=t.Xpm({type:V,selectors:[["cvc-variant-groups-comments"]],decls:1,vars:1,consts:[[3,"commentable",4,"ngIf"],[3,"commentable"]],template:function(e,o){1&e&&t.YNc(0,lt,1,1,"cvc-comment-list",0),2&e&&t.Q6J("ngIf",o.commentable)},dependencies:[l.O5,pt.D],styles:["[_nghost-%COMP%]{display:block}"]});var gt=a(4271);class b{}b.\u0275fac=function(e){return new(e||b)},b.\u0275mod=t.oAB({type:b}),b.\u0275inj=t.cJS({imports:[l.ez,gt.M]});var ut=a(7036);function dt(n,e){if(1&n&&t._UZ(0,"cvc-flag-list-and-filter",1),2&n){const o=t.oxw();t.Q6J("flaggable",o.flaggable)}}class E{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(o=>{this.flaggable={entityType:u.sfv.VariantGroup,id:+o.variantGroupId}})}ngOnDestroy(){this.routeSub.unsubscribe()}}E.\u0275fac=function(e){return new(e||E)(t.Y36(g.gz))},E.\u0275cmp=t.Xpm({type:E,selectors:[["cvc-variant-groups-flags"]],decls:1,vars:1,consts:[[3,"flaggable",4,"ngIf"],[3,"flaggable"]],template:function(e,o){1&e&&t.YNc(0,dt,1,1,"cvc-flag-list-and-filter",0),2&e&&t.Q6J("ngIf",o.flaggable)},dependencies:[l.O5,ut.L],styles:["[_nghost-%COMP%]{display:block}"]});var _t=a(2914);class x{}x.\u0275fac=function(e){return new(e||x)},x.\u0275mod=t.oAB({type:x}),x.\u0275inj=t.cJS({imports:[l.ez,_t.A]});var mt=a(3770);class I{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(o=>{this.vgId=+o.variantGroupId,this.entityType=u.oRL.VariantGroup})}ngOnDestroy(){this.routeSub.unsubscribe()}}I.\u0275fac=function(e){return new(e||I)(t.Y36(g.gz))},I.\u0275cmp=t.Xpm({type:I,selectors:[["cvc-variant-groups-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(e,o){1&e&&t._UZ(0,"cvc-revisions-list-and-filter",0),2&e&&t.Q6J("id",o.vgId)("entityType",o.entityType)},dependencies:[mt.a],styles:["[_nghost-%COMP%]{display:block}"]});var K=a(9194),vt=a(8541),ft=a(3855),H=a(8823),zt=a(897),ht=a(2811);class T{}T.\u0275fac=function(e){return new(e||T)},T.\u0275mod=t.oAB({type:T}),T.\u0275inj=t.cJS({imports:[l.ez,_._N,_.pP,v.zf,f.Jb,K.q6,H.ZJ,vt.o,ft.H,zt.$,ht.s]});var yt=a(4004),bt=a(427),xt=a(6274),Tt=a(6715),Ct=a(783);function Pt(n,e){if(1&n&&(t.TgZ(0,"p",11),t._uU(1),t.qZA()),2&n){const o=t.oxw(3).ngIf;t.Q6J("nzEllipsisRows",14),t.xp6(1),t.hij(" ",o.description," ")}}function Gt(n,e){1&n&&t._UZ(0,"cvc-empty-revisable",12)}function Mt(n,e){if(1&n&&(t.TgZ(0,"nz-descriptions",7)(1,"nz-descriptions-item",8),t.YNc(2,Pt,2,2,"p",9),t.YNc(3,Gt,1,0,"ng-template",null,10,t.W1O),t.qZA()()),2&n){const o=t.MAs(4),p=t.oxw(2).ngIf;t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("ngIf",p.description)("ngIfElse",o)}}function Ot(n,e){1&n&&t._UZ(0,"cvc-source-tag",17),2&n&&t.Q6J("source",e.$implicit)}function Vt(n,e){if(1&n&&(t.ynx(0),t.TgZ(1,"cvc-tag-list"),t.YNc(2,Ot,1,1,"cvc-source-tag",16),t.qZA(),t.BQk()),2&n){const o=t.oxw(3).ngIf;t.xp6(2),t.Q6J("ngForOf",o.sources)}}function Et(n,e){1&n&&(t.TgZ(0,"span",18),t._uU(1,"None specified"),t.qZA())}function It(n,e){if(1&n&&(t.TgZ(0,"nz-descriptions",7)(1,"nz-descriptions-item",13),t.YNc(2,Vt,3,1,"ng-container",14),t.YNc(3,Et,2,0,"ng-template",null,15,t.W1O),t.qZA()()),2&n){const o=t.MAs(4),p=t.oxw(2).ngIf;t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("ngIf",p.sources.length>0)("ngIfElse",o)}}function Zt(n,e){1&n&&(t.TgZ(0,"nz-row",3)(1,"nz-col",4)(2,"nz-space",5),t.YNc(3,Mt,5,3,"nz-descriptions",6),t.qZA()(),t.TgZ(4,"nz-col",4)(5,"nz-space",5),t.YNc(6,It,5,3,"nz-descriptions",6),t.qZA()()()),2&n&&t.Q6J("nzGutter",16)}function At(n,e){if(1&n&&(t.ynx(0),t._UZ(1,"cvc-variants-table",21),t.BQk()),2&n){const o=e.ngrxLet;t.xp6(1),t.MGl("cvcTitle","Variants in Variant Groupt ",null==o?null:o.name,""),t.Q6J("variantGroupId",null==o?null:o.id)}}function St(n,e){if(1&n&&(t.TgZ(0,"nz-row",3)(1,"nz-col",19),t.YNc(2,At,2,2,"ng-container",20),t.qZA()()),2&n){const o=t.oxw(2);t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("ngrxLet",o.variantGroup$)}}function Dt(n,e){1&n&&(t.TgZ(0,"nz-space",1),t.YNc(1,Zt,7,1,"nz-row",2),t.YNc(2,St,3,3,"nz-row",2),t.qZA())}class Z{constructor(e,o,p){this.gql=e,this.viewerService=o,this.route=p,this.routeSub=this.route.params.subscribe(S=>{this.viewer$=this.viewerService.viewer$;let Q=this.gql.watch({variantGroupId:+S.variantGroupId}).valueChanges;this.subscribableEntity={id:+S.variantGroupId,entityType:u.o71.VariantGroup},this.variantGroup$=Q.pipe((0,d.j)("data","variantGroup")),this.loading$=Q.pipe((0,d.j)("loading")),this.myVariantGroupInfo$=this.variantGroup$.pipe((0,d.j)("myVariantGroupInfoDetails"),(0,yt.U)(D=>JSON.parse(String(D))))})}ngOnDestroy(){this.routeSub.unsubscribe()}}Z.\u0275fac=function(e){return new(e||Z)(t.Y36(u.q1D),t.Y36(L.a),t.Y36(g.gz))},Z.\u0275cmp=t.Xpm({type:Z,selectors:[["cvc-variant-groups-summary"]],decls:2,vars:3,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzSpan","12"],["nzDirection","vertical"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["noSources",""],[3,"source",4,"ngFor","ngForOf"],[3,"source"],["nz-typography","","nzType","secondary"],[3,"nzSpan"],[4,"ngrxLet"],[3,"variantGroupId","cvcTitle"]],template:function(e,o){1&e&&(t.YNc(0,Dt,3,0,"nz-space",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,o.variantGroup$))},dependencies:[l.sg,l.O5,_.eJ,v.NU,v.$1,f.t3,f.SK,K.R7,K.uj,H.ZU,bt.J,xt.S,Tt.$,Ct.T,_.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]});var Jt=a(5291);class C{}C.\u0275fac=function(e){return new(e||C)},C.\u0275mod=t.oAB({type:C}),C.\u0275inj=t.cJS({imports:[l.ez,Jt.t]});var Lt=a(2011);class A{constructor(e){this.route=e,this.subscribable={id:+this.route.snapshot.params.variantGroupId,entityType:u.o71.VariantGroup}}}A.\u0275fac=function(e){return new(e||A)(t.Y36(g.gz))},A.\u0275cmp=t.Xpm({type:A,selectors:[["cvc-variant-groups-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(e,o){1&e&&t._UZ(0,"cvc-event-feed",0),2&e&&t.Q6J("subscribable",o.subscribable)},dependencies:[Lt.o],styles:["[_nghost-%COMP%]{display:block}"]});const wt=[{path:"",component:O,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:Z,data:{breadcrumb:"Summary"}},{path:"comments",component:V,data:{breadcrumb:"Comments"}},{path:"revisions",component:I,data:{breadcrumb:"Revisions"}},{path:"flags",component:E,data:{breadcrumb:"Flags"}},{path:"events",component:A,data:{breadcrumb:"Events"}}]}];class P{}P.\u0275fac=function(e){return new(e||P)},P.\u0275mod=t.oAB({type:P}),P.\u0275inj=t.cJS({imports:[g.Bz.forChild(wt),T,y,x,b,C,g.Bz]});var Nt=a(5630),Qt=a(4609),Yt=a(4682),Ut=a(8762),$t=a(5750),Rt=a(9444);class G{}G.\u0275fac=function(e){return new(e||G)},G.\u0275mod=t.oAB({type:G}),G.\u0275inj=t.cJS({imports:[l.ez,_._N,_.pP,P,w.PV,f.Jb,z.KJ,N.sL,v.zf,Yt.m,Rt.s,Nt.D,Qt.g,Ut.c,$t.Z]})}}]); \ No newline at end of file diff --git a/server/public/5756.74732a34d6188e8e.js b/server/public/5756.74732a34d6188e8e.js new file mode 100644 index 000000000..43c60486d --- /dev/null +++ b/server/public/5756.74732a34d6188e8e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5756],{8923:(I,y,o)=>{o.d(y,{z:()=>g});var t=o(5879),n=o(5695),s=o(551),f=o(6967);let g=(()=>{class c{constructor(){this.cvcShowLabel=!0,this.cvcShowTooltip=!0,this.showIcon=!0}}return c.\u0275fac=function(_){return new(_||c)},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-attribute-tag"]],inputs:{cvcAttrValue:"cvcAttrValue",iconPropertyType:"iconPropertyType",cvcShowLabel:"cvcShowLabel",cvcShowTooltip:"cvcShowTooltip",showIcon:"showIcon"},decls:5,vars:7,consts:[["nz-icon","",3,"nzType"]],template:function(_,m){1&_&&(t.TgZ(0,"nz-tag"),t._UZ(1,"i",0),t.ALo(2,"evidenceEnumDisplay"),t._uU(3),t.ALo(4,"evidenceEnumDisplay"),t.qZA()),2&_&&(t.xp6(1),t.Q6J("nzType",t.xi3(2,2,m.cvcAttrValue,"icon-name")),t.xp6(2),t.hij(" ",t.lcZ(4,5,m.cvcAttrValue),"\n"))},dependencies:[n.j,s.Ls,f.Do],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0}),c})()},7364:(I,y,o)=>{o.d(y,{_:()=>v});var t=o(6814),n=o(5695),s=o(2524),f=o(551),g=o(6109),c=o(5879);let v=(()=>{class _{}return _.\u0275fac=function(P){return new(P||_)},_.\u0275mod=c.oAB({type:_}),_.\u0275inj=c.cJS({imports:[t.ez,n.X,f.PV,g.cg,s.s]}),_})()},9183:(I,y,o)=>{o.d(y,{P:()=>D});var t=o(5879),n=o(6814),s=o(6109);function f(r,T){1&r&&(t.ynx(0),t._uU(1," N/A "),t.BQk())}function g(r,T){1&r&&(t.ynx(0),t._uU(1," Not applicable "),t.BQk())}function c(r,T){if(1&r&&(t.TgZ(0,"span",4),t.ynx(1,0),t.YNc(2,f,2,0,"ng-container",5),t.YNc(3,g,2,0,"ng-container",6),t.BQk(),t.qZA()),2&r){const a=t.oxw();t.xp6(1),t.Q6J("ngSwitch",a.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function v(r,T){1&r&&(t.ynx(0),t._uU(1," \u2013\xa0\u2013 "),t.BQk())}function _(r,T){1&r&&(t.ynx(0),t._uU(1,"Not specified"),t.BQk())}function m(r,T){if(1&r&&(t.TgZ(0,"span",7),t.ynx(1,0),t.YNc(2,v,2,0,"ng-container",5),t.YNc(3,_,2,0,"ng-container",6),t.BQk(),t.qZA()),2&r){const a=t.oxw();t.xp6(1),t.Q6J("ngSwitch",a.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function P(r,T){1&r&&(t.ynx(0),t._uU(1,"!?"),t.BQk())}function O(r,T){1&r&&(t.ynx(0),t._uU(1,"Unspecified"),t.BQk())}function d(r,T){if(1&r&&(t.TgZ(0,"span",8),t.ynx(1,0),t.YNc(2,P,2,0,"ng-container",5),t.YNc(3,O,2,0,"ng-container",6),t.BQk(),t.qZA()),2&r){const a=t.oxw();t.xp6(1),t.Q6J("ngSwitch",a.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}let D=(()=>{class r{constructor(){this.cvcEmptyCategory="not-applicable",this.cvcDisplayMode="default"}}return r.\u0275fac=function(a){return new(a||r)},r.\u0275cmp=t.Xpm({type:r,selectors:[["cvc-empty-value"]],inputs:{cvcEmptyCategory:"cvcEmptyCategory",cvcDisplayMode:"cvcDisplayMode"},decls:4,vars:4,consts:[[3,"ngSwitch"],["class","empty-symbol not-applicable","nz-tooltip","","nzTooltipTitle","Value is not applicable",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Unspecified","class","empty-symbol unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","INVALID","class","empty-symbol invalid","nz-tooltip","","nzTooltipTitle","Error: value requires specification",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Value is not applicable",1,"empty-symbol","not-applicable"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["nz-tooltip","","nzTooltipTitle","Unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",1,"empty-symbol","unspecified"],["nz-tooltip","","nzTooltipTitle","INVALID","nz-tooltip","","nzTooltipTitle","Error: value requires specification",1,"empty-symbol","invalid"]],template:function(a,A){1&a&&(t.ynx(0,0),t.YNc(1,c,4,2,"span",1),t.YNc(2,m,4,2,"span",2),t.YNc(3,d,4,2,"span",3),t.BQk()),2&a&&(t.Q6J("ngSwitch",A.cvcEmptyCategory),t.xp6(1),t.Q6J("ngSwitchCase","not-applicable"),t.xp6(1),t.Q6J("ngSwitchCase","unspecified"),t.xp6(1),t.Q6J("ngSwitchCase","invalid"))},dependencies:[n.RF,n.n9,n.ED,s.SY],styles:[".empty-symbol[_ngcontent-%COMP%]{font-style:oblique;display:inline-block;white-space:no-wrap}.empty-symbol.not-applicable[_ngcontent-%COMP%]{color:#ccc;font-weight:500}.empty-symbol.unspecified[_ngcontent-%COMP%]{display:inline-block;color:#ccc;font-weight:500;padding:0 3px}.empty-symbol.invalid[_ngcontent-%COMP%]{display:inline-block;color:#ff4d4f;font-weight:700}"]}),r})()},8916:(I,y,o)=>{o.d(y,{M:()=>g});var t=o(6814),n=o(551),s=o(6109),f=o(5879);let g=(()=>{class c{}return c.\u0275fac=function(_){return new(_||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({imports:[t.ez,s.cg,n.PV]}),c})()},8380:(I,y,o)=>{o.d(y,{P:()=>P});var t=o(6814),n=o(2840),s=o(6109),f=o(2669),g=o(6294),c=o(6223),v=o(95),_=o(2574),m=o(5879);let P=(()=>{class O{}return O.\u0275fac=function(D){return new(D||O)},O.\u0275mod=m.oAB({type:O}),O.\u0275inj=m.cJS({imports:[t.ez,c.u5,c.UX,n.sL,s.cg,f.j,_.zf,v.Jb,g.A]}),O})()},5162:(I,y,o)=>{o.d(y,{m:()=>T});var t=o(5879),n=o(2024),s=o(313),f=o(8645),g=o(9773),c=o(7473),v=o(6814),_=o(2840),m=o(855),P=o(1958),O=o(2669),d=o(5805),D=o(2257);function r(a,A){if(1&a){const p=t.EpF();t.TgZ(0,"cvc-org-selector-btn-group",5),t.NdJ("selectedOrgChange",function(E){t.CHM(p);const R=t.oxw();return t.KtG(R.mostRecentOrg=E)}),t.TgZ(1,"button",6),t.NdJ("click",function(){t.CHM(p);const E=t.oxw();return t.KtG(E.moderate(E.evidenceStatuses.Accepted))}),t._uU(2),t.qZA()()}if(2&a){const p=t.oxw();t.Q6J("selectedOrg",p.mostRecentOrg),t.xp6(2),t.hij(" Accept ",p.entityType," ")}}let T=(()=>{class a{constructor(p,C,E){this.revertEvidenceGQL=p,this.revertAssertionGQL=C,this.networkErrorService=E,this.rejectOnly=!1,this.onModerated=new t.vpe,this.evidenceStatuses=s.RTy,this.isSubmitting=!1,this.showConfirm=!1,this.destroy$=new f.x,this.moderateAssertionMutator=new n.U(E),this.moderateEvidenceMutator=new n.U(E)}moderate(p){let C;this.isSubmitting=!0,C="EvidenceItem"===this.entityType?this.moderateEvidenceMutator.mutate(this.revertEvidenceGQL,{input:{evidenceItemId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:p}}):this.moderateAssertionMutator.mutate(this.revertAssertionGQL,{input:{assertionId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:p}}),C.submitSuccess$.pipe((0,g.R)(this.destroy$)).subscribe(E=>{E&&(this.isSubmitting=!1,this.showConfirm=!1,this.onModerated.emit(p))}),C.submitError$.pipe((0,g.R)(this.destroy$)).subscribe(E=>{E&&(this.isSubmitting=!1,this.showConfirm=!1,this.onModerated.emit(E))}),C.isSubmitting$.pipe((0,g.R)(this.destroy$)).subscribe(E=>{this.isSubmitting=E})}ngOnInit(){if(void 0===this.viewer)throw new Error("Must pass in a viewer to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityId)throw new Error("Must pass in an id to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityType)throw new Error("Must pass in an entityType to the CvcEntitySubscriptionButtonComponent");this.mostRecentOrg=this.viewer.mostRecentOrg}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(p){return new(p||a)(t.Y36(s.MYm),t.Y36(s._jb),t.Y36(c.Y))},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-moderate-entity-buttons"]],inputs:{viewer:"viewer",entityType:"entityType",entityId:"entityId",rejectOnly:"rejectOnly"},outputs:{onModerated:"onModerated"},decls:7,vars:4,consts:[[1,"center"],[3,"nzSpinning"],[3,"selectedOrg","selectedOrgChange",4,"ngIf"],["nzDanger","","nzType","primary",3,"selectedOrg","selectedOrgChange"],["cvcOrgSelectorBtn","","nzDanger","","nzType","primary","nzSize","large","nz-button","",3,"click"],[3,"selectedOrg","selectedOrgChange"],["cvcOrgSelectorBtn","","nzType","primary","nzSize","large","nz-button","",3,"click"]],template:function(p,C){1&p&&(t.TgZ(0,"div",0)(1,"nz-spin",1),t.YNc(2,r,3,2,"cvc-org-selector-btn-group",2),t._uU(3," \xa0 "),t.TgZ(4,"cvc-org-selector-btn-group",3),t.NdJ("selectedOrgChange",function(R){return C.mostRecentOrg=R}),t.TgZ(5,"button",4),t.NdJ("click",function(){return C.moderate(C.evidenceStatuses.Rejected)}),t._uU(6),t.qZA()()()()),2&p&&(t.xp6(1),t.Q6J("nzSpinning",C.isSubmitting),t.xp6(1),t.Q6J("ngIf",!C.rejectOnly),t.xp6(2),t.Q6J("selectedOrg",C.mostRecentOrg),t.xp6(2),t.hij(" Reject ",C.entityType," "))},dependencies:[v.O5,_.ix,m.w,P.dQ,O.W,d.m,D.q],styles:["[_nghost-%COMP%]{display:block}.center[_ngcontent-%COMP%]{display:flex;justify-content:center}"]}),a})()},4794:(I,y,o)=>{o.d(y,{e:()=>R});var t=o(5879),n=o(2024),s=o(313),f=o(8645),g=o(9773),c=o(7473),v=o(2840),_=o(855),m=o(1958),P=o(551),O=o(6109),d=o(67),D=o(2669),r=o(2574),T=o(5805),a=o(2257);function A(h,B){if(1&h&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&h){const l=t.oxw();t.xp6(1),t.hij("Revert this ",l.entityType," to Submitted?")}}function p(h,B){if(1&h){const l=t.EpF();t.TgZ(0,"span")(1,"cvc-org-selector-btn-group",8),t.NdJ("selectedOrgChange",function(z){t.CHM(l);const U=t.oxw(2);return t.KtG(U.mostRecentOrg=z)}),t.TgZ(2,"button",9),t.NdJ("click",function(){t.CHM(l);const z=t.oxw(2);return t.KtG(z.revert())}),t._uU(3," Revert "),t.qZA()()()}if(2&h){const l=t.oxw(2);t.xp6(1),t.Q6J("selectedOrg",l.mostRecentOrg)}}function C(h,B){if(1&h){const l=t.EpF();t.TgZ(0,"span")(1,"button",10),t.NdJ("click",function(){t.CHM(l);const z=t.oxw(2);return t.KtG(z.showConfirm=!1)}),t._uU(2," Cancel "),t.qZA()()}}function E(h,B){if(1&h&&(t.TgZ(0,"nz-spin",5)(1,"nz-space",6),t.YNc(2,p,4,1,"span",7),t.YNc(3,C,3,0,"span",7),t.qZA()()),2&h){const l=t.oxw();t.Q6J("nzSpinning",l.isSubmitting)}}let R=(()=>{class h{constructor(l,M,z){this.revertEvidenceGQL=l,this.revertAssertionGQL=M,this.networkErrorService=z,this.onReverted=new t.vpe,this.isSubmitting=!1,this.showConfirm=!1,this.destroy$=new f.x,this.revertAssertionMutator=new n.U(z),this.revertEvidenceMutator=new n.U(z)}revert(){let l;this.isSubmitting=!0,l="EvidenceItem"===this.entityType?this.revertEvidenceMutator.mutate(this.revertEvidenceGQL,{input:{evidenceItemId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:s.RTy.Submitted}}):this.revertAssertionMutator.mutate(this.revertAssertionGQL,{input:{assertionId:this.entityId,organizationId:this.mostRecentOrg?.id,newStatus:s.RTy.Submitted}}),l.submitSuccess$.pipe((0,g.R)(this.destroy$)).subscribe(M=>{M&&(this.isSubmitting=!1,this.showConfirm=!1,this.onReverted.emit(!0))}),l.submitError$.pipe((0,g.R)(this.destroy$)).subscribe(M=>{M&&(this.isSubmitting=!1,this.showConfirm=!1,this.onReverted.emit(M))}),l.isSubmitting$.pipe((0,g.R)(this.destroy$)).subscribe(M=>{this.isSubmitting=M})}handleConfirmModalCancel(){this.showConfirm=!1}ngOnInit(){if(void 0===this.viewer)throw new Error("Must pass in a viewer to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityId)throw new Error("Must pass in an id to the CvcEntitySubscriptionButtonComponent");if(void 0===this.entityType)throw new Error("Must pass in an entityType to the CvcEntitySubscriptionButtonComponent");this.mostRecentOrg=this.viewer.mostRecentOrg}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return h.\u0275fac=function(l){return new(l||h)(t.Y36(s.MYm),t.Y36(s._jb),t.Y36(c.Y))},h.\u0275cmp=t.Xpm({type:h,selectors:[["cvc-revert-entity-button"]],inputs:{viewer:"viewer",entityType:"entityType",entityId:"entityId"},outputs:{onReverted:"onReverted"},decls:7,vars:5,consts:[["nz-button","","nz-tooltip","Revert to Submitted","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","undo"],[3,"nzVisible","nzContent","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],["confirmModalTitle",""],["confirmModalContent",""],[3,"nzSpinning"],["nzDirection","horizontal"],[4,"nzSpaceItem"],[3,"selectedOrg","selectedOrgChange"],["cvcOrgSelectorBtn","","nzType","primary","nzSize","small","nz-button","",3,"click"],["nz-button","","nzSize","small",3,"click"]],template:function(l,M){if(1&l&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return M.showConfirm=!0}),t._UZ(1,"i",1),t.qZA(),t.TgZ(2,"nz-modal",2),t.NdJ("nzVisibleChange",function(U){return M.showConfirm=U})("nzOnCancel",function(){return M.handleConfirmModalCancel()}),t.YNc(3,A,2,1,"ng-template",null,3,t.W1O),t.YNc(5,E,4,1,"ng-template",null,4,t.W1O),t.qZA()),2&l){const z=t.MAs(4),U=t.MAs(6);t.Q6J("nzLoading",M.isSubmitting),t.xp6(2),t.Q6J("nzVisible",M.showConfirm)("nzContent",U)("nzTitle",z)("nzFooter",null)}},dependencies:[v.ix,_.w,m.dQ,P.Ls,O.SY,d.du,D.W,r.NU,r.$1,T.m,a.q],styles:["[_nghost-%COMP%]{display:block}"]}),h})()},3786:(I,y,o)=>{o.d(y,{G:()=>O});var t=o(6814),n=o(2840),s=o(551),f=o(6109),g=o(67),c=o(2669),v=o(2574),_=o(6294),m=o(6223),P=o(5879);let O=(()=>{class d{}return d.\u0275fac=function(r){return new(r||d)},d.\u0275mod=P.oAB({type:d}),d.\u0275inj=P.cJS({imports:[t.ez,m.u5,m.UX,n.sL,s.PV,f.cg,g.Qp,c.j,v.zf,_.A]}),d})()},5959:(I,y,o)=>{o.d(y,{u:()=>Z});var t=o(2023),n=o(5879),s=o(6814),f=o(4190),g=o(7417),c=o(5695),v=o(551),_=o(5676),m=o(7398),P=o(2181),O=o(313),d=o(2962),D=o(8125),r=o(4138),T=o(9408),a=o(1887),A=o(8091),p=o(2616);function C(e,u){if(1&e&&(n._UZ(0,"i",7),n.ALo(1,"entityColor"),n._uU(2)),2&e){const i=n.oxw().ngIf;n.Q6J("nzTwotoneColor",n.lcZ(1,2,"VariantGroup")),n.xp6(2),n.hij(" ",i.name," ")}}function E(e,u){if(1&e&&n._UZ(0,"cvc-variant-tag",10),2&e){const i=u.$implicit;n.Q6J("enablePopover",!1)("variant",i.node)}}function R(e,u){if(1&e&&(n.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),n.YNc(2,E,1,2,"cvc-variant-tag",9),n.qZA()()),2&e){const i=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",i.variants.edges)}}function h(e,u){if(1&e&&n._UZ(0,"cvc-source-tag",13),2&e){const i=u.$implicit;n.Q6J("enablePopover",!1)("source",i)}}function B(e,u){if(1&e&&(n.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),n.YNc(2,h,1,2,"cvc-source-tag",12),n.qZA()()),2&e){const i=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",i.sources)}}function l(e,u){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,C,3,4,"ng-template",null,3,n.W1O),n._uU(4),n.TgZ(5,"nz-descriptions",4),n.YNc(6,R,3,1,"nz-descriptions-item",5),n.YNc(7,B,3,1,"nz-descriptions-item",6),n.qZA()(),n.BQk()),2&e){const i=u.ngIf,x=n.MAs(3);n.xp6(1),n.Q6J("nzTitle",x),n.xp6(3),n.hij(" ",i.description," "),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",i.variants.edges.length>0),n.xp6(1),n.Q6J("ngIf",i.sources.length>0)}}let M=(()=>{class e{constructor(i){this.gql=i}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,m.U)(({data:i})=>i?.variantGroup),(0,P.h)(_.ep))}}return e.\u0275fac=function(i){return new(i||e)(n.Y36(O.Zo2))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(i,x){1&i&&(n.TgZ(0,"div",0),n.YNc(1,l,8,5,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&i&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,x.variantGroup$)))},dependencies:[s.sg,s.O5,d.bd,D.R7,D.uj,v.Ls,r.T,T.I,a.$,A.fM,p.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),e})();var z=o(3103);function U(e,u){}function S(e,u){if(1&e&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,U,0,0,"ng-template",5),n.qZA(),n.BQk()),2&e){const i=n.oxw(),x=n.MAs(2);n.xp6(1),n.Q6J("routerLink",i.variantgroup.link),n.xp6(1),n.Q6J("ngTemplateOutlet",x)}}function W(e,u){}function V(e,u){if(1&e&&n._UZ(0,"cvc-variant-group-popover",9),2&e){const i=n.oxw(3);n.Q6J("variantGroupId",i.variantgroup.id)}}function K(e,u){if(1&e&&n.YNc(0,V,1,1,"cvc-variant-group-popover",8),2&e){const i=n.oxw(2);n.Q6J("ngIf",i.enablePopover)}}function b(e,u){if(1&e&&(n.TgZ(0,"nz-tag",6),n.YNc(1,W,0,0,"ng-template",5),n.qZA(),n.YNc(2,K,1,1,"ng-template",null,7,n.W1O)),2&e){const i=n.MAs(3),x=n.oxw(),L=n.MAs(6);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",i)("nzPopoverTrigger",x.enablePopover?"hover":null),n.xp6(1),n.Q6J("ngTemplateOutlet",L)}}function Q(e,u){}function G(e,u){if(1&e&&n.YNc(0,Q,0,0,"ng-template",5),2&e){n.oxw();const i=n.MAs(2);n.Q6J("ngTemplateOutlet",i)}}function J(e,u){if(1&e&&(n.TgZ(0,"cvc-icon-badges",10),n._UZ(1,"i",11),n.ALo(2,"entityColor"),n.qZA(),n._uU(3)),2&e){const i=n.oxw();n.Q6J("flagged",i.variantgroup.flagged)("entityColor",i.iconColor),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,4,"VariantGroup")),n.xp6(2),n.hij(" ",i.variantgroup.name,"\n")}}let Z=(()=>{class e{set variantgroup(i){if(!i)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=i}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,t.f)("VariantGroup")}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(i,x){if(1&i&&(n.YNc(0,S,3,2,"ng-container",0),n.YNc(1,b,4,4,"ng-template",null,1,n.W1O),n.YNc(3,G,1,1,"ng-template",null,2,n.W1O),n.YNc(5,J,4,6,"ng-template",null,3,n.W1O)),2&i){const L=n.MAs(4);n.Q6J("ngIf",x.linked)("ngIfElse",L)}},dependencies:[s.O5,s.tP,f.rH,g.lU,c.j,v.Ls,M,z.b,p.a],encapsulation:2,changeDetection:0}),e})()},3641:(I,y,o)=>{o.d(y,{G:()=>T});var t=o(6814),n=o(4190),s=o(7417),f=o(5695),g=o(551),c=o(366),v=o(8641),_=o(7528),m=o(2524),P=o(2962),O=o(8125),d=o(5879);let D=(()=>{class a{}return a.\u0275fac=function(p){return new(p||a)},a.\u0275mod=d.oAB({type:a}),a.\u0275inj=d.cJS({imports:[t.ez,P.vh,O.q6,g.PV,v.s,_.Q,c.$,m.s]}),a})();var r=o(3146);let T=(()=>{class a{}return a.\u0275fac=function(p){return new(p||a)},a.\u0275mod=d.oAB({type:a}),a.\u0275inj=d.cJS({imports:[t.ez,n.Bz,s.$6,f.X,g.PV,D,m.s,r.C]}),a})()}}]); \ No newline at end of file diff --git a/server/public/5787.f7e6bdcc1ffc81c0.js b/server/public/5787.f7e6bdcc1ffc81c0.js new file mode 100644 index 000000000..e4f4bd2bc --- /dev/null +++ b/server/public/5787.f7e6bdcc1ffc81c0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5787],{1218:(A,f,n)=>{n.d(f,{i:()=>M});var _=n(6814),z=n(4190),d=n(5695),i=n(7417),T=n(551),p=n(1855),C=n(2524),S=n(3640),v=n(3146),h=n(5879);let M=(()=>{class u{}return u.\u0275fac=function(g){return new(g||u)},u.\u0275mod=h.oAB({type:u}),u.\u0275inj=h.cJS({imports:[_.ez,z.Bz,S.mS,d.X,i.$6,T.PV,p.f,C.s,v.C]}),u})()},1106:(A,f,n)=>{n.d(f,{L:()=>l});var _=n(6814),z=n(4190),d=n(5695),i=n(551),T=n(95),p=n(6067),C=n(8125),S=n(2962),v=n(1022),h=n(5879);let M=(()=>{class g{}return g.\u0275fac=function(t){return new(t||g)},g.\u0275mod=h.oAB({type:g}),g.\u0275inj=h.cJS({imports:[_.ez,S.vh,T.Jb,C.q6,p.X,v.H]}),g})();var u=n(7417);let l=(()=>{class g{}return g.\u0275fac=function(t){return new(t||g)},g.\u0275mod=h.oAB({type:g}),g.\u0275inj=h.cJS({imports:[_.ez,z.Bz,d.X,i.PV,u.$6,M]}),g})()},7950:(A,f,n)=>{n.d(f,{x:()=>u});var _=n(6814),z=n(366),d=n(5695),i=n(7417),T=n(3396),p=n(1106),C=n(5956),S=n(7528),v=n(6061),h=n(3717),M=n(5879);let u=(()=>{class l{}return l.\u0275fac=function(m){return new(m||l)},l.\u0275mod=M.oAB({type:l}),l.\u0275inj=M.cJS({imports:[_.ez,d.X,i.$6,z.$,v.N,T.Q,p.L,C.U,S.Q,h.M]}),l})()},4106:(A,f,n)=>{n.d(f,{O:()=>G});var _=n(655),z=n(4632),d=n(313),i=n(1791),T=n(5619),p=n(8645),C=n(5676),S=n(7398),v=n(3997),h=n(812),M=n(836),u=n(2181),l=n(3620),g=n(2460),m=n(4223),t=n(5879),y=n(951),I=n(6814),Z=n(6223),L=n(4190),E=n(2840),N=n(855),D=n(1958),$=n(2962),B=n(551),F=n(7417),U=n(9691),P=n(3740),J=n(5695),R=n(6109),K=n(4997),W=n(9857),Y=n(3489),V=n(6753),w=n(4764),H=n(8516),j=n(9775),x=n(4138),O=n(9773),b=n(2024),q=n(7473),k=n(2669),tt=n(3903),nt=n(824),X=n(2574),et=n(4755),ot=n(5805),at=n(2257),rt=n(3764);function ct(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-alert",6),t.NdJ("nzOnClose",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.onSuccessBannerClose())}),t.qZA()}}function lt(o,a){if(1&o&&t._UZ(0,"cvc-form-errors-alert",7),2&o){const e=t.oxw();t.Q6J("errors",e.errorMessages)}}function st(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"textarea",8),t.NdJ("ngModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.reason=r)}),t.qZA()}if(2&o){const e=t.oxw();t.Q6J("ngModel",e.reason)}}function it(o,a){1&o&&t._UZ(0,"nz-option",13)}function gt(o,a){1&o&&t._UZ(0,"nz-option",14)}function ut(o,a){1&o&&t._UZ(0,"nz-option",15)}function pt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-select",9),t.NdJ("ngModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.newStatus=r)}),t.YNc(1,it,1,0,"nz-option",10),t.YNc(2,gt,1,0,"nz-option",11),t.YNc(3,ut,1,0,"nz-option",12),t.qZA()}if(2&o){const e=t.oxw();t.Q6J("ngModel",e.newStatus),t.xp6(1),t.Q6J("ngIf","NEW"==e.currentStatus),t.xp6(1),t.Q6J("ngIf","NEW"!=e.currentStatus),t.xp6(1),t.Q6J("ngIf","NEW"==e.currentStatus)}}function dt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-spin",16)(1,"cvc-form-buttons")(2,"cvc-org-selector-btn-group",17),t.NdJ("selectedOrgChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.mostRecentOrg=r)}),t.TgZ(3,"button",18),t.NdJ("click",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.updateSourceSuggestionStatus())}),t._uU(4," Update Source Suggestion status "),t.qZA()()()()}if(2&o){const e=t.oxw();t.Q6J("nzSpinning",e.loading),t.xp6(2),t.Q6J("selectedOrg",e.mostRecentOrg),t.xp6(1),t.Q6J("disabled",e.loading)}}let mt=(()=>{class o{constructor(e,c,r){this.viewerService=e,this.networkErrorService=c,this.updateSuggestionStatusGql=r,this.commentAddedEvent=new t.vpe,this.destroy$=new p.x,this.success=!1,this.errorMessages=[],this.loading=!1,this.viewerService.viewer$.pipe((0,O.R)(this.destroy$)).subscribe(s=>{this.organizations=s.organizations,this.mostRecentOrg=s.mostRecentOrg}),this.sourceSuggestionStatusMutator=new b.U(c)}selectOrg(e){this.mostRecentOrg=e}updateSourceSuggestionStatus(){if(this.newStatus){let e=this.sourceSuggestionStatusMutator.mutate(this.updateSuggestionStatusGql,{input:{id:this.sourceSuggestionId,newStatus:this.newStatus,reason:this.reason,organizationId:this.mostRecentOrg?.id}});e.submitSuccess$.pipe((0,O.R)(this.destroy$)).subscribe(c=>{this.resetForm(),this.success=!0}),e.submitError$.pipe((0,O.R)(this.destroy$)).subscribe(c=>{c&&(this.errorMessages=c)}),e.isSubmitting$.pipe((0,O.R)(this.destroy$)).subscribe(c=>{this.loading=c})}}resetForm(){this.commentText=""}onSuccessBannerClose(){this.resetForm()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(y.a),t.Y36(q.Y),t.Y36(d.wRZ))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-update-source-suggestion-form"]],inputs:{sourceSuggestionId:"sourceSuggestionId",currentStatus:"currentStatus"},outputs:{commentAddedEvent:"commentAddedEvent"},decls:7,vars:2,consts:[["nzDirection","vertical"],["nzBanner","","nzMessage","Status Updated","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],[3,"errors",4,"ngIf"],["rows","4","nz-input","",3,"ngModel","ngModelChange",4,"nzSpaceItem"],["nzPlaceHolder","New Status","required","true",3,"ngModel","ngModelChange",4,"nzSpaceItem"],["nzTip","Submitting",3,"nzSpinning",4,"nzSpaceItem"],["nzBanner","","nzMessage","Status Updated","nzType","success","nzCloseable","",3,"nzOnClose"],[3,"errors"],["rows","4","nz-input","",3,"ngModel","ngModelChange"],["nzPlaceHolder","New Status","required","true",3,"ngModel","ngModelChange"],["nzValue","CURATED","nzLabel","Curated",4,"ngIf"],["nzValue","NEW","nzLabel","New",4,"ngIf"],["nzValue","REJECTED","nzLabel","Rejected",4,"ngIf"],["nzValue","CURATED","nzLabel","Curated"],["nzValue","NEW","nzLabel","New"],["nzValue","REJECTED","nzLabel","Rejected"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(e,c){1&e&&(t.TgZ(0,"nz-card")(1,"nz-space",0),t.YNc(2,ct,1,0,"nz-alert",1),t.YNc(3,lt,1,1,"cvc-form-errors-alert",2),t.YNc(4,st,1,1,"textarea",3),t.YNc(5,pt,4,4,"nz-select",4),t.YNc(6,dt,5,3,"nz-spin",5),t.qZA()()),2&e&&(t.xp6(2),t.Q6J("ngIf",c.success),t.xp6(1),t.Q6J("ngIf",c.errorMessages.length))},dependencies:[I.O5,Z.Fj,Z.JJ,Z.Q7,E.ix,N.w,D.dQ,$.bd,k.W,tt.r,nt.Zp,U.Ip,U.Vq,X.NU,X.$1,Z.On,et.V,ot.m,at.q,rt.Z],encapsulation:2}),o})();var Q,_t=n(356),vt=n(2606),Ct=n(8091),zt=n(2616);function Tt(o,a){}function ht(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-card",6),t.YNc(2,Tt,0,0,"ng-template",7),t.qZA(),t.BQk()),2&o){t.oxw();const e=t.MAs(8),c=t.MAs(10),r=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",e)("nzExtra",c),t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function St(o,a){}const ft=function(o){return{height:o}};function xt(o,a){if(1&o&&(t.TgZ(0,"div",8)(1,"nz-card",9),t.YNc(2,St,0,0,"ng-template",7),t.qZA()()),2&o){const e=t.oxw(),c=t.MAs(8),r=t.MAs(10),s=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,ft,e.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",c)("nzExtra",r),t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function Mt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"cvc-clearable-input-filter",29),t.NdJ("inputModelChange",function(r){t.CHM(e);const s=t.oxw(2);return t.KtG(s.submitterInput=r)})("inputModelChange",function(){t.CHM(e);const r=t.oxw(2);return t.KtG(r.filterChange$.next())}),t.qZA()}if(2&o){const e=t.oxw(2);t.Q6J("inputModel",e.submitterInput)}}function It(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-tag",51),t._uU(2),t.ALo(3,"lowercase"),t.qZA(),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,e.status)," ")}}function Pt(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-tag",52),t._uU(2),t.ALo(3,"lowercase"),t.qZA(),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,e.status)," ")}}function yt(o,a){if(1&o&&t._UZ(0,"i",55),2&o){const e=t.oxw(2).$implicit,c=t.oxw(2);t.Q6J("nzTooltipTitle",c.isScrolling?"":e.reason)}}function Zt(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-tag",53),t.YNc(2,yt,1,1,"i",54),t._uU(3),t.ALo(4,"lowercase"),t.qZA(),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",e.reason&&""!=e.reason),t.xp6(1),t.hij(" ",t.lcZ(4,2,e.status)," ")}}function Ot(o,a){if(1&o&&t._UZ(0,"cvc-source-tag",56),2&o){const e=t.oxw().$implicit;t.Q6J("source",e.source)}}function At(o,a){if(1&o&&t._UZ(0,"cvc-user-tag",57),2&o){const e=t.oxw().$implicit;t.Q6J("user",e.user)}}function Et(o,a){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.source.displayType," ")}}function Ut(o,a){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.source.citationId," ")}}function Jt(o,a){if(1&o&&t._UZ(0,"cvc-molecular-profile-tag",58),2&o){const e=t.oxw().$implicit;t.Q6J("molecularProfile",e.molecularProfile)}}function Qt(o,a){if(1&o&&t._UZ(0,"cvc-disease-tag",59),2&o){const e=t.oxw().$implicit;t.Q6J("disease",e.disease)("truncateLongName",!0)}}const bt=function(o,a,e){return{molecularProfileId:o,sourceId:a,diseaseId:e}};function Nt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-button-group")(1,"button",60),t._UZ(2,"i",61),t.qZA(),t.TgZ(3,"button",62),t.NdJ("click",function(){t.CHM(e);const r=t.oxw().$implicit,s=t.oxw(2);return t.KtG(s.setFormInputs(r.id,r.status))}),t._UZ(4,"i",63),t.qZA()()}if(2&o){const e=t.oxw().$implicit,c=t.oxw(2),r=t.MAs(6);t.xp6(1),t.Q6J("queryParams",t.kEZ(7,bt,null==e.molecularProfile?null:e.molecularProfile.id,null==e.source?null:e.source.id,null==e.disease?null:e.disease.id))("disabled",e.status!=c.status.New)("nzTooltipTitle",c.isScrolling?"":"Create Evidence with this Source")("nzTooltipMouseEnterDelay",1),t.xp6(2),t.Q6J("nzTooltipTitle",c.isScrolling?"":"Manage Source Suggestion")("nzTooltipMouseEnterDelay",1)("nzPopoverContent",r)}}function Dt(o,a){1&o&&(t.ynx(0),t._uU(1," -- "),t.BQk())}function $t(o,a){if(1&o&&(t.TgZ(0,"tr",39)(1,"td",40),t.ynx(2,41),t.ALo(3,"lowercase"),t.YNc(4,It,4,3,"ng-container",42),t.YNc(5,Pt,4,3,"ng-container",42),t.YNc(6,Zt,5,4,"ng-container",42),t.BQk(),t.qZA(),t.TgZ(7,"td",24),t.YNc(8,Ot,1,1,"cvc-source-tag",43),t.qZA(),t.TgZ(9,"td",44),t._UZ(10,"i",17),t.ALo(11,"entityColor"),t.qZA(),t.TgZ(12,"td"),t.YNc(13,At,1,1,"cvc-user-tag",45),t.qZA(),t.TgZ(14,"td"),t.YNc(15,Et,2,1,"ng-container",46),t.qZA(),t.TgZ(16,"td"),t.YNc(17,Ut,2,1,"ng-container",46),t.qZA(),t.TgZ(18,"td"),t.YNc(19,Jt,1,1,"cvc-molecular-profile-tag",47),t.qZA(),t.TgZ(20,"td"),t.YNc(21,Qt,1,2,"cvc-disease-tag",48),t.qZA(),t.TgZ(22,"td",49),t._uU(23),t.ALo(24,"date"),t.qZA(),t.TgZ(25,"td",50),t.YNc(26,Nt,5,11,"nz-button-group",46),t.YNc(27,Dt,2,0,"ng-container",46),t.qZA()()),2&o){const e=a.$implicit,c=t.oxw(2);t.xp6(2),t.Q6J("ngSwitch",t.lcZ(3,15,e.status)),t.xp6(2),t.Q6J("ngSwitchCase","curated"),t.xp6(1),t.Q6J("ngSwitchCase","new"),t.xp6(1),t.Q6J("ngSwitchCase","rejected"),t.xp6(2),t.Q6J("ngIf",e.source),t.xp6(1),t.Q6J("nzTooltipTitle",c.isScrolling?"":e.initialComment),t.xp6(1),t.Q6J("nzTwotoneColor",t.lcZ(11,17,"Comment")),t.xp6(3),t.Q6J("ngIf",e.user),t.xp6(2),t.Q6J("ngIf",e.source),t.xp6(2),t.Q6J("ngIf",e.source),t.xp6(2),t.Q6J("ngIf",e.molecularProfile),t.xp6(2),t.Q6J("ngIf",e.disease),t.xp6(2),t.hij(" ",t.lcZ(24,19,e.createdAt)," "),t.xp6(3),t.Q6J("ngIf",c.isSignedIn),t.xp6(1),t.Q6J("ngIf",!c.isSignedIn)}}const Ft=function(){return[]},Lt=function(){return{x:"680px",y:"800px"}},Bt=function(){return["descend","ascend",null]};function Rt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-table",10,11),t.NdJ("cvcTableScrollOnScroll",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.scrollEvent$.next(r))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",12),t.NdJ("nzSortOrderChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.sortChange$.next(r))}),t.TgZ(7,"tr",13)(8,"th",14),t._uU(9," Status "),t.qZA(),t.TgZ(10,"th",15),t._uU(11," Citation "),t.qZA(),t.TgZ(12,"th",16),t._UZ(13,"i",17),t.ALo(14,"entityColor"),t.qZA(),t.TgZ(15,"th",18),t._uU(16," Submitter "),t.qZA(),t.TgZ(17,"th",19),t._uU(18," Type "),t.qZA(),t.TgZ(19,"th",19),t._uU(20," ID "),t.qZA(),t.TgZ(21,"th",20),t._uU(22,"Molecular Profile"),t.qZA(),t.TgZ(23,"th",18),t._uU(24," Disease "),t.qZA(),t.TgZ(25,"th",21),t._uU(26," Submitted "),t.qZA(),t.TgZ(27,"th",22),t._uU(28," Actions "),t.qZA()(),t.TgZ(29,"tr",23)(30,"th",24)(31,"nz-select",25),t.NdJ("ngModelChange",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.filterChange$.next())})("ngModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.statusInput=r)}),t._UZ(32,"nz-option",26)(33,"nz-option",27)(34,"nz-option",28),t.qZA()(),t.TgZ(35,"th",24)(36,"cvc-clearable-input-filter",29),t.NdJ("inputModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.citationInput=r)})("inputModelChange",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.filterChange$.next())}),t.qZA()(),t._UZ(37,"th"),t.TgZ(38,"th"),t.YNc(39,Mt,1,1,"cvc-clearable-input-filter",30),t.qZA(),t.TgZ(40,"th")(41,"nz-select",31),t.NdJ("ngModelChange",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.filterChange$.next())})("ngModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.sourceTypeInput=r)}),t._UZ(42,"nz-option",32)(43,"nz-option",33),t.qZA()(),t.TgZ(44,"th")(45,"cvc-clearable-input-filter",34),t.NdJ("inputModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.citationIdInput=r)})("inputModelChange",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.filterChange$.next())}),t.qZA()(),t.TgZ(46,"th")(47,"cvc-clearable-input-filter",35),t.NdJ("inputModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.molecularProfileNameInput=r)})("inputModelChange",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.filterChange$.next())}),t.qZA()(),t.TgZ(48,"th")(49,"cvc-clearable-input-filter",36),t.NdJ("inputModelChange",function(r){t.CHM(e);const s=t.oxw();return t.KtG(s.diseaseNameInput=r)})("inputModelChange",function(){t.CHM(e);const r=t.oxw();return t.KtG(r.filterChange$.next())}),t.qZA()(),t._UZ(50,"th")(51,"th",37),t.qZA()(),t.TgZ(52,"tbody"),t.YNc(53,$t,28,21,"ng-template",38),t.qZA()()}if(2&o){const e=t.oxw();t.Q6J("nzData",t.lcZ(2,33,e.row$)||t.DdM(43,Ft))("nzLoading",!t.lcZ(3,35,e.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",e.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,37,e.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,39,e.scrollIndex$))("nzVirtualForTrackBy",e.trackByIndex)("nzScroll",t.DdM(44,Lt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(10),t.Q6J("nzColumnKey",e.sortColumns.Citation)("nzSortFn",!0),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(14,41,"Comment")),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.Submitter)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.SourceType)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.CitationId)("nzSortFn",!0),t.xp6(4),t.Q6J("nzColumnKey",e.sortColumns.DiseaseName)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.CreatedAt)("nzSortDirections",t.DdM(45,Bt))("nzSortFn",!0),t.xp6(6),t.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",e.statusInput),t.xp6(5),t.Q6J("inputModel",e.citationInput),t.xp6(3),t.Q6J("ngIf",!e.submitterId),t.xp6(2),t.Q6J("ngModel",e.sourceTypeInput),t.xp6(4),t.Q6J("inputModel",e.citationIdInput),t.xp6(2),t.Q6J("inputModel",e.molecularProfileNameInput),t.xp6(2),t.Q6J("inputModel",e.diseaseNameInput)}}function Kt(o,a){if(1&o&&t._UZ(0,"cvc-update-source-suggestion-form",65),2&o){const e=t.oxw(2);t.Q6J("currentStatus",e.selectedStatus)("sourceSuggestionId",e.selectedSourceId)}}function Wt(o,a){if(1&o&&t.YNc(0,Kt,1,2,"cvc-update-source-suggestion-form",64),2&o){const e=t.oxw();t.Q6J("ngIf",e.selectedSourceId&&e.selectedStatus)}}function Yt(o,a){}function Vt(o,a){if(1&o&&(t.ynx(0),t.YNc(1,Yt,0,0,"ng-template",7),t.BQk()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function wt(o,a){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.cvcTitle," ")}}function Ht(o,a){if(1&o&&(t._UZ(0,"i",66),t.ALo(1,"entityColor"),t.YNc(2,Vt,2,1,"ng-container",46),t.YNc(3,wt,2,1,"ng-container",46),t.TgZ(4,"span",67),t._UZ(5,"cvc-table-counts",68),t.qZA()),2&o){const e=t.oxw();t.Q6J("nzTwotoneColor",t.lcZ(1,4,"Source")),t.xp6(2),t.Q6J("ngIf",e.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",e.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",e.connection$)}}function jt(o,a){1&o&&(t.TgZ(0,"nz-tag",71),t._UZ(1,"i",72),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Gt(o,a){if(1&o&&(t.YNc(0,jt,4,0,"nz-tag",69),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",70),t.ALo(3,"ngrxPush")),2&o){const e=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,e.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,e.noMoreRows$))}}let G=((Q=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,e,c){this.gql=a,this.viewerService=e,this.cdr=c,this.initialPageSize=35,this.isScrolling=!1,this.statusInput=d.F3s.New,this.sortColumns=d.jw9,this.status=d.F3s,this.showManageForm=!1,this.noMoreRows$=new T.X(!1),this.scrollEvent$=new T.X("stop"),this.sortChange$=new p.x,this.filterChange$=new p.x,this.scrollIndex$=new p.x,this.viewerService.viewer$.pipe((0,S.U)(r=>r.signedIn),(0,i.t)(this)).subscribe(r=>this.isSignedIn=r)}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,sourceId:this.sourceId,submitterId:this.submitterId,status:this.status.New,sortBy:{column:this.sortColumns.CreatedAt,direction:d.SrV.Desc}}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,m.j)("loading"),(0,v.x)(),(0,h.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,m.j)("loading"),(0,v.x)(),(0,M.T)(2)),this.connection$=this.result$.pipe((0,m.j)("data","sourceSuggestions"),(0,u.h)(C.ep)),this.row$=this.connection$.pipe((0,m.j)("edges"),(0,u.h)(C.ep),(0,S.U)(a=>a.map(e=>e.node))),this.pageInfo$=this.connection$.pipe((0,m.j)("pageInfo"),(0,u.h)(C.ep)),this.sortChange$.pipe((0,i.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,z._)(a)})}),this.filterChange$.pipe((0,l.b)(500),(0,i.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,S.U)(a=>"stop"!==a),(0,v.x)(),(0,i.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,u.h)(a=>"bottom"===a),(0,g.M)(this.pageInfo$),(0,S.U)(([a,e])=>e),(0,i.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({citationId:this.citationIdInput?+this.citationIdInput:void 0,sourceType:this.sourceTypeInput?this.sourceTypeInput:void 0,sourceId:this.sourceIdInput?+this.sourceIdInput:void 0,molecularProfileName:this.molecularProfileNameInput,diseaseName:this.diseaseNameInput,comment:this.commentInput,submitter:this.submitterInput,citation:this.citationInput,status:this.statusInput?this.statusInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}setFormInputs(a,e){this.selectedSourceId=a,this.selectedStatus=e,this.showManageForm=!0}closePopover(){this.showManageForm=!1}trackByIndex(a,e){return e?.id}}).\u0275fac=function(a){return new(a||Q)(t.Y36(d.WRV),t.Y36(y.a),t.Y36(t.sBO))},Q.\u0275cmp=t.Xpm({type:Q,selectors:[["cvc-source-suggestions-table"]],inputs:{cvcHeight:"cvcHeight",sourceId:"sourceId",submitterId:"submitterId",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:11,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["manageSuggestionTemplate",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","100px","nzLeft",""],["nzWidth","425px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","24px","nzAlign","center","nz-tooltip","","nzTooltipTitle","Submitter Comment"],["nz-icon","","nzTheme","twotone","nzType","civic-comment",3,"nzTwotoneColor"],["nzWidth","200px",3,"nzColumnKey","nzSortFn"],["nzWidth","80px",3,"nzColumnKey","nzSortFn"],["nzWidth","290px"],["nzWidth","90px","nzSortOrder","descend",3,"nzColumnKey","nzSortDirections","nzSortFn"],["nzWidth","70px","nzRight","","nzAlign","center"],[1,"filter-row"],["nzLeft",""],["nzAllowClear","","nzSize","small","nzPlaceHolder","Any",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","NEW","nzLabel","new"],["nzValue","CURATED","nzLabel","curated"],["nzValue","REJECTED","nzLabel","rejected"],[3,"inputModel","inputModelChange"],[3,"inputModel","inputModelChange",4,"ngIf"],["nzAllowClear","","nzSize","small","nzPlaceHolder","Any",3,"ngModel","ngModelChange"],["nzValue","PUBMED","nzLabel","PubMed"],["nzValue","ASCO","nzLabel","ASCO"],["placeholderText","ID",3,"inputModel","inputModelChange"],["placeholderText","Molecular Profile",3,"inputModel","inputModelChange"],["placeholderText","Disease",3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],["nzLeft","","nzAlign","center"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"source",4,"ngIf"],["nzAlign","center","nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],[3,"user",4,"ngIf"],[4,"ngIf"],[3,"molecularProfile",4,"ngIf"],[3,"disease","truncateLongName",4,"ngIf"],["nzAlign","right"],["nzRight","","nzAlign","center",1,"button-cell"],["nzColor","green",1,"status-tag"],["nzColor","orange",1,"status-tag"],["nzColor","volcano",1,"status-tag"],["nz-icon","","nz-tooltip","","nzType","civic-comment",3,"nzTooltipTitle",4,"ngIf"],["nz-icon","","nz-tooltip","","nzType","civic-comment",3,"nzTooltipTitle"],[3,"source"],[3,"user"],[3,"molecularProfile"],[3,"disease","truncateLongName"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small","nz-tooltip","",3,"queryParams","disabled","nzTooltipTitle","nzTooltipMouseEnterDelay"],["nz-icon","","nzType","civic-evidence"],["nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Manage Source Suggestion","nzPopoverPlacement","left","nzPopoverTrigger","click","nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle","nzTooltipMouseEnterDelay","nzPopoverContent","click"],["nz-icon","","nzType","civic-source"],[3,"currentStatus","sourceSuggestionId",4,"ngIf"],[3,"currentStatus","sourceSuggestionId"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,e){if(1&a&&(t.YNc(0,ht,3,3,"ng-container",0),t.YNc(1,xt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Rt,54,46,"ng-template",null,2,t.W1O),t.YNc(5,Wt,1,1,"ng-template",null,3,t.W1O),t.YNc(7,Ht,6,6,"ng-template",null,4,t.W1O),t.YNc(9,Gt,4,6,"ng-template",null,5,t.W1O)),2&a){const c=t.MAs(2);t.Q6J("ngIf",!e.cvcHeight)("ngIfElse",c)}},dependencies:[I.O5,I.tP,I.PC,I.RF,I.n9,Z.JJ,Z.On,L.rH,E.ix,E.fY,N.w,D.dQ,$.bd,B.Ls,F.lU,U.Ip,U.Vq,P.N8,P.qD,P.Uo,P._C,P.Om,P.p0,P.$Z,P.zu,P.qn,P.UX,J.j,R.SY,K.y,W.B,Y.H,V.D,w.q,H.p,j.n,x.T,mt,_t.I,vt.p,I.i8,I.uU,Ct.fM,zt.a],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}.status-tag[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),Q);G=(0,_.gn)([(0,i.c)()],G)},5843:(A,f,n)=>{n.d(f,{W:()=>j});var _=n(6814),z=n(6223),d=n(4190),i=n(3396),T=n(8527),p=n(7856),C=n(9154),S=n(2989),v=n(8641),h=n(3235),M=n(2524),u=n(9175),l=n(4742),g=n(9312),m=n(3394),t=n(5545),y=n(2962),I=n(3599),Z=n(6294),L=n(845),E=n(2840),N=n(9382),D=n(2669),$=n(3903),B=n(824),F=n(9691),U=n(3378),P=n(2574),J=n(5879);let R=(()=>{class x{}return x.\u0275fac=function(b){return new(b||x)},x.\u0275mod=J.oAB({type:x}),x.\u0275inj=J.cJS({imports:[_.ez,z.UX,E.sL,y.vh,N.we,I.U5,D.j,$.L,B.o7,F.LV,P.zf,z.u5,t.X0,m.B,Z.A,L.R,U.w]}),x})();var K=n(551),W=n(7417),Y=n(3740),V=n(5695),w=n(6109),H=n(2392);let j=(()=>{class x{}return x.\u0275fac=function(b){return new(b||x)},x.\u0275mod=J.oAB({type:x}),x.\u0275inj=J.cJS({imports:[_.ez,z.u5,d.Bz,E.sL,y.vh,K.PV,W.$6,F.LV,Y.HQ,V.X,w.cg,H.ZJ,g.w,S.T,C.y,u.n,l.c,p.k,i.Q,m.B,M.s,v.s,R,h.W,T.u]}),x})()},3641:(A,f,n)=>{n.d(f,{G:()=>m});var _=n(6814),z=n(4190),d=n(7417),i=n(5695),T=n(551),p=n(366),C=n(8641),S=n(7528),v=n(2524),h=n(2962),M=n(8125),u=n(5879);let l=(()=>{class t{}return t.\u0275fac=function(I){return new(I||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[_.ez,h.vh,M.q6,T.PV,C.s,S.Q,p.$,v.s]}),t})();var g=n(3146);let m=(()=>{class t{}return t.\u0275fac=function(I){return new(I||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[_.ez,z.Bz,d.$6,i.X,T.PV,l,v.s,g.C]}),t})()},3717:(A,f,n)=>{n.d(f,{M:()=>u});var _=n(6814),z=n(4190),d=n(5695),i=n(2962),T=n(6067),p=n(8125),C=n(551),S=n(2524),v=n(5879);let h=(()=>{class l{}return l.\u0275fac=function(m){return new(m||l)},l.\u0275mod=v.oAB({type:l}),l.\u0275inj=v.cJS({imports:[_.ez,C.PV,i.vh,p.q6,S.s,T.X]}),l})();var M=n(7417);let u=(()=>{class l{}return l.\u0275fac=function(m){return new(m||l)},l.\u0275mod=v.oAB({type:l}),l.\u0275inj=v.cJS({imports:[_.ez,z.Bz,C.PV,d.X,M.$6,h]}),l})()},4010:(A,f,n)=>{n.d(f,{F:()=>d});var z=n(5879);let d=(()=>{class i{transform(p,C="display-string"){return void 0===p?"":"display-string"===C?function _(i){switch(i){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return i}}(p):`civic-${p.replace(/_/g,"").toLowerCase()}`}}return i.\u0275fac=function(p){return new(p||i)},i.\u0275pipe=z.Yjl({name:"therapyInteractionEnumDisplay",type:i,pure:!0}),i})()}}]); \ No newline at end of file diff --git a/server/public/5802.d37c1bd0f3048939.js b/server/public/5802.d37c1bd0f3048939.js new file mode 100644 index 000000000..223e8bec3 --- /dev/null +++ b/server/public/5802.d37c1bd0f3048939.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5802],{1218:(b,T,n)=>{n.d(T,{i:()=>z});var s=n(6814),h=n(4190),_=n(5695),i=n(7417),t=n(551),d=n(1855),g=n(2524),C=n(3640),v=n(3146),f=n(5879);let z=(()=>{class m{}return m.\u0275fac=function(c){return new(c||m)},m.\u0275mod=f.oAB({type:m}),m.\u0275inj=f.cJS({imports:[s.ez,h.Bz,C.mS,_.X,i.$6,t.PV,d.f,g.s,v.C]}),m})()},1106:(b,T,n)=>{n.d(T,{L:()=>l});var s=n(6814),h=n(4190),_=n(5695),i=n(551),t=n(95),d=n(6067),g=n(8125),C=n(2962),v=n(1022),f=n(5879);let z=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({imports:[s.ez,C.vh,t.Jb,g.q6,d.X,v.H]}),c})();var m=n(7417);let l=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({imports:[s.ez,h.Bz,_.X,i.PV,m.$6,z]}),c})()},7950:(b,T,n)=>{n.d(T,{x:()=>m});var s=n(6814),h=n(366),_=n(5695),i=n(7417),t=n(3396),d=n(1106),g=n(5956),C=n(7528),v=n(6061),f=n(3717),z=n(5879);let m=(()=>{class l{}return l.\u0275fac=function(M){return new(M||l)},l.\u0275mod=z.oAB({type:l}),l.\u0275inj=z.cJS({imports:[s.ez,_.X,i.$6,h.$,v.N,t.Q,d.L,g.U,C.Q,f.M]}),l})()},3717:(b,T,n)=>{n.d(T,{M:()=>m});var s=n(6814),h=n(4190),_=n(5695),i=n(2962),t=n(6067),d=n(8125),g=n(551),C=n(2524),v=n(5879);let f=(()=>{class l{}return l.\u0275fac=function(M){return new(M||l)},l.\u0275mod=v.oAB({type:l}),l.\u0275inj=v.cJS({imports:[s.ez,g.PV,i.vh,d.q6,C.s,t.X]}),l})();var z=n(7417);let m=(()=>{class l{}return l.\u0275fac=function(M){return new(M||l)},l.\u0275mod=v.oAB({type:l}),l.\u0275inj=v.cJS({imports:[s.ez,h.Bz,g.PV,_.X,z.$6,f]}),l})()},4010:(b,T,n)=>{n.d(T,{F:()=>_});var h=n(5879);let _=(()=>{class i{transform(d,g="display-string"){return void 0===d?"":"display-string"===g?function s(i){switch(i){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return i}}(d):`civic-${d.replace(/_/g,"").toLowerCase()}`}}return i.\u0275fac=function(d){return new(d||i)},i.\u0275pipe=h.Yjl({name:"therapyInteractionEnumDisplay",type:i,pure:!0}),i})()},6738:(b,T,n)=>{n.r(T),n.d(T,{ClinicalTrialsModule:()=>Kt});var s=n(6814),h=n(4190),_=n(7921),i=n(4223),t=n(5879),d=n(313),g=n(6254),C=n(551),v=n(3317),f=n(3145),z=n(8091),m=n(2616);function l(e,o){if(1&e&&(t.TgZ(0,"cvc-link-tag",5),t._uU(1),t.qZA()),2&e){const a=t.oxw().ngIf;t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.nctId," ")}}function c(e,o){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),t._UZ(4,"i",3),t.ALo(5,"entityColor"),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-extra"),t.YNc(8,l,2,2,"cvc-link-tag",4),t.qZA(),t.TgZ(9,"nz-page-header-content"),t._UZ(10,"router-outlet"),t.qZA()(),t.BQk()),2&e){const a=o.ngIf;t.xp6(1),t.Q6J("displayName",a.nctId),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(5,4,"ClinicalTrial")),t.xp6(2),t.hij(" ",a.nctId," "),t.xp6(2),t.Q6J("ngIf",a.url)}}let M=(()=>{class e{constructor(a,r){this.route=a,this.gql=r,this.routeSub=this.route.params.subscribe(p=>{this.clinicalTrialId=+p.clinicalTrialId,this.queryRef=this.gql.watch({clinicalTrialId:this.clinicalTrialId});let u=this.queryRef.valueChanges;this.loading$=u.pipe((0,i.j)("loading"),(0,_.O)(!0)),this.clinicalTrial$=u.pipe((0,i.j)("data","clinicalTrial"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(a){return new(a||e)(t.Y36(h.gz),t.Y36(d.cMj))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-clinical-trials-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"],["tooltip","View on clinicaltrials.gov",3,"href",4,"ngIf"],["tooltip","View on clinicaltrials.gov",3,"href"]],template:function(a,r){1&a&&(t.YNc(0,c,11,6,"ng-container",0),t.ALo(1,"ngrxPush")),2&a&&t.Q6J("ngIf",t.lcZ(1,1,r.clinicalTrial$))},dependencies:[s.O5,h.lC,g.$O,g.u9,g.u5,g.Jp,C.Ls,v.l,f.I,z.fM,m.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var O,y=n(95),E=n(2840),Q=n(855),A=n(2392),Z=n(2574),W=n(655),H=n(4632),I=n(1791),R=n(5619),D=n(8645),S=n(5676),U=n(3997),Y=n(812),V=n(836),P=n(2181),J=n(7398),X=n(3620),G=n(2460),F=n(2962),x=n(3740),K=n(5695),j=n(6109),q=n(6753),k=n(4764),tt=n(8516),nt=n(3369),et=n(3489),at=n(9857),ot=n(4997);function it(e,o){}function lt(e,o){if(1&e&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,it,0,0,"ng-template",6),t.qZA(),t.BQk()),2&e){t.oxw();const a=t.MAs(6),r=t.MAs(8),p=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",a)("nzExtra",r),t.xp6(1),t.Q6J("ngTemplateOutlet",p)}}function rt(e,o){}const ct=function(e){return{height:e}};function st(e,o){if(1&e&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,rt,0,0,"ng-template",6),t.qZA()()),2&e){const a=t.oxw(),r=t.MAs(6),p=t.MAs(8),u=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,ct,a.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",r)("nzExtra",p),t.xp6(1),t.Q6J("ngTemplateOutlet",u)}}function gt(e,o){if(1&e&&(t.TgZ(0,"tr",24)(1,"td",20),t._UZ(2,"cvc-clinical-trial-tag",25),t.qZA(),t.TgZ(3,"td",26),t._uU(4),t.qZA(),t.TgZ(5,"td",27),t._uU(6),t.qZA(),t.TgZ(7,"td",27),t._uU(8),t.qZA()()),2&e){const a=o.$implicit,r=t.oxw(2);t.xp6(2),t.Q6J("clinicalTrial",a),t.xp6(1),t.Q6J("nzTooltipTitle",r.isScrolling?"":a.name),t.xp6(1),t.hij(" ",a.name," "),t.xp6(2),t.hij(" ",a.sourceCount," "),t.xp6(2),t.hij(" ",a.evidenceCount," ")}}const pt=function(){return[]},dt=function(){return{x:"680px",y:"800px"}},N=function(){return["descend","ascend",null]};function ht(e,o){if(1&e){const a=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(p){t.CHM(a);const u=t.oxw();return t.KtG(u.scrollEvent$.next(p))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(p){t.CHM(a);const u=t.oxw();return t.KtG(u.sortChange$.next(p))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," NCT ID "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Name "),t.qZA(),t.TgZ(12,"th",15),t._UZ(13,"i",16),t._uU(14," Count "),t.qZA(),t.TgZ(15,"th",17),t._UZ(16,"i",18),t._uU(17," Count "),t.qZA()(),t.TgZ(18,"tr",19)(19,"th",20)(20,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(p){t.CHM(a);const u=t.oxw();return t.KtG(u.nctIdFilter=p)})("inputModelChange",function(){t.CHM(a);const p=t.oxw();return t.KtG(p.filterChange$.next())}),t.qZA()(),t.TgZ(21,"th")(22,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(p){t.CHM(a);const u=t.oxw();return t.KtG(u.nameFilter=p)})("inputModelChange",function(){t.CHM(a);const p=t.oxw();return t.KtG(p.filterChange$.next())}),t.qZA()(),t._UZ(23,"th",22)(24,"th",22),t.qZA()(),t.TgZ(25,"tbody"),t.YNc(26,gt,9,5,"ng-template",23),t.qZA()()}if(2&e){const a=t.oxw();t.Q6J("nzData",t.lcZ(2,23,a.row$)||t.DdM(31,pt))("nzLoading",!t.lcZ(3,25,a.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",a.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,27,a.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,29,a.scrollIndex$))("nzVirtualForTrackBy",a.trackByIndex)("nzScroll",t.DdM(32,dt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",a.sortColumns.NctId)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.SourceCount)("nzSortFn",!0)("nzSortDirections",t.DdM(33,N)),t.xp6(3),t.Q6J("nzColumnKey",a.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(34,N)),t.xp6(5),t.Q6J("inputModel",a.nctIdFilter),t.xp6(2),t.Q6J("inputModel",a.nameFilter)}}function mt(e,o){}function ut(e,o){if(1&e&&(t.ynx(0),t.YNc(1,mt,0,0,"ng-template",6),t.BQk()),2&e){const a=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function Ct(e,o){if(1&e&&(t.ynx(0),t._uU(1),t.BQk()),2&e){const a=t.oxw(2);t.xp6(1),t.hij(" ",a.cvcTitle," ")}}function ft(e,o){if(1&e&&(t.YNc(0,ut,2,1,"ng-container",28),t.YNc(1,Ct,2,1,"ng-container",28),t.TgZ(2,"span",29),t._UZ(3,"cvc-table-counts",30),t.qZA()),2&e){const a=t.oxw();t.Q6J("ngIf",a.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",a.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",a.connection$)}}function Tt(e,o){1&e&&(t.TgZ(0,"nz-tag",33),t._UZ(1,"i",34),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function vt(e,o){if(1&e&&(t.YNc(0,Tt,4,0,"nz-tag",31),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",32),t.ALo(3,"ngrxPush")),2&e){const a=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,a.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,a.noMoreRows$))}}let B=((O=class{set initialUserFilters(o){o&&Object.assign(this,o)}constructor(o,a){this.gql=o,this.cdr=a,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=d.E8d,this.noMoreRows$=new R.X(!1),this.scrollEvent$=new R.X("stop"),this.sortChange$=new D.x,this.filterChange$=new D.x,this.scrollIndex$=new D.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,i.j)("loading"),(0,U.x)(),(0,Y.o)(o=>!1!==o,!0)),this.moreLoading$=this.result$.pipe((0,i.j)("loading"),(0,U.x)(),(0,V.T)(2)),this.connection$=this.result$.pipe((0,i.j)("data","clinicalTrials"),(0,P.h)(S.ep)),this.row$=this.connection$.pipe((0,i.j)("edges"),(0,P.h)(S.ep),(0,J.U)(o=>o.map(a=>a.node))),this.pageInfo$=this.connection$.pipe((0,i.j)("pageInfo"),(0,P.h)(S.ep)),this.sortChange$.pipe((0,I.t)(this)).subscribe(o=>{this.queryRef.refetch({sortBy:(0,H._)(o)})}),this.filterChange$.pipe((0,X.b)(500),(0,I.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,J.U)(o=>"stop"!==o),(0,U.x)(),(0,I.t)(this)).subscribe(o=>{this.isScrolling=o,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,P.h)(o=>"bottom"===o),(0,G.M)(this.pageInfo$),(0,J.U)(([o,a])=>a),(0,I.t)(this)).subscribe(o=>{o.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameFilter,nctId:this.nctIdFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(o,a){return a?.id}}).\u0275fac=function(o){return new(o||O)(t.Y36(d.P_b),t.Y36(t.sBO))},O.\u0275cmp=t.Xpm({type:O,selectors:[["cvc-clinical-trials-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","600px",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Source Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-source"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"clinicalTrial"],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(o,a){if(1&o&&(t.YNc(0,lt,3,3,"ng-container",0),t.YNc(1,st,3,6,"ng-template",null,1,t.W1O),t.YNc(3,ht,27,35,"ng-template",null,2,t.W1O),t.YNc(5,ft,4,3,"ng-template",null,3,t.W1O),t.YNc(7,vt,4,6,"ng-template",null,4,t.W1O)),2&o){const r=t.MAs(2);t.Q6J("ngIf",!a.cvcHeight)("ngIfElse",r)}},dependencies:[s.O5,s.tP,s.PC,Q.w,F.bd,C.Ls,x.N8,x.qD,x.Uo,x._C,x.Om,x.p0,x.$Z,x.zu,x.qn,x.UX,K.j,j.SY,q.D,k.q,tt.p,nt.G,et.H,at.B,ot.y,z.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),O);function zt(e,o){1&e&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t._uU(2," View Clinical Trial Docs "),t.qZA())}B=(0,W.gn)([(0,I.c)()],B);let _t=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["clinical-trials-home"]],decls:19,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/clinical_trial.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Clinical Trials"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/clinical_trial.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"]],template:function(a,r){1&a&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Clinical Trials"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," CIViC automatically associates a Clinical Trial to an Evidence Item if its associated Source's PubMed record provides a clinical trial ID. This ID is not directly curatable. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,zt,3,0,"a",8),t.qZA()()(),t.TgZ(15,"div",9)(16,"div",10)(17,"div",11),t._UZ(18,"cvc-clinical-trials-table",12),t.qZA()()()()()),2&a&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"ClinicalTrial")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(6),t.Q6J("nzSpan",24))},dependencies:[y.t3,y.SK,g.$O,g.u5,C.Ls,E.ix,Q.w,A.ZU,Z.NU,Z.$1,B,f.I,m.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var $=n(8125),Mt=n(6822),xt=n(6473);const yt=function(){return[8,16]};function Pt(e,o){if(1&e&&(t.ynx(0),t.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-descriptions",3)(4,"nz-descriptions-item",4),t._uU(5),t.qZA()()(),t.TgZ(6,"nz-col",2),t._UZ(7,"cvc-sources-table",5),t.qZA(),t.TgZ(8,"nz-col",2),t._UZ(9,"cvc-evidence-table",6),t.qZA()(),t.BQk()),2&e){const a=o.ngIf,r=t.oxw();t.xp6(1),t.Q6J("nzGutter",t.DdM(11,yt)),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("nzBordered",!0),t.xp6(2),t.hij(" ",a.description," "),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.MGl("cvcTitle","",a.nctId," Sources"),t.Q6J("clinicalTrialId",r.clinicalTrialId)("cvcHeight",400),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.MGl("cvcTitle","",a.nctId," Evidence"),t.Q6J("clinicalTrialId",r.clinicalTrialId)}}const Ot=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-clinical-trials"]],decls:1,vars:0,template:function(a,r){1&a&&t._UZ(0,"router-outlet")},dependencies:[h.lC],encapsulation:2}),e})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:_t,data:{breadcrumb:"Home"}},{path:":clinicalTrialId",component:M,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class e{constructor(a,r){this.route=a,this.gql=r,this.routeSub=this.route.params.subscribe(p=>{this.clinicalTrialId=+p.clinicalTrialId,this.queryRef=this.gql.watch({clinicalTrialId:this.clinicalTrialId});let u=this.queryRef.valueChanges;this.loading$=u.pipe((0,i.j)("loading"),(0,P.h)(S.ep)),this.clinicalTrial$=u.pipe((0,i.j)("data","clinicalTrial"),(0,P.h)(S.ep))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(a){return new(a||e)(t.Y36(h.gz),t.Y36(d.z8D))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-clinical-trials-summary"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],["nzLayout","vertical","nzSize","small",3,"nzBordered"],["nzTitle","Description"],[3,"clinicalTrialId","cvcTitle","cvcHeight"],[3,"clinicalTrialId","cvcTitle"]],template:function(a,r){1&a&&(t.YNc(0,Pt,10,12,"ng-container",0),t.ALo(1,"ngrxPush")),2&a&&t.Q6J("ngIf",t.lcZ(1,1,r.clinicalTrial$))},dependencies:[s.O5,$.R7,$.uj,y.t3,y.SK,Mt.a,xt.d,z.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}"],changeDetection:0}),e})(),data:{breadcrumb:"Summary"}}]}]}];let bt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[h.Bz.forChild(Ot),h.Bz]}),e})();var It=n(7856),St=n(9154),Et=n(2989),L=n(2524),At=n(9175),Zt=n(4742),Dt=n(9312),Ut=n(4605);let Jt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.ez,E.sL,F.vh,C.PV,x.HQ,K.X,j.cg,A.ZJ,L.s,At.n,Zt.c,It.k,Ut.N,St.y,Et.T,Dt.w]}),e})();var w=n(2419);let Bt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.ez,y.Jb,g.KJ,C.PV,E.sL,A.ZJ,Z.zf,Jt,w.D,L.s]}),e})();var $t=n(6067);let Lt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.ez,h.Bz,g.KJ,C.PV,$t.X,w.D,L.s]}),e})();var Qt=n(1403),Rt=n(6078);let Ft=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.ez,$.q6,y.Jb,Qt.Q,Rt.h]}),e})(),Kt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.ez,bt,Bt,Lt,Ft]}),e})()}}]); \ No newline at end of file diff --git a/server/public/5978.4c1bb8341b1baecd.js b/server/public/5978.4c1bb8341b1baecd.js new file mode 100644 index 000000000..f16183b88 --- /dev/null +++ b/server/public/5978.4c1bb8341b1baecd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5978],{5978:(D,c,a)=>{a.r(c),a.d(c,{VariantsModule:()=>Q});var r=a(6814),i=a(4190),t=a(5879);let f=(()=>{class n{constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-variants"]],decls:1,vars:0,template:function(e,R){1&e&&t._UZ(0,"router-outlet")},dependencies:[i.lC],encapsulation:2}),n})();var g=a(2419),s=a(6254),d=a(95),p=a(551),v=a(6506),u=a(5956),h=a(2392),m=a(2840),l=a(2574),x=a(9333),z=a(7417),P=a(9191),V=a(2524);let y=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,i.Bz,s.KJ,d.Jb,p.PV,h.ZJ,m.sL,l.zf,z.$6,V.s,g.D,u.U,v.H,x.h,g.D,P.e]}),n})();var M=a(951),C=a(8091),T=a(855),Z=a(1958),O=a(3145),b=a(806),A=a(4398),S=a(2616);function H(n,o){1&n&&(t.TgZ(0,"div",20),t._UZ(1,"cvc-variant-submit-form"),t.qZA())}function U(n,o){if(1&n&&(t.TgZ(0,"button",17),t._UZ(1,"i",18),t._uU(2," Submit New Variant "),t.YNc(3,H,2,0,"ng-template",null,19,t.W1O),t.qZA()),2&n){const e=t.MAs(4);t.Q6J("nzPopoverContent",e)}}function J(n,o){if(1&n&&(t.ynx(0),t.YNc(1,U,5,1,"button",16),t.BQk()),2&n){const e=o.ngrxLet;t.xp6(1),t.Q6J("ngIf",e.isEditor)}}function B(n,o){if(1&n&&t.YNc(0,J,2,1,"ng-container",15),2&n){const e=t.oxw();t.Q6J("ngrxLet",e.viewer$)}}function N(n,o){1&n&&(t.TgZ(0,"a",21),t._UZ(1,"i",22),t._uU(2," View Variant Model Docs "),t.qZA())}function F(n,o){1&n&&(t.TgZ(0,"a",23),t._UZ(1,"i",22),t._uU(2," View Variant Curation Docs "),t.qZA())}const I=[{path:"",component:f,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class n{constructor(e){this.viewerService=e,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(M.a))},n.\u0275cmp=t.Xpm({type:n,selectors:[["variants-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["variantActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variants"],[4,"ngrxLet"],["routerLink","/variants/add/submit","nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Add New Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent",4,"ngIf"],["routerLink","/variants/add/submit","nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Add New Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent"],["nz-icon","","nzType","plus-circle"],["addVariantForm",""],[1,"addVariant"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock",""]],template:function(e,R){if(1&e&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,B,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Variants"),t.qZA(),t.TgZ(12,"p",7),t._uU(13,' CIViC variants are usually genomic alterations, including single nucleotide variants, insertion/deletion events, copy number alterations, structural variants, and other events that differ from the "normal" genome. '),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,N,3,0,"a",10),t.YNc(17,F,3,0,"a",11),t.qZA()()(),t.TgZ(18,"nz-row")(19,"nz-col",12)(20,"div",13),t._UZ(21,"cvc-variants-table",14),t.qZA()()()()()),2&e){const Y=t.MAs(2);t.Q6J("actionsTpl",Y),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"Variant")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24)}},dependencies:[r.O5,i.rH,C.eJ,s.$O,s.u5,d.t3,d.SK,p.Ls,h.ZU,m.ix,T.w,Z.dQ,l.NU,l.$1,z.lU,O.I,b.S,A.G,S.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}:[_nghost-%COMP%]{position:relative}.addVariant[_ngcontent-%COMP%]{width:500px}"]}),n})(),data:{breadcrumb:"Home"}},{path:":variantId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([a.e(4872),a.e(5556),a.e(2602),a.e(3270),a.e(7856),a.e(8245),a.e(4503),a.e(8104),a.e(8421),a.e(3407),a.e(5077)]).then(a.bind(a,1485)).then(n=>n.VariantsDetailModule)},{path:"revise",loadChildren:()=>Promise.all([a.e(8592),a.e(3505)]).then(a.bind(a,9846)).then(n=>n.VariantsReviseModule),data:{breadcrumb:"Revise"}}]}]}];let L=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[i.Bz.forChild(I),y,i.Bz]}),n})(),Q=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[r.ez,L]}),n})()}}]); \ No newline at end of file diff --git a/server/public/6343.f14f0d0764b0efdd.js b/server/public/6343.f14f0d0764b0efdd.js deleted file mode 100644 index 2450fad00..000000000 --- a/server/public/6343.f14f0d0764b0efdd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6343],{8762:(V,u,a)=>{a.d(u,{c:()=>s});var o=a(6895),p=a(3513),e=a(3679),L=a(9116),g=a(1102),h=a(2635),f=a(48),c=a(4650);class s{}s.\u0275fac=function(m){return new(m||s)},s.\u0275mod=c.oAB({type:s}),s.\u0275inj=c.cJS({imports:[o.ez,L.Bz,p.we,e.Jb,g.PV,f.mS,h._N,h.pP]})},2907:(V,u,a)=>{a.d(u,{J:()=>p,i:()=>o});const o={molecularProfileId:void 0,acmgCodeIds:[],ampLevel:void 0,assertionDirection:void 0,assertionType:void 0,clingenCodeIds:[],significance:void 0,description:void 0,diseaseId:void 0,therapyIds:[],therapyInteractionType:void 0,evidenceItemIds:[],fdaCompanionTest:void 0,fdaRegulatoryApproval:void 0,nccnGuidelineId:void 0,nccnGuidelineVersion:void 0,phenotypeIds:[],summary:void 0,variantOrigin:void 0},p={clientMutationId:void 0,fields:o,comment:void 0,organizationId:void 0}},7726:(V,u,a)=>{a.d(u,{_:()=>h});var o=a(7630),p=a(9933),e=a(1135),L=a(2907),g=a(5451);class h extends g.lG{constructor(){super(g.yQ.ASSERTION);const c=L.i;this.fields={molecularProfileId$:new e.X(c.molecularProfileId),variantMolecularProfile$:new e.X(void 0),geneId$:new e.X(void 0),variantId$:new e.X(void 0),variantOrigin$:new e.X(c.variantOrigin),assertionType$:new e.X(c.assertionType),assertionDirection$:new e.X(c.assertionDirection),evidenceItemIds$:new e.X(c.evidenceItemIds),significance$:new e.X(c.significance),diseaseId$:new e.X(c.diseaseId),therapyIds$:new e.X(c.therapyIds),therapyInteractionType$:new e.X(c.therapyInteractionType),phenotypeIds$:new e.X(c.phenotypeIds),nccnGuidelineId$:new e.X(c.nccnGuidelineId),fdaRegulatoryApproval$:new e.X(c.fdaRegulatoryApproval),fdaCompanionTest$:new e.X(c.fdaCompanionTest),ampLevel$:new e.X(c.ampLevel),acmgCodeIds$:new e.X(c.acmgCodeIds),clingenCodeIds$:new e.X(c.clingenCodeIds),nccnGuidelineVersion$:new e.X(c.nccnGuidelineVersion)},this.enums={entityType$:new e.X(this.getTypeOptions()),significance$:new e.X([]),direction$:new e.X([]),interaction$:new e.X(this.getInteractionOptions())},this.options={assertionTypeOption$:new e.X(this.getOptionsFromEnums(this.getTypeOptions())),directionOption$:new e.X(void 0),significanceOption$:new e.X(void 0)},this.requires={requiresDisease$:new e.X(!1),requiresTherapy$:new e.X(!1),requiresTherapyInteractionType$:new e.X(!1),requiresClingenCodes$:new e.X(!1),requiresAcmgCodes$:new e.X(!1),requiresAmpLevel$:new e.X(!1),allowsFdaApproval$:new e.X(!1)},this.fields.assertionType$.pipe((0,p.t)(this,"onDestroy")).subscribe(s=>{if(!s)return Object.entries(this.requires).forEach(([X,m])=>{m.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(s)),this.enums.direction$.next(this.getDirectionOptions(s)),this.requires.requiresDisease$.next(this.requiresDisease(s)),this.requires.requiresTherapy$.next(this.requiresTherapy(s)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(s)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(s)),this.requires.requiresAmpLevel$.next(this.requiresAmpLevel(s)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(s))}),this.fields.therapyIds$.pipe((0,p.t)(this,"onDestroy")).subscribe(s=>{this.requires.requiresTherapyInteractionType$.next(null!=s&&s.length>1)}),this.validStates.set(o.uBv.Predictive,{entityType:o.uBv.Predictive,significance:[o._3P.Sensitivityresponse,o._3P.Resistance,o._3P.AdverseResponse,o._3P.ReducedSensitivity,o._3P.Na],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!0}),this.validStates.set(o.uBv.Diagnostic,{entityType:o.uBv.Diagnostic,significance:[o._3P.Positive,o._3P.Negative],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Prognostic,{entityType:o.uBv.Prognostic,significance:[o._3P.BetterOutcome,o._3P.PoorOutcome,o._3P.Na],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Predisposing,{entityType:o.uBv.Predisposing,significance:[o._3P.Pathogenic,o._3P.LikelyPathogenic,o._3P.Benign,o._3P.LikelyBenign,o._3P.UncertainSignificance],entityDirection:[o.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!0,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Oncogenic,{entityType:o.uBv.Oncogenic,significance:[o._3P.Oncogenic,o._3P.LikelyOncogenic,o._3P.Benign,o._3P.LikelyBenign,o._3P.UncertainSignificance],entityDirection:[o.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!0,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},8317:(V,u,a)=>{a.r(u),a.d(u,{TestPagesModule:()=>S});var o=a(6895),p=a(9116),e=a(4650),L=a(9878);class g{constructor(){}ngOnInit(){}}g.\u0275fac=function(t){return new(t||g)},g.\u0275cmp=e.Xpm({type:g,selectors:[["cvc-nonstate-form"]],decls:1,vars:1,consts:[[3,"assertionId"]],template:function(t,i){1&t&&e._UZ(0,"cvc-assertion-revise-form",0),2&t&&e.Q6J("assertionId",3)},dependencies:[L.G],encapsulation:2,changeDetection:0});var h=a(65);class f{constructor(){}ngOnInit(){}}f.\u0275fac=function(t){return new(t||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["cvc-assertion-submit-test-page"]],decls:1,vars:0,template:function(t,i){1&t&&e._UZ(0,"cvc-assertion-submit-form")},dependencies:[h.u],encapsulation:2,changeDetection:0});var c=a(9201);class s{constructor(){}ngOnInit(){}}s.\u0275fac=function(t){return new(t||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["cvc-evidence-revise-test-page"]],decls:1,vars:1,consts:[[3,"evidenceId"]],template:function(t,i){1&t&&e._UZ(0,"cvc-evidence-revise-form",0),2&t&&e.Q6J("evidenceId",7606)},dependencies:[c.r],encapsulation:2,changeDetection:0});var X=a(634);class m{constructor(){}ngOnInit(){}}m.\u0275fac=function(t){return new(t||m)},m.\u0275cmp=e.Xpm({type:m,selectors:[["cvc-nonstate-form"]],decls:1,vars:0,template:function(t,i){1&t&&e._UZ(0,"cvc-evidence-submit-form")},dependencies:[X.l],encapsulation:2,changeDetection:0});var d=a(4006);const j={geneId:void 0},H=[{key:"molecularProfileId",type:"molecular-profile-select",props:{}},{key:"molecularProfileIds",type:"molecular-profile-multi-select",props:{}},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"evidenceType",type:"type-select",props:{}},{key:"evidenceTypes",type:"type-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"geneId",type:"gene-select"},{key:"geneIds",type:"gene-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"variantId",type:"variant-select",props:{requireGene:!1}},{key:"variantIds",type:"variant-multi-select",props:{requireGene:!1}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"sourceId",type:"source-select",props:{}},{key:"sourceIds",type:"source-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"diseaseId",type:"disease-select",props:{}},{key:"diseaseIds",type:"disease-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"drugId",type:"therapy-select",props:{}},{key:"drugIds",type:"therapy-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"evidenceLevel",type:"level-select",props:{}},{key:"evidenceLevel",type:"level-multi-select",props:{}}]},{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"variantOrigin",type:"origin-select",props:{}},{key:"variantOrigins",type:"origin-multi-select",props:{}}]}];var K=a(6212),Y=a(6704);class E{constructor(){this.form=new d.nJ({}),this.model=j,this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.fields=[{key:"fields",wrappers:["form-card"],props:{title:"Horizontal Field Layout, No State"},fieldGroup:H}]}ngOnInit(){}}E.\u0275fac=function(t){return new(t||E)},E.\u0275cmp=e.Xpm({type:E,selectors:[["cvc-horizontal-form"]],decls:2,vars:6,consts:[["nz-form","",3,"nzLayout","formGroup"],[2,"width","100%",3,"form","fields","model","options","modelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(l){return i.model=l}),e.qZA()()),2&t&&(e.Q6J("nzLayout",i.formLayout)("formGroup",i.form),e.xp6(1),e.Q6J("form",i.form)("fields",i.fields)("model",i.model)("options",i.options))},dependencies:[d._Y,d.JL,d.sg,K.T7,Y.Lr],encapsulation:2,changeDetection:0});var ie=a(655),ae=a(9933),oe=a(1135),re=a(9300),se=a(4004),ce=a(3240),de=a(6579);function te(n,t){for(var i=0;i{console.log(i);const r=Object.values(i).filter(l=>"object"==typeof l);return console.log(r),r}))}tagChecked(t){console.log(`Tag checked: ${t}`)}ngOnInit(){}}).\u0275fac=function(t){return new(t||_)(e.Y36(ve.eDl))},_.\u0275cmp=e.Xpm({type:_,selectors:[["cvc-nonstate-form"]],decls:26,vars:6,consts:[["nzTitle","Entity Tags & Features"],["nzSize","small",3,"nzShowPagination","nzData"],["tagTable",""],["nzWidth","150px"],[4,"ngrxLet"],["cardExtra",""],[4,"ngFor","ngForOf"],[3,"cvcCacheId","cvcEmphasize"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["cvcMode","closeable",3,"cvcCacheId","cvcEmphasize"],["cvcMode","checkable",3,"cvcCacheId","cvcEmphasize","cvcTagCheckedChange"],["nz-input","","nzSize","small","type","text",3,"ngModel","ngModelChange"],["emphasizeInput",""]],template:function(t,i){1&t&&(e.TgZ(0,"nz-card",0)(1,"nz-table",1,2),e.ALo(3,"ngrxPush"),e.TgZ(4,"thead")(5,"tr")(6,"th",3),e._uU(7,"Entity"),e.qZA(),e.TgZ(8,"th"),e._uU(9,"Default"),e.qZA(),e.TgZ(10,"th"),e._uU(11,"Popover"),e.qZA(),e.TgZ(12,"th"),e._uU(13,"Closeable"),e.qZA(),e.TgZ(14,"th"),e._uU(15,"Checkable"),e.qZA(),e.TgZ(16,"th"),e._uU(17,"Trucate"),e.qZA(),e.TgZ(18,"th"),e._uU(19,"Group"),e.qZA(),e.TgZ(20,"th"),e._uU(21,"Unlinked"),e.qZA()()(),e.TgZ(22,"tbody"),e.YNc(23,Me,13,3,"ng-container",4),e.qZA()()(),e.YNc(24,Ae,4,3,"ng-template",null,5,e.W1O)),2&t&&(e.xp6(1),e.Q6J("nzShowPagination",!1)("nzData",e.lcZ(3,3,i.entityTagsData$)||e.DdM(5,Ie)),e.xp6(22),e.Q6J("ngrxLet",i.emphasizeStr$))},dependencies:[o.sg,o.RF,o.n9,o.ED,Q.eJ,d.Fj,d.JJ,d.On,ne.bd,v.N8,v.Uo,v._C,v.Om,v.p0,v.$Z,he.J,Q.fM],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),_);W=(0,ie.gn)([(0,ae.c)()],W);class F{constructor(){this.form=new d.nJ({}),this.model=j,this.formLayout="inline",this.options={formState:{formLayout:this.formLayout}},this.fields=[{key:"fields",wrappers:["form-card"],props:{title:"Inline Field Layout, No State"},fieldGroup:H}]}ngOnInit(){}}F.\u0275fac=function(t){return new(t||F)},F.\u0275cmp=e.Xpm({type:F,selectors:[["cvc-inline-form"]],decls:2,vars:6,consts:[["nz-form","",3,"nzLayout","formGroup"],[2,"width","100%",3,"form","fields","model","options","modelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(l){return i.model=l}),e.qZA()()),2&t&&(e.Q6J("nzLayout",i.formLayout)("formGroup",i.form),e.xp6(1),e.Q6J("form",i.form)("fields",i.fields)("model",i.model)("options",i.options))},dependencies:[d._Y,d.JL,d.sg,K.T7,Y.Lr],encapsulation:2,changeDetection:0});class J{constructor(){this.form=new d.nJ({}),this.model=j,this.formLayout="vertical",this.options={formState:{formLayout:this.formLayout}},this.fields=[{key:"fields",wrappers:["form-card"],props:{title:"Vertical Field Layout, No State"},fieldGroup:H}]}ngOnInit(){}}J.\u0275fac=function(t){return new(t||J)},J.\u0275cmp=e.Xpm({type:J,selectors:[["cvc-vertical-form"]],decls:2,vars:4,consts:[["nz-form","","nzLayout","vertical",3,"formGroup"],[2,"width","100%",3,"form","fields","model","modelChange"]],template:function(t,i){1&t&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(l){return i.model=l}),e.qZA()()),2&t&&(e.Q6J("formGroup",i.form),e.xp6(1),e.Q6J("form",i.form)("fields",i.fields)("model",i.model))},dependencies:[d._Y,d.JL,d.sg,K.T7,Y.Lr],encapsulation:2,changeDetection:0});var G=a(5655),k=a(3679),D=a(3513),be=a(8992);function Ze(n,t){if(1&n&&(e.TgZ(0,"a",9),e._uU(1),e.qZA()),2&n){const i=e.oxw().$implicit;e.Q6J("routerLink",i.routeName),e.xp6(1),e.hij(" ",i.tabLabel," ")}}function we(n,t){1&n&&(e.TgZ(0,"nz-tab"),e.YNc(1,Ze,2,2,"a",8),e.qZA())}class R{constructor(t){this.router=t,this.selectedTabIndex=this.getActivatedRouteIndex(this.router.url),this.tabs=[{routeName:"evidence-submit-test",iconName:"civic-evidence",tabLabel:"Evidence Submit"},{routeName:"evidence-revise-test",iconName:"",tabLabel:"Evidence Revise"},{routeName:"assertion-submit-test",iconName:"",tabLabel:"Assertion Submit"},{routeName:"assertion-revise-test",iconName:"",tabLabel:"Assertion Revise"},{routeName:"variantgroup-revise-test",iconName:"",tabLabel:"VG Revise"},{routeName:"gene-revise-test",iconName:"",tabLabel:"Gene Revise"},{routeName:"mp-revise-test",iconName:"",tabLabel:"MP Revise"},{routeName:"variant-revise-test",iconName:"",tabLabel:"Variant Revise"},{routeName:"vertical-form",iconName:"",tabLabel:"Vertical"},{routeName:"inline-form",iconName:"",tabLabel:"Inline"},{routeName:"horizontal-form",iconName:"",tabLabel:"Horizontal"},{routeName:"tags-test",iconName:"",tabLabel:"Tags"}]}getActivatedRouteIndex(t){return this.tabs?.findIndex(i=>t.includes(i.routeName))}}R.\u0275fac=function(t){return new(t||R)(e.Y36(p.F0))},R.\u0275cmp=e.Xpm({type:R,selectors:[["cvc-test-pages"]],decls:15,vars:4,consts:[[1,"site-page-header"],["cvcFlaggableOptions",""],[3,"nzSpan"],["id","section-tabs"],["nzSpan","24"],["nzLinkRouter","","nzType","card","nzSize","small",3,"nzSelectedIndex"],[4,"ngFor","ngForOf"],[1,"content"],["nz-tab-link","",3,"routerLink",4,"nzTabLink"],["nz-tab-link","",3,"routerLink"]],template:function(t,i){1&t&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-title",1),e._uU(3," Forms2 Test Pages "),e.qZA(),e.TgZ(4,"nz-page-header-content")(5,"nz-row")(6,"nz-col",2)(7,"nz-row",3)(8,"nz-col",4)(9,"nz-tabset",5),e.YNc(10,we,2,0,"nz-tab",6),e.qZA()()()()(),e.TgZ(11,"nz-row")(12,"nz-col",2)(13,"div",7),e._UZ(14,"router-outlet"),e.qZA()()()()()),2&t&&(e.xp6(6),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzSelectedIndex",i.selectedTabIndex),e.xp6(1),e.Q6J("ngForOf",i.tabs),e.xp6(2),e.Q6J("nzSpan",24))},dependencies:[o.sg,p.lC,p.rH,G.$O,G.u9,G.u5,k.t3,k.SK,D.xH,D.xw,D.Ao,D.Fx,be.I],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"],changeDetection:0});var Se=a(3085);class ${constructor(t){this.cdr=t}}$.\u0275fac=function(t){return new(t||$)(e.Y36(e.sBO))},$.\u0275cmp=e.Xpm({type:$,selectors:[["cvc-variantgroup-revise-test-page"]],decls:1,vars:0,template:function(t,i){1&t&&e._UZ(0,"cvc-variantgroup-revise-form")},dependencies:[Se.L],encapsulation:2});var Le=a(7456);class U{constructor(){}ngOnInit(){}}U.\u0275fac=function(t){return new(t||U)},U.\u0275cmp=e.Xpm({type:U,selectors:[["cvc-gene-form"]],decls:1,vars:1,consts:[[3,"geneId"]],template:function(t,i){1&t&&e._UZ(0,"cvc-gene-revise-form",0),2&t&&e.Q6J("geneId",6)},dependencies:[Le.$],encapsulation:2,changeDetection:0});var Ee=a(6074);class N{constructor(){}ngOnInit(){}}N.\u0275fac=function(t){return new(t||N)},N.\u0275cmp=e.Xpm({type:N,selectors:[["cvc-mp-form"]],decls:1,vars:1,consts:[[3,"molecularProfileId"]],template:function(t,i){1&t&&e._UZ(0,"cvc-mp-revise-form",0),2&t&&e.Q6J("molecularProfileId",3176)},dependencies:[Ee.R],encapsulation:2,changeDetection:0});var Fe=a(5126);class q{constructor(){}ngOnInit(){}}q.\u0275fac=function(t){return new(t||q)},q.\u0275cmp=e.Xpm({type:q,selectors:[["cvc-variant-form"]],decls:1,vars:1,consts:[[3,"variantId"]],template:function(t,i){1&t&&e._UZ(0,"cvc-variant-revise-form",0),2&t&&e.Q6J("variantId",4)},dependencies:[Fe.J],encapsulation:2,changeDetection:0});const Je=[{path:"",component:R,children:[{path:"",redirectTo:"evidence-submit-test",pathMatch:"full"},{path:"evidence-submit-test",component:m,data:{breadcrumb:"Evidence Submit Test"}},{path:"evidence-revise-test",component:s,data:{breadcrumb:"Evidence Revise Test"}},{path:"assertion-submit-test",component:f,data:{breadcrumb:"Assertion Submit Test"}},{path:"assertion-revise-test",component:g,data:{breadcrumb:"Assertion Revise Test"}},{path:"variantgroup-revise-test",component:$,data:{breadcrumb:"Variant Group Revise Test"}},{path:"gene-revise-test",component:U,data:{breadcrumb:"Gene Revise Test"}},{path:"mp-revise-test",component:N,data:{breadcrumb:"MP Revise Test"}},{path:"variant-revise-test",component:q,data:{breadcrumb:"Variant Revise Test"}},{path:"vertical-form",component:J,data:{breadcrumb:"Nonstate"}},{path:"inline-form",component:F,data:{breadcrumb:"Inline"}},{path:"horizontal-form",component:E,data:{breadcrumb:"Horizontal"}},{path:"tags-test",component:W,data:{breadcrumb:"Horizontal"}}]}];class y{}y.\u0275fac=function(t){return new(t||y)},y.\u0275mod=e.oAB({type:y}),y.\u0275inj=e.cJS({imports:[p.Bz.forChild(Je),p.Bz]});var De=a(5630),Re=a(8762),$e=a(1102),Ue=a(8823),Ne=a(9444),qe=a(8164),Be=a(6903);class T{}T.\u0275fac=function(t){return new(t||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[o.ez,qe.Z,Be.zf]});var Xe=a(9780);class P{}P.\u0275fac=function(t){return new(t||P)},P.\u0275mod=e.oAB({type:P}),P.\u0275inj=e.cJS({imports:[o.ez,Xe.A]});var Qe=a(62);class C{}C.\u0275fac=function(t){return new(t||C)},C.\u0275mod=e.oAB({type:C}),C.\u0275inj=e.cJS({imports:[o.ez,Qe.E]});var Ge=a(1076);class z{}z.\u0275fac=function(t){return new(t||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[o.ez,Ge.P]});var ee=a(5106);class x{}x.\u0275fac=function(t){return new(t||x)},x.\u0275mod=e.oAB({type:x}),x.\u0275inj=e.cJS({imports:[o.ez,ee.S]});class O{}O.\u0275fac=function(t){return new(t||O)},O.\u0275mod=e.oAB({type:O}),O.\u0275inj=e.cJS({imports:[o.ez,ee.S]});class M{}M.\u0275fac=function(t){return new(t||M)},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({imports:[o.ez,ee.S]});var Ve=a(3258);class A{}A.\u0275fac=function(t){return new(t||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[o.ez,Q._N,Q.pP,d.u5,ne.vh,v.HQ,Ve.x]});var je=a(2297);class I{}I.\u0275fac=function(t){return new(t||I)},I.\u0275mod=e.oAB({type:I}),I.\u0275inj=e.cJS({imports:[o.ez,je.A]});var He=a(993);class b{}b.\u0275fac=function(t){return new(t||b)},b.\u0275mod=e.oAB({type:b}),b.\u0275inj=e.cJS({imports:[o.ez,He.C]});var Ke=a(7357);class Z{}Z.\u0275fac=function(t){return new(t||Z)},Z.\u0275mod=e.oAB({type:Z}),Z.\u0275inj=e.cJS({imports:[o.ez,Ke.i]});var Ye=a(654);class w{}w.\u0275fac=function(t){return new(t||w)},w.\u0275mod=e.oAB({type:w}),w.\u0275inj=e.cJS({imports:[o.ez,Ye.K]});class S{}S.\u0275fac=function(t){return new(t||S)},S.\u0275mod=e.oAB({type:S}),S.\u0275inj=e.cJS({imports:[o.ez,y,G.KJ,k.Jb,$e.PV,Ue.ZJ,D.we,T,P,b,Z,C,z,w,x,O,M,A,Ne.s,Re.c,De.D,I]})}}]); \ No newline at end of file diff --git a/server/public/647.623c0a47b80c84a8.js b/server/public/647.623c0a47b80c84a8.js new file mode 100644 index 000000000..46b58c760 --- /dev/null +++ b/server/public/647.623c0a47b80c84a8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[647],{4527:(Gt,B,l)=>{l.d(B,{T:()=>Dt});var a=l(5879),I=l(6814),x=l(5695),t=l(7417),Z=l(1887),E=l(4770),u=l(9775),rt=l(215),M=l(4121),N=l(9408),S=l(7938);const $=function(d){return{"matched-tag":d}},K=function(d,z){return{tagType:d,tag:z}};function k(d,z){if(1&d&&(a.TgZ(0,"div",2),a.GkF(1,6),a.qZA()),2&d){const m=z.$implicit,v=a.oxw(),q=a.MAs(7);a.Q6J("ngClass",a.VKq(3,$,v.matchingText&&m.name.toLowerCase().includes(v.matchingText))),a.xp6(1),a.Q6J("ngTemplateOutlet",q)("ngTemplateOutletContext",a.WLB(5,K,v.tagType,m))}}function at(d,z){if(1&d&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&d){const m=a.oxw(2);a.xp6(1),a.hij(" ",m.matchedHiddenCount," of ")}}function R(d,z){if(1&d&&(a.TgZ(0,"nz-tag",7),a._uU(1," +"),a.YNc(2,at,2,1,"span",8),a._uU(3),a.qZA()),2&d){const m=a.oxw(),v=a.MAs(5);a.Q6J("nzPopoverContent",v),a.xp6(2),a.Q6J("ngIf",m.matchedHiddenCount>0),a.xp6(1),a.hij("",m.hiddenCount," ")}}function xt(d,z){if(1&d&&(a.TgZ(0,"div",2),a.ynx(1,10),a.GkF(2,6),a.BQk(),a.qZA()),2&d){const m=z.$implicit,v=a.oxw(2),q=a.MAs(7);a.Q6J("ngClass",a.VKq(4,$,v.matchingText&&m.name.toLowerCase().includes(v.matchingText))),a.xp6(1),a.Q6J("ngSwitch",v.tagType),a.xp6(1),a.Q6J("ngTemplateOutlet",q)("ngTemplateOutletContext",a.WLB(6,K,v.tagType,m))}}function ct(d,z){if(1&d&&(a.TgZ(0,"div",9)(1,"cvc-tag-list",0),a.YNc(2,xt,3,9,"div",1),a.qZA()()),2&d){const m=a.oxw();a.xp6(2),a.Q6J("ngForOf",m.hiddenTags)}}function yt(d,z){if(1&d&&(a.ynx(0),a._UZ(1,"cvc-therapy-tag",12),a.BQk()),2&d){const m=a.oxw().tag;a.xp6(1),a.Q6J("therapy",m)("truncateLongName",!0)}}function X(d,z){if(1&d&&(a.ynx(0),a._UZ(1,"cvc-disease-tag",13),a.BQk()),2&d){const m=a.oxw().tag;a.xp6(1),a.Q6J("disease",m)("truncateLongName",!0)}}function P(d,z){if(1&d&&(a.ynx(0),a._UZ(1,"cvc-gene-tag",14),a.BQk()),2&d){const m=a.oxw().tag;a.xp6(1),a.Q6J("gene",m)("truncateLongName",!0)}}function f(d,z){if(1&d&&(a.ynx(0),a._UZ(1,"cvc-organization-tag",15),a.BQk()),2&d){const m=a.oxw().tag;a.xp6(1),a.Q6J("org",m)}}function lt(d,z){if(1&d&&(a.ynx(0),a._UZ(1,"cvc-variant-tag",16),a.BQk()),2&d){const m=a.oxw().tag;a.xp6(1),a.Q6J("variant",m)}}function U(d,z){if(1&d&&(a.ynx(0),a._UZ(1,"cvc-variant-type-tag",17),a.BQk()),2&d){const m=a.oxw().tag;a.xp6(1),a.Q6J("variantType",m)}}function bt(d,z){1&d&&(a.ynx(0,10),a.YNc(1,yt,2,2,"ng-container",11),a.YNc(2,X,2,2,"ng-container",11),a.YNc(3,P,2,2,"ng-container",11),a.YNc(4,f,2,1,"ng-container",11),a.YNc(5,lt,2,1,"ng-container",11),a.YNc(6,U,2,1,"ng-container",11),a.BQk()),2&d&&(a.Q6J("ngSwitch",z.tagType),a.xp6(1),a.Q6J("ngSwitchCase","therapy"),a.xp6(1),a.Q6J("ngSwitchCase","disease"),a.xp6(1),a.Q6J("ngSwitchCase","gene"),a.xp6(1),a.Q6J("ngSwitchCase","organization"),a.xp6(1),a.Q6J("ngSwitchCase","variant"),a.xp6(1),a.Q6J("ngSwitchCase","variant-type"))}let Dt=(()=>{class d{constructor(m){this.cdr=m,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(m){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let m=this.matchingText.toLowerCase();this.hiddenTags.forEach(v=>{v.name.toLowerCase().includes(m)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}return d.\u0275fac=function(m){return new(m||d)(a.Y36(a.sBO))},d.\u0275cmp=a.Xpm({type:d,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[a.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(m,v){1&m&&(a.TgZ(0,"cvc-tag-list",0),a.YNc(1,k,2,8,"div",1),a.TgZ(2,"div",2),a.YNc(3,R,4,3,"nz-tag",3),a.qZA(),a.YNc(4,ct,3,1,"ng-template",null,4,a.W1O),a.qZA(),a.YNc(6,bt,7,7,"ng-template",null,5,a.W1O)),2&m&&(a.xp6(1),a.Q6J("ngForOf",v.displayedTags),a.xp6(1),a.Q6J("ngClass",a.VKq(3,$,v.matchedHiddenCount>0)),a.xp6(1),a.Q6J("ngIf",v.hiddenCount&&v.hiddenCount>0))},dependencies:[I.mk,I.sg,I.O5,I.tP,I.RF,I.n9,x.j,t.lU,Z.$,E.T,u.n,rt.m,M.H,N.I,S.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0}),d})()},4082:(Gt,B,l)=>{l.d(B,{I:()=>I});var a=l(5879);let I=(()=>{class x{transform(Z){if(Z){let u=Z.toLowerCase().replace(/_/g," ").split(" ");for(var E=0;E{l.r(B),l.d(B,{OrganizationsModule:()=>To});var a=l(6814),I=l(5895),x=l(551),t=l(5879);let Z=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,I.s,x.PV]}),i})();var E=l(2419),u=l(8645),rt=l(2438),M=l(2181),N=l(8180),S=l(9773),$=l(874),K=l(7754),k=l(9594),at=l(8484),R=l(6028),xt=l(4194),ct=l(9087),yt=l(6593),X=l(532),P=l(2831),f=l(2495),lt=l(4300),U=l(7394),bt=l(1687),Dt=l(927),d=l(5592),z=l(3019),m=l(7398),v=l(7921),q=l(9397),Te=l(4664),gt=l(9388);function wt(i,n,e){for(let o in n)if(n.hasOwnProperty(o)){const s=n[o];s?i.setProperty(o,s,e?.has(o)?"important":""):i.removeProperty(o)}return i}function G(i,n){const e=n?"":"none";wt(i.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function Wt(i,n,e){wt(i.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function ht(i,n){return n&&"none"!=n?i+" "+n:i}function jt(i){const n=i.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(i)*n}function Tt(i,n){return i.getPropertyValue(n).split(",").map(o=>o.trim())}function St(i){const n=i.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function Pt(i,n,e){const{top:o,bottom:s,left:r,right:c}=i;return e>=o&&e<=s&&n>=r&&n<=c}function tt(i,n,e){i.top+=n,i.bottom=i.top+i.height,i.left+=e,i.right=i.left+i.width}function Vt(i,n,e,o){const{top:s,right:r,bottom:c,left:g,width:h,height:p}=i,_=h*n,C=p*n;return o>s-C&&og-_&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:St(e)})})}handleScroll(n){const e=(0,P.sA)(n),o=this.positions.get(e);if(!o)return null;const s=o.scrollPosition;let r,c;if(e===this._document){const p=this.getViewportScrollPosition();r=p.top,c=p.left}else r=e.scrollTop,c=e.scrollLeft;const g=s.top-r,h=s.left-c;return this.positions.forEach((p,_)=>{p.clientRect&&e!==_&&e.contains(_)&&tt(p.clientRect,g,h)}),s.top=r,s.left=c,{top:g,left:h}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Xt(i){const n=i.cloneNode(!0),e=n.querySelectorAll("[id]"),o=i.nodeName.toLowerCase();n.removeAttribute("id");for(let s=0;sG(o,e)))}constructor(n,e,o,s,r,c){this._config=e,this._document=o,this._ngZone=s,this._viewportRuler=r,this._dragDropRegistry=c,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new u.x,this._pointerMoveSubscription=U.w0.EMPTY,this._pointerUpSubscription=U.w0.EMPTY,this._scrollSubscription=U.w0.EMPTY,this._resizeSubscription=U.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new u.x,this.started=new u.x,this.released=new u.x,this.ended=new u.x,this.entered=new u.x,this.exited=new u.x,this.dropped=new u.x,this.moved=this._moveEvents,this._pointerDown=g=>{if(this.beforeStarted.next(),this._handles.length){const h=this._getTargetHandle(g);h&&!this._disabledHandles.has(h)&&!this.disabled&&this._initializeDragSequence(h,g)}else this.disabled||this._initializeDragSequence(this._rootElement,g)},this._pointerMove=g=>{const h=this._getPointerPositionOnPage(g);if(!this._hasStartedDragging){if(Math.abs(h.x-this._pickupPositionOnPage.x)+Math.abs(h.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Y=Date.now()>=this._dragStartTime+this._getDragStartDelay(g),H=this._dropContainer;if(!Y)return void this._endDragSequence(g);(!H||!H.isDragging()&&!H.isReceiving())&&(g.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(g)))}return}g.preventDefault();const p=this._getConstrainedPointerPosition(h);if(this._hasMoved=!0,this._lastKnownPointerPosition=h,this._updatePointerDirectionDelta(p),this._dropContainer)this._updateActiveDropContainer(p,h);else{const _=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,C=this._activeTransform;C.x=p.x-_.x+this._passiveTransform.x,C.y=p.y-_.y+this._passiveTransform.y,this._applyRootElementTransform(C.x,C.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:p,event:g,distance:this._getDragDistance(p),delta:this._pointerDirectionDelta})})},this._pointerUp=g=>{this._endDragSequence(g)},this._nativeDragStart=g=>{if(this._handles.length){const h=this._getTargetHandle(g);h&&!this._disabledHandles.has(h)&&!this.disabled&&g.preventDefault()}else this.disabled||g.preventDefault()},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new Kt(o),c.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(o=>(0,f.fI)(o)),this._handles.forEach(o=>G(o,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(o=>{this._handles.indexOf(o)>-1&&e.add(o)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){const e=(0,f.fI)(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,dt),e.addEventListener("touchstart",this._pointerDown,ne),e.addEventListener("dragstart",this._nativeDragStart,dt)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?(0,f.fI)(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),G(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),G(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){const n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){const n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){et(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const o=this._rootElement,s=o.parentNode,r=this._placeholder=this._createPlaceholderElement(),c=this._anchor=this._anchor||this._document.createComment(""),g=this._getShadowRoot();s.insertBefore(c,o),this._initialTransform=o.style.transform||"",this._preview=this._createPreviewElement(),Wt(o,!1,Ot),this._document.body.appendChild(s.replaceChild(r,o)),this._getPreviewInsertionPoint(s,g).appendChild(this._preview),this.started.next({source:this,event:n}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();const o=this.isDragging(),s=et(e),r=!s&&0!==e.button,c=this._rootElement,g=(0,P.sA)(e),h=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),p=s?(0,lt.yG)(e):(0,lt.X6)(e);if(g&&g.draggable&&"mousedown"===e.type&&e.preventDefault(),o||r||h||p)return;if(this._handles.length){const w=c.style;this._rootElementTapHighlight=w.webkitTapHighlightColor||"",w.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(w=>this._updateOnScroll(w)),this._boundaryElement&&(this._boundaryRect=St(this._boundaryElement));const _=this._previewTemplate;this._pickupPositionInElement=_&&_.template&&!_.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,n,e);const C=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:C.x,y:C.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){Wt(this._rootElement,!0,Ot),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,o=e.getItemIndex(this),s=this._getPointerPositionOnPage(n),r=this._getDragDistance(s),c=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:r,dropPoint:s,event:n}),this.dropped.next({item:this,currentIndex:o,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:c,distance:r,dropPoint:s,event:n}),e.drop(this,o,this._initialIndex,this._initialContainer,c,r,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:o,y:s}){let r=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,n,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(o,s),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,e):this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const n=this._previewTemplate,e=this.previewClass,o=n?n.template:null;let s;if(o&&n){const r=n.matchSize?this._initialClientRect:null,c=n.viewContainer.createEmbeddedView(o,n.context);c.detectChanges(),s=oe(c,this._document),this._previewRef=c,n.matchSize?se(s,r):s.style.transform=pt(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=Xt(this._rootElement),se(s,this._initialClientRect),this._initialTransform&&(s.style.transform=this._initialTransform);return wt(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},Ot),G(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(r=>s.classList.add(r)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const n=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);const e=function Se(i){const n=getComputedStyle(i),e=Tt(n,"transition-property"),o=e.find(g=>"transform"===g||"all"===g);if(!o)return 0;const s=e.indexOf(o),r=Tt(n,"transition-duration"),c=Tt(n,"transition-delay");return jt(r[s])+jt(c[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(o=>{const s=c=>{(!c||(0,P.sA)(c)===this._preview&&"transform"===c.propertyName)&&(this._preview?.removeEventListener("transitionend",s),o(),clearTimeout(r))},r=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const n=this._placeholderTemplate,e=n?n.template:null;let o;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),o=oe(this._placeholderRef,this._document)):o=Xt(this._rootElement),o.style.pointerEvents="none",o.classList.add("cdk-drag-placeholder"),o}_getPointerPositionInElement(n,e,o){const s=e===this._rootElement?null:e,r=s?s.getBoundingClientRect():n,c=et(o)?o.targetTouches[0]:o,g=this._getViewportScrollPosition();return{x:r.left-n.left+(c.pageX-r.left-g.left),y:r.top-n.top+(c.pageY-r.top-g.top)}}_getPointerPositionOnPage(n){const e=this._getViewportScrollPosition(),o=et(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,s=o.pageX-e.left,r=o.pageY-e.top;if(this._ownerSVGElement){const c=this._ownerSVGElement.getScreenCTM();if(c){const g=this._ownerSVGElement.createSVGPoint();return g.x=s,g.y=r,g.matrixTransform(c.inverse())}}return{x:s,y:r}}_getConstrainedPointerPosition(n){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:o,y:s}=this.constrainPosition?this.constrainPosition(n,this,this._initialClientRect,this._pickupPositionInElement):n;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(o=this._pickupPositionOnPage.x),this._boundaryRect){const{x:r,y:c}=this._pickupPositionInElement,g=this._boundaryRect,{width:h,height:p}=this._getPreviewRect(),_=g.top+c,C=g.bottom-(p-c);o=ie(o,g.left+r,g.right-(h-r)),s=ie(s,_,C)}return{x:o,y:s}}_updatePointerDirectionDelta(n){const{x:e,y:o}=n,s=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,c=Math.abs(e-r.x),g=Math.abs(o-r.y);return c>this._config.pointerDirectionChangeThreshold&&(s.x=e>r.x?1:-1,r.x=e),g>this._config.pointerDirectionChangeThreshold&&(s.y=o>r.y?1:-1,r.y=o),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,G(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,dt),n.removeEventListener("touchstart",this._pointerDown,ne),n.removeEventListener("dragstart",this._nativeDragStart,dt)}_applyRootElementTransform(n,e){const o=pt(n,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=ht(o,this._initialTransform)}_applyPreviewTransform(n,e){const o=this._previewTemplate?.template?void 0:this._initialTransform,s=pt(n,e);this._preview.style.transform=ht(s,o)}_getDragDistance(n){const e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(0===n&&0===e||this.isDragging()||!this._boundaryElement)return;const o=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(0===s.width&&0===s.height||0===o.width&&0===o.height)return;const r=s.left-o.left,c=o.right-s.right,g=s.top-o.top,h=o.bottom-s.bottom;s.width>o.width?(r>0&&(n+=r),c>0&&(n-=c)):n=0,s.height>o.height?(g>0&&(e+=g),h>0&&(e-=h)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){const e=this.dragStartDelay;return"number"==typeof e?e:et(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){const e=this._parentPositions.handleScroll(n);if(e){const o=(0,P.sA)(n);this._boundaryRect&&o!==this._boundaryElement&&o.contains(this._boundaryElement)&&tt(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,P.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){const o=this._previewContainer||"global";if("parent"===o)return n;if("global"===o){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return(0,f.fI)(o)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(n){return this._handles.find(e=>n.target&&(n.target===e||e.contains(n.target)))}}function pt(i,n){return`translate3d(${Math.round(i)}px, ${Math.round(n)}px, 0)`}function ie(i,n,e){return Math.max(n,Math.min(e,i))}function et(i){return"t"===i.type[0]}function oe(i,n){const e=i.rootNodes;if(1===e.length&&e[0].nodeType===n.ELEMENT_NODE)return e[0];const o=n.createElement("div");return e.forEach(s=>o.appendChild(s)),o}function se(i,n){i.style.width=`${n.width}px`,i.style.height=`${n.height}px`,i.style.transform=pt(n.left,n.top)}function nt(i,n){return Math.max(0,Math.min(n,i))}class Me{constructor(n,e){this._element=n,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(n){this.withItems(n)}sort(n,e,o,s){const r=this._itemPositions,c=this._getItemIndexFromPointerPosition(n,e,o,s);if(-1===c&&r.length>0)return null;const g="horizontal"===this.orientation,h=r.findIndex(T=>T.drag===n),p=r[c],C=p.clientRect,w=h>c?1:-1,Y=this._getItemOffsetPx(r[h].clientRect,C,w),H=this._getSiblingOffsetPx(h,r,w),V=r.slice();return function Ee(i,n,e){const o=nt(n,i.length-1),s=nt(e,i.length-1);if(o===s)return;const r=i[o],c=s{if(V[So]===T)return;const De=T.drag===n,$t=De?Y:H,we=De?n.getPlaceholderElement():T.drag.getRootElement();T.offset+=$t,g?(we.style.transform=ht(`translate3d(${Math.round(T.offset)}px, 0, 0)`,T.initialTransform),tt(T.clientRect,0,$t)):(we.style.transform=ht(`translate3d(0, ${Math.round(T.offset)}px, 0)`,T.initialTransform),tt(T.clientRect,$t,0))}),this._previousSwap.overlaps=Pt(C,e,o),this._previousSwap.drag=p.drag,this._previousSwap.delta=g?s.x:s.y,{previousIndex:h,currentIndex:c}}enter(n,e,o,s){const r=null==s||s<0?this._getItemIndexFromPointerPosition(n,e,o):s,c=this._activeDraggables,g=c.indexOf(n),h=n.getPlaceholderElement();let p=c[r];if(p===n&&(p=c[r+1]),!p&&(null==r||-1===r||r-1&&c.splice(g,1),p&&!this._dragDropRegistry.isDragging(p)){const _=p.getRootElement();_.parentElement.insertBefore(h,_),c.splice(r,0,n)}else(0,f.fI)(this._element).appendChild(h),c.push(n);h.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}reset(){this._activeDraggables.forEach(n=>{const e=n.getRootElement();if(e){const o=this._itemPositions.find(s=>s.drag===n)?.initialTransform;e.style.transform=o||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(o=>o.drag===n)}updateOnScroll(n,e){this._itemPositions.forEach(({clientRect:o})=>{tt(o,n,e)}),this._itemPositions.forEach(({drag:o})=>{this._dragDropRegistry.isDragging(o)&&o._sortFromLastPointerPosition()})}_cacheItemPositions(){const n="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const o=e.getVisibleElement();return{drag:e,offset:0,initialTransform:o.style.transform||"",clientRect:St(o)}}).sort((e,o)=>n?e.clientRect.left-o.clientRect.left:e.clientRect.top-o.clientRect.top)}_getItemOffsetPx(n,e,o){const s="horizontal"===this.orientation;let r=s?e.left-n.left:e.top-n.top;return-1===o&&(r+=s?e.width-n.width:e.height-n.height),r}_getSiblingOffsetPx(n,e,o){const s="horizontal"===this.orientation,r=e[n].clientRect,c=e[n+-1*o];let g=r[s?"width":"height"]*o;if(c){const h=s?"left":"top",p=s?"right":"bottom";-1===o?g-=c.clientRect[h]-r[p]:g+=r[h]-c.clientRect[p]}return g}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;const o=this._itemPositions,s="horizontal"===this.orientation;if(o[0].drag!==this._activeDraggables[0]){const c=o[o.length-1].clientRect;return s?n>=c.right:e>=c.bottom}{const c=o[0].clientRect;return s?n<=c.left:e<=c.top}}_getItemIndexFromPointerPosition(n,e,o,s){const r="horizontal"===this.orientation,c=this._itemPositions.findIndex(({drag:g,clientRect:h})=>g!==n&&((!s||g!==this._previousSwap.drag||!this._previousSwap.overlaps||(r?s.x:s.y)!==this._previousSwap.delta)&&(r?e>=Math.floor(h.left)&&e=Math.floor(h.top)&&o!0,this.sortPredicate=()=>!0,this.beforeStarted=new u.x,this.entered=new u.x,this.exited=new u.x,this.dropped=new u.x,this.sorted=new u.x,this.receivingStarted=new u.x,this.receivingStopped=new u.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=U.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new u.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,bt.F)(0,Dt.Z).pipe((0,S.R)(this._stopScrollTimers)).subscribe(()=>{const c=this._scrollNode,g=this.autoScrollStep;1===this._verticalScrollDirection?c.scrollBy(0,-g):2===this._verticalScrollDirection&&c.scrollBy(0,g),1===this._horizontalScrollDirection?c.scrollBy(-g,0):2===this._horizontalScrollDirection&&c.scrollBy(g,0)})},this.element=(0,f.fI)(n),this._document=o,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new Kt(o),this._sortStrategy=new Me(this.element,e),this._sortStrategy.withSortPredicate((c,g)=>this.sortPredicate(c,g,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,o,s){this._draggingStarted(),null==s&&this.sortingDisabled&&(s=this._draggables.indexOf(n)),this._sortStrategy.enter(n,e,o,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,o,s,r,c,g,h={}){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:o,container:this,previousContainer:s,isPointerOverContainer:r,distance:c,dropPoint:g,event:h})}withItems(n){const e=this._draggables;return this._draggables=n,n.forEach(o=>o._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===n.indexOf(s))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._sortStrategy.direction=n,this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){return this._sortStrategy.orientation=n,this}withScrollableParents(n){const e=(0,f.fI)(this.element);return this._scrollableElements=-1===n.indexOf(e)?[e,...n]:n.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,o,s){if(this.sortingDisabled||!this._clientRect||!Vt(this._clientRect,.05,e,o))return;const r=this._sortStrategy.sort(n,e,o,s);r&&this.sorted.next({previousIndex:r.previousIndex,currentIndex:r.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let o,s=0,r=0;if(this._parentPositions.positions.forEach((c,g)=>{g===this._document||!c.clientRect||o||Vt(c.clientRect,.05,n,e)&&([s,r]=function Ae(i,n,e,o){const s=ce(n,o),r=le(n,e);let c=0,g=0;if(s){const h=i.scrollTop;1===s?h>0&&(c=1):i.scrollHeight-h>i.clientHeight&&(c=2)}if(r){const h=i.scrollLeft;1===r?h>0&&(g=1):i.scrollWidth-h>i.clientWidth&&(g=2)}return[c,g]}(g,c.clientRect,n,e),(s||r)&&(o=g))}),!s&&!r){const{width:c,height:g}=this._viewportRuler.getViewportSize(),h={width:c,height:g,top:0,right:c,bottom:g,left:0};s=ce(h,e),r=le(h,n),o=window}o&&(s!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||o!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=r,this._scrollNode=o,(s||r)&&o?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const n=(0,f.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const n=(0,f.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(n).clientRect}_reset(){this._isDragging=!1;const n=(0,f.fI)(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(n,e){return null!=this._clientRect&&Pt(this._clientRect,n,e)}_getSiblingContainerFromPosition(n,e,o){return this._siblings.find(s=>s._canReceive(n,e,o))}_canReceive(n,e,o){if(!this._clientRect||!Pt(this._clientRect,e,o)||!this.enterPredicate(n,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,o);if(!s)return!1;const r=(0,f.fI)(this.element);return s===r||r.contains(s)}_startReceiving(n,e){const o=this._activeSiblings;!o.has(n)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(o.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:e}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(n);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const n=(0,P.kV)((0,f.fI)(this.element));this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const n=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}}function ce(i,n){const{top:e,bottom:o,height:s}=i,r=.05*s;return n>=e-r&&n<=e+r?1:n>=o-r&&n<=o+r?2:0}function le(i,n){const{left:e,right:o,width:s}=i,r=.05*s;return n>=e-r&&n<=e+r?1:n>=o-r&&n<=o+r?2:0}const mt=(0,P.i$)({passive:!1,capture:!0});let Le=(()=>{class i{constructor(e,o){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new u.x,this.pointerUp=new u.x,this.scroll=new u.x,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=o}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,mt)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,mt)}startDragging(e,o){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=o.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:r=>this.pointerUp.next(r),options:!0}).set("scroll",{handler:r=>this.scroll.next(r),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:mt}),s||this._globalListeners.set("mousemove",{handler:r=>this.pointerMove.next(r),options:mt}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((r,c)=>{this._document.addEventListener(c,r.handler,r.options)})})}}stopDragging(e){const o=this._activeDragInstances.indexOf(e);o>-1&&(this._activeDragInstances.splice(o,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const o=[this.scroll];return e&&e!==this._document&&o.push(new d.y(s=>this._ngZone.runOutsideAngular(()=>{const c=g=>{this._activeDragInstances.length&&s.next(g)};return e.addEventListener("scroll",c,!0),()=>{e.removeEventListener("scroll",c,!0)}}))),(0,z.T)(...o)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,o)=>{this._document.removeEventListener(o,e.handler,e.options)}),this._globalListeners.clear()}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(t.R0b),t.LFG(a.K0))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Ze={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let It=(()=>{class i{constructor(e,o,s,r){this._document=e,this._ngZone=o,this._viewportRuler=s,this._dragDropRegistry=r}createDrag(e,o=Ze){return new Ie(e,o,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new Re(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(a.K0),t.LFG(t.R0b),t.LFG(X.rL),t.LFG(Le))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Et=new t.OlP("CDK_DRAG_PARENT"),Mt=new t.OlP("CdkDragHandle");let ge=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=(0,f.Ig)(e),this._stateChanges.next(this)}constructor(e,o){this.element=e,this._stateChanges=new u.x,this._disabled=!1,this._parentDrag=o}ngOnDestroy(){this._stateChanges.complete()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(Et,12))},i.\u0275dir=t.lG2({type:i,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[t._Bn([{provide:Mt,useExisting:i}])]}),i})();const he=new t.OlP("CdkDragPlaceholder"),de=new t.OlP("CdkDragPreview"),pe=new t.OlP("CDK_DRAG_CONFIG"),me=new t.OlP("CdkDropList");let ue=(()=>{class i{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=(0,f.Ig)(e),this._dragRef.disabled=this._disabled}constructor(e,o,s,r,c,g,h,p,_,C,w){this.element=e,this.dropContainer=o,this._ngZone=r,this._viewContainerRef=c,this._dir=h,this._changeDetectorRef=_,this._selfHandle=C,this._parentDrag=w,this._destroyed=new u.x,this.started=new t.vpe,this.released=new t.vpe,this.ended=new t.vpe,this.entered=new t.vpe,this.exited=new t.vpe,this.dropped=new t.vpe,this.moved=new d.y(Y=>{const H=this._dragRef.moved.pipe((0,m.U)(V=>({source:this,pointerPosition:V.pointerPosition,event:V.event,delta:V.delta,distance:V.distance}))).subscribe(Y);return()=>{H.unsubscribe()}}),this._dragRef=p.createDrag(e,{dragStartThreshold:g&&null!=g.dragStartThreshold?g.dragStartThreshold:5,pointerDirectionChangeThreshold:g&&null!=g.pointerDirectionChangeThreshold?g.pointerDirectionChangeThreshold:5,zIndex:g?.zIndex}),this._dragRef.data=this,i._dragInstances.push(this),g&&this._assignDefaults(g),o&&(this._dragRef._withDropContainer(o._dropListRef),o.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,N.q)(1),(0,S.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const o=e.rootElementSelector,s=e.freeDragPosition;o&&!o.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=i._dragInstances.indexOf(this);e>-1&&i._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let o=e;this.rootElementSelector&&(o=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(o||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):(0,f.fI)(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const o=this._dir,s=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,c=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:(0,f.su)(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(c).withPreviewContainer(this.previewContainer||"global"),o&&e.withDirection(o.value)}}),e.beforeStarted.pipe((0,N.q)(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let o=this.element.nativeElement.parentElement;for(;o;){if(o.classList.contains("cdk-drag")){e.withParent(i._dragInstances.find(s=>s.element.nativeElement===o)?._dragRef||null);break}o=o.parentElement}})}_handleEvents(e){e.started.subscribe(o=>{this.started.emit({source:this,event:o.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(o=>{this.released.emit({source:this,event:o.event})}),e.ended.subscribe(o=>{this.ended.emit({source:this,distance:o.distance,dropPoint:o.dropPoint,event:o.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(o=>{this.entered.emit({container:o.container.data,item:this,currentIndex:o.currentIndex})}),e.exited.subscribe(o=>{this.exited.emit({container:o.container.data,item:this})}),e.dropped.subscribe(o=>{this.dropped.emit({previousIndex:o.previousIndex,currentIndex:o.currentIndex,previousContainer:o.previousContainer.data,container:o.container.data,isPointerOverContainer:o.isPointerOverContainer,item:this,distance:o.distance,dropPoint:o.dropPoint,event:o.event})})}_assignDefaults(e){const{lockAxis:o,dragStartDelay:s,constrainPosition:r,previewClass:c,boundaryElement:g,draggingDisabled:h,rootElementSelector:p,previewContainer:_}=e;this.disabled=h??!1,this.dragStartDelay=s||0,o&&(this.lockAxis=o),r&&(this.constrainPosition=r),c&&(this.previewClass=c),g&&(this.boundaryElement=g),p&&(this.rootElementSelector=p),_&&(this.previewContainer=_)}_setupHandlesListener(){this._handles.changes.pipe((0,v.O)(this._handles),(0,q.b)(e=>{const o=e.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&o.push(this.element),this._dragRef.withHandles(o)}),(0,Te.w)(e=>(0,z.T)(...e.map(o=>o._stateChanges.pipe((0,v.O)(o))))),(0,S.R)(this._destroyed)).subscribe(e=>{const o=this._dragRef,s=e.element.nativeElement;e.disabled?o.disableHandle(s):o.enableHandle(s)})}}return i._dragInstances=[],i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(me,12),t.Y36(a.K0),t.Y36(t.R0b),t.Y36(t.s_b),t.Y36(pe,8),t.Y36(gt.Is,8),t.Y36(It),t.Y36(t.sBO),t.Y36(Mt,10),t.Y36(Et,12))},i.\u0275dir=t.lG2({type:i,selectors:[["","cdkDrag",""]],contentQueries:function(e,o,s){if(1&e&&(t.Suo(s,de,5),t.Suo(s,he,5),t.Suo(s,Mt,5)),2&e){let r;t.iGM(r=t.CRH())&&(o._previewTemplate=r.first),t.iGM(r=t.CRH())&&(o._placeholderTemplate=r.first),t.iGM(r=t.CRH())&&(o._handles=r)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,o){2&e&&t.ekj("cdk-drag-disabled",o.disabled)("cdk-drag-dragging",o._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[t._Bn([{provide:Et,useExisting:i}]),t.TTD]}),i})(),Qe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({providers:[It],imports:[X.ZD]}),i})();var Ye=l(6192);const He=["imgRef"],Be=["imagePreviewWrapper"];function $e(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){const r=t.CHM(e).$implicit;return t.KtG(r.onClick())}),t._UZ(1,"span",11),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw();t.ekj("ant-image-preview-operations-operation-disabled",o.zoomOutDisabled&&"zoomOut"===e.type),t.xp6(1),t.Q6J("nzType",e.icon)}}function Ge(i,n){if(1&i&&t._UZ(0,"img",13,14),2&i){const e=t.oxw().$implicit,o=t.oxw();t.Udp("width",e.width)("height",e.height)("transform",o.previewImageTransform),t.uIk("src",o.sanitizerResourceUrl(e.src),t.LSH)("srcset",e.srcset)("alt",e.alt)}}function We(i,n){if(1&i&&(t.ynx(0),t.YNc(1,Ge,2,9,"img",12),t.BQk()),2&i){const e=n.index,o=t.oxw();t.xp6(1),t.Q6J("ngIf",o.index===e)}}function je(i,n){if(1&i){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",15),t.NdJ("click",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.onSwitchLeft(s))}),t._UZ(2,"span",16),t.qZA(),t.TgZ(3,"div",17),t.NdJ("click",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.onSwitchRight(s))}),t._UZ(4,"span",18),t.qZA(),t.BQk()}if(2&i){const e=t.oxw();t.xp6(1),t.ekj("ant-image-preview-switch-left-disabled",e.index<=0),t.xp6(2),t.ekj("ant-image-preview-switch-right-disabled",e.index>=e.images.length-1)}}class At{constructor(){this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzMaskClosable=!0,this.nzCloseOnNavigation=!0}}class Ke{constructor(n,e,o){this.previewInstance=n,this.config=e,this.overlayRef=o,this.destroy$=new u.x,o.keydownEvents().pipe((0,M.h)(s=>this.config.nzKeyboard&&(s.keyCode===R.hY||s.keyCode===R.oh||s.keyCode===R.SV)&&!(0,R.Vb)(s))).subscribe(s=>{s.preventDefault(),s.keyCode===R.hY&&this.close(),s.keyCode===R.oh&&this.prev(),s.keyCode===R.SV&&this.next()}),o.detachments().subscribe(()=>{this.overlayRef.dispose()}),n.containerClick.pipe((0,N.q)(1),(0,S.R)(this.destroy$)).subscribe(()=>{this.close()}),n.closeClick.pipe((0,N.q)(1),(0,S.R)(this.destroy$)).subscribe(()=>{this.close()}),n.animationStateChanged.pipe((0,M.h)(s=>"done"===s.phaseName&&"leave"===s.toState),(0,N.q)(1)).subscribe(()=>{this.dispose()})}switchTo(n){this.previewInstance.switchTo(n)}next(){this.previewInstance.next()}prev(){this.previewInstance.prev()}close(){this.previewInstance.startLeaveAnimation()}dispose(){this.destroy$.next(),this.overlayRef.dispose()}}function fe(i,n,e){const o=i+n,s=(n-e)/2;let r=null;return n>e?(i>0&&(r=s),i<0&&oe)&&(r=i<0?s:-s),r}const _t={x:0,y:0};let en=(()=>{class i{get animationDisabled(){return this.config.nzNoAnimation??!1}get maskClosable(){const e=this.nzConfigService.getConfigForComponent("image")||{};return this.config.nzMaskClosable??e.nzMaskClosable??!0}constructor(e,o,s,r,c,g,h,p){this.ngZone=e,this.host=o,this.cdr=s,this.nzConfigService=r,this.config=c,this.overlayRef=g,this.destroy$=h,this.sanitizer=p,this.images=[],this.index=0,this.isDragging=!1,this.visible=!0,this.animationState="enter",this.animationStateChanged=new t.vpe,this.previewImageTransform="",this.previewImageWrapperTransform="",this.operations=[{icon:"close",onClick:()=>{this.onClose()},type:"close"},{icon:"zoom-in",onClick:()=>{this.onZoomIn()},type:"zoomIn"},{icon:"zoom-out",onClick:()=>{this.onZoomOut()},type:"zoomOut"},{icon:"rotate-right",onClick:()=>{this.onRotateRight()},type:"rotateRight"},{icon:"rotate-left",onClick:()=>{this.onRotateLeft()},type:"rotateLeft"}],this.zoomOutDisabled=!1,this.position={..._t},this.containerClick=new t.vpe,this.closeClick=new t.vpe,this.zoom=this.config.nzZoom??1,this.rotate=this.config.nzRotate??0,this.updateZoomOutDisabled(),this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,rt.R)(this.host.nativeElement,"click").pipe((0,S.R)(this.destroy$)).subscribe(e=>{e.target===e.currentTarget&&this.maskClosable&&this.containerClick.observers.length&&this.ngZone.run(()=>this.containerClick.emit())}),(0,rt.R)(this.imagePreviewWrapper.nativeElement,"mousedown").pipe((0,S.R)(this.destroy$)).subscribe(()=>{this.isDragging=!0})})}setImages(e){this.images=e,this.cdr.markForCheck()}switchTo(e){this.index=e,this.cdr.markForCheck()}next(){this.index0&&(this.reset(),this.index--,this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform(),this.updateZoomOutDisabled(),this.cdr.markForCheck())}markForCheck(){this.cdr.markForCheck()}onClose(){this.closeClick.emit()}onZoomIn(){this.zoom+=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={..._t}}onZoomOut(){this.zoom>1&&(this.zoom-=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={..._t})}onRotateRight(){this.rotate+=90,this.updatePreviewImageTransform()}onRotateLeft(){this.rotate-=90,this.updatePreviewImageTransform()}onSwitchLeft(e){e.preventDefault(),e.stopPropagation(),this.prev()}onSwitchRight(e){e.preventDefault(),e.stopPropagation(),this.next()}onAnimationStart(e){"enter"===e.toState?this.setEnterAnimationClass():"leave"===e.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(e)}onAnimationDone(e){"enter"===e.toState?this.setEnterAnimationClass():"leave"===e.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(e)}startLeaveAnimation(){this.animationState="leave",this.cdr.markForCheck()}onDragReleased(){this.isDragging=!1;const e=this.imageRef.nativeElement.offsetWidth*this.zoom,o=this.imageRef.nativeElement.offsetHeight*this.zoom,{left:s,top:r}=function qe(i){const n=i.getBoundingClientRect(),e=document.documentElement;return{left:n.left+(window.pageXOffset||e.scrollLeft)-(e.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||e.scrollTop)-(e.clientTop||document.body.clientTop||0)}}(this.imageRef.nativeElement),{width:c,height:g}=function tn(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}(),h=this.rotate%180!=0,_=function Xe(i){let n={};return i.width<=i.clientWidth&&i.height<=i.clientHeight&&(n={x:0,y:0}),(i.width>i.clientWidth||i.height>i.clientHeight)&&(n={x:fe(i.left,i.width,i.clientWidth),y:fe(i.top,i.height,i.clientHeight)}),n}({width:h?o:e,height:h?e:o,left:s,top:r,clientWidth:c,clientHeight:g});((0,K.DX)(_.x)||(0,K.DX)(_.y))&&(this.position={...this.position,..._})}sanitizerResourceUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}updatePreviewImageTransform(){this.previewImageTransform=`scale3d(${this.zoom}, ${this.zoom}, 1) rotate(${this.rotate}deg)`}updatePreviewImageWrapperTransform(){this.previewImageWrapperTransform=`translate3d(${this.position.x}px, ${this.position.y}px, 0)`}updateZoomOutDisabled(){this.zoomOutDisabled=this.zoom<=1}setEnterAnimationClass(){if(this.animationDisabled)return;const e=this.overlayRef.backdropElement;e&&(e.classList.add("ant-fade-enter"),e.classList.add("ant-fade-enter-active"))}setLeaveAnimationClass(){if(this.animationDisabled)return;const e=this.overlayRef.backdropElement;e&&(e.classList.add("ant-fade-leave"),e.classList.add("ant-fade-leave-active"))}reset(){this.zoom=1,this.rotate=0,this.position={..._t}}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36($.jY),t.Y36(At),t.Y36(k.Iu),t.Y36(ct.kn),t.Y36(yt.H7))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-image-preview"]],viewQuery:function(e,o){if(1&e&&(t.Gf(He,5),t.Gf(Be,7)),2&e){let s;t.iGM(s=t.CRH())&&(o.imageRef=s.first),t.iGM(s=t.CRH())&&(o.imagePreviewWrapper=s.first)}},hostAttrs:["tabindex","-1","role","document",1,"ant-image-preview-wrap"],hostVars:6,hostBindings:function(e,o){1&e&&t.WFA("@fadeMotion.start",function(r){return o.onAnimationStart(r)})("@fadeMotion.done",function(r){return o.onAnimationDone(r)}),2&e&&(t.d8E("@.disabled",o.config.nzNoAnimation)("@fadeMotion",o.animationState),t.Udp("z-index",o.config.nzZIndex),t.ekj("ant-image-preview-moving",o.isDragging))},exportAs:["nzImagePreview"],features:[t._Bn([ct.kn])],decls:11,vars:6,consts:[[1,"ant-image-preview"],["tabindex","0","aria-hidden","true",2,"width","0","height","0","overflow","hidden","outline","none"],[1,"ant-image-preview-content"],[1,"ant-image-preview-body"],[1,"ant-image-preview-operations"],["class","ant-image-preview-operations-operation",3,"ant-image-preview-operations-operation-disabled","click",4,"ngFor","ngForOf"],["cdkDrag","",1,"ant-image-preview-img-wrapper",3,"cdkDragFreeDragPosition","cdkDragReleased"],["imagePreviewWrapper",""],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ant-image-preview-operations-operation",3,"click"],["nz-icon","","nzTheme","outline",1,"ant-image-preview-operations-icon",3,"nzType"],["cdkDragHandle","","class","ant-image-preview-img",3,"width","height","transform",4,"ngIf"],["cdkDragHandle","",1,"ant-image-preview-img"],["imgRef",""],[1,"ant-image-preview-switch-left",3,"click"],["nz-icon","","nzType","left","nzTheme","outline"],[1,"ant-image-preview-switch-right",3,"click"],["nz-icon","","nzType","right","nzTheme","outline"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2)(3,"div",3)(4,"ul",4),t.YNc(5,$e,2,3,"li",5),t.qZA(),t.TgZ(6,"div",6,7),t.NdJ("cdkDragReleased",function(){return o.onDragReleased()}),t.YNc(8,We,2,1,"ng-container",8),t.qZA(),t.YNc(9,je,5,4,"ng-container",9),t.qZA()(),t._UZ(10,"div",1),t.qZA()),2&e&&(t.xp6(5),t.Q6J("ngForOf",o.operations),t.xp6(1),t.Udp("transform",o.previewImageWrapperTransform),t.Q6J("cdkDragFreeDragPosition",o.position),t.xp6(2),t.Q6J("ngForOf",o.images),t.xp6(1),t.Q6J("ngIf",o.images.length>1))},dependencies:[ue,ge,a.sg,a.O5,x.Ls],encapsulation:2,data:{animation:[xt.MC]},changeDetection:0}),i})(),nn=(()=>{class i{constructor(e,o,s,r){this.overlay=e,this.injector=o,this.nzConfigService=s,this.directionality=r}preview(e,o){return this.display(e,o)}display(e,o){const s={...new At,...o??{}},r=this.createOverlay(s),c=this.attachPreviewComponent(r,s);c.setImages(e);const g=new Ke(c,s,r);return c.previewRef=g,g}attachPreviewComponent(e,o){const s=t.zs3.create({parent:this.injector,providers:[{provide:k.Iu,useValue:e},{provide:At,useValue:o}]}),r=new at.C5(en,null,s);return e.attach(r).instance}createOverlay(e){const o=this.nzConfigService.getConfigForComponent("image")||{},s=new k.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:e.nzCloseOnNavigation??o.nzCloseOnNavigation??!0,backdropClass:"ant-image-preview-mask",direction:e.nzDirection||o.nzDirection||this.directionality.value});return this.overlay.create(s)}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(k.aV),t.LFG(t.zs3),t.LFG($.jY),t.LFG(gt.Is,8))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac}),i})(),on=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({providers:[nn],imports:[gt.vT,k.U8,at.eL,Qe,a.ez,x.PV,Ye.YS]}),i})();var W=l(6254),sn=l(4059),b=l(95),y=l(2574),D=l(4190),Lt=l(6067),ve=l(2996),F=l(2962),rn=l(6976),Zt=l(6928),J=l(8125),ft=l(6987),vt=l(2524),an=l(3043),cn=l(7525),ln=l(3396),gn=l(4605);let hn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,Zt.Rt]}),i})();var Q=l(2392),Nt=l(1106),dn=l(5572),pn=l(366),ze=l(2612),kt=l(6223),mn=l(6061);let Ce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,kt.u5,F.vh,b.Jb,y.zf,Q.ZJ,ve.A2,J.q6,ft.S,ze.Wr,Lt.X,gn.N,ln.Q,mn.N,cn.h,an.y,hn,vt.s,Nt.L,dn.C,pn.$]}),i})(),un=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,D.Bz,W.KJ,b.Jb,x.PV,y.zf,on,F.vh,ve.A2,rn.Ph,Zt.Rt,J.q6,ft.S,Lt.X,sn.c,E.D,Ce]}),i})();var _n=l(9894);let fn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,_n.t]}),i})();var vn=l(1403);let zn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,vn.Q]}),i})();var zt=l(2669);let Cn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,y.zf,b.Jb,zt.j,Ce]}),i})();var xn=l(7856),yn=l(9154),bn=l(2989),Dn=l(7950),wn=l(9175),Tn=l(4742),Sn=l(9312),it=l(2840),O=l(3740),xe=l(5695);let Pn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,x.PV,O.HQ,it.sL,F.vh,x.PV,Q.ZJ,xe.X,yn.y,bn.T,Sn.w,wn.n,Tn.c,xn.k,Nt.L,Dn.x,vt.s]}),i})(),On=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,W.KJ,x.PV,b.Jb,it.sL,y.zf,Q.ZJ,vt.s,E.D,Pn]}),i})();var In=l(1022),En=l(3235);let Mn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,F.vh,J.q6,Q.ZJ,x.PV,y.zf,b.Jb,ft.S,In.H,Lt.X,vt.s,Nt.L,En.W]}),i})(),Rn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,b.Jb,y.zf,it.sL,zt.j,Mn]}),i})();var An=l(1826);let Ln=(()=>{class i{constructor(e){this.route=e,this.organizationId=+this.route.snapshot.params.organizationId}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(D.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organizations-assertions"]],decls:1,vars:1,consts:[["cvcTitle","Organization Assertions",3,"organizationId"]],template:function(e,o){1&e&&t._UZ(0,"cvc-assertions-table",0),2&e&&t.Q6J("organizationId",o.organizationId)},dependencies:[An.x],styles:["[_nghost-%COMP%]{display:block}"]}),i})();var A=l(4223),Ut=l(5619),L=l(313),Ft=l(951),Zn=l(5098),ye=l(3145),Nn=l(3317);function kn(i,n){if(1&i&&t._UZ(0,"nz-avatar",2),2&i){const e=t.oxw();t.Q6J("nzSrc",e.organization.profileImagePath)("nzSize",e.size)}}function Un(i,n){if(1&i&&t._UZ(0,"nz-avatar",3),2&i){const e=t.oxw();t.Q6J("nzText",e.organization.name)("nzSize",e.size)}}let Fn=(()=>{class i{ngOnInit(){if(void 0===this.organization)throw new Error("Must supply an organization to use this component");void 0===this.size&&(this.size="default")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organization-avatar"]],inputs:{organization:"organization",size:"size"},decls:3,vars:2,consts:[["nz-comment-avatar","",3,"nzSrc","nzSize",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc","nzSize"],["nz-comment-avatar","",3,"nzText","nzSize"]],template:function(e,o){if(1&e&&(t.YNc(0,kn,1,2,"nz-avatar",0),t.YNc(1,Un,1,2,"ng-template",null,1,t.W1O)),2&e){const s=t.MAs(2);t.Q6J("ngIf",o.organization.profileImagePath)("ngIfElse",s)}},dependencies:[a.O5,Zt.Dz],styles:["[_nghost-%COMP%]{display:inline-block}"]}),i})();var Jt=l(215),Jn=l(2137),Qn=l(1887);function Yn(i,n){}function Hn(i,n){if(1&i&&(t.TgZ(0,"nz-card",3),t.YNc(1,Yn,0,0,"ng-template",4),t.qZA()),2&i){const e=t.oxw(),o=t.MAs(4);t.Q6J("nzTitle",e.organization.name),t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function Bn(i,n){}function $n(i,n){if(1&i&&t.YNc(0,Bn,0,0,"ng-template",4),2&i){t.oxw();const e=t.MAs(4);t.Q6J("ngTemplateOutlet",e)}}function Gn(i,n){if(1&i&&(t.TgZ(0,"cvc-link-tag",20),t._uU(1," View Organization Website "),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("href",e.organization.url)}}function Wn(i,n){if(1&i&&(t.ynx(0),t._UZ(1,"cvc-organization-tag",22),t.BQk()),2&i){const e=n.$implicit;t.xp6(1),t.Q6J("org",e)}}function jn(i,n){if(1&i&&(t.TgZ(0,"cvc-tag-list"),t.YNc(1,Wn,2,1,"ng-container",21),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.organization.subGroups)}}function Vn(i,n){1&i&&(t.ynx(0),t.TgZ(1,"span",23)(2,"i"),t._uU(3,"No child organizations specified."),t.qZA()(),t.BQk())}function Kn(i,n){if(1&i){const e=t.EpF();t.ynx(0),t.TgZ(1,"label",24),t.NdJ("ngModelChange",function(s){t.CHM(e);const r=t.oxw(3);return t.KtG(r.includeSubStats=s)}),t._uU(2," Include sub-orgs "),t.qZA(),t.BQk()}if(2&i){const e=t.oxw(3);t.xp6(1),t.Q6J("ngModel",e.includeSubStats)}}function Xn(i,n){if(1&i&&t.YNc(0,Kn,3,1,"ng-container",16),2&i){const e=t.oxw(2);t.Q6J("ngIf",e.organization.subGroups.length>0)}}function qn(i,n){if(1&i&&(t.TgZ(0,"nz-row",5)(1,"nz-col",6)(2,"div",7),t._UZ(3,"cvc-organization-avatar",8),t.qZA(),t.TgZ(4,"div",9)(5,"span",10)(6,"strong"),t._uU(7),t.qZA()()()(),t.TgZ(8,"nz-col",6)(9,"nz-card",11),t.YNc(10,Gn,2,1,"ng-template",null,12,t.W1O),t.TgZ(12,"nz-descriptions",13)(13,"nz-descriptions-item",14),t._uU(14),t.qZA(),t.TgZ(15,"nz-descriptions-item",15),t.YNc(16,jn,2,1,"cvc-tag-list",16),t.YNc(17,Vn,4,0,"ng-container",16),t.qZA()()()(),t.TgZ(18,"nz-col",6)(19,"nz-card",17),t._UZ(20,"cvc-stats-card",18),t.qZA(),t.YNc(21,Xn,1,1,"ng-template",null,19,t.W1O),t.qZA()()),2&i){const e=t.MAs(11),o=t.MAs(22),s=t.oxw();t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",3),t.xp6(2),t.Q6J("organization",s.organization)("size",128),t.xp6(4),t.Oqu(s.organization.name),t.xp6(1),t.Q6J("nzSpan",13),t.xp6(1),t.Q6J("nzExtra",e),t.xp6(3),t.Q6J("nzColumn",1),t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",s.organization.description," "),t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.Q6J("ngIf",s.organization.subGroups.length>0),t.xp6(1),t.Q6J("ngIf",0===s.organization.subGroups.length),t.xp6(1),t.Q6J("nzSpan",8),t.xp6(1),t.Q6J("nzExtra",o),t.xp6(1),t.Q6J("stats",s.includeSubStats?s.organization.orgAndSuborgsStatsHash:s.organization.orgStatsHash)}}let be=(()=>{class i{constructor(){this.inCard=!0,this.includeSubStats=!0}ngOnInit(){if(null==this.organization)throw new Error("Must pass a organization into organization card")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organization-card"]],inputs:{organization:"organization",inCard:"inCard"},decls:5,vars:2,consts:[[3,"nzTitle",4,"ngIf","ngIfElse"],["noCard",""],["content",""],[3,"nzTitle"],[3,"ngTemplateOutlet"],[3,"nzGutter"],[3,"nzSpan"],[1,"org-avatar"],[3,"organization","size"],[1,"org-name"],["nz-typography",""],["nzTitle","Profile","nzSize","small",1,"organization-profile",3,"nzExtra"],["orgLink",""],["nzBordered","","nzLayout","vertical","nzSize","small",3,"nzColumn"],["nzTitle","Description",3,"nzSpan"],["nzTitle","Child Organizations",3,"nzSpan"],[4,"ngIf"],["nzSize","small","nzTitle","Curation Stats",3,"nzExtra"],["header","User Statistics",3,"stats"],["subGroupToggle",""],[3,"href"],[4,"ngFor","ngForOf"],[3,"org"],["nz-typography","","nzType","secondary"],["nz-checkbox","",1,"stats-toggle",3,"ngModel","ngModelChange"]],template:function(e,o){if(1&e&&(t.YNc(0,Hn,2,2,"nz-card",0),t.YNc(1,$n,1,1,"ng-template",null,1,t.W1O),t.YNc(3,qn,23,16,"ng-template",null,2,t.W1O)),2&e){const s=t.MAs(2);t.Q6J("ngIf",o.inCard)("ngIfElse",s)}},dependencies:[a.sg,a.O5,a.tP,kt.JJ,kt.On,F.bd,b.t3,b.SK,Q.ZU,J.R7,J.uj,ze.Ie,Nn.l,Fn,Jt.m,Jn.z,Qn.$],styles:["[_nghost-%COMP%] .organization-profile .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] .stats-toggle span{padding-right:0}.org-avatar[_ngcontent-%COMP%], .org-name[_ngcontent-%COMP%]{text-align:center}.org-name[_ngcontent-%COMP%]{font-size:120%}"]}),i})();var ot=l(8091);function ti(i,n){if(1&i&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-content")(4,"div",3),t._UZ(5,"cvc-organization-card",4),t.qZA(),t._UZ(6,"cvc-tab-navigation",5),t.ALo(7,"ngrxPush"),t.TgZ(8,"div",6),t._UZ(9,"router-outlet"),t.qZA()()(),t.BQk()),2&i){const e=n.ngIf,o=t.oxw();t.xp6(1),t.Q6J("displayName",e.name),t.xp6(4),t.Q6J("organization",e)("inCard",!1),t.xp6(1),t.Q6J("tabs",t.lcZ(7,4,o.tabs$))}}let ei=(()=>{class i{constructor(e,o,s){this.gql=e,this.viewerService=o,this.route=s,this.destroy$=new u.x,this.defaultTabs=[{routeName:"members",tabLabel:"Members",iconName:"pic-right"},{routeName:"activity",tabLabel:"Activity",iconName:"civic-event"},{routeName:"evidence",tabLabel:"Evidence Items",iconName:"civic-evidence"},{routeName:"assertions",tabLabel:"Assertions",iconName:"civic-assertion"}],this.tabs$=new Ut.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(r=>{this.queryRef=this.gql.watch({organizationId:+r.organizationId});let c=this.queryRef.valueChanges;this.loading$=c.pipe((0,A.j)("loading"),(0,v.O)(!0)),this.organization$=c.pipe((0,A.j)("data","organization")),this.viewer$=this.viewerService.viewer$,this.organization$.pipe((0,S.R)(this.destroy$)).subscribe({next:g=>{this.tabs$.next(g&&g.subGroups.length>0?[...this.defaultTabs,{routeName:"groups",tabLabel:"Child Organizations",iconName:"civic-organization"}]:this.defaultTabs)}})})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(L.WOS),t.Y36(Ft.a),t.Y36(D.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["organizations-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],[1,"detail-content"],[3,"organization","inCard"],[3,"tabs"],[1,"content"]],template:function(e,o){1&e&&(t.YNc(0,ti,10,6,"ng-container",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,o.organization$))},dependencies:[a.O5,D.lC,W.$O,W.u5,Zn.P,ye.I,be,ot.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}.detail-content[_ngcontent-%COMP%]{margin-top:8px}.content[_ngcontent-%COMP%]{margin-bottom:8px}"]}),i})();var ni=l(7441);let ii=(()=>{class i{constructor(e){this.route=e,this.mode=L.wJ2.Organization,this.organizationId=+this.route.snapshot.params.organizationId}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(D.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organizations-events"]],decls:1,vars:2,consts:[["tagDisplay","hideOrg",3,"organizationId","mode"]],template:function(e,o){1&e&&t._UZ(0,"cvc-event-feed",0),2&e&&t.Q6J("organizationId",o.organizationId)("mode",o.mode)},dependencies:[ni.o],styles:["[_nghost-%COMP%]{display:block}"]}),i})();var oi=l(6822);let si=(()=>{class i{constructor(e){this.route=e,this.organizationId=+this.route.snapshot.params.organizationId}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(D.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organizations-evidence"]],decls:1,vars:1,consts:[["cvcTitle","Organization Evidence",3,"organizationId"]],template:function(e,o){1&e&&t._UZ(0,"cvc-evidence-table",0),2&e&&t.Q6J("organizationId",o.organizationId)},dependencies:[oi.a],styles:["[_nghost-%COMP%]{display:block}"]}),i})();function ri(i,n){if(1&i&&t._UZ(0,"cvc-organization-card",5),2&i){const e=t.oxw().$implicit;t.Q6J("organization",e)}}function ai(i,n){1&i&&(t.TgZ(0,"nz-space",3),t.YNc(1,ri,1,1,"cvc-organization-card",4),t.qZA())}function ci(i,n){if(1&i&&(t.ynx(0),t.YNc(1,ai,2,0,"nz-space",2),t.ALo(2,"ngrxPush"),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,1,e.organizations$))}}let li=(()=>{class i{constructor(e,o,s){this.gql=e,this.viewerService=o,this.route=s,this.routeSub=s.params.subscribe(r=>{this.queryRef=this.gql.watch({organizationId:+r.organizationId});let c=this.queryRef.valueChanges;this.loading$=c.pipe((0,A.j)("loading"),(0,v.O)(!0)),this.organizations$=c.pipe((0,A.j)("data","organization","subGroups")),this.viewer$=this.viewerService.viewer$})}ngOnDestroy(){this.routeSub.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(L.Lr0),t.Y36(Ft.a),t.Y36(D.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organizations-groups"]],decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],["nzDirection","vertical",4,"ngFor","ngForOf"],["nzDirection","vertical"],[3,"organization",4,"nzSpaceItem"],[3,"organization"]],template:function(e,o){1&e&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,ci,3,3,"ng-container",1),t.ALo(3,"ngrxPush"),t.qZA()),2&e&&(t.Q6J("nzSpinning",t.lcZ(1,2,o.loading$)),t.xp6(2),t.Q6J("ngIf",!t.lcZ(3,4,o.loading$)))},dependencies:[a.sg,a.O5,y.NU,y.$1,zt.W,be,ot.fM],styles:[".space-align-block[_ngcontent-%COMP%]{display:block}"]}),i})();var j,Qt=l(855),gi=l(655),hi=l(4632),st=l(1791),Ct=l(5676),Yt=l(3997),di=l(812),pi=l(836),mi=l(3620),ui=l(2460),_i=l(3489),fi=l(9857),vi=l(4997),zi=l(6753),Ci=l(4764),xi=l(8516),yi=l(4527),bi=l(5573);function Di(i,n){}function wi(i,n){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,Di,0,0,"ng-template",6),t.qZA(),t.BQk()),2&i){t.oxw();const e=t.MAs(6),o=t.MAs(8),s=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",e)("nzExtra",o),t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function Ti(i,n){}const Si=function(i){return{height:i}};function Pi(i,n){if(1&i&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,Ti,0,0,"ng-template",6),t.qZA()()),2&i){const e=t.oxw(),o=t.MAs(6),s=t.MAs(8),r=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,Si,e.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",o)("nzExtra",s),t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function Oi(i,n){if(1&i&&(t._UZ(0,"tr",23),t.TgZ(1,"tr")(2,"td",19),t._UZ(3,"cvc-organization-tag",24),t.qZA(),t.TgZ(4,"td"),t._uU(5),t.ALo(6,"number"),t.qZA(),t.TgZ(7,"td"),t._UZ(8,"cvc-tag-overflow",25),t.qZA(),t.TgZ(9,"td",26),t._uU(10),t.ALo(11,"number"),t.qZA(),t.TgZ(12,"td",26),t._uU(13),t.ALo(14,"timeAgo"),t.qZA()()),2&i){const e=n.$implicit;t.xp6(3),t.Q6J("org",e),t.xp6(2),t.hij(" ",t.lcZ(6,6,e.memberCount)," "),t.xp6(3),t.Q6J("maxDisplayCount",1)("tags",e.subGroups),t.xp6(2),t.hij(" ",t.lcZ(11,8,e.eventCount)," "),t.xp6(3),t.hij(" ",t.lcZ(14,10,null==e.mostRecentEvent?null:e.mostRecentEvent.createdAt)," ")}}const Ii=function(){return[]},Ei=function(){return{x:"680px",y:"800px"}};function Mi(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.scrollEvent$.next(s))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.sortChange$.next(s))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Organization "),t.qZA(),t.TgZ(10,"th",14),t._uU(11,"Members"),t.qZA(),t.TgZ(12,"th",15),t._uU(13,"Sub Organizations"),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Actions "),t.qZA(),t.TgZ(16,"th",17),t._uU(17," Last Action "),t.qZA()(),t.TgZ(18,"tr",18)(19,"th",19)(20,"cvc-clearable-input-filter",20),t.NdJ("inputModelChange",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.orgNameInput=s)})("inputModelChange",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.filterChange$.next())}),t.qZA()(),t._UZ(21,"th")(22,"th")(23,"th",21)(24,"th",21),t.qZA()(),t.TgZ(25,"tbody"),t.YNc(26,Oi,15,12,"ng-template",22),t.qZA()()}if(2&i){const e=t.oxw();t.Q6J("nzData",t.lcZ(2,14,e.row$)||t.DdM(22,Ii))("nzLoading",!t.lcZ(3,16,e.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",e.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,18,e.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,20,e.scrollIndex$))("nzVirtualForTrackBy",e.trackByIndex)("nzScroll",t.DdM(23,Ei))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",e.sortColumns.Name)("nzSortFn",!0),t.xp6(12),t.Q6J("inputModel",e.orgNameInput)}}function Ri(i,n){}function Ai(i,n){if(1&i&&(t.ynx(0),t.YNc(1,Ri,0,0,"ng-template",6),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function Li(i,n){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.cvcTitle," ")}}function Zi(i,n){if(1&i&&(t.YNc(0,Ai,2,1,"ng-container",27),t.YNc(1,Li,2,1,"ng-container",27),t.TgZ(2,"span",28),t._UZ(3,"cvc-table-counts",29),t.qZA()),2&i){const e=t.oxw();t.Q6J("ngIf",e.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",e.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",e.connection$)}}function Ni(i,n){1&i&&(t.TgZ(0,"nz-tag",32),t._UZ(1,"i",33),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function ki(i,n){if(1&i&&(t.YNc(0,Ni,4,0,"nz-tag",30),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",31),t.ALo(3,"ngrxPush")),2&i){const e=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,e.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,e.noMoreRows$))}}let Ht=((j=class{set initialUserFilters(n){n&&Object.assign(this,n)}constructor(n,e){this.gql=n,this.cdr=e,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=L.xlL,this.noMoreRows$=new Ut.X(!1),this.scrollEvent$=new Ut.X("stop"),this.sortChange$=new u.x,this.filterChange$=new u.x,this.scrollIndex$=new u.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,A.j)("loading"),(0,Yt.x)(),(0,di.o)(n=>!1!==n,!0)),this.moreLoading$=this.result$.pipe((0,A.j)("loading"),(0,Yt.x)(),(0,pi.T)(2)),this.connection$=this.result$.pipe((0,A.j)("data","organizations"),(0,M.h)(Ct.ep)),this.row$=this.connection$.pipe((0,A.j)("edges"),(0,M.h)(Ct.ep),(0,m.U)(n=>n.map(e=>e.node))),this.pageInfo$=this.connection$.pipe((0,A.j)("pageInfo"),(0,M.h)(Ct.ep)),this.sortChange$.pipe((0,st.t)(this)).subscribe(n=>{this.queryRef.refetch({sortBy:(0,hi._)(n)})}),this.filterChange$.pipe((0,mi.b)(500),(0,st.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,m.U)(n=>"stop"!==n),(0,Yt.x)(),(0,st.t)(this)).subscribe(n=>{this.isScrolling=n,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,M.h)(n=>"bottom"===n),(0,ui.M)(this.pageInfo$),(0,m.U)(([n,e])=>e),(0,st.t)(this)).subscribe(n=>{n.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({orgName:this.orgNameInput,id:this.idInput?+this.idInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(n,e){return e?.id}}).\u0275fac=function(n){return new(n||j)(t.Y36(L.io),t.Y36(t.sBO))},j.\u0275cmp=t.Xpm({type:j,selectors:[["cvc-organizations-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","300px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100px"],["nzWidth","320px"],["nzWidth","80px","nzRight","","nzAlign","right"],["nzWidth","125px","nzRight","","nzAlign","right"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"org"],["tagType","organization",3,"maxDisplayCount","tags"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(n,e){if(1&n&&(t.YNc(0,wi,3,3,"ng-container",0),t.YNc(1,Pi,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Mi,27,24,"ng-template",null,2,t.W1O),t.YNc(5,Zi,4,3,"ng-template",null,3,t.W1O),t.YNc(7,ki,4,6,"ng-template",null,4,t.W1O)),2&n){const o=t.MAs(2);t.Q6J("ngIf",!e.cvcHeight)("ngIfElse",o)}},dependencies:[a.O5,a.tP,a.PC,x.Ls,O.N8,O.qD,O.Uo,O._C,O.Om,O.p0,O.$Z,O.zu,O.qn,O.UX,Qt.w,F.bd,xe.j,_i.H,fi.B,vi.y,zi.D,Ci.q,xi.p,Jt.m,yi.T,a.JJ,ot.fM,bi.x],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),j);Ht=(0,gi.gn)([(0,st.c)()],Ht);var Ui=l(2616);function Fi(i,n){1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t._uU(2," View Organization Docs "),t.qZA())}let Ji=(()=>{class i{constructor(){}ngOnInit(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["organizations-home"]],decls:19,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-organization",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/organizations.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse Organizations"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/organizations.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"]],template:function(e,o){1&e&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Organizations"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," Users may be included in Organizations, primarily in order to keep track of an organization\u2019s contributions to CIViC curation. A User\u2019s organization affiliation is displayed in their profile and user card. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Fi,3,0,"a",8),t.qZA()()(),t.TgZ(15,"div",9)(16,"div",10)(17,"div",11),t._UZ(18,"cvc-organizations-table",12),t.qZA()()()()()),2&e&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"Organization")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(6),t.Q6J("nzSpan",24))},dependencies:[W.$O,W.u5,x.Ls,b.t3,b.SK,it.ix,Qt.w,y.NU,y.$1,Q.ZU,ye.I,Ht,Ui.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),i})();var Bt=l(2185),Qi=l(1958),Yi=l(7458),Hi=l(356),Bi=l(4082);function $i(i,n){if(1&i&&t._UZ(0,"cvc-user-avatar",8),2&i){const e=t.oxw(2);t.Q6J("user",e.user)("size",32)}}function Gi(i,n){if(1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t.qZA()),2&i){const e=t.oxw(4);t.MGl("href","http://twitter.com/",e.user.twitterHandle,"",t.LSH)}}function Wi(i,n){1&i&&(t.ynx(0),t.YNc(1,Gi,2,1,"a",12),t.BQk())}function ji(i,n){if(1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",15),t.qZA()),2&i){const e=t.oxw(4);t.MGl("href","http://facebook.com/",e.user.facebookProfile,"",t.LSH)}}function Vi(i,n){1&i&&(t.ynx(0),t.YNc(1,ji,2,1,"a",12),t.BQk())}function Ki(i,n){if(1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",16),t.qZA()),2&i){const e=t.oxw(4);t.MGl("href","http://linkedin.com/in/",e.user.linkedinProfile,"",t.LSH)}}function Xi(i,n){1&i&&(t.ynx(0),t.YNc(1,Ki,2,1,"a",12),t.BQk())}function qi(i,n){if(1&i&&(t.TgZ(0,"a",13)(1,"span"),t._uU(2,"ID"),t.qZA()()),2&i){const e=t.oxw(4);t.MGl("href","https://orcid.org/",e.user.orcid,"",t.LSH)}}function to(i,n){1&i&&(t.ynx(0),t.YNc(1,qi,3,1,"a",12),t.BQk())}function eo(i,n){1&i&&t._UZ(0,"nz-divider",17)}function no(i,n){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-space",9),t.YNc(2,Wi,2,0,"ng-container",10),t.YNc(3,Vi,2,0,"ng-container",10),t.YNc(4,Xi,2,0,"ng-container",10),t.YNc(5,to,2,0,"ng-container",10),t.qZA(),t.YNc(6,eo,1,0,"ng-template",null,11,t.W1O),t.BQk()),2&i){const e=t.MAs(7),o=t.oxw(2);t.xp6(1),t.Q6J("nzSplit",e),t.xp6(1),t.Q6J("ngIf",o.user.twitterHandle),t.xp6(1),t.Q6J("ngIf",o.user.facebookProfile),t.xp6(1),t.Q6J("ngIf",o.user.linkedinProfile),t.xp6(1),t.Q6J("ngIf",o.user.orcid)}}function io(i,n){1&i&&(t.ynx(0),t.TgZ(1,"nz-space",6),t.YNc(2,$i,1,2,"cvc-user-avatar",7),t.YNc(3,no,8,5,"ng-container",2),t.qZA(),t.BQk())}function oo(i,n){if(1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"enumToTitle"),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,1,e.user.areaOfExpertise)," ")}}function so(i,n){if(1&i&&t._UZ(0,"cvc-organization-tag",25),2&i){const e=t.oxw().$implicit;t.Q6J("org",e)}}function ro(i,n){1&i&&(t.ynx(0),t.YNc(1,so,1,1,"cvc-organization-tag",24),t.BQk())}function ao(i,n){if(1&i&&(t.TgZ(0,"nz-descriptions",18)(1,"nz-descriptions-item",19),t.YNc(2,oo,3,3,"ng-container",20),t.qZA(),t.TgZ(3,"nz-descriptions-item",21)(4,"nz-space",22),t.YNc(5,ro,2,0,"ng-container",23),t.qZA()()()),2&i){const e=t.oxw(),o=t.MAs(5);t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("ngIf",e.user.areaOfExpertise)("ngIfElse",o),t.xp6(2),t.Q6J("nzSize",1),t.xp6(1),t.Q6J("ngForOf",e.user.organizations)}}function co(i,n){1&i&&(t.TgZ(0,"span",26),t._uU(1,"Not provided"),t.qZA())}function lo(i,n){if(1&i&&t._UZ(0,"cvc-user-tag",27),2&i){const e=t.oxw();t.Q6J("user",e.user)("enablePopover",!1)}}let go=(()=>{class i{ngOnInit(){if(null==this.user)throw new Error("Must pass a user into user card");switch(this.user.role){case L.i44.Admin:this.icon="civic-admin";break;case L.i44.Editor:this.icon="civic-editor";break;default:this.icon="civic-curator"}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-user-card"]],inputs:{user:"user"},decls:8,vars:1,consts:[[2,"height","100%",3,"nzTitle"],["nzDirection","vertical",2,"width","100%"],[4,"nzSpaceItem"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn",4,"nzSpaceItem"],["notProvided",""],["titleTemplate",""],["nzSize","large"],[3,"user","size",4,"nzSpaceItem"],[3,"user","size"],["nzAlign","center",3,"nzSplit"],[4,"ngIf"],["spaceSplit",""],["target","_blank",3,"href",4,"nzSpaceItem"],["target","_blank",3,"href"],["nz-icon","","nzType","twitter","nzTheme","outline"],["nz-icon","","nzType","facebook","nzTheme","outline"],["nz-icon","","nzType","linkedin","nzTheme","outline"],["nzType","vertical"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn"],["nzTitle","Expertise"],[4,"ngIf","ngIfElse"],["nzTitle","Organization"],["nzDirection","vertical",3,"nzSize"],[4,"ngFor","ngForOf"],[3,"org",4,"nzSpaceItem"],[3,"org"],["nz-typography","","nzType","secondary"],[2,"font-weight","normal",3,"user","enablePopover"]],template:function(e,o){if(1&e&&(t.TgZ(0,"nz-card",0)(1,"nz-space",1),t.YNc(2,io,4,0,"ng-container",2),t.YNc(3,ao,6,5,"nz-descriptions",3),t.YNc(4,co,2,0,"ng-template",null,4,t.W1O),t.qZA()(),t.YNc(6,lo,1,2,"ng-template",null,5,t.W1O)),2&e){const s=t.MAs(7);t.Q6J("nzTitle",s)}},dependencies:[a.sg,a.O5,F.bd,J.R7,J.uj,Q.ZU,x.Ls,y.NU,y.$1,ft.g,Yi.L,Jt.m,Hi.I,Bi.I],encapsulation:2}),i})();function ho(i,n){if(1&i&&t._UZ(0,"cvc-user-card",9),2&i){const e=t.oxw().$implicit;t.Q6J("user",e)}}function po(i,n){if(1&i&&(t.TgZ(0,"div",7),t.YNc(1,ho,1,1,"cvc-user-card",8),t.qZA()),2&i){const e=n.$implicit;t.Q6J("nzSpan",6),t.xp6(1),t.Q6J("ngIf",e)}}const mo=function(){return[16,16]};function uo(i,n){if(1&i&&(t.TgZ(0,"div",5),t.YNc(1,po,2,2,"div",6),t.ALo(2,"ngrxPush"),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("nzGutter",t.DdM(4,mo)),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,2,e.members$))}}function _o(i,n){if(1&i){const e=t.EpF();t.ynx(0),t.TgZ(1,"button",11),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().ngrxLet,r=t.oxw(3);return t.KtG(r.loadMore(s.endCursor))}),t._uU(2),t.qZA(),t.BQk()}if(2&i){const e=t.oxw(4);t.xp6(2),t.hij(" Load ",e.initialPageSize," More ")}}function fo(i,n){if(1&i&&(t.ynx(0),t.YNc(1,_o,3,1,"ng-container",1),t.BQk()),2&i){const e=n.ngrxLet;t.xp6(1),t.Q6J("ngIf",e&&e.hasNextPage&&e.endCursor)}}function vo(i,n){if(1&i&&(t.ynx(0),t.YNc(1,fo,2,1,"ng-container",10),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngrxLet",e.pageInfo$)}}function zo(i,n){1&i&&(t.ynx(0),t.TgZ(1,"nz-space",2),t.YNc(2,uo,3,5,"div",3),t.YNc(3,vo,2,1,"ng-container",4),t.qZA(),t.BQk())}let Co=(()=>{class i{constructor(e,o,s){this.gql=e,this.viewerService=o,this.route=s,this.initialPageSize=20,this.routeSub=this.route.params.subscribe(r=>{this.queryRef=this.gql.watch({organizationId:+r.organizationId,first:this.initialPageSize});let c=this.queryRef.valueChanges;this.loading$=c.pipe((0,Bt.j)("loading"),(0,v.O)(!0)),this.members$=c.pipe((0,Bt.j)("data","users","edges"),(0,M.h)(Ct.lm),(0,m.U)(g=>g.map(h=>h.node))),this.pageInfo$=c.pipe((0,Bt.j)("data","users","pageInfo")),this.viewer$=this.viewerService.viewer$})}loadMore(e){this.queryRef?.fetchMore({variables:{after:e}})}ngOnDestroy(){this.routeSub.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(L.Del),t.Y36(Ft.a),t.Y36(D.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organizations-members"]],decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["nz-row","",3,"nzGutter",4,"nzSpaceItem"],[4,"nzSpaceItem"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan"],[3,"user",4,"ngIf"],[3,"user"],[4,"ngrxLet"],["nz-button","","nzBlock","",3,"click"]],template:function(e,o){1&e&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,zo,4,0,"ng-container",1),t.ALo(3,"ngrxPush"),t.qZA()),2&e&&(t.Q6J("nzSpinning",t.lcZ(1,2,o.loading$)),t.xp6(2),t.Q6J("ngIf",!t.lcZ(3,4,o.loading$)))},dependencies:[a.sg,a.O5,ot.eJ,b.t3,b.SK,y.NU,y.$1,it.ix,Qt.w,Qi.dQ,zt.W,go,ot.fM],encapsulation:2}),i})();var xo=l(4106);const yo=[{path:"",component:(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["app-organizations"]],decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"router-outlet")},dependencies:[D.lC],encapsulation:2}),i})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Ji},{path:":organizationId",component:ei,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"members",pathMatch:"full"},{path:"members",component:Co,data:{breadcrumb:"Members"}},{path:"groups",component:li,data:{breadcrumb:"Child Organizations"}},{path:"evidence",component:si,data:{breadcrumb:"Evidence"}},{path:"assertions",component:Ln,data:{breadcrumb:"Assertions"}},{path:"activity",component:ii,data:{breadcrumb:"Activity"}},{path:"source-suggestions",component:(()=>{class i{constructor(e){this.route=e,this.userId=+this.route.snapshot.params.userId}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(D.gz))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organizations-source-suggestions"]],decls:1,vars:0,consts:[["cvcTitle","Organization Source Suggestions"]],template:function(e,o){1&e&&t._UZ(0,"cvc-source-suggestions-table",0)},dependencies:[xo.O],styles:["[_nghost-%COMP%]{display:block}"]}),i})(),data:{breadcrumb:"Source Suggestions"}}]}]}];let bo=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[D.Bz.forChild(yo),D.Bz]}),i})();var Do=l(5843);let wo=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,Do.W]}),i})(),To=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[a.ez,bo,On,zn,Z,un,fn,Cn,Rn,wo]}),i})()}}]); \ No newline at end of file diff --git a/server/public/6607.6393e299ffce5d74.js b/server/public/6607.6393e299ffce5d74.js new file mode 100644 index 000000000..691e27ec4 --- /dev/null +++ b/server/public/6607.6393e299ffce5d74.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6607],{1416:(I,h,t)=>{t.d(h,{Z:()=>a});var e=t(6814),f=t(4190),n=t(5106),v=t(6683),r=t(2840),s=t(279),p=t(3903),d=t(1403),c=t(5879);let a=(()=>{class o{}return o.\u0275fac=function(_){return new(_||o)},o.\u0275mod=c.oAB({type:o}),o.\u0275inj=c.cJS({imports:[e.ez,f.Bz,r.sL,p.L,v.S,n.g,d.Q,s.s]}),o})()},6278:(I,h,t)=>{t.d(h,{l:()=>D});var e=t(655),f=t(6223),n=t(2024),v=t(3684),r=t(1565),s=t(1791),p=t(1759);const a=(0,t(7745).Z)([{wrappers:["form-layout"],props:{submitLabel:"Submit Evidence Item",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"New Evidence Item"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0,tooltip:"A single variant (Simple Molecular Profile) or a combination of variants (Complex Molecular Profile) relevant to the curated evidence.",watchVariantMolecularProfileId:!0}},{key:"sourceId",type:"source-select",props:{required:!0}},{key:"evidenceType",type:"type-select",props:{required:!0}},{key:"evidenceDirection",type:"direction-select",props:{required:!0}},{key:"significance",type:"significance-select",props:{required:!0}},{key:"diseaseId",type:"disease-select",props:{}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"evidenceLevel",type:"level-select",props:{required:!0}},{key:"rating",type:"rating",props:{required:!0}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"Your original description of evidence from published literature detailing the association or lack of association between a variant and its predictive, prognostic, diagnostic, predisposing, functional or oncogenic value. ",placeholder:"Enter an Evidence Statement",extraType:"description",description:'Data constituting personal or identifying information should not be entered (e.g. protected health information (PHI) as defined by HIPAA in the U.S. and/or comparable laws in your jurisdiction).',label:"Evidence Statement",required:!0,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!1,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Evidence Item"}}]}]}],p.C);var E,o=t(7398),y=t(2181),_=t(5676),i=t(5879),T=t(313),S=t(7473),P=t(6814),O=t(4190),A=t(3903),q=t(5545),M=t(3599),L=t(4634),w=t(6822),$=t(8091);const F=function(m){return["/evidence",m,"summary"]};function x(m,u){if(1&m&&(i._uU(0," View your new EID "),i.TgZ(1,"a",5),i._uU(2,"here"),i.qZA(),i._uU(3,". You will be redirected shortly. ")),2&m){const l=i.oxw();i.xp6(1),i.Q6J("routerLink",i.VKq(1,F,l.newEvidenceId))}}function b(m,u){if(1&m&&i._UZ(0,"nz-alert",8),2&m){i.oxw();const l=i.MAs(3);i.Q6J("nzMessage",l)}}function U(m,u){if(1&m&&(i.TgZ(0,"p")(1,"strong"),i._uU(2," Evidence for this Molecular Profile has already been curated from this Source. Please double check that your Evidence has not already been entered. "),i.qZA()(),i._UZ(3,"cvc-evidence-table",9)),2&m){const l=i.oxw(2);i.xp6(3),i.Q6J("molecularProfileId",l.selectedMpId)("sourceId",l.selectedSourceId)}}function R(m,u){if(1&m&&(i.ynx(0),i.YNc(1,b,1,1,"nz-alert",6),i.YNc(2,U,4,2,"ng-template",null,7,i.W1O),i._UZ(4,"br"),i.BQk()),2&m){const l=u.ngIf;i.xp6(1),i.Q6J("ngIf",l>0)}}let D=((E=class{constructor(u,l,g){this.submitEvidenceGQL=u,this.existingEvidenceGQL=l,this.networkErrorService=g,this.form=new f.nJ({}),this.fields=a,this.model={fields:{}},this.state=new v._,this.options={formState:this.state},this.submitEvidenceMutator=new n.U(g)}ngOnInit(){this.countQueryRef=this.existingEvidenceGQL.watch({molecularProfileId:0,sourceId:0}),this.existingEvidenceCount$=this.countQueryRef?.valueChanges.pipe((0,o.U)(u=>u.data?.evidenceItems?.totalCount),(0,y.h)(_.ep),(0,s.t)(this))}ngAfterViewInit(){this.state.formReady$.next(!0)}onSubmit(u){const l=(0,r.I9)(u);l&&(this.mutationState=this.submitEvidenceMutator.mutate(this.submitEvidenceGQL,{input:l},void 0,g=>{this.newEvidenceId=g.submitEvidence?.evidenceItem.id,this.newEvidenceUrl=`/evidence/${this.newEvidenceId}/summary`}))}onModelChange(u){u.fields.sourceId&&u.fields.molecularProfileId?(u.fields.sourceId!=this.selectedSourceId||u.fields.molecularProfileId!=this.selectedMpId)&&(this.selectedSourceId=u.fields.sourceId,this.selectedMpId=u.fields.molecularProfileId,this.countQueryRef?.refetch({molecularProfileId:u.fields.molecularProfileId,sourceId:u.fields.sourceId})):this.countQueryRef?.refetch({molecularProfileId:0,sourceId:0})}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(u){return new(u||E)(i.Y36(T.WFw),i.Y36(T.vxe),i.Y36(S.Y))},E.\u0275cmp=i.Xpm({type:E,selectors:[["cvc-evidence-submit-form"]],decls:7,vars:11,consts:[["entityType","Evidence Item",3,"mutationState","redirectUrl","successMessage"],["success",""],[4,"ngIf"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[2,"width","100%",3,"form","fields","model","options","modelChange"],[3,"routerLink"],["nzType","warning",3,"nzMessage",4,"ngIf"],["duplicateEvidenceAlert",""],["nzType","warning",3,"nzMessage"],["cvcHeight","150",3,"molecularProfileId","sourceId"]],template:function(u,l){if(1&u&&(i.TgZ(0,"cvc-form-submission-status-display",0),i.YNc(1,x,4,3,"ng-template",null,1,i.W1O),i.YNc(3,R,5,1,"ng-container",2),i.ALo(4,"ngrxPush"),i.TgZ(5,"form",3),i.NdJ("ngSubmit",function(){return l.onSubmit(l.model)}),i.TgZ(6,"formly-form",4),i.NdJ("modelChange",function(C){return l.model=C,l.onModelChange(C)}),i.qZA()()()),2&u){const g=i.MAs(2);i.Q6J("mutationState",l.mutationState)("redirectUrl",l.newEvidenceUrl)("successMessage",g),i.xp6(3),i.Q6J("ngIf",i.lcZ(4,9,l.existingEvidenceCount$)),i.xp6(2),i.Q6J("formGroup",l.form),i.xp6(1),i.Q6J("form",l.form)("fields",l.fields)("model",l.model)("options",l.options)}},dependencies:[P.O5,O.rH,A.r,f._Y,f.JL,f.sg,q.T7,M.Lr,L.F,w.a,$.fM],encapsulation:2,changeDetection:0}),E);D=(0,e.gn)([(0,s.c)()],D)},1759:(I,h,t)=>{t.d(h,{C:()=>f,w:()=>e});const e={geneId:void 0,variantId:void 0,significance:void 0,description:void 0,diseaseId:void 0,therapyIds:void 0,therapyInteractionType:void 0,evidenceDirection:void 0,evidenceLevel:void 0,evidenceType:void 0,molecularProfileId:void 0,phenotypeIds:void 0,rating:void 0,sourceId:void 0,variantOrigin:void 0},f={clientMutationId:void 0,fields:e,comment:void 0,organizationId:void 0}},8475:(I,h,t)=>{t.d(h,{lG:()=>p,yQ:()=>r});var e=t(2),f=t(313),n=t(8645),v=t(3742),r=(()=>((r=r||{}).EVIDENCE="Evidence",r.ASSERTION="Assertion",r))();class p{constructor(c){this.formReady$=new n.x,this.formLayout="vertical",this.validStates=new Map,this.typeOption$=new n.x,this.requiresTherapy$=new n.x,this.requiresDisease$=new n.x,this.requiresAcmgCode$=new n.x,this.requiresAmpLevel$=new n.x,this.requiresClingenCode$=new n.x,this.allowsFdaApproval$=new n.x,this.getTypeOptions=()=>this.entityName==r.ASSERTION?(0,v.o6)(f.uBv).map(a=>a):(0,v.o6)(f.kqt).map(a=>a),this.getSignificanceOptions=a=>this.validStates.get(a)?.significance||[],this.getInteractionOptions=()=>(0,v.o6)(f.wkr).map(a=>a),this.isValidSignificanceOption=(a,o)=>{const y=this.validStates.get(a);return!y||y.significance.includes(o)},this.getDirectionOptions=a=>this.validStates.get(a)?.entityDirection||[],this.isValidDirectionOption=(a,o)=>{const y=this.validStates.get(a);return!y||y.entityDirection.includes(o)},this.requiresTherapy=a=>{const o=this.validStates.get(a);return void 0===o||o.requiresTherapy},this.requiresDisease=a=>{const o=this.validStates.get(a);return void 0===o||o.requiresDisease},this.requiresAcmgCodes=a=>{const o=this.validStates.get(a);return void 0===o||o.requiresAcmgCodes},this.requiresAmpLevel=a=>{const o=this.validStates.get(a);return void 0===o||o.requiresAmpLevel},this.requiresClingenCodes=a=>{const o=this.validStates.get(a);return void 0===o||o.requiresClingenCodes},this.allowsFdaApproval=a=>{const o=this.validStates.get(a);return void 0===o||o.allowsFdaApproval},this.getOptionsFromEnums=a=>0===a.length?[]:a.map(o=>({value:o,label:(0,e.E)(o)})),this.fields={},this.options={},this.enums={},this.requires={},this.entityName=c,this.pluralNames=new Map,this.pluralNames.set(r.ASSERTION,"Assertions"),this.pluralNames.set(r.EVIDENCE,"Evidence")}onDestroy(){}}},3684:(I,h,t)=>{t.d(h,{_:()=>s});var e=t(313),f=t(1791),n=t(5619),v=t(1759),r=t(8475);class s extends r.lG{constructor(){super(r.yQ.EVIDENCE);const d=v.w;this.fields={molecularProfileId$:new n.X(d.molecularProfileId),variantId$:new n.X(d.variantId),variantMolecularProfile$:new n.X(void 0),geneId$:new n.X(d.geneId),evidenceType$:new n.X(d.evidenceType),evidenceLevel$:new n.X(d.evidenceLevel),evidenceDirection$:new n.X(d.evidenceDirection),significance$:new n.X(d.significance),variantOrigin$:new n.X(d.variantOrigin),diseaseId$:new n.X(d.diseaseId),therapyIds$:new n.X(d.therapyIds),therapyInteractionType$:new n.X(d.therapyInteractionType),rating$:new n.X(d.rating),phenotypeIds$:new n.X(d.phenotypeIds),sourceId$:new n.X(d.sourceId)},this.enums={entityType$:new n.X(this.getTypeOptions()),significance$:new n.X([]),direction$:new n.X([]),interaction$:new n.X(this.getInteractionOptions())},this.requires={requiresDisease$:new n.X(!1),requiresTherapy$:new n.X(!1),requiresTherapyInteractionType$:new n.X(!1),requiresClingenCodes$:new n.X(!1),requiresAcmgCodes$:new n.X(!1),requiresAmpLevel$:new n.X(!1),allowsFdaApproval$:new n.X(!1)},this.fields.evidenceType$.pipe((0,f.t)(this,"onDestroy")).subscribe(c=>{if(!c)return Object.entries(this.requires).forEach(([a,o])=>{o.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(c)),this.enums.direction$.next(this.getDirectionOptions(c)),this.requires.requiresDisease$.next(this.requiresDisease(c)),this.requires.requiresTherapy$.next(this.requiresTherapy(c)),this.requires.requiresTherapyInteractionType$.next(this.requiresTherapy(c)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(c)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(c)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(c))}),this.fields.therapyIds$.pipe((0,f.t)(this,"onDestroy")).subscribe(c=>{this.requires.requiresTherapyInteractionType$.next(!!c&&c.length>1)}),this.validStates.set(e.kqt.Predictive,{entityType:e.kqt.Predictive,significance:[e.y1h.Sensitivityresponse,e.y1h.Resistance,e.y1h.AdverseResponse,e.y1h.ReducedSensitivity,e.y1h.Na],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Diagnostic,{entityType:e.kqt.Diagnostic,significance:[e.y1h.Positive,e.y1h.Negative],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Prognostic,{entityType:e.kqt.Prognostic,significance:[e.y1h.BetterOutcome,e.y1h.PoorOutcome,e.y1h.Na],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Oncogenic,{entityType:e.kqt.Oncogenic,significance:[e.y1h.Oncogenicity,e.y1h.Protectiveness],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Predisposing,{entityType:e.kqt.Predisposing,significance:[e.y1h.Predisposition,e.y1h.Protectiveness],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(e.kqt.Functional,{entityType:e.kqt.Functional,significance:[e.y1h.GainOfFunction,e.y1h.LossOfFunction,e.y1h.UnalteredFunction,e.y1h.Neomorphic,e.y1h.DominantNegative,e.y1h.Unknown],entityDirection:[e.tI1.Supports,e.tI1.DoesNotSupport],requiresDisease:!1,requiresTherapy:!1,requiresAcmgCodes:!1,requiresClingenCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},7745:(I,h,t)=>{function e(f,n){const v=(s,p)=>{let d;for(let c of s)if(c.fieldGroup)d=v(c.fieldGroup,p);else if(c.key===p){d=c;break}return d},r=(s,p)=>{for(let d of Object.keys(p))if(p[d]instanceof Object&&!Array.isArray(p[d]))r(s,p[d]);else{const c=v(s,d);c&&(c.defaultValue=p[d])}return s};return r(f,n)}t.d(h,{Z:()=>e})},1565:(I,h,t)=>{t.d(h,{Ct:()=>n,I9:()=>v,ux:()=>f});var e=t(2701);function f(r){return{significance:r.significance,description:r.description,diseaseId:r.disease?.id,therapyIds:r.therapies.map(s=>s.id),therapyInteractionType:r.therapyInteractionType,evidenceDirection:r.evidenceDirection,evidenceLevel:r.evidenceLevel,evidenceType:r.evidenceType,molecularProfileId:r.molecularProfile.id,phenotypeIds:r.phenotypes.map(s=>s.id),rating:r.evidenceRating,sourceId:r.source.id,variantOrigin:r.variantOrigin}}function n(r,s){let p=v(s);if(p)return{id:r,comment:p.comment,organizationId:p.organizationId,fields:p.fields}}function v(r){const s=r.fields;if(![s.molecularProfileId,s.variantOrigin,s.sourceId,s.evidenceType,s.significance,s.evidenceLevel,s.evidenceDirection,s.rating].find(d=>void 0===d))return{fields:{molecularProfileId:s.molecularProfileId,variantOrigin:s.variantOrigin,sourceId:s.sourceId,evidenceType:s.evidenceType,significance:s.significance,evidenceLevel:s.evidenceLevel,evidenceDirection:s.evidenceDirection,rating:s.rating,description:e.xt(s.description),diseaseId:e.uP(s.diseaseId),phenotypeIds:s.phenotypeIds?s.phenotypeIds:[],therapyIds:s.therapyIds?s.therapyIds:[],therapyInteractionType:e.uP(s.therapyInteractionType)},organizationId:r.organizationId,comment:r.comment}}}}]); \ No newline at end of file diff --git a/server/public/6724.4d550e9e44b34d73.js b/server/public/6724.4d550e9e44b34d73.js deleted file mode 100644 index 8b37856bb..000000000 --- a/server/public/6724.4d550e9e44b34d73.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6724],{2322:(z,C,t)=>{t.d(C,{C:()=>s});var o=t(6895),g=t(1971),d=t(6152),n=t(3679),p=t(6903),l=t(6672),m=t(9444),v=t(4650);class s{}s.\u0275fac=function(E){return new(E||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[o.ez,g.vh,d.Ph,n.Jb,l.X,p.zf,m.s]})},7488:(z,C,t)=>{t.d(C,{y:()=>a});var o=t(6895),g=t(6672),d=t(1102),n=t(9116),p=t(9444),l=t(2635),m=t(7345),v=t(8369),s=t(9460),O=t(7043),E=t(1971),P=t(3679),T=t(1229),f=t(7677),U=t(592),A=t(6903),I=t(9194),x=t(2322),u=t(4650);class _{}_.\u0275fac=function(D){return new(D||_)},_.\u0275mod=u.oAB({type:_}),_.\u0275inj=u.cJS({imports:[o.ez,l._N,l.pP,E.vh,P.Jb,d.PV,A.zf,I.q6,p.s,T.U,m.W,v.W,s.i,O.Q,f.G,U.x,x.C]});var c=t(6581);class a{}a.\u0275fac=function(D){return new(D||a)},a.\u0275mod=u.oAB({type:a}),a.\u0275inj=u.cJS({imports:[o.ez,n.Bz,p.s,_,g.X,d.PV,c.$6]})},6265:(z,C,t)=>{t.d(C,{q:()=>h});var o=t(3240),g=t(4004),d=t(9300),n=t(4650),p=t(7630),l=t(6895),m=t(3679),v=t(1971),s=t(9194),O=t(2577),E=t(6715),P=t(5749),T=t(7881),f=t(2635);const U=["additionalMetadata"];function A(e,r){if(1&e&&(n._UZ(0,"cvc-user-avatar",14),n.TgZ(1,"span",15),n._uU(2),n.qZA()),2&e){const i=n.oxw().ngIf;n.Q6J("user",i),n.xp6(2),n.Oqu(i.displayName)}}function I(e,r){if(1&e&&(n._UZ(0,"i",16),n._uU(1),n.ALo(2,"titlecase")),2&e){const i=n.oxw().ngIf;n.xp6(1),n.hij(" ",n.lcZ(2,1,i.role)," ")}}function x(e,r){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const i=r.ngIf;n.xp6(1),n.Oqu(i)}}function u(e,r){if(1&e&&n._UZ(0,"cvc-organization-tag",18),2&e){const i=r.$implicit;n.Q6J("enablePopover",!1)("org",i)}}function _(e,r){if(1&e&&(n.TgZ(0,"cvc-tag-list"),n.YNc(1,u,1,2,"cvc-organization-tag",17),n.qZA()),2&e){const i=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",i.organizations)}}function c(e,r){1&e&&n._UZ(0,"nz-divider")}const a=function(e){return{$implicit:e}};function M(e,r){if(1&e&&(n.ynx(0),n._UZ(1,"nz-card",4),n.YNc(2,A,3,2,"ng-template",null,5,n.W1O),n.YNc(4,I,3,3,"ng-template",null,6,n.W1O),n.TgZ(6,"nz-row")(7,"nz-col",7)(8,"div",8)(9,"p",9),n.YNc(10,x,2,1,"span",10),n.qZA()()()(),n.TgZ(11,"nz-row")(12,"nz-col",7)(13,"nz-descriptions",11)(14,"nz-descriptions-item",12),n.YNc(15,_,2,1,"cvc-tag-list",10),n.qZA()()()(),n.TgZ(16,"nz-row"),n.YNc(17,c,1,0,"nz-divider",1),n.GkF(18,13),n.qZA(),n.BQk()),2&e){const i=r.ngIf,B=n.MAs(3),R=n.MAs(5),L=n.oxw(),K=n.MAs(4),y=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",B)("nzExtra",R),n.xp6(9),n.Q6J("ngIf",i.bio)("ngIfElse",K),n.xp6(3),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",i.organizations.length>0)("ngIfElse",y),n.xp6(2),n.Q6J("ngIf",L.metadataTemplateRef),n.xp6(1),n.Q6J("ngTemplateOutlet",L.metadataTemplateRef||null)("ngTemplateOutletContext",n.VKq(10,a,i))}}function D(e,r){1&e&&n._uU(0," User has not provided a biography. ")}function W(e,r){1&e&&(n.TgZ(0,"span",19),n._uU(1,"--"),n.qZA())}class h{constructor(r){this.gql=r}ngOnInit(){if(null==this.userId)throw new Error("Must pass an id into user hovercard");this.user$=this.gql.watch({userId:this.userId}).valueChanges.pipe((0,g.U)(({data:r})=>r?.user),(0,d.h)(o.ep))}}h.\u0275fac=function(r){return new(r||h)(n.Y36(p.cEv))},h.\u0275cmp=n.Xpm({type:h,selectors:[["cvc-user-popover"]],contentQueries:function(r,i,B){if(1&r&&n.Suo(B,U,5),2&r){let R;n.iGM(R=n.CRH())&&(i.metadataTemplateRef=R.first)}},inputs:{userId:"userId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noBio",""],["noOrganizations",""],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Organizations"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],["nz-icon","","nzType","civic-admin"],[3,"enablePopover","org",4,"ngFor","ngForOf"],[3,"enablePopover","org"],["nz-typography","","nzStyle","secondary"]],template:function(r,i){1&r&&(n.TgZ(0,"div",0),n.YNc(1,M,19,12,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,D,1,0,"ng-template",null,2,n.W1O),n.YNc(5,W,2,0,"ng-template",null,3,n.W1O)),2&r&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,i.user$)))},dependencies:[l.sg,l.O5,l.tP,m.t3,m.SK,v.bd,s.R7,s.uj,O.g,E.$,P.m,T.L,l.rS,f.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.display-name[_ngcontent-%COMP%]{margin-left:8px;font-weight:400}"]})},6081:(z,C,t)=>{t.d(C,{J:()=>P});var o=t(6895),g=t(4989),d=t(9194),n=t(1971),p=t(2635),l=t(897),m=t(9476),v=t(5473),s=t(2577),O=t(3679),E=t(4650);class P{}P.\u0275fac=function(f){return new(f||P)},P.\u0275mod=E.oAB({type:P}),P.\u0275inj=E.cJS({imports:[o.ez,p._N,p.pP,O.Jb,n.vh,d.q6,s.S,g.X,l.$,m.L,v.H]})},125:(z,C,t)=>{t.d(C,{I:()=>u});var o=t(4650),g=t(6895),d=t(9116),n=t(6581),p=t(6672),l=t(1102),m=t(6265),v=t(160);function s(_,c){}function O(_,c){if(1&_&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,s,0,0,"ng-template",6),o.qZA(),o.BQk()),2&_){const a=o.oxw(),M=o.MAs(2);o.xp6(1),o.MGl("routerLink","/users/",a.user.id,""),o.xp6(1),o.Q6J("ngTemplateOutlet",M)}}function E(_,c){}function P(_,c){if(1&_&&o._UZ(0,"cvc-user-popover",9),2&_){const a=o.oxw(2);o.Q6J("userId",a.user.id)}}function T(_,c){if(1&_&&(o.TgZ(0,"nz-tag",7),o.YNc(1,E,0,0,"ng-template",6),o.qZA(),o.YNc(2,P,1,1,"ng-template",null,8,o.W1O)),2&_){const a=o.MAs(3),M=o.oxw(),D=o.MAs(8);o.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",a)("nzPopoverTrigger",M.enablePopover?"hover":null),o.xp6(1),o.Q6J("ngTemplateOutlet",D)}}function f(_,c){}function U(_,c){if(1&_&&(o.TgZ(0,"nz-tag"),o.YNc(1,f,0,0,"ng-template",6),o.qZA()),2&_){o.oxw();const a=o.MAs(8);o.xp6(1),o.Q6J("ngTemplateOutlet",a)}}function A(_,c){}function I(_,c){if(1&_&&o.YNc(0,A,0,0,"ng-template",6),2&_){o.oxw();const a=o.MAs(2);o.Q6J("ngTemplateOutlet",a)}}function x(_,c){if(1&_&&(o._UZ(0,"i",10),o.ALo(1,"entityColor"),o.ALo(2,"titlecase"),o._uU(3)),2&_){const a=o.oxw();o.Q6J("nzType",a.icon)("nzTwotoneColor",o.lcZ(1,3,o.lcZ(2,5,a.user.role))),o.xp6(3),o.hij(" ",a.user.displayName,"\n")}}class u{constructor(){this.linked=!0,this.enablePopover=!0}set user(c){if(!c)throw new Error("user-tag User input requires TagLinkableUser.");switch(this._user=c,c.role){case"ADMIN":this.icon="civic-admin";break;case"EDITOR":this.icon="civic-editor";break;default:this.icon="civic-curator"}}get user(){return this._user}}u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=o.Xpm({type:u,selectors:[["cvc-user-tag"]],inputs:{user:"user",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","topCenter",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["userPopover",""],[3,"userId"],["nz-icon","","nzTheme","twotone",3,"nzType","nzTwotoneColor"]],template:function(c,a){if(1&c&&(o.YNc(0,O,3,2,"ng-container",0),o.YNc(1,T,4,4,"ng-template",null,1,o.W1O),o.YNc(3,U,2,1,"ng-template",null,2,o.W1O),o.YNc(5,I,1,1,"ng-template",null,3,o.W1O),o.YNc(7,x,4,7,"ng-template",null,4,o.W1O)),2&c){const M=o.MAs(6);o.Q6J("ngIf",a.linked)("ngIfElse",M)}},dependencies:[g.O5,g.tP,d.rH,n.lU,p.j,l.Ls,m.q,g.rS,v.a],encapsulation:2,changeDetection:0})},7345:(z,C,t)=>{t.d(C,{W:()=>s});var o=t(6895),g=t(9116),d=t(6581),n=t(6672),p=t(1102),l=t(6081),m=t(9444),v=t(4650);class s{}s.\u0275fac=function(E){return new(E||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[o.ez,g.Bz,d.$6,n.X,p.PV,m.s,l.J]})}}]); \ No newline at end of file diff --git a/server/public/6735.e326392aa1b68077.js b/server/public/6735.e326392aa1b68077.js new file mode 100644 index 000000000..b9f7db5a1 --- /dev/null +++ b/server/public/6735.e326392aa1b68077.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6735],{1835:(U,O,e)=>{e.d(O,{l:()=>x});var o=e(5879),h=e(6814),v=e(5695),C=e(7417),T=e(1887);const d=function(r){return{"matched-tag":r}};function g(r,p){if(1&r&&(o.TgZ(0,"span",2)(1,"nz-tag"),o._uU(2),o.qZA()()),2&r){const c=p.$implicit,t=o.oxw();o.Q6J("ngClass",o.VKq(2,d,t.matchingText&&c.toLowerCase().includes(t.matchingText))),o.xp6(2),o.Oqu(c)}}function m(r,p){if(1&r&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&r){const c=o.oxw(2);o.xp6(1),o.hij(" ",c.matchedHiddenCount," of ")}}function P(r,p){if(1&r&&(o.TgZ(0,"nz-tag",5),o._uU(1," +"),o.YNc(2,m,2,1,"span",6),o._uU(3),o.qZA()),2&r){const c=o.oxw(),t=o.MAs(5);o.Q6J("nzPopoverMouseEnterDelay",0)("nzPopoverContent",t),o.xp6(2),o.Q6J("ngIf",c.matchedHiddenCount>0),o.xp6(1),o.hij("",c.hiddenCount," ")}}function f(r,p){if(1&r&&(o.TgZ(0,"div",2)(1,"nz-tag"),o._uU(2),o.qZA()()),2&r){const c=p.$implicit,t=o.oxw(2);o.Q6J("ngClass",o.VKq(2,d,t.matchingText&&c.toLowerCase().includes(t.matchingText))),o.xp6(2),o.Oqu(c)}}function E(r,p){if(1&r&&(o.TgZ(0,"div",7)(1,"cvc-tag-list",0),o.YNc(2,f,3,4,"div",1),o.qZA()()),2&r){const c=o.oxw();o.xp6(2),o.Q6J("ngForOf",c.hiddenTags)}}let x=(()=>{class r{constructor(c){this.cdr=c,this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnChanges(c){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.hiddenTags){let c=this.matchingText.toLowerCase();this.hiddenTags.forEach(t=>{t.toLowerCase().includes(c)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0}}return r.\u0275fac=function(c){return new(c||r)(o.Y36(o.sBO))},r.\u0275cmp=o.Xpm({type:r,selectors:[["cvc-plain-tag-overflow"]],inputs:{tags:"tags",matchingText:"matchingText",maxDisplayCount:"maxDisplayCount"},features:[o.TTD],decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"]],template:function(c,t){1&c&&(o.TgZ(0,"cvc-tag-list",0),o.YNc(1,g,3,4,"span",1),o.TgZ(2,"span",2),o.YNc(3,P,4,4,"nz-tag",3),o.qZA(),o.YNc(4,E,3,1,"ng-template",null,4,o.W1O),o.qZA()),2&c&&(o.xp6(1),o.Q6J("ngForOf",t.displayedTags),o.xp6(1),o.Q6J("ngClass",o.VKq(3,d,t.matchedHiddenCount>0)),o.xp6(1),o.Q6J("ngIf",t.hiddenCount&&t.hiddenCount>0))},dependencies:[h.mk,h.sg,h.O5,v.j,C.lU,T.$],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0}),r})()},2966:(U,O,e)=>{e.d(O,{T:()=>d});var o=e(6814),h=e(366),v=e(5695),C=e(7417),T=e(5879);let d=(()=>{class g{}return g.\u0275fac=function(P){return new(P||g)},g.\u0275mod=T.oAB({type:g}),g.\u0275inj=T.cJS({imports:[o.ez,v.X,C.$6,h.$]}),g})()},6473:(U,O,e)=>{e.d(O,{d:()=>L});var z,o=e(655),h=e(4632),v=e(313),C=e(1791),T=e(5619),d=e(8645),g=e(5676),m=e(3997),P=e(812),f=e(836),E=e(2181),x=e(7398),r=e(3620),p=e(2460),c=e(4223),t=e(5879),D=e(6814),A=e(6223),Z=e(855),I=e(2962),S=e(551),M=e(9691),u=e(3740),K=e(5695),R=e(6109),B=e(6753),W=e(4764),b=e(8516),J=e(3489),w=e(1835),Q=e(4138),$=e(9857),H=e(4997),j=e(8091);function N(l,_){}function F(l,_){if(1&l&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,N,0,0,"ng-template",6),t.qZA(),t.BQk()),2&l){t.oxw();const n=t.MAs(6),i=t.MAs(8),a=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",n)("nzExtra",i),t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function Y(l,_){}const V=function(l){return{height:l}};function G(l,_){if(1&l&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,Y,0,0,"ng-template",6),t.qZA()()),2&l){const n=t.oxw(),i=t.MAs(6),a=t.MAs(8),s=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,V,n.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",i)("nzExtra",a),t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function X(l,_){if(1&l&&(t.TgZ(0,"tr",38)(1,"td",26),t._UZ(2,"cvc-source-tag",39),t.qZA(),t.TgZ(3,"td",40),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._UZ(6,"cvc-plain-tag-overflow",41),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td"),t._uU(12),t.qZA(),t.TgZ(13,"td"),t._uU(14),t.qZA(),t.TgZ(15,"td",42),t._UZ(16,"span",43),t.qZA(),t.TgZ(17,"td",44),t._uU(18),t.qZA(),t.TgZ(19,"td",44),t._uU(20),t.qZA()()),2&l){const n=_.$implicit,i=t.oxw(2);t.xp6(2),t.Q6J("source",n)("truncateLongName",!0),t.xp6(1),t.Q6J("nzTooltipTitle",i.isScrolling?"":n.name),t.xp6(1),t.hij(" ",n.name," "),t.xp6(2),t.Q6J("tags",n.authors)("maxDisplayCount",1)("matchingText",i.authorInput),t.xp6(2),t.hij(" ",n.displayType," "),t.xp6(2),t.hij(" ",n.citationId," "),t.xp6(2),t.hij(" ",n.publicationYear," "),t.xp6(2),t.hij(" ",n.journal," "),t.xp6(1),t.Q6J("nzTooltipTitle",n.openAccess?"Open":"Closed"),t.xp6(1),t.Q6J("nzType",n.openAccess?"unlock":"lock"),t.xp6(2),t.Oqu(n.evidenceItemCount),t.xp6(2),t.Oqu(n.sourceSuggestionCount)}}const q=function(){return[]},k=function(){return{x:"680px",y:"800px"}},y=function(){return["descend","ascend",null]};function tt(l,_){if(1&l){const n=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.scrollEvent$.next(a))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.sortChange$.next(a))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Citation "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Name "),t.qZA(),t.TgZ(12,"th",15),t._uU(13," Authors "),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Type "),t.qZA(),t.TgZ(16,"th",17),t._uU(17," ID "),t.qZA(),t.TgZ(18,"th",16),t._uU(19," Year "),t.qZA(),t.TgZ(20,"th",18),t._uU(21," Journal "),t.qZA(),t.TgZ(22,"th",19),t._UZ(23,"i",20),t.qZA(),t.TgZ(24,"th",21),t._UZ(25,"i",22),t._uU(26," Count "),t.qZA(),t.TgZ(27,"th",23),t._UZ(28,"i",24),t._uU(29," Count "),t.qZA()(),t.TgZ(30,"tr",25),t._UZ(31,"th",26),t.TgZ(32,"th")(33,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.nameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(34,"th")(35,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.authorInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(36,"th")(37,"nz-select",29),t.NdJ("ngModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())})("ngModelChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.sourceTypeInput=a)}),t._UZ(38,"nz-option",30)(39,"nz-option",31)(40,"nz-option",32),t.qZA()(),t.TgZ(41,"th")(42,"cvc-clearable-input-filter",33),t.NdJ("inputModelChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.citationIdInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(43,"th")(44,"cvc-clearable-input-filter",33),t.NdJ("inputModelChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.yearInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(45,"th")(46,"cvc-clearable-input-filter",33),t.NdJ("inputModelChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.journalInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(47,"th",34)(48,"nz-select",29),t.NdJ("ngModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())})("ngModelChange",function(a){t.CHM(n);const s=t.oxw();return t.KtG(s.openAccessInput=a)}),t._UZ(49,"nz-option",35)(50,"nz-option",36),t.qZA()(),t._UZ(51,"th",34)(52,"th",34),t.qZA()(),t.TgZ(53,"tbody"),t.YNc(54,X,21,15,"ng-template",37),t.qZA()()}if(2&l){const n=t.oxw();t.Q6J("nzData",t.lcZ(2,38,n.row$)||t.DdM(46,q))("nzLoading",!t.lcZ(3,40,n.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,42,n.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,44,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",t.DdM(47,k))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(10),t.Q6J("nzColumnKey",n.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.Authors)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.SourceType)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.CitationId)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.Year)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.Journal)("nzSortFn",!0),t.xp6(4),t.Q6J("nzColumnKey",n.sortColumns.EvidenceCount)("nzSortFn",!0)("nzSortDirections",t.DdM(48,y)),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.SuggestionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(49,y)),t.xp6(6),t.Q6J("inputModel",n.nameInput),t.xp6(2),t.Q6J("inputModel",n.authorInput),t.xp6(2),t.Q6J("ngModel",n.sourceTypeInput),t.xp6(5),t.Q6J("inputModel",n.citationIdInput),t.xp6(2),t.Q6J("inputModel",n.yearInput),t.xp6(2),t.Q6J("inputModel",n.journalInput),t.xp6(2),t.Q6J("ngModel",n.openAccessInput),t.xp6(1),t.Q6J("nzValue",!0),t.xp6(1),t.Q6J("nzValue",!1)}}function nt(l,_){}function et(l,_){if(1&l&&(t.ynx(0),t.YNc(1,nt,0,0,"ng-template",6),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function ot(l,_){if(1&l&&(t.ynx(0),t._uU(1),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.hij(" ",n.cvcTitle," ")}}function _t(l,_){if(1&l&&(t.YNc(0,et,2,1,"ng-container",45),t.YNc(1,ot,2,1,"ng-container",45),t.TgZ(2,"span",46),t._UZ(3,"cvc-table-counts",47),t.qZA()),2&l){const n=t.oxw();t.Q6J("ngIf",n.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",n.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",n.connection$)}}function at(l,_){1&l&&(t.TgZ(0,"nz-tag",50),t._UZ(1,"i",51),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function lt(l,_){if(1&l&&(t.YNc(0,at,4,0,"nz-tag",48),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",49),t.ALo(3,"ngrxPush")),2&l){const n=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,n.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,n.noMoreRows$))}}let L=((z=class{set initialUserFilters(_){_&&Object.assign(this,_)}constructor(_,n){this.gql=_,this.cdr=n,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=v.kQl,this.noMoreRows$=new T.X(!1),this.scrollEvent$=new T.X("stop"),this.sortChange$=new d.x,this.filterChange$=new d.x,this.scrollIndex$=new d.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,clinicalTrialId:this.clinicalTrialId}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,c.j)("loading"),(0,m.x)(),(0,P.o)(_=>!1!==_,!0)),this.moreLoading$=this.result$.pipe((0,c.j)("loading"),(0,m.x)(),(0,f.T)(2)),this.connection$=this.result$.pipe((0,c.j)("data","browseSources"),(0,E.h)(g.ep)),this.row$=this.connection$.pipe((0,c.j)("edges"),(0,E.h)(g.ep),(0,x.U)(_=>_.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,c.j)("pageInfo"),(0,E.h)(g.ep)),this.sortChange$.pipe((0,C.t)(this)).subscribe(_=>{this.queryRef.refetch({sortBy:(0,h._)(_)})}),this.filterChange$.pipe((0,r.b)(500),(0,C.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,x.U)(_=>"stop"!==_),(0,m.x)(),(0,C.t)(this)).subscribe(_=>{this.isScrolling=_,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,E.h)(_=>"bottom"===_),(0,p.M)(this.pageInfo$),(0,x.U)(([_,n])=>n),(0,C.t)(this)).subscribe(_=>{_.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({citationId:this.citationIdInput?+this.citationIdInput:void 0,author:this.authorInput,year:this.yearInput?+this.yearInput:void 0,journal:this.journalInput,name:this.nameInput,sourceType:this.sourceTypeInput,openAccess:this.openAccessInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(_,n){return n?.id}}).\u0275fac=function(_){return new(_||z)(t.Y36(v.IZ6),t.Y36(t.sBO))},z.\u0275cmp=t.Xpm({type:z,selectors:[["cvc-sources-table"]],inputs:{cvcHeight:"cvcHeight",clinicalTrialId:"clinicalTrialId",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","400px","nzLeft",""],["nzWidth","200px",3,"nzColumnKey","nzSortFn"],["nzWidth","275px",3,"nzColumnKey","nzSortFn"],["nzWidth","75px",3,"nzColumnKey","nzSortFn"],["nzWidth","80px",3,"nzColumnKey","nzSortFn"],["nzWidth","150px",3,"nzColumnKey","nzSortFn"],["nzWidth","80px","nzRight","","nz-tooltip","","nzTooltipTitle","Open Access"],["nz-icon","","nzType","unlock"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Suggestion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-queue"],[1,"filter-row"],["nzLeft",""],["placeholderText","Name",3,"inputModel","inputModelChange"],["placeholderText","Authors",3,"inputModel","inputModelChange"],["nzSize","small","nzAllowClear","","nzPlaceHolder","Choose",3,"ngModel","ngModelChange"],["nzValue","PUBMED","nzLabel","PubMed"],["nzValue","ASCO","nzLabel","ASCO"],["nzValue","ASH","nzLabel","ASH"],[3,"inputModel","inputModelChange"],["nzRight",""],["nzLabel","Open",3,"nzValue"],["nzLabel","Closed",3,"nzValue"],["nz-virtual-scroll",""],[1,"data-row"],[3,"source","truncateLongName"],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],[3,"tags","maxDisplayCount","matchingText"],["nzRight","","nz-tooltip","",3,"nzTooltipTitle"],["nz-icon","","nzTheme","outline",3,"nzType"],["nzAlign","right","nzRight",""],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(_,n){if(1&_&&(t.YNc(0,F,3,3,"ng-container",0),t.YNc(1,G,3,6,"ng-template",null,1,t.W1O),t.YNc(3,tt,55,50,"ng-template",null,2,t.W1O),t.YNc(5,_t,4,3,"ng-template",null,3,t.W1O),t.YNc(7,lt,4,6,"ng-template",null,4,t.W1O)),2&_){const i=t.MAs(2);t.Q6J("ngIf",!n.cvcHeight)("ngIfElse",i)}},dependencies:[D.O5,D.tP,D.PC,A.JJ,A.On,Z.w,I.bd,S.Ls,M.Ip,M.Vq,u.N8,u.qD,u.Uo,u._C,u.Om,u.p0,u.$Z,u.zu,u.qn,u.UX,K.j,R.SY,B.D,W.q,b.p,J.H,w.l,Q.T,$.B,H.y,j.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"],changeDetection:0}),z);L=(0,o.gn)([(0,C.c)()],L)},6078:(U,O,e)=>{e.d(O,{h:()=>S});var o=e(6814),h=e(6223),v=e(7856),C=e(9154),T=e(2966),d=e(2989),g=e(2524),m=e(9175),P=e(4742),f=e(9312),E=e(2840),x=e(2962),r=e(551),p=e(9691),c=e(3740),t=e(5695),D=e(6109),A=e(2392),Z=e(8641),I=e(5879);let S=(()=>{class M{}return M.\u0275fac=function(K){return new(K||M)},M.\u0275mod=I.oAB({type:M}),M.\u0275inj=I.cJS({imports:[o.ez,h.u5,E.sL,x.vh,r.PV,p.LV,c.HQ,t.X,D.cg,A.ZJ,g.s,m.n,P.c,v.k,C.y,T.T,Z.s,d.T,f.w]}),M})()}}]); \ No newline at end of file diff --git a/server/public/681.7bcc292db3618f14.js b/server/public/681.7bcc292db3618f14.js deleted file mode 100644 index 9dd426800..000000000 --- a/server/public/681.7bcc292db3618f14.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[681],{9476:(U,T,e)=>{e.d(T,{L:()=>r});var n=e(6895),m=e(9116),t=e(6672),u=e(1102),x=e(3679),v=e(4989),z=e(9194),M=e(1971),A=e(2635),O=e(5473),_=e(4650);class d{}d.\u0275fac=function(f){return new(f||d)},d.\u0275mod=_.oAB({type:d}),d.\u0275inj=_.cJS({imports:[n.ez,A._N,A.pP,M.vh,x.Jb,z.q6,v.X,O.H]});var s=e(6581);class r{}r.\u0275fac=function(f){return new(f||r)},r.\u0275mod=_.oAB({type:r}),r.\u0275inj=_.cJS({imports:[n.ez,m.Bz,t.X,u.PV,s.$6,d]})},3220:(U,T,e)=>{e.d(T,{l:()=>d});var n=e(4650),m=e(6895),t=e(6672),u=e(6581),x=e(6715);const v=function(s){return{"matched-tag":s}};function z(s,r){if(1&s&&(n.TgZ(0,"span",2)(1,"nz-tag"),n._uU(2),n.qZA()()),2&s){const g=r.$implicit,f=n.oxw();n.Q6J("ngClass",n.VKq(2,v,f.matchingText&&g.toLowerCase().includes(f.matchingText))),n.xp6(2),n.Oqu(g)}}function M(s,r){if(1&s&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&s){const g=n.oxw(2);n.xp6(1),n.hij(" ",g.matchedHiddenCount," of ")}}function A(s,r){if(1&s&&(n.TgZ(0,"nz-tag",5),n._uU(1," +"),n.YNc(2,M,2,1,"span",6),n._uU(3),n.qZA()),2&s){const g=n.oxw(),f=n.MAs(5);n.Q6J("nzPopoverMouseEnterDelay",0)("nzPopoverContent",f),n.xp6(2),n.Q6J("ngIf",g.matchedHiddenCount>0),n.xp6(1),n.hij("",g.hiddenCount," ")}}function O(s,r){if(1&s&&(n.TgZ(0,"div",2)(1,"nz-tag"),n._uU(2),n.qZA()()),2&s){const g=r.$implicit,f=n.oxw(2);n.Q6J("ngClass",n.VKq(2,v,f.matchingText&&g.toLowerCase().includes(f.matchingText))),n.xp6(2),n.Oqu(g)}}function _(s,r){if(1&s&&(n.TgZ(0,"div",7)(1,"cvc-tag-list",0),n.YNc(2,O,3,4,"div",1),n.qZA()()),2&s){const g=n.oxw();n.xp6(2),n.Q6J("ngForOf",g.hiddenTags)}}class d{constructor(r){this.cdr=r,this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnChanges(r){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.hiddenTags){let r=this.matchingText.toLowerCase();this.hiddenTags.forEach(g=>{g.toLowerCase().includes(r)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0}}d.\u0275fac=function(r){return new(r||d)(n.Y36(n.sBO))},d.\u0275cmp=n.Xpm({type:d,selectors:[["cvc-plain-tag-overflow"]],inputs:{tags:"tags",matchingText:"matchingText",maxDisplayCount:"maxDisplayCount"},features:[n.TTD],decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"]],template:function(r,g){1&r&&(n.TgZ(0,"cvc-tag-list",0),n.YNc(1,z,3,4,"span",1),n.TgZ(2,"span",2),n.YNc(3,A,4,4,"nz-tag",3),n.qZA(),n.YNc(4,_,3,1,"ng-template",null,4,n.W1O),n.qZA()),2&r&&(n.xp6(1),n.Q6J("ngForOf",g.displayedTags),n.xp6(1),n.Q6J("ngClass",n.VKq(3,v,g.matchedHiddenCount>0)),n.xp6(1),n.Q6J("ngIf",g.hiddenCount&&g.hiddenCount>0))},dependencies:[m.mk,m.sg,m.O5,t.j,u.lU,x.$],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0})},3650:(U,T,e)=>{e.d(T,{T:()=>v});var n=e(6895),m=e(897),t=e(6672),u=e(6581),x=e(4650);class v{}v.\u0275fac=function(M){return new(M||v)},v.\u0275mod=x.oAB({type:v}),v.\u0275inj=x.cJS({imports:[n.ez,t.X,u.$6,m.$]})},392:(U,T,e)=>{e.d(T,{T:()=>E});var n=e(4650),m=e(6895),t=e(6672),u=e(6581),x=e(6715),v=e(5797),z=e(7491),M=e(5749),A=e(3965),O=e(5457),_=e(7701);const d=function(l){return{"matched-tag":l}},s=function(l,p){return{tagType:l,tag:p}};function r(l,p){if(1&l&&(n.TgZ(0,"div",2),n.GkF(1,6),n.qZA()),2&l){const c=p.$implicit,P=n.oxw(),D=n.MAs(7);n.Q6J("ngClass",n.VKq(3,d,P.matchingText&&c.name.toLowerCase().includes(P.matchingText))),n.xp6(1),n.Q6J("ngTemplateOutlet",D)("ngTemplateOutletContext",n.WLB(5,s,P.tagType,c))}}function g(l,p){if(1&l&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&l){const c=n.oxw(2);n.xp6(1),n.hij(" ",c.matchedHiddenCount," of ")}}function f(l,p){if(1&l&&(n.TgZ(0,"nz-tag",7),n._uU(1," +"),n.YNc(2,g,2,1,"span",8),n._uU(3),n.qZA()),2&l){const c=n.oxw(),P=n.MAs(5);n.Q6J("nzPopoverContent",P),n.xp6(2),n.Q6J("ngIf",c.matchedHiddenCount>0),n.xp6(1),n.hij("",c.hiddenCount," ")}}function B(l,p){if(1&l&&(n.TgZ(0,"div",2),n.ynx(1,10),n.GkF(2,6),n.BQk(),n.qZA()),2&l){const c=p.$implicit,P=n.oxw(2),D=n.MAs(7);n.Q6J("ngClass",n.VKq(4,d,P.matchingText&&c.name.toLowerCase().includes(P.matchingText))),n.xp6(1),n.Q6J("ngSwitch",P.tagType),n.xp6(1),n.Q6J("ngTemplateOutlet",D)("ngTemplateOutletContext",n.WLB(6,s,P.tagType,c))}}function R(l,p){if(1&l&&(n.TgZ(0,"div",9)(1,"cvc-tag-list",0),n.YNc(2,B,3,9,"div",1),n.qZA()()),2&l){const c=n.oxw();n.xp6(2),n.Q6J("ngForOf",c.hiddenTags)}}function b(l,p){if(1&l&&(n.ynx(0),n._UZ(1,"cvc-therapy-tag",12),n.BQk()),2&l){const c=n.oxw().tag;n.xp6(1),n.Q6J("therapy",c)("truncateLongName",!0)}}function I(l,p){if(1&l&&(n.ynx(0),n._UZ(1,"cvc-disease-tag",13),n.BQk()),2&l){const c=n.oxw().tag;n.xp6(1),n.Q6J("disease",c)("truncateLongName",!0)}}function Y(l,p){if(1&l&&(n.ynx(0),n._UZ(1,"cvc-gene-tag",14),n.BQk()),2&l){const c=n.oxw().tag;n.xp6(1),n.Q6J("gene",c)("truncateLongName",!0)}}function y(l,p){if(1&l&&(n.ynx(0),n._UZ(1,"cvc-organization-tag",15),n.BQk()),2&l){const c=n.oxw().tag;n.xp6(1),n.Q6J("org",c)}}function N(l,p){if(1&l&&(n.ynx(0),n._UZ(1,"cvc-variant-tag",16),n.BQk()),2&l){const c=n.oxw().tag;n.xp6(1),n.Q6J("variant",c)}}function $(l,p){if(1&l&&(n.ynx(0),n._UZ(1,"cvc-variant-type-tag",17),n.BQk()),2&l){const c=n.oxw().tag;n.xp6(1),n.Q6J("variantType",c)}}function L(l,p){1&l&&(n.ynx(0,10),n.YNc(1,b,2,2,"ng-container",11),n.YNc(2,I,2,2,"ng-container",11),n.YNc(3,Y,2,2,"ng-container",11),n.YNc(4,y,2,1,"ng-container",11),n.YNc(5,N,2,1,"ng-container",11),n.YNc(6,$,2,1,"ng-container",11),n.BQk()),2&l&&(n.Q6J("ngSwitch",p.tagType),n.xp6(1),n.Q6J("ngSwitchCase","therapy"),n.xp6(1),n.Q6J("ngSwitchCase","disease"),n.xp6(1),n.Q6J("ngSwitchCase","gene"),n.xp6(1),n.Q6J("ngSwitchCase","organization"),n.xp6(1),n.Q6J("ngSwitchCase","variant"),n.xp6(1),n.Q6J("ngSwitchCase","variant-type"))}class E{constructor(p){this.cdr=p,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(p){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let p=this.matchingText.toLowerCase();this.hiddenTags.forEach(c=>{c.name.toLowerCase().includes(p)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}E.\u0275fac=function(p){return new(p||E)(n.Y36(n.sBO))},E.\u0275cmp=n.Xpm({type:E,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[n.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(p,c){1&p&&(n.TgZ(0,"cvc-tag-list",0),n.YNc(1,r,2,8,"div",1),n.TgZ(2,"div",2),n.YNc(3,f,4,3,"nz-tag",3),n.qZA(),n.YNc(4,R,3,1,"ng-template",null,4,n.W1O),n.qZA(),n.YNc(6,L,7,7,"ng-template",null,5,n.W1O)),2&p&&(n.xp6(1),n.Q6J("ngForOf",c.displayedTags),n.xp6(1),n.Q6J("ngClass",n.VKq(3,d,c.matchedHiddenCount>0)),n.xp6(1),n.Q6J("ngIf",c.hiddenCount&&c.hiddenCount>0))},dependencies:[m.mk,m.sg,m.O5,m.tP,m.RF,m.n9,t.j,u.lU,x.$,v.T,z.n,M.m,A.H,O.I,_.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0})},7946:(U,T,e)=>{e.d(T,{x:()=>d});var n=e(6895),m=e(897),t=e(6672),u=e(6581),x=e(8845),v=e(9476),z=e(1229),M=e(7043),A=e(701),O=e(8645),_=e(4650);class d{}d.\u0275fac=function(r){return new(r||d)},d.\u0275mod=_.oAB({type:d}),d.\u0275inj=_.cJS({imports:[n.ez,t.X,u.$6,m.$,A.N,x.Q,v.L,z.U,M.Q,O.M]})},8645:(U,T,e)=>{e.d(T,{M:()=>s});var n=e(6895),m=e(9116),t=e(6672),u=e(1971),x=e(4989),v=e(9194),z=e(2635),M=e(1102),A=e(9444),O=e(4650);class _{}_.\u0275fac=function(g){return new(g||_)},_.\u0275mod=O.oAB({type:_}),_.\u0275inj=O.cJS({imports:[n.ez,z._N,z.pP,M.PV,u.vh,v.q6,A.s,x.X]});var d=e(6581);class s{}s.\u0275fac=function(g){return new(g||s)},s.\u0275mod=O.oAB({type:s}),s.\u0275inj=O.cJS({imports:[n.ez,m.Bz,M.PV,t.X,d.$6,_]})},681:(U,T,e)=>{e.r(T),e.d(T,{GenesModule:()=>Q});var n=e(6895),m=e(9116),t=e(4650);class u{constructor(){}}u.\u0275fac=function(a){return new(a||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["app-genes"]],decls:1,vars:0,template:function(a,o){1&a&&t._UZ(0,"router-outlet")},dependencies:[m.lC],encapsulation:2});var x=e(4006),v=e(1229),z=e(4125),M=e(2994),A=e(3650),O=e(8525),_=e(7946),d=e(9444),s=e(3111),r=e(1433),g=e(9240),f=e(2635),B=e(6616),R=e(1971),b=e(6704),I=e(1102),Y=e(5635),y=e(6675),N=e(6672),$=e(7570),L=e(8823);class E{}E.\u0275fac=function(a){return new(a||E)},E.\u0275mod=t.oAB({type:E}),E.\u0275inj=t.cJS({imports:[n.ez,x.u5,f._N,f.pP,B.sL,R.vh,b.U5,I.PV,Y.o7,y.HQ,N.X,$.cg,L.ZJ,s.n,r.c,z.k,v.U,M.y,A.T,d.s,O.T,g.w,_.x]});var l=e(5630),p=e(3679),c=e(5655),P=e(6903);class D{}D.\u0275fac=function(a){return new(a||D)},D.\u0275mod=t.oAB({type:D}),D.\u0275inj=t.cJS({imports:[n.ez,B.sL,I.PV,P.zf,L.ZJ,c.KJ,p.Jb,d.s,l.D,E]});var S,k=e(7044),et=e(8992),ot=e(655),at=e(3154),tt=e(7630),w=e(9933),W=e(7579),nt=e(1135),j=e(3240),V=e(1884),it=e(2529),lt=e(5684),F=e(9300),X=e(4004),ct=e(8372),st=e(1365),G=e(6579),rt=e(5851),gt=e(7451),pt=e(2166),dt=e(3965),ht=e(3388),mt=e(3220),vt=e(3667),_t=e(9947),Ct=e(392);function ut(i,a){}function ft(i,a){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,ut,0,0,"ng-template",6),t.qZA(),t.BQk()),2&i){t.oxw();const o=t.MAs(6),C=t.MAs(8),h=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",o)("nzExtra",C),t.xp6(1),t.Q6J("ngTemplateOutlet",h)}}function Tt(i,a){}const xt=function(i){return{height:i}};function zt(i,a){if(1&i&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,Tt,0,0,"ng-template",6),t.qZA()()),2&i){const o=t.oxw(),C=t.MAs(6),h=t.MAs(8),Z=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,xt,o.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",C)("nzExtra",h),t.xp6(1),t.Q6J("ngTemplateOutlet",Z)}}function Mt(i,a){if(1&i&&(t.TgZ(0,"tr",30)(1,"td",26),t._UZ(2,"cvc-gene-tag",31),t.qZA(),t.TgZ(3,"td",26),t._UZ(4,"cvc-plain-tag-overflow",32),t.qZA(),t.TgZ(5,"td"),t._UZ(6,"cvc-tag-overflow",33),t.qZA(),t.TgZ(7,"td"),t._UZ(8,"cvc-tag-overflow",34),t.qZA(),t.TgZ(9,"td",35),t._uU(10),t.qZA(),t.TgZ(11,"td",35),t._uU(12),t.qZA(),t.TgZ(13,"td",35),t._uU(14),t.qZA(),t.TgZ(15,"td",35),t._uU(16),t.qZA()()),2&i){const o=a.$implicit,C=t.oxw(2);t.xp6(2),t.Q6J("gene",o),t.xp6(2),t.Q6J("tags",o.geneAliases)("matchingText",C.aliasInput),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",o.diseases)("matchingText",C.diseaseInput),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",o.therapies)("matchingText",C.therapyInput),t.xp6(2),t.hij(" ",o.molecularProfileCount," "),t.xp6(2),t.hij(" ",o.variantCount," "),t.xp6(2),t.hij(" ",o.evidenceItemCount," "),t.xp6(2),t.hij(" ",o.assertionCount," ")}}const Ot=function(){return[]},Pt=function(){return{x:"680px",y:"800px"}},H=function(){return["descend","ascend",null]};function yt(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(h){t.CHM(o);const Z=t.oxw();return t.KtG(Z.scrollEvent$.next(h))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(h){t.CHM(o);const Z=t.oxw();return t.KtG(Z.sortChange$.next(h))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Aliases "),t.qZA(),t.TgZ(12,"th",15),t._uU(13,"Diseases"),t.qZA(),t.TgZ(14,"th",16),t._uU(15,"Therapies"),t.qZA(),t.TgZ(16,"th",17),t._UZ(17,"i",18),t._uU(18," Count "),t.qZA(),t.TgZ(19,"th",19),t._UZ(20,"i",20),t._uU(21," Count "),t.qZA(),t.TgZ(22,"th",21),t._UZ(23,"i",22),t._uU(24," Count "),t.qZA(),t.TgZ(25,"th",23),t._UZ(26,"i",24),t._uU(27," Count "),t.qZA()(),t.TgZ(28,"tr",25)(29,"th",26)(30,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(o);const Z=t.oxw();return t.KtG(Z.nameInput=h)})("inputModelChange",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t.TgZ(31,"th",26)(32,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(o);const Z=t.oxw();return t.KtG(Z.aliasInput=h)})("inputModelChange",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t.TgZ(33,"th")(34,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(o);const Z=t.oxw();return t.KtG(Z.diseaseInput=h)})("inputModelChange",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t.TgZ(35,"th")(36,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(h){t.CHM(o);const Z=t.oxw();return t.KtG(Z.therapyInput=h)})("inputModelChange",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.filterChange$.next())}),t.qZA()(),t._UZ(37,"th",28)(38,"th",28)(39,"th",28)(40,"th",28),t.qZA()(),t.TgZ(41,"tbody"),t.YNc(42,Mt,17,13,"ng-template",29),t.qZA()()}if(2&i){const o=t.oxw();t.Q6J("nzData",t.lcZ(2,29,o.row$)||t.DdM(37,Ot))("nzLoading",!t.lcZ(3,31,o.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",o.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,33,o.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,35,o.scrollIndex$))("nzVirtualForTrackBy",o.trackByIndex)("nzScroll",t.DdM(38,Pt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",o.sortColumns.EntrezSymbol)("nzSortFn",!0),t.xp6(8),t.Q6J("nzColumnKey",o.sortColumns.MolecularProfileCount)("nzSortFn",!0)("nzSortDirections",t.DdM(39,H)),t.xp6(3),t.Q6J("nzColumnKey",o.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(40,H)),t.xp6(3),t.Q6J("nzColumnKey",o.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(41,H)),t.xp6(3),t.Q6J("nzColumnKey",o.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(42,H)),t.xp6(5),t.Q6J("inputModel",o.nameInput),t.xp6(2),t.Q6J("inputModel",o.aliasInput),t.xp6(2),t.Q6J("inputModel",o.diseaseInput),t.xp6(2),t.Q6J("inputModel",o.therapyInput)}}function Zt(i,a){}function At(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Zt,0,0,"ng-template",6),t.BQk()),2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",o.cvcTitleTemplate)}}function Et(i,a){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const o=t.oxw(2);t.xp6(1),t.hij(" ",o.cvcTitle," ")}}function Dt(i,a){if(1&i&&(t.YNc(0,At,2,1,"ng-container",36),t.YNc(1,Et,2,1,"ng-container",36),t.TgZ(2,"span",37),t._UZ(3,"cvc-table-counts",38),t.qZA()),2&i){const o=t.oxw();t.Q6J("ngIf",o.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",o.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",o.connection$)}}function Ut(i,a){1&i&&(t.TgZ(0,"nz-tag",41),t._UZ(1,"i",42),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function It(i,a){if(1&i&&(t.YNc(0,Ut,4,0,"nz-tag",39),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",40),t.ALo(3,"ngrxPush")),2&i){const o=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,o.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,o.noMoreRows$))}}let q=((S=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,o){this.query=a,this.cdr=o,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=tt.Fvz,this.debouncedQuery=new W.x,this.noMoreRows$=new nt.X(!1),this.scrollEvent$=new nt.X("stop"),this.sortChange$=new W.x,this.filterChange$=new W.x,this.scrollIndex$=new W.x}ngOnInit(){this.queryRef=this.query.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,G.j)("loading"),(0,V.x)(),(0,it.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,G.j)("loading"),(0,V.x)(),(0,lt.T)(2)),this.connection$=this.result$.pipe((0,G.j)("data","browseGenes"),(0,F.h)(j.ep)),this.row$=this.connection$.pipe((0,G.j)("edges"),(0,F.h)(j.ep),(0,X.U)(a=>a.map(o=>o.node))),this.pageInfo$=this.connection$.pipe((0,G.j)("pageInfo"),(0,F.h)(j.ep)),this.sortChange$.pipe((0,w.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,at._)(a)})}),this.filterChange$.pipe((0,ct.b)(500),(0,w.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,X.U)(a=>"stop"!==a),(0,V.x)(),(0,w.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,F.h)(a=>"bottom"===a),(0,st.M)(this.pageInfo$),(0,X.U)(([a,o])=>o),(0,w.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({entrezSymbol:this.nameInput,geneAlias:this.aliasInput,diseaseName:this.diseaseInput,therapyName:this.therapyInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}onModelUpdated(a){this.debouncedQuery.next()}trackByIndex(a,o){return o?.id}}).\u0275fac=function(a){return new(a||S)(t.Y36(tt.q8c),t.Y36(t.sBO))},S.\u0275cmp=t.Xpm({type:S,selectors:[["cvc-genes-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzLeft","","nzWidth","200px"],["nzWidth","250px"],["nzWidth","225px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Molecular Profile Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-molecularprofile"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"gene"],[3,"tags","matchingText"],["tagType","disease",3,"maxDisplayCount","tags","matchingText"],["tagType","therapy",3,"maxDisplayCount","tags","matchingText"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,o){if(1&a&&(t.YNc(0,ft,3,3,"ng-container",0),t.YNc(1,zt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,yt,43,43,"ng-template",null,2,t.W1O),t.YNc(5,Dt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,It,4,6,"ng-template",null,4,t.W1O)),2&a){const C=t.MAs(2);t.Q6J("ngIf",!o.cvcHeight)("ngIfElse",C)}},dependencies:[n.O5,n.tP,n.PC,k.w,R.bd,I.Ls,y.N8,y.qD,y.Uo,y._C,y.Om,y.p0,y.$Z,y.zu,y.qn,y.UX,N.j,$.SY,rt.D,gt.q,pt.p,dt.H,ht.H,mt.l,vt.B,_t.y,Ct.T,f.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"],changeDetection:0}),S);q=(0,ot.gn)([(0,w.c)()],q);var St=e(160);function Jt(i,a){1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t._uU(2," View Gene Model Docs "),t.qZA())}function Qt(i,a){1&i&&(t.TgZ(0,"a",15),t._UZ(1,"i",14),t._uU(2," View Gene Curation Docs "),t.qZA())}class K{constructor(){}ngOnInit(){}}K.\u0275fac=function(a){return new(a||K)},K.\u0275cmp=t.Xpm({type:K,selectors:[["cvc-genes-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Genes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock",""]],template:function(a,o){1&a&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Genes"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," CIViC Genes include a gene-level summary, a link to the Drug Gene Interation Database, and extensive gene details from MyGene.info. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,Jt,3,0,"a",8),t.YNc(15,Qt,3,0,"a",9),t.qZA()()(),t.TgZ(16,"nz-row")(17,"nz-col",10)(18,"div",11),t._UZ(19,"cvc-genes-table",12),t.qZA()()()()()),2&a&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"Gene")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},dependencies:[B.ix,k.w,I.Ls,P.NU,P.$1,L.ZU,c.$O,c.u5,p.t3,p.SK,et.I,q,St.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});const Bt=[{path:"",component:u,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:K,data:{breadcrumb:"Home"}},{path:":geneId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([e.e(9397),e.e(6724),e.e(9716),e.e(5566),e.e(5291),e.e(2043),e.e(4355),e.e(97),e.e(5300)]).then(e.bind(e,1505)).then(i=>i.GenesDetailModule)},{path:"revise",loadChildren:()=>Promise.all([e.e(8592),e.e(9409)]).then(e.bind(e,6316)).then(i=>i.GenesReviseModule),data:{breadcrumb:"Revise"}}]}]}];class J{}J.\u0275fac=function(a){return new(a||J)},J.\u0275mod=t.oAB({type:J}),J.\u0275inj=t.cJS({imports:[m.Bz.forChild(Bt),D,m.Bz]});class Q{}Q.\u0275fac=function(a){return new(a||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[n.ez,J]})}}]); \ No newline at end of file diff --git a/server/public/7121.c94d9e6c2cb75b61.js b/server/public/7121.c94d9e6c2cb75b61.js new file mode 100644 index 000000000..2ca806c2a --- /dev/null +++ b/server/public/7121.c94d9e6c2cb75b61.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7121],{7745:(V,M,e)=>{function u(g,n){const P=(t,S)=>{let v;for(let z of t)if(z.fieldGroup)v=P(z.fieldGroup,S);else if(z.key===S){v=z;break}return v},A=(t,S)=>{for(let v of Object.keys(S))if(S[v]instanceof Object&&!Array.isArray(S[v]))A(t,S[v]);else{const z=P(t,v);z&&(z.defaultValue=S[v])}return t};return A(g,n)}e.d(M,{Z:()=>u})},9350:(V,M,e)=>{e.r(M),e.d(M,{AssertionsReviseModule:()=>H});var u=e(6814),g=e(4190),n=e(7921),P=e(7398),A=e(4223),t=e(5879),S=e(313),v=e(951),z=e(6254),x=e(2574),E=e(551),O=e(2392),o=e(2606),k=e(3145),T=e(95),D=e(8178),w=e(2616),b=e(8091);function L(s,f){if(1&s&&(t.TgZ(0,"span",12)(1,"strong"),t._uU(2),t.qZA(),t._uU(3," Parents:"),t.qZA()),2&s){const p=t.oxw(2).ngIf;t.xp6(2),t.Oqu(p.name)}}function B(s,f){if(1&s&&(t.TgZ(0,"span",13),t._UZ(1,"cvc-molecular-profile-tag",14),t.qZA()),2&s){const p=t.oxw(2).ngIf;t.xp6(1),t.Q6J("molecularProfile",p.molecularProfile)("enablePopover",!1)}}function I(s,f){1&s&&(t.TgZ(0,"nz-space",9),t.YNc(1,L,4,1,"span",10),t.YNc(2,B,2,2,"span",11),t.qZA())}function c(s,f){1&s&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function d(s,f){1&s&&(t.TgZ(0,"nz-row",15)(1,"div",16),t._UZ(2,"cvc-login-prompt"),t.qZA()())}function r(s,f){if(1&s&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.YNc(2,I,3,0,"ng-template",null,2,t.W1O),t.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),t._uU(6," REVISE "),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t._uU(9),t.qZA(),t.TgZ(10,"nz-page-header-content")(11,"div",6),t.YNc(12,c,2,0,"div",7),t.ALo(13,"ngrxPush"),t.YNc(14,d,3,0,"ng-template",null,8,t.W1O),t.qZA()()(),t.BQk()),2&s){const p=f.ngIf,N=t.MAs(3),F=t.MAs(15),Q=t.oxw();t.xp6(1),t.Q6J("displayName",p.name)("relationsTpl",N),t.xp6(6),t.Q6J("nzTwotoneColor",t.lcZ(8,6,"Assertion")),t.xp6(2),t.hij(" ",p.name," "),t.xp6(3),t.Q6J("ngIf",t.lcZ(13,8,Q.isSignedIn$))("ngIfElse",F)}}let a=(()=>{class s{constructor(p,N,F){this.gql=p,this.route=N,this.viewerService=F,this.routeSub=this.route.params.subscribe(Q=>{let W=this.gql.watch({assertionId:+Q.assertionId}).valueChanges;this.loading$=W.pipe((0,A.j)("loading"),(0,n.O)(!0)),this.assertion$=W.pipe((0,A.j)("data","assertion"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,P.U)(p=>p.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return s.\u0275fac=function(p){return new(p||s)(t.Y36(S.A94),t.Y36(g.gz),t.Y36(v.a))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-assertions-revise-view"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["assertionRelations",""],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(p,N){1&p&&(t.YNc(0,r,16,10,"ng-container",0),t.ALo(1,"async")),2&p&&t.Q6J("ngIf",t.lcZ(1,1,N.assertion$))},dependencies:[u.O5,g.lC,z.$O,z.u9,z.u5,x.NU,x.$1,E.Ls,O.ZU,o.p,k.I,T.t3,T.SK,D.u,u.Ov,w.a,b.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),s})();var y=e(2962),l=e(4139),h=e(6902);let _=(()=>{class s{}return s.\u0275fac=function(p){return new(p||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[u.ez,T.Jb,y.vh,l.H0,x.zf,h.P]}),s})();var Z=e(4263);function R(s,f){if(1&s&&(t.ynx(0),t._UZ(1,"cvc-assertion-revise-form",2),t.BQk()),2&s){const p=t.oxw();t.xp6(1),t.Q6J("assertionId",p.assertionId)}}function U(s,f){1&s&&t._uU(0,"Loading Assertion...")}const C=[{path:"",component:a,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class s{constructor(p){this.route=p,this.routeParams$=this.route.params.subscribe(N=>{this.assertionId=+N.assertionId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return s.\u0275fac=function(p){return new(p||s)(t.Y36(g.gz))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-assertions-suggest-page"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingAssertion",""],[3,"assertionId"]],template:function(p,N){if(1&p&&(t.YNc(0,R,2,1,"ng-container",0),t.YNc(1,U,1,0,"ng-template",null,1,t.W1O)),2&p){const F=t.MAs(2);t.Q6J("ngIf",N.assertionId)("ngIfElse",F)}},dependencies:[u.O5,Z.G],encapsulation:2}),s})(),data:{breadcrumb:"Suggest Revision"}}]}];let m=(()=>{class s{}return s.\u0275fac=function(p){return new(p||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[g.Bz.forChild(C),_,g.Bz]}),s})();var J=e(2419),Y=e(9560),K=e(8603),$=e(8527),j=e(2524);let H=(()=>{class s{}return s.\u0275fac=function(p){return new(p||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[u.ez,m,z.KJ,x.zf,E.PV,O.ZJ,x.zf,j.s,$.u,J.D,Y.K,T.Jb,K.a]}),s})()},9337:(V,M,e)=>{e.r(M),e.d(M,{AssertionsModule:()=>U});var u=e(6814),g=e(4190),n=e(2392),P=e(6254),A=e(95),t=e(6494),S=e(5895),v=e(551),z=e(2419),x=e(2840),E=e(2574),O=e(2524),o=e(5879);let k=(()=>{class i{}return i.\u0275fac=function(m){return new(m||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[u.ez,g.Bz,v.PV,n.ZJ,P.KJ,A.Jb,t.m,x.sL,E.zf,O.s,S.s,z.D]}),i})();var T=e(951),D=e(8091),w=e(855),b=e(1958),L=e(1826),B=e(3145),I=e(2616);function c(i,C){1&i&&(o.TgZ(0,"button",17),o._UZ(1,"i",18),o._uU(2," Submit New Assertion "),o.qZA())}function d(i,C){if(1&i&&(o.ynx(0),o.YNc(1,c,3,0,"button",16),o.BQk()),2&i){const m=C.ngrxLet;o.xp6(1),o.Q6J("ngIf",m.signedIn)}}function r(i,C){if(1&i&&o.YNc(0,d,2,1,"ng-container",15),2&i){const m=o.oxw();o.Q6J("ngrxLet",m.viewer$)}}function a(i,C){1&i&&(o.TgZ(0,"a",19),o._UZ(1,"i",20),o._uU(2," View Assertion Model Docs "),o.qZA())}function y(i,C){1&i&&(o.TgZ(0,"a",21),o._UZ(1,"i",20),o._uU(2," View Assertion Curation Docs "),o.qZA())}const _=[{path:"",component:(()=>{class i{constructor(){}}return i.\u0275fac=function(m){return new(m||i)},i.\u0275cmp=o.Xpm({type:i,selectors:[["app-assertions"]],decls:1,vars:0,template:function(m,J){1&m&&o._UZ(0,"router-outlet")},dependencies:[g.lC],encapsulation:2}),i})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class i{constructor(m){this.viewerService=m,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return i.\u0275fac=function(m){return new(m||i)(o.Y36(T.a))},i.\u0275cmp=o.Xpm({type:i,selectors:[["assertions-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["assertionActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/assertions.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/assertions.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Assertions"],[4,"ngrxLet"],["routerLink","/assertions/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/assertions/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/assertions.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/assertions.html","target","_blank","nzSize","small","nzBlock",""]],template:function(m,J){if(1&m&&(o._UZ(0,"cvc-section-navigation",0),o.YNc(1,r,1,1,"ng-template",null,1,o.W1O),o.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),o._UZ(7,"i",5),o.ALo(8,"entityColor"),o.qZA(),o.TgZ(9,"nz-col",6)(10,"h2"),o._uU(11,"Assertions"),o.qZA(),o.TgZ(12,"p",7),o._uU(13," A CIViC Assertion summarizes a collection of Evidence Items that cover predictive/therapeutic, diagnostic, prognostic or predisposing clinical information for a variant in a specific cancer context. "),o.qZA()(),o.TgZ(14,"nz-col",8)(15,"nz-space",9),o.YNc(16,a,3,0,"a",10),o.YNc(17,y,3,0,"a",11),o.qZA()()(),o.TgZ(18,"nz-row")(19,"nz-col",12)(20,"div",13),o._UZ(21,"cvc-assertions-table",14),o.qZA()()()()()),2&m){const Y=o.MAs(2);o.Q6J("actionsTpl",Y),o.xp6(7),o.Q6J("nzTwotoneColor",o.lcZ(8,4,"Assertion")),o.xp6(5),o.Q6J("nzEllipsisRows",2),o.xp6(7),o.Q6J("nzSpan",24)}},dependencies:[u.O5,D.eJ,g.rH,v.Ls,n.ZU,P.$O,P.u5,A.t3,A.SK,x.ix,w.w,b.dQ,E.NU,E.$1,L.x,B.I,I.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),i})(),data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>Promise.all([e.e(8592),e.e(9939)]).then(e.bind(e,9939)).then(i=>i.AssertionAddModule),data:{breadcrumb:"Add"}},{path:":assertionId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([e.e(2212),e.e(5556),e.e(2602),e.e(3270),e.e(7856),e.e(1364),e.e(8245),e.e(4503),e.e(5756),e.e(8252)]).then(e.bind(e,8252)).then(i=>i.AssertionsDetailModule)},{path:"revise",loadChildren:()=>Promise.resolve().then(e.bind(e,9350)).then(i=>i.AssertionsReviseModule),data:{breadcrumb:"Revise"}}]}]},{path:"revise",loadChildren:()=>Promise.all([e.e(8592),e.e(9939)]).then(e.bind(e,9939)).then(i=>i.AssertionAddModule)}];let Z=(()=>{class i{}return i.\u0275fac=function(m){return new(m||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[g.Bz.forChild(_),k,g.Bz]}),i})();var R=e(9350);let U=(()=>{class i{}return i.\u0275fac=function(m){return new(m||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[u.ez,Z,R.AssertionsReviseModule]}),i})()},4139:(V,M,e)=>{e.d(M,{H0:()=>I});var u=e(5879),g=e(6814),n=e(9388);let I=(()=>{class c{}return c.\u0275fac=function(r){return new(r||c)},c.\u0275mod=u.oAB({type:c}),c.\u0275inj=u.cJS({imports:[n.vT,g.ez]}),c})()},6494:(V,M,e)=>{e.d(M,{i:()=>d,m:()=>r});var u=e(655),g=e(6028),n=e(5879),P=e(6223),A=e(8645),t=e(2438),S=e(9773),v=e(874),z=e(7754),x=e(4300),E=e(9388),O=e(6814),o=e(1958),k=e(551),T=e(8324);const D=["switchElement"];function w(a,y){1&a&&n._UZ(0,"span",8)}function b(a,y){if(1&a&&(n.ynx(0),n._uU(1),n.BQk()),2&a){const l=n.oxw(2);n.xp6(1),n.Oqu(l.nzCheckedChildren)}}function L(a,y){if(1&a&&(n.ynx(0),n.YNc(1,b,2,1,"ng-container",9),n.BQk()),2&a){const l=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",l.nzCheckedChildren)}}function B(a,y){if(1&a&&(n.ynx(0),n._uU(1),n.BQk()),2&a){const l=n.oxw(2);n.xp6(1),n.Oqu(l.nzUnCheckedChildren)}}function I(a,y){if(1&a&&n.YNc(0,B,2,1,"ng-container",9),2&a){const l=n.oxw();n.Q6J("nzStringTemplateOutlet",l.nzUnCheckedChildren)}}let d=(()=>{class a{updateValue(l){this.isChecked!==l&&(this.isChecked=l,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(l,h,_,Z,R,U){this.nzConfigService=l,this.host=h,this.ngZone=_,this.cdr=Z,this.focusMonitor=R,this.directionality=U,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new A.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,S.R)(this.destroy$)).subscribe(l=>{this.dir=l,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,t.R)(this.host.nativeElement,"click").pipe((0,S.R)(this.destroy$)).subscribe(l=>{l.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,t.R)(this.switchElement.nativeElement,"keydown").pipe((0,S.R)(this.destroy$)).subscribe(l=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:h}=l;h!==g.oh&&h!==g.SV&&h!==g.L_&&h!==g.K5||(l.preventDefault(),this.ngZone.run(()=>{h===g.oh?this.updateValue(!1):h===g.SV?this.updateValue(!0):(h===g.L_||h===g.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,S.R)(this.destroy$)).subscribe(l=>{l||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(l){this.isChecked=l,this.cdr.markForCheck()}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}setDisabledState(l){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||l,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return a.\u0275fac=function(l){return new(l||a)(n.Y36(v.jY),n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(x.tE),n.Y36(E.Is,8))},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-switch"]],viewQuery:function(l,h){if(1&l&&n.Gf(D,7),2&l){let _;n.iGM(_=n.CRH())&&(h.switchElement=_.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[n._Bn([{provide:P.JU,useExisting:(0,n.Gpc)(()=>a),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(l,h){if(1&l&&(n.TgZ(0,"button",0,1)(2,"span",2),n.YNc(3,w,1,0,"span",3),n.qZA(),n.TgZ(4,"span",4),n.YNc(5,L,2,1,"ng-container",5),n.YNc(6,I,1,1,"ng-template",null,6,n.W1O),n.qZA(),n._UZ(8,"div",7),n.qZA()),2&l){const _=n.MAs(7);n.ekj("ant-switch-checked",h.isChecked)("ant-switch-loading",h.nzLoading)("ant-switch-disabled",h.nzDisabled)("ant-switch-small","small"===h.nzSize)("ant-switch-rtl","rtl"===h.dir),n.Q6J("disabled",h.nzDisabled)("nzWaveExtraNode",!0),n.uIk("id",h.nzId),n.xp6(3),n.Q6J("ngIf",h.nzLoading),n.xp6(2),n.Q6J("ngIf",h.isChecked)("ngIfElse",_)}},dependencies:[O.O5,o.dQ,k.Ls,T.f],encapsulation:2,changeDetection:0}),(0,u.gn)([(0,z.yF)()],a.prototype,"nzLoading",void 0),(0,u.gn)([(0,z.yF)()],a.prototype,"nzDisabled",void 0),(0,u.gn)([(0,z.yF)()],a.prototype,"nzControl",void 0),(0,u.gn)([(0,v.oS)()],a.prototype,"nzSize",void 0),a})(),r=(()=>{class a{}return a.\u0275fac=function(l){return new(l||a)},a.\u0275mod=n.oAB({type:a}),a.\u0275inj=n.cJS({imports:[E.vT,O.ez,o.vG,k.PV,T.T]}),a})()}}]); \ No newline at end of file diff --git a/server/public/7129.d41870c75dd1c100.js b/server/public/7129.d41870c75dd1c100.js new file mode 100644 index 000000000..86673622e --- /dev/null +++ b/server/public/7129.d41870c75dd1c100.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7129],{1218:(M,v,e)=>{e.d(v,{i:()=>_});var s=e(6814),c=e(4190),u=e(5695),a=e(7417),o=e(551),t=e(1855),d=e(2524),p=e(3640),g=e(3146),f=e(5879);let _=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=f.oAB({type:n}),n.\u0275inj=f.cJS({imports:[s.ez,c.Bz,p.mS,u.X,a.$6,o.PV,t.f,d.s,g.C]}),n})()},1106:(M,v,e)=>{e.d(v,{L:()=>i});var s=e(6814),c=e(4190),u=e(5695),a=e(551),o=e(95),t=e(6067),d=e(8125),p=e(2962),g=e(1022),f=e(5879);let _=(()=>{class r{}return r.\u0275fac=function(P){return new(P||r)},r.\u0275mod=f.oAB({type:r}),r.\u0275inj=f.cJS({imports:[s.ez,p.vh,o.Jb,d.q6,t.X,g.H]}),r})();var n=e(7417);let i=(()=>{class r{}return r.\u0275fac=function(P){return new(P||r)},r.\u0275mod=f.oAB({type:r}),r.\u0275inj=f.cJS({imports:[s.ez,c.Bz,u.X,a.PV,n.$6,_]}),r})()},7950:(M,v,e)=>{e.d(v,{x:()=>n});var s=e(6814),c=e(366),u=e(5695),a=e(7417),o=e(3396),t=e(1106),d=e(5956),p=e(7528),g=e(6061),f=e(3717),_=e(5879);let n=(()=>{class i{}return i.\u0275fac=function(y){return new(y||i)},i.\u0275mod=_.oAB({type:i}),i.\u0275inj=_.cJS({imports:[s.ez,u.X,a.$6,c.$,g.N,o.Q,t.L,d.U,p.Q,f.M]}),i})()},3717:(M,v,e)=>{e.d(v,{M:()=>n});var s=e(6814),c=e(4190),u=e(5695),a=e(2962),o=e(6067),t=e(8125),d=e(551),p=e(2524),g=e(5879);let f=(()=>{class i{}return i.\u0275fac=function(y){return new(y||i)},i.\u0275mod=g.oAB({type:i}),i.\u0275inj=g.cJS({imports:[s.ez,d.PV,a.vh,t.q6,p.s,o.X]}),i})();var _=e(7417);let n=(()=>{class i{}return i.\u0275fac=function(y){return new(y||i)},i.\u0275mod=g.oAB({type:i}),i.\u0275inj=g.cJS({imports:[s.ez,c.Bz,d.PV,u.X,_.$6,f]}),i})()},4010:(M,v,e)=>{e.d(v,{F:()=>u});var c=e(5879);let u=(()=>{class a{transform(t,d="display-string"){return void 0===t?"":"display-string"===d?function s(a){switch(a){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return a}}(t):`civic-${t.replace(/_/g,"").toLowerCase()}`}}return a.\u0275fac=function(t){return new(t||a)},a.\u0275pipe=c.Yjl({name:"therapyInteractionEnumDisplay",type:a,pure:!0}),a})()},4263:(M,v,e)=>{e.d(v,{G:()=>h});var s=e(655),c=e(6223),u=e(2024),a=e(5710),o=e(1791);const f=(0,e(7745).Z)([{wrappers:["form-layout"],props:{submitLabel:"Submit Revisions",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Assertion"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0,watchVariantMolecularProfileId:!0}},{key:"assertionType",type:"type-select",props:{required:!0}},{key:"assertionDirection",type:"direction-select",props:{required:!0,colSpan:8,formMode:"revise"}},{key:"significance",type:"significance-select",props:{required:!0,colSpan:8,formMode:"revise"}},{key:"diseaseId",type:"disease-select",props:{colSpan:8}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"ampLevel",type:"amp-category-select",props:{colSpan:8}},{key:"acmgCodeIds",type:"acmg-code-multi-select",props:{colSpan:8}},{key:"clingenCodeIds",type:"clingen-code-multi-select",props:{colSpan:8}},{key:"nccnGuidelineId",type:"nccn-guideline-select",props:{}},{key:"nccnGuidelineVersion",type:"nccn-guideline-version-input",props:{}},{key:"fdaRegulatoryApproval",type:"fda-regulatory-approval-checkbox",props:{}},{key:"fdaCompanionTest",type:"fda-companion-test-checkbox",props:{}},{key:"evidenceItemIds",type:"evidence-multi-select",props:{required:!0,isMultiSelect:!0,colSpan:24}},{key:"summary",type:"textarea",wrappers:["form-field"],props:{tooltip:"A short, one sentence summary of the Assertion",placeholder:"Enter an Assertion Summary",label:"Assertion Summary",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"A complete, original description of this Assertion. Limited to one paragraph.",placeholder:"Enter an Assertion Statement",label:"Assertion Statement",required:!0,rows:5,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{molecularProfileId:void 0,acmgCodeIds:[],ampLevel:void 0,assertionDirection:void 0,assertionType:void 0,clingenCodeIds:[],significance:void 0,description:void 0,diseaseId:void 0,therapyIds:[],therapyInteractionType:void 0,evidenceItemIds:[],fdaCompanionTest:void 0,fdaRegulatoryApproval:void 0,nccnGuidelineId:void 0,nccnGuidelineVersion:void 0,phenotypeIds:[],summary:void 0,variantOrigin:void 0},comment:void 0,organizationId:void 0});var C,_=e(5234),n=e(5879),i=e(313),r=e(7473),y=e(6814),P=e(3599),O=e(5545),A=e(4634);function D(I,m){if(1&I&&(n._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),n.TgZ(1,"a",4),n._uU(2,"here."),n.qZA()),2&I){const l=n.oxw();n.xp6(1),n.s9C("href",l.url,n.LSH)}}function R(I,m){if(1&I){const l=n.EpF();n.TgZ(0,"form",5),n.NdJ("ngSubmit",function(){n.CHM(l);const E=n.oxw();return n.KtG(E.onSubmit(E.model))}),n.TgZ(1,"formly-form",6),n.NdJ("modelChange",function(E){n.CHM(l);const z=n.oxw();return n.KtG(z.model=E)}),n.qZA()()}if(2&I){const l=n.oxw();n.Q6J("formGroup",l.form),n.xp6(1),n.Q6J("form",l.form)("fields",l.fields)("model",l.model)("options",l.options)}}function L(I,m){1&I&&n._uU(0," Loading Assertion... ")}let h=((C=class{constructor(m,l,T,E){this.revisableFieldsGQL=m,this.submitRevisionsGQL=l,this.networkErrorService=T,this.cdr=E,this.form=new c.nJ({}),this.fields=f,this.state=new a._,this.options={formState:this.state},this.reviseAssertionMutator=new u.U(T)}onSubmit(m){if(!this.assertionId)return;let l=(0,_.lf)(this.assertionId,m);l&&(this.mutationState=this.reviseAssertionMutator.mutate(this.submitRevisionsGQL,{input:l}))}ngOnInit(){this.url=`/assertions/${this.assertionId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({assertionId:this.assertionId}).pipe((0,o.t)(this)).subscribe({next:({data:{assertion:m}})=>{m&&(this.model={id:m.id,fields:(0,_.FX)(m)},this.cdr.detectChanges())},error:m=>{console.log("Error retrieving Assertion"),console.log(m)},complete:()=>{this.state.formReady$.next(!0)}})}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(m){return new(m||C)(n.Y36(i.bgg),n.Y36(i.c$m),n.Y36(r.Y),n.Y36(n.sBO))},C.\u0275cmp=n.Xpm({type:C,selectors:[["cvc-assertion-revise-form"]],inputs:{assertionId:"assertionId"},decls:6,vars:5,consts:[["entityType","Evidence Item",3,"mutationState","successMessage","redirectUrl"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(m,l){if(1&m&&(n.TgZ(0,"cvc-form-submission-status-display",0),n.YNc(1,D,3,1,"ng-template",null,1,n.W1O),n.YNc(3,R,2,5,"form",2),n.YNc(4,L,1,0,"ng-template",null,3,n.W1O),n.qZA()),2&m){const T=n.MAs(2),E=n.MAs(5);n.Q6J("mutationState",l.mutationState)("successMessage",T)("redirectUrl",l.url),n.xp6(3),n.Q6J("ngIf",l.model)("ngIfElse",E)}},dependencies:[y.O5,P.Lr,c._Y,c.JL,c.sg,O.T7,A.F],encapsulation:2,changeDetection:0}),C);h=(0,s.gn)([(0,o.c)()],h)},6902:(M,v,e)=>{e.d(v,{P:()=>d});var s=e(6814),c=e(3599),u=e(2840),a=e(6683),o=e(5106),t=e(5879);let d=(()=>{class p{}return p.\u0275fac=function(f){return new(f||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[s.ez,c.U5,u.sL,a.S,o.g]}),p})()},5234:(M,v,e)=>{e.d(v,{FX:()=>c,XU:()=>u,lf:()=>a});var s=e(2701);function c(o){return{acmgCodeIds:o.acmgCodes.map(t=>t.id),ampLevel:o.ampLevel,assertionDirection:o.assertionDirection,assertionType:o.assertionType,clingenCodeIds:o.clingenCodes.map(t=>t.id),significance:o.significance,description:o.description,diseaseId:o.disease?.id,therapyIds:o.therapies.map(t=>t.id),therapyInteractionType:o.therapyInteractionType,evidenceItemIds:o.evidenceItems.map(t=>t.id),fdaCompanionTest:o.fdaCompanionTest,fdaRegulatoryApproval:o.regulatoryApproval,molecularProfileId:o.molecularProfile.id,nccnGuidelineId:o.nccnGuideline?.id,nccnGuidelineVersion:o.nccnGuidelineVersion,phenotypeIds:o.phenotypes.map(t=>t.id),summary:o.summary,variantOrigin:o.variantOrigin}}function u(o){const t=o.fields;if(![t.assertionDirection,t.assertionType,t.significance,t.variantOrigin,t.molecularProfileId,o.comment].find(p=>void 0===p))return{fields:{acmgCodeIds:t.acmgCodeIds||[],ampLevel:s.uP(t.ampLevel),assertionDirection:t.assertionDirection,assertionType:t.assertionType,clingenCodeIds:t.clingenCodeIds||[],significance:t.significance,description:s.xt(t.description),diseaseId:s.uP(t.diseaseId),therapyIds:t.therapyIds||[],therapyInteractionType:s.uP(t.therapyInteractionType),evidenceItemIds:t.evidenceItemIds||[],fdaCompanionTest:s.uP(t.fdaCompanionTest),fdaRegulatoryApproval:s.uP(t.fdaRegulatoryApproval),molecularProfileId:t.molecularProfileId,nccnGuidelineId:s.uP(t.nccnGuidelineId),nccnGuidelineVersion:s.xt(t.nccnGuidelineVersion),phenotypeIds:t.phenotypeIds||[],summary:s.xt(t.summary),variantOrigin:t.variantOrigin},organizationId:o.organizationId,comment:o.comment}}function a(o,t){let d=u(t);if(d)return{id:o,comment:d.comment,organizationId:d.organizationId,fields:d.fields}}}}]); \ No newline at end of file diff --git a/server/public/7215.2dede06be9e2d55f.js b/server/public/7215.2dede06be9e2d55f.js deleted file mode 100644 index bd22187c5..000000000 --- a/server/public/7215.2dede06be9e2d55f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7215],{9460:(T,C,n)=>{n.d(C,{i:()=>s});var h=n(6895),d=n(9116),e=n(6672),p=n(6581),g=n(1102),f=n(1698),E=n(9444),M=n(48),z=n(6429),u=n(4650);class s{}s.\u0275fac=function(v){return new(v||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[h.ez,d.Bz,M.mS,e.X,p.$6,g.PV,f.f,E.s,z.C]})},9476:(T,C,n)=>{n.d(C,{L:()=>m});var h=n(6895),d=n(9116),e=n(6672),p=n(1102),g=n(3679),f=n(4989),E=n(9194),M=n(1971),z=n(2635),u=n(5473),s=n(4650);class r{}r.\u0275fac=function(P){return new(P||r)},r.\u0275mod=s.oAB({type:r}),r.\u0275inj=s.cJS({imports:[h.ez,z._N,z.pP,M.vh,g.Jb,E.q6,f.X,u.H]});var v=n(6581);class m{}m.\u0275fac=function(P){return new(P||m)},m.\u0275mod=s.oAB({type:m}),m.\u0275inj=s.cJS({imports:[h.ez,d.Bz,e.X,p.PV,v.$6,r]})},7946:(T,C,n)=>{n.d(C,{x:()=>r});var h=n(6895),d=n(897),e=n(6672),p=n(6581),g=n(8845),f=n(9476),E=n(1229),M=n(7043),z=n(701),u=n(8645),s=n(4650);class r{}r.\u0275fac=function(m){return new(m||r)},r.\u0275mod=s.oAB({type:r}),r.\u0275inj=s.cJS({imports:[h.ez,e.X,p.$6,d.$,z.N,g.Q,f.L,E.U,M.Q,u.M]})},8645:(T,C,n)=>{n.d(C,{M:()=>v});var h=n(6895),d=n(9116),e=n(6672),p=n(1971),g=n(4989),f=n(9194),E=n(2635),M=n(1102),z=n(9444),u=n(4650);class s{}s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=u.oAB({type:s}),s.\u0275inj=u.cJS({imports:[h.ez,E._N,E.pP,M.PV,p.vh,f.q6,z.s,g.X]});var r=n(6581);class v{}v.\u0275fac=function(t){return new(t||v)},v.\u0275mod=u.oAB({type:v}),v.\u0275inj=u.cJS({imports:[h.ez,d.Bz,M.PV,e.X,r.$6,s]})},4475:(T,C,n)=>{n.d(C,{F:()=>e});var d=n(4650);class e{transform(g,f="display-string"){return void 0===g?"":"display-string"===f?function h(p){switch(p){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return p}}(g):`civic-${g.replace(/_/g,"").toLowerCase()}`}}e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=d.Yjl({name:"therapyInteractionEnumDisplay",type:e,pure:!0})},7727:(T,C,n)=>{n.r(C),n.d(C,{EvidenceModule:()=>x});var h=n(6895),d=n(9116),e=n(5630),p=n(5655),g=n(3679),f=n(1102),E=n(767),M=n(1229),z=n(2635),u=n(1243),s=n(6616),r=n(6903),v=n(8823),m=n(9444),t=n(4650);class P{}P.\u0275fac=function(l){return new(l||P)},P.\u0275mod=t.oAB({type:P}),P.\u0275inj=t.cJS({imports:[h.ez,d.Bz,z._N,z.pP,s.sL,u.m,p.KJ,g.Jb,f.PV,r.zf,v.ZJ,m.s,e.D,M.U,E.Q]});var I=n(9350),B=n(7044),U=n(1664),L=n(8992),S=n(3392),R=n(160);function N(i,l){1&i&&(t.TgZ(0,"button",15),t._UZ(1,"i",16),t._uU(2," Submit New Evidence "),t.qZA())}function K(i,l){if(1&i&&(t.ynx(0),t.YNc(1,N,3,0,"button",14),t.BQk()),2&i){const A=l.ngrxLet;t.xp6(1),t.Q6J("ngIf",A.signedIn)}}function a(i,l){if(1&i&&t.YNc(0,K,2,1,"ng-container",13),2&i){const A=t.oxw();t.Q6J("ngrxLet",A.viewer$)}}function O(i,l){1&i&&(t.TgZ(0,"a",17),t._UZ(1,"i",18),t._uU(2," View Evidence Model Docs "),t.qZA())}function o(i,l){1&i&&(t.TgZ(0,"a",19),t._UZ(1,"i",18),t._uU(2," View Evidence Curation Docs "),t.qZA())}function c(i,l){1&i&&(t.TgZ(0,"nz-row")(1,"div",20)(2,"div",21),t._UZ(3,"cvc-evidence-table",22),t.qZA()()()),2&i&&(t.xp6(1),t.Q6J("nzSpan",24))}class _{constructor(l){this.viewerService=l,this.tableView=!0,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}_.\u0275fac=function(l){return new(l||_)(t.Y36(I.a))},_.\u0275cmp=t.Xpm({type:_,selectors:[["evidence-home"]],decls:19,vars:6,consts:[[3,"actionsTpl"],["evidenceActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic-evidence","nzTheme","twotone",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/evidence.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[4,"ngIf"],[4,"ngrxLet"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/evidence.html","target","_blank","nzSize","small","nzBlock",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Evidence"]],template:function(l,A){if(1&l&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,a,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Evidence Items"),t.qZA(),t.TgZ(12,"p",7),t._uU(13," The clinical evidence statement is a piece of information that has been manually curated from trustable medical literature about a variant or genomic \u2018event\u2019 that has implications in cancer predisposition, diagnosis (aka molecular classification), prognosis, or predictive response to therapy. "),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,O,3,0,"a",10),t.YNc(17,o,3,0,"a",11),t.qZA()()(),t.YNc(18,c,4,1,"nz-row",12),t.qZA()()),2&l){const Z=t.MAs(2);t.Q6J("actionsTpl",Z),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"EvidenceItem")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(6),t.Q6J("ngIf",A.tableView)}},dependencies:[h.O5,d.rH,z.eJ,s.ix,B.w,U.dQ,p.$O,p.u5,g.t3,g.SK,f.Ls,r.NU,r.$1,v.ZU,L.I,S.a,R.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class D{constructor(){}}D.\u0275fac=function(l){return new(l||D)},D.\u0275cmp=t.Xpm({type:D,selectors:[["app-evidence"]],decls:1,vars:0,template:function(l,A){1&l&&t._UZ(0,"router-outlet")},dependencies:[d.lC],encapsulation:2});const W=[{path:"",component:D,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:_,data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>Promise.all([n.e(2379),n.e(8592),n.e(1597)]).then(n.bind(n,1597)).then(i=>i.EvidenceAddModule),data:{breadcrumb:"Add"}},{path:":evidenceId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([n.e(9397),n.e(6724),n.e(9716),n.e(5566),n.e(3883),n.e(5291),n.e(1798),n.e(2043),n.e(4355),n.e(5465),n.e(8592),n.e(9636)]).then(n.bind(n,9636)).then(i=>i.EvidenceDetailModule)},{path:"revise",loadChildren:()=>Promise.all([n.e(8592),n.e(9896)]).then(n.bind(n,9793)).then(i=>i.EvidenceReviseModule),data:{breadcrumb:"Revise"}}]}]}];class y{}y.\u0275fac=function(l){return new(l||y)},y.\u0275mod=t.oAB({type:y}),y.\u0275inj=t.cJS({imports:[d.Bz.forChild(W),P,d.Bz]});class x{}x.\u0275fac=function(l){return new(l||x)},x.\u0275mod=t.oAB({type:x}),x.\u0275inj=t.cJS({imports:[h.ez,y]})},1243:(T,C,n)=>{n.d(C,{i:()=>N,m:()=>K});var h=n(655),d=n(9521),e=n(4650),p=n(4006),g=n(7579),f=n(4968),E=n(2722),M=n(2536),z=n(3187),u=n(2687),s=n(445),r=n(6895),v=n(1664),m=n(1102),t=n(6287);const P=["switchElement"];function I(a,O){1&a&&e._UZ(0,"span",8)}function B(a,O){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const o=e.oxw(2);e.xp6(1),e.Oqu(o.nzCheckedChildren)}}function U(a,O){if(1&a&&(e.ynx(0),e.YNc(1,B,2,1,"ng-container",9),e.BQk()),2&a){const o=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",o.nzCheckedChildren)}}function L(a,O){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const o=e.oxw(2);e.xp6(1),e.Oqu(o.nzUnCheckedChildren)}}function S(a,O){if(1&a&&e.YNc(0,L,2,1,"ng-container",9),2&a){const o=e.oxw();e.Q6J("nzStringTemplateOutlet",o.nzUnCheckedChildren)}}let N=(()=>{class a{constructor(o,c,_,D,W,y){this.nzConfigService=o,this.host=c,this.ngZone=_,this.cdr=D,this.focusMonitor=W,this.directionality=y,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new g.x,this.isNzDisableFirstChange=!0}updateValue(o){this.isChecked!==o&&(this.isChecked=o,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,E.R)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,f.R)(this.host.nativeElement,"click").pipe((0,E.R)(this.destroy$)).subscribe(o=>{o.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,f.R)(this.switchElement.nativeElement,"keydown").pipe((0,E.R)(this.destroy$)).subscribe(o=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:c}=o;c!==d.oh&&c!==d.SV&&c!==d.L_&&c!==d.K5||(o.preventDefault(),this.ngZone.run(()=>{c===d.oh?this.updateValue(!1):c===d.SV?this.updateValue(!0):(c===d.L_||c===d.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,E.R)(this.destroy$)).subscribe(o=>{o||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(o){this.isChecked=o,this.cdr.markForCheck()}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||o,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return a.\u0275fac=function(o){return new(o||a)(e.Y36(M.jY),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(u.tE),e.Y36(s.Is,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-switch"]],viewQuery:function(o,c){if(1&o&&e.Gf(P,7),2&o){let _;e.iGM(_=e.CRH())&&(c.switchElement=_.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[e._Bn([{provide:p.JU,useExisting:(0,e.Gpc)(()=>a),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(o,c){if(1&o&&(e.TgZ(0,"button",0,1)(2,"span",2),e.YNc(3,I,1,0,"span",3),e.qZA(),e.TgZ(4,"span",4),e.YNc(5,U,2,1,"ng-container",5),e.YNc(6,S,1,1,"ng-template",null,6,e.W1O),e.qZA(),e._UZ(8,"div",7),e.qZA()),2&o){const _=e.MAs(7);e.ekj("ant-switch-checked",c.isChecked)("ant-switch-loading",c.nzLoading)("ant-switch-disabled",c.nzDisabled)("ant-switch-small","small"===c.nzSize)("ant-switch-rtl","rtl"===c.dir),e.Q6J("disabled",c.nzDisabled)("nzWaveExtraNode",!0),e.uIk("id",c.nzId),e.xp6(3),e.Q6J("ngIf",c.nzLoading),e.xp6(2),e.Q6J("ngIf",c.isChecked)("ngIfElse",_)}},dependencies:[r.O5,v.dQ,m.Ls,t.f],encapsulation:2,changeDetection:0}),(0,h.gn)([(0,z.yF)()],a.prototype,"nzLoading",void 0),(0,h.gn)([(0,z.yF)()],a.prototype,"nzDisabled",void 0),(0,h.gn)([(0,z.yF)()],a.prototype,"nzControl",void 0),(0,h.gn)([(0,M.oS)()],a.prototype,"nzSize",void 0),a})(),K=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[s.vT,r.ez,v.vG,m.PV,t.T]}),a})()}}]); \ No newline at end of file diff --git a/server/public/729.e0e78753d025d9b9.js b/server/public/729.e0e78753d025d9b9.js deleted file mode 100644 index 2b247687d..000000000 --- a/server/public/729.e0e78753d025d9b9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[729],{9460:(D,z,n)=>{n.d(z,{i:()=>i});var l=n(6895),p=n(9116),h=n(6672),r=n(6581),t=n(1102),C=n(1698),d=n(9444),m=n(48),x=n(6429),f=n(4650);class i{}i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=f.oAB({type:i}),i.\u0275inj=f.cJS({imports:[l.ez,p.Bz,m.mS,h.X,r.$6,t.PV,C.f,d.s,x.C]})},9476:(D,z,n)=>{n.d(z,{L:()=>v});var l=n(6895),p=n(9116),h=n(6672),r=n(1102),t=n(3679),C=n(4989),d=n(9194),m=n(1971),x=n(2635),f=n(5473),i=n(4650);class s{}s.\u0275fac=function(M){return new(M||s)},s.\u0275mod=i.oAB({type:s}),s.\u0275inj=i.cJS({imports:[l.ez,x._N,x.pP,m.vh,t.Jb,d.q6,C.X,f.H]});var u=n(6581);class v{}v.\u0275fac=function(M){return new(M||v)},v.\u0275mod=i.oAB({type:v}),v.\u0275inj=i.cJS({imports:[l.ez,p.Bz,h.X,r.PV,u.$6,s]})},7946:(D,z,n)=>{n.d(z,{x:()=>s});var l=n(6895),p=n(897),h=n(6672),r=n(6581),t=n(8845),C=n(9476),d=n(1229),m=n(7043),x=n(701),f=n(8645),i=n(4650);class s{}s.\u0275fac=function(v){return new(v||s)},s.\u0275mod=i.oAB({type:s}),s.\u0275inj=i.cJS({imports:[l.ez,h.X,r.$6,p.$,x.N,t.Q,C.L,d.U,m.Q,f.M]})},8645:(D,z,n)=>{n.d(z,{M:()=>u});var l=n(6895),p=n(9116),h=n(6672),r=n(1971),t=n(4989),C=n(9194),d=n(2635),m=n(1102),x=n(9444),f=n(4650);class i{}i.\u0275fac=function(T){return new(T||i)},i.\u0275mod=f.oAB({type:i}),i.\u0275inj=f.cJS({imports:[l.ez,d._N,d.pP,m.PV,r.vh,C.q6,x.s,t.X]});var s=n(6581);class u{}u.\u0275fac=function(T){return new(T||u)},u.\u0275mod=f.oAB({type:u}),u.\u0275inj=f.cJS({imports:[l.ez,p.Bz,m.PV,h.X,s.$6,i]})},4475:(D,z,n)=>{n.d(z,{F:()=>h});var p=n(4650);class h{transform(t,C="display-string"){return void 0===t?"":"display-string"===C?function l(r){switch(r){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return r}}(t):`civic-${t.replace(/_/g,"").toLowerCase()}`}}h.\u0275fac=function(t){return new(t||h)},h.\u0275pipe=p.Yjl({name:"therapyInteractionEnumDisplay",type:h,pure:!0})},1838:(D,z,n)=>{n.r(z),n.d(z,{ClinicalTrialsModule:()=>Z});var l=n(6895),p=n(9116),h=n(8675),r=n(6579),t=n(4650),C=n(7630),d=n(5655),m=n(1102),x=n(6550),f=n(8992),i=n(2635),s=n(160);function u(o,e){if(1&o&&(t.TgZ(0,"cvc-link-tag",5),t._uU(1),t.qZA()),2&o){const a=t.oxw().ngIf;t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.nctId," ")}}function v(o,e){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),t._UZ(4,"i",3),t.ALo(5,"entityColor"),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-extra"),t.YNc(8,u,2,2,"cvc-link-tag",4),t.qZA(),t.TgZ(9,"nz-page-header-content"),t._UZ(10,"router-outlet"),t.qZA()(),t.BQk()),2&o){const a=e.ngIf;t.xp6(1),t.Q6J("displayName",a.nctId),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(5,4,"ClinicalTrial")),t.xp6(2),t.hij(" ",a.nctId," "),t.xp6(2),t.Q6J("ngIf",a.url)}}class T{constructor(e,a){this.route=e,this.gql=a,this.routeSub=this.route.params.subscribe(g=>{this.clinicalTrialId=+g.clinicalTrialId,this.queryRef=this.gql.watch({clinicalTrialId:this.clinicalTrialId});let c=this.queryRef.valueChanges;this.loading$=c.pipe((0,r.j)("loading"),(0,h.O)(!0)),this.clinicalTrial$=c.pipe((0,r.j)("data","clinicalTrial"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}T.\u0275fac=function(e){return new(e||T)(t.Y36(p.gz),t.Y36(C.cMj))},T.\u0275cmp=t.Xpm({type:T,selectors:[["cvc-clinical-trials-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"],["tooltip","View on clinicaltrials.gov",3,"href",4,"ngIf"],["tooltip","View on clinicaltrials.gov",3,"href"]],template:function(e,a){1&e&&(t.YNc(0,v,11,6,"ng-container",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,a.clinicalTrial$))},dependencies:[l.O5,p.lC,d.$O,d.u9,d.u5,d.Jp,m.Ls,x.l,f.I,i.fM,s.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var O,M=n(3679),Q=n(6616),Y=n(7044),F=n(8823),R=n(6903),nt=n(655),et=n(3154),U=n(9933),V=n(1135),N=n(7579),J=n(3240),K=n(1884),at=n(2529),ot=n(5684),P=n(9300),j=n(4004),it=n(8372),lt=n(1365),X=n(1971),_=n(6675),G=n(6672),q=n(7570),rt=n(5851),ct=n(7451),st=n(2166),gt=n(4049),pt=n(3388),dt=n(3667),ht=n(9947);function mt(o,e){}function Ct(o,e){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,mt,0,0,"ng-template",6),t.qZA(),t.BQk()),2&o){t.oxw();const a=t.MAs(6),g=t.MAs(8),c=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",a)("nzExtra",g),t.xp6(1),t.Q6J("ngTemplateOutlet",c)}}function ft(o,e){}const ut=function(o){return{height:o}};function vt(o,e){if(1&o&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,ft,0,0,"ng-template",6),t.qZA()()),2&o){const a=t.oxw(),g=t.MAs(6),c=t.MAs(8),y=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,ut,a.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",g)("nzExtra",c),t.xp6(1),t.Q6J("ngTemplateOutlet",y)}}function Tt(o,e){if(1&o&&(t.TgZ(0,"tr",24)(1,"td",20),t._UZ(2,"cvc-clinical-trial-tag",25),t.qZA(),t.TgZ(3,"td",26),t._uU(4),t.qZA(),t.TgZ(5,"td",27),t._uU(6),t.qZA(),t.TgZ(7,"td",27),t._uU(8),t.qZA()()),2&o){const a=e.$implicit,g=t.oxw(2);t.xp6(2),t.Q6J("clinicalTrial",a),t.xp6(1),t.Q6J("nzTooltipTitle",g.isScrolling?"":a.name),t.xp6(1),t.hij(" ",a.name," "),t.xp6(2),t.hij(" ",a.sourceCount," "),t.xp6(2),t.hij(" ",a.evidenceCount," ")}}const zt=function(){return[]},_t=function(){return{x:"680px",y:"800px"}},k=function(){return["descend","ascend",null]};function xt(o,e){if(1&o){const a=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(c){t.CHM(a);const y=t.oxw();return t.KtG(y.scrollEvent$.next(c))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(c){t.CHM(a);const y=t.oxw();return t.KtG(y.sortChange$.next(c))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," NCT ID "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Name "),t.qZA(),t.TgZ(12,"th",15),t._UZ(13,"i",16),t._uU(14," Count "),t.qZA(),t.TgZ(15,"th",17),t._UZ(16,"i",18),t._uU(17," Count "),t.qZA()(),t.TgZ(18,"tr",19)(19,"th",20)(20,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(c){t.CHM(a);const y=t.oxw();return t.KtG(y.nctIdFilter=c)})("inputModelChange",function(){t.CHM(a);const c=t.oxw();return t.KtG(c.filterChange$.next())}),t.qZA()(),t.TgZ(21,"th")(22,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(c){t.CHM(a);const y=t.oxw();return t.KtG(y.nameFilter=c)})("inputModelChange",function(){t.CHM(a);const c=t.oxw();return t.KtG(c.filterChange$.next())}),t.qZA()(),t._UZ(23,"th",22)(24,"th",22),t.qZA()(),t.TgZ(25,"tbody"),t.YNc(26,Tt,9,5,"ng-template",23),t.qZA()()}if(2&o){const a=t.oxw();t.Q6J("nzData",t.lcZ(2,23,a.row$)||t.DdM(31,zt))("nzLoading",!t.lcZ(3,25,a.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",a.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,27,a.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,29,a.scrollIndex$))("nzVirtualForTrackBy",a.trackByIndex)("nzScroll",t.DdM(32,_t))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",a.sortColumns.NctId)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",a.sortColumns.SourceCount)("nzSortFn",!0)("nzSortDirections",t.DdM(33,k)),t.xp6(3),t.Q6J("nzColumnKey",a.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(34,k)),t.xp6(5),t.Q6J("inputModel",a.nctIdFilter),t.xp6(2),t.Q6J("inputModel",a.nameFilter)}}function Mt(o,e){}function yt(o,e){if(1&o&&(t.ynx(0),t.YNc(1,Mt,0,0,"ng-template",6),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function Pt(o,e){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.hij(" ",a.cvcTitle," ")}}function Ot(o,e){if(1&o&&(t.YNc(0,yt,2,1,"ng-container",28),t.YNc(1,Pt,2,1,"ng-container",28),t.TgZ(2,"span",29),t._UZ(3,"cvc-table-counts",30),t.qZA()),2&o){const a=t.oxw();t.Q6J("ngIf",a.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",a.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",a.connection$)}}function It(o,e){1&o&&(t.TgZ(0,"nz-tag",33),t._UZ(1,"i",34),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function bt(o,e){if(1&o&&(t.YNc(0,It,4,0,"nz-tag",31),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",32),t.ALo(3,"ngrxPush")),2&o){const a=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,a.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,a.noMoreRows$))}}let w=((O=class{set initialUserFilters(e){e&&Object.assign(this,e)}constructor(e,a){this.gql=e,this.cdr=a,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=C.E8d,this.noMoreRows$=new V.X(!1),this.scrollEvent$=new V.X("stop"),this.sortChange$=new N.x,this.filterChange$=new N.x,this.scrollIndex$=new N.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,r.j)("loading"),(0,K.x)(),(0,at.o)(e=>!1!==e,!0)),this.moreLoading$=this.result$.pipe((0,r.j)("loading"),(0,K.x)(),(0,ot.T)(2)),this.connection$=this.result$.pipe((0,r.j)("data","clinicalTrials"),(0,P.h)(J.ep)),this.row$=this.connection$.pipe((0,r.j)("edges"),(0,P.h)(J.ep),(0,j.U)(e=>e.map(a=>a.node))),this.pageInfo$=this.connection$.pipe((0,r.j)("pageInfo"),(0,P.h)(J.ep)),this.sortChange$.pipe((0,U.t)(this)).subscribe(e=>{this.queryRef.refetch({sortBy:(0,et._)(e)})}),this.filterChange$.pipe((0,it.b)(500),(0,U.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,j.U)(e=>"stop"!==e),(0,K.x)(),(0,U.t)(this)).subscribe(e=>{this.isScrolling=e,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,P.h)(e=>"bottom"===e),(0,lt.M)(this.pageInfo$),(0,j.U)(([e,a])=>a),(0,U.t)(this)).subscribe(e=>{e.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameFilter,nctId:this.nctIdFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(e,a){return a?.id}}).\u0275fac=function(e){return new(e||O)(t.Y36(C.P_b),t.Y36(t.sBO))},O.\u0275cmp=t.Xpm({type:O,selectors:[["cvc-clinical-trials-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","600px",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Source Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-source"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"clinicalTrial"],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(e,a){if(1&e&&(t.YNc(0,Ct,3,3,"ng-container",0),t.YNc(1,vt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,xt,27,35,"ng-template",null,2,t.W1O),t.YNc(5,Ot,4,3,"ng-template",null,3,t.W1O),t.YNc(7,bt,4,6,"ng-template",null,4,t.W1O)),2&e){const g=t.MAs(2);t.Q6J("ngIf",!a.cvcHeight)("ngIfElse",g)}},dependencies:[l.O5,l.tP,l.PC,Y.w,X.bd,m.Ls,_.N8,_.qD,_.Uo,_._C,_.Om,_.p0,_.$Z,_.zu,_.qn,_.UX,G.j,q.SY,rt.D,ct.q,st.p,gt.G,pt.H,dt.B,ht.y,i.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),O);function St(o,e){1&o&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t._uU(2," View Clinical Trial Docs "),t.qZA())}w=(0,nt.gn)([(0,U.c)()],w);class B{constructor(){}ngOnInit(){}}B.\u0275fac=function(e){return new(e||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["clinical-trials-home"]],decls:19,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/clinical_trial.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Clinical Trials"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/clinical_trial.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"]],template:function(e,a){1&e&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Clinical Trials"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," CIViC automatically associates a Clinical Trial to an Evidence Item if its associated Source's PubMed record provides a clinical trial ID. This ID is not directly curatable. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,St,3,0,"a",8),t.qZA()()(),t.TgZ(15,"div",9)(16,"div",10)(17,"div",11),t._UZ(18,"cvc-clinical-trials-table",12),t.qZA()()()()()),2&e&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"ClinicalTrial")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(6),t.Q6J("nzSpan",24))},dependencies:[M.t3,M.SK,d.$O,d.u5,m.Ls,Q.ix,Y.w,F.ZU,R.NU,R.$1,w,f.I,s.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var W=n(9194),Et=n(3392),At=n(3575);const Zt=function(){return[8,16]};function Dt(o,e){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"nz-descriptions",3)(4,"nz-descriptions-item",4),t._uU(5),t.qZA()()(),t.TgZ(6,"nz-col",2),t._UZ(7,"cvc-sources-table",5),t.qZA(),t.TgZ(8,"nz-col",2),t._UZ(9,"cvc-evidence-table",6),t.qZA()(),t.BQk()),2&o){const a=e.ngIf,g=t.oxw();t.xp6(1),t.Q6J("nzGutter",t.DdM(11,Zt)),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("nzBordered",!0),t.xp6(2),t.hij(" ",a.description," "),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.MGl("cvcTitle","",a.nctId," Sources"),t.Q6J("clinicalTrialId",g.clinicalTrialId)("cvcHeight",400),t.xp6(1),t.Q6J("nzSpan",24),t.xp6(1),t.MGl("cvcTitle","",a.nctId," Evidence"),t.Q6J("clinicalTrialId",g.clinicalTrialId)}}class ${constructor(e,a){this.route=e,this.gql=a,this.routeSub=this.route.params.subscribe(g=>{this.clinicalTrialId=+g.clinicalTrialId,this.queryRef=this.gql.watch({clinicalTrialId:this.clinicalTrialId});let c=this.queryRef.valueChanges;this.loading$=c.pipe((0,r.j)("loading"),(0,P.h)(J.ep)),this.clinicalTrial$=c.pipe((0,r.j)("data","clinicalTrial"),(0,P.h)(J.ep))})}ngOnDestroy(){this.routeSub.unsubscribe()}}$.\u0275fac=function(e){return new(e||$)(t.Y36(p.gz),t.Y36(C.z8D))},$.\u0275cmp=t.Xpm({type:$,selectors:[["cvc-clinical-trials-summary"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzGutter"],[3,"nzSpan"],["nzLayout","vertical","nzSize","small",3,"nzBordered"],["nzTitle","Description"],[3,"clinicalTrialId","cvcTitle","cvcHeight"],[3,"clinicalTrialId","cvcTitle"]],template:function(e,a){1&e&&(t.YNc(0,Dt,10,12,"ng-container",0),t.ALo(1,"ngrxPush")),2&e&&t.Q6J("ngIf",t.lcZ(1,1,a.clinicalTrial$))},dependencies:[l.O5,W.R7,W.uj,M.t3,M.SK,Et.a,At.d,i.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}"],changeDetection:0});class L{constructor(){}ngOnInit(){}}L.\u0275fac=function(e){return new(e||L)},L.\u0275cmp=t.Xpm({type:L,selectors:[["cvc-clinical-trials"]],decls:1,vars:0,template:function(e,a){1&e&&t._UZ(0,"router-outlet")},dependencies:[p.lC],encapsulation:2});const Ut=[{path:"",component:L,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:B,data:{breadcrumb:"Home"}},{path:":clinicalTrialId",component:T,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:$,data:{breadcrumb:"Summary"}}]}]}];class I{}I.\u0275fac=function(e){return new(e||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[p.Bz.forChild(Ut),p.Bz]});var Jt=n(4125),Bt=n(2994),$t=n(8525),H=n(9444),Lt=n(3111),Qt=n(1433),Ft=n(9240),Rt=n(5453);class b{}b.\u0275fac=function(e){return new(e||b)},b.\u0275mod=t.oAB({type:b}),b.\u0275inj=t.cJS({imports:[l.ez,i._N,i.pP,Q.sL,X.vh,m.PV,_.HQ,G.X,q.cg,F.ZJ,H.s,Lt.n,Qt.c,Jt.k,Rt.N,Bt.y,$t.T,Ft.w]});var tt=n(5630);class S{}S.\u0275fac=function(e){return new(e||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[l.ez,i._N,i.pP,M.Jb,d.KJ,m.PV,Q.sL,F.ZJ,R.zf,b,tt.D,H.s]});var Nt=n(4989);class E{}E.\u0275fac=function(e){return new(e||E)},E.\u0275mod=t.oAB({type:E}),E.\u0275inj=t.cJS({imports:[l.ez,p.Bz,i._N,i.pP,d.KJ,m.PV,Nt.X,tt.D,H.s]});var Kt=n(767),jt=n(7279);class A{}A.\u0275fac=function(e){return new(e||A)},A.\u0275mod=t.oAB({type:A}),A.\u0275inj=t.cJS({imports:[l.ez,i._N,i.pP,W.q6,M.Jb,Kt.Q,jt.h]});class Z{}Z.\u0275fac=function(e){return new(e||Z)},Z.\u0275mod=t.oAB({type:Z}),Z.\u0275inj=t.cJS({imports:[l.ez,I,S,E,A]})}}]); \ No newline at end of file diff --git a/server/public/7301.36d7c35e2c690965.js b/server/public/7301.36d7c35e2c690965.js deleted file mode 100644 index 036c54ece..000000000 --- a/server/public/7301.36d7c35e2c690965.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7301],{112:(B,h,o)=>{o.d(h,{u:()=>E});var v=o(9771),t=o(4650),_=o(6895),n=o(9116),f=o(6581),m=o(6672),z=o(1102),u=o(3240),p=o(4004),T=o(9300),P=o(7630),A=o(1971),C=o(9194),l=o(783),Z=o(5457),g=o(6715),I=o(2635),x=o(160);function V(a,r){if(1&a&&(t._UZ(0,"i",7),t.ALo(1,"entityColor"),t._uU(2)),2&a){const s=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"VariantGroup")),t.xp6(2),t.hij(" ",s.name," ")}}function D(a,r){if(1&a&&t._UZ(0,"cvc-variant-tag",10),2&a){const s=r.$implicit;t.Q6J("enablePopover",!1)("variant",s.node)}}function Q(a,r){if(1&a&&(t.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),t.YNc(2,D,1,2,"cvc-variant-tag",9),t.qZA()()),2&a){const s=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",s.variants.edges)}}function G(a,r){if(1&a&&t._UZ(0,"cvc-source-tag",13),2&a){const s=r.$implicit;t.Q6J("enablePopover",!1)("source",s)}}function U(a,r){if(1&a&&(t.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),t.YNc(2,G,1,2,"cvc-source-tag",12),t.qZA()()),2&a){const s=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",s.sources)}}function J(a,r){if(1&a&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,V,3,4,"ng-template",null,3,t.W1O),t._uU(4),t.TgZ(5,"nz-descriptions",4),t.YNc(6,Q,3,1,"nz-descriptions-item",5),t.YNc(7,U,3,1,"nz-descriptions-item",6),t.qZA()(),t.BQk()),2&a){const s=r.ngIf,y=t.MAs(3);t.xp6(1),t.Q6J("nzTitle",y),t.xp6(3),t.hij(" ",s.description," "),t.xp6(1),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",s.variants.edges.length>0),t.xp6(1),t.Q6J("ngIf",s.sources.length>0)}}class O{constructor(r){this.gql=r}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,p.U)(({data:r})=>r?.variantGroup),(0,T.h)(u.ep))}}O.\u0275fac=function(r){return new(r||O)(t.Y36(P.Zo2))},O.\u0275cmp=t.Xpm({type:O,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(r,s){1&r&&(t.TgZ(0,"div",0),t.YNc(1,J,8,5,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&r&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,s.variantGroup$)))},dependencies:[_.sg,_.O5,A.bd,C.R7,C.uj,z.Ls,l.T,Z.I,g.$,I.fM,x.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var L=o(1730);function N(a,r){}function Y(a,r){if(1&a&&(t.ynx(0),t.TgZ(1,"a",4),t.YNc(2,N,0,0,"ng-template",5),t.qZA(),t.BQk()),2&a){const s=t.oxw(),y=t.MAs(2);t.xp6(1),t.Q6J("routerLink",s.variantgroup.link),t.xp6(1),t.Q6J("ngTemplateOutlet",y)}}function R(a,r){}function W(a,r){if(1&a&&t._UZ(0,"cvc-variant-group-popover",9),2&a){const s=t.oxw(3);t.Q6J("variantGroupId",s.variantgroup.id)}}function M(a,r){if(1&a&&t.YNc(0,W,1,1,"cvc-variant-group-popover",8),2&a){const s=t.oxw(2);t.Q6J("ngIf",s.enablePopover)}}function e(a,r){if(1&a&&(t.TgZ(0,"nz-tag",6),t.YNc(1,R,0,0,"ng-template",5),t.qZA(),t.YNc(2,M,1,1,"ng-template",null,7,t.W1O)),2&a){const s=t.MAs(3),y=t.oxw(),j=t.MAs(6);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",s)("nzPopoverTrigger",y.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",j)}}function c(a,r){}function i(a,r){if(1&a&&t.YNc(0,c,0,0,"ng-template",5),2&a){t.oxw();const s=t.MAs(2);t.Q6J("ngTemplateOutlet",s)}}function d(a,r){if(1&a&&(t.TgZ(0,"cvc-icon-badges",10),t._UZ(1,"i",11),t.ALo(2,"entityColor"),t.qZA(),t._uU(3)),2&a){const s=t.oxw();t.Q6J("flagged",s.variantgroup.flagged)("entityColor",s.iconColor),t.xp6(1),t.Q6J("nzTwotoneColor",t.lcZ(2,4,"VariantGroup")),t.xp6(2),t.hij(" ",s.variantgroup.name,"\n")}}class E{set variantgroup(r){if(!r)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=r}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,v.f)("VariantGroup")}}E.\u0275fac=function(r){return new(r||E)},E.\u0275cmp=t.Xpm({type:E,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(r,s){if(1&r&&(t.YNc(0,Y,3,2,"ng-container",0),t.YNc(1,e,4,4,"ng-template",null,1,t.W1O),t.YNc(3,i,1,1,"ng-template",null,2,t.W1O),t.YNc(5,d,4,6,"ng-template",null,3,t.W1O)),2&r){const y=t.MAs(4);t.Q6J("ngIf",s.linked)("ngIfElse",y)}},dependencies:[_.O5,_.tP,n.rH,f.lU,m.j,z.Ls,O,L.b,x.a],encapsulation:2,changeDetection:0})},7677:(B,h,o)=>{o.d(h,{G:()=>g});var v=o(6895),t=o(9116),_=o(6581),n=o(6672),f=o(1102),m=o(897),z=o(2811),u=o(7043),p=o(9444),T=o(2635),P=o(1971),A=o(9194),C=o(4650);class l{}l.\u0275fac=function(x){return new(x||l)},l.\u0275mod=C.oAB({type:l}),l.\u0275inj=C.cJS({imports:[v.ez,T._N,T.pP,P.vh,A.q6,f.PV,z.s,u.Q,m.$,p.s]});var Z=o(6429);class g{}g.\u0275fac=function(x){return new(x||g)},g.\u0275mod=C.oAB({type:g}),g.\u0275inj=C.cJS({imports:[v.ez,t.Bz,_.$6,n.X,f.PV,l,p.s,Z.C]})},9442:(B,h,o)=>{o.d(h,{m:()=>M});var v=o(3240),t=o(9300),_=o(6579),n=o(4650),f=o(7630),m=o(6895),z=o(1971),u=o(9194),p=o(6550),T=o(427),P=o(2635),A=o(9714);function C(e,c){1&e&&n.GkF(0)}const l=function(e){return{$implicit:e}};function Z(e,c){if(1&e&&(n.ynx(0),n.YNc(1,C,1,0,"ng-container",2),n.BQk()),2&e){const i=c.ngIf;n.oxw();const d=n.MAs(4);n.xp6(1),n.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",n.VKq(2,l,i))}}function g(e,c){1&e&&n.GkF(0)}function I(e,c){if(1&e&&(n.ynx(0),n.YNc(1,g,1,0,"ng-container",2),n.BQk()),2&e){const i=n.oxw(),d=n.MAs(4);n.xp6(1),n.Q6J("ngTemplateOutlet",d)("ngTemplateOutletContext",n.VKq(2,l,i.cvcCoordinates))}}function x(e,c){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-descriptions-item",16),n._uU(2),n.ALo(3,"ifEmpty"),n.qZA(),n.TgZ(4,"nz-descriptions-item",17),n._uU(5),n.ALo(6,"ifEmpty"),n.qZA(),n.BQk()),2&e){const i=n.oxw(4).$implicit;n.xp6(2),n.hij(" ",n.xi3(3,2,i.referenceBases,"--")," "),n.xp6(3),n.hij(" ",n.xi3(6,5,i.variantBases,"--")," ")}}function V(e,c){if(1&e&&(n.TgZ(0,"cvc-link-tag",18),n._uU(1),n.qZA()),2&e){const i=n.oxw().ngIf;n.Q6J("href","http://www.ensembl.org/Homo_sapiens/transview?transcript="+i.representativeTranscript),n.xp6(1),n.hij(" ",i.representativeTranscript," ")}}function D(e,c){1&e&&(n.ynx(0),n._uU(1," -- "),n.BQk())}const Q=function(){return{xxl:4,xl:2,lg:1,md:1,sm:1,xs:1}};function G(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions",10)(1,"nz-descriptions-item",11),n._uU(2),n.qZA(),n.TgZ(3,"nz-descriptions-item",12),n._uU(4),n.qZA(),n.TgZ(5,"nz-descriptions-item",13),n._uU(6),n.qZA(),n.YNc(7,x,7,8,"ng-container",0),n.TgZ(8,"nz-descriptions-item",14),n.YNc(9,V,2,2,"cvc-link-tag",15),n.YNc(10,D,2,0,"ng-container",0),n.qZA()()),2&e){const i=c.ngIf,d=n.oxw(3).$implicit;n.s9C("nzTitle",d.secondaryCoordinates?"5' Coordinates":"Coordinates"),n.Q6J("nzColumn",n.DdM(8,Q)),n.xp6(2),n.hij(" ",i.chromosome," "),n.xp6(2),n.hij(" ",i.start," "),n.xp6(2),n.hij(" ",i.stop," "),n.xp6(1),n.Q6J("ngIf",!d.secondaryCoordinates),n.xp6(2),n.Q6J("ngIf",i.representativeTranscript),n.xp6(1),n.Q6J("ngIf",!i.representativeTranscript)}}function U(e,c){if(1&e&&(n.ynx(0),n.YNc(1,G,11,9,"nz-descriptions",9),n.BQk()),2&e){const i=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",i.primaryCoordinates)}}function J(e,c){if(1&e&&(n.TgZ(0,"cvc-link-tag",18),n._uU(1),n.qZA()),2&e){const i=n.oxw().ngIf;n.Q6J("href","http://www.ensembl.org/Homo_sapiens/transview?transcript="+i.representativeTranscript),n.xp6(1),n.hij(" ",i.representativeTranscript," ")}}function O(e,c){1&e&&(n.ynx(0),n._uU(1," -- "),n.BQk())}function L(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",11),n._uU(2),n.qZA(),n.TgZ(3,"nz-descriptions-item",12),n._uU(4),n.qZA(),n.TgZ(5,"nz-descriptions-item",13),n._uU(6),n.qZA(),n.TgZ(7,"nz-descriptions-item",14),n.YNc(8,J,2,2,"cvc-link-tag",15),n.YNc(9,O,2,0,"ng-container",0),n.qZA()()),2&e){const i=c.ngIf;n.Q6J("nzColumn",n.DdM(6,Q)),n.xp6(2),n.hij(" ",i.chromosome," "),n.xp6(2),n.hij(" ",i.start," "),n.xp6(2),n.hij(" ",i.stop," "),n.xp6(2),n.Q6J("ngIf",i.representativeTranscript),n.xp6(1),n.Q6J("ngIf",!i.representativeTranscript)}}function N(e,c){if(1&e&&(n.ynx(0),n.YNc(1,L,10,7,"nz-descriptions",19),n.BQk()),2&e){const i=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",i.secondaryCoordinates)}}function Y(e,c){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-descriptions",6)(2,"nz-descriptions-item",7),n._uU(3),n.qZA(),n.TgZ(4,"nz-descriptions-item",8),n._uU(5),n.qZA()(),n.YNc(6,U,2,1,"ng-container",0),n.YNc(7,N,2,1,"ng-container",0),n.BQk()),2&e){const i=n.oxw().$implicit;n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.hij(" ",i.referenceBuild," "),n.xp6(2),n.hij(" ",i.ensemblVersion," "),n.xp6(1),n.Q6J("ngIf",null==i.primaryCoordinates?null:i.primaryCoordinates.chromosome),n.xp6(1),n.Q6J("ngIf",i.secondaryCoordinates)}}function R(e,c){1&e&&n._UZ(0,"cvc-empty-revisable",21)}function W(e,c){if(1&e&&(n.TgZ(0,"nz-card",3),n.YNc(1,Y,8,5,"ng-container",4),n.qZA(),n.YNc(2,R,1,0,"ng-template",null,5,n.W1O)),2&e){const i=c.$implicit,d=n.MAs(3),E=n.oxw();n.Q6J("nzTitle",E.displayTitle?"Representative Variant Coordinates":void 0),n.xp6(1),n.Q6J("ngIf",i.referenceBuild)("ngIfElse",d)}}class M{constructor(c){this.gql=c,this.displayTitle=!0}ngOnInit(){if(!this.cvcCoordinates&&!this.cvcVariantId)throw new Error("CvcCoordinatesCard requires valid cvcVariantId or cvcCoordinates Input, none provided.");if(!this.cvcCoordinates&&this.cvcVariantId){this.queryRef=this.gql.watch({variantId:this.cvcVariantId});let c=this.queryRef.valueChanges;this.loading$=c.pipe((0,_.j)("loading"),(0,t.h)(v.ep)),this.variant$=c.pipe((0,_.j)("data","variant"),(0,t.h)(v.ep))}}}M.\u0275fac=function(c){return new(c||M)(n.Y36(f.Hmr))},M.\u0275cmp=n.Xpm({type:M,selectors:[["cvc-coordinates-card"]],inputs:{cvcVariantId:"cvcVariantId",cvcCoordinates:"cvcCoordinates",displayTitle:"displayTitle"},decls:5,vars:4,consts:[[4,"ngIf"],["coordinateCard",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzTitle"],[4,"ngIf","ngIfElse"],["noCoordinates",""],["nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzColumn"],["nzTitle","Ref. Build"],["nzTitle","Ensembl Version"],["nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzTitle","nzColumn",4,"ngIf"],["nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzTitle","nzColumn"],["nzTitle","Chr.","nzColumn","1"],["nzTitle","Start","nzColumn","1"],["nzTitle","Stop","nzColumn","1"],["nzTitle","Transcript","nzColumn","5"],["tooltip","View on Ensembl",3,"href",4,"ngIf"],["nzTitle","Ref. Bases","nzColumn","1"],["nzTitle","Var. Bases","nzColumn","1"],["tooltip","View on Ensembl",3,"href"],["nzTitle","3' Coordinates","nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzColumn",4,"ngIf"],["nzTitle","3' Coordinates","nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzColumn"],["notification","No coordinates specified"]],template:function(c,i){1&c&&(n.YNc(0,Z,2,4,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,I,2,4,"ng-container",0),n.YNc(3,W,4,3,"ng-template",null,1,n.W1O)),2&c&&(n.Q6J("ngIf",i.cvcVariantId&&n.lcZ(1,2,i.variant$)),n.xp6(2),n.Q6J("ngIf",i.cvcCoordinates))},dependencies:[m.O5,m.tP,z.bd,u.R7,u.uj,p.l,T.J,P.fM,A.D],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}nz-card[_ngcontent-%COMP%]:first-of-type nz-descriptions .ant-descriptions-view{border-left:none;border-right:none}nz-card[_ngcontent-%COMP%]:first-of-type nz-descriptions:first-child .ant-descriptions-view{border-top:none}nz-card[_ngcontent-%COMP%]:first-of-type nz-descriptions:last-child .ant-descriptions-view{border-bottom:none}"]})},9341:(B,h,o)=>{o.d(h,{z:()=>p});var v=o(6895),t=o(1971),_=o(9194),n=o(4989),f=o(8541),m=o(2635),z=o(9444),u=o(4650);class p{}p.\u0275fac=function(P){return new(P||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[v.ez,m._N,m.pP,t.vh,_.q6,z.s,n.X,f.o]})}}]); \ No newline at end of file diff --git a/server/public/770.07c8e52b29e505d9.js b/server/public/770.07c8e52b29e505d9.js deleted file mode 100644 index 7869fe245..000000000 --- a/server/public/770.07c8e52b29e505d9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[770],{9460:(M,u,e)=>{e.d(u,{i:()=>i});var s=e(6895),c=e(9116),r=e(6672),p=e(6581),t=e(1102),o=e(1698),a=e(9444),d=e(48),_=e(6429),v=e(4650);class i{}i.\u0275fac=function(f){return new(f||i)},i.\u0275mod=v.oAB({type:i}),i.\u0275inj=v.cJS({imports:[s.ez,c.Bz,d.mS,r.X,p.$6,t.PV,o.f,a.s,_.C]})},9476:(M,u,e)=>{e.d(u,{L:()=>g});var s=e(6895),c=e(9116),r=e(6672),p=e(1102),t=e(3679),o=e(4989),a=e(9194),d=e(1971),_=e(2635),v=e(5473),i=e(4650);class n{}n.\u0275fac=function(T){return new(T||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[s.ez,_._N,_.pP,d.vh,t.Jb,a.q6,o.X,v.H]});var f=e(6581);class g{}g.\u0275fac=function(T){return new(T||g)},g.\u0275mod=i.oAB({type:g}),g.\u0275inj=i.cJS({imports:[s.ez,c.Bz,r.X,p.PV,f.$6,n]})},7946:(M,u,e)=>{e.d(u,{x:()=>n});var s=e(6895),c=e(897),r=e(6672),p=e(6581),t=e(8845),o=e(9476),a=e(1229),d=e(7043),_=e(701),v=e(8645),i=e(4650);class n{}n.\u0275fac=function(g){return new(g||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[s.ez,r.X,p.$6,c.$,_.N,t.Q,o.L,a.U,d.Q,v.M]})},8645:(M,u,e)=>{e.d(u,{M:()=>f});var s=e(6895),c=e(9116),r=e(6672),p=e(1971),t=e(4989),o=e(9194),a=e(2635),d=e(1102),_=e(9444),v=e(4650);class i{}i.\u0275fac=function(I){return new(I||i)},i.\u0275mod=v.oAB({type:i}),i.\u0275inj=v.cJS({imports:[s.ez,a._N,a.pP,d.PV,p.vh,o.q6,_.s,t.X]});var n=e(6581);class f{}f.\u0275fac=function(I){return new(I||f)},f.\u0275mod=v.oAB({type:f}),f.\u0275inj=v.cJS({imports:[s.ez,c.Bz,d.PV,r.X,n.$6,i]})},4475:(M,u,e)=>{e.d(u,{F:()=>r});var c=e(4650);class r{transform(t,o="display-string"){return void 0===t?"":"display-string"===o?function s(p){switch(p){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return p}}(t):`civic-${t.replace(/_/g,"").toLowerCase()}`}}r.\u0275fac=function(t){return new(t||r)},r.\u0275pipe=c.Yjl({name:"therapyInteractionEnumDisplay",type:r,pure:!0})},9878:(M,u,e)=>{e.d(u,{G:()=>h});var s=e(655),c=e(4006),r=e(6123),p=e(7726),t=e(9933);const v=(0,e(3612).Z)([{wrappers:["form-layout"],props:{submitLabel:"Submit Revisions",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Assertion"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0,watchVariantMolecularProfileId:!0}},{key:"assertionType",type:"type-select",props:{required:!0}},{key:"assertionDirection",type:"direction-select",props:{required:!0,colSpan:8,formMode:"revise"}},{key:"significance",type:"significance-select",props:{required:!0,colSpan:8,formMode:"revise"}},{key:"diseaseId",type:"disease-select",props:{colSpan:8}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"ampLevel",type:"amp-category-select",props:{colSpan:8}},{key:"acmgCodeIds",type:"acmg-code-multi-select",props:{colSpan:8}},{key:"clingenCodeIds",type:"clingen-code-multi-select",props:{colSpan:8}},{key:"nccnGuidelineId",type:"nccn-guideline-select",props:{}},{key:"nccnGuidelineVersion",type:"nccn-guideline-version-input",props:{}},{key:"fdaRegulatoryApproval",type:"fda-regulatory-approval-checkbox",props:{}},{key:"fdaCompanionTest",type:"fda-companion-test-checkbox",props:{}},{key:"evidenceItemIds",type:"evidence-multi-select",props:{required:!0,isMultiSelect:!0,colSpan:24}},{key:"summary",type:"textarea",wrappers:["form-field"],props:{tooltip:"A short, one sentence summary of the Assertion",placeholder:"Enter an Assertion Summary",label:"Assertion Summary",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"A complete, original description of this Assertion. Limited to one paragraph.",placeholder:"Enter an Assertion Statement",label:"Assertion Statement",required:!0,rows:5,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{molecularProfileId:void 0,acmgCodeIds:[],ampLevel:void 0,assertionDirection:void 0,assertionType:void 0,clingenCodeIds:[],significance:void 0,description:void 0,diseaseId:void 0,therapyIds:[],therapyInteractionType:void 0,evidenceItemIds:[],fdaCompanionTest:void 0,fdaRegulatoryApproval:void 0,nccnGuidelineId:void 0,nccnGuidelineVersion:void 0,phenotypeIds:[],summary:void 0,variantOrigin:void 0},comment:void 0,organizationId:void 0});var P,i=e(3122),n=e(4650),f=e(7630),g=e(9169),I=e(6895),T=e(6704),O=e(6212),A=e(7830);function D(y,m){if(1&y&&(n._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),n.TgZ(1,"a",4),n._uU(2,"here."),n.qZA()),2&y){const l=n.oxw();n.xp6(1),n.s9C("href",l.url,n.LSH)}}function R(y,m){if(1&y){const l=n.EpF();n.TgZ(0,"form",5),n.NdJ("ngSubmit",function(){n.CHM(l);const E=n.oxw();return n.KtG(E.onSubmit(E.model))}),n.TgZ(1,"formly-form",6),n.NdJ("modelChange",function(E){n.CHM(l);const z=n.oxw();return n.KtG(z.model=E)}),n.qZA()()}if(2&y){const l=n.oxw();n.Q6J("formGroup",l.form),n.xp6(1),n.Q6J("form",l.form)("fields",l.fields)("model",l.model)("options",l.options)}}function L(y,m){1&y&&n._uU(0," Loading Assertion... ")}let h=((P=class{constructor(m,l,C,E){this.revisableFieldsGQL=m,this.submitRevisionsGQL=l,this.networkErrorService=C,this.cdr=E,this.form=new c.nJ({}),this.fields=v,this.state=new p._,this.options={formState:this.state},this.reviseAssertionMutator=new r.U(C)}onSubmit(m){if(!this.assertionId)return;let l=(0,i.lf)(this.assertionId,m);l&&(this.mutationState=this.reviseAssertionMutator.mutate(this.submitRevisionsGQL,{input:l}))}ngOnInit(){this.url=`/assertions/${this.assertionId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({assertionId:this.assertionId}).pipe((0,t.t)(this)).subscribe({next:({data:{assertion:m}})=>{m&&(this.model={id:m.id,fields:(0,i.FX)(m)},this.cdr.detectChanges())},error:m=>{console.log("Error retrieving Assertion"),console.log(m)},complete:()=>{this.state.formReady$.next(!0)}})}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(m){return new(m||P)(n.Y36(f.bgg),n.Y36(f.c$m),n.Y36(g.Y),n.Y36(n.sBO))},P.\u0275cmp=n.Xpm({type:P,selectors:[["cvc-assertion-revise-form"]],inputs:{assertionId:"assertionId"},decls:6,vars:5,consts:[["entityType","Evidence Item",3,"mutationState","successMessage","redirectUrl"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(m,l){if(1&m&&(n.TgZ(0,"cvc-form-submission-status-display",0),n.YNc(1,D,3,1,"ng-template",null,1,n.W1O),n.YNc(3,R,2,5,"form",2),n.YNc(4,L,1,0,"ng-template",null,3,n.W1O),n.qZA()),2&m){const C=n.MAs(2),E=n.MAs(5);n.Q6J("mutationState",l.mutationState)("successMessage",C)("redirectUrl",l.url),n.xp6(3),n.Q6J("ngIf",l.model)("ngIfElse",E)}},dependencies:[I.O5,T.Lr,c._Y,c.JL,c.sg,O.T7,A.F],encapsulation:2,changeDetection:0}),P);h=(0,s.gn)([(0,t.c)()],h)},1076:(M,u,e)=>{e.d(u,{P:()=>d});var s=e(6895),c=e(6704),r=e(6616),p=e(5106),t=e(2635),o=e(9676),a=e(4650);class d{}d.\u0275fac=function(v){return new(v||d)},d.\u0275mod=a.oAB({type:d}),d.\u0275inj=a.cJS({imports:[s.ez,t._N,t.pP,c.U5,r.sL,p.S,o.g]})},3122:(M,u,e)=>{e.d(u,{FX:()=>c,XU:()=>r,lf:()=>p});var s=e(9289);function c(t){return{acmgCodeIds:t.acmgCodes.map(o=>o.id),ampLevel:t.ampLevel,assertionDirection:t.assertionDirection,assertionType:t.assertionType,clingenCodeIds:t.clingenCodes.map(o=>o.id),significance:t.significance,description:t.description,diseaseId:t.disease?.id,therapyIds:t.therapies.map(o=>o.id),therapyInteractionType:t.therapyInteractionType,evidenceItemIds:t.evidenceItems.map(o=>o.id),fdaCompanionTest:t.fdaCompanionTest,fdaRegulatoryApproval:t.regulatoryApproval,molecularProfileId:t.molecularProfile.id,nccnGuidelineId:t.nccnGuideline?.id,nccnGuidelineVersion:t.nccnGuidelineVersion,phenotypeIds:t.phenotypes.map(o=>o.id),summary:t.summary,variantOrigin:t.variantOrigin}}function r(t){const o=t.fields;if(![o.assertionDirection,o.assertionType,o.significance,o.variantOrigin,o.molecularProfileId,t.comment].find(d=>void 0===d))return{fields:{acmgCodeIds:o.acmgCodeIds||[],ampLevel:s.uP(o.ampLevel),assertionDirection:o.assertionDirection,assertionType:o.assertionType,clingenCodeIds:o.clingenCodeIds||[],significance:o.significance,description:s.xt(o.description),diseaseId:s.uP(o.diseaseId),therapyIds:o.therapyIds||[],therapyInteractionType:s.uP(o.therapyInteractionType),evidenceItemIds:o.evidenceItemIds||[],fdaCompanionTest:s.uP(o.fdaCompanionTest),fdaRegulatoryApproval:s.uP(o.fdaRegulatoryApproval),molecularProfileId:o.molecularProfileId,nccnGuidelineId:s.uP(o.nccnGuidelineId),nccnGuidelineVersion:s.xt(o.nccnGuidelineVersion),phenotypeIds:o.phenotypeIds||[],summary:s.xt(o.summary),variantOrigin:o.variantOrigin},organizationId:t.organizationId,comment:t.comment}}function p(t,o){let a=r(o);if(a)return{id:t,comment:a.comment,organizationId:a.organizationId,fields:a.fields}}}}]); \ No newline at end of file diff --git a/server/public/7717.17225d5d4dbee03e.js b/server/public/7717.17225d5d4dbee03e.js deleted file mode 100644 index c4e928ff3..000000000 --- a/server/public/7717.17225d5d4dbee03e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7717],{3220:(U,x,e)=>{e.d(x,{l:()=>d});var o=e(4650),h=e(6895),P=e(6672),C=e(6581),T=e(6715);const p=function(r){return{"matched-tag":r}};function m(r,s){if(1&r&&(o.TgZ(0,"span",2)(1,"nz-tag"),o._uU(2),o.qZA()()),2&r){const c=s.$implicit,t=o.oxw();o.Q6J("ngClass",o.VKq(2,p,t.matchingText&&c.toLowerCase().includes(t.matchingText))),o.xp6(2),o.Oqu(c)}}function M(r,s){if(1&r&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&r){const c=o.oxw(2);o.xp6(1),o.hij(" ",c.matchedHiddenCount," of ")}}function z(r,s){if(1&r&&(o.TgZ(0,"nz-tag",5),o._uU(1," +"),o.YNc(2,M,2,1,"span",6),o._uU(3),o.qZA()),2&r){const c=o.oxw(),t=o.MAs(5);o.Q6J("nzPopoverMouseEnterDelay",0)("nzPopoverContent",t),o.xp6(2),o.Q6J("ngIf",c.matchedHiddenCount>0),o.xp6(1),o.hij("",c.hiddenCount," ")}}function f(r,s){if(1&r&&(o.TgZ(0,"div",2)(1,"nz-tag"),o._uU(2),o.qZA()()),2&r){const c=s.$implicit,t=o.oxw(2);o.Q6J("ngClass",o.VKq(2,p,t.matchingText&&c.toLowerCase().includes(t.matchingText))),o.xp6(2),o.Oqu(c)}}function v(r,s){if(1&r&&(o.TgZ(0,"div",7)(1,"cvc-tag-list",0),o.YNc(2,f,3,4,"div",1),o.qZA()()),2&r){const c=o.oxw();o.xp6(2),o.Q6J("ngForOf",c.hiddenTags)}}class d{constructor(s){this.cdr=s,this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnChanges(s){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.hiddenTags){let s=this.matchingText.toLowerCase();this.hiddenTags.forEach(c=>{c.toLowerCase().includes(s)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0}}d.\u0275fac=function(s){return new(s||d)(o.Y36(o.sBO))},d.\u0275cmp=o.Xpm({type:d,selectors:[["cvc-plain-tag-overflow"]],inputs:{tags:"tags",matchingText:"matchingText",maxDisplayCount:"maxDisplayCount"},features:[o.TTD],decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"]],template:function(s,c){1&s&&(o.TgZ(0,"cvc-tag-list",0),o.YNc(1,m,3,4,"span",1),o.TgZ(2,"span",2),o.YNc(3,z,4,4,"nz-tag",3),o.qZA(),o.YNc(4,v,3,1,"ng-template",null,4,o.W1O),o.qZA()),2&s&&(o.xp6(1),o.Q6J("ngForOf",c.displayedTags),o.xp6(1),o.Q6J("ngClass",o.VKq(3,p,c.matchedHiddenCount>0)),o.xp6(1),o.Q6J("ngIf",c.hiddenCount&&c.hiddenCount>0))},dependencies:[h.mk,h.sg,h.O5,P.j,C.lU,T.$],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0})},3650:(U,x,e)=>{e.d(x,{T:()=>p});var o=e(6895),h=e(897),P=e(6672),C=e(6581),T=e(4650);class p{}p.\u0275fac=function(M){return new(M||p)},p.\u0275mod=T.oAB({type:p}),p.\u0275inj=T.cJS({imports:[o.ez,P.X,C.$6,h.$]})},3575:(U,x,e)=>{e.d(x,{d:()=>L});var O,o=e(655),h=e(3154),P=e(7630),C=e(9933),T=e(1135),p=e(7579),m=e(3240),M=e(1884),z=e(2529),f=e(5684),v=e(9300),d=e(4004),r=e(8372),s=e(1365),c=e(6579),t=e(4650),D=e(6895),A=e(4006),Z=e(7044),S=e(1971),I=e(1102),E=e(8231),u=e(6675),K=e(6672),R=e(7570),B=e(5851),W=e(7451),b=e(2166),J=e(3388),Q=e(3220),w=e(783),$=e(3667),H=e(9947),j=e(2635);function N(l,_){}function F(l,_){if(1&l&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,N,0,0,"ng-template",6),t.qZA(),t.BQk()),2&l){t.oxw();const n=t.MAs(6),i=t.MAs(8),a=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",n)("nzExtra",i),t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function Y(l,_){}const V=function(l){return{height:l}};function G(l,_){if(1&l&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,Y,0,0,"ng-template",6),t.qZA()()),2&l){const n=t.oxw(),i=t.MAs(6),a=t.MAs(8),g=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,V,n.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",i)("nzExtra",a),t.xp6(1),t.Q6J("ngTemplateOutlet",g)}}function X(l,_){if(1&l&&(t.TgZ(0,"tr",38)(1,"td",26),t._UZ(2,"cvc-source-tag",39),t.qZA(),t.TgZ(3,"td",40),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._UZ(6,"cvc-plain-tag-overflow",41),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td"),t._uU(12),t.qZA(),t.TgZ(13,"td"),t._uU(14),t.qZA(),t.TgZ(15,"td",42),t._UZ(16,"span",43),t.qZA(),t.TgZ(17,"td",44),t._uU(18),t.qZA(),t.TgZ(19,"td",44),t._uU(20),t.qZA()()),2&l){const n=_.$implicit,i=t.oxw(2);t.xp6(2),t.Q6J("source",n)("truncateLongName",!0),t.xp6(1),t.Q6J("nzTooltipTitle",i.isScrolling?"":n.name),t.xp6(1),t.hij(" ",n.name," "),t.xp6(2),t.Q6J("tags",n.authors)("maxDisplayCount",1)("matchingText",i.authorInput),t.xp6(2),t.hij(" ",n.displayType," "),t.xp6(2),t.hij(" ",n.citationId," "),t.xp6(2),t.hij(" ",n.publicationYear," "),t.xp6(2),t.hij(" ",n.journal," "),t.xp6(1),t.Q6J("nzTooltipTitle",n.openAccess?"Open":"Closed"),t.xp6(1),t.Q6J("nzType",n.openAccess?"unlock":"lock"),t.xp6(2),t.Oqu(n.evidenceItemCount),t.xp6(2),t.Oqu(n.sourceSuggestionCount)}}const q=function(){return[]},k=function(){return{x:"680px",y:"800px"}},y=function(){return["descend","ascend",null]};function tt(l,_){if(1&l){const n=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.scrollEvent$.next(a))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.sortChange$.next(a))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Citation "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Name "),t.qZA(),t.TgZ(12,"th",15),t._uU(13," Authors "),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Type "),t.qZA(),t.TgZ(16,"th",17),t._uU(17," ID "),t.qZA(),t.TgZ(18,"th",16),t._uU(19," Year "),t.qZA(),t.TgZ(20,"th",18),t._uU(21," Journal "),t.qZA(),t.TgZ(22,"th",19),t._UZ(23,"i",20),t.qZA(),t.TgZ(24,"th",21),t._UZ(25,"i",22),t._uU(26," Count "),t.qZA(),t.TgZ(27,"th",23),t._UZ(28,"i",24),t._uU(29," Count "),t.qZA()(),t.TgZ(30,"tr",25),t._UZ(31,"th",26),t.TgZ(32,"th")(33,"cvc-clearable-input-filter",27),t.NdJ("inputModelChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.nameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(34,"th")(35,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.authorInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(36,"th")(37,"nz-select",29),t.NdJ("ngModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())})("ngModelChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.sourceTypeInput=a)}),t._UZ(38,"nz-option",30)(39,"nz-option",31)(40,"nz-option",32),t.qZA()(),t.TgZ(41,"th")(42,"cvc-clearable-input-filter",33),t.NdJ("inputModelChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.citationIdInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(43,"th")(44,"cvc-clearable-input-filter",33),t.NdJ("inputModelChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.yearInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(45,"th")(46,"cvc-clearable-input-filter",33),t.NdJ("inputModelChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.journalInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(47,"th",34)(48,"nz-select",29),t.NdJ("ngModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())})("ngModelChange",function(a){t.CHM(n);const g=t.oxw();return t.KtG(g.openAccessInput=a)}),t._UZ(49,"nz-option",35)(50,"nz-option",36),t.qZA()(),t._UZ(51,"th",34)(52,"th",34),t.qZA()(),t.TgZ(53,"tbody"),t.YNc(54,X,21,15,"ng-template",37),t.qZA()()}if(2&l){const n=t.oxw();t.Q6J("nzData",t.lcZ(2,38,n.row$)||t.DdM(46,q))("nzLoading",!t.lcZ(3,40,n.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,42,n.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,44,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",t.DdM(47,k))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(10),t.Q6J("nzColumnKey",n.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.Authors)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.SourceType)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.CitationId)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.Year)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.Journal)("nzSortFn",!0),t.xp6(4),t.Q6J("nzColumnKey",n.sortColumns.EvidenceCount)("nzSortFn",!0)("nzSortDirections",t.DdM(48,y)),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.SuggestionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(49,y)),t.xp6(6),t.Q6J("inputModel",n.nameInput),t.xp6(2),t.Q6J("inputModel",n.authorInput),t.xp6(2),t.Q6J("ngModel",n.sourceTypeInput),t.xp6(5),t.Q6J("inputModel",n.citationIdInput),t.xp6(2),t.Q6J("inputModel",n.yearInput),t.xp6(2),t.Q6J("inputModel",n.journalInput),t.xp6(2),t.Q6J("ngModel",n.openAccessInput),t.xp6(1),t.Q6J("nzValue",!0),t.xp6(1),t.Q6J("nzValue",!1)}}function nt(l,_){}function et(l,_){if(1&l&&(t.ynx(0),t.YNc(1,nt,0,0,"ng-template",6),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function ot(l,_){if(1&l&&(t.ynx(0),t._uU(1),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.hij(" ",n.cvcTitle," ")}}function _t(l,_){if(1&l&&(t.YNc(0,et,2,1,"ng-container",45),t.YNc(1,ot,2,1,"ng-container",45),t.TgZ(2,"span",46),t._UZ(3,"cvc-table-counts",47),t.qZA()),2&l){const n=t.oxw();t.Q6J("ngIf",n.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",n.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",n.connection$)}}function at(l,_){1&l&&(t.TgZ(0,"nz-tag",50),t._UZ(1,"i",51),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function lt(l,_){if(1&l&&(t.YNc(0,at,4,0,"nz-tag",48),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",49),t.ALo(3,"ngrxPush")),2&l){const n=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,n.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,n.noMoreRows$))}}let L=((O=class{set initialUserFilters(_){_&&Object.assign(this,_)}constructor(_,n){this.gql=_,this.cdr=n,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=P.kQl,this.noMoreRows$=new T.X(!1),this.scrollEvent$=new T.X("stop"),this.sortChange$=new p.x,this.filterChange$=new p.x,this.scrollIndex$=new p.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,clinicalTrialId:this.clinicalTrialId}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,c.j)("loading"),(0,M.x)(),(0,z.o)(_=>!1!==_,!0)),this.moreLoading$=this.result$.pipe((0,c.j)("loading"),(0,M.x)(),(0,f.T)(2)),this.connection$=this.result$.pipe((0,c.j)("data","browseSources"),(0,v.h)(m.ep)),this.row$=this.connection$.pipe((0,c.j)("edges"),(0,v.h)(m.ep),(0,d.U)(_=>_.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,c.j)("pageInfo"),(0,v.h)(m.ep)),this.sortChange$.pipe((0,C.t)(this)).subscribe(_=>{this.queryRef.refetch({sortBy:(0,h._)(_)})}),this.filterChange$.pipe((0,r.b)(500),(0,C.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,d.U)(_=>"stop"!==_),(0,M.x)(),(0,C.t)(this)).subscribe(_=>{this.isScrolling=_,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,v.h)(_=>"bottom"===_),(0,s.M)(this.pageInfo$),(0,d.U)(([_,n])=>n),(0,C.t)(this)).subscribe(_=>{_.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({citationId:this.citationIdInput?+this.citationIdInput:void 0,author:this.authorInput,year:this.yearInput?+this.yearInput:void 0,journal:this.journalInput,name:this.nameInput,sourceType:this.sourceTypeInput,openAccess:this.openAccessInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(_,n){return n?.id}}).\u0275fac=function(_){return new(_||O)(t.Y36(P.IZ6),t.Y36(t.sBO))},O.\u0275cmp=t.Xpm({type:O,selectors:[["cvc-sources-table"]],inputs:{cvcHeight:"cvcHeight",clinicalTrialId:"clinicalTrialId",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","400px","nzLeft",""],["nzWidth","200px",3,"nzColumnKey","nzSortFn"],["nzWidth","275px",3,"nzColumnKey","nzSortFn"],["nzWidth","75px",3,"nzColumnKey","nzSortFn"],["nzWidth","80px",3,"nzColumnKey","nzSortFn"],["nzWidth","150px",3,"nzColumnKey","nzSortFn"],["nzWidth","80px","nzRight","","nz-tooltip","","nzTooltipTitle","Open Access"],["nz-icon","","nzType","unlock"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Suggestion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-queue"],[1,"filter-row"],["nzLeft",""],["placeholderText","Name",3,"inputModel","inputModelChange"],["placeholderText","Authors",3,"inputModel","inputModelChange"],["nzSize","small","nzAllowClear","","nzPlaceHolder","Choose",3,"ngModel","ngModelChange"],["nzValue","PUBMED","nzLabel","PubMed"],["nzValue","ASCO","nzLabel","ASCO"],["nzValue","ASH","nzLabel","ASH"],[3,"inputModel","inputModelChange"],["nzRight",""],["nzLabel","Open",3,"nzValue"],["nzLabel","Closed",3,"nzValue"],["nz-virtual-scroll",""],[1,"data-row"],[3,"source","truncateLongName"],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],[3,"tags","maxDisplayCount","matchingText"],["nzRight","","nz-tooltip","",3,"nzTooltipTitle"],["nz-icon","","nzTheme","outline",3,"nzType"],["nzAlign","right","nzRight",""],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(_,n){if(1&_&&(t.YNc(0,F,3,3,"ng-container",0),t.YNc(1,G,3,6,"ng-template",null,1,t.W1O),t.YNc(3,tt,55,50,"ng-template",null,2,t.W1O),t.YNc(5,_t,4,3,"ng-template",null,3,t.W1O),t.YNc(7,lt,4,6,"ng-template",null,4,t.W1O)),2&_){const i=t.MAs(2);t.Q6J("ngIf",!n.cvcHeight)("ngIfElse",i)}},dependencies:[D.O5,D.tP,D.PC,A.JJ,A.On,Z.w,S.bd,I.Ls,E.Ip,E.Vq,u.N8,u.qD,u.Uo,u._C,u.Om,u.p0,u.$Z,u.zu,u.qn,u.UX,K.j,R.SY,B.D,W.q,b.p,J.H,Q.l,w.T,$.B,H.y,j.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"],changeDetection:0}),O);L=(0,o.gn)([(0,C.c)()],L)},7279:(U,x,e)=>{e.d(x,{h:()=>E});var o=e(6895),h=e(4006),P=e(4125),C=e(2994),T=e(3650),p=e(8525),m=e(9444),M=e(3111),z=e(1433),f=e(9240),v=e(2635),d=e(6616),r=e(1971),s=e(1102),c=e(8231),t=e(6675),D=e(6672),A=e(7570),Z=e(8823),S=e(2811),I=e(4650);class E{}E.\u0275fac=function(K){return new(K||E)},E.\u0275mod=I.oAB({type:E}),E.\u0275inj=I.cJS({imports:[o.ez,h.u5,v._N,v.pP,d.sL,r.vh,s.PV,c.LV,t.HQ,D.X,A.cg,Z.ZJ,m.s,M.n,z.c,P.k,C.y,T.T,S.s,p.T,f.w]})}}]); \ No newline at end of file diff --git a/server/public/7856.7f558841cb7ecd2a.js b/server/public/7856.7f558841cb7ecd2a.js new file mode 100644 index 000000000..e128bec52 --- /dev/null +++ b/server/public/7856.7f558841cb7ecd2a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7856],{7441:(N,I,o)=>{o.d(I,{o:()=>W});var E,n=o(655),u=o(313),M=o(8645),v=o(2181),g=o(7398),D=o(9773),z=o(2185),O=o(3997),x=o(8180),L=o(553),m=o(5676),T=o(1791),t=o(5879);function A(_,e){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",13),t.BQk()),2&_){const i=t.oxw().ngIf,s=t.oxw(3);t.xp6(1),t.Q6J("events",i)("tagDisplay",s.tagDisplay)}}function P(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"div",15)(1,"button",16),t.NdJ("click",function(){t.CHM(i);const l=t.oxw().ngIf,C=t.oxw(4);return t.KtG(C.fetchMore(l.endCursor))}),t._uU(2," Load More "),t.qZA()()}}function c(_,e){if(1&_&&(t.ynx(0),t.YNc(1,P,3,0,"div",14),t.BQk()),2&_){const i=e.ngIf;t.xp6(1),t.Q6J("ngIf",i.hasNextPage&&i.endCursor)}}function p(_,e){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-row",3)(2,"nz-col",12),t.YNc(3,A,2,2,"ng-container",1),t.YNc(4,c,2,1,"ng-container",10),t.ALo(5,"ngrxPush"),t.qZA()(),t.BQk()),2&_){const i=e.ngIf,s=t.oxw(3),l=t.MAs(5);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",i.length)("ngIfElse",l),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,s.pageInfo$))}}function a(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"nz-badge",19)(1,"button",20),t.NdJ("click",function(){t.CHM(i);const l=t.oxw(6);return t.KtG(l.refresh())}),t._uU(2," New Event(s) "),t.qZA()()}if(2&_){const i=t.oxw().ngrxLet,s=t.oxw(5);t.Q6J("nzCount",i-s.originalEventCount)}}function r(_,e){if(1&_&&(t.ynx(0),t.YNc(1,a,3,1,"nz-badge",18),t.BQk()),2&_){const i=e.ngrxLet,s=t.oxw(5);t.xp6(1),t.Q6J("ngIf",i&&i>s.originalEventCount)}}function d(_,e){if(1&_&&(t.ynx(0),t.YNc(1,r,2,1,"ng-container",17),t.BQk()),2&_){const i=t.oxw(4);t.xp6(1),t.Q6J("ngrxLet",i.newEventCount$)}}function f(_,e){if(1&_&&t.YNc(0,d,2,1,"ng-container",10),2&_){const i=t.oxw(3);t.Q6J("ngIf",i.pollForNewEvents&&i.originalEventCount)}}function U(_,e){if(1&_&&(t.TgZ(0,"nz-card",9),t.YNc(1,p,6,6,"ng-container",10),t.ALo(2,"ngrxPush"),t.YNc(3,f,1,1,"ng-template",null,11,t.W1O),t.qZA()),2&_){const i=t.MAs(4),s=t.oxw(2);t.Q6J("nzTitle",s.showFilters?"Events":void 0)("nzExtra",i),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,3,s.events$))}}function S(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"span"),t._uU(1," Show Child Events "),t.TgZ(2,"nz-switch",22),t.NdJ("ngModelChange",function(l){t.CHM(i);const C=t.oxw(3);return t.KtG(C.showChildren=l)})("ngModelChange",function(){t.CHM(i);const l=t.oxw(3);return t.KtG(l.onShowChildrenToggle())}),t.qZA()()}if(2&_){const i=t.oxw(3);t.xp6(2),t.Q6J("ngModel",i.showChildren)}}function y(_,e){1&_&&(t._uU(0),t.ALo(1,"eventVerbiage")),2&_&&t.hij(" ",t.xi3(1,1,e.$implicit.id,"action-filter")," ")}function R(_,e){if(1&_&&t._UZ(0,"nz-avatar",30),2&_){const i=t.oxw().$implicit;t.Q6J("nzSrc",i.profileImagePath)}}function B(_,e){if(1&_&&(t._UZ(0,"nz-avatar",31),t.ALo(1,"uppercase")),2&_){const i=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,i.displayName.charAt(0)))}}function h(_,e){if(1&_&&(t.YNc(0,R,1,1,"nz-avatar",28),t.YNc(1,B,2,3,"ng-template",null,29,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&_){const i=e.$implicit,s=t.MAs(2);t.Q6J("ngIf",i.profileImagePath)("ngIfElse",s),t.xp6(4),t.Oqu(i.displayName)}}const F=function(){return[]};function K(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"cvc-participant-list",27),t.NdJ("participantSelectedEvent",function(l){t.CHM(i);const C=t.oxw(4);return t.KtG(C.onOriginatingUserSelected(l))}),t.ALo(1,"ngrxPush"),t.YNc(2,h,5,3,"ng-template",null,24,t.W1O),t.qZA()}if(2&_){const i=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,i.participants$)||t.DdM(3,F))}}function Z(_,e){if(1&_&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&_){const i=e.$implicit;t.xp6(1),t.hij(" ",i.name," ")}}function Q(_,e){if(1&_){const i=t.EpF();t.TgZ(0,"cvc-participant-list",32),t.NdJ("participantSelectedEvent",function(l){t.CHM(i);const C=t.oxw(4);return t.KtG(C.onOrganizationSelected(l))}),t.ALo(1,"ngrxPush"),t.YNc(2,Z,2,1,"ng-template",null,24,t.W1O),t.qZA()}if(2&_){const i=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,i.organizations$)||t.DdM(3,F))}}function w(_,e){if(1&_){const i=t.EpF();t.ynx(0),t.TgZ(1,"cvc-participant-list",23),t.NdJ("participantSelectedEvent",function(l){t.CHM(i);const C=t.oxw(3);return t.KtG(C.onActionSelected(l))}),t.ALo(2,"ngrxPush"),t.YNc(3,y,2,4,"ng-template",null,24,t.W1O),t.qZA(),t.YNc(5,K,4,4,"cvc-participant-list",25),t.YNc(6,Q,4,4,"cvc-participant-list",26),t.BQk()}if(2&_){const i=t.oxw(3);t.xp6(1),t.Q6J("participantList",t.lcZ(2,3,i.actions$)||t.DdM(5,F)),t.xp6(4),t.Q6J("ngIf",!i.userId),t.xp6(1),t.Q6J("ngIf",!i.organizationId)}}function J(_,e){1&_&&(t.TgZ(0,"nz-space",5),t.YNc(1,S,3,1,"span",21),t.YNc(2,w,7,6,"ng-container",21),t.qZA())}function $(_,e){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-space",5),t.YNc(4,U,5,5,"nz-card",6),t.qZA()(),t.TgZ(5,"nz-col",7),t.YNc(6,J,3,0,"nz-space",8),t.qZA()(),t.BQk()),2&_){const i=t.oxw();t.xp6(1),t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",i.showFilters?"18":"24"),t.xp6(4),t.Q6J("ngIf",i.showFilters)}}function b(_,e){1&_&&t._UZ(0,"nz-empty",33)}let W=((E=class{constructor(e,i){this.gql=e,this.eventCountGql=i,this.tagDisplay="displayAll",this.mode=u.wJ2.Subject,this.showFilters=!0,this.pageSize=15,this.pollForNewEvents=!0,this.includeAutomatedEvents=!0,this.destroy$=new M.x,this.showChildren=!1}ngOnInit(){this.initialQueryVars={subject:this.subscribable,organizationId:this.organizationId,originatingUserId:this.userId,first:this.pageSize,mode:this.mode,showFilters:this.showFilters,includeAutomatedEvents:this.includeAutomatedEvents},this.queryRef=this.gql.watch(this.initialQueryVars),this.pollForNewEvents&&L.N.production&&(this.newEventCount$=this.eventCountGql.watch(this.initialQueryVars,{fetchPolicy:"no-cache",pollInterval:3e4}).valueChanges.pipe((0,v.h)(m.ep),(0,g.U)(({data:e})=>e?.events?.unfilteredCount),(0,D.R)(this.destroy$))),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,g.U)(({data:e})=>e.events.pageInfo)),this.events$=this.results$.pipe((0,z.j)("data","events","edges"),(0,v.h)(m.ep),(0,g.U)(e=>e.map(i=>i.node))),this.loading$=this.results$.pipe((0,g.U)(({loading:e})=>e),(0,O.x)()),this.unfilteredCount$=this.results$.pipe((0,g.U)(e=>e.data),(0,v.h)(m.ep),(0,g.U)(({events:e})=>e.unfilteredCount)),this.unfilteredCount$.pipe((0,x.q)(1),(0,T.t)(this)).subscribe(e=>this.originalEventCount=e),this.showFilters&&(this.participants$=this.results$.pipe((0,v.h)(m.ep),(0,g.U)(({data:e})=>e.events.uniqueParticipants)),this.organizations$=this.results$.pipe((0,v.h)(m.ep),(0,g.U)(({data:e})=>e.events.participatingOrganizations)),this.actions$=this.results$.pipe((0,v.h)(m.ep),(0,g.U)(({data:e})=>e.events?.eventTypes?.map(i=>({id:i}))||[])))}fetchMore(e){this.queryRef.fetchMore({variables:{first:this.pageSize,after:e}})}onOrganizationSelected(e){this.queryRef.refetch({organizationId:e?.id,showFilters:this.showFilters})}onActionSelected(e){this.queryRef.refetch({eventType:e?e.id:void 0,showFilters:this.showFilters})}onOriginatingUserSelected(e){this.queryRef.refetch({originatingUserId:e?.id,showFilters:this.showFilters})}refresh(){this.queryRef.refetch().then(({data:e})=>{this.originalEventCount=e.events.unfilteredCount})}onShowChildrenToggle(){let e;this.subscribable?(e={id:this.subscribable.id,entityType:this.subscribable.entityType,includeChildren:this.showChildren},this.tagDisplay=this.showChildren?"displayAll":"hideSubject"):e=void 0,this.queryRef.refetch({...this.initialQueryVars,subject:e,showFilters:this.showFilters})}ngOnDestroy(){this.destroy$.next(),this.destroy$.unsubscribe()}}).\u0275fac=function(e){return new(e||E)(t.Y36(u.BTF),t.Y36(u.YMi))},E.\u0275cmp=t.Xpm({type:E,selectors:[["cvc-event-feed"]],inputs:{subscribable:"subscribable",subscribableName:"subscribableName",organizationId:"organizationId",userId:"userId",tagDisplay:"tagDisplay",mode:"mode",showFilters:"showFilters",pageSize:"pageSize",pollForNewEvents:"pollForNewEvents",includeAutomatedEvents:"includeAutomatedEvents"},decls:6,vars:7,consts:[["nzTip","Loading",3,"nzSpinning"],[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],[3,"nzSpan"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle","nzExtra",4,"nzSpaceItem"],["nzSpan","6"],["nzDirection","vertical","style","width: 100%",4,"ngIf"],[3,"nzTitle","nzExtra"],[4,"ngIf"],["refreshFeed",""],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"],[4,"ngrxLet"],[3,"nzCount",4,"ngIf"],[3,"nzCount"],["nz-button","","nz-tooltip","Click to Refresh",3,"click"],[4,"nzSpaceItem"],["nzSize","small",3,"ngModel","ngModelChange"],["listTitle","events && Action",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Curator",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Organization",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Curator",3,"participantList","participantSelectedEvent"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],["listTitle","Organization",3,"participantList","participantSelectedEvent"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(e,i){if(1&e&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,$,7,3,"ng-container",1),t.ALo(3,"ngrxPush"),t.YNc(4,b,1,0,"ng-template",null,2,t.W1O),t.qZA()),2&e){const s=t.MAs(5);t.Q6J("nzSpinning",t.lcZ(1,3,i.loading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,5,i.unfilteredCount$))("ngIfElse",s)}},styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]}),E);W=(0,n.gn)([(0,T.c)()],W)},9894:(N,I,o)=>{o.d(I,{t:()=>B});var n=o(6814),u=o(7441),M=o(8091),v=o(2962),g=o(551),D=o(3599),z=o(6223),O=o(6494),x=o(95),L=o(9691),m=o(4416),T=o(2840),t=o(2524),E=o(2574),A=o(1595),P=o(6928),c=o(804),p=o(2669),a=o(3640),r=o(6109),d=o(5879),f=o(855),U=o(1958),S=o(7169),y=o(6794),R=o(7908);let B=(()=>{class h{}return h.\u0275fac=function(K){return new(K||h)},h.\u0275mod=d.oAB({type:h}),h.\u0275inj=d.cJS({imports:[n.ez,z.u5,T.sL,v.vh,g.PV,D.U5,L.LV,O.m,x.Jb,E.zf,c.Xo,P.Rt,p.j,a.mS,r.cg,m.m,t.s,A.N,t.s]}),h})();d.B6R(u.o,[n.O5,z.JJ,z.On,M.eJ,T.ix,f.w,U.dQ,v.bd,x.t3,x.SK,O.i,E.NU,E.$1,c.p9,P.Dz,p.W,a.x7,r.SY,S.r,y.l],[n.gd,M.fM,R.R])},6794:(N,I,o)=>{o.d(I,{l:()=>P});var n=o(5879),u=o(6814),M=o(2962),v=o(6976),g=o(551),D=o(2840),z=o(855),O=o(1958);const x=["itemTemplate"],L=function(c){return{$implicit:c}};function m(c,p){if(1&c){const a=n.EpF();n.TgZ(0,"nz-list-item",5),n.NdJ("click",function(){n.CHM(a);const d=n.oxw().$implicit,f=n.oxw(2);return n.KtG(f.onParticipantSelected(d))}),n.GkF(1,6),n.qZA()}if(2&c){const a=n.oxw().$implicit,r=n.oxw(2);n.ekj("selected-participant",a.id==(null==r.selectedItem?null:r.selectedItem.id)),n.xp6(1),n.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(4,L,a))}}function T(c,p){if(1&c&&(n.ynx(0),n.YNc(1,m,2,6,"nz-list-item",4),n.BQk()),2&c){const a=p.index,r=n.oxw(2);n.xp6(1),n.Q6J("ngIf",a+1<=r.defaultListSize)}}function t(c,p){if(1&c){const a=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){n.CHM(a);const d=n.oxw(2);return n.KtG(d.onExpandClicked())}),n._UZ(1,"i",8),n._uU(2," Expand "),n.qZA()}}function E(c,p){if(1&c){const a=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(){n.CHM(a);const d=n.oxw(2);return n.KtG(d.onCollapseClicked())}),n._UZ(1,"i",9),n._uU(2," Collapse "),n.qZA()}}function A(c,p){if(1&c&&(n.ynx(0),n.TgZ(1,"nz-card",1)(2,"nz-list"),n.YNc(3,T,2,1,"ng-container",2),n.qZA(),n.YNc(4,t,3,0,"button",3),n.YNc(5,E,3,0,"button",3),n.qZA(),n.BQk()),2&c){const a=n.oxw();n.xp6(1),n.Q6J("nzTitle",a.listTitle),n.xp6(2),n.Q6J("ngForOf",a.participantList),n.xp6(1),n.Q6J("ngIf",a.participantList.length>a.defaultListSize),n.xp6(1),n.Q6J("ngIf",a.isExpanded)}}let P=(()=>{class c{constructor(){this.defaultListSize=5,this.participantSelectedEvent=new n.vpe,this.isExpanded=!1}ngOnInit(){this.preselectedOption&&(this.selectedItem=this.preselectedOption)}onParticipantSelected(a){this.selectedItem=a.id==this.selectedItem?.id?void 0:a,this.participantSelectedEvent.emit(this.selectedItem)}onExpandClicked(){this.originalDefaultListSize=this.defaultListSize,this.defaultListSize=this.participantList.length,this.isExpanded=!0}onCollapseClicked(){this.originalDefaultListSize&&(this.defaultListSize=this.originalDefaultListSize,this.isExpanded=!1)}}return c.\u0275fac=function(a){return new(a||c)},c.\u0275cmp=n.Xpm({type:c,selectors:[["cvc-participant-list"]],contentQueries:function(a,r,d){if(1&a&&n.Suo(d,x,5),2&a){let f;n.iGM(f=n.CRH())&&(r.itemTemplateRef=f.first)}},inputs:{participantList:"participantList",listTitle:"listTitle",defaultListSize:"defaultListSize",preselectedOption:"preselectedOption"},outputs:{participantSelectedEvent:"participantSelectedEvent"},decls:1,vars:1,consts:[[4,"ngIf"],["nz-type","inner",2,"margin-bottom","1em",3,"nzTitle"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nzSize","small","class","participant-list-item",3,"selected-participant","click",4,"ngIf"],["nzSize","small",1,"participant-list-item",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","vertical-align-bottom"],["nz-icon","","nzType","vertical-align-top"]],template:function(a,r){1&a&&n.YNc(0,A,6,4,"ng-container",0),2&a&&n.Q6J("ngIf",r.participantList&&r.participantList.length>0)},dependencies:[u.sg,u.O5,u.tP,M.bd,v.n_,v.AA,g.Ls,D.ix,z.w,O.dQ],styles:[".participant-list-item[_ngcontent-%COMP%]:hover{border:1px solid #40a9ff;cursor:pointer}.participant-list-item[_ngcontent-%COMP%]{padding:2px;margin:2px}.selected-participant[_ngcontent-%COMP%]{background:#40a9ff;color:#fff}"]}),c})()}}]); \ No newline at end of file diff --git a/server/public/79.edcc199a39b0c34f.js b/server/public/79.edcc199a39b0c34f.js deleted file mode 100644 index 713cfd87e..000000000 --- a/server/public/79.edcc199a39b0c34f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[79],{112:(ot,O,o)=>{o.d(O,{u:()=>Z});var d=o(9771),n=o(4650),t=o(6895),$=o(9116),v=o(6581),A=o(6672),b=o(1102),U=o(3240),T=o(4004),M=o(9300),x=o(7630),_=o(1971),m=o(9194),C=o(783),F=o(5457),h=o(6715),P=o(2635),z=o(160);function Y(i,l){if(1&i&&(n._UZ(0,"i",7),n.ALo(1,"entityColor"),n._uU(2)),2&i){const c=n.oxw().ngIf;n.Q6J("nzTwotoneColor",n.lcZ(1,2,"VariantGroup")),n.xp6(2),n.hij(" ",c.name," ")}}function L(i,l){if(1&i&&n._UZ(0,"cvc-variant-tag",10),2&i){const c=l.$implicit;n.Q6J("enablePopover",!1)("variant",c.node)}}function R(i,l){if(1&i&&(n.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),n.YNc(2,L,1,2,"cvc-variant-tag",9),n.qZA()()),2&i){const c=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",c.variants.edges)}}function K(i,l){if(1&i&&n._UZ(0,"cvc-source-tag",13),2&i){const c=l.$implicit;n.Q6J("enablePopover",!1)("source",c)}}function S(i,l){if(1&i&&(n.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),n.YNc(2,K,1,2,"cvc-source-tag",12),n.qZA()()),2&i){const c=n.oxw().ngIf;n.xp6(2),n.Q6J("ngForOf",c.sources)}}function w(i,l){if(1&i&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,Y,3,4,"ng-template",null,3,n.W1O),n._uU(4),n.TgZ(5,"nz-descriptions",4),n.YNc(6,R,3,1,"nz-descriptions-item",5),n.YNc(7,S,3,1,"nz-descriptions-item",6),n.qZA()(),n.BQk()),2&i){const c=l.ngIf,g=n.MAs(3);n.xp6(1),n.Q6J("nzTitle",g),n.xp6(3),n.hij(" ",c.description," "),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",c.variants.edges.length>0),n.xp6(1),n.Q6J("ngIf",c.sources.length>0)}}class G{constructor(l){this.gql=l}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,T.U)(({data:l})=>l?.variantGroup),(0,M.h)(U.ep))}}G.\u0275fac=function(l){return new(l||G)(n.Y36(x.Zo2))},G.\u0275cmp=n.Xpm({type:G,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(l,c){1&l&&(n.TgZ(0,"div",0),n.YNc(1,w,8,5,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&l&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,c.variantGroup$)))},dependencies:[t.sg,t.O5,_.bd,m.R7,m.uj,b.Ls,C.T,F.I,h.$,P.fM,z.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var W=o(1730);function y(i,l){}function V(i,l){if(1&i&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,y,0,0,"ng-template",5),n.qZA(),n.BQk()),2&i){const c=n.oxw(),g=n.MAs(2);n.xp6(1),n.Q6J("routerLink",c.variantgroup.link),n.xp6(1),n.Q6J("ngTemplateOutlet",g)}}function E(i,l){}function u(i,l){if(1&i&&n._UZ(0,"cvc-variant-group-popover",9),2&i){const c=n.oxw(3);n.Q6J("variantGroupId",c.variantgroup.id)}}function j(i,l){if(1&i&&n.YNc(0,u,1,1,"cvc-variant-group-popover",8),2&i){const c=n.oxw(2);n.Q6J("ngIf",c.enablePopover)}}function D(i,l){if(1&i&&(n.TgZ(0,"nz-tag",6),n.YNc(1,E,0,0,"ng-template",5),n.qZA(),n.YNc(2,j,1,1,"ng-template",null,7,n.W1O)),2&i){const c=n.MAs(3),g=n.oxw(),tt=n.MAs(6);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",c)("nzPopoverTrigger",g.enablePopover?"hover":null),n.xp6(1),n.Q6J("ngTemplateOutlet",tt)}}function X(i,l){}function q(i,l){if(1&i&&n.YNc(0,X,0,0,"ng-template",5),2&i){n.oxw();const c=n.MAs(2);n.Q6J("ngTemplateOutlet",c)}}function k(i,l){if(1&i&&(n.TgZ(0,"cvc-icon-badges",10),n._UZ(1,"i",11),n.ALo(2,"entityColor"),n.qZA(),n._uU(3)),2&i){const c=n.oxw();n.Q6J("flagged",c.variantgroup.flagged)("entityColor",c.iconColor),n.xp6(1),n.Q6J("nzTwotoneColor",n.lcZ(2,4,"VariantGroup")),n.xp6(2),n.hij(" ",c.variantgroup.name,"\n")}}class Z{set variantgroup(l){if(!l)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=l}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,d.f)("VariantGroup")}}Z.\u0275fac=function(l){return new(l||Z)},Z.\u0275cmp=n.Xpm({type:Z,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(l,c){if(1&l&&(n.YNc(0,V,3,2,"ng-container",0),n.YNc(1,D,4,4,"ng-template",null,1,n.W1O),n.YNc(3,q,1,1,"ng-template",null,2,n.W1O),n.YNc(5,k,4,6,"ng-template",null,3,n.W1O)),2&l){const g=n.MAs(4);n.Q6J("ngIf",c.linked)("ngIfElse",g)}},dependencies:[t.O5,t.tP,$.rH,v.lU,A.j,b.Ls,G,W.b,z.a],encapsulation:2,changeDetection:0})},7677:(ot,O,o)=>{o.d(O,{G:()=>h});var d=o(6895),n=o(9116),t=o(6581),$=o(6672),v=o(1102),A=o(897),b=o(2811),U=o(7043),T=o(9444),M=o(2635),x=o(1971),_=o(9194),m=o(4650);class C{}C.\u0275fac=function(z){return new(z||C)},C.\u0275mod=m.oAB({type:C}),C.\u0275inj=m.cJS({imports:[d.ez,M._N,M.pP,x.vh,_.q6,v.PV,b.s,U.Q,A.$,T.s]});var F=o(6429);class h{}h.\u0275fac=function(z){return new(z||h)},h.\u0275mod=m.oAB({type:h}),h.\u0275inj=m.cJS({imports:[d.ez,n.Bz,t.$6,$.X,v.PV,C,T.s,F.C]})},79:(ot,O,o)=>{o.r(O),o.d(O,{VariantGroupsModule:()=>N});var g,d=o(6895),n=o(9116),t=o(4650),$=o(9350),v=o(2635),A=o(6616),b=o(7044),U=o(1664),T=o(3679),M=o(5655),x=o(1102),_=o(8823),m=o(6903),C=o(655),F=o(3154),h=o(7630),P=o(1135),z=o(7579),Y=o(3240),L=o(1884),R=o(2529),K=o(5684),S=o(9300),w=o(4004),G=o(8372),W=o(1365),y=o(6579),V=o(9933),E=o(1971),u=o(6675),j=o(6672),D=o(7570),X=o(5851),q=o(7451),k=o(2166),Z=o(3388),i=o(3667),l=o(9947),c=o(112);function tt(e,a){}function rt(e,a){if(1&e&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,tt,0,0,"ng-template",6),t.qZA(),t.BQk()),2&e){t.oxw();const r=t.MAs(6),p=t.MAs(8),s=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",r)("nzExtra",p),t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function it(e,a){}const lt=function(e){return{height:e}};function ct(e,a){if(1&e&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,it,0,0,"ng-template",6),t.qZA()()),2&e){const r=t.oxw(),p=t.MAs(6),s=t.MAs(8),f=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,lt,r.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",p)("nzExtra",s),t.xp6(1),t.Q6J("ngTemplateOutlet",f)}}function pt(e,a){if(1&e&&(t.ynx(0),t._uU(1),t.BQk()),2&e){const r=a.$implicit,p=a.last;t.xp6(1),t.AsE(" ",r,"",p?"":", "," ")}}function st(e,a){if(1&e&&t.YNc(0,pt,2,2,"ng-container",29),2&e){const r=t.oxw().$implicit;t.Q6J("ngForOf",r.variantNames)}}function gt(e,a){if(1&e&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&e){const r=a.$implicit,p=a.last;t.xp6(1),t.AsE(" ",r,"",p?"":", "," ")}}function dt(e,a){if(1&e&&(t.TgZ(0,"tr",25)(1,"td",21),t._UZ(2,"cvc-variant-group-tag",26),t.qZA(),t.TgZ(3,"td",27),t.YNc(4,st,1,1,"ng-template",null,28,t.W1O),t.GkF(6,6),t.qZA(),t.TgZ(7,"td"),t.YNc(8,gt,2,2,"span",29),t.qZA(),t.TgZ(9,"td",30),t._uU(10),t.qZA(),t.TgZ(11,"td",30),t._uU(12),t.qZA()()),2&e){const r=a.$implicit,p=t.MAs(5),s=t.oxw(2);t.xp6(2),t.Q6J("variantgroup",r),t.xp6(1),t.Q6J("nzTooltipTitle",s.isScrolling?"":p),t.xp6(3),t.Q6J("ngTemplateOutlet",p),t.xp6(2),t.Q6J("ngForOf",r.geneNames),t.xp6(2),t.hij(" ",r.variantCount," "),t.xp6(2),t.hij(" ",r.evidenceItemCount," ")}}const ut=function(){return[]},vt=function(){return{x:"680px",y:"800px"}},et=function(){return["descend","ascend",null]};function mt(e,a){if(1&e){const r=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(s){t.CHM(r);const f=t.oxw();return t.KtG(f.scrollEvent$.next(s))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(s){t.CHM(r);const f=t.oxw();return t.KtG(f.sortChange$.next(s))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11,"Variants"),t.qZA(),t.TgZ(12,"th",15),t._uU(13,"Genes"),t.qZA(),t.TgZ(14,"th",16),t._UZ(15,"i",17),t._uU(16," Count "),t.qZA(),t.TgZ(17,"th",18),t._UZ(18,"i",19),t._uU(19," Count "),t.qZA()(),t.TgZ(20,"tr",20)(21,"th",21)(22,"cvc-clearable-input-filter",22),t.NdJ("inputModelChange",function(s){t.CHM(r);const f=t.oxw();return t.KtG(f.nameInput=s)})("inputModelChange",function(){t.CHM(r);const s=t.oxw();return t.KtG(s.filterChange$.next())}),t.qZA()(),t.TgZ(23,"th")(24,"cvc-clearable-input-filter",22),t.NdJ("inputModelChange",function(s){t.CHM(r);const f=t.oxw();return t.KtG(f.variantNameInput=s)})("inputModelChange",function(){t.CHM(r);const s=t.oxw();return t.KtG(s.filterChange$.next())}),t.qZA()(),t.TgZ(25,"th")(26,"cvc-clearable-input-filter",22),t.NdJ("inputModelChange",function(s){t.CHM(r);const f=t.oxw();return t.KtG(f.geneNameInput=s)})("inputModelChange",function(){t.CHM(r);const s=t.oxw();return t.KtG(s.filterChange$.next())}),t.qZA()(),t._UZ(27,"th",23)(28,"th",23),t.qZA()(),t.TgZ(29,"tbody"),t.YNc(30,dt,13,6,"ng-template",24),t.qZA()()}if(2&e){const r=t.oxw();t.Q6J("nzData",t.lcZ(2,22,r.row$)||t.DdM(30,ut))("nzLoading",!t.lcZ(3,24,r.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",r.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,26,r.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,28,r.scrollIndex$))("nzVirtualForTrackBy",r.trackByIndex)("nzScroll",t.DdM(31,vt))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",r.sortColumns.Name)("nzSortFn",!0),t.xp6(6),t.Q6J("nzColumnKey",r.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(32,et)),t.xp6(3),t.Q6J("nzColumnKey",r.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(33,et)),t.xp6(5),t.Q6J("inputModel",r.nameInput),t.xp6(2),t.Q6J("inputModel",r.variantNameInput),t.xp6(2),t.Q6J("inputModel",r.geneNameInput)}}function ht(e,a){}function ft(e,a){if(1&e&&(t.ynx(0),t.YNc(1,ht,0,0,"ng-template",6),t.BQk()),2&e){const r=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",r.cvcTitleTemplate)}}function Ct(e,a){if(1&e&&(t.ynx(0),t._uU(1),t.BQk()),2&e){const r=t.oxw(2);t.xp6(1),t.hij(" ",r.cvcTitle," ")}}function zt(e,a){if(1&e&&(t.YNc(0,ft,2,1,"ng-container",31),t.YNc(1,Ct,2,1,"ng-container",31),t.TgZ(2,"span",32),t._UZ(3,"cvc-table-counts",33),t.qZA()),2&e){const r=t.oxw();t.Q6J("ngIf",r.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",r.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",r.connection$)}}function xt(e,a){1&e&&(t.TgZ(0,"nz-tag",36),t._UZ(1,"i",37),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Tt(e,a){if(1&e&&(t.YNc(0,xt,4,0,"nz-tag",34),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",35),t.ALo(3,"ngrxPush")),2&e){const r=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,r.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,r.noMoreRows$))}}let nt=((g=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,r){this.gql=a,this.cdr=r,this.initialPageSize=30,this.isScrolling=!1,this.sortColumns=h.FB1,this.noMoreRows$=new P.X(!1),this.scrollEvent$=new P.X("stop"),this.sortChange$=new z.x,this.filterChange$=new z.x,this.scrollIndex$=new z.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,y.j)("loading"),(0,L.x)(),(0,R.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,y.j)("loading"),(0,L.x)(),(0,K.T)(2)),this.connection$=this.result$.pipe((0,y.j)("data","browseVariantGroups"),(0,S.h)(Y.ep)),this.row$=this.connection$.pipe((0,y.j)("edges"),(0,S.h)(Y.ep),(0,w.U)(a=>a.map(r=>r.node))),this.pageInfo$=this.connection$.pipe((0,y.j)("pageInfo"),(0,S.h)(Y.ep)),this.sortChange$.pipe((0,V.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,F._)(a)})}),this.filterChange$.pipe((0,G.b)(500),(0,V.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,w.U)(a=>"stop"!==a),(0,L.x)(),(0,V.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,S.h)(a=>"bottom"===a),(0,W.M)(this.pageInfo$),(0,w.U)(([a,r])=>r),(0,V.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameInput,geneNames:this.geneNameInput,variantNames:this.variantNameInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(a,r){return r?.id}}).\u0275fac=function(a){return new(a||g)(t.Y36(h.qf4),t.Y36(t.sBO))},g.\u0275cmp=t.Xpm({type:g,selectors:[["cvc-variant-groups-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","250px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","600px"],["nzWidth","150px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"variantgroup"],["nz-tooltip","",1,"overflow-ellipsis",3,"nzTooltipTitle"],["variantNames",""],[4,"ngFor","ngForOf"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","k","","nzType","sync","nzSpin",""]],template:function(a,r){if(1&a&&(t.YNc(0,rt,3,3,"ng-container",0),t.YNc(1,ct,3,6,"ng-template",null,1,t.W1O),t.YNc(3,mt,31,34,"ng-template",null,2,t.W1O),t.YNc(5,zt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,Tt,4,6,"ng-template",null,4,t.W1O)),2&a){const p=t.MAs(2);t.Q6J("ngIf",!r.cvcHeight)("ngIfElse",p)}},dependencies:[d.sg,d.O5,d.tP,d.PC,E.bd,x.Ls,u.N8,u.qD,u.Uo,u._C,u.Om,u.p0,u.$Z,u.zu,u.qn,u.UX,j.j,D.SY,X.D,q.q,k.p,Z.H,i.B,l.y,c.u,v.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"],changeDetection:0}),g);nt=(0,C.gn)([(0,V.c)()],nt);var Mt=o(8992),Pt=o(160);function _t(e,a){1&e&&(t.TgZ(0,"button",18),t._UZ(1,"i",19),t._uU(2," Submit New Variant Group "),t.qZA())}function Gt(e,a){if(1&e&&(t.ynx(0),t.YNc(1,_t,3,0,"button",17),t.BQk()),2&e){const r=a.ngrxLet;t.xp6(1),t.Q6J("ngIf",r.signedIn)}}function yt(e,a){if(1&e&&t.YNc(0,Gt,2,1,"ng-container",16),2&e){const r=t.oxw();t.Q6J("ngrxLet",r.viewer$)}}function Vt(e,a){1&e&&(t.TgZ(0,"a",20),t._UZ(1,"i",21),t._uU(2," View Variant Group Model Docs "),t.qZA())}function Zt(e,a){1&e&&(t.TgZ(0,"a",22),t._UZ(1,"i",21),t._uU(2," View Variant Group Curation Docs "),t.qZA())}class B{constructor(a){this.viewerService=a,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}B.\u0275fac=function(a){return new(a||B)(t.Y36($.a))},B.\u0275cmp=t.Xpm({type:B,selectors:[["variant-groups-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["vargroupActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html#curating-variant-groups","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variant Groups"],[4,"ngrxLet"],["routerLink","/variant-groups/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/variant-groups/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html#curating-variant-groups","target","_blank","nzSize","small","nzBlock",""]],template:function(a,r){if(1&a&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,yt,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Variant Groups"),t.qZA(),t.TgZ(12,"p",7),t._uU(13," Variant Groups provide user-defined grouping of Variants within and between genes based on unifying characteristics. "),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,Vt,3,0,"a",10),t.YNc(17,Zt,3,0,"a",11),t.qZA()()(),t.TgZ(18,"div",12)(19,"div",13)(20,"div",14),t._UZ(21,"cvc-variant-groups-table",15),t.qZA()()()()()),2&a){const p=t.MAs(2);t.Q6J("actionsTpl",p),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"VariantGroup")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24)}},dependencies:[d.O5,n.rH,v.eJ,A.ix,b.w,U.dQ,T.t3,T.SK,M.$O,M.u5,x.Ls,_.ZU,m.NU,m.$1,nt,Mt.I,Pt.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class H{constructor(){}ngOnInit(){}}H.\u0275fac=function(a){return new(a||H)},H.\u0275cmp=t.Xpm({type:H,selectors:[["app-variant-groups"]],decls:1,vars:0,template:function(a,r){1&a&&t._UZ(0,"router-outlet")},dependencies:[n.lC],encapsulation:2});const Ot=[{path:"",component:H,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:B,data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>Promise.all([o.e(8592),o.e(2579)]).then(o.bind(o,2579)).then(e=>e.VariantGroupsAddModule),data:{breadcrumb:"Add"}},{path:":variantGroupId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([o.e(9397),o.e(6724),o.e(9716),o.e(5566),o.e(5291),o.e(1798),o.e(2043),o.e(4355),o.e(97),o.e(4024),o.e(9246),o.e(5714)]).then(o.bind(o,8482)).then(e=>e.VariantGroupsDetailModule)},{path:"revise",loadChildren:()=>Promise.all([o.e(8592),o.e(4824)]).then(o.bind(o,4824)).then(e=>e.VariantGroupsReviseModule),data:{breadcrumb:"Revise"}}]}]}];class I{}I.\u0275fac=function(a){return new(a||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[n.Bz.forChild(Ot),n.Bz]});var At=o(4006),bt=o(4125),St=o(2994),It=o(8525),Jt=o(7043),at=o(9444),Qt=o(3111),Nt=o(1433),$t=o(9240),Ut=o(7677);class J{}J.\u0275fac=function(a){return new(a||J)},J.\u0275mod=t.oAB({type:J}),J.\u0275inj=t.cJS({imports:[d.ez,At.u5,v._N,v.pP,E.vh,x.PV,x.PV,u.HQ,j.X,D.cg,_.ZJ,Qt.n,Nt.c,bt.k,St.y,at.s,It.T,$t.w,Ut.G,Jt.Q]});var Ft=o(5630);class Q{}Q.\u0275fac=function(a){return new(a||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[d.ez,n.Bz,v._N,v.pP,A.sL,T.Jb,M.KJ,x.PV,_.ZJ,m.zf,at.s,J,Ft.D]});class N{}N.\u0275fac=function(a){return new(a||N)},N.\u0275mod=t.oAB({type:N}),N.\u0275inj=t.cJS({imports:[d.ez,I,Q]})}}]); \ No newline at end of file diff --git a/server/public/7903.9b751d4f9560fc8e.js b/server/public/7903.9b751d4f9560fc8e.js new file mode 100644 index 000000000..6fe0e6e81 --- /dev/null +++ b/server/public/7903.9b751d4f9560fc8e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7903],{7745:(P,u,o)=>{function h(f,S){const v=(g,c)=>{let r;for(let d of g)if(d.fieldGroup)r=v(d.fieldGroup,c);else if(d.key===c){r=d;break}return r},C=(g,c)=>{for(let r of Object.keys(c))if(c[r]instanceof Object&&!Array.isArray(c[r]))C(g,c[r]);else{const d=v(g,r);d&&(d.defaultValue=c[r])}return g};return C(f,S)}o.d(u,{Z:()=>h})},8109:(P,u,o)=>{o.r(u),o.d(u,{GenesReviseModule:()=>Z});var h=o(6814),f=o(4190),S=o(8603),v=o(2419),C=o(2524),g=o(95),c=o(551),r=o(6254),d=o(7921),k=o(7398),z=o(4223),e=o(5879),M=o(313),N=o(951),E=o(8178),w=o(3145),b=o(8091),O=o(2616);function A(t,l){1&t&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function T(t,l){1&t&&(e.TgZ(0,"nz-row",8)(1,"div",9),e._UZ(2,"cvc-login-prompt"),e.qZA()())}function _(t,l){if(1&t&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e.ALo(6,"entityColor"),e._uU(7),e.qZA(),e.TgZ(8,"nz-page-header-subtitle"),e._uU(9),e.qZA(),e.TgZ(10,"nz-page-header-content")(11,"div",5),e.YNc(12,A,2,0,"div",6),e.ALo(13,"ngrxPush"),e.YNc(14,T,3,0,"ng-template",null,7,e.W1O),e.qZA()()(),e.BQk()),2&t){const s=l.ngIf,m=e.MAs(15),y=e.oxw();e.xp6(1),e.Q6J("displayName",s.name),e.xp6(4),e.Q6J("nzTwotoneColor",e.lcZ(6,6,"Gene")),e.xp6(2),e.hij(" ",s.name," "),e.xp6(2),e.hij(" ",s.officialName," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(13,8,y.isSignedIn$))("ngIfElse",m)}}let a=(()=>{class t{constructor(s,m,y){this.gql=s,this.route=m,this.viewerService=y,this.routeSub=this.route.params.subscribe(j=>{let I=this.gql.watch({geneId:+j.geneId}).valueChanges;this.loading$=I.pipe((0,z.j)("loading"),(0,d.O)(!0)),this.gene$=I.pipe((0,z.j)("data","gene")),this.commentsTotal$=this.gene$.pipe((0,z.j)("comments","totalCount")),this.flagsTotal$=this.gene$.pipe((0,z.j)("flags","totalCount")),this.revisionsTotal$=this.gene$.pipe((0,z.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,k.U)(s=>s.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(s){return new(s||t)(e.Y36(M.TNk),e.Y36(f.gz),e.Y36(N.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["genes-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(s,m){1&s&&(e.YNc(0,_,16,10,"ng-container",0),e.ALo(1,"async")),2&s&&e.Q6J("ngIf",e.lcZ(1,1,m.gene$))},dependencies:[h.O5,f.lC,r.$O,r.u9,r.yG,r.u5,c.Ls,g.t3,g.SK,E.u,w.I,h.Ov,b.fM,O.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();var i=o(2574),n=o(4139),p=o(2962),x=o(296);let D=(()=>{class t{}return t.\u0275fac=function(s){return new(s||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[h.ez,p.vh,g.Jb,i.zf,n.H0,r.KJ,x.C,v.D]}),t})();var B=o(1858);function G(t,l){if(1&t&&(e.ynx(0),e._UZ(1,"cvc-gene-revise-form",2),e.BQk()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("geneId",s.geneId)}}function L(t,l){1&t&&e._uU(0,"Loading Gene...")}const R=[{path:"",component:a,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class t{constructor(s){this.route=s,this.routeParams$=this.route.params.subscribe(m=>{this.geneId=+m.geneId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return t.\u0275fac=function(s){return new(s||t)(e.Y36(f.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-genes-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingGene",""],[3,"geneId"]],template:function(s,m){if(1&s&&(e.YNc(0,G,2,1,"ng-container",0),e.YNc(1,L,1,0,"ng-template",null,1,e.W1O)),2&s){const y=e.MAs(2);e.Q6J("ngIf",m.geneId)("ngIfElse",y)}},dependencies:[h.O5,B.$],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})(),data:{breadcrumb:"Suggest Revision"}}]}];let F=(()=>{class t{}return t.\u0275fac=function(s){return new(s||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[f.Bz.forChild(R),D]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(s){return new(s||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[h.ez,f.Bz,F,r.KJ,c.PV,g.Jb,S.a,v.D,C.s]}),t})()},4139:(P,u,o)=>{o.d(u,{H0:()=>_});var h=o(5879),f=o(6814),S=o(9388);let _=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=h.oAB({type:a}),a.\u0275inj=h.cJS({imports:[S.vT,f.ez]}),a})()}}]); \ No newline at end of file diff --git a/server/public/8026.4d734e84c7104fb8.js b/server/public/8026.4d734e84c7104fb8.js new file mode 100644 index 000000000..4827df7d6 --- /dev/null +++ b/server/public/8026.4d734e84c7104fb8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8026],{4010:(L,y,o)=>{o.d(y,{F:()=>g});var b=o(5879);let g=(()=>{class p{transform(s,M="display-string"){return void 0===s?"":"display-string"===M?function r(p){switch(p){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return p}}(s):`civic-${s.replace(/_/g,"").toLowerCase()}`}}return p.\u0275fac=function(s){return new(s||p)},p.\u0275pipe=b.Yjl({name:"therapyInteractionEnumDisplay",type:p,pure:!0}),p})()},4519:(L,y,o)=>{o.r(y),o.d(y,{MolecularProfilesDetailModule:()=>Kn});var r=o(6814),b=o(2419),g=o(2574),p=o(5725),z=o(5956),s=o(6254),M=o(2840),v=o(551),E=o(4059),u=o(95),$=o(936),R=o(7129),c=o(4190),B=o(1830),e=o(5879);let j=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[r.ez,B.l]}),n})();var m=o(313),W=o(800);let G=(()=>{class n{constructor(t){this.route=t,this.commentable={id:+this.route.snapshot.params.molecularProfileId,entityType:m.OfU.MolecularProfile}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(c.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-molecular-profiles-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(t,i){1&t&&e._UZ(0,"cvc-comment-list",0),2&t&&e.Q6J("commentable",i.commentable)},dependencies:[W.D],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var S=o(7921),X=o(9773),h=o(4223),H=o(8645),K=o(5619),q=o(951),I=o(8091),k=o(855),ee=o(1958),O=o(3903),ne=o(1520),te=o(5098),ae=o(327),oe=o(1801),ie=o(3145),re=o(8295),N=o(9408),le=o(1834),ce=o(4082);const se=function(n){return{molecularProfileId:n}};function pe(n,a){if(1&n&&(e.TgZ(0,"button",14),e._UZ(1,"i",15),e._uU(2," Add Evidence For This Molecular Profile "),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.Q6J("queryParams",e.VKq(1,se,t.id))}}function ue(n,a){if(1&n&&(e.ynx(0),e.YNc(1,pe,3,3,"button",13),e.BQk()),2&n){const t=a.ngrxLet;e.xp6(1),e.Q6J("ngIf",t.canCurate)}}function ge(n,a){if(1&n&&e.YNc(0,ue,2,1,"ng-container",7),2&n){const t=e.oxw(2);e.Q6J("ngrxLet",t.viewer$)}}function me(n,a){1&n&&(e.TgZ(0,"span"),e._uU(1,",\xa0"),e.qZA())}function fe(n,a){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,me,2,0,"span",0),e.qZA()),2&n){const t=a.$implicit,i=a.last;e.xp6(1),e.hij(" ",t,""),e.xp6(1),e.Q6J("ngIf",!i)}}function de(n,a){if(1&n&&(e.TgZ(0,"nz-page-header-subtitle"),e.YNc(1,fe,3,2,"span",16),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.molecularProfileAliases)}}const ve=function(n){return["/molecular-profiles",n,"revise"]};function _e(n,a){if(1&n&&(e.TgZ(0,"button",21,22),e._uU(2," Revise "),e.qZA()),2&n){const t=e.MAs(1),i=e.oxw(4).ngIf;e.Q6J("routerLink",e.VKq(2,ve,i.id))("nzType",t.isActive?"primary":"default")}}function ze(n,a){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,_e,3,4,"button",20),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function he(n,a){if(1&n&&(e.TgZ(0,"button",24,22),e._uU(2," Flag "),e.qZA()),2&n){const t=e.MAs(1);e.Q6J("nzType",t.isActive?"primary":"default")}}function Pe(n,a){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,he,3,1,"button",23),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function ye(n,a){if(1&n&&e._UZ(0,"cvc-entity-subscription-button",26),2&n){const t=e.oxw(2).ngrxLet,i=e.oxw(3);e.Q6J("viewer",t)("subscribableId",i.subscribable.id)}}function Me(n,a){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,ye,1,2,"cvc-entity-subscription-button",25),e.qZA()),2&n){const t=e.oxw().ngrxLet,i=e.oxw(3);e.xp6(1),e.Q6J("ngIf",t.signedIn&&i.subscribable)}}function xe(n,a){1&n&&(e.TgZ(0,"nz-space",18),e.YNc(1,ze,2,1,"span",19),e.YNc(2,Pe,2,1,"span",19),e.YNc(3,Me,2,1,"span",19),e.qZA())}function Te(n,a){if(1&n&&(e.TgZ(0,"nz-page-header-extra"),e.YNc(1,xe,4,0,"nz-space",17),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngrxLet",t.viewer$)}}function Ce(n,a){if(1&n&&e._UZ(0,"nz-alert",27),2&n){e.oxw();const t=e.MAs(15);e.Q6J("nzMessage",t)}}function Ze(n,a){if(1&n&&e._UZ(0,"cvc-comment-body",30),2&n){const t=e.oxw().$implicit;e.Q6J("commentBodySegments",t.deprecationComment.parsedComment)}}function be(n,a){if(1&n&&(e.ynx(0),e._UZ(1,"br")(2,"cvc-variant-tag",28),e._uU(3),e.ALo(4,"enumToTitle"),e.YNc(5,Ze,1,1,"cvc-comment-body",29),e.BQk()),2&n){const t=a.$implicit;e.xp6(2),e.Q6J("variant",t),e.xp6(1),e.hij(" ",e.lcZ(4,3,t.deprecationReason),". "),e.xp6(2),e.Q6J("ngIf",t.deprecationComment)}}function Ie(n,a){if(1&n&&(e._uU(0," This Molecular Profile has been deprecated because one or more of its underlying variants are deprecated "),e.YNc(1,be,6,5,"ng-container",16)),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.deprecatedVariants)}}function Ae(n,a){if(1&n&&(e.TgZ(0,"nz-col",31),e._UZ(1,"cvc-contributor-avatars",32),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("subscribable",t.subscribable)}}const Je=function(n){return{flagged:n}};function Qe(n,a){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,ge,1,1,"ng-template",null,2,e.W1O),e.TgZ(4,"div",3),e.ALo(5,"ngrxPush"),e.TgZ(6,"nz-page-header",4)(7,"nz-page-header-title",5),e._UZ(8,"i",6),e._uU(9),e.qZA(),e.YNc(10,de,2,1,"nz-page-header-subtitle",0),e.YNc(11,Te,2,1,"nz-page-header-extra",7),e.TgZ(12,"nz-page-header-content"),e.YNc(13,Ce,1,1,"nz-alert",8),e.YNc(14,Ie,2,1,"ng-template",null,9,e.W1O),e.TgZ(16,"cvc-tab-navigation",10),e.ALo(17,"ngrxPush"),e.YNc(18,Ae,2,1,"ng-template",null,11,e.W1O),e.qZA(),e.TgZ(20,"div",12),e._UZ(21,"router-outlet"),e.qZA()()()(),e.BQk()),2&n){const t=a.ngIf,i=e.MAs(3),l=e.oxw();e.xp6(1),e.Q6J("displayName",t.name)("actionsTpl",i),e.xp6(3),e.Q6J("flags",e.lcZ(5,9,l.flagsTotal$)),e.xp6(3),e.Q6J("ngClass",e.VKq(13,Je,t.flags.totalCount>0)),e.xp6(2),e.hij(" ",t.name," "),e.xp6(1),e.Q6J("ngIf",t.molecularProfileAliases.length>0),e.xp6(1),e.Q6J("ngrxLet",l.viewer$),e.xp6(2),e.Q6J("ngIf",t.deprecated),e.xp6(3),e.Q6J("tabs",e.lcZ(17,11,l.tabs$))}}let Se=(()=>{class n{constructor(t,i,l){this.gql=t,this.viewerService=i,this.route=l,this.destroy$=new H.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.tabs$=new K.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(f=>{this.queryRef=this.gql.watch({mpId:+f.molecularProfileId});let C=this.queryRef.valueChanges;this.loading$=C.pipe((0,h.j)("loading"),(0,S.O)(!0)),this.molecularProfile$=C.pipe((0,h.j)("data","molecularProfile")),this.flagsTotal$=this.molecularProfile$.pipe((0,h.j)("flags","totalCount")),this.molecularProfile$.pipe((0,X.R)(this.destroy$)).subscribe({next:Z=>{this.tabs$.next(this.defaultTabs.map(d=>"Revisions"===d.tabLabel?{badgeCount:Z?.revisions.totalCount,...d}:"Comments"===d.tabLabel?{badgeCount:Z?.comments.totalCount,badgeColor:"#cccccc",...d}:d))}}),this.subscribable={id:+f.molecularProfileId,entityType:m.o71.MolecularProfile}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(m.AMF),e.Y36(q.a),e.Y36(c.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["molecular-profiles-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","actionsTpl"],["mpActions",""],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzType","civic:molecularprofile"],[4,"ngrxLet"],["nzBanner","","nzType","error",3,"nzMessage",4,"ngIf"],["deprecationMessageTemplate",""],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small",3,"queryParams",4,"ngIf"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small",3,"queryParams"],["nz-icon","","nzType","plus-circle"],[4,"ngFor","ngForOf"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","MolecularProfile",3,"viewer","subscribableId",4,"ngIf"],["typename","MolecularProfile",3,"viewer","subscribableId"],["nzBanner","","nzType","error",3,"nzMessage"],[3,"variant"],[3,"commentBodySegments",4,"ngIf"],[3,"commentBodySegments"],["id","contributors-col"],[3,"subscribable"]],template:function(t,i){1&t&&(e.YNc(0,Qe,22,15,"ng-container",0),e.ALo(1,"ngrxPush")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,i.molecularProfile$))},dependencies:[r.mk,r.sg,r.O5,c.lC,c.rH,c.Od,I.eJ,M.ix,k.w,ee.dQ,v.Ls,s.$O,s.u9,s.yG,s.u5,s.Jp,g.NU,g.$1,u.t3,O.r,ne.N,te.P,ae.o,oe.Y,ie.I,re.Q,N.I,le.m,I.fM,ce.I],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var Oe=o(9894);let Ne=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[r.ez,Oe.t]}),n})();var Ve=o(7441);let Ue=(()=>{class n{constructor(t){this.route=t,this.subscribable={id:+this.route.snapshot.params.molecularProfileId,entityType:m.o71.MolecularProfile}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(c.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-molecular-profiles-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(t,i){1&t&&e._UZ(0,"cvc-event-feed",0),2&t&&e.Q6J("subscribable",i.subscribable)},dependencies:[Ve.o],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var Ye=o(183),we=o(4139),P=o(2962);let De=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[r.ez,u.Jb,P.vh,g.zf,we.H0,v.PV,Ye.M]}),n})();var Fe=o(7287);let Le=(()=>{class n{constructor(t){this.route=t,this.flaggable={entityType:m.sfv.MolecularProfile,id:+this.route.snapshot.params.molecularProfileId}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(c.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-molecular-profiles-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(t,i){1&t&&e._UZ(0,"cvc-flag-list-and-filter",0),2&t&&e.Q6J("flaggable",i.flaggable)},dependencies:[Fe.L],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var Ee=o(2534);let $e=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[r.ez,Ee.A]}),n})();var Re=o(6126);let Be=(()=>{class n{constructor(t){this.route=t,this.routeSub=this.route.params.subscribe(i=>{this.molecularProfileId=+i.molecularProfileId,this.entityType=m.oRL.MolecularProfile})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(c.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-molecular-profiles-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(t,i){1&t&&e._UZ(0,"cvc-revisions-list-and-filter",0),2&t&&e.Q6J("id",i.molecularProfileId)("entityType",i.entityType)},dependencies:[Re.a],encapsulation:2}),n})();var A=o(366),je=o(8641),_=o(8125),V=o(3717),U=o(6067),Y=o(3511),We=o(1403),Ge=o(5895),x=o(2392),J=o(2524),Xe=o(3235),T=o(5695),He=o(9858),w=o(7528),Ke=o(8527),Q=o(565),qe=o(6055);let ke=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[r.ez,c.Bz,T.X,v.PV,u.Jb,_.q6,x.ZJ,P.vh,Q.cD,g.zf,J.s,w.Q,z.U,Y.o,A.$,V.M,U.X,A.$,Ke.u,qe.z]}),n})();var en=o(3517);let nn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[r.ez,g.zf,u.Jb,_.q6,P.vh,x.ZJ,v.PV,T.X,en.M,J.s,We.Q,Ge.s,A.$,Xe.W,je.s,z.U,V.M,U.X,Y.o,He.r,ke]}),n})();var tn=o(7871),an=o(6822),on=o(1826),D=o(1887),rn=o(4138),ln=o(3493),cn=o(5095),sn=o(4121),pn=o(7938),un=o(3317),gn=o(2606),mn=o(1765),fn=o(2616);function dn(n,a){if(1&n&&(e._UZ(0,"i",25),e.ALo(1,"entityColor"),e._uU(2)),2&n){const t=e.oxw();e.Q6J("nzTwotoneColor",e.lcZ(1,2,"Variant")),e.xp6(2),e.hij(" ",t.variant.name," ")}}function vn(n,a){if(1&n&&(e.TgZ(0,"nz-tag"),e._uU(1),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Oqu(t)}}function _n(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,vn,2,1,"nz-tag",26),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.variant.variantAliases)}}function zn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None specified"),e.qZA())}function hn(n,a){1&n&&e._UZ(0,"cvc-variant-type-tag",29),2&n&&e.Q6J("variantType",a.$implicit)}function Pn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,hn,1,1,"cvc-variant-type-tag",28),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.variant.variantTypes)}}function yn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None specified"),e.qZA())}function Mn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-link-tag",30),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("href","https://reg.genome.network/allele/"+t.variant.alleleRegistryId+".html"),e.xp6(1),e.hij(" ",t.variant.alleleRegistryId," ")}}function xn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None provided"),e.qZA())}function Tn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-link-tag",31),e._uU(2),e.qZA(),e.BQk()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("href","https://www.ncbi.nlm.nih.gov/clinvar/variation/"+t),e.xp6(1),e.hij(" ",t," ")}}function Cn(n,a){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,Tn,3,2,"ng-container",26),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.variant.clinvarIds)}}function Zn(n,a){if(1&n&&(e.ynx(0),e.YNc(1,Cn,2,1,"cvc-tag-list",11),e.BQk()),2&n){const t=e.oxw(),i=e.MAs(27);e.xp6(1),e.Q6J("ngIf","N/A"!==t.variant.clinvarIds[0])("ngIfElse",i)}}function bn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"N/A"),e.qZA())}function In(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"None provided"),e.qZA())}function An(n,a){if(1&n&&(e.TgZ(0,"cvc-link-tag",32),e._uU(1," Variant Report "),e.qZA()),2&n){const t=e.oxw();e.Q6J("href",t.variant.openCravatUrl)}}function Jn(n,a){1&n&&(e.TgZ(0,"span",27),e._uU(1,"Allele Registry ID required."),e.qZA())}function Qn(n,a){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-molecular-profile-tag",35),e.BQk()),2&n){const t=a.$implicit;e.xp6(1),e.Q6J("molecularProfile",t)("truncateLongName",!0)}}function Sn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"a",36),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.MGl("routerLink","/variants/",t.variant.id,"/summary"),e.xp6(1),e.hij(" + view ",t.variant.molecularProfiles.totalCount-t.displayMps.length," more ")}}function On(n,a){if(1&n&&(e.TgZ(0,"nz-descriptions-item",33)(1,"cvc-tag-list"),e.YNc(2,Qn,2,2,"ng-container",26),e.YNc(3,Sn,3,2,"ng-container",34),e.qZA()()),2&n){const t=e.oxw();e.Q6J("nzSpan",4),e.xp6(2),e.Q6J("ngForOf",t.displayMps),e.xp6(1),e.Q6J("ngIf",t.variant.molecularProfiles.totalCount>t.displayMps.length+1)}}const Nn=function(){return[8,16]},Vn=function(){return[8,8]};let Un=(()=>{class n{constructor(){this.displayMps=[]}ngOnInit(){if(void 0===this.variant)throw new Error("Must pass a Variant into the MP Variant Card Component");if(void 0===this.currentMolecularProfileId)throw new Error("Must pass a MP ID into the MP Variant Card Component");this.displayMps=this.variant.molecularProfiles.nodes.filter(t=>t.id!=this.currentMolecularProfileId)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-mp-variant-card"]],inputs:{variant:"variant",currentMolecularProfileId:"currentMolecularProfileId"},decls:39,vars:32,consts:[["nzType","inner","nzSize","small",3,"nzTitle"],["cardTitle",""],[3,"nzGutter"],[3,"nzSpan"],["nzSpan","24"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variant",3,"nzSpan"],[3,"variant"],["nzTitle","Gene",3,"nzSpan"],[3,"gene"],["nzTitle","Aliases",3,"nzSpan"],[4,"ngIf","ngIfElse"],["noAliases",""],[3,"nzSpan","nzTitle"],["noTypes",""],["nzTitle","Allele Registry ID",3,"nzSpan"],["noAlleleRegistry",""],["clinvarNotApplicable",""],["noClinvarIds",""],["nzTitle","OpenCRAVAT",3,"nzSpan"],["tooltip","View on OpenCRAVAT",3,"href",4,"ngIf","ngIfElse"],["noCravat",""],["nzTitle","Other Molecular Profiles",3,"nzSpan",4,"ngIf"],["nzHeader","Representative Variant Coordinates"],[3,"displayTitle","cvcCoordinates"],["nz-icon","","nzType","civic-variant","nzTheme","twotone",3,"nzTwotoneColor"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],[3,"variantType",4,"ngFor","ngForOf"],[3,"variantType"],["tooltip","View on ClinGen Allele Registry",3,"href"],["tooltip","View on ClinVar",3,"href"],["tooltip","View on OpenCRAVAT",3,"href"],["nzTitle","Other Molecular Profiles",3,"nzSpan"],[4,"ngIf"],[3,"molecularProfile","truncateLongName"],[3,"routerLink"]],template:function(t,i){if(1&t&&(e.TgZ(0,"nz-card",0),e.YNc(1,dn,3,4,"ng-template",null,1,e.W1O),e.TgZ(3,"nz-row",2)(4,"nz-col",3)(5,"nz-row",2)(6,"nz-col",4)(7,"nz-descriptions",5)(8,"nz-descriptions-item",6),e._UZ(9,"cvc-variant-tag",7),e.qZA(),e.TgZ(10,"nz-descriptions-item",8),e._UZ(11,"cvc-gene-tag",9),e.qZA(),e.TgZ(12,"nz-descriptions-item",10),e.YNc(13,_n,3,1,"ng-container",11),e.YNc(14,zn,2,0,"ng-template",null,12,e.W1O),e.qZA(),e.TgZ(16,"nz-descriptions-item",13),e.YNc(17,Pn,3,1,"ng-container",11),e.YNc(18,yn,2,0,"ng-template",null,14,e.W1O),e.qZA(),e.TgZ(20,"nz-descriptions-item",15),e.YNc(21,Mn,3,2,"ng-container",11),e.YNc(22,xn,2,0,"ng-template",null,16,e.W1O),e.qZA(),e.TgZ(24,"nz-descriptions-item",13),e.YNc(25,Zn,2,2,"ng-container",11),e.YNc(26,bn,2,0,"ng-template",null,17,e.W1O),e.YNc(28,In,2,0,"ng-template",null,18,e.W1O),e.qZA(),e.TgZ(30,"nz-descriptions-item",19),e.YNc(31,An,2,1,"cvc-link-tag",20),e.YNc(32,Jn,2,0,"ng-template",null,21,e.W1O),e.qZA(),e.YNc(34,On,4,3,"nz-descriptions-item",22),e.qZA()(),e.TgZ(35,"nz-col",3)(36,"nz-collapse")(37,"nz-collapse-panel",23),e._UZ(38,"cvc-coordinates-card",24),e.qZA()()()()()()()),2&t){const l=e.MAs(2),f=e.MAs(15),C=e.MAs(19),Z=e.MAs(23),d=e.MAs(29),qn=e.MAs(33);e.Q6J("nzTitle",l),e.xp6(3),e.Q6J("nzGutter",e.DdM(30,Nn)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzGutter",e.DdM(31,Vn)),e.xp6(2),e.Q6J("nzColumn",4),e.xp6(1),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("variant",i.variant),e.xp6(1),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("gene",i.variant.gene),e.xp6(1),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("ngIf",i.variant.variantAliases.length>0)("ngIfElse",f),e.xp6(3),e.Q6J("nzSpan",2)("nzTitle",i.variant.variantTypes.length>1?"Variant Types":"Variant Type"),e.xp6(1),e.Q6J("ngIf",i.variant.variantTypes.length>0)("ngIfElse",C),e.xp6(3),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("ngIf",i.variant.alleleRegistryId)("ngIfElse",Z),e.xp6(3),e.Q6J("nzSpan",2)("nzTitle",i.variant.clinvarIds.length>1?"ClinVar IDs":"ClinVar ID"),e.xp6(1),e.Q6J("ngIf",i.variant.clinvarIds.length>0)("ngIfElse",d),e.xp6(5),e.Q6J("nzSpan",2),e.xp6(1),e.Q6J("ngIf",i.variant.openCravatUrl)("ngIfElse",qn),e.xp6(3),e.Q6J("ngIf",i.displayMps.length>0),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("displayTitle",!1)("cvcCoordinates",i.variant)}},dependencies:[r.sg,r.O5,c.rH,T.j,v.Ls,u.t3,u.SK,_.R7,_.uj,x.ZU,P.bd,Q.Zv,Q.yH,N.I,sn.H,D.$,pn.j,un.l,gn.p,mn.m,fn.a],styles:[".card-title[_ngcontent-%COMP%]{font-size:120%}"]}),n})();function Yn(n,a){if(1&n&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&n){const t=e.oxw().ngIf;e.Q6J("nzEllipsisRows",14),e.xp6(1),e.hij(" ",t.description," ")}}function wn(n,a){1&n&&e._UZ(0,"cvc-empty-revisable",22)}function Dn(n,a){1&n&&e._UZ(0,"cvc-source-tag",24),2&n&&e.Q6J("source",a.$implicit)}function Fn(n,a){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,Dn,1,1,"cvc-source-tag",23),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.sources)}}function Ln(n,a){if(1&n&&(e.TgZ(0,"nz-tag"),e._uU(1),e.qZA()),2&n){const t=a.$implicit;e.xp6(1),e.Oqu(t)}}function En(n,a){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,Ln,2,1,"nz-tag",25),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.molecularProfileAliases)}}function $n(n,a){if(1&n&&(e.TgZ(0,"nz-col",16),e._UZ(1,"cvc-mp-variant-card",26),e.qZA()),2&n){const t=a.$implicit,i=e.oxw().ngIf;e.xp6(1),e.Q6J("variant",t)("currentMolecularProfileId",i.id)}}const Rn=function(){return[8,16]},F=function(){return[8,8]};function Bn(n,a){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-row",3)(4,"nz-col",4)(5,"nz-descriptions",5)(6,"nz-descriptions-item",6),e._UZ(7,"cvc-mp-tag-name",7),e.qZA()()(),e.TgZ(8,"nz-col",4)(9,"nz-descriptions",5)(10,"nz-descriptions-item",8),e.YNc(11,Yn,2,2,"p",9),e.YNc(12,wn,1,0,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(14,"nz-descriptions-item",11),e.YNc(15,Fn,2,1,"cvc-tag-list",12),e.qZA(),e.TgZ(16,"nz-descriptions-item",13)(17,"span",14),e._uU(18),e.ALo(19,"number"),e.qZA()(),e.TgZ(20,"nz-descriptions-item",15),e.YNc(21,En,2,1,"cvc-tag-list",12),e.qZA()()()()(),e.TgZ(22,"nz-col",16)(23,"nz-card",17)(24,"nz-row",3),e.YNc(25,$n,2,2,"nz-col",18),e.qZA()()(),e.TgZ(26,"nz-col",16),e._UZ(27,"cvc-evidence-table",19),e.qZA(),e.TgZ(28,"nz-col",16),e._UZ(29,"cvc-assertions-table",20),e.qZA()(),e.BQk()),2&n){const t=a.ngIf,i=e.MAs(13);e.oxw();const l=e.MAs(5);e.xp6(1),e.Q6J("nzGutter",e.DdM(24,Rn)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzGutter",e.DdM(25,F)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",1),e.xp6(1),e.Q6J("nzSpan",1),e.xp6(1),e.Q6J("nameSegments",t.parsedName),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",2),e.xp6(2),e.Q6J("ngIf",t.description)("ngIfElse",i),e.xp6(4),e.Q6J("ngIf",t.sources.length>0)("ngIfElse",l),e.xp6(3),e.Oqu(e.lcZ(19,22,t.molecularProfileScore)),e.xp6(3),e.Q6J("ngIf",t.molecularProfileAliases.length>0)("ngIfElse",l),e.xp6(3),e.Q6J("nzGutter",e.DdM(26,F)),e.xp6(1),e.Q6J("ngForOf",t.variants),e.xp6(2),e.Q6J("molecularProfileId",t.id)("displayMolecularProfile",!1),e.xp6(2),e.MGl("cvcTitle","",t.name," Assertions"),e.Q6J("molecularProfileId",t.id)}}function jn(n,a){1&n&&e._UZ(0,"cvc-empty-value",27)}function Wn(n,a){1&n&&e._UZ(0,"cvc-empty-value",28)}const Gn=[{path:"",component:Se,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class n{constructor(t,i){var l;if(this.gql=t,this.route=i,null==(l=this.molecularProfileId?this.molecularProfileId:+this.route.snapshot.params.molecularProfileId))throw new Error("Must pass in a molecular profile ID as an input or via the route.");this.queryRef=this.gql.watch({mpId:l});let f=this.queryRef.valueChanges;this.loading$=f.pipe((0,h.j)("loading"),(0,S.O)(!0)),this.molecularProfile$=f.pipe((0,h.j)("data","molecularProfile")),this.subscribable={entityType:m.o71.MolecularProfile,id:l}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(m.Tg0),e.Y36(c.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-molecular-profiles-summary"]],inputs:{molecularProfileId:"molecularProfileId"},decls:6,vars:3,consts:[[4,"ngIf"],["valueNotApplicable",""],["valueUnspecified",""],[3,"nzGutter"],[3,"nzSpan"],["nzSize","small","nzBordered","true","nzLayout","vertical",3,"nzColumn"],["nzTitle","MP Expression",3,"nzSpan"],[3,"nameSegments"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["nzTitle","Molecular Profile Score"],["nz-typography",""],["nzTitle","Aliases"],["nzSpan","24"],["nzTitle","MP Variants"],["nzSpan","24",4,"ngFor","ngForOf"],["cvcHeight","300px","cvcTitle","Evidence",3,"molecularProfileId","displayMolecularProfile"],["cvcHeight","200px",3,"molecularProfileId","cvcTitle"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],[3,"source",4,"ngFor","ngForOf"],[3,"source"],[4,"ngFor","ngForOf"],[3,"variant","currentMolecularProfileId"],["cvcEmptyCategory","not-applicable"],["cvcEmptyCategory","unspecified"]],template:function(t,i){1&t&&(e.YNc(0,Bn,30,27,"ng-container",0),e.ALo(1,"ngrxPush"),e.YNc(2,jn,1,0,"ng-template",null,1,e.W1O),e.YNc(4,Wn,1,0,"ng-template",null,2,e.W1O)),2&t&&e.Q6J("ngIf",e.lcZ(1,1,i.molecularProfile$))},dependencies:[r.sg,r.O5,u.t3,u.SK,_.R7,_.uj,P.bd,x.ZU,T.j,tn.P,an.a,on.x,D.$,rn.T,ln.J,cn.C,Un,r.JJ,I.fM],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]}),n})(),data:{breadcrumb:"Summary"}},{path:"comments",component:G,data:{breadcrumb:"Comments"}},{path:"revisions",component:Be,data:{breadcrumb:"Revisions"}},{path:"flags",component:Le,data:{breadcrumb:"Flags"}},{path:"events",component:Ue,data:{breadcrumb:"Events"}}]}];let Xn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.Bz.forChild(Gn),nn,$e,j,De,Ne,c.Bz]}),n})();var Hn=o(4758);let Kn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[r.ez,Xn,M.sL,v.PV,s.KJ,g.zf,u.Jb,O.L,$.Z,E.c,p.m,z.U,b.D,R.g,w.Q,J.s,Hn.m]}),n})()}}]); \ No newline at end of file diff --git a/server/public/8103.cfb73c0b48084050.js b/server/public/8103.cfb73c0b48084050.js deleted file mode 100644 index bc01f306d..000000000 --- a/server/public/8103.cfb73c0b48084050.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8103],{7471:(K,f,e)=>{e.d(f,{B:()=>L});var u,x=e(655),E=e(3154),d=e(7630),c=e(9933),T=e(1135),h=e(7579),C=e(3240),m=e(1884),O=e(2529),D=e(5684),s=e(9300),M=e(4004),z=e(8372),A=e(1365),g=e(6579),t=e(4650),p=e(6895),I=e(7044),U=e(1971),v=e(1102),i=e(6675),Z=e(6672),b=e(7570),y=e(5851),R=e(7451),W=e(2166),B=e(3388),S=e(3220),N=e(3667),J=e(9947),$=e(392),Q=e(5105),w=e(2635),H=e(567);function j(l,o){}function F(l,o){if(1&l&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,j,0,0,"ng-template",6),t.qZA(),t.BQk()),2&l){t.oxw();const n=t.MAs(6),_=t.MAs(8),a=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",n)("nzExtra",_),t.xp6(1),t.Q6J("ngTemplateOutlet",a)}}function G(l,o){}const Y=function(l){return{height:l}};function V(l,o){if(1&l&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,G,0,0,"ng-template",6),t.qZA()()),2&l){const n=t.oxw(),_=t.MAs(6),a=t.MAs(8),r=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,Y,n.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",_)("nzExtra",a),t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function X(l,o){if(1&l&&(t.TgZ(0,"tr",31)(1,"td",32),t._UZ(2,"cvc-molecular-profile-tag",33),t.qZA(),t.TgZ(3,"td"),t._UZ(4,"cvc-plain-tag-overflow",34),t.ALo(5,"pluck"),t.qZA(),t.TgZ(6,"td"),t._UZ(7,"cvc-tag-overflow",35),t.qZA(),t.TgZ(8,"td"),t._UZ(9,"cvc-tag-overflow",36),t.qZA(),t.TgZ(10,"td"),t._UZ(11,"cvc-tag-overflow",37),t.qZA(),t.TgZ(12,"td"),t._UZ(13,"cvc-tag-overflow",38),t.qZA(),t.TgZ(14,"td",39),t._uU(15),t.ALo(16,"number"),t.qZA(),t.TgZ(17,"td",40),t._uU(18),t.ALo(19,"number"),t.qZA(),t.TgZ(20,"td",40),t._uU(21),t.ALo(22,"number"),t.qZA(),t.TgZ(23,"td",40),t._uU(24),t.ALo(25,"number"),t.qZA()()),2&l){const n=o.$implicit,_=t.oxw(2);t.xp6(2),t.Q6J("molecularProfile",n)("truncateLongName",!0),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",t.xi3(5,22,n.aliases,"name"))("maxDisplayCount",1)("matchingText",_.aliasInput),t.xp6(3),t.Q6J("tags",n.genes)("maxDisplayCount",1)("matchingText",_.geneSymbolInput),t.xp6(2),t.Q6J("tags",n.variants)("maxDisplayCount",1)("matchingText",_.variantNameInput),t.xp6(2),t.Q6J("tags",n.diseases)("maxDisplayCount",1)("matchingText",_.diseaseNameInput),t.xp6(2),t.Q6J("tags",n.therapies)("maxDisplayCount",1)("matchingText",_.therapyNameInput),t.xp6(2),t.hij(" ",t.lcZ(16,25,n.molecularProfileScore)," "),t.xp6(3),t.hij(" ",t.lcZ(19,27,n.evidenceItemCount)," "),t.xp6(3),t.hij(" ",t.lcZ(22,29,n.assertionCount)," "),t.xp6(3),t.hij(" ",t.lcZ(25,31,n.variantCount)," ")}}const q=function(){return[]},k=function(){return{x:"680px",y:"800px"}},P=function(){return["descend","ascend",null]};function tt(l,o){if(1&l){const n=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.scrollEvent$.next(a))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.sortChange$.next(a))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Name "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Aliases "),t.qZA(),t.TgZ(12,"th",15),t._uU(13," Genes "),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Variants "),t.qZA(),t.TgZ(16,"th",17),t._uU(17,"Diseases"),t.qZA(),t.TgZ(18,"th",18),t._uU(19,"Therapies"),t.qZA(),t.TgZ(20,"th",19),t._UZ(21,"i",20),t._uU(22," Score "),t.qZA(),t.TgZ(23,"th",21),t._UZ(24,"i",22),t._uU(25," Count "),t.qZA(),t.TgZ(26,"th",23),t._UZ(27,"i",24),t._uU(28," Count "),t.qZA(),t.TgZ(29,"th",25),t._UZ(30,"i",26),t._uU(31," Count "),t.qZA()(),t.TgZ(32,"tr",27)(33,"th",13)(34,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.mpNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(35,"th",14)(36,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.aliasInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(37,"th",15)(38,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.geneSymbolInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(39,"th",16)(40,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.variantNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(41,"th",17)(42,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.diseaseNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t.TgZ(43,"th",18)(44,"cvc-clearable-input-filter",28),t.NdJ("inputModelChange",function(a){t.CHM(n);const r=t.oxw();return t.KtG(r.therapyNameInput=a)})("inputModelChange",function(){t.CHM(n);const a=t.oxw();return t.KtG(a.filterChange$.next())}),t.qZA()(),t._UZ(45,"th",29)(46,"th",29)(47,"th",29)(48,"th",29),t.qZA()(),t.TgZ(49,"tbody"),t.YNc(50,X,26,33,"ng-template",30),t.qZA()()}if(2&l){const n=t.oxw();t.Q6J("nzData",t.lcZ(2,29,n.row$)||t.DdM(37,q))("nzLoading",t.lcZ(3,31,n.initialLoading$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,33,n.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,35,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",t.DdM(38,k))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(20),t.Q6J("nzSortFn",!0)("nzSortDirections",t.DdM(39,P))("nzColumnKey",n.sortColumns.MolecularProfileScore),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",t.DdM(40,P)),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",t.DdM(41,P)),t.xp6(3),t.Q6J("nzColumnKey",n.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(42,P)),t.xp6(5),t.Q6J("inputModel",n.mpNameInput),t.xp6(2),t.Q6J("inputModel",n.aliasInput),t.xp6(2),t.Q6J("inputModel",n.geneSymbolInput),t.xp6(2),t.Q6J("inputModel",n.variantNameInput),t.xp6(2),t.Q6J("inputModel",n.diseaseNameInput),t.xp6(2),t.Q6J("inputModel",n.therapyNameInput)}}function nt(l,o){}function et(l,o){if(1&l&&(t.ynx(0),t.YNc(1,nt,0,0,"ng-template",6),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function ot(l,o){if(1&l&&(t.ynx(0),t._uU(1),t.BQk()),2&l){const n=t.oxw(2);t.xp6(1),t.hij(" ",n.cvcTitle," ")}}function lt(l,o){if(1&l&&(t.YNc(0,et,2,1,"ng-container",41),t.YNc(1,ot,2,1,"ng-container",41),t.TgZ(2,"span",42),t._UZ(3,"cvc-table-counts",43),t.qZA()),2&l){const n=t.oxw();t.Q6J("ngIf",n.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",n.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",n.connection$)}}function at(l,o){1&l&&(t.TgZ(0,"nz-tag",46),t._UZ(1,"i",47),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function _t(l,o){if(1&l&&(t.YNc(0,at,4,0,"nz-tag",44),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",45),t.ALo(3,"ngrxPush")),2&l){const n=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,n.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,n.noMoreRows$))}}let L=((u=class{set initialUserFilters(o){o&&Object.assign(this,o)}constructor(o,n){this.gql=o,this.cdr=n,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=d.FNv,this.noMoreRows$=new T.X(!1),this.scrollEvent$=new T.X("stop"),this.sortChange$=new h.x,this.filterChange$=new h.x,this.scrollIndex$=new h.x}ngOnInit(){this.initialQueryArgs={first:this.initialPageSize,variantId:this.variantId},this.queryRef=this.gql.watch(this.initialQueryArgs),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,g.j)("loading"),(0,m.x)(),(0,O.o)(o=>!1!==o,!0)),this.moreLoading$=this.result$.pipe((0,g.j)("loading"),(0,m.x)(),(0,D.T)(2)),this.connection$=this.result$.pipe((0,g.j)("data","browseMolecularProfiles"),(0,s.h)(C.ep)),this.row$=this.connection$.pipe((0,g.j)("edges"),(0,s.h)(C.ep),(0,M.U)(o=>o.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,g.j)("pageInfo"),(0,s.h)(C.ep)),this.sortChange$.pipe((0,c.t)(this)).subscribe(o=>{this.queryRef.refetch({sortBy:(0,E._)(o)})}),this.filterChange$.pipe((0,z.b)(500),(0,c.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,M.U)(o=>"stop"!==o),(0,m.x)(),(0,c.t)(this)).subscribe(o=>{this.isScrolling=o,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,s.h)(o=>"bottom"===o),(0,A.M)(this.pageInfo$),(0,M.U)(([o,n])=>n),(0,c.t)(this)).subscribe(o=>{o.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({molecularProfileName:this.mpNameInput,diseaseName:this.diseaseNameInput,therapyName:this.therapyNameInput,variantName:this.variantNameInput?this.variantNameInput:void 0,molecularProfileAlias:this.aliasInput?this.aliasInput:void 0,entrezSymbol:this.geneSymbolInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(o,n){return n?.id}}).\u0275fac=function(o){return new(o||u)(t.Y36(d.q9q),t.Y36(t.sBO))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-molecular-profiles-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",variantId:"variantId",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","200px","nzLeft",""],["nzWidth","100px"],["nzWidth","150px"],["nzWidth","200px"],["nzWidth","250px"],["nzWidth","180px"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Molecular Profile Score",3,"nzSortFn","nzSortDirections","nzColumnKey"],["nz-icon","","nzType","civic-molecularprofile"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-assertion"],["nzWidth","75px","nzRight","","nzAlign","right","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic-variant"],[1,"filter-row"],[3,"inputModel","inputModelChange"],["nzWidth","75px","nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],["nzLeft",""],[3,"molecularProfile","truncateLongName"],[3,"maxDisplayCount","tags","matchingText"],["tagType","gene",3,"tags","maxDisplayCount","matchingText"],["tagType","variant",3,"tags","maxDisplayCount","matchingText"],["tagType","disease",3,"tags","maxDisplayCount","matchingText"],["tagType","therapy",3,"tags","maxDisplayCount","matchingText"],["nzRigh","","nzAlign","right"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(o,n){if(1&o&&(t.YNc(0,F,3,3,"ng-container",0),t.YNc(1,V,3,6,"ng-template",null,1,t.W1O),t.YNc(3,tt,51,43,"ng-template",null,2,t.W1O),t.YNc(5,lt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,_t,4,6,"ng-template",null,4,t.W1O)),2&o){const _=t.MAs(2);t.Q6J("ngIf",!n.cvcHeight)("ngIfElse",_)}},dependencies:[p.O5,p.tP,p.PC,I.w,U.bd,v.Ls,i.N8,i.qD,i.Uo,i._C,i.Om,i.p0,i.$Z,i.zu,i.qn,i.UX,Z.j,b.SY,y.D,R.q,W.p,B.H,S.l,N.B,J.y,$.T,Q.p,p.JJ,w.fM,H.F],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),u);L=(0,x.gn)([(0,c.c)()],L)},5160:(K,f,e)=>{e.d(f,{I:()=>i});var x=e(6895),E=e(4125),d=e(2994),c=e(3650),T=e(8525),h=e(7946),C=e(9444),m=e(3111),O=e(1433),D=e(9240),s=e(2635),M=e(6616),z=e(1971),A=e(1102),g=e(6675),t=e(6672),p=e(7570),I=e(8823),U=e(4126),v=e(4650);class i{}i.\u0275fac=function(b){return new(b||i)},i.\u0275mod=v.oAB({type:i}),i.\u0275inj=v.cJS({imports:[x.ez,s._N,s.pP,M.sL,z.vh,A.PV,g.HQ,t.X,p.cg,I.ZJ,m.n,O.c,E.k,d.y,C.s,c.T,T.T,D.w,h.x,U.u,c.T]})}}]); \ No newline at end of file diff --git a/server/public/8104.4456aeba87b46715.js b/server/public/8104.4456aeba87b46715.js new file mode 100644 index 000000000..f1f3bca8d --- /dev/null +++ b/server/public/8104.4456aeba87b46715.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8104],{1218:(D,g,n)=>{n.d(g,{i:()=>h});var a=n(6814),_=n(4190),t=n(5695),f=n(7417),C=n(551),d=n(1855),z=n(2524),u=n(3640),v=n(3146),r=n(5879);let h=(()=>{class p{}return p.\u0275fac=function(S){return new(S||p)},p.\u0275mod=r.oAB({type:p}),p.\u0275inj=r.cJS({imports:[a.ez,_.Bz,u.mS,t.X,f.$6,C.PV,d.f,z.s,v.C]}),p})()},3493:(D,g,n)=>{n.d(g,{J:()=>v});var a=n(5879),_=n(6814),t=n(804),f=n(551);function C(r,h){if(1&r&&(a.TgZ(0,"span",5),a._uU(1),a.qZA()),2&r){const p=a.oxw(2);a.xp6(1),a.Oqu(p.notification)}}function d(r,h){1&r&&a._uU(0," Not specified ")}function z(r,h){if(1&r&&(a.YNc(0,C,2,1,"span",3),a.YNc(1,d,1,0,"ng-template",null,4,a.W1O)),2&r){const p=a.MAs(2),E=a.oxw();a.Q6J("ngIf",E.notification)("ngIfElse",p)}}function u(r,h){1&r&&a._UZ(0,"i",6)}let v=(()=>{class r{constructor(){}ngOnInit(){}}return r.\u0275fac=function(p){return new(p||r)},r.\u0275cmp=a.Xpm({type:r,selectors:[["cvc-empty-revisable"]],inputs:{notification:"notification"},decls:5,vars:2,consts:[[3,"nzNotFoundContent","nzNotFoundImage"],["notFound",""],["notFoundImg",""],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["defaultNotification",""],["nz-typography","","nzType","secondary"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#dfdfdf"]],template:function(p,E){if(1&p&&(a._UZ(0,"nz-empty",0),a.YNc(1,z,3,2,"ng-template",null,1,a.W1O),a.YNc(3,u,1,0,"ng-template",null,2,a.W1O)),2&p){const S=a.MAs(2),y=a.MAs(4);a.Q6J("nzNotFoundContent",S)("nzNotFoundImage",y)}},dependencies:[_.O5,t.p9,f.Ls],styles:["[_nghost-%COMP%] {display:block}[_nghost-%COMP%] .ant-empty-image{height:35px;margin-top:4px;margin-bottom:4px}[_nghost-%COMP%] .ant-empty-image i, [_nghost-%COMP%] .ant-empty-image svg{height:100%;width:100%}"]}),r})()},3511:(D,g,n)=>{n.d(g,{o:()=>C});var a=n(6814),_=n(804),t=n(551),f=n(5879);let C=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275mod=f.oAB({type:d}),d.\u0275inj=f.cJS({imports:[a.ez,_.Xo,t.PV]}),d})()},4139:(D,g,n)=>{n.d(g,{H0:()=>M});var a=n(5879),_=n(6814),t=n(9388);let M=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=a.oAB({type:s}),s.\u0275inj=a.cJS({imports:[t.vT,_.ez]}),s})()},6494:(D,g,n)=>{n.d(g,{i:()=>l,m:()=>o});var a=n(655),_=n(6028),t=n(5879),f=n(6223),C=n(8645),d=n(2438),z=n(9773),u=n(874),v=n(7754),r=n(4300),h=n(9388),p=n(6814),E=n(1958),S=n(551),y=n(8324);const P=["switchElement"];function N(e,m){1&e&&t._UZ(0,"span",8)}function T(e,m){if(1&e&&(t.ynx(0),t._uU(1),t.BQk()),2&e){const i=t.oxw(2);t.xp6(1),t.Oqu(i.nzCheckedChildren)}}function O(e,m){if(1&e&&(t.ynx(0),t.YNc(1,T,2,1,"ng-container",9),t.BQk()),2&e){const i=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",i.nzCheckedChildren)}}function A(e,m){if(1&e&&(t.ynx(0),t._uU(1),t.BQk()),2&e){const i=t.oxw(2);t.xp6(1),t.Oqu(i.nzUnCheckedChildren)}}function M(e,m){if(1&e&&t.YNc(0,A,2,1,"ng-container",9),2&e){const i=t.oxw();t.Q6J("nzStringTemplateOutlet",i.nzUnCheckedChildren)}}let l=(()=>{class e{updateValue(i){this.isChecked!==i&&(this.isChecked=i,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}constructor(i,c,k,I,x,w){this.nzConfigService=i,this.host=c,this.ngZone=k,this.cdr=I,this.focusMonitor=x,this.directionality=w,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new C.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,d.R)(this.host.nativeElement,"click").pipe((0,z.R)(this.destroy$)).subscribe(i=>{i.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,d.R)(this.switchElement.nativeElement,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(i=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:c}=i;c!==_.oh&&c!==_.SV&&c!==_.L_&&c!==_.K5||(i.preventDefault(),this.ngZone.run(()=>{c===_.oh?this.updateValue(!1):c===_.SV?this.updateValue(!0):(c===_.L_||c===_.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,z.R)(this.destroy$)).subscribe(i=>{i||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(i){this.isChecked=i,this.cdr.markForCheck()}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||i,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return e.\u0275fac=function(i){return new(i||e)(t.Y36(u.jY),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(r.tE),t.Y36(h.Is,8))},e.\u0275cmp=t.Xpm({type:e,selectors:[["nz-switch"]],viewQuery:function(i,c){if(1&i&&t.Gf(P,7),2&i){let k;t.iGM(k=t.CRH())&&(c.switchElement=k.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[t._Bn([{provide:f.JU,useExisting:(0,t.Gpc)(()=>e),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(i,c){if(1&i&&(t.TgZ(0,"button",0,1)(2,"span",2),t.YNc(3,N,1,0,"span",3),t.qZA(),t.TgZ(4,"span",4),t.YNc(5,O,2,1,"ng-container",5),t.YNc(6,M,1,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(8,"div",7),t.qZA()),2&i){const k=t.MAs(7);t.ekj("ant-switch-checked",c.isChecked)("ant-switch-loading",c.nzLoading)("ant-switch-disabled",c.nzDisabled)("ant-switch-small","small"===c.nzSize)("ant-switch-rtl","rtl"===c.dir),t.Q6J("disabled",c.nzDisabled)("nzWaveExtraNode",!0),t.uIk("id",c.nzId),t.xp6(3),t.Q6J("ngIf",c.nzLoading),t.xp6(2),t.Q6J("ngIf",c.isChecked)("ngIfElse",k)}},dependencies:[p.O5,E.dQ,S.Ls,y.f],encapsulation:2,changeDetection:0}),(0,a.gn)([(0,v.yF)()],e.prototype,"nzLoading",void 0),(0,a.gn)([(0,v.yF)()],e.prototype,"nzDisabled",void 0),(0,a.gn)([(0,v.yF)()],e.prototype,"nzControl",void 0),(0,a.gn)([(0,u.oS)()],e.prototype,"nzSize",void 0),e})(),o=(()=>{class e{}return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[h.vT,p.ez,E.vG,S.PV,y.T]}),e})()}}]); \ No newline at end of file diff --git a/server/public/8245.2f882b4f5fd8d87b.js b/server/public/8245.2f882b4f5fd8d87b.js new file mode 100644 index 000000000..d45d4bf9a --- /dev/null +++ b/server/public/8245.2f882b4f5fd8d87b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8245],{1834:(K,Q,e)=>{e.d(Q,{m:()=>Y});var t=e(5879),f=e(6814),o=e(5695),n=e(551),T=e(3488),S=e(270),B=e(4786),x=e(9408),A=e(5959),E=e(4121),$=e(356),z=e(215),Z=e(2606);function L(_,u){if(1&_&&(t.ynx(0),t._UZ(1,"span",2),t.BQk()),2&_){const r=t.oxw().$implicit;t.xp6(1),t.Q6J("innerHtml",r.text,t.oJD)}}function M(_,u){if(1&_&&(t.ynx(0),t._UZ(1,"cvc-user-tag",3),t.BQk()),2&_){const r=t.oxw().$implicit;t.xp6(1),t.Q6J("user",r)}}const P=function(_,u,r,W){return{id:_,name:u,link:r,revisionSetId:W}};function F(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-revision-tag",6),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("revision",t.l5B(1,P,r.entityId,r.displayName,r.link,r.revisionSetId))}}const R=function(_,u,r){return{id:_,name:u,link:r}};function O(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-gene-tag",7),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("gene",t.kEZ(1,R,r.entityId,r.displayName,r.link))}}const I=function(_,u,r,W){return{id:_,name:u,link:r,deprecated:W}};function D(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-variant-tag",8),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("variant",t.l5B(1,I,r.entityId,r.displayName,r.link,r.deprecated))}}function U(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-variant-group-tag",9),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("variantgroup",t.kEZ(1,R,r.entityId,r.displayName,r.link))}}const J=function(_,u,r,W){return{id:_,name:u,status:r,link:W}};function v(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-evidence-tag",10),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("evidence",t.l5B(1,J,r.entityId,r.displayName,r.status,r.link))}}function h(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-assertion-tag",11),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("assertion",t.l5B(1,J,r.entityId,r.displayName,r.status,r.link))}}const i=function(_,u){return{id:_,name:u}};function a(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-organization-tag",12),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("org",t.WLB(1,i,r.entityId,r.displayName))}}function s(_,u){if(1&_&&(t.TgZ(0,"span"),t._UZ(1,"cvc-molecular-profile-tag",13),t.qZA()),2&_){const r=t.oxw(2).$implicit;t.xp6(1),t.Q6J("molecularProfile",t.l5B(1,I,r.entityId,r.displayName,r.link,r.deprecated))}}function g(_,u){if(1&_&&(t.TgZ(0,"span")(1,"nz-tag"),t._UZ(2,"i",14),t._uU(3),t.qZA()()),2&_){const r=t.oxw(2).$implicit;t.xp6(2),t.MGl("nzType","civic-",r.displayName.slice(0,-1),""),t.xp6(1),t.hij(" ",r.displayName,"")}}function C(_,u){if(1&_&&(t.ynx(0)(1,4),t.YNc(2,F,2,6,"span",5),t.YNc(3,O,2,5,"span",5),t.YNc(4,D,2,6,"span",5),t.YNc(5,U,2,5,"span",5),t.YNc(6,v,2,6,"span",5),t.YNc(7,h,2,6,"span",5),t.YNc(8,a,2,4,"span",5),t.YNc(9,s,2,6,"span",5),t.YNc(10,g,4,2,"span",5),t.BQk()()),2&_){const r=t.oxw().$implicit;t.xp6(1),t.Q6J("ngSwitch",r.tagType),t.xp6(1),t.Q6J("ngSwitchCase","REVISION"),t.xp6(1),t.Q6J("ngSwitchCase","GENE"),t.xp6(1),t.Q6J("ngSwitchCase","VARIANT"),t.xp6(1),t.Q6J("ngSwitchCase","VARIANT_GROUP"),t.xp6(1),t.Q6J("ngSwitchCase","EVIDENCE_ITEM"),t.xp6(1),t.Q6J("ngSwitchCase","ASSERTION"),t.xp6(1),t.Q6J("ngSwitchCase","ORGANIZATION"),t.xp6(1),t.Q6J("ngSwitchCase","MOLECULAR_PROFILE"),t.xp6(1),t.Q6J("ngSwitchCase","ROLE")}}function N(_,u){if(1&_&&(t.ynx(0),t.YNc(1,L,2,1,"ng-container",1),t.YNc(2,M,2,1,"ng-container",1),t.YNc(3,C,11,10,"ng-container",1),t.BQk()),2&_){const r=u.$implicit;t.xp6(1),t.Q6J("ngIf","CommentTextSegment"==r.__typename),t.xp6(1),t.Q6J("ngIf","User"==r.__typename),t.xp6(1),t.Q6J("ngIf","CommentTagSegment"==r.__typename)}}let Y=(()=>{class _{ngOnInit(){if(void 0===this.commentBodySegments)throw new Error("Must pass a list of comment body segments into comment body component.")}}return _.\u0275fac=function(r){return new(r||_)},_.\u0275cmp=t.Xpm({type:_,selectors:[["cvc-comment-body"]],inputs:{commentBodySegments:"commentBodySegments"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"innerHtml"],[3,"user"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"revision"],[3,"gene"],[3,"variant"],[3,"variantgroup"],[3,"evidence"],[3,"assertion"],[3,"org"],[3,"molecularProfile"],["nz-icon","","nzTheme","twotone","nzTwotoneColor","#A0D8F5",3,"nzType"]],template:function(r,W){1&r&&t.YNc(0,N,4,3,"ng-container",0),2&r&&t.Q6J("ngForOf",W.commentBodySegments)},dependencies:[f.sg,f.O5,f.RF,f.n9,o.j,n.Ls,T.p,S.w,B.O,x.I,A.u,E.H,$.I,z.m,Z.p],encapsulation:2}),_})()},800:(K,Q,e)=>{e.d(Q,{D:()=>pn});var t=e(313),f=e(7398),o=e(4223),n=e(5879),T=e(6814),S=e(2840),B=e(855),x=e(95),A=e(2962),E=e(6976),$=e(551),z=e(6928),Z=e(2574),L=e(8645),M=e(9773),P=e(2024),F=e(951),R=e(7473),O=e(6223),I=e(1958),D=e(3599),U=e(2669),J=e(3903),v=e(4755),h=e(5805),i=e(2257),a=e(3764),s=e(1889);function g(c,d){if(1&c){const m=n.EpF();n.TgZ(0,"nz-alert",7),n.NdJ("nzOnClose",function(){n.CHM(m);const p=n.oxw();return n.KtG(p.onSuccessBannerClose())}),n.qZA()}}function C(c,d){if(1&c&&(n.TgZ(0,"nz-form-item"),n._UZ(1,"cvc-form-errors-alert",8),n.qZA()),2&c){const m=n.oxw();n.xp6(1),n.Q6J("errors",m.errorMessages)}}let N=(()=>{class c{constructor(m,l,p){this.viewerService=m,this.addCommentGql=l,this.networkErrorService=p,this.commentAddedEvent=new n.vpe,this.destroy$=new L.x,this.success=!1,this.errorMessages=[],this.loading=!1,this.viewerService.viewer$.pipe((0,M.R)(this.destroy$)).subscribe(y=>{this.organizations=y.organizations,this.mostRecentOrg=y.mostRecentOrg}),this.addCommentMutator=new P.U(p)}selectOrg(m){this.mostRecentOrg=m}submitComment(){if(this.commentText){this.errorMessages=[];let l=this.addCommentMutator.mutate(this.addCommentGql,{input:{body:this.commentText,subject:this.subject,organizationId:void 0===this.mostRecentOrg?void 0:this.mostRecentOrg.id}});l.submitSuccess$.pipe((0,M.R)(this.destroy$)).subscribe(p=>{p&&(this.resetForm(),this.success=!0)}),l.submitError$.pipe((0,M.R)(this.destroy$)).subscribe(p=>{p&&(this.errorMessages=p,this.success=!1)}),l.isSubmitting$.pipe((0,M.R)(this.destroy$)).subscribe(p=>{this.loading=p})}}resetForm(){this.commentText="",this.commentAddedEvent.emit()}onSuccessBannerClose(){this.resetForm()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return c.\u0275fac=function(m){return new(m||c)(n.Y36(F.a),n.Y36(t.iGM),n.Y36(R.Y))},c.\u0275cmp=n.Xpm({type:c,selectors:[["cvc-comment-add-form"]],inputs:{subject:"subject"},outputs:{commentAddedEvent:"commentAddedEvent"},decls:12,vars:6,consts:[["nzBanner","","nzMessage","Comment submitted","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[4,"ngIf"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"],["nzBanner","","nzMessage","Comment submitted","nzType","success","nzCloseable","",3,"nzOnClose"],[3,"errors"]],template:function(m,l){1&m&&(n.TgZ(0,"nz-card"),n.YNc(1,g,1,0,"nz-alert",0),n.TgZ(2,"form",1),n.NdJ("ngSubmit",function(){return l.submitComment()}),n.YNc(3,C,2,1,"nz-form-item",2),n.TgZ(4,"cvc-comment-input-form",3),n.NdJ("commentChange",function(y){return l.commentText=y}),n.qZA(),n.TgZ(5,"nz-spin",4)(6,"nz-form-item")(7,"nz-form-control")(8,"cvc-form-buttons")(9,"cvc-org-selector-btn-group",5),n.NdJ("selectedOrgChange",function(y){return l.mostRecentOrg=y}),n.TgZ(10,"button",6),n._uU(11," Add Comment "),n.qZA()()()()()()()()),2&m&&(n.xp6(1),n.Q6J("ngIf",l.success),n.xp6(2),n.Q6J("ngIf",l.errorMessages.length>0),n.xp6(1),n.Q6J("comment",l.commentText),n.xp6(1),n.Q6J("nzSpinning",l.loading),n.xp6(4),n.Q6J("selectedOrg",l.mostRecentOrg),n.xp6(1),n.Q6J("disabled",l.loading||!(void 0!==l.commentText&&l.commentText.length>=10)))},dependencies:[T.O5,O._Y,O.JL,S.ix,B.w,I.dQ,A.bd,x.t3,x.SK,D.Lr,D.Nx,D.Fd,U.W,J.r,O.F,v.V,h.m,i.q,a.Z,s.b],styles:[":host{display:block}nz-space{width:100%}nz-form-item:last-of-type{margin-bottom:0}\n"],encapsulation:2}),c})();var Y=e(6794),_=e(1320),u=e(1834),r=e(5573);function W(c,d){if(1&c&&n._UZ(0,"nz-avatar",4),2&c){const m=n.oxw();n.Q6J("nzSrc",m.comment.commenter.profileImagePath)}}function G(c,d){1&c&&n._UZ(0,"nz-avatar",5)}let j=(()=>{class c{ngOnInit(){if(void 0===this.comment)throw new Error("Must pass a comment into comment display component.")}}return c.\u0275fac=function(m){return new(m||c)},c.\u0275cmp=n.Xpm({type:c,selectors:[["cvc-comment-display"]],inputs:{comment:"comment"},decls:7,vars:7,consts:[[3,"nzAuthor","nzDatetime"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],[3,"commentBodySegments"],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","","nzIcon","civic:curator"]],template:function(m,l){if(1&m&&(n.TgZ(0,"nz-comment",0),n.ALo(1,"timeAgo"),n.YNc(2,W,1,1,"nz-avatar",1),n.YNc(3,G,1,0,"ng-template",null,2,n.W1O),n.TgZ(5,"nz-comment-content"),n._UZ(6,"cvc-comment-body",3),n.qZA()()),2&m){const p=n.MAs(4);n.Q6J("nzAuthor",l.comment.commenter.displayName)("nzDatetime",n.lcZ(1,5,l.comment.createdAt)),n.xp6(2),n.Q6J("ngIf",l.comment.commenter.profileImagePath)("ngIfElse",p),n.xp6(4),n.Q6J("commentBodySegments",l.comment.parsedComment)}},dependencies:[T.O5,_.WE,_.DA,_.Y4,z.Dz,u.m,r.x],encapsulation:2}),c})();var H=e(8091),V=e(6116);function b(c,d){if(1&c){const m=n.EpF();n.TgZ(0,"div",18)(1,"button",19),n.NdJ("click",function(){n.CHM(m);const p=n.oxw().ngIf,y=n.oxw(3);return n.KtG(y.onLoadMore(p.startCursor))}),n._uU(2," Load older comments "),n.qZA()()}}function X(c,d){if(1&c&&(n.TgZ(0,"nz-list-header"),n.YNc(1,b,3,0,"div",17),n.qZA()),2&c){const m=d.ngIf;n.xp6(1),n.Q6J("ngIf",m.hasPreviousPage)}}function q(c,d){if(1&c&&(n.TgZ(0,"nz-list-item"),n._UZ(1,"cvc-comment-display",20),n.qZA()),2&c){const m=d.$implicit;n.xp6(1),n.Q6J("comment",m)}}function k(c,d){if(1&c&&(n.TgZ(0,"nz-card",13)(1,"nz-list",14),n.ALo(2,"ngrxPush"),n.ALo(3,"ngrxPush"),n.YNc(4,X,2,1,"nz-list-header",15),n.ALo(5,"ngrxPush"),n.YNc(6,q,2,1,"ng-template",null,16,n.W1O),n.qZA()()),2&c){const m=n.MAs(7),l=n.oxw(2);n.xp6(1),n.Q6J("nzDataSource",n.lcZ(2,4,l.comments$))("nzLoading",n.lcZ(3,6,l.loading$))("nzRenderItem",m),n.xp6(3),n.Q6J("ngIf",n.lcZ(5,8,l.pageInfo$))}}function nn(c,d){if(1&c){const m=n.EpF();n.TgZ(0,"cvc-comment-add-form",21),n.NdJ("commentAddedEvent",function(){n.CHM(m);const p=n.oxw(2);return n.KtG(p.refreshList())}),n.qZA()}if(2&c){const m=n.oxw(2);n.Q6J("subject",m.commentable)}}function tn(c,d){if(1&c&&n._UZ(0,"nz-avatar",24),2&c){const m=n.oxw().$implicit;n.Q6J("nzSrc",m.profileImagePath)}}function en(c,d){if(1&c&&(n._UZ(0,"nz-avatar",25),n.ALo(1,"uppercase")),2&c){const m=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,m.displayName.charAt(0)))}}function on(c,d){if(1&c&&(n.YNc(0,tn,1,1,"nz-avatar",22),n.YNc(1,en,2,3,"ng-template",null,23,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&c){const m=d.$implicit,l=n.MAs(2);n.Q6J("ngIf",m.profileImagePath)("ngIfElse",l),n.xp6(4),n.Oqu(m.displayName)}}function mn(c,d){if(1&c&&n._UZ(0,"nz-avatar",24),2&c){const m=n.oxw().$implicit;n.Q6J("nzSrc",m.profileImagePath)}}function cn(c,d){if(1&c&&(n._UZ(0,"nz-avatar",25),n.ALo(1,"uppercase")),2&c){const m=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,m.displayName.charAt(0)))}}function an(c,d){if(1&c&&(n.YNc(0,mn,1,1,"nz-avatar",22),n.YNc(1,cn,2,3,"ng-template",null,23,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&c){const m=d.$implicit,l=n.MAs(2);n.Q6J("ngIf",m.profileImagePath)("ngIfElse",l),n.xp6(4),n.Oqu(m.displayName)}}function sn(c,d){if(1&c&&(n._UZ(0,"nz-avatar",26),n.TgZ(1,"span"),n._uU(2),n.qZA()),2&c){const m=d.$implicit;n.MGl("nzIcon","civic-",m.tag.displayName,""),n.xp6(2),n.hij("",m.tag.displayName,"s")}}function rn(c,d){if(1&c&&(n._UZ(0,"i",27),n.ALo(1,"iconNameForSubscribableEntity"),n.TgZ(2,"span"),n._uU(3),n.qZA()),2&c){const m=d.$implicit;n.Q6J("nzType",n.lcZ(1,2,m.tag.tagType)),n.xp6(3),n.Oqu(m.tag.displayName)}}const w=function(){return[]};function _n(c,d){if(1&c){const m=n.EpF();n.ynx(0),n.TgZ(1,"nz-row",2)(2,"nz-col",3)(3,"nz-space",4),n.YNc(4,k,8,10,"nz-card",5),n.YNc(5,nn,1,1,"cvc-comment-add-form",6),n.qZA()(),n.TgZ(6,"nz-col",7)(7,"cvc-participant-list",8),n.NdJ("participantSelectedEvent",function(p){n.CHM(m);const y=n.oxw();return n.KtG(y.onCommenterSelected(p))}),n.ALo(8,"ngrxPush"),n.YNc(9,on,5,3,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(11,"cvc-participant-list",10),n.NdJ("participantSelectedEvent",function(p){n.CHM(m);const y=n.oxw();return n.KtG(y.onMentionedUserSelected(p))}),n.ALo(12,"ngrxPush"),n.YNc(13,an,5,3,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(15,"cvc-participant-list",11),n.NdJ("participantSelectedEvent",function(p){n.CHM(m);const y=n.oxw();return n.KtG(y.onMentionedRoleSelected(p))}),n.ALo(16,"ngrxPush"),n.YNc(17,sn,3,2,"ng-template",null,9,n.W1O),n.qZA(),n.TgZ(19,"cvc-participant-list",12),n.NdJ("participantSelectedEvent",function(p){n.CHM(m);const y=n.oxw();return n.KtG(y.onMentionedEntitySelected(p))}),n.ALo(20,"ngrxPush"),n.YNc(21,rn,4,4,"ng-template",null,9,n.W1O),n.qZA()()(),n.BQk()}if(2&c){const m=n.oxw();n.xp6(1),n.Q6J("nzGutter",16),n.xp6(6),n.Q6J("participantList",n.lcZ(8,5,m.commenters$)||n.DdM(13,w)),n.xp6(4),n.Q6J("participantList",n.lcZ(12,7,m.mentionedUsers$)||n.DdM(14,w)),n.xp6(4),n.Q6J("participantList",n.lcZ(16,9,m.mentionedRoles$)||n.DdM(15,w)),n.xp6(4),n.Q6J("participantList",n.lcZ(20,11,m.mentionedEntities$)||n.DdM(16,w))}}function ln(c,d){if(1&c){const m=n.EpF();n.TgZ(0,"cvc-comment-add-form",21),n.NdJ("commentAddedEvent",function(){n.CHM(m);const p=n.oxw();return n.KtG(p.refreshList())}),n.qZA()}if(2&c){const m=n.oxw();n.Q6J("subject",m.commentable)}}let pn=(()=>{class c{constructor(m){this.gql=m,this.pageSize=5}ngOnInit(){this.queryRef$=this.gql.watch({subject:this.commentable,last:this.pageSize,sortBy:{column:t.h01.Created,direction:t.SrV.Asc}});let m=this.queryRef$.valueChanges;this.pageInfo$=m.pipe((0,f.U)(({data:l})=>l.comments.pageInfo)),this.loading$=m.pipe((0,f.U)(({loading:l})=>l)),this.comments$=m.pipe((0,f.U)(({data:l})=>l.comments.edges.map(p=>p.node))),this.commenters$=m.pipe((0,f.U)(({data:l})=>l.comments.uniqueCommenters)),this.mentionedUsers$=m.pipe((0,f.U)(({data:l})=>l.comments.mentionedUsers)),this.mentionedRoles$=m.pipe((0,f.U)(({data:l})=>l.comments.mentionedRoles.map(p=>({id:`${p.entityId}-${p.tagType}`,tag:p})))),this.mentionedEntities$=m.pipe((0,f.U)(({data:l})=>l.comments.mentionedEntities.map(p=>({id:`${p.entityId}-${p.tagType}`,tag:p})))),this.unfilteredCount$=m.pipe((0,o.j)("data","comments","unfilteredCountForSubject"))}onLoadMore(m){this.queryRef$.fetchMore({variables:{last:this.pageSize,before:m}})}onCommenterSelected(m){this.queryRef$.refetch({originatingUserId:m?.id})}onMentionedUserSelected(m){this.queryRef$.refetch({mentionedUserId:m?.id})}onMentionedRoleSelected(m){if(m){let l=t.i44[m.tag.displayName[0].toUpperCase()+m.tag.displayName.slice(1)];this.queryRef$.refetch({mentionedRole:l})}else this.queryRef$.refetch({mentionedRole:void 0})}onMentionedEntitySelected(m){this.queryRef$.refetch(m?{mentionedEntity:{entityType:m.tag.tagType,id:m.tag.entityId}}:{mentionedEntity:void 0})}refreshList(){this.queryRef$.refetch()}}return c.\u0275fac=function(m){return new(m||c)(n.Y36(t.iST))},c.\u0275cmp=n.Xpm({type:c,selectors:[["cvc-comment-list"]],inputs:{commentable:"commentable"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noComments",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical",2,"width","100%"],["nzTitle","Comments",4,"nzSpaceItem"],["id","addComment",3,"subject","commentAddedEvent",4,"nzSpaceItem"],["nzSpan","6"],["listTitle","Commenters",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Mentioned Users",3,"participantList","participantSelectedEvent"],["listTitle","Mentioned Roles",3,"participantList","participantSelectedEvent"],["listTitle","Mentioned Entities",3,"participantList","participantSelectedEvent"],["nzTitle","Comments"],["nzSize","small","nzItemLayout","horizontal",3,"nzDataSource","nzLoading","nzRenderItem"],[4,"ngIf"],["comment",""],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","link","nzSize","small","nzBlock","",3,"click"],[3,"comment"],["id","addComment",3,"subject","commentAddedEvent"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],[3,"nzIcon"],["nz-icon","",3,"nzType"]],template:function(m,l){if(1&m&&(n.YNc(0,_n,23,17,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,ln,1,1,"ng-template",null,1,n.W1O)),2&m){const p=n.MAs(3);n.Q6J("ngIf",n.lcZ(1,2,l.unfilteredCount$))("ngIfElse",p)}},dependencies:[T.O5,S.ix,B.w,x.t3,x.SK,A.bd,E.n_,E.t4,E.AA,$.Ls,z.Dz,Z.NU,Z.$1,N,Y.l,j,T.gd,H.fM,V.j],styles:["[_nghost-%COMP%]{display:block}nz-list-header[_ngcontent-%COMP%]{padding:0;margin:0}nz-list-header[_ngcontent-%COMP%] [nz-list-load-more][_ngcontent-%COMP%]{margin-top:-.5em;padding-bottom:.5em}"]}),c})()},1830:(K,Q,e)=>{e.d(Q,{l:()=>g});var t=e(6814),f=e(95),o=e(2962),n=e(6976),T=e(6928),S=e(2574),B=e(4139),x=e(1595),A=e(1320),E=e(4758),$=e(2524),z=e(5879);let Z=(()=>{class C{}return C.\u0275fac=function(Y){return new(Y||C)},C.\u0275mod=z.oAB({type:C}),C.\u0275inj=z.cJS({imports:[t.ez,A.YM,T.Rt,E.m,$.s]}),C})();var L=e(6223),M=e(5545),P=e(3599),F=e(3394),R=e(6294),O=e(845),I=e(2840),D=e(9560),U=e(9382),J=e(2669),v=e(6513),h=e(3378),i=e(3903);let a=(()=>{class C{}return C.\u0275fac=function(Y){return new(Y||C)},C.\u0275mod=z.oAB({type:C}),C.\u0275inj=z.cJS({imports:[t.ez,L.UX,I.sL,o.vh,U.we,P.U5,J.j,v.Gl,i.L,L.u5,M.X0,F.B,R.A,O.R,E.m,D.K,h.w]}),C})();var s=e(551);let g=(()=>{class C{}return C.\u0275fac=function(Y){return new(Y||C)},C.\u0275mod=z.oAB({type:C}),C.\u0275inj=z.cJS({imports:[t.ez,I.sL,f.Jb,o.vh,n.Ph,s.PV,$.s,T.Rt,S.zf,B.H0,a,x.N,Z]}),C})()},1889:(K,Q,e)=>{e.d(Q,{b:()=>J});var t=e(5879),f=e(8645),o=e(313),n=e(2181),T=e(9773),S=e(7398),B=e(7921),x=e(4223),A=e(5676),E=e(951),$=e(6814),z=e(6223),Z=e(8091),L=e(9382),M=e(2669),P=e(6513),F=e(1834);function R(v,h){if(1&v&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2),t.qZA(),t.BQk()),2&v){const i=h.$implicit;t.xp6(2),t.Oqu(i.displayName)}}function O(v,h){1&v&&(t.ynx(0),t._UZ(1,"nz-spin",8),t.BQk())}function I(v,h){if(1&v&&(t.ynx(0),t._UZ(1,"cvc-comment-body",9),t.BQk()),2&v){const i=h.ngIf;t.xp6(1),t.Q6J("commentBodySegments",i)}}const D=function(){return["#","@","$"]};function U(v,h){if(1&v){const i=t.EpF();t.ynx(0),t.TgZ(1,"nz-tabset",1)(2,"nz-tab",2)(3,"nz-mention",3),t.NdJ("nzOnSearchChange",function(s){t.CHM(i);const g=t.oxw();return t.KtG(g.onSearchChange(s))})("nzOnSelect",function(){t.CHM(i);const s=t.oxw();return t.KtG(s.suggestions=[])}),t.TgZ(4,"textarea",4),t.NdJ("ngModelChange",function(s){t.CHM(i);const g=t.oxw();return t.KtG(g.commentText=s)})("ngModelChange",function(s){t.CHM(i);const g=t.oxw();return t.KtG(g.onCommentChanged(s))}),t.qZA(),t.YNc(5,R,3,1,"ng-container",5),t.qZA()(),t.TgZ(6,"nz-tab",6),t.NdJ("nzClick",function(){t.CHM(i);const s=t.oxw();return t.KtG(s.onPreviewButtonClicked())}),t.YNc(7,O,2,0,"ng-container",7),t.ALo(8,"ngrxPush"),t.YNc(9,I,2,1,"ng-container",7),t.ALo(10,"ngrxPush"),t.qZA()(),t.BQk()}if(2&v){const i=h.ngrxLet,a=t.oxw();t.xp6(1),t.Q6J("nzAnimated",!1),t.xp6(2),t.Q6J("nzSuggestions",a.suggestions)("nzPrefix",t.DdM(13,D))("nzValueWith",a.autoCompleteValueFor),t.xp6(1),t.Q6J("placeholder",i&&i.canCurate?"Enter comment (minimum length 10. Use @ to mention users; # to link entities)":"Please sign in")("ngModel",a.commentText),t.uIk("disabled",!i||!i.canCurate||null),t.xp6(3),t.Q6J("ngIf",t.lcZ(8,9,a.previewLoading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(10,11,a.previewComment$))}}let J=(()=>{class v{constructor(i,a,s,g){this.previewCommentGql=i,this.userTypeaheadGql=a,this.entityTypeaheadGql=s,this.viewerService=g,this.commentChange=new t.vpe,this.destroy$=new f.x,this.suggestions=[],this.roleSuggestions=[{displayName:"admins",value:"admins"},{displayName:"editors",value:"editors"}]}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.commentText=this.comment,this.userTypeaheadQueryRef$=this.userTypeaheadGql.watch({queryTerm:""}),this.userTypeaheadQueryRef$.valueChanges.pipe((0,x.j)("data","userTypeahead"),(0,n.h)(A.ep),(0,T.R)(this.destroy$)).subscribe(i=>this.suggestions=i.map(a=>({displayName:a.username,value:a.username}))),this.entityTypeaheadQueryRef$=this.entityTypeaheadGql.watch({queryTerm:""}),this.entityTypeaheadQueryRef$.valueChanges.pipe((0,x.j)("data","entityTypeahead"),(0,n.h)(A.ep),(0,T.R)(this.destroy$)).subscribe(i=>this.suggestions=i.map(a=>({displayName:a.displayName,value:this.tagForEntityTypeAndId(a.tagType,a.entityId)})))}ngOnChanges(){this.commentText=this.comment}autoCompleteValueFor(i){return i.value}tagForEntityTypeAndId(i,a){switch(i){case o.mpB.Gene:return`GID${a}`;case o.mpB.Variant:return`VID${a}`;case o.mpB.VariantGroup:return`VGID${a}`;case o.mpB.EvidenceItem:return`EID${a}`;case o.mpB.Assertion:return`AID${a}`;case o.mpB.Revision:return`RID${a}`;case o.mpB.MolecularProfile:return`MPID${a}`;case o.mpB.Role:return Object.keys(o.i44)[a]}}resetForm(){this.commentText=""}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onPreviewButtonClicked(){this.commentText&&(this.previewComment$=this.previewCommentGql.watch({commentText:this.commentText}).valueChanges.pipe((0,x.j)("data","previewCommentText"),(0,n.h)(A.ep)),this.previewLoading$=this.previewCommentGql.watch({commentText:this.commentText}).valueChanges.pipe((0,S.U)(({loading:i})=>i),(0,B.O)(!0)))}onSearchChange({value:i,prefix:a}){"@"===a?this.userTypeaheadQueryRef$.refetch({queryTerm:i}):"$"==a?this.suggestions=this.roleSuggestions.filter(s=>s.value.startsWith(i)):this.entityTypeaheadQueryRef$.refetch({queryTerm:i})}onCommentChanged(i){this.commentChange.emit(i)}}return v.\u0275fac=function(i){return new(i||v)(t.Y36(o.mII),t.Y36(o.vMt),t.Y36(o.GYx),t.Y36(E.a))},v.\u0275cmp=t.Xpm({type:v,selectors:[["cvc-comment-input-form"]],inputs:{comment:"comment"},outputs:{commentChange:"commentChange"},features:[t.TTD],decls:1,vars:1,consts:[[4,"ngrxLet"],[3,"nzAnimated"],["nzTitle","Write"],["nzNotFoundContent","No matches...",3,"nzSuggestions","nzPrefix","nzValueWith","nzOnSearchChange","nzOnSelect"],["nzMentionTrigger","","nz-input","","rows","4",2,"width","100%",3,"placeholder","ngModel","ngModelChange"],[4,"nzMentionSuggestion"],["nzTitle","Preview",3,"nzClick"],[4,"ngIf"],["nzTip","Loading..."],[3,"commentBodySegments"]],template:function(i,a){1&i&&t.YNc(0,U,11,14,"ng-container",0),2&i&&t.Q6J("ngrxLet",a.viewer$)},dependencies:[$.O5,z.Fj,z.JJ,Z.eJ,L.xH,L.xw,M.W,P.YW,P.jO,P.O3,z.On,F.m,Z.fM],styles:[":host{display:block}nz-space{width:100%}nz-form-item:last-of-type{margin-bottom:0}\n"],encapsulation:2}),v})()},1320:(K,Q,e)=>{e.d(Q,{DA:()=>O,WE:()=>J,Y4:()=>I,YM:()=>h});var t=e(9388),f=e(6814),o=e(5879),n=e(8324),T=e(8484),S=e(8645),B=e(9773);function x(i,a){1&i&&o.Hsn(0)}const A=["*"];function E(i,a){if(1&i&&(o.ynx(0),o._uU(1),o.BQk()),2&i){const s=o.oxw(2);o.xp6(1),o.Oqu(s.nzAuthor)}}function $(i,a){if(1&i&&(o.TgZ(0,"span",8),o.YNc(1,E,2,1,"ng-container",9),o.qZA()),2&i){const s=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",s.nzAuthor)}}function z(i,a){if(1&i&&(o.ynx(0),o._uU(1),o.BQk()),2&i){const s=o.oxw(2);o.xp6(1),o.Oqu(s.nzDatetime)}}function Z(i,a){if(1&i&&(o.TgZ(0,"span",10),o.YNc(1,z,2,1,"ng-container",9),o.qZA()),2&i){const s=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",s.nzDatetime)}}function L(i,a){}function M(i,a){if(1&i&&(o.TgZ(0,"li")(1,"span"),o.YNc(2,L,0,0,"ng-template",13),o.qZA()()),2&i){const s=a.$implicit;o.xp6(2),o.Q6J("nzCommentActionHost",s.content)}}function P(i,a){if(1&i&&(o.TgZ(0,"ul",11),o.YNc(1,M,3,1,"li",12),o.qZA()),2&i){const s=o.oxw();o.xp6(1),o.Q6J("ngForOf",s.actions)}}const F=[[["nz-avatar","nz-comment-avatar",""]],[["nz-comment-content"]],"*"],R=["nz-avatar[nz-comment-avatar]","nz-comment-content","*"];let O=(()=>{class i{}return i.\u0275fac=function(s){return new(s||i)},i.\u0275dir=o.lG2({type:i,selectors:[["nz-avatar","nz-comment-avatar",""]],exportAs:["nzCommentAvatar"]}),i})(),I=(()=>{class i{}return i.\u0275fac=function(s){return new(s||i)},i.\u0275dir=o.lG2({type:i,selectors:[["nz-comment-content"],["","nz-comment-content",""]],hostAttrs:[1,"ant-comment-content-detail"],exportAs:["nzCommentContent"]}),i})(),D=(()=>{class i extends T.Pl{constructor(s,g){super(s,g)}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}ngAfterViewInit(){this.attach(this.nzCommentActionHost)}}return i.\u0275fac=function(s){return new(s||i)(o.Y36(o._Vd),o.Y36(o.s_b))},i.\u0275dir=o.lG2({type:i,selectors:[["","nzCommentActionHost",""]],inputs:{nzCommentActionHost:"nzCommentActionHost"},exportAs:["nzCommentActionHost"],features:[o.qOj]}),i})(),U=(()=>{class i{get content(){return this.contentPortal}constructor(s){this.viewContainerRef=s,this.contentPortal=null}ngOnInit(){this.contentPortal=new T.UE(this.implicitContent,this.viewContainerRef)}}return i.\u0275fac=function(s){return new(s||i)(o.Y36(o.s_b))},i.\u0275cmp=o.Xpm({type:i,selectors:[["nz-comment-action"]],viewQuery:function(s,g){if(1&s&&o.Gf(o.Rgc,7),2&s){let C;o.iGM(C=o.CRH())&&(g.implicitContent=C.first)}},exportAs:["nzCommentAction"],ngContentSelectors:A,decls:1,vars:0,template:function(s,g){1&s&&(o.F$t(),o.YNc(0,x,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),i})(),J=(()=>{class i{constructor(s,g){this.cdr=s,this.directionality=g,this.dir="ltr",this.destroy$=new S.x}ngOnInit(){this.directionality.change?.pipe((0,B.R)(this.destroy$)).subscribe(s=>{this.dir=s,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(s){return new(s||i)(o.Y36(o.sBO),o.Y36(t.Is,8))},i.\u0275cmp=o.Xpm({type:i,selectors:[["nz-comment"]],contentQueries:function(s,g,C){if(1&s&&o.Suo(C,U,4),2&s){let N;o.iGM(N=o.CRH())&&(g.actions=N)}},hostVars:4,hostBindings:function(s,g){2&s&&o.ekj("ant-comment",!0)("ant-comment-rtl","rtl"===g.dir)},inputs:{nzAuthor:"nzAuthor",nzDatetime:"nzDatetime"},exportAs:["nzComment"],ngContentSelectors:R,decls:11,vars:3,consts:[[1,"ant-comment-inner"],[1,"ant-comment-avatar"],[1,"ant-comment-content"],[1,"ant-comment-content-author"],["class","ant-comment-content-author-name",4,"ngIf"],["class","ant-comment-content-author-time",4,"ngIf"],["class","ant-comment-actions",4,"ngIf"],[1,"ant-comment-nested"],[1,"ant-comment-content-author-name"],[4,"nzStringTemplateOutlet"],[1,"ant-comment-content-author-time"],[1,"ant-comment-actions"],[4,"ngFor","ngForOf"],[3,"nzCommentActionHost"]],template:function(s,g){1&s&&(o.F$t(F),o.TgZ(0,"div",0)(1,"div",1),o.Hsn(2),o.qZA(),o.TgZ(3,"div",2)(4,"div",3),o.YNc(5,$,2,1,"span",4),o.YNc(6,Z,2,1,"span",5),o.qZA(),o.Hsn(7,1),o.YNc(8,P,2,1,"ul",6),o.qZA()(),o.TgZ(9,"div",7),o.Hsn(10,2),o.qZA()),2&s&&(o.xp6(5),o.Q6J("ngIf",g.nzAuthor),o.xp6(1),o.Q6J("ngIf",g.nzDatetime),o.xp6(2),o.Q6J("ngIf",null==g.actions?null:g.actions.length))},dependencies:[f.sg,f.O5,n.f,D],encapsulation:2,changeDetection:0}),i})(),h=(()=>{class i{}return i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[t.vT,f.ez,n.T]}),i})()}}]); \ No newline at end of file diff --git a/server/public/8252.5d50a5039c93fdd2.js b/server/public/8252.5d50a5039c93fdd2.js new file mode 100644 index 000000000..18047d6f3 --- /dev/null +++ b/server/public/8252.5d50a5039c93fdd2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8252],{8252:(lt,T,i)=>{i.r(T),i.d(T,{AssertionsDetailModule:()=>ct});var c=i(6814),g=i(4190),_=i(2574),f=i(2392),u=i(6254),v=i(2840),x=i(5695),y=i(551),Z=i(3903),p=i(95),O=i(2419),U=i(5725),D=i(7129),w=i(3786),Y=i(8380),B=i(4059),L=i(936),a=i(313),P=i(7921),E=i(9773),m=i(4223),F=i(8645),R=i(5619),e=i(5879),V=i(951),h=i(8091),C=i(855),j=i(1958),q=i(3145),$=i(327),G=i(1801),W=i(8295),K=i(4794),X=i(5162),H=i(5098),k=i(1520),b=i(2606),ee=i(2616);function ne(n,s){if(1&n&&(e.TgZ(0,"span",8),e._uU(1,"Related to "),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e._uU(4,":"),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(3),e.Oqu(t.name)}}function te(n,s){if(1&n&&(e.TgZ(0,"span",9),e._UZ(1,"cvc-molecular-profile-tag",10),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!1)}}function se(n,s){1&n&&(e.TgZ(0,"nz-space",5),e.YNc(1,ne,5,1,"span",6),e.YNc(2,te,2,2,"span",7),e.qZA())}const ie=function(n){return["/assertions",n,"revise"]};function oe(n,s){if(1&n&&(e.TgZ(0,"button",25,26),e._uU(2," Revise "),e.qZA()),2&n){const t=e.MAs(1),o=e.oxw(3).ngIf;e.Q6J("routerLink",e.VKq(2,ie,o.id))("nzType",t.isActive?"primary":"default")}}function ae(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,oe,3,4,"button",24),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function re(n,s){if(1&n&&(e.TgZ(0,"span")(1,"button",27,26),e._uU(3," Flag "),e.qZA()()),2&n){const t=e.MAs(2);e.xp6(1),e.Q6J("nzType",t.isActive?"primary":"default")}}function ce(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-entity-subscription-button",28),e.BQk()),2&n){const t=e.oxw(2).ngrxLet,o=e.oxw(2);e.xp6(1),e.Q6J("viewer",t)("subscribableId",o.subscribable.id)}}function le(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,ce,2,2,"ng-container",0),e.qZA()),2&n){const t=e.oxw().ngrxLet,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.signedIn&&o.subscribable)}}function ge(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cvc-revert-entity-button",30),e.NdJ("onReverted",function(r){e.CHM(t);const l=e.oxw(5);return e.KtG(l.onRevertCompleted(r))}),e.qZA()}if(2&n){const t=e.oxw(4).ngIf;e.Q6J("entityId",t.id)}}function pe(n,s){1&n&&(e.ynx(0),e.YNc(1,ge,1,1,"cvc-revert-entity-button",29),e.BQk())}function _e(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,pe,2,0,"ng-container",0),e.qZA()),2&n){const t=e.oxw().ngrxLet,o=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.canModerate&&"SUBMITTED"!=o.status)}}function ue(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",31),e.NdJ("nzOnClose",function(){const l=e.CHM(t).$implicit,z=e.oxw(3);return e.KtG(z.onErrorBannerClose(l))}),e.qZA()}2&n&&e.Q6J("nzMessage",s.$implicit)}function me(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",32),e.NdJ("nzOnClose",function(){e.CHM(t);const r=e.oxw(3);return e.KtG(r.onSuccessBannerClose())}),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("nzMessage",t.successMessage)}}function de(n,s){1&n&&e._UZ(0,"nz-alert",33)}function fe(n,s){1&n&&e._UZ(0,"nz-alert",34)}function ye(n,s){if(1&n&&(e.TgZ(0,"nz-col",35),e._UZ(1,"cvc-contributor-avatars",36),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("subscribable",t.subscribable)}}function ze(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"cvc-moderate-entity-buttons",38),e.NdJ("onModerated",function(r){e.CHM(t);const l=e.oxw(4);return e.KtG(l.onModerateCompleted(r))}),e.qZA()()}if(2&n){const t=e.oxw(2).ngrxLet,o=e.oxw().ngIf;e.xp6(1),e.Q6J("rejectOnly",!t.canModerate)("entityId",o.id)("viewer",t)}}function ve(n,s){1&n&&e._UZ(0,"span")}function xe(n,s){1&n&&(e.TgZ(0,"nz-space",37),e.YNc(1,ze,2,3,"span",15),e.YNc(2,ve,1,0,"span",15),e.qZA())}const he=function(n){return{flagged:n}};function Ae(n,s){if(1&n&&(e.TgZ(0,"nz-page-header",11)(1,"nz-page-header-title",12),e._UZ(2,"i",13),e.ALo(3,"entityColor"),e._uU(4),e.qZA(),e.TgZ(5,"nz-page-header-extra")(6,"nz-space",14),e.YNc(7,ae,2,1,"span",15),e.YNc(8,re,4,1,"span",15),e.YNc(9,le,2,1,"span",15),e.YNc(10,_e,2,1,"span",15),e.qZA()(),e.TgZ(11,"nz-page-header-content"),e.YNc(12,ue,1,1,"nz-alert",16),e.YNc(13,me,1,1,"nz-alert",17),e.YNc(14,de,1,0,"nz-alert",18),e.YNc(15,fe,1,0,"nz-alert",19),e.TgZ(16,"cvc-tab-navigation",20),e.ALo(17,"ngrxPush"),e.YNc(18,ye,2,1,"ng-template",null,21,e.W1O),e.qZA(),e.YNc(20,xe,3,0,"nz-space",22),e.TgZ(21,"div",23),e._UZ(22,"router-outlet"),e.qZA()()()),2&n){const t=s.ngrxLet,o=e.oxw().ngIf,r=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(13,he,o.flags.totalCount>0)),e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(3,9,"Assertion")),e.xp6(2),e.hij(" ",o.name," "),e.xp6(8),e.Q6J("ngForOf",r.errors),e.xp6(1),e.Q6J("ngIf",r.successMessage),e.xp6(1),e.Q6J("ngIf","SUBMITTED"==o.status),e.xp6(1),e.Q6J("ngIf","REJECTED"==o.status),e.xp6(1),e.Q6J("tabs",e.lcZ(17,11,r.tabs$)),e.xp6(4),e.Q6J("ngIf",(t.canModerate||t.signedIn&&t.id==(null==o.submissionEvent||null==o.submissionEvent.originatingUser?null:o.submissionEvent.originatingUser.id))&&"SUBMITTED"==o.status)}}function Te(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,se,3,0,"ng-template",null,2,e.W1O),e.TgZ(4,"div",3),e.ALo(5,"ngrxPush"),e.YNc(6,Ae,23,15,"nz-page-header",4),e.qZA(),e.BQk()),2&n){const t=s.ngIf,o=e.MAs(3),r=e.oxw();e.xp6(1),e.Q6J("displayName",t.name)("relationsTpl",o),e.xp6(3),e.Q6J("flags",e.lcZ(5,4,r.flagsTotal$)),e.xp6(2),e.Q6J("ngrxLet",r.viewer$)}}let Ze=(()=>{class n{constructor(t,o,r){this.gql=t,this.viewerService=o,this.route=r,this.destroy$=new F.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.errors=[],this.tabs$=new R.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.paramsSub=this.route.params.subscribe(l=>{this.queryRef=this.gql.watch({assertionId:+l.assertionId});let z=this.queryRef.valueChanges;this.loading$=z.pipe((0,m.j)("loading"),(0,P.O)(!0)),this.assertion$=z.pipe((0,m.j)("data","assertion")),this.flagsTotal$=this.assertion$.pipe((0,m.j)("flags","totalCount")),this.assertion$.pipe((0,E.R)(this.destroy$)).subscribe({next:N=>{this.tabs$.next(this.defaultTabs.map(d=>"Revisions"===d.tabLabel?{badgeCount:N?.revisions.totalCount,...d}:"Comments"===d.tabLabel?{badgeCount:N?.comments.totalCount,badgeColor:"#cccccc",...d}:d))}}),this.subscribable={id:+l.assertionId,entityType:a.o71.Assertion}})}ngOnDestroy(){this.paramsSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}onRevertCompleted(t){!0===t?(this.errors=[],this.successMessage="Assertion reverted to submitted status.",this.queryRef?.refetch()):(this.errors=t,this.successMessage=void 0)}onErrorBannerClose(t){this.errors=this.errors?.filter(o=>o!=t)}onSuccessBannerClose(){this.successMessage=void 0}onModerateCompleted(t){Array.isArray(t)?(this.errors=t,this.successMessage=void 0):(this.errors=[],this.successMessage=`Assertion successfully ${t}.`,this.queryRef?.refetch())}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(a.A94),e.Y36(V.a),e.Y36(g.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["assertions-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["assertionRelations",""],["cvcFlaggable","",3,"flags"],["class","site-page-header",4,"ngrxLet"],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["nzBanner","","nzMessage","This Assertion is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning",4,"ngIf"],["nzBanner","","nzMessage","This Assertion has been rejected.","nzType","error",4,"ngIf"],[3,"tabs"],["tabBarExtraContent",""],["nzDirection","vertical",4,"ngIf"],[1,"content"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Assertion",3,"viewer","subscribableId"],["entityType","Assertion",3,"entityId","onReverted",4,"nzSpaceItem"],["entityType","Assertion",3,"entityId","onReverted"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzMessage","This Assertion is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning"],["nzBanner","","nzMessage","This Assertion has been rejected.","nzType","error"],["id","contributors-col"],[3,"subscribable"],["nzDirection","vertical"],["entityType","Assertion",3,"rejectOnly","entityId","viewer","onModerated"]],template:function(t,o){1&t&&(e.YNc(0,Te,7,6,"ng-container",0),e.ALo(1,"ngrxPush")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.assertion$))},dependencies:[c.mk,c.sg,c.O5,g.lC,g.rH,g.Od,h.eJ,_.NU,_.$1,f.ZU,u.$O,u.u9,u.u5,u.Jp,v.ix,C.w,j.dQ,y.Ls,Z.r,p.t3,q.I,$.o,G.Y,W.Q,K.e,X.m,H.P,k.N,b.p,h.fM,ee.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var Pe=i(1830);let Ce=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,Pe.l]}),n})();var be=i(800);let Qe=(()=>{class n{constructor(t){this.route=t,this.commentable={id:+this.route.snapshot.params.assertionId,entityType:a.OfU.Assertion}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(g.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-assertions-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(t,o){1&t&&e._UZ(0,"cvc-comment-list",0),2&t&&e.Q6J("commentable",o.commentable)},dependencies:[be.D],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var Ie=i(2962),Je=i(4139),Se=i(183);let Me=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,p.Jb,Ie.vh,_.zf,Je.H0,Se.M]}),n})();var Ne=i(7287);let Oe=(()=>{class n{constructor(t){this.route=t,this.flaggable={entityType:a.sfv.Assertion,id:+this.route.snapshot.params.assertionId}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(g.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-assertions-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(t,o){1&t&&e._UZ(0,"cvc-flag-list-and-filter",0),2&t&&e.Q6J("flaggable",o.flaggable)},dependencies:[Ne.L],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var Ue=i(2534);let De=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,Ue.A]}),n})();var we=i(6126);let Ye=(()=>{class n{constructor(t){this.route=t,this.routeSub=this.route.params.subscribe(o=>{this.aid=+o.assertionId,this.entityType=a.oRL.Assertion})}ngOnInit(){}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(g.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-assertions-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(t,o){1&t&&e._UZ(0,"cvc-revisions-list-and-filter",0),2&t&&e.Q6J("id",o.aid)("entityType",o.entityType)},dependencies:[we.a],encapsulation:2}),n})();var A=i(8125),Q=i(2524),Be=i(2655),Le=i(3235),Ee=i(366),Fe=i(1403),Re=i(3396),Ve=i(3043),I=i(6109),je=i(7364),J=i(8527),qe=i(9858),$e=i(6061),Ge=i(8916);let We=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,p.Jb,_.zf,p.Jb,f.ZJ,v.sL,x.X,y.PV,A.q6,I.cg,Ge.M,Q.s,Be.x,Le.W,Ee.$,$e.N,Fe.Q,Re.Q,Ve.y,je._,J.u,qe.r]}),n})();var S=i(8877);class Ke extends S.nT{constructor(){super(S.yQ.ASSERTION),this.validStates.set(a.uBv.Predictive,{entityType:a.uBv.Predictive,significance:[a._3P.Sensitivityresponse,a._3P.Resistance,a._3P.AdverseResponse,a._3P.ReducedSensitivity,a._3P.Na],entityDirection:[a.mdl.Supports,a.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!0}),this.validStates.set(a.uBv.Diagnostic,{entityType:a.uBv.Diagnostic,significance:[a._3P.Positive,a._3P.Negative],entityDirection:[a.mdl.Supports,a.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(a.uBv.Prognostic,{entityType:a.uBv.Prognostic,significance:[a._3P.BetterOutcome,a._3P.PoorOutcome,a._3P.Na],entityDirection:[a.mdl.Supports,a.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(a.uBv.Predisposing,{entityType:a.uBv.Predisposing,significance:[a._3P.Pathogenic,a._3P.LikelyPathogenic,a._3P.Benign,a._3P.LikelyBenign,a._3P.UncertainSignificance],entityDirection:[a.mdl.Supports],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!0,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(a.uBv.Oncogenic,{entityType:a.uBv.Oncogenic,significance:[a._3P.Oncogenic,a._3P.LikelyOncogenic,a._3P.Benign,a._3P.LikelyBenign,a._3P.UncertainSignificance],entityDirection:[a.mdl.Supports],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!0,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}var Xe=i(9183),He=i(2384),ke=i(356),en=i(1887),nn=i(4770),tn=i(6822),sn=i(9775),on=i(3897),an=i(8923),rn=i(5095),cn=i(3702),ln=i(4010),gn=i(8004),pn=i(5573);function _n(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-tag"),e._uU(2),e.ALo(3,"formatAmp"),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Oqu(e.xi3(3,1,t.ampLevel,"verbose"))}}function un(n,s){if(1&n&&(e.TgZ(0,"nz-tag",44),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("nzTooltipTitle",t.description),e.xp6(1),e.Oqu(t.code)}}function mn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,un,2,2,"nz-tag",43),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",t.acmgCodes)}}function dn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None provided"),e.qZA(),e.BQk())}function fn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,mn,2,1,"ng-container",0),e.YNc(2,dn,3,0,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.acmgCodes.length>0),e.xp6(1),e.Q6J("ngIf",0==t.acmgCodes.length)}}function yn(n,s){if(1&n&&(e.TgZ(0,"nz-tag",44),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("nzTooltipTitle",t.description),e.xp6(1),e.Oqu(t.code)}}function zn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,yn,2,2,"nz-tag",43),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",t.clingenCodes)}}function vn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None provided"),e.qZA(),e.BQk())}function xn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,zn,2,1,"ng-container",0),e.YNc(2,vn,3,0,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.clingenCodes.length>0),e.xp6(1),e.Q6J("ngIf",0==t.clingenCodes.length)}}function hn(n,s){1&n&&(e.TgZ(0,"span",45),e._uU(1,"Not applicable"),e.qZA())}function An(n,s){if(1&n&&(e._uU(0," Submitted "),e.TgZ(1,"span",45),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.submissionEvent.createdAt),") ")}}function Tn(n,s){if(1&n&&(e._uU(0," Accepted "),e.TgZ(1,"span",45),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.acceptanceEvent.createdAt),") ")}}function Zn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",24),e._uU(2," by "),e._UZ(3,"cvc-user-tag",25),e.qZA(),e.YNc(4,Tn,4,3,"ng-template",null,46,e.W1O),e.BQk()),2&n){const t=e.MAs(5),o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTitle",t),e.xp6(2),e.Q6J("user",o.acceptanceEvent.originatingUser)}}function Pn(n,s){if(1&n&&(e._uU(0," Rejected "),e.TgZ(1,"span",45),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.rejectionEvent.createdAt),") ")}}function Cn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",24),e._uU(2),e.ALo(3,"timeAgo"),e._UZ(4,"cvc-user-tag",25),e.qZA(),e.YNc(5,Pn,4,3,"ng-template",null,47,e.W1O),e.BQk()),2&n){const t=e.MAs(6),o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTitle",t),e.xp6(1),e.hij(" by ",e.lcZ(3,3,o.rejectionEvent.createdAt)," by "),e.xp6(2),e.Q6J("user",o.rejectionEvent.originatingUser)}}function bn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,Zn,6,2,"ng-container",0),e.YNc(2,Cn,7,5,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",t.status==o.statusValues.Accepted&&t.acceptanceEvent),e.xp6(1),e.Q6J("ngIf",t.status==o.statusValues.Rejected&&t.rejectionEvent)}}function Qn(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-disease-tag",48),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("disease",t.disease)}}function In(n,s){1&n&&(e.TgZ(0,"span",45),e._uU(1,"Not applicable"),e.qZA())}function Jn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None Specified"),e.qZA(),e.BQk())}function Sn(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-phenotype-tag",50),e.BQk()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("phenotype",t)}}function Mn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,Sn,2,1,"ng-container",49),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Q6J("ngForOf",t.phenotypes)}}function Nn(n,s){if(1&n&&e.GkF(0,51),2&n){e.oxw(2);const t=e.MAs(3);e.Q6J("ngTemplateOutlet",t)}}function On(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-therapy-tag",52),e.BQk()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("therapy",t)}}function Un(n,s){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,On,2,1,"ng-container",49),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.therapies)}}function Dn(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions-item",53)(1,"nz-tag"),e._UZ(2,"i",54),e.ALo(3,"therapyInteractionEnumDisplay"),e._uU(4),e.ALo(5,"titlecase"),e.qZA()()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Q6J("nzType",e.xi3(3,2,t.therapyInteractionType,"icon-name")),e.xp6(2),e.hij(" ",e.lcZ(5,5,t.therapyInteractionType)," ")}}function wn(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","check-circle")("nzTheme","twotone")("nzTwotoneColor","#52c41a")}function Yn(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","close-square")("nzTheme","twotone")("nzTwotoneColor","#d93026")}function Bn(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,t.regulatoryApprovalLastUpdated),") ")}}function Ln(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"N/A"),e.qZA(),e.BQk())}function En(n,s){if(1&n&&e.GkF(0,51),2&n){e.oxw(2);const t=e.MAs(3);e.Q6J("ngTemplateOutlet",t)}}function Fn(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","check-circle")("nzTheme","twotone")("nzTwotoneColor","#52c41a")}function Rn(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","close-square")("nzTheme","twotone")("nzTwotoneColor","#d93026")}function Vn(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,t.fdaCompanionTestLastUpdated),") ")}}function jn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"N/A"),e.qZA(),e.BQk())}function qn(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.AsE("",t.nccnGuideline.name," (",t.nccnGuidelineVersion,")")}}function $n(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None Provided"),e.qZA(),e.BQk())}const Gn=function(){return[8,16]},M=function(){return[8,8]},Wn=function(){return{xxl:3,xl:2,lg:1,md:1,sm:1,xs:1}},Kn=function(){return{xxl:3,xl:3,lg:3,md:1,sm:1,xs:1}},Xn=function(){return{xxl:2,xl:1,lg:1,md:1,sm:1,xs:1}};function Hn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-row",3)(4,"nz-col",4)(5,"nz-descriptions",5)(6,"nz-descriptions-item",6)(7,"p",7),e._uU(8),e.qZA()(),e.TgZ(9,"nz-descriptions-item",8)(10,"p",9),e._uU(11),e.qZA()()()(),e.TgZ(12,"nz-col",4)(13,"nz-descriptions",10)(14,"nz-descriptions-item",11),e._UZ(15,"cvc-attribute-tag",12),e.ALo(16,"enumTooltip"),e.qZA(),e.TgZ(17,"nz-descriptions-item",13),e._UZ(18,"cvc-attribute-tag",14),e.ALo(19,"enumTooltip"),e.qZA(),e.TgZ(20,"nz-descriptions-item",15),e._UZ(21,"cvc-attribute-tag",14),e.ALo(22,"enumTooltip"),e.qZA(),e.TgZ(23,"nz-descriptions-item",16),e._UZ(24,"cvc-attribute-tag",14),e.ALo(25,"enumTooltip"),e.qZA(),e.TgZ(26,"nz-descriptions-item",17),e.YNc(27,_n,4,4,"ng-container",18),e.qZA(),e.TgZ(28,"nz-descriptions-item",19),e.YNc(29,fn,3,2,"ng-container",18),e.qZA(),e.TgZ(30,"nz-descriptions-item",20),e.YNc(31,xn,3,2,"ng-container",18),e.qZA(),e.YNc(32,hn,2,0,"ng-template",null,21,e.W1O),e.qZA()()()(),e.TgZ(34,"nz-col",4)(35,"nz-row",3)(36,"nz-col",4)(37,"nz-descriptions",5)(38,"nz-descriptions-item",22),e._UZ(39,"cvc-status-tag",23),e.qZA(),e.TgZ(40,"nz-descriptions-item",24),e._uU(41," by "),e._UZ(42,"cvc-user-tag",25),e.qZA(),e.YNc(43,An,4,3,"ng-template",null,26,e.W1O),e.YNc(45,bn,3,2,"ng-container",0),e.qZA()(),e.TgZ(46,"nz-col",4)(47,"nz-descriptions",10)(48,"nz-descriptions-item",27),e._UZ(49,"cvc-molecular-profile-tag",28),e.qZA(),e.TgZ(50,"nz-descriptions-item",29),e._UZ(51,"cvc-mp-tag-name",30),e.qZA(),e.TgZ(52,"nz-descriptions-item",31),e.YNc(53,Qn,2,1,"ng-container",0),e.YNc(54,In,2,0,"span",32),e.qZA(),e.TgZ(55,"nz-descriptions-item",24),e.YNc(56,Jn,3,0,"ng-container",0),e.YNc(57,Mn,3,1,"ng-container",0),e.qZA(),e.TgZ(58,"nz-descriptions-item",24),e.ynx(59,33),e.YNc(60,Nn,1,1,"ng-template",34),e.YNc(61,Un,2,1,"ng-template",35),e.BQk(),e.qZA(),e.YNc(62,Dn,6,7,"nz-descriptions-item",36),e.TgZ(63,"nz-descriptions-item",37),e.YNc(64,wn,1,3,"i",38),e.YNc(65,Yn,1,3,"i",38),e.YNc(66,Bn,3,3,"ng-container",0),e.YNc(67,Ln,3,0,"ng-container",0),e.YNc(68,En,1,1,"ng-container",39),e.qZA(),e.TgZ(69,"nz-descriptions-item",40),e.YNc(70,Fn,1,3,"i",38),e.YNc(71,Rn,1,3,"i",38),e.YNc(72,Vn,3,3,"ng-container",0),e.YNc(73,jn,3,0,"ng-container",0),e.qZA(),e.TgZ(74,"nz-descriptions-item",41),e.YNc(75,qn,2,2,"ng-container",0),e.YNc(76,$n,3,0,"ng-container",0),e.qZA()()()()(),e.TgZ(77,"nz-col",4),e._UZ(78,"cvc-evidence-table",42),e.qZA()(),e.BQk()),2&n){const t=s.ngIf,o=e.MAs(44),r=e.oxw(),l=e.MAs(3);e.xp6(1),e.Q6J("nzGutter",e.DdM(75,Gn)),e.xp6(1),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(76,M)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",1),e.xp6(3),e.Oqu(t.summary),e.xp6(2),e.Q6J("nzEllipsisRows",6),e.xp6(1),e.hij(" ",t.description," "),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(77,Wn)),e.xp6(2),e.Q6J("cvcAttrValue",t.assertionType)("nzTooltipTitle",e.xi3(16,59,t.assertionType,"assertionType")),e.xp6(3),e.Q6J("cvcAttrValue",t.assertionDirection)("nzTooltipTitle",e.gM2(19,62,t.assertionDirection,"assertionDirection",t.assertionType,"Assertion")),e.xp6(3),e.Q6J("cvcAttrValue",t.significance)("nzTooltipTitle",e.gM2(22,67,t.significance,"significance",t.assertionType,"Assertion")),e.xp6(3),e.Q6J("cvcAttrValue",t.variantOrigin)("nzTooltipTitle",e.xi3(25,72,t.variantOrigin,"variantOrigin")),e.xp6(3),e.Q6J("ngIf",r.assertionRules.requiresAmpLevel(t.assertionType))("ngIfElse",l),e.xp6(2),e.Q6J("ngIf",r.assertionRules.requiresAcmgCodes(t.assertionType))("ngIfElse",l),e.xp6(2),e.Q6J("ngIf",r.assertionRules.requiresClingenCodes(t.assertionType))("ngIfElse",l),e.xp6(3),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(78,M)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(79,Kn)),e.xp6(2),e.Q6J("status",t.status),e.xp6(1),e.Q6J("nzTitle",o),e.xp6(2),e.Q6J("user",t.submissionEvent.originatingUser),e.xp6(3),e.Q6J("ngIf",null!==t.rejectionEvent||null!==t.acceptanceEvent),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(80,Xn)),e.xp6(2),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!0),e.xp6(2),e.Q6J("nameSegments",t.molecularProfile.parsedName),e.xp6(2),e.Q6J("ngIf",t.disease&&t.disease.name),e.xp6(1),e.Q6J("ngIf",!(null!=t.disease&&t.disease.name)),e.xp6(1),e.Q6J("nzTitle",t.phenotypes.length>1?"Phenotypes":"Phenotype"),e.xp6(1),e.Q6J("ngIf",0===t.phenotypes.length),e.xp6(1),e.Q6J("ngIf",t.phenotypes.length>0),e.xp6(1),e.Q6J("nzTitle",t.therapies.length>1?"Therapies":"Therapy"),e.xp6(1),e.Q6J("ngPlural",t.therapies.length),e.xp6(3),e.Q6J("ngIf",t.therapyInteractionType),e.xp6(2),e.Q6J("ngIf",!0===t.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",!1===t.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",t.regulatoryApprovalLastUpdated),e.xp6(1),e.Q6J("ngIf",void 0===t.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",void 0===t.regulatoryApproval),e.xp6(2),e.Q6J("ngIf",!0===t.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",!1===t.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",t.fdaCompanionTestLastUpdated),e.xp6(1),e.Q6J("ngIf",void 0===t.fdaCompanionTest),e.xp6(2),e.Q6J("ngIf",t.nccnGuideline),e.xp6(1),e.Q6J("ngIf",!t.nccnGuideline),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.MGl("cvcTitle","",t.name," Evidence"),e.Q6J("assertionId",t.id)}}function kn(n,s){1&n&&e._UZ(0,"cvc-empty-value",56)}function et(n,s){1&n&&e._UZ(0,"cvc-empty-value",57)}let nt=(()=>{class n{constructor(t,o){var r;if(this.gql=t,this.route=o,this.assertionRules=new Ke,this.statusValues=a.RTy,null==(r=this.assertionId?this.assertionId:+this.route.snapshot.params.assertionId))throw new Error("Must pass in an assertion ID as an input or via the route.");this.queryRef=this.gql.watch({assertionId:r});let l=this.queryRef.valueChanges;this.loading$=l.pipe((0,m.j)("loading"),(0,P.O)(!0)),this.assertion$=l.pipe((0,m.j)("data","assertion")),this.subscribable={entityType:a.o71.Assertion,id:r}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(a.ejK),e.Y36(g.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-assertion-summary"]],inputs:{assertionId:"assertionId"},decls:6,vars:3,consts:[[4,"ngIf"],["valueNotApplicable",""],["valueUnspecified",""],[3,"nzGutter"],[3,"nzSpan"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Summary"],["nz-typography",""],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",1,"summary-block",3,"nzEllipsisRows"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Type"],["cvcAttrName","assertionType","nz-tooltip","","iconPropertyType","type",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Direction"],["nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Significance"],["nzTitle","Variant Origin"],["nzTitle","AMP/ASCO/CAP Category"],[4,"ngIf","ngIfElse"],["nzTitle","ACMG Codes"],["nzTitle","ClinGen/CGC/VICC Codes"],["notApplicable",""],["nzTitle","Status"],[3,"status"],[3,"nzTitle"],[3,"user"],["submittedTitle",""],["nzTitle","Molecular Profile Name"],[3,"molecularProfile","enablePopover"],["nzTitle","MP Expression"],[3,"nameSegments"],["nzTitle","Disease"],["nz-typography","","nzType","secondary",4,"ngIf"],[3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","other"],["nzTitle","Therapy Interaction Type",4,"ngIf"],["nzTitle","Regulatory Approval","nzSpan","1"],["nz-icon","",3,"nzType","nzTheme","nzTwotoneColor",4,"ngIf"],[3,"ngTemplateOutlet",4,"ngIf"],["nzTitle","FDA Companion Test","nzSpan","1"],["nzTitle","NCCN Guideline"],[3,"assertionId","cvcTitle"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["nz-typography","","nzType","secondary"],["acceptedTitle",""],["rejectedTitle",""],[3,"disease"],[4,"ngFor","ngForOf"],[3,"phenotype"],[3,"ngTemplateOutlet"],[3,"therapy"],["nzTitle","Therapy Interaction Type"],["nz-icon","",1,"attribute-icon",3,"nzType"],["nz-icon","",3,"nzType","nzTheme","nzTwotoneColor"],["cvcEmptyCategory","not-applicable"],["cvcEmptyCategory","unspecified"]],template:function(t,o){1&t&&(e.YNc(0,Hn,79,81,"ng-container",0),e.ALo(1,"ngrxPush"),e.YNc(2,kn,1,0,"ng-template",null,1,e.W1O),e.YNc(4,et,1,0,"ng-template",null,2,e.W1O)),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.assertion$))},dependencies:[c.sg,c.O5,c.tP,c.iq,c.zE,p.t3,p.SK,f.ZU,C.w,x.j,y.Ls,A.R7,A.uj,I.SY,Xe.P,He.h,ke.I,en.$,nn.T,tn.a,sn.n,on.i,an.z,b.p,rn.C,c.rS,h.fM,cn.t,ln.F,gn.v,pn.x],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}.summary-block[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto}"]}),n})();var tt=i(7441);let st=(()=>{class n{constructor(t){this.route=t,this.subscribable={id:+this.route.snapshot.params.assertionId,entityType:a.o71.Assertion}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(g.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-assertions-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(t,o){1&t&&e._UZ(0,"cvc-event-feed",0),2&t&&e.Q6J("subscribable",o.subscribable)},dependencies:[tt.o],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var it=i(9894);let ot=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,it.t]}),n})();const at=[{path:"",component:Ze,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:nt,data:{breadcrumb:"Summary"}},{path:"events",component:st,data:{breadcrumb:"Events"}},{path:"comments",component:Qe,data:{breadcrumb:"Comments"}},{path:"revisions",component:Ye,data:{breadcrumb:"Revisions"}},{path:"flags",component:Oe,data:{breadcrumb:"Flags"}}]}];let rt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[g.Bz.forChild(at),We,Ce,De,Me,ot,g.Bz]}),n})(),ct=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,rt,g.Bz,_.zf,f.ZJ,u.KJ,v.sL,x.X,y.PV,Z.L,p.Jb,Q.s,O.D,U.m,D.g,w.G,Y.P,B.c,L.Z,J.u]}),n})()}}]); \ No newline at end of file diff --git a/server/public/8421.efbeebeb217b3565.js b/server/public/8421.efbeebeb217b3565.js new file mode 100644 index 000000000..822839318 --- /dev/null +++ b/server/public/8421.efbeebeb217b3565.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8421],{5959:(A,x,o)=>{o.d(x,{u:()=>R});var d=o(2023),t=o(5879),g=o(6814),n=o(4190),u=o(7417),C=o(5695),v=o(551),f=o(5676),l=o(7398),h=o(2181),P=o(313),z=o(2962),O=o(8125),M=o(4138),y=o(9408),s=o(1887),I=o(8091),T=o(2616);function Z(a,p){if(1&a&&(t._UZ(0,"i",7),t.ALo(1,"entityColor"),t._uU(2)),2&a){const i=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"VariantGroup")),t.xp6(2),t.hij(" ",i.name," ")}}function V(a,p){if(1&a&&t._UZ(0,"cvc-variant-tag",10),2&a){const i=p.$implicit;t.Q6J("enablePopover",!1)("variant",i.node)}}function E(a,p){if(1&a&&(t.TgZ(0,"nz-descriptions-item",8)(1,"cvc-tag-list"),t.YNc(2,V,1,2,"cvc-variant-tag",9),t.qZA()()),2&a){const i=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",i.variants.edges)}}function Q(a,p){if(1&a&&t._UZ(0,"cvc-source-tag",13),2&a){const i=p.$implicit;t.Q6J("enablePopover",!1)("source",i)}}function G(a,p){if(1&a&&(t.TgZ(0,"nz-descriptions-item",11)(1,"cvc-tag-list"),t.YNc(2,Q,1,2,"cvc-source-tag",12),t.qZA()()),2&a){const i=t.oxw().ngIf;t.xp6(2),t.Q6J("ngForOf",i.sources)}}function B(a,p){if(1&a&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,Z,3,4,"ng-template",null,3,t.W1O),t._uU(4),t.TgZ(5,"nz-descriptions",4),t.YNc(6,E,3,1,"nz-descriptions-item",5),t.YNc(7,G,3,1,"nz-descriptions-item",6),t.qZA()(),t.BQk()),2&a){const i=p.ngIf,m=t.MAs(3);t.xp6(1),t.Q6J("nzTitle",m),t.xp6(3),t.hij(" ",i.description," "),t.xp6(1),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",i.variants.edges.length>0),t.xp6(1),t.Q6J("ngIf",i.sources.length>0)}}let D=(()=>{class a{constructor(i){this.gql=i}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,l.U)(({data:i})=>i?.variantGroup),(0,h.h)(f.ep))}}return a.\u0275fac=function(i){return new(i||a)(t.Y36(P.Zo2))},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzTheme","twotone","nzType","civic-variantgroup",3,"nzTwotoneColor"],["nzTitle","Variants","nzSpan","2"],[3,"enablePopover","variant",4,"ngFor","ngForOf"],[3,"enablePopover","variant"],["nzTitle","Sources","nzSpan","2"],[3,"enablePopover","source",4,"ngFor","ngForOf"],[3,"enablePopover","source"]],template:function(i,m){1&i&&(t.TgZ(0,"div",0),t.YNc(1,B,8,5,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&i&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,m.variantGroup$)))},dependencies:[g.sg,g.O5,z.bd,O.R7,O.uj,v.Ls,M.T,y.I,s.$,I.fM,T.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),a})();var J=o(3103);function U(a,p){}function L(a,p){if(1&a&&(t.ynx(0),t.TgZ(1,"a",4),t.YNc(2,U,0,0,"ng-template",5),t.qZA(),t.BQk()),2&a){const i=t.oxw(),m=t.MAs(2);t.xp6(1),t.Q6J("routerLink",i.variantgroup.link),t.xp6(1),t.Q6J("ngTemplateOutlet",m)}}function Y(a,p){}function N(a,p){if(1&a&&t._UZ(0,"cvc-variant-group-popover",9),2&a){const i=t.oxw(3);t.Q6J("variantGroupId",i.variantgroup.id)}}function j(a,p){if(1&a&&t.YNc(0,N,1,1,"cvc-variant-group-popover",8),2&a){const i=t.oxw(2);t.Q6J("ngIf",i.enablePopover)}}function e(a,p){if(1&a&&(t.TgZ(0,"nz-tag",6),t.YNc(1,Y,0,0,"ng-template",5),t.qZA(),t.YNc(2,j,1,1,"ng-template",null,7,t.W1O)),2&a){const i=t.MAs(3),m=t.oxw(),W=t.MAs(6);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",i)("nzPopoverTrigger",m.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",W)}}function c(a,p){}function r(a,p){if(1&a&&t.YNc(0,c,0,0,"ng-template",5),2&a){t.oxw();const i=t.MAs(2);t.Q6J("ngTemplateOutlet",i)}}function _(a,p){if(1&a&&(t.TgZ(0,"cvc-icon-badges",10),t._UZ(1,"i",11),t.ALo(2,"entityColor"),t.qZA(),t._uU(3)),2&a){const i=t.oxw();t.Q6J("flagged",i.variantgroup.flagged)("entityColor",i.iconColor),t.xp6(1),t.Q6J("nzTwotoneColor",t.lcZ(2,4,"VariantGroup")),t.xp6(2),t.hij(" ",i.variantgroup.name,"\n")}}let R=(()=>{class a{set variantgroup(i){if(!i)throw new Error("cvc-variantgroup-tag input requires LinkableVariantgroup.");this._variantgroup=i}get variantgroup(){return this._variantgroup}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,d.f)("VariantGroup")}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["popoverContent",""],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(i,m){if(1&i&&(t.YNc(0,L,3,2,"ng-container",0),t.YNc(1,e,4,4,"ng-template",null,1,t.W1O),t.YNc(3,r,1,1,"ng-template",null,2,t.W1O),t.YNc(5,_,4,6,"ng-template",null,3,t.W1O)),2&i){const W=t.MAs(4);t.Q6J("ngIf",m.linked)("ngIfElse",W)}},dependencies:[g.O5,g.tP,n.rH,u.lU,C.j,v.Ls,D,J.b,T.a],encapsulation:2,changeDetection:0}),a})()},3641:(A,x,o)=>{o.d(x,{G:()=>y});var d=o(6814),t=o(4190),g=o(7417),n=o(5695),u=o(551),C=o(366),v=o(8641),f=o(7528),l=o(2524),h=o(2962),P=o(8125),z=o(5879);let O=(()=>{class s{}return s.\u0275fac=function(T){return new(T||s)},s.\u0275mod=z.oAB({type:s}),s.\u0275inj=z.cJS({imports:[d.ez,h.vh,P.q6,u.PV,v.s,f.Q,C.$,l.s]}),s})();var M=o(3146);let y=(()=>{class s{}return s.\u0275fac=function(T){return new(T||s)},s.\u0275mod=z.oAB({type:s}),s.\u0275inj=z.cJS({imports:[d.ez,t.Bz,g.$6,n.X,u.PV,O,l.s,M.C]}),s})()},1765:(A,x,o)=>{o.d(x,{m:()=>j});var d=o(5676),t=o(2181),g=o(4223),n=o(5879),u=o(313),C=o(6814),v=o(2962),f=o(8125),l=o(3317),h=o(3493),P=o(8091),z=o(406);function O(e,c){1&e&&n.GkF(0)}const M=function(e){return{$implicit:e}};function y(e,c){if(1&e&&(n.ynx(0),n.YNc(1,O,1,0,"ng-container",2),n.BQk()),2&e){const r=c.ngIf;n.oxw();const _=n.MAs(4);n.xp6(1),n.Q6J("ngTemplateOutlet",_)("ngTemplateOutletContext",n.VKq(2,M,r))}}function s(e,c){1&e&&n.GkF(0)}function I(e,c){if(1&e&&(n.ynx(0),n.YNc(1,s,1,0,"ng-container",2),n.BQk()),2&e){const r=n.oxw(),_=n.MAs(4);n.xp6(1),n.Q6J("ngTemplateOutlet",_)("ngTemplateOutletContext",n.VKq(2,M,r.cvcCoordinates))}}function T(e,c){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-descriptions-item",16),n._uU(2),n.ALo(3,"ifEmpty"),n.qZA(),n.TgZ(4,"nz-descriptions-item",17),n._uU(5),n.ALo(6,"ifEmpty"),n.qZA(),n.BQk()),2&e){const r=n.oxw(4).$implicit;n.xp6(2),n.hij(" ",n.xi3(3,2,r.referenceBases,"--")," "),n.xp6(3),n.hij(" ",n.xi3(6,5,r.variantBases,"--")," ")}}function Z(e,c){if(1&e&&(n.TgZ(0,"cvc-link-tag",18),n._uU(1),n.qZA()),2&e){const r=n.oxw().ngIf;n.Q6J("href","http://www.ensembl.org/Homo_sapiens/transview?transcript="+r.representativeTranscript),n.xp6(1),n.hij(" ",r.representativeTranscript," ")}}function V(e,c){1&e&&(n.ynx(0),n._uU(1," -- "),n.BQk())}const E=function(){return{xxl:4,xl:2,lg:1,md:1,sm:1,xs:1}};function Q(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions",10)(1,"nz-descriptions-item",11),n._uU(2),n.qZA(),n.TgZ(3,"nz-descriptions-item",12),n._uU(4),n.qZA(),n.TgZ(5,"nz-descriptions-item",13),n._uU(6),n.qZA(),n.YNc(7,T,7,8,"ng-container",0),n.TgZ(8,"nz-descriptions-item",14),n.YNc(9,Z,2,2,"cvc-link-tag",15),n.YNc(10,V,2,0,"ng-container",0),n.qZA()()),2&e){const r=c.ngIf,_=n.oxw(3).$implicit;n.s9C("nzTitle",_.secondaryCoordinates?"5' Coordinates":"Coordinates"),n.Q6J("nzColumn",n.DdM(8,E)),n.xp6(2),n.hij(" ",r.chromosome," "),n.xp6(2),n.hij(" ",r.start," "),n.xp6(2),n.hij(" ",r.stop," "),n.xp6(1),n.Q6J("ngIf",!_.secondaryCoordinates),n.xp6(2),n.Q6J("ngIf",r.representativeTranscript),n.xp6(1),n.Q6J("ngIf",!r.representativeTranscript)}}function G(e,c){if(1&e&&(n.ynx(0),n.YNc(1,Q,11,9,"nz-descriptions",9),n.BQk()),2&e){const r=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",r.primaryCoordinates)}}function B(e,c){if(1&e&&(n.TgZ(0,"cvc-link-tag",18),n._uU(1),n.qZA()),2&e){const r=n.oxw().ngIf;n.Q6J("href","http://www.ensembl.org/Homo_sapiens/transview?transcript="+r.representativeTranscript),n.xp6(1),n.hij(" ",r.representativeTranscript," ")}}function D(e,c){1&e&&(n.ynx(0),n._uU(1," -- "),n.BQk())}function J(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",11),n._uU(2),n.qZA(),n.TgZ(3,"nz-descriptions-item",12),n._uU(4),n.qZA(),n.TgZ(5,"nz-descriptions-item",13),n._uU(6),n.qZA(),n.TgZ(7,"nz-descriptions-item",14),n.YNc(8,B,2,2,"cvc-link-tag",15),n.YNc(9,D,2,0,"ng-container",0),n.qZA()()),2&e){const r=c.ngIf;n.Q6J("nzColumn",n.DdM(6,E)),n.xp6(2),n.hij(" ",r.chromosome," "),n.xp6(2),n.hij(" ",r.start," "),n.xp6(2),n.hij(" ",r.stop," "),n.xp6(2),n.Q6J("ngIf",r.representativeTranscript),n.xp6(1),n.Q6J("ngIf",!r.representativeTranscript)}}function U(e,c){if(1&e&&(n.ynx(0),n.YNc(1,J,10,7,"nz-descriptions",19),n.BQk()),2&e){const r=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",r.secondaryCoordinates)}}function L(e,c){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-descriptions",6)(2,"nz-descriptions-item",7),n._uU(3),n.qZA(),n.TgZ(4,"nz-descriptions-item",8),n._uU(5),n.qZA()(),n.YNc(6,G,2,1,"ng-container",0),n.YNc(7,U,2,1,"ng-container",0),n.BQk()),2&e){const r=n.oxw().$implicit;n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.hij(" ",r.referenceBuild," "),n.xp6(2),n.hij(" ",r.ensemblVersion," "),n.xp6(1),n.Q6J("ngIf",null==r.primaryCoordinates?null:r.primaryCoordinates.chromosome),n.xp6(1),n.Q6J("ngIf",r.secondaryCoordinates)}}function Y(e,c){1&e&&n._UZ(0,"cvc-empty-revisable",21)}function N(e,c){if(1&e&&(n.TgZ(0,"nz-card",3),n.YNc(1,L,8,5,"ng-container",4),n.qZA(),n.YNc(2,Y,1,0,"ng-template",null,5,n.W1O)),2&e){const r=c.$implicit,_=n.MAs(3),R=n.oxw();n.Q6J("nzTitle",R.displayTitle?"Representative Variant Coordinates":void 0),n.xp6(1),n.Q6J("ngIf",r.referenceBuild)("ngIfElse",_)}}let j=(()=>{class e{constructor(r){this.gql=r,this.displayTitle=!0}ngOnInit(){if(!this.cvcCoordinates&&!this.cvcVariantId)throw new Error("CvcCoordinatesCard requires valid cvcVariantId or cvcCoordinates Input, none provided.");if(!this.cvcCoordinates&&this.cvcVariantId){this.queryRef=this.gql.watch({variantId:this.cvcVariantId});let r=this.queryRef.valueChanges;this.loading$=r.pipe((0,g.j)("loading"),(0,t.h)(d.ep)),this.variant$=r.pipe((0,g.j)("data","variant"),(0,t.h)(d.ep))}}}return e.\u0275fac=function(r){return new(r||e)(n.Y36(u.Hmr))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-coordinates-card"]],inputs:{cvcVariantId:"cvcVariantId",cvcCoordinates:"cvcCoordinates",displayTitle:"displayTitle"},decls:5,vars:4,consts:[[4,"ngIf"],["coordinateCard",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzTitle"],[4,"ngIf","ngIfElse"],["noCoordinates",""],["nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzColumn"],["nzTitle","Ref. Build"],["nzTitle","Ensembl Version"],["nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzTitle","nzColumn",4,"ngIf"],["nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzTitle","nzColumn"],["nzTitle","Chr.","nzColumn","1"],["nzTitle","Start","nzColumn","1"],["nzTitle","Stop","nzColumn","1"],["nzTitle","Transcript","nzColumn","5"],["tooltip","View on Ensembl",3,"href",4,"ngIf"],["nzTitle","Ref. Bases","nzColumn","1"],["nzTitle","Var. Bases","nzColumn","1"],["tooltip","View on Ensembl",3,"href"],["nzTitle","3' Coordinates","nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzColumn",4,"ngIf"],["nzTitle","3' Coordinates","nzLayout","horizontal","nzBordered","true","nzSize","small",3,"nzColumn"],["notification","No coordinates specified"]],template:function(r,_){1&r&&(n.YNc(0,y,2,4,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,I,2,4,"ng-container",0),n.YNc(3,N,4,3,"ng-template",null,1,n.W1O)),2&r&&(n.Q6J("ngIf",_.cvcVariantId&&n.lcZ(1,2,_.variant$)),n.xp6(2),n.Q6J("ngIf",_.cvcCoordinates))},dependencies:[C.O5,C.tP,v.bd,f.R7,f.uj,l.l,h.J,P.fM,z.D],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}nz-card[_ngcontent-%COMP%]:first-of-type nz-descriptions .ant-descriptions-view{border-left:none;border-right:none}nz-card[_ngcontent-%COMP%]:first-of-type nz-descriptions:first-child .ant-descriptions-view{border-top:none}nz-card[_ngcontent-%COMP%]:first-of-type nz-descriptions:last-child .ant-descriptions-view{border-bottom:none}"]}),e})()},6055:(A,x,o)=>{o.d(x,{z:()=>f});var d=o(6814),t=o(2962),g=o(8125),n=o(6067),u=o(3511),C=o(2524),v=o(5879);let f=(()=>{class l{}return l.\u0275fac=function(P){return new(P||l)},l.\u0275mod=v.oAB({type:l}),l.\u0275inj=v.cJS({imports:[d.ez,t.vh,g.q6,C.s,n.X,u.o]}),l})()}}]); \ No newline at end of file diff --git a/server/public/8479.bc64bfa439005be1.js b/server/public/8479.bc64bfa439005be1.js new file mode 100644 index 000000000..0130d9936 --- /dev/null +++ b/server/public/8479.bc64bfa439005be1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8479],{215:(U,m,o)=>{o.d(m,{m:()=>Y});var n=o(5879),l=o(6814),t=o(4190),h=o(5695),z=o(551),C=o(7417),f=o(5676),x=o(7398),y=o(2181),v=o(313),O=o(2962),g=o(95),M=o(8125),T=o(3317),b=o(7458),Z=o(8091);const A=function(a,p){return{displayName:a,profileImagePath:p}};function J(a,p){if(1&a&&(n._UZ(0,"cvc-user-avatar",12),n.TgZ(1,"span",13),n._uU(2),n.qZA()),2&a){const i=n.oxw().ngIf;n.Q6J("user",n.WLB(2,A,i.name,i.profileImagePath)),n.xp6(2),n.Oqu(i.name)}}function Q(a,p){if(1&a&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&a){const i=p.ngIf;n.xp6(1),n.Oqu(i)}}function w(a,p){if(1&a&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",14),n._uU(2),n.qZA(),n.BQk()),2&a){const i=n.oxw().ngIf;n.xp6(1),n.Q6J("href",i.url),n.xp6(1),n.hij(" ",i.name," ")}}function I(a,p){if(1&a&&(n.ynx(0),n.TgZ(1,"nz-card",4),n.YNc(2,J,3,5,"ng-template",null,5,n.W1O),n.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),n.YNc(8,Q,2,1,"span",9),n.qZA()()()(),n.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),n.YNc(11,w,3,2,"ng-container",9),n.qZA()()(),n.BQk()),2&a){const i=p.ngIf,u=n.MAs(3);n.oxw();const S=n.MAs(4),L=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",u),n.xp6(7),n.Q6J("ngIf",i.description)("ngIfElse",S),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",i.url)("ngIfElse",L)}}function r(a,p){1&a&&n._uU(0," Organization has not provided a description.\n")}function d(a,p){1&a&&n._uU(0," -- ")}let e=(()=>{class a{constructor(i){this.gql=i}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,x.U)(({data:i})=>i?.organization),(0,y.h)(f.ep))}}return a.\u0275fac=function(i){return new(i||a)(n.Y36(v.X5f))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(i,u){1&i&&(n.TgZ(0,"div",0),n.YNc(1,I,12,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,r,1,0,"ng-template",null,2,n.W1O),n.YNc(5,d,1,0,"ng-template",null,3,n.W1O)),2&i&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,u.org$)))},dependencies:[l.O5,O.bd,g.t3,g.SK,M.R7,M.uj,T.l,b.L,Z.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),a})();function s(a,p){}function c(a,p){if(1&a&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,s,0,0,"ng-template",5),n.qZA(),n.BQk()),2&a){const i=n.oxw(),u=n.MAs(2);n.xp6(1),n.MGl("routerLink","/organizations/",i.org.id,""),n.xp6(1),n.Q6J("ngTemplateOutlet",u)}}function P(a,p){}function E(a,p){if(1&a&&n._UZ(0,"cvc-organization-popover",9),2&a){const i=n.oxw(3);n.Q6J("orgId",i.org.id)}}function N(a,p){if(1&a&&n.YNc(0,E,1,1,"cvc-organization-popover",8),2&a){const i=n.oxw(2);n.Q6J("ngIf",i.enablePopover)}}function F(a,p){if(1&a&&(n.TgZ(0,"nz-tag",6),n.YNc(1,P,0,0,"ng-template",5),n.qZA(),n.YNc(2,N,1,1,"ng-template",null,7,n.W1O)),2&a){const i=n.MAs(3);n.oxw();const u=n.MAs(6);n.Q6J("nzPopoverContent",i),n.xp6(1),n.Q6J("ngTemplateOutlet",u)}}function B(a,p){}function V(a,p){if(1&a&&n.YNc(0,B,0,0,"ng-template",5),2&a){n.oxw();const i=n.MAs(2);n.Q6J("ngTemplateOutlet",i)}}function _(a,p){if(1&a&&(n._UZ(0,"i",10),n._uU(1)),2&a){const i=n.oxw();n.xp6(1),n.hij(" ",i.org.name,"\n")}}let Y=(()=>{class a{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(i,u){if(1&i&&(n.YNc(0,c,3,2,"ng-container",0),n.YNc(1,F,4,2,"ng-template",null,1,n.W1O),n.YNc(3,V,1,1,"ng-template",null,2,n.W1O),n.YNc(5,_,2,1,"ng-template",null,3,n.W1O)),2&i){const S=n.MAs(4);n.Q6J("ngIf",u.linked)("ngIfElse",S)}},dependencies:[l.O5,l.tP,t.rH,h.j,z.Ls,C.lU,e],styles:["[_nghost-%COMP%]{display:inline-block}"]}),a})()},3167:(U,m,o)=>{o.r(m),o.d(m,{CurationQueuesModule:()=>I});var n=o(6814),l=o(2419),t=o(4059),h=o(2524),z=o(95),C=o(551),f=o(6254),x=o(2574),y=o(2392),v=o(4190),O=o(313),g=o(5879),M=o(1826);let T=(()=>{class r{constructor(){this.status=O.m55.Submitted}ngOnInit(){}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=g.Xpm({type:r,selectors:[["cvc-pending-assertions-page"]],decls:1,vars:1,consts:[["cvcTitle","Browse Pending Assertions",3,"status"]],template:function(e,s){1&e&&g._UZ(0,"cvc-assertions-table",0),2&e&&g.Q6J("status",s.status)},dependencies:[M.x],encapsulation:2}),r})();var b=o(6822);let Z=(()=>{class r{constructor(){this.status=O.m55.Submitted}ngOnInit(){}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=g.Xpm({type:r,selectors:[["cvc-pending-evidence-page"]],decls:1,vars:1,consts:[["cvcTitle","Browse Pending Evidence",3,"status"]],template:function(e,s){1&e&&g._UZ(0,"cvc-evidence-table",0),2&e&&g.Q6J("status",s.status)},dependencies:[b.a],encapsulation:2}),r})();var A=o(4106);const Q=[{path:"",redirectTo:"pending-sources",pathMatch:"full"},{path:"pending-sources",component:(()=>{class r{constructor(){}ngOnInit(){}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275cmp=g.Xpm({type:r,selectors:[["cvc-pending-sources-page"]],decls:1,vars:0,consts:[["cvcTitle","Browse Suggested Sources"]],template:function(e,s){1&e&&g._UZ(0,"cvc-source-suggestions-table",0)},dependencies:[A.O],encapsulation:2}),r})(),data:{breadcrumb:"Pending Source Suggestions"}},{path:"pending-evidence",component:Z,data:{breadcrumb:"Pending Evidence Items"}},{path:"pending-assertions",component:T,data:{breadcrumb:"Pending Assertions"}}];let w=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=g.oAB({type:r}),r.\u0275inj=g.cJS({imports:[v.Bz.forChild(Q),v.Bz]}),r})(),I=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=g.oAB({type:r}),r.\u0275inj=g.cJS({imports:[n.ez,w,f.KJ,C.PV,x.zf,y.ZJ,z.Jb,l.D,t.c,h.s]}),r})()},6536:(U,m,o)=>{o.r(m),o.d(m,{CurationModule:()=>d});var n=o(6814),l=o(4190),t=o(5879),h=o(6254),z=o(551),C=o(2392),f=o(95),x=o(3145),y=o(5098),v=o(2616);const T=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(c){return new(c||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-curation-view"]],decls:1,vars:0,template:function(c,P){1&c&&t._UZ(0,"router-outlet")},dependencies:[l.lC],encapsulation:2}),e})(),children:[{path:"",redirectTo:"activity",pathMatch:"full"},{path:"activity",component:(()=>{class e{constructor(){this.tabs=[{routeName:"curation-timeline",iconName:"civic-event",tabLabel:"Timeline"}]}}return e.\u0275fac=function(c){return new(c||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-curation-activity-view"]],decls:20,vars:7,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-event",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],[3,"nzSpan"],[3,"tabs"],[1,"content"]],template:function(c,P){1&c&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Curation Event Timeline"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," All CIViC curation activity is logged and publicly available, thus esablishing the provenance of its assertions, summaries, associations, and acknowledging the work of collaborators. "),t.qZA()(),t._UZ(12,"nz-col",6),t.qZA(),t.TgZ(13,"nz-row")(14,"nz-col",7),t._UZ(15,"cvc-tab-navigation",8),t.qZA()(),t.TgZ(16,"nz-row")(17,"nz-col",7)(18,"div",9),t._UZ(19,"router-outlet"),t.qZA()()()()()),2&c&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,5,"Event")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(4),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("tabs",P.tabs),t.xp6(2),t.Q6J("nzSpan",24))},dependencies:[l.lC,h.$O,h.u5,z.Ls,C.ZU,f.t3,f.SK,x.I,y.P,v.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})(),loadChildren:()=>Promise.all([o.e(2602),o.e(7856),o.e(1084)]).then(o.bind(o,5419)).then(e=>e.CurationActivityModule),data:{breadcrumb:"Activity"}},{path:"queues",component:(()=>{class e{constructor(){this.tabs=[{routeName:"pending-sources",iconName:"civic-source",tabLabel:"Sources Queue"},{routeName:"pending-evidence",iconName:"civic-evidence",tabLabel:"Evidence Queue"},{routeName:"pending-assertions",iconName:"civic-assertion",tabLabel:"Assertions Queue"}]}}return e.\u0275fac=function(c){return new(c||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-curation-queues-view"]],decls:20,vars:7,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-queue",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],[3,"nzSpan"],[3,"tabs"],[1,"content"]],template:function(c,P){1&c&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Curation Queues"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," New submitted Evidence, Assertions, and Source Suggestions must be accepted by a CIViC Editor. These Curation Queues list items in need of Editor moderation. "),t.qZA()(),t._UZ(12,"nz-col",6),t.qZA(),t.TgZ(13,"nz-row")(14,"nz-col",7),t._UZ(15,"cvc-tab-navigation",8),t.qZA()(),t.TgZ(16,"nz-row")(17,"nz-col",7)(18,"div",9),t._UZ(19,"router-outlet"),t.qZA()()()()()),2&c&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,5,"Queue")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(4),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("tabs",P.tabs),t.xp6(2),t.Q6J("nzSpan",24))},dependencies:[l.lC,h.$O,h.u5,z.Ls,C.ZU,f.t3,f.SK,x.I,y.P,v.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})(),loadChildren:()=>Promise.resolve().then(o.bind(o,3167)).then(e=>e.CurationQueuesModule),data:{breadcrumb:"Queues"}}]}];let b=(()=>{class e{}return e.\u0275fac=function(c){return new(c||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[l.Bz.forChild(T),l.Bz]}),e})();var Z=o(3167),A=o(5843);let J=(()=>{class e{}return e.\u0275fac=function(c){return new(c||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[n.ez,A.W]}),e})();var Q=o(1403);let w=(()=>{class e{}return e.\u0275fac=function(c){return new(c||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[n.ez,Q.Q]}),e})();var I=o(5895);let r=(()=>{class e{}return e.\u0275fac=function(c){return new(c||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[n.ez,I.s]}),e})(),d=(()=>{class e{}return e.\u0275fac=function(c){return new(c||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[n.ez,b,Z.CurationQueuesModule,J,w,r]}),e})()}}]); \ No newline at end of file diff --git a/server/public/8667.17a3b1aa4be56e18.js b/server/public/8667.17a3b1aa4be56e18.js deleted file mode 100644 index a2d93f788..000000000 --- a/server/public/8667.17a3b1aa4be56e18.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8667],{8667:(ct,D,i)=>{i.r(D),i.d(D,{AssertionsDetailModule:()=>x});var c=i(6895),l=i(9116),p=i(2635),h=i(6903),I=i(8823),T=i(5655),S=i(6616),M=i(6672),J=i(1102),w=i(9597),_=i(3679),q=i(5630),$=i(4682),G=i(4609),W=i(694),K=i(8766),X=i(8762),H=i(5750),o=i(7630),Y=i(8675),k=i(2722),m=i(6579),ee=i(7579),ne=i(1135),e=i(4650),te=i(9350),B=i(7044),se=i(1664),ie=i(8992),oe=i(5623),ae=i(8168),re=i(9077),ce=i(3217),le=i(7914),ge=i(2233),pe=i(759),L=i(5105),_e=i(160);function me(n,s){if(1&n&&(e.TgZ(0,"span",8),e._uU(1,"Related to "),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e._uU(4,":"),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(3),e.Oqu(t.name)}}function ue(n,s){if(1&n&&(e.TgZ(0,"span",9),e._UZ(1,"cvc-molecular-profile-tag",10),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!1)}}function de(n,s){1&n&&(e.TgZ(0,"nz-space",5),e.YNc(1,me,5,1,"span",6),e.YNc(2,ue,2,2,"span",7),e.qZA())}const fe=function(n){return["/assertions",n,"revise"]};function ye(n,s){if(1&n&&(e.TgZ(0,"button",25,26),e._uU(2," Revise "),e.qZA()),2&n){const t=e.MAs(1),a=e.oxw(3).ngIf;e.Q6J("routerLink",e.VKq(2,fe,a.id))("nzType",t.isActive?"primary":"default")}}function ze(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,ye,3,4,"button",24),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function ve(n,s){if(1&n&&(e.TgZ(0,"span")(1,"button",27,26),e._uU(3," Flag "),e.qZA()()),2&n){const t=e.MAs(2);e.xp6(1),e.Q6J("nzType",t.isActive?"primary":"default")}}function xe(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-entity-subscription-button",28),e.BQk()),2&n){const t=e.oxw(2).ngrxLet,a=e.oxw(2);e.xp6(1),e.Q6J("viewer",t)("subscribableId",a.subscribable.id)}}function he(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,xe,2,2,"ng-container",0),e.qZA()),2&n){const t=e.oxw().ngrxLet,a=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.signedIn&&a.subscribable)}}function Te(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cvc-revert-entity-button",30),e.NdJ("onReverted",function(r){e.CHM(t);const g=e.oxw(5);return e.KtG(g.onRevertCompleted(r))}),e.qZA()}if(2&n){const t=e.oxw(4).ngIf;e.Q6J("entityId",t.id)}}function Ae(n,s){1&n&&(e.ynx(0),e.YNc(1,Te,1,1,"cvc-revert-entity-button",29),e.BQk())}function Ze(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Ae,2,0,"ng-container",0),e.qZA()),2&n){const t=e.oxw().ngrxLet,a=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.canModerate&&"SUBMITTED"!=a.status)}}function Pe(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",31),e.NdJ("nzOnClose",function(){const g=e.CHM(t).$implicit,O=e.oxw(3);return e.KtG(O.onErrorBannerClose(g))}),e.qZA()}2&n&&e.Q6J("nzMessage",s.$implicit)}function be(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",32),e.NdJ("nzOnClose",function(){e.CHM(t);const r=e.oxw(3);return e.KtG(r.onSuccessBannerClose())}),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("nzMessage",t.successMessage)}}function Ce(n,s){1&n&&e._UZ(0,"nz-alert",33)}function Qe(n,s){1&n&&e._UZ(0,"nz-alert",34)}function Ie(n,s){if(1&n&&(e.TgZ(0,"nz-col",35),e._UZ(1,"cvc-contributor-avatars",36),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("subscribable",t.subscribable)}}function Je(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"cvc-moderate-entity-buttons",38),e.NdJ("onModerated",function(r){e.CHM(t);const g=e.oxw(4);return e.KtG(g.onModerateCompleted(r))}),e.qZA()()}if(2&n){const t=e.oxw(2).ngrxLet,a=e.oxw().ngIf;e.xp6(1),e.Q6J("rejectOnly",!t.canModerate)("entityId",a.id)("viewer",t)}}function Se(n,s){1&n&&e._UZ(0,"span")}function Me(n,s){1&n&&(e.TgZ(0,"nz-space",37),e.YNc(1,Je,2,3,"span",15),e.YNc(2,Se,1,0,"span",15),e.qZA())}const Ne=function(n){return{flagged:n}};function Oe(n,s){if(1&n&&(e.TgZ(0,"nz-page-header",11)(1,"nz-page-header-title",12),e._UZ(2,"i",13),e.ALo(3,"entityColor"),e._uU(4),e.qZA(),e.TgZ(5,"nz-page-header-extra")(6,"nz-space",14),e.YNc(7,ze,2,1,"span",15),e.YNc(8,ve,4,1,"span",15),e.YNc(9,he,2,1,"span",15),e.YNc(10,Ze,2,1,"span",15),e.qZA()(),e.TgZ(11,"nz-page-header-content"),e.YNc(12,Pe,1,1,"nz-alert",16),e.YNc(13,be,1,1,"nz-alert",17),e.YNc(14,Ce,1,0,"nz-alert",18),e.YNc(15,Qe,1,0,"nz-alert",19),e.TgZ(16,"cvc-tab-navigation",20),e.ALo(17,"ngrxPush"),e.YNc(18,Ie,2,1,"ng-template",null,21,e.W1O),e.qZA(),e.YNc(20,Me,3,0,"nz-space",22),e.TgZ(21,"div",23),e._UZ(22,"router-outlet"),e.qZA()()()),2&n){const t=s.ngrxLet,a=e.oxw().ngIf,r=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(13,Ne,a.flags.totalCount>0)),e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(3,9,"Assertion")),e.xp6(2),e.hij(" ",a.name," "),e.xp6(8),e.Q6J("ngForOf",r.errors),e.xp6(1),e.Q6J("ngIf",r.successMessage),e.xp6(1),e.Q6J("ngIf","SUBMITTED"==a.status),e.xp6(1),e.Q6J("ngIf","REJECTED"==a.status),e.xp6(1),e.Q6J("tabs",e.lcZ(17,11,r.tabs$)),e.xp6(4),e.Q6J("ngIf",(t.canModerate||t.signedIn&&t.id==(null==a.submissionEvent||null==a.submissionEvent.originatingUser?null:a.submissionEvent.originatingUser.id))&&"SUBMITTED"==a.status)}}function Ue(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,de,3,0,"ng-template",null,2,e.W1O),e.TgZ(4,"div",3),e.ALo(5,"ngrxPush"),e.YNc(6,Oe,23,15,"nz-page-header",4),e.qZA(),e.BQk()),2&n){const t=s.ngIf,a=e.MAs(3),r=e.oxw();e.xp6(1),e.Q6J("displayName",t.name)("relationsTpl",a),e.xp6(3),e.Q6J("flags",e.lcZ(5,4,r.flagsTotal$)),e.xp6(2),e.Q6J("ngrxLet",r.viewer$)}}class A{constructor(s,t,a){this.gql=s,this.viewerService=t,this.route=a,this.destroy$=new ee.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.errors=[],this.tabs$=new ne.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.paramsSub=this.route.params.subscribe(r=>{this.queryRef=this.gql.watch({assertionId:+r.assertionId});let g=this.queryRef.valueChanges;this.loading$=g.pipe((0,m.j)("loading"),(0,Y.O)(!0)),this.assertion$=g.pipe((0,m.j)("data","assertion")),this.commentsTotal$=this.assertion$.pipe((0,m.j)("comments","totalCount")),this.flagsTotal$=this.assertion$.pipe((0,m.j)("flags","totalCount")),this.assertion$.pipe((0,m.j)("revisions","totalCount"),(0,k.R)(this.destroy$)).subscribe({next:O=>{this.tabs$.next(this.defaultTabs.map(U=>"Revisions"===U.tabLabel?{badgeCount:O,...U}:U))}}),this.subscribable={id:+r.assertionId,entityType:o.o71.Assertion}})}ngOnDestroy(){this.paramsSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}onRevertCompleted(s){!0===s?(this.errors=[],this.successMessage="Assertion reverted to submitted status.",this.queryRef?.refetch()):(this.errors=s,this.successMessage=void 0)}onErrorBannerClose(s){this.errors=this.errors?.filter(t=>t!=s)}onSuccessBannerClose(){this.successMessage=void 0}onModerateCompleted(s){Array.isArray(s)?(this.errors=s,this.successMessage=void 0):(this.errors=[],this.successMessage=`Assertion successfully ${s}.`,this.queryRef?.refetch())}}A.\u0275fac=function(s){return new(s||A)(e.Y36(o.A94),e.Y36(te.a),e.Y36(l.gz))},A.\u0275cmp=e.Xpm({type:A,selectors:[["assertions-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["assertionRelations",""],["cvcFlaggable","",3,"flags"],["class","site-page-header",4,"ngrxLet"],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["nzBanner","","nzMessage","This Assertion is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning",4,"ngIf"],["nzBanner","","nzMessage","This Assertion has been rejected.","nzType","error",4,"ngIf"],[3,"tabs"],["tabBarExtraContent",""],["nzDirection","vertical",4,"ngIf"],[1,"content"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Assertion",3,"viewer","subscribableId"],["entityType","Assertion",3,"entityId","onReverted",4,"nzSpaceItem"],["entityType","Assertion",3,"entityId","onReverted"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzMessage","This Assertion is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning"],["nzBanner","","nzMessage","This Assertion has been rejected.","nzType","error"],["id","contributors-col"],[3,"subscribable"],["nzDirection","vertical"],["entityType","Assertion",3,"rejectOnly","entityId","viewer","onModerated"]],template:function(s,t){1&s&&(e.YNc(0,Ue,7,6,"ng-container",0),e.ALo(1,"ngrxPush")),2&s&&e.Q6J("ngIf",e.lcZ(1,1,t.assertion$))},dependencies:[c.mk,c.sg,c.O5,l.lC,l.rH,l.Od,p.eJ,h.NU,h.$1,I.ZU,T.$O,T.u9,T.u5,T.Jp,S.ix,B.w,se.dQ,J.Ls,w.r,_.t3,ie.I,oe.o,ae.Y,re.Q,ce.e,le.m,ge.P,pe.N,L.p,p.fM,_e.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var De=i(2278);class u{}u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[c.ez,De.l]});var we=i(3801);class Z{constructor(s){this.route=s,this.commentable={id:+this.route.snapshot.params.assertionId,entityType:o.OfU.Assertion}}}Z.\u0275fac=function(s){return new(s||Z)(e.Y36(l.gz))},Z.\u0275cmp=e.Xpm({type:Z,selectors:[["cvc-assertions-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(s,t){1&s&&e._UZ(0,"cvc-comment-list",0),2&s&&e.Q6J("commentable",t.commentable)},dependencies:[we.D],styles:["[_nghost-%COMP%]{display:block}"]});var Ye=i(1971),Be=i(545),Le=i(4271);class d{}d.\u0275fac=function(s){return new(s||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({imports:[c.ez,_.Jb,Ye.vh,h.zf,Be.H0,Le.M]});var Ee=i(7036);class P{constructor(s){this.route=s,this.flaggable={entityType:o.sfv.Assertion,id:+this.route.snapshot.params.assertionId}}}P.\u0275fac=function(s){return new(s||P)(e.Y36(l.gz))},P.\u0275cmp=e.Xpm({type:P,selectors:[["cvc-assertions-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(s,t){1&s&&e._UZ(0,"cvc-flag-list-and-filter",0),2&s&&e.Q6J("flaggable",t.flaggable)},dependencies:[Ee.L],styles:["[_nghost-%COMP%]{display:block}"]});var Fe=i(2914);class f{}f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[c.ez,Fe.A]});var Ve=i(3770);class b{constructor(s){this.route=s,this.routeSub=this.route.params.subscribe(t=>{this.aid=+t.assertionId,this.entityType=o.oRL.Assertion})}ngOnInit(){}}b.\u0275fac=function(s){return new(s||b)(e.Y36(l.gz))},b.\u0275cmp=e.Xpm({type:b,selectors:[["cvc-assertions-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(s,t){1&s&&e._UZ(0,"cvc-revisions-list-and-filter",0),2&s&&e.Q6J("id",t.aid)("entityType",t.entityType)},dependencies:[Ve.a],encapsulation:2});var N=i(9194),E=i(9444),Re=i(592),je=i(7345),qe=i(897),$e=i(767),Ge=i(8845),We=i(3973),F=i(7570),Ke=i(4226),V=i(4126),Xe=i(3309),He=i(701),ke=i(7837);class y{}y.\u0275fac=function(s){return new(s||y)},y.\u0275mod=e.oAB({type:y}),y.\u0275inj=e.cJS({imports:[c.ez,p._N,p.pP,_.Jb,h.zf,_.Jb,I.ZJ,S.sL,M.X,J.PV,N.q6,F.cg,ke.M,E.s,Re.x,je.W,qe.$,He.N,$e.Q,Ge.Q,We.y,Ke._,V.u,Xe.r]});var R=i(7905);class en extends R.nT{constructor(){super(R.yQ.ASSERTION),this.validStates.set(o.uBv.Predictive,{entityType:o.uBv.Predictive,significance:[o._3P.Sensitivityresponse,o._3P.Resistance,o._3P.AdverseResponse,o._3P.ReducedSensitivity,o._3P.Na],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!0}),this.validStates.set(o.uBv.Diagnostic,{entityType:o.uBv.Diagnostic,significance:[o._3P.Positive,o._3P.Negative],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Prognostic,{entityType:o.uBv.Prognostic,significance:[o._3P.BetterOutcome,o._3P.PoorOutcome,o._3P.Na],entityDirection:[o.mdl.Supports,o.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Predisposing,{entityType:o.uBv.Predisposing,significance:[o._3P.Pathogenic,o._3P.LikelyPathogenic,o._3P.Benign,o._3P.LikelyBenign,o._3P.UncertainSignificance],entityDirection:[o.mdl.Supports],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!0,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(o.uBv.Oncogenic,{entityType:o.uBv.Oncogenic,significance:[o._3P.Oncogenic,o._3P.LikelyOncogenic,o._3P.Benign,o._3P.LikelyBenign,o._3P.UncertainSignificance],entityDirection:[o.mdl.Supports],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!0,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}var nn=i(3681),tn=i(4590),sn=i(125),on=i(6715),an=i(5797),rn=i(3392),cn=i(7491),ln=i(3172),gn=i(8041),pn=i(7230),_n=i(9657),mn=i(4475),un=i(6204),dn=i(5083);function fn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-tag"),e._uU(2),e.ALo(3,"formatAmp"),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Oqu(e.xi3(3,1,t.ampLevel,"verbose"))}}function yn(n,s){if(1&n&&(e.TgZ(0,"nz-tag",44),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("nzTooltipTitle",t.description),e.xp6(1),e.Oqu(t.code)}}function zn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,yn,2,2,"nz-tag",43),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",t.acmgCodes)}}function vn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None provided"),e.qZA(),e.BQk())}function xn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,zn,2,1,"ng-container",0),e.YNc(2,vn,3,0,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.acmgCodes.length>0),e.xp6(1),e.Q6J("ngIf",0==t.acmgCodes.length)}}function hn(n,s){if(1&n&&(e.TgZ(0,"nz-tag",44),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("nzTooltipTitle",t.description),e.xp6(1),e.Oqu(t.code)}}function Tn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,hn,2,2,"nz-tag",43),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",t.clingenCodes)}}function An(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None provided"),e.qZA(),e.BQk())}function Zn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,Tn,2,1,"ng-container",0),e.YNc(2,An,3,0,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.clingenCodes.length>0),e.xp6(1),e.Q6J("ngIf",0==t.clingenCodes.length)}}function Pn(n,s){1&n&&(e.TgZ(0,"span",45),e._uU(1,"Not applicable"),e.qZA())}function bn(n,s){if(1&n&&(e._uU(0," Submitted "),e.TgZ(1,"span",45),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.submissionEvent.createdAt),") ")}}function Cn(n,s){if(1&n&&(e._uU(0," Accepted "),e.TgZ(1,"span",45),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.acceptanceEvent.createdAt),") ")}}function Qn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",24),e._uU(2," by "),e._UZ(3,"cvc-user-tag",25),e.qZA(),e.YNc(4,Cn,4,3,"ng-template",null,46,e.W1O),e.BQk()),2&n){const t=e.MAs(5),a=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTitle",t),e.xp6(2),e.Q6J("user",a.acceptanceEvent.originatingUser)}}function In(n,s){if(1&n&&(e._uU(0," Rejected "),e.TgZ(1,"span",45),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.rejectionEvent.createdAt),") ")}}function Jn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",24),e._uU(2),e.ALo(3,"timeAgo"),e._UZ(4,"cvc-user-tag",25),e.qZA(),e.YNc(5,In,4,3,"ng-template",null,47,e.W1O),e.BQk()),2&n){const t=e.MAs(6),a=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTitle",t),e.xp6(1),e.hij(" by ",e.lcZ(3,3,a.rejectionEvent.createdAt)," by "),e.xp6(2),e.Q6J("user",a.rejectionEvent.originatingUser)}}function Sn(n,s){if(1&n&&(e.ynx(0),e.YNc(1,Qn,6,2,"ng-container",0),e.YNc(2,Jn,7,5,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf,a=e.oxw();e.xp6(1),e.Q6J("ngIf",t.status==a.statusValues.Accepted&&t.acceptanceEvent),e.xp6(1),e.Q6J("ngIf",t.status==a.statusValues.Rejected&&t.rejectionEvent)}}function Mn(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-disease-tag",48),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("disease",t.disease)}}function Nn(n,s){1&n&&(e.TgZ(0,"span",45),e._uU(1,"Not applicable"),e.qZA())}function On(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None Specified"),e.qZA(),e.BQk())}function Un(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-phenotype-tag",50),e.BQk()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("phenotype",t)}}function Dn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,Un,2,1,"ng-container",49),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Q6J("ngForOf",t.phenotypes)}}function wn(n,s){if(1&n&&e.GkF(0,51),2&n){e.oxw(2);const t=e.MAs(3);e.Q6J("ngTemplateOutlet",t)}}function Yn(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-therapy-tag",52),e.BQk()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("therapy",t)}}function Bn(n,s){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,Yn,2,1,"ng-container",49),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.therapies)}}function Ln(n,s){if(1&n&&(e.TgZ(0,"nz-descriptions-item",53)(1,"nz-tag"),e._UZ(2,"i",54),e.ALo(3,"therapyInteractionEnumDisplay"),e._uU(4),e.ALo(5,"titlecase"),e.qZA()()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Q6J("nzType",e.xi3(3,2,t.therapyInteractionType,"icon-name")),e.xp6(2),e.hij(" ",e.lcZ(5,5,t.therapyInteractionType)," ")}}function En(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","check-circle")("nzTheme","twotone")("nzTwotoneColor","#52c41a")}function Fn(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","close-square")("nzTheme","twotone")("nzTwotoneColor","#d93026")}function Vn(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,t.regulatoryApprovalLastUpdated),") ")}}function Rn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"N/A"),e.qZA(),e.BQk())}function jn(n,s){if(1&n&&e.GkF(0,51),2&n){e.oxw(2);const t=e.MAs(3);e.Q6J("ngTemplateOutlet",t)}}function qn(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","check-circle")("nzTheme","twotone")("nzTwotoneColor","#52c41a")}function $n(n,s){1&n&&e._UZ(0,"i",55),2&n&&e.Q6J("nzType","close-square")("nzTheme","twotone")("nzTwotoneColor","#d93026")}function Gn(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,t.fdaCompanionTestLastUpdated),") ")}}function Wn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"N/A"),e.qZA(),e.BQk())}function Kn(n,s){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.AsE("",t.nccnGuideline.name," (",t.nccnGuidelineVersion,")")}}function Xn(n,s){1&n&&(e.ynx(0),e.TgZ(1,"span",45),e._uU(2,"None Provided"),e.qZA(),e.BQk())}const Hn=function(){return[8,16]},j=function(){return[8,8]},kn=function(){return{xxl:3,xl:2,lg:1,md:1,sm:1,xs:1}},et=function(){return{xxl:3,xl:3,lg:3,md:1,sm:1,xs:1}},nt=function(){return{xxl:2,xl:1,lg:1,md:1,sm:1,xs:1}};function tt(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-row",3)(4,"nz-col",4)(5,"nz-descriptions",5)(6,"nz-descriptions-item",6)(7,"p",7),e._uU(8),e.qZA()(),e.TgZ(9,"nz-descriptions-item",8)(10,"p",9),e._uU(11),e.qZA()()()(),e.TgZ(12,"nz-col",4)(13,"nz-descriptions",10)(14,"nz-descriptions-item",11),e._UZ(15,"cvc-attribute-tag",12),e.ALo(16,"enumTooltip"),e.qZA(),e.TgZ(17,"nz-descriptions-item",13),e._UZ(18,"cvc-attribute-tag",14),e.ALo(19,"enumTooltip"),e.qZA(),e.TgZ(20,"nz-descriptions-item",15),e._UZ(21,"cvc-attribute-tag",14),e.ALo(22,"enumTooltip"),e.qZA(),e.TgZ(23,"nz-descriptions-item",16),e._UZ(24,"cvc-attribute-tag",14),e.ALo(25,"enumTooltip"),e.qZA(),e.TgZ(26,"nz-descriptions-item",17),e.YNc(27,fn,4,4,"ng-container",18),e.qZA(),e.TgZ(28,"nz-descriptions-item",19),e.YNc(29,xn,3,2,"ng-container",18),e.qZA(),e.TgZ(30,"nz-descriptions-item",20),e.YNc(31,Zn,3,2,"ng-container",18),e.qZA(),e.YNc(32,Pn,2,0,"ng-template",null,21,e.W1O),e.qZA()()()(),e.TgZ(34,"nz-col",4)(35,"nz-row",3)(36,"nz-col",4)(37,"nz-descriptions",5)(38,"nz-descriptions-item",22),e._UZ(39,"cvc-status-tag",23),e.qZA(),e.TgZ(40,"nz-descriptions-item",24),e._uU(41," by "),e._UZ(42,"cvc-user-tag",25),e.qZA(),e.YNc(43,bn,4,3,"ng-template",null,26,e.W1O),e.YNc(45,Sn,3,2,"ng-container",0),e.qZA()(),e.TgZ(46,"nz-col",4)(47,"nz-descriptions",10)(48,"nz-descriptions-item",27),e._UZ(49,"cvc-molecular-profile-tag",28),e.qZA(),e.TgZ(50,"nz-descriptions-item",29),e._UZ(51,"cvc-mp-tag-name",30),e.qZA(),e.TgZ(52,"nz-descriptions-item",31),e.YNc(53,Mn,2,1,"ng-container",0),e.YNc(54,Nn,2,0,"span",32),e.qZA(),e.TgZ(55,"nz-descriptions-item",24),e.YNc(56,On,3,0,"ng-container",0),e.YNc(57,Dn,3,1,"ng-container",0),e.qZA(),e.TgZ(58,"nz-descriptions-item",24),e.ynx(59,33),e.YNc(60,wn,1,1,"ng-template",34),e.YNc(61,Bn,2,1,"ng-template",35),e.BQk(),e.qZA(),e.YNc(62,Ln,6,7,"nz-descriptions-item",36),e.TgZ(63,"nz-descriptions-item",37),e.YNc(64,En,1,3,"i",38),e.YNc(65,Fn,1,3,"i",38),e.YNc(66,Vn,3,3,"ng-container",0),e.YNc(67,Rn,3,0,"ng-container",0),e.YNc(68,jn,1,1,"ng-container",39),e.qZA(),e.TgZ(69,"nz-descriptions-item",40),e.YNc(70,qn,1,3,"i",38),e.YNc(71,$n,1,3,"i",38),e.YNc(72,Gn,3,3,"ng-container",0),e.YNc(73,Wn,3,0,"ng-container",0),e.qZA(),e.TgZ(74,"nz-descriptions-item",41),e.YNc(75,Kn,2,2,"ng-container",0),e.YNc(76,Xn,3,0,"ng-container",0),e.qZA()()()()(),e.TgZ(77,"nz-col",4),e._UZ(78,"cvc-evidence-table",42),e.qZA()(),e.BQk()),2&n){const t=s.ngIf,a=e.MAs(44),r=e.oxw(),g=e.MAs(3);e.xp6(1),e.Q6J("nzGutter",e.DdM(75,Hn)),e.xp6(1),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(76,j)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",1),e.xp6(3),e.Oqu(t.summary),e.xp6(2),e.Q6J("nzEllipsisRows",6),e.xp6(1),e.hij(" ",t.description," "),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(77,kn)),e.xp6(2),e.Q6J("cvcAttrValue",t.assertionType)("nzTooltipTitle",e.xi3(16,59,t.assertionType,"assertionType")),e.xp6(3),e.Q6J("cvcAttrValue",t.assertionDirection)("nzTooltipTitle",e.gM2(19,62,t.assertionDirection,"assertionDirection",t.assertionType,"Assertion")),e.xp6(3),e.Q6J("cvcAttrValue",t.significance)("nzTooltipTitle",e.gM2(22,67,t.significance,"significance",t.assertionType,"Assertion")),e.xp6(3),e.Q6J("cvcAttrValue",t.variantOrigin)("nzTooltipTitle",e.xi3(25,72,t.variantOrigin,"variantOrigin")),e.xp6(3),e.Q6J("ngIf",r.assertionRules.requiresAmpLevel(t.assertionType))("ngIfElse",g),e.xp6(2),e.Q6J("ngIf",r.assertionRules.requiresAcmgCodes(t.assertionType))("ngIfElse",g),e.xp6(2),e.Q6J("ngIf",r.assertionRules.requiresClingenCodes(t.assertionType))("ngIfElse",g),e.xp6(3),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(78,j)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(79,et)),e.xp6(2),e.Q6J("status",t.status),e.xp6(1),e.Q6J("nzTitle",a),e.xp6(2),e.Q6J("user",t.submissionEvent.originatingUser),e.xp6(3),e.Q6J("ngIf",null!==t.rejectionEvent||null!==t.acceptanceEvent),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(80,nt)),e.xp6(2),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!0),e.xp6(2),e.Q6J("nameSegments",t.molecularProfile.parsedName),e.xp6(2),e.Q6J("ngIf",t.disease&&t.disease.name),e.xp6(1),e.Q6J("ngIf",!(null!=t.disease&&t.disease.name)),e.xp6(1),e.Q6J("nzTitle",t.phenotypes.length>1?"Phenotypes":"Phenotype"),e.xp6(1),e.Q6J("ngIf",0===t.phenotypes.length),e.xp6(1),e.Q6J("ngIf",t.phenotypes.length>0),e.xp6(1),e.Q6J("nzTitle",t.therapies.length>1?"Therapies":"Therapy"),e.xp6(1),e.Q6J("ngPlural",t.therapies.length),e.xp6(3),e.Q6J("ngIf",t.therapyInteractionType),e.xp6(2),e.Q6J("ngIf",!0===t.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",!1===t.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",t.regulatoryApprovalLastUpdated),e.xp6(1),e.Q6J("ngIf",void 0===t.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",void 0===t.regulatoryApproval),e.xp6(2),e.Q6J("ngIf",!0===t.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",!1===t.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",t.fdaCompanionTestLastUpdated),e.xp6(1),e.Q6J("ngIf",void 0===t.fdaCompanionTest),e.xp6(2),e.Q6J("ngIf",t.nccnGuideline),e.xp6(1),e.Q6J("ngIf",!t.nccnGuideline),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.MGl("cvcTitle","",t.name," Evidence"),e.Q6J("assertionId",t.id)}}function st(n,s){1&n&&e._UZ(0,"cvc-empty-value",56)}function it(n,s){1&n&&e._UZ(0,"cvc-empty-value",57)}class C{constructor(s,t){var a;if(this.gql=s,this.route=t,this.assertionRules=new en,this.statusValues=o.RTy,null==(a=this.assertionId?this.assertionId:+this.route.snapshot.params.assertionId))throw new Error("Must pass in an assertion ID as an input or via the route.");this.queryRef=this.gql.watch({assertionId:a});let r=this.queryRef.valueChanges;this.loading$=r.pipe((0,m.j)("loading"),(0,Y.O)(!0)),this.assertion$=r.pipe((0,m.j)("data","assertion")),this.subscribable={entityType:o.o71.Assertion,id:a}}}C.\u0275fac=function(s){return new(s||C)(e.Y36(o.ejK),e.Y36(l.gz))},C.\u0275cmp=e.Xpm({type:C,selectors:[["cvc-assertion-summary"]],inputs:{assertionId:"assertionId"},decls:6,vars:3,consts:[[4,"ngIf"],["valueNotApplicable",""],["valueUnspecified",""],[3,"nzGutter"],[3,"nzSpan"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Summary"],["nz-typography",""],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",1,"summary-block",3,"nzEllipsisRows"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Type"],["cvcAttrName","assertionType","nz-tooltip","","iconPropertyType","type",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Direction"],["nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Significance"],["nzTitle","Variant Origin"],["nzTitle","AMP/ASCO/CAP Category"],[4,"ngIf","ngIfElse"],["nzTitle","ACMG Codes"],["nzTitle","ClinGen/CGC/VICC Codes"],["notApplicable",""],["nzTitle","Status"],[3,"status"],[3,"nzTitle"],[3,"user"],["submittedTitle",""],["nzTitle","Molecular Profile Name"],[3,"molecularProfile","enablePopover"],["nzTitle","MP Expression"],[3,"nameSegments"],["nzTitle","Disease"],["nz-typography","","nzType","secondary",4,"ngIf"],[3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","other"],["nzTitle","Therapy Interaction Type",4,"ngIf"],["nzTitle","Regulatory Approval","nzSpan","1"],["nz-icon","",3,"nzType","nzTheme","nzTwotoneColor",4,"ngIf"],[3,"ngTemplateOutlet",4,"ngIf"],["nzTitle","FDA Companion Test","nzSpan","1"],["nzTitle","NCCN Guideline"],[3,"assertionId","cvcTitle"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["nz-typography","","nzType","secondary"],["acceptedTitle",""],["rejectedTitle",""],[3,"disease"],[4,"ngFor","ngForOf"],[3,"phenotype"],[3,"ngTemplateOutlet"],[3,"therapy"],["nzTitle","Therapy Interaction Type"],["nz-icon","",1,"attribute-icon",3,"nzType"],["nz-icon","",3,"nzType","nzTheme","nzTwotoneColor"],["cvcEmptyCategory","not-applicable"],["cvcEmptyCategory","unspecified"]],template:function(s,t){1&s&&(e.YNc(0,tt,79,81,"ng-container",0),e.ALo(1,"ngrxPush"),e.YNc(2,st,1,0,"ng-template",null,1,e.W1O),e.YNc(4,it,1,0,"ng-template",null,2,e.W1O)),2&s&&e.Q6J("ngIf",e.lcZ(1,1,t.assertion$))},dependencies:[c.sg,c.O5,c.tP,c.iq,c.zE,_.t3,_.SK,I.ZU,B.w,M.j,J.Ls,N.R7,N.uj,F.SY,nn.P,tn.h,sn.I,on.$,an.T,rn.a,cn.n,ln.i,gn.z,L.p,pn.C,c.rS,p.fM,_n.t,mn.F,un.v,dn.x],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}.summary-block[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto}"]});var ot=i(2011);class Q{constructor(s){this.route=s,this.subscribable={id:+this.route.snapshot.params.assertionId,entityType:o.o71.Assertion}}}Q.\u0275fac=function(s){return new(s||Q)(e.Y36(l.gz))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["cvc-assertions-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(s,t){1&s&&e._UZ(0,"cvc-event-feed",0),2&s&&e.Q6J("subscribable",t.subscribable)},dependencies:[ot.o],styles:["[_nghost-%COMP%]{display:block}"]});var at=i(5291);class z{}z.\u0275fac=function(s){return new(s||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[c.ez,at.t]});const rt=[{path:"",component:A,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:C,data:{breadcrumb:"Summary"}},{path:"events",component:Q,data:{breadcrumb:"Events"}},{path:"comments",component:Z,data:{breadcrumb:"Comments"}},{path:"revisions",component:b,data:{breadcrumb:"Revisions"}},{path:"flags",component:P,data:{breadcrumb:"Flags"}}]}];class v{}v.\u0275fac=function(s){return new(s||v)},v.\u0275mod=e.oAB({type:v}),v.\u0275inj=e.cJS({imports:[l.Bz.forChild(rt),y,u,f,d,z,l.Bz]});class x{}x.\u0275fac=function(s){return new(s||x)},x.\u0275mod=e.oAB({type:x}),x.\u0275inj=e.cJS({imports:[c.ez,v,l.Bz,p._N,p.pP,h.zf,I.ZJ,T.KJ,S.sL,M.X,J.PV,w.L,_.Jb,E.s,q.D,$.m,G.g,W.G,K.P,X.c,H.Z,V.u]})}}]); \ No newline at end of file diff --git a/server/public/8891.08ffd20d3732aa22.js b/server/public/8891.08ffd20d3732aa22.js deleted file mode 100644 index 7c38494ff..000000000 --- a/server/public/8891.08ffd20d3732aa22.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8891],{5749:(S,P,e)=>{e.d(P,{m:()=>J});var n=e(4650),l=e(6895),t=e(9116),x=e(6672),O=e(1102),M=e(6581),y=e(3240),b=e(4004),Z=e(9300),A=e(7630),u=e(1971),h=e(3679),c=e(9194),I=e(6550),d=e(7881),w=e(2635);const z=function(a,i){return{displayName:a,profileImagePath:i}};function f(a,i){if(1&a&&(n._UZ(0,"cvc-user-avatar",12),n.TgZ(1,"span",13),n._uU(2),n.qZA()),2&a){const s=n.oxw().ngIf;n.Q6J("user",n.WLB(2,z,s.name,s.profileImagePath)),n.xp6(2),n.Oqu(s.name)}}function C(a,i){if(1&a&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&a){const s=i.ngIf;n.xp6(1),n.Oqu(s)}}function m(a,i){if(1&a&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",14),n._uU(2),n.qZA(),n.BQk()),2&a){const s=n.oxw().ngIf;n.xp6(1),n.Q6J("href",s.url),n.xp6(1),n.hij(" ",s.name," ")}}function v(a,i){if(1&a&&(n.ynx(0),n.TgZ(1,"nz-card",4),n.YNc(2,f,3,5,"ng-template",null,5,n.W1O),n.TgZ(4,"nz-row")(5,"nz-col",6)(6,"div",7)(7,"p",8),n.YNc(8,C,2,1,"span",9),n.qZA()()()(),n.TgZ(9,"nz-descriptions",10)(10,"nz-descriptions-item",11),n.YNc(11,m,3,2,"ng-container",9),n.qZA()()(),n.BQk()),2&a){const s=i.ngIf,T=n.MAs(3);n.oxw();const _=n.MAs(4),V=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",T),n.xp6(7),n.Q6J("ngIf",s.description)("ngIfElse",_),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",s.url)("ngIfElse",V)}}function g(a,i){1&a&&n._uU(0," Organization has not provided a description.\n")}function p(a,i){1&a&&n._uU(0," -- ")}class o{constructor(i){this.gql=i}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,b.U)(({data:i})=>i?.organization),(0,Z.h)(y.ep))}}function r(a,i){}function Q(a,i){if(1&a&&(n.ynx(0),n.TgZ(1,"a",4),n.YNc(2,r,0,0,"ng-template",5),n.qZA(),n.BQk()),2&a){const s=n.oxw(),T=n.MAs(2);n.xp6(1),n.MGl("routerLink","/organizations/",s.org.id,""),n.xp6(1),n.Q6J("ngTemplateOutlet",T)}}function U(a,i){}function E(a,i){if(1&a&&n._UZ(0,"cvc-organization-popover",9),2&a){const s=n.oxw(3);n.Q6J("orgId",s.org.id)}}function N(a,i){if(1&a&&n.YNc(0,E,1,1,"cvc-organization-popover",8),2&a){const s=n.oxw(2);n.Q6J("ngIf",s.enablePopover)}}function F(a,i){if(1&a&&(n.TgZ(0,"nz-tag",6),n.YNc(1,U,0,0,"ng-template",5),n.qZA(),n.YNc(2,N,1,1,"ng-template",null,7,n.W1O)),2&a){const s=n.MAs(3);n.oxw();const T=n.MAs(6);n.Q6J("nzPopoverContent",s),n.xp6(1),n.Q6J("ngTemplateOutlet",T)}}function B(a,i){}function Y(a,i){if(1&a&&n.YNc(0,B,0,0,"ng-template",5),2&a){n.oxw();const s=n.MAs(2);n.Q6J("ngTemplateOutlet",s)}}function L(a,i){if(1&a&&(n._UZ(0,"i",10),n._uU(1)),2&a){const s=n.oxw();n.xp6(1),n.hij(" ",s.org.name,"\n")}}o.\u0275fac=function(i){return new(i||o)(n.Y36(A.X5f))},o.\u0275cmp=n.Xpm({type:o,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(i,s){1&i&&(n.TgZ(0,"div",0),n.YNc(1,v,12,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,g,1,0,"ng-template",null,2,n.W1O),n.YNc(5,p,1,0,"ng-template",null,3,n.W1O)),2&i&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,s.org$)))},dependencies:[l.O5,u.bd,h.t3,h.SK,c.R7,c.uj,I.l,d.L,w.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});class J{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}J.\u0275fac=function(i){return new(i||J)},J.\u0275cmp=n.Xpm({type:J,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(i,s){if(1&i&&(n.YNc(0,Q,3,2,"ng-container",0),n.YNc(1,F,4,2,"ng-template",null,1,n.W1O),n.YNc(3,Y,1,1,"ng-template",null,2,n.W1O),n.YNc(5,L,2,1,"ng-template",null,3,n.W1O)),2&i){const T=n.MAs(4);n.Q6J("ngIf",s.linked)("ngIfElse",T)}},dependencies:[l.O5,l.tP,t.rH,x.j,O.Ls,M.lU,o],styles:["[_nghost-%COMP%]{display:inline-block}"]})},7733:(S,P,e)=>{e.r(P),e.d(P,{CurationQueuesModule:()=>g});var n=e(6895),l=e(5630),t=e(8762),x=e(9444),O=e(2635),M=e(3679),y=e(1102),b=e(5655),Z=e(6903),A=e(8823),u=e(9116),h=e(7630),c=e(4650),I=e(3756);class d{constructor(){this.status=h.m55.Submitted}ngOnInit(){}}d.\u0275fac=function(o){return new(o||d)},d.\u0275cmp=c.Xpm({type:d,selectors:[["cvc-pending-assertions-page"]],decls:1,vars:1,consts:[["cvcTitle","Browse Pending Assertions",3,"status"]],template:function(o,r){1&o&&c._UZ(0,"cvc-assertions-table",0),2&o&&c.Q6J("status",r.status)},dependencies:[I.x],encapsulation:2});var w=e(3392);class z{constructor(){this.status=h.m55.Submitted}ngOnInit(){}}z.\u0275fac=function(o){return new(o||z)},z.\u0275cmp=c.Xpm({type:z,selectors:[["cvc-pending-evidence-page"]],decls:1,vars:1,consts:[["cvcTitle","Browse Pending Evidence",3,"status"]],template:function(o,r){1&o&&c._UZ(0,"cvc-evidence-table",0),2&o&&c.Q6J("status",r.status)},dependencies:[w.a],encapsulation:2});var f=e(9814);class C{constructor(){}ngOnInit(){}}C.\u0275fac=function(o){return new(o||C)},C.\u0275cmp=c.Xpm({type:C,selectors:[["cvc-pending-sources-page"]],decls:1,vars:0,consts:[["cvcTitle","Browse Suggested Sources"]],template:function(o,r){1&o&&c._UZ(0,"cvc-source-suggestions-table",0)},dependencies:[f.O],encapsulation:2});const m=[{path:"",redirectTo:"pending-sources",pathMatch:"full"},{path:"pending-sources",component:C,data:{breadcrumb:"Pending Source Suggestions"}},{path:"pending-evidence",component:z,data:{breadcrumb:"Pending Evidence Items"}},{path:"pending-assertions",component:d,data:{breadcrumb:"Pending Assertions"}}];class v{}v.\u0275fac=function(o){return new(o||v)},v.\u0275mod=c.oAB({type:v}),v.\u0275inj=c.cJS({imports:[u.Bz.forChild(m),u.Bz]});class g{}g.\u0275fac=function(o){return new(o||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[n.ez,O._N,O.pP,v,b.KJ,y.PV,Z.zf,A.ZJ,M.Jb,l.D,t.c,x.s]})},7563:(S,P,e)=>{e.r(P),e.d(P,{CurationModule:()=>p});var n=e(6895),l=e(9116),t=e(4650),x=e(5655),O=e(1102),M=e(8823),y=e(3679),b=e(8992),Z=e(2233),A=e(160);class u{constructor(){this.tabs=[{routeName:"curation-timeline",iconName:"civic-event",tabLabel:"Timeline"}]}}u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-curation-activity-view"]],decls:20,vars:7,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-event",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],[3,"nzSpan"],[3,"tabs"],[1,"content"]],template:function(r,Q){1&r&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Curation Event Timeline"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," All CIViC curation activity is logged and publicly available, thus esablishing the provenance of its assertions, summaries, associations, and acknowledging the work of collaborators. "),t.qZA()(),t._UZ(12,"nz-col",6),t.qZA(),t.TgZ(13,"nz-row")(14,"nz-col",7),t._UZ(15,"cvc-tab-navigation",8),t.qZA()(),t.TgZ(16,"nz-row")(17,"nz-col",7)(18,"div",9),t._UZ(19,"router-outlet"),t.qZA()()()()()),2&r&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,5,"Event")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(4),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("tabs",Q.tabs),t.xp6(2),t.Q6J("nzSpan",24))},dependencies:[l.lC,x.$O,x.u5,O.Ls,M.ZU,y.t3,y.SK,b.I,Z.P,A.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class h{constructor(){this.tabs=[{routeName:"pending-sources",iconName:"civic-source",tabLabel:"Sources Queue"},{routeName:"pending-evidence",iconName:"civic-evidence",tabLabel:"Evidence Queue"},{routeName:"pending-assertions",iconName:"civic-assertion",tabLabel:"Assertions Queue"}]}}h.\u0275fac=function(r){return new(r||h)},h.\u0275cmp=t.Xpm({type:h,selectors:[["cvc-curation-queues-view"]],decls:20,vars:7,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-queue",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],[3,"nzSpan"],[3,"tabs"],[1,"content"]],template:function(r,Q){1&r&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Curation Queues"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," New submitted Evidence, Assertions, and Source Suggestions must be accepted by a CIViC Editor. These Curation Queues list items in need of Editor moderation. "),t.qZA()(),t._UZ(12,"nz-col",6),t.qZA(),t.TgZ(13,"nz-row")(14,"nz-col",7),t._UZ(15,"cvc-tab-navigation",8),t.qZA()(),t.TgZ(16,"nz-row")(17,"nz-col",7)(18,"div",9),t._UZ(19,"router-outlet"),t.qZA()()()()()),2&r&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,5,"Queue")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(4),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("tabs",Q.tabs),t.xp6(2),t.Q6J("nzSpan",24))},dependencies:[l.lC,x.$O,x.u5,O.Ls,M.ZU,y.t3,y.SK,b.I,Z.P,A.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});class c{constructor(){}ngOnInit(){}}c.\u0275fac=function(r){return new(r||c)},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-curation-view"]],decls:1,vars:0,template:function(r,Q){1&r&&t._UZ(0,"router-outlet")},dependencies:[l.lC],encapsulation:2});const I=[{path:"",component:c,children:[{path:"",redirectTo:"activity",pathMatch:"full"},{path:"activity",component:u,loadChildren:()=>Promise.all([e.e(9716),e.e(5291),e.e(1655)]).then(e.bind(e,6461)).then(o=>o.CurationActivityModule),data:{breadcrumb:"Activity"}},{path:"queues",component:h,loadChildren:()=>Promise.resolve().then(e.bind(e,7733)).then(o=>o.CurationQueuesModule),data:{breadcrumb:"Queues"}}]}];class d{}d.\u0275fac=function(r){return new(r||d)},d.\u0275mod=t.oAB({type:d}),d.\u0275inj=t.cJS({imports:[l.Bz.forChild(I),l.Bz]});var w=e(7733),z=e(2832);class f{}f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[n.ez,z.W]});var C=e(767);class m{}m.\u0275fac=function(r){return new(r||m)},m.\u0275mod=t.oAB({type:m}),m.\u0275inj=t.cJS({imports:[n.ez,C.Q]});var v=e(9441);class g{}g.\u0275fac=function(r){return new(r||g)},g.\u0275mod=t.oAB({type:g}),g.\u0275inj=t.cJS({imports:[n.ez,v.s]});class p{}p.\u0275fac=function(r){return new(r||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[n.ez,d,w.CurationQueuesModule,f,m,g]})}}]); \ No newline at end of file diff --git a/server/public/8951.dcfef90be029332d.js b/server/public/8951.dcfef90be029332d.js deleted file mode 100644 index 834057c62..000000000 --- a/server/public/8951.dcfef90be029332d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8951],{2166:(f,d,e)=>{e.d(d,{p:()=>h});var n=e(4650),i=e(6895),t=e(4006),o=e(5635),r=e(1102);function l(s,c){if(1&s){const a=n.EpF();n.TgZ(0,"i",4),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(2);return g.inputModel=void 0,n.KtG(g.onModelUpdated())}),n.qZA()}}function u(s,c){if(1&s&&n.YNc(0,l,1,0,"i",3),2&s){const a=n.oxw();n.Q6J("ngIf",a.inputModel)}}class h{constructor(){this.inputModelChange=new n.vpe}onModelUpdated(){this.inputModelChange.emit(""!=this.inputModel?this.inputModel:void 0),this.onInputChanged&&this.onInputChanged()}}h.\u0275fac=function(c){return new(c||h)},h.\u0275cmp=n.Xpm({type:h,selectors:[["cvc-clearable-input-filter"]],inputs:{placeholderText:"placeholderText",onInputChanged:"onInputChanged",inputModel:"inputModel"},outputs:{inputModelChange:"inputModelChange"},decls:4,vars:3,consts:[[3,"nzSuffix"],["type","text","nz-input","","nzSize","small",3,"placeholder","ngModel","ngModelChange"],["clearTmpl",""],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"]],template:function(c,a){if(1&c&&(n.TgZ(0,"nz-input-group",0)(1,"input",1),n.NdJ("ngModelChange",function(g){return a.inputModel=g})("ngModelChange",function(){return a.onModelUpdated()}),n.qZA()(),n.YNc(2,u,1,1,"ng-template",null,2,n.W1O)),2&c){const v=n.MAs(3);n.Q6J("nzSuffix",v),n.xp6(1),n.Q6J("placeholder",a.placeholderText?a.placeholderText:"")("ngModel",a.inputModel)}},dependencies:[i.O5,t.Fj,t.JJ,t.On,o.Zp,o.gB,o.ke,r.Ls],styles:["[_nghost-%COMP%]{display:block;height:22px}[_nghost-%COMP%] nz-input-group{padding:2px;height:22px}[_nghost-%COMP%] nz-input-group input{height:16px}"],changeDetection:0})},4125:(f,d,e)=>{e.d(d,{k:()=>u});var n=e(6895),i=e(5635),t=e(4006),o=e(1102),r=e(6704),l=e(4650);class u{}u.\u0275fac=function(s){return new(s||u)},u.\u0275mod=l.oAB({type:u}),u.\u0275inj=l.cJS({imports:[n.ez,t.u5,r.U5,i.o7,o.PV]})},3667:(f,d,e)=>{e.d(d,{B:()=>h});var n=e(9300),i=e(4004),t=e(4650),o=e(6895),r=e(8823),l=e(2635);function u(s,c){if(1&s&&(t.TgZ(0,"span",1),t._uU(1),t.ALo(2,"number"),t.ALo(3,"number"),t.qZA()),2&s){const a=c.ngIf;t.xp6(1),t.AsE(" ",t.lcZ(2,2,a.edgeCount)," of ",t.lcZ(3,4,a.filteredCount)," displayed\n")}}class h{ngOnInit(){this.tableCountsInfo$=this.cvcTableCountsConnection.pipe((0,n.h)(c=>null!=c.totalCount||null!=c.filteredCount),(0,i.U)(c=>{const a=c.filteredCount,v=c.totalCount,g=c.edges;return null==a&&null==v&&console.log("Need to provide either filtered count or total count in the table counts component"),{edgeCount:g.length,filteredCount:a??v}}))}}h.\u0275fac=function(c){return new(c||h)},h.\u0275cmp=t.Xpm({type:h,selectors:[["cvc-table-counts"]],inputs:{cvcTableCountsConnection:"cvcTableCountsConnection"},decls:2,vars:3,consts:[["class","table-counts","nz-typography","","nzType","secondary",4,"ngIf"],["nz-typography","","nzType","secondary",1,"table-counts"]],template:function(c,a){1&c&&(t.YNc(0,u,4,6,"span",0),t.ALo(1,"ngrxPush")),2&c&&t.Q6J("ngIf",t.lcZ(1,1,a.tableCountsInfo$))},dependencies:[o.O5,r.ZU,o.JJ,l.fM],styles:[":[_nghost-%COMP%]{border:1px solid red}.table-counts[_ngcontent-%COMP%]{display:inline-block}"],changeDetection:0})},8525:(f,d,e)=>{e.d(d,{T:()=>r});var n=e(6895),i=e(8823),t=e(2635),o=e(4650);class r{}r.\u0275fac=function(u){return new(u||r)},r.\u0275mod=o.oAB({type:r}),r.\u0275inj=o.cJS({imports:[n.ez,t._N,t.pP,i.ZJ]})},3154:(f,d,e)=>{e.d(d,{_:()=>i});var n=e(7630);function i(t){var o;switch(t.value){case"ascend":o=n.SrV.Asc;break;case"descend":o=n.SrV.Desc;break;default:return}return{column:t.key,direction:o}}},5851:(f,d,e)=>{e.d(d,{D:()=>o});var n=e(7579),i=e(9468),t=e(4650);class o{set cvcAutoHeightCard(l){l&&(this._offset=l)}get cvcAutoHeightCard(){return this._offset}set cvcAutoHeightTarget(l){this._target=l}get cvcAutoHeightTarget(){return this._target}constructor(l,u,h){this.el=l,this.zone=u,this.cdr=h,this._offset=0,this._target="parent",this.onResized$=new n.x,this.resizeObserver=new ResizeObserver(s=>{this.zone.run(()=>{this.onResized$.next(!0)})}),this.onResized$.pipe((0,i.p)(10)).subscribe(s=>{this.doAutoSize()})}ngOnInit(){this.resizeObserver.observe(this.el.nativeElement)}doAutoSize(){const l=this.el.nativeElement,u=l.parentElement.clientHeight,s=l.querySelector(".ant-card-head").clientHeight,c=l.querySelector(".ant-card-body");if(c){if("parent"===this._target)c.style.height=`calc(${u-s}px)`;else if("viewport"===this._target){let a=0;c.getBoundingClientRect&&c.getBoundingClientRect().top&&(a=c.getBoundingClientRect().top),c.style.height=`calc(100vh - ${a+s+this._offset}px)`}c.style["overflow-y"]="auto"}else console.warn("auto-height-card could not find reference to ant-card-body div.");this.cdr.detectChanges()}ngOnDestroy(){this.onResized$.unsubscribe(),this.resizeObserver.unobserve(this.el.nativeElement)}}o.\u0275fac=function(l){return new(l||o)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO))},o.\u0275dir=t.lG2({type:o,selectors:[["","cvcAutoHeightCard",""]],inputs:{cvcAutoHeightCard:"cvcAutoHeightCard",cvcAutoHeightTarget:"cvcAutoHeightTarget"}})},3111:(f,d,e)=>{e.d(d,{n:()=>t});var n=e(6895),i=e(4650);class t{}t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[n.ez]})},7451:(f,d,e)=>{e.d(d,{q:()=>t});var n=e(4650),i=e(6675);class t{constructor(r,l,u){this.element=r,this.table=l,this.cd=u,this.table&&this.table.nzPageIndexChange&&this.table.nzPageIndexChange.subscribe(h=>{const s=this.element.nativeElement.querySelector(".ant-table-body");s&&s.scrollTop&&(s.scrollTop=0)})}onResize(){this.doAutoSize()}ngOnInit(){}ngAfterViewInit(){this.doAutoSize()}doAutoSize(){setTimeout(()=>{const r=void 0===this.offset?70:this.offset;if(this.element&&this.element.nativeElement&&this.element.nativeElement.parentElement&&this.element.nativeElement.parentElement.offsetHeight)if(this.table&&this.table.nzScroll&&this.table.nzScroll.x){const l=this.table.nzScroll?{...this.table.nzScroll}:null;this.table.nzScroll={y:(this.element.nativeElement.parentElement.offsetHeight-this.element.nativeElement.offsetTop-r).toString()+"px",x:this.table.nzScroll.x},this.table.ngOnChanges({nzScroll:new n.WD2({originNzScroll:l},this.table.nzScroll,!1)}),this.cd.detectChanges()}else{const l=this.table.nzScroll?{...this.table.nzScroll}:null;this.table.nzScroll={y:(this.element.nativeElement.parentElement.offsetHeight-this.element.nativeElement.offsetTop-r).toString()+"px"},this.table.ngOnChanges({nzScroll:new n.WD2({originNzScroll:l},this.table.nzScroll,!1)}),this.cd.detectChanges()}},10)}}t.\u0275fac=function(r){return new(r||t)(n.Y36(n.SBq),n.Y36(i.N8),n.Y36(n.sBO))},t.\u0275dir=n.lG2({type:t,selectors:[["","cvcAutoHeightTable",""]],hostBindings:function(r,l){1&r&&n.NdJ("resize",function(h){return l.onResize(h)},!1,n.Jf7)},inputs:{offset:["cvcAutoHeightTable","offset"]}})},1433:(f,d,e)=>{e.d(d,{c:()=>t});var n=e(6895),i=e(4650);class t{}t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[n.ez]})},9947:(f,d,e)=>{e.d(d,{y:()=>E});var g,n=e(655),i=e(4650),t=e(9933),o=e(4986),r=e(590),l=e(9468),u=e(8505),h=e(8372),s=e(4004),c=e(1520),a=e(9300),v=e(6675);let E=((g=class{set cvcTableScrollToIndex(_){void 0!==_&&this.scrollToIndex(_)}set cvcTableScrollToOffset(_){void 0!==_&&this.scrollToIndex(_)}constructor(_){this.host=_,this.cvcTableScrollOnScroll=new i.vpe,this.cvcTableScrollTargetHeight=140,this.cvcTableScrollFetchCount=25,this.onLoadThrottleTime=500,this.onScrollThrottleTime=250,this.onScrollDebounceTime=300,console.log("table-scroll.directive constructor()")}ngAfterViewInit(){if(!this.host||!this.host.cdkVirtualScrollViewport)throw new Error("cvcTableScroll directive could not obtain reference to host cdkVirtualScrollViewport.");this.viewport=this.host.cdkVirtualScrollViewport,this.scrolled$=this.viewport.elementScrolled(),this.rendered$=this.viewport.renderedRangeStream,this.rendered$.pipe((0,r.P)()).subscribe(()=>this.viewport.checkViewportSize()),this.scrolled$.pipe((0,l.p)(this.onScrollThrottleTime,o.z,{leading:!0,trailing:!0}),(0,u.b)(_=>this.cvcTableScrollOnScroll.next("scroll")),(0,h.b)(this.onScrollDebounceTime),(0,t.t)(this)).subscribe(_=>{this.cvcTableScrollOnScroll.next("stop")}),this.scrolled$.pipe((0,s.U)(_=>this.viewport.measureScrollOffset("bottom")),(0,c.G)(),(0,a.h)(([_,p])=>p<_&&p{this.cvcTableScrollOnScroll.next("bottom");try{this.loadMore(this.cvcTableScrollPageInfo)}catch(p){console.error(p)}})}loadMore(_){const p=this.cvcTableScrollQueryRef;if(!_&&p)throw new Error("table-scroll directive requires PageInfo to use provided QueryRef.");if(_&&!p)throw new Error("table-scroll directive requires valid QueryRef when PageInfo provided.");if(_&&p){const[C,O,T]=[this.cvcTableScrollFetchCount,_.hasNextPage,_.endCursor];if(!C||!T)throw new Error("table-scroll PageInfo invalid.");if(!O)return;p.fetchMore({variables:{first:C,after:T}})}}scrollToIndex(_){const[p,C]=[this.host,this.host.cdkVirtualScrollViewport];if(!p||!C)throw new Error("table-scroll scrollToIndex() cannot find host viewport.");C.scrollToIndex(_)}scrollToOffset(_){const[p,C]=[this.host,this.host.cdkVirtualScrollViewport];if(!p||!C)throw new Error("table-scroll scrollToOffset() cannot find host viewport.");C.scrollToOffset(_)}}).\u0275fac=function(_){return new(_||g)(i.Y36(v.N8))},g.\u0275dir=i.lG2({type:g,selectors:[["","cvcTableScroll",""]],inputs:{cvcTableScrollTargetHeight:"cvcTableScrollTargetHeight",cvcTableScrollQueryRef:"cvcTableScrollQueryRef",cvcTableScrollPageInfo:"cvcTableScrollPageInfo",cvcTableScrollFetchCount:"cvcTableScrollFetchCount",cvcTableScrollToIndex:"cvcTableScrollToIndex",cvcTableScrollToOffset:"cvcTableScrollToOffset"},outputs:{cvcTableScrollOnScroll:"cvcTableScrollOnScroll"}}),g);E=(0,n.gn)([(0,t.c)()],E)},9240:(f,d,e)=>{e.d(d,{w:()=>t});var n=e(6895),i=e(4650);class t{}t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[n.ez]})}}]); \ No newline at end of file diff --git a/server/public/9221.1063d4dc30d23675.js b/server/public/9221.1063d4dc30d23675.js deleted file mode 100644 index c5b88e0fd..000000000 --- a/server/public/9221.1063d4dc30d23675.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9221],{9221:(D,f,n)=>{n.r(f),n.d(f,{VariantsModule:()=>s});var g=n(6895),d=n(9116),t=n(4650);class l{constructor(){}}l.\u0275fac=function(e){return new(e||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["app-variants"]],decls:1,vars:0,template:function(e,o){1&e&&t._UZ(0,"router-outlet")},dependencies:[d.lC],encapsulation:2});var v=n(5630),p=n(5655),h=n(3679),u=n(1102),V=n(3855),C=n(1229),x=n(8823),P=n(6616),m=n(6903),M=n(9241),z=n(2635),y=n(6581),T=n(5866),Z=n(9444);class i{}i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[g.ez,d.Bz,z._N,z.pP,p.KJ,h.Jb,u.PV,x.ZJ,P.sL,m.zf,y.$6,Z.s,v.D,C.U,V.H,M.h,v.D,T.e]});var O=n(9350),b=n(7044),A=n(1664),S=n(8992),U=n(6274),H=n(3044),J=n(160);function B(a,e){1&a&&(t.TgZ(0,"div",20),t._UZ(1,"cvc-variant-submit-form"),t.qZA())}function N(a,e){if(1&a&&(t.TgZ(0,"button",17),t._UZ(1,"i",18),t._uU(2," Submit New Variant "),t.YNc(3,B,2,0,"ng-template",null,19,t.W1O),t.qZA()),2&a){const o=t.MAs(4);t.Q6J("nzPopoverContent",o)}}function F(a,e){if(1&a&&(t.ynx(0),t.YNc(1,N,5,1,"button",16),t.BQk()),2&a){const o=e.ngrxLet;t.xp6(1),t.Q6J("ngIf",o.isEditor)}}function I(a,e){if(1&a&&t.YNc(0,F,2,1,"ng-container",15),2&a){const o=t.oxw();t.Q6J("ngrxLet",o.viewer$)}}function L(a,e){1&a&&(t.TgZ(0,"a",21),t._UZ(1,"i",22),t._uU(2," View Variant Model Docs "),t.qZA())}function Q(a,e){1&a&&(t.TgZ(0,"a",23),t._UZ(1,"i",22),t._uU(2," View Variant Curation Docs "),t.qZA())}class c{constructor(e){this.viewerService=e,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}c.\u0275fac=function(e){return new(e||c)(t.Y36(O.a))},c.\u0275cmp=t.Xpm({type:c,selectors:[["variants-home"]],decls:22,vars:6,consts:[[3,"actionsTpl"],["variantActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variants"],[4,"ngrxLet"],["routerLink","/variants/add/submit","nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Add New Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent",4,"ngIf"],["routerLink","/variants/add/submit","nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Add New Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent"],["nz-icon","","nzType","plus-circle"],["addVariantForm",""],[1,"addVariant"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock",""]],template:function(e,o){if(1&e&&(t._UZ(0,"cvc-section-navigation",0),t.YNc(1,I,1,1,"ng-template",null,1,t.W1O),t.TgZ(3,"nz-page-header",2)(4,"nz-page-header-content")(5,"nz-row",3)(6,"nz-col",4),t._UZ(7,"i",5),t.ALo(8,"entityColor"),t.qZA(),t.TgZ(9,"nz-col",6)(10,"h2"),t._uU(11,"Variants"),t.qZA(),t.TgZ(12,"p",7),t._uU(13,' CIViC variants are usually genomic alterations, including single nucleotide variants, insertion/deletion events, copy number alterations, structural variants, and other events that differ from the "normal" genome. '),t.qZA()(),t.TgZ(14,"nz-col",8)(15,"nz-space",9),t.YNc(16,L,3,0,"a",10),t.YNc(17,Q,3,0,"a",11),t.qZA()()(),t.TgZ(18,"nz-row")(19,"nz-col",12)(20,"div",13),t._UZ(21,"cvc-variants-table",14),t.qZA()()()()()),2&e){const Y=t.MAs(2);t.Q6J("actionsTpl",Y),t.xp6(7),t.Q6J("nzTwotoneColor",t.lcZ(8,4,"Variant")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24)}},dependencies:[g.O5,d.rH,z.eJ,p.$O,p.u5,h.t3,h.SK,u.Ls,x.ZU,P.ix,b.w,A.dQ,m.NU,m.$1,y.lU,S.I,U.S,H.G,J.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}:[_nghost-%COMP%]{position:relative}.addVariant[_ngcontent-%COMP%]{width:500px}"]});const R=[{path:"",component:l,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:c,data:{breadcrumb:"Home"}},{path:":variantId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([n.e(9397),n.e(6724),n.e(9716),n.e(5566),n.e(5291),n.e(2043),n.e(4355),n.e(97),n.e(7301),n.e(8103),n.e(5376)]).then(n.bind(n,3854)).then(a=>a.VariantsDetailModule)},{path:"revise",loadChildren:()=>Promise.all([n.e(8592),n.e(2077)]).then(n.bind(n,9411)).then(a=>a.VariantsReviseModule),data:{breadcrumb:"Revise"}}]}]}];class r{}r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({imports:[d.Bz.forChild(R),i,d.Bz]});class s{}s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[g.ez,r]})}}]); \ No newline at end of file diff --git a/server/public/9246.f420f906a257bef2.js b/server/public/9246.f420f906a257bef2.js deleted file mode 100644 index ad0735f3a..000000000 --- a/server/public/9246.f420f906a257bef2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9246],{6274:(K,E,e)=>{e.d(E,{S:()=>L});var C,x=e(655),P=e(3154),d=e(7630),s=e(9933),M=e(1135),u=e(7579),T=e(3240),m=e(1884),O=e(2529),f=e(5684),g=e(9300),h=e(4004),D=e(8372),I=e(1365),p=e(6579),t=e(4650),v=e(6895),A=e(7044),z=e(1971),y=e(1102),r=e(6675),c=e(6672),U=e(5851),b=e(7451),R=e(2166),Z=e(3965),B=e(3388),W=e(3220),N=e(3667),V=e(9947),S=e(392),$=e(5457),J=e(2635),Q=e(567);function w(_,a){}function H(_,a){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,w,0,0,"ng-template",6),t.qZA(),t.BQk()),2&_){t.oxw();const n=t.MAs(6),l=t.MAs(8),o=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",n)("nzExtra",l),t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function F(_,a){}const j=function(_){return{height:_}};function G(_,a){if(1&_&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,F,0,0,"ng-template",6),t.qZA()()),2&_){const n=t.oxw(),l=t.MAs(6),o=t.MAs(8),i=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,j,n.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",l)("nzExtra",o),t.xp6(1),t.Q6J("ngTemplateOutlet",i)}}const Y=function(_,a,n){return{id:_,name:a,link:n}};function X(_,a){if(1&_&&(t.TgZ(0,"tr",23)(1,"td",20),t._UZ(2,"cvc-variant-tag",24),t.qZA(),t.TgZ(3,"td"),t._UZ(4,"cvc-plain-tag-overflow",25),t.ALo(5,"pluck"),t.qZA(),t.TgZ(6,"td"),t._UZ(7,"cvc-tag-overflow",26),t.qZA(),t.TgZ(8,"td"),t._UZ(9,"cvc-gene-tag",27),t.qZA(),t.TgZ(10,"td"),t._UZ(11,"cvc-tag-overflow",28),t.qZA(),t.TgZ(12,"td"),t._UZ(13,"cvc-tag-overflow",29),t.qZA()()),2&_){const n=a.$implicit,l=t.oxw(2);t.xp6(2),t.Q6J("variant",n)("truncateLongName",!0),t.xp6(2),t.Q6J("maxDisplayCount",1)("tags",t.xi3(5,16,n.aliases,"name"))("matchingText",l.variantAliasInput),t.xp6(3),t.Q6J("tags",n.variantTypes)("maxDisplayCount",1)("matchingText",l.variantTypeNameInput),t.xp6(2),t.Q6J("gene",t.kEZ(19,Y,n.geneId,n.geneName,n.geneLink))("truncateLongName",!0),t.xp6(2),t.Q6J("tags",n.diseases)("maxDisplayCount",1)("matchingText",l.diseaseNameInput),t.xp6(2),t.Q6J("tags",n.therapies)("maxDisplayCount",1)("matchingText",l.therapyNameInput)}}const q=function(){return[]},k=function(){return{x:"680px",y:"800px"}},tt=function(){return{text:"None",value:!0}},nt=function(_){return[_]};function et(_,a){if(1&_){const n=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.scrollEvent$.next(o))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.sortChange$.next(o))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Variant "),t.qZA(),t.TgZ(10,"th",14),t._uU(11," Variant Aliases "),t.qZA(),t.TgZ(12,"th",15),t.NdJ("nzFilterChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.onHasNoVariantTypeInputChange(o))}),t._uU(13," Variant Types "),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Gene "),t.qZA(),t.TgZ(16,"th",17),t._uU(17," Diseases "),t.qZA(),t.TgZ(18,"th",18),t._uU(19," Therapies "),t.qZA()(),t.TgZ(20,"tr",19)(21,"th",20)(22,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.variantNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(23,"th")(24,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.variantAliasInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(25,"th")(26,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.variantTypeNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(27,"th")(28,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.geneSymbolInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(29,"th")(30,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.diseaseNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()(),t.TgZ(31,"th")(32,"cvc-clearable-input-filter",21),t.NdJ("inputModelChange",function(o){t.CHM(n);const i=t.oxw();return t.KtG(i.therapyNameInput=o)})("inputModelChange",function(){t.CHM(n);const o=t.oxw();return t.KtG(o.filterChange$.next())}),t.qZA()()()(),t.TgZ(33,"tbody"),t.YNc(34,X,14,23,"ng-template",22),t.qZA()()}if(2&_){const n=t.oxw();t.Q6J("nzData",t.lcZ(2,23,n.row$)||t.DdM(31,q))("nzLoading",!t.lcZ(3,25,n.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",n.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,27,n.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,29,n.scrollIndex$))("nzVirtualForTrackBy",n.trackByIndex)("nzScroll",t.DdM(32,k))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",n.sortColumns.VariantName)("nzSortFn",!0),t.xp6(4),t.Q6J("nzFilters",t.VKq(34,nt,t.DdM(33,tt)))("nzFilterFn",!0),t.xp6(2),t.Q6J("nzColumnKey",n.sortColumns.EntrezSymbol)("nzSortFn",!0),t.xp6(8),t.Q6J("inputModel",n.variantNameInput),t.xp6(2),t.Q6J("inputModel",n.variantAliasInput),t.xp6(2),t.Q6J("inputModel",n.variantTypeNameInput),t.xp6(2),t.Q6J("inputModel",n.geneSymbolInput),t.xp6(2),t.Q6J("inputModel",n.diseaseNameInput),t.xp6(2),t.Q6J("inputModel",n.therapyNameInput)}}function at(_,a){}function _t(_,a){if(1&_&&(t.ynx(0),t.YNc(1,at,0,0,"ng-template",6),t.BQk()),2&_){const n=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",n.cvcTitleTemplate)}}function ot(_,a){if(1&_&&(t.ynx(0),t._uU(1),t.BQk()),2&_){const n=t.oxw(2);t.xp6(1),t.hij(" ",n.cvcTitle," ")}}function lt(_,a){if(1&_&&(t.YNc(0,_t,2,1,"ng-container",30),t.YNc(1,ot,2,1,"ng-container",30),t.TgZ(2,"span",31),t._UZ(3,"cvc-table-counts",32),t.qZA()),2&_){const n=t.oxw();t.Q6J("ngIf",n.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",n.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",n.connection$)}}function it(_,a){1&_&&(t.TgZ(0,"nz-tag",35),t._UZ(1,"i",36),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function rt(_,a){if(1&_&&(t.YNc(0,it,4,0,"nz-tag",33),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",34),t.ALo(3,"ngrxPush")),2&_){const n=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,n.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,n.noMoreRows$))}}let L=((C=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,n){this.gql=a,this.cdr=n,this.initialPageSize=35,this.isScrolling=!1,this.hasNoVariantTypeInput=!1,this.sortColumns=d.pP7,this.noMoreRows$=new M.X(!1),this.scrollEvent$=new M.X("stop"),this.sortChange$=new u.x,this.filterChange$=new u.x,this.scrollIndex$=new u.x}ngOnInit(){this.initialQueryArgs={first:this.initialPageSize,variantTypeId:this.variantTypeId,variantGroupId:this.variantGroupId,hasNoVariantType:this.hasNoVariantTypeInput},this.queryRef=this.gql.watch(this.initialQueryArgs),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,p.j)("loading"),(0,m.x)(),(0,O.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,p.j)("loading"),(0,m.x)(),(0,f.T)(2)),this.connection$=this.result$.pipe((0,p.j)("data","browseVariants"),(0,g.h)(T.ep)),this.row$=this.connection$.pipe((0,p.j)("edges"),(0,g.h)(T.ep),(0,h.U)(a=>a.map(n=>n.node))),this.pageInfo$=this.connection$.pipe((0,p.j)("pageInfo"),(0,g.h)(T.ep)),this.sortChange$.pipe((0,s.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,P._)(a)})}),this.filterChange$.pipe((0,D.b)(500),(0,s.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,h.U)(a=>"stop"!==a),(0,m.x)(),(0,s.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,g.h)(a=>"bottom"===a),(0,I.M)(this.pageInfo$),(0,h.U)(([a,n])=>n),(0,s.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({diseaseName:this.diseaseNameInput,therapyName:this.therapyNameInput,variantName:this.variantNameInput?this.variantNameInput:void 0,variantAlias:this.variantAliasInput?this.variantAliasInput:void 0,entrezSymbol:this.geneSymbolInput,variantTypeName:this.variantTypeNameInput?this.variantTypeNameInput:void 0,hasNoVariantType:this.hasNoVariantTypeInput}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(a,n){return n?.id}onHasNoVariantTypeInputChange(a){this.hasNoVariantTypeInput=a[0],this.filterChange$.next()}}).\u0275fac=function(a){return new(a||C)(t.Y36(d.Rdc),t.Y36(t.sBO))},C.\u0275cmp=t.Xpm({type:C,selectors:[["cvc-variants-table"]],inputs:{cvcHeight:"cvcHeight",variantTypeId:"variantTypeId",variantGroupId:"variantGroupId",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","150px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","170px"],["nzWidth","180px",3,"nzFilters","nzFilterFn","nzFilterChange"],["nzWidth","100px",3,"nzColumnKey","nzSortFn"],["nzWidth","200px"],["nzWidth","180px"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nz-virtual-scroll",""],[1,"data-row"],[3,"variant","truncateLongName"],[3,"maxDisplayCount","tags","matchingText"],["tagType","variant-type",3,"tags","maxDisplayCount","matchingText"],[3,"gene","truncateLongName"],["tagType","disease",3,"tags","maxDisplayCount","matchingText"],["tagType","therapy",3,"tags","maxDisplayCount","matchingText"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,n){if(1&a&&(t.YNc(0,H,3,3,"ng-container",0),t.YNc(1,G,3,6,"ng-template",null,1,t.W1O),t.YNc(3,et,35,36,"ng-template",null,2,t.W1O),t.YNc(5,lt,4,3,"ng-template",null,3,t.W1O),t.YNc(7,rt,4,6,"ng-template",null,4,t.W1O)),2&a){const l=t.MAs(2);t.Q6J("ngIf",!n.cvcHeight)("ngIfElse",l)}},dependencies:[v.O5,v.tP,v.PC,A.w,z.bd,y.Ls,r.N8,r.qD,r.Uo,r._C,r.Om,r.p0,r.$Z,r.zu,r.qn,c.j,U.D,b.q,R.p,Z.H,B.H,W.l,N.B,V.y,S.T,$.I,J.fM,Q.F],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),C);L=(0,x.gn)([(0,s.c)()],L)},3855:(K,E,e)=>{e.d(E,{H:()=>c});var x=e(6895),P=e(1229),d=e(4125),s=e(2994),M=e(3650),u=e(8525),T=e(7946),m=e(9444),O=e(3111),f=e(1433),g=e(9240),h=e(2635),D=e(6616),I=e(1971),p=e(1102),t=e(6675),v=e(6672),A=e(7570),z=e(8823),y=e(7043),r=e(4650);class c{}c.\u0275fac=function(b){return new(b||c)},c.\u0275mod=r.oAB({type:c}),c.\u0275inj=r.cJS({imports:[x.ez,h._N,h.pP,D.sL,I.vh,p.PV,t.HQ,v.X,A.cg,z.ZJ,O.n,f.c,d.k,P.U,s.y,m.s,M.T,u.T,g.w,T.x,y.Q]})}}]); \ No newline at end of file diff --git a/server/public/933.d8777dcd1516ba50.js b/server/public/933.d8777dcd1516ba50.js deleted file mode 100644 index bfd20374e..000000000 --- a/server/public/933.d8777dcd1516ba50.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[933],{933:(D,g,o)=>{o.r(g),o.d(g,{MolecularProfilesModule:()=>l});var f=o(6895),d=o(9116),m=o(5630),c=o(5655),p=o(3679),z=o(1102),P=o(1229),u=o(8823),v=o(6616),h=o(6903),x=o(9241),M=o(2635),y=o(6581),C=o(5866),O=o(5160),Z=o(9444),e=o(4650);class a{}a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[f.ez,d.Bz,M._N,M.pP,c.KJ,p.Jb,z.PV,u.ZJ,v.sL,h.zf,y.$6,Z.s,m.D,P.U,O.I,x.h,m.D,C.e]});var T=o(9350),b=o(7044),A=o(8992),S=o(7471),U=o(160);function B(t,n){1&t&&(e.TgZ(0,"a",13),e._UZ(1,"i",14),e._uU(2," View Molecular Profiles Model Docs "),e.qZA())}function V(t,n){1&t&&(e.TgZ(0,"a",15),e._UZ(1,"i",14),e._uU(2," View Molecular Profiles Curation Docs "),e.qZA())}class i{constructor(n){this.viewerService=n,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}i.\u0275fac=function(n){return new(n||i)(e.Y36(T.a))},i.\u0275cmp=e.Xpm({type:i,selectors:[["molecular-profiles-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-molecularprofile",3,"nzTwotoneColor"],["nzFlex","0 1 600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/molecular_profiles.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/molecular_profiles.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Molecular Profiles"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/molecular_profiles.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/molecular_profiles.html","target","_blank","nzSize","small","nzBlock",""]],template:function(n,J){1&n&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),e._UZ(5,"i",3),e.ALo(6,"entityColor"),e.qZA(),e.TgZ(7,"nz-col",4)(8,"h2"),e._uU(9,"Molecular Profiles"),e.qZA(),e.TgZ(10,"p",5),e._uU(11," CIViC molecular profiles are complex combinations of one or more CIViC variants across one or more genes. Variants are placed in combinations connected by AND or OR, and mutual exclusivity is supported by NOT. These relationships may be further defined by parenthesis. "),e.qZA()(),e.TgZ(12,"nz-col",6)(13,"nz-space",7),e.YNc(14,B,3,0,"a",8),e.YNc(15,V,3,0,"a",9),e.qZA()()(),e.TgZ(16,"nz-row")(17,"nz-col",10)(18,"div",11),e._UZ(19,"cvc-molecular-profiles-table",12),e.qZA()()()()()),2&n&&(e.xp6(5),e.Q6J("nzTwotoneColor",e.lcZ(6,3,"MolecularProfile")),e.xp6(5),e.Q6J("nzEllipsisRows",2),e.xp6(7),e.Q6J("nzSpan",24))},dependencies:[c.$O,c.u5,p.t3,p.SK,z.Ls,u.ZU,v.ix,b.w,h.NU,h.$1,A.I,S.B,U.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}:[_nghost-%COMP%]{position:relative}.addVariant[_ngcontent-%COMP%]{width:500px}"]});class s{constructor(){}}s.\u0275fac=function(n){return new(n||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-molecular-profiles"]],decls:1,vars:0,template:function(n,J){1&n&&e._UZ(0,"router-outlet")},dependencies:[d.lC],encapsulation:2});const I=[{path:"",component:s,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:i,data:{breadcrumb:"Home"}},{path:":molecularProfileId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([o.e(9397),o.e(1192),o.e(6724),o.e(9716),o.e(5566),o.e(3883),o.e(5291),o.e(2043),o.e(4355),o.e(97),o.e(7301),o.e(2294)]).then(o.bind(o,724)).then(t=>t.MolecularProfilesDetailModule)},{path:"revise",loadChildren:()=>Promise.all([o.e(8592),o.e(2156)]).then(o.bind(o,4159)).then(t=>t.MolecularProfilesReviseModule),data:{breadcrumb:"Revise"}}]}]}];class r{}r.\u0275fac=function(n){return new(n||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[d.Bz.forChild(I),a,d.Bz]});class l{}l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[f.ez,r]})}}]); \ No newline at end of file diff --git a/server/public/9397.de8aea4b189d6aa0.js b/server/public/9397.de8aea4b189d6aa0.js deleted file mode 100644 index 0e8b2cf97..000000000 --- a/server/public/9397.de8aea4b189d6aa0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9397],{2826:(O,u,t)=>{t.d(u,{w:()=>N});var r=t(9771),e=t(4650),s=t(6895),d=t(9116),_=t(6672),T=t(6581),z=t(1102),l=t(4004),g=t(9300),c=t(3240),a=t(7726),v=t(7630),A=t(1971),C=t(9194),S=t(3679),m=t(6903),h=t(7570),y=t(7491),x=t(7230),f=t(5105),M=t(3172),P=t(5797),D=t(4590),E=t(2635),L=t(9657),$=t(4110),U=t(9714),w=t(160),Q=t(5083);function q(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"i",17),e.ALo(2,"entityColor"),e._uU(3),e.BQk()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(2,2,"Assertion")),e.xp6(2),e.hij(" ",o.name," ")}}function Y(n,i){if(1&n&&e._UZ(0,"cvc-status-tag",18),2&n){const o=e.oxw(2).ngIf;e.Q6J("status",o.status)}}function J(n,i){1&n&&(e.TgZ(0,"nz-space"),e.YNc(1,q,4,4,"ng-container",15),e.YNc(2,Y,1,1,"cvc-status-tag",16),e.qZA())}function B(n,i){if(1&n&&e._UZ(0,"cvc-molecular-profile-tag",19),2&n){const o=e.oxw().ngIf;e.Q6J("molecularProfile",o.molecularProfile)("enablePopover",!1)("truncateLongName",!0)}}function X(n,i){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const o=i.ngIf;e.xp6(1),e.hij(" ",o," ")}}function F(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",21),e._UZ(2,"cvc-mp-tag-name",22),e.qZA()()),2&n){const o=e.oxw().ngIf;e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("nameSegments",o.molecularProfile.parsedName)("enablePopover",!1)}}function R(n,i){if(1&n&&(e.TgZ(0,"nz-tag",42),e._uU(1),e.qZA()),2&n){const o=i.$implicit;e.Q6J("nzTooltipTitle",o.description),e.xp6(1),e.Oqu(o.code)}}function j(n,i){if(1&n&&(e.ynx(0),e.YNc(1,R,2,2,"nz-tag",41),e.BQk()),2&n){const o=e.oxw(3).ngIf;e.xp6(1),e.Q6J("ngForOf",o.acmgCodes)}}function W(n,i){1&n&&e._uU(0," -- ")}function G(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions-item",39),e.YNc(1,j,2,1,"ng-container",9),e.YNc(2,W,1,0,"ng-template",null,40,e.W1O),e.qZA()),2&n){const o=e.MAs(3),p=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngIf",p.acmgCodes.length>0)("ngIfElse",o)}}function K(n,i){if(1&n&&(e.TgZ(0,"nz-tag",42),e._uU(1),e.qZA()),2&n){const o=i.$implicit;e.Q6J("nzTooltipTitle",o.description),e.xp6(1),e.Oqu(o.code)}}function V(n,i){if(1&n&&(e.ynx(0),e.YNc(1,K,2,2,"nz-tag",41),e.BQk()),2&n){const o=e.oxw(3).ngIf;e.xp6(1),e.Q6J("ngForOf",o.clingenCodes)}}function H(n,i){1&n&&e._uU(0," -- ")}function b(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions-item",43),e.YNc(1,V,2,1,"ng-container",9),e.YNc(2,H,1,0,"ng-template",null,44,e.W1O),e.qZA()),2&n){const o=e.MAs(3),p=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngIf",p.clingenCodes.length>0)("ngIfElse",o)}}function k(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions-item",45),e._uU(1),e.ALo(2,"ifEmpty"),e.ALo(3,"formatAmp"),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.hij(" ",e.xi3(2,1,e.xi3(3,4,o.ampLevel,"compact"),"--")," ")}}function ee(n,i){1&n&&e._UZ(0,"i",46)}function ne(n,i){1&n&&e._UZ(0,"i",47)}function te(n,i){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,o.regulatoryApprovalLastUpdated),") ")}}function oe(n,i){1&n&&e._UZ(0,"i",46)}function ie(n,i){1&n&&e._UZ(0,"i",47)}function se(n,i){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"timeAgo"),e.BQk()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.hij(" (last updated ",e.lcZ(2,1,o.fdaCompanionTestLastUpdated),") ")}}function re(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-disease-tag",48),e.BQk()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("enablePopover",!1)("disease",o.disease)("truncateLongName",!0)}}function ae(n,i){1&n&&e._uU(0," N/A ")}function ce(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-therapy-tag",51),e.qZA()),2&n){const o=i.$implicit;e.xp6(1),e.Q6J("enablePopover",!1)("therapy",o)("truncateLongName",!0)}}function pe(n,i){if(1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"titlecase"),e.BQk()),2&n){const o=e.oxw(3).ngIf;e.xp6(1),e.hij(" ",e.lcZ(2,1,o.therapyInteractionType)," ")}}function le(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions-item",49),e.YNc(1,ce,2,3,"span",50),e.YNc(2,pe,3,3,"ng-container",1),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",o.therapies),e.xp6(1),e.Q6J("ngIf",o.therapies.length>1)}}function de(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-phenotype-tag",53),e.qZA()),2&n){const o=i.$implicit;e.xp6(1),e.Q6J("enablePopover",!1)("phenotype",o)}}function ge(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions-item",52),e.YNc(1,de,2,2,"span",50),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngForOf",o.phenotypes)}}function _e(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",23),e._uU(2),e.ALo(3,"evidenceEnumDisplay"),e.qZA(),e.TgZ(4,"nz-descriptions-item",24),e._uU(5),e.ALo(6,"evidenceEnumDisplay"),e.qZA(),e.TgZ(7,"nz-descriptions-item",25),e._uU(8),e.ALo(9,"evidenceEnumDisplay"),e.qZA(),e.YNc(10,G,4,2,"nz-descriptions-item",26),e.YNc(11,b,4,2,"nz-descriptions-item",27),e.YNc(12,k,4,7,"nz-descriptions-item",28),e.TgZ(13,"nz-descriptions-item",29),e.YNc(14,ee,1,0,"i",30),e.YNc(15,ne,1,0,"i",31),e.YNc(16,te,3,3,"ng-container",1),e.qZA(),e.TgZ(17,"nz-descriptions-item",32),e.YNc(18,oe,1,0,"i",30),e.YNc(19,ie,1,0,"i",31),e.YNc(20,se,3,3,"ng-container",1),e.qZA(),e.TgZ(21,"nz-descriptions-item",33),e._uU(22),e.ALo(23,"ifEmpty"),e.qZA(),e.TgZ(24,"nz-descriptions-item",25),e._uU(25),e.ALo(26,"evidenceEnumDisplay"),e.qZA(),e.TgZ(27,"nz-descriptions-item",34),e._uU(28),e.ALo(29,"evidenceEnumDisplay"),e.qZA(),e.TgZ(30,"nz-descriptions-item",35),e.YNc(31,re,2,3,"ng-container",9),e.YNc(32,ae,1,0,"ng-template",null,36,e.W1O),e.qZA(),e.YNc(34,le,3,2,"nz-descriptions-item",37),e.YNc(35,ge,2,1,"nz-descriptions-item",38),e.qZA()),2&n){const o=e.MAs(33),p=e.oxw().ngIf,I=e.oxw();e.Q6J("nzColumn",2),e.xp6(2),e.hij(" ",e.lcZ(3,20,p.assertionType)," "),e.xp6(3),e.hij(" ",e.lcZ(6,22,p.assertionDirection)," "),e.xp6(3),e.hij(" ",e.lcZ(9,24,p.variantOrigin)," "),e.xp6(2),e.Q6J("ngIf",I.assertionRules.requiresAcmgCodes(p.assertionType)),e.xp6(1),e.Q6J("ngIf",I.assertionRules.requiresClingenCodes(p.assertionType)),e.xp6(1),e.Q6J("ngIf",I.assertionRules.requiresAmpLevel(p.assertionType)),e.xp6(2),e.Q6J("ngIf",p.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",!p.regulatoryApproval),e.xp6(1),e.Q6J("ngIf",p.regulatoryApprovalLastUpdated),e.xp6(2),e.Q6J("ngIf",p.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",!p.fdaCompanionTest),e.xp6(1),e.Q6J("ngIf",p.fdaCompanionTestLastUpdated),e.xp6(2),e.hij(" ",e.xi3(23,26,null==p.nccnGuideline?null:p.nccnGuideline.name,"--")," "),e.xp6(3),e.hij(" ",e.lcZ(26,29,p.variantOrigin)," "),e.xp6(3),e.hij(" ",e.lcZ(29,31,p.significance)," "),e.xp6(3),e.Q6J("ngIf",p.disease)("ngIfElse",o),e.xp6(3),e.Q6J("ngIf",p.therapies.length>0),e.xp6(1),e.Q6J("ngIf",p.phenotypes.length>0)}}function me(n,i){if(1&n&&(e.TgZ(0,"a",54)(1,"nz-tag",55),e._UZ(2,"i",56),e._uU(3),e.qZA()()),2&n){const o=e.oxw().ngIf;e.MGl("routerLink","/assertions/",o.id,"/flags"),e.xp6(3),e.hij(" Flags (",o.flags.totalCount,") ")}}function ue(n,i){if(1&n&&(e.TgZ(0,"a",54)(1,"nz-tag",57),e._UZ(2,"i",58),e._uU(3),e.qZA()()),2&n){const o=e.oxw().ngIf;e.MGl("routerLink","/assertions/",o.id,"/revisions"),e.xp6(3),e.hij(" Revisions (",o.revisions.totalCount,") ")}}function fe(n,i){if(1&n&&(e.TgZ(0,"a",54)(1,"nz-tag",59),e._UZ(2,"i",60),e._uU(3),e.qZA()()),2&n){const o=e.oxw().ngIf;e.MGl("routerLink","/assertions/",o.id,"/comments"),e.xp6(3),e.hij(" Comments (",o.comments.totalCount,") ")}}function ve(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-card",3),e.YNc(2,J,3,0,"ng-template",null,4,e.W1O),e.YNc(4,B,1,3,"ng-template",null,5,e.W1O),e.TgZ(6,"nz-row")(7,"nz-col",6)(8,"div",7)(9,"p",8),e.YNc(10,X,2,1,"ng-container",9),e.qZA()()()(),e.TgZ(11,"nz-space",10),e.YNc(12,F,3,3,"nz-descriptions",11),e.YNc(13,_e,36,33,"nz-descriptions",11),e.qZA(),e.TgZ(14,"nz-row",12)(15,"nz-col",6)(16,"nz-space",13),e.YNc(17,me,4,2,"a",14),e.YNc(18,ue,4,2,"a",14),e.YNc(19,fe,4,2,"a",14),e.qZA()()()(),e.BQk()),2&n){const o=i.ngIf,p=e.MAs(3),I=e.MAs(5);e.oxw();const De=e.MAs(4);e.xp6(1),e.Q6J("nzTitle",p)("nzExtra",I),e.xp6(9),e.Q6J("ngIf",o.summary)("ngIfElse",De)}}function Ce(n,i){1&n&&e._uU(0," No Summary exists for this Assertion. ")}class Z{constructor(i){this.gql=i,this.assertionRules=new a._}ngOnInit(){if(null==this.assertionId)throw new Error("cvc-assertion-popover requires valid assertionId input.");this.assertion$=this.gql.watch({assertionId:this.assertionId}).valueChanges.pipe((0,l.U)(i=>i.data),(0,g.h)(c.ep),(0,l.U)(({assertion:i})=>i))}}Z.\u0275fac=function(i){return new(i||Z)(e.Y36(v.Gbq))},Z.\u0275cmp=e.Xpm({type:Z,selectors:[["cvc-assertion-popover"]],inputs:{assertionId:"assertionId"},decls:5,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noSummary",""],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["molecularProfile",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzDirection","vertical","nzSize","small"],["nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["id","entity-child-counts"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],[4,"nzSpaceItem"],["style","font-weight: normal",3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],[2,"font-weight","normal",3,"status"],[3,"molecularProfile","enablePopover","truncateLongName"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","MP Expression"],[3,"nameSegments","enablePopover"],["nzTitle","Type"],["nzTitle","Direction"],["nzTitle","Variant Origin"],["nzTitle","ACMG Codes","nzSpan","2",4,"ngIf"],["nzTitle","ClinGen/CGC/VICC Codes","nzSpan","2",4,"ngIf"],["nzTitle","AMP/ASCO/CAP Category",4,"ngIf"],["nzTitle","Regulatory Approval"],["nz-icon","","nzType","check-circle","nzTheme","twotone","nzTwotoneColor","#52c41a",4,"ngIf"],["nz-icon","","nzType","close-square","nzTheme","twotone","nzTwotoneColor","#d93026",4,"ngIf"],["nzTitle","FDA Companion Test"],["nzTitle","NCCN Guideline"],["nzTitle","Clinical Significance","nzSpan","2"],["nzTitle","Disease","nzSpan","2"],["noDisease",""],["nzTitle","Therapies","nzSpan","2",4,"ngIf"],["nzTitle","Phenotypes","nzSpan","2",4,"ngIf"],["nzTitle","ACMG Codes","nzSpan","2"],["noAcmg",""],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["nzTitle","ClinGen/CGC/VICC Codes","nzSpan","2"],["noClingen",""],["nzTitle","AMP/ASCO/CAP Category"],["nz-icon","","nzType","check-circle","nzTheme","twotone","nzTwotoneColor","#52c41a"],["nz-icon","","nzType","close-square","nzTheme","twotone","nzTwotoneColor","#d93026"],[3,"enablePopover","disease","truncateLongName"],["nzTitle","Therapies","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"enablePopover","therapy","truncateLongName"],["nzTitle","Phenotypes","nzSpan","2"],[3,"enablePopover","phenotype"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0),e.YNc(1,ve,20,4,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA(),e.YNc(3,Ce,1,0,"ng-template",null,2,e.W1O)),2&i&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,o.assertion$)))},dependencies:[s.sg,s.O5,d.rH,A.bd,C.R7,C.uj,z.Ls,S.t3,S.SK,m.NU,m.$1,_.j,h.SY,y.n,x.C,f.p,M.i,P.T,D.h,s.rS,E.fM,L.t,$.Do,U.D,w.a,Q.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});var he=t(1730);function Te(n,i){}function ze(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"a",4),e.YNc(2,Te,0,0,"ng-template",5),e.qZA(),e.BQk()),2&n){const o=e.oxw(),p=e.MAs(2);e.xp6(1),e.Q6J("routerLink",o.assertion.link),e.xp6(1),e.Q6J("ngTemplateOutlet",p)}}function Ae(n,i){}function ye(n,i){if(1&n&&e._UZ(0,"cvc-assertion-popover",8),2&n){const o=e.oxw(2);e.Q6J("assertionId",o.assertion.id)}}const xe=function(n,i,o){return{rejected:n,submitted:i,accepted:o}};function Pe(n,i){if(1&n&&(e.TgZ(0,"nz-tag",6),e.YNc(1,Ae,0,0,"ng-template",5),e.qZA(),e.YNc(2,ye,1,1,"ng-template",null,7,e.W1O)),2&n){const o=e.MAs(3),p=e.oxw(),I=e.MAs(6);e.Q6J("ngClass",e.kEZ(5,xe,"REJECTED"===p.assertion.status,"SUBMITTED"===p.assertion.status,"ACCEPTED"===p.assertion.status))("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",o)("nzPopoverTrigger",p.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",I)}}function Ie(n,i){}function Oe(n,i){if(1&n&&e.YNc(0,Ie,0,0,"ng-template",5),2&n){e.oxw();const o=e.MAs(2);e.Q6J("ngTemplateOutlet",o)}}function Se(n,i){if(1&n&&(e.TgZ(0,"cvc-icon-badges",9),e._UZ(1,"i",10),e.ALo(2,"entityColor"),e.ALo(3,"entityColor"),e.qZA(),e._uU(4)),2&n){const o=e.oxw();e.Q6J("flagged",o.assertion.flagged)("entityColor",o.iconColor),e.xp6(1),e.Q6J("nzTwotoneColor","REJECTED"===o.assertion.status?e.lcZ(2,4,"Rejected"):e.lcZ(3,6,"Assertion")),e.xp6(3),e.hij(" ",o.assertion.name,"\n")}}class N{set assertion(i){if(!i)throw new Error("cvc-assertion-tag assertion input requires LinkableAssertion.");this._assertion=i}get assertion(){return this._assertion}constructor(){this.linked=!0,this.enablePopover=!0,this.iconColor=(0,r.f)("Assertion")}}N.\u0275fac=function(i){return new(i||N)},N.\u0275cmp=e.Xpm({type:N,selectors:[["cvc-assertion-tag"]],inputs:{assertion:"assertion",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["assertionPopover",""],[3,"assertionId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-assertion","nzTheme","twotone",3,"nzTwotoneColor"]],template:function(i,o){if(1&i&&(e.YNc(0,ze,3,2,"ng-container",0),e.YNc(1,Pe,4,9,"ng-template",null,1,e.W1O),e.YNc(3,Oe,1,1,"ng-template",null,2,e.W1O),e.YNc(5,Se,5,8,"ng-template",null,3,e.W1O)),2&i){const p=e.MAs(4);e.Q6J("ngIf",o.linked)("ngIfElse",p)}},dependencies:[s.mk,s.O5,s.tP,d.rH,_.j,T.lU,z.Ls,Z,he.b,w.a],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})},8369:(O,u,t)=>{t.d(u,{W:()=>P});var r=t(6895),e=t(9116),s=t(6672),d=t(6581),_=t(1102),T=t(1971),z=t(9194),l=t(3973),g=t(2635),c=t(9444),a=t(3679),v=t(6903),A=t(8845),C=t(592),S=t(7570),m=t(3309),h=t(4126),y=t(701),x=t(4650);class f{}f.\u0275fac=function(E){return new(E||f)},f.\u0275mod=x.oAB({type:f}),f.\u0275inj=x.cJS({imports:[r.ez,e.Bz,g._N,g.pP,T.vh,z.q6,_.PV,a.Jb,v.zf,s.X,S.cg,A.Q,m.r,h.u,l.y,y.N,c.s,C.x]});var M=t(6429);class P{}P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=x.oAB({type:P}),P.\u0275inj=x.cJS({imports:[r.ez,e.Bz,s.X,d.$6,_.PV,f,c.s,M.C]})},9714:(O,u,t)=>{t.d(u,{D:()=>e});var r=t(4650);class e{transform(d,_){return null==d||""===d?_:d}}e.\u0275fac=function(d){return new(d||e)},e.\u0275pipe=r.Yjl({name:"ifEmpty",type:e,pure:!0})},5083:(O,u,t)=>{t.d(u,{x:()=>a});var r=t(4650);const s=3600,d=24*s,T=365*d,l=new Intl.DateTimeFormat("en-US",{weekday:void 0,year:void 0,month:"short",day:"numeric"}),c=new Intl.DateTimeFormat("en-US",{weekday:void 0,year:"numeric",month:"short",day:"numeric"});class a{transform(A){let C;C="number"==typeof A?A:Date.parse(A);const S=Date.now(),m=Math.round(Math.abs(S-C)/1e3);if(m>=2592e3&&m=T){let f=new Date(C);return c.format(f)}let h,y;return m<60?(h=Math.round(m),y="second"):m1?"s":""} ago`}}a.\u0275fac=function(A){return new(A||a)},a.\u0275pipe=r.Yjl({name:"timeAgo",type:a,pure:!0})},2907:(O,u,t)=>{t.d(u,{J:()=>e,i:()=>r});const r={molecularProfileId:void 0,acmgCodeIds:[],ampLevel:void 0,assertionDirection:void 0,assertionType:void 0,clingenCodeIds:[],significance:void 0,description:void 0,diseaseId:void 0,therapyIds:[],therapyInteractionType:void 0,evidenceItemIds:[],fdaCompanionTest:void 0,fdaRegulatoryApproval:void 0,nccnGuidelineId:void 0,nccnGuidelineVersion:void 0,phenotypeIds:[],summary:void 0,variantOrigin:void 0},e={clientMutationId:void 0,fields:r,comment:void 0,organizationId:void 0}},7726:(O,u,t)=>{t.d(u,{_:()=>T});var r=t(7630),e=t(9933),s=t(1135),d=t(2907),_=t(5451);class T extends _.lG{constructor(){super(_.yQ.ASSERTION);const l=d.i;this.fields={molecularProfileId$:new s.X(l.molecularProfileId),variantMolecularProfile$:new s.X(void 0),geneId$:new s.X(void 0),variantId$:new s.X(void 0),variantOrigin$:new s.X(l.variantOrigin),assertionType$:new s.X(l.assertionType),assertionDirection$:new s.X(l.assertionDirection),evidenceItemIds$:new s.X(l.evidenceItemIds),significance$:new s.X(l.significance),diseaseId$:new s.X(l.diseaseId),therapyIds$:new s.X(l.therapyIds),therapyInteractionType$:new s.X(l.therapyInteractionType),phenotypeIds$:new s.X(l.phenotypeIds),nccnGuidelineId$:new s.X(l.nccnGuidelineId),fdaRegulatoryApproval$:new s.X(l.fdaRegulatoryApproval),fdaCompanionTest$:new s.X(l.fdaCompanionTest),ampLevel$:new s.X(l.ampLevel),acmgCodeIds$:new s.X(l.acmgCodeIds),clingenCodeIds$:new s.X(l.clingenCodeIds),nccnGuidelineVersion$:new s.X(l.nccnGuidelineVersion)},this.enums={entityType$:new s.X(this.getTypeOptions()),significance$:new s.X([]),direction$:new s.X([]),interaction$:new s.X(this.getInteractionOptions())},this.options={assertionTypeOption$:new s.X(this.getOptionsFromEnums(this.getTypeOptions())),directionOption$:new s.X(void 0),significanceOption$:new s.X(void 0)},this.requires={requiresDisease$:new s.X(!1),requiresTherapy$:new s.X(!1),requiresTherapyInteractionType$:new s.X(!1),requiresClingenCodes$:new s.X(!1),requiresAcmgCodes$:new s.X(!1),requiresAmpLevel$:new s.X(!1),allowsFdaApproval$:new s.X(!1)},this.fields.assertionType$.pipe((0,e.t)(this,"onDestroy")).subscribe(g=>{if(!g)return Object.entries(this.requires).forEach(([c,a])=>{a.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(g)),this.enums.direction$.next(this.getDirectionOptions(g)),this.requires.requiresDisease$.next(this.requiresDisease(g)),this.requires.requiresTherapy$.next(this.requiresTherapy(g)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(g)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(g)),this.requires.requiresAmpLevel$.next(this.requiresAmpLevel(g)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(g))}),this.fields.therapyIds$.pipe((0,e.t)(this,"onDestroy")).subscribe(g=>{this.requires.requiresTherapyInteractionType$.next(null!=g&&g.length>1)}),this.validStates.set(r.uBv.Predictive,{entityType:r.uBv.Predictive,significance:[r._3P.Sensitivityresponse,r._3P.Resistance,r._3P.AdverseResponse,r._3P.ReducedSensitivity,r._3P.Na],entityDirection:[r.mdl.Supports,r.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!0}),this.validStates.set(r.uBv.Diagnostic,{entityType:r.uBv.Diagnostic,significance:[r._3P.Positive,r._3P.Negative],entityDirection:[r.mdl.Supports,r.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(r.uBv.Prognostic,{entityType:r.uBv.Prognostic,significance:[r._3P.BetterOutcome,r._3P.PoorOutcome,r._3P.Na],entityDirection:[r.mdl.Supports,r.mdl.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(r.uBv.Predisposing,{entityType:r.uBv.Predisposing,significance:[r._3P.Pathogenic,r._3P.LikelyPathogenic,r._3P.Benign,r._3P.LikelyBenign,r._3P.UncertainSignificance],entityDirection:[r.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!0,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(r.uBv.Oncogenic,{entityType:r.uBv.Oncogenic,significance:[r._3P.Oncogenic,r._3P.LikelyOncogenic,r._3P.Benign,r._3P.LikelyBenign,r._3P.UncertainSignificance],entityDirection:[r.mdl.Supports],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!0,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},5451:(O,u,t)=>{t.d(u,{lG:()=>z,yQ:()=>_});var r=t(915),e=t(7630),s=t(7579),d=t(444),_=(()=>{return(l=_||(_={})).EVIDENCE="Evidence",l.ASSERTION="Assertion",_;var l})();class z{constructor(g){this.formReady$=new s.x,this.formLayout="vertical",this.validStates=new Map,this.typeOption$=new s.x,this.requiresTherapy$=new s.x,this.requiresDisease$=new s.x,this.requiresAcmgCode$=new s.x,this.requiresAmpLevel$=new s.x,this.requiresClingenCode$=new s.x,this.allowsFdaApproval$=new s.x,this.getTypeOptions=()=>this.entityName==_.ASSERTION?(0,d.o6)(e.uBv).map(c=>c):(0,d.o6)(e.kqt).map(c=>c),this.getSignificanceOptions=c=>this.validStates.get(c)?.significance||[],this.getInteractionOptions=()=>(0,d.o6)(e.wkr).map(c=>c),this.isValidSignificanceOption=(c,a)=>{const v=this.validStates.get(c);return!v||v.significance.includes(a)},this.getDirectionOptions=c=>this.validStates.get(c)?.entityDirection||[],this.isValidDirectionOption=(c,a)=>{const v=this.validStates.get(c);return!v||v.entityDirection.includes(a)},this.requiresTherapy=c=>{const a=this.validStates.get(c);return void 0===a||a.requiresTherapy},this.requiresDisease=c=>{const a=this.validStates.get(c);return void 0===a||a.requiresDisease},this.requiresAcmgCodes=c=>{const a=this.validStates.get(c);return void 0===a||a.requiresAcmgCodes},this.requiresAmpLevel=c=>{const a=this.validStates.get(c);return void 0===a||a.requiresAmpLevel},this.requiresClingenCodes=c=>{const a=this.validStates.get(c);return void 0===a||a.requiresClingenCodes},this.allowsFdaApproval=c=>{const a=this.validStates.get(c);return void 0===a||a.allowsFdaApproval},this.getOptionsFromEnums=c=>0===c.length?[]:c.map(a=>({value:a,label:(0,r.E)(a)})),this.fields={},this.options={},this.enums={},this.requires={},this.entityName=g,this.pluralNames=new Map,this.pluralNames.set(_.ASSERTION,"Assertions"),this.pluralNames.set(_.EVIDENCE,"Evidence")}onDestroy(){}}}}]); \ No newline at end of file diff --git a/server/public/9409.e8a9f8595e5c4989.js b/server/public/9409.e8a9f8595e5c4989.js deleted file mode 100644 index e4d0df709..000000000 --- a/server/public/9409.e8a9f8595e5c4989.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9409],{3612:(w,m,o)=>{function h(f,y){const z=(d,p)=>{let c;for(let l of d)if(l.fieldGroup)c=z(l.fieldGroup,p);else if(l.key===p){c=l;break}return c},x=(d,p)=>{for(let c of Object.keys(p))if(p[c]instanceof Object&&!Array.isArray(p[c]))x(d,p[c]);else{const l=z(d,c);l&&(l.defaultValue=p[c])}return d};return x(f,y)}o.d(m,{Z:()=>h})},6316:(w,m,o)=>{o.r(m),o.d(m,{GenesReviseModule:()=>C});var h=o(6895),f=o(9116),y=o(9386),z=o(5630),x=o(9444),d=o(2635),p=o(3679),c=o(1102),l=o(5655),N=o(8675),M=o(4004),u=o(6579),e=o(4650),O=o(7630),I=o(9350),T=o(8616),A=o(8992),D=o(160);function B(s,i){1&s&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function L(s,i){1&s&&(e.TgZ(0,"nz-row",8)(1,"div",9),e._UZ(2,"cvc-login-prompt"),e.qZA()())}function E(s,i){if(1&s&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e.ALo(6,"entityColor"),e._uU(7),e.qZA(),e.TgZ(8,"nz-page-header-subtitle"),e._uU(9),e.qZA(),e.TgZ(10,"nz-page-header-content")(11,"div",5),e.YNc(12,B,2,0,"div",6),e.ALo(13,"ngrxPush"),e.YNc(14,L,3,0,"ng-template",null,7,e.W1O),e.qZA()()(),e.BQk()),2&s){const g=i.ngIf,P=e.MAs(15),b=e.oxw();e.xp6(1),e.Q6J("displayName",g.name),e.xp6(4),e.Q6J("nzTwotoneColor",e.lcZ(6,6,"Gene")),e.xp6(2),e.hij(" ",g.name," "),e.xp6(2),e.hij(" ",g.officialName," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(13,8,b.isSignedIn$))("ngIfElse",P)}}class n{constructor(i,g,P){this.gql=i,this.route=g,this.viewerService=P,this.routeSub=this.route.params.subscribe(b=>{let R=this.gql.watch({geneId:+b.geneId}).valueChanges;this.loading$=R.pipe((0,u.j)("loading"),(0,N.O)(!0)),this.gene$=R.pipe((0,u.j)("data","gene")),this.commentsTotal$=this.gene$.pipe((0,u.j)("comments","totalCount")),this.flagsTotal$=this.gene$.pipe((0,u.j)("flags","totalCount")),this.revisionsTotal$=this.gene$.pipe((0,u.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,M.U)(i=>i.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}n.\u0275fac=function(i){return new(i||n)(e.Y36(O.TNk),e.Y36(f.gz),e.Y36(I.a))},n.\u0275cmp=e.Xpm({type:n,selectors:[["genes-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(i,g){1&i&&(e.YNc(0,E,16,10,"ng-container",0),e.ALo(1,"async")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,g.gene$))},dependencies:[h.O5,f.lC,l.$O,l.u9,l.yG,l.u5,c.Ls,p.t3,p.SK,T.u,A.I,h.Ov,d.fM,D.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var a=o(6903),t=o(545),r=o(1971),k=o(993);class v{}v.\u0275fac=function(i){return new(i||v)},v.\u0275mod=e.oAB({type:v}),v.\u0275inj=e.cJS({imports:[h.ez,d._N,d.pP,r.vh,p.Jb,a.zf,t.H0,l.KJ,k.C,z.D]});var G=o(7456);function F(s,i){if(1&s&&(e.ynx(0),e._UZ(1,"cvc-gene-revise-form",2),e.BQk()),2&s){const g=e.oxw();e.xp6(1),e.Q6J("geneId",g.geneId)}}function j(s,i){1&s&&e._uU(0,"Loading Gene...")}class _{constructor(i){this.route=i,this.routeParams$=this.route.params.subscribe(g=>{this.geneId=+g.geneId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}_.\u0275fac=function(i){return new(i||_)(e.Y36(f.gz))},_.\u0275cmp=e.Xpm({type:_,selectors:[["cvc-genes-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingGene",""],[3,"geneId"]],template:function(i,g){if(1&i&&(e.YNc(0,F,2,1,"ng-container",0),e.YNc(1,j,1,0,"ng-template",null,1,e.W1O)),2&i){const P=e.MAs(2);e.Q6J("ngIf",g.geneId)("ngIfElse",P)}},dependencies:[h.O5,G.$],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});const Z=[{path:"",component:n,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:_,data:{breadcrumb:"Suggest Revision"}}]}];class S{}S.\u0275fac=function(i){return new(i||S)},S.\u0275mod=e.oAB({type:S}),S.\u0275inj=e.cJS({imports:[f.Bz.forChild(Z),v]});class C{}C.\u0275fac=function(i){return new(i||C)},C.\u0275mod=e.oAB({type:C}),C.\u0275inj=e.cJS({imports:[h.ez,f.Bz,d._N,d.pP,S,l.KJ,c.PV,p.Jb,y.a,z.D,x.s]})},545:(w,m,o)=>{o.d(m,{H0:()=>E});var h=o(4650),f=o(6895),y=o(445);let E=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=h.oAB({type:n}),n.\u0275inj=h.cJS({imports:[y.vT,f.ez]}),n})()}}]); \ No newline at end of file diff --git a/server/public/943.a4594201e400e93c.js b/server/public/943.a4594201e400e93c.js deleted file mode 100644 index 390bab93f..000000000 --- a/server/public/943.a4594201e400e93c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[943],{9460:(E,x,n)=>{n.d(x,{i:()=>s});var _=n(6895),h=n(9116),g=n(6672),u=n(6581),d=n(1102),v=n(1698),f=n(9444),T=n(48),S=n(6429),C=n(4650);class s{}s.\u0275fac=function(m){return new(m||s)},s.\u0275mod=C.oAB({type:s}),s.\u0275inj=C.cJS({imports:[_.ez,h.Bz,T.mS,g.X,u.$6,d.PV,v.f,f.s,S.C]})},9476:(E,x,n)=>{n.d(x,{L:()=>p});var _=n(6895),h=n(9116),g=n(6672),u=n(1102),d=n(3679),v=n(4989),f=n(9194),T=n(1971),S=n(2635),C=n(5473),s=n(4650);class i{}i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({imports:[_.ez,S._N,S.pP,T.vh,d.Jb,f.q6,v.X,C.H]});var m=n(6581);class p{}p.\u0275fac=function(t){return new(t||p)},p.\u0275mod=s.oAB({type:p}),p.\u0275inj=s.cJS({imports:[_.ez,h.Bz,g.X,u.PV,m.$6,i]})},7946:(E,x,n)=>{n.d(x,{x:()=>i});var _=n(6895),h=n(897),g=n(6672),u=n(6581),d=n(8845),v=n(9476),f=n(1229),T=n(7043),S=n(701),C=n(8645),s=n(4650);class i{}i.\u0275fac=function(p){return new(p||i)},i.\u0275mod=s.oAB({type:i}),i.\u0275inj=s.cJS({imports:[_.ez,g.X,u.$6,h.$,S.N,d.Q,v.L,f.U,T.Q,C.M]})},9814:(E,x,n)=>{n.d(x,{O:()=>X});var _=n(655),h=n(3154),g=n(7630),u=n(9933),d=n(1135),v=n(7579),f=n(3240),T=n(4004),S=n(1884),C=n(2529),s=n(5684),i=n(9300),m=n(8372),p=n(1365),z=n(6579),t=n(4650),P=n(9350),M=n(6895),y=n(4006),B=n(9116),N=n(6616),L=n(7044),U=n(1664),F=n(1971),R=n(1102),K=n(6581),J=n(8231),I=n(6675),W=n(6672),Q=n(7570),Z=n(9947),Y=n(3667),H=n(3388),V=n(5851),w=n(7451),j=n(2166),G=n(7491),O=n(783),A=n(2722),D=n(6123),k=n(9169),tt=n(5681),nt=n(9597),et=n(5635),q=n(6903),ot=n(822),at=n(1793),ct=n(8227),rt=n(9180);function st(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-alert",6),t.NdJ("nzOnClose",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.onSuccessBannerClose())}),t.qZA()}}function lt(o,a){if(1&o&&t._UZ(0,"cvc-form-errors-alert",7),2&o){const e=t.oxw();t.Q6J("errors",e.errorMessages)}}function it(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"textarea",8),t.NdJ("ngModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.reason=c)}),t.qZA()}if(2&o){const e=t.oxw();t.Q6J("ngModel",e.reason)}}function gt(o,a){1&o&&t._UZ(0,"nz-option",13)}function ut(o,a){1&o&&t._UZ(0,"nz-option",14)}function pt(o,a){1&o&&t._UZ(0,"nz-option",15)}function dt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-select",9),t.NdJ("ngModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.newStatus=c)}),t.YNc(1,gt,1,0,"nz-option",10),t.YNc(2,ut,1,0,"nz-option",11),t.YNc(3,pt,1,0,"nz-option",12),t.qZA()}if(2&o){const e=t.oxw();t.Q6J("ngModel",e.newStatus),t.xp6(1),t.Q6J("ngIf","NEW"==e.currentStatus),t.xp6(1),t.Q6J("ngIf","NEW"!=e.currentStatus),t.xp6(1),t.Q6J("ngIf","NEW"==e.currentStatus)}}function mt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-spin",16)(1,"cvc-form-buttons")(2,"cvc-org-selector-btn-group",17),t.NdJ("selectedOrgChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.mostRecentOrg=c)}),t.TgZ(3,"button",18),t.NdJ("click",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.updateSourceSuggestionStatus())}),t._uU(4," Update Source Suggestion status "),t.qZA()()()()}if(2&o){const e=t.oxw();t.Q6J("nzSpinning",e.loading),t.xp6(2),t.Q6J("selectedOrg",e.mostRecentOrg),t.xp6(1),t.Q6J("disabled",e.loading)}}class ${constructor(a,e,r){this.viewerService=a,this.networkErrorService=e,this.updateSuggestionStatusGql=r,this.commentAddedEvent=new t.vpe,this.destroy$=new v.x,this.success=!1,this.errorMessages=[],this.loading=!1,this.viewerService.viewer$.pipe((0,A.R)(this.destroy$)).subscribe(c=>{this.organizations=c.organizations,this.mostRecentOrg=c.mostRecentOrg}),this.sourceSuggestionStatusMutator=new D.U(e)}selectOrg(a){this.mostRecentOrg=a}updateSourceSuggestionStatus(){if(this.newStatus){let a=this.sourceSuggestionStatusMutator.mutate(this.updateSuggestionStatusGql,{input:{id:this.sourceSuggestionId,newStatus:this.newStatus,reason:this.reason,organizationId:this.mostRecentOrg?.id}});a.submitSuccess$.pipe((0,A.R)(this.destroy$)).subscribe(e=>{this.resetForm(),this.success=!0}),a.submitError$.pipe((0,A.R)(this.destroy$)).subscribe(e=>{e&&(this.errorMessages=e)}),a.isSubmitting$.pipe((0,A.R)(this.destroy$)).subscribe(e=>{this.loading=e})}}resetForm(){this.commentText=""}onSuccessBannerClose(){this.resetForm()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}$.\u0275fac=function(a){return new(a||$)(t.Y36(P.a),t.Y36(k.Y),t.Y36(g.wRZ))},$.\u0275cmp=t.Xpm({type:$,selectors:[["cvc-update-source-suggestion-form"]],inputs:{sourceSuggestionId:"sourceSuggestionId",currentStatus:"currentStatus"},outputs:{commentAddedEvent:"commentAddedEvent"},decls:7,vars:2,consts:[["nzDirection","vertical"],["nzBanner","","nzMessage","Status Updated","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],[3,"errors",4,"ngIf"],["rows","4","nz-input","",3,"ngModel","ngModelChange",4,"nzSpaceItem"],["nzPlaceHolder","New Status","required","true",3,"ngModel","ngModelChange",4,"nzSpaceItem"],["nzTip","Submitting",3,"nzSpinning",4,"nzSpaceItem"],["nzBanner","","nzMessage","Status Updated","nzType","success","nzCloseable","",3,"nzOnClose"],[3,"errors"],["rows","4","nz-input","",3,"ngModel","ngModelChange"],["nzPlaceHolder","New Status","required","true",3,"ngModel","ngModelChange"],["nzValue","CURATED","nzLabel","Curated",4,"ngIf"],["nzValue","NEW","nzLabel","New",4,"ngIf"],["nzValue","REJECTED","nzLabel","Rejected",4,"ngIf"],["nzValue","CURATED","nzLabel","Curated"],["nzValue","NEW","nzLabel","New"],["nzValue","REJECTED","nzLabel","Rejected"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(a,e){1&a&&(t.TgZ(0,"nz-card")(1,"nz-space",0),t.YNc(2,st,1,0,"nz-alert",1),t.YNc(3,lt,1,1,"cvc-form-errors-alert",2),t.YNc(4,it,1,1,"textarea",3),t.YNc(5,dt,4,4,"nz-select",4),t.YNc(6,mt,5,3,"nz-spin",5),t.qZA()()),2&a&&(t.xp6(2),t.Q6J("ngIf",e.success),t.xp6(1),t.Q6J("ngIf",e.errorMessages.length))},dependencies:[M.O5,y.Fj,y.JJ,y.Q7,N.ix,L.w,U.dQ,F.bd,tt.W,nt.r,et.Zp,J.Ip,J.Vq,q.NU,q.$1,y.On,ot.V,at.m,ct.q,rt.Z],encapsulation:2});var b,_t=n(125),vt=n(5105),Ct=n(2635),zt=n(160);function ht(o,a){}function Tt(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-card",6),t.YNc(2,ht,0,0,"ng-template",7),t.qZA(),t.BQk()),2&o){t.oxw();const e=t.MAs(8),r=t.MAs(10),c=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",e)("nzExtra",r),t.xp6(1),t.Q6J("ngTemplateOutlet",c)}}function St(o,a){}const ft=function(o){return{height:o}};function xt(o,a){if(1&o&&(t.TgZ(0,"div",8)(1,"nz-card",9),t.YNc(2,St,0,0,"ng-template",7),t.qZA()()),2&o){const e=t.oxw(),r=t.MAs(8),c=t.MAs(10),l=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,ft,e.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",r)("nzExtra",c),t.xp6(1),t.Q6J("ngTemplateOutlet",l)}}function Mt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"cvc-clearable-input-filter",29),t.NdJ("inputModelChange",function(c){t.CHM(e);const l=t.oxw(2);return t.KtG(l.submitterInput=c)})("inputModelChange",function(){t.CHM(e);const c=t.oxw(2);return t.KtG(c.filterChange$.next())}),t.qZA()}if(2&o){const e=t.oxw(2);t.Q6J("inputModel",e.submitterInput)}}function It(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-tag",51),t._uU(2),t.ALo(3,"lowercase"),t.qZA(),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,e.status)," ")}}function Pt(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-tag",52),t._uU(2),t.ALo(3,"lowercase"),t.qZA(),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,e.status)," ")}}function yt(o,a){if(1&o&&t._UZ(0,"i",55),2&o){const e=t.oxw(2).$implicit,r=t.oxw(2);t.Q6J("nzTooltipTitle",r.isScrolling?"":e.reason)}}function Zt(o,a){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-tag",53),t.YNc(2,yt,1,1,"i",54),t._uU(3),t.ALo(4,"lowercase"),t.qZA(),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(2),t.Q6J("ngIf",e.reason&&""!=e.reason),t.xp6(1),t.hij(" ",t.lcZ(4,2,e.status)," ")}}function Ot(o,a){if(1&o&&t._UZ(0,"cvc-source-tag",56),2&o){const e=t.oxw().$implicit;t.Q6J("source",e.source)}}function At(o,a){if(1&o&&t._UZ(0,"cvc-user-tag",57),2&o){const e=t.oxw().$implicit;t.Q6J("user",e.user)}}function Et(o,a){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.source.displayType," ")}}function Ut(o,a){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.source.citationId," ")}}function Jt(o,a){if(1&o&&t._UZ(0,"cvc-molecular-profile-tag",58),2&o){const e=t.oxw().$implicit;t.Q6J("molecularProfile",e.molecularProfile)}}function Nt(o,a){if(1&o&&t._UZ(0,"cvc-disease-tag",59),2&o){const e=t.oxw().$implicit;t.Q6J("disease",e.disease)("truncateLongName",!0)}}const Qt=function(o,a,e){return{molecularProfileId:o,sourceId:a,diseaseId:e}};function bt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-button-group")(1,"button",60),t._UZ(2,"i",61),t.qZA(),t.TgZ(3,"button",62),t.NdJ("click",function(){t.CHM(e);const c=t.oxw().$implicit,l=t.oxw(2);return t.KtG(l.setFormInputs(c.id,c.status))}),t._UZ(4,"i",63),t.qZA()()}if(2&o){const e=t.oxw().$implicit,r=t.oxw(2),c=t.MAs(6);t.xp6(1),t.Q6J("queryParams",t.kEZ(7,Qt,null==e.molecularProfile?null:e.molecularProfile.id,null==e.source?null:e.source.id,null==e.disease?null:e.disease.id))("disabled",e.status!=r.status.New)("nzTooltipTitle",r.isScrolling?"":"Create Evidence with this Source")("nzTooltipMouseEnterDelay",1),t.xp6(2),t.Q6J("nzTooltipTitle",r.isScrolling?"":"Manage Source Suggestion")("nzTooltipMouseEnterDelay",1)("nzPopoverContent",c)}}function Dt(o,a){1&o&&(t.ynx(0),t._uU(1," -- "),t.BQk())}function $t(o,a){if(1&o&&(t.TgZ(0,"tr",39)(1,"td",40),t.ynx(2,41),t.ALo(3,"lowercase"),t.YNc(4,It,4,3,"ng-container",42),t.YNc(5,Pt,4,3,"ng-container",42),t.YNc(6,Zt,5,4,"ng-container",42),t.BQk(),t.qZA(),t.TgZ(7,"td",24),t.YNc(8,Ot,1,1,"cvc-source-tag",43),t.qZA(),t.TgZ(9,"td",44),t._UZ(10,"i",17),t.ALo(11,"entityColor"),t.qZA(),t.TgZ(12,"td"),t.YNc(13,At,1,1,"cvc-user-tag",45),t.qZA(),t.TgZ(14,"td"),t.YNc(15,Et,2,1,"ng-container",46),t.qZA(),t.TgZ(16,"td"),t.YNc(17,Ut,2,1,"ng-container",46),t.qZA(),t.TgZ(18,"td"),t.YNc(19,Jt,1,1,"cvc-molecular-profile-tag",47),t.qZA(),t.TgZ(20,"td"),t.YNc(21,Nt,1,2,"cvc-disease-tag",48),t.qZA(),t.TgZ(22,"td",49),t._uU(23),t.ALo(24,"date"),t.qZA(),t.TgZ(25,"td",50),t.YNc(26,bt,5,11,"nz-button-group",46),t.YNc(27,Dt,2,0,"ng-container",46),t.qZA()()),2&o){const e=a.$implicit,r=t.oxw(2);t.xp6(2),t.Q6J("ngSwitch",t.lcZ(3,15,e.status)),t.xp6(2),t.Q6J("ngSwitchCase","curated"),t.xp6(1),t.Q6J("ngSwitchCase","new"),t.xp6(1),t.Q6J("ngSwitchCase","rejected"),t.xp6(2),t.Q6J("ngIf",e.source),t.xp6(1),t.Q6J("nzTooltipTitle",r.isScrolling?"":e.initialComment),t.xp6(1),t.Q6J("nzTwotoneColor",t.lcZ(11,17,"Comment")),t.xp6(3),t.Q6J("ngIf",e.user),t.xp6(2),t.Q6J("ngIf",e.source),t.xp6(2),t.Q6J("ngIf",e.source),t.xp6(2),t.Q6J("ngIf",e.molecularProfile),t.xp6(2),t.Q6J("ngIf",e.disease),t.xp6(2),t.hij(" ",t.lcZ(24,19,e.createdAt)," "),t.xp6(3),t.Q6J("ngIf",r.isSignedIn),t.xp6(1),t.Q6J("ngIf",!r.isSignedIn)}}const Lt=function(){return[]},Ft=function(){return{x:"680px",y:"800px"}},Bt=function(){return["descend","ascend",null]};function Rt(o,a){if(1&o){const e=t.EpF();t.TgZ(0,"nz-table",10,11),t.NdJ("cvcTableScrollOnScroll",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.scrollEvent$.next(c))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",12),t.NdJ("nzSortOrderChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.sortChange$.next(c))}),t.TgZ(7,"tr",13)(8,"th",14),t._uU(9," Status "),t.qZA(),t.TgZ(10,"th",15),t._uU(11," Citation "),t.qZA(),t.TgZ(12,"th",16),t._UZ(13,"i",17),t.ALo(14,"entityColor"),t.qZA(),t.TgZ(15,"th",18),t._uU(16," Submitter "),t.qZA(),t.TgZ(17,"th",19),t._uU(18," Type "),t.qZA(),t.TgZ(19,"th",19),t._uU(20," ID "),t.qZA(),t.TgZ(21,"th",20),t._uU(22,"Molecular Profile"),t.qZA(),t.TgZ(23,"th",18),t._uU(24," Disease "),t.qZA(),t.TgZ(25,"th",21),t._uU(26," Submitted "),t.qZA(),t.TgZ(27,"th",22),t._uU(28," Actions "),t.qZA()(),t.TgZ(29,"tr",23)(30,"th",24)(31,"nz-select",25),t.NdJ("ngModelChange",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.filterChange$.next())})("ngModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.statusInput=c)}),t._UZ(32,"nz-option",26)(33,"nz-option",27)(34,"nz-option",28),t.qZA()(),t.TgZ(35,"th",24)(36,"cvc-clearable-input-filter",29),t.NdJ("inputModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.citationInput=c)})("inputModelChange",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.filterChange$.next())}),t.qZA()(),t._UZ(37,"th"),t.TgZ(38,"th"),t.YNc(39,Mt,1,1,"cvc-clearable-input-filter",30),t.qZA(),t.TgZ(40,"th")(41,"nz-select",31),t.NdJ("ngModelChange",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.filterChange$.next())})("ngModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.sourceTypeInput=c)}),t._UZ(42,"nz-option",32)(43,"nz-option",33),t.qZA()(),t.TgZ(44,"th")(45,"cvc-clearable-input-filter",34),t.NdJ("inputModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.citationIdInput=c)})("inputModelChange",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.filterChange$.next())}),t.qZA()(),t.TgZ(46,"th")(47,"cvc-clearable-input-filter",35),t.NdJ("inputModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.molecularProfileNameInput=c)})("inputModelChange",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.filterChange$.next())}),t.qZA()(),t.TgZ(48,"th")(49,"cvc-clearable-input-filter",36),t.NdJ("inputModelChange",function(c){t.CHM(e);const l=t.oxw();return t.KtG(l.diseaseNameInput=c)})("inputModelChange",function(){t.CHM(e);const c=t.oxw();return t.KtG(c.filterChange$.next())}),t.qZA()(),t._UZ(50,"th")(51,"th",37),t.qZA()(),t.TgZ(52,"tbody"),t.YNc(53,$t,28,21,"ng-template",38),t.qZA()()}if(2&o){const e=t.oxw();t.Q6J("nzData",t.lcZ(2,33,e.row$)||t.DdM(43,Lt))("nzLoading",!t.lcZ(3,35,e.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",e.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,37,e.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,39,e.scrollIndex$))("nzVirtualForTrackBy",e.trackByIndex)("nzScroll",t.DdM(44,Ft))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(10),t.Q6J("nzColumnKey",e.sortColumns.Citation)("nzSortFn",!0),t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(14,41,"Comment")),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.Submitter)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.SourceType)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.CitationId)("nzSortFn",!0),t.xp6(4),t.Q6J("nzColumnKey",e.sortColumns.DiseaseName)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",e.sortColumns.CreatedAt)("nzSortDirections",t.DdM(45,Bt))("nzSortFn",!0),t.xp6(6),t.Q6J("nzDropdownMatchSelectWidth",!1)("ngModel",e.statusInput),t.xp6(5),t.Q6J("inputModel",e.citationInput),t.xp6(3),t.Q6J("ngIf",!e.submitterId),t.xp6(2),t.Q6J("ngModel",e.sourceTypeInput),t.xp6(4),t.Q6J("inputModel",e.citationIdInput),t.xp6(2),t.Q6J("inputModel",e.molecularProfileNameInput),t.xp6(2),t.Q6J("inputModel",e.diseaseNameInput)}}function Kt(o,a){if(1&o&&t._UZ(0,"cvc-update-source-suggestion-form",65),2&o){const e=t.oxw(2);t.Q6J("currentStatus",e.selectedStatus)("sourceSuggestionId",e.selectedSourceId)}}function Wt(o,a){if(1&o&&t.YNc(0,Kt,1,2,"cvc-update-source-suggestion-form",64),2&o){const e=t.oxw();t.Q6J("ngIf",e.selectedSourceId&&e.selectedStatus)}}function Yt(o,a){}function Ht(o,a){if(1&o&&(t.ynx(0),t.YNc(1,Yt,0,0,"ng-template",7),t.BQk()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function Vt(o,a){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.cvcTitle," ")}}function wt(o,a){if(1&o&&(t._UZ(0,"i",66),t.ALo(1,"entityColor"),t.YNc(2,Ht,2,1,"ng-container",46),t.YNc(3,Vt,2,1,"ng-container",46),t.TgZ(4,"span",67),t._UZ(5,"cvc-table-counts",68),t.qZA()),2&o){const e=t.oxw();t.Q6J("nzTwotoneColor",t.lcZ(1,4,"Source")),t.xp6(2),t.Q6J("ngIf",e.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",e.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",e.connection$)}}function jt(o,a){1&o&&(t.TgZ(0,"nz-tag",71),t._UZ(1,"i",72),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Gt(o,a){if(1&o&&(t.YNc(0,jt,4,0,"nz-tag",69),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",70),t.ALo(3,"ngrxPush")),2&o){const e=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,e.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,e.noMoreRows$))}}let X=((b=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,e,r){this.gql=a,this.viewerService=e,this.cdr=r,this.initialPageSize=35,this.isScrolling=!1,this.statusInput=g.F3s.New,this.sortColumns=g.jw9,this.status=g.F3s,this.showManageForm=!1,this.noMoreRows$=new d.X(!1),this.scrollEvent$=new d.X("stop"),this.sortChange$=new v.x,this.filterChange$=new v.x,this.scrollIndex$=new v.x,this.viewerService.viewer$.pipe((0,T.U)(c=>c.signedIn),(0,u.t)(this)).subscribe(c=>this.isSignedIn=c)}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize,sourceId:this.sourceId,submitterId:this.submitterId,status:this.status.New,sortBy:{column:this.sortColumns.CreatedAt,direction:g.SrV.Desc}}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,z.j)("loading"),(0,S.x)(),(0,C.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,z.j)("loading"),(0,S.x)(),(0,s.T)(2)),this.connection$=this.result$.pipe((0,z.j)("data","sourceSuggestions"),(0,i.h)(f.ep)),this.row$=this.connection$.pipe((0,z.j)("edges"),(0,i.h)(f.ep),(0,T.U)(a=>a.map(e=>e.node))),this.pageInfo$=this.connection$.pipe((0,z.j)("pageInfo"),(0,i.h)(f.ep)),this.sortChange$.pipe((0,u.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,h._)(a)})}),this.filterChange$.pipe((0,m.b)(500),(0,u.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,T.U)(a=>"stop"!==a),(0,S.x)(),(0,u.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,i.h)(a=>"bottom"===a),(0,p.M)(this.pageInfo$),(0,T.U)(([a,e])=>e),(0,u.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({citationId:this.citationIdInput?+this.citationIdInput:void 0,sourceType:this.sourceTypeInput?this.sourceTypeInput:void 0,sourceId:this.sourceIdInput?+this.sourceIdInput:void 0,molecularProfileName:this.molecularProfileNameInput,diseaseName:this.diseaseNameInput,comment:this.commentInput,submitter:this.submitterInput,citation:this.citationInput,status:this.statusInput?this.statusInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}setFormInputs(a,e){this.selectedSourceId=a,this.selectedStatus=e,this.showManageForm=!0}closePopover(){this.showManageForm=!1}trackByIndex(a,e){return e?.id}}).\u0275fac=function(a){return new(a||b)(t.Y36(g.WRV),t.Y36(P.a),t.Y36(t.sBO))},b.\u0275cmp=t.Xpm({type:b,selectors:[["cvc-source-suggestions-table"]],inputs:{cvcHeight:"cvcHeight",sourceId:"sourceId",submitterId:"submitterId",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:11,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["manageSuggestionTemplate",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","100px","nzLeft",""],["nzWidth","425px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","24px","nzAlign","center","nz-tooltip","","nzTooltipTitle","Submitter Comment"],["nz-icon","","nzTheme","twotone","nzType","civic-comment",3,"nzTwotoneColor"],["nzWidth","200px",3,"nzColumnKey","nzSortFn"],["nzWidth","80px",3,"nzColumnKey","nzSortFn"],["nzWidth","290px"],["nzWidth","90px","nzSortOrder","descend",3,"nzColumnKey","nzSortDirections","nzSortFn"],["nzWidth","70px","nzRight","","nzAlign","center"],[1,"filter-row"],["nzLeft",""],["nzAllowClear","","nzSize","small","nzPlaceHolder","Any",3,"nzDropdownMatchSelectWidth","ngModel","ngModelChange"],["nzValue","NEW","nzLabel","new"],["nzValue","CURATED","nzLabel","curated"],["nzValue","REJECTED","nzLabel","rejected"],[3,"inputModel","inputModelChange"],[3,"inputModel","inputModelChange",4,"ngIf"],["nzAllowClear","","nzSize","small","nzPlaceHolder","Any",3,"ngModel","ngModelChange"],["nzValue","PUBMED","nzLabel","PubMed"],["nzValue","ASCO","nzLabel","ASCO"],["placeholderText","ID",3,"inputModel","inputModelChange"],["placeholderText","Molecular Profile",3,"inputModel","inputModelChange"],["placeholderText","Disease",3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],["nzLeft","","nzAlign","center"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"source",4,"ngIf"],["nzAlign","center","nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],[3,"user",4,"ngIf"],[4,"ngIf"],[3,"molecularProfile",4,"ngIf"],[3,"disease","truncateLongName",4,"ngIf"],["nzAlign","right"],["nzRight","","nzAlign","center",1,"button-cell"],["nzColor","green",1,"status-tag"],["nzColor","orange",1,"status-tag"],["nzColor","volcano",1,"status-tag"],["nz-icon","","nz-tooltip","","nzType","civic-comment",3,"nzTooltipTitle",4,"ngIf"],["nz-icon","","nz-tooltip","","nzType","civic-comment",3,"nzTooltipTitle"],[3,"source"],[3,"user"],[3,"molecularProfile"],[3,"disease","truncateLongName"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small","nz-tooltip","",3,"queryParams","disabled","nzTooltipTitle","nzTooltipMouseEnterDelay"],["nz-icon","","nzType","civic-evidence"],["nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Manage Source Suggestion","nzPopoverPlacement","left","nzPopoverTrigger","click","nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle","nzTooltipMouseEnterDelay","nzPopoverContent","click"],["nz-icon","","nzType","civic-source"],[3,"currentStatus","sourceSuggestionId",4,"ngIf"],[3,"currentStatus","sourceSuggestionId"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,e){if(1&a&&(t.YNc(0,Tt,3,3,"ng-container",0),t.YNc(1,xt,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Rt,54,46,"ng-template",null,2,t.W1O),t.YNc(5,Wt,1,1,"ng-template",null,3,t.W1O),t.YNc(7,wt,6,6,"ng-template",null,4,t.W1O),t.YNc(9,Gt,4,6,"ng-template",null,5,t.W1O)),2&a){const r=t.MAs(2);t.Q6J("ngIf",!e.cvcHeight)("ngIfElse",r)}},dependencies:[M.O5,M.tP,M.PC,M.RF,M.n9,y.JJ,y.On,B.rH,N.ix,N.fY,L.w,U.dQ,F.bd,R.Ls,K.lU,J.Ip,J.Vq,I.N8,I.qD,I.Uo,I._C,I.Om,I.p0,I.$Z,I.zu,I.qn,I.UX,W.j,Q.SY,Z.y,Y.B,H.H,V.D,w.q,j.p,G.n,O.T,$,_t.I,vt.p,M.i8,M.uU,Ct.fM,zt.a],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}.status-tag[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),b);X=(0,_.gn)([(0,u.c)()],X)},2832:(E,x,n)=>{n.d(x,{W:()=>O});var _=n(6895),h=n(4006),g=n(9116),u=n(8845),d=n(4126),v=n(4125),f=n(2994),T=n(8525),S=n(2811),C=n(7345),s=n(9444),i=n(3111),m=n(1433),p=n(9240),z=n(7008),t=n(6212),P=n(1971),M=n(6704),y=n(1825),B=n(4375),N=n(6616),L=n(3513),U=n(2635),F=n(5681),R=n(9597),K=n(5635),J=n(8231),I=n(4509),W=n(6903),Q=n(4650);class Z{}Z.\u0275fac=function(D){return new(D||Z)},Z.\u0275mod=Q.oAB({type:Z}),Z.\u0275inj=Q.cJS({imports:[_.ez,h.UX,U._N,U.pP,N.sL,P.vh,L.we,M.U5,F.j,R.L,K.o7,J.LV,W.zf,h.u5,t.X0,z.B,y.A,B.R,I.w]});var Y=n(1102),H=n(6581),V=n(6675),w=n(6672),j=n(7570),G=n(8823);class O{}O.\u0275fac=function(D){return new(D||O)},O.\u0275mod=Q.oAB({type:O}),O.\u0275inj=Q.cJS({imports:[_.ez,h.u5,U._N,U.pP,g.Bz,N.sL,P.vh,Y.PV,H.$6,J.LV,V.HQ,w.X,j.cg,G.ZJ,p.w,T.T,f.y,i.n,m.c,v.k,u.Q,z.B,s.s,S.s,Z,C.W,d.u]})},7677:(E,x,n)=>{n.d(x,{G:()=>t});var _=n(6895),h=n(9116),g=n(6581),u=n(6672),d=n(1102),v=n(897),f=n(2811),T=n(7043),S=n(9444),C=n(2635),s=n(1971),i=n(9194),m=n(4650);class p{}p.\u0275fac=function(M){return new(M||p)},p.\u0275mod=m.oAB({type:p}),p.\u0275inj=m.cJS({imports:[_.ez,C._N,C.pP,s.vh,i.q6,d.PV,f.s,T.Q,v.$,S.s]});var z=n(6429);class t{}t.\u0275fac=function(M){return new(M||t)},t.\u0275mod=m.oAB({type:t}),t.\u0275inj=m.cJS({imports:[_.ez,h.Bz,g.$6,u.X,d.PV,p,S.s,z.C]})},8645:(E,x,n)=>{n.d(x,{M:()=>m});var _=n(6895),h=n(9116),g=n(6672),u=n(1971),d=n(4989),v=n(9194),f=n(2635),T=n(1102),S=n(9444),C=n(4650);class s{}s.\u0275fac=function(z){return new(z||s)},s.\u0275mod=C.oAB({type:s}),s.\u0275inj=C.cJS({imports:[_.ez,f._N,f.pP,T.PV,u.vh,v.q6,S.s,d.X]});var i=n(6581);class m{}m.\u0275fac=function(z){return new(z||m)},m.\u0275mod=C.oAB({type:m}),m.\u0275inj=C.cJS({imports:[_.ez,h.Bz,T.PV,g.X,i.$6,s]})},4475:(E,x,n)=>{n.d(x,{F:()=>g});var h=n(4650);class g{transform(d,v="display-string"){return void 0===d?"":"display-string"===v?function _(u){switch(u){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return u}}(d):`civic-${d.replace(/_/g,"").toLowerCase()}`}}g.\u0275fac=function(d){return new(d||g)},g.\u0275pipe=h.Yjl({name:"therapyInteractionEnumDisplay",type:g,pure:!0})}}]); \ No newline at end of file diff --git a/server/public/9526.a5a4d10c8d4f9f43.js b/server/public/9526.a5a4d10c8d4f9f43.js deleted file mode 100644 index cb661959e..000000000 --- a/server/public/9526.a5a4d10c8d4f9f43.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9526],{9460:(B,z,o)=>{o.d(z,{i:()=>i});var r=o(6895),g=o(9116),m=o(6672),c=o(6581),n=o(1102),f=o(1698),h=o(9444),d=o(48),C=o(6429),_=o(4650);class i{}i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=_.oAB({type:i}),i.\u0275inj=_.cJS({imports:[r.ez,g.Bz,d.mS,m.X,c.$6,n.PV,f.f,h.s,C.C]})},9476:(B,z,o)=>{o.d(z,{L:()=>v});var r=o(6895),g=o(9116),m=o(6672),c=o(1102),n=o(3679),f=o(4989),h=o(9194),d=o(1971),C=o(2635),_=o(5473),i=o(4650);class p{}p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=i.oAB({type:p}),p.\u0275inj=i.cJS({imports:[r.ez,C._N,C.pP,d.vh,n.Jb,h.q6,f.X,_.H]});var u=o(6581);class v{}v.\u0275fac=function(y){return new(y||v)},v.\u0275mod=i.oAB({type:v}),v.\u0275inj=i.cJS({imports:[r.ez,g.Bz,m.X,c.PV,u.$6,p]})},7946:(B,z,o)=>{o.d(z,{x:()=>p});var r=o(6895),g=o(897),m=o(6672),c=o(6581),n=o(8845),f=o(9476),h=o(1229),d=o(7043),C=o(701),_=o(8645),i=o(4650);class p{}p.\u0275fac=function(v){return new(v||p)},p.\u0275mod=i.oAB({type:p}),p.\u0275inj=i.cJS({imports:[r.ez,m.X,c.$6,g.$,C.N,n.Q,f.L,h.U,d.Q,_.M]})},8645:(B,z,o)=>{o.d(z,{M:()=>u});var r=o(6895),g=o(9116),m=o(6672),c=o(1971),n=o(4989),f=o(9194),h=o(2635),d=o(1102),C=o(9444),_=o(4650);class i{}i.\u0275fac=function(x){return new(x||i)},i.\u0275mod=_.oAB({type:i}),i.\u0275inj=_.cJS({imports:[r.ez,h._N,h.pP,d.PV,c.vh,f.q6,C.s,n.X]});var p=o(6581);class u{}u.\u0275fac=function(x){return new(x||u)},u.\u0275mod=_.oAB({type:u}),u.\u0275inj=_.cJS({imports:[r.ez,g.Bz,d.PV,m.X,p.$6,i]})},4475:(B,z,o)=>{o.d(z,{F:()=>m});var g=o(4650);class m{transform(n,f="display-string"){return void 0===n?"":"display-string"===f?function r(c){switch(c){case"COMBINATION":return"Combination";case"SEQUENTIAL":return"Sequential";case"SUBSTITUTES":return"Substitutes";default:return c}}(n):`civic-${n.replace(/_/g,"").toLowerCase()}`}}m.\u0275fac=function(n){return new(n||m)},m.\u0275pipe=g.Yjl({name:"therapyInteractionEnumDisplay",type:m,pure:!0})},8379:(B,z,o)=>{o.r(z),o.d(z,{TherapiesModule:()=>D});var r=o(6895),g=o(9116),m=o(8675),c=o(6579),n=o(4650),f=o(7630),h=o(1102),d=o(5655),C=o(6550),_=o(8992),i=o(2635),p=o(160);function u(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",6),n._uU(1),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.Q6J("href",e.therapyUrl),n.xp6(1),n.hij(" ",e.ncitId," ")}}function v(t,a){if(1&t&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,u,2,2,"cvc-link-tag",5),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("ngIf",e.therapyUrl)}}function x(t,a){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"nz-page-header",2)(3,"nz-page-header-title"),n._UZ(4,"i",3),n.ALo(5,"entityColor"),n._uU(6),n.qZA(),n.YNc(7,v,2,1,"nz-page-header-extra",0),n.TgZ(8,"nz-page-header-content")(9,"div",4),n._UZ(10,"router-outlet"),n.qZA()()(),n.BQk()),2&t){const e=a.ngIf;n.xp6(1),n.Q6J("displayName",e.name),n.xp6(3),n.Q6J("nzTwotoneColor",n.lcZ(5,4,"Therapy")),n.xp6(2),n.hij(" ",e.name," "),n.xp6(1),n.Q6J("ngIf",e.ncitId)}}class y{constructor(a,e){this.route=a,this.gql=e,this.routeSub=this.route.params.subscribe(s=>{this.therapyId=+s.therapyId,this.queryRef=this.gql.watch({therapyId:this.therapyId});let l=this.queryRef.valueChanges;this.loading$=l.pipe((0,c.j)("loading"),(0,m.O)(!0)),this.therapy$=l.pipe((0,c.j)("data","therapy"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}y.\u0275fac=function(a){return new(a||y)(n.Y36(g.gz),n.Y36(f.hVB))},y.\u0275cmp=n.Xpm({type:y,selectors:[["cvc-therapies-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzTheme","twotone","nzType","civic-therapy",3,"nzTwotoneColor"],[1,"content"],["tooltip","View in the NCIthesaurus",3,"href",4,"ngIf"],["tooltip","View in the NCIthesaurus",3,"href"]],template:function(a,e){1&a&&(n.YNc(0,x,11,6,"ng-container",0),n.ALo(1,"ngrxPush")),2&a&&n.Q6J("ngIf",n.lcZ(1,1,e.therapy$))},dependencies:[r.O5,g.lC,h.Ls,d.$O,d.u9,d.u5,d.Jp,C.l,_.I,i.fM,p.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var b,M=o(3679),P=o(8823),N=o(6903),K=o(6616),en=o(7044),sn=o(655),ln=o(3154),w=o(9933),H=o(1135),X=o(7579),G=o(3240),k=o(1884),pn=o(2529),gn=o(5684),V=o(9300),q=o(4004),hn=o(8372),dn=o(1365),W=o(1971),T=o(6675),O=o(6672),F=o(7570),mn=o(5851),fn=o(7451),_n=o(2166),un=o(5797),vn=o(3388),zn=o(3667),Cn=o(9947);function Tn(t,a){}function xn(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",5),n.YNc(2,Tn,0,0,"ng-template",6),n.qZA(),n.BQk()),2&t){n.oxw();const e=n.MAs(6),s=n.MAs(8),l=n.MAs(4);n.xp6(1),n.Q6J("nzTitle",e)("nzExtra",s),n.xp6(1),n.Q6J("ngTemplateOutlet",l)}}function yn(t,a){}const Mn=function(t){return{height:t}};function In(t,a){if(1&t&&(n.TgZ(0,"div",7)(1,"nz-card",8),n.YNc(2,yn,0,0,"ng-template",6),n.qZA()()),2&t){const e=n.oxw(),s=n.MAs(6),l=n.MAs(8),I=n.MAs(4);n.Q6J("ngStyle",n.VKq(4,Mn,e.cvcHeight)),n.xp6(1),n.Q6J("nzTitle",s)("nzExtra",l),n.xp6(1),n.Q6J("ngTemplateOutlet",I)}}function Pn(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",27),n._uU(1),n.qZA()),2&t){const e=n.oxw().$implicit;n.Q6J("href",e.therapyUrl),n.xp6(1),n.hij(" ",e.ncitId," ")}}function On(t,a){1&t&&n._uU(0,"--")}function Zn(t,a){if(1&t&&(n.TgZ(0,"tr",22)(1,"td",18),n._UZ(2,"cvc-therapy-tag",23),n.qZA(),n.TgZ(3,"td"),n.YNc(4,Pn,2,2,"cvc-link-tag",24),n.YNc(5,On,1,0,"ng-template",null,25,n.W1O),n.qZA(),n.TgZ(7,"td",26),n._uU(8),n.qZA(),n.TgZ(9,"td",26),n._uU(10),n.qZA()()),2&t){const e=a.$implicit,s=n.MAs(6);n.xp6(2),n.Q6J("therapy",e),n.xp6(2),n.Q6J("ngIf",e.ncitId)("ngIfElse",s),n.xp6(4),n.hij(" ",e.evidenceCount," "),n.xp6(2),n.hij(" ",e.assertionCount," ")}}const bn=function(){return[]},An=function(){return{x:"680px",y:"800px"}},on=function(){return["descend","ascend",null]};function Sn(t,a){if(1&t){const e=n.EpF();n.TgZ(0,"nz-table",9,10),n.NdJ("cvcTableScrollOnScroll",function(l){n.CHM(e);const I=n.oxw();return n.KtG(I.scrollEvent$.next(l))}),n.ALo(2,"ngrxPush"),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.ALo(5,"ngrxPush"),n.TgZ(6,"thead",11),n.NdJ("nzSortOrderChange",function(l){n.CHM(e);const I=n.oxw();return n.KtG(I.sortChange$.next(l))}),n.TgZ(7,"tr")(8,"th",12),n._uU(9," Name "),n.qZA(),n.TgZ(10,"th",13),n._uU(11," NCIt ID "),n.qZA(),n.TgZ(12,"th",14),n._UZ(13,"i",15),n._uU(14," Count "),n.qZA(),n.TgZ(15,"th",16),n._UZ(16,"i",17),n._uU(17," Count "),n.qZA()(),n.TgZ(18,"tr")(19,"th",18)(20,"cvc-clearable-input-filter",19),n.NdJ("inputModelChange",function(l){n.CHM(e);const I=n.oxw();return n.KtG(I.nameFilter=l)})("inputModelChange",function(){n.CHM(e);const l=n.oxw();return n.KtG(l.filterChange$.next())}),n.qZA()(),n.TgZ(21,"th")(22,"cvc-clearable-input-filter",19),n.NdJ("inputModelChange",function(l){n.CHM(e);const I=n.oxw();return n.KtG(I.ncitIdFilter=l)})("inputModelChange",function(){n.CHM(e);const l=n.oxw();return n.KtG(l.filterChange$.next())}),n.qZA()(),n._UZ(23,"th",20)(24,"th",20),n.qZA()(),n.TgZ(25,"tbody"),n.YNc(26,Zn,11,5,"ng-template",21),n.qZA()()}if(2&t){const e=n.oxw();n.Q6J("nzData",n.lcZ(2,23,e.row$)||n.DdM(31,bn))("nzLoading",!n.lcZ(3,25,e.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",e.queryRef)("cvcTableScrollPageInfo",n.lcZ(4,27,e.pageInfo$))("cvcTableScrollToIndex",n.lcZ(5,29,e.scrollIndex$))("nzVirtualForTrackBy",e.trackByIndex)("nzScroll",n.DdM(32,An))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(8),n.Q6J("nzColumnKey",e.sortColumns.Name)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",e.sortColumns.NcitId)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",e.sortColumns.EvidenceItemCount)("nzSortDirections",n.DdM(33,on))("nzSortFn",!0),n.xp6(3),n.Q6J("nzColumnKey",e.sortColumns.AssertionCount)("nzSortDirections",n.DdM(34,on))("nzSortFn",!0),n.xp6(5),n.Q6J("inputModel",e.nameFilter),n.xp6(2),n.Q6J("inputModel",e.ncitIdFilter)}}function En(t,a){}function Jn(t,a){if(1&t&&(n.ynx(0),n.YNc(1,En,0,0,"ng-template",6),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function Un(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.cvcTitle," ")}}function Qn(t,a){if(1&t&&(n.YNc(0,Jn,2,1,"ng-container",28),n.YNc(1,Un,2,1,"ng-container",28),n.TgZ(2,"span",29),n._UZ(3,"cvc-table-counts",30),n.qZA()),2&t){const e=n.oxw();n.Q6J("ngIf",e.cvcTitleTemplate),n.xp6(1),n.Q6J("ngIf",e.cvcTitle),n.xp6(2),n.Q6J("cvcTableCountsConnection",e.connection$)}}function Dn(t,a){1&t&&(n.TgZ(0,"nz-tag",33),n._UZ(1,"i",34),n.TgZ(2,"span"),n._uU(3,"Loading\u2026"),n.qZA()())}function Bn(t,a){if(1&t&&(n.YNc(0,Dn,4,0,"nz-tag",31),n.ALo(1,"ngrxPush"),n._UZ(2,"cvc-no-more-rows",32),n.ALo(3,"ngrxPush")),2&t){const e=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,e.moreLoading$)),n.xp6(2),n.Q6J("cvcShowTag",n.lcZ(3,4,e.noMoreRows$))}}let nn=((b=class{set initialUserFilters(a){a&&Object.assign(this,a)}constructor(a,e){this.gql=a,this.cdr=e,this.truncateLongName=!1,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=f.HUC,this.noMoreRows$=new H.X(!1),this.scrollEvent$=new H.X("stop"),this.sortChange$=new X.x,this.filterChange$=new X.x,this.scrollIndex$=new X.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,c.j)("loading"),(0,k.x)(),(0,pn.o)(a=>!1!==a,!0)),this.moreLoading$=this.result$.pipe((0,c.j)("loading"),(0,k.x)(),(0,gn.T)(2)),this.connection$=this.result$.pipe((0,c.j)("data","therapies"),(0,V.h)(G.ep)),this.row$=this.connection$.pipe((0,c.j)("edges"),(0,V.h)(G.ep),(0,q.U)(a=>a.map(e=>e.node))),this.pageInfo$=this.connection$.pipe((0,c.j)("pageInfo"),(0,V.h)(G.ep)),this.sortChange$.pipe((0,w.t)(this)).subscribe(a=>{this.queryRef.refetch({sortBy:(0,ln._)(a)})}),this.filterChange$.pipe((0,hn.b)(500),(0,w.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,q.U)(a=>"stop"!==a),(0,k.x)(),(0,w.t)(this)).subscribe(a=>{this.isScrolling=a,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,V.h)(a=>"bottom"===a),(0,dn.M)(this.pageInfo$),(0,q.U)(([a,e])=>e),(0,w.t)(this)).subscribe(a=>{a.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({name:this.nameFilter,ncitId:this.ncitIdFilter}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(a,e){return e?.id}}).\u0275fac=function(a){return new(a||b)(n.Y36(f.vz2),n.Y36(n.sBO))},b.\u0275cmp=n.Xpm({type:b,selectors:[["cvc-therapies-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",truncateLongName:"truncateLongName",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],["nzWidth","400px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100%",3,"nzColumnKey","nzSortFn"],["nzWidth","75px","nzRight","","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortDirections","nzSortFn"],["nz-icon","","nzType","civic-evidence"],["nzWidth","75px","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortDirections","nzSortFn"],["nz-icon","","nzType","civic-assertion"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"therapy"],[3,"href",4,"ngIf","ngIfElse"],["noNcit",""],["nzRight","","nzAlign","right"],[3,"href"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(a,e){if(1&a&&(n.YNc(0,xn,3,3,"ng-container",0),n.YNc(1,In,3,6,"ng-template",null,1,n.W1O),n.YNc(3,Sn,27,35,"ng-template",null,2,n.W1O),n.YNc(5,Qn,4,3,"ng-template",null,3,n.W1O),n.YNc(7,Bn,4,6,"ng-template",null,4,n.W1O)),2&a){const s=n.MAs(2);n.Q6J("ngIf",!e.cvcHeight)("ngIfElse",s)}},dependencies:[r.O5,r.tP,r.PC,en.w,W.bd,h.Ls,T.N8,T.qD,T.Uo,T._C,T.Om,T.p0,T.$Z,T.zu,T.qn,T.UX,O.j,F.SY,mn.D,fn.q,_n.p,un.T,C.l,vn.H,zn.B,Cn.y,i.fM],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),b);function Nn(t,a){1&t&&(n.TgZ(0,"a",14),n._UZ(1,"i",15),n._uU(2," View Therapy Attribute Docs "),n.qZA())}function wn(t,a){1&t&&(n.TgZ(0,"a",16),n._UZ(1,"i",15),n._uU(2," View Therapy Curation Docs "),n.qZA())}nn=(0,sn.gn)([(0,w.c)()],nn);class ${constructor(){}ngOnInit(){}}$.\u0275fac=function(a){return new(a||$)},$.\u0275cmp=n.Xpm({type:$,selectors:[["therapies-home"]],decls:20,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-therapy",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html#curating-therapies","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Therapies"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/therapy.html#curating-therapies","target","_blank","nzSize","small","nzBlock",""]],template:function(a,e){1&a&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),n._UZ(5,"i",3),n.ALo(6,"entityColor"),n.qZA(),n.TgZ(7,"nz-col",4)(8,"h2"),n._uU(9,"Therapies"),n.qZA(),n.TgZ(10,"p",5),n._uU(11," CIViC Therapies are associated with Predictive Evidence Types, and describe the sensitivity, resistance or adverse response to treatment. Therapies may also be used to describe more general treatment types and regimes, such as FOLFOX or Radiation. "),n.qZA()(),n.TgZ(12,"nz-col",6)(13,"nz-space",7),n.YNc(14,Nn,3,0,"a",8),n.YNc(15,wn,3,0,"a",9),n.qZA()()(),n.TgZ(16,"div",10)(17,"div",11)(18,"div",12),n._UZ(19,"cvc-therapies-table",13),n.qZA()()()()()),2&a&&(n.xp6(5),n.Q6J("nzTwotoneColor",n.lcZ(6,3,"Therapy")),n.xp6(5),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24))},dependencies:[h.Ls,d.$O,d.u5,M.t3,M.SK,P.ZU,N.NU,N.$1,K.ix,en.w,_.I,nn,p.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var Z=o(9194),an=o(6715),Fn=o(3392),$n=o(3756);function Ln(t,a){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.chemInfo.chebiDefinition," ")}}function Rn(t,a){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=a.$implicit;n.xp6(1),n.Oqu(e)}}function jn(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,Rn,2,1,"nz-tag",13),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",e.chemInfo.indications)}}function Yn(t,a){if(1&t&&(n.TgZ(0,"nz-descriptions-item",21),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("nzSpan",2),n.xp6(1),n.hij(" ",e.chemInfo.inchikey," ")}}function Kn(t,a){if(1&t&&(n.TgZ(0,"nz-descriptions-item",22),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.chemInfo.firstApproval," ")}}function Vn(t,a){if(1&t&&(n.TgZ(0,"nz-descriptions-item",23),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.chemInfo.chemblMoleculeType," ")}}function Wn(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-descriptions-item",24),n._uU(2),n.qZA(),n.TgZ(3,"nz-descriptions-item",25),n._uU(4),n.qZA(),n.BQk()),2&t){const e=a.$implicit;n.xp6(2),n.hij(" ",e.code," "),n.xp6(2),n.hij(" ",e.description," ")}}function Hn(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-descriptions-item",26),n._uU(2),n.qZA(),n.TgZ(3,"nz-descriptions-item",27),n._uU(4),n.qZA(),n.BQk()),2&t){const e=a.$implicit;n.xp6(2),n.hij(" ",e.code," "),n.xp6(2),n.hij(" ",e.description," ")}}function Xn(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",28),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("href","https://www.ebi.ac.uk/chebi/searchId.do?chebiId="+e.chemInfo.chebiId),n.xp6(1),n.hij(" ",e.chemInfo.chebiId," ")}}function Gn(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",29),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("href","https://www.ebi.ac.uk/chembl/compound_report_card/"+e.chemInfo.chemblId),n.xp6(1),n.hij(" ",e.chemInfo.chemblId," ")}}function kn(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",30),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("href","https://pubchem.ncbi.nlm.nih.gov/compound/"+e.chemInfo.pubchemCid),n.xp6(1),n.hij(" PubChem ",e.chemInfo.pubchemCid," ")}}function qn(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",31),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("href","https://www.pharmgkb.org/chemical/"+e.chemInfo.pharmgkbId),n.xp6(1),n.hij(" PHARMGKB ",e.chemInfo.pharmgkbId," ")}}function nt(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",32),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("href","https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm="+e.chemInfo.rxnorm),n.xp6(1),n.hij(" RxNav ",e.chemInfo.rxnorm," ")}}function tt(t,a){if(1&t&&(n.TgZ(0,"cvc-link-tag",33),n._uU(1),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("href","https://go.drugbank.com/drugs/"+e.chemInfo.drugbankId),n.xp6(1),n.hij(" DrugBank ",e.chemInfo.drugbankId," ")}}function et(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",2)(2,"div",3)(3,"nz-row",4)(4,"nz-col",5)(5,"nz-descriptions",6)(6,"nz-descriptions-item",7),n.YNc(7,Ln,2,1,"ng-container",8),n.qZA(),n.TgZ(8,"nz-descriptions-item",9),n.YNc(9,jn,3,1,"ng-container",8),n.qZA(),n.YNc(10,Yn,2,2,"nz-descriptions-item",10),n.qZA()(),n.TgZ(11,"nz-col",5)(12,"nz-descriptions",6),n.YNc(13,Kn,2,1,"nz-descriptions-item",11),n.YNc(14,Vn,2,1,"nz-descriptions-item",12),n.YNc(15,Wn,5,2,"ng-container",13),n.YNc(16,Hn,5,2,"ng-container",13),n.TgZ(17,"nz-descriptions-item",14)(18,"cvc-tag-list"),n.YNc(19,Xn,2,2,"cvc-link-tag",15),n.YNc(20,Gn,2,2,"cvc-link-tag",16),n.YNc(21,kn,2,2,"cvc-link-tag",17),n.YNc(22,qn,2,2,"cvc-link-tag",18),n.YNc(23,nt,2,2,"cvc-link-tag",19),n.YNc(24,tt,2,2,"cvc-link-tag",20),n.qZA()()()()()()(),n.BQk()),2&t){const e=n.oxw(),s=n.MAs(2);n.xp6(3),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",2),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(1),n.Q6J("ngIf",e.chemInfo.chebiDefinition)("ngIfElse",s),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(1),n.Q6J("ngIf",e.chemInfo.indications.length>0)("ngIfElse",s),n.xp6(1),n.Q6J("ngIf",e.chemInfo.inchikey),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(1),n.Q6J("nzBordered",!0)("nzColumn",2),n.xp6(1),n.Q6J("ngIf",e.chemInfo.firstApproval),n.xp6(1),n.Q6J("ngIf",e.chemInfo.chemblMoleculeType),n.xp6(1),n.Q6J("ngForOf",e.chemInfo.fdaEpcCodes),n.xp6(1),n.Q6J("ngForOf",e.chemInfo.fdaMoaCodes),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("ngIf",e.chemInfo.chebiId),n.xp6(1),n.Q6J("ngIf",e.chemInfo.chemblId),n.xp6(1),n.Q6J("ngIf",e.chemInfo.pubchemCid),n.xp6(1),n.Q6J("ngIf",e.chemInfo.pharmgkbId),n.xp6(1),n.Q6J("ngIf",e.chemInfo.rxnorm),n.xp6(1),n.Q6J("ngIf",e.chemInfo.drugbankId)}}function ot(t,a){1&t&&(n.TgZ(0,"span",34),n._uU(1,"Not Found"),n.qZA())}class L{constructor(){this.tabIndex=new H.X(0)}tabChange(a){this.tabIndex.next(a)}ngOnDestroy(){this.tabIndex.unsubscribe()}}L.\u0275fac=function(a){return new(a||L)},L.\u0275cmp=n.Xpm({type:L,selectors:[["cvc-my-chem-info"]],inputs:{chemInfo:"chemInfo"},decls:3,vars:1,consts:[[4,"ngIf"],["noValue",""],["nzTitle","MyChemInfo"],[1,"tab-padding"],[3,"nzGutter"],[3,"nzSpan"],["nzSize","small",3,"nzBordered","nzColumn"],["nzTitle","ChEBI Definition",3,"nzSpan"],[4,"ngIf","ngIfElse"],["nzTitle","Inidications",3,"nzSpan"],["nzTitle","InChIKey",3,"nzSpan",4,"ngIf"],["nzTitle","First Approval",4,"ngIf"],["nzTitle","Molecule Type",4,"ngIf"],[4,"ngFor","ngForOf"],["nzTitle","External Identifiers",3,"nzSpan"],["tooltip","View in ChEBI",3,"href",4,"ngIf"],["tooltip","View in ChEMBL",3,"href",4,"ngIf"],["tooltip","View in PubChem",3,"href",4,"ngIf"],["tooltip","View in PHARMGKB",3,"href",4,"ngIf"],["tooltip","View in RxNav",3,"href",4,"ngIf"],["tooltip","View in DrugBank",3,"href",4,"ngIf"],["nzTitle","InChIKey",3,"nzSpan"],["nzTitle","First Approval"],["nzTitle","Molecule Type"],["nzTitle","FDA EPC Code"],["nzTitle","FDA EPC Description"],["nzTitle","FDA MOA Code"],["nzTitle","FDA MOA Description"],["tooltip","View in ChEBI",3,"href"],["tooltip","View in ChEMBL",3,"href"],["tooltip","View in PubChem",3,"href"],["tooltip","View in PHARMGKB",3,"href"],["tooltip","View in RxNav",3,"href"],["tooltip","View in DrugBank",3,"href"],["nz-typography","","nzType","secondary"]],template:function(a,e){1&a&&(n.YNc(0,et,25,25,"ng-container",0),n.YNc(1,ot,2,0,"ng-template",null,1,n.W1O)),2&a&&n.Q6J("ngIf",e.chemInfo)},dependencies:[r.sg,r.O5,W.bd,Z.R7,Z.uj,M.t3,M.SK,O.j,P.ZU,C.l,an.$],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]});var at=o(4557);function it(t,a){if(1&t&&(n.TgZ(0,"nz-tag",12),n._uU(1),n.ALo(2,"truncate"),n.qZA()),2&t){const e=a.$implicit;n.Q6J("nzTooltipTitle",e),n.xp6(1),n.hij(" ",n.lcZ(2,2,e)," ")}}function rt(t,a){if(1&t&&(n.TgZ(0,"cvc-tag-list"),n.YNc(1,it,3,4,"nz-tag",11),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",e.therapyAliases)}}function ct(t,a){1&t&&(n.TgZ(0,"i",13),n._uU(1,"None specified"),n.qZA())}const st=function(){return[8,16]};function lt(t,a){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-row",2),n._UZ(2,"cvc-my-chem-info",3),n.TgZ(3,"nz-col",4)(4,"nz-descriptions",5)(5,"nz-descriptions-item",6),n.YNc(6,rt,2,1,"cvc-tag-list",7),n.YNc(7,ct,2,0,"ng-template",null,8,n.W1O),n.qZA()()(),n.TgZ(9,"nz-col",4),n._UZ(10,"cvc-evidence-table",9),n.qZA(),n.TgZ(11,"nz-col",4),n._UZ(12,"cvc-assertions-table",10),n.qZA()(),n.BQk()),2&t){const e=a.ngIf,s=n.MAs(8);n.xp6(1),n.Q6J("nzGutter",n.DdM(12,st)),n.xp6(1),n.Q6J("chemInfo",e.myChemInfo),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",e.therapyAliases.length>0)("ngIfElse",s),n.xp6(3),n.Q6J("nzSpan",24),n.xp6(1),n.MGl("cvcTitle","Evidence associated with ",e.name,""),n.Q6J("therapyId",e.id),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.MGl("cvcTitle","Assertions associated with ",e.name,""),n.Q6J("therapyId",e.id)}}class R{constructor(a,e){this.route=a,this.gql=e,this.routeSub=this.route.params.subscribe(s=>{this.therapyId=+s.therapyId,this.queryRef=this.gql.watch({therapyId:this.therapyId});let l=this.queryRef.valueChanges;this.loading$=l.pipe((0,c.j)("loading"),(0,m.O)(!0)),this.therapy$=l.pipe((0,c.j)("data","therapy"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}R.\u0275fac=function(a){return new(a||R)(n.Y36(g.gz),n.Y36(f.Gnp))},R.\u0275cmp=n.Xpm({type:R,selectors:[["cvc-therapies-summary"]],decls:3,vars:3,consts:[[1,"summary-container"],[4,"ngIf"],[3,"nzGutter"],[3,"chemInfo"],[3,"nzSpan"],["nzSize","small","nzLayout","vertical","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","1"],[4,"ngIf","ngIfElse"],["noAliases",""],["cvcHeight","400px",3,"therapyId","cvcTitle"],[3,"therapyId","cvcTitle"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"],["nz-typography","","nzType","secondary"]],template:function(a,e){1&a&&(n.TgZ(0,"div",0),n.YNc(1,lt,13,13,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&a&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,e.therapy$)))},dependencies:[r.sg,r.O5,M.t3,M.SK,P.ZU,O.j,Z.R7,Z.uj,F.SY,an.$,Fn.a,$n.x,L,i.fM,at.W],styles:["[_nghost-%COMP%]{display:block}.summary-container[_ngcontent-%COMP%]{margin-top:8px}.top-table[_ngcontent-%COMP%]{max-height:500px}"]});class j{constructor(){}ngOnInit(){}}j.\u0275fac=function(a){return new(a||j)},j.\u0275cmp=n.Xpm({type:j,selectors:[["cvc-therapies"]],decls:1,vars:0,template:function(a,e){1&a&&n._UZ(0,"router-outlet")},dependencies:[g.lC],encapsulation:2});const pt=[{path:"",component:j,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:$,data:{breadcrumb:"Home"}},{path:":therapyId",component:y,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:R,data:{breadcrumb:"Summary"}}]}]}];class A{}A.\u0275fac=function(a){return new(a||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({imports:[g.Bz.forChild(pt),g.Bz]});var rn=o(5630),tn=o(4989),Y=o(9444);class S{}S.\u0275fac=function(a){return new(a||S)},S.\u0275mod=n.oAB({type:S}),S.\u0275inj=n.cJS({imports:[r.ez,g.Bz,i._N,i.pP,h.PV,d.KJ,N.zf,Z.q6,O.X,F.cg,tn.X,rn.D,Y.s]});var gt=o(4125),ht=o(3111),dt=o(1433),mt=o(9240),ft=o(8525),_t=o(2994),ut=o(701);class E{}E.\u0275fac=function(a){return new(a||E)},E.\u0275mod=n.oAB({type:E}),E.\u0275inj=n.cJS({imports:[r.ez,i._N,i.pP,K.sL,W.vh,h.PV,h.PV,T.HQ,O.X,F.cg,P.ZJ,Y.s,ht.n,dt.c,gt.k,ut.N,tn.X,_t.y,ft.T,mt.w]});class J{}J.\u0275fac=function(a){return new(a||J)},J.\u0275mod=n.oAB({type:J}),J.\u0275inj=n.cJS({imports:[r.ez,h.PV,d.KJ,M.Jb,P.ZJ,N.zf,K.sL,Y.s,rn.D,E]});var vt=o(767),zt=o(9441),Ct=o(9241),Tt=o(317),cn=o(897),xt=o(3513);class U{}U.\u0275fac=function(a){return new(a||U)},U.\u0275mod=n.oAB({type:U}),U.\u0275inj=n.cJS({imports:[r.ez,xt.we,T.HQ,W.vh,Z.q6,M.Jb,O.X,P.ZJ,Y.s,tn.X,cn.$]});class Q{}Q.\u0275fac=function(a){return new(a||Q)},Q.\u0275mod=n.oAB({type:Q}),Q.\u0275inj=n.cJS({imports:[r.ez,i._N,i.pP,M.Jb,N.zf,P.ZJ,K.sL,O.X,h.PV,Z.q6,F.cg,cn.$,Ct.h,Y.s,vt.Q,zt.s,U,Tt.s]});class D{}D.\u0275fac=function(a){return new(a||D)},D.\u0275mod=n.oAB({type:D}),D.\u0275inj=n.cJS({imports:[r.ez,g.Bz,A,J,S,Q]})}}]); \ No newline at end of file diff --git a/server/public/9636.2ad9d4a0edf91a15.js b/server/public/9636.2ad9d4a0edf91a15.js deleted file mode 100644 index 22066b644..000000000 --- a/server/public/9636.2ad9d4a0edf91a15.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9636],{9636:(ie,L,a)=>{a.r(L),a.d(L,{EvidenceDetailModule:()=>b});var p=a(6895),u=a(2635),k=a(5630),f=a(6903),A=a(8823),U=a(4682),z=a(5655),Z=a(6616),h=a(6672),y=a(1102),d=a(9116),v=a(7630),B=a(8675),$=a(2722),_=a(6579),W=a(7579),G=a(1135),e=a(4650),H=a(9350),R=a(9597),Y=a(7044),r=a(1664),s=a(3679),c=a(8992),g=a(5623),N=a(8168),ae=a(9077),oe=a(7914),ce=a(3217),se=a(2233),re=a(759),K=a(5105),le=a(160);function pe(n,i){if(1&n&&(e.TgZ(0,"span",8)(1,"strong"),e._uU(2),e.qZA(),e._uU(3," Parents:"),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(2),e.Oqu(t.name)}}function ge(n,i){if(1&n&&(e.TgZ(0,"span",9),e._UZ(1,"cvc-molecular-profile-tag",10),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!1)}}function de(n,i){1&n&&(e.TgZ(0,"nz-space",5),e.YNc(1,pe,4,1,"span",6),e.YNc(2,ge,2,2,"span",7),e.qZA())}function me(n,i){1&n&&(e.TgZ(0,"nz-tag",25),e._uU(1,"Flagged"),e.qZA()),2&n&&e.Q6J("nzColor","red")}const ve=function(n){return["/evidence",n,"revise"]};function ue(n,i){if(1&n&&(e.TgZ(0,"button",27,28),e._uU(2," Revise "),e.qZA()),2&n){const t=e.MAs(1),o=e.oxw(3).ngIf;e.Q6J("routerLink",e.VKq(2,ve,o.id))("nzType",t.isActive?"primary":"default")}}function _e(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,ue,3,4,"button",26),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function ze(n,i){if(1&n&&(e.TgZ(0,"button",30,28),e._uU(2," Flag "),e.qZA()),2&n){const t=e.MAs(1);e.Q6J("nzType",t.isActive?"primary":"default")}}function fe(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,ze,3,1,"button",29),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function he(n,i){if(1&n&&e._UZ(0,"cvc-entity-subscription-button",32),2&n){const t=e.oxw(2).ngrxLet,o=e.oxw(2);e.Q6J("viewer",t)("subscribableId",o.subscribable.id)}}function ye(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,he,1,2,"cvc-entity-subscription-button",31),e.qZA()),2&n){const t=e.oxw().ngrxLet,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.signedIn&&o.subscribable)}}function xe(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"cvc-revert-entity-button",34),e.NdJ("onReverted",function(l){e.CHM(t);const m=e.oxw(4);return e.KtG(m.onRevertCompleted(l))}),e.qZA()}if(2&n){const t=e.oxw(2).ngrxLet,o=e.oxw().ngIf;e.Q6J("viewer",t)("entityId",o.id)}}function Te(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,xe,1,2,"cvc-revert-entity-button",33),e.qZA()),2&n){const t=e.oxw().ngrxLet,o=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.canModerate&&"SUBMITTED"!=o.status)}}function Ee(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",35),e.NdJ("nzOnClose",function(){const m=e.CHM(t).$implicit,V=e.oxw(3);return e.KtG(V.onErrorBannerClose(m))}),e.qZA()}2&n&&e.Q6J("nzMessage",i.$implicit)}function Se(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",36),e.NdJ("nzOnClose",function(){e.CHM(t);const l=e.oxw(3);return e.KtG(l.onSuccessBannerClose())}),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("nzMessage",t.successMessage)}}function Ce(n,i){1&n&&e._UZ(0,"nz-alert",37)}function Ie(n,i){1&n&&e._UZ(0,"nz-alert",38)}function be(n,i){if(1&n&&(e.TgZ(0,"nz-col",39),e._UZ(1,"cvc-contributor-avatars",40),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("subscribable",t.subscribable)}}function Ae(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"cvc-moderate-entity-buttons",42),e.NdJ("onModerated",function(l){e.CHM(t);const m=e.oxw(4);return e.KtG(m.onModerateCompleted(l))}),e.qZA()()}if(2&n){const t=e.oxw(2).ngrxLet,o=e.oxw().ngIf;e.xp6(1),e.Q6J("rejectOnly",!t.canModerate)("entityId",o.id)("viewer",t)}}function Ze(n,i){1&n&&e._UZ(0,"span")}function Ne(n,i){1&n&&(e.TgZ(0,"nz-space",41),e.YNc(1,Ae,2,3,"span",16),e.YNc(2,Ze,1,0,"span",16),e.qZA())}const Pe=function(n){return{flagged:n}};function Me(n,i){if(1&n&&(e.TgZ(0,"nz-page-header",11)(1,"nz-page-header-title",12),e._UZ(2,"i",13),e.ALo(3,"entityColor"),e._uU(4),e.qZA(),e.TgZ(5,"nz-page-header-tags"),e.YNc(6,me,2,1,"nz-tag",14),e.qZA(),e.TgZ(7,"nz-page-header-extra")(8,"nz-space",15),e.YNc(9,_e,2,1,"span",16),e.YNc(10,fe,2,1,"span",16),e.YNc(11,ye,2,1,"span",16),e.YNc(12,Te,2,1,"span",16),e.qZA()(),e.TgZ(13,"nz-page-header-content"),e.YNc(14,Ee,1,1,"nz-alert",17),e.YNc(15,Se,1,1,"nz-alert",18),e.YNc(16,Ce,1,0,"nz-alert",19),e.YNc(17,Ie,1,0,"nz-alert",20),e.TgZ(18,"cvc-tab-navigation",21),e.ALo(19,"ngrxPush"),e.YNc(20,be,2,1,"ng-template",null,22,e.W1O),e.qZA(),e.YNc(22,Ne,3,0,"nz-space",23),e.TgZ(23,"div",24),e._UZ(24,"router-outlet"),e.qZA()()()),2&n){const t=i.ngrxLet,o=e.oxw().ngIf,l=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(14,Pe,o.flags.totalCount>0)),e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(3,10,"EvidenceItem")),e.xp6(2),e.hij(" ",o.name," "),e.xp6(2),e.Q6J("ngIf",!1),e.xp6(8),e.Q6J("ngForOf",l.errors),e.xp6(1),e.Q6J("ngIf",l.successMessage),e.xp6(1),e.Q6J("ngIf","SUBMITTED"==o.status),e.xp6(1),e.Q6J("ngIf","REJECTED"==o.status),e.xp6(1),e.Q6J("tabs",e.lcZ(19,12,l.tabs$)),e.xp6(4),e.Q6J("ngIf",(t.canModerate||t.signedIn&&t.id==(null==o.submissionEvent||null==o.submissionEvent.originatingUser?null:o.submissionEvent.originatingUser.id))&&"SUBMITTED"==o.status)}}function Je(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,de,3,0,"ng-template",null,2,e.W1O),e.TgZ(4,"div",3),e.ALo(5,"ngrxPush"),e.YNc(6,Me,25,16,"nz-page-header",4),e.qZA(),e.BQk()),2&n){const t=i.ngIf,o=e.MAs(3),l=e.oxw();e.xp6(1),e.Q6J("displayName",t.name)("relationsTpl",o),e.xp6(3),e.Q6J("flags",e.lcZ(5,4,l.flagsTotal$)),e.xp6(2),e.Q6J("ngrxLet",l.viewer$)}}class P{constructor(i,t,o){this.gql=i,this.viewerService=t,this.route=o,this.errors=[],this.destroy$=new W.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.tabs$=new G.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(l=>{this.queryRef=this.gql.watch({evidenceId:+l.evidenceId});let m=this.queryRef.valueChanges;this.loading$=m.pipe((0,_.j)("loading"),(0,B.O)(!0)),this.evidence$=m.pipe((0,_.j)("data","evidenceItem")),this.commentsTotal$=this.evidence$.pipe((0,_.j)("comments","totalCount")),this.flagsTotal$=this.evidence$.pipe((0,_.j)("flags","totalCount")),this.evidence$.pipe((0,_.j)("revisions","totalCount"),(0,$.R)(this.destroy$)).subscribe({next:V=>{this.tabs$.next(this.defaultTabs.map(j=>"Revisions"===j.tabLabel?{badgeCount:V,...j}:j))}}),this.subscribable={id:+l.evidenceId,entityType:v.o71.EvidenceItem}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}onRevertCompleted(i){!0===i?(this.errors=[],this.successMessage="Evidence Item reverted to submitted status.",this.queryRef?.refetch()):(this.errors=i,this.successMessage=void 0)}onModerateCompleted(i){Array.isArray(i)?(this.errors=i,this.successMessage=void 0):(this.errors=[],this.successMessage=`Evidence successfully ${i}.`,this.queryRef?.refetch())}onErrorBannerClose(i){this.errors=this.errors?.filter(t=>t!=i)}onSuccessBannerClose(){this.successMessage=void 0}}P.\u0275fac=function(i){return new(i||P)(e.Y36(v.pHu),e.Y36(H.a),e.Y36(d.gz))},P.\u0275cmp=e.Xpm({type:P,selectors:[["evidence-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["evidenceRelations",""],["cvcFlaggable","",3,"flags"],["class","site-page-header",4,"ngrxLet"],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[3,"nzColor",4,"ngIf"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["nzBanner","","nzMessage","This Evidence Item is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning",4,"ngIf"],["nzBanner","","nzMessage","This Evidence Item has been rejected.","nzType","error",4,"ngIf"],[3,"tabs"],["tabBarExtraContent",""],["nzDirection","vertical",4,"ngIf"],[1,"content"],[3,"nzColor"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","EvidenceItem",3,"viewer","subscribableId",4,"ngIf"],["typename","EvidenceItem",3,"viewer","subscribableId"],["entityType","EvidenceItem",3,"viewer","entityId","onReverted",4,"ngIf"],["entityType","EvidenceItem",3,"viewer","entityId","onReverted"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzMessage","This Evidence Item is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning"],["nzBanner","","nzMessage","This Evidence Item has been rejected.","nzType","error"],["id","contributors-col"],[3,"subscribable"],["nzDirection","vertical"],["entityType","EvidenceItem",3,"rejectOnly","entityId","viewer","onModerated"]],template:function(i,t){1&i&&(e.YNc(0,Je,7,6,"ng-container",0),e.ALo(1,"ngrxPush")),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.evidence$))},dependencies:[p.mk,p.sg,p.O5,d.lC,d.rH,d.Od,u.eJ,R.r,Z.ix,Y.w,r.dQ,s.t3,y.Ls,h.j,z.$O,z.u9,z.u5,z.ZJ,z.Jp,f.NU,f.$1,A.ZU,c.I,g.o,N.Y,ae.Q,oe.m,ce.e,se.P,re.N,K.p,u.fM,le.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var we=a(2278);class x{}x.\u0275fac=function(i){return new(i||x)},x.\u0275mod=e.oAB({type:x}),x.\u0275inj=e.cJS({imports:[p.ez,we.l]});var Qe=a(3801);class M{constructor(i){this.route=i,this.commentable={id:+this.route.snapshot.params.evidenceId,entityType:v.OfU.EvidenceItem}}}M.\u0275fac=function(i){return new(i||M)(e.Y36(d.gz))},M.\u0275cmp=e.Xpm({type:M,selectors:[["cvc-evidence-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(i,t){1&i&&e._UZ(0,"cvc-comment-list",0),2&i&&e.Q6J("commentable",t.commentable)},dependencies:[Qe.D],styles:["[_nghost-%COMP%]{display:block}"]});var De=a(1971),Oe=a(545),Le=a(4271);class T{}T.\u0275fac=function(i){return new(i||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[p.ez,s.Jb,De.vh,f.zf,Oe.H0,Le.M]});var ke=a(7036);class J{constructor(i){this.route=i,this.flaggable={entityType:v.sfv.EvidenceItem,id:+this.route.snapshot.params.evidenceId}}}J.\u0275fac=function(i){return new(i||J)(e.Y36(d.gz))},J.\u0275cmp=e.Xpm({type:J,selectors:[["cvc-evidence-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(i,t){1&i&&e._UZ(0,"cvc-flag-list-and-filter",0),2&i&&e.Q6J("flaggable",t.flaggable)},dependencies:[ke.L],styles:["[_nghost-%COMP%]{display:block}"]});var Ue=a(2914);class E{}E.\u0275fac=function(i){return new(i||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({imports:[p.ez,Ue.A]});var Be=a(3770);class w{constructor(i){this.route=i,this.routeSub=this.route.params.subscribe(t=>{this.eid=+t.evidenceId,this.entityType=v.oRL.EvidenceItem})}ngOnDestroy(){this.routeSub.unsubscribe()}}w.\u0275fac=function(i){return new(i||w)(e.Y36(d.gz))},w.\u0275cmp=e.Xpm({type:w,selectors:[["cvc-evidence-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(i,t){1&i&&e._UZ(0,"cvc-revisions-list-and-filter",0),2&i&&e.Q6J("id",t.eid)("entityType",t.entityType)},dependencies:[Be.a],encapsulation:2});var Re=a(9441),Ye=a(5453),Fe=a(8845),Ve=a(3384),je=a(3309),X=a(4126),$e=a(3973),We=a(4226),Ge=a(592),He=a(897),Ke=a(2811),Xe=a(701),qe=a(7345),q=a(9444),F=a(9194),ee=a(7570),en=a(7837);class S{}S.\u0275fac=function(i){return new(i||S)},S.\u0275mod=e.oAB({type:S}),S.\u0275inj=e.cJS({imports:[p.ez,d.Bz,u._N,u.pP,s.Jb,f.zf,A.ZJ,Z.sL,h.X,y.PV,F.q6,ee.cg,en.M,q.s,Ve.h,Fe.Q,Ge.x,He.$,qe.W,Ye.N,Ke.s,$e.y,Xe.N,Re.s,We._,X.u,je.r]});var nn=a(3681);function tn(n,i){1&n&&e._UZ(0,"i",4)}function an(n,i){1&n&&e._UZ(0,"i",5)}function on(n,i){if(1&n&&(e.ynx(0),e.YNc(1,tn,1,0,"i",2),e.YNc(2,an,1,0,"i",3),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.filledStars),e.xp6(1),e.Q6J("ngForOf",t.emptyStars)}}function cn(n,i){1&n&&e._uU(0," -- ")}class Q{constructor(){this.filledStars=[],this.emptyStars=[]}ngOnInit(){this.starRating&&(this.filledStars=Array(this.starRating),this.emptyStars=Array(5-this.starRating))}}Q.\u0275fac=function(i){return new(i||Q)},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["cvc-evidence-rating"]],inputs:{starRating:"starRating"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noStars",""],["nzType","star","nzTheme","fill","nz-icon","",4,"ngFor","ngForOf"],["nzType","star","nzTheme","outline","nz-icon","",4,"ngFor","ngForOf"],["nzType","star","nzTheme","fill","nz-icon",""],["nzType","star","nzTheme","outline","nz-icon",""]],template:function(i,t){if(1&i&&(e.YNc(0,on,3,2,"ng-container",0),e.YNc(1,cn,1,0,"ng-template",null,1,e.W1O)),2&i){const o=e.MAs(2);e.Q6J("ngIf",t.starRating)("ngIfElse",o)}},dependencies:[p.sg,p.O5,y.Ls],encapsulation:2});var sn=a(7491),rn=a(4590),ln=a(6715),pn=a(125),gn=a(4049),dn=a(783),mn=a(3172),vn=a(5797),un=a(3756),_n=a(8041),zn=a(7230),fn=a(6204),hn=a(5083);function yn(n,i){if(1&n&&(e._UZ(0,"cvc-attribute-tag",15),e.ALo(1,"enumTooltip")),2&n){const t=e.oxw().ngIf;e.Q6J("cvcAttrValue",t.evidenceDirection)("nzTooltipTitle",e.gM2(1,2,t.evidenceDirection,"evidenceDirection",t.evidenceType,"EvidenceItem"))}}function xn(n,i){if(1&n&&(e._UZ(0,"cvc-attribute-tag",15),e.ALo(1,"enumTooltip")),2&n){const t=e.oxw().ngIf;e.Q6J("cvcAttrValue",t.significance)("nzTooltipTitle",e.gM2(1,2,t.significance,"significance",t.evidenceType,"EvidenceItem"))}}function Tn(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-clinical-trial-tag",40),e.BQk()),2&n){const t=i.$implicit;e.xp6(1),e.Q6J("clinicalTrial",t)}}function En(n,i){if(1&n&&(e.ynx(0),e.YNc(1,Tn,2,1,"ng-container",39),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.source.clinicalTrials)}}function Sn(n,i){if(1&n&&(e._uU(0," Submitted "),e.TgZ(1,"span",41),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.submissionEvent.createdAt),") ")}}function Cn(n,i){if(1&n&&(e._uU(0," Accepted "),e.TgZ(1,"span",41),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.acceptanceEvent.createdAt),") ")}}function In(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",22),e._uU(2," by "),e._UZ(3,"cvc-user-tag",27),e.qZA(),e.YNc(4,Cn,4,3,"ng-template",null,42,e.W1O),e.BQk()),2&n){const t=e.MAs(5),o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTitle",t),e.xp6(2),e.Q6J("user",o.acceptanceEvent.originatingUser)}}function bn(n,i){if(1&n&&(e._uU(0," Rejected "),e.TgZ(1,"span",41),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.rejectionEvent.createdAt),") ")}}function An(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",43),e._uU(2," by "),e._UZ(3,"cvc-user-tag",27),e.qZA(),e.YNc(4,bn,4,3,"ng-template",null,44,e.W1O),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(3),e.Q6J("user",t.rejectionEvent.originatingUser)}}function Zn(n,i){if(1&n&&(e.ynx(0),e.YNc(1,In,6,2,"ng-container",0),e.YNc(2,An,6,1,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",t.status==o.statusValues.Accepted&&t.acceptanceEvent),e.xp6(1),e.Q6J("ngIf",t.status==o.statusValues.Rejected&&t.rejectionEvent)}}function Nn(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"a",45),e._UZ(2,"cvc-disease-tag",46),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.MGl("routerLink","/diseases/",t.disease.id,""),e.xp6(1),e.Q6J("disease",t.disease)}}function Pn(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-phenotype-tag",47),e.BQk()),2&n){const t=i.$implicit;e.xp6(1),e.Q6J("phenotype",t)}}function Mn(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,Pn,2,1,"ng-container",39),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Q6J("ngForOf",t.phenotypes)}}function Jn(n,i){if(1&n&&e.GkF(0,48),2&n){e.oxw(2);const t=e.MAs(3);e.Q6J("ngTemplateOutlet",t)}}function wn(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-therapy-tag",49),e.BQk()),2&n){const t=i.$implicit;e.xp6(1),e.Q6J("therapy",t)}}function Qn(n,i){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,wn,2,1,"ng-container",39),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.therapies)}}function Dn(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions-item",50),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.therapyInteractionType)," ")}}const On=function(){return[8,16]},ne=function(){return[8,8]},Ln=function(){return{xxl:3,xl:2,lg:1,md:1,sm:1,xs:1}},te=function(){return{xxl:2,xl:1,lg:1,md:1,sm:1,xs:1}},kn=function(){return{xxl:3,xl:3,lg:3,md:1,sm:1,xs:1}};function Un(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-row",3)(4,"nz-col",4)(5,"nz-descriptions",5)(6,"nz-descriptions-item",6)(7,"p",7),e._uU(8),e.qZA()()()(),e.TgZ(9,"nz-col",4)(10,"nz-descriptions",8)(11,"nz-descriptions-item",9),e._UZ(12,"cvc-attribute-tag",10),e.ALo(13,"enumTooltip"),e.qZA(),e.TgZ(14,"nz-descriptions-item",11),e.YNc(15,yn,2,7,"cvc-attribute-tag",12),e.qZA(),e.TgZ(16,"nz-descriptions-item",13),e.YNc(17,xn,2,7,"cvc-attribute-tag",12),e.qZA(),e.TgZ(18,"nz-descriptions-item",14),e._UZ(19,"cvc-attribute-tag",15),e.ALo(20,"enumTooltip"),e.qZA(),e.TgZ(21,"nz-descriptions-item",16)(22,"nz-tag",17),e.ALo(23,"enumTooltip"),e.TgZ(24,"strong"),e._uU(25),e.qZA(),e._uU(26),e.ALo(27,"enumTooltip"),e.qZA()(),e.TgZ(28,"nz-descriptions-item",18)(29,"nz-tag",17),e.ALo(30,"enumTooltip"),e._UZ(31,"cvc-evidence-rating",19),e.qZA()()()(),e.TgZ(32,"nz-col",4)(33,"nz-descriptions",8)(34,"nz-descriptions-item",20),e._UZ(35,"cvc-source-tag",21),e.qZA(),e.TgZ(36,"nz-descriptions-item",22),e.YNc(37,En,2,1,"ng-container",23),e.qZA()()()()(),e.TgZ(38,"nz-col",4)(39,"nz-row",3)(40,"nz-col",4)(41,"nz-descriptions",24)(42,"nz-descriptions-item",25),e._UZ(43,"cvc-status-tag",26),e.qZA(),e.TgZ(44,"nz-descriptions-item",22),e._uU(45," by "),e._UZ(46,"cvc-user-tag",27),e.qZA(),e.YNc(47,Sn,4,3,"ng-template",null,28,e.W1O),e.YNc(49,Zn,3,2,"ng-container",0),e.qZA()(),e.TgZ(50,"nz-col",4)(51,"nz-descriptions",8)(52,"nz-descriptions-item",29),e._UZ(53,"cvc-molecular-profile-tag",30),e.qZA(),e.TgZ(54,"nz-descriptions-item",31),e._UZ(55,"cvc-mp-tag-name",32),e.qZA(),e.TgZ(56,"nz-descriptions-item",33),e.YNc(57,Nn,3,2,"ng-container",23),e.qZA(),e.TgZ(58,"nz-descriptions-item",22),e.YNc(59,Mn,3,1,"ng-container",23),e.qZA(),e.TgZ(60,"nz-descriptions-item",22),e.ynx(61,34),e.YNc(62,Jn,1,1,"ng-template",35),e.YNc(63,Qn,2,1,"ng-template",36),e.BQk(),e.qZA(),e.YNc(64,Dn,3,3,"nz-descriptions-item",37),e.qZA()()()(),e.TgZ(65,"nz-col",4),e._UZ(66,"cvc-assertions-table",38),e.qZA()(),e.BQk()),2&n){const t=i.ngIf,o=e.MAs(48);e.oxw();const l=e.MAs(3),m=e.MAs(5);e.xp6(1),e.Q6J("nzGutter",e.DdM(66,On)),e.xp6(1),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(67,ne)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzEllipsisRows",14),e.xp6(1),e.hij(" ",t.description," "),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(68,Ln)),e.xp6(2),e.Q6J("cvcAttrValue",t.evidenceType)("nzTooltipTitle",e.xi3(13,51,t.evidenceType,"evidenceType")),e.xp6(3),e.Q6J("ngIf","NA"!==t.evidenceDirection)("ngIfElse",l),e.xp6(2),e.Q6J("ngIf","NA"!==t.significance)("ngIfElse",l),e.xp6(2),e.Q6J("cvcAttrValue",t.variantOrigin)("nzTooltipTitle",e.xi3(20,54,t.variantOrigin,"variantOrigin")),e.xp6(3),e.Q6J("nzTooltipTitle",e.xi3(23,57,t.evidenceLevel,"evidenceLevel")),e.xp6(3),e.Oqu(t.evidenceLevel),e.xp6(1),e.hij(" - ",e.xi3(27,60,t.evidenceLevel,"evidenceLevelBrief")," "),e.xp6(3),e.Q6J("nzTooltipTitle",e.xi3(30,63,t.evidenceRating,"evidenceRating")),e.xp6(2),e.Q6J("starRating",t.evidenceRating),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(69,te)),e.xp6(2),e.Q6J("source",t.source),e.xp6(1),e.Q6J("nzTitle",t.source.clinicalTrials&&t.source.clinicalTrials.length>1?"Clinical Trials":"Clinical Trial"),e.xp6(1),e.Q6J("ngIf",t.source.clinicalTrials&&t.source.clinicalTrials.length>0)("ngIfElse",m),e.xp6(1),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(70,ne)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(71,kn)),e.xp6(2),e.Q6J("status",t.status),e.xp6(1),e.Q6J("nzTitle",o),e.xp6(2),e.Q6J("user",t.submissionEvent.originatingUser),e.xp6(3),e.Q6J("ngIf",null!==t.rejectionEvent||null!==t.acceptanceEvent),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(72,te)),e.xp6(2),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!0),e.xp6(2),e.Q6J("nameSegments",t.molecularProfile.parsedName),e.xp6(2),e.Q6J("ngIf",t.disease)("ngIfElse",l),e.xp6(1),e.Q6J("nzTitle",t.phenotypes.length>1?"Phenotypes":"Phenotype"),e.xp6(1),e.Q6J("ngIf",t.phenotypes.length>0)("ngIfElse",m),e.xp6(1),e.Q6J("nzTitle",t.therapies.length>1?"Therapies":"Therapy"),e.xp6(1),e.Q6J("ngPlural",t.therapies.length),e.xp6(3),e.Q6J("ngIf",t.therapyInteractionType),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.MGl("cvcTitle","",t.name," Assertions"),e.Q6J("evidenceId",t.id)}}function Bn(n,i){1&n&&e._UZ(0,"cvc-empty-value",51)}function Rn(n,i){1&n&&e._UZ(0,"cvc-empty-value",52)}class D{constructor(i,t){var o;if(this.gql=i,this.route=t,this.statusValues=v.RTy,null==(o=this.evidenceId?this.evidenceId:+this.route.snapshot.params.evidenceId))throw new Error("Must pass in an evidence ID as an input or via the route.");this.queryRef=this.gql.watch({evidenceId:o});let l=this.queryRef.valueChanges;this.loading$=l.pipe((0,_.j)("loading"),(0,B.O)(!0)),this.evidence$=l.pipe((0,_.j)("data","evidenceItem")),this.subscribable={entityType:v.o71.EvidenceItem,id:o}}}D.\u0275fac=function(i){return new(i||D)(e.Y36(v.sBY),e.Y36(d.gz))},D.\u0275cmp=e.Xpm({type:D,selectors:[["cvc-evidence-summary"]],inputs:{evidenceId:"evidenceId"},decls:6,vars:3,consts:[[4,"ngIf"],["valueNotApplicable",""],["valueUnspecified",""],[3,"nzGutter"],[3,"nzSpan"],["nzLayout","vertical","nzSize","small","nzBordered","true"],["nzTitle","Statement"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Type"],["cvcAttrName","evidenceType","nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Direction"],["nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle",4,"ngIf","ngIfElse"],["nzTitle","Significance"],["nzTitle","Variant Origin"],["nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Level"],["nz-tooltip","",3,"nzTooltipTitle"],["nzTitle","Rating"],[3,"starRating"],["nzTitle","Source"],[3,"source"],[3,"nzTitle"],[4,"ngIf","ngIfElse"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Status"],[3,"status"],[3,"user"],["submittedTitle",""],["nzTitle","Molecular Profile"],[3,"molecularProfile","enablePopover"],["nzTitle","MP Expression"],[3,"nameSegments"],["nzTitle","Disease"],[3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","other"],["nzTitle","Therapy Interaction Type",4,"ngIf"],[3,"evidenceId","cvcTitle"],[4,"ngFor","ngForOf"],[3,"clinicalTrial"],["nz-typography","","nzType","secondary"],["acceptedTitle",""],["nzTitle","Rejected"],["rejectedTitle",""],[3,"routerLink"],[3,"disease"],[3,"phenotype"],[3,"ngTemplateOutlet"],[3,"therapy"],["nzTitle","Therapy Interaction Type"],["cvcEmptyCategory","not-applicable"],["cvcEmptyCategory","unspecified"]],template:function(i,t){1&i&&(e.YNc(0,Un,67,73,"ng-container",0),e.ALo(1,"ngrxPush"),e.YNc(2,Bn,1,0,"ng-template",null,1,e.W1O),e.YNc(4,Rn,1,0,"ng-template",null,2,e.W1O)),2&i&&e.Q6J("ngIf",e.lcZ(1,1,t.evidence$))},dependencies:[p.sg,p.O5,p.tP,p.iq,p.zE,d.rH,s.t3,s.SK,A.ZU,h.j,F.R7,F.uj,ee.SY,nn.P,Q,sn.n,rn.h,ln.$,pn.I,gn.G,dn.T,mn.i,vn.T,un.x,_n.z,K.p,zn.C,p.rS,u.fM,fn.v,hn.x],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}.summary-block[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto}"]});var Yn=a(2011);class O{constructor(i){this.route=i,this.subscribable={id:+this.route.snapshot.params.evidenceId,entityType:v.o71.EvidenceItem}}}O.\u0275fac=function(i){return new(i||O)(e.Y36(d.gz))},O.\u0275cmp=e.Xpm({type:O,selectors:[["cvc-evidence-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(i,t){1&i&&e._UZ(0,"cvc-event-feed",0),2&i&&e.Q6J("subscribable",t.subscribable)},dependencies:[Yn.o],styles:["[_nghost-%COMP%]{display:block}"]});var Fn=a(5291);class C{}C.\u0275fac=function(i){return new(i||C)},C.\u0275mod=e.oAB({type:C}),C.\u0275inj=e.cJS({imports:[p.ez,Fn.t]});const Vn=[{path:"",component:P,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:D,data:{breadcrumb:"Summary"}},{path:"comments",component:M,data:{breadcrumb:"Comments"}},{path:"revisions",component:w,data:{breadcrumb:"Revisions"}},{path:"flags",component:J,data:{breadcrumb:"Flags"}},{path:"events",component:O,data:{breadcrumb:"Events"}}]}];class I{}I.\u0275fac=function(i){return new(i||I)},I.\u0275mod=e.oAB({type:I}),I.\u0275inj=e.cJS({imports:[d.Bz.forChild(Vn),S,x,E,T,C,d.Bz]});var jn=a(4609),$n=a(694),Wn=a(8766),Gn=a(8762),Hn=a(5750);class b{}b.\u0275fac=function(i){return new(i||b)},b.\u0275mod=e.oAB({type:b}),b.\u0275inj=e.cJS({imports:[p.ez,I,u._N,u.pP,R.L,Z.sL,s.Jb,y.PV,h.X,z.KJ,f.zf,A.ZJ,k.D,U.m,jn.g,U.m,Wn.P,q.s,$n.G,k.D,Gn.c,Hn.Z,X.u]})},545:(ie,L,a)=>{a.d(L,{H0:()=>Y});var p=a(4650),u=a(6895),k=a(445);let Y=(()=>{class r{}return r.\u0275fac=function(c){return new(c||r)},r.\u0275mod=p.oAB({type:r}),r.\u0275inj=p.cJS({imports:[k.vT,u.ez]}),r})()}}]); \ No newline at end of file diff --git a/server/public/9641.bed4b144f0984c4d.js b/server/public/9641.bed4b144f0984c4d.js new file mode 100644 index 000000000..1a3e565e2 --- /dev/null +++ b/server/public/9641.bed4b144f0984c4d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9641],{9512:(W,Z,n)=>{n.d(Z,{s:()=>F});var e=n(5879),s=n(2840),t=n(855),d=n(1958),x=n(67),r=n(459),c=n(551),p=n(6976);let T=(()=>{class S{constructor(D){this.cookies=D,this.location=function E(S){return encodeURIComponent(S).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}(window.location.href),this.xsrfToken=this.cookies.get("XSRF-TOKEN")}ngOnInit(){}}return S.\u0275fac=function(D){return new(D||S)(e.Y36(r.N))},S.\u0275cmp=e.Xpm({type:S,selectors:[["cvc-auth-options-list"]],decls:19,vars:6,consts:[["nzBordered","false","nzSplit","false"],["method","post",3,"action"],["type","hidden","name","authenticity_token",3,"value"],["type","submit","nz-button","","nzBlock","","nzType","default","nzSize","large","nzShape","round"],["nz-icon","","nzType","google"],["src","assets/images/orcid-logo.svg","alt","ORCID Logo",1,"orcid-logo"],["nz-icon","","nzType","github"]],template:function(D,N){1&D&&(e.TgZ(0,"nz-list",0)(1,"nz-list-item")(2,"form",1),e._UZ(3,"input",2),e.TgZ(4,"button",3),e._UZ(5,"i",4),e._uU(6," Sign In with a Google Account "),e.qZA()()(),e.TgZ(7,"nz-list-item")(8,"form",1),e._UZ(9,"input",2),e.TgZ(10,"button",3),e._UZ(11,"img",5),e._uU(12," Sign In with an ORCID Account "),e.qZA()()(),e.TgZ(13,"nz-list-item")(14,"form",1),e._UZ(15,"input",2),e.TgZ(16,"button",3),e._UZ(17,"i",6),e._uU(18," Sign In with a Github Account "),e.qZA()()()()),2&D&&(e.xp6(2),e.MGl("action","/api/auth/google_oauth2?origin=",N.location,"",e.LSH),e.xp6(1),e.s9C("value",N.xsrfToken),e.xp6(5),e.MGl("action","/api/auth/orcid?origin=",N.location,"",e.LSH),e.xp6(1),e.s9C("value",N.xsrfToken),e.xp6(5),e.MGl("action","/api/auth/github?origin=",N.location,"",e.LSH),e.xp6(1),e.s9C("value",N.xsrfToken))},dependencies:[c.Ls,p.n_,p.AA,s.ix,t.w,d.dQ],styles:["[_nghost-%COMP%]{display:block}nz-list-item[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}.orcid-logo[_ngcontent-%COMP%]{width:16px;margin-right:4px;line-height:1}i[_ngcontent-%COMP%]{font-size:16px}"]}),S})();function y(S,L){1&S&&(e.ynx(0),e.TgZ(1,"p",5),e._uU(2," Click on one of the OAuth providers below to sign into CIViC. If you do not not have a CIViC account, one will be created for you based upon the account information your OAuth provider provides. "),e.qZA(),e._UZ(3,"cvc-auth-options-list"),e.BQk())}function C(S,L){1&S&&e._uU(0," Sign In / Sign Up ")}function P(S,L){if(1&S){const D=e.EpF();e.TgZ(0,"button",0),e.NdJ("click",function(){e.CHM(D);const o=e.oxw();return e.KtG(o.handleCancel())}),e._uU(1," Cancel "),e.qZA()}}let F=(()=>{class S{constructor(){this.authVisible=!1}ngOnInit(){}showAuth(){this.authVisible=!0}handleCancel(){this.authVisible=!1}}return S.\u0275fac=function(D){return new(D||S)},S.\u0275cmp=e.Xpm({type:S,selectors:[["cvc-login-button"]],decls:9,vars:3,consts:[["nz-button","","nzType","primary","nzValue","small",3,"click"],[3,"nzVisible","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],[4,"nzModalContent"],["loginModalTitle",""],["loginModalFooter",""],["nzType","secondary"]],template:function(D,N){if(1&D&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return N.showAuth()}),e.TgZ(1,"span"),e._uU(2,"Sign In / Sign Up"),e.qZA()(),e.TgZ(3,"nz-modal",1),e.NdJ("nzVisibleChange",function(J){return N.authVisible=J})("nzOnCancel",function(){return N.handleCancel()}),e.YNc(4,y,4,0,"ng-container",2),e.qZA(),e.YNc(5,C,1,0,"ng-template",null,3,e.W1O),e.YNc(7,P,2,0,"ng-template",null,4,e.W1O)),2&D){const o=e.MAs(6),J=e.MAs(8);e.xp6(3),e.Q6J("nzVisible",N.authVisible)("nzTitle",o)("nzFooter",J)}},dependencies:[s.ix,t.w,d.dQ,x.du,x.Hf,T],styles:["[_nghost-%COMP%]{display:inline-block}"]}),S})()},5163:(W,Z,n)=>{n.d(Z,{B:()=>c});var e=n(6814),s=n(2840),t=n(67),d=n(6976),x=n(551),E=n(5879);let r=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=E.oAB({type:p}),p.\u0275inj=E.cJS({imports:[e.ez,x.PV,d.Ph,s.sL]}),p})(),c=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=E.oAB({type:p}),p.\u0275inj=E.cJS({imports:[e.ez,s.sL,t.Qp,r]}),p})()},7458:(W,Z,n)=>{n.d(Z,{L:()=>E});var e=n(5879),s=n(6814),t=n(6928);function d(r,c){if(1&r&&e._UZ(0,"nz-avatar",2),2&r){const p=e.oxw();e.Q6J("nzSrc",p.user.profileImagePath)("nzShape",p.shape?p.shape:"circle")("nzSize",p.size)}}function x(r,c){if(1&r&&(e._UZ(0,"nz-avatar",3),e.ALo(1,"uppercase")),2&r){const p=e.oxw();e.Q6J("nzSize",p.size)("nzText",e.lcZ(1,2,p.user.displayName.charAt(0)))}}let E=(()=>{class r{ngOnInit(){if(void 0===this.user)throw new Error("Must supply a user to use this component");void 0===this.size&&(this.size="default")}}return r.\u0275fac=function(p){return new(p||r)},r.\u0275cmp=e.Xpm({type:r,selectors:[["cvc-user-avatar"]],inputs:{user:"user",size:"size",shape:"shape"},decls:3,vars:2,consts:[["nz-comment-avatar","",3,"nzSrc","nzShape","nzSize",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc","nzShape","nzSize"],["nz-comment-avatar","",3,"nzSize","nzText"]],template:function(p,T){if(1&p&&(e.YNc(0,d,1,3,"nz-avatar",0),e.YNc(1,x,2,4,"ng-template",null,1,e.W1O)),2&p){const y=e.MAs(2);e.Q6J("ngIf",T.user.profileImagePath)("ngIfElse",y)}},dependencies:[s.O5,t.Dz,s.gd],styles:["[_nghost-%COMP%]{display:inline-block}"]}),r})()},1022:(W,Z,n)=>{n.d(Z,{H:()=>d});var e=n(6814),s=n(6928),t=n(5879);let d=(()=>{class x{}return x.\u0275fac=function(r){return new(r||x)},x.\u0275mod=t.oAB({type:x}),x.\u0275inj=t.cJS({imports:[e.ez,s.Rt]}),x})()},6116:(W,Z,n)=>{n.d(Z,{j:()=>t});var e=n(313),s=n(5879);let t=(()=>{class d{transform(E){switch(E){case"ASSERTION":case"Assertion":case e.o71.Assertion:return"civic-assertion";case"EVIDENCE_ITEM":case"EvidenceItem":case e.o71.EvidenceItem:return"civic-evidence";case"GENE":case"Gene":case e.o71.Gene:return"civic-gene";case e.o71.Revision:case"REVISION":case"Revision":return"civic-revision";case e.o71.Variant:case"VARIANT":case"Variant":return"civic-variant";case e.o71.VariantGroup:case"VARIANT_GROUP":case"VariantGroup":return"civic-variant-group";case e.o71.MolecularProfile:case"MOLECULAR_PROFILE":case"MolecularProfile":return"civic-molecularprofile";default:return console.log("String No icon name found for "+E),"border-outer"}}}return d.\u0275fac=function(E){return new(E||d)},d.\u0275pipe=s.Yjl({name:"iconNameForSubscribableEntity",type:d,pure:!0}),d})()},3764:(W,Z,n)=>{n.d(Z,{Z:()=>t});var e=n(5879);const s=["*"];let t=(()=>{class d{constructor(){}ngOnInit(){}}return d.\u0275fac=function(E){return new(E||d)},d.\u0275cmp=e.Xpm({type:d,selectors:[["cvc-form-buttons"]],ngContentSelectors:s,decls:2,vars:0,consts:[[1,"form-buttons"]],template:function(E,r){1&E&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:["[_nghost-%COMP%]{display:block}.form-buttons[_ngcontent-%COMP%]{text-align:right}"]}),d})()},845:(W,Z,n)=>{n.d(Z,{R:()=>t});var e=n(6814),s=n(5879);let t=(()=>{class d{}return d.\u0275fac=function(E){return new(E||d)},d.\u0275mod=s.oAB({type:d}),d.\u0275inj=s.cJS({imports:[e.ez]}),d})()},4755:(W,Z,n)=>{n.d(Z,{V:()=>c});var e=n(5879),s=n(6814),t=n(3903);function d(p,T){if(1&p&&e._UZ(0,"nz-alert",4),2&p){const y=e.oxw();e.Q6J("nzDescription",y.errors[0])}}function x(p,T){if(1&p&&e._UZ(0,"nz-alert",5),2&p){e.oxw();const y=e.MAs(3);e.Q6J("nzDescription",y)}}function E(p,T){if(1&p&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&p){const y=T.$implicit;e.xp6(1),e.Oqu(y)}}function r(p,T){if(1&p&&(e.TgZ(0,"ul",6),e.YNc(1,E,2,1,"li",7),e.qZA()),2&p){const y=e.oxw();e.xp6(1),e.Q6J("ngForOf",y.errors)}}let c=(()=>{class p{constructor(){}ngOnInit(){1==this.errors.length&&(this.errors=this.errors[0].split("|"))}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275cmp=e.Xpm({type:p,selectors:[["cvc-form-errors-alert"]],inputs:{errors:"errors"},decls:4,vars:2,consts:[["nzType","error","nzShowIcon","",3,"nzDescription",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Submit Errors Occured",3,"nzDescription",4,"ngIf"],["nzSize","small"],["errorList",""],["nzType","error","nzShowIcon","",3,"nzDescription"],["nzType","error","nzShowIcon","","nzMessage","Submit Errors Occured",3,"nzDescription"],[1,"error-list"],[4,"ngFor","ngForOf"]],template:function(y,C){1&y&&(e.YNc(0,d,1,1,"nz-alert",0),e.YNc(1,x,1,1,"nz-alert",1),e.YNc(2,r,2,1,"ng-template",2,3,e.W1O)),2&y&&(e.Q6J("ngIf",1===C.errors.length),e.xp6(1),e.Q6J("ngIf",C.errors.length>1))},dependencies:[s.sg,s.O5,t.r],styles:["[_nghost-%COMP%]{display:block}.error-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 2em}"]}),p})()},3394:(W,Z,n)=>{n.d(Z,{B:()=>d});var e=n(6814),s=n(3903),t=n(5879);let d=(()=>{class x{}return x.\u0275fac=function(r){return new(r||x)},x.\u0275mod=t.oAB({type:x}),x.\u0275inj=t.cJS({imports:[e.ez,s.L]}),x})()},5690:(W,Z,n)=>{n.d(Z,{_:()=>y});var e=n(6814),s=n(2962),t=n(279),d=n(565),x=n(3771),E=n(5545),r=n(551),c=n(6109),p=n(5879);let T=(()=>{class C{}return C.\u0275fac=function(F){return new(F||C)},C.\u0275mod=p.oAB({type:C}),C.\u0275inj=p.cJS({imports:[e.ez,E.X0,x.j,d.cD,r.PV,c.cg,t.s]}),C})(),y=(()=>{class C{}return C.\u0275fac=function(F){return new(F||C)},C.\u0275mod=p.oAB({type:C}),C.\u0275inj=p.cJS({imports:[e.ez,E.X0,s.vh,x.j,d.cD,r.PV,c.cg,T,t.s]}),C})()},6294:(W,Z,n)=>{n.d(Z,{A:()=>E});var e=n(6814),s=n(2840),t=n(6928),d=n(2787),x=n(5879);let E=(()=>{class r{}return r.\u0275fac=function(p){return new(p||r)},r.\u0275mod=x.oAB({type:r}),r.\u0275inj=x.cJS({imports:[e.ez,s.sL,t.Rt,d.b1]}),r})()},5805:(W,Z,n)=>{n.d(Z,{m:()=>c});var r,e=n(655),s=n(5879),t=n(1791),d=n(9666),x=n(7398),E=n(6180);let c=((r=class{constructor(T){this.el=T,this.domChange=new s.vpe,this.changes=new MutationObserver(y=>{(0,d.D)(y).pipe((0,x.U)(C=>{const P=C.target;return"class"===C.attributeName?{type:"class",change:P.classList.value,key:`${C.attributeName}:${P.classList.value}`}:"disabled"===C.attributeName?{type:"disabled",change:P.disabled,key:`${C.attributeName}:${P.disabled}`}:"hidden"===C.attributeName?{type:"hidden",change:P.hidden,key:`${C.attributeName}:${P.hidden}`}:{type:C.attributeName,change:"unknown change type",key:`${C.attributeName}:unknown-change-type`}}),(0,E.g)("key"),(0,t.t)(this)).subscribe(C=>{this.domChange.emit(C)})}),this.changes.observe(this.el.nativeElement,{attributeFilter:["class","disabled","hidden"],attributes:!0,childList:!1,subtree:!1})}ngAfterViewInit(){console.log(`directive ngAfterViewInit classList.value: ${this.el.nativeElement.classList.value}`),this.initialClass=this.el.nativeElement.classList.value}ngOnDestroy(){this.changes.disconnect()}}).\u0275fac=function(T){return new(T||r)(s.Y36(s.SBq))},r.\u0275dir=s.lG2({type:r,selectors:[["button","cvcOrgSelectorBtn",""]],outputs:{domChange:"domChange"}}),r);c=(0,e.gn)([(0,t.c)()],c)},8877:(W,Z,n)=>{n.d(Z,{nT:()=>E,yQ:()=>d});var e=n(2),s=n(313),t=n(3742),d=(()=>((d=d||{}).EVIDENCE="Evidence",d.ASSERTION="Assertion",d))();class E{constructor(c){this.validStates=new Map,this.getTypeOptions=()=>this.entityName==d.ASSERTION?(0,t.o6)(s.uBv).map(p=>p):(0,t.o6)(s.kqt).map(p=>p),this.getSignificanceOptions=p=>this.validStates.get(p)?.significance||[],this.isValidSignificanceOption=(p,T)=>{const y=this.validStates.get(p);return!y||y.significance.includes(T)},this.getDirectionOptions=p=>this.validStates.get(p)?.entityDirection||[],this.isValidDirectionOption=(p,T)=>{const y=this.validStates.get(p);return!y||y.entityDirection.includes(T)},this.requiresDrug=p=>{const T=this.validStates.get(p);return void 0===T||T.requiresDrug},this.requiresDisease=p=>{const T=this.validStates.get(p);return void 0===T||T.requiresDisease},this.requiresAcmgCodes=p=>{const T=this.validStates.get(p);return void 0===T||T.requiresAcmgCodes},this.requiresAmpLevel=p=>{const T=this.validStates.get(p);return void 0===T||T.requiresAmpLevel},this.requiresClingenCodes=p=>{const T=this.validStates.get(p);return void 0===T||T.requiresClingenCodes},this.allowsFdaApproval=p=>{const T=this.validStates.get(p);return void 0===T||T.allowsFdaApproval},this.getOptionsFromEnums=p=>0===p.length?[]:p.map(T=>({value:T,label:(0,e.E)(T)})),this.entityName=c,this.pluralNames=new Map,this.pluralNames.set(d.ASSERTION,"Assertions"),this.pluralNames.set(d.EVIDENCE,"Evidence")}}},8706:(W,Z,n)=>{n.d(Z,{E:()=>F});var e=n(6814),s=n(6223),t=n(4190),d=n(5545),x=n(7248),E=n(2840),r=n(5879),c=n(855),p=n(1958);function T(S,L){if(1&S){const D=r.EpF();r.TgZ(0,"button",2),r.NdJ("click",function(){r.CHM(D);const o=r.oxw();return r.KtG(o.callOnClick())}),r._uU(1," Cancel\n"),r.qZA()}}function y(S,L){if(1&S&&(r.TgZ(0,"button",3),r._uU(1," Cancel "),r.qZA()),2&S){const D=r.oxw();r.Q6J("routerLink",D.redirectPath)}}const P={name:"cancel-button",component:(()=>{class S extends d.fS{constructor(){super(...arguments),this.redirectPath="/"}ngOnInit(){this.field.templateOptions?.onClick?this.callOnClick=this.field.templateOptions?.onClick:this.field.templateOptions?.redirectPath&&(this.redirectPath=this.field.templateOptions?.redirectPath)}}return S.\u0275fac=function(){let L;return function(N){return(L||(L=r.n5z(S)))(N||S)}}(),S.\u0275cmp=r.Xpm({type:S,selectors:[["cvc-cancel-button"]],features:[r.qOj],decls:3,vars:2,consts:[["class","cancel-button","nz-button","","type","button","nzType","default","nzSize","large",3,"click",4,"ngIf","ngIfElse"],["redirect",""],["nz-button","","type","button","nzType","default","nzSize","large",1,"cancel-button",3,"click"],["nz-button","","type","button","nzType","default","nzSize","large",1,"cancel-button",3,"routerLink"]],template:function(D,N){if(1&D&&(r.YNc(0,T,2,0,"button",0),r.YNc(1,y,2,1,"ng-template",null,1,r.W1O)),2&D){const o=r.MAs(2);r.Q6J("ngIf",N.callOnClick)("ngIfElse",o)}},dependencies:[e.O5,E.ix,c.w,p.dQ,t.rH],styles:[".cancel-button[_ngcontent-%COMP%]{float:left}"]}),S})()};let F=(()=>{class S{}return S.\u0275fac=function(D){return new(D||S)},S.\u0275mod=r.oAB({type:S}),S.\u0275inj=r.cJS({imports:[e.ez,s.u5,s.UX,E.sL,t.Bz,x.F,d.X0.forChild({types:[P]})]}),S})()},9560:(W,Z,n)=>{n.d(Z,{K:()=>T});var e=n(6814),s=n(5545),t=n(5879),d=n(6223),x=n(824);const r={name:"comment-textarea",component:(()=>{class y extends s.fS{constructor(){super(...arguments),this.defaultOptions={defaultValue:"",validation:{messages:{minlength:(P,F)=>`Comments must be at least ${F.templateOptions?.minLength} characters in length.`}},templateOptions:{rows:4}}}}return y.\u0275fac=function(){let C;return function(F){return(C||(C=t.n5z(y)))(F||y)}}(),y.\u0275cmp=t.Xpm({type:y,selectors:[["comment-textarea-type"]],features:[t.qOj],decls:1,vars:2,consts:[["nz-input","",3,"formControl","formlyAttributes"]],template:function(P,F){1&P&&t._UZ(0,"textarea",0),2&P&&t.Q6J("formControl",F.formControl)("formlyAttributes",F.field)},dependencies:[d.Fj,d.JJ,d.oH,s.JD,x.Zp],encapsulation:2,changeDetection:0}),y})(),wrappers:["form-field"]};var c=n(3599),p=n(19);let T=(()=>{class y{}return y.\u0275fac=function(P){return new(P||y)},y.\u0275mod=t.oAB({type:y}),y.\u0275inj=t.cJS({imports:[e.ez,d.UX,s.X0.forChild({types:[r]}),p.u,c.U5,x.o7]}),y})()},4784:(W,Z,n)=>{n.d(Z,{N:()=>h});var e=n(6814),s=n(6223),t=n(5545),d=n(3599),x=n(824),E=n(551),r=n(5879),c=n(95),p=n(2840),T=n(855),y=n(1958),C=n(5695);function P(f,v){if(1&f){const u=r.EpF();r.TgZ(0,"nz-form-item")(1,"nz-form-control",3)(2,"nz-tag",4),r.NdJ("click",function(U){r.CHM(u);const R=r.oxw();return r.KtG(R.addField(U))}),r._UZ(3,"i",5),r._uU(4),r.qZA()()()}if(2&f){const u=r.oxw();r.xp6(1),r.Q6J("nzValidateStatus",u.errorState),r.xp6(3),r.hij(" ",u.to.addText," ")}}function F(f,v){if(1&f){const u=r.EpF();r.TgZ(0,"nz-tag",4),r.NdJ("click",function(U){r.CHM(u);const R=r.oxw(4);return r.KtG(R.addField(U))}),r._UZ(1,"i",5),r._uU(2),r.qZA()}if(2&f){const u=r.oxw(4);r.xp6(2),r.hij(" ",u.to.addText," ")}}function S(f,v){if(1&f&&(r.TgZ(0,"div",11),r.YNc(1,F,3,1,"nz-tag",12),r.qZA()),2&f){const u=r.oxw(2).$implicit,O=r.oxw();r.xp6(1),r.Q6J("ngIf",0==O.to.maxCount||O.to.maxCount>u.model.length)}}function L(f,v){if(1&f){const u=r.EpF();r.ynx(0),r.TgZ(1,"nz-tag",8)(2,"i",9),r.NdJ("click",function(){r.CHM(u);const U=r.oxw().index,R=r.oxw();return r.KtG(R.remove(U))}),r.qZA()(),r.YNc(3,S,2,1,"div",10),r.BQk()}if(2&f){const u=r.oxw().last;r.xp6(3),r.Q6J("ngIf",u)}}function D(f,v){if(1&f){const u=r.EpF();r.ynx(0),r.TgZ(1,"div",13)(2,"button",14),r.NdJ("click",function(){r.CHM(u);const U=r.oxw().index,R=r.oxw();return r.KtG(R.remove(U))}),r._UZ(3,"i",15),r.qZA()(),r.BQk()}}function N(f,v){if(1&f&&(r.TgZ(0,"nz-form-item")(1,"div",6)(2,"div",0),r._UZ(3,"formly-field",7),r.qZA(),r.YNc(4,L,4,1,"ng-container",1),r.YNc(5,D,4,0,"ng-container",1),r.qZA()()),2&f){const u=v.$implicit,O=v.index;r.xp6(2),r.Q6J("ngClass",u.model[O]?"selected-field-col":"default-field-col"),r.xp6(1),r.Q6J("field",u),r.xp6(1),r.Q6J("ngIf",u.model[O]),r.xp6(1),r.Q6J("ngIf",!u.model[O])}}const o=function(f){return{hidden:f}},G={name:"multi-field",component:(()=>{class f extends t.hv{constructor(){super(),this.defaultOptions={templateOptions:{maxCount:0}}}get errorState(){return this.showError?"error":""}addField(u){u&&u.preventDefault(),this.add()}ngOnInit(){this.to.add=this.add.bind(this),this.to.remove=this.remove.bind(this)}}return f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=r.Xpm({type:f,selectors:[["cvc-multi-field-type"]],features:[r.qOj],decls:3,vars:5,consts:[[3,"ngClass"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"nzValidateStatus"],["nzNoAnimation","",1,"editable-tag",3,"click"],["nz-icon","","nzType","plus"],["ngClass","field-display"],[3,"field"],[1,"close-tag"],["nz-icon","","nzType","close",3,"click"],["class","field-add-btn",4,"ngIf"],[1,"field-add-btn"],["class","editable-tag","nzNoAnimation","",3,"click",4,"ngIf"],[1,"field-cancel-btn"],["nz-button","","nzBlock","","nzType","default","nzSize","small","nzDanger","",3,"click"],["nz-icon","","nzType","close"]],template:function(u,O){1&u&&(r.TgZ(0,"div",0),r.YNc(1,P,5,2,"nz-form-item",1),r.YNc(2,N,6,4,"nz-form-item",2),r.qZA()),2&u&&(r.Q6J("ngClass",r.VKq(3,o,!0===O.to.hidden)),r.xp6(1),r.Q6J("ngIf",0===(null==O.field.fieldGroup?null:O.field.fieldGroup.length)),r.xp6(1),r.Q6J("ngForOf",O.field.fieldGroup))},dependencies:[e.mk,e.sg,e.O5,t.cw,c.t3,c.SK,d.Nx,d.Fd,E.Ls,p.ix,T.w,y.dQ,C.j],styles:["[_nghost-%COMP%]{display:block}nz-form-item[_ngcontent-%COMP%]{margin-bottom:.25em}nz-form-item[_ngcontent-%COMP%]:last-child{margin-bottom:16px}.hidden[_ngcontent-%COMP%]{display:none}.editable-tag[_ngcontent-%COMP%]{background:#ffffff;border-style:dashed;cursor:pointer}.field-display[_ngcontent-%COMP%]{margin-top:.5em;display:inline-block} > nz-form-item[_ngcontent-%COMP%]{margin-bottom:0}.selected-field-col[_ngcontent-%COMP%]{display:inline-block}.default-field-col[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - (2*(10px + 1em)))}.field-add-btn[_ngcontent-%COMP%]{display:inline-block;margin-left:1em}.close-tag[_ngcontent-%COMP%]{margin-left:-9px;cursor:pointer}.field-cancel-btn[_ngcontent-%COMP%]{display:inline-block;margin-left:1em;width:calc(20px + 1em)}"]}),f})()};function j(f,v){if(1&f&&r._UZ(0,"formly-validation-message",3),2&f){const u=r.oxw();r.Q6J("field",u.field)}}const B={name:"cvc-field-errors",component:(()=>{class f extends t.n2{get errorState(){return this.showError?"error":""}}return f.\u0275fac=function(){let v;return function(O){return(v||(v=r.n5z(f)))(O||f)}}(),f.\u0275cmp=r.Xpm({type:f,selectors:[["cvc-field-errors-wrapper"]],features:[r.qOj],decls:7,vars:3,consts:[[3,"nzValidateStatus","nzErrorTip"],["fieldComponent",""],["errorTpl",""],[3,"field"]],template:function(u,O){if(1&u&&(r.TgZ(0,"nz-form-control",0)(1,"p"),r._uU(2),r.qZA(),r.GkF(3,null,1),r.YNc(5,j,1,1,"ng-template",null,2,r.W1O),r.qZA()),2&u){const U=r.MAs(6);r.Q6J("nzValidateStatus",O.errorState)("nzErrorTip",U),r.xp6(2),r.hij("errorState: ",O.errorState,"")}},dependencies:[c.t3,d.Fd,t.M2],encapsulation:2,changeDetection:0}),f})()};let _=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=r.oAB({type:f}),f.\u0275inj=r.cJS({imports:[e.ez,s.UX,d.U5,t.X0.forChild({wrappers:[B]})]}),f})();var A=n(279);let h=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=r.oAB({type:f}),f.\u0275inj=r.cJS({imports:[e.ez,s.u5,t.X0.forChild({types:[G]}),s.UX,_,d.U5,x.o7,E.PV,p.sL,A.s,C.X]}),f})()},8634:(W,Z,n)=>{n.d(Z,{l:()=>F});var e=n(6814),s=n(5545),t=n(5879),d=n(2840),x=n(855),E=n(1958),r=n(3764),c=n(5805);const T={name:"submit-button",component:(()=>{class S extends s.fS{constructor(){super(),this.defaultOptions={templateOptions:{submitLabel:"Submit",submitSize:"small"}}}}return S.\u0275fac=function(D){return new(D||S)},S.\u0275cmp=t.Xpm({type:S,selectors:[["cvc-submit-button-type"]],features:[t.qOj],decls:3,vars:2,consts:[["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","large",3,"disabled"]],template:function(D,N){1&D&&(t.TgZ(0,"cvc-form-buttons")(1,"button",0),t._uU(2),t.qZA()()),2&D&&(t.xp6(1),t.Q6J("disabled",!N.form.valid),t.xp6(1),t.hij(" ",N.to.submitLabel," "))},dependencies:[d.ix,x.w,E.dQ,r.Z,c.m],encapsulation:2,changeDetection:0}),S})()};var y=n(845),C=n(6294),P=n(6223);let F=(()=>{class S{}return S.\u0275fac=function(D){return new(D||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[e.ez,P.UX,s.X0.forChild({types:[T]}),d.sL,y.R,C.A]}),S})()},354:(W,Z,n)=>{n.d(Z,{o:()=>c});var e=n(6814),s=n(5545),t=n(5879),d=n(6223),x=n(824);const r={name:"cvc-textarea",component:(()=>{class p extends s.fS{constructor(){super(...arguments),this.defaultOptions={templateOptions:{autosize:{minRows:2,maxRows:20}}}}}return p.\u0275fac=function(){let T;return function(C){return(T||(T=t.n5z(p)))(C||p)}}(),p.\u0275cmp=t.Xpm({type:p,selectors:[["cvc-textarea-base-type"]],features:[t.qOj],decls:1,vars:4,consts:[["nz-input","",3,"formControl","formlyAttributes","nzAutosize","placeholder"]],template:function(y,C){1&y&&t._UZ(0,"textarea",0),2&y&&t.Q6J("formControl",C.formControl)("formlyAttributes",C.field)("nzAutosize",C.to.autosize)("placeholder",C.to.placeholder)},dependencies:[d.Fj,d.JJ,d.oH,s.JD,x.Zp,x.rh],encapsulation:2,changeDetection:0}),p})(),wrappers:["form-field"]};let c=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[e.ez,d.u5,d.UX,s.X0.forChild({types:[r]}),x.o7]}),p})()},5478:(W,Z,n)=>{n.d(Z,{C:()=>B});var e=n(6814),s=n(5545),t=n(2962),d=n(565),x=n(95),E=n(279),r=n(5690),c=n(5879),p=n(3771),T=n(551),y=n(6109),C=n(8091);function P(_,A){1&_&&c._UZ(0,"div",9),2&_&&c.Q6J("innerHtml",A.ngIf,c.oJD)}function F(_,A){1&_&&(c.TgZ(0,"div",10),c._uU(1,"Help not available for this field."),c.qZA())}function S(_,A){if(1&_&&(c.TgZ(0,"nz-collapse-panel",6),c.YNc(1,P,1,1,"div",7),c.YNc(2,F,2,0,"ng-template",null,8,c.W1O),c.qZA()),2&_){const h=A.ngIf,f=c.MAs(3),v=c.oxw().$implicit,u=c.MAs(3);c.Q6J("nzHeader",h)("nzActive",v.templateOptions.hasFocus)("nzExtra",u),c.xp6(1),c.Q6J("ngIf",null==v.templateOptions?null:v.templateOptions.helpText)("ngIfElse",f)}}function L(_,A){if(1&_&&c._UZ(0,"formly-validation-message",14),2&_){const h=c.oxw(4).$implicit;c.Q6J("field",h)}}function D(_,A){if(1&_&&(c.ynx(0),c._UZ(1,"i",12),c.YNc(2,L,1,1,"ng-template",null,13,c.W1O),c.BQk()),2&_){const h=c.MAs(3);c.xp6(1),c.Q6J("nzTooltipTitle",h)}}function N(_,A){if(1&_&&(c.ynx(0),c.YNc(1,D,4,1,"ng-container",11),c.BQk()),2&_){const h=A.ngIf;c.xp6(1),c.Q6J("ngIf","INVALID"===h)}}function o(_,A){if(1&_&&(c.YNc(0,N,2,1,"ng-container",11),c.ALo(1,"ngrxPush")),2&_){const h=c.oxw().$implicit;c.Q6J("ngIf",c.lcZ(1,1,h.formControl.statusChanges))}}function J(_,A){if(1&_&&(c.ynx(0),c.YNc(1,S,4,5,"nz-collapse-panel",4),c.YNc(2,o,2,3,"ng-template",null,5,c.W1O),c.BQk()),2&_){const h=A.$implicit;c.xp6(1),c.Q6J("ngIf",null==h.templateOptions?null:h.templateOptions.label)}}let G=(()=>{class _{constructor(){}ngOnInit(){}}return _.\u0275fac=function(h){return new(h||_)},_.\u0275cmp=c.Xpm({type:_,selectors:[["cvc-form-info-card"]],inputs:{fieldGroup:"fieldGroup",affixTo:"affixTo"},decls:4,vars:4,consts:[[3,"nzOffsetTop","nzTarget"],["nzTitle","Form Assistant","nzSize","default",1,"form-helper-card"],[3,"nzBordered"],[4,"ngFor","ngForOf"],[3,"nzHeader","nzActive","nzExtra",4,"ngIf"],["fieldStatus",""],[3,"nzHeader","nzActive","nzExtra"],["class","help-text",3,"innerHtml",4,"ngIf","ngIfElse"],["noHelpText",""],[1,"help-text",3,"innerHtml"],[1,"help-text"],[4,"ngIf"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","#f5222d","nz-tooltip","","nzTooltipColor","red",3,"nzTooltipTitle"],["errorTooltip",""],[3,"field"]],template:function(h,f){1&h&&(c.TgZ(0,"nz-affix",0)(1,"nz-card",1)(2,"nz-collapse",2),c.YNc(3,J,4,1,"ng-container",3),c.qZA()()()),2&h&&(c.Q6J("nzOffsetTop",0)("nzTarget",f.affixTo),c.xp6(2),c.Q6J("nzBordered",!1),c.xp6(1),c.Q6J("ngForOf",f.fieldGroup))},dependencies:[e.sg,e.O5,s.M2,t.bd,p.$,d.Zv,d.yH,T.Ls,y.SY,C.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}.help-text[_ngcontent-%COMP%]{padding:6px 8px;border:1px solid #efefef;background:white;border-radius:6px}"]}),_})();const Q={name:"form-info",component:(()=>{class _ extends s.n2{}return _.\u0275fac=function(){let A;return function(f){return(A||(A=c.n5z(_)))(f||_)}}(),_.\u0275cmp=c.Xpm({type:_,selectors:[["cvc-form-info-wrapper"]],features:[c.qOj],decls:9,vars:5,consts:[["nzGutter","16"],[3,"nzSpan"],["nzSize","default",3,"nzTitle"],["fieldComponent",""],["infoCardContainer",""],[3,"fieldGroup","affixTo"]],template:function(h,f){if(1&h&&(c.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"nz-card",2),c.GkF(3,null,3),c.qZA()(),c.TgZ(5,"nz-col",1)(6,"div",null,4),c._UZ(8,"cvc-form-info-card",5),c.qZA()()()),2&h){const v=c.MAs(7);c.xp6(1),c.Q6J("nzSpan",16),c.xp6(1),c.Q6J("nzTitle",f.to.label),c.xp6(3),c.Q6J("nzSpan",8),c.xp6(3),c.Q6J("fieldGroup",f.field.fieldGroup)("affixTo",v)}},dependencies:[x.t3,x.SK,t.bd,G],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),_})()};let B=(()=>{class _{}return _.\u0275fac=function(h){return new(h||_)},_.\u0275mod=c.oAB({type:_}),_.\u0275inj=c.cJS({imports:[e.ez,s.X0.forChild({wrappers:[Q]}),x.Jb,t.vh,d.cD,r._,E.s]}),_})()},4989:(W,Z,n)=>{n.d(Z,{t:()=>j});var e=n(5879),s=n(2024),t=n(8645),d=n(9773),x=n(313),E=n(7473),r=n(6814),c=n(6223),p=n(95),T=n(3599),y=n(2962),C=n(3903),P=n(7907),F=n(2840),S=n(855),L=n(1958),D=n(2669),N=n(4755);function o(Q,B){1&Q&&e._UZ(0,"nz-alert",7)}function J(Q,B){if(1&Q&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",8),e.qZA()),2&Q){const _=e.oxw();e.xp6(1),e.Q6J("errors",_.errorMessages)}}function G(Q,B){if(1&Q){const _=e.EpF();e.TgZ(0,"nz-form-item")(1,"textarea",9),e.NdJ("ngModelChange",function(h){e.CHM(_);const f=e.oxw();return e.KtG(f.coiText=h)}),e.qZA()()}if(2&Q){const _=e.oxw();e.xp6(1),e.Q6J("ngModel",_.coiText)}}let j=(()=>{class Q{constructor(_,A){this.updateCoiGql=_,this.coiUpdatedEvent=new e.vpe,this.coiText=void 0,this.coiStatus="noCoi",this.success=!1,this.errorMessages=[],this.loading=!1,this.destroy$=new t.x,this.updateCoiMutator=new s.U(A)}updateCoi(){if("coiPresent"===this.coiStatus&&this.coiText||"noCoi"===this.coiStatus){this.errorMessages=[];let A=this.updateCoiMutator.mutate(this.updateCoiGql,{input:{coiPresent:"coiPresent"===this.coiStatus,statement:this.coiText}});A.submitSuccess$.pipe((0,d.R)(this.destroy$)).subscribe(h=>{h&&(this.resetForm(),this.success=!0,this.coiUpdatedEvent.emit())}),A.submitError$.pipe((0,d.R)(this.destroy$)).subscribe(h=>{h&&(this.errorMessages=h,this.success=!1)}),A.isSubmitting$.pipe((0,d.R)(this.destroy$)).subscribe(h=>{this.loading=h})}}resetForm(){this.coiStatus="noCoi",this.coiText=void 0}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Q.\u0275fac=function(_){return new(_||Q)(e.Y36(x.IP1),e.Y36(E.Y))},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["cvc-user-coi-form"]],outputs:{coiUpdatedEvent:"coiUpdatedEvent"},decls:14,vars:6,consts:[["nzBanner","","nzMessage","COI Statement Updated.","nzType","success","nzCloseable","",4,"ngIf"],[4,"ngIf"],["nzTip","Submitting",3,"nzSpinning"],[3,"ngModel","ngModelChange"],["nz-radio","","nzValue","noCoi"],["nz-radio","","nzValue","coiPresent"],["type","submit","nz-button","","nzType","primary","nzSize","small",3,"disabled","click"],["nzBanner","","nzMessage","COI Statement Updated.","nzType","success","nzCloseable",""],[3,"errors"],["nz-input","","rows","5","placeholder","Provide a concise description of any potential or actual conflicts of interest that you may have in curating CIViC",2,"width","100%",3,"ngModel","ngModelChange"]],template:function(_,A){1&_&&(e.TgZ(0,"nz-card"),e.YNc(1,o,1,0,"nz-alert",0),e.YNc(2,J,2,1,"nz-form-item",1),e.TgZ(3,"nz-spin",2)(4,"nz-form-item")(5,"nz-radio-group",3),e.NdJ("ngModelChange",function(f){return A.coiStatus=f}),e.TgZ(6,"label",4),e._uU(7,"I do not have any potential conflicts of interest."),e.qZA(),e.TgZ(8,"label",5),e._uU(9,"I do have a potential conflict of interest."),e.qZA()()(),e.YNc(10,G,2,1,"nz-form-item",1),e.TgZ(11,"nz-form-item")(12,"button",6),e.NdJ("click",function(){return A.updateCoi()}),e._uU(13," Save Conflict of Interest Statement "),e.qZA()()()()),2&_&&(e.xp6(1),e.Q6J("ngIf",A.success),e.xp6(1),e.Q6J("ngIf",A.errorMessages.length>0),e.xp6(1),e.Q6J("nzSpinning",A.loading),e.xp6(2),e.Q6J("ngModel",A.coiStatus),e.xp6(5),e.Q6J("ngIf","coiPresent"===A.coiStatus),e.xp6(2),e.Q6J("disabled",A.loading||"coiPresent"===A.coiStatus&&(void 0===A.coiText||A.coiText.length<10)))},dependencies:[r.O5,c.Fj,c.JJ,c.On,p.SK,T.Nx,y.bd,C.r,P.Of,P.Dg,F.ix,S.w,L.dQ,D.W,N.V],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-form-item[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"]}),Q})()},8788:(W,Z,n)=>{n.d(Z,{e:()=>y});var e=n(6814),s=n(6223),t=n(2962),d=n(3903),x=n(3599),E=n(3394),r=n(7907),c=n(2669),p=n(2840),T=n(5879);let y=(()=>{class C{}return C.\u0275fac=function(F){return new(F||C)},C.\u0275mod=T.oAB({type:C}),C.\u0275inj=T.cJS({imports:[e.ez,s.u5,x.U5,s.UX,t.vh,d.L,r.aF,p.sL,c.j,E.B]}),C})()},4398:(W,Z,n)=>{n.d(Z,{G:()=>Q});var e=n(5879),s=n(6223),t=n(8645),d=n(313),x=n(8877);class E extends x.nT{constructor(){super(x.yQ.EVIDENCE),this.validStates.set(d.kqt.Predictive,{entityType:d.kqt.Predictive,significance:[d.y1h.Sensitivityresponse,d.y1h.Resistance,d.y1h.AdverseResponse,d.y1h.ReducedSensitivity,d.y1h.Na],entityDirection:[d.tI1.Supports,d.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(d.kqt.Diagnostic,{entityType:d.kqt.Diagnostic,significance:[d.y1h.Positive,d.y1h.Negative],entityDirection:[d.tI1.Supports,d.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(d.kqt.Prognostic,{entityType:d.kqt.Prognostic,significance:[d.y1h.BetterOutcome,d.y1h.PoorOutcome,d.y1h.Na],entityDirection:[d.tI1.Supports,d.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(d.kqt.Oncogenic,{entityType:d.kqt.Oncogenic,significance:[d.y1h.Oncogenicity,d.y1h.Protectiveness],entityDirection:[d.tI1.Supports,d.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(d.kqt.Predisposing,{entityType:d.kqt.Predisposing,significance:[d.y1h.Predisposition,d.y1h.Protectiveness],entityDirection:[d.tI1.Supports,d.tI1.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(d.kqt.Functional,{entityType:d.kqt.Functional,significance:[d.y1h.GainOfFunction,d.y1h.LossOfFunction,d.y1h.UnalteredFunction,d.y1h.Neomorphic,d.y1h.DominantNegative,d.y1h.Unknown],entityDirection:[d.tI1.Supports,d.tI1.DoesNotSupport],requiresDisease:!1,requiresDrug:!1,requiresAcmgCodes:!1,requiresClingenCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}var r=n(2024),c=n(9773),p=n(7473),T=n(4190),y=n(6814),C=n(95),P=n(3599),F=n(3903),S=n(2669),L=n(5545),D=n(4755);function N(B,_){1&B&&e.GkF(0)}function o(B,_){if(1&B&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",6),e.qZA()),2&B){const A=e.oxw(2);e.xp6(1),e.Q6J("errors",A.errorMessages)}}function J(B,_){if(1&B&&(e.TgZ(0,"p"),e._uU(1," View "),e.TgZ(2,"a",10),e._uU(3,"its details"),e.qZA(),e._uU(4,". "),e.qZA()),2&B){const A=e.oxw(3);e.xp6(2),e.MGl("routerLink","/variants/",A.newId,"/summary")}}function G(B,_){if(1&B&&(e.ynx(0),e._UZ(1,"nz-alert",7),e.YNc(2,J,5,1,"ng-template",8,9,e.W1O),e.BQk()),2&B){const A=e.MAs(3),h=e.oxw(2);e.xp6(1),e.Q6J("nzMessage",h.isNew?"Variant Created":"Variant Already Exists")("nzDescription",A)}}function j(B,_){if(1&B&&(e.YNc(0,o,2,1,"nz-form-item",5),e.YNc(1,G,4,2,"ng-container",5)),2&B){const A=e.oxw();e.Q6J("ngIf",A.errorMessages.length>0),e.xp6(1),e.Q6J("ngIf",A.success)}}let Q=(()=>{class B{constructor(A,h,f){this.submitVariantGQL=A,this.networkErrorService=h,this.route=f,this.onVariantSelected=new e.vpe,this.allowCreate=!0,this.destroy$=new t.x,this.formGroup=new s.nJ({}),this.formFields=[],this.formOptions={formState:new E},this.success=!1,this.errorMessages=[],this.loading=!1,this.submitVariantMutator=new r.U(h)}ngOnInit(){this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{},fieldGroup:[{key:"gene",type:"gene-array",templateOptions:{maxCount:1,required:!0},validation:{messages:{required:"Gene is required to select a variant."}}},{key:"variant",type:"variant-array",templateOptions:{required:!1,maxCount:1,allowCreate:this.allowCreate}}]}]}submitVariant(A){let h=A?.fields.gene[0].id,f=A?.fields.variant[0].name;if(h&&f){let u=this.submitVariantMutator.mutate(this.submitVariantGQL,{geneId:h,name:f},{},O=>{let U=O.addVariant;U&&(this.newId=U.variant.id,this.isNew=U.new,this.onVariantSelected.emit({variantId:U.variant.id,molecularProfile:U.variant.singleVariantMolecularProfile}))});u.submitSuccess$.pipe((0,c.R)(this.destroy$)).subscribe(O=>{O&&(this.success=!0)}),u.submitError$.pipe((0,c.R)(this.destroy$)).subscribe(O=>{O&&(this.errorMessages=O,this.success=!1)}),u.isSubmitting$.pipe((0,c.R)(this.destroy$)).subscribe(O=>{this.loading=O})}}onFormModelChange(A){this.formModel=A,A.fields.variant&&A.fields.variant[0]&&this.onVariantSelected.emit({variantId:A.fields.variant[0].id,molecularProfile:A.fields.variant[0].singleVariantMolecularProfile})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return B.\u0275fac=function(A){return new(A||B)(e.Y36(d.LUc),e.Y36(p.Y),e.Y36(T.gz))},B.\u0275cmp=e.Xpm({type:B,selectors:[["cvc-variant-submit-form"]],inputs:{allowCreate:"allowCreate"},outputs:{onVariantSelected:"onVariantSelected"},decls:6,vars:7,consts:[["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",2,"width","400px",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange"],["formMessages",""],[4,"ngIf"],[3,"errors"],["nzType","success","nzShowIcon","",3,"nzMessage","nzDescription"],["nzSize","small"],["successMessage",""],[3,"routerLink"]],template:function(A,h){if(1&A&&(e.TgZ(0,"nz-spin",0)(1,"form",1),e.NdJ("ngSubmit",function(){return h.submitVariant(h.formModel)}),e.YNc(2,N,1,0,"ng-container",2),e.TgZ(3,"formly-form",3),e.NdJ("modelChange",function(v){return h.onFormModelChange(v)}),e.qZA()()(),e.YNc(4,j,2,2,"ng-template",null,4,e.W1O)),2&A){const f=e.MAs(5);e.Q6J("nzSpinning",h.loading),e.xp6(1),e.Q6J("formGroup",h.formGroup),e.xp6(1),e.Q6J("ngTemplateOutlet",f),e.xp6(1),e.Q6J("form",h.formGroup)("fields",h.formFields)("model",h.formModel)("options",h.formOptions)}},dependencies:[y.O5,y.tP,T.rH,s._Y,s.JL,s.sg,C.SK,P.Lr,P.Nx,F.r,S.W,L.T7,D.V],encapsulation:2}),B})()},9191:(W,Z,n)=>{n.d(Z,{e:()=>ln});var e=n(6814),s=n(9560),t=n(845),d=n(3394),x=n(5478),E=n(4784),r=n(354),c=n(5545),p=n(279),T=n(3903),y=n(2840),C=n(3599),P=n(95),F=n(6223),S=n(4190),L=n(9083),D=n(7248),N=n(9691),o=n(5879),J=n(2962),G=n(6109);let j=(()=>{class a{constructor(){console.log("FormCardDirective constructed.")}}return a.\u0275fac=function(g){return new(g||a)},a.\u0275dir=o.lG2({type:a,selectors:[["",8,"cvc-form-card-control"]]}),a})();function Q(a,z){1&a&&o._UZ(0,"i",7)}function B(a,z){if(1&a&&(o.TgZ(0,"nz-form-label",5),o._uU(1),o.YNc(2,Q,1,0,"i",6),o.qZA()),2&a){const g=o.oxw();o.Q6J("nzRequired",g.to.required&&!0!==g.to.hideRequiredMarker)("nzFor",g.id),o.xp6(1),o.hij(" ",g.to.label," "),o.xp6(1),o.Q6J("ngIf",g.to.helpText)}}function _(a,z){if(1&a&&o._UZ(0,"formly-validation-message",9),2&a){const g=o.oxw(2);o.Q6J("field",g.field)}}function A(a,z){if(1&a&&o.YNc(0,_,1,1,"formly-validation-message",8),2&a){const g=o.oxw();o.Q6J("ngIf",g.showError)}}let h=(()=>{class a extends c.n2{get errorState(){return console.log(`form-card.wrapper showError: ${this.showError}`),this.showError?"error":""}constructor(){super()}ngOnInit(){}}return a.\u0275fac=function(g){return new(g||a)},a.\u0275cmp=o.Xpm({type:a,selectors:[["form-card-wrapper"]],features:[o.qOj],decls:9,vars:4,consts:[[1,"cvc-form-card-control",3,"nzValidateStatus","nzErrorTip"],["nzSize","small","nzType","inner",3,"nzTitle","nzExtra"],["fieldComponent",""],["cardTitle",""],["cardExtra",""],[3,"nzRequired","nzFor"],["nzType","question-circle","nzTheme","fill","nz-tooltip","","nzTooltipTitle","to.helpText",4,"ngIf"],["nzType","question-circle","nzTheme","fill","nz-tooltip","","nzTooltipTitle","to.helpText"],[3,"field",4,"ngIf"],[3,"field"]],template:function(g,I){if(1&g&&(o.TgZ(0,"nz-form-item")(1,"nz-form-control",0)(2,"nz-card",1),o.GkF(3,null,2),o.qZA(),o.YNc(5,B,3,4,"ng-template",null,3,o.W1O),o.YNc(7,A,1,1,"ng-template",null,4,o.W1O),o.qZA()()),2&g){const tt=o.MAs(6),et=o.MAs(8);o.xp6(1),o.Q6J("nzValidateStatus",I.errorState)("nzErrorTip",et),o.xp6(1),o.Q6J("nzTitle",tt)("nzExtra",et)}},dependencies:[e.O5,P.t3,P.SK,C.Nx,C.iK,C.Fd,J.bd,G.SY,c.M2,j],styles:["[_nghost-%COMP%]{display:block}.ant-form-item-label[_ngcontent-%COMP%]{padding:0}"],changeDetection:0}),a})();var f=n(551);const v={wrappers:[{name:"form-card",component:h}]};let u=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez,F.UX,C.U5,J.vh,f.PV,G.cg,c.X0.forChild(v),p.s]}),a})();var O=n(655),U=n(2181),R=n(7398),Y=n(4223),H=n(5676),$=n(1791),w=n(313),q=n(8091),K=n(2574),X=n(2392),nt=n(4121);let lt=(()=>{class a{constructor(g){this.host=g,this.autofocus="focus"}ngAfterViewInit(){"click"==this.autofocus?this.host.nativeElement.click():this.host.nativeElement.focus()}}return a.\u0275fac=function(g){return new(g||a)(o.Y36(o.SBq))},a.\u0275dir=o.lG2({type:a,selectors:[["","autofocus",""]],inputs:{autofocus:"autofocus"}}),a})();var ot,ft=n(7334);function ct(a,z){if(1&a&&(o._UZ(0,"span",10),o.ALo(1,"highlightTypeahead")),2&a){const g=o.oxw().$implicit,I=o.oxw(3);o.Q6J("innerHtml",o.xi3(1,1,g.label,I.to.searchString),o.oJD)}}function ht(a,z){if(1&a&&(o._UZ(0,"span",12),o.ALo(1,"highlightTypeahead")),2&a){const g=o.oxw(2).$implicit,I=o.oxw(3);o.Q6J("innerHtml",o.xi3(1,1,g.gene.geneAliases.join(", "),I.to.searchString),o.oJD)}}function zt(a,z){1&a&&(o.ynx(0),o.YNc(1,ht,2,4,"span",11),o.BQk())}function Ot(a,z){if(1&a&&(o.TgZ(0,"nz-option",7)(1,"nz-space"),o.YNc(2,ct,2,4,"span",8),o.YNc(3,zt,2,0,"ng-container",9),o.qZA()()),2&a){const g=z.$implicit;o.Q6J("nzLabel",g.tooltip)("nzValue",g.gene),o.xp6(3),o.Q6J("ngIf",g.gene.geneAliases.length>0)}}function _t(a,z){if(1&a&&(o.ynx(0),o.YNc(1,Ot,4,3,"nz-option",6),o.BQk()),2&a){const g=z.ngrxLet;o.xp6(1),o.Q6J("ngForOf",g)}}function At(a,z){1&a&&o._uU(0," No gene found in CIViC that matches the string provided. ")}function St(a,z){if(1&a){const g=o.EpF();o.ynx(0),o.TgZ(1,"nz-select",2,3),o.NdJ("nzOnSearch",function(tt){o.CHM(g);const et=o.oxw();return o.KtG(et.to.onSearch(tt))}),o.YNc(3,_t,2,1,"ng-container",4),o.qZA(),o.YNc(4,At,1,0,"ng-template",null,5,o.W1O),o.BQk()}if(2&a){const g=o.MAs(5),I=o.oxw();o.xp6(1),o.Q6J("formControl",I.formControl)("formlyAttributes",I.field)("nzPlaceHolder",I.to.placeholder?I.to.placeholder:null)("nzNotFoundContent",g)("nzShowArrow",I.to.showArrow)("nzFilterOption",I.to.filterOption),o.xp6(2),o.Q6J("ngrxLet",I.genes$)}}function Et(a,z){if(1&a&&o._UZ(0,"cvc-gene-tag",13),2&a){const g=o.oxw();o.Q6J("gene",g.formControl.value)}}let dt=((ot=class extends c.fS{constructor(z){super(),this.geneTypeaheadQuery=z,this.defaultOptions={templateOptions:{placeholder:"Search Genes",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[]}}}ngOnInit(){this.queryRef=this.geneTypeaheadQuery.watch({entrezSymbol:""}),this.genes$=this.queryRef.valueChanges.pipe((0,Y.j)("data","geneTypeahead"),(0,U.h)(H.ep),(0,R.U)(z=>z.map(g=>{let I=g.geneAliases.length>0?`Aliases: ${g.geneAliases.join(", ")}`:"";return{value:g.id,tooltip:`${g.name} (${g.entrezId}) ${I}`,label:`${g.name} (${g.entrezId})`,gene:g}})))}ngAfterViewInit(){this.to.onSearch=z=>{z.length{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez]}),a})(),Zt=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez,F.UX,c.X0.forChild({types:[It]}),N.LV,K.zf,X.ZJ,Pt.U,Ct.s,vt]}),a})();const Dt={name:"gene-array",extends:"multi-field",wrappers:["form-field"],defaultOptions:{templateOptions:{label:"Gene",helpText:"Entrez Gene name (e.g. BRAF). Gene name must be known to the Entrez database.",required:!1,addText:"Specify a Gene"},fieldArray:{type:"cvc-gene-input",templateOptions:{required:!1}},defaultValue:[],validation:{messages:{required:()=>"Evidence requires that a Gene be specified."}}}};let Ft=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez,F.u5,F.UX,N.LV,D.F,L.F,c.X0.forChild({types:[Dt]}),Zt,E.N,u]}),a})();var Ut=n(2669),Bt=n(565),Nt=n(5690);const Lt={wrappers:[{name:"form-container",component:(()=>{class a extends c.n2{}return a.\u0275fac=function(){let z;return function(I){return(z||(z=o.n5z(a)))(I||a)}}(),a.\u0275cmp=o.Xpm({type:a,selectors:[["cvc-form-container-wrapper"]],features:[o.qOj],decls:5,vars:1,consts:[["nzSpan","24"],["nzSize","default",3,"nzTitle"],["fieldComponent",""]],template:function(g,I){1&g&&(o.TgZ(0,"nz-row")(1,"nz-col",0)(2,"nz-card",1),o.GkF(3,null,2),o.qZA()()()),2&g&&(o.xp6(2),o.Q6J("nzTitle",I.to.label))},dependencies:[P.t3,P.SK,J.bd],styles:["[_nghost-%COMP%]{display:block;width:100%}"],changeDetection:0}),a})()}]};let Vt=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez,c.X0.forChild(Lt),P.Jb,J.vh,Bt.cD,Nt._,p.s]}),a})();var it,Jt=n(8706),Qt=n(8634),Rt=n(2024),Wt=n(5619),Yt=n(836),at=n(7473),bt=n(855),$t=n(1958),pt=n(804),Kt=n(9408),Tt=n(4755);function Gt(a,z){if(1&a&&(o._UZ(0,"span",9),o.ALo(1,"highlightTypeahead")),2&a){const g=o.oxw().$implicit,I=o.oxw(2);o.Q6J("innerHtml",o.xi3(1,1,g.label,I.to.searchString),o.oJD)}}function jt(a,z){1&a&&(o.TgZ(0,"span"),o._uU(1," - Aliases:\xa0 "),o.qZA())}function yt(a,z){if(1&a&&(o.TgZ(0,"span",10),o._uU(1),o.YNc(2,jt,2,0,"span",11),o._UZ(3,"span",9),o.ALo(4,"highlightTypeahead"),o.qZA()),2&a){const g=o.oxw().$implicit,I=o.oxw(2);o.xp6(1),o.hij(" ID: ",g.variant.id," "),o.xp6(1),o.Q6J("ngIf",g.variant.variantAliases.length>0),o.xp6(1),o.Q6J("innerHtml",o.xi3(4,3,g.variant.variantAliases.join(", "),I.to.searchString),o.oJD)}}function wt(a,z){1&a&&(o.TgZ(0,"nz-option",6)(1,"nz-space"),o.YNc(2,Gt,2,4,"span",7),o.YNc(3,yt,5,6,"span",8),o.qZA()()),2&a&&o.Q6J("nzValue",z.$implicit.variant)}function ut(a,z){if(1&a){const g=o.EpF();o.ynx(0),o.TgZ(1,"nz-select",4),o.NdJ("nzOnSearch",function(tt){o.CHM(g);const et=o.oxw();return o.KtG(et.to.onSearch(tt))}),o.YNc(2,wt,4,1,"nz-option",5),o.ALo(3,"ngrxPush"),o.qZA(),o.BQk()}if(2&a){const g=o.oxw(),I=o.MAs(6),tt=o.MAs(4);o.xp6(1),o.Q6J("formControl",g.formControl)("formlyAttributes",g.field)("nzPlaceHolder",g.to.placeholder?g.to.placeholder:null)("nzDropdownRender",g.to.allowCreate?I:null)("nzShowArrow",g.to.showArrow)("nzNotFoundContent",tt),o.xp6(1),o.Q6J("ngForOf",o.lcZ(3,7,g.variants$))}}function mt(a,z){if(1&a&&o._UZ(0,"cvc-variant-tag",12),2&a){const g=o.oxw();o.Q6J("variant",g.formControl.value)}}function Ht(a,z){if(1&a&&(o._uU(0," No Existing CIViC Variant\xa0"),o.TgZ(1,"strong"),o._uU(2),o.qZA(),o._uU(3,"\xa0found. ")),2&a){const g=o.oxw(2);o.xp6(2),o.Oqu(g.to.searchString)}}function Xt(a,z){if(1&a&&(o._UZ(0,"nz-empty",13),o.YNc(1,Ht,4,1,"ng-template",null,14,o.W1O)),2&a){const g=o.MAs(2);o.Q6J("nzNotFoundContent",g)}}function kt(a,z){if(1&a&&o._UZ(0,"cvc-form-errors-alert",18),2&a){const g=o.oxw(4);o.Q6J("errors",g.errorMessages)}}function qt(a,z){if(1&a){const g=o.EpF();o.TgZ(0,"button",19),o.NdJ("click",function(){o.CHM(g);const tt=o.oxw(4);return o.KtG(tt.addVariant(tt.to.searchString))}),o._UZ(1,"i",20),o._uU(2,"Create\xa0"),o.TgZ(3,"strong"),o._uU(4),o.qZA(),o._uU(5,"? "),o.qZA()}if(2&a){const g=o.oxw(4);o.Q6J("nzLoading",g.loading),o.xp6(4),o.Oqu(g.to.searchString)}}function tn(a,z){if(1&a&&(o.ynx(0),o.TgZ(1,"nz-space",15),o.YNc(2,kt,1,1,"cvc-form-errors-alert",16),o.YNc(3,qt,6,2,"button",17),o.qZA(),o.BQk()),2&a){const g=o.oxw(3);o.xp6(2),o.Q6J("ngIf",g.errorMessages.length>0),o.xp6(1),o.Q6J("ngIf",0==g.errorMessages.length)}}function nn(a,z){if(1&a&&(o.ynx(0),o.YNc(1,tn,4,2,"ng-container",11),o.BQk()),2&a){const g=o.oxw(2);o.xp6(1),o.Q6J("ngIf",""!==g.to.searchString)}}function en(a,z){if(1&a&&(o.YNc(0,nn,2,1,"ng-container",11),o.ALo(1,"ngrxPush")),2&a){const g=o.oxw();o.Q6J("ngIf",o.lcZ(1,1,g.displayAdd$))}}let gt=((it=class extends c.fS{constructor(z,g,I){super(),this.variantTypeaheadQuery=z,this.networkErrorService=g,this.addVariantGQL=I,this.onVariantSelected=new o.vpe,this.success=!1,this.errorMessages=[],this.loading=!1,this.displayAdd$=new Wt.X(!1),this.addVariantMutator=new Rt.U(this.networkErrorService),this.defaultOptions={templateOptions:{placeholder:"Search Variants",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[],allowCreate:!0},expressionProperties:{"templateOptions.geneId":(tt,et,cn)=>{let st=cn?.parent?.parent?.model;if(st&&st.gene&&st.gene[0])return st.gene[0].id}}}}ngOnInit(){this.callbackSub=this.field?.formControl?.valueChanges.subscribe(z=>this.onVariantSelected.emit(z.id)),this.queryRef=this.variantTypeaheadQuery.watch({name:"a",geneId:this.to.geneId}),this.variants$=this.queryRef.valueChanges.pipe((0,Yt.T)(1),(0,Y.j)("data","variants","nodes"),(0,U.h)(H.ep),(0,R.U)(z=>z.map(I=>({value:I.id,label:I.name,variant:I}))))}ngAfterViewInit(){this.to.onSearch=z=>{z.length{this.displayAdd$.next(0==g.data.variants.nodes.filter(I=>I.name.toUpperCase()==z.toUpperCase()).length)}))}}addVariant(z){if(z&&""!=z&&this.to.geneId){let g=this.addVariantMutator.mutate(this.addVariantGQL,{name:z,geneId:this.to.geneId},{},I=>{I.addVariant&&(this.field.formControl?.setValue({id:I.addVariant.variant.id,name:I.addVariant.variant.name}),this.to.searchString="",this.to.searchLength=0)});g.submitSuccess$.pipe((0,$.t)(this)).subscribe(I=>{I&&(this.success=!0)}),g.submitError$.pipe((0,$.t)(this)).subscribe(I=>{I&&(this.errorMessages=I,this.success=!1)}),g.isSubmitting$.pipe((0,$.t)(this)).subscribe(I=>{this.loading=I})}}ngOnDestroy(){this.callbackSub?.unsubscribe()}}).\u0275fac=function(z){return new(z||it)(o.Y36(w._eC),o.Y36(at.Y),o.Y36(w.LUc))},it.\u0275cmp=o.Xpm({type:it,selectors:[["cvc-variant-input-type"]],outputs:{onVariantSelected:"onVariantSelected"},features:[o.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["variantListItem",""],["variantNotFound",""],["addVariantTmpl",""],["nzShowSearch","","nzServerSearch","","autofocus","click",2,"width","300px",3,"formControl","formlyAttributes","nzPlaceHolder","nzDropdownRender","nzShowArrow","nzNotFoundContent","nzOnSearch"],["nzCustomContent","",3,"nzValue",4,"ngFor","ngForOf"],["nzCustomContent","",3,"nzValue"],[3,"innerHtml",4,"nzSpaceItem"],["nz-typography","","nzType","secondary",4,"nzSpaceItem"],[3,"innerHtml"],["nz-typography","","nzType","secondary"],[4,"ngIf"],[3,"variant"],["nzNotFoundImage","simple",3,"nzNotFoundContent"],["notFoundContent",""],["nzDirection","vertical"],["nzSpaceItem","",3,"errors",4,"ngIf"],["nzSpaceItem","","nz-button","","nzSize","small",3,"nzLoading","click",4,"ngIf"],["nzSpaceItem","",3,"errors"],["nzSpaceItem","","nz-button","","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","plus","nzTheme","outline"]],template:function(z,g){if(1&z&&(o.YNc(0,ut,4,9,"ng-container",0),o.YNc(1,mt,1,1,"ng-template",null,1,o.W1O),o.YNc(3,Xt,3,1,"ng-template",null,2,o.W1O),o.YNc(5,en,2,3,"ng-template",null,3,o.W1O)),2&z){const I=o.MAs(2);o.Q6J("ngIf",!(null!=g.formControl.value&&g.formControl.value.id))("ngIfElse",I)}},dependencies:[e.sg,e.O5,F.JJ,F.oH,c.JD,N.Ip,N.Vq,y.ix,bt.w,$t.dQ,f.Ls,K.NU,K.$1,X.ZU,pt.p9,Kt.I,Tt.V,lt,q.fM,ft.A],encapsulation:2,changeDetection:0}),it);gt=(0,O.gn)([(0,$.c)()],gt);const on={name:"variant-input",component:gt};var rn=n(7528);let rt=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez,F.UX,c.X0.forChild({types:[on]}),N.LV,y.sL,f.PV,K.zf,X.ZJ,pt.Xo,rn.Q,d.B,Ct.s,vt]}),a})();const an={name:"variant-array",extends:"multi-field",wrappers:["form-field"],defaultOptions:{templateOptions:{label:"Variant",helpText:"Description of the type of variant (e.g., V600E, BCR-ABL fusion, Loss-of-function, exon 12 mutations). Should be as specific as possible (i.e., specific amino acid changes).",required:!1,addText:"Specify a Variant"},fieldArray:{type:"variant-input",templateOptions:{required:!1},expressionProperties:{"templateOptions.allowCreate":(a,z,g)=>{const I=g?.parent?.templateOptions?.allowCreate;return void 0===I||I}}},hideExpression:(a,z,g)=>{const I=g?.form?g.form.get("gene"):null;return!I||!I.value||!I.value[0]},defaultValue:[],validation:{messages:{required:()=>"Evidence requires that a Variant be specified."}}}};let sn=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez,F.u5,F.UX,N.LV,D.F,L.F,c.X0.forChild({types:[an]}),rt,E.N]}),a})(),ln=(()=>{class a{}return a.\u0275fac=function(g){return new(g||a)},a.\u0275mod=o.oAB({type:a}),a.\u0275inj=o.cJS({imports:[e.ez,S.Bz,F.UX,p.s,C.U5,T.L,P.Jb,y.sL,Ut.j,J.vh,K.zf,X.ZJ,c.X0,d.B,t.R,x.C,E.N,r.o,s.K,Ft,Vt,Jt.E,Qt.l,rt,sn,p.s]}),a})()},9641:(W,Z,n)=>{n.r(Z),n.d(Z,{LayoutModule:()=>fn});var e=n(6814),s=n(4190),t=n(5879),d=n(951),x=n(551),E=n(95),r=n(8645),c=n(9773),p=n(655),T=n(9087),y=n(7754),C=n(3460),P=n(2831),F=n(9388),S=n(1088);const L=["*"],D=["nz-sider-trigger",""];function N(i,M){}function o(i,M){if(1&i&&(t.ynx(0),t.YNc(1,N,0,0,"ng-template",3),t.BQk()),2&i){const l=t.oxw(),m=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",l.nzZeroTrigger||m)}}function J(i,M){}function G(i,M){if(1&i&&(t.ynx(0),t.YNc(1,J,0,0,"ng-template",3),t.BQk()),2&i){const l=t.oxw(),m=t.MAs(3);t.xp6(1),t.Q6J("ngTemplateOutlet",l.nzTrigger||m)}}function j(i,M){if(1&i&&t._UZ(0,"span",5),2&i){const l=t.oxw(2);t.Q6J("nzType",l.nzCollapsed?"right":"left")}}function Q(i,M){if(1&i&&t._UZ(0,"span",5),2&i){const l=t.oxw(2);t.Q6J("nzType",l.nzCollapsed?"left":"right")}}function B(i,M){if(1&i&&(t.YNc(0,j,1,1,"span",4),t.YNc(1,Q,1,1,"span",4)),2&i){const l=t.oxw();t.Q6J("ngIf",!l.nzReverseArrow),t.xp6(1),t.Q6J("ngIf",l.nzReverseArrow)}}function _(i,M){1&i&&t._UZ(0,"span",6)}function A(i,M){if(1&i){const l=t.EpF();t.TgZ(0,"div",2),t.NdJ("click",function(){t.CHM(l);const V=t.oxw();return t.KtG(V.setCollapsed(!V.nzCollapsed))}),t.qZA()}if(2&i){const l=t.oxw();t.Q6J("matchBreakPoint",l.matchBreakPoint)("nzCollapsedWidth",l.nzCollapsedWidth)("nzCollapsed",l.nzCollapsed)("nzBreakpoint",l.nzBreakpoint)("nzReverseArrow",l.nzReverseArrow)("nzTrigger",l.nzTrigger)("nzZeroTrigger",l.nzZeroTrigger)("siderWidth",l.widthSetting)}}let h=(()=>{class i{constructor(l,m){this.elementRef=l,this.renderer=m,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-content")}}return i.\u0275fac=function(l){return new(l||i)(t.Y36(t.SBq),t.Y36(t.Qsj))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-content"]],exportAs:["nzContent"],ngContentSelectors:L,decls:1,vars:0,template:function(l,m){1&l&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),i})(),v=(()=>{class i{constructor(l,m){this.elementRef=l,this.renderer=m,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-header")}}return i.\u0275fac=function(l){return new(l||i)(t.Y36(t.SBq),t.Y36(t.Qsj))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-header"]],exportAs:["nzHeader"],ngContentSelectors:L,decls:1,vars:0,template:function(l,m){1&l&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),i})(),u=(()=>{class i{constructor(){this.nzCollapsed=!1,this.nzReverseArrow=!1,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.matchBreakPoint=!1,this.nzCollapsedWidth=null,this.siderWidth=null,this.nzBreakpoint=null,this.isZeroTrigger=!1,this.isNormalTrigger=!1}updateTriggerType(){this.isZeroTrigger=0===this.nzCollapsedWidth&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=0!==this.nzCollapsedWidth}ngOnInit(){this.updateTriggerType()}ngOnChanges(){this.updateTriggerType()}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(l,m){2&l&&(t.Udp("width",m.isNormalTrigger?m.siderWidth:null),t.ekj("ant-layout-sider-trigger",m.isNormalTrigger)("ant-layout-sider-zero-width-trigger",m.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",m.isZeroTrigger&&m.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",m.isZeroTrigger&&!m.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[t.TTD],attrs:D,decls:6,vars:2,consts:[[4,"ngIf"],["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","bars"]],template:function(l,m){1&l&&(t.YNc(0,o,2,1,"ng-container",0),t.YNc(1,G,2,1,"ng-container",0),t.YNc(2,B,2,2,"ng-template",null,1,t.W1O),t.YNc(4,_,1,0,"ng-template",null,2,t.W1O)),2&l&&(t.Q6J("ngIf",m.isZeroTrigger),t.xp6(1),t.Q6J("ngIf",m.isNormalTrigger))},dependencies:[e.O5,e.tP,x.Ls],encapsulation:2,changeDetection:0}),i})(),O=(()=>{class i{updateStyleMap(){this.widthSetting=this.nzCollapsed?`${this.nzCollapsedWidth}px`:(0,y.WX)(this.nzWidth),this.flexSetting=`0 0 ${this.widthSetting}`,this.cdr.markForCheck()}updateMenuInlineCollapsed(){this.nzMenuDirective&&"inline"===this.nzMenuDirective.nzMode&&0!==this.nzCollapsedWidth&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)}setCollapsed(l){l!==this.nzCollapsed&&(this.nzCollapsed=l,this.nzCollapsedChange.emit(l),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())}constructor(l,m,V){this.platform=l,this.cdr=m,this.breakpointService=V,this.destroy$=new r.x,this.nzMenuDirective=null,this.nzCollapsedChange=new t.vpe,this.nzWidth=200,this.nzTheme="dark",this.nzCollapsedWidth=80,this.nzBreakpoint=null,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.nzReverseArrow=!1,this.nzCollapsible=!1,this.nzCollapsed=!1,this.matchBreakPoint=!1,this.flexSetting=null,this.widthSetting=null}ngOnInit(){this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe(T.ow,!0).pipe((0,c.R)(this.destroy$)).subscribe(l=>{const m=this.nzBreakpoint;m&&(0,y.ov)().subscribe(()=>{this.matchBreakPoint=!l[m],this.setCollapsed(this.matchBreakPoint),this.cdr.markForCheck()})})}ngOnChanges(l){const{nzCollapsed:m,nzCollapsedWidth:V,nzWidth:b}=l;(m||V||b)&&this.updateStyleMap(),m&&this.updateMenuInlineCollapsed()}ngAfterContentInit(){this.updateMenuInlineCollapsed()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return i.\u0275fac=function(l){return new(l||i)(t.Y36(P.t4),t.Y36(t.sBO),t.Y36(T.r3))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-sider"]],contentQueries:function(l,m,V){if(1&l&&t.Suo(V,C.wO,5),2&l){let b;t.iGM(b=t.CRH())&&(m.nzMenuDirective=b.first)}},hostAttrs:[1,"ant-layout-sider"],hostVars:18,hostBindings:function(l,m){2&l&&(t.Udp("flex",m.flexSetting)("max-width",m.widthSetting)("min-width",m.widthSetting)("width",m.widthSetting),t.ekj("ant-layout-sider-zero-width",m.nzCollapsed&&0===m.nzCollapsedWidth)("ant-layout-sider-light","light"===m.nzTheme)("ant-layout-sider-dark","dark"===m.nzTheme)("ant-layout-sider-collapsed",m.nzCollapsed)("ant-layout-sider-has-trigger",m.nzCollapsible&&null!==m.nzTrigger))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:"nzReverseArrow",nzCollapsible:"nzCollapsible",nzCollapsed:"nzCollapsed"},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[t.TTD],ngContentSelectors:L,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click",4,"ngIf"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click"]],template:function(l,m){1&l&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA(),t.YNc(2,A,1,8,"div",1)),2&l&&(t.xp6(2),t.Q6J("ngIf",m.nzCollapsible&&null!==m.nzTrigger))},dependencies:[e.O5,u],encapsulation:2,changeDetection:0}),(0,p.gn)([(0,y.yF)()],i.prototype,"nzReverseArrow",void 0),(0,p.gn)([(0,y.yF)()],i.prototype,"nzCollapsible",void 0),(0,p.gn)([(0,y.yF)()],i.prototype,"nzCollapsed",void 0),i})(),U=(()=>{class i{constructor(l){this.directionality=l,this.dir="ltr",this.destroy$=new r.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,c.R)(this.destroy$)).subscribe(l=>{this.dir=l})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(l){return new(l||i)(t.Y36(F.Is,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-layout"]],contentQueries:function(l,m,V){if(1&l&&t.Suo(V,O,4),2&l){let b;t.iGM(b=t.CRH())&&(m.listOfNzSiderComponent=b)}},hostAttrs:[1,"ant-layout"],hostVars:4,hostBindings:function(l,m){2&l&&t.ekj("ant-layout-rtl","rtl"===m.dir)("ant-layout-has-sider",m.listOfNzSiderComponent.length>0)},exportAs:["nzLayout"],ngContentSelectors:L,decls:1,vars:0,template:function(l,m){1&l&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),i})(),R=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[F.vT,e.ez,x.PV,S.xu,P.ud]}),i})();var Y=n(6109),H=n(9512),$=n(7398),w=n(7921),q=n(553),K=n(313),X=n(8091),nt=n(2787),lt=n(2840),ft=n(855),ot=n(1958),ct=n(2574),ht=n(3640),zt=n(67),Ot=n(7458),_t=n(4989),At=n(4398);function St(i,M){if(1&i&&(t.TgZ(0,"button",25),t._uU(1," Add "),t._UZ(2,"i",26),t.qZA()),2&i){t.oxw(2);const l=t.MAs(15);t.Q6J("nzDropdownMenu",l)}}const Et=function(){return{backgroundColor:"#096dd9",color:"#fff1f0",boxShadow:"0 0 0 1px #1890ff inset"}};function dt(i,M){if(1&i&&(t.TgZ(0,"nz-badge",27)(1,"button",28),t._UZ(2,"i",29),t.qZA()()),2&i){const l=t.oxw().ngrxLet,m=t.oxw().ngIf;t.Q6J("nzCount",l)("nzOverflowCount",999)("nzStyle",t.DdM(4,Et)),t.xp6(1),t.MGl("routerLink","/users/",m.id,"/notifications")}}const It=function(i){return{"update-coi":i}};function Pt(i,M){if(1&i&&t._UZ(0,"cvc-user-avatar",35),2&i){const l=t.oxw(3).ngIf;t.Q6J("user",l)("size",22)("ngClass",t.VKq(3,It,l.invalidCoi))}}function Ct(i,M){if(1&i&&(t.TgZ(0,"div",36),t._uU(1),t.qZA()),2&i){const l=t.oxw(3).ngIf;t.xp6(1),t.hij(" ",l.username," ")}}function vt(i,M){1&i&&t._UZ(0,"i",26)}function Zt(i,M){if(1&i&&(t.TgZ(0,"button",30)(1,"nz-space",31),t.YNc(2,Pt,1,5,"cvc-user-avatar",32),t.YNc(3,Ct,2,1,"div",33),t.YNc(4,vt,1,0,"i",34),t.qZA()()),2&i){t.oxw(2);const l=t.MAs(3);t.Q6J("nzDropdownMenu",l)}}function dn(i,M){1&i&&(t.TgZ(0,"nz-space",21),t.YNc(1,St,3,1,"button",22),t.YNc(2,dt,3,5,"nz-badge",23),t.YNc(3,Zt,5,1,"button",24),t.qZA())}function Dt(i,M){if(1&i){const l=t.EpF();t.TgZ(0,"li",37)(1,"button",38),t.NdJ("click",function(){t.CHM(l);const V=t.oxw(2);return t.KtG(V.coiUpdateModalVisible=!0)}),t._UZ(2,"i",39),t._uU(3," Please update COI statement "),t.qZA()()}}function Ft(i,M){1&i&&t._UZ(0,"li",14)}function Ut(i,M){1&i&&(t.TgZ(0,"li",40)(1,"a",41),t._uU(2," Admin Console "),t.qZA()())}function Bt(i,M){1&i&&(t.TgZ(0,"li",42)(1,"a",43),t._uU(2," Background Workers "),t.qZA()())}function Nt(i,M){if(1&i){const l=t.EpF();t.TgZ(0,"li",37)(1,"a",44),t.NdJ("click",function(){t.CHM(l);const V=t.oxw(2);return t.KtG(V.addVariantModalVisible=!0)}),t._uU(2," Variant "),t.qZA()()}}const pn=function(i){return["/users",i]};function Lt(i,M){if(1&i){const l=t.EpF();t.ynx(0),t.YNc(1,dn,4,0,"nz-space",6),t.TgZ(2,"nz-dropdown-menu",null,7)(4,"ul",8),t.YNc(5,Dt,4,0,"li",9),t.YNc(6,Ft,1,0,"li",10),t.TgZ(7,"li",11),t._uU(8," Your Profile "),t.qZA(),t.YNc(9,Ut,3,0,"li",12),t.YNc(10,Bt,3,0,"li",13),t._UZ(11,"li",14),t.TgZ(12,"li",15),t.NdJ("click",function(){t.CHM(l);const V=t.oxw();return t.KtG(V.signOut())}),t._uU(13," Sign Out "),t.qZA()()(),t.TgZ(14,"nz-dropdown-menu",null,16)(16,"ul",8)(17,"li",17)(18,"a"),t._uU(19," Evidence Item "),t.qZA()(),t.TgZ(20,"li",18)(21,"a"),t._uU(22," Assertion "),t.qZA()(),t.TgZ(23,"li",19)(24,"a"),t._uU(25," Source Suggestion "),t.qZA()(),t.YNc(26,Nt,3,0,"li",9),t.TgZ(27,"li",20)(28,"a"),t._uU(29," Variant Group "),t.qZA()()()(),t.BQk()}if(2&i){const l=M.ngIf,m=t.oxw();t.xp6(1),t.Q6J("ngrxLet",m.unreadCount$),t.xp6(4),t.Q6J("ngIf",l.invalidCoi),t.xp6(1),t.Q6J("ngIf",l.invalidCoi),t.xp6(1),t.Q6J("routerLink",t.VKq(7,pn,l.id)),t.xp6(2),t.Q6J("ngIf",l.isAdmin),t.xp6(1),t.Q6J("ngIf",l.isAdmin),t.xp6(16),t.Q6J("ngIf",l.isEditor)}}function Vt(i,M){1&i&&(t.TgZ(0,"span"),t._uU(1,"Update your Conflict of Interest Statement"),t.qZA())}function Jt(i,M){if(1&i){const l=t.EpF();t.TgZ(0,"cvc-user-coi-form",45),t.NdJ("coiUpdatedEvent",function(){t.CHM(l);const V=t.oxw();return t.KtG(V.coiUpdated())}),t.qZA()}}function Qt(i,M){1&i&&(t.TgZ(0,"span"),t._uU(1,"Add New Variant"),t.qZA())}function Rt(i,M){1&i&&t._UZ(0,"cvc-variant-submit-form")}let Wt=(()=>{class i{constructor(l,m){this.queryService=l,this.unreadCountGql=m,this.coiUpdateModalVisible=!1,this.addVariantModalVisible=!1,this.viewer$=this.queryService.viewer$,this.unreadCount$=q.N.production?this.unreadCountGql.watch(void 0,{pollInterval:5e3}).valueChanges.pipe((0,$.U)(({data:V})=>V.notifications.unreadCount),(0,w.O)(0)):this.unreadCountGql.watch(void 0).valueChanges.pipe((0,$.U)(({data:V})=>V.notifications.unreadCount),(0,w.O)(0))}signOut(){this.queryService.signOut()}coiUpdated(){this.coiUpdateModalVisible=!1,this.queryService.refetch()}handleCoiModalCancel(){this.coiUpdateModalVisible=!1}}return i.\u0275fac=function(l){return new(l||i)(t.Y36(d.a),t.Y36(K.Kmw))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-viewer-button"]],decls:12,vars:11,consts:[[4,"ngIf"],[3,"nzVisible","nzContent","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],["coiModalTitle",""],["coiModalContent",""],["variantModalTitle",""],["variantModalContent",""],["nzDirection","horizontal","nzSize","middle",4,"ngrxLet"],["userMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",4,"ngIf"],["nz-menu-divider","",4,"ngIf"],["nz-menu-item","",3,"routerLink"],["nz-menu-item","","href","/admin",4,"ngIf"],["nz-menu-item","","href","/jobs",4,"ngIf"],["nz-menu-divider",""],["nz-menu-item","",3,"click"],["addMenu","nzDropdownMenu"],["nz-menu-item","","routerLink","/evidence/add/submit"],["nz-menu-item","","routerLink","/assertions/add/submit"],["nz-menu-item","","routerLink","/sources/add"],["nz-menu-item","","routerLink","/variant-groups/add/submit"],["nzDirection","horizontal","nzSize","middle"],["class","add-btn","nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"nzDropdownMenu",4,"nzSpaceItem"],[3,"nzCount","nzOverflowCount","nzStyle",4,"nzSpaceItem"],["class","viewer-btn","nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"nzDropdownMenu",4,"nzSpaceItem"],["nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"add-btn",3,"nzDropdownMenu"],["nz-icon","","nzType","caret-down","nzTheme","outline"],[3,"nzCount","nzOverflowCount","nzStyle"],["nz-button","","nzSize","large","nzShape","circle","nzType","link",1,"notification-btn",3,"routerLink"],["nz-icon","","nzType","bell","nzTheme","outline"],["nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"viewer-btn",3,"nzDropdownMenu"],["nzDirection","horizontal","nzSize","small"],["shape","circle",3,"user","size","ngClass",4,"nzSpaceItem"],["class","viewer-name",4,"nzSpaceItem"],["nz-icon","","nzType","caret-down","nzTheme","outline",4,"nzSpaceItem"],["shape","circle",3,"user","size","ngClass"],[1,"viewer-name"],["nz-menu-item",""],["nz-button","","nzType","primary","nzShape","round","nzSize","small","nzDanger","","nzBlock","",3,"click"],["nz-icon","","nzType","exclamation-circle"],["nz-menu-item","","href","/admin"],["href","/admin"],["nz-menu-item","","href","/jobs"],["href","/jobs"],[3,"click"],[3,"coiUpdatedEvent"]],template:function(l,m){if(1&l&&(t.YNc(0,Lt,30,9,"ng-container",0),t.ALo(1,"ngrxPush"),t.TgZ(2,"nz-modal",1),t.NdJ("nzVisibleChange",function(b){return m.coiUpdateModalVisible=b})("nzOnCancel",function(){return m.handleCoiModalCancel()}),t.YNc(3,Vt,2,0,"ng-template",null,2,t.W1O),t.YNc(5,Jt,1,0,"ng-template",null,3,t.W1O),t.qZA(),t.TgZ(7,"nz-modal",1),t.NdJ("nzVisibleChange",function(b){return m.addVariantModalVisible=b})("nzOnCancel",function(){return m.addVariantModalVisible=!1}),t.YNc(8,Qt,2,0,"ng-template",null,4,t.W1O),t.YNc(10,Rt,1,0,"ng-template",null,5,t.W1O),t.qZA()),2&l){const V=t.MAs(4),b=t.MAs(6),k=t.MAs(9),Mt=t.MAs(11);t.Q6J("ngIf",t.lcZ(1,9,m.viewer$)),t.xp6(2),t.Q6J("nzVisible",m.coiUpdateModalVisible)("nzContent",b)("nzTitle",V)("nzFooter",null),t.xp6(5),t.Q6J("nzVisible",m.addVariantModalVisible)("nzContent",Mt)("nzTitle",k)("nzFooter",null)}},dependencies:[e.mk,e.O5,X.eJ,C.wO,C.r9,C.YV,nt.cm,nt.RR,nt.wA,s.rH,lt.ix,ft.w,ot.dQ,ct.NU,ct.$1,x.Ls,ht.x7,zt.du,Ot.L,_t.t,At.G,X.fM],styles:["[_nghost-%COMP%]{display:inline-block}.topMenuIcon[_ngcontent-%COMP%]:hover{cursor:pointer}.topMenuIcon[_ngcontent-%COMP%]{font-size:16px}.topMenuIcon[_ngcontent-%COMP%] .topBarBadge[_ngcontent-%COMP%]{margin-right:-10px;margin-top:-16px}.topMenuIcon[_ngcontent-%COMP%] .topMenuSecondary[_ngcontent-%COMP%]{font-size:10px;margin-left:2px}.add-btn[_ngcontent-%COMP%]{margin-right:0;background-color:#001529;border:none;color:#ccc}.notification-btn[_ngcontent-%COMP%]{background-color:#001529;border:1px solid #096dd9}.viewer-btn[_ngcontent-%COMP%]{background-color:#0050b3;border:none;color:#ccc;padding-left:5px;padding-right:10px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar[_ngcontent-%COMP%]{position:relative;top:-1px;left:1px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar[_ngcontent-%COMP%] .ant-avatar>img{border-width:1.5px;border-style:solid;border-color:#096dd9;border-radius:22px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar.update-coi[_ngcontent-%COMP%] .ant-avatar>img{border-color:#f5222d}"]}),i})();function Yt(i){return i.toLowerCase().split("_").map(M=>M[0].toUpperCase()+M.substring(1)).join("")}var at=n(9691),bt=n(6321),$t=n(2428),pt=n(4911),Kt=n(9666),Tt=n(5676),it=n(836),Gt=n(8753),jt=n(4664),yt=n(2181),wt=n(3997),ut=n(6223),mt=n(2392),Ht=n(6116),Xt=n(2616);function kt(i,M){if(1&i&&(t.TgZ(0,"span",7),t._uU(1," \u2014 "),t._UZ(2,"span",5),t.qZA()),2&i){const l=t.oxw().$implicit;t.xp6(2),t.s9C("innerHTML",l.result.matchingText,t.oJD)}}function qt(i,M){if(1&i&&(t.TgZ(0,"nz-option",3),t._UZ(1,"i",4),t.ALo(2,"entityColor"),t.ALo(3,"iconNameForSubscribableEntity"),t._UZ(4,"span",5),t.YNc(5,kt,3,1,"span",6),t.qZA()),2&i){const l=M.$implicit,m=t.oxw();t.Q6J("nzValue",l.result),t.xp6(1),t.Q6J("nzTwotoneColor",t.lcZ(2,5,m.converter(l.result.resultType)))("nzType",t.lcZ(3,7,l.result.resultType)),t.xp6(3),t.s9C("innerHTML",l.result.name,t.oJD),t.xp6(1),t.Q6J("ngIf",l.result.matchingText)}}function tn(i,M){1&i&&(t.TgZ(0,"nz-option",8),t._UZ(1,"i",9),t._uU(2," Loading Data... "),t.qZA())}let nn=(()=>{class i{set selectedOpt(l){this._selectedOpt=l}get selectedOpt(){return this._selectedOpt}constructor(l,m){this.gql=l,this.router=m,this.converter=Yt,this.onSearch$=new r.x,this.onSelect$=new r.x,this.response$=this.onSearch$.pipe((0,it.T)(1),(0,Gt.p)(300,bt.z,{leading:!1,trailing:!0}),(0,jt.w)(k=>(0,$t.s)(()=>void 0===this.queryRef,(0,pt.P)(()=>V(k)),(0,pt.P)(()=>b(k))))),this.isLoading$=this.response$.pipe((0,$.U)(k=>k.loading),(0,yt.h)(Tt.ep),(0,wt.x)()),this.result$=this.response$.pipe((0,$.U)(k=>k.data?.search),(0,yt.h)(Tt.ep)),this.option$=this.result$.pipe((0,$.U)(k=>{const Mt=[];return k.forEach(xt=>{xt&&Mt.push({text:xt.name,value:xt.id.toString(),result:xt})}),Mt})),this.onSelect$.subscribe(()=>{this.selectedOpt&&this.router.navigateByUrl(this.urlForResult(this.selectedOpt)),this.selectNode.writeValue(void 0)});const V=k=>(this.queryRef=this.gql.watch({query:k,highlightMatches:!0}),this.queryRef.valueChanges),b=k=>(0,Kt.D)(this.queryRef.refetch({query:k}))}urlForResult(l){let m;switch(l.resultType){case K.rZD.VariantGroup:m="variant-groups";break;case K.rZD.EvidenceItem:m="evidence";break;case K.rZD.MolecularProfile:m="molecular-profiles";break;default:m=`${l.resultType.toLowerCase()}s`}return`/${m}/${l.id}/summary`}}return i.\u0275fac=function(l){return new(l||i)(t.Y36(K.ghc),t.Y36(s.F0))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-quicksearch"]],viewQuery:function(l,m){if(1&l&&t.Gf(at.Vq,7),2&l){let V;t.iGM(V=t.CRH())&&(m.selectNode=V.first)}},decls:5,vars:10,consts:[["nzShowSearch","","nzServerSearch","","nzAllowClear","","nzPlaceHolder","Search CIViC",3,"ngModel","nzOptionHeightPx","nzShowArrow","nzDropdownMatchSelectWidth","ngModelChange","nzOnSearch"],["nzCustomContent","",3,"nzValue",4,"ngFor","ngForOf"],["nzDisabled","","nzCustomContent","",4,"ngIf"],["nzCustomContent","",3,"nzValue"],["nz-icon","","nzTheme","twotone",2,"margin-right","0.5em",3,"nzTwotoneColor","nzType"],[3,"innerHTML"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-typography","","nzType","secondary"],["nzDisabled","","nzCustomContent",""],["nz-icon","","nzType","loading",1,"loading-icon"]],template:function(l,m){1&l&&(t.TgZ(0,"nz-select",0),t.NdJ("ngModelChange",function(b){return m.selectedOpt=b})("ngModelChange",function(b){return m.onSelect$.next(b)})("nzOnSearch",function(b){return m.onSearch$.next(b)}),t.YNc(1,qt,6,9,"nz-option",1),t.ALo(2,"ngrxPush"),t.YNc(3,tn,3,0,"nz-option",2),t.ALo(4,"ngrxPush"),t.qZA()),2&l&&(t.Q6J("ngModel",m.selectedOpt)("nzOptionHeightPx",28)("nzShowArrow",!1)("nzDropdownMatchSelectWidth",!1),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,6,m.option$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(4,8,m.isLoading$)))},dependencies:[e.sg,e.O5,ut.JJ,ut.On,mt.ZU,at.Ip,at.Vq,x.Ls,X.fM,Ht.j,Xt.a],styles:[":[_nghost-%COMP%]{display:block}nz-select[_ngcontent-%COMP%]{width:100%}"]}),i})();function en(i,M){1&i&&t._UZ(0,"img",61)}function gt(i,M){1&i&&t._UZ(0,"img",62)}function on(i,M){1&i&&t._UZ(0,"cvc-login-button")}function rn(i,M){1&i&&t._UZ(0,"cvc-viewer-button")}const rt=function(i){return{"is-collapsed":i}},an=[{path:"",pathMatch:"full",redirectTo:"/welcome"},{path:"",component:(()=>{class i{constructor(l){this.viewerService=l,this.isCollapsed=!1}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.signedIn$=this.viewerService.signedIn$,this.signedOut$=this.viewerService.signedOut$,this.canCurate$=this.viewerService.canCurate$,this.canModerate$=this.viewerService.canModerate$}}return i.\u0275fac=function(l){return new(l||i)(t.Y36(d.a))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-layout"]],decls:132,vars:47,consts:[[1,"app-layout"],["nzCollapsible","","nzBreakpoint","md",1,"app-sider",3,"nzWidth","nzCollapsedWidth","nzCollapsed","nzTrigger","nzCollapsedChange"],["routerLink","/"],[1,"sidebar-logo",3,"ngClass"],["src","assets/images/civic-logo_sidebar-expanded.png","alt","CIViC - Clinical Interpretations of Variants in Cancer",4,"ngIf"],["src","assets/images/civic-logo_sidebar-collapsed.png","alt","CIViC - Clinical Interpretations of Variants in Cancer",4,"ngIf"],["nz-menu","","nzTheme","dark","nzMode","inline",1,"sidebar-menu",3,"ngClass","nzInlineCollapsed"],["nz-menu-group","",3,"nzTitle"],["nz-menu-item","","nz-tooltip","","nzTooltipPlacement","right","nzSelected","","nzMatchRouter","",3,"nzTooltipTitle"],["nz-icon","","nzType","civic-assertion"],["routerLink","/assertions"],["nz-icon","","nzType","civic-evidence"],["routerLink","/evidence"],["nz-icon","","nzType","civic-molecularprofile"],["routerLink","/molecular-profiles"],["nz-icon","","nzType","civic-gene"],["routerLink","/genes"],["nz-icon","","nzType","civic-variant"],["routerLink","/variants"],["nz-icon","","nzType","civic-variantgroup"],["routerLink","/variant-groups"],["nz-icon","","nzType","civic-clinicaltrial"],["routerLink","/clinical-trials"],["nz-icon","","nzType","civic-disease"],["routerLink","/diseases"],["nz-icon","","nzType","civic-therapy"],["routerLink","/therapies"],["nz-icon","","nzType","civic-phenotype"],["routerLink","/phenotypes"],["nz-icon","","nzType","civic-source"],["routerLink","/sources"],["nz-icon","","nzType","civic-varianttype"],["routerLink","/variant-types"],["nz-icon","","nzType","civic-event"],["routerLink","/curation/activity"],["nz-icon","","nzType","civic-queue"],["routerLink","/curation/queues"],["nz-icon","","nzType","civic-curator"],["routerLink","/users","id","main-users"],["nz-icon","","nzType","civic-organization"],["routerLink","/organizations","id","main-organization"],["nz-icon","","nzType","download"],["routerLink","/releases","id","releases"],["nz-tooltip","","nzTooltipPlacement","rightTop","nzTooltipTitle","By marking the work with a CC0 public domain dedication, the creator is giving up their copyright and allowing reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes.",1,"cc-notice",3,"ngClass"],["src","assets/images/CC0-notice-glyph.svg","alt","CC0 1.0 Universal",1,"cc-glyph"],["src","assets/images/CC0-notice-txt.svg","alt","This work has been marked as dedicated to the public domain.",1,"cc-txt"],[1,"right-layout",3,"ngClass"],["nz-row","","id","header-row"],["nz-col","","nzFlex","40px"],[1,"header-trigger",3,"click"],["nz-icon","",1,"trigger",3,"nzType"],["nz-col","","nzFlex","200px","id","header-search"],["nz-col","","nzFlex","1 0 250px","id","header-menu"],["nz-menu","","nzMode","horizontal","nzTheme","dark"],["nz-menu-item","","nzSelected","","nzMatchRouter",""],["routerLink","/welcome"],["routerLink","/pages/about"],["target","_blank","href","https://docs.civicdb.org/"],["routerLink","/pages/help"],["nz-col","","nzFlex","1 0 auto","id","header-viewer"],[4,"ngIf"],["src","assets/images/civic-logo_sidebar-expanded.png","alt","CIViC - Clinical Interpretations of Variants in Cancer"],["src","assets/images/civic-logo_sidebar-collapsed.png","alt","CIViC - Clinical Interpretations of Variants in Cancer"]],template:function(l,m){1&l&&(t.TgZ(0,"nz-layout",0)(1,"nz-sider",1),t.NdJ("nzCollapsedChange",function(b){return m.isCollapsed=b}),t.TgZ(2,"a",2)(3,"div",3),t.YNc(4,en,1,0,"img",4),t.YNc(5,gt,1,0,"img",5),t.qZA()(),t.TgZ(6,"ul",6)(7,"li",7)(8,"ul")(9,"li",8),t._UZ(10,"i",9),t.TgZ(11,"span")(12,"a",10),t._uU(13,"Assertions"),t.qZA()()(),t.TgZ(14,"li",8),t._UZ(15,"i",11),t.TgZ(16,"span")(17,"a",12),t._uU(18,"Evidence"),t.qZA()()(),t.TgZ(19,"li",8),t._UZ(20,"i",13),t.TgZ(21,"span")(22,"a",14),t._uU(23,"Molecular Profiles"),t.qZA()()(),t.TgZ(24,"li",8),t._UZ(25,"i",15),t.TgZ(26,"span")(27,"a",16),t._uU(28,"Genes"),t.qZA()()(),t.TgZ(29,"li",8),t._UZ(30,"i",17),t.TgZ(31,"span")(32,"a",18),t._uU(33,"Variants"),t.qZA()()(),t.TgZ(34,"li",8),t._UZ(35,"i",19),t.TgZ(36,"span")(37,"a",20),t._uU(38,"Variant Groups"),t.qZA()()()()(),t.TgZ(39,"li",8),t._UZ(40,"i",21),t.TgZ(41,"span")(42,"a",22),t._uU(43,"Clinical Trials"),t.qZA()()(),t.TgZ(44,"li",8),t._UZ(45,"i",23),t.TgZ(46,"span")(47,"a",24),t._uU(48,"Diseases"),t.qZA()()(),t.TgZ(49,"li",8),t._UZ(50,"i",25),t.TgZ(51,"span")(52,"a",26),t._uU(53,"Therapies"),t.qZA()()(),t.TgZ(54,"li",8),t._UZ(55,"i",27),t.TgZ(56,"span")(57,"a",28),t._uU(58,"Phenotypes"),t.qZA()()(),t.TgZ(59,"li",8),t._UZ(60,"i",29),t.TgZ(61,"span")(62,"a",30),t._uU(63,"Sources"),t.qZA()()(),t.TgZ(64,"li",8),t._UZ(65,"i",31),t.TgZ(66,"span")(67,"a",32),t._uU(68,"Variant Types"),t.qZA()()(),t.TgZ(69,"li",7)(70,"ul")(71,"li",8),t._UZ(72,"i",33),t.TgZ(73,"span")(74,"a",34),t._uU(75," Activity "),t.qZA()()(),t.TgZ(76,"li",8),t._UZ(77,"i",35),t.TgZ(78,"span")(79,"a",36),t._uU(80,"Queues"),t.qZA()()()()(),t.TgZ(81,"li",7)(82,"ul")(83,"li",8),t._UZ(84,"i",37),t.TgZ(85,"span")(86,"a",38),t._uU(87,"Contributors"),t.qZA()()(),t.TgZ(88,"li",8),t._UZ(89,"i",39),t.TgZ(90,"span")(91,"a",40),t._uU(92,"Organizations"),t.qZA()()()()(),t.TgZ(93,"li",7)(94,"ul")(95,"li",8),t._UZ(96,"i",41),t.TgZ(97,"span")(98,"a",42),t._uU(99,"Data Releases"),t.qZA()()()()()(),t.TgZ(100,"div",43),t._UZ(101,"img",44)(102,"img",45),t.qZA()(),t.TgZ(103,"nz-layout",46)(104,"nz-header")(105,"div",47)(106,"div",48)(107,"span",49),t.NdJ("click",function(){return m.isCollapsed=!m.isCollapsed}),t._UZ(108,"i",50),t.qZA()(),t.TgZ(109,"div",51),t._UZ(110,"cvc-quicksearch"),t.qZA(),t.TgZ(111,"div",52)(112,"ul",53)(113,"li",54)(114,"a",55),t._uU(115,"Home"),t.qZA()(),t.TgZ(116,"li",54)(117,"a",56),t._uU(118,"About CIViC"),t.qZA()(),t.TgZ(119,"li",54)(120,"a",57),t._uU(121,"Documentation"),t.qZA()(),t.TgZ(122,"li",54)(123,"a",58),t._uU(124,"Help"),t.qZA()()()(),t.TgZ(125,"div",59),t.YNc(126,on,1,0,"cvc-login-button",60),t.ALo(127,"async"),t.YNc(128,rn,1,0,"cvc-viewer-button",60),t.ALo(129,"async"),t.qZA()()(),t.TgZ(130,"nz-content"),t._UZ(131,"router-outlet"),t.qZA()()()),2&l&&(t.xp6(1),t.Q6J("nzWidth",170)("nzCollapsedWidth",80)("nzCollapsed",m.isCollapsed)("nzTrigger",null),t.xp6(2),t.Q6J("ngClass",t.VKq(39,rt,m.isCollapsed)),t.xp6(1),t.Q6J("ngIf",!m.isCollapsed),t.xp6(1),t.Q6J("ngIf",m.isCollapsed),t.xp6(1),t.Q6J("ngClass",t.VKq(41,rt,m.isCollapsed))("nzInlineCollapsed",m.isCollapsed),t.xp6(1),t.Q6J("nzTitle",m.isCollapsed?"KNOW":"KNOWLEDGEBASE"),t.xp6(2),t.Q6J("nzTooltipTitle",m.isCollapsed?"Assertions":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Evidence":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Molecular Profiles":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Genes":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Variants":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Variant Groups":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Clinical Trials":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Diseases":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Therapies":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Phenotypes":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Sources":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Variant Types":""),t.xp6(5),t.Q6J("nzTitle",m.isCollapsed?"CURATE":"CURATION"),t.xp6(2),t.Q6J("nzTooltipTitle",m.isCollapsed?"Activity":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Pending Queues":""),t.xp6(5),t.Q6J("nzTitle",m.isCollapsed?"COMM":"COMMUNITY"),t.xp6(2),t.Q6J("nzTooltipTitle",m.isCollapsed?"Users":""),t.xp6(5),t.Q6J("nzTooltipTitle",m.isCollapsed?"Organizations":""),t.xp6(5),t.Q6J("nzTitle",m.isCollapsed?"RES":"RESOURCES"),t.xp6(2),t.Q6J("nzTooltipTitle",m.isCollapsed?"Data Releases":""),t.xp6(5),t.Q6J("ngClass",t.VKq(43,rt,m.isCollapsed)),t.xp6(3),t.Q6J("ngClass",t.VKq(45,rt,m.isCollapsed)),t.xp6(5),t.Q6J("nzType",m.isCollapsed?"menu-unfold":"menu-fold"),t.xp6(18),t.Q6J("ngIf",t.lcZ(127,35,m.signedOut$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(129,37,m.signedIn$)))},dependencies:[e.mk,e.O5,s.lC,s.rH,x.Ls,E.t3,E.SK,U,v,h,O,C.wO,C.r9,C.uA,Y.SY,H.s,Wt,nn,e.Ov],styles:["[_nghost-%COMP%]{display:flex;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-layout[_ngcontent-%COMP%]{min-height:100vh}nz-sider[_ngcontent-%COMP%]{width:170px;overflow:auto;height:100%;position:fixed;left:0}.right-layout[_ngcontent-%COMP%]{margin-left:170px;width:100%;position:relative;transition:all .2s,padding 0s;background-color:#001529}.right-layout.is-collapsed[_ngcontent-%COMP%]{margin-left:80px}.sidebar-menu[_ngcontent-%COMP%]{margin-top:-20px}.sidebar-menu[_ngcontent-%COMP%] .ant-menu-item-group-title{padding-bottom:0}.sidebar-menu.is-collapsed[_ngcontent-%COMP%]{margin-top:-8px}.sidebar-menu.is-collapsed[_ngcontent-%COMP%] .ant-menu-item-group-title{text-align:center}.cc-notice[_ngcontent-%COMP%]{margin-top:5em;text-align:center;width:170px}.cc-notice[_ngcontent-%COMP%] .cc-glyph[_ngcontent-%COMP%]{width:56px}.cc-notice[_ngcontent-%COMP%] .cc-txt[_ngcontent-%COMP%]{width:76px}.cc-notice.is-collapsed[_ngcontent-%COMP%]{width:80px}.cc-notice.is-collapsed[_ngcontent-%COMP%] .cc-glyph[_ngcontent-%COMP%]{width:35px}.cc-notice.is-collapsed[_ngcontent-%COMP%] .cc-txt[_ngcontent-%COMP%]{display:none}.sidebar-logo[_ngcontent-%COMP%]{height:90px}.sidebar-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:133px;height:auto;margin:12px 16px;transition:all .2s}.sidebar-logo.is-collapsed[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:auto;margin:12px 20px;transition:all .2s}.ant-layout-header[_ngcontent-%COMP%]{height:64px;line-height:64px;padding:0;position:fixed;width:calc(100% - 170px);z-index:10;color:#d6e4ff}.header-trigger[_ngcontent-%COMP%]{height:64px;cursor:pointer;color:#d6e4ff;padding:1em 1em 1em 0}#header-row[_ngcontent-%COMP%]{flex-wrap:nowrap}#header-menu[_ngcontent-%COMP%]{text-align:right;height:64px}#header-search[_ngcontent-%COMP%]{height:64px;padding-right:16px}#header-viewer[_ngcontent-%COMP%]{text-align:right;padding-right:1em}.header-quicksearch[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .header-menu[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .header-user[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#d6e4ff}nz-content[_ngcontent-%COMP%]{margin-top:64px;overflow:initial;position:relative;z-index:1;background-color:#273340;border-top:1px solid #3e5166;border-left:1px solid #3e5166;padding:12px;border-top-left-radius:16px}"]}),i})(),children:[{path:"assertions",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(3577),n.e(7129),n.e(8592),n.e(7121)]).then(n.bind(n,9337)).then(i=>i.AssertionsModule),data:{breadcrumb:"Assertions"}},{path:"molecular-profiles",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(1364),n.e(10),n.e(3407),n.e(3759)]).then(n.bind(n,3759)).then(i=>i.MolecularProfilesModule),data:{breadcrumb:"Molecular Profiles"}},{path:"clinical-trials",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(2212),n.e(6735),n.e(5802)]).then(n.bind(n,6738)).then(i=>i.ClinicalTrialsModule),data:{breadcrumb:"Clinical Trials"}},{path:"diseases",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(2212),n.e(3577),n.e(4449)]).then(n.bind(n,6444)).then(i=>i.DiseasesModule),data:{breadcrumb:"Diseases"}},{path:"therapies",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(2212),n.e(3577),n.e(2907)]).then(n.bind(n,2057)).then(i=>i.TherapiesModule),data:{breadcrumb:"Therapies"}},{path:"evidence",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(2212),n.e(3180)]).then(n.bind(n,6534)).then(i=>i.EvidenceModule),data:{breadcrumb:"Evidence"}},{path:"genes",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(1364),n.e(5584)]).then(n.bind(n,5584)).then(i=>i.GenesModule),data:{breadcrumb:"Genes"}},{path:"organizations",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(2212),n.e(5556),n.e(2602),n.e(3270),n.e(3577),n.e(7856),n.e(1364),n.e(5787),n.e(5604),n.e(8592),n.e(647)]).then(n.bind(n,647)).then(i=>i.OrganizationsModule),data:{breadcrumb:"Organizations"}},{path:"phenotypes",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(2212),n.e(3577),n.e(5369)]).then(n.bind(n,1112)).then(i=>i.PhenotypesModule),data:{breadcrumb:"Phenotypes"}},{path:"sources",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(2212),n.e(5556),n.e(3270),n.e(8245),n.e(5787),n.e(6735),n.e(3241)]).then(n.bind(n,4710)).then(i=>i.SourcesModule),data:{breadcrumb:"Sources"}},{path:"curation",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(2212),n.e(5556),n.e(3270),n.e(3577),n.e(5787),n.e(8479)]).then(n.bind(n,6536)).then(i=>i.CurationModule),data:{breadcrumb:"Curation"}},{path:"users",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(4872),n.e(2212),n.e(5556),n.e(2602),n.e(3270),n.e(3577),n.e(7856),n.e(1364),n.e(5787),n.e(5604),n.e(8592),n.e(3291)]).then(n.bind(n,3291)).then(i=>i.UsersModule),data:{breadcrumb:"Contributors"}},{path:"variant-groups",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(1703)]).then(n.bind(n,1703)).then(i=>i.VariantGroupsModule),data:{breadcrumb:"Variant Groups"}},{path:"variants",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(1364),n.e(10),n.e(5683),n.e(5978)]).then(n.bind(n,5978)).then(i=>i.VariantsModule),data:{breadcrumb:"Variants"}},{path:"variant-types",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(1364),n.e(10),n.e(5683),n.e(4294)]).then(n.bind(n,4294)).then(i=>i.VariantTypesModule),data:{breadcrumb:"Variant Types"}},{path:"welcome",loadChildren:()=>Promise.all([n.e(4872),n.e(5556),n.e(2602),n.e(5604),n.e(1761)]).then(n.bind(n,6588)).then(i=>i.WelcomeModule),data:{breadcrumb:"Welcome to CIViC"}},{path:"releases",loadChildren:()=>Promise.all([n.e(3290),n.e(5358)]).then(n.bind(n,5358)).then(i=>i.ReleasesModule),data:{breadcrumb:"Releases"}},{path:"pages",loadChildren:()=>n.e(3517).then(n.bind(n,6602)).then(i=>i.PagesModule),data:{breadcrumb:"Pages"}},{path:"forms2",loadChildren:()=>Promise.all([n.e(3290),n.e(3385),n.e(2212),n.e(6607),n.e(7129),n.e(8592),n.e(1914)]).then(n.bind(n,5910)).then(i=>i.TestPagesModule),data:{breadcrumb:"Forms2"}}]}];let sn=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[s.Bz.forChild(an),s.Bz]}),i})();var ln=n(279),a=n(824),z=n(3599),g=n(5717),I=n(2524);let tt=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.ez,ut.u5,s.Bz,I.s,mt.ZJ,at.LV,a.o7,z.U5,x.PV,g.ic]}),i})();var et=n(5163),cn=n(1022),st=n(8788),mn=n(9191);let gn=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.ez,nt.b1,s.Bz,lt.sL,ct.zf,x.PV,ht.mS,Y.cg,zt.Qp,cn.H,st.e,mn.e]}),i})(),fn=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.ez,sn,x.PV,E.Jb,R,C.ip,Y.cg,mt.ZJ,ln.s,et.B,gn,tt]}),i})()},3771:(W,Z,n)=>{n.d(Z,{$:()=>A,j:()=>h});var e=n(655),s=n(6814),t=n(5879),d=n(7394),x=n(7328),E=n(8645),r=n(3019),c=n(2438),p=n(9773),T=n(7398),y=n(8753),C=n(874),P=n(7754),F=n(9087),S=n(2831),L=n(8802),D=n(9388);const N=["fixedEl"],o=["*"];var J=(()=>((J=J||{}).resize="resize",J.scroll="scroll",J.touchstart="touchstart",J.touchmove="touchmove",J.touchend="touchend",J.pageshow="pageshow",J.load="LOAD",J))();function j(f){return function G(f){return typeof window<"u"&&f===window}(f)?{top:0,left:0,bottom:0}:f.getBoundingClientRect()}const B="ant-affix";let A=(()=>{class f{get target(){const u=this.nzTarget;return("string"==typeof u?this.document.querySelector(u):u)||window}constructor(u,O,U,R,Y,H,$,w,q,K){this.nzConfigService=U,this.scrollSrv=R,this.ngZone=Y,this.platform=H,this.renderer=$,this.nzResizeObserver=w,this.cdr=q,this.directionality=K,this._nzModuleName="affix",this.nzChange=new t.vpe,this.dir="ltr",this.positionChangeSubscription=d.w0.EMPTY,this.offsetChanged$=new x.t(1),this.destroy$=new E.x,this.placeholderNode=u.nativeElement,this.document=O}ngOnInit(){this.directionality.change?.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.dir=u,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(u){const{nzOffsetBottom:O,nzOffsetTop:U,nzTarget:R}=u;(O||U)&&this.offsetChanged$.next(),R&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){if(!this.platform.isBrowser)return;this.removeListeners();const u=this.target===window?this.document.body:this.target;this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>(0,r.T)(...Object.keys(J).map(O=>(0,c.R)(this.target,O)),this.offsetChanged$.pipe((0,T.U)(()=>({}))),this.nzResizeObserver.observe(u)).pipe((0,y.p)(20,void 0,{trailing:!0}),(0,p.R)(this.destroy$)).subscribe(O=>this.updatePosition(O))),this.timeout=setTimeout(()=>this.updatePosition({}))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(!0),this.destroy$.complete()}getOffset(u,O){const U=u.getBoundingClientRect(),R=j(O),Y=this.scrollSrv.getScroll(O,!0),H=this.scrollSrv.getScroll(O,!1),$=this.document.body;return{top:U.top-R.top+Y-($.clientTop||0),left:U.left-R.left+H-($.clientLeft||0),width:U.width,height:U.height}}setAffixStyle(u,O){const U=this.affixStyle,R=this.target===window;if("scroll"===u.type&&U&&O&&R||(0,P.wU)(U,O))return;const Y=!!O,H=this.fixedEl.nativeElement;this.renderer.setStyle(H,"cssText",(0,P.GM)(O)),this.affixStyle=O,Y?H.classList.add(B):H.classList.remove(B),this.updateRtlClass(),(O&&!U||!O&&U)&&this.nzChange.emit(Y)}setPlaceholderStyle(u){(0,P.wU)(u,this.placeholderStyle)||(this.renderer.setStyle(this.placeholderNode,"cssText",(0,P.GM)(u)),this.placeholderStyle=u)}syncPlaceholderStyle(u){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;const O={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(u,{...this.affixStyle,...O}),this.setPlaceholderStyle(O)}updatePosition(u){if(!this.platform.isBrowser)return;const O=this.target;let U=this.nzOffsetTop;const R=this.scrollSrv.getScroll(O,!0),Y=this.getOffset(this.placeholderNode,O),H=this.fixedEl.nativeElement,$={width:H.offsetWidth,height:H.offsetHeight},w={top:!1,bottom:!1};"number"!=typeof U&&"number"!=typeof this.nzOffsetBottom?(w.top=!0,U=0):(w.top="number"==typeof U,w.bottom="number"==typeof this.nzOffsetBottom);const q=j(O),K=O.innerHeight||O.clientHeight;if(R>=Y.top-U&&w.top){const X=Y.width;this.setAffixStyle(u,{position:"fixed",top:q.top+U,left:q.left+Y.left,width:X}),this.setPlaceholderStyle({width:X,height:$.height})}else if(R<=Y.top+$.height+this.nzOffsetBottom-K&&w.bottom){const X=O===window?0:window.innerHeight-q.bottom,nt=Y.width;this.setAffixStyle(u,{position:"fixed",bottom:X+this.nzOffsetBottom,left:q.left+Y.left,width:nt}),this.setPlaceholderStyle({width:nt,height:Y.height})}else u.type===J.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(u,{...this.affixStyle,width:this.placeholderNode.offsetWidth}):this.setAffixStyle(u),this.setPlaceholderStyle();"resize"===u.type&&this.syncPlaceholderStyle(u)}updateRtlClass(){const u=this.fixedEl.nativeElement;"rtl"===this.dir&&u.classList.contains(B)?u.classList.add(`${B}-rtl`):u.classList.remove(`${B}-rtl`)}}return f.\u0275fac=function(u){return new(u||f)(t.Y36(t.SBq),t.Y36(s.K0),t.Y36(C.jY),t.Y36(F.MF),t.Y36(t.R0b),t.Y36(S.t4),t.Y36(t.Qsj),t.Y36(L.D3),t.Y36(t.sBO),t.Y36(D.Is,8))},f.\u0275cmp=t.Xpm({type:f,selectors:[["nz-affix"]],viewQuery:function(u,O){if(1&u&&t.Gf(N,7),2&u){let U;t.iGM(U=t.CRH())&&(O.fixedEl=U.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[t.TTD],ngContentSelectors:o,decls:3,vars:0,consts:[["fixedEl",""]],template:function(u,O){1&u&&(t.F$t(),t.TgZ(0,"div",null,0),t.Hsn(2),t.qZA())},encapsulation:2,changeDetection:0}),(0,e.gn)([(0,C.oS)(),(0,P.Rn)(void 0)],f.prototype,"nzOffsetTop",void 0),(0,e.gn)([(0,C.oS)(),(0,P.Rn)(void 0)],f.prototype,"nzOffsetBottom",void 0),f})(),h=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[D.vT,s.ez,S.ud]}),f})()},565:(W,Z,n)=>{n.d(Z,{Zv:()=>_,cD:()=>A,yH:()=>Q});var e=n(655),s=n(5879),t=n(2438),d=n(9773),x=n(2181),E=n(4194),r=n(874),c=n(9087),p=n(7754),T=n(9388),y=n(331),C=n(6814),P=n(551),F=n(8324);const S=["*"],L=["collapseHeader"];function D(h,f){if(1&h&&(s.ynx(0),s._UZ(1,"span",7),s.BQk()),2&h){const v=f.$implicit,u=s.oxw(2);s.xp6(1),s.Q6J("nzType",v||"right")("nzRotate",u.nzActive?90:0)}}function N(h,f){if(1&h&&(s.TgZ(0,"div"),s.YNc(1,D,2,2,"ng-container",3),s.qZA()),2&h){const v=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",v.nzExpandedIcon)}}function o(h,f){if(1&h&&(s.ynx(0),s._uU(1),s.BQk()),2&h){const v=s.oxw();s.xp6(1),s.Oqu(v.nzHeader)}}function J(h,f){if(1&h&&(s.ynx(0),s._uU(1),s.BQk()),2&h){const v=s.oxw(2);s.xp6(1),s.Oqu(v.nzExtra)}}function G(h,f){if(1&h&&(s.TgZ(0,"div",8),s.YNc(1,J,2,1,"ng-container",3),s.qZA()),2&h){const v=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",v.nzExtra)}}const j="collapse";let Q=(()=>{class h{constructor(v,u,O,U){this.nzConfigService=v,this.cdr=u,this.directionality=O,this.destroy$=U,this._nzModuleName=j,this.nzAccordion=!1,this.nzBordered=!0,this.nzGhost=!1,this.nzExpandIconPosition="left",this.dir="ltr",this.listOfNzCollapsePanelComponent=[],this.nzConfigService.getConfigChangeEventForComponent(j).pipe((0,d.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,d.R)(this.destroy$)).subscribe(v=>{this.dir=v,this.cdr.detectChanges()}),this.dir=this.directionality.value}addPanel(v){this.listOfNzCollapsePanelComponent.push(v)}removePanel(v){this.listOfNzCollapsePanelComponent.splice(this.listOfNzCollapsePanelComponent.indexOf(v),1)}click(v){this.nzAccordion&&!v.nzActive&&this.listOfNzCollapsePanelComponent.filter(u=>u!==v).forEach(u=>{u.nzActive&&(u.nzActive=!1,u.nzActiveChange.emit(u.nzActive),u.markForCheck())}),v.nzActive=!v.nzActive,v.nzActiveChange.emit(v.nzActive)}}return h.\u0275fac=function(v){return new(v||h)(s.Y36(r.jY),s.Y36(s.sBO),s.Y36(T.Is,8),s.Y36(c.kn))},h.\u0275cmp=s.Xpm({type:h,selectors:[["nz-collapse"]],hostAttrs:[1,"ant-collapse"],hostVars:10,hostBindings:function(v,u){2&v&&s.ekj("ant-collapse-icon-position-left","left"===u.nzExpandIconPosition)("ant-collapse-icon-position-right","right"===u.nzExpandIconPosition)("ant-collapse-ghost",u.nzGhost)("ant-collapse-borderless",!u.nzBordered)("ant-collapse-rtl","rtl"===u.dir)},inputs:{nzAccordion:"nzAccordion",nzBordered:"nzBordered",nzGhost:"nzGhost",nzExpandIconPosition:"nzExpandIconPosition"},exportAs:["nzCollapse"],features:[s._Bn([c.kn])],ngContentSelectors:S,decls:1,vars:0,template:function(v,u){1&v&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),(0,e.gn)([(0,r.oS)(),(0,p.yF)()],h.prototype,"nzAccordion",void 0),(0,e.gn)([(0,r.oS)(),(0,p.yF)()],h.prototype,"nzBordered",void 0),(0,e.gn)([(0,r.oS)(),(0,p.yF)()],h.prototype,"nzGhost",void 0),h})();const B="collapsePanel";let _=(()=>{class h{markForCheck(){this.cdr.markForCheck()}constructor(v,u,O,U,R,Y){this.nzConfigService=v,this.ngZone=u,this.cdr=O,this.destroy$=U,this.nzCollapseComponent=R,this.noAnimation=Y,this._nzModuleName=B,this.nzActive=!1,this.nzDisabled=!1,this.nzShowArrow=!0,this.nzActiveChange=new s.vpe,this.nzConfigService.getConfigChangeEventForComponent(B).pipe((0,d.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.nzCollapseComponent.addPanel(this),this.ngZone.runOutsideAngular(()=>(0,t.R)(this.collapseHeader.nativeElement,"click").pipe((0,x.h)(()=>!this.nzDisabled),(0,d.R)(this.destroy$)).subscribe(()=>{this.ngZone.run(()=>{this.nzCollapseComponent.click(this),this.cdr.markForCheck()})}))}ngOnDestroy(){this.nzCollapseComponent.removePanel(this)}}return h.\u0275fac=function(v){return new(v||h)(s.Y36(r.jY),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(c.kn),s.Y36(Q,1),s.Y36(y.P,8))},h.\u0275cmp=s.Xpm({type:h,selectors:[["nz-collapse-panel"]],viewQuery:function(v,u){if(1&v&&s.Gf(L,7),2&v){let O;s.iGM(O=s.CRH())&&(u.collapseHeader=O.first)}},hostAttrs:[1,"ant-collapse-item"],hostVars:6,hostBindings:function(v,u){2&v&&s.ekj("ant-collapse-no-arrow",!u.nzShowArrow)("ant-collapse-item-active",u.nzActive)("ant-collapse-item-disabled",u.nzDisabled)},inputs:{nzActive:"nzActive",nzDisabled:"nzDisabled",nzShowArrow:"nzShowArrow",nzExtra:"nzExtra",nzHeader:"nzHeader",nzExpandedIcon:"nzExpandedIcon"},outputs:{nzActiveChange:"nzActiveChange"},exportAs:["nzCollapsePanel"],features:[s._Bn([c.kn])],ngContentSelectors:S,decls:8,vars:8,consts:[["role","button",1,"ant-collapse-header"],["collapseHeader",""],[4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-collapse-extra",4,"ngIf"],[1,"ant-collapse-content"],[1,"ant-collapse-content-box"],["nz-icon","",1,"ant-collapse-arrow",3,"nzType","nzRotate"],[1,"ant-collapse-extra"]],template:function(v,u){1&v&&(s.F$t(),s.TgZ(0,"div",0,1),s.YNc(2,N,2,1,"div",2),s.YNc(3,o,2,1,"ng-container",3),s.YNc(4,G,2,1,"div",4),s.qZA(),s.TgZ(5,"div",5)(6,"div",6),s.Hsn(7),s.qZA()()),2&v&&(s.uIk("aria-expanded",u.nzActive),s.xp6(2),s.Q6J("ngIf",u.nzShowArrow),s.xp6(1),s.Q6J("nzStringTemplateOutlet",u.nzHeader),s.xp6(1),s.Q6J("ngIf",u.nzExtra),s.xp6(1),s.ekj("ant-collapse-content-active",u.nzActive),s.Q6J("@.disabled",!(null==u.noAnimation||!u.noAnimation.nzNoAnimation))("@collapseMotion",u.nzActive?"expanded":"hidden"))},dependencies:[C.O5,P.Ls,F.f],encapsulation:2,data:{animation:[E.J_]},changeDetection:0}),(0,e.gn)([(0,p.yF)()],h.prototype,"nzActive",void 0),(0,e.gn)([(0,p.yF)()],h.prototype,"nzDisabled",void 0),(0,e.gn)([(0,r.oS)(),(0,p.yF)()],h.prototype,"nzShowArrow",void 0),h})(),A=(()=>{class h{}return h.\u0275fac=function(v){return new(v||h)},h.\u0275mod=s.oAB({type:h}),h.\u0275inj=s.cJS({imports:[T.vT,C.ez,P.PV,F.T,y.g]}),h})()}}]); \ No newline at end of file diff --git a/server/public/97.50ed270308fff8a6.js b/server/public/97.50ed270308fff8a6.js deleted file mode 100644 index 840d34b17..000000000 --- a/server/public/97.50ed270308fff8a6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[97],{9460:(D,g,n)=>{n.d(g,{i:()=>c});var a=n(6895),_=n(9116),e=n(6672),f=n(6581),h=n(1102),v=n(1698),z=n(9444),E=n(48),m=n(6429),p=n(4650);class c{}c.\u0275fac=function(C){return new(C||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[a.ez,_.Bz,E.mS,e.X,f.$6,h.PV,v.f,z.s,m.C]})},427:(D,g,n)=>{n.d(g,{J:()=>m});var a=n(4650),_=n(6895),e=n(4788),f=n(1102);function h(p,c){if(1&p&&(a.TgZ(0,"span",5),a._uU(1),a.qZA()),2&p){const u=a.oxw(2);a.xp6(1),a.Oqu(u.notification)}}function v(p,c){1&p&&a._uU(0," Not specified ")}function z(p,c){if(1&p&&(a.YNc(0,h,2,1,"span",3),a.YNc(1,v,1,0,"ng-template",null,4,a.W1O)),2&p){const u=a.MAs(2),C=a.oxw();a.Q6J("ngIf",C.notification)("ngIfElse",u)}}function E(p,c){1&p&&a._UZ(0,"i",6)}class m{constructor(){}ngOnInit(){}}m.\u0275fac=function(c){return new(c||m)},m.\u0275cmp=a.Xpm({type:m,selectors:[["cvc-empty-revisable"]],inputs:{notification:"notification"},decls:5,vars:2,consts:[[3,"nzNotFoundContent","nzNotFoundImage"],["notFound",""],["notFoundImg",""],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["defaultNotification",""],["nz-typography","","nzType","secondary"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#dfdfdf"]],template:function(c,u){if(1&c&&(a._UZ(0,"nz-empty",0),a.YNc(1,z,3,2,"ng-template",null,1,a.W1O),a.YNc(3,E,1,0,"ng-template",null,2,a.W1O)),2&c){const C=a.MAs(2),k=a.MAs(4);a.Q6J("nzNotFoundContent",C)("nzNotFoundImage",k)}},dependencies:[_.O5,e.p9,f.Ls],styles:["[_nghost-%COMP%] {display:block}[_nghost-%COMP%] .ant-empty-image{height:35px;margin-top:4px;margin-bottom:4px}[_nghost-%COMP%] .ant-empty-image i, [_nghost-%COMP%] .ant-empty-image svg{height:100%;width:100%}"]})},8541:(D,g,n)=>{n.d(g,{o:()=>h});var a=n(6895),_=n(4788),e=n(1102),f=n(4650);class h{}h.\u0275fac=function(z){return new(z||h)},h.\u0275mod=f.oAB({type:h}),h.\u0275inj=f.cJS({imports:[a.ez,_.Xo,e.PV]})},545:(D,g,n)=>{n.d(g,{H0:()=>M});var a=n(4650),_=n(6895),e=n(445);let M=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=a.oAB({type:s}),s.\u0275inj=a.cJS({imports:[e.vT,_.ez]}),s})()},1243:(D,g,n)=>{n.d(g,{i:()=>l,m:()=>o});var a=n(655),_=n(9521),e=n(4650),f=n(4006),h=n(7579),v=n(4968),z=n(2722),E=n(2536),m=n(3187),p=n(2687),c=n(445),u=n(6895),C=n(1664),k=n(1102),y=n(6287);const P=["switchElement"];function N(t,d){1&t&&e._UZ(0,"span",8)}function T(t,d){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const i=e.oxw(2);e.xp6(1),e.Oqu(i.nzCheckedChildren)}}function O(t,d){if(1&t&&(e.ynx(0),e.YNc(1,T,2,1,"ng-container",9),e.BQk()),2&t){const i=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",i.nzCheckedChildren)}}function A(t,d){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const i=e.oxw(2);e.xp6(1),e.Oqu(i.nzUnCheckedChildren)}}function M(t,d){if(1&t&&e.YNc(0,A,2,1,"ng-container",9),2&t){const i=e.oxw();e.Q6J("nzStringTemplateOutlet",i.nzUnCheckedChildren)}}let l=(()=>{class t{constructor(i,r,S,I,x,w){this.nzConfigService=i,this.host=r,this.ngZone=S,this.cdr=I,this.focusMonitor=x,this.directionality=w,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.nzId=null,this.dir="ltr",this.destroy$=new h.x,this.isNzDisableFirstChange=!0}updateValue(i){this.isChecked!==i&&(this.isChecked=i,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(i=>{this.dir=i,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,v.R)(this.host.nativeElement,"click").pipe((0,z.R)(this.destroy$)).subscribe(i=>{i.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,v.R)(this.switchElement.nativeElement,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(i=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:r}=i;r!==_.oh&&r!==_.SV&&r!==_.L_&&r!==_.K5||(i.preventDefault(),this.ngZone.run(()=>{r===_.oh?this.updateValue(!1):r===_.SV?this.updateValue(!0):(r===_.L_||r===_.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,z.R)(this.destroy$)).subscribe(i=>{i||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(i){this.isChecked=i,this.cdr.markForCheck()}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||i,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return t.\u0275fac=function(i){return new(i||t)(e.Y36(E.jY),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(p.tE),e.Y36(c.Is,8))},t.\u0275cmp=e.Xpm({type:t,selectors:[["nz-switch"]],viewQuery:function(i,r){if(1&i&&e.Gf(P,7),2&i){let S;e.iGM(S=e.CRH())&&(r.switchElement=S.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize",nzId:"nzId"},exportAs:["nzSwitch"],features:[e._Bn([{provide:f.JU,useExisting:(0,e.Gpc)(()=>t),multi:!0}])],decls:9,vars:16,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(i,r){if(1&i&&(e.TgZ(0,"button",0,1)(2,"span",2),e.YNc(3,N,1,0,"span",3),e.qZA(),e.TgZ(4,"span",4),e.YNc(5,O,2,1,"ng-container",5),e.YNc(6,M,1,1,"ng-template",null,6,e.W1O),e.qZA(),e._UZ(8,"div",7),e.qZA()),2&i){const S=e.MAs(7);e.ekj("ant-switch-checked",r.isChecked)("ant-switch-loading",r.nzLoading)("ant-switch-disabled",r.nzDisabled)("ant-switch-small","small"===r.nzSize)("ant-switch-rtl","rtl"===r.dir),e.Q6J("disabled",r.nzDisabled)("nzWaveExtraNode",!0),e.uIk("id",r.nzId),e.xp6(3),e.Q6J("ngIf",r.nzLoading),e.xp6(2),e.Q6J("ngIf",r.isChecked)("ngIfElse",S)}},dependencies:[u.O5,C.dQ,k.Ls,y.f],encapsulation:2,changeDetection:0}),(0,a.gn)([(0,m.yF)()],t.prototype,"nzLoading",void 0),(0,a.gn)([(0,m.yF)()],t.prototype,"nzDisabled",void 0),(0,a.gn)([(0,m.yF)()],t.prototype,"nzControl",void 0),(0,a.gn)([(0,E.oS)()],t.prototype,"nzSize",void 0),t})(),o=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[c.vT,u.ez,C.vG,k.PV,y.T]}),t})()}}]); \ No newline at end of file diff --git a/server/public/9716.75cd06843e3c8e35.js b/server/public/9716.75cd06843e3c8e35.js deleted file mode 100644 index 03d38ffcd..000000000 --- a/server/public/9716.75cd06843e3c8e35.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9716],{1812:(L,M,t)=>{t.d(M,{T:()=>x});var e=t(6895),_=t(6581),T=t(2635),O=t(7345),m=t(8369),l=t(9460),s=t(7043),A=t(1971),I=t(3679),Z=t(1229),D=t(7488),J=t(2811),C=t(9444),u=t(4650);class p{}p.\u0275fac=function(h){return new(h||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[e.ez,T._N,T.pP,A.vh,I.Jb,Z.U,O.W,m.W,l.i,l.i,s.Q,D.y,J.s,C.s]});var P=t(6672),S=t(1102),E=t(9116);class x{}x.\u0275fac=function(h){return new(h||x)},x.\u0275mod=u.oAB({type:x}),x.\u0275inj=u.cJS({imports:[e.ez,C.s,E.Bz,_.$6,S.PV,p,P.X]})},3212:(L,M,t)=>{t.d(M,{E:()=>y});var e=t(6895),_=t(1102),T=t(7345),O=t(8823),m=t(9444),l=t(1812),s=t(1254),A=t(1229),I=t(8369),Z=t(9460),D=t(7043),J=t(9476),C=t(7570),u=t(3679),p=t(7488),P=t(6616),S=t(2811),E=t(7677),x=t(6672),R=t(9116),h=t(4126),N=t(4650);class y{}y.\u0275fac=function(b){return new(b||y)},y.\u0275mod=N.oAB({type:y}),y.\u0275inj=N.cJS({imports:[e.ez,P.sL,_.PV,x.X,C.cg,O.ZJ,u.Jb,R.Bz,p.y,T.W,m.s,l.T,s.O,A.U,I.W,Z.i,D.Q,J.L,S.s,E.G,h.u]})},1897:(L,M,t)=>{t.d(M,{t:()=>ne});var e=t(4650),_=t(6895),T=t(6672),O=t(7570),m=t(8823),l=t(3679),s=t(9116),A=t(3579),I=t(125),Z=t(6581),D=t(1102),J=t(6579),C=t(7630),u=t(1971),p=t(3965),P=t(2826),S=t(2268),E=t(5457),x=t(783),R=t(2635),h=t(5083);function N(n,i){if(1&n&&e._UZ(0,"cvc-gene-tag",17),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("gene",o.commentable)}}function y(n,i){if(1&n&&e._UZ(0,"cvc-assertion-tag",18),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("assertion",o.commentable)}}function F(n,i){if(1&n&&e._UZ(0,"cvc-evidence-tag",19),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("evidence",o.commentable)}}function b(n,i){if(1&n&&e._UZ(0,"cvc-variant-tag",20),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variant",o.commentable)}}function te(n,i){if(1&n&&e._UZ(0,"cvc-revision-tag",21),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("revision",o.commentable)}}function K(n,i){if(1&n&&e._UZ(0,"cvc-source-tag",22),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("source",o.commentable)}}function Y(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Oqu(o.commentable.name)}}function V(n,i){if(1&n&&(e.TgZ(0,"span",7),e._UZ(1,"cvc-user-tag",8),e._uU(2,"commented on "),e.ynx(3,9),e.YNc(4,N,1,2,"cvc-gene-tag",10),e.YNc(5,y,1,2,"cvc-assertion-tag",11),e.YNc(6,F,1,2,"cvc-evidence-tag",12),e.YNc(7,b,1,2,"cvc-variant-tag",13),e.YNc(8,te,1,2,"cvc-revision-tag",14),e.YNc(9,K,1,2,"cvc-source-tag",15),e.YNc(10,Y,2,1,"span",16),e.BQk(),e._uU(11),e.ALo(12,"timeAgo"),e.qZA()),2&n){const o=e.oxw().ngIf;e.xp6(1),e.Q6J("enablePopover",!1)("user",o.commenter),e.xp6(2),e.Q6J("ngSwitch",o.commentable.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","Revision"),e.xp6(1),e.Q6J("ngSwitchCase","Source"),e.xp6(2),e.hij(" ",e.lcZ(12,10,o.createdAt)," ")}}function W(n,i){if(1&n&&(e.TgZ(0,"p",23)(1,"b"),e._uU(2),e.qZA()()),2&n){const o=e.oxw().ngIf;e.xp6(2),e.Oqu(o.title)}}function $(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,V,13,12,"ng-template",null,3,e.W1O),e.TgZ(4,"nz-row")(5,"nz-col",4)(6,"div",5),e.YNc(7,W,3,1,"p",6),e.TgZ(8,"p"),e._uU(9),e.qZA()()()()(),e.BQk()),2&n){const o=i.ngIf,z=e.MAs(3);e.xp6(1),e.Q6J("nzTitle",z),e.xp6(6),e.Q6J("ngIf",o.title),e.xp6(2),e.hij(" ",o.comment," ")}}class j{constructor(i){this.gql=i}ngOnInit(){if(null==this.commentId)throw new Error("cvc-comment-popover requires valid commentId input.");this.comment$=this.gql.watch({commentId:this.commentId}).valueChanges.pipe((0,J.j)("data","comment"))}}function G(n,i){}function H(n,i){}function a(n,i){if(1&n&&e._UZ(0,"cvc-comment-popover",7),2&n){const o=e.oxw(2);e.Q6J("commentId",o.comment.id)}}function v(n,i){if(1&n&&(e.TgZ(0,"nz-tag",5),e.YNc(1,H,0,0,"ng-template",1),e.qZA(),e.YNc(2,a,1,1,"ng-template",null,6,e.W1O)),2&n){const o=e.MAs(3),z=e.oxw(),ce=e.MAs(7);e.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",o)("nzPopoverTrigger",z.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",ce)}}function c(n,i){}function f(n,i){if(1&n&&(e.TgZ(0,"nz-tag"),e.YNc(1,c,0,0,"ng-template",1),e.qZA()),2&n){e.oxw();const o=e.MAs(7);e.xp6(1),e.Q6J("ngTemplateOutlet",o)}}function U(n,i){if(1&n&&(e._UZ(0,"i",8),e._uU(1)),2&n){const o=e.oxw();e.xp6(1),e.hij(" ",o.comment.name,"\n")}}j.\u0275fac=function(i){return new(i||j)(e.Y36(C.Kk))},j.\u0275cmp=e.Xpm({type:j,selectors:[["cvc-comment-popover"]],inputs:{commentId:"commentId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography","",4,"ngIf"],[1,"comment-card-title"],[3,"enablePopover","user"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","revision",4,"ngSwitchCase"],["mode","concise",3,"enablePopover","source",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","revision"],["mode","concise",3,"enablePopover","source"],["nz-typography",""]],template:function(i,o){1&i&&(e.TgZ(0,"div",0),e.YNc(1,$,10,3,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,o.comment$)))},dependencies:[_.O5,_.RF,_.n9,_.ED,u.bd,l.t3,l.SK,p.H,I.I,P.w,S.O,E.I,A.p,x.T,R.fM,h.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.comment-card-title[_ngcontent-%COMP%]{font-weight:400}"]});class Q{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.comment)throw new Error("cvc-comment-tag requires LinkableComment input, none supplied.")}}Q.\u0275fac=function(i){return new(i||Q)},Q.\u0275cmp=e.Xpm({type:Q,selectors:[["cvc-comment-tag"]],inputs:{comment:"comment",subject:"subject",enablePopover:"enablePopover"},decls:8,vars:2,consts:[[3,"routerLink"],[3,"ngTemplateOutlet"],["tag",""],["noPopover",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["commentPopover",""],[3,"commentId"],["nz-icon","","nzType","civic-comment","nzTheme","twotone","nzTwotoneColor","#44D8EF"]],template:function(i,o){if(1&i&&(e.TgZ(0,"a",0),e.YNc(1,G,0,0,"ng-template",1),e.qZA(),e.YNc(2,v,4,4,"ng-template",null,2,e.W1O),e.YNc(4,f,2,1,"ng-template",null,3,e.W1O),e.YNc(6,U,2,1,"ng-template",null,4,e.W1O)),2&i){const z=e.MAs(3);e.Q6J("routerLink",o.comment.link),e.xp6(1),e.Q6J("ngTemplateOutlet",z)}},dependencies:[_.tP,s.rH,Z.lU,D.Ls,j,T.j],encapsulation:2});var oe=t(3240),ie=t(4004),ae=t(9300),w=t(6903),r=t(9194),d=t(112),g=t(4590),B=t(160);function X(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"i",11),e.ALo(2,"entityColor"),e._uU(3),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(2,2,"Flag")),e.xp6(2),e.hij(" FID",o.id," ")}}function re(n,i){if(1&n&&e._UZ(0,"cvc-status-tag",12),2&n){const o=e.oxw(2).ngIf;e.Q6J("status",o.state)}}function se(n,i){1&n&&(e.TgZ(0,"nz-space",8),e.YNc(1,X,4,4,"span",9),e.YNc(2,re,1,1,"cvc-status-tag",10),e.qZA())}function le(n,i){if(1&n&&e._UZ(0,"cvc-gene-tag",20),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("gene",o.flaggable)}}function ge(n,i){if(1&n&&e._UZ(0,"cvc-assertion-tag",21),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("assertion",o.flaggable)}}function _e(n,i){if(1&n&&e._UZ(0,"cvc-evidence-tag",22),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("evidence",o.flaggable)}}function me(n,i){if(1&n&&e._UZ(0,"cvc-variant-tag",23),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variant",o.flaggable)}}function pe(n,i){if(1&n&&e._UZ(0,"cvc-variant-group-tag",24),2&n){const o=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variantgroup",o.flaggable)}}function ve(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const o=e.oxw(2).ngIf;e.xp6(1),e.Oqu(o.flaggable.name)}}function de(n,i){if(1&n&&(e.ynx(0,13),e.YNc(1,le,1,2,"cvc-gene-tag",14),e.YNc(2,ge,1,2,"cvc-assertion-tag",15),e.YNc(3,_e,1,2,"cvc-evidence-tag",16),e.YNc(4,me,1,2,"cvc-variant-tag",17),e.YNc(5,pe,1,2,"cvc-variant-group-tag",18),e.YNc(6,ve,2,1,"span",19),e.BQk()),2&n){const o=e.oxw().ngIf;e.Q6J("ngSwitch",o.flaggable.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","VariantGroup")}}function ue(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions",25)(1,"nz-descriptions-item",26),e._UZ(2,"cvc-user-tag",27),e.qZA(),e.TgZ(3,"nz-descriptions-item",28),e._uU(4),e.ALo(5,"timeAgo"),e.qZA()()),2&n){const o=e.oxw().ngIf;e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("enablePopover",!1)("user",o.flaggingUser),e.xp6(2),e.hij(" ",e.lcZ(5,4,o.createdAt)," ")}}function fe(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions",29)(1,"nz-descriptions-item",30),e._uU(2),e.qZA()()),2&n){const o=e.oxw().ngIf;e.Q6J("nzColumn",1),e.xp6(2),e.hij(" ",o.openComment.comment," ")}}function Ce(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,se,3,0,"ng-template",null,3,e.W1O),e.YNc(4,de,7,6,"ng-template",null,4,e.W1O),e.TgZ(6,"nz-space",5),e.YNc(7,ue,6,6,"nz-descriptions",6),e.YNc(8,fe,3,2,"nz-descriptions",7),e.qZA()(),e.BQk()),2&n){const o=e.MAs(3),z=e.MAs(5);e.xp6(1),e.Q6J("nzTitle",o)("nzExtra",z)}}class q{constructor(i){this.gql=i}ngOnInit(){if(null==this.flagId)throw new Error("cvc-flag-popover requires valid flagId input.");this.flag$=this.gql.watch({flagId:this.flagId}).valueChanges.pipe((0,ie.U)(({data:i})=>i?.flag),(0,ae.h)(oe.ep))}}function Te(n,i){}function he(n,i){}function Pe(n,i){if(1&n&&e._UZ(0,"cvc-flag-popover",6),2&n){const o=e.oxw(2);e.Q6J("flagId",o.flag.id)}}function xe(n,i){if(1&n&&(e.TgZ(0,"nz-tag",4),e.YNc(1,he,0,0,"ng-template",1),e.qZA(),e.YNc(2,Pe,1,1,"ng-template",null,5,e.W1O)),2&n){const o=e.MAs(3),z=e.oxw(),ce=e.MAs(5);e.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",o)("nzPopoverTrigger",z.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",ce)}}function ze(n,i){if(1&n&&(e._UZ(0,"i",7),e._uU(1)),2&n){const o=e.oxw();e.xp6(1),e.hij(" ",o.flag.name,"\n")}}q.\u0275fac=function(i){return new(i||q)(e.Y36(C.OIL))},q.\u0275cmp=e.Xpm({type:q,selectors:[["cvc-flag-popover"]],inputs:{flagId:"flagId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["subject",""],["nzDirection","vertical",2,"width","100%"],["nzBordered","","nzSize","small",3,"nzColumn",4,"nzSpaceItem"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn",4,"nzSpaceItem"],[1,"flag-card-title"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-flag",3,"nzTwotoneColor"],[3,"status"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","variantgroup",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","variantgroup"],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Flagging User"],[3,"enablePopover","user"],["nzTitle","Flagging Date"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn"],["nzTitle","Comment"]],template:function(i,o){1&i&&(e.TgZ(0,"div",0),e.YNc(1,Ce,9,2,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&i&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,o.flag$)))},dependencies:[_.O5,_.RF,_.n9,_.ED,u.bd,D.Ls,w.NU,w.$1,r.R7,r.uj,p.H,I.I,P.w,S.O,E.I,d.u,g.h,R.fM,B.a,h.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.flag-card-title[_ngcontent-%COMP%]{font-weight:400}"]});class k{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.flag)throw new Error("cvc-flag-tag requires LinkableFlag input, none supplied.")}}k.\u0275fac=function(i){return new(i||k)},k.\u0275cmp=e.Xpm({type:k,selectors:[["cvc-flag-tag"]],inputs:{flag:"flag",subject:"subject",enablePopover:"enablePopover"},decls:6,vars:2,consts:[[3,"routerLink"],[3,"ngTemplateOutlet"],["tag",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["flagPopover",""],[3,"flagId"],["nz-icon","","nzType","civic-flag","nzTheme","twotone","nzTwotoneColor","#E24759"]],template:function(i,o){if(1&i&&(e.TgZ(0,"a",0),e.YNc(1,Te,0,0,"ng-template",1),e.qZA(),e.YNc(2,xe,4,4,"ng-template",null,2,e.W1O),e.YNc(4,ze,2,1,"ng-template",null,3,e.W1O)),2&i){const z=e.MAs(3);e.Q6J("routerLink",o.flag.link),e.xp6(1),e.Q6J("ngTemplateOutlet",z)}},dependencies:[_.tP,s.rH,T.j,D.Ls,Z.lU,q],encapsulation:2});var Oe=t(5749),Ae=t(5105),Ie=t(2937);class ee{transform(i){switch(i){case C.AO2.Commented:case C.AO2.RevisionSuggested:case C.AO2.RevisionAccepted:case C.AO2.RevisionRejected:case C.AO2.RevisionSuperseded:return"to";case C.AO2.Flagged:case C.AO2.FlagResolved:return"on";default:return""}}}function Ee(n,i){if(1&n&&e._UZ(0,"cvc-user-tag",10),2&n){const o=e.oxw(2);e.Q6J("user",o.event.originatingUser)}}function Me(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function De(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-revision-tag",13),e.YNc(2,Me,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,z=e.oxw(2);e.xp6(1),e.Q6J("revision",o)("subject",z.event.subject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=z.tagDisplay)}}function ye(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function Ze(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-comment-tag",15),e.YNc(2,ye,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,z=e.oxw(2);e.xp6(1),e.Q6J("comment",o)("subject",z.event.subject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=z.tagDisplay)}}function Se(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function Re(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cvc-flag-tag",16),e.YNc(2,Se,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,z=e.oxw(2);e.xp6(1),e.Q6J("flag",o)("subject",z.event.subject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=z.tagDisplay)}}function Ue(n,i){if(1&n&&(e.TgZ(0,"span",5),e._uU(1),e.ALo(2,"prepositionForSubject"),e.qZA()),2&n){const o=e.oxw(4);e.xp6(1),e.hij("",e.lcZ(2,1,o.event.action),"\xa0")}}function Qe(n,i){if(1&n&&(e.TgZ(0,"span")(1,"nz-tag",17),e._uU(2),e.qZA(),e.YNc(3,Ue,3,3,"span",14),e.qZA()),2&n){const o=e.oxw().ngIf,z=e.oxw(2);e.xp6(1),e.Q6J("routerLink",o.link),e.xp6(1),e.hij(" ",o.name," "),e.xp6(1),e.Q6J("ngIf","hideSubject"!=z.tagDisplay)}}function Je(n,i){if(1&n&&(e.ynx(0)(1,11),e.YNc(2,De,3,3,"span",12),e.YNc(3,Ze,3,3,"span",12),e.YNc(4,Re,3,3,"span",12),e.YNc(5,Qe,4,3,"span",12),e.BQk()()),2&n){const o=i.ngIf;e.xp6(1),e.Q6J("ngSwitch",o.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Revision"),e.xp6(1),e.Q6J("ngSwitchCase","Comment"),e.xp6(1),e.Q6J("ngSwitchCase","Flag"),e.xp6(1),e.Q6J("ngSwitchCase","SourceSuggestion")}}function Ne(n,i){if(1&n&&e._UZ(0,"cvc-gene-tag",27),2&n){const o=e.oxw().ngIf;e.Q6J("gene",o)}}function je(n,i){if(1&n&&e._UZ(0,"cvc-assertion-tag",28),2&n){const o=e.oxw().ngIf;e.Q6J("assertion",o)}}function Le(n,i){if(1&n&&e._UZ(0,"cvc-evidence-tag",29),2&n){const o=e.oxw().ngIf;e.Q6J("evidence",o)}}function we(n,i){if(1&n&&e._UZ(0,"cvc-variant-tag",30),2&n){const o=e.oxw().ngIf;e.Q6J("variant",o)}}function Fe(n,i){if(1&n&&e._UZ(0,"cvc-revision-tag",31),2&n){const o=e.oxw().ngIf;e.Q6J("revision",o)}}function Ye(n,i){if(1&n&&e._UZ(0,"cvc-variant-group-tag",32),2&n){const o=e.oxw().ngIf;e.Q6J("variantgroup",o)}}function Be(n,i){if(1&n&&e._UZ(0,"cvc-source-tag",33),2&n){const o=e.oxw().ngIf;e.Q6J("source",o)}}function be(n,i){if(1&n&&e._UZ(0,"cvc-molecular-profile-tag",34),2&n){const o=e.oxw().ngIf;e.Q6J("molecularProfile",o)}}function We(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const o=e.oxw().ngIf;e.xp6(1),e.Oqu(o.name)}}function Ke(n,i){1&n&&(e.ynx(0,11),e.YNc(1,Ne,1,1,"cvc-gene-tag",18),e.YNc(2,je,1,1,"cvc-assertion-tag",19),e.YNc(3,Le,1,1,"cvc-evidence-tag",20),e.YNc(4,we,1,1,"cvc-variant-tag",21),e.YNc(5,Fe,1,1,"cvc-revision-tag",22),e.YNc(6,Ye,1,1,"cvc-variant-group-tag",23),e.YNc(7,Be,1,1,"cvc-source-tag",24),e.YNc(8,be,1,1,"cvc-molecular-profile-tag",25),e.YNc(9,We,2,1,"span",26),e.BQk()),2&n&&(e.Q6J("ngSwitch",i.ngIf.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","Revision"),e.xp6(1),e.Q6J("ngSwitchCase","VariantGroup"),e.xp6(1),e.Q6J("ngSwitchCase","Source"),e.xp6(1),e.Q6J("ngSwitchCase","MolecularProfile"))}function Ve(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"span",5),e._uU(2,"for\xa0"),e.qZA(),e._UZ(3,"cvc-organization-tag",35),e.BQk()),2&n){const o=i.ngIf;e.xp6(3),e.Q6J("org",o)}}function $e(n,i){if(1&n&&(e.TgZ(0,"nz-row",2)(1,"nz-col",3),e.YNc(2,Ee,1,1,"cvc-user-tag",4),e.TgZ(3,"span",5),e._uU(4),e.ALo(5,"eventVerbiage"),e.qZA(),e.YNc(6,Je,6,5,"ng-container",6),e.YNc(7,Ke,10,9,"ng-container",7),e.YNc(8,Ve,4,1,"ng-container",6),e.qZA(),e.TgZ(9,"nz-col",8)(10,"span",9),e.ALo(11,"date"),e._uU(12),e.ALo(13,"timeAgo"),e.qZA()()()),2&n){const o=e.oxw();e.xp6(2),e.Q6J("ngIf","hideUser"!=o.tagDisplay),e.xp6(2),e.hij("",e.xi3(5,7,o.event.action,"feed"),"\xa0"),e.xp6(2),e.Q6J("ngIf",o.event.originatingObject),e.xp6(1),e.Q6J("ngIf","hideSubject"!=o.tagDisplay&&o.event.subject),e.xp6(1),e.Q6J("ngIf","hideOrg"!=o.tagDisplay&&o.event.organization),e.xp6(2),e.Q6J("nzTooltipTitle",e.lcZ(11,10,o.event.createdAt)),e.xp6(2),e.hij(" ",e.lcZ(13,12,o.event.createdAt)," ")}}function Ge(n,i){1&n&&e._uU(0," Event database entry is malformed and cannot be displayed\n")}ee.\u0275fac=function(i){return new(i||ee)},ee.\u0275pipe=e.Yjl({name:"prepositionForSubject",type:ee,pure:!0});class ne{constructor(){this.tagDisplay="displayAll"}ngOnInit(){if(void 0===this.event)throw new Error("cvc-timeline-item component requires an EventFeedNodeFragment input.")}}ne.\u0275fac=function(i){return new(i||ne)},ne.\u0275cmp=e.Xpm({type:ne,selectors:[["cvc-event-timeline-item"]],inputs:{event:"event",tagDisplay:"tagDisplay"},decls:3,vars:2,consts:[["class","timeline-item",4,"ngIf","ngIfElse"],["noOriginating",""],[1,"timeline-item"],["nzFlex","auto",1,"description"],[3,"user",4,"ngIf"],["nz-typography",""],[4,"ngIf"],[3,"ngSwitch",4,"ngIf"],["nzFlex","100px",1,"timestamp"],["nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],[3,"user"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"revision","subject"],["nz-typography","",4,"ngIf"],[3,"comment","subject"],[3,"flag","subject"],[2,"cursor","pointer",3,"routerLink"],[3,"gene",4,"ngSwitchCase"],[3,"assertion",4,"ngSwitchCase"],[3,"evidence",4,"ngSwitchCase"],[3,"variant",4,"ngSwitchCase"],[3,"revision",4,"ngSwitchCase"],[3,"variantgroup",4,"ngSwitchCase"],["mode","concise",3,"source",4,"ngSwitchCase"],[3,"molecularProfile",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"gene"],[3,"assertion"],[3,"evidence"],[3,"variant"],[3,"revision"],[3,"variantgroup"],["mode","concise",3,"source"],[3,"molecularProfile"],[3,"org"]],template:function(i,o){if(1&i&&(e.YNc(0,$e,14,14,"nz-row",0),e.YNc(1,Ge,1,0,"ng-template",null,1,e.W1O)),2&i){const z=e.MAs(2);e.Q6J("ngIf",o.event.originatingObject)("ngIfElse",z)}},dependencies:[_.O5,_.RF,_.n9,_.ED,T.j,O.SY,m.ZU,l.t3,l.SK,s.rH,A.p,I.I,Q,k,p.H,P.w,S.O,E.I,Oe.m,x.T,d.u,Ae.p,_.uU,Ie.R,ee,h.x],encapsulation:2})},3227:(L,M,t)=>{t.d(M,{r:()=>C});var e=t(4650),_=t(6895),T=t(7044),O=t(1102),m=t(9790),l=t(1897),s=t(7630);class A{transform(p){switch(p){case s.AO2.Commented:return"civic-comment";case s.AO2.RevisionSuggested:case s.AO2.RevisionAccepted:case s.AO2.RevisionRejected:case s.AO2.RevisionSuperseded:return"civic-revision";case s.AO2.Flagged:case s.AO2.FlagResolved:return"civic-flag";case s.AO2.AssertionSubmitted:case s.AO2.AssertionAccepted:case s.AO2.AssertionRejected:return"civic-assertion";case s.AO2.Submitted:case s.AO2.Accepted:case s.AO2.Rejected:return"civic-evidence";case s.AO2.PublicationSuggested:case s.AO2.CuratedSourceSuggestion:case s.AO2.RejectedSourceSuggestion:case s.AO2.RequeuedSourceSuggestion:return"file-add";case s.AO2.Reverted:return"civic-evidence";case s.AO2.AssertionReverted:return"civic-assertion";case s.AO2.DeprecatedVariant:return"civic-variant";case s.AO2.DeprecatedMolecularProfile:return"civic-molecularprofile";default:return p}}}function I(u,p){if(1&u&&(e._UZ(0,"i",6),e.ALo(1,"iconNameForEventAction")),2&u){const P=e.oxw(2).$implicit;e.Q6J("nzType",e.lcZ(1,1,P.action))}}function Z(u,p){if(1&u&&(e.TgZ(0,"nz-timeline-item",3),e.YNc(1,I,2,3,"ng-template",null,4,e.W1O),e._UZ(3,"cvc-event-timeline-item",5),e.qZA()),2&u){const P=e.MAs(2),S=e.oxw().$implicit,E=e.oxw(2);e.Q6J("nzDot",P),e.xp6(3),e.Q6J("event",S)("tagDisplay",E.tagDisplay)}}function D(u,p){if(1&u&&(e.ynx(0),e.YNc(1,Z,4,3,"nz-timeline-item",2),e.BQk()),2&u){const P=p.$implicit;e.xp6(1),e.Q6J("ngIf",P)}}function J(u,p){if(1&u&&(e.TgZ(0,"nz-timeline"),e.YNc(1,D,2,1,"ng-container",1),e.qZA()),2&u){const P=e.oxw();e.xp6(1),e.Q6J("ngForOf",P.events)}}A.\u0275fac=function(p){return new(p||A)},A.\u0275pipe=e.Yjl({name:"iconNameForEventAction",type:A,pure:!0});class C{constructor(){this.tagDisplay="displayAll"}ngOnInit(){if(void 0===this.events)throw new Error("cvc-feed-item component requires array of EventFeedNodeFragment input.")}}C.\u0275fac=function(p){return new(p||C)},C.\u0275cmp=e.Xpm({type:C,selectors:[["cvc-event-timeline"]],inputs:{events:"events",tagDisplay:"tagDisplay"},decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"nzDot",4,"ngIf"],[3,"nzDot"],["timelineDotTemplate",""],[3,"event","tagDisplay"],["nz-icon","","nzTheme","twotone",1,"item-icon",3,"nzType"]],template:function(p,P){1&p&&e.YNc(0,J,2,1,"nz-timeline",0),2&p&&e.Q6J("ngIf",null==P.events?null:P.events.length)},dependencies:[_.sg,_.O5,T.w,O.Ls,m.Zv,m.PD,l.t,A],styles:["[_nghost-%COMP%]{display:block}.item-icon[_ngcontent-%COMP%]{font-size:18px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%], .timeline-item[_ngcontent-%COMP%] .timestamp[_ngcontent-%COMP%]{margin-top:2px}.timeline-item[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-left:4px}nz-timeline[_ngcontent-%COMP%] ul li:last-child{padding-bottom:0}nz-timeline[_ngcontent-%COMP%] ul li:last-child .ant-timeline-item-content{min-height:0;padding-bottom:8px}.timestamp[_ngcontent-%COMP%]{text-align:right}.comment-title[_ngcontent-%COMP%]{padding-right:24px}.comment-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}.comment-card[_ngcontent-%COMP%]{width:100%}"]})},3884:(L,M,t)=>{t.d(M,{m:()=>h});var e=t(6895),_=t(1102),T=t(7345),O=t(8823),m=t(9444),l=t(1812),s=t(1254),A=t(1229),I=t(8369),Z=t(9460),D=t(7043),J=t(9476),C=t(7570),u=t(9790),p=t(3679),P=t(7488),S=t(6616),E=t(2811),x=t(3212),R=t(4650);class h{}h.\u0275fac=function(y){return new(y||h)},h.\u0275mod=R.oAB({type:h}),h.\u0275inj=R.cJS({imports:[e.ez,S.sL,_.PV,C.cg,O.ZJ,u.FT,p.Jb,P.y,T.W,m.s,l.T,s.O,A.U,I.W,Z.i,D.Q,J.L,E.s,x.E]})},1254:(L,M,t)=>{t.d(M,{O:()=>h});var e=t(6895),_=t(6672),T=t(1102),O=t(9116),m=t(9444),l=t(2635),s=t(7345),A=t(8369),I=t(9460),Z=t(7043),D=t(1971),J=t(3679),C=t(1229),u=t(7677),p=t(592),P=t(6903),S=t(9194),E=t(4650);class x{}x.\u0275fac=function(y){return new(y||x)},x.\u0275mod=E.oAB({type:x}),x.\u0275inj=E.cJS({imports:[e.ez,l._N,l.pP,D.vh,J.Jb,T.PV,P.zf,S.q6,m.s,C.U,s.W,A.W,I.i,Z.Q,u.G,p.x]});var R=t(6581);class h{}h.\u0275fac=function(y){return new(y||h)},h.\u0275mod=E.oAB({type:h}),h.\u0275inj=E.cJS({imports:[e.ez,O.Bz,_.X,T.PV,R.$6,m.s,x]})},3579:(L,M,t)=>{t.d(M,{p:()=>w});var e=t(4650),_=t(6895),T=t(9116),O=t(4004),m=t(9300),l=t(3240),s=t(7630),A=t(1971),I=t(1102),Z=t(6903),D=t(9194),J=t(3965),C=t(125),u=t(2826),p=t(2268),P=t(5457),S=t(112),E=t(4590),x=t(2635),R=t(160),h=t(5083);function N(r,d){if(1&r&&(e.TgZ(0,"span"),e._UZ(1,"i",14),e.ALo(2,"entityColor"),e._uU(3),e.qZA()),2&r){const g=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(2,2,"Revision")),e.xp6(2),e.hij(" RID",g.id," ")}}function y(r,d){if(1&r&&e._UZ(0,"cvc-status-tag",15),2&r){const g=e.oxw(2).ngIf;e.Q6J("status",g.status)}}function F(r,d){1&r&&(e.TgZ(0,"nz-space",11),e.YNc(1,N,4,4,"span",12),e.YNc(2,y,1,1,"cvc-status-tag",13),e.qZA())}function b(r,d){if(1&r&&e._UZ(0,"cvc-gene-tag",23),2&r){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("gene",g.subject)}}function te(r,d){if(1&r&&e._UZ(0,"cvc-assertion-tag",24),2&r){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("assertion",g.subject)}}function K(r,d){if(1&r&&e._UZ(0,"cvc-evidence-tag",25),2&r){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("evidence",g.subject)}}function Y(r,d){if(1&r&&e._UZ(0,"cvc-variant-tag",26),2&r){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variant",g.subject)}}function V(r,d){if(1&r&&e._UZ(0,"cvc-variant-group-tag",27),2&r){const g=e.oxw(2).ngIf;e.Q6J("enablePopover",!1)("variantgroup",g.subject)}}function W(r,d){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&r){const g=e.oxw(2).ngIf;e.xp6(1),e.Oqu(g.subject.name)}}function $(r,d){if(1&r&&(e.ynx(0,16),e.YNc(1,b,1,2,"cvc-gene-tag",17),e.YNc(2,te,1,2,"cvc-assertion-tag",18),e.YNc(3,K,1,2,"cvc-evidence-tag",19),e.YNc(4,Y,1,2,"cvc-variant-tag",20),e.YNc(5,V,1,2,"cvc-variant-group-tag",21),e.YNc(6,W,2,1,"span",22),e.BQk()),2&r){const g=e.oxw().ngIf;e.Q6J("ngSwitch",g.subject.__typename),e.xp6(1),e.Q6J("ngSwitchCase","Gene"),e.xp6(1),e.Q6J("ngSwitchCase","Assertion"),e.xp6(1),e.Q6J("ngSwitchCase","EvidenceItem"),e.xp6(1),e.Q6J("ngSwitchCase","Variant"),e.xp6(1),e.Q6J("ngSwitchCase","VariantGroup")}}function j(r,d){if(1&r&&e._UZ(0,"cvc-user-tag",28),2&r){const g=e.oxw().ngIf;e.Q6J("enablePopover",!1)("user",g.revisor)}}function G(r,d){if(1&r&&(e.TgZ(0,"nz-descriptions-item",29),e._uU(1),e.qZA()),2&r){const g=e.oxw().ngIf;e.xp6(1),e.hij(" ",g.creationComment.comment," ")}}function H(r,d){if(1&r&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,F,3,0,"ng-template",null,3,e.W1O),e.YNc(4,$,7,6,"ng-template",null,4,e.W1O),e.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),e.YNc(8,j,1,2,"cvc-user-tag",7),e.qZA(),e.TgZ(9,"nz-descriptions-item",8),e._uU(10),e.qZA(),e.TgZ(11,"nz-descriptions-item",9),e._uU(12),e.ALo(13,"timeAgo"),e.qZA(),e.YNc(14,G,2,1,"nz-descriptions-item",10),e.qZA()(),e.BQk()),2&r){const g=d.ngIf,B=e.MAs(3),X=e.MAs(5);e.xp6(1),e.Q6J("nzTitle",B)("nzExtra",X),e.xp6(5),e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("ngIf",g.revisor),e.xp6(2),e.hij(" ",g.linkoutData.name," "),e.xp6(2),e.hij(" ",e.lcZ(13,7,g.createdAt)," "),e.xp6(2),e.Q6J("ngIf",g.creationComment)}}class a{constructor(d){this.gql=d}ngOnInit(){if(null==this.revisionId)throw new Error("cvc-revision-popover requires valid revisionId input.");this.revision$=this.gql.watch({revisionId:this.revisionId}).valueChanges.pipe((0,O.U)(({data:d})=>d?.revision),(0,m.h)(l.ep))}}a.\u0275fac=function(d){return new(d||a)(e.Y36(s.otH))},a.\u0275cmp=e.Xpm({type:a,selectors:[["cvc-revision-popover"]],inputs:{revisionId:"revisionId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["subject",""],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Revisor"],[3,"enablePopover","user",4,"ngIf"],["nzTitle","Field"],["nzTitle","Revision Date"],["nzTitle","Creation Comment",4,"ngIf"],[1,"revision-card-title"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],[3,"status"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"enablePopover","variantgroup",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"enablePopover","variantgroup"],[3,"enablePopover","user"],["nzTitle","Creation Comment"]],template:function(d,g){1&d&&(e.TgZ(0,"div",0),e.YNc(1,H,15,9,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&d&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,g.revision$)))},dependencies:[_.O5,_.RF,_.n9,_.ED,A.bd,I.Ls,Z.NU,Z.$1,D.R7,D.uj,J.H,C.I,u.w,p.O,P.I,S.u,E.h,x.fM,R.a,h.x],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.revision-card-title[_ngcontent-%COMP%]{font-weight:400}"]});var v=t(6672),c=t(6581);function f(r,d){}function U(r,d){}function Q(r,d){if(1&r&&e._UZ(0,"cvc-revision-popover",6),2&r){const g=e.oxw(2);e.Q6J("revisionId",g.revision.id)}}function oe(r,d){if(1&r&&(e.TgZ(0,"nz-tag",4),e.YNc(1,U,0,0,"ng-template",1),e.qZA(),e.YNc(2,Q,1,1,"ng-template",null,5,e.W1O)),2&r){const g=e.MAs(3),B=e.oxw(),X=e.MAs(5);e.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",g)("nzPopoverTrigger",B.enablePopover?"hover":null),e.xp6(1),e.Q6J("ngTemplateOutlet",X)}}function ie(r,d){if(1&r&&(e._UZ(0,"i",7),e._uU(1)),2&r){const g=e.oxw();e.xp6(1),e.hij(" ",g.revision.name,"\n")}}const ae=function(r){return{revisionSetId:r}};class w{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.revision)throw new Error("cvc-revision-tag requires LinkableRevision input, none supplied.")}}w.\u0275fac=function(d){return new(d||w)},w.\u0275cmp=e.Xpm({type:w,selectors:[["cvc-revision-tag"]],inputs:{revision:"revision",subject:"subject",enablePopover:"enablePopover"},decls:6,vars:5,consts:[[3,"routerLink","queryParams"],[3,"ngTemplateOutlet"],["tag",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["revisionPopover",""],[3,"revisionId"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#F0673A"]],template:function(d,g){if(1&d&&(e.TgZ(0,"a",0),e.YNc(1,f,0,0,"ng-template",1),e.qZA(),e.YNc(2,oe,4,4,"ng-template",null,2,e.W1O),e.YNc(4,ie,2,1,"ng-template",null,3,e.W1O)),2&d){const B=e.MAs(3);e.Q6J("routerLink",g.revision.link)("queryParams",e.VKq(3,ae,g.revision.revisionSetId)),e.xp6(1),e.Q6J("ngTemplateOutlet",B)}},dependencies:[_.tP,T.rH,a,v.j,I.Ls,c.lU],encapsulation:2})},1150:(L,M,t)=>{t.d(M,{N:()=>s});var e=t(6895),_=t(1971),T=t(6152),O=t(1102),m=t(6616),l=t(4650);class s{}s.\u0275fac=function(I){return new(I||s)},s.\u0275mod=l.oAB({type:s}),s.\u0275inj=l.cJS({imports:[e.ez,_.vh,T.Ph,O.PV,m.sL]})},2937:(L,M,t)=>{t.d(M,{R:()=>T});var e=t(7630),_=t(4650);class T{transform(m,l="contributor-card",s=0){return"contributor-card"===l?this.contributorVerbiage(m,s):"action-filter"===l?this.actionFilterVerbiage(m):this.eventFeedVerbiage(m)}eventFeedVerbiage(m){switch(m){case e.AO2.Commented:return"added comment";case e.AO2.RevisionSuggested:return"suggested revision";case e.AO2.RevisionAccepted:return"accepted revision";case e.AO2.RevisionRejected:return"rejected revision";case e.AO2.RevisionSuperseded:return"closed revision";case e.AO2.Flagged:return"opened new flag";case e.AO2.FlagResolved:return"resolved flag";case e.AO2.AssertionSubmitted:return"submitted assertion";case e.AO2.AssertionAccepted:return"accepted assertion";case e.AO2.AssertionRejected:return"rejected assertion";case e.AO2.Submitted:return"submitted evidence item";case e.AO2.Accepted:return"accepted evidence item";case e.AO2.Rejected:return"rejected evidence item";case e.AO2.PublicationSuggested:return"created source suggestion";case e.AO2.CuratedSourceSuggestion:return"finished curating source suggestion";case e.AO2.RejectedSourceSuggestion:return"rejected source suggestion";case e.AO2.RequeuedSourceSuggestion:return"requeued source suggestion";case e.AO2.Reverted:return"reverted evidence item";case e.AO2.AssertionReverted:return"reverted assertion";case e.AO2.DeprecatedVariant:return"deprecated variant";case e.AO2.DeprecatedMolecularProfile:return"deprecated molecular profile";default:return m}}actionFilterVerbiage(m){switch(m){case e.AO2.Commented:return"commented";case e.AO2.RevisionSuggested:return"revision suggested";case e.AO2.RevisionAccepted:return"revision accepted";case e.AO2.RevisionRejected:return"revision rejected";case e.AO2.RevisionSuperseded:return"revision closed";case e.AO2.Flagged:return"flag opened";case e.AO2.FlagResolved:return"flag resolved";case e.AO2.AssertionSubmitted:return"assertion submitted";case e.AO2.AssertionAccepted:return"assertion accepted";case e.AO2.AssertionRejected:return"assertion rejected";case e.AO2.Submitted:return"evidence item submitted";case e.AO2.Accepted:return"evidence item accepted";case e.AO2.Rejected:return"evidence item rejected";case e.AO2.PublicationSuggested:return"source suggestion created";case e.AO2.CuratedSourceSuggestion:return"source suggestion curated";case e.AO2.RejectedSourceSuggestion:return"source suggestion rejected";case e.AO2.RequeuedSourceSuggestion:return"source suggestion requeued";case e.AO2.Reverted:return"evidence item reverted";case e.AO2.AssertionReverted:return"assertion reverted";case e.AO2.DeprecatedVariant:return"variant deprecated";case e.AO2.DeprecatedMolecularProfile:return"molecular profile deprecated";default:return m}}contributorVerbiage(m,l){switch(m){case e.AO2.Commented:return 1==l?"left a comment on this entity":`left ${l} comments on this entity`;case e.AO2.RevisionSuggested:return 1==l?"suggested a revision to this entity":`suggested ${l} revisions on this entity`;case e.AO2.RevisionAccepted:return 1==l?"accepted a revision to this entity":`accepted ${l} revisions on this entity`;case e.AO2.RevisionRejected:return 1==l?"rejected a revision to this entity":`rejected ${l} revisions on this entity`;case e.AO2.RevisionSuperseded:return 1==l?"closed a revision to this entity":`closed ${l} revisions on this entity`;case e.AO2.Flagged:return 1==l?"opened new flag on this entity":`opened ${l} new flags on this entity`;case e.AO2.FlagResolved:return 1==l?"resolved a flag on this entity":`resolved ${l} flags on this entity`;case e.AO2.AssertionSubmitted:return"submitted this assertion";case e.AO2.AssertionAccepted:return"accepted this assertion";case e.AO2.AssertionRejected:return"rejected this assertion";case e.AO2.Submitted:return"submitted this evidence item";case e.AO2.Accepted:return"accepted this evidence item";case e.AO2.Rejected:return"rejected this evidence item";case e.AO2.PublicationSuggested:return"";case e.AO2.CuratedSourceSuggestion:return"finished curating this source suggestion";case e.AO2.RejectedSourceSuggestion:return"rejected this source suggestion";case e.AO2.RequeuedSourceSuggestion:return"requeued this source suggestion";case e.AO2.AssertionReverted:return"reverted this assertion";case e.AO2.Reverted:return"reverted this evidence item";case e.AO2.DeprecatedVariant:return"deprecated this variant";case e.AO2.DeprecatedMolecularProfile:return"deprecated this molecular profile";default:return m}}}T.\u0275fac=function(m){return new(m||T)},T.\u0275pipe=_.Yjl({name:"eventVerbiage",type:T,pure:!0})},9790:(L,M,t)=>{t.d(M,{FT:()=>H,PD:()=>$,Zv:()=>W});var e=t(4650),_=t(4707),T=t(7579),O=t(6895),m=t(6287),l=t(2722),s=t(445),A=t(1102),I=t(3353);const Z=["template"];function D(a,v){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const c=e.oxw(3);e.xp6(1),e.Oqu(c.nzLabel)}}function J(a,v){if(1&a&&(e.TgZ(0,"div",7),e.YNc(1,D,2,1,"ng-container",5),e.qZA()),2&a){const c=e.oxw(2);e.xp6(1),e.Q6J("nzStringTemplateOutlet",c.nzLabel)}}function C(a,v){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const c=e.oxw(2);e.xp6(1),e.Oqu(c.nzDot)}}function u(a,v){if(1&a&&(e.TgZ(0,"li",1),e.YNc(1,J,2,1,"div",2),e._UZ(2,"div",3),e.TgZ(3,"div",4),e.YNc(4,C,2,1,"ng-container",5),e.qZA(),e.TgZ(5,"div",6),e.Hsn(6),e.qZA()()),2&a){const c=e.oxw();e.ekj("ant-timeline-item-right","right"===(c.nzPosition||c.position))("ant-timeline-item-left","left"===(c.nzPosition||c.position))("ant-timeline-item-last",c.isLast),e.xp6(1),e.Q6J("ngIf",c.nzLabel),e.xp6(2),e.Udp("border-color",c.borderColor),e.ekj("ant-timeline-item-head-red","red"===c.nzColor)("ant-timeline-item-head-blue","blue"===c.nzColor)("ant-timeline-item-head-green","green"===c.nzColor)("ant-timeline-item-head-gray","gray"===c.nzColor)("ant-timeline-item-head-custom",!!c.nzDot),e.xp6(1),e.Q6J("nzStringTemplateOutlet",c.nzDot)}}const p=["*"];function P(a,v){if(1&a&&e.GkF(0,4),2&a){e.oxw();const c=e.MAs(5);e.Q6J("ngTemplateOutlet",c)}}function S(a,v){}function E(a,v){if(1&a&&(e.ynx(0),e.YNc(1,S,0,0,"ng-template",4),e.BQk()),2&a){const c=v.$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",c.template)}}function x(a,v){if(1&a&&e.GkF(0,4),2&a){e.oxw();const c=e.MAs(5);e.Q6J("ngTemplateOutlet",c)}}function R(a,v){1&a&&e._UZ(0,"span",12)}function h(a,v){if(1&a&&(e.ynx(0),e._uU(1),e.YNc(2,R,1,0,"span",11),e.BQk()),2&a){const c=e.oxw(3);e.xp6(1),e.hij(" ",c.nzPendingDot," "),e.xp6(1),e.Q6J("ngIf",!c.nzPendingDot)}}function N(a,v){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const c=e.oxw(3);e.xp6(1),e.hij(" ",c.isPendingBoolean?"":c.nzPending," ")}}function y(a,v){if(1&a&&(e.TgZ(0,"li",6),e._UZ(1,"div",7),e.TgZ(2,"div",8),e.YNc(3,h,3,2,"ng-container",9),e.qZA(),e.TgZ(4,"div",10),e.YNc(5,N,2,1,"ng-container",9),e.qZA()()),2&a){const c=e.oxw(2);e.xp6(3),e.Q6J("nzStringTemplateOutlet",c.nzPendingDot),e.xp6(2),e.Q6J("nzStringTemplateOutlet",c.nzPending)}}function F(a,v){if(1&a&&e.YNc(0,y,6,2,"li",5),2&a){const c=e.oxw();e.Q6J("ngIf",c.nzPending)}}const K=["red","blue","green","grey","gray"];let Y=(()=>{class a{constructor(){this.check$=new _.t(1)}markForCheck(){this.check$.next()}}return a.\u0275fac=function(c){return new(c||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),W=(()=>{class a{constructor(c,f){this.cdr=c,this.timelineService=f,this.nzColor="blue",this.isLast=!1,this.borderColor=null}ngOnChanges(c){this.timelineService.markForCheck(),c.nzColor&&this.updateCustomColor()}detectChanges(){this.cdr.detectChanges()}updateCustomColor(){this.borderColor=function V(a){return-1!==K.findIndex(v=>v===a)}(this.nzColor)?null:this.nzColor}}return a.\u0275fac=function(c){return new(c||a)(e.Y36(e.sBO),e.Y36(Y))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-timeline-item"],["","nz-timeline-item",""]],viewQuery:function(c,f){if(1&c&&e.Gf(Z,5),2&c){let U;e.iGM(U=e.CRH())&&(f.template=U.first)}},inputs:{nzPosition:"nzPosition",nzColor:"nzColor",nzDot:"nzDot",nzLabel:"nzLabel"},exportAs:["nzTimelineItem"],features:[e.TTD],ngContentSelectors:p,decls:2,vars:0,consts:[["template",""],[1,"ant-timeline-item"],["class","ant-timeline-item-label",4,"ngIf"],[1,"ant-timeline-item-tail"],[1,"ant-timeline-item-head"],[4,"nzStringTemplateOutlet"],[1,"ant-timeline-item-content"],[1,"ant-timeline-item-label"]],template:function(c,f){1&c&&(e.F$t(),e.YNc(0,u,7,20,"ng-template",null,0,e.W1O))},dependencies:[O.O5,m.f],encapsulation:2,changeDetection:0}),a})(),$=(()=>{class a{constructor(c,f,U){this.cdr=c,this.timelineService=f,this.directionality=U,this.nzMode="left",this.nzReverse=!1,this.isPendingBoolean=!1,this.timelineItems=[],this.dir="ltr",this.hasLabelItem=!1,this.destroy$=new T.x}ngOnChanges(c){const{nzMode:f,nzReverse:U,nzPending:Q}=c;(j(f)||j(U))&&this.updateChildren(),Q&&(this.isPendingBoolean=!0===Q.currentValue)}ngOnInit(){this.timelineService.check$.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.updateChildren(),this.listOfItems.changes.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.updateChildren()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateChildren(){if(this.listOfItems&&this.listOfItems.length){const c=this.listOfItems.length;let f=!1;this.listOfItems.forEach((U,Q)=>{U.isLast=this.nzReverse?0===Q:Q===c-1,U.position=function G(a,v){return"custom"===v?void 0:"left"===v?"left":"right"===v?"right":"alternate"===v&&a%2==0?"left":"right"}(Q,this.nzMode),!f&&U.nzLabel&&(f=!0),U.detectChanges()}),this.timelineItems=this.nzReverse?this.listOfItems.toArray().reverse():this.listOfItems.toArray(),this.hasLabelItem=f}else this.timelineItems=[],this.hasLabelItem=!1;this.cdr.markForCheck()}}return a.\u0275fac=function(c){return new(c||a)(e.Y36(e.sBO),e.Y36(Y),e.Y36(s.Is,8))},a.\u0275cmp=e.Xpm({type:a,selectors:[["nz-timeline"]],contentQueries:function(c,f,U){if(1&c&&e.Suo(U,W,4),2&c){let Q;e.iGM(Q=e.CRH())&&(f.listOfItems=Q)}},inputs:{nzMode:"nzMode",nzPending:"nzPending",nzPendingDot:"nzPendingDot",nzReverse:"nzReverse"},exportAs:["nzTimeline"],features:[e._Bn([Y]),e.TTD],ngContentSelectors:p,decls:7,vars:15,consts:[[1,"ant-timeline"],[3,"ngTemplateOutlet",4,"ngIf"],[4,"ngFor","ngForOf"],["pendingTemplate",""],[3,"ngTemplateOutlet"],["class","ant-timeline-item ant-timeline-item-pending",4,"ngIf"],[1,"ant-timeline-item","ant-timeline-item-pending"],[1,"ant-timeline-item-tail"],[1,"ant-timeline-item-head","ant-timeline-item-head-custom","ant-timeline-item-head-blue"],[4,"nzStringTemplateOutlet"],[1,"ant-timeline-item-content"],["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(c,f){1&c&&(e.F$t(),e.TgZ(0,"ul",0),e.YNc(1,P,1,1,"ng-container",1),e.YNc(2,E,2,1,"ng-container",2),e.YNc(3,x,1,1,"ng-container",1),e.qZA(),e.YNc(4,F,1,1,"ng-template",null,3,e.W1O),e.Hsn(6)),2&c&&(e.ekj("ant-timeline-label",f.hasLabelItem)("ant-timeline-right",!f.hasLabelItem&&"right"===f.nzMode)("ant-timeline-alternate","alternate"===f.nzMode||"custom"===f.nzMode)("ant-timeline-pending",!!f.nzPending)("ant-timeline-reverse",f.nzReverse)("ant-timeline-rtl","rtl"===f.dir),e.xp6(1),e.Q6J("ngIf",f.nzReverse),e.xp6(1),e.Q6J("ngForOf",f.timelineItems),e.xp6(1),e.Q6J("ngIf",!f.nzReverse))},dependencies:[O.sg,O.O5,O.tP,A.Ls,m.f],encapsulation:2,changeDetection:0}),a})();function j(a){return!(!a||a.previousValue===a.currentValue&&!a.isFirstChange())}let H=(()=>{class a{}return a.\u0275fac=function(c){return new(c||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[s.vT,O.ez,I.ud,A.PV,m.T]}),a})()}}]); \ No newline at end of file diff --git a/server/public/9761.d8b5c2efb009faa4.js b/server/public/9761.d8b5c2efb009faa4.js deleted file mode 100644 index 8cd126390..000000000 --- a/server/public/9761.d8b5c2efb009faa4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9761],{392:(fe,G,l)=>{l.d(G,{T:()=>F});var a=l(4650),v=l(6895),gt=l(6672),x=l(6581),t=l(6715),b=l(5797),It=l(7491),u=l(5749),Et=l(3965),R=l(5457),N=l(7701);const w=function(p){return{"matched-tag":p}},dt=function(p,f){return{tagType:p,tag:f}};function Rt(p,f){if(1&p&&(a.TgZ(0,"div",2),a.GkF(1,6),a.qZA()),2&p){const m=f.$implicit,y=a.oxw(),A=a.MAs(7);a.Q6J("ngClass",a.VKq(3,w,y.matchingText&&m.name.toLowerCase().includes(y.matchingText))),a.xp6(1),a.Q6J("ngTemplateOutlet",A)("ngTemplateOutletContext",a.WLB(5,dt,y.tagType,m))}}function k(p,f){if(1&p&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&p){const m=a.oxw(2);a.xp6(1),a.hij(" ",m.matchedHiddenCount," of ")}}function Mt(p,f){if(1&p&&(a.TgZ(0,"nz-tag",7),a._uU(1," +"),a.YNc(2,k,2,1,"span",8),a._uU(3),a.qZA()),2&p){const m=a.oxw(),y=a.MAs(5);a.Q6J("nzPopoverContent",y),a.xp6(2),a.Q6J("ngIf",m.matchedHiddenCount>0),a.xp6(1),a.hij("",m.hiddenCount," ")}}function M(p,f){if(1&p&&(a.TgZ(0,"div",2),a.ynx(1,10),a.GkF(2,6),a.BQk(),a.qZA()),2&p){const m=f.$implicit,y=a.oxw(2),A=a.MAs(7);a.Q6J("ngClass",a.VKq(4,w,y.matchingText&&m.name.toLowerCase().includes(y.matchingText))),a.xp6(1),a.Q6J("ngSwitch",y.tagType),a.xp6(1),a.Q6J("ngTemplateOutlet",A)("ngTemplateOutletContext",a.WLB(6,dt,y.tagType,m))}}function Gt(p,f){if(1&p&&(a.TgZ(0,"div",9)(1,"cvc-tag-list",0),a.YNc(2,M,3,9,"div",1),a.qZA()()),2&p){const m=a.oxw();a.xp6(2),a.Q6J("ngForOf",m.hiddenTags)}}function At(p,f){if(1&p&&(a.ynx(0),a._UZ(1,"cvc-therapy-tag",12),a.BQk()),2&p){const m=a.oxw().tag;a.xp6(1),a.Q6J("therapy",m)("truncateLongName",!0)}}function Wt(p,f){if(1&p&&(a.ynx(0),a._UZ(1,"cvc-disease-tag",13),a.BQk()),2&p){const m=a.oxw().tag;a.xp6(1),a.Q6J("disease",m)("truncateLongName",!0)}}function pt(p,f){if(1&p&&(a.ynx(0),a._UZ(1,"cvc-gene-tag",14),a.BQk()),2&p){const m=a.oxw().tag;a.xp6(1),a.Q6J("gene",m)("truncateLongName",!0)}}function I(p,f){if(1&p&&(a.ynx(0),a._UZ(1,"cvc-organization-tag",15),a.BQk()),2&p){const m=a.oxw().tag;a.xp6(1),a.Q6J("org",m)}}function z(p,f){if(1&p&&(a.ynx(0),a._UZ(1,"cvc-variant-tag",16),a.BQk()),2&p){const m=a.oxw().tag;a.xp6(1),a.Q6J("variant",m)}}function Lt(p,f){if(1&p&&(a.ynx(0),a._UZ(1,"cvc-variant-type-tag",17),a.BQk()),2&p){const m=a.oxw().tag;a.xp6(1),a.Q6J("variantType",m)}}function U(p,f){1&p&&(a.ynx(0,10),a.YNc(1,At,2,2,"ng-container",11),a.YNc(2,Wt,2,2,"ng-container",11),a.YNc(3,pt,2,2,"ng-container",11),a.YNc(4,I,2,1,"ng-container",11),a.YNc(5,z,2,1,"ng-container",11),a.YNc(6,Lt,2,1,"ng-container",11),a.BQk()),2&p&&(a.Q6J("ngSwitch",f.tagType),a.xp6(1),a.Q6J("ngSwitchCase","therapy"),a.xp6(1),a.Q6J("ngSwitchCase","disease"),a.xp6(1),a.Q6J("ngSwitchCase","gene"),a.xp6(1),a.Q6J("ngSwitchCase","organization"),a.xp6(1),a.Q6J("ngSwitchCase","variant"),a.xp6(1),a.Q6J("ngSwitchCase","variant-type"))}class F{constructor(f){this.cdr=f,this.maxDisplayCount=2,this.thisOne=!1,this.matchedHiddenCount=0}ngOnChanges(f){this.calculateDisplayedTags()}calculateDisplayedTags(){if(this.displayedTags=this.tags?.slice(0,this.maxDisplayCount),this.hiddenTags=this.tags?.slice(this.maxDisplayCount),this.hiddenCount=this.hiddenTags?.length,this.matchingText){if(this.matchedHiddenCount=0,this.hiddenTags){let f=this.matchingText.toLowerCase();this.hiddenTags.forEach(m=>{m.name.toLowerCase().includes(f)&&(this.matchedHiddenCount+=1)})}}else this.matchedHiddenCount=0;this.cdr.detectChanges()}}F.\u0275fac=function(f){return new(f||F)(a.Y36(a.sBO))},F.\u0275cmp=a.Xpm({type:F,selectors:[["cvc-tag-overflow"]],inputs:{tags:"tags",maxDisplayCount:"maxDisplayCount",matchingText:"matchingText",tagType:"tagType",thisOne:"thisOne"},features:[a.TTD],decls:8,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent",4,"ngIf"],["additionalTagPopover",""],["tagTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverContent"],[4,"ngIf"],[1,"popover-tag-list"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"therapy","truncateLongName"],[3,"disease","truncateLongName"],[3,"gene","truncateLongName"],[3,"org"],[3,"variant"],[3,"variantType"]],template:function(f,m){1&f&&(a.TgZ(0,"cvc-tag-list",0),a.YNc(1,Rt,2,8,"div",1),a.TgZ(2,"div",2),a.YNc(3,Mt,4,3,"nz-tag",3),a.qZA(),a.YNc(4,Gt,3,1,"ng-template",null,4,a.W1O),a.qZA(),a.YNc(6,U,7,7,"ng-template",null,5,a.W1O)),2&f&&(a.xp6(1),a.Q6J("ngForOf",m.displayedTags),a.xp6(1),a.Q6J("ngClass",a.VKq(3,w,m.matchedHiddenCount>0)),a.xp6(1),a.Q6J("ngIf",m.hiddenCount&&m.hiddenCount>0))},dependencies:[v.mk,v.sg,v.O5,v.tP,v.RF,v.n9,gt.j,x.lU,t.$,b.T,It.n,u.m,Et.H,R.I,N.j],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}.popover-tag-list[_ngcontent-%COMP%]{max-width:600px}"],changeDetection:0})},2338:(fe,G,l)=>{l.d(G,{I:()=>v});var a=l(4650);class v{transform(x){if(x){let b=x.toLowerCase().replace(/_/g," ").split(" ");for(var t=0;t{l.r(G),l.d(G,{OrganizationsModule:()=>lt});var a=l(6895),v=l(2635),gt=l(9441),x=l(1102),t=l(4650);class b{}b.\u0275fac=function(n){return new(n||b)},b.\u0275mod=t.oAB({type:b}),b.\u0275inj=t.cJS({imports:[a.ez,gt.s,x.PV]});var It=l(5630),u=l(7579),Et=l(4968),R=l(9300),N=l(5698),w=l(2722),dt=l(2536),Rt=l(3187),k=l(8184),Mt=l(4080),M=l(9521),Gt=l(2539),At=l(3303),Wt=l(1481),pt=l(3488),I=l(3353),z=l(1281),Lt=l(2687),U=l(727),F=l(7445),p=l(6406),f=l(9751),m=l(6451),y=l(8675),A=l(4004),We=l(8505),je=l(3900),Zt=l(445);function jt(i,n,e){for(let o in n)if(n.hasOwnProperty(o)){const s=n[o];s?i.setProperty(o,s,e?.has(o)?"important":""):i.removeProperty(o)}return i}function W(i,n){const e=n?"":"none";jt(i.style,{"touch-action":n?"":"none","-webkit-user-drag":n?"":"none","-webkit-tap-highlight-color":n?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function ve(i,n,e){jt(i.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function Nt(i,n){return n&&"none"!=n?i+" "+n:i}function ze(i){const n=i.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(i)*n}function Vt(i,n){return i.getPropertyValue(n).split(",").map(o=>o.trim())}function Kt(i){const n=i.getBoundingClientRect();return{top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height,x:n.x,y:n.y}}function Xt(i,n,e){const{top:o,bottom:s,left:r,right:c}=i;return e>=o&&e<=s&&n>=r&&n<=c}function mt(i,n,e){i.top+=n,i.bottom=i.top+i.height,i.left+=e,i.right=i.left+i.width}function Ce(i,n,e,o){const{top:s,right:r,bottom:c,left:h,width:g,height:d}=i,_=g*n,C=d*n;return o>s-C&&oh-_&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:Kt(e)})})}handleScroll(n){const e=(0,I.sA)(n),o=this.positions.get(e);if(!o)return null;const s=o.scrollPosition;let r,c;if(e===this._document){const d=this.getViewportScrollPosition();r=d.top,c=d.left}else r=e.scrollTop,c=e.scrollLeft;const h=s.top-r,g=s.left-c;return this.positions.forEach((d,_)=>{d.clientRect&&e!==_&&e.contains(_)&&mt(d.clientRect,h,g)}),s.top=r,s.left=c,{top:h,left:g}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function ye(i){const n=i.cloneNode(!0),e=n.querySelectorAll("[id]"),o=i.nodeName.toLowerCase();n.removeAttribute("id");for(let s=0;sW(o,e)))}constructor(n,e,o,s,r,c){this._config=e,this._document=o,this._ngZone=s,this._viewportRuler=r,this._dragDropRegistry=c,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new u.x,this._pointerMoveSubscription=U.w0.EMPTY,this._pointerUpSubscription=U.w0.EMPTY,this._scrollSubscription=U.w0.EMPTY,this._resizeSubscription=U.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new u.x,this.started=new u.x,this.released=new u.x,this.ended=new u.x,this.entered=new u.x,this.exited=new u.x,this.dropped=new u.x,this.moved=this._moveEvents,this._pointerDown=h=>{if(this.beforeStarted.next(),this._handles.length){const g=this._getTargetHandle(h);g&&!this._disabledHandles.has(g)&&!this.disabled&&this._initializeDragSequence(g,h)}else this.disabled||this._initializeDragSequence(this._rootElement,h)},this._pointerMove=h=>{const g=this._getPointerPositionOnPage(h);if(!this._hasStartedDragging){if(Math.abs(g.x-this._pickupPositionOnPage.x)+Math.abs(g.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const $=Date.now()>=this._dragStartTime+this._getDragStartDelay(h),H=this._dropContainer;if(!$)return void this._endDragSequence(h);(!H||!H.isDragging()&&!H.isReceiving())&&(h.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(h)))}return}h.preventDefault();const d=this._getConstrainedPointerPosition(g);if(this._hasMoved=!0,this._lastKnownPointerPosition=g,this._updatePointerDirectionDelta(d),this._dropContainer)this._updateActiveDropContainer(d,g);else{const _=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,C=this._activeTransform;C.x=d.x-_.x+this._passiveTransform.x,C.y=d.y-_.y+this._passiveTransform.y,this._applyRootElementTransform(C.x,C.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:d,event:h,distance:this._getDragDistance(d),delta:this._pointerDirectionDelta})})},this._pointerUp=h=>{this._endDragSequence(h)},this._nativeDragStart=h=>{if(this._handles.length){const g=this._getTargetHandle(h);g&&!this._disabledHandles.has(g)&&!this.disabled&&h.preventDefault()}else this.disabled||h.preventDefault()},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new xe(o),c.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(o=>(0,z.fI)(o)),this._handles.forEach(o=>W(o,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(o=>{this._handles.indexOf(o)>-1&&e.add(o)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){const e=(0,z.fI)(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,kt),e.addEventListener("touchstart",this._pointerDown,Te),e.addEventListener("dragstart",this._nativeDragStart,kt)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?(0,z.fI)(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(n){!this._disabledHandles.has(n)&&this._handles.indexOf(n)>-1&&(this._disabledHandles.add(n),W(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),W(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){const n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}}setFreeDragPosition(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this}withPreviewContainer(n){return this._previewContainer=n,this}_sortFromLastPointerPosition(){const n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){_t(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const o=this._rootElement,s=o.parentNode,r=this._placeholder=this._createPlaceholderElement(),c=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();s.insertBefore(c,o),this._initialTransform=o.style.transform||"",this._preview=this._createPreviewElement(),ve(o,!1,qt),this._document.body.appendChild(s.replaceChild(r,o)),this._getPreviewInsertionPoint(s,h).appendChild(this._preview),this.started.next({source:this,event:n}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();const o=this.isDragging(),s=_t(e),r=!s&&0!==e.button,c=this._rootElement,h=(0,I.sA)(e),g=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),d=s?(0,Lt.yG)(e):(0,Lt.X6)(e);if(h&&h.draggable&&"mousedown"===e.type&&e.preventDefault(),o||r||g||d)return;if(this._handles.length){const S=c.style;this._rootElementTapHighlight=S.webkitTapHighlightColor||"",S.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(S=>this._updateOnScroll(S)),this._boundaryElement&&(this._boundaryRect=Kt(this._boundaryElement));const _=this._previewTemplate;this._pickupPositionInElement=_&&_.template&&!_.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,n,e);const C=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:C.x,y:C.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){ve(this._rootElement,!0,qt),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,o=e.getItemIndex(this),s=this._getPointerPositionOnPage(n),r=this._getDragDistance(s),c=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:r,dropPoint:s,event:n}),this.dropped.next({item:this,currentIndex:o,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:c,distance:r,dropPoint:s,event:n}),e.drop(this,o,this._initialIndex,this._initialContainer,c,r,s,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:o,y:s}){let r=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,n,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(o,s),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,e):this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const n=this._previewTemplate,e=this.previewClass,o=n?n.template:null;let s;if(o&&n){const r=n.matchSize?this._initialClientRect:null,c=n.viewContainer.createEmbeddedView(o,n.context);c.detectChanges(),s=Se(c,this._document),this._previewRef=c,n.matchSize?Oe(s,r):s.style.transform=Ut(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else s=ye(this._rootElement),Oe(s,this._initialClientRect),this._initialTransform&&(s.style.transform=this._initialTransform);return jt(s.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},qt),W(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(r=>s.classList.add(r)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const n=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);const e=function Ve(i){const n=getComputedStyle(i),e=Vt(n,"transition-property"),o=e.find(h=>"transform"===h||"all"===h);if(!o)return 0;const s=e.indexOf(o),r=Vt(n,"transition-duration"),c=Vt(n,"transition-delay");return ze(r[s])+ze(c[s])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(o=>{const s=c=>{(!c||(0,I.sA)(c)===this._preview&&"transform"===c.propertyName)&&(this._preview?.removeEventListener("transitionend",s),o(),clearTimeout(r))},r=setTimeout(s,1.5*e);this._preview.addEventListener("transitionend",s)}))}_createPlaceholderElement(){const n=this._placeholderTemplate,e=n?n.template:null;let o;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),o=Se(this._placeholderRef,this._document)):o=ye(this._rootElement),o.style.pointerEvents="none",o.classList.add("cdk-drag-placeholder"),o}_getPointerPositionInElement(n,e,o){const s=e===this._rootElement?null:e,r=s?s.getBoundingClientRect():n,c=_t(o)?o.targetTouches[0]:o,h=this._getViewportScrollPosition();return{x:r.left-n.left+(c.pageX-r.left-h.left),y:r.top-n.top+(c.pageY-r.top-h.top)}}_getPointerPositionOnPage(n){const e=this._getViewportScrollPosition(),o=_t(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,s=o.pageX-e.left,r=o.pageY-e.top;if(this._ownerSVGElement){const c=this._ownerSVGElement.getScreenCTM();if(c){const h=this._ownerSVGElement.createSVGPoint();return h.x=s,h.y=r,h.matrixTransform(c.inverse())}}return{x:s,y:r}}_getConstrainedPointerPosition(n){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:o,y:s}=this.constrainPosition?this.constrainPosition(n,this,this._initialClientRect,this._pickupPositionInElement):n;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(o=this._pickupPositionOnPage.x),this._boundaryRect){const{x:r,y:c}=this._pickupPositionInElement,h=this._boundaryRect,{width:g,height:d}=this._getPreviewRect(),_=h.top+c,C=h.bottom-(d-c);o=Pe(o,h.left+r,h.right-(g-r)),s=Pe(s,_,C)}return{x:o,y:s}}_updatePointerDirectionDelta(n){const{x:e,y:o}=n,s=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,c=Math.abs(e-r.x),h=Math.abs(o-r.y);return c>this._config.pointerDirectionChangeThreshold&&(s.x=e>r.x?1:-1,r.x=e),h>this._config.pointerDirectionChangeThreshold&&(s.y=o>r.y?1:-1,r.y=o),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,W(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,kt),n.removeEventListener("touchstart",this._pointerDown,Te),n.removeEventListener("dragstart",this._nativeDragStart,kt)}_applyRootElementTransform(n,e){const o=Ut(n,e),s=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=s.transform&&"none"!=s.transform?s.transform:""),s.transform=Nt(o,this._initialTransform)}_applyPreviewTransform(n,e){const o=this._previewTemplate?.template?void 0:this._initialTransform,s=Ut(n,e);this._preview.style.transform=Nt(s,o)}_getDragDistance(n){const e=this._pickupPositionOnPage;return e?{x:n.x-e.x,y:n.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:n,y:e}=this._passiveTransform;if(0===n&&0===e||this.isDragging()||!this._boundaryElement)return;const o=this._rootElement.getBoundingClientRect(),s=this._boundaryElement.getBoundingClientRect();if(0===s.width&&0===s.height||0===o.width&&0===o.height)return;const r=s.left-o.left,c=o.right-s.right,h=s.top-o.top,g=o.bottom-s.bottom;s.width>o.width?(r>0&&(n+=r),c>0&&(n-=c)):n=0,s.height>o.height?(h>0&&(e+=h),g>0&&(e-=g)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){const e=this.dragStartDelay;return"number"==typeof e?e:_t(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){const e=this._parentPositions.handleScroll(n);if(e){const o=(0,I.sA)(n);this._boundaryRect&&o!==this._boundaryElement&&o.contains(this._boundaryElement)&&mt(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,I.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){const o=this._previewContainer||"global";if("parent"===o)return n;if("global"===o){const s=this._document;return e||s.fullscreenElement||s.webkitFullscreenElement||s.mozFullScreenElement||s.msFullscreenElement||s.body}return(0,z.fI)(o)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(n){return this._handles.find(e=>n.target&&(n.target===e||e.contains(n.target)))}}function Ut(i,n){return`translate3d(${Math.round(i)}px, ${Math.round(n)}px, 0)`}function Pe(i,n,e){return Math.max(n,Math.min(e,i))}function _t(i){return"t"===i.type[0]}function Se(i,n){const e=i.rootNodes;if(1===e.length&&e[0].nodeType===n.ELEMENT_NODE)return e[0];const o=n.createElement("div");return e.forEach(s=>o.appendChild(s)),o}function Oe(i,n){i.style.width=`${n.width}px`,i.style.height=`${n.height}px`,i.style.transform=Ut(n.left,n.top)}function ut(i,n){return Math.max(0,Math.min(n,i))}class en{constructor(n,e){this._element=n,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(n){this.withItems(n)}sort(n,e,o,s){const r=this._itemPositions,c=this._getItemIndexFromPointerPosition(n,e,o,s);if(-1===c&&r.length>0)return null;const h="horizontal"===this.orientation,g=r.findIndex(O=>O.drag===n),d=r[c],C=d.clientRect,S=g>c?1:-1,$=this._getItemOffsetPx(r[g].clientRect,C,S),H=this._getSiblingOffsetPx(g,r,S),ht=r.slice();return function tn(i,n,e){const o=ut(n,i.length-1),s=ut(e,i.length-1);if(o===s)return;const r=i[o],c=s{if(ht[Io]===O)return;const He=O.drag===n,ue=He?$:H,Ge=He?n.getPlaceholderElement():O.drag.getRootElement();O.offset+=ue,h?(Ge.style.transform=Nt(`translate3d(${Math.round(O.offset)}px, 0, 0)`,O.initialTransform),mt(O.clientRect,0,ue)):(Ge.style.transform=Nt(`translate3d(0, ${Math.round(O.offset)}px, 0)`,O.initialTransform),mt(O.clientRect,ue,0))}),this._previousSwap.overlaps=Xt(C,e,o),this._previousSwap.drag=d.drag,this._previousSwap.delta=h?s.x:s.y,{previousIndex:g,currentIndex:c}}enter(n,e,o,s){const r=null==s||s<0?this._getItemIndexFromPointerPosition(n,e,o):s,c=this._activeDraggables,h=c.indexOf(n),g=n.getPlaceholderElement();let d=c[r];if(d===n&&(d=c[r+1]),!d&&(null==r||-1===r||r-1&&c.splice(h,1),d&&!this._dragDropRegistry.isDragging(d)){const _=d.getRootElement();_.parentElement.insertBefore(g,_),c.splice(r,0,n)}else(0,z.fI)(this._element).appendChild(g),c.push(n);g.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}reset(){this._activeDraggables.forEach(n=>{const e=n.getRootElement();if(e){const o=this._itemPositions.find(s=>s.drag===n)?.initialTransform;e.style.transform=o||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(o=>o.drag===n)}updateOnScroll(n,e){this._itemPositions.forEach(({clientRect:o})=>{mt(o,n,e)}),this._itemPositions.forEach(({drag:o})=>{this._dragDropRegistry.isDragging(o)&&o._sortFromLastPointerPosition()})}_cacheItemPositions(){const n="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const o=e.getVisibleElement();return{drag:e,offset:0,initialTransform:o.style.transform||"",clientRect:Kt(o)}}).sort((e,o)=>n?e.clientRect.left-o.clientRect.left:e.clientRect.top-o.clientRect.top)}_getItemOffsetPx(n,e,o){const s="horizontal"===this.orientation;let r=s?e.left-n.left:e.top-n.top;return-1===o&&(r+=s?e.width-n.width:e.height-n.height),r}_getSiblingOffsetPx(n,e,o){const s="horizontal"===this.orientation,r=e[n].clientRect,c=e[n+-1*o];let h=r[s?"width":"height"]*o;if(c){const g=s?"left":"top",d=s?"right":"bottom";-1===o?h-=c.clientRect[g]-r[d]:h+=r[g]-c.clientRect[d]}return h}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;const o=this._itemPositions,s="horizontal"===this.orientation;if(o[0].drag!==this._activeDraggables[0]){const c=o[o.length-1].clientRect;return s?n>=c.right:e>=c.bottom}{const c=o[0].clientRect;return s?n<=c.left:e<=c.top}}_getItemIndexFromPointerPosition(n,e,o,s){const r="horizontal"===this.orientation,c=this._itemPositions.findIndex(({drag:h,clientRect:g})=>h!==n&&((!s||h!==this._previousSwap.drag||!this._previousSwap.overlaps||(r?s.x:s.y)!==this._previousSwap.delta)&&(r?e>=Math.floor(g.left)&&e=Math.floor(g.top)&&o!0,this.sortPredicate=()=>!0,this.beforeStarted=new u.x,this.entered=new u.x,this.exited=new u.x,this.dropped=new u.x,this.sorted=new u.x,this.receivingStarted=new u.x,this.receivingStopped=new u.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=U.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new u.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,F.F)(0,p.Z).pipe((0,w.R)(this._stopScrollTimers)).subscribe(()=>{const c=this._scrollNode,h=this.autoScrollStep;1===this._verticalScrollDirection?c.scrollBy(0,-h):2===this._verticalScrollDirection&&c.scrollBy(0,h),1===this._horizontalScrollDirection?c.scrollBy(-h,0):2===this._horizontalScrollDirection&&c.scrollBy(h,0)})},this.element=(0,z.fI)(n),this._document=o,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new xe(o),this._sortStrategy=new en(this.element,e),this._sortStrategy.withSortPredicate((c,h)=>this.sortPredicate(c,h,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(n,e,o,s){this._draggingStarted(),null==s&&this.sortingDisabled&&(s=this._draggables.indexOf(n)),this._sortStrategy.enter(n,e,o,s),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})}exit(n){this._reset(),this.exited.next({item:n,container:this})}drop(n,e,o,s,r,c,h,g={}){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:o,container:this,previousContainer:s,isPointerOverContainer:r,distance:c,dropPoint:h,event:g})}withItems(n){const e=this._draggables;return this._draggables=n,n.forEach(o=>o._withDropContainer(this)),this.isDragging()&&(e.filter(s=>s.isDragging()).every(s=>-1===n.indexOf(s))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._sortStrategy.direction=n,this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){return this._sortStrategy.orientation=n,this}withScrollableParents(n){const e=(0,z.fI)(this.element);return this._scrollableElements=-1===n.indexOf(e)?[e,...n]:n.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,o,s){if(this.sortingDisabled||!this._clientRect||!Ce(this._clientRect,.05,e,o))return;const r=this._sortStrategy.sort(n,e,o,s);r&&this.sorted.next({previousIndex:r.previousIndex,currentIndex:r.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let o,s=0,r=0;if(this._parentPositions.positions.forEach((c,h)=>{h===this._document||!c.clientRect||o||Ce(c.clientRect,.05,n,e)&&([s,r]=function on(i,n,e,o){const s=Re(n,o),r=Me(n,e);let c=0,h=0;if(s){const g=i.scrollTop;1===s?g>0&&(c=1):i.scrollHeight-g>i.clientHeight&&(c=2)}if(r){const g=i.scrollLeft;1===r?g>0&&(h=1):i.scrollWidth-g>i.clientWidth&&(h=2)}return[c,h]}(h,c.clientRect,n,e),(s||r)&&(o=h))}),!s&&!r){const{width:c,height:h}=this._viewportRuler.getViewportSize(),g={width:c,height:h,top:0,right:c,bottom:h,left:0};s=Re(g,e),r=Me(g,n),o=window}o&&(s!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||o!==this._scrollNode)&&(this._verticalScrollDirection=s,this._horizontalScrollDirection=r,this._scrollNode=o,(s||r)&&o?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const n=(0,z.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const n=(0,z.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(n).clientRect}_reset(){this._isDragging=!1;const n=(0,z.fI)(this.element).style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(n,e){return null!=this._clientRect&&Xt(this._clientRect,n,e)}_getSiblingContainerFromPosition(n,e,o){return this._siblings.find(s=>s._canReceive(n,e,o))}_canReceive(n,e,o){if(!this._clientRect||!Xt(this._clientRect,e,o)||!this.enterPredicate(n,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,o);if(!s)return!1;const r=(0,z.fI)(this.element);return s===r||r.contains(s)}_startReceiving(n,e){const o=this._activeSiblings;!o.has(n)&&e.every(s=>this.enterPredicate(s,this)||this._draggables.indexOf(s)>-1)&&(o.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:e}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(n);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const n=(0,I.kV)((0,z.fI)(this.element));this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const n=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}}function Re(i,n){const{top:e,bottom:o,height:s}=i,r=.05*s;return n>=e-r&&n<=e+r?1:n>=o-r&&n<=o+r?2:0}function Me(i,n){const{left:e,right:o,width:s}=i,r=.05*s;return n>=e-r&&n<=e+r?1:n>=o-r&&n<=o+r?2:0}const Ft=(0,I.i$)({passive:!1,capture:!0});let sn=(()=>{class i{constructor(e,o){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new u.x,this.pointerUp=new u.x,this.scroll=new u.x,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=o}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Ft)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Ft)}startDragging(e,o){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=o.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:r=>this.pointerUp.next(r),options:!0}).set("scroll",{handler:r=>this.scroll.next(r),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Ft}),s||this._globalListeners.set("mousemove",{handler:r=>this.pointerMove.next(r),options:Ft}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((r,c)=>{this._document.addEventListener(c,r.handler,r.options)})})}}stopDragging(e){const o=this._activeDragInstances.indexOf(e);o>-1&&(this._activeDragInstances.splice(o,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const o=[this.scroll];return e&&e!==this._document&&o.push(new f.y(s=>this._ngZone.runOutsideAngular(()=>{const c=h=>{this._activeDragInstances.length&&s.next(h)};return e.addEventListener("scroll",c,!0),()=>{e.removeEventListener("scroll",c,!0)}}))),(0,m.T)(...o)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,o)=>{this._document.removeEventListener(o,e.handler,e.options)}),this._globalListeners.clear()}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(t.R0b),t.LFG(a.K0))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const rn={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let te=(()=>{class i{constructor(e,o,s,r){this._document=e,this._ngZone=o,this._viewportRuler=s,this._dragDropRegistry=r}createDrag(e,o=rn){return new qe(e,o,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new nn(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(a.K0),t.LFG(t.R0b),t.LFG(pt.rL),t.LFG(sn))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const ee=new t.OlP("CDK_DRAG_PARENT"),Ae=new t.OlP("CDK_DRAG_CONFIG"),Le=new t.OlP("CdkDropList"),ie=new t.OlP("CdkDragHandle");let Ze=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=(0,z.Ig)(e),this._stateChanges.next(this)}constructor(e,o){this.element=e,this._stateChanges=new u.x,this._disabled=!1,this._parentDrag=o}ngOnDestroy(){this._stateChanges.complete()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(ee,12))},i.\u0275dir=t.lG2({type:i,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[t._Bn([{provide:ie,useExisting:i}])]}),i})();const Ne=new t.OlP("CdkDragPlaceholder"),ke=new t.OlP("CdkDragPreview");let Ue=(()=>{class i{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=(0,z.Ig)(e),this._dragRef.disabled=this._disabled}constructor(e,o,s,r,c,h,g,d,_,C,S){this.element=e,this.dropContainer=o,this._ngZone=r,this._viewContainerRef=c,this._dir=g,this._changeDetectorRef=_,this._selfHandle=C,this._parentDrag=S,this._destroyed=new u.x,this.started=new t.vpe,this.released=new t.vpe,this.ended=new t.vpe,this.entered=new t.vpe,this.exited=new t.vpe,this.dropped=new t.vpe,this.moved=new f.y($=>{const H=this._dragRef.moved.pipe((0,A.U)(ht=>({source:this,pointerPosition:ht.pointerPosition,event:ht.event,delta:ht.delta,distance:ht.distance}))).subscribe($);return()=>{H.unsubscribe()}}),this._dragRef=d.createDrag(e,{dragStartThreshold:h&&null!=h.dragStartThreshold?h.dragStartThreshold:5,pointerDirectionChangeThreshold:h&&null!=h.pointerDirectionChangeThreshold?h.pointerDirectionChangeThreshold:5,zIndex:h?.zIndex}),this._dragRef.data=this,i._dragInstances.push(this),h&&this._assignDefaults(h),o&&(this._dragRef._withDropContainer(o._dropListRef),o.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,N.q)(1),(0,w.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const o=e.rootElementSelector,s=e.freeDragPosition;o&&!o.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=i._dragInstances.indexOf(this);e>-1&&i._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let o=e;this.rootElementSelector&&(o=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(o||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):(0,z.fI)(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const o=this._dir,s=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,c=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:(0,z.su)(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(c).withPreviewContainer(this.previewContainer||"global"),o&&e.withDirection(o.value)}}),e.beforeStarted.pipe((0,N.q)(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let o=this.element.nativeElement.parentElement;for(;o;){if(o.classList.contains("cdk-drag")){e.withParent(i._dragInstances.find(s=>s.element.nativeElement===o)?._dragRef||null);break}o=o.parentElement}})}_handleEvents(e){e.started.subscribe(o=>{this.started.emit({source:this,event:o.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(o=>{this.released.emit({source:this,event:o.event})}),e.ended.subscribe(o=>{this.ended.emit({source:this,distance:o.distance,dropPoint:o.dropPoint,event:o.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(o=>{this.entered.emit({container:o.container.data,item:this,currentIndex:o.currentIndex})}),e.exited.subscribe(o=>{this.exited.emit({container:o.container.data,item:this})}),e.dropped.subscribe(o=>{this.dropped.emit({previousIndex:o.previousIndex,currentIndex:o.currentIndex,previousContainer:o.previousContainer.data,container:o.container.data,isPointerOverContainer:o.isPointerOverContainer,item:this,distance:o.distance,dropPoint:o.dropPoint,event:o.event})})}_assignDefaults(e){const{lockAxis:o,dragStartDelay:s,constrainPosition:r,previewClass:c,boundaryElement:h,draggingDisabled:g,rootElementSelector:d,previewContainer:_}=e;this.disabled=g??!1,this.dragStartDelay=s||0,o&&(this.lockAxis=o),r&&(this.constrainPosition=r),c&&(this.previewClass=c),h&&(this.boundaryElement=h),d&&(this.rootElementSelector=d),_&&(this.previewContainer=_)}_setupHandlesListener(){this._handles.changes.pipe((0,y.O)(this._handles),(0,We.b)(e=>{const o=e.filter(s=>s._parentDrag===this).map(s=>s.element);this._selfHandle&&this.rootElementSelector&&o.push(this.element),this._dragRef.withHandles(o)}),(0,je.w)(e=>(0,m.T)(...e.map(o=>o._stateChanges.pipe((0,y.O)(o))))),(0,w.R)(this._destroyed)).subscribe(e=>{const o=this._dragRef,s=e.element.nativeElement;e.disabled?o.disableHandle(s):o.enableHandle(s)})}}return i._dragInstances=[],i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(Le,12),t.Y36(a.K0),t.Y36(t.R0b),t.Y36(t.s_b),t.Y36(Ae,8),t.Y36(Zt.Is,8),t.Y36(te),t.Y36(t.sBO),t.Y36(ie,10),t.Y36(ee,12))},i.\u0275dir=t.lG2({type:i,selectors:[["","cdkDrag",""]],contentQueries:function(e,o,s){if(1&e&&(t.Suo(s,ke,5),t.Suo(s,Ne,5),t.Suo(s,ie,5)),2&e){let r;t.iGM(r=t.CRH())&&(o._previewTemplate=r.first),t.iGM(r=t.CRH())&&(o._placeholderTemplate=r.first),t.iGM(r=t.CRH())&&(o._handles=r)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,o){2&e&&t.ekj("cdk-drag-disabled",o.disabled)("cdk-drag-dragging",o._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[t._Bn([{provide:ee,useExisting:i}]),t.TTD]}),i})(),pn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({providers:[te],imports:[pt.ZD]}),i})();var mn=l(9002);const _n=["imgRef"],un=["imagePreviewWrapper"];function fn(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"li",10),t.NdJ("click",function(){const r=t.CHM(e).$implicit;return t.KtG(r.onClick())}),t._UZ(1,"span",11),t.qZA()}if(2&i){const e=n.$implicit,o=t.oxw();t.ekj("ant-image-preview-operations-operation-disabled",o.zoomOutDisabled&&"zoomOut"===e.type),t.xp6(1),t.Q6J("nzType",e.icon)}}function vn(i,n){if(1&i&&t._UZ(0,"img",13,14),2&i){const e=t.oxw().$implicit,o=t.oxw();t.Udp("width",e.width)("height",e.height)("transform",o.previewImageTransform),t.uIk("src",o.sanitizerResourceUrl(e.src),t.LSH)("srcset",e.srcset)("alt",e.alt)}}function zn(i,n){if(1&i&&(t.ynx(0),t.YNc(1,vn,2,9,"img",12),t.BQk()),2&i){const e=n.index,o=t.oxw();t.xp6(1),t.Q6J("ngIf",o.index===e)}}function Cn(i,n){if(1&i){const e=t.EpF();t.ynx(0),t.TgZ(1,"div",15),t.NdJ("click",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.onSwitchLeft(s))}),t._UZ(2,"span",16),t.qZA(),t.TgZ(3,"div",17),t.NdJ("click",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.onSwitchRight(s))}),t._UZ(4,"span",18),t.qZA(),t.BQk()}if(2&i){const e=t.oxw();t.xp6(1),t.ekj("ant-image-preview-switch-left-disabled",e.index<=0),t.xp6(2),t.ekj("ant-image-preview-switch-right-disabled",e.index>=e.images.length-1)}}class oe{constructor(){this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzMaskClosable=!0,this.nzCloseOnNavigation=!0}}class yn{constructor(n,e,o){this.previewInstance=n,this.config=e,this.overlayRef=o,this.destroy$=new u.x,o.keydownEvents().pipe((0,R.h)(s=>this.config.nzKeyboard&&(s.keyCode===M.hY||s.keyCode===M.oh||s.keyCode===M.SV)&&!(0,M.Vb)(s))).subscribe(s=>{s.preventDefault(),s.keyCode===M.hY&&this.close(),s.keyCode===M.oh&&this.prev(),s.keyCode===M.SV&&this.next()}),o.detachments().subscribe(()=>{this.overlayRef.dispose()}),n.containerClick.pipe((0,N.q)(1),(0,w.R)(this.destroy$)).subscribe(()=>{this.close()}),n.closeClick.pipe((0,N.q)(1),(0,w.R)(this.destroy$)).subscribe(()=>{this.close()}),n.animationStateChanged.pipe((0,R.h)(s=>"done"===s.phaseName&&"leave"===s.toState),(0,N.q)(1)).subscribe(()=>{this.dispose()})}switchTo(n){this.previewInstance.switchTo(n)}next(){this.previewInstance.next()}prev(){this.previewInstance.prev()}close(){this.previewInstance.startLeaveAnimation()}dispose(){this.destroy$.next(),this.overlayRef.dispose()}}function Je(i,n,e){const o=i+n,s=(n-e)/2;let r=null;return n>e?(i>0&&(r=s),i<0&&oe)&&(r=i<0?s:-s),r}const Qt={x:0,y:0};let Tn=(()=>{class i{constructor(e,o,s,r,c,h,g,d){this.ngZone=e,this.host=o,this.cdr=s,this.nzConfigService=r,this.config=c,this.overlayRef=h,this.destroy$=g,this.sanitizer=d,this.images=[],this.index=0,this.isDragging=!1,this.visible=!0,this.animationState="enter",this.animationStateChanged=new t.vpe,this.previewImageTransform="",this.previewImageWrapperTransform="",this.operations=[{icon:"close",onClick:()=>{this.onClose()},type:"close"},{icon:"zoom-in",onClick:()=>{this.onZoomIn()},type:"zoomIn"},{icon:"zoom-out",onClick:()=>{this.onZoomOut()},type:"zoomOut"},{icon:"rotate-right",onClick:()=>{this.onRotateRight()},type:"rotateRight"},{icon:"rotate-left",onClick:()=>{this.onRotateLeft()},type:"rotateLeft"}],this.zoomOutDisabled=!1,this.position={...Qt},this.containerClick=new t.vpe,this.closeClick=new t.vpe,this.zoom=this.config.nzZoom??1,this.rotate=this.config.nzRotate??0,this.updateZoomOutDisabled(),this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform()}get animationDisabled(){return this.config.nzNoAnimation??!1}get maskClosable(){const e=this.nzConfigService.getConfigForComponent("image")||{};return this.config.nzMaskClosable??e.nzMaskClosable??!0}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,Et.R)(this.host.nativeElement,"click").pipe((0,w.R)(this.destroy$)).subscribe(e=>{e.target===e.currentTarget&&this.maskClosable&&this.containerClick.observers.length&&this.ngZone.run(()=>this.containerClick.emit())}),(0,Et.R)(this.imagePreviewWrapper.nativeElement,"mousedown").pipe((0,w.R)(this.destroy$)).subscribe(()=>{this.isDragging=!0})})}setImages(e){this.images=e,this.cdr.markForCheck()}switchTo(e){this.index=e,this.cdr.markForCheck()}next(){this.index0&&(this.reset(),this.index--,this.updatePreviewImageTransform(),this.updatePreviewImageWrapperTransform(),this.updateZoomOutDisabled(),this.cdr.markForCheck())}markForCheck(){this.cdr.markForCheck()}onClose(){this.closeClick.emit()}onZoomIn(){this.zoom+=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={...Qt}}onZoomOut(){this.zoom>1&&(this.zoom-=1,this.updatePreviewImageTransform(),this.updateZoomOutDisabled(),this.position={...Qt})}onRotateRight(){this.rotate+=90,this.updatePreviewImageTransform()}onRotateLeft(){this.rotate-=90,this.updatePreviewImageTransform()}onSwitchLeft(e){e.preventDefault(),e.stopPropagation(),this.prev()}onSwitchRight(e){e.preventDefault(),e.stopPropagation(),this.next()}onAnimationStart(e){"enter"===e.toState?this.setEnterAnimationClass():"leave"===e.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(e)}onAnimationDone(e){"enter"===e.toState?this.setEnterAnimationClass():"leave"===e.toState&&this.setLeaveAnimationClass(),this.animationStateChanged.emit(e)}startLeaveAnimation(){this.animationState="leave",this.cdr.markForCheck()}onDragReleased(){this.isDragging=!1;const e=this.imageRef.nativeElement.offsetWidth*this.zoom,o=this.imageRef.nativeElement.offsetHeight*this.zoom,{left:s,top:r}=function Dn(i){const n=i.getBoundingClientRect(),e=document.documentElement;return{left:n.left+(window.pageXOffset||e.scrollLeft)-(e.clientLeft||document.body.clientLeft||0),top:n.top+(window.pageYOffset||e.scrollTop)-(e.clientTop||document.body.clientTop||0)}}(this.imageRef.nativeElement),{width:c,height:h}=function wn(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}(),g=this.rotate%180!=0,_=function bn(i){let n={};return i.width<=i.clientWidth&&i.height<=i.clientHeight&&(n={x:0,y:0}),(i.width>i.clientWidth||i.height>i.clientHeight)&&(n={x:Je(i.left,i.width,i.clientWidth),y:Je(i.top,i.height,i.clientHeight)}),n}({width:g?o:e,height:g?e:o,left:s,top:r,clientWidth:c,clientHeight:h});((0,Rt.DX)(_.x)||(0,Rt.DX)(_.y))&&(this.position={...this.position,..._})}sanitizerResourceUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}updatePreviewImageTransform(){this.previewImageTransform=`scale3d(${this.zoom}, ${this.zoom}, 1) rotate(${this.rotate}deg)`}updatePreviewImageWrapperTransform(){this.previewImageWrapperTransform=`translate3d(${this.position.x}px, ${this.position.y}px, 0)`}updateZoomOutDisabled(){this.zoomOutDisabled=this.zoom<=1}setEnterAnimationClass(){if(this.animationDisabled)return;const e=this.overlayRef.backdropElement;e&&(e.classList.add("ant-fade-enter"),e.classList.add("ant-fade-enter-active"))}setLeaveAnimationClass(){if(this.animationDisabled)return;const e=this.overlayRef.backdropElement;e&&(e.classList.add("ant-fade-leave"),e.classList.add("ant-fade-leave-active"))}reset(){this.zoom=1,this.rotate=0,this.position={...Qt}}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(dt.jY),t.Y36(oe),t.Y36(k.Iu),t.Y36(At.kn),t.Y36(Wt.H7))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-image-preview"]],viewQuery:function(e,o){if(1&e&&(t.Gf(_n,5),t.Gf(un,7)),2&e){let s;t.iGM(s=t.CRH())&&(o.imageRef=s.first),t.iGM(s=t.CRH())&&(o.imagePreviewWrapper=s.first)}},hostAttrs:["tabindex","-1","role","document",1,"ant-image-preview-wrap"],hostVars:6,hostBindings:function(e,o){1&e&&t.WFA("@fadeMotion.start",function(r){return o.onAnimationStart(r)})("@fadeMotion.done",function(r){return o.onAnimationDone(r)}),2&e&&(t.d8E("@.disabled",o.config.nzNoAnimation)("@fadeMotion",o.animationState),t.Udp("z-index",o.config.nzZIndex),t.ekj("ant-image-preview-moving",o.isDragging))},exportAs:["nzImagePreview"],features:[t._Bn([At.kn])],decls:11,vars:6,consts:[[1,"ant-image-preview"],["tabindex","0","aria-hidden","true",2,"width","0","height","0","overflow","hidden","outline","none"],[1,"ant-image-preview-content"],[1,"ant-image-preview-body"],[1,"ant-image-preview-operations"],["class","ant-image-preview-operations-operation",3,"ant-image-preview-operations-operation-disabled","click",4,"ngFor","ngForOf"],["cdkDrag","",1,"ant-image-preview-img-wrapper",3,"cdkDragFreeDragPosition","cdkDragReleased"],["imagePreviewWrapper",""],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"ant-image-preview-operations-operation",3,"click"],["nz-icon","","nzTheme","outline",1,"ant-image-preview-operations-icon",3,"nzType"],["cdkDragHandle","","class","ant-image-preview-img",3,"width","height","transform",4,"ngIf"],["cdkDragHandle","",1,"ant-image-preview-img"],["imgRef",""],[1,"ant-image-preview-switch-left",3,"click"],["nz-icon","","nzType","left","nzTheme","outline"],[1,"ant-image-preview-switch-right",3,"click"],["nz-icon","","nzType","right","nzTheme","outline"]],template:function(e,o){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"div",1),t.TgZ(2,"div",2)(3,"div",3)(4,"ul",4),t.YNc(5,fn,2,3,"li",5),t.qZA(),t.TgZ(6,"div",6,7),t.NdJ("cdkDragReleased",function(){return o.onDragReleased()}),t.YNc(8,zn,2,1,"ng-container",8),t.qZA(),t.YNc(9,Cn,5,4,"ng-container",9),t.qZA()(),t._UZ(10,"div",1),t.qZA()),2&e&&(t.xp6(5),t.Q6J("ngForOf",o.operations),t.xp6(1),t.Udp("transform",o.previewImageWrapperTransform),t.Q6J("cdkDragFreeDragPosition",o.position),t.xp6(2),t.Q6J("ngForOf",o.images),t.xp6(1),t.Q6J("ngIf",o.images.length>1))},dependencies:[Ue,Ze,a.sg,a.O5,x.Ls],encapsulation:2,data:{animation:[Gt.MC]},changeDetection:0}),i})(),Pn=(()=>{class i{constructor(e,o,s,r){this.overlay=e,this.injector=o,this.nzConfigService=s,this.directionality=r}preview(e,o){return this.display(e,o)}display(e,o){const s={...new oe,...o??{}},r=this.createOverlay(s),c=this.attachPreviewComponent(r,s);c.setImages(e);const h=new yn(c,s,r);return c.previewRef=h,h}attachPreviewComponent(e,o){const s=t.zs3.create({parent:this.injector,providers:[{provide:k.Iu,useValue:e},{provide:oe,useValue:o}]}),r=new Mt.C5(Tn,null,s);return e.attach(r).instance}createOverlay(e){const o=this.nzConfigService.getConfigForComponent("image")||{},s=new k.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:e.nzCloseOnNavigation??o.nzCloseOnNavigation??!0,backdropClass:"ant-image-preview-mask",direction:e.nzDirection||o.nzDirection||this.directionality.value});return this.overlay.create(s)}}return i.\u0275fac=function(e){return new(e||i)(t.LFG(k.aV),t.LFG(t.zs3),t.LFG(dt.jY),t.LFG(Zt.Is,8))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac}),i})(),Sn=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({providers:[Pn],imports:[Zt.vT,k.U8,Mt.eL,pn,a.ez,x.PV,mn.YS]}),i})();var j=l(5655),On=l(8762),T=l(3679),D=l(6903),P=l(9116),se=l(4989),Qe=l(3848),J=l(1971),In=l(6152),re=l(4383),Q=l(9194),Yt=l(2577),Bt=l(9444),En=l(3973),Rn=l(3384),Mn=l(8845),An=l(5453);class V{}V.\u0275fac=function(n){return new(n||V)},V.\u0275mod=t.oAB({type:V}),V.\u0275inj=t.cJS({imports:[a.ez,re.Rt]});var Y=l(8823),ae=l(9476),Ln=l(5013),Zn=l(897),Ye=l(8213),ce=l(4006),Nn=l(701);class B{}B.\u0275fac=function(n){return new(n||B)},B.\u0275mod=t.oAB({type:B}),B.\u0275inj=t.cJS({imports:[a.ez,ce.u5,J.vh,T.Jb,D.zf,Y.ZJ,Qe.A2,Q.q6,Yt.S,Ye.Wr,se.X,An.N,Mn.Q,Nn.N,Rn.h,En.y,V,Bt.s,ae.L,Ln.C,Zn.$]});class K{}K.\u0275fac=function(n){return new(n||K)},K.\u0275mod=t.oAB({type:K}),K.\u0275inj=t.cJS({imports:[a.ez,P.Bz,v._N,v.pP,j.KJ,T.Jb,x.PV,D.zf,Sn,J.vh,Qe.A2,In.Ph,re.Rt,Q.q6,Yt.S,se.X,On.c,It.D,B]});var kn=l(5291);class X{}X.\u0275fac=function(n){return new(n||X)},X.\u0275mod=t.oAB({type:X}),X.\u0275inj=t.cJS({imports:[a.ez,kn.t]});var Un=l(767);class q{}q.\u0275fac=function(n){return new(n||q)},q.\u0275mod=t.oAB({type:q}),q.\u0275inj=t.cJS({imports:[a.ez,Un.Q]});var $t=l(5681);class tt{}tt.\u0275fac=function(n){return new(n||tt)},tt.\u0275mod=t.oAB({type:tt}),tt.\u0275inj=t.cJS({imports:[a.ez,v._N,v.pP,D.zf,T.Jb,$t.j,B]});var Fn=l(4125),Jn=l(2994),Qn=l(8525),Yn=l(7946),Bn=l(3111),$n=l(1433),Hn=l(9240),ft=l(6616),E=l(6675),Be=l(6672);class et{}et.\u0275fac=function(n){return new(n||et)},et.\u0275mod=t.oAB({type:et}),et.\u0275inj=t.cJS({imports:[a.ez,v._N,v.pP,x.PV,E.HQ,ft.sL,J.vh,x.PV,Y.ZJ,Be.X,Jn.y,Qn.T,Hn.w,Bn.n,$n.c,Fn.k,ae.L,Yn.x,Bt.s]});class nt{}nt.\u0275fac=function(n){return new(n||nt)},nt.\u0275mod=t.oAB({type:nt}),nt.\u0275inj=t.cJS({imports:[a.ez,j.KJ,x.PV,T.Jb,ft.sL,D.zf,Y.ZJ,Bt.s,It.D,et]});var Gn=l(5473),Wn=l(7345);class it{}it.\u0275fac=function(n){return new(n||it)},it.\u0275mod=t.oAB({type:it}),it.\u0275inj=t.cJS({imports:[a.ez,J.vh,Q.q6,Y.ZJ,x.PV,D.zf,T.Jb,Yt.S,Gn.H,se.X,Bt.s,ae.L,Wn.W]});class ot{}ot.\u0275fac=function(n){return new(n||ot)},ot.\u0275mod=t.oAB({type:ot}),ot.\u0275inj=t.cJS({imports:[a.ez,v._N,v.pP,T.Jb,D.zf,ft.sL,$t.j,it]});var jn=l(3756);class vt{constructor(n){this.route=n,this.organizationId=+this.route.snapshot.params.organizationId}}vt.\u0275fac=function(n){return new(n||vt)(t.Y36(P.gz))},vt.\u0275cmp=t.Xpm({type:vt,selectors:[["cvc-organizations-assertions"]],decls:1,vars:1,consts:[["cvcTitle","Organization Assertions",3,"organizationId"]],template:function(n,e){1&n&&t._UZ(0,"cvc-assertions-table",0),2&n&&t.Q6J("organizationId",e.organizationId)},dependencies:[jn.x],styles:["[_nghost-%COMP%]{display:block}"]});var L=l(6579),le=l(1135),Z=l(7630),he=l(9350),Vn=l(2233),$e=l(8992),Kn=l(6550);function Xn(i,n){if(1&i&&t._UZ(0,"nz-avatar",2),2&i){const e=t.oxw();t.Q6J("nzSrc",e.organization.profileImagePath)("nzSize",e.size)}}function qn(i,n){if(1&i&&t._UZ(0,"nz-avatar",3),2&i){const e=t.oxw();t.Q6J("nzText",e.organization.name)("nzSize",e.size)}}class zt{ngOnInit(){if(void 0===this.organization)throw new Error("Must supply an organization to use this component");void 0===this.size&&(this.size="default")}}zt.\u0275fac=function(n){return new(n||zt)},zt.\u0275cmp=t.Xpm({type:zt,selectors:[["cvc-organization-avatar"]],inputs:{organization:"organization",size:"size"},decls:3,vars:2,consts:[["nz-comment-avatar","",3,"nzSrc","nzSize",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc","nzSize"],["nz-comment-avatar","",3,"nzText","nzSize"]],template:function(n,e){if(1&n&&(t.YNc(0,Xn,1,2,"nz-avatar",0),t.YNc(1,qn,1,2,"ng-template",null,1,t.W1O)),2&n){const o=t.MAs(2);t.Q6J("ngIf",e.organization.profileImagePath)("ngIfElse",o)}},dependencies:[a.O5,re.Dz],styles:["[_nghost-%COMP%]{display:inline-block}"]});var ge=l(5749),ti=l(7893),ei=l(6715);function ni(i,n){}function ii(i,n){if(1&i&&(t.TgZ(0,"nz-card",3),t.YNc(1,ni,0,0,"ng-template",4),t.qZA()),2&i){const e=t.oxw(),o=t.MAs(4);t.Q6J("nzTitle",e.organization.name),t.xp6(1),t.Q6J("ngTemplateOutlet",o)}}function oi(i,n){}function si(i,n){if(1&i&&t.YNc(0,oi,0,0,"ng-template",4),2&i){t.oxw();const e=t.MAs(4);t.Q6J("ngTemplateOutlet",e)}}function ri(i,n){if(1&i&&(t.TgZ(0,"cvc-link-tag",20),t._uU(1," View Organization Website "),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("href",e.organization.url)}}function ai(i,n){if(1&i&&(t.ynx(0),t._UZ(1,"cvc-organization-tag",22),t.BQk()),2&i){const e=n.$implicit;t.xp6(1),t.Q6J("org",e)}}function ci(i,n){if(1&i&&(t.TgZ(0,"cvc-tag-list"),t.YNc(1,ai,2,1,"ng-container",21),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.organization.subGroups)}}function li(i,n){1&i&&(t.ynx(0),t.TgZ(1,"span",23)(2,"i"),t._uU(3,"No child organizations specified."),t.qZA()(),t.BQk())}function hi(i,n){if(1&i){const e=t.EpF();t.ynx(0),t.TgZ(1,"label",24),t.NdJ("ngModelChange",function(s){t.CHM(e);const r=t.oxw(3);return t.KtG(r.includeSubStats=s)}),t._uU(2," Include sub-orgs "),t.qZA(),t.BQk()}if(2&i){const e=t.oxw(3);t.xp6(1),t.Q6J("ngModel",e.includeSubStats)}}function gi(i,n){if(1&i&&t.YNc(0,hi,3,1,"ng-container",16),2&i){const e=t.oxw(2);t.Q6J("ngIf",e.organization.subGroups.length>0)}}function di(i,n){if(1&i&&(t.TgZ(0,"nz-row",5)(1,"nz-col",6)(2,"div",7),t._UZ(3,"cvc-organization-avatar",8),t.qZA(),t.TgZ(4,"div",9)(5,"span",10)(6,"strong"),t._uU(7),t.qZA()()()(),t.TgZ(8,"nz-col",6)(9,"nz-card",11),t.YNc(10,ri,2,1,"ng-template",null,12,t.W1O),t.TgZ(12,"nz-descriptions",13)(13,"nz-descriptions-item",14),t._uU(14),t.qZA(),t.TgZ(15,"nz-descriptions-item",15),t.YNc(16,ci,2,1,"cvc-tag-list",16),t.YNc(17,li,4,0,"ng-container",16),t.qZA()()()(),t.TgZ(18,"nz-col",6)(19,"nz-card",17),t._UZ(20,"cvc-stats-card",18),t.qZA(),t.YNc(21,gi,1,1,"ng-template",null,19,t.W1O),t.qZA()()),2&i){const e=t.MAs(11),o=t.MAs(22),s=t.oxw();t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",3),t.xp6(2),t.Q6J("organization",s.organization)("size",128),t.xp6(4),t.Oqu(s.organization.name),t.xp6(1),t.Q6J("nzSpan",13),t.xp6(1),t.Q6J("nzExtra",e),t.xp6(3),t.Q6J("nzColumn",1),t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.hij(" ",s.organization.description," "),t.xp6(1),t.Q6J("nzSpan",1),t.xp6(1),t.Q6J("ngIf",s.organization.subGroups.length>0),t.xp6(1),t.Q6J("ngIf",0===s.organization.subGroups.length),t.xp6(1),t.Q6J("nzSpan",8),t.xp6(1),t.Q6J("nzExtra",o),t.xp6(1),t.Q6J("stats",s.includeSubStats?s.organization.orgAndSuborgsStatsHash:s.organization.orgStatsHash)}}class st{constructor(){this.inCard=!0,this.includeSubStats=!0}ngOnInit(){if(null==this.organization)throw new Error("Must pass a organization into organization card")}}function pi(i,n){if(1&i&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2)(3,"nz-page-header-content")(4,"div",3),t._UZ(5,"cvc-organization-card",4),t.qZA(),t._UZ(6,"cvc-tab-navigation",5),t.ALo(7,"ngrxPush"),t.TgZ(8,"div",6),t._UZ(9,"router-outlet"),t.qZA()()(),t.BQk()),2&i){const e=n.ngIf,o=t.oxw();t.xp6(1),t.Q6J("displayName",e.name),t.xp6(4),t.Q6J("organization",e)("inCard",!1),t.xp6(1),t.Q6J("tabs",t.lcZ(7,4,o.tabs$))}}st.\u0275fac=function(n){return new(n||st)},st.\u0275cmp=t.Xpm({type:st,selectors:[["cvc-organization-card"]],inputs:{organization:"organization",inCard:"inCard"},decls:5,vars:2,consts:[[3,"nzTitle",4,"ngIf","ngIfElse"],["noCard",""],["content",""],[3,"nzTitle"],[3,"ngTemplateOutlet"],[3,"nzGutter"],[3,"nzSpan"],[1,"org-avatar"],[3,"organization","size"],[1,"org-name"],["nz-typography",""],["nzTitle","Profile","nzSize","small",1,"organization-profile",3,"nzExtra"],["orgLink",""],["nzBordered","","nzLayout","vertical","nzSize","small",3,"nzColumn"],["nzTitle","Description",3,"nzSpan"],["nzTitle","Child Organizations",3,"nzSpan"],[4,"ngIf"],["nzSize","small","nzTitle","Curation Stats",3,"nzExtra"],["header","User Statistics",3,"stats"],["subGroupToggle",""],[3,"href"],[4,"ngFor","ngForOf"],[3,"org"],["nz-typography","","nzType","secondary"],["nz-checkbox","",1,"stats-toggle",3,"ngModel","ngModelChange"]],template:function(n,e){if(1&n&&(t.YNc(0,ii,2,2,"nz-card",0),t.YNc(1,si,1,1,"ng-template",null,1,t.W1O),t.YNc(3,di,23,16,"ng-template",null,2,t.W1O)),2&n){const o=t.MAs(2);t.Q6J("ngIf",e.inCard)("ngIfElse",o)}},dependencies:[a.sg,a.O5,a.tP,ce.JJ,ce.On,J.bd,T.t3,T.SK,Y.ZU,Q.R7,Q.uj,Ye.Ie,Kn.l,zt,ge.m,ti.z,ei.$],styles:["[_nghost-%COMP%] .organization-profile .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] .stats-toggle span{padding-right:0}.org-avatar[_ngcontent-%COMP%], .org-name[_ngcontent-%COMP%]{text-align:center}.org-name[_ngcontent-%COMP%]{font-size:120%}"]});class Ct{constructor(n,e,o){this.gql=n,this.viewerService=e,this.route=o,this.destroy$=new u.x,this.defaultTabs=[{routeName:"members",tabLabel:"Members",iconName:"pic-right"},{routeName:"activity",tabLabel:"Activity",iconName:"civic-event"},{routeName:"evidence",tabLabel:"Evidence Items",iconName:"civic-evidence"},{routeName:"assertions",tabLabel:"Assertions",iconName:"civic-assertion"}],this.tabs$=new le.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(s=>{this.queryRef=this.gql.watch({organizationId:+s.organizationId});let r=this.queryRef.valueChanges;this.loading$=r.pipe((0,L.j)("loading"),(0,y.O)(!0)),this.organization$=r.pipe((0,L.j)("data","organization")),this.viewer$=this.viewerService.viewer$,this.organization$.pipe((0,w.R)(this.destroy$)).subscribe({next:c=>{this.tabs$.next(c&&c.subGroups.length>0?[...this.defaultTabs,{routeName:"groups",tabLabel:"Child Organizations",iconName:"civic-organization"}]:this.defaultTabs)}})})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}Ct.\u0275fac=function(n){return new(n||Ct)(t.Y36(Z.WOS),t.Y36(he.a),t.Y36(P.gz))},Ct.\u0275cmp=t.Xpm({type:Ct,selectors:[["organizations-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],[1,"detail-content"],[3,"organization","inCard"],[3,"tabs"],[1,"content"]],template:function(n,e){1&n&&(t.YNc(0,pi,10,6,"ng-container",0),t.ALo(1,"ngrxPush")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,e.organization$))},dependencies:[a.O5,P.lC,j.$O,j.u5,Vn.P,$e.I,st,v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}.detail-content[_ngcontent-%COMP%]{margin-top:8px}.content[_ngcontent-%COMP%]{margin-bottom:8px}"]});var mi=l(2011);class xt{constructor(n){this.route=n,this.mode=Z.wJ2.Organization,this.organizationId=+this.route.snapshot.params.organizationId}}xt.\u0275fac=function(n){return new(n||xt)(t.Y36(P.gz))},xt.\u0275cmp=t.Xpm({type:xt,selectors:[["cvc-organizations-events"]],decls:1,vars:2,consts:[["tagDisplay","hideOrg",3,"organizationId","mode"]],template:function(n,e){1&n&&t._UZ(0,"cvc-event-feed",0),2&n&&t.Q6J("organizationId",e.organizationId)("mode",e.mode)},dependencies:[mi.o],styles:["[_nghost-%COMP%]{display:block}"]});var _i=l(3392);class yt{constructor(n){this.route=n,this.organizationId=+this.route.snapshot.params.organizationId}}function ui(i,n){if(1&i&&t._UZ(0,"cvc-organization-card",5),2&i){const e=t.oxw().$implicit;t.Q6J("organization",e)}}function fi(i,n){1&i&&(t.TgZ(0,"nz-space",3),t.YNc(1,ui,1,1,"cvc-organization-card",4),t.qZA())}function vi(i,n){if(1&i&&(t.ynx(0),t.YNc(1,fi,2,0,"nz-space",2),t.ALo(2,"ngrxPush"),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,1,e.organizations$))}}yt.\u0275fac=function(n){return new(n||yt)(t.Y36(P.gz))},yt.\u0275cmp=t.Xpm({type:yt,selectors:[["cvc-organizations-evidence"]],decls:1,vars:1,consts:[["cvcTitle","Organization Evidence",3,"organizationId"]],template:function(n,e){1&n&&t._UZ(0,"cvc-evidence-table",0),2&n&&t.Q6J("organizationId",e.organizationId)},dependencies:[_i.a],styles:["[_nghost-%COMP%]{display:block}"]});class bt{constructor(n,e,o){this.gql=n,this.viewerService=e,this.route=o,this.routeSub=o.params.subscribe(s=>{this.queryRef=this.gql.watch({organizationId:+s.organizationId});let r=this.queryRef.valueChanges;this.loading$=r.pipe((0,L.j)("loading"),(0,y.O)(!0)),this.organizations$=r.pipe((0,L.j)("data","organization","subGroups")),this.viewer$=this.viewerService.viewer$})}ngOnDestroy(){this.routeSub.unsubscribe()}}bt.\u0275fac=function(n){return new(n||bt)(t.Y36(Z.Lr0),t.Y36(he.a),t.Y36(P.gz))},bt.\u0275cmp=t.Xpm({type:bt,selectors:[["cvc-organizations-groups"]],decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],["nzDirection","vertical",4,"ngFor","ngForOf"],["nzDirection","vertical"],[3,"organization",4,"nzSpaceItem"],[3,"organization"]],template:function(n,e){1&n&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,vi,3,3,"ng-container",1),t.ALo(3,"ngrxPush"),t.qZA()),2&n&&(t.Q6J("nzSpinning",t.lcZ(1,2,e.loading$)),t.xp6(2),t.Q6J("ngIf",!t.lcZ(3,4,e.loading$)))},dependencies:[a.sg,a.O5,D.NU,D.$1,$t.W,st,v.fM],styles:[".space-align-block[_ngcontent-%COMP%]{display:block}"]});var rt,de=l(7044),zi=l(655),Ci=l(3154),Dt=l(9933),Ht=l(3240),pe=l(1884),xi=l(2529),yi=l(5684),bi=l(8372),Di=l(1365),wi=l(3388),Ti=l(3667),Pi=l(9947),Si=l(5851),Oi=l(7451),Ii=l(2166),Ei=l(392),Ri=l(5083);function Mi(i,n){}function Ai(i,n){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-card",5),t.YNc(2,Mi,0,0,"ng-template",6),t.qZA(),t.BQk()),2&i){t.oxw();const e=t.MAs(6),o=t.MAs(8),s=t.MAs(4);t.xp6(1),t.Q6J("nzTitle",e)("nzExtra",o),t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function Li(i,n){}const Zi=function(i){return{height:i}};function Ni(i,n){if(1&i&&(t.TgZ(0,"div",7)(1,"nz-card",8),t.YNc(2,Li,0,0,"ng-template",6),t.qZA()()),2&i){const e=t.oxw(),o=t.MAs(6),s=t.MAs(8),r=t.MAs(4);t.Q6J("ngStyle",t.VKq(4,Zi,e.cvcHeight)),t.xp6(1),t.Q6J("nzTitle",o)("nzExtra",s),t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function ki(i,n){if(1&i&&(t._UZ(0,"tr",23),t.TgZ(1,"tr")(2,"td",19),t._UZ(3,"cvc-organization-tag",24),t.qZA(),t.TgZ(4,"td"),t._uU(5),t.ALo(6,"number"),t.qZA(),t.TgZ(7,"td"),t._UZ(8,"cvc-tag-overflow",25),t.qZA(),t.TgZ(9,"td",26),t._uU(10),t.ALo(11,"number"),t.qZA(),t.TgZ(12,"td",26),t._uU(13),t.ALo(14,"timeAgo"),t.qZA()()),2&i){const e=n.$implicit;t.xp6(3),t.Q6J("org",e),t.xp6(2),t.hij(" ",t.lcZ(6,6,e.memberCount)," "),t.xp6(3),t.Q6J("maxDisplayCount",1)("tags",e.subGroups),t.xp6(2),t.hij(" ",t.lcZ(11,8,e.eventCount)," "),t.xp6(3),t.hij(" ",t.lcZ(14,10,null==e.mostRecentEvent?null:e.mostRecentEvent.createdAt)," ")}}const Ui=function(){return[]},Fi=function(){return{x:"680px",y:"800px"}};function Ji(i,n){if(1&i){const e=t.EpF();t.TgZ(0,"nz-table",9,10),t.NdJ("cvcTableScrollOnScroll",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.scrollEvent$.next(s))}),t.ALo(2,"ngrxPush"),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.ALo(5,"ngrxPush"),t.TgZ(6,"thead",11),t.NdJ("nzSortOrderChange",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.sortChange$.next(s))}),t.TgZ(7,"tr",12)(8,"th",13),t._uU(9," Organization "),t.qZA(),t.TgZ(10,"th",14),t._uU(11,"Members"),t.qZA(),t.TgZ(12,"th",15),t._uU(13,"Sub Organizations"),t.qZA(),t.TgZ(14,"th",16),t._uU(15," Actions "),t.qZA(),t.TgZ(16,"th",17),t._uU(17," Last Action "),t.qZA()(),t.TgZ(18,"tr",18)(19,"th",19)(20,"cvc-clearable-input-filter",20),t.NdJ("inputModelChange",function(s){t.CHM(e);const r=t.oxw();return t.KtG(r.orgNameInput=s)})("inputModelChange",function(){t.CHM(e);const s=t.oxw();return t.KtG(s.filterChange$.next())}),t.qZA()(),t._UZ(21,"th")(22,"th")(23,"th",21)(24,"th",21),t.qZA()(),t.TgZ(25,"tbody"),t.YNc(26,ki,15,12,"ng-template",22),t.qZA()()}if(2&i){const e=t.oxw();t.Q6J("nzData",t.lcZ(2,14,e.row$)||t.DdM(22,Ui))("nzLoading",!t.lcZ(3,16,e.row$))("cvcAutoHeightTable",25)("nzVirtualItemSize",29)("cvcTableScrollQueryRef",e.queryRef)("cvcTableScrollPageInfo",t.lcZ(4,18,e.pageInfo$))("cvcTableScrollToIndex",t.lcZ(5,20,e.scrollIndex$))("nzVirtualForTrackBy",e.trackByIndex)("nzScroll",t.DdM(23,Fi))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(8),t.Q6J("nzColumnKey",e.sortColumns.Name)("nzSortFn",!0),t.xp6(12),t.Q6J("inputModel",e.orgNameInput)}}function Qi(i,n){}function Yi(i,n){if(1&i&&(t.ynx(0),t.YNc(1,Qi,0,0,"ng-template",6),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function Bi(i,n){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.cvcTitle," ")}}function $i(i,n){if(1&i&&(t.YNc(0,Yi,2,1,"ng-container",27),t.YNc(1,Bi,2,1,"ng-container",27),t.TgZ(2,"span",28),t._UZ(3,"cvc-table-counts",29),t.qZA()),2&i){const e=t.oxw();t.Q6J("ngIf",e.cvcTitleTemplate),t.xp6(1),t.Q6J("ngIf",e.cvcTitle),t.xp6(2),t.Q6J("cvcTableCountsConnection",e.connection$)}}function Hi(i,n){1&i&&(t.TgZ(0,"nz-tag",32),t._UZ(1,"i",33),t.TgZ(2,"span"),t._uU(3,"Loading\u2026"),t.qZA()())}function Gi(i,n){if(1&i&&(t.YNc(0,Hi,4,0,"nz-tag",30),t.ALo(1,"ngrxPush"),t._UZ(2,"cvc-no-more-rows",31),t.ALo(3,"ngrxPush")),2&i){const e=t.oxw();t.Q6J("ngIf",t.lcZ(1,2,e.moreLoading$)),t.xp6(2),t.Q6J("cvcShowTag",t.lcZ(3,4,e.noMoreRows$))}}let me=((rt=class{set initialUserFilters(n){n&&Object.assign(this,n)}constructor(n,e){this.gql=n,this.cdr=e,this.initialPageSize=35,this.isScrolling=!1,this.sortColumns=Z.xlL,this.noMoreRows$=new le.X(!1),this.scrollEvent$=new le.X("stop"),this.sortChange$=new u.x,this.filterChange$=new u.x,this.scrollIndex$=new u.x}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize}),this.result$=this.queryRef.valueChanges,this.initialLoading$=this.result$.pipe((0,L.j)("loading"),(0,pe.x)(),(0,xi.o)(n=>!1!==n,!0)),this.moreLoading$=this.result$.pipe((0,L.j)("loading"),(0,pe.x)(),(0,yi.T)(2)),this.connection$=this.result$.pipe((0,L.j)("data","organizations"),(0,R.h)(Ht.ep)),this.row$=this.connection$.pipe((0,L.j)("edges"),(0,R.h)(Ht.ep),(0,A.U)(n=>n.map(e=>e.node))),this.pageInfo$=this.connection$.pipe((0,L.j)("pageInfo"),(0,R.h)(Ht.ep)),this.sortChange$.pipe((0,Dt.t)(this)).subscribe(n=>{this.queryRef.refetch({sortBy:(0,Ci._)(n)})}),this.filterChange$.pipe((0,bi.b)(500),(0,Dt.t)(this)).subscribe(()=>{this.refresh()}),this.scrollEvent$.pipe((0,A.U)(n=>"stop"!==n),(0,pe.x)(),(0,Dt.t)(this)).subscribe(n=>{this.isScrolling=n,this.cdr.detectChanges()}),this.scrollEvent$.pipe((0,R.h)(n=>"bottom"===n),(0,Di.M)(this.pageInfo$),(0,A.U)(([n,e])=>e),(0,Dt.t)(this)).subscribe(n=>{n.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}refresh(){this.queryRef.refetch({orgName:this.orgNameInput,id:this.idInput?+this.idInput:void 0}).then(()=>this.scrollIndex$.next(0)),this.cdr.detectChanges()}trackByIndex(n,e){return e?.id}}).\u0275fac=function(n){return new(n||rt)(t.Y36(Z.io),t.Y36(t.sBO))},rt.\u0275cmp=t.Xpm({type:rt,selectors:[["cvc-organizations-table"]],inputs:{cvcHeight:"cvcHeight",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle",initialPageSize:"initialPageSize",initialUserFilters:"initialUserFilters"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["setHeightCard",""],["table",""],["titleTemplate",""],["extraTemplate",""],["nzSize","small","cvcAutoHeightCard","","cvcAutoHeightTarget","viewport",3,"nzTitle","nzExtra"],[3,"ngTemplateOutlet"],[1,"card-container",3,"ngStyle"],["cvcAutoHeightCard","","nzSize","small",3,"nzTitle","nzExtra"],["nzSize","small","cvcTableScroll","",3,"nzData","nzLoading","cvcAutoHeightTable","nzVirtualItemSize","cvcTableScrollQueryRef","cvcTableScrollPageInfo","cvcTableScrollToIndex","nzVirtualForTrackBy","nzScroll","nzFrontPagination","nzShowPagination","cvcTableScrollOnScroll"],["virtualTable",""],[3,"nzSortOrderChange"],[1,"col-header-row"],["nzWidth","300px","nzLeft","",3,"nzColumnKey","nzSortFn"],["nzWidth","100px"],["nzWidth","320px"],["nzWidth","80px","nzRight","","nzAlign","right"],["nzWidth","125px","nzRight","","nzAlign","right"],[1,"filter-row"],["nzLeft",""],[3,"inputModel","inputModelChange"],["nzRight",""],["nz-virtual-scroll",""],[1,"data-row"],[3,"org"],["tagType","organization",3,"maxDisplayCount","tags"],["nzRight","","nzAlign","right"],[4,"ngIf"],[1,"table-info"],[3,"cvcTableCountsConnection"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""]],template:function(n,e){if(1&n&&(t.YNc(0,Ai,3,3,"ng-container",0),t.YNc(1,Ni,3,6,"ng-template",null,1,t.W1O),t.YNc(3,Ji,27,24,"ng-template",null,2,t.W1O),t.YNc(5,$i,4,3,"ng-template",null,3,t.W1O),t.YNc(7,Gi,4,6,"ng-template",null,4,t.W1O)),2&n){const o=t.MAs(2);t.Q6J("ngIf",!e.cvcHeight)("ngIfElse",o)}},dependencies:[a.O5,a.tP,a.PC,x.Ls,E.N8,E.qD,E.Uo,E._C,E.Om,E.p0,E.$Z,E.zu,E.qn,E.UX,de.w,J.bd,Be.j,wi.H,Ti.B,Pi.y,Si.D,Oi.q,Ii.p,ge.m,Ei.T,a.JJ,v.fM,Ri.x],styles:["nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}[_nghost-%COMP%]{display:block}"]}),rt);me=(0,zi.gn)([(0,Dt.c)()],me);var Wi=l(160);function ji(i,n){1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t._uU(2," View Organization Docs "),t.qZA())}class wt{constructor(){}ngOnInit(){}}wt.\u0275fac=function(n){return new(n||wt)},wt.\u0275cmp=t.Xpm({type:wt,selectors:[["organizations-home"]],decls:19,vars:5,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzTheme","twotone","nzType","civic-organization",3,"nzTwotoneColor"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/organizations.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse Organizations"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/organizations.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"]],template:function(n,e){1&n&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0)(2,"nz-page-header-content")(3,"nz-row",1)(4,"nz-col",2),t._UZ(5,"i",3),t.ALo(6,"entityColor"),t.qZA(),t.TgZ(7,"nz-col",4)(8,"h2"),t._uU(9,"Organizations"),t.qZA(),t.TgZ(10,"p",5),t._uU(11," Users may be included in Organizations, primarily in order to keep track of an organization\u2019s contributions to CIViC curation. A User\u2019s organization affiliation is displayed in their profile and user card. "),t.qZA()(),t.TgZ(12,"nz-col",6)(13,"nz-space",7),t.YNc(14,ji,3,0,"a",8),t.qZA()()(),t.TgZ(15,"div",9)(16,"div",10)(17,"div",11),t._UZ(18,"cvc-organizations-table",12),t.qZA()()()()()),2&n&&(t.xp6(5),t.Q6J("nzTwotoneColor",t.lcZ(6,3,"Organization")),t.xp6(5),t.Q6J("nzEllipsisRows",2),t.xp6(6),t.Q6J("nzSpan",24))},dependencies:[j.$O,j.u5,x.Ls,T.t3,T.SK,ft.ix,de.w,D.NU,D.$1,Y.ZU,$e.I,me,Wi.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var _e=l(4813),Vi=l(1664),Ki=l(7881),Xi=l(125),qi=l(2338);function to(i,n){if(1&i&&t._UZ(0,"cvc-user-avatar",8),2&i){const e=t.oxw(2);t.Q6J("user",e.user)("size",32)}}function eo(i,n){if(1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",14),t.qZA()),2&i){const e=t.oxw(4);t.MGl("href","http://twitter.com/",e.user.twitterHandle,"",t.LSH)}}function no(i,n){1&i&&(t.ynx(0),t.YNc(1,eo,2,1,"a",12),t.BQk())}function io(i,n){if(1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",15),t.qZA()),2&i){const e=t.oxw(4);t.MGl("href","http://facebook.com/",e.user.facebookProfile,"",t.LSH)}}function oo(i,n){1&i&&(t.ynx(0),t.YNc(1,io,2,1,"a",12),t.BQk())}function so(i,n){if(1&i&&(t.TgZ(0,"a",13),t._UZ(1,"i",16),t.qZA()),2&i){const e=t.oxw(4);t.MGl("href","http://linkedin.com/in/",e.user.linkedinProfile,"",t.LSH)}}function ro(i,n){1&i&&(t.ynx(0),t.YNc(1,so,2,1,"a",12),t.BQk())}function ao(i,n){if(1&i&&(t.TgZ(0,"a",13)(1,"span"),t._uU(2,"ID"),t.qZA()()),2&i){const e=t.oxw(4);t.MGl("href","https://orcid.org/",e.user.orcid,"",t.LSH)}}function co(i,n){1&i&&(t.ynx(0),t.YNc(1,ao,3,1,"a",12),t.BQk())}function lo(i,n){1&i&&t._UZ(0,"nz-divider",17)}function ho(i,n){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-space",9),t.YNc(2,no,2,0,"ng-container",10),t.YNc(3,oo,2,0,"ng-container",10),t.YNc(4,ro,2,0,"ng-container",10),t.YNc(5,co,2,0,"ng-container",10),t.qZA(),t.YNc(6,lo,1,0,"ng-template",null,11,t.W1O),t.BQk()),2&i){const e=t.MAs(7),o=t.oxw(2);t.xp6(1),t.Q6J("nzSplit",e),t.xp6(1),t.Q6J("ngIf",o.user.twitterHandle),t.xp6(1),t.Q6J("ngIf",o.user.facebookProfile),t.xp6(1),t.Q6J("ngIf",o.user.linkedinProfile),t.xp6(1),t.Q6J("ngIf",o.user.orcid)}}function go(i,n){1&i&&(t.ynx(0),t.TgZ(1,"nz-space",6),t.YNc(2,to,1,2,"cvc-user-avatar",7),t.YNc(3,ho,8,5,"ng-container",2),t.qZA(),t.BQk())}function po(i,n){if(1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"enumToTitle"),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.hij(" ",t.lcZ(2,1,e.user.areaOfExpertise)," ")}}function mo(i,n){if(1&i&&t._UZ(0,"cvc-organization-tag",25),2&i){const e=t.oxw().$implicit;t.Q6J("org",e)}}function _o(i,n){1&i&&(t.ynx(0),t.YNc(1,mo,1,1,"cvc-organization-tag",24),t.BQk())}function uo(i,n){if(1&i&&(t.TgZ(0,"nz-descriptions",18)(1,"nz-descriptions-item",19),t.YNc(2,po,3,3,"ng-container",20),t.qZA(),t.TgZ(3,"nz-descriptions-item",21)(4,"nz-space",22),t.YNc(5,_o,2,0,"ng-container",23),t.qZA()()()),2&i){const e=t.oxw(),o=t.MAs(5);t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("ngIf",e.user.areaOfExpertise)("ngIfElse",o),t.xp6(2),t.Q6J("nzSize",1),t.xp6(1),t.Q6J("ngForOf",e.user.organizations)}}function fo(i,n){1&i&&(t.TgZ(0,"span",26),t._uU(1,"Not provided"),t.qZA())}function vo(i,n){if(1&i&&t._UZ(0,"cvc-user-tag",27),2&i){const e=t.oxw();t.Q6J("user",e.user)("enablePopover",!1)}}class Tt{ngOnInit(){if(null==this.user)throw new Error("Must pass a user into user card");switch(this.user.role){case Z.i44.Admin:this.icon="civic-admin";break;case Z.i44.Editor:this.icon="civic-editor";break;default:this.icon="civic-curator"}}}function zo(i,n){if(1&i&&t._UZ(0,"cvc-user-card",9),2&i){const e=t.oxw().$implicit;t.Q6J("user",e)}}function Co(i,n){if(1&i&&(t.TgZ(0,"div",7),t.YNc(1,zo,1,1,"cvc-user-card",8),t.qZA()),2&i){const e=n.$implicit;t.Q6J("nzSpan",6),t.xp6(1),t.Q6J("ngIf",e)}}Tt.\u0275fac=function(n){return new(n||Tt)},Tt.\u0275cmp=t.Xpm({type:Tt,selectors:[["cvc-user-card"]],inputs:{user:"user"},decls:8,vars:1,consts:[[2,"height","100%",3,"nzTitle"],["nzDirection","vertical",2,"width","100%"],[4,"nzSpaceItem"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn",4,"nzSpaceItem"],["notProvided",""],["titleTemplate",""],["nzSize","large"],[3,"user","size",4,"nzSpaceItem"],[3,"user","size"],["nzAlign","center",3,"nzSplit"],[4,"ngIf"],["spaceSplit",""],["target","_blank",3,"href",4,"nzSpaceItem"],["target","_blank",3,"href"],["nz-icon","","nzType","twitter","nzTheme","outline"],["nz-icon","","nzType","facebook","nzTheme","outline"],["nz-icon","","nzType","linkedin","nzTheme","outline"],["nzType","vertical"],["nzBordered","","nzSize","small","nzLayout","vertical",3,"nzColumn"],["nzTitle","Expertise"],[4,"ngIf","ngIfElse"],["nzTitle","Organization"],["nzDirection","vertical",3,"nzSize"],[4,"ngFor","ngForOf"],[3,"org",4,"nzSpaceItem"],[3,"org"],["nz-typography","","nzType","secondary"],[2,"font-weight","normal",3,"user","enablePopover"]],template:function(n,e){if(1&n&&(t.TgZ(0,"nz-card",0)(1,"nz-space",1),t.YNc(2,go,4,0,"ng-container",2),t.YNc(3,uo,6,5,"nz-descriptions",3),t.YNc(4,fo,2,0,"ng-template",null,4,t.W1O),t.qZA()(),t.YNc(6,vo,1,2,"ng-template",null,5,t.W1O)),2&n){const o=t.MAs(7);t.Q6J("nzTitle",o)}},dependencies:[a.sg,a.O5,J.bd,Q.R7,Q.uj,Y.ZU,x.Ls,D.NU,D.$1,Yt.g,Ki.L,ge.m,Xi.I,qi.I],encapsulation:2});const xo=function(){return[16,16]};function yo(i,n){if(1&i&&(t.TgZ(0,"div",5),t.YNc(1,Co,2,2,"div",6),t.ALo(2,"ngrxPush"),t.qZA()),2&i){const e=t.oxw(2);t.Q6J("nzGutter",t.DdM(4,xo)),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,2,e.members$))}}function bo(i,n){if(1&i){const e=t.EpF();t.ynx(0),t.TgZ(1,"button",11),t.NdJ("click",function(){t.CHM(e);const s=t.oxw().ngrxLet,r=t.oxw(3);return t.KtG(r.loadMore(s.endCursor))}),t._uU(2),t.qZA(),t.BQk()}if(2&i){const e=t.oxw(4);t.xp6(2),t.hij(" Load ",e.initialPageSize," More ")}}function Do(i,n){if(1&i&&(t.ynx(0),t.YNc(1,bo,3,1,"ng-container",1),t.BQk()),2&i){const e=n.ngrxLet;t.xp6(1),t.Q6J("ngIf",e&&e.hasNextPage&&e.endCursor)}}function wo(i,n){if(1&i&&(t.ynx(0),t.YNc(1,Do,2,1,"ng-container",10),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngrxLet",e.pageInfo$)}}function To(i,n){1&i&&(t.ynx(0),t.TgZ(1,"nz-space",2),t.YNc(2,yo,3,5,"div",3),t.YNc(3,wo,2,1,"ng-container",4),t.qZA(),t.BQk())}class Pt{constructor(n,e,o){this.gql=n,this.viewerService=e,this.route=o,this.initialPageSize=20,this.routeSub=this.route.params.subscribe(s=>{this.queryRef=this.gql.watch({organizationId:+s.organizationId,first:this.initialPageSize});let r=this.queryRef.valueChanges;this.loading$=r.pipe((0,_e.j)("loading"),(0,y.O)(!0)),this.members$=r.pipe((0,_e.j)("data","users","edges"),(0,R.h)(Ht.lm),(0,A.U)(c=>c.map(h=>h.node))),this.pageInfo$=r.pipe((0,_e.j)("data","users","pageInfo")),this.viewer$=this.viewerService.viewer$})}loadMore(n){this.queryRef?.fetchMore({variables:{after:n}})}ngOnDestroy(){this.routeSub.unsubscribe()}}Pt.\u0275fac=function(n){return new(n||Pt)(t.Y36(Z.Del),t.Y36(he.a),t.Y36(P.gz))},Pt.\u0275cmp=t.Xpm({type:Pt,selectors:[["cvc-organizations-members"]],decls:4,vars:6,consts:[[3,"nzSpinning"],[4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["nz-row","",3,"nzGutter",4,"nzSpaceItem"],[4,"nzSpaceItem"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan"],[3,"user",4,"ngIf"],[3,"user"],[4,"ngrxLet"],["nz-button","","nzBlock","",3,"click"]],template:function(n,e){1&n&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,To,4,0,"ng-container",1),t.ALo(3,"ngrxPush"),t.qZA()),2&n&&(t.Q6J("nzSpinning",t.lcZ(1,2,e.loading$)),t.xp6(2),t.Q6J("ngIf",!t.lcZ(3,4,e.loading$)))},dependencies:[a.sg,a.O5,v.eJ,T.t3,T.SK,D.NU,D.$1,ft.ix,de.w,Vi.dQ,$t.W,Tt,v.fM],encapsulation:2});var Po=l(9814);class St{constructor(n){this.route=n,this.userId=+this.route.snapshot.params.userId}}St.\u0275fac=function(n){return new(n||St)(t.Y36(P.gz))},St.\u0275cmp=t.Xpm({type:St,selectors:[["cvc-organizations-source-suggestions"]],decls:1,vars:0,consts:[["cvcTitle","Organization Source Suggestions"]],template:function(n,e){1&n&&t._UZ(0,"cvc-source-suggestions-table",0)},dependencies:[Po.O],styles:["[_nghost-%COMP%]{display:block}"]});class Ot{constructor(){}}Ot.\u0275fac=function(n){return new(n||Ot)},Ot.\u0275cmp=t.Xpm({type:Ot,selectors:[["app-organizations"]],decls:1,vars:0,template:function(n,e){1&n&&t._UZ(0,"router-outlet")},dependencies:[P.lC],encapsulation:2});const So=[{path:"",component:Ot,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:wt},{path:":organizationId",component:Ct,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"members",pathMatch:"full"},{path:"members",component:Pt,data:{breadcrumb:"Members"}},{path:"groups",component:bt,data:{breadcrumb:"Child Organizations"}},{path:"evidence",component:yt,data:{breadcrumb:"Evidence"}},{path:"assertions",component:vt,data:{breadcrumb:"Assertions"}},{path:"activity",component:xt,data:{breadcrumb:"Activity"}},{path:"source-suggestions",component:St,data:{breadcrumb:"Source Suggestions"}}]}]}];class at{}at.\u0275fac=function(n){return new(n||at)},at.\u0275mod=t.oAB({type:at}),at.\u0275inj=t.cJS({imports:[P.Bz.forChild(So),P.Bz]});var Oo=l(2832);class ct{}ct.\u0275fac=function(n){return new(n||ct)},ct.\u0275mod=t.oAB({type:ct}),ct.\u0275inj=t.cJS({imports:[a.ez,Oo.W]});class lt{}lt.\u0275fac=function(n){return new(n||lt)},lt.\u0275mod=t.oAB({type:lt}),lt.\u0275inj=t.cJS({imports:[a.ez,v._N,v.pP,at,nt,q,b,K,X,tt,ot,ct]})}}]); \ No newline at end of file diff --git a/server/public/9803.cc8d47b9b43faece.js b/server/public/9803.cc8d47b9b43faece.js new file mode 100644 index 000000000..b93875680 --- /dev/null +++ b/server/public/9803.cc8d47b9b43faece.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9803],{9803:(I,h,o)=>{o.r(h),o.d(h,{EvidenceAddModule:()=>L});var c=o(6814),u=o(8603),v=o(2419),y=o(2524),p=o(95),g=o(551),m=o(6254),d=o(4190),S=o(7398),t=o(5879),C=o(951),E=o(8178),x=o(3145),N=o(8091),P=o(2616);function A(n,l){1&n&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function M(n,l){1&n&&(t.TgZ(0,"nz-row",7)(1,"div",8),t._UZ(2,"cvc-login-prompt"),t.qZA()())}let _=(()=>{class n{constructor(r){this.viewerService=r}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,S.U)(r=>r.signedIn))}}return n.\u0275fac=function(r){return new(r||n)(t.Y36(C.a))},n.\u0275cmp=t.Xpm({type:n,selectors:[["evidence-add"]],decls:12,vars:7,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(r,f){if(1&r&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title",2),t._UZ(3,"i",3),t.ALo(4,"entityColor"),t._uU(5," Add New Evidence "),t.qZA(),t.TgZ(6,"nz-page-header-content")(7,"div",4),t.YNc(8,A,2,0,"div",5),t.ALo(9,"ngrxPush"),t.YNc(10,M,3,0,"ng-template",null,6,t.W1O),t.qZA()()()),2&r){const F=t.MAs(11);t.xp6(3),t.Q6J("nzTwotoneColor",t.lcZ(4,3,"EvidenceItem")),t.xp6(5),t.Q6J("ngIf",t.lcZ(9,5,f.isSignedIn$))("ngIfElse",F)}},dependencies:[c.O5,d.lC,p.t3,p.SK,g.Ls,m.$O,m.u9,m.u5,E.u,x.I,N.fM,P.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var w=o(2574),T=o(4139),k=o(2962),a=o(2840),i=o(6494),e=o(6223),s=o(7907),z=o(1416);let b=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[c.ez,e.u5,p.Jb,w.zf,k.vh,T.H0,z.Z,i.m,s.aF,p.Jb,g.PV,a.sL]}),n})();var D=o(6278);const O=[{path:"",component:_,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:(()=>{class n{constructor(r){this.route=r,this.routeParams$=this.route.params.subscribe(f=>{this.evidenceId=+f.evidenceId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return n.\u0275fac=function(r){return new(r||n)(t.Y36(d.gz))},n.\u0275cmp=t.Xpm({type:n,selectors:[["cvc-evidence-submit"]],decls:1,vars:0,template:function(r,f){1&r&&t._UZ(0,"cvc-evidence-submit-form")},dependencies:[D.l],encapsulation:2}),n})(),data:{breadcrumb:"Submit New Evidence"}}]}];let B=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[d.Bz.forChild(O),b,d.Bz]}),n})(),L=(()=>{class n{}return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[c.ez,B,p.Jb,g.PV,m.KJ,u.a,v.D,y.s]}),n})()},4139:(I,h,o)=>{o.d(h,{H0:()=>k});var c=o(5879),u=o(6814),v=o(9388);let k=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=c.oAB({type:a}),a.\u0275inj=c.cJS({imports:[v.vT,u.ez]}),a})()}}]); \ No newline at end of file diff --git a/server/public/9814.ce0ed4c247a924cc.js b/server/public/9814.ce0ed4c247a924cc.js new file mode 100644 index 000000000..0851687d8 --- /dev/null +++ b/server/public/9814.ce0ed4c247a924cc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9814],{9814:(Y,T,a)=>{a.r(T),a.d(T,{EvidenceDetailModule:()=>Kn});var p=a(6814),E=a(2419),u=a(2574),y=a(2392),A=a(5725),_=a(6254),S=a(2840),z=a(5695),f=a(551),d=a(4190),v=a(313),Z=a(7921),J=a(9773),h=a(4223),w=a(8645),D=a(5619),e=a(5879),Q=a(951),C=a(8091),N=a(3903),P=a(855),r=a(1958),s=a(95),c=a(3145),g=a(327),b=a(1801),V=a(8295),j=a(5162),$=a(4794),W=a(5098),G=a(1520),O=a(2606),H=a(2616);function K(n,i){if(1&n&&(e.TgZ(0,"span",8)(1,"strong"),e._uU(2),e.qZA(),e._uU(3," Parents:"),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(2),e.Oqu(t.name)}}function X(n,i){if(1&n&&(e.TgZ(0,"span",9),e._UZ(1,"cvc-molecular-profile-tag",10),e.qZA()),2&n){const t=e.oxw(2).ngIf;e.xp6(1),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!1)}}function q(n,i){1&n&&(e.TgZ(0,"nz-space",5),e.YNc(1,K,4,1,"span",6),e.YNc(2,X,2,2,"span",7),e.qZA())}function ee(n,i){1&n&&(e.TgZ(0,"nz-tag",25),e._uU(1,"Flagged"),e.qZA()),2&n&&e.Q6J("nzColor","red")}const ne=function(n){return["/evidence",n,"revise"]};function te(n,i){if(1&n&&(e.TgZ(0,"button",27,28),e._uU(2," Revise "),e.qZA()),2&n){const t=e.MAs(1),o=e.oxw(3).ngIf;e.Q6J("routerLink",e.VKq(2,ne,o.id))("nzType",t.isActive?"primary":"default")}}function ie(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,te,3,4,"button",26),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function ae(n,i){if(1&n&&(e.TgZ(0,"button",30,28),e._uU(2," Flag "),e.qZA()),2&n){const t=e.MAs(1);e.Q6J("nzType",t.isActive?"primary":"default")}}function oe(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,ae,3,1,"button",29),e.qZA()),2&n){const t=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",t.signedIn)}}function ce(n,i){if(1&n&&e._UZ(0,"cvc-entity-subscription-button",32),2&n){const t=e.oxw(2).ngrxLet,o=e.oxw(2);e.Q6J("viewer",t)("subscribableId",o.subscribable.id)}}function se(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,ce,1,2,"cvc-entity-subscription-button",31),e.qZA()),2&n){const t=e.oxw().ngrxLet,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.signedIn&&o.subscribable)}}function re(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"cvc-revert-entity-button",34),e.NdJ("onReverted",function(l){e.CHM(t);const m=e.oxw(4);return e.KtG(m.onRevertCompleted(l))}),e.qZA()}if(2&n){const t=e.oxw(2).ngrxLet,o=e.oxw().ngIf;e.Q6J("viewer",t)("entityId",o.id)}}function le(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,re,1,2,"cvc-revert-entity-button",33),e.qZA()),2&n){const t=e.oxw().ngrxLet,o=e.oxw().ngIf;e.xp6(1),e.Q6J("ngIf",t.canModerate&&"SUBMITTED"!=o.status)}}function pe(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",35),e.NdJ("nzOnClose",function(){const m=e.CHM(t).$implicit,I=e.oxw(3);return e.KtG(I.onErrorBannerClose(m))}),e.qZA()}2&n&&e.Q6J("nzMessage",i.$implicit)}function ge(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"nz-alert",36),e.NdJ("nzOnClose",function(){e.CHM(t);const l=e.oxw(3);return e.KtG(l.onSuccessBannerClose())}),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("nzMessage",t.successMessage)}}function de(n,i){1&n&&e._UZ(0,"nz-alert",37)}function me(n,i){1&n&&e._UZ(0,"nz-alert",38)}function ve(n,i){if(1&n&&(e.TgZ(0,"nz-col",39),e._UZ(1,"cvc-contributor-avatars",40),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("subscribable",t.subscribable)}}function ue(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"cvc-moderate-entity-buttons",42),e.NdJ("onModerated",function(l){e.CHM(t);const m=e.oxw(4);return e.KtG(m.onModerateCompleted(l))}),e.qZA()()}if(2&n){const t=e.oxw(2).ngrxLet,o=e.oxw().ngIf;e.xp6(1),e.Q6J("rejectOnly",!t.canModerate)("entityId",o.id)("viewer",t)}}function _e(n,i){1&n&&e._UZ(0,"span")}function ze(n,i){1&n&&(e.TgZ(0,"nz-space",41),e.YNc(1,ue,2,3,"span",16),e.YNc(2,_e,1,0,"span",16),e.qZA())}const fe=function(n){return{flagged:n}};function he(n,i){if(1&n&&(e.TgZ(0,"nz-page-header",11)(1,"nz-page-header-title",12),e._UZ(2,"i",13),e.ALo(3,"entityColor"),e._uU(4),e.qZA(),e.TgZ(5,"nz-page-header-tags"),e.YNc(6,ee,2,1,"nz-tag",14),e.qZA(),e.TgZ(7,"nz-page-header-extra")(8,"nz-space",15),e.YNc(9,ie,2,1,"span",16),e.YNc(10,oe,2,1,"span",16),e.YNc(11,se,2,1,"span",16),e.YNc(12,le,2,1,"span",16),e.qZA()(),e.TgZ(13,"nz-page-header-content"),e.YNc(14,pe,1,1,"nz-alert",17),e.YNc(15,ge,1,1,"nz-alert",18),e.YNc(16,de,1,0,"nz-alert",19),e.YNc(17,me,1,0,"nz-alert",20),e.TgZ(18,"cvc-tab-navigation",21),e.ALo(19,"ngrxPush"),e.YNc(20,ve,2,1,"ng-template",null,22,e.W1O),e.qZA(),e.YNc(22,ze,3,0,"nz-space",23),e.TgZ(23,"div",24),e._UZ(24,"router-outlet"),e.qZA()()()),2&n){const t=i.ngrxLet,o=e.oxw().ngIf,l=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(14,fe,o.flags.totalCount>0)),e.xp6(1),e.Q6J("nzTwotoneColor",e.lcZ(3,10,"EvidenceItem")),e.xp6(2),e.hij(" ",o.name," "),e.xp6(2),e.Q6J("ngIf",!1),e.xp6(8),e.Q6J("ngForOf",l.errors),e.xp6(1),e.Q6J("ngIf",l.successMessage),e.xp6(1),e.Q6J("ngIf","SUBMITTED"==o.status),e.xp6(1),e.Q6J("ngIf","REJECTED"==o.status),e.xp6(1),e.Q6J("tabs",e.lcZ(19,12,l.tabs$)),e.xp6(4),e.Q6J("ngIf",(t.canModerate||t.signedIn&&t.id==(null==o.submissionEvent||null==o.submissionEvent.originatingUser?null:o.submissionEvent.originatingUser.id))&&"SUBMITTED"==o.status)}}function ye(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,q,3,0,"ng-template",null,2,e.W1O),e.TgZ(4,"div",3),e.ALo(5,"ngrxPush"),e.YNc(6,he,25,16,"nz-page-header",4),e.qZA(),e.BQk()),2&n){const t=i.ngIf,o=e.MAs(3),l=e.oxw();e.xp6(1),e.Q6J("displayName",t.name)("relationsTpl",o),e.xp6(3),e.Q6J("flags",e.lcZ(5,4,l.flagsTotal$)),e.xp6(2),e.Q6J("ngrxLet",l.viewer$)}}let xe=(()=>{class n{constructor(t,o,l){this.gql=t,this.viewerService=o,this.route=l,this.errors=[],this.destroy$=new w.x,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.tabs$=new D.X(this.defaultTabs),this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(m=>{this.queryRef=this.gql.watch({evidenceId:+m.evidenceId});let I=this.queryRef.valueChanges;this.loading$=I.pipe((0,h.j)("loading"),(0,Z.O)(!0)),this.evidence$=I.pipe((0,h.j)("data","evidenceItem")),this.flagsTotal$=this.evidence$.pipe((0,h.j)("flags","totalCount")),this.evidence$.pipe((0,J.R)(this.destroy$)).subscribe({next:F=>{this.tabs$.next(this.defaultTabs.map(x=>"Revisions"===x.tabLabel?{badgeCount:F?.revisions.totalCount,...x}:"Comments"===x.tabLabel?{badgeCount:F?.comments.totalCount,badgeColor:"#cccccc",...x}:x))}}),this.subscribable={id:+m.evidenceId,entityType:v.o71.EvidenceItem}})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}onRevertCompleted(t){!0===t?(this.errors=[],this.successMessage="Evidence Item reverted to submitted status.",this.queryRef?.refetch()):(this.errors=t,this.successMessage=void 0)}onModerateCompleted(t){Array.isArray(t)?(this.errors=t,this.successMessage=void 0):(this.errors=[],this.successMessage=`Evidence successfully ${t}.`,this.queryRef?.refetch())}onErrorBannerClose(t){this.errors=this.errors?.filter(o=>o!=t)}onSuccessBannerClose(){this.successMessage=void 0}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(v.pHu),e.Y36(Q.a),e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["evidence-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["evidenceRelations",""],["cvcFlaggable","",3,"flags"],["class","site-page-header",4,"ngrxLet"],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[3,"nzColor",4,"ngIf"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["nzBanner","","nzMessage","This Evidence Item is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning",4,"ngIf"],["nzBanner","","nzMessage","This Evidence Item has been rejected.","nzType","error",4,"ngIf"],[3,"tabs"],["tabBarExtraContent",""],["nzDirection","vertical",4,"ngIf"],[1,"content"],[3,"nzColor"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","EvidenceItem",3,"viewer","subscribableId",4,"ngIf"],["typename","EvidenceItem",3,"viewer","subscribableId"],["entityType","EvidenceItem",3,"viewer","entityId","onReverted",4,"ngIf"],["entityType","EvidenceItem",3,"viewer","entityId","onReverted"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzMessage","This Evidence Item is in a 'submitted' state and has not yet been reviewed by an editor.","nzType","warning"],["nzBanner","","nzMessage","This Evidence Item has been rejected.","nzType","error"],["id","contributors-col"],[3,"subscribable"],["nzDirection","vertical"],["entityType","EvidenceItem",3,"rejectOnly","entityId","viewer","onModerated"]],template:function(t,o){1&t&&(e.YNc(0,ye,7,6,"ng-container",0),e.ALo(1,"ngrxPush")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.evidence$))},dependencies:[p.mk,p.sg,p.O5,d.lC,d.rH,d.Od,C.eJ,N.r,S.ix,P.w,r.dQ,s.t3,f.Ls,z.j,_.$O,_.u9,_.u5,_.ZJ,_.Jp,u.NU,u.$1,y.ZU,c.I,g.o,b.Y,V.Q,j.m,$.e,W.P,G.N,O.p,C.fM,H.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var Te=a(1830);let Ee=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[p.ez,Te.l]}),n})();var Se=a(800);let Ce=(()=>{class n{constructor(t){this.route=t,this.commentable={id:+this.route.snapshot.params.evidenceId,entityType:v.OfU.EvidenceItem}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(t,o){1&t&&e._UZ(0,"cvc-comment-list",0),2&t&&e.Q6J("commentable",o.commentable)},dependencies:[Se.D],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var be=a(2962),Ie=a(4139),Ae=a(183);let Ze=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[p.ez,s.Jb,be.vh,u.zf,Ie.H0,Ae.M]}),n})();var Ne=a(7287);let Pe=(()=>{class n{constructor(t){this.route=t,this.flaggable={entityType:v.sfv.EvidenceItem,id:+this.route.snapshot.params.evidenceId}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(t,o){1&t&&e._UZ(0,"cvc-flag-list-and-filter",0),2&t&&e.Q6J("flaggable",o.flaggable)},dependencies:[Ne.L],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var Me=a(2534);let Je=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[p.ez,Me.A]}),n})();var we=a(6126);let De=(()=>{class n{constructor(t){this.route=t,this.routeSub=this.route.params.subscribe(o=>{this.eid=+o.evidenceId,this.entityType=v.oRL.EvidenceItem})}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(t,o){1&t&&e._UZ(0,"cvc-revisions-list-and-filter",0),2&t&&e.Q6J("id",o.eid)("entityType",o.entityType)},dependencies:[we.a],encapsulation:2}),n})();var Qe=a(5895),Oe=a(4605),Le=a(3396),ke=a(7525),Ue=a(9858),L=a(8527),Be=a(3043),Re=a(7364),Fe=a(2655),Ye=a(366),Ve=a(8641),je=a(6061),$e=a(3235),k=a(2524),M=a(8125),U=a(6109),We=a(8916);let Ge=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[p.ez,d.Bz,s.Jb,u.zf,y.ZJ,S.sL,z.X,f.PV,M.q6,U.cg,We.M,k.s,ke.h,Le.Q,Fe.x,Ye.$,$e.W,Oe.N,Ve.s,Be.y,je.N,Qe.s,Re._,L.u,Ue.r]}),n})();var He=a(9183);function Ke(n,i){1&n&&e._UZ(0,"i",4)}function Xe(n,i){1&n&&e._UZ(0,"i",5)}function qe(n,i){if(1&n&&(e.ynx(0),e.YNc(1,Ke,1,0,"i",2),e.YNc(2,Xe,1,0,"i",3),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.filledStars),e.xp6(1),e.Q6J("ngForOf",t.emptyStars)}}function en(n,i){1&n&&e._uU(0," -- ")}let nn=(()=>{class n{constructor(){this.filledStars=[],this.emptyStars=[]}ngOnInit(){this.starRating&&(this.filledStars=Array(this.starRating),this.emptyStars=Array(5-this.starRating))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-rating"]],inputs:{starRating:"starRating"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noStars",""],["nzType","star","nzTheme","fill","nz-icon","",4,"ngFor","ngForOf"],["nzType","star","nzTheme","outline","nz-icon","",4,"ngFor","ngForOf"],["nzType","star","nzTheme","fill","nz-icon",""],["nzType","star","nzTheme","outline","nz-icon",""]],template:function(t,o){if(1&t&&(e.YNc(0,qe,3,2,"ng-container",0),e.YNc(1,en,1,0,"ng-template",null,1,e.W1O)),2&t){const l=e.MAs(2);e.Q6J("ngIf",o.starRating)("ngIfElse",l)}},dependencies:[p.sg,p.O5,f.Ls],encapsulation:2}),n})();var tn=a(9775),an=a(2384),on=a(1887),cn=a(356),sn=a(3369),rn=a(4138),ln=a(3897),pn=a(4770),gn=a(1826),dn=a(8923),mn=a(5095),vn=a(8004),un=a(5573);function _n(n,i){if(1&n&&(e._UZ(0,"cvc-attribute-tag",15),e.ALo(1,"enumTooltip")),2&n){const t=e.oxw().ngIf;e.Q6J("cvcAttrValue",t.evidenceDirection)("nzTooltipTitle",e.gM2(1,2,t.evidenceDirection,"evidenceDirection",t.evidenceType,"EvidenceItem"))}}function zn(n,i){if(1&n&&(e._UZ(0,"cvc-attribute-tag",15),e.ALo(1,"enumTooltip")),2&n){const t=e.oxw().ngIf;e.Q6J("cvcAttrValue",t.significance)("nzTooltipTitle",e.gM2(1,2,t.significance,"significance",t.evidenceType,"EvidenceItem"))}}function fn(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-clinical-trial-tag",40),e.BQk()),2&n){const t=i.$implicit;e.xp6(1),e.Q6J("clinicalTrial",t)}}function hn(n,i){if(1&n&&(e.ynx(0),e.YNc(1,fn,2,1,"ng-container",39),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.source.clinicalTrials)}}function yn(n,i){if(1&n&&(e._uU(0," Submitted "),e.TgZ(1,"span",41),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.submissionEvent.createdAt),") ")}}function xn(n,i){if(1&n&&(e._uU(0," Accepted "),e.TgZ(1,"span",41),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.acceptanceEvent.createdAt),") ")}}function Tn(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",22),e._uU(2," by "),e._UZ(3,"cvc-user-tag",27),e.qZA(),e.YNc(4,xn,4,3,"ng-template",null,42,e.W1O),e.BQk()),2&n){const t=e.MAs(5),o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzTitle",t),e.xp6(2),e.Q6J("user",o.acceptanceEvent.originatingUser)}}function En(n,i){if(1&n&&(e._uU(0," Rejected "),e.TgZ(1,"span",41),e._uU(2),e.ALo(3,"timeAgo"),e.qZA()),2&n){const t=e.oxw(3).ngIf;e.xp6(2),e.hij(" (",e.lcZ(3,1,t.rejectionEvent.createdAt),") ")}}function Sn(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-descriptions-item",43),e._uU(2," by "),e._UZ(3,"cvc-user-tag",27),e.qZA(),e.YNc(4,En,4,3,"ng-template",null,44,e.W1O),e.BQk()),2&n){const t=e.oxw(2).ngIf;e.xp6(3),e.Q6J("user",t.rejectionEvent.originatingUser)}}function Cn(n,i){if(1&n&&(e.ynx(0),e.YNc(1,Tn,6,2,"ng-container",0),e.YNc(2,Sn,6,1,"ng-container",0),e.BQk()),2&n){const t=e.oxw().ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",t.status==o.statusValues.Accepted&&t.acceptanceEvent),e.xp6(1),e.Q6J("ngIf",t.status==o.statusValues.Rejected&&t.rejectionEvent)}}function bn(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"a",45),e._UZ(2,"cvc-disease-tag",46),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.MGl("routerLink","/diseases/",t.disease.id,""),e.xp6(1),e.Q6J("disease",t.disease)}}function In(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-phenotype-tag",47),e.BQk()),2&n){const t=i.$implicit;e.xp6(1),e.Q6J("phenotype",t)}}function An(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"cvc-tag-list"),e.YNc(2,In,2,1,"ng-container",39),e.qZA(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(2),e.Q6J("ngForOf",t.phenotypes)}}function Zn(n,i){if(1&n&&e.GkF(0,48),2&n){e.oxw(2);const t=e.MAs(3);e.Q6J("ngTemplateOutlet",t)}}function Nn(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-therapy-tag",49),e.BQk()),2&n){const t=i.$implicit;e.xp6(1),e.Q6J("therapy",t)}}function Pn(n,i){if(1&n&&(e.TgZ(0,"cvc-tag-list"),e.YNc(1,Nn,2,1,"ng-container",39),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",t.therapies)}}function Mn(n,i){if(1&n&&(e.TgZ(0,"nz-descriptions-item",50),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&n){const t=e.oxw().ngIf;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.therapyInteractionType)," ")}}const Jn=function(){return[8,16]},B=function(){return[8,8]},wn=function(){return{xxl:3,xl:2,lg:1,md:1,sm:1,xs:1}},R=function(){return{xxl:2,xl:1,lg:1,md:1,sm:1,xs:1}},Dn=function(){return{xxl:3,xl:3,lg:3,md:1,sm:1,xs:1}};function Qn(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-row",3)(2,"nz-col",4)(3,"nz-row",3)(4,"nz-col",4)(5,"nz-descriptions",5)(6,"nz-descriptions-item",6)(7,"p",7),e._uU(8),e.qZA()()()(),e.TgZ(9,"nz-col",4)(10,"nz-descriptions",8)(11,"nz-descriptions-item",9),e._UZ(12,"cvc-attribute-tag",10),e.ALo(13,"enumTooltip"),e.qZA(),e.TgZ(14,"nz-descriptions-item",11),e.YNc(15,_n,2,7,"cvc-attribute-tag",12),e.qZA(),e.TgZ(16,"nz-descriptions-item",13),e.YNc(17,zn,2,7,"cvc-attribute-tag",12),e.qZA(),e.TgZ(18,"nz-descriptions-item",14),e._UZ(19,"cvc-attribute-tag",15),e.ALo(20,"enumTooltip"),e.qZA(),e.TgZ(21,"nz-descriptions-item",16)(22,"nz-tag",17),e.ALo(23,"enumTooltip"),e.TgZ(24,"strong"),e._uU(25),e.qZA(),e._uU(26),e.ALo(27,"enumTooltip"),e.qZA()(),e.TgZ(28,"nz-descriptions-item",18)(29,"nz-tag",17),e.ALo(30,"enumTooltip"),e._UZ(31,"cvc-evidence-rating",19),e.qZA()()()(),e.TgZ(32,"nz-col",4)(33,"nz-descriptions",8)(34,"nz-descriptions-item",20),e._UZ(35,"cvc-source-tag",21),e.qZA(),e.TgZ(36,"nz-descriptions-item",22),e.YNc(37,hn,2,1,"ng-container",23),e.qZA()()()()(),e.TgZ(38,"nz-col",4)(39,"nz-row",3)(40,"nz-col",4)(41,"nz-descriptions",24)(42,"nz-descriptions-item",25),e._UZ(43,"cvc-status-tag",26),e.qZA(),e.TgZ(44,"nz-descriptions-item",22),e._uU(45," by "),e._UZ(46,"cvc-user-tag",27),e.qZA(),e.YNc(47,yn,4,3,"ng-template",null,28,e.W1O),e.YNc(49,Cn,3,2,"ng-container",0),e.qZA()(),e.TgZ(50,"nz-col",4)(51,"nz-descriptions",8)(52,"nz-descriptions-item",29),e._UZ(53,"cvc-molecular-profile-tag",30),e.qZA(),e.TgZ(54,"nz-descriptions-item",31),e._UZ(55,"cvc-mp-tag-name",32),e.qZA(),e.TgZ(56,"nz-descriptions-item",33),e.YNc(57,bn,3,2,"ng-container",23),e.qZA(),e.TgZ(58,"nz-descriptions-item",22),e.YNc(59,An,3,1,"ng-container",23),e.qZA(),e.TgZ(60,"nz-descriptions-item",22),e.ynx(61,34),e.YNc(62,Zn,1,1,"ng-template",35),e.YNc(63,Pn,2,1,"ng-template",36),e.BQk(),e.qZA(),e.YNc(64,Mn,3,3,"nz-descriptions-item",37),e.qZA()()()(),e.TgZ(65,"nz-col",4),e._UZ(66,"cvc-assertions-table",38),e.qZA()(),e.BQk()),2&n){const t=i.ngIf,o=e.MAs(48);e.oxw();const l=e.MAs(3),m=e.MAs(5);e.xp6(1),e.Q6J("nzGutter",e.DdM(66,Jn)),e.xp6(1),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(67,B)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzEllipsisRows",14),e.xp6(1),e.hij(" ",t.description," "),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(68,wn)),e.xp6(2),e.Q6J("cvcAttrValue",t.evidenceType)("nzTooltipTitle",e.xi3(13,51,t.evidenceType,"evidenceType")),e.xp6(3),e.Q6J("ngIf","NA"!==t.evidenceDirection)("ngIfElse",l),e.xp6(2),e.Q6J("ngIf","NA"!==t.significance)("ngIfElse",l),e.xp6(2),e.Q6J("cvcAttrValue",t.variantOrigin)("nzTooltipTitle",e.xi3(20,54,t.variantOrigin,"variantOrigin")),e.xp6(3),e.Q6J("nzTooltipTitle",e.xi3(23,57,t.evidenceLevel,"evidenceLevel")),e.xp6(3),e.Oqu(t.evidenceLevel),e.xp6(1),e.hij(" - ",e.xi3(27,60,t.evidenceLevel,"evidenceLevelBrief")," "),e.xp6(3),e.Q6J("nzTooltipTitle",e.xi3(30,63,t.evidenceRating,"evidenceRating")),e.xp6(2),e.Q6J("starRating",t.evidenceRating),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(69,R)),e.xp6(2),e.Q6J("source",t.source),e.xp6(1),e.Q6J("nzTitle",t.source.clinicalTrials&&t.source.clinicalTrials.length>1?"Clinical Trials":"Clinical Trial"),e.xp6(1),e.Q6J("ngIf",t.source.clinicalTrials&&t.source.clinicalTrials.length>0)("ngIfElse",m),e.xp6(1),e.Q6J("nzSpan",12),e.xp6(1),e.Q6J("nzGutter",e.DdM(70,B)),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(71,Dn)),e.xp6(2),e.Q6J("status",t.status),e.xp6(1),e.Q6J("nzTitle",o),e.xp6(2),e.Q6J("user",t.submissionEvent.originatingUser),e.xp6(3),e.Q6J("ngIf",null!==t.rejectionEvent||null!==t.acceptanceEvent),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.Q6J("nzColumn",e.DdM(72,R)),e.xp6(2),e.Q6J("molecularProfile",t.molecularProfile)("enablePopover",!0),e.xp6(2),e.Q6J("nameSegments",t.molecularProfile.parsedName),e.xp6(2),e.Q6J("ngIf",t.disease)("ngIfElse",l),e.xp6(1),e.Q6J("nzTitle",t.phenotypes.length>1?"Phenotypes":"Phenotype"),e.xp6(1),e.Q6J("ngIf",t.phenotypes.length>0)("ngIfElse",m),e.xp6(1),e.Q6J("nzTitle",t.therapies.length>1?"Therapies":"Therapy"),e.xp6(1),e.Q6J("ngPlural",t.therapies.length),e.xp6(3),e.Q6J("ngIf",t.therapyInteractionType),e.xp6(1),e.Q6J("nzSpan",24),e.xp6(1),e.MGl("cvcTitle","",t.name," Assertions"),e.Q6J("evidenceId",t.id)}}function On(n,i){1&n&&e._UZ(0,"cvc-empty-value",51)}function Ln(n,i){1&n&&e._UZ(0,"cvc-empty-value",52)}let kn=(()=>{class n{constructor(t,o){var l;if(this.gql=t,this.route=o,this.statusValues=v.RTy,null==(l=this.evidenceId?this.evidenceId:+this.route.snapshot.params.evidenceId))throw new Error("Must pass in an evidence ID as an input or via the route.");this.queryRef=this.gql.watch({evidenceId:l});let m=this.queryRef.valueChanges;this.loading$=m.pipe((0,h.j)("loading"),(0,Z.O)(!0)),this.evidence$=m.pipe((0,h.j)("data","evidenceItem")),this.subscribable={entityType:v.o71.EvidenceItem,id:l}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(v.sBY),e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-summary"]],inputs:{evidenceId:"evidenceId"},decls:6,vars:3,consts:[[4,"ngIf"],["valueNotApplicable",""],["valueUnspecified",""],[3,"nzGutter"],[3,"nzSpan"],["nzLayout","vertical","nzSize","small","nzBordered","true"],["nzTitle","Statement"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Type"],["cvcAttrName","evidenceType","nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Direction"],["nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle",4,"ngIf","ngIfElse"],["nzTitle","Significance"],["nzTitle","Variant Origin"],["nz-tooltip","",3,"cvcAttrValue","nzTooltipTitle"],["nzTitle","Level"],["nz-tooltip","",3,"nzTooltipTitle"],["nzTitle","Rating"],[3,"starRating"],["nzTitle","Source"],[3,"source"],[3,"nzTitle"],[4,"ngIf","ngIfElse"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Status"],[3,"status"],[3,"user"],["submittedTitle",""],["nzTitle","Molecular Profile"],[3,"molecularProfile","enablePopover"],["nzTitle","MP Expression"],[3,"nameSegments"],["nzTitle","Disease"],[3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","other"],["nzTitle","Therapy Interaction Type",4,"ngIf"],[3,"evidenceId","cvcTitle"],[4,"ngFor","ngForOf"],[3,"clinicalTrial"],["nz-typography","","nzType","secondary"],["acceptedTitle",""],["nzTitle","Rejected"],["rejectedTitle",""],[3,"routerLink"],[3,"disease"],[3,"phenotype"],[3,"ngTemplateOutlet"],[3,"therapy"],["nzTitle","Therapy Interaction Type"],["cvcEmptyCategory","not-applicable"],["cvcEmptyCategory","unspecified"]],template:function(t,o){1&t&&(e.YNc(0,Qn,67,73,"ng-container",0),e.ALo(1,"ngrxPush"),e.YNc(2,On,1,0,"ng-template",null,1,e.W1O),e.YNc(4,Ln,1,0,"ng-template",null,2,e.W1O)),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.evidence$))},dependencies:[p.sg,p.O5,p.tP,p.iq,p.zE,d.rH,s.t3,s.SK,y.ZU,z.j,M.R7,M.uj,U.SY,He.P,nn,tn.n,an.h,on.$,cn.I,sn.G,rn.T,ln.i,pn.T,gn.x,dn.z,O.p,mn.C,p.rS,C.fM,vn.v,un.x],styles:["[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-label{font-weight:500}[_nghost-%COMP%] nz-descriptions .ant-descriptions-header{margin-top:4px;margin-bottom:4px;padding-left:8px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-title{font-weight:500;color:#00000073;font-size:12px}[_nghost-%COMP%] nz-descriptions .ant-descriptions-item-content p:last-of-type{margin-bottom:0}[_nghost-%COMP%]{display:block}.summary-block[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto}"]}),n})();var Un=a(7441);let Bn=(()=>{class n{constructor(t){this.route=t,this.subscribable={id:+this.route.snapshot.params.evidenceId,entityType:v.o71.EvidenceItem}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(t,o){1&t&&e._UZ(0,"cvc-event-feed",0),2&t&&e.Q6J("subscribable",o.subscribable)},dependencies:[Un.o],styles:["[_nghost-%COMP%]{display:block}"]}),n})();var Rn=a(9894);let Fn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[p.ez,Rn.t]}),n})();const Yn=[{path:"",component:xe,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:kn,data:{breadcrumb:"Summary"}},{path:"comments",component:Ce,data:{breadcrumb:"Comments"}},{path:"revisions",component:De,data:{breadcrumb:"Revisions"}},{path:"flags",component:Pe,data:{breadcrumb:"Flags"}},{path:"events",component:Bn,data:{breadcrumb:"Events"}}]}];let Vn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[d.Bz.forChild(Yn),Ge,Ee,Je,Ze,Fn,d.Bz]}),n})();var jn=a(7129),$n=a(3786),Wn=a(8380),Gn=a(4059),Hn=a(936);let Kn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[p.ez,Vn,N.L,S.sL,s.Jb,f.PV,z.X,_.KJ,u.zf,y.ZJ,E.D,A.m,jn.g,A.m,Wn.P,k.s,$n.G,E.D,Gn.c,Hn.Z,L.u]}),n})()},4139:(Y,T,a)=>{a.d(T,{H0:()=>P});var p=a(5879),E=a(6814),u=a(9388);let P=(()=>{class r{}return r.\u0275fac=function(c){return new(c||r)},r.\u0275mod=p.oAB({type:r}),r.\u0275inj=p.cJS({imports:[u.vT,E.ez]}),r})()}}]); \ No newline at end of file diff --git a/server/public/9896.45d9ccf8c4a64da9.js b/server/public/9896.45d9ccf8c4a64da9.js deleted file mode 100644 index 10a182767..000000000 --- a/server/public/9896.45d9ccf8c4a64da9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9896],{3327:(C,y,n)=>{n.d(y,{C:()=>v,w:()=>t});const t={geneId:void 0,variantId:void 0,significance:void 0,description:void 0,diseaseId:void 0,therapyIds:void 0,therapyInteractionType:void 0,evidenceDirection:void 0,evidenceLevel:void 0,evidenceType:void 0,molecularProfileId:void 0,phenotypeIds:void 0,rating:void 0,sourceId:void 0,variantOrigin:void 0},v={clientMutationId:void 0,fields:t,comment:void 0,organizationId:void 0}},5451:(C,y,n)=>{n.d(y,{lG:()=>f,yQ:()=>a});var t=n(915),v=n(7630),o=n(7579),S=n(444),a=(()=>{return(c=a||(a={})).EVIDENCE="Evidence",c.ASSERTION="Assertion",a;var c})();class f{constructor(h){this.formReady$=new o.x,this.formLayout="vertical",this.validStates=new Map,this.typeOption$=new o.x,this.requiresTherapy$=new o.x,this.requiresDisease$=new o.x,this.requiresAcmgCode$=new o.x,this.requiresAmpLevel$=new o.x,this.requiresClingenCode$=new o.x,this.allowsFdaApproval$=new o.x,this.getTypeOptions=()=>this.entityName==a.ASSERTION?(0,S.o6)(v.uBv).map(r=>r):(0,S.o6)(v.kqt).map(r=>r),this.getSignificanceOptions=r=>this.validStates.get(r)?.significance||[],this.getInteractionOptions=()=>(0,S.o6)(v.wkr).map(r=>r),this.isValidSignificanceOption=(r,l)=>{const _=this.validStates.get(r);return!_||_.significance.includes(l)},this.getDirectionOptions=r=>this.validStates.get(r)?.entityDirection||[],this.isValidDirectionOption=(r,l)=>{const _=this.validStates.get(r);return!_||_.entityDirection.includes(l)},this.requiresTherapy=r=>{const l=this.validStates.get(r);return void 0===l||l.requiresTherapy},this.requiresDisease=r=>{const l=this.validStates.get(r);return void 0===l||l.requiresDisease},this.requiresAcmgCodes=r=>{const l=this.validStates.get(r);return void 0===l||l.requiresAcmgCodes},this.requiresAmpLevel=r=>{const l=this.validStates.get(r);return void 0===l||l.requiresAmpLevel},this.requiresClingenCodes=r=>{const l=this.validStates.get(r);return void 0===l||l.requiresClingenCodes},this.allowsFdaApproval=r=>{const l=this.validStates.get(r);return void 0===l||l.allowsFdaApproval},this.getOptionsFromEnums=r=>0===r.length?[]:r.map(l=>({value:l,label:(0,t.E)(l)})),this.fields={},this.options={},this.enums={},this.requires={},this.entityName=h,this.pluralNames=new Map,this.pluralNames.set(a.ASSERTION,"Assertions"),this.pluralNames.set(a.EVIDENCE,"Evidence")}onDestroy(){}}},9637:(C,y,n)=>{n.d(y,{_:()=>i});var t=n(7630),v=n(9933),o=n(1135),S=n(3327),a=n(5451);class i extends a.lG{constructor(){super(a.yQ.EVIDENCE);const c=S.w;this.fields={molecularProfileId$:new o.X(c.molecularProfileId),variantId$:new o.X(c.variantId),variantMolecularProfile$:new o.X(void 0),geneId$:new o.X(c.geneId),evidenceType$:new o.X(c.evidenceType),evidenceLevel$:new o.X(c.evidenceLevel),evidenceDirection$:new o.X(c.evidenceDirection),significance$:new o.X(c.significance),variantOrigin$:new o.X(c.variantOrigin),diseaseId$:new o.X(c.diseaseId),therapyIds$:new o.X(c.therapyIds),therapyInteractionType$:new o.X(c.therapyInteractionType),rating$:new o.X(c.rating),phenotypeIds$:new o.X(c.phenotypeIds),sourceId$:new o.X(c.sourceId)},this.enums={entityType$:new o.X(this.getTypeOptions()),significance$:new o.X([]),direction$:new o.X([]),interaction$:new o.X(this.getInteractionOptions())},this.requires={requiresDisease$:new o.X(!1),requiresTherapy$:new o.X(!1),requiresTherapyInteractionType$:new o.X(!1),requiresClingenCodes$:new o.X(!1),requiresAcmgCodes$:new o.X(!1),requiresAmpLevel$:new o.X(!1),allowsFdaApproval$:new o.X(!1)},this.fields.evidenceType$.pipe((0,v.t)(this,"onDestroy")).subscribe(h=>{if(!h)return Object.entries(this.requires).forEach(([r,l])=>{l.next(!1)}),this.enums.significance$.next([]),void this.enums.direction$.next([]);this.enums.significance$.next(this.getSignificanceOptions(h)),this.enums.direction$.next(this.getDirectionOptions(h)),this.requires.requiresDisease$.next(this.requiresDisease(h)),this.requires.requiresTherapy$.next(this.requiresTherapy(h)),this.requires.requiresTherapyInteractionType$.next(this.requiresTherapy(h)),this.requires.requiresClingenCodes$.next(this.requiresClingenCodes(h)),this.requires.requiresAcmgCodes$.next(this.requiresAcmgCodes(h)),this.requires.allowsFdaApproval$.next(this.allowsFdaApproval(h))}),this.fields.therapyIds$.pipe((0,v.t)(this,"onDestroy")).subscribe(h=>{this.requires.requiresTherapyInteractionType$.next(!!h&&h.length>1)}),this.validStates.set(t.kqt.Predictive,{entityType:t.kqt.Predictive,significance:[t.y1h.Sensitivityresponse,t.y1h.Resistance,t.y1h.AdverseResponse,t.y1h.ReducedSensitivity,t.y1h.Na],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!0,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Diagnostic,{entityType:t.kqt.Diagnostic,significance:[t.y1h.Positive,t.y1h.Negative],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Prognostic,{entityType:t.kqt.Prognostic,significance:[t.y1h.BetterOutcome,t.y1h.PoorOutcome,t.y1h.Na],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Oncogenic,{entityType:t.kqt.Oncogenic,significance:[t.y1h.Oncogenicity,t.y1h.Protectiveness],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Predisposing,{entityType:t.kqt.Predisposing,significance:[t.y1h.Predisposition,t.y1h.Protectiveness],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!0,requiresTherapy:!1,requiresClingenCodes:!1,requiresAcmgCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1}),this.validStates.set(t.kqt.Functional,{entityType:t.kqt.Functional,significance:[t.y1h.GainOfFunction,t.y1h.LossOfFunction,t.y1h.UnalteredFunction,t.y1h.Neomorphic,t.y1h.DominantNegative,t.y1h.Unknown],entityDirection:[t.tI1.Supports,t.tI1.DoesNotSupport],requiresDisease:!1,requiresTherapy:!1,requiresAcmgCodes:!1,requiresClingenCodes:!1,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},3612:(C,y,n)=>{function t(v,o){const S=(i,f)=>{let c;for(let h of i)if(h.fieldGroup)c=S(h.fieldGroup,f);else if(h.key===f){c=h;break}return c},a=(i,f)=>{for(let c of Object.keys(f))if(f[c]instanceof Object&&!Array.isArray(f[c]))a(i,f[c]);else{const h=S(i,c);h&&(h.defaultValue=f[c])}return i};return a(v,o)}n.d(y,{Z:()=>t})},7404:(C,y,n)=>{n.d(y,{Ct:()=>o,I9:()=>S,ux:()=>v});var t=n(9289);function v(a){return{significance:a.significance,description:a.description,diseaseId:a.disease?.id,therapyIds:a.therapies.map(i=>i.id),therapyInteractionType:a.therapyInteractionType,evidenceDirection:a.evidenceDirection,evidenceLevel:a.evidenceLevel,evidenceType:a.evidenceType,molecularProfileId:a.molecularProfile.id,phenotypeIds:a.phenotypes.map(i=>i.id),rating:a.evidenceRating,sourceId:a.source.id,variantOrigin:a.variantOrigin}}function o(a,i){let f=S(i);if(f)return{id:a,comment:f.comment,organizationId:f.organizationId,fields:f.fields}}function S(a){const i=a.fields;if(![i.molecularProfileId,i.variantOrigin,i.sourceId,i.evidenceType,i.significance,i.evidenceLevel,i.evidenceDirection,i.rating].find(c=>void 0===c))return{fields:{molecularProfileId:i.molecularProfileId,variantOrigin:i.variantOrigin,sourceId:i.sourceId,evidenceType:i.evidenceType,significance:i.significance,evidenceLevel:i.evidenceLevel,evidenceDirection:i.evidenceDirection,rating:i.rating,description:t.xt(i.description),diseaseId:t.uP(i.diseaseId),phenotypeIds:i.phenotypeIds?i.phenotypeIds:[],therapyIds:i.therapyIds?i.therapyIds:[],therapyInteractionType:t.uP(i.therapyInteractionType)},organizationId:a.organizationId,comment:a.comment}}},9793:(C,y,n)=>{n.r(y),n.d(y,{EvidenceReviseModule:()=>P});var t=n(6895),v=n(9386),o=n(5630),S=n(9444),a=n(4623),i=n(2635),f=n(3679),c=n(4126),h=n(1102),r=n(5655),l=n(6903),_=n(8823),I=n(9116),q=n(8675),$=n(4004),E=n(6579),e=n(4650),L=n(7630),R=n(9350),F=n(5105),O=n(8992),p=n(8616),g=n(160);function s(d,u){if(1&d&&(e.TgZ(0,"span",12)(1,"strong"),e._uU(2),e.qZA(),e._uU(3," Parents:"),e.qZA()),2&d){const z=e.oxw(2).ngIf;e.xp6(2),e.Oqu(z.name)}}function m(d,u){if(1&d&&(e.TgZ(0,"span",13),e._UZ(1,"cvc-molecular-profile-tag",14),e.qZA()),2&d){const z=e.oxw(2).ngIf;e.xp6(1),e.Q6J("molecularProfile",z.molecularProfile)("enablePopover",!1)}}function A(d,u){1&d&&(e.TgZ(0,"nz-space",9),e.YNc(1,s,4,1,"span",10),e.YNc(2,m,2,2,"span",11),e.qZA())}function b(d,u){1&d&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function B(d,u){1&d&&(e.TgZ(0,"nz-row",15)(1,"div",16),e._UZ(2,"cvc-login-prompt"),e.qZA()())}function U(d,u){if(1&d&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.YNc(2,A,3,0,"ng-template",null,2,e.W1O),e.TgZ(4,"nz-page-header",3)(5,"nz-page-header-title",4),e._uU(6," REVISE "),e._UZ(7,"i",5),e.ALo(8,"entityColor"),e._uU(9),e.qZA(),e.TgZ(10,"nz-page-header-content")(11,"div",6),e.YNc(12,b,2,0,"div",7),e.ALo(13,"ngrxPush"),e.YNc(14,B,3,0,"ng-template",null,8,e.W1O),e.qZA()()(),e.BQk()),2&d){const z=u.ngIf,N=e.MAs(3),M=e.MAs(15),w=e.oxw();e.xp6(1),e.Q6J("displayName",z.name)("relationsTpl",N),e.xp6(6),e.Q6J("nzTwotoneColor",e.lcZ(8,6,"EvidenceItem")),e.xp6(2),e.hij(" ",z.name," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(13,8,w.isSignedIn$))("ngIfElse",M)}}class k{constructor(u,z,N){this.gql=u,this.route=z,this.viewerService=N,this.routeSub=this.route.params.subscribe(M=>{let w=this.gql.watch({evidenceId:+M.evidenceId}).valueChanges;this.loading$=w.pipe((0,E.j)("loading"),(0,q.O)(!0)),this.evidence$=w.pipe((0,E.j)("data","evidenceItem")),this.commentsTotal$=this.evidence$.pipe((0,E.j)("comments","totalCount")),this.flagsTotal$=this.evidence$.pipe((0,E.j)("flags","totalCount")),this.revisionsTotal$=this.evidence$.pipe((0,E.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,$.U)(u=>u.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}k.\u0275fac=function(u){return new(u||k)(e.Y36(L.pHu),e.Y36(I.gz),e.Y36(R.a))},k.\u0275cmp=e.Xpm({type:k,selectors:[["cvc-evidence-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["evidenceRelations",""],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"molecularProfile","enablePopover"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(u,z){1&u&&(e.YNc(0,U,16,10,"ng-container",0),e.ALo(1,"async")),2&u&&e.Q6J("ngIf",e.lcZ(1,1,z.evidence$))},dependencies:[t.O5,I.lC,r.$O,r.u9,r.u5,l.NU,l.$1,f.t3,f.SK,h.Ls,_.ZU,F.p,O.I,p.u,t.Ov,i.fM,g.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]});var X=n(1971),Z=n(545),j=n(9780);class T{}T.\u0275fac=function(u){return new(u||T)},T.\u0275mod=e.oAB({type:T}),T.\u0275inj=e.cJS({imports:[t.ez,i._N,i.pP,f.Jb,X.vh,Z.H0,l.zf,j.A]});var V=n(9201);function W(d,u){if(1&d&&(e.ynx(0),e._UZ(1,"cvc-evidence-revise-form",2),e.BQk()),2&d){const z=e.oxw();e.xp6(1),e.Q6J("evidenceId",z.evidenceId)}}function J(d,u){1&d&&e._uU(0,"Loading Evidence...")}class D{constructor(u){this.route=u,this.routeParams$=this.route.params.subscribe(z=>{this.evidenceId=+z.evidenceId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}D.\u0275fac=function(u){return new(u||D)(e.Y36(I.gz))},D.\u0275cmp=e.Xpm({type:D,selectors:[["cvc-evidence-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingEvidence",""],[3,"evidenceId"]],template:function(u,z){if(1&u&&(e.YNc(0,W,2,1,"ng-container",0),e.YNc(1,J,1,0,"ng-template",null,1,e.W1O)),2&u){const N=e.MAs(2);e.Q6J("ngIf",z.evidenceId)("ngIfElse",N)}},dependencies:[t.O5,V.r],encapsulation:2});const K=[{path:"",component:k,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:D,data:{breadcrumb:"Suggest Revision"}}]}];class x{}x.\u0275fac=function(u){return new(u||x)},x.\u0275mod=e.oAB({type:x}),x.\u0275inj=e.cJS({imports:[I.Bz.forChild(K),T,I.Bz]});class P{}P.\u0275fac=function(u){return new(u||P)},P.\u0275mod=e.oAB({type:P}),P.\u0275inj=e.cJS({imports:[t.ez,i._N,i.pP,x,r.KJ,l.zf,f.Jb,h.PV,_.ZJ,l.zf,c.u,S.s,o.D,a.K,v.a]})},545:(C,y,n)=>{n.d(y,{H0:()=>O});var t=n(4650),v=n(6895),o=n(445);let O=(()=>{class p{}return p.\u0275fac=function(s){return new(s||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[o.vT,v.ez]}),p})()}}]); \ No newline at end of file diff --git a/server/public/9939.11664881162fd2af.js b/server/public/9939.11664881162fd2af.js new file mode 100644 index 000000000..b578069e7 --- /dev/null +++ b/server/public/9939.11664881162fd2af.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[9939],{9939:(x,i,o)=>{o.r(i),o.d(i,{AssertionAddModule:()=>b});var d=o(6814),s=o(4190),e=o(5879),r=o(6254),p=o(551),c=o(3145),g=o(2616);let h=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-assertion-add"]],decls:9,vars:3,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[1,"content"]],template:function(n,M){1&n&&(e._UZ(0,"cvc-section-navigation",0),e.TgZ(1,"nz-page-header",1)(2,"nz-page-header-title",2),e._UZ(3,"i",3),e.ALo(4,"entityColor"),e._uU(5," Submit New Assertion "),e.qZA(),e.TgZ(6,"nz-page-header-content")(7,"div",4),e._UZ(8,"router-outlet"),e.qZA()()()),2&n&&(e.xp6(3),e.Q6J("nzTwotoneColor",e.lcZ(4,1,"Assertion")))},dependencies:[s.lC,r.$O,r.u9,r.u5,p.Ls,c.I,g.a],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{flex-wrap:nowrap;background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();var f=o(4975);let l=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[d.ez,f.E]}),t})();var u=o(1689);const m=[{path:"",component:h,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-assertion-submit"]],decls:1,vars:0,template:function(n,M){1&n&&e._UZ(0,"cvc-assertion-submit-form")},dependencies:[u.u],encapsulation:2}),t})(),data:{breadcrumb:"Submit New Assertion"}}]}];let A=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[s.Bz.forChild(m),l,s.Bz]}),t})();var z=o(2419),y=o(2524);let b=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[d.ez,A,r.KJ,p.PV,z.D,y.s]}),t})()}}]); \ No newline at end of file diff --git a/server/public/assets/.sprockets-manifest-fb85a451bf10da5ba5b21d63cebf9e13.json b/server/public/assets/.sprockets-manifest-22ac7fed5dbcca6a4f46c62baaf8eea0.json similarity index 83% rename from server/public/assets/.sprockets-manifest-fb85a451bf10da5ba5b21d63cebf9e13.json rename to server/public/assets/.sprockets-manifest-22ac7fed5dbcca6a4f46c62baaf8eea0.json index 70d366e4e..8ef44a079 100644 --- a/server/public/assets/.sprockets-manifest-fb85a451bf10da5ba5b21d63cebf9e13.json +++ b/server/public/assets/.sprockets-manifest-22ac7fed5dbcca6a4f46c62baaf8eea0.json @@ -1 +1 @@ -{"files":{"trestle/admin-a57365df3923e0bbc46c90a536118c5b30f5eebb53a50ca90a04fe7d959bddb5.css":{"logical_path":"trestle/admin.css","mtime":"2023-07-13T17:21:09+00:00","size":328058,"digest":"f864466a650de6131d18764607cf01a9ca78f3501f2b3d24c9f88aaa403a3c16","integrity":"sha256-+GRGamUN5hMdGHZGB88Bqcp481AfKz0kyfiKqkA6PBY="},"trestle/fa-regular-400-4a9a9ccf3ccc2ce775695dcdab2e36f48a6db5876a7acf2c6bcb76912af65c87.eot":{"logical_path":"trestle/fa-regular-400.eot","mtime":"2023-07-13T17:21:09+00:00","size":34034,"digest":"79d088064beb3826054fb88165416235897a856ca952fca1498b1c59b16aaa48","integrity":"sha256-edCIBkvrOCYFT7iBZUFiNYl6hWypUvyhSYscWbFqqkg="},"trestle/fa-regular-400-6cfa156c0f937f0ce08c02e342067be2f4ba4db29abba244f90c27a223f96acc.woff2":{"logical_path":"trestle/fa-regular-400.woff2","mtime":"2023-07-13T17:21:09+00:00","size":13224,"digest":"e42a88444448ac3d60549cc7c1ff2c8a9cac721034c073d80a14a44e79730cca","integrity":"sha256-5CqIRERIrD1gVJzHwf8sipyschA0wHPYChSkTnlzDMo="},"trestle/fa-regular-400-5cc917c41d445fd002c151f518d442eff06969dd30c4d155b9ec3693f74677df.woff":{"logical_path":"trestle/fa-regular-400.woff","mtime":"2023-07-13T17:21:09+00:00","size":16276,"digest":"cb9e9e693192413cde2b1f21c1dc1d44b6fe7b27cc2b458e8b359d18f9ff8f4e","integrity":"sha256-y56eaTGSQTzeKx8hwdwdRLb+eyfMK0WOizWdGPn/j04="},"trestle/fa-regular-400-ca2fb9c9ed4e86200e0b14a4fe17772d353db275c0cd506a43f15c28146001e3.ttf":{"logical_path":"trestle/fa-regular-400.ttf","mtime":"2023-07-13T17:21:09+00:00","size":33736,"digest":"e8711bbb871afd8e9dea60e16d30f00c7e4837bbc9807065017475b849fa2313","integrity":"sha256-6HEbu4ca/Y6d6mDhbTDwDH5IN7vJgHBlAXR1uEn6IxM="},"trestle/fa-regular-400-164fd2bef125a58606a240ecb88eaf01039045bac6615b3c58c6260a03b4411d.svg":{"logical_path":"trestle/fa-regular-400.svg","mtime":"2023-07-13T17:21:09+00:00","size":144714,"digest":"be0a084962d8066884f7fe9bd27ec16e51f5a93b72a502c92c5a24dc87eb2ebc","integrity":"sha256-vgoISWLYBmiE9/6b0n7BblH1qTtypQLJLFok3IfrLrw="},"trestle/fa-solid-900-9e3bdf4b406af9baa46bf60e1903449bb4314aeb868fcbae3e95de479633205e.eot":{"logical_path":"trestle/fa-solid-900.eot","mtime":"2023-07-13T17:21:09+00:00","size":203030,"digest":"373c04fd2418f5c77eea49d514731058f1907a94ff3b4e5d7c3e5767e8b53d8b","integrity":"sha256-NzwE/SQY9cd+6knVFHMQWPGQepT/O05dfD5XZ+i1PYs="},"trestle/fa-solid-900-3700f19f26d7519a6dad2354a996452064156d978bc0bcfc6f74555e6a881bf6.woff2":{"logical_path":"trestle/fa-solid-900.woff2","mtime":"2023-07-13T17:21:09+00:00","size":78268,"digest":"9834b82ad26e2a37583d22676a12dd2eb0fe7c80356a2114d0db1aa8b3899537","integrity":"sha256-mDS4KtJuKjdYPSJnahLdLrD+fIA1aiEU0NsaqLOJlTc="},"trestle/fa-solid-900-7be9c1dc2418c499534a48ee49c2d27f4fef5a5aee4f30f75b4c9ae2e6a9c6da.woff":{"logical_path":"trestle/fa-solid-900.woff","mtime":"2023-07-13T17:21:09+00:00","size":101648,"digest":"3f6d3488cf65374f6f676c315340b0ac2be832bd55240c809448e36ef9b96326","integrity":"sha256-P200iM9lN09vZ2wxU0CwrCvoMr1VJAyAlEjjbvm5YyY="},"trestle/fa-solid-900-a12cebc5d1f2b9dd9d81bb7f2dfc989ce35868092ef46c1098afb09f257d4c2b.ttf":{"logical_path":"trestle/fa-solid-900.ttf","mtime":"2023-07-13T17:21:09+00:00","size":202744,"digest":"af6397503fcefbd613976c21ad5c1e37298c18bbe07d096db03ccd3af6e05ba8","integrity":"sha256-r2OXUD/O+9YTl2whrVweNymMGLvgfQltsDzNOvbgW6g="},"trestle/fa-solid-900-33e728329ea58ca0ddc5f1002bb9a744a02d5679b12103ca30373e687aed1698.svg":{"logical_path":"trestle/fa-solid-900.svg","mtime":"2023-07-13T17:21:09+00:00","size":918991,"digest":"9674eb1bd5504717903837093a67668ea88f2ed006d91367d0d4b7aa1f9211fc","integrity":"sha256-lnTrG9VQRxeQODcJOmdmjqiPLtAG2RNn0NS3qh+SEfw="},"trestle/fa-brands-400-53b75d467dcd047612f6a7f25b3c68bd845b551aedf1b397e0f09f99d887bd0c.eot":{"logical_path":"trestle/fa-brands-400.eot","mtime":"2023-07-13T17:21:09+00:00","size":134294,"digest":"e4299464e7b012968eed63ac2db1c9509f56bca409ef9f71f2926a8c3c80b2a9","integrity":"sha256-5CmUZOewEpaO7WOsLbHJUJ9WvKQJ759x8pJqjDyAsqk="},"trestle/fa-brands-400-12a387beb2f100bb320b09c518af672c7aadac8641901823571385403268ec18.woff2":{"logical_path":"trestle/fa-brands-400.woff2","mtime":"2023-07-13T17:21:09+00:00","size":76736,"digest":"8ea8791754915a898a3100e63e32978a6d1763be6df8e73a39d3a90d691cdeef","integrity":"sha256-jqh5F1SRWomKMQDmPjKXim0XY75t+Oc6OdOpDWkc3u8="},"trestle/fa-brands-400-7424d5bc8c3fa6f7e7962c5512305c907cf16c0d89c09468df2c591e1d2f82a7.woff":{"logical_path":"trestle/fa-brands-400.woff","mtime":"2023-07-13T17:21:09+00:00","size":89988,"digest":"f9217f66874b0c01cd8c10b6a295dbc4f609acb6f5adc41c37da46641b57eb02","integrity":"sha256-+SF/ZodLDAHNjBC2opXbxPYJrLb1rcQcN9pGZBtX6wI="},"trestle/fa-brands-400-82e5e53767e293a56080dd2d4e3db91764d85f002ea1706a99459d903ebf8f95.ttf":{"logical_path":"trestle/fa-brands-400.ttf","mtime":"2023-07-13T17:21:09+00:00","size":133988,"digest":"cda59d6efffa685830fd95b55f64ae9cb51279cd34b2410b69f84c7ec30157d9","integrity":"sha256-zaWdbv/6aFgw/ZW1X2SunLUSec00skELafhMfsMBV9k="},"trestle/fa-brands-400-effd4e273b1d4c0a8f825e6e7593f0442651935fb12c0c4781bc54205a054d34.svg":{"logical_path":"trestle/fa-brands-400.svg","mtime":"2023-07-13T17:21:09+00:00","size":747927,"digest":"a3b9817780214caf01e8aec20bcdc2305a1ff34a15fae81ecd0923df9cd5cd0a","integrity":"sha256-o7mBd4AhTK8B6K7CC83CMFof80oV+ugezQkj35zVzQo="},"trestle/admin-e0e7f043d43c95dc24a3a2fba514e2916012d32240f8dbc11b9b0e4679852f47.js":{"logical_path":"trestle/admin.js","mtime":"2023-07-13T17:21:09+00:00","size":384495,"digest":"693af0bd16d1ebd9399c4df171bae5cf01c963c86bae45c57af432d54dfd003e","integrity":"sha256-aTrwvRbR69k5nE3xcbrlzwHJY8hrrkXFevQy1U39AD4="},"trestle/custom-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css":{"logical_path":"trestle/custom.css","mtime":"2023-07-13T17:21:09+00:00","size":0,"digest":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","integrity":"sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="},"trestle/search-303d3dbb97749a6ac23ed964dfde754f56146915dca7ba28284b8405562d3ec8.css":{"logical_path":"trestle/search.css","mtime":"2023-07-13T17:21:09+00:00","size":530,"digest":"5fd53643dc178d1a9bc0a7508aa4ea2b17368d1b90ce9ca80aff5880a7c6a2e8","integrity":"sha256-X9U2Q9wXjRqbwKdQiqTqKxc2jRuQzpyoCv9YgKfGoug="},"manifest-b84bfa46a33d7f0dc4d2e7b8889486c9a957a5e40713d58f54be71b66954a1ff.js":{"logical_path":"manifest.js","mtime":"2023-07-13T17:21:09+00:00","size":4,"digest":"545c38b0922de19734fbffde62792c37c2aef6a3216cfa472449173165220f7d","integrity":"sha256-VFw4sJIt4Zc0+//eYnksN8Ku9qMhbPpHJEkXMWUiD30="},"application-b324c44f04a0d0da658824105489a2676d49df561c3d06723770321fd441977c.css":{"logical_path":"application.css","mtime":"2023-07-13T17:21:09+00:00","size":675,"digest":"4998ce12ecefa6ba42de36e4beac458527529608f8cf0fe6c97acd87850045e4","integrity":"sha256-SZjOEuzvprpC3jbkvqxFhSdSlgj4zw/myXrNh4UAReQ="},"graphiql/rails/application-71827c241c0660cd42f13f968446d06b8b2259896562b3c75bf5e49fdc9d48f9.css":{"logical_path":"graphiql/rails/application.css","mtime":"2023-07-13T17:21:09+00:00","size":34949,"digest":"5bb68625e0c7ddf3eece980e20001faed96197d338dca5fa33e0f5da8a060deb","integrity":"sha256-W7aGJeDH3fPuzpgOIAAfrtlhl9M43KX6M+D12ooGDes="},"graphiql/rails/application-c188dd7e290410468ed6517312098e013ba4b0cb6c05e4339c28ce7baed7cfad.js":{"logical_path":"graphiql/rails/application.js","mtime":"2023-07-13T17:21:09+00:00","size":5694981,"digest":"d78230954080343c556e7465ad58ff8802dc2c2455d2e14983801a14c3dd0036","integrity":"sha256-14IwlUCANDxVbnRlrVj/iALcLCRV0uFJg4AaFMPdADY="},"trestle/theme-15b7653adc7bf2f6c7a4bddee193f4c61a34e812242d4f32f3e234abaa4b7895.css":{"logical_path":"trestle/theme.css","mtime":"2023-07-13T17:21:09+00:00","size":18638,"digest":"6fc27e1defe878adad3537b7b479493c658ddc74fea8cb576116de88ee9354ea","integrity":"sha256-b8J+He/oeK2tNTe3tHlJPGWN3HT+qMtXYRbeiO6TVOo="}},"assets":{"trestle/admin.css":"trestle/admin-a57365df3923e0bbc46c90a536118c5b30f5eebb53a50ca90a04fe7d959bddb5.css","trestle/fa-regular-400.eot":"trestle/fa-regular-400-4a9a9ccf3ccc2ce775695dcdab2e36f48a6db5876a7acf2c6bcb76912af65c87.eot","trestle/fa-regular-400.woff2":"trestle/fa-regular-400-6cfa156c0f937f0ce08c02e342067be2f4ba4db29abba244f90c27a223f96acc.woff2","trestle/fa-regular-400.woff":"trestle/fa-regular-400-5cc917c41d445fd002c151f518d442eff06969dd30c4d155b9ec3693f74677df.woff","trestle/fa-regular-400.ttf":"trestle/fa-regular-400-ca2fb9c9ed4e86200e0b14a4fe17772d353db275c0cd506a43f15c28146001e3.ttf","trestle/fa-regular-400.svg":"trestle/fa-regular-400-164fd2bef125a58606a240ecb88eaf01039045bac6615b3c58c6260a03b4411d.svg","trestle/fa-solid-900.eot":"trestle/fa-solid-900-9e3bdf4b406af9baa46bf60e1903449bb4314aeb868fcbae3e95de479633205e.eot","trestle/fa-solid-900.woff2":"trestle/fa-solid-900-3700f19f26d7519a6dad2354a996452064156d978bc0bcfc6f74555e6a881bf6.woff2","trestle/fa-solid-900.woff":"trestle/fa-solid-900-7be9c1dc2418c499534a48ee49c2d27f4fef5a5aee4f30f75b4c9ae2e6a9c6da.woff","trestle/fa-solid-900.ttf":"trestle/fa-solid-900-a12cebc5d1f2b9dd9d81bb7f2dfc989ce35868092ef46c1098afb09f257d4c2b.ttf","trestle/fa-solid-900.svg":"trestle/fa-solid-900-33e728329ea58ca0ddc5f1002bb9a744a02d5679b12103ca30373e687aed1698.svg","trestle/fa-brands-400.eot":"trestle/fa-brands-400-53b75d467dcd047612f6a7f25b3c68bd845b551aedf1b397e0f09f99d887bd0c.eot","trestle/fa-brands-400.woff2":"trestle/fa-brands-400-12a387beb2f100bb320b09c518af672c7aadac8641901823571385403268ec18.woff2","trestle/fa-brands-400.woff":"trestle/fa-brands-400-7424d5bc8c3fa6f7e7962c5512305c907cf16c0d89c09468df2c591e1d2f82a7.woff","trestle/fa-brands-400.ttf":"trestle/fa-brands-400-82e5e53767e293a56080dd2d4e3db91764d85f002ea1706a99459d903ebf8f95.ttf","trestle/fa-brands-400.svg":"trestle/fa-brands-400-effd4e273b1d4c0a8f825e6e7593f0442651935fb12c0c4781bc54205a054d34.svg","trestle/admin.js":"trestle/admin-e0e7f043d43c95dc24a3a2fba514e2916012d32240f8dbc11b9b0e4679852f47.js","trestle/custom.css":"trestle/custom-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css","trestle/search.css":"trestle/search-303d3dbb97749a6ac23ed964dfde754f56146915dca7ba28284b8405562d3ec8.css","manifest.js":"manifest-b84bfa46a33d7f0dc4d2e7b8889486c9a957a5e40713d58f54be71b66954a1ff.js","application.css":"application-b324c44f04a0d0da658824105489a2676d49df561c3d06723770321fd441977c.css","graphiql/rails/application.css":"graphiql/rails/application-71827c241c0660cd42f13f968446d06b8b2259896562b3c75bf5e49fdc9d48f9.css","graphiql/rails/application.js":"graphiql/rails/application-c188dd7e290410468ed6517312098e013ba4b0cb6c05e4339c28ce7baed7cfad.js","trestle/theme.css":"trestle/theme-15b7653adc7bf2f6c7a4bddee193f4c61a34e812242d4f32f3e234abaa4b7895.css"}} \ No newline at end of file +{"files":{"trestle/admin-a57365df3923e0bbc46c90a536118c5b30f5eebb53a50ca90a04fe7d959bddb5.css":{"logical_path":"trestle/admin.css","mtime":"2023-08-03T17:11:53+00:00","size":328058,"digest":"f864466a650de6131d18764607cf01a9ca78f3501f2b3d24c9f88aaa403a3c16","integrity":"sha256-+GRGamUN5hMdGHZGB88Bqcp481AfKz0kyfiKqkA6PBY="},"trestle/fa-regular-400-4a9a9ccf3ccc2ce775695dcdab2e36f48a6db5876a7acf2c6bcb76912af65c87.eot":{"logical_path":"trestle/fa-regular-400.eot","mtime":"2023-08-03T17:11:53+00:00","size":34034,"digest":"79d088064beb3826054fb88165416235897a856ca952fca1498b1c59b16aaa48","integrity":"sha256-edCIBkvrOCYFT7iBZUFiNYl6hWypUvyhSYscWbFqqkg="},"trestle/fa-regular-400-6cfa156c0f937f0ce08c02e342067be2f4ba4db29abba244f90c27a223f96acc.woff2":{"logical_path":"trestle/fa-regular-400.woff2","mtime":"2023-08-03T17:11:53+00:00","size":13224,"digest":"e42a88444448ac3d60549cc7c1ff2c8a9cac721034c073d80a14a44e79730cca","integrity":"sha256-5CqIRERIrD1gVJzHwf8sipyschA0wHPYChSkTnlzDMo="},"trestle/fa-regular-400-5cc917c41d445fd002c151f518d442eff06969dd30c4d155b9ec3693f74677df.woff":{"logical_path":"trestle/fa-regular-400.woff","mtime":"2023-08-03T17:11:53+00:00","size":16276,"digest":"cb9e9e693192413cde2b1f21c1dc1d44b6fe7b27cc2b458e8b359d18f9ff8f4e","integrity":"sha256-y56eaTGSQTzeKx8hwdwdRLb+eyfMK0WOizWdGPn/j04="},"trestle/fa-regular-400-ca2fb9c9ed4e86200e0b14a4fe17772d353db275c0cd506a43f15c28146001e3.ttf":{"logical_path":"trestle/fa-regular-400.ttf","mtime":"2023-08-03T17:11:53+00:00","size":33736,"digest":"e8711bbb871afd8e9dea60e16d30f00c7e4837bbc9807065017475b849fa2313","integrity":"sha256-6HEbu4ca/Y6d6mDhbTDwDH5IN7vJgHBlAXR1uEn6IxM="},"trestle/fa-regular-400-164fd2bef125a58606a240ecb88eaf01039045bac6615b3c58c6260a03b4411d.svg":{"logical_path":"trestle/fa-regular-400.svg","mtime":"2023-08-03T17:11:53+00:00","size":144714,"digest":"be0a084962d8066884f7fe9bd27ec16e51f5a93b72a502c92c5a24dc87eb2ebc","integrity":"sha256-vgoISWLYBmiE9/6b0n7BblH1qTtypQLJLFok3IfrLrw="},"trestle/fa-solid-900-9e3bdf4b406af9baa46bf60e1903449bb4314aeb868fcbae3e95de479633205e.eot":{"logical_path":"trestle/fa-solid-900.eot","mtime":"2023-08-03T17:11:53+00:00","size":203030,"digest":"373c04fd2418f5c77eea49d514731058f1907a94ff3b4e5d7c3e5767e8b53d8b","integrity":"sha256-NzwE/SQY9cd+6knVFHMQWPGQepT/O05dfD5XZ+i1PYs="},"trestle/fa-solid-900-3700f19f26d7519a6dad2354a996452064156d978bc0bcfc6f74555e6a881bf6.woff2":{"logical_path":"trestle/fa-solid-900.woff2","mtime":"2023-08-03T17:11:53+00:00","size":78268,"digest":"9834b82ad26e2a37583d22676a12dd2eb0fe7c80356a2114d0db1aa8b3899537","integrity":"sha256-mDS4KtJuKjdYPSJnahLdLrD+fIA1aiEU0NsaqLOJlTc="},"trestle/fa-solid-900-7be9c1dc2418c499534a48ee49c2d27f4fef5a5aee4f30f75b4c9ae2e6a9c6da.woff":{"logical_path":"trestle/fa-solid-900.woff","mtime":"2023-08-03T17:11:53+00:00","size":101648,"digest":"3f6d3488cf65374f6f676c315340b0ac2be832bd55240c809448e36ef9b96326","integrity":"sha256-P200iM9lN09vZ2wxU0CwrCvoMr1VJAyAlEjjbvm5YyY="},"trestle/fa-solid-900-a12cebc5d1f2b9dd9d81bb7f2dfc989ce35868092ef46c1098afb09f257d4c2b.ttf":{"logical_path":"trestle/fa-solid-900.ttf","mtime":"2023-08-03T17:11:53+00:00","size":202744,"digest":"af6397503fcefbd613976c21ad5c1e37298c18bbe07d096db03ccd3af6e05ba8","integrity":"sha256-r2OXUD/O+9YTl2whrVweNymMGLvgfQltsDzNOvbgW6g="},"trestle/fa-solid-900-33e728329ea58ca0ddc5f1002bb9a744a02d5679b12103ca30373e687aed1698.svg":{"logical_path":"trestle/fa-solid-900.svg","mtime":"2023-08-03T17:11:53+00:00","size":918991,"digest":"9674eb1bd5504717903837093a67668ea88f2ed006d91367d0d4b7aa1f9211fc","integrity":"sha256-lnTrG9VQRxeQODcJOmdmjqiPLtAG2RNn0NS3qh+SEfw="},"trestle/fa-brands-400-53b75d467dcd047612f6a7f25b3c68bd845b551aedf1b397e0f09f99d887bd0c.eot":{"logical_path":"trestle/fa-brands-400.eot","mtime":"2023-08-03T17:11:53+00:00","size":134294,"digest":"e4299464e7b012968eed63ac2db1c9509f56bca409ef9f71f2926a8c3c80b2a9","integrity":"sha256-5CmUZOewEpaO7WOsLbHJUJ9WvKQJ759x8pJqjDyAsqk="},"trestle/fa-brands-400-12a387beb2f100bb320b09c518af672c7aadac8641901823571385403268ec18.woff2":{"logical_path":"trestle/fa-brands-400.woff2","mtime":"2023-08-03T17:11:53+00:00","size":76736,"digest":"8ea8791754915a898a3100e63e32978a6d1763be6df8e73a39d3a90d691cdeef","integrity":"sha256-jqh5F1SRWomKMQDmPjKXim0XY75t+Oc6OdOpDWkc3u8="},"trestle/fa-brands-400-7424d5bc8c3fa6f7e7962c5512305c907cf16c0d89c09468df2c591e1d2f82a7.woff":{"logical_path":"trestle/fa-brands-400.woff","mtime":"2023-08-03T17:11:53+00:00","size":89988,"digest":"f9217f66874b0c01cd8c10b6a295dbc4f609acb6f5adc41c37da46641b57eb02","integrity":"sha256-+SF/ZodLDAHNjBC2opXbxPYJrLb1rcQcN9pGZBtX6wI="},"trestle/fa-brands-400-82e5e53767e293a56080dd2d4e3db91764d85f002ea1706a99459d903ebf8f95.ttf":{"logical_path":"trestle/fa-brands-400.ttf","mtime":"2023-08-03T17:11:53+00:00","size":133988,"digest":"cda59d6efffa685830fd95b55f64ae9cb51279cd34b2410b69f84c7ec30157d9","integrity":"sha256-zaWdbv/6aFgw/ZW1X2SunLUSec00skELafhMfsMBV9k="},"trestle/fa-brands-400-effd4e273b1d4c0a8f825e6e7593f0442651935fb12c0c4781bc54205a054d34.svg":{"logical_path":"trestle/fa-brands-400.svg","mtime":"2023-08-03T17:11:53+00:00","size":747927,"digest":"a3b9817780214caf01e8aec20bcdc2305a1ff34a15fae81ecd0923df9cd5cd0a","integrity":"sha256-o7mBd4AhTK8B6K7CC83CMFof80oV+ugezQkj35zVzQo="},"trestle/admin-e0e7f043d43c95dc24a3a2fba514e2916012d32240f8dbc11b9b0e4679852f47.js":{"logical_path":"trestle/admin.js","mtime":"2023-08-03T17:11:53+00:00","size":384495,"digest":"693af0bd16d1ebd9399c4df171bae5cf01c963c86bae45c57af432d54dfd003e","integrity":"sha256-aTrwvRbR69k5nE3xcbrlzwHJY8hrrkXFevQy1U39AD4="},"trestle/custom-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css":{"logical_path":"trestle/custom.css","mtime":"2023-08-03T17:11:53+00:00","size":0,"digest":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","integrity":"sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="},"trestle/search-303d3dbb97749a6ac23ed964dfde754f56146915dca7ba28284b8405562d3ec8.css":{"logical_path":"trestle/search.css","mtime":"2023-08-03T17:11:53+00:00","size":530,"digest":"5fd53643dc178d1a9bc0a7508aa4ea2b17368d1b90ce9ca80aff5880a7c6a2e8","integrity":"sha256-X9U2Q9wXjRqbwKdQiqTqKxc2jRuQzpyoCv9YgKfGoug="},"manifest-b84bfa46a33d7f0dc4d2e7b8889486c9a957a5e40713d58f54be71b66954a1ff.js":{"logical_path":"manifest.js","mtime":"2023-08-03T17:11:53+00:00","size":4,"digest":"545c38b0922de19734fbffde62792c37c2aef6a3216cfa472449173165220f7d","integrity":"sha256-VFw4sJIt4Zc0+//eYnksN8Ku9qMhbPpHJEkXMWUiD30="},"application-b324c44f04a0d0da658824105489a2676d49df561c3d06723770321fd441977c.css":{"logical_path":"application.css","mtime":"2023-08-03T17:11:53+00:00","size":675,"digest":"4998ce12ecefa6ba42de36e4beac458527529608f8cf0fe6c97acd87850045e4","integrity":"sha256-SZjOEuzvprpC3jbkvqxFhSdSlgj4zw/myXrNh4UAReQ="},"graphiql/rails/application-71827c241c0660cd42f13f968446d06b8b2259896562b3c75bf5e49fdc9d48f9.css":{"logical_path":"graphiql/rails/application.css","mtime":"2023-08-03T17:11:53+00:00","size":34949,"digest":"5bb68625e0c7ddf3eece980e20001faed96197d338dca5fa33e0f5da8a060deb","integrity":"sha256-W7aGJeDH3fPuzpgOIAAfrtlhl9M43KX6M+D12ooGDes="},"graphiql/rails/application-c188dd7e290410468ed6517312098e013ba4b0cb6c05e4339c28ce7baed7cfad.js":{"logical_path":"graphiql/rails/application.js","mtime":"2023-08-03T17:11:53+00:00","size":5694981,"digest":"d78230954080343c556e7465ad58ff8802dc2c2455d2e14983801a14c3dd0036","integrity":"sha256-14IwlUCANDxVbnRlrVj/iALcLCRV0uFJg4AaFMPdADY="},"trestle/theme-15b7653adc7bf2f6c7a4bddee193f4c61a34e812242d4f32f3e234abaa4b7895.css":{"logical_path":"trestle/theme.css","mtime":"2023-08-03T17:11:53+00:00","size":18638,"digest":"6fc27e1defe878adad3537b7b479493c658ddc74fea8cb576116de88ee9354ea","integrity":"sha256-b8J+He/oeK2tNTe3tHlJPGWN3HT+qMtXYRbeiO6TVOo="}},"assets":{"trestle/admin.css":"trestle/admin-a57365df3923e0bbc46c90a536118c5b30f5eebb53a50ca90a04fe7d959bddb5.css","trestle/fa-regular-400.eot":"trestle/fa-regular-400-4a9a9ccf3ccc2ce775695dcdab2e36f48a6db5876a7acf2c6bcb76912af65c87.eot","trestle/fa-regular-400.woff2":"trestle/fa-regular-400-6cfa156c0f937f0ce08c02e342067be2f4ba4db29abba244f90c27a223f96acc.woff2","trestle/fa-regular-400.woff":"trestle/fa-regular-400-5cc917c41d445fd002c151f518d442eff06969dd30c4d155b9ec3693f74677df.woff","trestle/fa-regular-400.ttf":"trestle/fa-regular-400-ca2fb9c9ed4e86200e0b14a4fe17772d353db275c0cd506a43f15c28146001e3.ttf","trestle/fa-regular-400.svg":"trestle/fa-regular-400-164fd2bef125a58606a240ecb88eaf01039045bac6615b3c58c6260a03b4411d.svg","trestle/fa-solid-900.eot":"trestle/fa-solid-900-9e3bdf4b406af9baa46bf60e1903449bb4314aeb868fcbae3e95de479633205e.eot","trestle/fa-solid-900.woff2":"trestle/fa-solid-900-3700f19f26d7519a6dad2354a996452064156d978bc0bcfc6f74555e6a881bf6.woff2","trestle/fa-solid-900.woff":"trestle/fa-solid-900-7be9c1dc2418c499534a48ee49c2d27f4fef5a5aee4f30f75b4c9ae2e6a9c6da.woff","trestle/fa-solid-900.ttf":"trestle/fa-solid-900-a12cebc5d1f2b9dd9d81bb7f2dfc989ce35868092ef46c1098afb09f257d4c2b.ttf","trestle/fa-solid-900.svg":"trestle/fa-solid-900-33e728329ea58ca0ddc5f1002bb9a744a02d5679b12103ca30373e687aed1698.svg","trestle/fa-brands-400.eot":"trestle/fa-brands-400-53b75d467dcd047612f6a7f25b3c68bd845b551aedf1b397e0f09f99d887bd0c.eot","trestle/fa-brands-400.woff2":"trestle/fa-brands-400-12a387beb2f100bb320b09c518af672c7aadac8641901823571385403268ec18.woff2","trestle/fa-brands-400.woff":"trestle/fa-brands-400-7424d5bc8c3fa6f7e7962c5512305c907cf16c0d89c09468df2c591e1d2f82a7.woff","trestle/fa-brands-400.ttf":"trestle/fa-brands-400-82e5e53767e293a56080dd2d4e3db91764d85f002ea1706a99459d903ebf8f95.ttf","trestle/fa-brands-400.svg":"trestle/fa-brands-400-effd4e273b1d4c0a8f825e6e7593f0442651935fb12c0c4781bc54205a054d34.svg","trestle/admin.js":"trestle/admin-e0e7f043d43c95dc24a3a2fba514e2916012d32240f8dbc11b9b0e4679852f47.js","trestle/custom.css":"trestle/custom-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css","trestle/search.css":"trestle/search-303d3dbb97749a6ac23ed964dfde754f56146915dca7ba28284b8405562d3ec8.css","manifest.js":"manifest-b84bfa46a33d7f0dc4d2e7b8889486c9a957a5e40713d58f54be71b66954a1ff.js","application.css":"application-b324c44f04a0d0da658824105489a2676d49df561c3d06723770321fd441977c.css","graphiql/rails/application.css":"graphiql/rails/application-71827c241c0660cd42f13f968446d06b8b2259896562b3c75bf5e49fdc9d48f9.css","graphiql/rails/application.js":"graphiql/rails/application-c188dd7e290410468ed6517312098e013ba4b0cb6c05e4339c28ce7baed7cfad.js","trestle/theme.css":"trestle/theme-15b7653adc7bf2f6c7a4bddee193f4c61a34e812242d4f32f3e234abaa4b7895.css"}} \ No newline at end of file diff --git a/server/public/assets/application-b324c44f04a0d0da658824105489a2676d49df561c3d06723770321fd441977c.css.gz b/server/public/assets/application-b324c44f04a0d0da658824105489a2676d49df561c3d06723770321fd441977c.css.gz index 8899d03c78ba0464dd578319e65925b858839582..872c355ddb355f632a8bb203b5cc8a1d6cfe7078 100644 GIT binary patch delta 16 XcmZo+ZeeDZ@8)2*dH?iA_F6^&DlY|r delta 16 XcmZo+ZeeDZ@8)1=HQKO|y_OLGBTfWm diff --git a/server/public/assets/graphiql/rails/application-71827c241c0660cd42f13f968446d06b8b2259896562b3c75bf5e49fdc9d48f9.css.gz b/server/public/assets/graphiql/rails/application-71827c241c0660cd42f13f968446d06b8b2259896562b3c75bf5e49fdc9d48f9.css.gz index da2f570dc76bee9bfaeb790c652d726d5dd598e1..72029e1a3a8be842f2d5557267b70e9b3a716801 100644 GIT binary patch delta 16 Xcmca)bIFEXzMF&L=Ka$f*}dfeIYB(9{VDI7(Ob<#XRS|w)fhYk34X>cO;ZZVo4;GO#aNJ TkWwnCrIA)T>1B}dVOq}*`fm~* diff --git a/server/public/assets/manifest-b84bfa46a33d7f0dc4d2e7b8889486c9a957a5e40713d58f54be71b66954a1ff.js.gz b/server/public/assets/manifest-b84bfa46a33d7f0dc4d2e7b8889486c9a957a5e40713d58f54be71b66954a1ff.js.gz index 47d7b17f34112c2fde43d3591b9f4e33bdc8a817..87bd59c9234ea821c52634751b1c3498024d561b 100644 GIT binary patch literal 24 gcmb2|=3uya|8xoy^W#U49x*Xk?GA}#VPIeY0DavE&;S4c literal 24 fcmb2|=3ryF(&b7#J7;XpjfA diff --git a/server/public/assets/trestle/admin-a57365df3923e0bbc46c90a536118c5b30f5eebb53a50ca90a04fe7d959bddb5.css.gz b/server/public/assets/trestle/admin-a57365df3923e0bbc46c90a536118c5b30f5eebb53a50ca90a04fe7d959bddb5.css.gz index 237bcf8bf1a6cc93e405be0c7e9f63f5c298d266..65042993c6517f52aea4066690caf4250632bcfe 100644 GIT binary patch delta 18 acmZ3tk9plbW_I~*4u+fePj6&bzYhRNUI*C# delta 18 acmZ3tk9plbW_I~*4u)2v4IA0j?*jlqeFnV% diff --git a/server/public/assets/trestle/admin-e0e7f043d43c95dc24a3a2fba514e2916012d32240f8dbc11b9b0e4679852f47.js.gz b/server/public/assets/trestle/admin-e0e7f043d43c95dc24a3a2fba514e2916012d32240f8dbc11b9b0e4679852f47.js.gz index 44e9f4d04a001455beccd9238f9e287ea3e49145..7165b9a481d79b77ad578c0043db086bdc769ddd 100644 GIT binary patch delta 21 dcmZ4ag>B^*Hg@@L4u+fePdBn}WoJ~{1psDr2&4c2 delta 21 dcmZ4ag>B^*Hg@@L4u)2v4UOzu*%_5~0RUV-2Z#Uw diff --git a/server/public/assets/trestle/custom-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz b/server/public/assets/trestle/custom-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz index b24b4e22d4525d77c9e4faa1214a0fd0c349df08..02a2c4d76d224d5b615ab4d42dfd4c2d80cc1cfb 100644 GIT binary patch literal 20 Vcmb2|=3uya|8xoyGcyAW0020L1EK%` literal 20 Ucmb2|=3rmVenmVen;M1& delta 16 XcmbOuI7g6OzMF%g)o8;;_Ng2IC*1_l diff --git a/server/public/common.5c82d3c1f0bc6d60.js b/server/public/common.5c82d3c1f0bc6d60.js deleted file mode 100644 index 4900e7fdf..000000000 --- a/server/public/common.5c82d3c1f0bc6d60.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8592],{3384:(z,M,e)=>{e.d(M,{h:()=>v});var t=e(6895),m=e(1102),h=e(4650);class v{}v.\u0275fac=function(p){return new(p||v)},v.\u0275mod=h.oAB({type:v}),v.\u0275inj=h.cJS({imports:[t.ez,m.PV]})},8616:(z,M,e)=>{e.d(M,{u:()=>r});var t=e(4650),m=e(1912),h=e(4788),v=e(1102),u=e(8823);function p(y,d){1&y&&(t.TgZ(0,"span"),t._uU(1," You must be logged in to view this page. "),t.qZA())}function f(y,d){1&y&&t._UZ(0,"cvc-login-button")}function E(y,d){1&y&&(t.TgZ(0,"nz-typography",4),t._UZ(1,"i",5),t.qZA())}class r{}r.\u0275fac=function(d){return new(d||r)},r.\u0275cmp=t.Xpm({type:r,selectors:[["cvc-login-prompt"]],decls:7,vars:3,consts:[[3,"nzNotFoundImage","nzNotFoundContent","nzNotFoundFooter"],["contentTpl",""],["footerTpl",""],["emptyImage",""],["nzType","secondary"],["nz-icon","","nzType","login","nzTheme","outline",2,"font-size","50pt"]],template:function(d,a){if(1&d&&(t.TgZ(0,"nz-empty",0),t.YNc(1,p,2,0,"ng-template",null,1,t.W1O),t.YNc(3,f,1,0,"ng-template",null,2,t.W1O),t.qZA(),t.YNc(5,E,2,0,"ng-template",null,3,t.W1O)),2&d){const n=t.MAs(2),i=t.MAs(4),R=t.MAs(6);t.Q6J("nzNotFoundImage",R)("nzNotFoundContent",n)("nzNotFoundFooter",i)}},dependencies:[m.s,h.p9,v.Ls,u.ZU],styles:["[_nghost-%COMP%]{display:inline-block}"]})},9386:(z,M,e)=>{e.d(M,{a:()=>f});var t=e(6895),m=e(1844),h=e(4788),v=e(1102),u=e(8823),p=e(4650);class f{}f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=p.oAB({type:f}),f.\u0275inj=p.cJS({imports:[t.ez,m.B,h.Xo,v.PV,u.ZJ]})},7893:(z,M,e)=>{e.d(M,{z:()=>a});var t=e(4650),m=e(3848),h=e(1102),v=e(3679),u=e(6895),p=e(160);function f(n,i){1&n&&(t._UZ(0,"i",15),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"EvidenceItem"))}function E(n,i){1&n&&(t._UZ(0,"i",16),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Assertion"))}function r(n,i){1&n&&(t._UZ(0,"i",17),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Revision"))}function y(n,i){1&n&&(t._UZ(0,"i",18),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Comment"))}function d(n,i){1&n&&(t._UZ(0,"i",19),t.ALo(1,"entityColor")),2&n&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Source"))}class a{constructor(){}}a.\u0275fac=function(i){return new(i||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-stats-card"]],inputs:{stats:"stats",header:"header"},decls:38,vars:32,consts:[["nzGutter","8"],["nzFlex","1"],["nzTitle","Evidence Submitted",3,"nzValue","nzPrefix"],["nzTitle","Evidence Accepted",3,"nzValue","nzPrefix"],["evidenceIcon",""],["nzTitle","Assertions Submitted",3,"nzValue","nzPrefix"],["nzTitle","Assertions Accepted",3,"nzValue","nzPrefix"],["assertionIcon",""],["nzTitle","Revisions Suggested",3,"nzValue","nzPrefix"],["nzTitle","Revisions Applied",3,"nzValue","nzPrefix"],["revisionIcon",""],["nzTitle","Comments",3,"nzValue","nzPrefix"],["commentIcon",""],["nzTitle","Sources Suggested",3,"nzValue","nzPrefix"],["sourceIcon",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-comment",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"]],template:function(i,R){if(1&i&&(t.TgZ(0,"nz-row",0)(1,"nz-col",1),t._UZ(2,"nz-statistic",2),t.ALo(3,"number"),t.qZA(),t.TgZ(4,"nz-col",1),t._UZ(5,"nz-statistic",3),t.ALo(6,"number"),t.qZA()(),t.TgZ(7,"nz-row"),t.YNc(8,f,2,3,"ng-template",null,4,t.W1O),t.TgZ(10,"nz-col",1),t._UZ(11,"nz-statistic",5),t.ALo(12,"number"),t.qZA(),t.TgZ(13,"nz-col",1),t._UZ(14,"nz-statistic",6),t.ALo(15,"number"),t.qZA(),t.YNc(16,E,2,3,"ng-template",null,7,t.W1O),t.qZA(),t.TgZ(18,"nz-row",0)(19,"nz-col",1),t._UZ(20,"nz-statistic",8),t.ALo(21,"number"),t.qZA(),t.TgZ(22,"nz-col",1),t._UZ(23,"nz-statistic",9),t.ALo(24,"number"),t.qZA()(),t.TgZ(25,"nz-row"),t.YNc(26,r,2,3,"ng-template",null,10,t.W1O),t.TgZ(28,"nz-col",1),t._UZ(29,"nz-statistic",11),t.ALo(30,"number"),t.YNc(31,y,2,3,"ng-template",null,12,t.W1O),t.qZA(),t.TgZ(33,"nz-col",1),t._UZ(34,"nz-statistic",13),t.ALo(35,"number"),t.qZA(),t.YNc(36,d,2,3,"ng-template",null,14,t.W1O),t.qZA()),2&i){const D=t.MAs(9),S=t.MAs(17),O=t.MAs(27),L=t.MAs(32),P=t.MAs(37);t.xp6(2),t.Q6J("nzValue",t.lcZ(3,16,R.stats.submittedEvidenceItems))("nzPrefix",D),t.xp6(3),t.Q6J("nzValue",t.lcZ(6,18,R.stats.acceptedEvidenceItems))("nzPrefix",D),t.xp6(6),t.Q6J("nzValue",t.lcZ(12,20,R.stats.submittedAssertions))("nzPrefix",S),t.xp6(3),t.Q6J("nzValue",t.lcZ(15,22,R.stats.acceptedAssertions))("nzPrefix",S),t.xp6(6),t.Q6J("nzValue",t.lcZ(21,24,R.stats.revisions))("nzPrefix",O),t.xp6(3),t.Q6J("nzValue",t.lcZ(24,26,R.stats.appliedRevisions))("nzPrefix",O),t.xp6(6),t.Q6J("nzValue",t.lcZ(30,28,R.stats.comments))("nzPrefix",L),t.xp6(5),t.Q6J("nzValue",t.lcZ(35,30,R.stats.suggestedSources))("nzPrefix",P)}},dependencies:[m.my,h.Ls,v.t3,v.SK,u.JJ,p.a],styles:["[_nghost-%COMP%]{display:block}h5[_ngcontent-%COMP%]{font-weight:400}"]})},5013:(z,M,e)=>{e.d(M,{C:()=>y});var t=e(6895),m=e(9444),h=e(2635),v=e(1971),u=e(3679),p=e(1102),f=e(3848),E=e(8823),r=e(4650);class y{}y.\u0275fac=function(a){return new(a||y)},y.\u0275mod=r.oAB({type:y}),y.\u0275inj=r.cJS({imports:[t.ez,h._N,h.pP,f.A2,E.ZJ,p.PV,u.Jb,v.vh,m.s]})},65:(z,M,e)=>{e.d(M,{u:()=>T});var t=e(655),m=e(4006),h=e(6123),v=e(2907),u=e(7726),p=e(3122),f=e(9933);const y=(0,e(3612).Z)([{wrappers:["form-layout"],props:{submitLabel:"Submit Assertion",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"New Assertion"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0,tooltip:"A single variant (Simple Molecular Profile) or a combination of variants (Complex Molecular Profile) relevant to the curated assertion.",watchVariantMolecularProfileId:!0,colSpan:16}},{key:"assertionType",type:"type-select",props:{required:!0,colSpan:8}},{key:"assertionDirection",type:"direction-select",props:{required:!0,colSpan:8}},{key:"significance",type:"significance-select",props:{required:!0,colSpan:8}},{key:"diseaseId",type:"disease-select",props:{colSpan:8}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"ampLevel",type:"amp-category-select",props:{colSpan:8}},{key:"acmgCodeIds",type:"acmg-code-multi-select",props:{colSpan:8}},{key:"clingenCodeIds",type:"clingen-code-multi-select",props:{colSpan:8}},{key:"nccnGuidelineId",type:"nccn-guideline-select",props:{}},{key:"nccnGuidelineVersion",type:"nccn-guideline-version-input",props:{}},{key:"fdaRegulatoryApproval",type:"fda-regulatory-approval-checkbox",props:{}},{key:"fdaCompanionTest",type:"fda-companion-test-checkbox",props:{}},{key:"evidenceItemIds",type:"evidence-multi-select",props:{required:!0,isMultiSelect:!0,colSpan:24}},{key:"summary",type:"textarea",wrappers:["form-field"],props:{tooltip:"A short, one sentence summary of the Assertion",placeholder:"Enter an Assertion Summary",label:"Assertion Summary",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"A complete, original description of this Assertion. Limited to one paragraph.",placeholder:"Enter an Assertion Statement",label:"Assertion Statement",required:!0,rows:5,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment"}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Assertion"}}]}]}],v.J);var O,d=e(4650),a=e(7630),n=e(9169),i=e(6704),R=e(9116),D=e(6212),S=e(7830);const L=function(I){return["/assertions",I,"summary"]};function P(I,C){if(1&I&&(d._uU(0," View your submitted Assertion "),d.TgZ(1,"a",4),d._uU(2,"here"),d.qZA(),d._uU(3,". You will be redirected shortly. ")),2&I){const _=d.oxw();d.xp6(1),d.Q6J("routerLink",d.VKq(1,L,_.newAssertionId))}}let T=((O=class{constructor(C,_){this.submitAssertionGQL=C,this.networkErrorService=_,this.form=new m.nJ({}),this.model=v.J,this.fields=y,this.state=new u._,this.options={formState:this.state},this.submitAssertionMutator=new h.U(_)}onSubmit(C){let _=(0,p.XU)(C);_&&(this.mutationState=this.submitAssertionMutator.mutate(this.submitAssertionGQL,{input:_},void 0,g=>{this.newAssertionId=g.submitAssertion?.assertion.id,this.newAssertionUrl=`/assertions/${this.newAssertionId}/summary`}))}ngAfterViewInit(){this.state.formReady$.next(!0)}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(C){return new(C||O)(d.Y36(a.LLl),d.Y36(n.Y))},O.\u0275cmp=d.Xpm({type:O,selectors:[["cvc-assertion-submit-form"]],decls:5,vars:8,consts:[["entityType","Assertion",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"],[3,"routerLink"]],template:function(C,_){if(1&C&&(d.TgZ(0,"cvc-form-submission-status-display",0),d.YNc(1,P,4,3,"ng-template",null,1,d.W1O),d.TgZ(3,"form",2),d.NdJ("ngSubmit",function(){return _.onSubmit(_.model)}),d.TgZ(4,"formly-form",3),d.NdJ("modelChange",function(l){return _.model=l}),d.qZA()()()),2&C){const g=d.MAs(2);d.Q6J("mutationState",_.mutationState)("redirectUrl",_.newAssertionUrl)("successMessage",g),d.xp6(3),d.Q6J("formGroup",_.form),d.xp6(1),d.Q6J("form",_.form)("fields",_.fields)("model",_.model)("options",_.options)}},dependencies:[i.Lr,R.rH,m._Y,m.JL,m.sg,D.T7,S.F],encapsulation:2,changeDetection:0}),O);T=(0,t.gn)([(0,f.c)()],T)},62:(z,M,e)=>{e.d(M,{E:()=>r});var t=e(6895),m=e(6704),h=e(6616),v=e(5106),u=e(317),p=e(9676),f=e(9116),E=e(4650);class r{}r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=E.oAB({type:r}),r.\u0275inj=E.cJS({imports:[t.ez,m.U5,h.sL,f.Bz,v.S,p.g,u.s]})},9780:(z,M,e)=>{e.d(M,{A:()=>r});var t=e(6895),m=e(6704),h=e(6616),v=e(5106),u=e(317),p=e(2635),f=e(9676),E=e(4650);class r{}r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=E.oAB({type:r}),r.\u0275inj=E.cJS({imports:[t.ez,p._N,p.pP,m.U5,h.sL,v.S,f.g,u.s]})},9201:(z,M,e)=>{e.d(M,{r:()=>C});var t=e(655),m=e(4006),h=e(6123),v=e(9637),u=e(7404),p=e(9933);const d=(0,e(3612).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Evidence Item",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Evidence Item"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0}},{key:"sourceId",type:"source-select",props:{required:!0}},{key:"evidenceType",type:"type-select",props:{required:!0}},{key:"evidenceDirection",type:"direction-select",props:{required:!0,formMode:"revise"}},{key:"significance",type:"significance-select",props:{required:!0,formMode:"revise"}},{key:"diseaseId",type:"disease-select",props:{}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"evidenceLevel",type:"level-select",props:{required:!0}},{key:"rating",type:"rating",props:{required:!0}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"Your original description of evidence from published literature detailing the association or lack of association between a variant and its predictive, prognostic, diagnostic, predisposing, functional or oncogenic value. ",placeholder:"Enter an Evidence Statement",extraType:"description",description:'Data constituting personal or identifying information should not be entered (e.g. protected health information (PHI) as defined by HIPAA in the U.S. and/or comparable laws in your jurisdiction).',label:"Evidence Statement",required:!0,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Evidence Item Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{geneId:void 0,variantId:void 0,significance:void 0,description:void 0,diseaseId:void 0,drugIds:[],therapyInteractionType:void 0,evidenceDirection:void 0,evidenceLevel:void 0,evidenceType:void 0,molecularProfileId:void 0,phenotypeIds:[],rating:void 0,sourceId:void 0,variantOrigin:void 0},comment:void 0,organizationId:void 0});var L,a=e(4650),n=e(7630),i=e(9169),R=e(6895),D=e(6704),S=e(6212),O=e(7830);function P(_,g){if(1&_&&(a._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or you can view them "),a.TgZ(1,"a",4),a._uU(2,"here."),a.qZA()),2&_){const l=a.oxw();a.xp6(1),a.s9C("href",l.url,a.LSH)}}function T(_,g){if(1&_){const l=a.EpF();a.TgZ(0,"form",5),a.NdJ("ngSubmit",function(){a.CHM(l);const s=a.oxw();return a.KtG(s.onSubmit(s.model))}),a.TgZ(1,"formly-form",6),a.NdJ("modelChange",function(s){a.CHM(l);const c=a.oxw();return a.KtG(c.model=s)}),a.qZA()()}if(2&_){const l=a.oxw();a.Q6J("formGroup",l.form),a.xp6(1),a.Q6J("form",l.form)("fields",l.fields)("model",l.model)("options",l.options)}}function I(_,g){1&_&&a._uU(0," Loading Evidence Item... ")}let C=((L=class{constructor(g,l,o,s){this.revisableFieldsGQL=g,this.submitRevisionsGQL=l,this.networkErrorService=o,this.cdr=s,this.form=new m.nJ({}),this.fields=d,this.state=new v._,this.options={formState:this.state},this.reviseEvidenceMutator=new h.U(o)}ngOnInit(){this.url=`/evidence/${this.evidenceId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({evidenceId:this.evidenceId}).pipe((0,p.t)(this)).subscribe({next:({data:{evidenceItem:g}})=>{g&&(this.model={id:g.id,fields:(0,u.ux)(g)},this.cdr.detectChanges())},error:g=>{console.error("Error retrieving evidenceItem."),console.error(g)},complete:()=>{this.state.formReady$.next(!0),console.log("evidence item retrieved.")}})}onSubmit(g){if(!this.evidenceId)return;let l=(0,u.Ct)(this.evidenceId,g);l&&(this.mutationState=this.reviseEvidenceMutator.mutate(this.submitRevisionsGQL,{input:l}))}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(g){return new(g||L)(a.Y36(n.h_Y),a.Y36(n.F1Y),a.Y36(i.Y),a.Y36(a.sBO))},L.\u0275cmp=a.Xpm({type:L,selectors:[["cvc-evidence-revise-form"]],inputs:{evidenceId:"evidenceId"},decls:6,vars:5,consts:[["entityType","Evidence Item",3,"mutationState","successMessage","redirectUrl"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(g,l){if(1&g&&(a.TgZ(0,"cvc-form-submission-status-display",0),a.YNc(1,P,3,1,"ng-template",null,1,a.W1O),a.YNc(3,T,2,5,"form",2),a.YNc(4,I,1,0,"ng-template",null,3,a.W1O),a.qZA()),2&g){const o=a.MAs(2),s=a.MAs(5);a.Q6J("mutationState",l.mutationState)("successMessage",o)("redirectUrl",l.url),a.xp6(3),a.Q6J("ngIf",l.model)("ngIfElse",s)}},dependencies:[R.O5,D.Lr,m._Y,m.JL,m.sg,S.T7,O.F],encapsulation:2,changeDetection:0}),L);C=(0,t.gn)([(0,p.c)()],C)},993:(z,M,e)=>{e.d(M,{C:()=>r});var t=e(6895),m=e(6704),h=e(6616),v=e(5106),u=e(317),p=e(2635),f=e(9676),E=e(4650);class r{}r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=E.oAB({type:r}),r.\u0275inj=E.cJS({imports:[t.ez,p._N,p.pP,m.U5,h.sL,v.S,f.g,u.s]})},7456:(z,M,e)=>{e.d(M,{$:()=>g});var t=e(655),m=e(4006),h=e(9933),v=e(6123),u=e(9289);const a=(0,e(3612).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Gene",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Evidence Item"},fieldGroup:[{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"User-defined summary of the clinical relevance of this Gene.",placeholder:"Enter a Gene Summary",label:"Gene Summary",required:!1,rows:5}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",placeholder:"Please enter a comment describing your revisions.",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Gene Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{description:void 0,sourceIds:void 0},comment:void 0,organizationId:void 0});var P,n=e(4650),i=e(7630),R=e(9169),D=e(6895),S=e(6704),O=e(6212),L=e(7830);function T(l,o){if(1&l&&(n._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),n.TgZ(1,"a",4),n._uU(2,"here."),n.qZA()),2&l){const s=n.oxw();n.xp6(1),n.s9C("href",s.url,n.LSH)}}const I=function(){return{}};function C(l,o){if(1&l){const s=n.EpF();n.TgZ(0,"form",5),n.NdJ("ngSubmit",function(){n.CHM(s);const A=n.oxw();return n.KtG(A.onSubmit(A.model))}),n.TgZ(1,"formly-form",6),n.NdJ("modelChange",function(A){n.CHM(s);const b=n.oxw();return n.KtG(b.model=A)}),n.qZA()()}if(2&l){const s=n.oxw();n.Q6J("formGroup",s.form),n.xp6(1),n.Q6J("form",s.form)("fields",s.fields)("model",s.model)("options",n.DdM(5,I))}}function _(l,o){1&l&&n._uU(0," Loading Gene... ")}let g=((P=class{constructor(o,s,c,A){this.revisableFieldsGQL=o,this.submitRevisionsGQL=s,this.networkErrorService=c,this.cdr=A,this.form=new m.nJ({}),this.fields=a,this.reviseEvidenceMutator=new v.U(c)}ngOnInit(){this.url=`/genes/${this.geneId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({geneId:this.geneId}).pipe((0,h.t)(this)).subscribe({next:({data:{gene:o}})=>{var l;o&&(this.model={id:o.id,fields:(l=o,{description:l.description,sourceIds:l.sources.map(o=>o.id)})},this.cdr.detectChanges())},error:o=>{console.error("Error retrieving Gene."),console.error(o)},complete:()=>{}})}onSubmit(o){if(!this.geneId)return;let s=function f(l,o){const s=o.fields;if(o.comment)return{id:l,fields:{description:u.xt(s.description),sourceIds:s.sourceIds||[]},organizationId:o.organizationId,comment:o.comment}}(this.geneId,o);s&&(this.mutationState=this.reviseEvidenceMutator.mutate(this.submitRevisionsGQL,{input:s}))}}).\u0275fac=function(o){return new(o||P)(n.Y36(i.FOU),n.Y36(i.D9L),n.Y36(R.Y),n.Y36(n.sBO))},P.\u0275cmp=n.Xpm({type:P,selectors:[["cvc-gene-revise-form"]],inputs:{geneId:"geneId"},decls:6,vars:5,consts:[["entityType","Gene",3,"redirectUrl","mutationState","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(o,s){if(1&o&&(n.TgZ(0,"cvc-form-submission-status-display",0),n.YNc(1,T,3,1,"ng-template",null,1,n.W1O),n.YNc(3,C,2,6,"form",2),n.YNc(4,_,1,0,"ng-template",null,3,n.W1O),n.qZA()),2&o){const c=n.MAs(2),A=n.MAs(5);n.Q6J("redirectUrl",s.url)("mutationState",s.mutationState)("successMessage",c),n.xp6(3),n.Q6J("ngIf",s.model)("ngIfElse",A)}},dependencies:[D.O5,S.Lr,m._Y,m.JL,m.sg,O.T7,L.F],encapsulation:2,changeDetection:0}),P);g=(0,t.gn)([(0,h.c)()],g)},7357:(z,M,e)=>{e.d(M,{i:()=>r});var t=e(6895),m=e(6704),h=e(6616),v=e(5106),u=e(317),p=e(2635),f=e(9676),E=e(4650);class r{}r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=E.oAB({type:r}),r.\u0275inj=E.cJS({imports:[t.ez,p._N,p.pP,m.U5,h.sL,v.S,f.g,u.s]})},6074:(z,M,e)=>{e.d(M,{R:()=>g});var t=e(655),m=e(4006),h=e(9933),v=e(6123),u=e(9289);const a=(0,e(3612).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Molecular Profile",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Evidence Item"},fieldGroup:[{key:"description",type:"textarea",wrappers:["form-field"],props:{placeholder:"Enter a Molecular Profile Description",label:"Molecular Profile Description",description:"Provide a summary of the clinical relevance of this Molecular Profile. The Molecular Profile Summary should be a synthesis of the existing Evidence Statements for this profile. Basic information on recurrence rates and biological/functional impact of the variants may be included, but the focus should be on the clinical impact (i.e. predictive, prognostic, diagnostic, or predisposing relevance).",extraType:"prompt",required:!1,rows:5,colSpan:24}},{key:"aliases",type:"tag-multi-input",wrappers:["form-field"],props:{label:"Aliases",description:"List any aliases commonly used to refer to this Molecular Profile",extraType:"prompt"}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",placeholder:"Please enter a comment describing your revisions.",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Molecular Profile Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{description:void 0,sourceIds:void 0,aliases:void 0},comment:void 0,organizationId:void 0});var P,n=e(4650),i=e(7630),R=e(9169),D=e(6895),S=e(6704),O=e(6212),L=e(7830);function T(l,o){if(1&l&&(n._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),n.TgZ(1,"a",4),n._uU(2,"here."),n.qZA()),2&l){const s=n.oxw();n.xp6(1),n.s9C("href",s.url,n.LSH)}}const I=function(){return{}};function C(l,o){if(1&l){const s=n.EpF();n.TgZ(0,"form",5),n.NdJ("ngSubmit",function(){n.CHM(s);const A=n.oxw();return n.KtG(A.onSubmit(A.model))}),n.TgZ(1,"formly-form",6),n.NdJ("modelChange",function(A){n.CHM(s);const b=n.oxw();return n.KtG(b.model=A)}),n.qZA()()}if(2&l){const s=n.oxw();n.Q6J("formGroup",s.form),n.xp6(1),n.Q6J("form",s.form)("fields",s.fields)("model",s.model)("options",n.DdM(5,I))}}function _(l,o){1&l&&n._uU(0," Loading Molecular Profile... ")}let g=((P=class{constructor(o,s,c,A){this.revisableFieldsGQL=o,this.submitRevisionsGQL=s,this.networkErrorService=c,this.cdr=A,this.form=new m.nJ({}),this.fields=a,this.reviseEvidenceMutator=new v.U(c)}ngOnInit(){this.url=`/molecular-profiles/${this.molecularProfileId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({molecularProfileId:this.molecularProfileId}).pipe((0,h.t)(this)).subscribe({next:({data:{molecularProfile:o}})=>{var l;o&&(this.model={id:o.id,fields:(l=o,{description:l.description,sourceIds:l.sources.map(o=>o.id),aliases:l.molecularProfileAliases})},this.cdr.detectChanges())},error:o=>{console.error("Error retrieving MolecularProfile."),console.error(o)},complete:()=>{}})}onSubmit(o){if(!this.molecularProfileId)return;let s=function f(l,o){const s=o.fields;if(o.comment)return{id:l,fields:{description:u.xt(s.description),sourceIds:s.sourceIds||[],aliases:s.aliases||[]},organizationId:o.organizationId,comment:o.comment}}(this.molecularProfileId,o);s&&(this.mutationState=this.reviseEvidenceMutator.mutate(this.submitRevisionsGQL,{input:s}))}}).\u0275fac=function(o){return new(o||P)(n.Y36(i.pR8),n.Y36(i.T1I),n.Y36(R.Y),n.Y36(n.sBO))},P.\u0275cmp=n.Xpm({type:P,selectors:[["cvc-mp-revise-form"]],inputs:{molecularProfileId:"molecularProfileId"},decls:6,vars:5,consts:[["entityType","Molecular Profile",3,"redirectUrl","mutationState","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(o,s){if(1&o&&(n.TgZ(0,"cvc-form-submission-status-display",0),n.YNc(1,T,3,1,"ng-template",null,1,n.W1O),n.YNc(3,C,2,6,"form",2),n.YNc(4,_,1,0,"ng-template",null,3,n.W1O),n.qZA()),2&o){const c=n.MAs(2),A=n.MAs(5);n.Q6J("redirectUrl",s.url)("mutationState",s.mutationState)("successMessage",c),n.xp6(3),n.Q6J("ngIf",s.model)("ngIfElse",A)}},dependencies:[D.O5,S.Lr,m._Y,m.JL,m.sg,O.T7,L.F],encapsulation:2,changeDetection:0}),P);g=(0,t.gn)([(0,h.c)()],g)},654:(z,M,e)=>{e.d(M,{K:()=>r});var t=e(6895),m=e(6704),h=e(6616),v=e(5106),u=e(317),p=e(2635),f=e(9676),E=e(4650);class r{}r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=E.oAB({type:r}),r.\u0275inj=E.cJS({imports:[t.ez,p._N,p.pP,m.U5,h.sL,v.S,f.g,u.s]})},5126:(z,M,e)=>{e.d(M,{J:()=>l});var t=e(655),m=e(4006),h=e(9933),v=e(6123),u=e(9289);const y=(0,e(3612).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Variant",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Variant"},fieldGroup:[{key:"geneId",type:"gene-select",props:{description:"Enter an Entrez Gene for this Variant"}},{key:"name",type:"input",wrappers:["form-field"],props:{placeholder:"Enter a name for this Variant",description:"Enter the name of the Variant according to the Variant Curation SOP",extraType:"prompt",label:"Name",required:!0,rows:1}},{key:"aliases",type:"tag-multi-input",wrappers:["form-field"],props:{label:"Aliases",description:"List any aliases commonly used to refer to this Variant",extraType:"prompt",placeholder:"Enter Alias and hit return"}},{key:"hgvsDescriptions",type:"tag-multi-input",wrappers:["form-field"],props:{label:"HGVS Descriptions",description:"HGVS Descriptions",extraType:"prompt",placeholder:"Enter HGVS and hit return"}},{key:"clinvarIds",type:"clinvar-multi-input",wrappers:["form-field"],props:{label:"ClinVar IDs",description:"Specify if Clinvar IDs exist, or if they are not applicable for this variant."}},{key:"variantTypeIds",type:"variant-type-multi-select",wrappers:["form-field"]},{template:"

Primary (5') Coordinates

",props:{colSpan:24}},{key:"referenceBuild",type:"reference-build-select"},{key:"ensemblVersion",type:"input",wrappers:["form-field"],validators:{nccnVersionNumber:{expression:o=>!o.value||/^\d{2,3}$/.test(o.value),message:(o,s)=>`"${s.formControl?.value}" does not appear to be an Ensembl version number`}},props:{label:"Ensembl Version",description:"Enter a valid Ensembl database version (e.g. 75)"}},{key:"referenceBases",type:"input",wrappers:["form-field"],validators:{nccnVersionNumber:{expression:o=>!o.value||/^[ACTG\\]+$/.test(o.value),message:(o,s)=>`"${s.formControl?.value}" contains invalid characters.`}},props:{label:"Reference Bases",description:"The nucleotide(s) of the reference genome affected by the variant. Only used for SNVs and Indels (otherwise leave blank)"}},{key:"variantBases",type:"input",wrappers:["form-field"],validators:{nccnVersionNumber:{expression:o=>!o.value||/^[ACTG\\]+$/.test(o.value),message:(o,s)=>`"${s.formControl?.value}" contains invalid characters.`}},props:{label:"Variant Bases",description:"The nucleotide(s) of the variant allele. Only used for SNVs and Indels (otherwise leave blank)"}},{key:"chromosome",type:"select",wrappers:["form-field"],props:{label:"Chromosome",options:u.aP,description:"Specify the chromosome in which this variant occurs (e.g. 17)."}},{key:"start",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:o=>!o.value||/^\d+$/.test(o.value),message:(o,s)=>"Start coordinate must be numeric"}},props:{label:"Start",description:"Enter the left/first coordinate of this variant. Must be \u2264 the Stop coordinate. Coordinate must be compatible with the selected reference build."}},{key:"stop",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:o=>!o.value||/^\d+$/.test(o.value),message:(o,s)=>"Stop coordinate must be numeric"}},props:{label:"Stop",description:"Provide the right/second coordinate of this variant. Must be \u2265 the Start coordinate. Coordinate must be compatible with the selected reference build."}},{key:"representativeTranscript",type:"input",wrappers:["form-field"],props:{label:"Representative Transcript",description:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}},{template:"

Secondary (3') Coordinates

",props:{colSpan:24}},{key:"chromosome2",type:"select",wrappers:["form-field"],props:{label:"Chromosome",options:u.aP,description:"If this variant is a fusion (e.g. BCR-ABL1), specify the chromosome name, coordinates, and representative transcript for the 3-prime partner."}},{key:"start2",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:o=>!o.value||/^\d+$/.test(o.value),message:(o,s)=>"Start coordinate must be numeric"}},props:{label:"Start",description:"Enter the left/first coordinate of this 3-prime partner fusion variant. Must be \u2264 the Stop coordinate. Coordinate must be compatible with the selected reference build."}},{key:"stop2",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:o=>!o.value||/^\d+$/.test(o.value),message:(o,s)=>"Stop coordinate must be numeric"}},props:{label:"Stop",description:"Provide the right/second coordinate of this 3-prime partner fusion variant. Must be \u2265 the Start coordinate. Coordinate must be compatible with the selected reference build."}},{key:"representativeTranscript2",type:"input",wrappers:["form-field"],props:{label:"Representative Transcript",description:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",placeholder:"Please enter a comment describing your revisions.",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Variant Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{name:void 0,aliases:void 0,hgvsDescriptions:void 0,clinvarIds:void 0,variantTypeIds:void 0,referenceBuild:void 0,ensemblVersion:void 0,chromosome:void 0,start:void 0,stop:void 0,representativeTranscript:void 0,chromosome2:void 0,start2:void 0,stop2:void 0,representativeTranscript2:void 0,geneId:void 0,referenceBases:void 0,variantBases:void 0},comment:void 0,organizationId:void 0});let n=o=>"NONE FOUND"==o[0]?{noneFound:!0}:"NA"==o[0]?{notApplicable:!0}:{ids:o.map(s=>+s)};var T,i=e(4650),R=e(7630),D=e(9169),S=e(6895),O=e(6704),L=e(6212),P=e(7830);function I(o,s){if(1&o&&(i._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),i.TgZ(1,"a",4),i._uU(2,"here."),i.qZA()),2&o){const c=i.oxw();i.xp6(1),i.s9C("href",c.url,i.LSH)}}const C=function(){return{}};function _(o,s){if(1&o){const c=i.EpF();i.TgZ(0,"form",5),i.NdJ("ngSubmit",function(){i.CHM(c);const b=i.oxw();return i.KtG(b.onSubmit(b.model))}),i.TgZ(1,"formly-form",6),i.NdJ("modelChange",function(b){i.CHM(c);const F=i.oxw();return i.KtG(F.model=b)}),i.qZA()()}if(2&o){const c=i.oxw();i.Q6J("formGroup",c.form),i.xp6(1),i.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",i.DdM(5,C))}}function g(o,s){1&o&&i._uU(0," Loading Variant... ")}let l=((T=class{constructor(s,c,A,b){this.revisableFieldsGQL=s,this.submitRevisionsGQL=c,this.networkErrorService=A,this.cdr=b,this.form=new m.nJ({}),this.fields=y,this.reviseVariantMutator=new v.U(A)}ngOnInit(){this.url=`/variants/${this.variantId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantId:this.variantId}).pipe((0,h.t)(this)).subscribe({next:({data:{variant:s}})=>{var o;s&&(this.model={id:s.id,fields:(o=s,{name:o.name,aliases:o.variantAliases,hgvsDescriptions:o.hgvsDescriptions,clinvarIds:o.clinvarIds,variantTypeIds:o.variantTypes.map(s=>s.id),referenceBuild:o.referenceBuild,ensemblVersion:o.ensemblVersion,chromosome:o.primaryCoordinates?.chromosome,start:o.primaryCoordinates?.start,stop:o.primaryCoordinates?.stop,representativeTranscript:o.primaryCoordinates?.representativeTranscript,chromosome2:o.secondaryCoordinates?.chromosome,start2:o.secondaryCoordinates?.start,stop2:o.secondaryCoordinates?.stop,representativeTranscript2:o.secondaryCoordinates?.representativeTranscript,geneId:o.gene.id,referenceBases:o.referenceBases,variantBases:o.variantBases})},this.cdr.detectChanges())},error:s=>{console.error("Error retrieving Variant."),console.error(s)},complete:()=>{}})}onSubmit(s){if(!this.variantId)return;let c=function a(o,s){const c=s.fields;if(s.comment&&c.name&&c.geneId)return{id:o,fields:{name:c.name,aliases:c.aliases||[],hgvsDescriptions:c.hgvsDescriptions||[],clinvarIds:n(c.clinvarIds||[]),variantTypeIds:c.variantTypeIds||[],referenceBuild:u.uP(c.referenceBuild),ensemblVersion:u.uP(c.ensemblVersion?+c.ensemblVersion:void 0),primaryCoordinates:{chromosome:c.chromosome,start:c.start?+c.start:void 0,stop:c.stop?+c.stop:void 0,representativeTranscript:c.representativeTranscript},secondaryCoordinates:{chromosome:c.chromosome2,start:c.start2?+c.start2:void 0,stop:c.stop2?+c.stop2:void 0,representativeTranscript:c.representativeTranscript2},geneId:c.geneId,referenceBases:u.xt(c.referenceBases),variantBases:u.xt(c.variantBases)},organizationId:s.organizationId,comment:s.comment}}(this.variantId,s);c&&(this.mutationState=this.reviseVariantMutator.mutate(this.submitRevisionsGQL,{input:c}))}}).\u0275fac=function(s){return new(s||T)(i.Y36(R.nnL),i.Y36(R.Xft),i.Y36(D.Y),i.Y36(i.sBO))},T.\u0275cmp=i.Xpm({type:T,selectors:[["cvc-variant-revise-form"]],inputs:{variantId:"variantId"},decls:6,vars:5,consts:[["entityType","Variant",3,"redirectUrl","mutationState","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(s,c){if(1&s&&(i.TgZ(0,"cvc-form-submission-status-display",0),i.YNc(1,I,3,1,"ng-template",null,1,i.W1O),i.YNc(3,_,2,6,"form",2),i.YNc(4,g,1,0,"ng-template",null,3,i.W1O),i.qZA()),2&s){const A=i.MAs(2),b=i.MAs(5);i.Q6J("redirectUrl",c.url)("mutationState",c.mutationState)("successMessage",A),i.xp6(3),i.Q6J("ngIf",c.model)("ngIfElse",b)}},dependencies:[S.O5,O.Lr,m._Y,m.JL,m.sg,L.T7,P.F],encapsulation:2,changeDetection:0}),T);l=(0,t.gn)([(0,h.c)()],l)},2297:(z,M,e)=>{e.d(M,{A:()=>f});var t=e(6895),m=e(6704),h=e(6616),v=e(5106),u=e(9676),p=e(4650);class f{}f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=p.oAB({type:f}),f.\u0275inj=p.cJS({imports:[t.ez,m.U5,h.sL,v.S,u.g]})},3085:(z,M,e)=>{e.d(M,{L:()=>P});var t=e(655),m=e(4006),h=e(6123),v=e(2854),u=e(9933),p=e(7579);const E=[{wrappers:["form-layout"],props:{submitLabel:"Revise Variant Group",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Variant Group"},fieldGroup:[{key:"name",type:"input",props:{label:"Variant Group Name",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"User-defined summary of the clinical relevance of this Variant Group.",placeholder:"Enter a Variant Group Summary",label:"Variant Group Summary",required:!0,rows:5}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{required:!1}},{key:"variantIds",type:"variant-multi-select",props:{label:"Variants",required:!0,colSpan:24,requireGene:!1,showManagerBtn:!0}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Variant Group Revision"}}]}]}];var D,r=e(4650),y=e(7630),d=e(9169),a=e(6895),n=e(6704),i=e(6212),R=e(7830);function S(T,I){if(1&T&&(r._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or you may view them "),r.TgZ(1,"a",4),r._uU(2,"here."),r.qZA()),2&T){const C=r.oxw();r.xp6(1),r.s9C("href",C.url,r.LSH)}}function O(T,I){if(1&T){const C=r.EpF();r.TgZ(0,"form",5),r.NdJ("ngSubmit",function(){r.CHM(C);const g=r.oxw();return r.KtG(g.onSubmit(g.model))}),r.TgZ(1,"formly-form",6),r.NdJ("modelChange",function(g){r.CHM(C);const l=r.oxw();return r.KtG(l.model=g)}),r.qZA()()}if(2&T){const C=r.oxw();r.Q6J("formGroup",C.form),r.xp6(1),r.Q6J("form",C.form)("fields",C.fields)("model",C.model)("options",C.options)}}function L(T,I){1&T&&r._uU(0," Loading Variant Group... ")}let P=((D=class{constructor(I,C,_,g){this.revisableFieldsGQL=I,this.submitRevisionsGQL=C,this.networkErrorService=_,this.cdr=g,this.form=new m.nJ({}),this.fields=E,this.state={formReady$:new p.x},this.options={formState:this.state},this.reviseAssertionMutator=new h.U(_)}onSubmit(I){console.log("------ Variant Group Suggestion Added ------"),console.log(I)}ngOnInit(){this.url=`/variant-groups/${this.variantGroupId}/revisions`}ngOnDestroy(){}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantGroupId:this.variantGroupId}).pipe((0,u.t)(this)).subscribe({next:({data:{variantGroup:I}})=>{I&&(this.model={id:I.id,fields:(0,v.ND)(I)},this.cdr.detectChanges())},error:I=>{console.error("Error retrieving variantgroupItem."),console.error(I)},complete:()=>{this.state.formReady$.next(!0)}})}}).\u0275fac=function(I){return new(I||D)(r.Y36(y.Y6e),r.Y36(y.eJ3),r.Y36(d.Y),r.Y36(r.sBO))},D.\u0275cmp=r.Xpm({type:D,selectors:[["cvc-variantgroup-revise-form"]],inputs:{variantGroupId:"variantGroupId"},decls:6,vars:5,consts:[["entityType","Evidence Item",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(I,C){if(1&I&&(r.TgZ(0,"cvc-form-submission-status-display",0),r.YNc(1,S,3,1,"ng-template",null,1,r.W1O),r.YNc(3,O,2,5,"form",2),r.YNc(4,L,1,0,"ng-template",null,3,r.W1O),r.qZA()),2&I){const _=r.MAs(2),g=r.MAs(5);r.Q6J("mutationState",C.mutationState)("redirectUrl",C.url)("successMessage",_),r.xp6(3),r.Q6J("ngIf",C.model)("ngIfElse",g)}},dependencies:[a.O5,n.Lr,m._Y,m.JL,m.sg,i.T7,R.F]}),D);P=(0,t.gn)([(0,u.c)()],P)},2854:(z,M,e)=>{function m(u){return{description:u.description,sourceIds:u.sources.map(p=>p.id),variantIds:u.variants.nodes.map(p=>p.id),name:u.name}}function v(u){const p=u.fields;if(![p.name,u.comment].find(E=>void 0===E))return{description:p.description,sourceIds:p.sourceIds||[],name:p.name,variantIds:p.variantIds||[],organizationId:u.organizationId}}e.d(M,{ND:()=>m,t3:()=>v}),e(9289)}}]); \ No newline at end of file diff --git a/server/public/common.f9a47b73260d63b5.js b/server/public/common.f9a47b73260d63b5.js new file mode 100644 index 000000000..736570006 --- /dev/null +++ b/server/public/common.f9a47b73260d63b5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8592],{7525:(L,M,e)=>{e.d(M,{h:()=>C});var t=e(6814),u=e(551),h=e(5879);let C=(()=>{class d{}return d.\u0275fac=function(y){return new(y||d)},d.\u0275mod=h.oAB({type:d}),d.\u0275inj=h.cJS({imports:[t.ez,u.PV]}),d})()},8178:(L,M,e)=>{e.d(M,{u:()=>r});var t=e(5879),u=e(9512),h=e(804),C=e(551),d=e(2392);function f(p,m){1&p&&(t.TgZ(0,"span"),t._uU(1," You must be logged in to view this page. "),t.qZA())}function y(p,m){1&p&&t._UZ(0,"cvc-login-button")}function v(p,m){1&p&&(t.TgZ(0,"nz-typography",4),t._UZ(1,"i",5),t.qZA())}let r=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275cmp=t.Xpm({type:p,selectors:[["cvc-login-prompt"]],decls:7,vars:3,consts:[[3,"nzNotFoundImage","nzNotFoundContent","nzNotFoundFooter"],["contentTpl",""],["footerTpl",""],["emptyImage",""],["nzType","secondary"],["nz-icon","","nzType","login","nzTheme","outline",2,"font-size","50pt"]],template:function(a,o){if(1&a&&(t.TgZ(0,"nz-empty",0),t.YNc(1,f,2,0,"ng-template",null,1,t.W1O),t.YNc(3,y,1,0,"ng-template",null,2,t.W1O),t.qZA(),t.YNc(5,v,2,0,"ng-template",null,3,t.W1O)),2&a){const i=t.MAs(2),D=t.MAs(4),P=t.MAs(6);t.Q6J("nzNotFoundImage",P)("nzNotFoundContent",i)("nzNotFoundFooter",D)}},dependencies:[u.s,h.p9,C.Ls,d.ZU],styles:["[_nghost-%COMP%]{display:inline-block}"]}),p})()},8603:(L,M,e)=>{e.d(M,{a:()=>y});var t=e(6814),u=e(5163),h=e(804),C=e(551),d=e(2392),f=e(5879);let y=(()=>{class v{}return v.\u0275fac=function(p){return new(p||v)},v.\u0275mod=f.oAB({type:v}),v.\u0275inj=f.cJS({imports:[t.ez,u.B,h.Xo,C.PV,d.ZJ]}),v})()},2137:(L,M,e)=>{e.d(M,{z:()=>a});var t=e(5879),u=e(2996),h=e(551),C=e(95),d=e(6814),f=e(2616);function y(o,i){1&o&&(t._UZ(0,"i",15),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"EvidenceItem"))}function v(o,i){1&o&&(t._UZ(0,"i",16),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Assertion"))}function r(o,i){1&o&&(t._UZ(0,"i",17),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Revision"))}function p(o,i){1&o&&(t._UZ(0,"i",18),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Comment"))}function m(o,i){1&o&&(t._UZ(0,"i",19),t.ALo(1,"entityColor")),2&o&&t.Q6J("nzTwotoneColor",t.lcZ(1,1,"Source"))}let a=(()=>{class o{constructor(){}}return o.\u0275fac=function(D){return new(D||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-stats-card"]],inputs:{stats:"stats",header:"header"},decls:38,vars:32,consts:[["nzGutter","8"],["nzFlex","1"],["nzTitle","Evidence Submitted",3,"nzValue","nzPrefix"],["nzTitle","Evidence Accepted",3,"nzValue","nzPrefix"],["evidenceIcon",""],["nzTitle","Assertions Submitted",3,"nzValue","nzPrefix"],["nzTitle","Assertions Accepted",3,"nzValue","nzPrefix"],["assertionIcon",""],["nzTitle","Revisions Suggested",3,"nzValue","nzPrefix"],["nzTitle","Revisions Applied",3,"nzValue","nzPrefix"],["revisionIcon",""],["nzTitle","Comments",3,"nzValue","nzPrefix"],["commentIcon",""],["nzTitle","Sources Suggested",3,"nzValue","nzPrefix"],["sourceIcon",""],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-assertion",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-revision",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-comment",3,"nzTwotoneColor"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"]],template:function(D,P){if(1&D&&(t.TgZ(0,"nz-row",0)(1,"nz-col",1),t._UZ(2,"nz-statistic",2),t.ALo(3,"number"),t.qZA(),t.TgZ(4,"nz-col",1),t._UZ(5,"nz-statistic",3),t.ALo(6,"number"),t.qZA()(),t.TgZ(7,"nz-row"),t.YNc(8,y,2,3,"ng-template",null,4,t.W1O),t.TgZ(10,"nz-col",1),t._UZ(11,"nz-statistic",5),t.ALo(12,"number"),t.qZA(),t.TgZ(13,"nz-col",1),t._UZ(14,"nz-statistic",6),t.ALo(15,"number"),t.qZA(),t.YNc(16,v,2,3,"ng-template",null,7,t.W1O),t.qZA(),t.TgZ(18,"nz-row",0)(19,"nz-col",1),t._UZ(20,"nz-statistic",8),t.ALo(21,"number"),t.qZA(),t.TgZ(22,"nz-col",1),t._UZ(23,"nz-statistic",9),t.ALo(24,"number"),t.qZA()(),t.TgZ(25,"nz-row"),t.YNc(26,r,2,3,"ng-template",null,10,t.W1O),t.TgZ(28,"nz-col",1),t._UZ(29,"nz-statistic",11),t.ALo(30,"number"),t.YNc(31,p,2,3,"ng-template",null,12,t.W1O),t.qZA(),t.TgZ(33,"nz-col",1),t._UZ(34,"nz-statistic",13),t.ALo(35,"number"),t.qZA(),t.YNc(36,m,2,3,"ng-template",null,14,t.W1O),t.qZA()),2&D){const S=t.MAs(9),O=t.MAs(17),z=t.MAs(27),A=t.MAs(32),T=t.MAs(37);t.xp6(2),t.Q6J("nzValue",t.lcZ(3,16,P.stats.submittedEvidenceItems))("nzPrefix",S),t.xp6(3),t.Q6J("nzValue",t.lcZ(6,18,P.stats.acceptedEvidenceItems))("nzPrefix",S),t.xp6(6),t.Q6J("nzValue",t.lcZ(12,20,P.stats.submittedAssertions))("nzPrefix",O),t.xp6(3),t.Q6J("nzValue",t.lcZ(15,22,P.stats.acceptedAssertions))("nzPrefix",O),t.xp6(6),t.Q6J("nzValue",t.lcZ(21,24,P.stats.revisions))("nzPrefix",z),t.xp6(3),t.Q6J("nzValue",t.lcZ(24,26,P.stats.appliedRevisions))("nzPrefix",z),t.xp6(6),t.Q6J("nzValue",t.lcZ(30,28,P.stats.comments))("nzPrefix",A),t.xp6(5),t.Q6J("nzValue",t.lcZ(35,30,P.stats.suggestedSources))("nzPrefix",T)}},dependencies:[u.my,h.Ls,C.t3,C.SK,d.JJ,f.a],styles:["[_nghost-%COMP%]{display:block}h5[_ngcontent-%COMP%]{font-weight:400}"]}),o})()},5572:(L,M,e)=>{e.d(M,{C:()=>r});var t=e(6814),u=e(2524),h=e(2962),C=e(95),d=e(551),f=e(2996),y=e(2392),v=e(5879);let r=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=v.oAB({type:p}),p.\u0275inj=v.cJS({imports:[t.ez,f.A2,y.ZJ,d.PV,C.Jb,h.vh,u.s]}),p})()},1689:(L,M,e)=>{e.d(M,{u:()=>T});var t=e(655),u=e(6223),h=e(2024),C=e(5884),d=e(5710),f=e(5234),y=e(1791);const p=(0,e(7745).Z)([{wrappers:["form-layout"],props:{submitLabel:"Submit Assertion",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"New Assertion"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0,tooltip:"A single variant (Simple Molecular Profile) or a combination of variants (Complex Molecular Profile) relevant to the curated assertion.",watchVariantMolecularProfileId:!0,colSpan:16}},{key:"assertionType",type:"type-select",props:{required:!0,colSpan:8}},{key:"assertionDirection",type:"direction-select",props:{required:!0,colSpan:8}},{key:"significance",type:"significance-select",props:{required:!0,colSpan:8}},{key:"diseaseId",type:"disease-select",props:{colSpan:8}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"ampLevel",type:"amp-category-select",props:{colSpan:8}},{key:"acmgCodeIds",type:"acmg-code-multi-select",props:{colSpan:8}},{key:"clingenCodeIds",type:"clingen-code-multi-select",props:{colSpan:8}},{key:"nccnGuidelineId",type:"nccn-guideline-select",props:{}},{key:"nccnGuidelineVersion",type:"nccn-guideline-version-input",props:{}},{key:"fdaRegulatoryApproval",type:"fda-regulatory-approval-checkbox",props:{}},{key:"fdaCompanionTest",type:"fda-companion-test-checkbox",props:{}},{key:"evidenceItemIds",type:"evidence-multi-select",props:{required:!0,isMultiSelect:!0,colSpan:24}},{key:"summary",type:"textarea",wrappers:["form-field"],props:{tooltip:"A short, one sentence summary of the Assertion",placeholder:"Enter an Assertion Summary",label:"Assertion Summary",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"A complete, original description of this Assertion. Limited to one paragraph.",placeholder:"Enter an Assertion Statement",label:"Assertion Statement",required:!0,rows:5,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment"}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Assertion"}}]}]}],C.J);var O,m=e(5879),a=e(313),o=e(7473),i=e(3599),D=e(4190),P=e(5545),S=e(4634);const z=function(I){return["/assertions",I,"summary"]};function A(I,E){if(1&I&&(m._uU(0," View your submitted Assertion "),m.TgZ(1,"a",4),m._uU(2,"here"),m.qZA(),m._uU(3,". You will be redirected shortly. ")),2&I){const _=m.oxw();m.xp6(1),m.Q6J("routerLink",m.VKq(1,z,_.newAssertionId))}}let T=((O=class{constructor(E,_){this.submitAssertionGQL=E,this.networkErrorService=_,this.form=new u.nJ({}),this.model=C.J,this.fields=p,this.state=new d._,this.options={formState:this.state},this.submitAssertionMutator=new h.U(_)}onSubmit(E){let _=(0,f.XU)(E);_&&(this.mutationState=this.submitAssertionMutator.mutate(this.submitAssertionGQL,{input:_},void 0,g=>{this.newAssertionId=g.submitAssertion?.assertion.id,this.newAssertionUrl=`/assertions/${this.newAssertionId}/summary`}))}ngAfterViewInit(){this.state.formReady$.next(!0)}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(E){return new(E||O)(m.Y36(a.LLl),m.Y36(o.Y))},O.\u0275cmp=m.Xpm({type:O,selectors:[["cvc-assertion-submit-form"]],decls:5,vars:8,consts:[["entityType","Assertion",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"],[3,"routerLink"]],template:function(E,_){if(1&E&&(m.TgZ(0,"cvc-form-submission-status-display",0),m.YNc(1,A,4,3,"ng-template",null,1,m.W1O),m.TgZ(3,"form",2),m.NdJ("ngSubmit",function(){return _.onSubmit(_.model)}),m.TgZ(4,"formly-form",3),m.NdJ("modelChange",function(l){return _.model=l}),m.qZA()()()),2&E){const g=m.MAs(2);m.Q6J("mutationState",_.mutationState)("redirectUrl",_.newAssertionUrl)("successMessage",g),m.xp6(3),m.Q6J("formGroup",_.form),m.xp6(1),m.Q6J("form",_.form)("fields",_.fields)("model",_.model)("options",_.options)}},dependencies:[i.Lr,D.rH,u._Y,u.JL,u.sg,P.T7,S.F],encapsulation:2,changeDetection:0}),O);T=(0,t.gn)([(0,y.c)()],T)},4975:(L,M,e)=>{e.d(M,{E:()=>r});var t=e(6814),u=e(3599),h=e(2840),C=e(6683),d=e(279),f=e(5106),y=e(4190),v=e(5879);let r=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=v.oAB({type:p}),p.\u0275inj=v.cJS({imports:[t.ez,u.U5,h.sL,y.Bz,C.S,f.g,d.s]}),p})()},7471:(L,M,e)=>{e.d(M,{A:()=>v});var t=e(6814),u=e(3599),h=e(2840),C=e(6683),d=e(279),f=e(5106),y=e(5879);let v=(()=>{class r{}return r.\u0275fac=function(m){return new(m||r)},r.\u0275mod=y.oAB({type:r}),r.\u0275inj=y.cJS({imports:[t.ez,u.U5,h.sL,C.S,f.g,d.s]}),r})()},9958:(L,M,e)=>{e.d(M,{r:()=>E});var t=e(655),u=e(6223),h=e(2024),C=e(3684),d=e(1565),f=e(1791);const m=(0,e(7745).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Evidence Item",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Evidence Item"},fieldGroup:[{key:"molecularProfileId",type:"molecular-profile-select",props:{required:!0}},{key:"sourceId",type:"source-select",props:{required:!0}},{key:"evidenceType",type:"type-select",props:{required:!0}},{key:"evidenceDirection",type:"direction-select",props:{required:!0,formMode:"revise"}},{key:"significance",type:"significance-select",props:{required:!0,formMode:"revise"}},{key:"diseaseId",type:"disease-select",props:{}},{key:"therapyIds",type:"therapy-multi-select",props:{}},{key:"therapyInteractionType",type:"interaction-select",props:{}},{key:"evidenceLevel",type:"level-select",props:{required:!0}},{key:"rating",type:"rating",props:{required:!0}},{key:"variantOrigin",type:"origin-select",props:{required:!0}},{key:"phenotypeIds",type:"phenotype-multi-select",props:{}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"Your original description of evidence from published literature detailing the association or lack of association between a variant and its predictive, prognostic, diagnostic, predisposing, functional or oncogenic value. ",placeholder:"Enter an Evidence Statement",extraType:"description",description:'Data constituting personal or identifying information should not be entered (e.g. protected health information (PHI) as defined by HIPAA in the U.S. and/or comparable laws in your jurisdiction).',label:"Evidence Statement",required:!0,colSpan:24}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Evidence Item Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{geneId:void 0,variantId:void 0,significance:void 0,description:void 0,diseaseId:void 0,drugIds:[],therapyInteractionType:void 0,evidenceDirection:void 0,evidenceLevel:void 0,evidenceType:void 0,molecularProfileId:void 0,phenotypeIds:[],rating:void 0,sourceId:void 0,variantOrigin:void 0},comment:void 0,organizationId:void 0});var z,a=e(5879),o=e(313),i=e(7473),D=e(6814),P=e(3599),S=e(5545),O=e(4634);function A(_,g){if(1&_&&(a._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or you can view them "),a.TgZ(1,"a",4),a._uU(2,"here."),a.qZA()),2&_){const l=a.oxw();a.xp6(1),a.s9C("href",l.url,a.LSH)}}function T(_,g){if(1&_){const l=a.EpF();a.TgZ(0,"form",5),a.NdJ("ngSubmit",function(){a.CHM(l);const s=a.oxw();return a.KtG(s.onSubmit(s.model))}),a.TgZ(1,"formly-form",6),a.NdJ("modelChange",function(s){a.CHM(l);const c=a.oxw();return a.KtG(c.model=s)}),a.qZA()()}if(2&_){const l=a.oxw();a.Q6J("formGroup",l.form),a.xp6(1),a.Q6J("form",l.form)("fields",l.fields)("model",l.model)("options",l.options)}}function I(_,g){1&_&&a._uU(0," Loading Evidence Item... ")}let E=((z=class{constructor(g,l,n,s){this.revisableFieldsGQL=g,this.submitRevisionsGQL=l,this.networkErrorService=n,this.cdr=s,this.form=new u.nJ({}),this.fields=m,this.state=new C._,this.options={formState:this.state},this.reviseEvidenceMutator=new h.U(n)}ngOnInit(){this.url=`/evidence/${this.evidenceId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({evidenceId:this.evidenceId}).pipe((0,f.t)(this)).subscribe({next:({data:{evidenceItem:g}})=>{g&&(this.model={id:g.id,fields:(0,d.ux)(g)},this.cdr.detectChanges())},error:g=>{console.error("Error retrieving evidenceItem."),console.error(g)},complete:()=>{this.state.formReady$.next(!0),console.log("evidence item retrieved.")}})}onSubmit(g){if(!this.evidenceId)return;let l=(0,d.Ct)(this.evidenceId,g);l&&(this.mutationState=this.reviseEvidenceMutator.mutate(this.submitRevisionsGQL,{input:l}))}ngOnDestroy(){this.options.formState.onDestroy()}}).\u0275fac=function(g){return new(g||z)(a.Y36(o.h_Y),a.Y36(o.F1Y),a.Y36(i.Y),a.Y36(a.sBO))},z.\u0275cmp=a.Xpm({type:z,selectors:[["cvc-evidence-revise-form"]],inputs:{evidenceId:"evidenceId"},decls:6,vars:5,consts:[["entityType","Evidence Item",3,"mutationState","successMessage","redirectUrl"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(g,l){if(1&g&&(a.TgZ(0,"cvc-form-submission-status-display",0),a.YNc(1,A,3,1,"ng-template",null,1,a.W1O),a.YNc(3,T,2,5,"form",2),a.YNc(4,I,1,0,"ng-template",null,3,a.W1O),a.qZA()),2&g){const n=a.MAs(2),s=a.MAs(5);a.Q6J("mutationState",l.mutationState)("successMessage",n)("redirectUrl",l.url),a.xp6(3),a.Q6J("ngIf",l.model)("ngIfElse",s)}},dependencies:[D.O5,P.Lr,u._Y,u.JL,u.sg,S.T7,O.F],encapsulation:2,changeDetection:0}),z);E=(0,t.gn)([(0,f.c)()],E)},296:(L,M,e)=>{e.d(M,{C:()=>v});var t=e(6814),u=e(3599),h=e(2840),C=e(6683),d=e(279),f=e(5106),y=e(5879);let v=(()=>{class r{}return r.\u0275fac=function(m){return new(m||r)},r.\u0275mod=y.oAB({type:r}),r.\u0275inj=y.cJS({imports:[t.ez,u.U5,h.sL,C.S,f.g,d.s]}),r})()},1858:(L,M,e)=>{e.d(M,{$:()=>g});var t=e(655),u=e(6223),h=e(1791),C=e(2024),d=e(2701);const a=(0,e(7745).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Gene",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Evidence Item"},fieldGroup:[{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"User-defined summary of the clinical relevance of this Gene.",placeholder:"Enter a Gene Summary",label:"Gene Summary",required:!1,rows:5}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",placeholder:"Please enter a comment describing your revisions.",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Gene Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{description:void 0,sourceIds:void 0},comment:void 0,organizationId:void 0});var A,o=e(5879),i=e(313),D=e(7473),P=e(6814),S=e(3599),O=e(5545),z=e(4634);function T(l,n){if(1&l&&(o._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),o.TgZ(1,"a",4),o._uU(2,"here."),o.qZA()),2&l){const s=o.oxw();o.xp6(1),o.s9C("href",s.url,o.LSH)}}const I=function(){return{}};function E(l,n){if(1&l){const s=o.EpF();o.TgZ(0,"form",5),o.NdJ("ngSubmit",function(){o.CHM(s);const R=o.oxw();return o.KtG(R.onSubmit(R.model))}),o.TgZ(1,"formly-form",6),o.NdJ("modelChange",function(R){o.CHM(s);const b=o.oxw();return o.KtG(b.model=R)}),o.qZA()()}if(2&l){const s=o.oxw();o.Q6J("formGroup",s.form),o.xp6(1),o.Q6J("form",s.form)("fields",s.fields)("model",s.model)("options",o.DdM(5,I))}}function _(l,n){1&l&&o._uU(0," Loading Gene... ")}let g=((A=class{constructor(n,s,c,R){this.revisableFieldsGQL=n,this.submitRevisionsGQL=s,this.networkErrorService=c,this.cdr=R,this.form=new u.nJ({}),this.fields=a,this.reviseEvidenceMutator=new C.U(c)}ngOnInit(){this.url=`/genes/${this.geneId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({geneId:this.geneId}).pipe((0,h.t)(this)).subscribe({next:({data:{gene:n}})=>{var l;n&&(this.model={id:n.id,fields:(l=n,{description:l.description,sourceIds:l.sources.map(n=>n.id)})},this.cdr.detectChanges())},error:n=>{console.error("Error retrieving Gene."),console.error(n)},complete:()=>{}})}onSubmit(n){if(!this.geneId)return;let s=function y(l,n){const s=n.fields;if(n.comment)return{id:l,fields:{description:d.xt(s.description),sourceIds:s.sourceIds||[]},organizationId:n.organizationId,comment:n.comment}}(this.geneId,n);s&&(this.mutationState=this.reviseEvidenceMutator.mutate(this.submitRevisionsGQL,{input:s}))}}).\u0275fac=function(n){return new(n||A)(o.Y36(i.FOU),o.Y36(i.D9L),o.Y36(D.Y),o.Y36(o.sBO))},A.\u0275cmp=o.Xpm({type:A,selectors:[["cvc-gene-revise-form"]],inputs:{geneId:"geneId"},decls:6,vars:5,consts:[["entityType","Gene",3,"redirectUrl","mutationState","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(n,s){if(1&n&&(o.TgZ(0,"cvc-form-submission-status-display",0),o.YNc(1,T,3,1,"ng-template",null,1,o.W1O),o.YNc(3,E,2,6,"form",2),o.YNc(4,_,1,0,"ng-template",null,3,o.W1O),o.qZA()),2&n){const c=o.MAs(2),R=o.MAs(5);o.Q6J("redirectUrl",s.url)("mutationState",s.mutationState)("successMessage",c),o.xp6(3),o.Q6J("ngIf",s.model)("ngIfElse",R)}},dependencies:[P.O5,S.Lr,u._Y,u.JL,u.sg,O.T7,z.F],encapsulation:2,changeDetection:0}),A);g=(0,t.gn)([(0,h.c)()],g)},9934:(L,M,e)=>{e.d(M,{i:()=>v});var t=e(6814),u=e(3599),h=e(2840),C=e(6683),d=e(279),f=e(5106),y=e(5879);let v=(()=>{class r{}return r.\u0275fac=function(m){return new(m||r)},r.\u0275mod=y.oAB({type:r}),r.\u0275inj=y.cJS({imports:[t.ez,u.U5,h.sL,C.S,f.g,d.s]}),r})()},3610:(L,M,e)=>{e.d(M,{R:()=>g});var t=e(655),u=e(6223),h=e(1791),C=e(2024),d=e(2701);const a=(0,e(7745).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Molecular Profile",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Evidence Item"},fieldGroup:[{key:"description",type:"textarea",wrappers:["form-field"],props:{placeholder:"Enter a Molecular Profile Description",label:"Molecular Profile Description",description:"Provide a summary of the clinical relevance of this Molecular Profile. The Molecular Profile Summary should be a synthesis of the existing Evidence Statements for this profile. Basic information on recurrence rates and biological/functional impact of the variants may be included, but the focus should be on the clinical impact (i.e. predictive, prognostic, diagnostic, or predisposing relevance).",extraType:"prompt",required:!1,rows:5,colSpan:24}},{key:"aliases",type:"tag-multi-input",wrappers:["form-field"],props:{label:"Aliases",description:"List any aliases commonly used to refer to this Molecular Profile",extraType:"prompt"}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",placeholder:"Please enter a comment describing your revisions.",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Molecular Profile Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{description:void 0,sourceIds:void 0,aliases:void 0},comment:void 0,organizationId:void 0});var A,o=e(5879),i=e(313),D=e(7473),P=e(6814),S=e(3599),O=e(5545),z=e(4634);function T(l,n){if(1&l&&(o._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),o.TgZ(1,"a",4),o._uU(2,"here."),o.qZA()),2&l){const s=o.oxw();o.xp6(1),o.s9C("href",s.url,o.LSH)}}const I=function(){return{}};function E(l,n){if(1&l){const s=o.EpF();o.TgZ(0,"form",5),o.NdJ("ngSubmit",function(){o.CHM(s);const R=o.oxw();return o.KtG(R.onSubmit(R.model))}),o.TgZ(1,"formly-form",6),o.NdJ("modelChange",function(R){o.CHM(s);const b=o.oxw();return o.KtG(b.model=R)}),o.qZA()()}if(2&l){const s=o.oxw();o.Q6J("formGroup",s.form),o.xp6(1),o.Q6J("form",s.form)("fields",s.fields)("model",s.model)("options",o.DdM(5,I))}}function _(l,n){1&l&&o._uU(0," Loading Molecular Profile... ")}let g=((A=class{constructor(n,s,c,R){this.revisableFieldsGQL=n,this.submitRevisionsGQL=s,this.networkErrorService=c,this.cdr=R,this.form=new u.nJ({}),this.fields=a,this.reviseEvidenceMutator=new C.U(c)}ngOnInit(){this.url=`/molecular-profiles/${this.molecularProfileId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({molecularProfileId:this.molecularProfileId}).pipe((0,h.t)(this)).subscribe({next:({data:{molecularProfile:n}})=>{var l;n&&(this.model={id:n.id,fields:(l=n,{description:l.description,sourceIds:l.sources.map(n=>n.id),aliases:l.molecularProfileAliases})},this.cdr.detectChanges())},error:n=>{console.error("Error retrieving MolecularProfile."),console.error(n)},complete:()=>{}})}onSubmit(n){if(!this.molecularProfileId)return;let s=function y(l,n){const s=n.fields;if(n.comment)return{id:l,fields:{description:d.xt(s.description),sourceIds:s.sourceIds||[],aliases:s.aliases||[]},organizationId:n.organizationId,comment:n.comment}}(this.molecularProfileId,n);s&&(this.mutationState=this.reviseEvidenceMutator.mutate(this.submitRevisionsGQL,{input:s}))}}).\u0275fac=function(n){return new(n||A)(o.Y36(i.pR8),o.Y36(i.T1I),o.Y36(D.Y),o.Y36(o.sBO))},A.\u0275cmp=o.Xpm({type:A,selectors:[["cvc-mp-revise-form"]],inputs:{molecularProfileId:"molecularProfileId"},decls:6,vars:5,consts:[["entityType","Molecular Profile",3,"redirectUrl","mutationState","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(n,s){if(1&n&&(o.TgZ(0,"cvc-form-submission-status-display",0),o.YNc(1,T,3,1,"ng-template",null,1,o.W1O),o.YNc(3,E,2,6,"form",2),o.YNc(4,_,1,0,"ng-template",null,3,o.W1O),o.qZA()),2&n){const c=o.MAs(2),R=o.MAs(5);o.Q6J("redirectUrl",s.url)("mutationState",s.mutationState)("successMessage",c),o.xp6(3),o.Q6J("ngIf",s.model)("ngIfElse",R)}},dependencies:[P.O5,S.Lr,u._Y,u.JL,u.sg,O.T7,z.F],encapsulation:2,changeDetection:0}),A);g=(0,t.gn)([(0,h.c)()],g)},1351:(L,M,e)=>{e.d(M,{K:()=>v});var t=e(6814),u=e(3599),h=e(2840),C=e(6683),d=e(279),f=e(5106),y=e(5879);let v=(()=>{class r{}return r.\u0275fac=function(m){return new(m||r)},r.\u0275mod=y.oAB({type:r}),r.\u0275inj=y.cJS({imports:[t.ez,u.U5,h.sL,C.S,f.g,d.s]}),r})()},9230:(L,M,e)=>{e.d(M,{J:()=>l});var t=e(655),u=e(6223),h=e(1791),C=e(2024),d=e(2701);const p=(0,e(7745).Z)([{wrappers:["form-layout"],props:{submitLabel:"Revise Variant",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Variant"},fieldGroup:[{key:"geneId",type:"gene-select",props:{description:"Enter an Entrez Gene for this Variant"}},{key:"name",type:"input",wrappers:["form-field"],props:{placeholder:"Enter a name for this Variant",description:"Enter the name of the Variant according to the Variant Curation SOP",extraType:"prompt",label:"Name",required:!0,rows:1}},{key:"aliases",type:"tag-multi-input",wrappers:["form-field"],props:{label:"Aliases",description:"List any aliases commonly used to refer to this Variant",extraType:"prompt",placeholder:"Enter Alias and hit return"}},{key:"hgvsDescriptions",type:"tag-multi-input",wrappers:["form-field"],props:{label:"HGVS Descriptions",description:"HGVS Descriptions",extraType:"prompt",placeholder:"Enter HGVS and hit return"}},{key:"clinvarIds",type:"clinvar-multi-input",wrappers:["form-field"],props:{label:"ClinVar IDs",description:"Specify if Clinvar IDs exist, or if they are not applicable for this variant."}},{key:"variantTypeIds",type:"variant-type-multi-select",wrappers:["form-field"]},{template:"

Primary (5') Coordinates

",props:{colSpan:24}},{key:"referenceBuild",type:"reference-build-select"},{key:"ensemblVersion",type:"input",wrappers:["form-field"],validators:{nccnVersionNumber:{expression:n=>!n.value||/^\d{2,3}$/.test(n.value),message:(n,s)=>`"${s.formControl?.value}" does not appear to be an Ensembl version number`}},props:{label:"Ensembl Version",description:"Enter a valid Ensembl database version (e.g. 75)"}},{key:"referenceBases",type:"input",wrappers:["form-field"],validators:{nccnVersionNumber:{expression:n=>!n.value||/^[ACTG\\]+$/.test(n.value),message:(n,s)=>`"${s.formControl?.value}" contains invalid characters.`}},props:{label:"Reference Bases",description:"The nucleotide(s) of the reference genome affected by the variant. Only used for SNVs and Indels (otherwise leave blank)"}},{key:"variantBases",type:"input",wrappers:["form-field"],validators:{nccnVersionNumber:{expression:n=>!n.value||/^[ACTG\\]+$/.test(n.value),message:(n,s)=>`"${s.formControl?.value}" contains invalid characters.`}},props:{label:"Variant Bases",description:"The nucleotide(s) of the variant allele. Only used for SNVs and Indels (otherwise leave blank)"}},{key:"chromosome",type:"select",wrappers:["form-field"],props:{label:"Chromosome",options:d.aP,description:"Specify the chromosome in which this variant occurs (e.g. 17)."}},{key:"start",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:n=>!n.value||/^\d+$/.test(n.value),message:(n,s)=>"Start coordinate must be numeric"}},props:{label:"Start",description:"Enter the left/first coordinate of this variant. Must be \u2264 the Stop coordinate. Coordinate must be compatible with the selected reference build."}},{key:"stop",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:n=>!n.value||/^\d+$/.test(n.value),message:(n,s)=>"Stop coordinate must be numeric"}},props:{label:"Stop",description:"Provide the right/second coordinate of this variant. Must be \u2265 the Start coordinate. Coordinate must be compatible with the selected reference build."}},{key:"representativeTranscript",type:"input",wrappers:["form-field"],props:{label:"Representative Transcript",description:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}},{template:"

Secondary (3') Coordinates

",props:{colSpan:24}},{key:"chromosome2",type:"select",wrappers:["form-field"],props:{label:"Chromosome",options:d.aP,description:"If this variant is a fusion (e.g. BCR-ABL1), specify the chromosome name, coordinates, and representative transcript for the 3-prime partner."}},{key:"start2",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:n=>!n.value||/^\d+$/.test(n.value),message:(n,s)=>"Start coordinate must be numeric"}},props:{label:"Start",description:"Enter the left/first coordinate of this 3-prime partner fusion variant. Must be \u2264 the Stop coordinate. Coordinate must be compatible with the selected reference build."}},{key:"stop2",type:"input",wrappers:["form-field"],validators:{isNumeric:{expression:n=>!n.value||/^\d+$/.test(n.value),message:(n,s)=>"Stop coordinate must be numeric"}},props:{label:"Stop",description:"Provide the right/second coordinate of this 3-prime partner fusion variant. Must be \u2265 the Start coordinate. Coordinate must be compatible with the selected reference build."}},{key:"representativeTranscript2",type:"input",wrappers:["form-field"],props:{label:"Representative Transcript",description:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",placeholder:"Please enter a comment describing your revisions.",required:!0,minLength:10}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Variant Revisions"}}]}]}],{id:void 0,clientMutationId:void 0,fields:{name:void 0,aliases:void 0,hgvsDescriptions:void 0,clinvarIds:void 0,variantTypeIds:void 0,referenceBuild:void 0,ensemblVersion:void 0,chromosome:void 0,start:void 0,stop:void 0,representativeTranscript:void 0,chromosome2:void 0,start2:void 0,stop2:void 0,representativeTranscript2:void 0,geneId:void 0,referenceBases:void 0,variantBases:void 0},comment:void 0,organizationId:void 0});let o=n=>"NONE FOUND"==n[0]?{noneFound:!0}:"NA"==n[0]?{notApplicable:!0}:{ids:n.map(s=>+s)};var T,i=e(5879),D=e(313),P=e(7473),S=e(6814),O=e(3599),z=e(5545),A=e(4634);function I(n,s){if(1&n&&(i._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or can view them "),i.TgZ(1,"a",4),i._uU(2,"here."),i.qZA()),2&n){const c=i.oxw();i.xp6(1),i.s9C("href",c.url,i.LSH)}}const E=function(){return{}};function _(n,s){if(1&n){const c=i.EpF();i.TgZ(0,"form",5),i.NdJ("ngSubmit",function(){i.CHM(c);const b=i.oxw();return i.KtG(b.onSubmit(b.model))}),i.TgZ(1,"formly-form",6),i.NdJ("modelChange",function(b){i.CHM(c);const F=i.oxw();return i.KtG(F.model=b)}),i.qZA()()}if(2&n){const c=i.oxw();i.Q6J("formGroup",c.form),i.xp6(1),i.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",i.DdM(5,E))}}function g(n,s){1&n&&i._uU(0," Loading Variant... ")}let l=((T=class{constructor(s,c,R,b){this.revisableFieldsGQL=s,this.submitRevisionsGQL=c,this.networkErrorService=R,this.cdr=b,this.form=new u.nJ({}),this.fields=p,this.reviseVariantMutator=new C.U(R)}ngOnInit(){this.url=`/variants/${this.variantId}/revisions`}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantId:this.variantId}).pipe((0,h.t)(this)).subscribe({next:({data:{variant:s}})=>{var n;s&&(this.model={id:s.id,fields:(n=s,{name:n.name,aliases:n.variantAliases,hgvsDescriptions:n.hgvsDescriptions,clinvarIds:n.clinvarIds,variantTypeIds:n.variantTypes.map(s=>s.id),referenceBuild:n.referenceBuild,ensemblVersion:n.ensemblVersion,chromosome:n.primaryCoordinates?.chromosome,start:n.primaryCoordinates?.start,stop:n.primaryCoordinates?.stop,representativeTranscript:n.primaryCoordinates?.representativeTranscript,chromosome2:n.secondaryCoordinates?.chromosome,start2:n.secondaryCoordinates?.start,stop2:n.secondaryCoordinates?.stop,representativeTranscript2:n.secondaryCoordinates?.representativeTranscript,geneId:n.gene.id,referenceBases:n.referenceBases,variantBases:n.variantBases})},this.cdr.detectChanges())},error:s=>{console.error("Error retrieving Variant."),console.error(s)},complete:()=>{}})}onSubmit(s){if(!this.variantId)return;let c=function a(n,s){const c=s.fields;if(s.comment&&c.name&&c.geneId)return{id:n,fields:{name:c.name,aliases:c.aliases||[],hgvsDescriptions:c.hgvsDescriptions||[],clinvarIds:o(c.clinvarIds||[]),variantTypeIds:c.variantTypeIds||[],referenceBuild:d.uP(c.referenceBuild),ensemblVersion:d.uP(c.ensemblVersion?+c.ensemblVersion:void 0),primaryCoordinates:{chromosome:c.chromosome,start:c.start?+c.start:void 0,stop:c.stop?+c.stop:void 0,representativeTranscript:c.representativeTranscript},secondaryCoordinates:{chromosome:c.chromosome2,start:c.start2?+c.start2:void 0,stop:c.stop2?+c.stop2:void 0,representativeTranscript:c.representativeTranscript2},geneId:c.geneId,referenceBases:d.xt(c.referenceBases),variantBases:d.xt(c.variantBases)},organizationId:s.organizationId,comment:s.comment}}(this.variantId,s);c&&(this.mutationState=this.reviseVariantMutator.mutate(this.submitRevisionsGQL,{input:c}))}}).\u0275fac=function(s){return new(s||T)(i.Y36(D.nnL),i.Y36(D.Xft),i.Y36(P.Y),i.Y36(i.sBO))},T.\u0275cmp=i.Xpm({type:T,selectors:[["cvc-variant-revise-form"]],inputs:{variantId:"variantId"},decls:6,vars:5,consts:[["entityType","Variant",3,"redirectUrl","mutationState","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(s,c){if(1&s&&(i.TgZ(0,"cvc-form-submission-status-display",0),i.YNc(1,I,3,1,"ng-template",null,1,i.W1O),i.YNc(3,_,2,6,"form",2),i.YNc(4,g,1,0,"ng-template",null,3,i.W1O),i.qZA()),2&s){const R=i.MAs(2),b=i.MAs(5);i.Q6J("redirectUrl",c.url)("mutationState",c.mutationState)("successMessage",R),i.xp6(3),i.Q6J("ngIf",c.model)("ngIfElse",b)}},dependencies:[S.O5,O.Lr,u._Y,u.JL,u.sg,z.T7,A.F],encapsulation:2,changeDetection:0}),T);l=(0,t.gn)([(0,h.c)()],l)},4706:(L,M,e)=>{e.d(M,{A:()=>y});var t=e(6814),u=e(3599),h=e(2840),C=e(6683),d=e(5106),f=e(5879);let y=(()=>{class v{}return v.\u0275fac=function(p){return new(p||v)},v.\u0275mod=f.oAB({type:v}),v.\u0275inj=f.cJS({imports:[t.ez,u.U5,h.sL,C.S,d.g]}),v})()},9439:(L,M,e)=>{e.d(M,{L:()=>A});var t=e(655),u=e(6223),h=e(2024),C=e(2784),d=e(1791),f=e(8645);const v=[{wrappers:["form-layout"],props:{submitLabel:"Revise Variant Group",showDevPanel:!1},fieldGroup:[{key:"clientMutationId",props:{hidden:!0}},{key:"fields",wrappers:["form-card"],props:{title:"Revise Variant Group"},fieldGroup:[{key:"name",type:"input",props:{label:"Variant Group Name",required:!0,colSpan:24}},{key:"description",type:"textarea",wrappers:["form-field"],props:{tooltip:"User-defined summary of the clinical relevance of this Variant Group.",placeholder:"Enter a Variant Group Summary",label:"Variant Group Summary",required:!0,rows:5}},{key:"sourceIds",type:"source-multi-select",wrappers:["form-field"],props:{required:!1}},{key:"variantIds",type:"variant-multi-select",props:{label:"Variants",required:!0,colSpan:24,requireGene:!1,showManagerBtn:!0}}]},{wrappers:["form-footer"],fieldGroup:[{key:"comment",type:"textarea",props:{label:"Comment",required:!0}},{type:"cvc-cancel-button"},{key:"organizationId",type:"org-submit-button",props:{submitLabel:"Submit Variant Group Revision"}}]}]}];var P,r=e(5879),p=e(313),m=e(7473),a=e(6814),o=e(3599),i=e(5545),D=e(4634);function S(T,I){if(1&T&&(r._uU(0," Revision(s) submitted! You will be redirected to the Revisions page or you may view them "),r.TgZ(1,"a",4),r._uU(2,"here."),r.qZA()),2&T){const E=r.oxw();r.xp6(1),r.s9C("href",E.url,r.LSH)}}function O(T,I){if(1&T){const E=r.EpF();r.TgZ(0,"form",5),r.NdJ("ngSubmit",function(){r.CHM(E);const g=r.oxw();return r.KtG(g.onSubmit(g.model))}),r.TgZ(1,"formly-form",6),r.NdJ("modelChange",function(g){r.CHM(E);const l=r.oxw();return r.KtG(l.model=g)}),r.qZA()()}if(2&T){const E=r.oxw();r.Q6J("formGroup",E.form),r.xp6(1),r.Q6J("form",E.form)("fields",E.fields)("model",E.model)("options",E.options)}}function z(T,I){1&T&&r._uU(0," Loading Variant Group... ")}let A=((P=class{constructor(I,E,_,g){this.revisableFieldsGQL=I,this.submitRevisionsGQL=E,this.networkErrorService=_,this.cdr=g,this.form=new u.nJ({}),this.fields=v,this.state={formReady$:new f.x},this.options={formState:this.state},this.reviseAssertionMutator=new h.U(_)}onSubmit(I){console.log("------ Variant Group Suggestion Added ------"),console.log(I)}ngOnInit(){this.url=`/variant-groups/${this.variantGroupId}/revisions`}ngOnDestroy(){}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantGroupId:this.variantGroupId}).pipe((0,d.t)(this)).subscribe({next:({data:{variantGroup:I}})=>{I&&(this.model={id:I.id,fields:(0,C.ND)(I)},this.cdr.detectChanges())},error:I=>{console.error("Error retrieving variantgroupItem."),console.error(I)},complete:()=>{this.state.formReady$.next(!0)}})}}).\u0275fac=function(I){return new(I||P)(r.Y36(p.Y6e),r.Y36(p.eJ3),r.Y36(m.Y),r.Y36(r.sBO))},P.\u0275cmp=r.Xpm({type:P,selectors:[["cvc-variantgroup-revise-form"]],inputs:{variantGroupId:"variantGroupId"},decls:6,vars:5,consts:[["entityType","Evidence Item",3,"mutationState","redirectUrl","successMessage"],["success",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf","ngIfElse"],["loadingModel",""],[3,"href"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[3,"form","fields","model","options","modelChange"]],template:function(I,E){if(1&I&&(r.TgZ(0,"cvc-form-submission-status-display",0),r.YNc(1,S,3,1,"ng-template",null,1,r.W1O),r.YNc(3,O,2,5,"form",2),r.YNc(4,z,1,0,"ng-template",null,3,r.W1O),r.qZA()),2&I){const _=r.MAs(2),g=r.MAs(5);r.Q6J("mutationState",E.mutationState)("redirectUrl",E.url)("successMessage",_),r.xp6(3),r.Q6J("ngIf",E.model)("ngIfElse",g)}},dependencies:[a.O5,o.Lr,u._Y,u.JL,u.sg,i.T7,D.F]}),P);A=(0,t.gn)([(0,d.c)()],A)},2784:(L,M,e)=>{function u(d){return{description:d.description,sourceIds:d.sources.map(f=>f.id),variantIds:d.variants.nodes.map(f=>f.id),name:d.name}}function C(d){const f=d.fields;if(![f.name,d.comment].find(v=>void 0===v))return{description:f.description,sourceIds:f.sourceIds||[],name:f.name,variantIds:f.variantIds||[],organizationId:d.organizationId}}e.d(M,{ND:()=>u,t3:()=>C}),e(2701)}}]); \ No newline at end of file diff --git a/server/public/index.html b/server/public/index.html index b50b971d3..24c69a2e3 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -1,6 +1,8 @@ - + + + - + - - \ No newline at end of file + + diff --git a/server/public/main.3f9a66e0b7c17774.js b/server/public/main.3f9a66e0b7c17774.js new file mode 100644 index 000000000..a47b7487a --- /dev/null +++ b/server/public/main.3f9a66e0b7c17774.js @@ -0,0 +1,4769 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[179],{4265:(xt,Se,a)=>{a.d(Se,{T6:()=>L,VD:()=>Y,WE:()=>G,Yt:()=>M,lC:()=>v,py:()=>k,rW:()=>i,s:()=>P,ve:()=>s,vq:()=>U});var t=a(6337);function i(e,F,R){return{r:255*(0,t.sh)(e,255),g:255*(0,t.sh)(F,255),b:255*(0,t.sh)(R,255)}}function v(e,F,R){e=(0,t.sh)(e,255),F=(0,t.sh)(F,255),R=(0,t.sh)(R,255);var ge=Math.max(e,F,R),ze=Math.min(e,F,R),K=0,N=0,V=(ge+ze)/2;if(ge===ze)N=0,K=0;else{var O=ge-ze;switch(N=V>.5?O/(2-ge-ze):O/(ge+ze),ge){case e:K=(F-R)/O+(F1&&(R-=1),R<1/6?e+6*R*(F-e):R<.5?F:R<2/3?e+(F-e)*(2/3-R)*6:e}function s(e,F,R){var ge,ze,K;if(e=(0,t.sh)(e,360),F=(0,t.sh)(F,100),R=(0,t.sh)(R,100),0===F)ze=R,K=R,ge=R;else{var N=R<.5?R*(1+F):R+F-R*F,V=2*R-N;ge=d(V,N,e+1/3),ze=d(V,N,e),K=d(V,N,e-1/3)}return{r:255*ge,g:255*ze,b:255*K}}function k(e,F,R){e=(0,t.sh)(e,255),F=(0,t.sh)(F,255),R=(0,t.sh)(R,255);var ge=Math.max(e,F,R),ze=Math.min(e,F,R),K=0,N=ge,V=ge-ze,O=0===ge?0:V/ge;if(ge===ze)K=0;else{switch(ge){case e:K=(F-R)/V+(F>16,g:(65280&e)>>8,b:255&e}}},1309:(xt,Se,a)=>{a.d(Se,{R:()=>t});var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},6379:(xt,Se,a)=>{a.d(Se,{uA:()=>d});var t=a(4265),i=a(1309),v=a(6337);function d(Y){var M={r:0,g:0,b:0},e=1,F=null,R=null,ge=null,ze=!1,K=!1;return"string"==typeof Y&&(Y=function w(Y){if(0===(Y=Y.trim().toLowerCase()).length)return!1;var M=!1;if(i.R[Y])Y=i.R[Y],M=!0;else if("transparent"===Y)return{r:0,g:0,b:0,a:0,format:"name"};var e=S.rgb.exec(Y);return e?{r:e[1],g:e[2],b:e[3]}:(e=S.rgba.exec(Y))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=S.hsl.exec(Y))?{h:e[1],s:e[2],l:e[3]}:(e=S.hsla.exec(Y))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=S.hsv.exec(Y))?{h:e[1],s:e[2],v:e[3]}:(e=S.hsva.exec(Y))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=S.hex8.exec(Y))?{r:(0,t.VD)(e[1]),g:(0,t.VD)(e[2]),b:(0,t.VD)(e[3]),a:(0,t.T6)(e[4]),format:M?"name":"hex8"}:(e=S.hex6.exec(Y))?{r:(0,t.VD)(e[1]),g:(0,t.VD)(e[2]),b:(0,t.VD)(e[3]),format:M?"name":"hex"}:(e=S.hex4.exec(Y))?{r:(0,t.VD)(e[1]+e[1]),g:(0,t.VD)(e[2]+e[2]),b:(0,t.VD)(e[3]+e[3]),a:(0,t.T6)(e[4]+e[4]),format:M?"name":"hex8"}:!!(e=S.hex3.exec(Y))&&{r:(0,t.VD)(e[1]+e[1]),g:(0,t.VD)(e[2]+e[2]),b:(0,t.VD)(e[3]+e[3]),format:M?"name":"hex"}}(Y)),"object"==typeof Y&&(L(Y.r)&&L(Y.g)&&L(Y.b)?(M=(0,t.rW)(Y.r,Y.g,Y.b),ze=!0,K="%"===String(Y.r).substr(-1)?"prgb":"rgb"):L(Y.h)&&L(Y.s)&&L(Y.v)?(F=(0,v.JX)(Y.s),R=(0,v.JX)(Y.v),M=(0,t.WE)(Y.h,F,R),ze=!0,K="hsv"):L(Y.h)&&L(Y.s)&&L(Y.l)&&(F=(0,v.JX)(Y.s),ge=(0,v.JX)(Y.l),M=(0,t.ve)(Y.h,F,ge),ze=!0,K="hsl"),Object.prototype.hasOwnProperty.call(Y,"a")&&(e=Y.a)),e=(0,v.Yq)(e),{ok:ze,format:Y.format||K,r:Math.min(255,Math.max(M.r,0)),g:Math.min(255,Math.max(M.g,0)),b:Math.min(255,Math.max(M.b,0)),a:e}}var G="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),U="[\\s|\\(]+(".concat(G,")[,|\\s]+(").concat(G,")[,|\\s]+(").concat(G,")\\s*\\)?"),P="[\\s|\\(]+(".concat(G,")[,|\\s]+(").concat(G,")[,|\\s]+(").concat(G,")[,|\\s]+(").concat(G,")\\s*\\)?"),S={CSS_UNIT:new RegExp(G),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+P),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+P),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+P),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function L(Y){return!!S.CSS_UNIT.exec(String(Y))}},6337:(xt,Se,a)=>{function t(U,P){(function v(U){return"string"==typeof U&&-1!==U.indexOf(".")&&1===parseFloat(U)})(U)&&(U="100%");var S=function d(U){return"string"==typeof U&&-1!==U.indexOf("%")}(U);return U=360===P?U:Math.min(P,Math.max(0,parseFloat(U))),S&&(U=parseInt(String(U*P),10)/100),Math.abs(U-P)<1e-6?1:U=360===P?(U<0?U%P+P:U%P)/parseFloat(String(P)):U%P/parseFloat(String(P))}function i(U){return Math.min(1,Math.max(0,U))}function s(U){return U=parseFloat(U),(isNaN(U)||U<0||U>1)&&(U=1),U}function k(U){return U<=1?"".concat(100*Number(U),"%"):U}function G(U){return 1===U.length?"0"+U:String(U)}a.d(Se,{FZ:()=>G,JX:()=>k,V2:()=>i,Yq:()=>s,sh:()=>t})},3369:(xt,Se,a)=>{a.d(Se,{G:()=>W});var t=a(5879),i=a(6814),v=a(4190),d=a(551),s=a(5695),k=a(7417),G=a(5676),U=a(7398),P=a(2181),S=a(313),w=a(2962),L=a(8125),Y=a(3317),M=a(8091),e=a(2616);function F(ve,Q){if(1&ve&&(t._UZ(0,"i",9),t.ALo(1,"entityColor"),t._uU(2)),2&ve){const ae=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"ClinicalTrial")),t.xp6(2),t.hij(" ",ae.nctId," ")}}function R(ve,Q){if(1&ve&&(t.TgZ(0,"cvc-link-tag",10),t._uU(1," View on clinicaltrials.gov "),t.qZA()),2&ve){const ae=t.oxw().ngIf;t.Q6J("href",ae.url)}}function ge(ve,Q){if(1&ve&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,F,3,4,"ng-template",null,3,t.W1O),t.YNc(4,R,2,1,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),t._uU(8),t.qZA(),t.TgZ(9,"nz-descriptions-item",7),t._uU(10),t.qZA(),t.TgZ(11,"nz-descriptions-item",8),t._uU(12),t.qZA()()(),t.BQk()),2&ve){const ae=Q.ngIf,fe=t.MAs(3),be=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",fe)("nzExtra",be),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(2),t.hij(" ",ae.name," "),t.xp6(2),t.hij(" ",ae.sourceCount," "),t.xp6(2),t.hij(" ",ae.evidenceCount," ")}}let ze=(()=>{class ve{constructor(ae){this.gql=ae}ngOnInit(){if(null==this.clinicalTrialId)throw new Error("cvc-clinical-trial-popover requires valid clinicalTrialId input.");this.clinicalTrial$=this.gql.watch({clinicalTrialId:this.clinicalTrialId}).valueChanges.pipe((0,U.U)(({data:ae})=>ae?.clinicalTrials.edges[0]?.node),(0,P.h)(G.ep))}}return ve.\u0275fac=function(ae){return new(ae||ve)(t.Y36(S.UIR))},ve.\u0275cmp=t.Xpm({type:ve,selectors:[["cvc-clinical-trial-popover"]],inputs:{clinicalTrialId:"clinicalTrialId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2"],["nzTitle","Sources","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"],[3,"href"]],template:function(ae,fe){1&ae&&(t.TgZ(0,"div",0),t.YNc(1,ge,13,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&ae&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,fe.clinicalTrial$)))},dependencies:[i.O5,w.bd,d.Ls,L.R7,L.uj,Y.l,M.fM,e.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),ve})();function K(ve,Q){}function N(ve,Q){if(1&ve&&(t.ynx(0),t.TgZ(1,"a",4),t.YNc(2,K,0,0,"ng-template",5),t.qZA(),t.BQk()),2&ve){const ae=t.oxw(),fe=t.MAs(2);t.xp6(1),t.Q6J("routerLink",ae.clinicalTrial.link),t.xp6(1),t.Q6J("ngTemplateOutlet",fe)}}function V(ve,Q){}function O(ve,Q){if(1&ve&&t._UZ(0,"cvc-clinical-trial-popover",8),2&ve){const ae=t.oxw(2);t.Q6J("clinicalTrialId",ae.clinicalTrial.id)}}function A(ve,Q){if(1&ve&&(t.TgZ(0,"nz-tag",6),t.YNc(1,V,0,0,"ng-template",5),t.qZA(),t.YNc(2,O,1,1,"ng-template",null,7,t.W1O)),2&ve){const ae=t.MAs(3),fe=t.oxw(),be=t.MAs(6);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",ae)("nzPopoverTrigger",fe.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",be)}}function x(ve,Q){}function pe(ve,Q){if(1&ve&&t.YNc(0,x,0,0,"ng-template",5),2&ve){t.oxw();const ae=t.MAs(2);t.Q6J("ngTemplateOutlet",ae)}}function de(ve,Q){if(1&ve&&(t._UZ(0,"i",9),t.ALo(1,"entityColor"),t._uU(2)),2&ve){const ae=t.oxw();t.Q6J("nzTwotoneColor",t.lcZ(1,2,"ClinicalTrial")),t.xp6(2),t.hij(" ",ae.clinicalTrial.nctId,"\n")}}let W=(()=>{class ve{set clinicalTrial(ae){if(!ae)throw new Error("clinical-trial-tag clinicalTrial Input requires LinkableClinicalTrial.");this._clinicalTrial=ae}get clinicalTrial(){return this._clinicalTrial}constructor(){this.linked=!0,this.enablePopover=!0}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275cmp=t.Xpm({type:ve,selectors:[["cvc-clinical-trial-tag"]],inputs:{clinicalTrial:"clinicalTrial",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["clinicalTrialPopover",""],[3,"clinicalTrialId"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"]],template:function(ae,fe){if(1&ae&&(t.YNc(0,N,3,2,"ng-container",0),t.YNc(1,A,4,4,"ng-template",null,1,t.W1O),t.YNc(3,pe,1,1,"ng-template",null,2,t.W1O),t.YNc(5,de,3,4,"ng-template",null,3,t.W1O)),2&ae){const be=t.MAs(4);t.Q6J("ngIf",fe.linked)("ngIfElse",be)}},dependencies:[i.O5,i.tP,v.rH,d.Ls,s.j,k.lU,ze,e.a],styles:["[_nghost-%COMP%]{display:block}"]}),ve})()},4605:(xt,Se,a)=>{a.d(Se,{N:()=>L});var t=a(6814),i=a(4190),v=a(5695),d=a(7417),s=a(6067),k=a(2524),G=a(2962),U=a(8125),P=a(551),S=a(5879);let w=(()=>{class Y{}return Y.\u0275fac=function(e){return new(e||Y)},Y.\u0275mod=S.oAB({type:Y}),Y.\u0275inj=S.cJS({imports:[t.ez,G.vh,P.PV,U.q6,s.X,k.s]}),Y})(),L=(()=>{class Y{}return Y.\u0275fac=function(e){return new(e||Y)},Y.\u0275mod=S.oAB({type:Y}),Y.\u0275inj=S.cJS({imports:[t.ez,i.Bz,P.PV,v.X,d.$6,w,k.s]}),Y})()},2851:(xt,Se,a)=>{a.d(Se,{I:()=>N});var t=a(5676),i=a(7398),v=a(2181),d=a(5879),s=a(313),k=a(6814),G=a(2962),U=a(8125),P=a(551),S=a(2392),w=a(3317),L=a(8091),Y=a(5869);function M(V,O){if(1&V&&(d._UZ(0,"i",12),d._uU(1),d.ALo(2,"truncate")),2&V){const A=d.oxw().ngIf;d.xp6(1),d.hij(" ",d.xi3(2,1,A.name,50)," ")}}function e(V,O){if(1&V&&(d.TgZ(0,"cvc-link-tag",14),d._uU(1),d.qZA()),2&V){const A=d.oxw(2).ngIf;d.Q6J("href",A.diseaseUrl),d.xp6(1),d.hij(" DOID: ",A.doid," ")}}function F(V,O){if(1&V&&d.YNc(0,e,2,2,"cvc-link-tag",13),2&V){const A=d.oxw().ngIf,x=d.MAs(7);d.Q6J("ngIf",A.doid)("ngIfElse",x)}}function R(V,O){1&V&&(d.TgZ(0,"span",15),d._uU(1,"No DOID"),d.qZA())}function ge(V,O){if(1&V&&(d.TgZ(0,"nz-descriptions-item",16),d._uU(1),d.qZA()),2&V){const A=d.oxw().ngIf;d.xp6(1),d.hij(" ",A.name," ")}}function ze(V,O){if(1&V&&(d.TgZ(0,"nz-descriptions-item",17),d._uU(1),d.qZA()),2&V){const A=d.oxw().ngIf;d.xp6(1),d.hij(" ",A.diseaseAliases.join(", ")," ")}}function K(V,O){if(1&V&&(d.ynx(0),d.TgZ(1,"nz-card",2),d.YNc(2,M,3,4,"ng-template",null,3,d.W1O),d.YNc(4,F,1,2,"ng-template",null,4,d.W1O),d.YNc(6,R,2,0,"ng-template",null,5,d.W1O),d.TgZ(8,"nz-descriptions",6),d.YNc(9,ge,2,1,"nz-descriptions-item",7),d.YNc(10,ze,2,1,"nz-descriptions-item",8),d.TgZ(11,"nz-descriptions-item",9),d._uU(12),d.qZA(),d.TgZ(13,"nz-descriptions-item",10),d._uU(14),d.qZA(),d.TgZ(15,"nz-descriptions-item",11),d._uU(16),d.qZA()()(),d.BQk()),2&V){const A=O.ngIf,x=d.MAs(3),pe=d.MAs(5);d.xp6(1),d.Q6J("nzTitle",x)("nzExtra",pe),d.xp6(7),d.Q6J("nzColumn",1),d.xp6(1),d.Q6J("ngIf",A.name.length>50),d.xp6(1),d.Q6J("ngIf",A.diseaseAliases.length>0),d.xp6(2),d.hij(" ",A.assertionCount," "),d.xp6(2),d.hij(" ",A.evidenceItemCount," "),d.xp6(2),d.hij(" ",A.molecularProfileCount," ")}}let N=(()=>{class V{constructor(A){this.gql=A}ngOnInit(){if(null==this.diseaseId)throw new Error("cvc-disease-popover requires valid diseaseId input.");this.disease$=this.gql.watch({diseaseId:this.diseaseId}).valueChanges.pipe((0,i.U)(({data:A})=>A?.diseasePopover),(0,v.h)(t.ep))}}return V.\u0275fac=function(A){return new(A||V)(d.Y36(s.k7O))},V.\u0275cmp=d.Xpm({type:V,selectors:[["cvc-disease-popover"]],inputs:{diseaseId:"diseaseId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noDoid",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","1"],["nzTitle","Evidence","nzSpan","1"],["nzTitle","Molecular Profiles","nzSpan","1"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on disease-ontology.org",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"]],template:function(A,x){1&A&&(d.TgZ(0,"div",0),d.YNc(1,K,17,8,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA()),2&A&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,x.disease$)))},dependencies:[k.O5,G.bd,U.R7,U.uj,P.Ls,S.ZU,w.l,L.fM,Y.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),V})()},5687:(xt,Se,a)=>{a.d(Se,{t:()=>P});var t=a(6814),i=a(2962),v=a(8125),d=a(551),s=a(6067),k=a(2392),G=a(2524),U=a(5879);let P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=U.oAB({type:S}),S.\u0275inj=U.cJS({imports:[t.ez,i.vh,v.q6,d.PV,k.ZJ,G.s,s.X]}),S})()},9775:(xt,Se,a)=>{a.d(Se,{n:()=>K});var t=a(8130),i=a(5879),v=a(6814),d=a(4190),s=a(5695),k=a(7417),G=a(551),U=a(2851),P=a(5869);function S(N,V){}function w(N,V){if(1&N&&(i.ynx(0),i.TgZ(1,"a",4),i.YNc(2,S,0,0,"ng-template",5),i.qZA(),i.BQk()),2&N){const O=i.oxw(),A=i.MAs(2);i.xp6(1),i.Q6J("routerLink",O.disease.link),i.xp6(1),i.Q6J("ngTemplateOutlet",A)}}function L(N,V){}function Y(N,V){if(1&N&&i._UZ(0,"cvc-disease-popover",8),2&N){const O=i.oxw(2);i.Q6J("diseaseId",O.disease.id)}}function M(N,V){if(1&N){const O=i.EpF();i.TgZ(0,"nz-tag",6),i.NdJ("nzOnClose",function(x){i.CHM(O);const pe=i.oxw();return i.KtG(pe.itemClosed(x))}),i.YNc(1,L,0,0,"ng-template",5),i.qZA(),i.YNc(2,Y,1,1,"ng-template",null,7,i.W1O)}if(2&N){const O=i.MAs(3),A=i.oxw(),x=i.MAs(6);i.Q6J("nzPopoverMouseEnterDelay",A.onCloseClicked?0:.5)("nzPopoverContent",O)("nzPopoverTrigger",A.enablePopover?"hover":null)("nzMode",A.onCloseClicked?"closeable":"default"),i.xp6(1),i.Q6J("ngTemplateOutlet",x)}}function e(N,V){}function F(N,V){if(1&N&&i.YNc(0,e,0,0,"ng-template",5),2&N){i.oxw();const O=i.MAs(2);i.Q6J("ngTemplateOutlet",O)}}function R(N,V){if(1&N&&(i.ynx(0),i._uU(1),i.ALo(2,"truncate"),i.BQk()),2&N){const O=i.oxw(2);i.xp6(1),i.hij(" ",i.xi3(2,1,O.disease.name,27)," ")}}function ge(N,V){if(1&N&&i._uU(0),2&N){const O=i.oxw(2);i.hij(" ",O.disease.name," ")}}function ze(N,V){if(1&N&&(i._UZ(0,"i",9),i.YNc(1,R,3,4,"ng-container",0),i.YNc(2,ge,1,1,"ng-template",null,10,i.W1O)),2&N){const O=i.MAs(3),A=i.oxw();i.xp6(1),i.Q6J("ngIf",A.truncateLongName)("ngIfElse",O)}}let K=(()=>{class N extends t.a{constructor(){super(...arguments),this.enablePopover=!0,this.truncateLongName=!1}set disease(O){if(!O)throw new Error("disease-tag disease Input requires LinkableDisease.");this._disease=O}get disease(){return this._disease}idFunction(){return this.disease.id}}return N.\u0275fac=function(){let V;return function(A){return(V||(V=i.n5z(N)))(A||N)}}(),N.\u0275cmp=i.Xpm({type:N,selectors:[["cvc-disease-tag"]],inputs:{disease:"disease",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[i.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["diseasePopover",""],[3,"diseaseId"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["fullName",""]],template:function(O,A){if(1&O&&(i.YNc(0,w,3,2,"ng-container",0),i.YNc(1,M,4,5,"ng-template",null,1,i.W1O),i.YNc(3,F,1,1,"ng-template",null,2,i.W1O),i.YNc(5,ze,4,2,"ng-template",null,3,i.W1O)),2&O){const x=i.MAs(4);i.Q6J("ngIf",A.linked)("ngIfElse",x)}},dependencies:[v.O5,v.tP,d.rH,s.j,k.lU,G.Ls,U.I,P.W],encapsulation:2,changeDetection:0}),N})()},3396:(xt,Se,a)=>{a.d(Se,{Q:()=>P});var t=a(6814),i=a(4190),v=a(5695),d=a(7417),s=a(551),k=a(5687),G=a(2524),U=a(5879);let P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=U.oAB({type:S}),S.\u0275inj=U.cJS({imports:[t.ez,i.Bz,v.X,d.$6,s.PV,G.s,k.t]}),S})()},8213:(xt,Se,a)=>{a.d(Se,{_:()=>Ct});var t=a(7398),i=a(2181),v=a(5676),d=a(5879),s=a(313),k=a(6814),G=a(4190),U=a(551),P=a(2962),S=a(95),w=a(8125),L=a(5695),Y=a(2574),M=a(2392),e=a(4770),F=a(9775),R=a(3897),ge=a(4138),ze=a(2384),K=a(2606),N=a(5095),V=a(8091),O=a(6967),A=a(2616);function x(je,Yt){if(1&je&&(d.ynx(0),d._UZ(1,"i",17),d.ALo(2,"entityColor"),d._uU(3),d.BQk()),2&je){const qt=d.oxw(2).ngIf;d.xp6(1),d.Q6J("nzTwotoneColor",d.lcZ(2,2,"EvidenceItem")),d.xp6(2),d.hij(" ",qt.name," ")}}function pe(je,Yt){if(1&je&&d._UZ(0,"cvc-status-tag",18),2&je){const qt=d.oxw(2).ngIf;d.Q6J("status",qt.status)}}function de(je,Yt){1&je&&(d.TgZ(0,"nz-space"),d.YNc(1,x,4,4,"ng-container",15),d.YNc(2,pe,1,1,"cvc-status-tag",16),d.qZA())}function W(je,Yt){if(1&je&&d._UZ(0,"cvc-molecular-profile-tag",19),2&je){const qt=d.oxw().ngIf;d.Q6J("molecularProfile",qt.molecularProfile)("enablePopover",!1)("truncateLongName",!0)}}function ve(je,Yt){if(1&je&&(d.ynx(0),d._uU(1),d.BQk()),2&je){const qt=Yt.ngIf;d.xp6(1),d.hij(" ",qt," ")}}function Q(je,Yt){if(1&je&&(d.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",21),d._UZ(2,"cvc-mp-tag-name",22),d.qZA(),d.TgZ(3,"nz-descriptions-item",23),d._UZ(4,"cvc-source-tag",24),d.qZA()()),2&je){const qt=d.oxw().ngIf;d.Q6J("nzColumn",1),d.xp6(2),d.Q6J("nameSegments",qt.molecularProfile.parsedName)("enablePopover",!1),d.xp6(2),d.Q6J("source",qt.source)("enablePopover",!1)}}function ae(je,Yt){if(1&je&&(d.ynx(0),d._UZ(1,"cvc-disease-tag",35),d.BQk()),2&je){const qt=d.oxw(2).ngIf;d.xp6(1),d.Q6J("enablePopover",!1)("disease",qt.disease)("truncateLongName",!0)}}function fe(je,Yt){1&je&&d._uU(0," N/A ")}function be(je,Yt){if(1&je&&(d.TgZ(0,"span"),d._UZ(1,"cvc-therapy-tag",38),d.qZA()),2&je){const qt=Yt.$implicit;d.xp6(1),d.Q6J("enablePopover",!1)("therapy",qt)("truncateLongName",!0)}}function Ft(je,Yt){if(1&je&&(d.ynx(0),d._uU(1),d.ALo(2,"titlecase"),d.BQk()),2&je){const qt=d.oxw(3).ngIf;d.xp6(1),d.hij(" ",d.lcZ(2,1,qt.therapyInteractionType)," ")}}function Dt(je,Yt){if(1&je&&(d.TgZ(0,"nz-descriptions-item",36),d.YNc(1,be,2,3,"span",37),d.YNc(2,Ft,3,3,"ng-container",1),d.qZA()),2&je){const qt=d.oxw(2).ngIf;d.xp6(1),d.Q6J("ngForOf",qt.therapies),d.xp6(1),d.Q6J("ngIf",qt.therapies.length>1)}}function nn(je,Yt){if(1&je&&(d.TgZ(0,"span"),d._UZ(1,"cvc-phenotype-tag",40),d.qZA()),2&je){const qt=Yt.$implicit;d.xp6(1),d.Q6J("enablePopover",!1)("phenotype",qt)}}function Et(je,Yt){if(1&je&&(d.TgZ(0,"nz-descriptions-item",39),d.YNc(1,nn,2,2,"span",37),d.qZA()),2&je){const qt=d.oxw(2).ngIf;d.xp6(1),d.Q6J("ngForOf",qt.phenotypes)}}function Ht(je,Yt){if(1&je&&(d.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",25),d._uU(2),d.qZA(),d.TgZ(3,"nz-descriptions-item",26),d._uU(4),d.ALo(5,"evidenceEnumDisplay"),d.qZA(),d.TgZ(6,"nz-descriptions-item",27),d._uU(7),d.ALo(8,"evidenceEnumDisplay"),d.qZA(),d.TgZ(9,"nz-descriptions-item",28),d._uU(10),d.ALo(11,"evidenceEnumDisplay"),d.qZA(),d.TgZ(12,"nz-descriptions-item",29),d._uU(13),d._UZ(14,"i",30),d.qZA(),d.TgZ(15,"nz-descriptions-item",31),d.YNc(16,ae,2,3,"ng-container",9),d.YNc(17,fe,1,0,"ng-template",null,32,d.W1O),d.qZA(),d.YNc(19,Dt,3,2,"nz-descriptions-item",33),d.YNc(20,Et,2,1,"nz-descriptions-item",34),d.qZA()),2&je){const qt=d.MAs(18),vn=d.oxw().ngIf;d.Q6J("nzColumn",2),d.xp6(2),d.hij(" ",vn.evidenceLevel," "),d.xp6(2),d.hij(" ",d.lcZ(5,10,vn.evidenceType)," "),d.xp6(3),d.hij(" ",d.lcZ(8,12,vn.evidenceDirection)," "),d.xp6(3),d.hij(" ",d.lcZ(11,14,vn.significance)," "),d.xp6(3),d.hij(" ",vn.evidenceRating,""),d.xp6(3),d.Q6J("ngIf",vn.disease)("ngIfElse",qt),d.xp6(3),d.Q6J("ngIf",vn.therapies.length>0),d.xp6(1),d.Q6J("ngIf",vn.phenotypes.length>0)}}function tn(je,Yt){if(1&je&&(d.TgZ(0,"a",41)(1,"nz-tag",42),d._UZ(2,"i",43),d._uU(3),d.qZA()()),2&je){const qt=d.oxw().ngIf;d.MGl("routerLink","/evidence/",qt.id,"/flags"),d.xp6(3),d.hij(" Flags (",qt.flags.totalCount,") ")}}function un(je,Yt){if(1&je&&(d.TgZ(0,"a",41)(1,"nz-tag",44),d._UZ(2,"i",45),d._uU(3),d.qZA()()),2&je){const qt=d.oxw().ngIf;d.MGl("routerLink","/evidence/",qt.id,"/revisions"),d.xp6(3),d.hij(" Revisions (",qt.revisions.totalCount,") ")}}function In(je,Yt){if(1&je&&(d.TgZ(0,"a",41)(1,"nz-tag",46),d._UZ(2,"i",47),d._uU(3),d.qZA()()),2&je){const qt=d.oxw().ngIf;d.MGl("routerLink","/evidence/",qt.id,"/comments"),d.xp6(3),d.hij(" Comments (",qt.comments.totalCount,") ")}}function Xe(je,Yt){if(1&je&&(d.ynx(0),d.TgZ(1,"nz-card",3),d.YNc(2,de,3,0,"ng-template",null,4,d.W1O),d.YNc(4,W,1,3,"ng-template",null,5,d.W1O),d.TgZ(6,"nz-row")(7,"nz-col",6)(8,"div",7)(9,"p",8),d.YNc(10,ve,2,1,"ng-container",9),d.qZA()()()(),d.TgZ(11,"nz-space",10),d.YNc(12,Q,5,5,"nz-descriptions",11),d.YNc(13,Ht,21,16,"nz-descriptions",11),d.qZA(),d.TgZ(14,"nz-row",12)(15,"nz-col",6)(16,"nz-space",13),d.YNc(17,tn,4,2,"a",14),d.YNc(18,un,4,2,"a",14),d.YNc(19,In,4,2,"a",14),d.qZA()()()(),d.BQk()),2&je){const qt=Yt.ngIf,vn=d.MAs(3),Dn=d.MAs(5);d.oxw();const Wt=d.MAs(4);d.xp6(1),d.Q6J("nzTitle",vn)("nzExtra",Dn),d.xp6(8),d.Q6J("nzEllipsisRows",4),d.xp6(1),d.Q6J("ngIf",qt.description)("ngIfElse",Wt)}}function Re(je,Yt){1&je&&d._uU(0," Evidence item has not been provided a description.\n")}let Ct=(()=>{class je{constructor(qt){this.gql=qt}ngOnInit(){if(null==this.evidenceId)throw new Error("cvc-evidence-popover requires valid evidenceId input.");this.evidence$=this.gql.watch({evidenceId:this.evidenceId}).valueChanges.pipe((0,t.U)(({data:qt})=>qt?.evidenceItem),(0,i.h)(v.ep))}}return je.\u0275fac=function(qt){return new(qt||je)(d.Y36(s.Ybm))},je.\u0275cmp=d.Xpm({type:je,selectors:[["cvc-evidence-popover"]],inputs:{evidenceId:"evidenceId"},decls:5,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDescription",""],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["molecularProfile",""],["nzSpan","24"],[1,"popover-text"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],[4,"ngIf","ngIfElse"],["nzDirection","vertical","nzSize","small"],["nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["id","entity-child-counts"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],[4,"nzSpaceItem"],["style","font-weight: normal",3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[2,"font-weight","normal",3,"status"],[3,"molecularProfile","enablePopover","truncateLongName"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","MP Expression"],[3,"nameSegments","enablePopover"],["nzTitle","Source","nzSpan","2"],[3,"source","enablePopover"],["nzTitle","Level"],["nzTitle","Type"],["nzTitle","Direction"],["nzTitle","Clinical Significance","nzSpan","2"],["nzTitle","Rating"],["nz-icon","","nzType","star","nzTheme","fill"],["nzTitle","Disease"],["noDisease",""],["nzTitle","Therapies","nzSpan","2",4,"ngIf"],["nzTitle","Phenotypes","nzSpan","2",4,"ngIf"],[3,"enablePopover","disease","truncateLongName"],["nzTitle","Therapies","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"enablePopover","therapy","truncateLongName"],["nzTitle","Phenotypes","nzSpan","2"],[3,"enablePopover","phenotype"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(qt,vn){1&qt&&(d.TgZ(0,"div",0),d.YNc(1,Xe,20,5,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA(),d.YNc(3,Re,1,0,"ng-template",null,2,d.W1O)),2&qt&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,vn.evidence$)))},dependencies:[k.sg,k.O5,G.rH,U.Ls,P.bd,S.t3,S.SK,w.R7,w.uj,L.j,Y.NU,Y.$1,M.ZU,e.T,F.n,R.i,ge.T,ze.h,K.p,N.C,k.rS,V.fM,O.Do,A.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),je})()},1855:(xt,Se,a)=>{a.d(Se,{f:()=>ze});var t=a(6814),i=a(2962),v=a(95),d=a(8125),s=a(4190),k=a(5695),G=a(3396),U=a(3043),P=a(2574),S=a(551),w=a(2524),L=a(8641),Y=a(2655),M=a(2392),e=a(9858),F=a(8527),R=a(6061),ge=a(5879);let ze=(()=>{class K{}return K.\u0275fac=function(V){return new(V||K)},K.\u0275mod=ge.oAB({type:K}),K.\u0275inj=ge.cJS({imports:[t.ez,s.Bz,S.PV,i.vh,v.Jb,d.q6,k.X,P.zf,M.ZJ,w.s,R.N,G.Q,U.y,L.s,Y.x,F.u,e.r]}),K})()},1598:(xt,Se,a)=>{a.d(Se,{Q:()=>O});var t=a(5676),i=a(7398),v=a(2181),d=a(5879),s=a(313),k=a(6814),G=a(4190),U=a(2962),P=a(95),S=a(8125),w=a(5695),L=a(551),Y=a(2574),M=a(8091),e=a(2616);function F(A,x){if(1&A&&(d._UZ(0,"i",11),d.ALo(1,"entityColor"),d._uU(2)),2&A){const pe=d.oxw().ngIf;d.Q6J("nzTwotoneColor",d.lcZ(1,2,"Gene")),d.xp6(2),d.hij(" ",pe.officialName," ")}}function R(A,x){if(1&A&&(d.TgZ(0,"nz-tag"),d._uU(1),d.qZA()),2&A){const pe=x.$implicit;d.xp6(1),d.Oqu(pe)}}function ge(A,x){if(1&A&&(d.TgZ(0,"nz-descriptions-item",12),d.YNc(1,R,2,1,"nz-tag",13),d.qZA()),2&A){const pe=d.oxw().ngIf;d.xp6(1),d.Q6J("ngForOf",pe.geneAliases)}}function ze(A,x){if(1&A&&(d.TgZ(0,"a",14)(1,"nz-tag",15),d._UZ(2,"i",16),d._uU(3),d.qZA()()),2&A){const pe=d.oxw().ngIf;d.MGl("routerLink","/genes/",pe.id,"/flags"),d.xp6(3),d.hij(" Flags (",pe.flags.totalCount,") ")}}function K(A,x){if(1&A&&(d.TgZ(0,"a",14)(1,"nz-tag",17),d._UZ(2,"i",18),d._uU(3),d.qZA()()),2&A){const pe=d.oxw().ngIf;d.MGl("routerLink","/genes/",pe.id,"/revisions"),d.xp6(3),d.hij(" Revisions (",pe.revisions.totalCount,") ")}}function N(A,x){if(1&A&&(d.TgZ(0,"a",14)(1,"nz-tag",19),d._UZ(2,"i",20),d._uU(3),d.qZA()()),2&A){const pe=d.oxw().ngIf;d.MGl("routerLink","/genes/",pe.id,"/comments"),d.xp6(3),d.hij(" Comments (",pe.comments.totalCount,") ")}}function V(A,x){if(1&A&&(d.ynx(0),d.TgZ(1,"nz-card",2),d.YNc(2,F,3,4,"ng-template",null,3,d.W1O),d.TgZ(4,"nz-descriptions",4),d.YNc(5,ge,2,1,"nz-descriptions-item",5),d.TgZ(6,"nz-descriptions-item",6),d._uU(7),d.qZA()(),d.TgZ(8,"nz-row",7)(9,"nz-col",8)(10,"nz-space",9),d.YNc(11,ze,4,2,"a",10),d.YNc(12,K,4,2,"a",10),d.YNc(13,N,4,2,"a",10),d.qZA()()()(),d.BQk()),2&A){const pe=x.ngIf,de=d.MAs(3);d.xp6(1),d.Q6J("nzTitle",de),d.xp6(3),d.Q6J("nzColumn",2),d.xp6(1),d.Q6J("ngIf",pe.geneAliases.length>0),d.xp6(2),d.hij(" ",pe.variants.totalCount," ")}}let O=(()=>{class A{constructor(pe){this.gql=pe}ngOnInit(){if(null==this.geneId)throw new Error("cvc-gene-popover requires valid geneId input.");this.gene$=this.gql.watch({geneId:this.geneId}).valueChanges.pipe((0,i.U)(({data:pe})=>pe?.gene),(0,v.h)(t.ep))}}return A.\u0275fac=function(pe){return new(pe||A)(d.Y36(s.rJ8))},A.\u0275cmp=d.Xpm({type:A,selectors:[["cvc-gene-popover"]],inputs:{geneId:"geneId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Variants"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(pe,de){1&pe&&(d.TgZ(0,"div",0),d.YNc(1,V,14,4,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA()),2&pe&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,de.gene$)))},dependencies:[k.sg,k.O5,G.rH,U.bd,P.t3,P.SK,S.R7,S.uj,w.j,L.Ls,Y.NU,Y.$1,M.fM,e.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),A})()},9021:(xt,Se,a)=>{a.d(Se,{w:()=>w});var t=a(6814),i=a(4190),v=a(2524),d=a(2962),s=a(8125),k=a(95),G=a(551),U=a(2574),P=a(5695),S=a(5879);let w=(()=>{class L{}return L.\u0275fac=function(M){return new(M||L)},L.\u0275mod=S.oAB({type:L}),L.\u0275inj=S.cJS({imports:[t.ez,i.Bz,d.vh,k.Jb,s.q6,P.X,G.PV,U.zf,v.s]}),L})()},4121:(xt,Se,a)=>{a.d(Se,{H:()=>O});var t=a(8130),i=a(2023),v=a(5879),d=a(6814),s=a(4190),k=a(5695),G=a(7417),U=a(551),P=a(1598),S=a(3103),w=a(5869),L=a(2616);function Y(A,x){}function M(A,x){if(1&A&&(v.ynx(0),v.TgZ(1,"a",4),v.YNc(2,Y,0,0,"ng-template",5),v.qZA(),v.BQk()),2&A){const pe=v.oxw(),de=v.MAs(2);v.xp6(1),v.Q6J("routerLink",pe.gene.link),v.xp6(1),v.Q6J("ngTemplateOutlet",de)}}function e(A,x){}function F(A,x){if(1&A&&v._UZ(0,"cvc-gene-popover",8),2&A){const pe=v.oxw(2);v.Q6J("geneId",pe.gene.id)}}function R(A,x){if(1&A){const pe=v.EpF();v.TgZ(0,"nz-tag",6),v.NdJ("nzOnClose",function(W){v.CHM(pe);const ve=v.oxw();return v.KtG(ve.itemClosed(W))}),v.YNc(1,e,0,0,"ng-template",5),v.qZA(),v.YNc(2,F,1,1,"ng-template",null,7,v.W1O)}if(2&A){const pe=v.MAs(3),de=v.oxw(),W=v.MAs(6);v.Q6J("nzPopoverMouseEnterDelay",de.onCloseClicked?0:.5)("nzPopoverContent",pe)("nzPopoverTrigger",de.enablePopover?"hover":null)("nzMode",de.onCloseClicked?"closeable":"default"),v.xp6(1),v.Q6J("ngTemplateOutlet",W)}}function ge(A,x){}function ze(A,x){if(1&A&&v.YNc(0,ge,0,0,"ng-template",5),2&A){v.oxw();const pe=v.MAs(2);v.Q6J("ngTemplateOutlet",pe)}}function K(A,x){if(1&A&&(v.ynx(0),v._uU(1),v.ALo(2,"truncate"),v.BQk()),2&A){const pe=v.oxw(2);v.xp6(1),v.hij(" ",v.xi3(2,1,pe.gene.name,12)," ")}}function N(A,x){if(1&A&&v._uU(0),2&A){const pe=v.oxw(2);v.hij(" ",pe.gene.name," ")}}function V(A,x){if(1&A&&(v.TgZ(0,"cvc-icon-badges",9),v._UZ(1,"i",10),v.ALo(2,"entityColor"),v.qZA(),v.YNc(3,K,3,4,"ng-container",0),v.YNc(4,N,1,1,"ng-template",null,11,v.W1O)),2&A){const pe=v.MAs(5),de=v.oxw();v.Q6J("flagged",de.gene.flagged)("entityColor",de.iconColor),v.xp6(1),v.Q6J("nzTwotoneColor",v.lcZ(2,5,"Gene")),v.xp6(2),v.Q6J("ngIf",de.truncateLongName)("ngIfElse",pe)}}let O=(()=>{class A extends t.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1,this.iconColor=(0,i.f)("Gene")}idFunction(){return this.gene.id}ngOnInit(){if(super.ngOnInit(),void 0===this.gene)throw new Error("cvc-gene-tag requires LinkableGene input, none supplied.")}}return A.\u0275fac=function(pe){return new(pe||A)},A.\u0275cmp=v.Xpm({type:A,selectors:[["cvc-gene-tag"]],inputs:{gene:"gene",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[v.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["genePopover",""],[3,"geneId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-gene","nzTheme","twotone",3,"nzTwotoneColor"],["fullName",""]],template:function(pe,de){if(1&pe&&(v.YNc(0,M,3,2,"ng-container",0),v.YNc(1,R,4,5,"ng-template",null,1,v.W1O),v.YNc(3,ze,1,1,"ng-template",null,2,v.W1O),v.YNc(5,V,6,7,"ng-template",null,3,v.W1O)),2&pe){const W=v.MAs(4);v.Q6J("ngIf",de.linked)("ngIfElse",W)}},dependencies:[d.O5,d.tP,s.rH,k.j,G.lU,U.Ls,P.Q,S.b,w.W,L.a],encapsulation:2,changeDetection:0}),A})()},5956:(xt,Se,a)=>{a.d(Se,{U:()=>w});var t=a(6814),i=a(4190),v=a(5695),d=a(551),s=a(7417),k=a(9021),G=a(2524),U=a(3640),P=a(3146),S=a(5879);let w=(()=>{class L{}return L.\u0275fac=function(M){return new(M||L)},L.\u0275mod=S.oAB({type:L}),L.\u0275inj=S.cJS({imports:[t.ez,i.Bz,v.X,s.$6,d.PV,U.mS,G.s,k.w,P.C]}),L})()},156:(xt,Se,a)=>{a.d(Se,{_:()=>de});var t=a(5676),i=a(7398),v=a(2181),d=a(5879),s=a(313),k=a(6814),G=a(4190),U=a(2962),P=a(95),S=a(8125),w=a(5695),L=a(551),Y=a(2574),M=a(1887),e=a(5095),F=a(8091);function R(W,ve){if(1&W&&(d._UZ(0,"i",16),d._uU(1)),2&W){const Q=d.oxw().ngIf;d.xp6(1),d.hij(" ",Q.name," ")}}function ge(W,ve){if(1&W&&(d.TgZ(0,"nz-descriptions-item",17),d._uU(1),d.qZA()),2&W){const Q=d.oxw().ngIf;d.xp6(1),d.hij(" ",Q.evidenceItems.totalCount," ")}}function ze(W,ve){if(1&W&&(d.TgZ(0,"nz-descriptions-item",18),d._uU(1),d.qZA()),2&W){const Q=d.oxw().ngIf;d.xp6(1),d.hij(" ",Q.assertions.totalCount," ")}}function K(W,ve){if(1&W&&(d.TgZ(0,"nz-tag"),d._uU(1),d.qZA()),2&W){const Q=ve.$implicit;d.xp6(1),d.Oqu(Q)}}function N(W,ve){if(1&W&&(d.ynx(0),d.TgZ(1,"cvc-tag-list"),d.YNc(2,K,2,1,"nz-tag",19),d.qZA(),d.BQk()),2&W){const Q=d.oxw().ngIf;d.xp6(2),d.Q6J("ngForOf",Q.molecularProfileAliases)}}function V(W,ve){1&W&&(d.TgZ(0,"span",20),d._uU(1,"None specified"),d.qZA())}function O(W,ve){if(1&W&&(d.TgZ(0,"a",21)(1,"nz-tag",22),d._UZ(2,"i",23),d._uU(3),d.qZA()()),2&W){const Q=d.oxw().ngIf;d.MGl("routerLink","/molecular-profiles/",Q.id,"/flags"),d.xp6(3),d.hij(" Flags (",Q.flags.totalCount,") ")}}function A(W,ve){if(1&W&&(d.TgZ(0,"a",21)(1,"nz-tag",24),d._UZ(2,"i",25),d._uU(3),d.qZA()()),2&W){const Q=d.oxw().ngIf;d.MGl("routerLink","/molecular-profiles/",Q.id,"/revisions"),d.xp6(3),d.hij(" Revisions (",Q.revisions.totalCount,") ")}}function x(W,ve){if(1&W&&(d.TgZ(0,"a",21)(1,"nz-tag",26),d._UZ(2,"i",27),d._uU(3),d.qZA()()),2&W){const Q=d.oxw().ngIf;d.MGl("routerLink","/molecular-profiles/",Q.id,"/comments"),d.xp6(3),d.hij(" Comments (",Q.comments.totalCount,") ")}}function pe(W,ve){if(1&W&&(d.ynx(0),d.TgZ(1,"nz-card",2),d.YNc(2,R,2,1,"ng-template",null,3,d.W1O),d.TgZ(4,"nz-descriptions",4)(5,"nz-descriptions-item",5),d._UZ(6,"cvc-mp-tag-name",6),d.qZA(),d.YNc(7,ge,2,1,"nz-descriptions-item",7),d.YNc(8,ze,2,1,"nz-descriptions-item",8),d.TgZ(9,"nz-descriptions-item",9),d.YNc(10,N,3,1,"ng-container",10),d.YNc(11,V,2,0,"ng-template",null,11,d.W1O),d.qZA()(),d.TgZ(13,"nz-row",12)(14,"nz-col",13)(15,"nz-space",14),d.YNc(16,O,4,2,"a",15),d.YNc(17,A,4,2,"a",15),d.YNc(18,x,4,2,"a",15),d.qZA()()()(),d.BQk()),2&W){const Q=ve.ngIf,ae=d.MAs(3),fe=d.MAs(12);d.xp6(1),d.Q6J("nzTitle",ae),d.xp6(3),d.Q6J("nzColumn",2),d.xp6(2),d.Q6J("nameSegments",Q.parsedName)("enablePopover",!1),d.xp6(1),d.Q6J("ngIf",Q.evidenceItems.totalCount>0),d.xp6(1),d.Q6J("ngIf",Q.assertions.totalCount>0),d.xp6(2),d.Q6J("ngIf",Q.molecularProfileAliases.length>0)("ngIfElse",fe)}}let de=(()=>{class W{constructor(Q){this.gql=Q}ngOnInit(){if(void 0===this.molecularProfileId)throw new Error("Must pass a molecular profile ID into the molecular profile popover component.");this.molecularProfile$=this.gql.watch({molecularProfileId:this.molecularProfileId}).valueChanges.pipe((0,i.U)(({data:Q})=>Q?.molecularProfile),(0,v.h)(t.ep))}}return W.\u0275fac=function(Q){return new(Q||W)(d.Y36(s.DkJ))},W.\u0275cmp=d.Xpm({type:W,selectors:[["cvc-molecular-profile-popover"]],inputs:{molecularProfileId:"molecularProfileId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","MP Expression","nzSpan","2"],[3,"nameSegments","enablePopover"],["nzTitle","Evidence Items","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","2",4,"ngIf"],["nzTitle","Aliases"],[4,"ngIf","ngIfElse"],["noAliases",""],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:molecularprofile"],["nzTitle","Evidence Items","nzSpan","2"],["nzTitle","Assertions","nzSpan","2"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(Q,ae){1&Q&&(d.TgZ(0,"div",0),d.YNc(1,pe,19,8,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA()),2&Q&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,ae.molecularProfile$)))},dependencies:[k.sg,k.O5,G.rH,U.bd,P.t3,P.SK,S.R7,S.uj,w.j,L.Ls,Y.NU,Y.$1,M.$,e.C,F.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),W})()},2064:(xt,Se,a)=>{a.d(Se,{_:()=>M});var t=a(6814),i=a(4190),v=a(2962),d=a(95),s=a(8125),k=a(5695),G=a(551),U=a(2574),P=a(5956),S=a(6067),w=a(9858),L=a(366),Y=a(5879);let M=(()=>{class e{}return e.\u0275fac=function(R){return new(R||e)},e.\u0275mod=Y.oAB({type:e}),e.\u0275inj=Y.cJS({imports:[t.ez,i.Bz,v.vh,d.Jb,s.q6,k.X,G.PV,U.zf,P.U,S.X,L.$,w.r]}),e})()},5095:(xt,Se,a)=>{a.d(Se,{C:()=>Y});var t=a(5879),i=a(6814),v=a(9408),d=a(4121);const s=["*"];let k=(()=>{class M{constructor(){}}return M.\u0275fac=function(F){return new(F||M)},M.\u0275cmp=t.Xpm({type:M,selectors:[["cvc-tag-group"]],ngContentSelectors:s,decls:1,vars:0,template:function(F,R){1&F&&(t.F$t(),t.Hsn(0))},styles:["[_nghost-%COMP%] >*:first-child nz-tag{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}[_nghost-%COMP%] >*:last-child nz-tag{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px;border-left-color:#e9e9e9}"]}),M})();function G(M,e){if(1&M&&t._UZ(0,"span",3),2&M){const F=t.oxw().$implicit;t.Q6J("innerHtml",F.text,t.oJD)}}function U(M,e){if(1&M&&t._UZ(0,"cvc-gene-tag",6),2&M){const F=t.oxw().$implicit,R=t.oxw(3);t.Q6J("gene",F)("enablePopover",R.enablePopover)}}function P(M,e){if(1&M&&(t.ynx(0),t.YNc(1,U,1,2,"cvc-gene-tag",5),t.BQk()),2&M){const F=e.$implicit;t.xp6(1),t.Q6J("ngIf","Gene"==F.__typename)}}const S=function(M){return[M]};function w(M,e){if(1&M&&(t.ynx(0),t.TgZ(1,"cvc-tag-group"),t.YNc(2,P,2,1,"ng-container",0),t._UZ(3,"cvc-variant-tag",4),t.qZA(),t.BQk()),2&M){const F=t.oxw(),R=F.index,ge=F.$implicit,ze=t.oxw();t.xp6(2),t.Q6J("ngForOf",t.VKq(3,S,ze.nameSegments[R-1])),t.xp6(1),t.Q6J("variant",ge)("enablePopover",ze.enablePopover)}}function L(M,e){if(1&M&&(t.ynx(0),t.YNc(1,G,1,1,"span",1),t.YNc(2,w,4,5,"ng-container",2),t.BQk()),2&M){const F=e.$implicit;t.xp6(1),t.Q6J("ngIf","MolecularProfileTextSegment"==F.__typename),t.xp6(1),t.Q6J("ngIf","Variant"==F.__typename)}}let Y=(()=>{class M{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.nameSegments)throw new Error("Must pass a list of molecular profile name segments into mp name component.")}}return M.\u0275fac=function(F){return new(F||M)},M.\u0275cmp=t.Xpm({type:M,selectors:[["cvc-mp-tag-name"]],inputs:{nameSegments:"nameSegments",enablePopover:"enablePopover"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["class","text-segment",3,"innerHtml",4,"ngIf"],[4,"ngIf"],[1,"text-segment",3,"innerHtml"],[3,"variant","enablePopover"],[3,"gene","enablePopover",4,"ngIf"],[3,"gene","enablePopover"]],template:function(F,R){1&F&&t.YNc(0,L,3,2,"ng-container",0),2&F&&t.Q6J("ngForOf",R.nameSegments)},dependencies:[i.sg,i.O5,v.I,d.H,k],styles:[".text-segment[_ngcontent-%COMP%]{display:inline-block;margin-right:8px;font-weight:700;color:#0009;font-size:14px;line-height:12px}"]}),M})()},9858:(xt,Se,a)=>{a.d(Se,{r:()=>U});var t=a(6814),i=a(7528),v=a(5956),d=a(5695),s=a(551),k=a(5879);let G=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275mod=k.oAB({type:P}),P.\u0275inj=k.cJS({imports:[t.ez]}),P})(),U=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275mod=k.oAB({type:P}),P.\u0275inj=k.cJS({imports:[t.ez,d.X,s.PV,i.Q,v.U,G]}),P})()},2606:(xt,Se,a)=>{a.d(Se,{p:()=>pe});var t=a(8130),i=a(2023),v=a(5879),d=a(6814),s=a(4190),k=a(5695),G=a(7417),U=a(551),P=a(156),S=a(5869);function w(de,W){}function L(de,W){if(1&de&&(v.ynx(0),v.TgZ(1,"a",5),v.YNc(2,w,0,0,"ng-template",6),v.qZA(),v.BQk()),2&de){const ve=v.oxw(),Q=v.MAs(2);v.xp6(1),v.Q6J("routerLink",ve.molecularProfile.link),v.xp6(1),v.Q6J("ngTemplateOutlet",Q)}}function Y(de,W){}const M=function(de){return{deprecated:de}};function e(de,W){if(1&de){const ve=v.EpF();v.TgZ(0,"nz-tag",9),v.NdJ("nzOnClose",function(ae){v.CHM(ve);const fe=v.oxw(2);return v.KtG(fe.itemClosed(ae))}),v.YNc(1,Y,0,0,"ng-template",6),v.qZA()}if(2&de){v.oxw();const ve=v.MAs(2),Q=v.oxw(),ae=v.MAs(8);v.Q6J("ngClass",v.VKq(5,M,Q.molecularProfile.deprecated))("nzPopoverMouseEnterDelay",Q.onCloseClicked?0:.5)("nzPopoverContent",ve)("nzMode",Q.onCloseClicked?"closeable":"default"),v.xp6(1),v.Q6J("ngTemplateOutlet",ae)}}function F(de,W){if(1&de&&v._UZ(0,"cvc-molecular-profile-popover",11),2&de){const ve=v.oxw(3);v.Q6J("molecularProfileId",ve.molecularProfile.id)}}function R(de,W){if(1&de&&v.YNc(0,F,1,1,"cvc-molecular-profile-popover",10),2&de){const ve=v.oxw(2);v.Q6J("ngIf",ve.enablePopover)}}function ge(de,W){if(1&de&&(v.YNc(0,e,2,7,"nz-tag",7),v.YNc(1,R,1,1,"ng-template",null,8,v.W1O)),2&de){const ve=v.oxw(),Q=v.MAs(4);v.Q6J("ngIf",ve.enablePopover)("ngIfElse",Q)}}function ze(de,W){}function K(de,W){if(1&de){const ve=v.EpF();v.TgZ(0,"nz-tag",12),v.NdJ("nzOnClose",function(ae){v.CHM(ve);const fe=v.oxw();return v.KtG(fe.itemClosed(ae))}),v.YNc(1,ze,0,0,"ng-template",6),v.qZA()}if(2&de){const ve=v.oxw(),Q=v.MAs(8);v.Q6J("nzMode",ve.onCloseClicked?"closeable":"default")("ngClass",v.VKq(3,M,ve.molecularProfile.deprecated)),v.xp6(1),v.Q6J("ngTemplateOutlet",Q)}}function N(de,W){}function V(de,W){if(1&de&&v.YNc(0,N,0,0,"ng-template",6),2&de){v.oxw();const ve=v.MAs(2);v.Q6J("ngTemplateOutlet",ve)}}function O(de,W){if(1&de&&(v.ynx(0),v._uU(1),v.ALo(2,"truncate"),v.BQk()),2&de){const ve=v.oxw(2);v.xp6(1),v.hij(" ",v.xi3(2,1,ve.molecularProfile.name,ve.truncationLength)," ")}}function A(de,W){if(1&de&&v._uU(0),2&de){const ve=v.oxw(2);v.hij(" ",ve.molecularProfile.name," ")}}function x(de,W){if(1&de&&(v._UZ(0,"i",13),v.YNc(1,O,3,4,"ng-container",0),v.YNc(2,A,1,1,"ng-template",null,14,v.W1O)),2&de){const ve=v.MAs(3),Q=v.oxw();v.Q6J("nzTwotoneColor",Q.iconColor),v.xp6(1),v.Q6J("ngIf",Q.truncateLongName)("ngIfElse",ve)}}let pe=(()=>{class de extends t.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1,this.truncationLength=20,this.iconColor=(0,i.f)("MolecularProfile")}idFunction(){return this.molecularProfile.id}ngOnInit(){if(super.ngOnInit(),void 0===this.molecularProfile)throw new Error("cvc-molecular-profile-tag requires LinkableMolecularProfile input, none supplied.");"number"==typeof this.truncateLongName&&(this.truncationLength=this.truncateLongName),"segments"in this.molecularProfile&&(this.molecularProfile.name=this.molecularProfile.segments.map(ve=>"text"in ve?ve.text:ve.name).join(" "))}}return de.\u0275fac=function(ve){return new(ve||de)},de.\u0275cmp=v.Xpm({type:de,selectors:[["cvc-molecular-profile-tag"]],inputs:{molecularProfile:"molecularProfile",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[v.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"molecularProfileId",4,"ngIf"],[3,"molecularProfileId"],[3,"nzMode","ngClass","nzOnClose"],["nz-icon","","nzType","civic-molecularprofile","nzTheme","twotone",3,"nzTwotoneColor"],["fullName",""]],template:function(ve,Q){if(1&ve&&(v.YNc(0,L,3,2,"ng-container",0),v.YNc(1,ge,3,2,"ng-template",null,1,v.W1O),v.YNc(3,K,2,5,"ng-template",null,2,v.W1O),v.YNc(5,V,1,1,"ng-template",null,3,v.W1O),v.YNc(7,x,4,3,"ng-template",null,4,v.W1O)),2&ve){const ae=v.MAs(6);v.Q6J("ngIf",Q.linked)("ngIfElse",ae)}},dependencies:[d.mk,d.O5,d.tP,s.rH,k.j,G.lU,U.Ls,P._,S.W],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"],changeDetection:0}),de})()},8527:(xt,Se,a)=>{a.d(Se,{u:()=>P});var t=a(6814),i=a(4190),v=a(5695),d=a(551),s=a(7417),k=a(2524),G=a(2064),U=a(5879);let P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=U.oAB({type:S}),S.\u0275inj=U.cJS({imports:[t.ez,i.Bz,v.X,s.$6,d.PV,k.s,G._]}),S})()},4402:(xt,Se,a)=>{a.d(Se,{S:()=>e});var t=a(5676),i=a(7398),v=a(2181),d=a(5879),s=a(313),k=a(6814),G=a(551),U=a(2962),P=a(3317),S=a(8125),w=a(8091);function L(F,R){if(1&F&&(d._UZ(0,"i",9),d._uU(1)),2&F){const ge=d.oxw().ngIf;d.xp6(1),d.hij(" ",ge.name," ")}}function Y(F,R){if(1&F&&(d.TgZ(0,"cvc-link-tag",10),d._uU(1),d.qZA()),2&F){const ge=d.oxw().ngIf;d.Q6J("href",ge.url),d.xp6(1),d.hij(" ",ge.hpoId," ")}}function M(F,R){if(1&F&&(d.ynx(0),d.TgZ(1,"nz-card",2),d.YNc(2,L,2,1,"ng-template",null,3,d.W1O),d.YNc(4,Y,2,2,"ng-template",null,4,d.W1O),d.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),d._uU(8),d.qZA(),d.TgZ(9,"nz-descriptions-item",7),d._uU(10),d.qZA(),d.TgZ(11,"nz-descriptions-item",8),d._uU(12),d.qZA()()(),d.BQk()),2&F){const ge=R.ngIf,ze=d.MAs(3),K=d.MAs(5);d.xp6(1),d.Q6J("nzTitle",ze)("nzExtra",K),d.xp6(5),d.Q6J("nzColumn",2),d.xp6(2),d.hij(" ",ge.assertionCount," "),d.xp6(2),d.hij(" ",ge.evidenceItemCount," "),d.xp6(2),d.hij(" ",ge.molecularProfileCount," ")}}let e=(()=>{class F{constructor(ge){this.gql=ge}ngOnInit(){if(null==this.phenotypeId)throw new Error("cvc-phenotype-popover requires valid phenotypeId input.");this.phenotype$=this.gql.watch({phenotypeId:this.phenotypeId}).valueChanges.pipe((0,i.U)(({data:ge})=>ge?.phenotypePopover),(0,v.h)(t.ep))}}return F.\u0275fac=function(ge){return new(ge||F)(d.Y36(s.OHm))},F.\u0275cmp=d.Xpm({type:F,selectors:[["cvc-phenotype-popover"]],inputs:{phenotypeId:"phenotypeId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Assertions","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nzTitle","Molecular Profiles","nzSpan","2"],["nz-icon","","nzType","civic-phenotype","nzTheme","twotone","nzTwotoneColor","#2A63B6"],["tooltip","View in the Human Phenotype Ontology",3,"href"]],template:function(ge,ze){1&ge&&(d.TgZ(0,"div",0),d.YNc(1,M,13,6,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA()),2&ge&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,ze.phenotype$)))},dependencies:[k.O5,G.Ls,U.bd,P.l,S.R7,S.uj,w.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),F})()},1332:(xt,Se,a)=>{a.d(Se,{I:()=>G});var t=a(6814),i=a(2962),v=a(6067),d=a(8125),s=a(551),k=a(5879);let G=(()=>{class U{}return U.\u0275fac=function(S){return new(S||U)},U.\u0275mod=k.oAB({type:U}),U.\u0275inj=k.cJS({imports:[t.ez,s.PV,i.vh,v.X,d.q6]}),U})()},3897:(xt,Se,a)=>{a.d(Se,{i:()=>K});var t=a(8130),i=a(5879),v=a(6814),d=a(4190),s=a(5695),k=a(7417),G=a(551),U=a(4402),P=a(2616);function S(N,V){}function w(N,V){if(1&N&&(i.ynx(0),i.TgZ(1,"a",5),i.YNc(2,S,0,0,"ng-template",6),i.qZA(),i.BQk()),2&N){const O=i.oxw(),A=i.MAs(2);i.xp6(1),i.Q6J("routerLink",O.phenotype.link),i.xp6(1),i.Q6J("ngTemplateOutlet",A)}}function L(N,V){}function Y(N,V){if(1&N&&i._UZ(0,"cvc-phenotype-popover",9),2&N){const O=i.oxw(2);i.Q6J("phenotypeId",O.phenotype.id)}}function M(N,V){if(1&N){const O=i.EpF();i.TgZ(0,"nz-tag",7),i.NdJ("nzOnClose",function(x){i.CHM(O);const pe=i.oxw();return i.KtG(pe.itemClosed(x))}),i.YNc(1,L,0,0,"ng-template",6),i.qZA(),i.YNc(2,Y,1,1,"ng-template",null,8,i.W1O)}if(2&N){const O=i.MAs(3),A=i.oxw(),x=i.MAs(8);i.Q6J("nzPopoverMouseEnterDelay",A.onCloseClicked?0:.5)("nzPopoverContent",O)("nzPopoverTrigger",A.enablePopover?"hover":null)("nzMode",A.onCloseClicked?"closeable":"default"),i.xp6(1),i.Q6J("ngTemplateOutlet",x)}}function e(N,V){}function F(N,V){if(1&N){const O=i.EpF();i.TgZ(0,"nz-tag",10),i.NdJ("nzOnClose",function(x){i.CHM(O);const pe=i.oxw();return i.KtG(pe.itemClosed(x))}),i.YNc(1,e,0,0,"ng-template",6),i.qZA()}if(2&N){const O=i.oxw(),A=i.MAs(8);i.Q6J("nzMode",O.onCloseClicked?"closeable":"default"),i.xp6(1),i.Q6J("ngTemplateOutlet",A)}}function R(N,V){}function ge(N,V){if(1&N&&i.YNc(0,R,0,0,"ng-template",6),2&N){i.oxw();const O=i.MAs(2);i.Q6J("ngTemplateOutlet",O)}}function ze(N,V){if(1&N&&(i._UZ(0,"i",11),i.ALo(1,"entityColor"),i._uU(2)),2&N){const O=i.oxw();i.Q6J("nzTwotoneColor",i.lcZ(1,2,"Phenotype")),i.xp6(2),i.hij(" ",O.phenotype.name,"\n")}}let K=(()=>{class N extends t.a{constructor(){super(...arguments),this.enablePopover=!0}set phenotype(O){if(!O)throw new Error("phenotype-tag phentype input requires LinkablePhenotype.");this._phenotype=O}get phenotype(){return this._phenotype}idFunction(){return this.phenotype.id}}return N.\u0275fac=function(){let V;return function(A){return(V||(V=i.n5z(N)))(A||N)}}(),N.\u0275cmp=i.Xpm({type:N,selectors:[["cvc-phenotype-tag"]],inputs:{phenotype:"phenotype",enablePopover:"enablePopover"},features:[i.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["phenotypePopover",""],[3,"phenotypeId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzTheme","twotone","nzType","civic-phenotype",3,"nzTwotoneColor"]],template:function(O,A){if(1&O&&(i.YNc(0,w,3,2,"ng-container",0),i.YNc(1,M,4,5,"ng-template",null,1,i.W1O),i.YNc(3,F,2,2,"ng-template",null,2,i.W1O),i.YNc(5,ge,1,1,"ng-template",null,3,i.W1O),i.YNc(7,ze,3,4,"ng-template",null,4,i.W1O)),2&O){const x=i.MAs(6);i.Q6J("ngIf",A.linked)("ngIfElse",x)}},dependencies:[v.O5,v.tP,d.rH,s.j,k.lU,G.Ls,U.S,P.a],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),N})()},3043:(xt,Se,a)=>{a.d(Se,{y:()=>P});var t=a(6814),i=a(4190),v=a(2524),d=a(551),s=a(7417),k=a(5695),G=a(1332),U=a(5879);let P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=U.oAB({type:S}),S.\u0275inj=U.cJS({imports:[t.ez,i.Bz,k.X,s.$6,d.PV,G.I,v.s]}),S})()},3103:(xt,Se,a)=>{a.d(Se,{b:()=>P});var t=a(2023),i=a(5879),v=a(6814);const d=function(S){return{background:S}};function s(S,w){if(1&S&&i._UZ(0,"div",3),2&S){const L=i.oxw();i.Q6J("ngStyle",i.VKq(1,d,L.flagColor))}}function k(S,w){if(1&S&&i._UZ(0,"div",4),2&S){const L=i.oxw();i.Q6J("ngStyle",i.VKq(1,d,L.entityColor))}}function G(S,w){if(1&S&&i._UZ(0,"div",5),2&S){const L=i.oxw();i.Q6J("ngStyle",i.VKq(1,d,L.entityColor))}}const U=["*"];let P=(()=>{class S{constructor(){this.hasRevisions=!1,this.flagged=!1,this.hasComments=!1,this.entityColor="#AAA",this.flagColor=(0,t.f)("Flag")}}return S.\u0275fac=function(L){return new(L||S)},S.\u0275cmp=i.Xpm({type:S,selectors:[["cvc-icon-badges"]],inputs:{hasRevisions:"hasRevisions",flagged:"flagged",hasComments:"hasComments",entityColor:"entityColor"},ngContentSelectors:U,decls:4,vars:3,consts:[["class","cvc-badge badge-flags",3,"ngStyle",4,"ngIf"],["class","cvc-badge badge-revisions",3,"ngStyle",4,"ngIf"],["class","cvc-badge badge-comments",3,"ngStyle",4,"ngIf"],[1,"cvc-badge","badge-flags",3,"ngStyle"],[1,"cvc-badge","badge-revisions",3,"ngStyle"],[1,"cvc-badge","badge-comments",3,"ngStyle"]],template:function(L,Y){1&L&&(i.F$t(),i.Hsn(0),i.YNc(1,s,1,3,"div",0),i.YNc(2,k,1,3,"div",1),i.YNc(3,G,1,3,"div",2)),2&L&&(i.xp6(1),i.Q6J("ngIf",Y.flagged),i.xp6(1),i.Q6J("ngIf",Y.hasRevisions),i.xp6(1),i.Q6J("ngIf",Y.hasComments))},dependencies:[v.O5,v.PC],styles:["[_nghost-%COMP%]{display:inline-block;position:relative;line-height:1}.cvc-badge[_ngcontent-%COMP%]{position:absolute;z-index:auto;width:4px;min-width:4px;height:4px;border-radius:100%;box-shadow:0 0 0 1px #fff;background:#aaa}.cvc-badge.badge-revisions[_ngcontent-%COMP%]{top:.5px;right:.5px;transform:translate(50%,-50%)}.cvc-badge.badge-flags[_ngcontent-%COMP%]{top:.5px;left:.5px;transform:translate(-50%,-50%)}.cvc-badge.badge-comments[_ngcontent-%COMP%]{bottom:.5px;right:.5px;transform:translate(50%,50%)}"],changeDetection:0}),S})()},3146:(xt,Se,a)=>{a.d(Se,{C:()=>d});var t=a(6814),i=a(2524),v=a(5879);let d=(()=>{class s{}return s.\u0275fac=function(G){return new(G||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({imports:[t.ez,i.s]}),s})()},3317:(xt,Se,a)=>{a.d(Se,{l:()=>k});var t=a(5879),i=a(6109),v=a(5695),d=a(551);const s=["*"];let k=(()=>{class G{set href(P){if(!P)throw new Error("link-tag link Input requires string.");this._href=P}get href(){return this._href?this._href:""}}return G.\u0275fac=function(P){return new(P||G)},G.\u0275cmp=t.Xpm({type:G,selectors:[["cvc-link-tag"]],inputs:{href:"href",tooltip:"tooltip",iconName:"iconName"},ngContentSelectors:s,decls:4,vars:4,consts:[["target","_blank",3,"href"],["nzColor","default","nz-tooltip","",3,"nzTooltipTitle","nzTooltipTrigger"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(P,S){1&P&&(t.F$t(),t.TgZ(0,"a",0)(1,"nz-tag",1),t._UZ(2,"i",2),t.Hsn(3),t.qZA()()),2&P&&(t.Q6J("href",S.href,t.LSH),t.xp6(1),t.Q6J("nzTooltipTitle",S.tooltip)("nzTooltipTrigger",S.tooltip?"hover":null),t.xp6(1),t.Q6J("nzType",S.iconName?S.iconName:"link"))},dependencies:[i.SY,v.j,d.Ls],encapsulation:2}),G})()},6067:(xt,Se,a)=>{a.d(Se,{X:()=>k});var t=a(6814),i=a(6109),v=a(5695),d=a(551),s=a(5879);let k=(()=>{class G{}return G.\u0275fac=function(P){return new(P||G)},G.\u0275mod=s.oAB({type:G}),G.\u0275inj=s.cJS({imports:[t.ez,i.cg,v.X,d.PV]}),G})()},9154:(xt,Se,a)=>{a.d(Se,{y:()=>s});var t=a(6814),i=a(551),v=a(5695),d=a(5879);let s=(()=>{class k{}return k.\u0275fac=function(U){return new(U||k)},k.\u0275mod=d.oAB({type:k}),k.\u0275inj=d.cJS({imports:[t.ez,v.X,i.PV]}),k})()},3489:(xt,Se,a)=>{a.d(Se,{H:()=>S});var t=a(5619),i=a(1687),v=a(1374),d=a(5879),s=a(6814),k=a(5695),G=a(551),U=a(8091);function P(w,L){1&w&&(d.TgZ(0,"nz-tag",1),d._UZ(1,"i",2),d.TgZ(2,"span"),d._uU(3,"End of results reached"),d.qZA()())}let S=(()=>{class w{set cvcShowTag(Y){void 0!==Y&&Y&&this.showTag()}constructor(Y){this.cdr=Y,this.showTag$=new t.X(!1)}showTag(){!1===this.showTag$.getValue()&&(this.showTag$.next(!0),(0,i.F)(3e3).pipe((0,v.P)()).subscribe(()=>{this.showTag$.next(!1),this.cdr.detectChanges()}))}}return w.\u0275fac=function(Y){return new(Y||w)(d.Y36(d.sBO))},w.\u0275cmp=d.Xpm({type:w,selectors:[["cvc-no-more-rows"]],inputs:{cvcShowTag:"cvcShowTag"},decls:2,vars:3,consts:[["nzColor","warning",4,"ngIf"],["nzColor","warning"],["nz-icon","","nzType","exclamation-circle"]],template:function(Y,M){1&Y&&(d.YNc(0,P,4,0,"nz-tag",0),d.ALo(1,"ngrxPush")),2&Y&&d.Q6J("ngIf",d.lcZ(1,1,M.showTag$))},dependencies:[s.O5,k.j,G.Ls,U.fM],encapsulation:2,changeDetection:0}),w})()},2384:(xt,Se,a)=>{a.d(Se,{h:()=>w});var t=a(5879),i=a(6814),v=a(5695),d=a(551);function s(L,Y){1&L&&t._UZ(0,"i",7)}function k(L,Y){1&L&&t._UZ(0,"i",8)}function G(L,Y){1&L&&t._UZ(0,"i",9)}function U(L,Y){1&L&&t._UZ(0,"i",10)}function P(L,Y){1&L&&t._UZ(0,"i",10)}function S(L,Y){if(1&L&&(t.TgZ(0,"nz-tag",1),t.ynx(1,2),t.YNc(2,s,1,0,"i",3),t.YNc(3,k,1,0,"i",4),t.YNc(4,G,1,0,"i",5),t.YNc(5,U,1,0,"i",6),t.YNc(6,P,1,0,"i",6),t.BQk(),t._uU(7),t.ALo(8,"titlecase"),t.qZA()),2&L){const M=t.oxw();t.Q6J("nzColor",M.tagStatus),t.xp6(1),t.Q6J("ngSwitch",M.tagStatus),t.xp6(1),t.Q6J("ngSwitchCase","success"),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","warning"),t.xp6(1),t.Q6J("ngSwitchCase","processing"),t.xp6(1),t.Q6J("ngSwitchCase","default"),t.xp6(1),t.hij(" ",t.lcZ(8,8,M.status),"\n")}}let w=(()=>{class L{constructor(){this.statusColorMap={ACCEPTED:"success",REJECTED:"error",SUBMITTED:"warning",NEW:"processing",SUPERSEDED:"default",OPEN:"error",RESOLVED:"default"}}set status(M){this._status=M,M&&(this.tagStatus=this.statusColorMap[M])}get status(){return this._status}ngOnInit(){if(void 0===this.status)throw new Error("Must pass a valid EvidenceStatus or RevisionStatus to cvc-status-tag component")}}return L.\u0275fac=function(M){return new(M||L)},L.\u0275cmp=t.Xpm({type:L,selectors:[["cvc-status-tag"]],inputs:{status:"status"},decls:1,vars:1,consts:[[3,"nzColor",4,"ngIf"],[3,"nzColor"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","",4,"ngSwitchCase"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon",""]],template:function(M,e){1&M&&t.YNc(0,S,9,10,"nz-tag",0),2&M&&t.Q6J("ngIf",e.tagStatus)},dependencies:[i.O5,i.RF,i.n9,v.j,d.Ls,i.rS],encapsulation:2}),L})()},2655:(xt,Se,a)=>{a.d(Se,{x:()=>s});var t=a(6814),i=a(5695),v=a(551),d=a(5879);let s=(()=>{class k{}return k.\u0275fac=function(U){return new(U||k)},k.\u0275mod=d.oAB({type:k}),k.\u0275inj=d.cJS({imports:[t.ez,i.X,v.PV]}),k})()},1887:(xt,Se,a)=>{a.d(Se,{$:()=>v});var t=a(5879);const i=["*"];let v=(()=>{class d{constructor(){}ngOnInit(){}}return d.\u0275fac=function(k){return new(k||d)},d.\u0275cmp=t.Xpm({type:d,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(k,G){2&k&&t.ekj("xs","xs"===G.size||!G.size)("sm","sm"===G.size)},inputs:{size:"size"},ngContentSelectors:i,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(k,G){1&k&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"],changeDetection:0}),d})()},366:(xt,Se,a)=>{a.d(Se,{$:()=>v});var t=a(6814),i=a(5879);let v=(()=>{class d{}return d.\u0275fac=function(k){return new(k||d)},d.\u0275mod=i.oAB({type:d}),d.\u0275inj=i.cJS({imports:[t.ez]}),d})()},1813:(xt,Se,a)=>{a.d(Se,{p:()=>K});var t=a(5676),i=a(7398),v=a(2181),d=a(5879),s=a(313),k=a(6814),G=a(551),U=a(2962),P=a(8125),S=a(3317),w=a(1887),L=a(3369),Y=a(8091);function M(N,V){if(1&N&&(d._UZ(0,"i",11),d._uU(1)),2&N){const O=d.oxw().ngIf;d.xp6(1),d.AsE(" ",O.displayType,":\xa0",O.citation," ")}}function e(N,V){if(1&N&&(d.TgZ(0,"cvc-link-tag",12),d._uU(1),d.qZA()),2&N){const O=d.oxw().ngIf;d.Q6J("href",O.sourceUrl)("tooltip","View on "+O.displayType),d.xp6(1),d.hij(" ",O.displayType+":"+O.citationId," ")}}function F(N,V){1&N&&d._UZ(0,"cvc-clinical-trial-tag",14),2&N&&d.Q6J("clinicalTrial",V.$implicit)("enablePopover",!1)}function R(N,V){if(1&N&&(d.ynx(0),d.TgZ(1,"cvc-tag-list"),d.YNc(2,F,1,2,"cvc-clinical-trial-tag",13),d.qZA(),d.BQk()),2&N){const O=d.oxw().ngIf;d.xp6(2),d.Q6J("ngForOf",O.clinicalTrials)}}function ge(N,V){1&N&&d._uU(0," -- ")}function ze(N,V){if(1&N&&(d.ynx(0),d.TgZ(1,"nz-card",2),d.YNc(2,M,2,2,"ng-template",null,3,d.W1O),d.YNc(4,e,2,3,"ng-template",null,4,d.W1O),d.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),d._uU(8),d.qZA(),d.TgZ(9,"nz-descriptions-item",7),d._uU(10),d.qZA(),d.TgZ(11,"nz-descriptions-item",8),d.YNc(12,R,3,1,"ng-container",9),d.YNc(13,ge,1,0,"ng-template",null,10,d.W1O),d.qZA()()(),d.BQk()),2&N){const O=V.ngIf,A=d.MAs(3),x=d.MAs(5),pe=d.MAs(14);d.xp6(1),d.Q6J("nzTitle",A)("nzExtra",x),d.xp6(5),d.Q6J("nzColumn",2),d.xp6(2),d.hij(" ",O.name," "),d.xp6(2),d.hij(" ",O.evidenceItemCount," "),d.xp6(2),d.Q6J("ngIf",O.clinicalTrials&&O.clinicalTrials.length>0)("ngIfElse",pe)}}let K=(()=>{class N{constructor(O){this.gql=O}ngOnInit(){if(null==this.sourceId)throw new Error("cvc-source-popover requires valid sourceId input.");this.source$=this.gql.watch({sourceId:this.sourceId}).valueChanges.pipe((0,i.U)(({data:O})=>O?.sourcePopover),(0,v.h)(t.ep))}}return N.\u0275fac=function(O){return new(O||N)(d.Y36(s.TiL))},N.\u0275cmp=d.Xpm({type:N,selectors:[["cvc-source-popover"]],inputs:{sourceId:"sourceId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Title","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nzTitle","Clinical Trials:","nzSpan","2"],[4,"ngIf","ngIfElse"],["noTrials",""],["nz-icon","","nzType","civic-source","nzTheme","twotone","nzTwotoneColor","#F9BA45"],[3,"href","tooltip"],[3,"clinicalTrial","enablePopover",4,"ngFor","ngForOf"],[3,"clinicalTrial","enablePopover"]],template:function(O,A){1&O&&(d.TgZ(0,"div",0),d.YNc(1,ze,15,7,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA()),2&O&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,A.source$)))},dependencies:[k.sg,k.O5,G.Ls,U.bd,P.R7,P.uj,S.l,w.$,L.G,Y.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),N})()},6247:(xt,Se,a)=>{a.d(Se,{n:()=>P});var t=a(6814),i=a(2962),v=a(6067),d=a(8125),s=a(366),k=a(4605),G=a(551),U=a(5879);let P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=U.oAB({type:S}),S.\u0275inj=U.cJS({imports:[t.ez,G.PV,i.vh,d.q6,v.X,s.$,k.N]}),S})()},4138:(xt,Se,a)=>{a.d(Se,{T:()=>A});var t=a(8130),i=a(5879),v=a(7023),d=a(6814),s=a(4190),k=a(551),G=a(7417),U=a(5695),P=a(1813),S=a(5869),w=a(2616);function L(x,pe){}function Y(x,pe){if(1&x&&(i.ynx(0),i.TgZ(1,"a",4),i.YNc(2,L,0,0,"ng-template",5),i.qZA(),i.BQk()),2&x){const de=i.oxw(),W=i.MAs(2);i.xp6(1),i.Q6J("routerLink",de.source.link),i.xp6(1),i.Q6J("ngTemplateOutlet",W)}}function M(x,pe){}function e(x,pe){if(1&x&&i._UZ(0,"cvc-source-popover",8),2&x){const de=i.oxw(2);i.Q6J("sourceId",de.source.id)}}function F(x,pe){if(1&x){const de=i.EpF();i.TgZ(0,"nz-tag",6),i.NdJ("nzPopoverVisibleChange",function(ve){i.CHM(de);const Q=i.oxw();return i.KtG(Q.popoverVisible=ve)})("nzOnClose",function(ve){i.CHM(de);const Q=i.oxw();return i.KtG(Q.itemClosed(ve))}),i.YNc(1,M,0,0,"ng-template",5),i.qZA(),i.YNc(2,e,1,1,"ng-template",null,7,i.W1O)}if(2&x){const de=i.MAs(3),W=i.oxw(),ve=i.MAs(6);i.Q6J("nzPopoverMouseEnterDelay",W.onCloseClicked?0:.5)("nzPopoverContent",de)("nzPopoverTrigger",W.enablePopover?"hover":null)("nzPopoverVisible",W.popoverVisible)("nzMode",W.onCloseClicked?"closeable":"default"),i.xp6(1),i.Q6J("ngTemplateOutlet",ve)}}function R(x,pe){}function ge(x,pe){if(1&x&&i.YNc(0,R,0,0,"ng-template",5),2&x){i.oxw();const de=i.MAs(2);i.Q6J("ngTemplateOutlet",de)}}function ze(x,pe){if(1&x&&(i.ynx(0),i._uU(1),i.ALo(2,"truncate"),i.BQk()),2&x){const de=i.oxw(3);i.xp6(1),i.hij(" ",i.xi3(2,1,de.displayName,50)," ")}}function K(x,pe){if(1&x&&(i.ynx(0),i._uU(1),i.BQk()),2&x){const de=i.oxw(3);i.xp6(1),i.hij(" ",de.displayName," ")}}function N(x,pe){if(1&x&&(i.ynx(0),i.YNc(1,ze,3,4,"ng-container",11),i.YNc(2,K,2,1,"ng-container",11),i.BQk()),2&x){const de=i.oxw(2);i.xp6(1),i.Q6J("ngIf",de.truncateLongName),i.xp6(1),i.Q6J("ngIf",!de.truncateLongName)}}function V(x,pe){if(1&x&&i._uU(0),2&x){const de=i.oxw(2);i.hij(" SID:",de.source.id," ")}}function O(x,pe){if(1&x&&(i._UZ(0,"i",9),i.ALo(1,"entityColor"),i.YNc(2,N,3,2,"ng-container",0),i.YNc(3,V,1,1,"ng-template",null,10,i.W1O)),2&x){const de=i.MAs(4),W=i.oxw();i.Q6J("nzTwotoneColor",i.lcZ(1,3,"Source")),i.xp6(2),i.Q6J("ngIf","normal"===W.mode)("ngIfElse",de)}}let A=(()=>{class x extends t.a{set source(de){if(!de)throw new Error("source-tag source input requires SourceWithDisplayName or SourceWithCitation.");this._source=de,this.displayName="displayName"in this.source?this.source.displayName:this.sourceTypeDisplay.transform(this.source.sourceType)+": "+this.source.citation}get source(){return this._source}constructor(de){super(),this.sourceTypeDisplay=de,this.enablePopover=!0,this.linked=!0,this.mode="normal",this.truncateLongName=!1}idFunction(){return this.source.id}}return x.\u0275fac=function(de){return new(de||x)(i.Y36(v.l))},x.\u0275cmp=i.Xpm({type:x,selectors:[["cvc-source-tag"]],inputs:{source:"source",enablePopover:"enablePopover",linked:"linked",mode:"mode",truncateLongName:"truncateLongName"},features:[i.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzPopoverVisible","nzMode","nzPopoverVisibleChange","nzOnClose"],["sourcePopover",""],[3,"sourceId"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],["concise",""],[4,"ngIf"]],template:function(de,W){if(1&de&&(i.YNc(0,Y,3,2,"ng-container",0),i.YNc(1,F,4,6,"ng-template",null,1,i.W1O),i.YNc(3,ge,1,1,"ng-template",null,2,i.W1O),i.YNc(5,O,5,5,"ng-template",null,3,i.W1O)),2&de){const ve=i.MAs(4);i.Q6J("ngIf",W.linked)("ngIfElse",ve)}},dependencies:[d.O5,d.tP,s.rH,k.Ls,G.lU,U.j,P.p,S.W,w.a],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0}),x})()},8641:(xt,Se,a)=>{a.d(Se,{s:()=>P});var t=a(6814),i=a(7417),v=a(4190),d=a(6247),s=a(5695),k=a(551),G=a(2524),U=a(5879);let P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=U.oAB({type:S}),S.\u0275inj=U.cJS({imports:[t.ez,v.Bz,k.PV,i.$6,s.X,d.n,G.s]}),S})()},96:(xt,Se,a)=>{a.d(Se,{a:()=>A});var t=a(7398),i=a(2181),v=a(5676),d=a(5879),s=a(313),k=a(6814),G=a(2962),U=a(8125),P=a(551),S=a(2392),w=a(5695),L=a(6109),Y=a(3317),M=a(8091),e=a(5869);function F(x,pe){if(1&x&&(d._UZ(0,"i",12),d._uU(1),d.ALo(2,"truncate")),2&x){const de=d.oxw().ngIf;d.xp6(1),d.hij(" ",d.xi3(2,1,de.name,50)," ")}}function R(x,pe){if(1&x&&(d.TgZ(0,"cvc-link-tag",14),d._uU(1),d.qZA()),2&x){const de=d.oxw(2).ngIf;d.Q6J("href",de.therapyUrl),d.xp6(1),d.hij(" ",de.ncitId," ")}}function ge(x,pe){if(1&x&&d.YNc(0,R,2,2,"cvc-link-tag",13),2&x){const de=d.oxw().ngIf,W=d.MAs(7);d.Q6J("ngIf",de.ncitId)("ngIfElse",W)}}function ze(x,pe){1&x&&(d.TgZ(0,"span",15),d._uU(1,"No NCIt ID"),d.qZA())}function K(x,pe){if(1&x&&(d.TgZ(0,"nz-descriptions-item",16),d._uU(1),d.qZA()),2&x){const de=d.oxw().ngIf;d.xp6(1),d.hij(" ",de.name," ")}}function N(x,pe){if(1&x&&(d.TgZ(0,"nz-tag",19),d._uU(1),d.ALo(2,"truncate"),d.qZA()),2&x){const de=pe.$implicit;d.Q6J("nzTooltipTitle",de),d.xp6(1),d.Oqu(d.lcZ(2,2,de))}}function V(x,pe){if(1&x&&(d.TgZ(0,"nz-descriptions-item",17),d.YNc(1,N,3,4,"nz-tag",18),d.qZA()),2&x){const de=d.oxw().ngIf;d.xp6(1),d.Q6J("ngForOf",de.therapyAliases)}}function O(x,pe){if(1&x&&(d.ynx(0),d.TgZ(1,"nz-card",2),d.YNc(2,F,3,4,"ng-template",null,3,d.W1O),d.YNc(4,ge,1,2,"ng-template",null,4,d.W1O),d.YNc(6,ze,2,0,"ng-template",null,5,d.W1O),d.TgZ(8,"nz-descriptions",6),d.YNc(9,K,2,1,"nz-descriptions-item",7),d.YNc(10,V,2,1,"nz-descriptions-item",8),d.TgZ(11,"nz-descriptions-item",9),d._uU(12),d.qZA(),d.TgZ(13,"nz-descriptions-item",10),d._uU(14),d.qZA(),d.TgZ(15,"nz-descriptions-item",11),d._uU(16),d.qZA()()(),d.BQk()),2&x){const de=pe.ngIf,W=d.MAs(3),ve=d.MAs(5);d.xp6(1),d.Q6J("nzTitle",W)("nzExtra",ve),d.xp6(7),d.Q6J("nzColumn",2),d.xp6(1),d.Q6J("ngIf",de.name.length>50),d.xp6(1),d.Q6J("ngIf",de.therapyAliases.length>0),d.xp6(2),d.hij(" ",de.assertionCount," "),d.xp6(2),d.hij(" ",de.evidenceItemCount," "),d.xp6(2),d.hij(" ",de.molecularProfileCount," ")}}let A=(()=>{class x{constructor(de){this.gql=de}ngOnInit(){if(null==this.therapyId)throw new Error("cvc-therapy-popover requires valid therapyId input.");this.therapy$=this.gql.watch({therapyId:this.therapyId}).valueChanges.pipe((0,t.U)(({data:de})=>de?.therapyPopover),(0,i.h)(v.ep))}}return x.\u0275fac=function(de){return new(de||x)(d.Y36(s.L8L))},x.\u0275cmp=d.Xpm({type:x,selectors:[["cvc-therapy-popover"]],inputs:{therapyId:"therapyId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noNcitId",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nzTitle","Molecular Profiles","nzSpan","2"],["nz-icon","","nzType","civic-therapy","nzTheme","twotone","nzTwotoneColor","#AC3996"],["tooltip","View on NCI Thesaurus",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on NCI Thesaurus",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"]],template:function(de,W){1&de&&(d.TgZ(0,"div",0),d.YNc(1,O,17,8,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA()),2&de&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,W.therapy$)))},dependencies:[k.sg,k.O5,G.bd,U.R7,U.uj,P.Ls,S.ZU,w.j,L.SY,Y.l,M.fM,e.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),x})()},1207:(xt,Se,a)=>{a.d(Se,{s:()=>L});var t=a(6814),i=a(4190),v=a(2962),d=a(8125),s=a(6067),k=a(551),G=a(2392),U=a(2524),P=a(5695),S=a(6109),w=a(5879);let L=(()=>{class Y{}return Y.\u0275fac=function(e){return new(e||Y)},Y.\u0275mod=w.oAB({type:Y}),Y.\u0275inj=w.cJS({imports:[t.ez,i.Bz,v.vh,d.q6,k.PV,G.ZJ,P.X,S.cg,s.X,U.s]}),Y})()},4770:(xt,Se,a)=>{a.d(Se,{T:()=>K});var t=a(8130),i=a(5879),v=a(6814),d=a(4190),s=a(5695),k=a(7417),G=a(551),U=a(96),P=a(5869);function S(N,V){}function w(N,V){if(1&N&&(i.ynx(0),i.TgZ(1,"a",4),i.YNc(2,S,0,0,"ng-template",5),i.qZA(),i.BQk()),2&N){const O=i.oxw(),A=i.MAs(2);i.xp6(1),i.Q6J("routerLink",O.therapy.link),i.xp6(1),i.Q6J("ngTemplateOutlet",A)}}function L(N,V){}function Y(N,V){if(1&N&&i._UZ(0,"cvc-therapy-popover",8),2&N){const O=i.oxw(2);i.Q6J("therapyId",O.therapy.id)}}function M(N,V){if(1&N){const O=i.EpF();i.TgZ(0,"nz-tag",6),i.NdJ("nzOnClose",function(x){i.CHM(O);const pe=i.oxw();return i.KtG(pe.itemClosed(x))}),i.YNc(1,L,0,0,"ng-template",5),i.qZA(),i.YNc(2,Y,1,1,"ng-template",null,7,i.W1O)}if(2&N){const O=i.MAs(3),A=i.oxw(),x=i.MAs(6);i.Q6J("nzPopoverMouseEnterDelay",A.onCloseClicked?0:.5)("nzPopoverContent",O)("nzPopoverTrigger",A.enablePopover?"hover":null)("nzMode",A.onCloseClicked?"closeable":"default"),i.xp6(1),i.Q6J("ngTemplateOutlet",x)}}function e(N,V){}function F(N,V){if(1&N&&i.YNc(0,e,0,0,"ng-template",5),2&N){i.oxw();const O=i.MAs(2);i.Q6J("ngTemplateOutlet",O)}}function R(N,V){if(1&N&&(i.ynx(0),i._uU(1),i.ALo(2,"truncate"),i.BQk()),2&N){const O=i.oxw(2);i.xp6(1),i.hij(" ",i.xi3(2,1,O.therapy.name,21)," ")}}function ge(N,V){if(1&N&&i._uU(0),2&N){const O=i.oxw(2);i.hij(" ",O.therapy.name," ")}}function ze(N,V){if(1&N&&(i._UZ(0,"i",9),i.YNc(1,R,3,4,"ng-container",0),i.YNc(2,ge,1,1,"ng-template",null,10,i.W1O)),2&N){const O=i.MAs(3),A=i.oxw();i.xp6(1),i.Q6J("ngIf",A.truncateLongName)("ngIfElse",O)}}let K=(()=>{class N extends t.a{constructor(){super(...arguments),this.enablePopover=!0,this.truncateLongName=!1}set therapy(O){if(!O)throw new Error("therapy-tag Input requires LinkableTherapy.");this._therapy=O}get therapy(){return this._therapy}idFunction(){return this.therapy.id}}return N.\u0275fac=function(){let V;return function(A){return(V||(V=i.n5z(N)))(A||N)}}(),N.\u0275cmp=i.Xpm({type:N,selectors:[["cvc-therapy-tag"]],inputs:{therapy:"therapy",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[i.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["therapyPopover",""],[3,"therapyId"],["nz-icon","","nzType","civic-therapy","nzTheme","twotone","nzTwotoneColor","#AC3996"],["fullName",""]],template:function(O,A){if(1&O&&(i.YNc(0,w,3,2,"ng-container",0),i.YNc(1,M,4,5,"ng-template",null,1,i.W1O),i.YNc(3,F,1,1,"ng-template",null,2,i.W1O),i.YNc(5,ze,4,2,"ng-template",null,3,i.W1O)),2&O){const x=i.MAs(4);i.Q6J("ngIf",A.linked)("ngIfElse",x)}},dependencies:[v.O5,v.tP,d.rH,s.j,k.lU,G.Ls,U.a,P.W],encapsulation:2,changeDetection:0}),N})()},6061:(xt,Se,a)=>{a.d(Se,{N:()=>P});var t=a(6814),i=a(4190),v=a(5695),d=a(7417),s=a(551),k=a(2524),G=a(1207),U=a(5879);let P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=U.oAB({type:S}),S.\u0275inj=U.cJS({imports:[t.ez,i.Bz,v.X,d.$6,s.PV,k.s,G.s]}),S})()},8545:(xt,Se,a)=>{a.d(Se,{m:()=>de});var t=a(5676),i=a(7398),v=a(2181),d=a(5879),s=a(313),k=a(6814),G=a(4190),U=a(2962),P=a(95),S=a(8125),w=a(5695),L=a(551),Y=a(2574),M=a(4121),e=a(3317),F=a(8091),R=a(2616);function ge(W,ve){if(1&W&&(d._UZ(0,"i",13),d.ALo(1,"entityColor"),d._uU(2)),2&W){const Q=d.oxw().ngIf;d.Q6J("nzTwotoneColor",d.lcZ(1,2,"Variant")),d.xp6(2),d.hij(" ",Q.name," ")}}function ze(W,ve){if(1&W&&d._UZ(0,"cvc-gene-tag",14),2&W){const Q=d.oxw().ngIf;d.Q6J("enablePopover",!1)("gene",Q.gene)}}function K(W,ve){if(1&W&&(d.TgZ(0,"nz-tag"),d._uU(1),d.qZA()),2&W){const Q=ve.$implicit;d.xp6(1),d.Oqu(Q)}}function N(W,ve){if(1&W&&(d.TgZ(0,"nz-descriptions-item",15),d.YNc(1,K,2,1,"nz-tag",16),d.qZA()),2&W){const Q=d.oxw().ngIf;d.xp6(1),d.Q6J("ngForOf",Q.variantAliases)}}function V(W,ve){if(1&W&&(d.TgZ(0,"nz-descriptions-item",17)(1,"cvc-link-tag",18),d._uU(2),d.qZA()()),2&W){const Q=d.oxw().ngIf;d.xp6(1),d.MGl("href","https://reg.genome.network/allele/",Q.alleleRegistryId,".html"),d.xp6(1),d.hij(" ",Q.alleleRegistryId," ")}}function O(W,ve){if(1&W&&(d.TgZ(0,"a",19)(1,"nz-tag",20),d._UZ(2,"i",21),d._uU(3),d.qZA()()),2&W){const Q=d.oxw().ngIf;d.MGl("routerLink","/variants/",Q.id,"/flags"),d.xp6(3),d.hij(" Flags (",Q.flags.totalCount,") ")}}function A(W,ve){if(1&W&&(d.TgZ(0,"a",19)(1,"nz-tag",22),d._UZ(2,"i",23),d._uU(3),d.qZA()()),2&W){const Q=d.oxw().ngIf;d.MGl("routerLink","/variants/",Q.id,"/revisions"),d.xp6(3),d.hij(" Revisions (",Q.revisions.totalCount,") ")}}function x(W,ve){if(1&W&&(d.TgZ(0,"a",19)(1,"nz-tag",24),d._UZ(2,"i",25),d._uU(3),d.qZA()()),2&W){const Q=d.oxw().ngIf;d.MGl("routerLink","/variants/",Q.id,"/comments"),d.xp6(3),d.hij(" Comments (",Q.comments.totalCount,") ")}}function pe(W,ve){if(1&W&&(d.ynx(0),d.TgZ(1,"nz-card",2),d.YNc(2,ge,3,4,"ng-template",null,3,d.W1O),d.YNc(4,ze,1,2,"ng-template",null,4,d.W1O),d.TgZ(6,"nz-descriptions",5),d.YNc(7,N,2,1,"nz-descriptions-item",6),d.YNc(8,V,3,2,"nz-descriptions-item",7),d.TgZ(9,"nz-descriptions-item",8),d._uU(10),d.qZA()(),d.TgZ(11,"nz-row",9)(12,"nz-col",10)(13,"nz-space",11),d.YNc(14,O,4,2,"a",12),d.YNc(15,A,4,2,"a",12),d.YNc(16,x,4,2,"a",12),d.qZA()()()(),d.BQk()),2&W){const Q=ve.ngIf,ae=d.MAs(3),fe=d.MAs(5);d.xp6(1),d.Q6J("nzTitle",ae)("nzExtra",fe),d.xp6(5),d.Q6J("nzColumn",2),d.xp6(1),d.Q6J("ngIf",Q.variantAliases.length>0),d.xp6(1),d.Q6J("ngIf",Q.alleleRegistryId&&"unregistered"!=Q.alleleRegistryId),d.xp6(2),d.hij(" ",Q.molecularProfiles.totalCount," ")}}let de=(()=>{class W{constructor(Q){this.gql=Q}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,i.U)(({data:Q})=>Q?.variant),(0,v.h)(t.ep))}}return W.\u0275fac=function(Q){return new(Q||W)(d.Y36(s.ZYZ))},W.\u0275cmp=d.Xpm({type:W,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Molecular Profiles","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(Q,ae){1&Q&&(d.TgZ(0,"div",0),d.YNc(1,pe,17,6,"ng-container",1),d.ALo(2,"ngrxPush"),d.qZA()),2&Q&&(d.xp6(1),d.Q6J("ngIf",d.lcZ(2,1,ae.variant$)))},dependencies:[k.sg,k.O5,G.rH,U.bd,P.t3,P.SK,S.R7,S.uj,w.j,L.Ls,Y.NU,Y.$1,M.H,e.l,F.fM,R.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),W})()},6446:(xt,Se,a)=>{a.d(Se,{k:()=>Y});var t=a(6814),i=a(4190),v=a(2962),d=a(95),s=a(8125),k=a(5695),G=a(551),U=a(2574),P=a(5956),S=a(6067),w=a(2524),L=a(5879);let Y=(()=>{class M{}return M.\u0275fac=function(F){return new(F||M)},M.\u0275mod=L.oAB({type:M}),M.\u0275inj=L.cJS({imports:[t.ez,i.Bz,v.vh,d.Jb,s.q6,k.X,G.PV,U.zf,w.s,P.U,S.X]}),M})()},9408:(xt,Se,a)=>{a.d(Se,{I:()=>A});var t=a(8130),i=a(2023),v=a(5879),d=a(6814),s=a(4190),k=a(5695),G=a(7417),U=a(551),P=a(8545),S=a(3103),w=a(5869);function L(x,pe){}function Y(x,pe){if(1&x&&(v.ynx(0),v.TgZ(1,"a",4),v.YNc(2,L,0,0,"ng-template",5),v.qZA(),v.BQk()),2&x){const de=v.oxw(),W=v.MAs(2);v.xp6(1),v.Q6J("routerLink",de.variant.link),v.xp6(1),v.Q6J("ngTemplateOutlet",W)}}function M(x,pe){}function e(x,pe){if(1&x&&v._UZ(0,"cvc-variant-popover",9),2&x){const de=v.oxw(3);v.Q6J("variantId",de.variant.id)}}function F(x,pe){if(1&x&&v.YNc(0,e,1,1,"cvc-variant-popover",8),2&x){const de=v.oxw(2);v.Q6J("ngIf",de.enablePopover)}}const R=function(x){return{deprecated:x}};function ge(x,pe){if(1&x){const de=v.EpF();v.TgZ(0,"nz-tag",6),v.NdJ("nzOnClose",function(ve){v.CHM(de);const Q=v.oxw();return v.KtG(Q.itemClosed(ve))}),v.YNc(1,M,0,0,"ng-template",5),v.qZA(),v.YNc(2,F,1,1,"ng-template",null,7,v.W1O)}if(2&x){const de=v.MAs(3),W=v.oxw(),ve=v.MAs(6);v.Q6J("ngClass",v.VKq(6,R,W.variant.deprecated))("nzPopoverMouseEnterDelay",W.onCloseClicked?0:.5)("nzPopoverContent",de)("nzPopoverTrigger",W.enablePopover?"hover":null)("nzMode",W.onCloseClicked?"closeable":"default"),v.xp6(1),v.Q6J("ngTemplateOutlet",ve)}}function ze(x,pe){}function K(x,pe){if(1&x&&v.YNc(0,ze,0,0,"ng-template",5),2&x){v.oxw();const de=v.MAs(2);v.Q6J("ngTemplateOutlet",de)}}function N(x,pe){if(1&x&&(v.ynx(0),v._uU(1),v.ALo(2,"truncate"),v.BQk()),2&x){const de=v.oxw(2);v.xp6(1),v.hij(" ",v.xi3(2,1,de.variant.name,20)," ")}}function V(x,pe){if(1&x&&v._uU(0),2&x){const de=v.oxw(2);v.hij(" ",de.variant.name," ")}}function O(x,pe){if(1&x&&(v.TgZ(0,"cvc-icon-badges",10),v._UZ(1,"i",11),v.qZA(),v.YNc(2,N,3,4,"ng-container",0),v.YNc(3,V,1,1,"ng-template",null,12,v.W1O)),2&x){const de=v.MAs(4),W=v.oxw();v.Q6J("flagged",W.variant.flagged)("entityColor",W.iconColor),v.xp6(1),v.Q6J("nzTwotoneColor",W.iconColor),v.xp6(1),v.Q6J("ngIf",W.truncateLongName)("ngIfElse",de)}}let A=(()=>{class x extends t.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1,this.iconColor=(0,i.f)("Variant")}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return x.\u0275fac=function(de){return new(de||x)},x.\u0275cmp=v.Xpm({type:x,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[v.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["popoverContent",""],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variant","nzTheme","twotone",3,"nzTwotoneColor"],["fullName",""]],template:function(de,W){if(1&de&&(v.YNc(0,Y,3,2,"ng-container",0),v.YNc(1,ge,4,8,"ng-template",null,1,v.W1O),v.YNc(3,K,1,1,"ng-template",null,2,v.W1O),v.YNc(5,O,5,5,"ng-template",null,3,v.W1O)),2&de){const ve=v.MAs(4);v.Q6J("ngIf",W.linked)("ngIfElse",ve)}},dependencies:[d.mk,d.O5,d.tP,s.rH,k.j,G.lU,U.Ls,P.m,S.b,w.W],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"],changeDetection:0}),x})()},7528:(xt,Se,a)=>{a.d(Se,{Q:()=>S});var t=a(6814),i=a(4190),v=a(5695),d=a(551),s=a(7417),k=a(6446),G=a(2524),U=a(3146),P=a(5879);let S=(()=>{class w{}return w.\u0275fac=function(Y){return new(Y||w)},w.\u0275mod=P.oAB({type:w}),w.\u0275inj=P.cJS({imports:[t.ez,i.Bz,v.X,s.$6,d.PV,G.s,k.k,U.C]}),w})()},3702:(xt,Se,a)=>{a.d(Se,{t:()=>i});var t=a(5879);let i=(()=>{class v{transform(s,k){return s?"verbose"==k?"TIER_I_LEVEL_A"===s?"Tier I - Level A":"TIER_I_LEVEL_B"===s?"Tier I - Level B":"TIER_II_LEVEL_C"===s?"Tier II - Level C":"TIER_II_LEVEL_D"===s?"Tier II - Level D":"TIER_III"===s?"Tier III":"TIER_IV"===s?"Tier IV":"Not Applicable":s.toUpperCase().replace("TIER","").replace("LEVEL","").replace(/ /g,"").replace(/_/g,""):""}}return v.\u0275fac=function(s){return new(s||v)},v.\u0275pipe=t.Yjl({name:"formatAmp",type:v,pure:!0}),v})()},2616:(xt,Se,a)=>{a.d(Se,{a:()=>v});var t=a(2023),i=a(5879);let v=(()=>{class d{transform(k){return(0,t.f)(k)}}return d.\u0275fac=function(k){return new(k||d)},d.\u0275pipe=i.Yjl({name:"entityColor",type:d,pure:!0}),d})()},6967:(xt,Se,a)=>{a.d(Se,{Do:()=>k});var t=a(313),i=a(2),v=a(5879);const d=new Map([[t.Sx0.A,"Validated association"],[t.Sx0.B,"Clinical evidence"],[t.Sx0.C,"Case study"],[t.Sx0.D,"Preclinical evidence"],[t.Sx0.E,"Inferential association"]]),s=new Map([[1,"One Star"],[2,"Two Stars"],[3,"Three Stars"],[4,"Four Stars"],[5,"Five Stars"]]);let k=(()=>{class G{transform(P,S="display-string"){return null==P?"":"short-string"===S&&1===P.toString().length?"string"==typeof P?P:P.toString():"icon-name"===S?"number"==typeof P?`civic-rating${P}`:1===P.length?`civic-level${P.toLowerCase()}`:`civic-${P.replace(/_/g,"").toLowerCase()}`:"number"==typeof P?s.get(P)||P.toString():1===P.length?d.get(P)||P:(0,i.E)(P)}}return G.\u0275fac=function(P){return new(P||G)},G.\u0275pipe=v.Yjl({name:"evidenceEnumDisplay",type:G,pure:!0}),G})()},8004:(xt,Se,a)=>{a.d(Se,{v:()=>k});var t=a(313);const i={evidenceType:{[t.kqt.Diagnostic]:"Evidence pertains to a variant's impact on patient diagnosis (cancer subtype)",[t.kqt.Functional]:"Evidence pertains to a variant that alters biological function from the reference state",[t.kqt.Oncogenic]:"Evidence pertains to a somatic variant's involvement in tumor pathogenesis as described by the Hallmarks of Cancer",[t.kqt.Predictive]:"Evidence pertains to a variant's effect on therapeutic response",[t.kqt.Predisposing]:"Evidence pertains to a germline variant's role in conferring susceptibility to disease (including pathogenicity evaluations)",[t.kqt.Prognostic]:"Evidence pertains to a variant's impact on disease progression, severity, or patient survival"},assertionType:{[t.uBv.Diagnostic]:"Assertion pertains to a variant's impact on patient diagnosis (cancer subtype)",[t.uBv.Predictive]:"Assertion pertains to a variant's effect on therapeutic response",[t.uBv.Predisposing]:"Assertion pertains to a germline variant's role in conferring susceptibility to disease (including pathogenicity evaluations)",[t.uBv.Prognostic]:"Assertion pertains to a variant's impact on disease progression, severity, or patient survival",[t.uBv.Oncogenic]:"Assertion pertains to a somatic variant's role in driving tumor formation, growth, and other processes related to the Hallmarks of Cancer"},variantOrigin:{[t.huM.Somatic]:"Variant is a mutation, found only in tumor cells, having arisen in a specific tissue (non-germ cell), and is not expected to be inherited or passed to offspring",[t.huM.RareGermline]:"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in less than 1% of the population relevant to this evidence item",[t.huM.CommonGermline]:"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in at least 1% of the population relevant to this evidence item",[t.huM.Unknown]:"The variant origin is uncertain based on the available evidence",[t.huM.Na]:"The variant type (e.g., expression) is not compatible (or easily classified) with the CIViC concept of variant origin",[t.huM.Combined]:"Variants in the Molecular Profile span multiple Origin types."},evidenceLevel:{[t.Sx0.A]:"Proven/consensus association in human medicine",[t.Sx0.B]:"Clinical trial or other primary patient data supports association",[t.Sx0.C]:"Individual case reports from clinical journals",[t.Sx0.D]:"In vivo or in vitro models support association",[t.Sx0.E]:"Indirect evidence"},evidenceLevelBrief:{[t.Sx0.A]:"Validated association",[t.Sx0.B]:"Clinical evidence",[t.Sx0.C]:"Case Study",[t.Sx0.D]:"Preclinical evidence",[t.Sx0.E]:"Inferential association"},therapyInteractionType:{[t.wkr.Combination]:"The therapies listed were used as part of a combination therapy approach",[t.wkr.Sequential]:"The therapies listed were used at separate timepoints in the same treatment plan",[t.wkr.Substitutes]:"The therapies listed are often considered to be of the same family, or behave similarly in a treatment setting"},evidenceRating:{1:"Poor - Claim is not supported well by experimental evidence. Results are not reproducible, or have very small sample size. No follow-up is done to validate novel claims",2:"Adequate - Evidence is not well supported by experimental data, and little follow-up data is available. Experiments may lack proper controls, have small sample size, or are not statistically convincing",3:"Average - Evidence is convincing, but not supported by a breadth of experiments. May be smaller scale projects, or novel results without many follow-up experiments. Discrepancies from expected results are explained and not concerning",4:"Strong - Well supported evidence. Experiments are well controlled, and results are convincing. Any discrepancies from expected results are well-explained and not concerning",5:"Excellent - Solid, well supported evidence from a lab or journal with respected academic standing. Experiments are well controlled, and results are clean and reproducible across multiple replicates. Evidence confirmed using separate methods"}},v={significance:{PREDICTIVE:{ADVERSE_RESPONSE:{EvidenceItem:"Associated with an adverse response to theraputic treatment",Assertion:"Associated with an adverse response to theraputic treatment"},REDUCED_SENSITIVITY:{EvidenceItem:"Response to treatment is lower than seen in other treatment contexts",Assertion:"Response to treatment is lower than seen in other treatment contexts"},RESISTANCE:{EvidenceItem:"Associated with clinical or preclinical resistance to treatment",Assertion:"Associated with clinical or preclinical resistance to treatment"},SENSITIVITYRESPONSE:{EvidenceItem:"Associated with clinical or preclinical response to treatment",Assertion:"Associated with a clinical or preclinical response to treatment"},NA:{EvidenceItem:"Clinical Significance is not applicable",Assertion:"Clinical Significance is not applicable"}},DIAGNOSTIC:{POSITIVE:{EvidenceItem:"Associated with diagnosis of disease or subtype",Assertion:"Associated with diagnosis of disease or subtype"},NEGATIVE:{EvidenceItem:"Associated with lack of disease or subtype",Assertion:"Associated with lack of disease or subtype"}},PROGNOSTIC:{BETTER_OUTCOME:{EvidenceItem:"Demonstrates better than expected clinical outcome",Assertion:"Demonstrates better than expected clinical outcome"},POOR_OUTCOME:{EvidenceItem:"Demonstrates worse than expected clinical outcome",Assertion:"Demonstrates worse than expected clinical outcome"},Na:{EvidenceItem:"Clinical Significance is not applicable",Assertion:"Clinical Significance is not applicable"}},PREDISPOSING:{PATHOGENIC:{Assertion:"Very strong evidence the variant is pathogenic"},LIKELY_PATHOGENIC:{Assertion:"Strong evidence (>90% certainty) the variant is pathogenic"},BENIGN:{Assertion:"Very strong evidence the variant is benign"},LIKELY_BENIGN:{Assertion:"Not expected to have a major effect on disease"},UNCERTAIN_SIGNIFICANCE:{Assertion:"Does not meet the ACMG/AMP criteria for pathogenic/benign, or the evidence is conflicting"},Na:{EvidenceItem:"Clinical Significance is not applicable"},PREDISPOSITION:{EvidenceItem:"Germline variant has predisposing potential for cancer, and may meet ACMG/AMP criteria supporting pathogenic or benign classification."},PROTECTIVENESS:{EvidenceItem:"Germline variant has properties that protect individuals from acquiring cancer."}},ONCOGENIC:{ONCOGENICITY:{EvidenceItem:"Somatic variant has oncogenic potential for driving cancer, and may meet ClinGen/CGC/VICC criteria supporting pathogenic or benign classification."},PROTECTIVENESS:{EvidenceItem:"Somatic variant has a protective role and minimizes co-occuring driver variants, tumor malignancy, or other oncogenic tumor properties."},ONCOGENIC:{Assertion:"Very strong evidence the variant is oncogenic."},LIKELY_ONCOGENIC:{Assertion:"Strong evidence the variant is oncogenic."},BENIGN:{Assertion:"Very strong evidence the variant does not have oncogenic properties."},LIKELY_BENIGN:{Assertion:"Strong evidence the variant does not have oncogenic properties."},UNCERTAIN_SIGNIFICANCE:{Assertion:"Does not meet guideline criteria for oncogenic/benign, or the evidence is conflicting."}}},evidenceDirection:{PREDICTIVE:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant's response to a therapy"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support, or was inconclusive of an interaction between this variant and a therapy"}},DIAGNOSTIC:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant's impact on the diagnosis of disease or subtype"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support this variant's impact on diagnosis of disease or subtype"}},PROGNOSTIC:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant's impact on prognostic outcome"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support a prognostic association between variant and outcome"}},PREDISPOSING:{Na:{EvidenceItem:"Evidence Direction is not applicable"},SUPPORTS:{EvidenceItem:"The evidence supports a pathogenic or a protective role for a germline variant in cancer."},DOES_NOT_SUPPORT:{EvidenceItem:"The evidence supports a benign (if Clinical Significance is Predisposition) or lack or protective (if Clinical Significance is Protectiveness) role for a germline variant in cancer."}},FUNCTIONAL:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant causing alteration or non-alteration of the gene product function"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support this variant causing alteration or non-alteration of the gene product function"}},ONCOGENIC:{NA:{EvidenceItem:"Evidence Direction is not applicable for Oncogenic Evidence Type"},SUPPORTS:{EvidenceItem:"The evidence supports an oncogenic or protective role for a somatic variant"},DOES_NOT_SUPPORT:{EvidenceItem:"The evidence does not support an oncogenic or protective role for a somatic variant"}}},assertionDirection:{PREDICTIVE:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant's response to a therapy"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support, or was inconclusive of an interaction between this variant and a therapy"}},DIAGNOSTIC:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant's impact on the diagnosis of disease or subtype"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support this variant's impact on diagnosis of disease or subtype"}},PROGNOSTIC:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant's impact on prognostic outcome"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support a prognostic association between variant and outcome"}},PREDISPOSING:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support a variant's impact on predisposing outcome"}},FUNCTIONAL:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant causing alteration or non-alteration of the gene product function"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support this variant causing alteration or non-alteration of the gene product function"}},ONCOGENIC:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support a variant's oncogenic, benign, or uncertain significance"}}}};var s=a(5879);let k=(()=>{class G{transform(P,S,w=void 0,L=void 0){return S&&P?function d(G,U,P,S){let w;return w=P&&S?v[G][P][U][S]:i[G][U],w||""}(S,P,w,L):""}}return G.\u0275fac=function(P){return new(P||G)},G.\u0275pipe=s.Yjl({name:"enumTooltip",type:G,pure:!0}),G})()},7334:(xt,Se,a)=>{a.d(Se,{A:()=>v});var t=a(5879),i=a(6593);let v=(()=>{class d{constructor(k){this.sanitizer=k}transform(k,G){if(!G||""==G)return k;const U=new RegExp(G,"gi"),P=k.match(U);if(!P)return k;let S=k.replace(U,`${P[0]}`);return this.sanitizer.bypassSecurityTrustHtml(S)}}return d.\u0275fac=function(k){return new(k||d)(t.Y36(i.H7,16))},d.\u0275pipe=t.Yjl({name:"highlightTypeahead",type:d,pure:!0}),d})()},2524:(xt,Se,a)=>{a.d(Se,{s:()=>d});var t=a(6814),i=a(7023),v=a(5879);let d=(()=>{class s{}return s.\u0275fac=function(G){return new(G||s)},s.\u0275mod=v.oAB({type:s}),s.\u0275inj=v.cJS({providers:[i.l],imports:[t.ez]}),s})()},7023:(xt,Se,a)=>{a.d(Se,{l:()=>v});var t=a(2666),i=a(5879);let v=(()=>{class d{transform(k){return k?(0,t.c)(k):""}}return d.\u0275fac=function(k){return new(k||d)},d.\u0275pipe=i.Yjl({name:"sourceTypeDisplay",type:d,pure:!0}),d})()},5869:(xt,Se,a)=>{a.d(Se,{W:()=>i});var t=a(5879);let i=(()=>{class v{constructor(){}transform(s,k=25){if(s.length>k){let U=s.slice(0,k);var G=U.lastIndexOf(" ");return U.slice(0,G)+"\u2026"}return s}}return v.\u0275fac=function(s){return new(s||v)},v.\u0275pipe=t.Yjl({name:"truncate",type:v,pure:!0}),v})()},1201:(xt,Se,a)=>{a.d(Se,{Z:()=>i});var t=a(5879);let i=(()=>{class v{transform(s){return s?`civic-${s.replace(/_/g,"").toLowerCase()}`:""}}return v.\u0275fac=function(s){return new(s||v)},v.\u0275pipe=t.Yjl({name:"typenameToIcon",type:v,pure:!0}),v})()},7473:(xt,Se,a)=>{a.d(Se,{Y:()=>v});var t=a(5619),i=a(5879);let v=(()=>{class d{constructor(){this.networkError$=new t.X(void 0)}clearErrors(){this.networkError$.next(void 0)}}return d.\u0275fac=function(k){return new(k||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},951:(xt,Se,a)=>{a.d(Se,{a:()=>w});var S,t=a(655),i=a(313),v=a(1791),d=a(7398),s=a(7921),k=a(7081),G=a(4223),U=a(5879),P=a(9862);let w=((S=class{constructor(Y,M){function e(N){return!(!N||N.role!==i.i44.Admin)}function F(N){return!(!N||N.role!==i.i44.Editor&&N.role!==i.i44.Admin)}function R(N){return!(!N||N.role!==i.i44.Curator)}function ge(N){return!(!N||N.role!==i.i44.Curator&&N.role!==i.i44.Editor&&N.role!==i.i44.Admin)}function ze(N){return!(!N||N.role!==i.i44.Editor&&N.role!==i.i44.Admin||!N.mostRecentConflictOfInterestStatement||N.mostRecentConflictOfInterestStatement?.coiStatus!=i.Mgx.Conflict&&N.mostRecentConflictOfInterestStatement?.coiStatus!=i.Mgx.Valid)}function K(N){if(N.mostRecentOrganizationId)return N.organizations.find(V=>V.id===N.mostRecentOrganizationId)}this.viewerBaseGQL=Y,this.http=M,this.initialViewer={mostRecentOrg:void 0,signedIn:!1,isAdmin:!1,isEditor:!1,isCurator:!1,canCurate:!1,canModerate:!1,invalidCoi:!0},this.queryRef=this.viewerBaseGQL.watch(void 0,{notifyOnNetworkStatusChange:!1}),this.viewer$=this.queryRef.valueChanges.pipe((0,G.j)("data","viewer"),(0,d.U)(N=>({...N,signedIn:null!=N,signedOut:null==N,canCurate:ge(N),canModerate:ze(N),isAdmin:e(N),isEditor:F(N),isCurator:R(N),organizations:null==N?[]:N.organizations,mostRecentOrg:null==N?void 0:K(N),invalidCoi:F(N)&&(!N.mostRecentConflictOfInterestStatement||N.mostRecentConflictOfInterestStatement.coiStatus===i.Mgx.Expired||N.mostRecentConflictOfInterestStatement.coiStatus===i.Mgx.Missing)})),(0,s.O)(this.initialViewer),(0,k.d)(1)),this.signedIn$=this.viewer$.pipe((0,d.U)(N=>N.signedIn)),this.signedOut$=this.viewer$.pipe((0,d.U)(N=>N.signedOut)),this.isAdmin$=this.viewer$.pipe((0,d.U)(N=>e(N))),this.isEditor$=this.viewer$.pipe((0,d.U)(N=>F(N))),this.isCurator$=this.viewer$.pipe((0,d.U)(N=>R(N))),this.canCurate$=this.viewer$.pipe((0,d.U)(N=>ge(N))),this.canModerate$=this.viewer$.pipe((0,d.U)(N=>ze(N)))}signOut(){this.http.get("/api/sign_out").pipe((0,v.t)(this)).subscribe(()=>this.queryRef.refetch())}refetch(){this.queryRef.refetch()}}).\u0275fac=function(Y){return new(Y||S)(U.LFG(i.Tt7),U.LFG(P.eN))},S.\u0275prov=U.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S);w=(0,t.gn)([(0,v.c)()],w)},8130:(xt,Se,a)=>{a.d(Se,{a:()=>i});var t=a(5879);let i=(()=>{class v{constructor(){this.linked=!0,this.popoverVisible=!1}ngOnInit(){this.onCloseClicked&&(this.linked=!1)}itemClosed(s){this.popoverVisible=!1,this.onCloseClicked&&this.onCloseClicked(this.idFunction())}}return v.\u0275fac=function(s){return new(s||v)},v.\u0275cmp=t.Xpm({type:v,selectors:[["ng-component"]],inputs:{onCloseClicked:"onCloseClicked",linked:"linked"},decls:0,vars:0,template:function(s,k){},encapsulation:2}),v})()},2:(xt,Se,a)=>{function t(i){if("number"==typeof i||"boolean"==typeof i)return i;let v;if("NA"===i)v=["Not Applicable"];else if("SENSITIVITYRESPONSE"===i)v=["Sensitivity","/","Response"];else{v=i.toLowerCase().replace(/_/g," ").split(" ");for(var d=0;dt})},2666:(xt,Se,a)=>{function t(i){switch(i){case"ASCO":return"ASCO";case"PUBMED":return"PubMed";case"ASH":return"ASH";default:return i}}a.d(Se,{c:()=>t})},2023:(xt,Se,a)=>{a.d(Se,{f:()=>i});const t=new Map([["Assertion","#7243b5"],["ClinicalTrial","#ac3996"],["CoordinateSystem","#f68f37"],["Disease","#e62f76"],["Event","#1db8a9"],["EvidenceItem","#2a63b6"],["Gene","#07aff0"],["Therapy","#ac3996"],["MolecularProfile","#33b358"],["Phenotype","#1db8a9"],["Source","#f9ba45"],["Variant","#74d34c"],["VariantGroup","#74d34c"],["VariantType","#74d34c"],["Comment","#44d8ef"],["Event","#ffdb00"],["Flag","#e24759"],["Queue","#666699"],["Revision","#f0673a"],["Curator","#a0d8f5"],["Editor","#58a0c4"],["Admin","#58a0c4"],["Organization","#3d7b99"],["Rejected","#BBBBBB"],["Greyscale","#999999"]]);function i(v){let d="#AAAAAA";if(v){const s=t.get(v);s&&(d=s)}return d}},2024:(xt,Se,a)=>{a.d(Se,{U:()=>s});var t=a(8645),i=a(5619),v=a(9773),d=a(4716);class s{constructor(G){this.networkErrorService=G}mutate(G,U,P,S){let w=new t.x,L={isSubmitting$:new i.X(!1),submitSuccess$:new i.X(!1),submitError$:new i.X([]),cleanup:()=>{w.next(),w.complete()}};return L.isSubmitting$.next(!0),G.mutate(U,P).pipe((0,v.R)(w),(0,d.x)(()=>{L.isSubmitting$.next(!1)})).subscribe({next:Y=>{Y.data&&S&&S(Y.data)},error:Y=>{Y.graphQLErrors.length>0?L.submitError$.next(Y.graphQLErrors.map(M=>M.message)):Y.networkError&&this.networkErrorService.networkError$.next(Y.networkError),L.cleanup()},complete:()=>{L.submitError$.next([]),L.submitSuccess$.next(!0),this.networkErrorService.networkError$.next(void 0),L.cleanup()}}),L}}},9333:(xt,Se,a)=>{a.d(Se,{h:()=>v});var t=a(6814),i=a(5879);let v=(()=>{class d{}return d.\u0275fac=function(k){return new(k||d)},d.\u0275mod=i.oAB({type:d}),d.\u0275inj=i.cJS({imports:[t.ez]}),d})()},7871:(xt,Se,a)=>{a.d(Se,{P:()=>Y});var t=a(5879),i=a(6814),v=a(6109);function d(M,e){1&M&&(t.ynx(0),t._uU(1," N/A "),t.BQk())}function s(M,e){1&M&&(t.ynx(0),t._uU(1," Not applicable "),t.BQk())}function k(M,e){if(1&M&&(t.TgZ(0,"span",4),t.ynx(1,0),t.YNc(2,d,2,0,"ng-container",5),t.YNc(3,s,2,0,"ng-container",6),t.BQk(),t.qZA()),2&M){const F=t.oxw();t.xp6(1),t.Q6J("ngSwitch",F.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function G(M,e){1&M&&(t.ynx(0),t._uU(1," \u2013\xa0\u2013 "),t.BQk())}function U(M,e){1&M&&(t.ynx(0),t._uU(1,"Not specified"),t.BQk())}function P(M,e){if(1&M&&(t.TgZ(0,"span",7),t.ynx(1,0),t.YNc(2,G,2,0,"ng-container",5),t.YNc(3,U,2,0,"ng-container",6),t.BQk(),t.qZA()),2&M){const F=t.oxw();t.xp6(1),t.Q6J("ngSwitch",F.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function S(M,e){1&M&&(t.ynx(0),t._uU(1,"!?"),t.BQk())}function w(M,e){1&M&&(t.ynx(0),t._uU(1,"Unspecified"),t.BQk())}function L(M,e){if(1&M&&(t.TgZ(0,"span",8),t.ynx(1,0),t.YNc(2,S,2,0,"ng-container",5),t.YNc(3,w,2,0,"ng-container",6),t.BQk(),t.qZA()),2&M){const F=t.oxw();t.xp6(1),t.Q6J("ngSwitch",F.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}let Y=(()=>{class M{constructor(){this.cvcEmptyCategory="not-applicable",this.cvcDisplayMode="default"}}return M.\u0275fac=function(F){return new(F||M)},M.\u0275cmp=t.Xpm({type:M,selectors:[["cvc-empty-value"]],inputs:{cvcEmptyCategory:"cvcEmptyCategory",cvcDisplayMode:"cvcDisplayMode"},decls:4,vars:4,consts:[[3,"ngSwitch"],["class","empty-symbol not-applicable","nz-tooltip","","nzTooltipTitle","Value is not applicable",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Unspecified","class","empty-symbol unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","INVALID","class","empty-symbol invalid","nz-tooltip","","nzTooltipTitle","Error: value requires specification",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Value is not applicable",1,"empty-symbol","not-applicable"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["nz-tooltip","","nzTooltipTitle","Unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",1,"empty-symbol","unspecified"],["nz-tooltip","","nzTooltipTitle","INVALID","nz-tooltip","","nzTooltipTitle","Error: value requires specification",1,"empty-symbol","invalid"]],template:function(F,R){1&F&&(t.ynx(0,0),t.YNc(1,k,4,2,"span",1),t.YNc(2,P,4,2,"span",2),t.YNc(3,L,4,2,"span",3),t.BQk()),2&F&&(t.Q6J("ngSwitch",R.cvcEmptyCategory),t.xp6(1),t.Q6J("ngSwitchCase","not-applicable"),t.xp6(1),t.Q6J("ngSwitchCase","unspecified"),t.xp6(1),t.Q6J("ngSwitchCase","invalid"))},dependencies:[i.RF,i.n9,i.ED,v.SY],styles:[".empty-symbol[_ngcontent-%COMP%]{font-style:oblique;display:inline-block;white-space:no-wrap}.empty-symbol.not-applicable[_ngcontent-%COMP%]{color:#ccc;font-weight:500}.empty-symbol.unspecified[_ngcontent-%COMP%]{display:inline-block;color:#ccc;font-weight:500;padding:0 3px}.empty-symbol.invalid[_ngcontent-%COMP%]{display:inline-block;color:#ff4d4f;font-weight:700}"]}),M})()},3517:(xt,Se,a)=>{a.d(Se,{M:()=>s});var t=a(6814),i=a(551),v=a(6109),d=a(5879);let s=(()=>{class k{}return k.\u0275fac=function(U){return new(U||k)},k.\u0275mod=d.oAB({type:k}),k.\u0275inj=d.cJS({imports:[t.ez,v.cg,i.PV]}),k})()},3670:(xt,Se,a)=>{a.d(Se,{J:()=>Pe});var t=a(5879),i=a(9111),v=a(6814),d=a(156),s=a(2851),k=a(1813),G=a(96),U=a(4402),P=a(8213),S=a(1598),w=a(8545);function L(We,He){if(1&We&&t._UZ(0,"cvc-molecular-profile-popover",9),2&We){const we=t.oxw();t.Q6J("molecularProfileId",we.entity.entityId)}}function Y(We,He){if(1&We&&t._UZ(0,"cvc-disease-popover",10),2&We){const we=t.oxw();t.Q6J("diseaseId",we.entity.entityId)}}function M(We,He){if(1&We&&t._UZ(0,"cvc-therapy-popover",11),2&We){const we=t.oxw();t.Q6J("therapyId",we.entity.entityId)}}function e(We,He){if(1&We&&t._UZ(0,"cvc-source-popover",12),2&We){const we=t.oxw();t.Q6J("sourceId",we.entity.entityId)}}function F(We,He){if(1&We&&t._UZ(0,"cvc-phenotype-popover",13),2&We){const we=t.oxw();t.Q6J("phenotypeId",we.entity.entityId)}}function R(We,He){if(1&We&&t._UZ(0,"cvc-evidence-popover",14),2&We){const we=t.oxw();t.Q6J("evidenceId",we.entity.entityId)}}function ge(We,He){if(1&We&&t._UZ(0,"cvc-gene-popover",15),2&We){const we=t.oxw();t.Q6J("geneId",we.entity.entityId)}}function ze(We,He){if(1&We&&t._UZ(0,"cvc-variant-popover",16),2&We){const we=t.oxw();t.Q6J("variantId",we.entity.entityId)}}const K=["MolecularProfile","Disease","Therapy","Phenotype","Source","Gene","Variant","EvidenceItem"];let N=(()=>{class We{ngOnInit(){if(null==this.entity)throw new Error("entity input is required for CvcEntityTagPopoverComponent")}}return We.\u0275fac=function(we){return new(we||We)},We.\u0275cmp=t.Xpm({type:We,selectors:[["cvc-entity-tag-popover"]],inputs:{entity:"entity"},decls:9,vars:9,consts:[[3,"ngSwitch"],[3,"molecularProfileId",4,"ngSwitchCase"],[3,"diseaseId",4,"ngSwitchCase"],[3,"therapyId",4,"ngSwitchCase"],[3,"sourceId",4,"ngSwitchCase"],[3,"phenotypeId",4,"ngSwitchCase"],[3,"evidenceId",4,"ngSwitchCase"],[3,"geneId",4,"ngSwitchCase"],[3,"variantId",4,"ngSwitchCase"],[3,"molecularProfileId"],[3,"diseaseId"],[3,"therapyId"],[3,"sourceId"],[3,"phenotypeId"],[3,"evidenceId"],[3,"geneId"],[3,"variantId"]],template:function(we,te){1&we&&(t.ynx(0,0),t.YNc(1,L,1,1,"cvc-molecular-profile-popover",1),t.YNc(2,Y,1,1,"cvc-disease-popover",2),t.YNc(3,M,1,1,"cvc-therapy-popover",3),t.YNc(4,e,1,1,"cvc-source-popover",4),t.YNc(5,F,1,1,"cvc-phenotype-popover",5),t.YNc(6,R,1,1,"cvc-evidence-popover",6),t.YNc(7,ge,1,1,"cvc-gene-popover",7),t.YNc(8,ze,1,1,"cvc-variant-popover",8),t.BQk()),2&we&&(t.Q6J("ngSwitch",te.entity.entityType),t.xp6(1),t.Q6J("ngSwitchCase","MolecularProfile"),t.xp6(1),t.Q6J("ngSwitchCase","Disease"),t.xp6(1),t.Q6J("ngSwitchCase","Therapy"),t.xp6(1),t.Q6J("ngSwitchCase","Source"),t.xp6(1),t.Q6J("ngSwitchCase","Phenotype"),t.xp6(1),t.Q6J("ngSwitchCase","EvidenceItem"),t.xp6(1),t.Q6J("ngSwitchCase","Gene"),t.xp6(1),t.Q6J("ngSwitchCase","Variant"))},dependencies:[v.RF,v.n9,d._,s.I,k.p,G.a,U.S,P._,S.Q,w.m],encapsulation:2,changeDetection:0}),We})();var V=a(4190),O=a(551),A=a(5695),x=a(6109),pe=a(7417),de=a(7334),W=a(2616),ve=a(1201);function Q(We,He){}function ae(We,He){if(1&We){const we=t.EpF();t.TgZ(0,"span",6)(1,"nz-tag",7),t.NdJ("nzCheckedChange",function(){t.CHM(we);const ce=t.oxw();return t.KtG(ce.cvcTagCheckedChange)})("nzOnClose",function(ce){t.CHM(we);const De=t.oxw();return t.KtG(De.cvcOnClose.next(ce))}),t.TgZ(2,"span",8),t.YNc(3,Q,0,0,"ng-template",9),t.qZA()()()}if(2&We){const we=t.oxw(),te=t.MAs(6),ce=t.MAs(8);t.xp6(1),t.Q6J("nzMode",we.cvcMode)("nzChecked",we.cvcTagChecked),t.xp6(1),t.Q6J("nzPopoverContent",we.cvcShowPopover&&we.popoverInput?te:void 0),t.xp6(1),t.Q6J("ngTemplateOutlet",ce)}}function fe(We,He){}function be(We,He){if(1&We&&(t.TgZ(0,"span",13),t.YNc(1,fe,0,0,"ng-template",9),t.qZA()),2&We){const we=t.oxw(2),te=t.MAs(8);t.Q6J("nzTooltipTitle",we.entity.tooltip),t.xp6(1),t.Q6J("ngTemplateOutlet",te)}}function Ft(We,He){if(1&We){const we=t.EpF();t.TgZ(0,"span",10)(1,"nz-tag",11),t.NdJ("nzOnClose",function(ce){t.CHM(we);const De=t.oxw();return t.KtG(De.cvcOnClose.next(ce))}),t.YNc(2,be,2,2,"span",12),t.qZA()()}if(2&We){const we=t.oxw(),te=t.MAs(4);t.xp6(1),t.Q6J("nzMode","closeable"),t.xp6(1),t.Q6J("ngIf",we.entity&&we.entity.tooltip)("ngIfElse",te)}}function Dt(We,He){}function nn(We,He){if(1&We&&(t.TgZ(0,"span",13),t.YNc(1,Dt,0,0,"ng-template",9),t.qZA()),2&We){const we=t.oxw(2),te=t.MAs(8);t.Q6J("nzTooltipTitle",we.entity.tooltip),t.xp6(1),t.Q6J("ngTemplateOutlet",te)}}function Et(We,He){if(1&We&&(t.TgZ(0,"span",14),t.YNc(1,nn,2,2,"span",12),t.qZA()),2&We){const we=t.oxw(),te=t.MAs(4);t.xp6(1),t.Q6J("ngIf",we.entity&&we.entity.tooltip)("ngIfElse",te)}}function Ht(We,He){}function tn(We,He){if(1&We&&(t.TgZ(0,"span",8),t.YNc(1,Ht,0,0,"ng-template",9),t.qZA()),2&We){const we=t.oxw(),te=t.MAs(6),ce=t.MAs(8);t.Q6J("nzPopoverContent",we.popoverInput?te:void 0),t.xp6(1),t.Q6J("ngTemplateOutlet",ce)}}function un(We,He){if(1&We&&t._UZ(0,"cvc-entity-tag-popover",16),2&We){const we=t.oxw(2);t.Q6J("entity",we.popoverInput)}}function In(We,He){if(1&We&&t.YNc(0,un,1,1,"cvc-entity-tag-popover",15),2&We){const we=t.oxw();t.Q6J("ngIf",we.popoverInput)}}function Xe(We,He){if(1&We&&(t.TgZ(0,"span"),t.GkF(1,9),t.qZA()),2&We){t.oxw();const we=t.MAs(4);t.xp6(1),t.Q6J("ngTemplateOutlet",we)}}function Re(We,He){if(1&We&&(t.TgZ(0,"a",23),t.GkF(1,9),t.qZA()),2&We){t.oxw();const we=t.MAs(4),te=t.oxw(2);t.Q6J("routerLink",te.entity.link),t.xp6(1),t.Q6J("ngTemplateOutlet",we)}}function Ct(We,He){if(1&We&&(t._UZ(0,"span",26),t.ALo(1,"typenameToIcon"),t.ALo(2,"entityColor")),2&We){const we=t.oxw(4);t.Q6J("nzType",t.lcZ(1,2,we.typename))("nzTwotoneColor",t.lcZ(2,4,we.typename))}}function je(We,He){if(1&We&&(t.YNc(0,Ct,3,6,"span",24),t._UZ(1,"span",25),t.ALo(2,"highlightTypeahead")),2&We){t.oxw(2);const we=t.MAs(4),te=t.oxw();t.Q6J("ngIf",te.typename)("ngIfElse",we),t.xp6(1),t.Q6J("innerHtml",t.xi3(2,3,te.entity.name,te.cvcEmphasize),t.oJD)}}function Yt(We,He){if(1&We&&(t.ynx(0),t.YNc(1,Xe,2,1,"span",20),t.YNc(2,Re,2,2,"a",21),t.YNc(3,je,3,6,"ng-template",null,22,t.W1O),t.BQk()),2&We){const we=t.oxw(2);t.xp6(1),t.Q6J("ngIf",we.cvcDisableLink),t.xp6(1),t.Q6J("ngIf",!we.cvcDisableLink)}}function qt(We,He){}function vn(We,He){if(1&We&&(t.YNc(0,qt,0,0,"ng-template",9),t._uU(1)),2&We){t.oxw();const we=t.MAs(4),te=t.oxw();t.Q6J("ngTemplateOutlet",we),t.xp6(1),t.hij(" CACHE-MISS (",te.cvcCacheId,") ")}}function Dn(We,He){1&We&&t._UZ(0,"span",27)}function Wt(We,He){if(1&We&&(t.YNc(0,Yt,5,2,"ng-container",17),t.YNc(1,vn,2,2,"ng-template",null,18,t.W1O),t.YNc(3,Dn,1,0,"ng-template",null,19,t.W1O)),2&We){const we=t.MAs(2),te=t.oxw();t.Q6J("ngIf",te.entity)("ngIfElse",we)}}function It(We,He){if(1&We&&t._UZ(0,"cvc-entity-tag-popover",16),2&We){const we=t.oxw(2);t.Q6J("entity",we.popoverInput)}}function $e(We,He){if(1&We&&t.YNc(0,It,1,1,"cvc-entity-tag-popover",15),2&We){const we=t.oxw();t.Q6J("ngIf",we.popoverInput)}}const Ve=We=>void 0!==We&&We.__typename&&We.id&&void 0!==We.name;let Pe=(()=>{class We{set cvcLinkableEntity(we){we&&this.setLinkableEntity(we)}set cvcCacheId(we){we&&this.setCachedLinkableEntity(we)}constructor(we){this.apollo=we,this.cvcContext="default",this.cvcMode="default",this.cvcDisableLink=!0,this.cvcTagChecked=!1,this.cvcHasTooltip=!1,this.cvcFullWidth=!1,this.cvcShowPopover=!1,this.cvcTagCheckedChange=new t.vpe,this.cvcOnClose=new t.vpe}hasPopover(we){return K.includes(we)}setLinkableEntity(we){Ve(we)&&(this.typename=we.__typename,this.id=we.id,this.entity=we,this.setPopoverInput(we))}setCachedLinkableEntity(we){const[te,ce]=we.split(":");if(this.typename=te,this.id=+ce,!this.typename||!this.id)return void console.error(`entity-tag received an invalid cacheId: ${we}. Cache IDs must be in the format 'TYPENAME:ID'.`);let De;De=this.cvcDisableLink?this.cvcHasTooltip?{id:`${te}:${ce}`,fragment:i.Ps` + fragment Linkable${te}Entity on ${te} { + id + name + tooltip + } + `}:{id:`${te}:${ce}`,fragment:i.Ps` + fragment Linkable${te}Entity on ${te} { + id + name + } + `}:{id:`${te}:${ce}`,fragment:i.Ps` + fragment Linkable${te}Entity on ${te} { + id + name + link + } + `};const Ge=this.apollo.client.readFragment(De);Ve(Ge)?(this.setPopoverInput(Ge),this.entity=Ge):console.error(`entity-tag could not find cached entity ${we}`)}setPopoverInput(we){Ve(we)&&this.hasPopover(we.__typename)&&(this.popoverInput={entityId:we.id,entityType:we.__typename})}ngOnChanges(we){we.cvcMode&&"checkable"===we.cvcMode.currentValue&&(this.cvcDisableLink=!0),we.cvcContext&&"default"!==we.cvcContext.currentValue&&(this.cvcDisableLink=!0)}}return We.\u0275fac=function(we){return new(we||We)(t.Y36(i._M))},We.\u0275cmp=t.Xpm({type:We,selectors:[["cvc-entity-tag"]],hostVars:40,hostBindings:function(we,te){2&we&&t.ekj("full-width",!0===te.cvcFullWidth)("label-max",void 0!==te.cvcTruncateLabel)("label-max-50","50px"===te.cvcTruncateLabel)("label-max-75","75px"===te.cvcTruncateLabel)("label-max-100","100px"===te.cvcTruncateLabel)("label-max-125","125px"===te.cvcTruncateLabel)("label-max-150","150px"===te.cvcTruncateLabel)("label-max-175","175px"===te.cvcTruncateLabel)("label-max-200","200px"===te.cvcTruncateLabel)("label-max-250","250px"===te.cvcTruncateLabel)("label-max-300","300px"===te.cvcTruncateLabel)("label-max-350","350px"===te.cvcTruncateLabel)("label-max-400","400px"===te.cvcTruncateLabel)("label-max-450","450px"===te.cvcTruncateLabel)("label-max-500","500px"===te.cvcTruncateLabel)("rejected","REJECTED"===te.cvcStatus)("accepted","ACCEPTED"===te.cvcStatus)("submitted","SUBMITTED"===te.cvcStatus)("new","NEW"===te.cvcStatus)("superseded","SUPERSEDED"===te.cvcStatus)},inputs:{cvcLinkableEntity:"cvcLinkableEntity",cvcCacheId:"cvcCacheId",cvcStatus:"cvcStatus",cvcContext:"cvcContext",cvcMode:"cvcMode",cvcEmphasize:"cvcEmphasize",cvcDisableLink:"cvcDisableLink",cvcTagChecked:"cvcTagChecked",cvcHasTooltip:"cvcHasTooltip",cvcFullWidth:"cvcFullWidth",cvcShowPopover:"cvcShowPopover",cvcTruncateLabel:"cvcTruncateLabel"},outputs:{cvcTagCheckedChange:"cvcTagCheckedChange",cvcOnClose:"cvcOnClose"},features:[t.TTD],decls:11,vars:3,consts:[["class","default",4,"ngIf"],["class","select-item",4,"ngIf"],["class","multi-select-item",4,"ngIf"],["noTooltip",""],["popoverContent",""],["tagContent",""],[1,"default"],[3,"nzMode","nzChecked","nzCheckedChange","nzOnClose"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverContent"],[3,"ngTemplateOutlet"],[1,"select-item"],[3,"nzMode","nzOnClose"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngIf","ngIfElse"],["nz-tooltip","",3,"nzTooltipTitle"],[1,"multi-select-item"],[3,"entity",4,"ngIf"],[3,"entity"],[4,"ngIf","ngIfElse"],["cacheMiss",""],["noIcon",""],[4,"ngIf"],[3,"routerLink",4,"ngIf"],["tagLabel",""],[3,"routerLink"],["nz-icon","","nzTheme","twotone","class","tag-icon",3,"nzType","nzTwotoneColor",4,"ngIf","ngIfElse"],[1,"tag-label",3,"innerHtml"],["nz-icon","","nzTheme","twotone",1,"tag-icon",3,"nzType","nzTwotoneColor"],["nz-icon","","nzType","question-circle","nzTheme","outline",1,"tag-icon"]],template:function(we,te){1&we&&(t.YNc(0,ae,4,4,"span",0),t.YNc(1,Ft,3,3,"span",1),t.YNc(2,Et,2,2,"span",2),t.YNc(3,tn,2,2,"ng-template",null,3,t.W1O),t.YNc(5,In,1,1,"ng-template",null,4,t.W1O),t.YNc(7,Wt,5,2,"ng-template",null,5,t.W1O),t.YNc(9,$e,1,1,"ng-template",null,4,t.W1O)),2&we&&(t.Q6J("ngIf","default"===te.cvcContext),t.xp6(1),t.Q6J("ngIf","select-item"===te.cvcContext),t.xp6(1),t.Q6J("ngIf","multi-select-item"===te.cvcContext))},dependencies:[v.O5,v.tP,V.rH,O.Ls,A.j,x.SY,pe.lU,N,de.A,W.a,ve.Z],styles:['.label-max-50[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:50px;overflow:hidden;text-overflow:ellipsis}.label-max-75[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:75px;overflow:hidden;text-overflow:ellipsis}.label-max-100[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:100px;overflow:hidden;text-overflow:ellipsis}.label-max-125[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:125px;overflow:hidden;text-overflow:ellipsis}.label-max-150[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:150px;overflow:hidden;text-overflow:ellipsis}.label-max-175[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:175px;overflow:hidden;text-overflow:ellipsis}.label-max-200[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:200px;overflow:hidden;text-overflow:ellipsis}.label-max-250[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:250px;overflow:hidden;text-overflow:ellipsis}.label-max-300[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:300px;overflow:hidden;text-overflow:ellipsis}.label-max-350[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:350px;overflow:hidden;text-overflow:ellipsis}.label-max-400[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:400px;overflow:hidden;text-overflow:ellipsis}.label-max-450[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:450px;overflow:hidden;text-overflow:ellipsis}.label-max-500[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:500px;overflow:hidden;text-overflow:ellipsis}.rejected[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .submitted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .accepted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .deprecated[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-right-width:2px}.rejected[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .deprecated[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-color:#e6e6e6;background-color:#fff;color:#999999d9}.submitted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-color:#ffe58f}.accepted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-color:#b7eb8f}.full-width[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{width:100%}.full-width[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{width:100%}nz-tag[_ngcontent-%COMP%]{margin-right:0;margin-inline-end:4px} -checkable{background-color:transparent;cursor:pointer} -checkable:not( -checkable-checked):hover{color:#1890ff} -checkable:active, -checkable-checked{color:#fff} -checkable-checked{background-color:#1890ff} -checkable:active{background-color:#096dd9}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{margin:0;padding:0 2px 0 0;margin-inline-end:4px;max-width:100%}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]{display:inline-block;padding:3px 2px 3px 4px;margin:-3px 0}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{display:inline-block;font-weight:400;margin:-3px 0 -4px;padding:3px 3px 3px 2px;line-height:1}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] i.ant-tag-close-icon.anticon-close{transition:none;margin-left:3px}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{margin:0;padding:0 2px 0 0;margin-inline-end:4px;max-width:100%}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]{display:inline-block;padding:3px 2px 3px 4px;margin:-3px 0}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{display:inline-block;font-weight:400;margin:-3px 0 -4px;padding:3px 3px 3px 2px;line-height:1}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] i.ant-tag-close-icon.anticon-close{transition:none;margin-left:3px}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{padding-right:0}.multi-select-item[_ngcontent-%COMP%]{display:inline-block;margin-top:-3px;margin-bottom:-3px;margin-left:-4px;padding-left:4px}.multi-select-item[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]:after{content:" "}.typeahead-match[_ngcontent-%COMP%]{font-weight:700}a.disabled[_ngcontent-%COMP%]{pointer-events:none}'],changeDetection:0}),We})()},3328:(xt,Se,a)=>{a.d(Se,{x:()=>ze});var t=a(6814),i=a(551),v=a(5695),d=a(2524),s=a(6109),k=a(4190),G=a(5879);let U=(()=>{class K{}return K.\u0275fac=function(V){return new(V||K)},K.\u0275mod=G.oAB({type:K}),K.\u0275inj=G.cJS({imports:[t.ez]}),K})();var P=a(7417),S=a(5687),w=a(1855),L=a(9021),Y=a(2064),M=a(1332),e=a(6247),F=a(1207),R=a(6446);let ge=(()=>{class K{}return K.\u0275fac=function(V){return new(V||K)},K.\u0275mod=G.oAB({type:K}),K.\u0275inj=G.cJS({imports:[t.ez,Y._,S.t,e.n,F.s,M.I,w.f,L.w,R.k]}),K})(),ze=(()=>{class K{}return K.\u0275fac=function(V){return new(V||K)},K.\u0275mod=G.oAB({type:K}),K.\u0275inj=G.cJS({imports:[t.ez,k.Bz,i.PV,v.X,s.cg,P.$6,U,d.s,ge,U]}),K})()},4634:(xt,Se,a)=>{a.d(Se,{F:()=>R});var P,t=a(655),i=a(1791),v=a(5879),d=a(4190),s=a(6814),k=a(2669),G=a(3903),U=a(8091);function S(ge,ze){if(1&ge&&v._UZ(0,"nz-alert",6),2&ge){v.oxw();const K=v.MAs(3),N=v.oxw();v.MGl("nzMessage","Error Submitting ",N.entityType,""),v.Q6J("nzDescription",K)}}function w(ge,ze){if(1&ge&&(v.TgZ(0,"li"),v._uU(1),v.qZA()),2&ge){const K=ze.$implicit;v.xp6(1),v.hij(" ",K," ")}}function L(ge,ze){if(1&ge&&(v.TgZ(0,"ul"),v.YNc(1,w,2,1,"li",7),v.qZA()),2&ge){const K=v.oxw().ngIf;v.xp6(1),v.Q6J("ngForOf",K)}}function Y(ge,ze){if(1&ge&&(v.ynx(0),v.YNc(1,S,1,2,"nz-alert",4),v.YNc(2,L,2,1,"ng-template",null,5,v.W1O),v.BQk()),2&ge){const K=ze.ngIf;v.xp6(1),v.Q6J("ngIf",K.length>0)}}function M(ge,ze){if(1&ge&&(v.ynx(0),v._UZ(1,"nz-alert",8),v.BQk()),2&ge){const K=v.oxw();v.xp6(1),v.MGl("nzMessage","",K.entityType," Submitted"),v.Q6J("nzDescription",K.successMessage?K.successMessage:null)}}function e(ge,ze){1&ge&&v.Hsn(0)}let R=((P=class{set mutationState(ze){this._mutationState=ze,this.currentTimer&&clearTimeout(this.currentTimer),ze&&ze.submitSuccess$.pipe((0,i.t)(this)).subscribe(K=>{K&&(this.currentTimer=setTimeout(()=>{this.redirectUrl&&this.router.navigateByUrl(this.redirectUrl)},2500))})}get mutationState(){return this._mutationState}constructor(ze){this.router=ze}ngOnInit(){}}).\u0275fac=function(ze){return new(ze||P)(v.Y36(d.F0))},P.\u0275cmp=v.Xpm({type:P,selectors:[["cvc-form-submission-status-display"]],inputs:{mutationState:"mutationState",entityType:"entityType",successMessage:"successMessage",redirectUrl:"redirectUrl"},ngContentSelectors:["*"],decls:8,vars:10,consts:[[3,"nzSpinning"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["form",""],["nzType","error","nzShowIcon","",3,"nzMessage","nzDescription",4,"ngIf"],["errorList",""],["nzType","error","nzShowIcon","",3,"nzMessage","nzDescription"],[4,"ngFor","ngForOf"],["nzType","success","nzShowIcon","",3,"nzMessage","nzDescription"]],template:function(ze,K){if(1&ze&&(v.F$t(),v.TgZ(0,"nz-spin",0),v.ALo(1,"ngrxPush"),v.YNc(2,Y,4,1,"ng-container",1),v.ALo(3,"ngrxPush"),v.YNc(4,M,2,2,"ng-container",2),v.ALo(5,"ngrxPush"),v.YNc(6,e,1,0,"ng-template",null,3,v.W1O),v.qZA()),2&ze){const N=v.MAs(7);v.Q6J("nzSpinning",v.lcZ(1,4,null==K.mutationState?null:K.mutationState.isSubmitting$)),v.xp6(2),v.Q6J("ngIf",v.lcZ(3,6,null==K.mutationState?null:K.mutationState.submitError$)),v.xp6(2),v.Q6J("ngIf",v.lcZ(5,8,null==K.mutationState?null:K.mutationState.submitSuccess$))("ngIfElse",N)}},dependencies:[s.sg,s.O5,k.W,G.r,U.fM],encapsulation:2,changeDetection:0}),P);R=(0,t.gn)([(0,i.c)()],R)},5106:(xt,Se,a)=>{a.d(Se,{g:()=>k});var t=a(6814),i=a(3903),v=a(2574),d=a(2669),s=a(5879);let k=(()=>{class G{}return G.\u0275fac=function(P){return new(P||G)},G.\u0275mod=s.oAB({type:G}),G.\u0275inj=s.cJS({imports:[t.ez,d.j,i.L,v.zf]}),G})()},6683:(xt,Se,a)=>{a.d(Se,{S:()=>N2});var t=a(6223),i=a(4190),v=a(5545),d=a(19),s=a(3599),k=a(279),G=a(6180);const U={paramKey:!0};class P{constructor(y){this.route=y}postPopulate(y){if(y.fieldGroup||y.fieldArray||!1===(y.props||{...U}).paramKey||(this.paramKey=this.getParamKey(y),!this.paramKey))return;const m=this.getRouteSub(this.route,y),j=y.hooks?.onDestroy;m&&j&&(y.hooks={...y.hooks,onDestroy:Be=>{m.unsubscribe(),j(Be)}})}getParamKey(y){const c=y.props;if("string"==typeof c.paramKey)return c.paramKey;if(y.key){if("string"==typeof y.key)return y.key;console.warn(`observe-query-param cannot use field key ${JSON.stringify(y.key)} of type ${typeof y.key} to observe a query param. Use prop.paramKey to specify a query param string, or define a string field.key.`)}}getRouteSub(y,c){const m=y.queryParams.pipe((0,G.g)(this.paramKey)).subscribe(j=>{const Be=c.formControl,Mt=j[this.paramKey];if(!Mt)return void m.unsubscribe();let bn;try{bn=JSON.parse(Mt)}catch(Hn){return console.warn(`observe-query-param failed to parse query param ${this.paramKey} for field ${c.id}: ${Hn}`),console.warn("Note: Query values are parsed as JSON, therefore enum strings must be enclosed in double-quotes, and numeric entity IDs must be bare, unquoted."),void m.unsubscribe()}if(bn){if(Object.keys(bn).length>0&&bn.constructor===Object)return console.warn(`observe-query-param may only set primitive types or arrays of primitive types, param ${this.paramKey} is an object: ${JSON.stringify(bn)}`),void m.unsubscribe();Be.setValue(bn)}});return m}}function S(u){return{extensions:[{name:"observeQueryParam",extension:new P(u)}]}}const Y={extras:{immutable:!1,lazyRender:!0},validationMessages:[{name:"required",message:"This field is required."},{name:"minLength",message:(u,y)=>`This field has a minimum length of ${y.templateOptions?.minLength}.`},{name:"maxLength",message:(u,y)=>`This field has a maximum length of ${y.templateOptions?.maxLength}.`},{name:"min",message:(u,y)=>`This field has a minimum value of ${y.templateOptions?.min}.`},{name:"max",message:(u,y)=>`This field has a maximum value of ${y.templateOptions?.max}.`},{name:"pattern",message:(u,y)=>`This field's value must fit the pattern ${y.templateOptions?.pattern}.`},{name:"integer",message:(u,y)=>"Value must be an integer."},{name:"nucleotide",message:(u,y)=>"Value must only contain A, C, T, G, and/or /."},{name:"clinvar",message:(u,y)=>"Value must be an integer."}],validators:[{name:"integer",validation:(u,y)=>""===u.value||null==u.value||/^\d+$/.test(u.value)?null:{integer:!0}},{name:"nucleotide",validation:(u,y)=>""===u.value||null==u.value||/^[ACTG\/]+$/.test(u.value)?null:{nucleotide:!0}},{name:"clinvar",validation:(u,y)=>{for(var c of u.value)if(""!==c&&null!=c&&!/^\d+$/.test(c))return{clinvar:!0};return null}}]};var M=a(6814),e=a(5879),F=a(8091),R=a(95),ge=a(2392);function ze(u,y){if(1&u&&(e.TgZ(0,"div",9),e.GkF(1,10),e.qZA()),2&u){e.oxw();const c=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function K(u,y){if(1&u&&(e.TgZ(0,"div",11),e.GkF(1,10),e.qZA()),2&u){e.oxw();const c=e.MAs(9);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function N(u,y){if(1&u&&(e.TgZ(0,"div",12),e.GkF(1,10),e.qZA()),2&u){e.oxw();const c=e.MAs(7);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function V(u,y){if(1&u&&(e.TgZ(0,"nz-form-label",17),e._UZ(1,"span",18),e.qZA()),2&u){const c=y.ngrxLet,m=e.oxw(3);e.Q6J("nzRequired",m.props.required)("nzFor",m.id)("nzNoColon",!0)("nzTooltipTitle",m.props.tooltip)("nzSpan",c.span?c.span:null),e.xp6(1),e.Q6J("nzContent",m.props.label)}}function O(u,y){if(1&u&&(e.ynx(0),e.YNc(1,V,2,6,"nz-form-label",16),e.BQk()),2&u){const c=e.oxw(2);e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.label)}}function A(u,y){if(1&u&&(e.TgZ(0,"nz-form-control",19),e.GkF(1,null,20),e.qZA()),2&u){const c=y.ngrxLet,m=e.oxw(2),j=e.MAs(11),Be=e.MAs(13);e.Q6J("nzExtra",m.wrapper.showExtra&&!m.showError?j:void 0)("nzValidateStatus",m.errorState)("nzErrorTip",Be)("nzSpan",m.props.hideLabel?24:c.span?c.span:null)}}const x=function(u,y,c,m){return{disabled:u,error:y,required:c,valid:m}};function pe(u,y){if(1&u&&(e.TgZ(0,"nz-form-item",13),e.YNc(1,O,2,1,"ng-container",14),e.YNc(2,A,3,4,"nz-form-control",15),e.qZA()),2&u){const c=e.oxw();e.Q6J("nzGutter",c.wrapper.layout.item.gutter)("ngClass",e.l5B(4,x,c.props.disabled,c.showError,c.props.required,"VALID"===c.field.formControl.status)),e.xp6(1),e.Q6J("ngIf",c.props.label&&!0!==c.props.hideLabel),e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.control)}}const de=function(u,y){return{disabled:u,error:y}};function W(u,y){if(1&u&&(e.TgZ(0,"nz-form-label",24),e._UZ(1,"span",25),e.qZA()),2&u){const c=e.oxw(3);e.Q6J("ngClass",e.WLB(6,de,c.props.disabled,c.showError))("nzRequired",c.props.required)("nzFor",c.id)("nzTooltipTitle",c.props.tooltip)("nzNoColon",!0),e.xp6(1),e.Q6J("nzContent",c.props.label)}}function ve(u,y){if(1&u&&(e.ynx(0),e.YNc(1,W,2,9,"nz-form-label",23),e.BQk()),2&u){const c=e.oxw(2);e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.label)}}function Q(u,y){if(1&u&&(e.TgZ(0,"nz-form-control",26),e.GkF(1,null,20),e.qZA()),2&u){const c=e.oxw(2),m=e.MAs(11),j=e.MAs(13);e.Q6J("nzExtra",c.wrapper.showExtra&&!c.showError?m:void 0)("nzValidateStatus",c.errorState)("nzErrorTip",j)}}function ae(u,y){if(1&u&&(e.TgZ(0,"nz-form-item",21),e.YNc(1,ve,2,1,"ng-container",14),e.YNc(2,Q,3,3,"nz-form-control",22),e.qZA()),2&u){const c=e.oxw();e.Q6J("ngClass",e.l5B(3,x,c.props.disabled,c.showError,c.props.required,"VALID"===c.field.formControl.status)),e.xp6(1),e.Q6J("ngIf",c.props.label&&!0!==c.props.hideLabel),e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.control)}}function fe(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"nz-form-label",28),e._UZ(2,"span",25),e.qZA(),e.BQk()),2&u){const c=e.oxw(2);e.xp6(1),e.Q6J("nzRequired",c.props.required)("nzTooltipTitle",c.props.tooltip)("nzFor",c.id)("nzNoColon",!0),e.xp6(1),e.Q6J("nzContent",c.props.label)}}function be(u,y){if(1&u&&e._UZ(0,"formly-validation-message",29),2&u){const c=e.oxw(3);e.Q6J("field",c.field)}}function Ft(u,y){if(1&u&&(e.TgZ(0,"nz-form-control",26),e.GkF(1,null,20),e.YNc(3,be,1,1,"ng-template",null,8,e.W1O),e.qZA()),2&u){const c=e.MAs(4),m=e.oxw(2),j=e.MAs(11);e.Q6J("nzExtra",m.wrapper.showExtra&&!m.showError?j:void 0)("nzValidateStatus",m.errorState)("nzErrorTip",c)}}function Dt(u,y){if(1&u&&(e.TgZ(0,"nz-form-item",27),e.YNc(1,fe,3,5,"ng-container",14),e.YNc(2,Ft,5,3,"nz-form-control",22),e.qZA()),2&u){const c=e.oxw();e.Q6J("ngClass",e.l5B(3,x,c.props.disabled,c.showError,c.props.required,"VALID"===c.field.formControl.status)),e.xp6(1),e.Q6J("ngIf",c.props.label&&!0!==c.props.hideLabel),e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.control)}}function nn(u,y){if(1&u&&e._UZ(0,"span",34),2&u){const c=e.oxw(2);e.Q6J("innerHTML",c.props.description,e.oJD)}}function Et(u,y){if(1&u&&e._UZ(0,"span",35),2&u){const c=e.oxw(2);e.Q6J("innerHTML",c.props.description,e.oJD)}}function Ht(u,y){if(1&u&&e._UZ(0,"span",36),2&u){const c=e.oxw(2);e.Q6J("innerHTML",c.props.description,e.oJD)}}function tn(u,y){if(1&u&&(e.TgZ(0,"div",30),e.ynx(1,0),e.YNc(2,nn,1,1,"span",31),e.YNc(3,Et,1,1,"span",32),e.YNc(4,Ht,1,1,"span",33),e.BQk(),e.qZA()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngSwitch",c.props.extraType),e.xp6(1),e.Q6J("ngSwitchCase","prompt"),e.xp6(1),e.Q6J("ngSwitchCase","description")}}function un(u,y){if(1&u&&(e.TgZ(0,"div",37),e._UZ(1,"formly-validation-message",29),e.qZA()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("field",c.field)}}let In=(()=>{class u extends v.n2{get errorState(){return this.showError?"error":""}constructor(){super(),this.formLayout="vertical"}ngOnInit(){try{this.wrapper={layout:{item:{gutter:[6,12],...this.props.layout?.item?this.props.layout.item:void 0},label:{span:4,...this.props.layout?.label?this.props.layout.label:void 0},control:{span:20,...this.props.layout?.control?this.props.layout?.control:void 0}},showExtra:void 0===this.props.layout?.showExtra||this.props.layout.showExtra}}catch(c){console.error(c)}this.options.formState.formLayout&&(this.formLayout=this.options.formState.formLayout)}ngAfterViewInit(){this.options.formState.formLayout&&(this.formLayout=this.options.formState.formLayout)}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-form-field-wrapper"]],features:[e.qOj],decls:14,vars:4,consts:[[3,"ngSwitch"],["class","layout-horizontal",4,"ngSwitchCase"],["class","layout-inline",4,"ngSwitchCase"],["class","layout-vertical",4,"ngSwitchCase"],["horizontalFieldWrapper",""],["verticalFieldWrapper",""],["inlineFieldWrapper",""],["descriptionTpl",""],["errorTpl",""],[1,"layout-horizontal"],[3,"ngTemplateOutlet"],[1,"layout-inline"],[1,"layout-vertical"],[1,"layout-horizontal",3,"nzGutter","ngClass"],[4,"ngIf"],[3,"nzExtra","nzValidateStatus","nzErrorTip","nzSpan",4,"ngrxLet"],[3,"nzRequired","nzFor","nzNoColon","nzTooltipTitle","nzSpan",4,"ngrxLet"],[3,"nzRequired","nzFor","nzNoColon","nzTooltipTitle","nzSpan"],["nz-typography","","nzEllipsis","",3,"nzContent"],[3,"nzExtra","nzValidateStatus","nzErrorTip","nzSpan"],["fieldComponent",""],[1,"layout-vertical",3,"ngClass"],[3,"nzExtra","nzValidateStatus","nzErrorTip",4,"ngrxLet"],[3,"ngClass","nzRequired","nzFor","nzTooltipTitle","nzNoColon",4,"ngrxLet"],[3,"ngClass","nzRequired","nzFor","nzTooltipTitle","nzNoColon"],["nz-typography","","nzEllipsis","",1,"label",3,"nzContent"],[3,"nzExtra","nzValidateStatus","nzErrorTip"],[1,"layout-inline",3,"ngClass"],[3,"nzRequired","nzTooltipTitle","nzFor","nzNoColon"],[3,"field"],[1,"form-field-description"],["class","extra-prompt",3,"innerHTML",4,"ngSwitchCase"],["class","extra-description",3,"innerHTML",4,"ngSwitchCase"],[3,"innerHTML",4,"ngSwitchDefault"],[1,"extra-prompt",3,"innerHTML"],[1,"extra-description",3,"innerHTML"],[3,"innerHTML"],[1,"cvc-form-field-validation"]],template:function(c,m){1&c&&(e.ynx(0,0),e.YNc(1,ze,2,1,"div",1),e.YNc(2,K,2,1,"div",2),e.YNc(3,N,2,1,"div",3),e.BQk(),e.YNc(4,pe,3,9,"ng-template",null,4,e.W1O),e.YNc(6,ae,3,8,"ng-template",null,5,e.W1O),e.YNc(8,Dt,3,8,"ng-template",null,6,e.W1O),e.YNc(10,tn,5,3,"ng-template",null,7,e.W1O),e.YNc(12,un,2,1,"ng-template",null,8,e.W1O)),2&c&&(e.Q6J("ngSwitch",m.formLayout),e.xp6(1),e.Q6J("ngSwitchCase","horizontal"),e.xp6(1),e.Q6J("ngSwitchCase","inline"),e.xp6(1),e.Q6J("ngSwitchCase","vertical"))},dependencies:[M.mk,M.O5,M.tP,M.RF,M.n9,M.ED,F.eJ,R.t3,R.SK,s.Nx,s.iK,s.Fd,ge.ZU,v.M2],styles:['.typeahead-match[_ngcontent-%COMP%]{font-weight:700}.layout-vertical[_ngcontent-%COMP%] nz-form-item:first-of-type{flex-wrap:nowrap;flex-direction:column}.layout-horizontal[_ngcontent-%COMP%] nz-form-item:first-of-type{flex-direction:inherit}.layout-horizontal[_ngcontent-%COMP%] nz-form-item:first-of-type nz-form-label{text-align:right;line-height:28px;white-space:inherit;padding:inherit}.layout-inline[_ngcontent-%COMP%] nz-form-item:first-of-type{flex-direction:inherit}.layout-inline[_ngcontent-%COMP%] nz-form-item:first-of-type nz-form-label{height:28px;line-height:28px;white-space:inherit;padding:inherit}.cvc-form-field-validation[_ngcontent-%COMP%], .form-field-description[_ngcontent-%COMP%]{min-height:16px;line-height:1.2;margin-top:4px}.cvc-form-field-validation[_ngcontent-%COMP%] .extra-prompt[_ngcontent-%COMP%], .form-field-description[_ngcontent-%COMP%] .extra-prompt[_ngcontent-%COMP%]{font-weight:400}.cvc-form-field-validation[_ngcontent-%COMP%] .extra-description[_ngcontent-%COMP%], .form-field-description[_ngcontent-%COMP%] .extra-description[_ngcontent-%COMP%]{font-style:oblique}.cvc-form-field-validation[_ngcontent-%COMP%]{font-weight:600}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required{font-weight:500}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required:before{border:1px solid #ff4d4f;height:1em;content:""}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type span.label{padding-right:4px}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type.disabled label span.label{color:#00000073}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type.error label span.label{color:#ff4d4f}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type.valid label span.label{color:#ff4d4f}nz-form-item.layout-vertical[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d9d9d9;padding:4px 8px;border-radius:6px;margin-bottom:16px}nz-form-item.layout-vertical.disabled[_ngcontent-%COMP%]{border:1px solid #f5f5f5;background-color:#f5f5f5}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required{font-weight:500}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required:before{border:1px solid #ff4d4f;height:1em;content:""}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type span.label{padding-right:4px}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type.disabled label span.label{color:#00000073}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type.error label span.label{color:#ff4d4f}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type.valid label span.label{color:#ff4d4f}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type{text-align:right;margin-right:6px}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required{font-weight:500}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required:before{border:1px solid #ff4d4f;height:1em;content:""}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type span.label{padding-right:4px}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type.disabled label span.label{color:#00000073}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type.error label span.label{color:#ff4d4f}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type.valid label span.label{color:#ff4d4f}'],changeDetection:0}),u})();var Xe=a(6109),Re=a(551);const Ct={wrappers:[{name:"form-field",component:In}]};let je=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,s.U5,R.Jb,Re.PV,Xe.cg,ge.ZJ,v.X0.forChild(Ct)]}),u})();var Yt=a(2612);const vn={types:[{name:"checkbox",wrappers:["form-field"],component:(()=>{class u extends v.fS{constructor(){super(...arguments),this.defaultOptions={props:{indeterminate:!0,hideLabel:!0}}}ngAfterViewInit(){console.log(this.props)}}return u.\u0275fac=function(){let y;return function(m){return(y||(y=e.n5z(u)))(m||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-checkbox"]],features:[e.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(c,m){1&c&&(e.TgZ(0,"label",0),e.NdJ("ngModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e._uU(1),e.qZA()),2&c&&(e.Q6J("nzIndeterminate",m.props.indeterminate&&null==m.formControl.value)("formControl",m.formControl)("formlyAttributes",m.field),e.xp6(1),e.hij(" ",m.props.label,"\n"))},dependencies:[t.JJ,t.oH,Yt.Ie,v.JD],changeDetection:0}),u})()}]};let Dn=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,Yt.Wr,v.X0.forChild(vn),je]}),u})();var Wt=a(5695),It=a(2524);let $e=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Wt.X,Re.PV,Xe.cg,It.s]}),u})();var Ve=a(7248),Pe=a(824),We=a(9691);let He=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(),Ve.F,Re.PV,s.U5,We.LV,Pe.o7,It.s]}),u})();var we=a(2),te=a(655),ce=a(1791),De=a(2181),Ge=a(5619),vt=a(7398),rn=a(4223);function _n(){var u;let y=((u=class extends v.fS{configureBaseField(){this.field?.options?.fieldChanges?(this.onModelChange$=this.field.options.fieldChanges.pipe((0,De.h)(m=>m.field.id===this.field.id),(0,rn.j)("value")),this.onValueChange$=new Ge.X(this.formControl.value?this.formControl.value:void 0),this.onModelChange$.pipe((0,ce.t)(this)).subscribe(m=>{this.onValueChange$.next(m)}),this.field.options?.formState&&this.field.options.formState.fields&&(this.state=this.field.options.formState,this.autoConfigureStateValueChanges())):console.error(`${this.field.id} could not find its fieldChanges Observable, ensure configureBaseField() is called in this field's AfterViewInit hook.`)}autoConfigureStateValueChanges(){!this.field.key&&"string"==typeof this.field.key&&console.warn(`${this.field.id} cannot auto-configure state value changes, as its field key is not a string. field.key: `,this.field.key);const m=`${this.field.key}$`;this.state&&this.state.fields[m]?(this.stateValueChange$=this.state.fields[m],this.onValueChange$.pipe((0,vt.U)(j=>null===j?void 0:j),(0,ce.t)(this)).subscribe(j=>{this.stateValueChange$&&this.stateValueChange$.next(j)})):console.warn(`${this.field.id} could not find state field ${m} on form state. State: `,this.state)}}).\u0275fac=function(){let c;return function(j){return(c||(c=e.n5z(u)))(j||u)}}(),u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u);return y=(0,te.gn)([(0,ce.c)()],y),y}var st=a(8645),it=a(2460);function lt(){return function(y){return(()=>{class m extends y{configureEnumSelectField(Be){this.selectOption$=new Ge.X([]),this.onTagClose$=new st.x,this.optionEnum$=Be.optionEnum$,this.changeDetectorRef=Be.changeDetectorRef,this.optionTemplate$=Be.optionTemplate$?Be.optionTemplate$:new Ge.X([]),this.optionTemplate$.pipe((0,it.M)(this.optionEnum$),(0,ce.t)(this)).subscribe(Mt=>{this.emitSelectOptions(Mt)}),this.onTagClose$.pipe((0,ce.t)(this)).subscribe(Mt=>{this.resetField()})}emitSelectOptions([Be,Mt]){this.selectOption$.next(Mt.map((bn,Hn)=>({label:Be[Hn]||bn,value:bn}))),this.changeDetectorRef?this.changeDetectorRef.detectChanges():console.error(`${this.field.id}'s configureEnumTagField() requires valid ChangeDetectorRef option, none detected.`)}resetField(){this.formControl.setValue(this.props.isMultiSelect?[]:void 0)}}return m.\u0275fac=function(){let j;return function(Mt){return(j||(j=e.n5z(m)))(Mt||m)}}(),m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac}),m})()}}var wt=a(836);const Lt=function Ot(u){for(var y=arguments.length,c=new Array(y>1?y-1:0),m=1;m{class u{constructor(){this.cvcSelectMode="default",this.cvcPlaceholder="Select an option",this.cvcOptions=[],this.cvcShowError=!1,this.cvcDisabled=!1,this.cvcAllowClear=!0,this.cvcCustomTemplate=null,this.cvcOnFocus=new e.vpe}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-enum-select"]],inputs:{cvcFormControl:"cvcFormControl",cvcFormlyAttributes:"cvcFormlyAttributes",cvcSelectMode:"cvcSelectMode",cvcPlaceholder:"cvcPlaceholder",cvcOptions:"cvcOptions",cvcShowError:"cvcShowError",cvcDisabled:"cvcDisabled",cvcAllowClear:"cvcAllowClear",cvcModelChange:"cvcModelChange",cvcCustomTemplate:"cvcCustomTemplate"},outputs:{cvcOnFocus:"cvcOnFocus"},decls:1,vars:12,consts:[[3,"formControl","formlyAttributes","nzMode","nzPlaceHolder","nzOptions","nzCustomTemplate","nzOptionHeightPx","nzDisabled","nzAllowClear","nzFocus","ngModelChange"]],template:function(c,m){1&c&&(e.TgZ(0,"nz-select",0),e.NdJ("nzFocus",function(){return m.cvcOnFocus.next()})("ngModelChange",function(Be){return m.cvcModelChange&&m.cvcModelChange(m.cvcFormlyAttributes,Be)}),e.qZA()),2&c&&(e.ekj("ng-dirty",m.cvcShowError),e.Q6J("formControl",m.cvcFormControl)("formlyAttributes",m.cvcFormlyAttributes)("nzMode",m.cvcSelectMode)("nzPlaceHolder",m.cvcPlaceholder?m.cvcPlaceholder:"Select Value")("nzOptions",m.cvcOptions?m.cvcOptions:e.DdM(11,Gt))("nzCustomTemplate",m.cvcCustomTemplate?m.cvcCustomTemplate:null)("nzOptionHeightPx",30)("nzDisabled",m.cvcDisabled)("nzAllowClear",m.cvcAllowClear))},dependencies:[t.JJ,t.oH,v.JD,We.Vq],changeDetection:0}),u})();var J=a(6967),I=a(7334);function q(u,y){}function Me(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",5)(1,"nz-tag",6),e.NdJ("nzOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcOnClose.next(j))}),e.YNc(2,q,0,0,"ng-template",7),e.qZA()()}if(2&u){const c=e.oxw(),m=e.MAs(5);e.xp6(1),e.Q6J("nzMode",c.cvcMode)("nzTooltipTitle",c.cvcTooltip)("nzChecked",c.cvcChecked),e.xp6(1),e.Q6J("ngTemplateOutlet",m)}}function _t(u,y){}function tt(u,y){if(1&u&&(e.TgZ(0,"span",8)(1,"nz-tag",9),e.YNc(2,_t,0,0,"ng-template",7),e.qZA()()),2&u){const c=e.oxw(),m=e.MAs(5);e.xp6(1),e.Q6J("nzMode","checkable")("nzChecked",c.cvcChecked),e.xp6(1),e.Q6J("ngTemplateOutlet",m)}}function Je(u,y){}function rt(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",10)(1,"nz-tag",11),e.NdJ("nzOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcOnClose.next(j))}),e.YNc(2,Je,0,0,"ng-template",7),e.qZA()()}if(2&u){e.oxw();const c=e.MAs(5);e.xp6(1),e.Q6J("nzMode","closeable"),e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function Nt(u,y){}function Tt(u,y){if(1&u&&(e.TgZ(0,"span",12)(1,"nz-tag",13),e.YNc(2,Nt,0,0,"ng-template",7),e.qZA()()),2&u){const c=e.oxw(),m=e.MAs(5);e.xp6(1),e.Q6J("nzMode","default")("nzTooltipTitle",c.cvcTooltip),e.xp6(1),e.Q6J("ngTemplateOutlet",m)}}const mn=function(u){return{"tag-icon-large":u}};function Ze(u,y){if(1&u&&(e._UZ(0,"i",16),e.ALo(1,"evidenceEnumDisplay")),2&u){const c=e.oxw(2);e.Q6J("nzType",!0===c.cvcShowIcon?e.xi3(1,5,c.cvcAttrValue,"icon-name"):c.cvcShowIcon)("nzTwotoneColor",c.cvcIconColor)("nzTheme",c.cvcIconTheme)("ngClass",e.VKq(8,mn,!0===c.cvcZoomIcon)),e.uIk("style","color: "+c.cvcIconColor,e.Ckj)}}function ut(u,y){if(1&u&&(e._UZ(0,"span",17),e.ALo(1,"highlightTypeahead"),e.ALo(2,"evidenceEnumDisplay")),2&u){const c=e.oxw(2);e.Q6J("innerHtml",e.xi3(1,1,e.xi3(2,4,c.cvcAttrValue,"display-string"===c.cvcShowLabel?c.cvcShowLabel:"short-string"),c.cvcEmphasize),e.oJD)}}function le(u,y){if(1&u&&(e.YNc(0,Ze,2,10,"i",14),e.YNc(1,ut,3,7,"span",15)),2&u){const c=e.oxw();e.Q6J("ngIf",c.cvcAttrValue&&c.cvcShowIcon),e.xp6(1),e.Q6J("ngIf",c.cvcShowLabel)}}let ye=(()=>{class u{constructor(){this.cvcShowLabel="display-string",this.cvcShowIcon=!0,this.cvcZoomIcon=!1,this.cvcContext="default",this.cvcMode="default",this.cvcChecked=!1,this.cvcIconColor="#797979",this.cvcLabelColor="#434343",this.cvcIconTheme="outline",this.cvcFullWidth=!1,this.cvcOnClose=new e.vpe}ngOnChanges(c){c.cvcContext&&"compact"===c.cvcContext.currentValue&&(this.cvcShowIcon=!0,this.cvcShowLabel=!1,this.cvcZoomIcon=!0)}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-attribute-tag"]],hostVars:2,hostBindings:function(c,m){2&c&&e.ekj("full-width",!0===m.cvcFullWidth)},inputs:{cvcAttrValue:"cvcAttrValue",cvcShowLabel:"cvcShowLabel",cvcShowIcon:"cvcShowIcon",cvcZoomIcon:"cvcZoomIcon",cvcTooltip:"cvcTooltip",cvcContext:"cvcContext",cvcMode:"cvcMode",cvcChecked:"cvcChecked",cvcEmphasize:"cvcEmphasize",cvcIconColor:"cvcIconColor",cvcLabelColor:"cvcLabelColor",cvcIconTheme:"cvcIconTheme",cvcFullWidth:"cvcFullWidth"},outputs:{cvcOnClose:"cvcOnClose"},features:[e.TTD],decls:6,vars:4,consts:[["class","default",4,"ngIf"],["class","menu-item",4,"ngIf"],["class","select-item",4,"ngIf"],["class","compact",4,"ngIf"],["tagContent",""],[1,"default"],["nz-tooltip","",3,"nzMode","nzTooltipTitle","nzChecked","nzOnClose"],[3,"ngTemplateOutlet"],[1,"menu-item"],[3,"nzMode","nzChecked"],[1,"select-item"],[3,"nzMode","nzOnClose"],[1,"compact"],["nz-tooltip","",3,"nzMode","nzTooltipTitle"],["nz-icon","","class","tag-icon",3,"nzType","nzTwotoneColor","nzTheme","ngClass",4,"ngIf"],["class","tag-label",3,"innerHtml",4,"ngIf"],["nz-icon","",1,"tag-icon",3,"nzType","nzTwotoneColor","nzTheme","ngClass"],[1,"tag-label",3,"innerHtml"]],template:function(c,m){1&c&&(e.YNc(0,Me,3,4,"span",0),e.YNc(1,tt,3,3,"span",1),e.YNc(2,rt,3,2,"span",2),e.YNc(3,Tt,3,3,"span",3),e.YNc(4,le,2,2,"ng-template",null,4,e.W1O)),2&c&&(e.Q6J("ngIf","default"===m.cvcContext),e.xp6(1),e.Q6J("ngIf","menu-item"===m.cvcContext),e.xp6(1),e.Q6J("ngIf","select-item"===m.cvcContext),e.xp6(1),e.Q6J("ngIf","compact"===m.cvcContext))},dependencies:[M.mk,M.O5,M.tP,Wt.j,Re.Ls,Xe.SY,J.Do,I.A],styles:['.full-width[_nghost-%COMP%]{width:100%}.full-width[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{margin-right:0;margin-inline-end:4px}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{margin:0;padding:0 2px 0 0;margin-inline-end:4px;max-width:100%}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%], .default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%]{display:inline-block}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]{padding:3px 2px 3px 4px;margin:-3px 0}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%]{padding:3px 2px 3px 4px;margin:-3px 0}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%] svg{transform:scale(1.25)}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{display:inline-block;margin:-3px 0 -4px;padding:3px 3px 3px 2px;line-height:1}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] i.ant-tag-close-icon.anticon-close{transition:none;margin-left:3px}.compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{margin:0;padding:0 2px 0 0;margin-inline-end:4px;max-width:100%}.compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%], .compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%]{display:inline-block}.compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]{padding:3px 2px 3px 4px;margin:-3px 0}.compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%]{padding:3px 2px 3px 4px;margin:-3px 0}.compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%] svg{transform:scale(1.25)}.compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{display:inline-block;margin:-3px 0 -4px;padding:3px 3px 3px 2px;line-height:1}.compact[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] i.ant-tag-close-icon.anticon-close{transition:none;margin-left:3px}.menu-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{background-color:#fff}.menu-item[_ngcontent-%COMP%] nz-tag.ant-tag-checkable[_ngcontent-%COMP%]{border:1px solid #d9d9d9}.menu-item[_ngcontent-%COMP%] nz-tag.ant-tag-checkable[_ngcontent-%COMP%]:active{background-color:#e6f7ff}.menu-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]:not(.menu-item nz-tag.ant-tag-checkable-checked)[_ngcontent-%COMP%]:hover{color:#000000d9;border-color:#1890ff}.menu-item[_ngcontent-%COMP%] nz-tag.ant-tag-checkable-checked[_ngcontent-%COMP%]{border:transparent;background-color:#fff;color:#000000d9}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{margin:0;padding:0 2px 0 0;margin-inline-end:4px;max-width:100%}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%], .select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%]{display:inline-block}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]{padding:3px 2px 3px 4px;margin:-3px 0}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%]{padding:3px 2px 3px 4px;margin:-3px 0}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon-large[_ngcontent-%COMP%] svg{transform:scale(1.25)}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{display:inline-block;margin:-3px 0 -4px;padding:3px 3px 3px 2px;line-height:1}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] i.ant-tag-close-icon.anticon-close{transition:none;margin-left:3px}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{background:#f5f5f5;border:1px solid #f0f0f0}.multi-select-item[_ngcontent-%COMP%]{display:inline-block;margin-top:-3px;margin-bottom:-3px;margin-left:-4px;padding-left:4px}.multi-select-item[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]:after{content:" "}.typeahead-match[_ngcontent-%COMP%]{font-weight:700}'],changeDetection:0}),u})();const mt=["optionTemplates"];function Ae(u,y){if(1&u&&e._UZ(0,"cvc-attribute-tag",4),2&u){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function at(u,y){1&u&&(e.ynx(0),e.YNc(1,Ae,1,1,"ng-template",null,3,e.W1O),e.BQk())}function Bt(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onTagClose$.next(j))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const ln={Evidence:{PREDICTIVE:{SUPPORTS:"Experiment or study supports the variant's response to a drug",DOES_NOT_SUPPORT:"Experiment or study does not support, or was inconclusive of an interaction between the variant and a drug"},DIAGNOSTIC:{SUPPORTS:"Experiment or study supports the variant's impact on the diagnosis of disease or subtype",DOES_NOT_SUPPORT:"Experiment or study does not support the variant's impact on diagnosis of disease or subtype"},PROGNOSTIC:{SUPPORTS:"Experiment or study supports the variant's impact on prognostic outcome",DOES_NOT_SUPPORT:"Experiment or study does not support a prognostic association between variant and outcome"},PREDISPOSING:{SUPPORTS:"Suggests a pathogenic or a protective role for a germline variant in cancer",DOES_NOT_SUPPORT:"Supports a benign (for Predisposition) or lack of protective (for Protectiveness) role for a germline variant in cancer."},FUNCTIONAL:{SUPPORTS:"Experiment or study supports the variant causing alteration or non-alteration of the gene product function",DOES_NOT_SUPPORT:"Experiment or study does not support the variant causing alteration or non-alteration of the gene product function"},ONCOGENIC:{NA:"Not Applicable for Oncogenic Evidence Type.",SUPPORTS:"Supports an oncogenic or protective role for a somatic variant.",DOES_NOT_SUPPORT:"Supports a benign (for Oncogenicity) or lack of protective (for Protectiveness) role for a somatic variant in cancer."}},Assertion:{PREDICTIVE:{SUPPORTS:"Support the variant's response to a drug",DOES_NOT_SUPPORT:"Does not support, or was inconclusive of an interaction between the variant and a drug"},DIAGNOSTIC:{SUPPORTS:"Supports the variant's impact on the diagnosis of disease or subtype",DOES_NOT_SUPPORT:"Does not support the variant's impact on diagnosis of disease or subtype"},PROGNOSTIC:{SUPPORTS:"Supports the variant's impact on prognostic outcome",DOES_NOT_SUPPORT:"Does not support a prognostic association between variant and outcome"},PREDISPOSING:{SUPPORTS:"Suggests a pathogenic or a protective role for a germline variant in cancer",DOES_NOT_SUPPORT:"Does not support an association between the variant and disease causation"},FUNCTIONAL:{SUPPORTS:"Supports the variant causing alteration or non-alteration of the gene product function",DOES_NOT_SUPPORT:"Does not support the variant causing alteration or non-alteration of the gene product function"},ONCOGENIC:{SUPPORTS:"Supports an oncogenic or protective role for a somatic variant",DOES_NOT_SUPPORT:"Does not support an association between the variant and disease causation"}}},At=Lt(_n(),lt()),ft={types:[{name:"direction-select",wrappers:["form-field"],component:(()=>{class u extends At{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"Direction",labelFn:m=>`${m} Direction`,required:!0,isMultiSelect:!1,placeholder:"Select Entity Direction",placeholderFn:(m,j)=>`Select ${j?j+" ":""}${m} Direction`,requireTypePromptFn:m=>`Select ${m} Type to select its Direction`,formMode:"add"}},this.directionEnum$=new Ge.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.directionEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){if(!this.state)return console.error(`${this.field.id} requires a form state to populate its options, none was found.`),void(this.placeholder$=new Ge.X("ERROR: Form state not found"));if(this.props.label=this.props.labelFn(this.state.entityName),this.props.tooltip=`An indicator of whether the ${this.state.entityName} statement supports or refutes the clinical significance of an event.`,this.placeholder$=new Ge.X(this.props.placeholderFn(this.state.entityName)),!this.state.enums.direction$)return void console.error(`${this.field.id} could not find form state's direction$ to populate select.`);this.state.enums.direction$.pipe((0,ce.t)(this)).subscribe(m=>{this.directionEnum$.next(m)}),this.optionTemplates||console.info(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(m=>m.map(j=>j)));const c=`${this.state.entityName.toLowerCase()}Type$`;this.state.fields[c]?(this.onEntityType$=this.state.fields[c],this.onEntityType$.pipe((0,wt.T)("add"===this.props.formMode?0:1),(0,ce.t)(this)).subscribe(m=>{m?(this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0,this.placeholder$.next(this.props.placeholderFn(this.state.entityName,(0,we.E)(m)))):(this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName),this.props.extraType="prompt"),this.formControl.value&&this.formControl.setValue(void 0)}),this.onValueChange$.pipe((0,it.M)(this.onEntityType$),(0,ce.t)(this)).subscribe(([m,j])=>{!j||!m||!this.state||(this.props.extraType="description",this.props.description=ln[this.state.entityName][j][m])})):console.error(`${this.field.id} could not find form state's ${c} to populate Direction options.`)}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-direction-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(mt,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,at,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,Bt,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(6);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,m.placeholder$))("cvcCustomTemplate",j)("cvcOptions",e.lcZ(2,11,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,m.directionEnum$))}},dependencies:[M.sg,Ke,ye,F.fM],changeDetection:0}),u})()}]};let ne=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(ft),je,He,$e]}),u})();var B=a(5717),Te=a(3328),Ye=a(2574),yt=a(3903);let Kt=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(),yt.L,Re.PV,We.LV,Pe.o7,s.U5,ge.ZJ,B.ic,Ye.zf,Te.x,It.s]}),u})();var Zt=a(5106),On=a(2840),zn=a(67),Wn=a(7417),bo=a(7328),To=a(5592),$o=a(2096),Ko=a(4664),Ro=a(3997),Eo=a(9666),Xn=a(2428),Jo=a(4911),ko=a(9397),Mo=a(5676),vo=a(2572);function ui(...u){let y=u[0],c=u[1];if(0===y.length)return(0,$o.of)(c?c([]):[]);const m=y.slice();return c&&m.push((...j)=>c(j)),vo.a.apply(null,m)}function oi(){return function(y){return(()=>{class m extends y{configureEntitySelectField(Be){if(this.typeaheadQuery=Be.typeaheadQuery,this.tagQuery=Be.tagQuery,this.getTypeaheadVars=Be.getTypeaheadVarsFn,this.getTypeahedResults=Be.getTypeaheadResultsFn,this.getTagQueryVars=Be.getTagQueryVarsFn,this.getTagQueryResults=Be.getTagQueryResultsFn,this.getSelectedItemOption=Be.getSelectedItemOptionFn,this.getSelectOptions=Be.getSelectOptionsFn,this.typeaheadParam$=Be.typeaheadParam$,this.typeaheadParamName$=Be.typeaheadParamName$,this.selectOpen$=Be.selectOpen$||new bo.t,this.selectComponent=Be.selectComponent,this.minSearchStrLength=Be.minSearchStrLength||0,this.cdr=Be.changeDetectorRef,this.onSearch$=new Ge.X(void 0),this.isLoading$=new To.y,this.result$=new Ge.X([]),this.onPopulate$=new st.x,this.onTagClose$=new st.x,this.onOpenChange$=new st.x,this.onCreate$=new st.x,this.selectOption$=new Ge.X(void 0),this.response$=this.onSearch$.pipe((0,wt.T)(1),(0,De.h)(Mo.ep),(0,De.h)(Mt=>0===this.minSearchStrLength||Mt.length>=this.minSearchStrLength),(0,it.M)(void 0!==this.typeaheadParam$?this.typeaheadParam$:(0,$o.of)(void 0)),(0,Ko.w)(([Mt,bn])=>{const Hn=this.getTypeaheadVars(Mt,bn),Ho=tr=>(this.queryRef=this.typeaheadQuery.watch(tr),this.isLoading$=this.queryRef.valueChanges.pipe((0,rn.j)("loading"),(0,Ro.x)()),this.queryRef.valueChanges),Zi=tr=>(0,Eo.D)(this.queryRef.refetch(tr));return(0,Xn.s)(()=>void 0===this.queryRef,(0,Jo.P)(()=>Ho(Hn)),(0,Jo.P)(()=>Zi(Hn)))})),this.onOpenChange$.subscribe(Mt=>{Mt&&this.onSearch$.next("")}),this.response$.pipe((0,De.h)(Mt=>void 0!==Mt.data),(0,vt.U)(Mt=>this.getTypeahedResults(Mt)),(0,ce.t)(this)).subscribe(Mt=>{this.result$.next(Mt),0===Mt.length&&this.selectOption$.next([]),this.cdr.detectChanges()}),this.optionTemplates?this.optionTemplates.changes.pipe((0,it.M)(this.result$),(0,ce.t)(this)).subscribe(([Mt,bn])=>{const Hn=this.getSelectOptions(bn,Mt);this.selectOption$.next(Hn),this.cdr.detectChanges()}):(console.warn(`${this.field.id} could not find reference to optionTemplates ViewChildren, options will only show entity name text.`),this.result$.pipe((0,ce.t)(this)).subscribe(Mt=>{this.selectOption$.next(Mt.map(bn=>({label:bn.name,value:bn.id})))})),this.onPopulate$.pipe((0,De.h)(Mo.ep),(0,Ko.w)(Mt=>ui(this.getTagQueries(Mt))),(0,vt.U)(Mt=>Mt.map(bn=>this.getTagQueryResults(bn))),(0,ko.b)(Mt=>{this.result$.next(Mt)}),(0,ce.t)(this)).subscribe(Mt=>{let bn;if(this.field.props&&this.field.props.isMultiSelect){const Hn=[];Mt.forEach(Ho=>Hn.push(Ho?.id||void 0)),bn=Hn}else bn=Mt[0].id;this.formControl.setValue(bn),this.selectOpen$.next(!1)}),this.formControl.value){const Mt=this.formControl.value;if(Object.keys(Mt).length>0&&Mt.constructor===Object)return void console.error(`${this.field.id} prepopulated value must be a primitive or array of primitives, value is an object:`,Mt);this.onPopulate$.next(Mt)}this.onTagClose$.pipe((0,ce.t)(this)).subscribe(Mt=>{this.resetField()})}getTagQueries(Be){return"number"==typeof Be&&(Be=[Be]),Be.map(bn=>this.tagQuery.fetch(this.getTagQueryVars(bn),{fetchPolicy:"cache-first"}).pipe((0,De.h)(Hn=>!!Hn.data)))}resetField(){this.formControl.setValue(void 0),this.result$&&this.result$.next([])}}return m.\u0275fac=function(){let j;return function(Mt){return(j||(j=e.n5z(m)))(Mt||m)}}(),m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac}),m})()}}var Ri,Di=a(8180),Nn=a(313),Oi=a(8753),Ai=a(6321),wi=a(7081);function Sr(u,y){1&u&&e._UZ(0,"span",5),2&u&&e.Q6J("nzType","loading")}function Er(u,y){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const c=e.oxw(2);e.xp6(1),e.hij(" ",c.notFoundDisplay.message," ")}}const Mi=function(u,y,c){return{$implicit:u,createMsg:y,model:c}};function _r(u,y){if(1&u&&e.GkF(0,6),2&u){const c=e.oxw(2);e.Q6J("ngTemplateOutlet",c.cvcAddEntity)("ngTemplateOutletContext",e.kEZ(2,Mi,c.notFoundDisplay.searchStr,c.notFoundDisplay.message,c.cvcAddEntityModel))}}function Ki(u,y){if(1&u&&(e.YNc(0,Sr,1,1,"span",2),e.YNc(1,Er,2,1,"ng-container",3),e.YNc(2,_r,1,6,"ng-container",4)),2&u){const c=e.oxw();e.Q6J("ngIf",c.notFoundDisplay.showSpinner),e.xp6(1),e.Q6J("ngIf",!c.notFoundDisplay.showAddForm),e.xp6(1),e.Q6J("ngIf",c.notFoundDisplay.showAddForm)}}const ur=function(){return[]},nr={search:(u,y,c)=>`Searching ${u} matching "${y}"...`,searchAll:(u,y,c)=>`Listing all ${u}...`,searchParam:(u,y,c)=>`Searching ${c} ${u} matching "${y}"...`,searchParamAll:(u,y,c)=>`Listing all ${c} ${u}...`,searchEnterQuery:(u,y,c,m)=>`Enter at least ${m} characters to search ${c} ${u}`,searchEnterQueryAll:(u,y,c,m)=>`Enter at least least ${m} characters to search ${u}`,empty:(u,y,c)=>`No ${u} found matching "${y}"`,emptyAll:(u,y,c)=>`No ${u} found.`,emptyParam:(u,y,c)=>`No ${c} ${u} found matching "${y}"`,emptyParamAll:(u,y,c)=>`No ${c} ${u} found`};let Kn=((Ri=class{constructor(y){this.cdr=y,this.cvcEntityName={singular:"Entity",plural:"Entities"},this.cvcSelectMode="default",this.cvcLoading=!1,this.cvcOptions=void 0,this.cvcShowError=!1,this.cvcDisabled=!1,this.cvcAllowClear=!0,this.cvcBorderless=!1,this.cvcShowArrow=!1,this.cvcAutoClearSearchValue=!0,this.cvcSuffixIcon="search",this.cvcCustomTemplate=null,this.cvcDropdownExtra=null,this.cvcAddEntity=null,this.cvcMinSearchStrLength=0,this.cvcOnOpenChange=new e.vpe,this.cvcOnSearch=(new e.vpe).pipe((0,Oi.p)(300,Ai.z,{leading:!1,trailing:!0}),(0,wi.d)(1)),this.cvcOnModelChange=new e.vpe,this.cvcSelectComponent=new e.vpe,this.messageOptions=nr,this.onParamName$=new Ge.X(void 0),this.onOption$=new Ge.X([]),this.onOpenChange$=new Ge.X(!1),this.onLoading$=new Ge.X(!1),this.previousIsOpen=!1}ngAfterViewInit(){this.cvcSelectMessages&&(this.messageOptions={...this.messageOptions,...this.cvcSelectMessages}),this.nzSelectComponent?(this.cvcSelectComponent.next(this.nzSelectComponent),this.notFoundDisplay={searchStr:"",showSpinner:!0,showAddForm:!1,message:`Searching ${this.cvcEntityName.plural}...`},this.onOpenChange$.pipe((0,ce.t)(this)).subscribe(y=>{this.cvcOnOpenChange.next(y)}),(0,vo.a)([this.onOpenChange$,this.cvcOnSearch,this.onParamName$,this.onOption$,this.onLoading$.pipe((0,Ro.x)())]).pipe((0,vt.U)(([y,c,m,j,Be])=>{const Mt=this.cvcEntityName.plural,bn=this.cvcMinSearchStrLength,Hn=null!==this.cvcAddEntity,Ho=!1===this.previousIsOpen&&!0===y;return this.previousIsOpen=y,Ho?this.getSelectInitDisplay(Mt,bn,m):Be&&c.length>=bn?this.getSelectSearchingDisplay(c,Mt,bn,m):y&&!Be&&c.length>=bn&&0===j.length?this.getSelectEmptyDisplay(c,Mt,m,Hn):{searchStr:"",showSpinner:!1,showAddForm:!1,message:""}}),(0,ko.b)(y=>{this.notFoundDisplay=y}),(0,ce.t)(this)).subscribe()):console.error(`${this.cvcEntityName.singular} entity-select could not gain reference to its nzSelectComponent, aborting AfterViewInit()`)}getSelectInitDisplay(y,c,m){let j=this.messageOptions.searchAll,Be=!1;return 0==c?(Be=!0,j=void 0===m?this.messageOptions.searchAll:this.messageOptions.searchParamAll):c>0&&(Be=!1,j=void 0===m?this.messageOptions.searchEnterQueryAll:this.messageOptions.searchEnterQuery),{message:j(y,"",m,c),showSpinner:Be,showAddForm:!1,searchStr:""}}getSelectSearchingDisplay(y,c,m,j){let Be=this.messageOptions.searchAll;return Be=void 0===j?y.length>0?this.messageOptions.search:this.messageOptions.searchAll:y.length>0?this.messageOptions.searchParam:this.messageOptions.searchParamAll,{message:Be(c,y,j),showSpinner:!0,showAddForm:!1,searchStr:y}}getSelectEmptyDisplay(y,c,m,j){let Be=this.messageOptions.empty;return Be=void 0===m?y.length>0?this.messageOptions.empty:this.messageOptions.emptyAll:y.length>0?this.messageOptions.emptyParam:this.messageOptions.emptyParamAll,{message:Be(c,y,m),showSpinner:!1,showAddForm:j,searchStr:y}}ngOnChanges(y){if(y.cvcParamName&&this.onParamName$.next(y.cvcParamName.currentValue),y.cvcOptions){const c=y.cvcOptions.currentValue;void 0!==c&&this.onOption$.next(c)}if(y.cvcLoading){const c=y.cvcLoading.currentValue;void 0!==c&&this.onLoading$.next(c)}}}).\u0275fac=function(y){return new(y||Ri)(e.Y36(e.sBO))},Ri.\u0275cmp=e.Xpm({type:Ri,selectors:[["cvc-entity-select"]],viewQuery:function(y,c){if(1&y&&e.Gf(We.Vq,5),2&y){let m;e.iGM(m=e.CRH())&&(c.nzSelectComponent=m.first)}},inputs:{cvcFormControl:"cvcFormControl",cvcFormlyAttributes:"cvcFormlyAttributes",cvcEntityName:"cvcEntityName",cvcSelectMessages:"cvcSelectMessages",cvcSelectMode:"cvcSelectMode",cvcPlaceholder:"cvcPlaceholder",cvcLoading:"cvcLoading",cvcOptions:"cvcOptions",cvcResults:"cvcResults",cvcShowError:"cvcShowError",cvcDisabled:"cvcDisabled",cvcAllowClear:"cvcAllowClear",cvcBorderless:"cvcBorderless",cvcShowArrow:"cvcShowArrow",cvcAutoClearSearchValue:"cvcAutoClearSearchValue",cvcSuffixIcon:"cvcSuffixIcon",cvcCustomTemplate:"cvcCustomTemplate",cvcDropdownExtra:"cvcDropdownExtra",cvcParamName:"cvcParamName",cvcAddEntity:"cvcAddEntity",cvcAddEntityModel:"cvcAddEntityModel",cvcSelectOpen:"cvcSelectOpen",cvcMinSearchStrLength:"cvcMinSearchStrLength"},outputs:{cvcOnOpenChange:"cvcOnOpenChange",cvcOnSearch:"cvcOnSearch",cvcOnModelChange:"cvcOnModelChange",cvcSelectComponent:"cvcSelectComponent"},features:[e.TTD],decls:3,vars:21,consts:[["nzShowSearch","","nzServerSearch","","nzAllowClear","",3,"nzDropdownMatchSelectWidth","formControl","formlyAttributes","nzMode","nzPlaceHolder","nzCustomTemplate","nzOptionHeightPx","nzDisabled","nzLoading","nzAllowClear","nzBorderless","nzSuffixIcon","nzShowArrow","nzAutoClearSearchValue","nzOptions","nzDropdownRender","nzNotFoundContent","nzOpen","nzOpenChange","nzOnSearch","ngModelChange"],["searchMessages",""],["nz-icon","",3,"nzType",4,"ngIf"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(y,c){if(1&y&&(e.TgZ(0,"nz-select",0),e.NdJ("nzOpenChange",function(j){return c.onOpenChange$.next(j)})("nzOnSearch",function(j){return c.cvcOnSearch.next(j)})("ngModelChange",function(j){return c.cvcOnModelChange.next(j)}),e.qZA(),e.YNc(1,Ki,3,3,"ng-template",null,1,e.W1O)),2&y){const m=e.MAs(2);e.ekj("ng-dirty",c.cvcShowError),e.Q6J("nzDropdownMatchSelectWidth",!0)("formControl",c.cvcFormControl)("formlyAttributes",c.cvcFormlyAttributes)("nzMode",c.cvcSelectMode)("nzPlaceHolder",c.cvcPlaceholder||"Search "+c.cvcEntityName.plural)("nzCustomTemplate",c.cvcCustomTemplate||null)("nzOptionHeightPx",30)("nzDisabled",c.cvcDisabled)("nzLoading",c.cvcLoading)("nzAllowClear",c.cvcAllowClear)("nzBorderless",c.cvcBorderless)("nzSuffixIcon",c.cvcSuffixIcon)("nzShowArrow",c.cvcShowArrow)("nzAutoClearSearchValue",c.cvcAutoClearSearchValue)("nzOptions",c.cvcOptions||e.DdM(20,ur))("nzDropdownRender",c.cvcDropdownExtra||null)("nzNotFoundContent",m)("nzOpen",c.cvcSelectOpen)}},dependencies:[M.O5,M.tP,t.JJ,t.oH,v.JD,Re.Ls,We.Vq],changeDetection:0}),Ri);Kn=(0,te.gn)([(0,ce.c)({arrayName:"stateSubscriptions"})],Kn);var Si,xo=a(3670),Uo=a(2024),ni=a(7473),yo=a(855),Xo=a(1958),bi=a(4634);function yr(u,y){if(1&u&&e._uU(0),2&u){const c=e.oxw();e.Oqu(c.successMessage)}}function Qi(u,y){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.hij(' "',c.model.name,'" ')}}const qo=function(){return[0,0]};let jn=((Si=class{set cvcSearchString(y){y&&this.searchString$.next(y)}constructor(y,c){this.query=y,this.errors=c,this.cvcOnCreate=new e.vpe,this.form=new t.nJ({}),this.model={name:""},this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.onSubmit$=new st.x,this.searchString$=new Ge.X(void 0),this.addDiseaseMutator=new Uo.U(this.errors),this.fields=[{key:"doid",type:"input",props:{label:"DOID",keydown:(m,j)=>{"Tab"===j.code&&j.stopPropagation()}}},{key:"name",props:{hidden:!0,required:!0}}],this.searchString$.pipe((0,ce.t)(this)).subscribe(m=>{m&&(this.model.name=m)}),this.onSubmit$.pipe((0,ce.t)(this)).subscribe(m=>{console.log("disease-quick-add form model submitted.",m),this.submitDisease(m)})}submitDisease(y){y.name?this.mutationState=this.addDiseaseMutator.mutate(this.query,this.model,{},c=>{console.log("disease-quick-add submit data callback",c),c.addDisease&&(this.successMessage=c.addDisease.new?`New Disease ${c.addDisease.disease.name} added.`:`Existing Disease ${c.addDisease.disease.name} with DOID ${c.addDisease.disease.doid} found. `,setTimeout(()=>{c&&c.addDisease&&this.cvcOnCreate.next(c.addDisease.disease.id)},1e3))}):console.error("disease-quick-add form submitDisease requires model with valid name.")}}).\u0275fac=function(y){return new(y||Si)(e.Y36(Nn.MPi),e.Y36(ni.Y))},Si.\u0275cmp=e.Xpm({type:Si,selectors:[["cvc-disease-quick-add-form"]],inputs:{cvcSearchString:"cvcSearchString"},outputs:{cvcOnCreate:"cvcOnCreate"},decls:11,vars:11,consts:[["entityType","Disease",3,"mutationState","successMessage"],["success",""],["nz-form","","nzLayout","horizontal",3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"],[4,"ngIf"]],template:function(y,c){if(1&y&&(e.TgZ(0,"cvc-form-submission-status-display",0),e.YNc(1,yr,1,1,"ng-template",null,1,e.W1O),e.TgZ(3,"form",2),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(4,"nz-row",3)(5,"nz-col",4)(6,"formly-form",5),e.NdJ("modelChange",function(j){return c.model=j}),e.qZA()(),e.TgZ(7,"nz-col",4)(8,"button",6),e._uU(9," Add Disease\xa0 "),e.YNc(10,Qi,2,1,"ng-container",7),e.qZA()()()()()),2&y){const m=e.MAs(2);e.Q6J("mutationState",c.mutationState)("successMessage",m),e.xp6(3),e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(10,qo)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("disabled",!c.form.valid),e.xp6(2),e.Q6J("ngIf",c.model.name)}},dependencies:[M.O5,t._Y,t.JL,t.sg,v.T7,On.ix,yo.w,Xo.dQ,R.t3,R.SK,s.Lr,bi.F],encapsulation:2,changeDetection:0}),Si);jn=(0,te.gn)([(0,ce.c)()],jn);const ao=["addDisease"],Ue=["optionTemplates"];function re(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"strong"),e._uU(2,"DOID:"),e.qZA(),e._UZ(3,"span",9),e.ALo(4,"highlightTypeahead"),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(3),e.Q6J("innerHtml",e.xi3(4,1,c.doid,m),e.oJD)}}function Oe(u,y){if(1&u&&(e.ynx(0),e._uU(1," \xa0 "),e.TgZ(2,"strong"),e._uU(3,"Aliases: "),e.qZA(),e.TgZ(4,"em"),e._UZ(5,"span",10),e.ALo(6,"highlightTypeahead"),e.qZA(),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(5),e.Q6J("nzTooltipTitle",c.diseaseAliases.join(", "))("innerHtml",e.xi3(6,2,c.diseaseAliases.join(", "),m),e.oJD)}}function Qe(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",6),e.TgZ(1,"span",7),e.YNc(2,re,5,4,"ng-container",8),e.YNc(3,Oe,7,5,"ng-container",8),e._uU(4),e.qZA()),2&u){const c=e.oxw().$implicit,m=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",m),e.xp6(2),e.Q6J("ngIf",c.doid),e.xp6(1),e.Q6J("ngIf",c.diseaseAliases.length>0),e.xp6(1),e.hij(" ",m," ")}}function zt(u,y){1&u&&(e.ynx(0),e.YNc(1,Qe,5,6,"ng-template",null,5,e.W1O),e.BQk())}function kt(u,y){if(1&u&&(e.ynx(0),e.YNc(1,zt,3,0,"ng-container",4),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function en(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",11)(1,"cvc-entity-tag",12),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Disease:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}function hn(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-disease-quick-add-form",13),e.NdJ("cvcOnCreate",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onPopulate$.next(j))}),e.qZA()}2&u&&e.Q6J("cvcSearchString",y.$implicit)}const Jt=Lt(_n(),oi());let yn=(()=>{class u extends Jt{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.defaultOptions={props:{entityName:{singular:"Disease",plural:"Diseases"},tooltip:"Cancer or cancer subtype that is a result of the described variant",isMultiSelect:!1,requireType:!0,placeholder:"Search Diseases",requireTypePromptFn:(Be,Mt)=>`Select an ${Be} Type to select an associated Disease${Mt?"(s)":""}`,addFormTitle:"Add a New Disease"}},this.placeholder$=new Ge.X(void 0),this.selectOpen$=new bo.t}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,De.h)(c=>c),(0,Di.q)(1),(0,ce.t)(this)).subscribe(c=>{this.configureField()}):this.configureField(),this.addForm&&(this.field.props.addFormContent=this.addForm)}configureField(){this.placeholder$.next(this.props.placeholder),this.configureStateConnections()}configureStateConnections(){if(this.state){if(this.state.requires.requiresDisease$?this.onRequiresDisease$=this.state.requires.requiresDisease$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresDisease$ subject to attach.`),this.props.requireType){const c=`${this.state.entityName.toLowerCase()}Type$`;this.state.fields[c]?this.onEntityType$=this.state.fields[c]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${c}.`)}!this.onRequiresDisease$||!this.onEntityType$||(0,vo.a)([this.onRequiresDisease$,this.onEntityType$,this.onValueChange$]).pipe((0,ce.t)(this)).subscribe(([c,m,j])=>{this.onStateUpdates(c,m,j)})}}onStateUpdates(c,m,j){!c&&m&&(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,we.E)(m)} ${this.state.entityName} does not include associated diseases`,this.props.extraType="prompt",this.cdr.markForCheck()),this.props.requireType&&!m&&(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"),c&&(this.props.required=!0,this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0),(!c&&void 0!==j||this.props.requireType&&!m&&this.formControl.value)&&this.resetField()}getTypeaheadVarsFn(c){return{name:c}}getTypeaheadResultsFn(c){return c.data.diseaseTypeahead}getTagQueryVarsFn(c){return{id:c}}getTagQueryResultsFn(c){return c.data.disease}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.RYL),e.Y36(Nn.QVn),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-disease-select"]],viewQuery:function(c,m){if(1&c&&(e.Gf(ao,7),e.Gf(Ue,5,e.Rgc)),2&c){let j;e.iGM(j=e.CRH())&&(m.addForm=j.first),e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:12,vars:26,consts:[[3,"cvcAddEntity","cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcSelectOpen","cvcOnSearch","cvcOnOpenChange","cvcSelectComponent","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],["addDisease",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],[3,"innerHtml"],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcSearchString","cvcOnCreate"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcSelectComponent",function(Be){return m.selectComponent=Be})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.qZA(),e.YNc(7,kt,3,3,"ng-container",1),e.YNc(8,en,2,3,"ng-template",null,2,e.W1O),e.YNc(10,hn,1,1,"ng-template",null,3,e.W1O)),2&c){const j=e.MAs(9),Be=e.MAs(11);e.Q6J("cvcAddEntity",Be)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",e.lcZ(1,14,m.placeholder$))("cvcResults",e.lcZ(2,16,m.result$))("cvcOptions",e.lcZ(3,18,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.onRequiresDisease$&&!e.lcZ(4,20,m.onRequiresDisease$))("cvcLoading",e.lcZ(5,22,m.isLoading$))("cvcSelectOpen",e.lcZ(6,24,m.selectOpen$)),e.xp6(7),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,F.eJ,Xe.SY,ge.ZU,Kn,xo.J,jn,F.fM,I.A],changeDetection:0}),u})();const Rn={types:[{name:"disease-select",wrappers:["form-field"],component:yn,defaultOptions:{props:{label:"Disease"}}},{name:"disease-multi-select",wrappers:["form-field"],component:yn,defaultOptions:{props:{isMultiSelect:!0,label:"Diseases"}}}]};let Mn=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(Rn),yt.L,On.sL,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,Wt.X,Zt.g,je,Kt,It.s,Te.x]}),u})();var dn=a(9154);let En=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,ge.ZJ]}),u})();var Gn=a(2962),Fn=a(2787),Bn=a(8373),Ln=a(3740),ho=a(6699),eo=a(3620),co=a(9111),Oo=a(9377),Jn=a(3019),So=a(3742);const Io={isSelectCol:u=>"select"===u.type,isEntityTagCol:u=>"entity-tag"===u.type,isEnumTagCol:u=>"enum-tag"===u.type,isTextTagCol:u=>"text-tag"===u.type},Fo=u=>void 0!==u.sort,Hi=u=>void 0!==u.filter,Ji={description:Nn.Cp0.Description,disease:Nn.Cp0.DiseaseName,evidenceDirection:Nn.Cp0.EvidenceDirection,evidenceLevel:Nn.Cp0.EvidenceLevel,evidenceRating:Nn.Cp0.EvidenceRating,evidenceType:Nn.Cp0.EvidenceType,id:Nn.Cp0.Id,significance:Nn.Cp0.Significance,status:Nn.Cp0.Status,therapies:Nn.Cp0.TherapyName,variantOrigin:Nn.Cp0.VariantOrigin},Fi={molecularProfile:"molecularProfileName",disease:"diseaseName",therapies:"therapyName",evidenceItem:"id"},Yi=["selected","id"];class pi{constructor(){this.sortStreams=[],this.filterStreams=[],this.config=this.configureColumnStreams([{key:"selected",label:"Select",type:"select",width:"25px",align:"center",fixedLeft:!0,checkbox:{th:{showCheckbox:!1},td:{showCheckbox:!0}}},{hidden:!0,key:"id",label:"ID",type:"default",width:"30px"},{hidden:!0,key:"status",label:"Status",type:"default",width:"50px"},{key:"id",label:"Evidence",type:"entity-tag",width:"95px",context:"evidenceItem",fixedLeft:!0,showStatus:!0,tag:{fullWidth:!0},sort:{default:"ascend"},filter:{inputType:"default",options:[{key:"EID",value:null}],transform:y=>y?+y.toString().replace(/EID/i,""):null}},{key:"molecularProfile",label:"Molecular Profile",type:"entity-tag",width:"240px",sort:{},tag:{truncateLabel:"200px"},filter:{inputType:"default",typename:"MolecularProfile",options:[{key:"Filter Therapy Names",value:null}]}},{key:"disease",type:"entity-tag",label:"Disease",width:"240px",sort:{},tag:{truncateLabel:"200px"},filter:{inputType:"default",typename:"Disease",options:[{key:"Filter Disease Names",value:null}]}},{key:"therapies",label:"Therapies",type:"entity-tag",width:"275px",sort:{},tag:{maxTags:2,truncateLabel:"150px"},filter:{inputType:"default",typename:"Therapy",options:[{key:"Filter Therapy Names",value:null}]}},{key:"therapyInteractionType",label:"INT",tooltip:"Therapy Interaction Type",type:"enum-tag",width:"40px",align:"center",emptyValueCategory:"not-applicable",sort:{},filter:{options:this.getAttributeFilters((0,So.o6)(Nn.wkr))}},{key:"description",label:"DSC",tooltip:"Evidence Description",type:"text-tag",width:"40px",align:"center",fixedRight:!0,emptyValueCategory:"unspecified",sort:{},filter:{inputType:"default",options:[{key:"Search Descriptions",value:null}]}},{key:"evidenceType",label:"ET",tooltip:"Evidence Type",type:"enum-tag",width:"40px",align:"center",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,So.o6)(Nn.kqt))}},{key:"evidenceLevel",label:"EL",tooltip:"Evidence Level",type:"enum-tag",width:"40px",align:"center",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,So.o6)(Nn.Sx0))}},{key:"evidenceDirection",label:"ED",tooltip:"Evidence Direction",type:"enum-tag",width:"40px",align:"center",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,So.o6)(Nn.tI1))}},{key:"significance",label:"SI",tooltip:"Significance",type:"enum-tag",align:"center",width:"40px",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,So.o6)(Nn.y1h))}},{key:"evidenceRating",label:"ER",tooltip:"Evidence Rating",type:"enum-tag",width:"45px",align:"center",fixedRight:!0,tag:{showLabel:"short-string"},sort:{},filter:{options:[1,2,3,4,5].map(y=>({value:y,text:`${y} stars`}))}}])}get(){return this.config}getSortStreams(){return this.sortStreams}getFilterStreams(){return this.filterStreams}getAttributeFilters(y,c){return y.getValues().map(j=>({text:(0,we.E)(j),value:j,byDefault:c===j}))}configureColumnStreams(y){return y.forEach(c=>{const m=c;if(Fo(m)&&(m.sort.changes=new Ge.X({key:m.key,value:m.sort.default??null}),this.sortStreams.push(m.sort.changes)),Hi(m)){const j=m.filter.options.find(Be=>Be.byDefault)?.value;m.filter.changes=new Ge.X({key:m.key,value:j??null}),this.filterStreams.push(m.filter.changes)}}),y}}var Rt,Le=a(7871);function Z(u,y){1&u&&e.GkF(0)}const ke=function(u,y,c){return{$implicit:u,config:y,emphasize:c}};function $t(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"span",1),e.YNc(2,Z,1,0,"ng-container",2),e.qZA(),e.BQk()),2&u){const c=y.$implicit,m=e.oxw();e.xp6(2),e.Q6J("ngTemplateOutlet",m.cvcTagTemplate)("ngTemplateOutletContext",e.kEZ(2,ke,c,m.config,null==m.config?null:m.config.emphasize))}}let sn=((Rt=class{set cvcTagListConfig(y){!y||!y.tagList||!y.tag||(this.config=y,this.setEntities(y.tagList,y.tag))}constructor(){this.entities=[]}setEntities(y,c){this.entities=y&&0!==y.length&&0!==c.maxTags?y:[]}}).\u0275fac=function(y){return new(y||Rt)},Rt.\u0275cmp=e.Xpm({type:Rt,selectors:[["cvc-entity-tag-list"]],inputs:{cvcTagListConfig:"cvcTagListConfig",cvcTagTemplate:"cvcTagTemplate"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"tag-container"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(y,c){1&y&&e.YNc(0,$t,3,6,"ng-container",0),2&y&&e.Q6J("ngForOf",c.entities)},dependencies:[M.sg,M.tP],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]{display:inline-block;margin-bottom:-4px}.tag-container[_ngcontent-%COMP%]{display:inline-block;margin-bottom:4px}"],changeDetection:0}),Rt);sn=(0,te.gn)([(0,ce.c)()],sn);var Yn=a(2616),uo=a(1201);function po(u,y){if(1&u&&(e._UZ(0,"span",6),e.ALo(1,"typenameToIcon"),e.ALo(2,"entityColor")),2&u){const c=y.$implicit;e.Q6J("nzType",e.lcZ(1,2,c.__typename))("nzTwotoneColor",e.lcZ(2,4,c.__typename))}}function Yo(u,y){if(1&u&&(e.ynx(0),e.YNc(1,po,3,6,"span",5),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",c.entities)}}function ei(u,y){if(1&u&&(e.TgZ(0,"span",7)(1,"strong"),e._uU(2),e.qZA()(),e._UZ(3,"span",6),e.ALo(4,"typenameToIcon"),e.ALo(5,"entityColor")),2&u){const c=e.oxw();e.xp6(2),e.Oqu(c.entities.length),e.xp6(1),e.Q6J("nzType",e.lcZ(4,3,c.entities[0].__typename))("nzTwotoneColor",e.lcZ(5,5,c.entities[0].__typename))}}const lo=function(u,y,c,m,j){return{tagList:u,tag:y,showPopover:c,status:m,emphasize:j}};function Vi(u,y){if(1&u&&e._UZ(0,"cvc-entity-tag-list",11),2&u){const c=e.oxw(2);e.Q6J("cvcTagTemplate",c.cvcTagTemplate)("cvcTagListConfig",e.qbA(2,lo,c.entities,c.config.tag,c.config.showPopover,c.config.status,c.config.emphasize))}}function Ni(u,y){1&u&&e._uU(0," Invalid config specified for entity-tag-list. ")}function Cr(u,y){if(1&u&&(e.TgZ(0,"div",8),e.YNc(1,Vi,1,8,"cvc-entity-tag-list",9),e.qZA(),e.YNc(2,Ni,1,0,"ng-template",null,10,e.W1O)),2&u){const c=e.MAs(3),m=e.oxw();e.xp6(1),e.Q6J("ngIf",m.config)("ngIfElse",c)}}let os=(()=>{class u{set cvcCollectionTagConfig(c){!c||!c.tagList||!c.tag||(this.setConfig(c),this.setEntities(c.tagList))}constructor(){this.cvcShowMaxIcons=5,this.cvcShowFullLabels=!0,this.entities=[]}setConfig(c){this.config=this.cvcShowFullLabels?{...c,tag:{...c.tag,truncateLabel:void 0}}:c}setEntities(c){this.entities=c&&0!==c.length?c:[]}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-entity-collection-tag"]],inputs:{cvcCollectionTagConfig:"cvcCollectionTagConfig",cvcTagTemplate:"cvcTagTemplate",cvcShowMaxIcons:"cvcShowMaxIcons",cvcShowFullLabels:"cvcShowFullLabels"},decls:9,vars:3,consts:[["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent"],["nz-typography","","nzType","secondary",1,"plus-sign"],[4,"ngIf","ngIfElse"],["showCount",""],["tagListPopover",""],["class","entity-icon","nz-icon","","nzTheme","twotone",3,"nzType","nzTwotoneColor",4,"ngFor","ngForOf"],["nz-icon","","nzTheme","twotone",1,"entity-icon",3,"nzType","nzTwotoneColor"],["nz-typography","","nzType","secondary",1,"entity-count"],[1,"popover-container"],[3,"cvcTagTemplate","cvcTagListConfig",4,"ngIf","ngIfElse"],["noConfig",""],[3,"cvcTagTemplate","cvcTagListConfig"]],template:function(c,m){if(1&c&&(e.TgZ(0,"nz-tag",0)(1,"span",1)(2,"strong"),e._uU(3,"+"),e.qZA()(),e.YNc(4,Yo,2,1,"ng-container",2),e.YNc(5,ei,6,7,"ng-template",null,3,e.W1O),e.qZA(),e.YNc(7,Cr,4,2,"ng-template",null,4,e.W1O)),2&c){const j=e.MAs(6),Be=e.MAs(8);e.Q6J("nzPopoverContent",Be),e.xp6(4),e.Q6J("ngIf",m.entities.length<=m.cvcShowMaxIcons)("ngIfElse",j)}},dependencies:[M.sg,M.O5,Wt.j,ge.ZU,Wn.lU,Re.Ls,sn,Yn.a,uo.Z],styles:["[_nghost-%COMP%]{display:inline-block}.popover-container[_ngcontent-%COMP%]{max-width:300px}nz-tag[_ngcontent-%COMP%]{margin:0;padding:0;margin-inline-end:4px}nz-tag[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}nz-tag[_ngcontent-%COMP%] .plus-sign[_ngcontent-%COMP%]{padding:3px 3px 3px 4px;margin:-3px 0;line-height:1}nz-tag[_ngcontent-%COMP%] .entity-icon[_ngcontent-%COMP%]:first-child{padding-left:2px}nz-tag[_ngcontent-%COMP%] .entity-icon[_ngcontent-%COMP%]{margin:-3px 1px -4px -1px;padding:3px 0;line-height:1}nz-tag[_ngcontent-%COMP%] .entity-icon[_ngcontent-%COMP%]:last-child{padding-right:3px}nz-tag[_ngcontent-%COMP%] .entity-count[_ngcontent-%COMP%]{margin-left:-2px;padding-right:4px}"],changeDetection:0}),u})();var Ee=a(3489);function Ce(u,y){if(1&u&&(e.TgZ(0,"span",1),e._uU(1),e.ALo(2,"number"),e.ALo(3,"number"),e.qZA()),2&u){const c=y.ngIf;e.xp6(1),e.AsE(" ",e.lcZ(2,2,c.edgeCount)," of ",e.lcZ(3,4,c.filteredCount)," displayed\n")}}let he=(()=>{class u{ngOnInit(){this.tableCountsInfo$=this.cvcTableCountsConnection.pipe((0,De.h)(c=>null!=c.totalCount||null!=c.filteredCount),(0,vt.U)(c=>{const m=c.filteredCount,j=c.totalCount,Be=c.edges;return null==m&&null==j&&console.log("Need to provide either filtered count or total count in the table counts component"),{edgeCount:Be.length,filteredCount:m??j}}))}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-table-counts2"]],inputs:{cvcTableCountsConnection:"cvcTableCountsConnection"},decls:2,vars:3,consts:[["class","table-counts","nz-typography","","nzType","secondary",4,"ngIf"],["nz-typography","","nzType","secondary",1,"table-counts"]],template:function(c,m){1&c&&(e.YNc(0,Ce,4,6,"span",0),e.ALo(1,"ngrxPush")),2&c&&e.Q6J("ngIf",e.lcZ(1,1,m.tableCountsInfo$))},dependencies:[M.O5,ge.ZU,M.JJ,F.fM],styles:[":[_nghost-%COMP%]{border:1px solid red}.table-counts[_ngcontent-%COMP%]{display:inline-block}"],changeDetection:0}),u})();var Qn,ct=a(1374),Cn=a(9384);let _i=((Qn=class{set cvcTableScrollerToIndex(y){void 0!==y&&this.scrollToIndex(y)}set cvcTableScrollerToOffset(y){void 0!==y&&this.scrollToIndex(y)}constructor(y){this.host=y,this.cvcTableScrollerOnScroll=new e.vpe,this.cvcTableScrollerOnFetch=new e.vpe,this.cvcTableScrollerTargetHeight=140,this.cvcTableScrollerFetchCount=50,this.onLoadThrottleTime=500,this.onScrollThrottleTime=250,this.onScrollDebounceTime=300}ngAfterViewInit(){if(!this.host||!this.host.cdkVirtualScrollViewport)throw new Error("cvcTableScroller directive could not obtain reference to host cdkVirtualScrollViewport.");this.viewport=this.host.cdkVirtualScrollViewport,this.scrolled$=this.viewport.elementScrolled(),this.rendered$=this.viewport.renderedRangeStream,this.rendered$.pipe((0,ct.P)()).subscribe(()=>this.viewport.checkViewportSize()),this.scrolled$.pipe((0,Oi.p)(this.onScrollThrottleTime,Ai.z,{leading:!0,trailing:!0}),(0,ko.b)(y=>this.cvcTableScrollerOnScroll.next("scroll")),(0,eo.b)(this.onScrollDebounceTime),(0,ce.t)(this)).subscribe(y=>{this.cvcTableScrollerOnScroll.next("stop")}),this.scrolled$.pipe((0,vt.U)(y=>this.viewport.measureScrollOffset("bottom")),(0,Cn.G)(),(0,De.h)(([y,c])=>c{this.cvcTableScrollerOnScroll.next("bottom");try{this.loadMore(this.cvcTableScrollerPageInfo)}catch(c){console.error(c)}})}loadMore(y){const c=this.cvcTableScrollerQueryRef;if(!y&&c)throw new Error("table-scroll directive requires PageInfo to use provided QueryRef.");if(y&&!c)throw new Error("table-scroll directive requires valid QueryRef when PageInfo provided.");if(y&&c){const[m,j,Be]=[this.cvcTableScrollerFetchCount,y.hasNextPage,y.endCursor];if(!m||!Be)throw new Error("table-scroll PageInfo invalid.");if(!j)return;this.cvcTableScrollerOnFetch.next({first:m,after:Be})}}scrollToIndex(y){const[c,m]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!m)throw new Error("table-scroll scrollToIndex() cannot find host viewport.");m.scrollToIndex(y)}scrollToOffset(y){const[c,m]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!m)throw new Error("table-scroll scrollToOffset() cannot find host viewport.");m.scrollToOffset(y)}}).\u0275fac=function(y){return new(y||Qn)(e.Y36(Ln.N8))},Qn.\u0275dir=e.lG2({type:Qn,selectors:[["","cvcTableScroller",""]],inputs:{cvcTableScrollerTargetHeight:"cvcTableScrollerTargetHeight",cvcTableScrollerQueryRef:"cvcTableScrollerQueryRef",cvcTableScrollerPageInfo:"cvcTableScrollerPageInfo",cvcTableScrollerFetchCount:"cvcTableScrollerFetchCount",cvcTableScrollerToIndex:"cvcTableScrollerToIndex",cvcTableScrollerToOffset:"cvcTableScrollerToOffset"},outputs:{cvcTableScrollerOnScroll:"cvcTableScrollerOnScroll",cvcTableScrollerOnFetch:"cvcTableScrollerOnFetch"}}),Qn);function hi(u,y){1&u&&e._UZ(0,"span",8)}function kr(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",9),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const j=e.MAs(3),Be=e.oxw();return j.value="",e.KtG(Be.cvcModelChange.next(null))}),e.qZA()}}function xs(u,y){if(1&u&&(e.YNc(0,hi,1,0,"span",6),e.YNc(1,kr,1,0,"span",7)),2&u){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function ya(u,y){if(1&u){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",2)(2,"input",3,4),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcModelChange.next(j))}),e.qZA()(),e.YNc(4,xs,2,2,"ng-template",null,5,e.W1O),e.BQk()}if(2&u){const c=e.MAs(5),m=e.oxw();e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",m.cvcPlaceholder)("ngModel",m.cvcModel)}}function Hs(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-input-number-group",10)(1,"nz-input-number",11,4),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcModelChange.next(""===j?null:j))}),e.qZA()()}if(2&u){const c=e.oxw();let m;e.xp6(1),e.Q6J("nzPlaceHolder",null!==(m=c.cvcPlaceholder)&&void 0!==m?m:"")("ngModel",c.cvcModel)("nzMin",1)("nzStep",1)}}_i=(0,te.gn)([(0,ce.c)()],_i);let Ys=(()=>{class u{constructor(){this.cvcModel=null,this.cvcModelChange=new e.vpe,this.cvcInputType="default"}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-table-filter-input"]],inputs:{cvcModel:"cvcModel",cvcInputType:"cvcInputType",cvcPlaceholder:"cvcPlaceholder"},outputs:{cvcModelChange:"cvcModelChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","ngModelChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"]],template:function(c,m){if(1&c&&(e.YNc(0,ya,6,3,"ng-container",0),e.YNc(1,Hs,3,4,"ng-template",null,1,e.W1O)),2&c){const j=e.MAs(2);e.Q6J("ngIf","default"===m.cvcInputType)("ngIfElse",j)}},dependencies:[M.O5,t.Fj,t.JJ,t.On,yo.w,Re.Ls,Pe.Zp,Pe.gB,Pe.ke,Bn._V,Bn.Rb],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700} nz-input-group{border-color:#d9d9d9!important}"]}),u})();var zr=a(3460);function nc(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"li",5),e.NdJ("click",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.cvcOptionChange.next({key:Mt.cvcColumnKey,value:Be.value}))}),e._UZ(1,"cvc-attribute-tag",6),e.qZA()}if(2&u){const c=y.$implicit,m=e.oxw();e.Q6J("nzSelected",(null==m.cvcOption?null:m.cvcOption.value)===c.value),e.xp6(1),e.Q6J("cvcFullWidth",!0)("cvcChecked",(null==m.cvcOption?null:m.cvcOption.value)===c.value)("cvcAttrValue",c.value)}}let Jr=(()=>{class u{constructor(){this.cvcOptionChange=new e.vpe}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-enum-filter-menu"]],inputs:{cvcColumnKey:"cvcColumnKey",cvcFilterOptions:"cvcFilterOptions",cvcOption:"cvcOption"},outputs:{cvcOptionChange:"cvcOptionChange"},decls:6,vars:2,consts:[["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[2,"padding","3px"],["nz-button","","nzType","default","nzBlock","","nzSize","small",3,"disabled","click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-menu-item","",3,"nzSelected","click"],["cvcContext","menu-item",3,"cvcFullWidth","cvcChecked","cvcAttrValue"]],template:function(c,m){1&c&&(e.TgZ(0,"ul",0),e.YNc(1,nc,2,4,"li",1),e.TgZ(2,"li",2)(3,"button",3),e.NdJ("click",function(){return m.cvcOptionChange.next({key:m.cvcColumnKey,value:null})}),e._UZ(4,"span",4),e._uU(5," Reset "),e.qZA()()()),2&c&&(e.xp6(1),e.Q6J("ngForOf",m.cvcFilterOptions),e.xp6(2),e.Q6J("disabled",null===(null==m.cvcOption?null:m.cvcOption.value)))},dependencies:[M.sg,ye,On.ix,yo.w,Xo.dQ,zr.wO,zr.r9,Re.Ls],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] ul li:hover{background-color:#e6f7ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected{background-color:#1890ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected:active{background-color:#096dd9}"],changeDetection:0}),u})(),Rr=(()=>{class u{transform(c){return null!=c&&Array.isArray(c)}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"isArray",type:u,pure:!0}),u})(),or=(()=>{class u{transform(c,m){return m(c)?c:void 0}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"guardType",type:u,pure:!0}),u})();var dr;function yi(u,y){if(1&u&&e._UZ(0,"th",14),2&u){const c=y.ngIf;let m;e.Q6J("nzShowCheckbox",c.checkbox.th.showCheckbox||!1)("nzWidth",c.width)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function pr(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"th",15),e.NdJ("nzSortOrderChange",function(j){const Mt=e.CHM(c).ngIf;return e.KtG(Mt.sort.changes.next({key:Mt.key,value:j}))}),e.ALo(1,"ngrxPush"),e.TgZ(2,"span",16),e._uU(3),e.qZA()()}if(2&u){const c=y.ngIf;let m,j;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",void 0!==c.sort)("nzSortFn",!0)("nzSortOrder",(null==(j=e.lcZ(1,10,c.sort.changes))?null:j.value)||null),e.xp6(2),e.Q6J("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function Ds(u,y){if(1&u&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function Vr(u,y){if(1&u&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function xr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,yi,1,5,"th",11),e.ALo(2,"guardType"),e.YNc(3,pr,4,12,"th",12),e.ALo(4,"guardType"),e.YNc(5,Ds,2,7,"th",13),e.ALo(6,"guardType"),e.YNc(7,Vr,2,7,"th",13),e.ALo(8,"guardType"),e.BQk()),2&u){const c=e.oxw().$implicit,m=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,4,c,m.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,7,c,m.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,10,c,m.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,13,c,m.colGuards.isTextTagCol))}}function qr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,xr,9,16,"ng-container",10),e.BQk()),2&u){const c=y.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function $s(u,y){if(1&u&&(e.TgZ(0,"th",22),e._uU(1," \xa0 "),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function Br(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-table-filter-input",25),e.NdJ("cvcModelChange",function(j){const Mt=e.CHM(c).ngIf,bn=e.oxw().ngIf;return e.KtG(Mt.changes.next(Mt.transform?{key:bn.key,value:Mt.transform(j)}:{key:bn.key,value:j}))}),e.qZA()}if(2&u){const c=e.oxw().ngIf;e.Q6J("cvcInputType",c.filter.inputType)("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function ds(u,y){if(1&u&&(e.TgZ(0,"th",23),e.YNc(1,Br,1,3,"cvc-table-filter-input",24),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.filter)}}function hr(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"th",26,27),e.NdJ("nzSortOrderChange",function(j){const Mt=e.CHM(c).ngIf;return e.KtG(Mt.sort.changes.next({key:Mt.key,value:j}))}),e.ALo(2,"ngrxPush"),e.TgZ(3,"nz-filter-trigger",28,29),e.ALo(5,"ngrxPush"),e._UZ(6,"span",30),e.qZA(),e.TgZ(7,"nz-dropdown-menu",null,31)(9,"cvc-enum-filter-menu",32),e.NdJ("cvcOptionChange",function(j){const Mt=e.CHM(c).ngIf,bn=e.MAs(4);return Mt.filter.changes.next(j),e.KtG(bn.nzVisible=!1)}),e.ALo(10,"ngrxPush"),e.qZA()()()}if(2&u){const c=y.ngIf,m=e.MAs(8);let j,Be,Mt;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(j=c.align)&&void 0!==j?j:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",!0)("nzSortFn",!0)("nzSortOrder",(null==(Be=e.lcZ(2,15,c.sort.changes))?null:Be.value)||null)("nzShowFilter",void 0!==c.filter)("nzFilterFn",!0),e.xp6(3),e.Q6J("nzDropdownMenu",m)("nzActive",null!==(null==(Mt=e.lcZ(5,17,c.filter.changes))?null:Mt.value)),e.xp6(6),e.Q6J("cvcColumnKey",c.key)("cvcFilterOptions",c.filter.options)("cvcOption",e.lcZ(10,19,c.filter.changes))}}function oc(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"th",33,27)(2,"nz-filter-trigger",28),e.ALo(3,"ngrxPush"),e._UZ(4,"span",34),e.qZA(),e.TgZ(5,"nz-dropdown-menu",null,35)(7,"div",36)(8,"div",37)(9,"cvc-table-filter-input",38),e.NdJ("cvcModelChange",function(j){const Mt=e.CHM(c).ngIf;return e.KtG(Mt.filter.changes.next({key:Mt.key,value:j}))}),e.qZA()()()()()}if(2&u){const c=y.ngIf,m=e.MAs(6);let j,Be;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(j=c.align)&&void 0!==j?j:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzFilterFn",!0),e.xp6(2),e.Q6J("nzDropdownMenu",m)("nzActive",null!==(null==(Be=e.lcZ(3,10,c.filter.changes))?null:Be.value)),e.xp6(7),e.Q6J("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function Dr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,$s,2,5,"th",18),e.ALo(2,"guardType"),e.YNc(3,ds,2,6,"th",19),e.ALo(4,"guardType"),e.YNc(5,hr,11,21,"th",20),e.ALo(6,"guardType"),e.YNc(7,oc,10,12,"th",21),e.ALo(8,"guardType"),e.BQk()),2&u){const c=e.oxw().$implicit,m=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,4,c,m.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,7,c,m.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,10,c,m.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,13,c,m.colGuards.isTextTagCol))}}function Ca(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Dr,9,16,"ng-container",10),e.BQk()),2&u){const c=y.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function Yc(u,y){if(1&u&&(e.TgZ(0,"thead")(1,"tr",7),e.YNc(2,qr,2,1,"ng-container",8),e.qZA(),e.TgZ(3,"tr",9),e.YNc(4,Ca,2,1,"ng-container",8),e.qZA()()),2&u){const c=y.ngrxLet;e.xp6(2),e.Q6J("ngForOf",c),e.xp6(2),e.Q6J("ngForOf",c)}}function ic(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"td",43),e.NdJ("nzCheckedChange",function(j){e.CHM(c);const Be=e.oxw(3).$implicit,Mt=e.oxw(2);return e.KtG(Mt.onRowSelected$.next({id:Be.id,selected:j}))}),e.qZA()}if(2&u){const c=y.ngIf,m=e.oxw(3).$implicit;let j;e.Q6J("nzChecked",m.selected)("nzAlign",null!==(j=c.align)&&void 0!==j?j:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function Or(u,y){1&u&&e.GkF(0)}const ir=function(u,y,c){return{$implicit:u,config:y,emphasize:c}};function is(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Or,1,0,"ng-container",49),e.ALo(2,"isArray"),e.ALo(3,"ngrxPush"),e.BQk()),2&u){const c=e.oxw().ngIf,m=e.oxw().ngIf,j=e.MAs(3),Be=e.MAs(5),Mt=e.oxw(3).$implicit;let bn;e.xp6(1),e.Q6J("ngTemplateOutlet",e.lcZ(2,2,Mt[c])?j:Be)("ngTemplateOutletContext",e.kEZ(6,ir,Mt[c],m,null==(bn=e.lcZ(3,4,m.filter.changes))?null:bn.value))}}function Hr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,is,4,10,"ng-container",48),e.BQk()),2&u){const c=y.ngIf;e.oxw();const m=e.MAs(7),j=e.oxw(3).$implicit;e.xp6(1),e.Q6J("ngIf",j[c])("ngIfElse",m)}}const ps=function(u,y,c,m,j){return{tagList:u,tag:y,showPopover:c,status:m,emphasize:j}};function hs(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"cvc-entity-collection-tag",51),e.BQk()),2&u){const c=e.oxw(2),m=c.config,j=c.$implicit,Be=c.emphasize;e.oxw();const Mt=e.MAs(5),bn=e.oxw(5);e.xp6(1),e.Q6J("cvcCollectionTagConfig",e.qbA(3,ps,j.slice(m.tag.maxTags,j.length),m.tag,!bn.isScrolling,!0===m.showStatus?j.status:void 0,Be))("cvcTagTemplate",Mt)("cvcShowFullLabels",!0)}}function Us(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"cvc-entity-tag-list",50),e.YNc(2,hs,2,9,"ng-container",10),e.BQk()),2&u){const c=e.oxw(),m=c.config,j=c.$implicit,Be=c.emphasize;e.oxw();const Mt=e.MAs(5),bn=e.oxw(5);e.xp6(1),e.Q6J("cvcTagTemplate",Mt)("cvcTagListConfig",e.qbA(3,ps,j.slice(0,m.tag.maxTags),m.tag,!bn.isScrolling,!0===m.showStatus?j.status:void 0,Be)),e.xp6(1),e.Q6J("ngIf",j.slice(m.tag.maxTags,j.length).length>0)}}function Os(u,y){if(1&u&&e.YNc(0,Us,3,9,"ng-container",48),2&u){const c=y.$implicit;e.oxw();const m=e.MAs(7);e.Q6J("ngIf",c.length>0)("ngIfElse",m)}}function ws(u,y){if(1&u&&e._UZ(0,"cvc-entity-tag",52),2&u){const c=y.$implicit,m=y.config,j=y.emphasize,Be=e.oxw(6);let Mt;e.Q6J("cvcTruncateLabel",null==m.tag?null:m.tag.truncateLabel)("cvcLinkableEntity",c)("cvcEmphasize",j)("cvcShowPopover",!Be.isScrolling)("cvcStatus",!0===m.showStatus?c.status:void 0)("cvcFullWidth",null!==(Mt=null==m.tag?null:m.tag.fullWidth)&&void 0!==Mt&&Mt)}}function za(u,y){if(1&u&&e._UZ(0,"cvc-empty-value",53),2&u){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"not-applicable")}}function Gs(u,y){if(1&u&&(e.TgZ(0,"td",44),e.YNc(1,Hr,2,2,"ng-container",10),e.YNc(2,Os,1,2,"ng-template",null,45,e.W1O),e.YNc(4,ws,1,6,"ng-template",null,46,e.W1O),e.YNc(6,za,1,1,"ng-template",null,47,e.W1O),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.context||c.key)}}function Qs(u,y){if(1&u&&(e._UZ(0,"cvc-attribute-tag",56),e.ALo(1,"evidenceEnumDisplay")),2&u){const c=e.oxw().ngIf,m=e.oxw(3).$implicit,j=e.oxw(2);e.Q6J("cvcFullWidth",!0)("cvcAttrValue",m[c.key])("cvcTooltip",e.lcZ(1,3,!j.isScrolling&&m[c.key]))}}function js(u,y){if(1&u&&e._UZ(0,"cvc-empty-value",57),2&u){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function $i(u,y){if(1&u&&(e.TgZ(0,"td",44),e.YNc(1,Qs,2,5,"cvc-attribute-tag",54),e.YNc(2,js,1,1,"ng-template",null,55,e.W1O),e.qZA()),2&u){const c=y.ngIf,m=e.MAs(3),j=e.oxw(3).$implicit;let Be;e.Q6J("nzAlign",null!==(Be=c.align)&&void 0!==Be?Be:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",j[c.key])("ngIfElse",m)}}function Li(u,y){if(1&u&&(e.TgZ(0,"nz-tag",60),e._UZ(1,"span",61),e.qZA()),2&u){const c=e.oxw().ngIf,m=e.oxw(3).$implicit;e.Q6J("nzTooltipTitle",m[c.key])}}function Ws(u,y){if(1&u&&e._UZ(0,"cvc-empty-value",53),2&u){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function ii(u,y){if(1&u&&(e.TgZ(0,"td",44),e.YNc(1,Li,2,1,"nz-tag",58),e.YNc(2,Ws,1,1,"ng-template",null,59,e.W1O),e.qZA()),2&u){const c=y.ngIf,m=e.MAs(3),j=e.oxw(3).$implicit;let Be;e.Q6J("nzAlign",null!==(Be=c.align)&&void 0!==Be?Be:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",j[c.key])("ngIfElse",m)}}function Yr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,ic,1,4,"td",41),e.ALo(2,"guardType"),e.YNc(3,Gs,8,4,"td",42),e.ALo(4,"guardType"),e.YNc(5,$i,4,5,"td",42),e.ALo(6,"guardType"),e.YNc(7,ii,4,5,"td",42),e.ALo(8,"guardType"),e.BQk()),2&u){const c=e.oxw().$implicit,m=e.oxw(3);e.xp6(1),e.Q6J("ngIf",e.xi3(2,4,c,m.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,7,c,m.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,10,c,m.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,13,c,m.colGuards.isTextTagCol))}}function ie(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Yr,9,16,"ng-container",10),e.BQk()),2&u){const c=y.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function Ne(u,y){if(1&u&&(e.TgZ(0,"tr",40),e.YNc(1,ie,2,1,"ng-container",8),e.qZA()),2&u){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngForOf",c)}}function me(u,y){1&u&&(e.TgZ(0,"tbody"),e.YNc(1,Ne,2,1,"ng-template",39),e.qZA())}function et(u,y){1&u&&e._UZ(0,"span",69)}function Pt(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",70),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const j=e.MAs(3),Be=e.oxw().filter;return j.value="",e.KtG(Be.changes.next({key:Be.key,value:null}))}),e.qZA()}}function pn(u,y){if(1&u&&(e.YNc(0,et,1,0,"span",67),e.YNc(1,Pt,1,0,"span",68)),2&u){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function Tn(u,y){if(1&u){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",63)(2,"input",64,65),e.NdJ("nzFilterChange",function(j){e.CHM(c);const Be=e.oxw().filter;return e.KtG(Be.changes.next({key:Be.key,value:j}))}),e.qZA()(),e.YNc(4,pn,2,2,"ng-template",null,66,e.W1O),e.BQk()}if(2&u){const c=e.MAs(5),m=e.oxw().filter;e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",m.placeholder)("ngModel",m.defaultValue)}}function to(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-input-number-group",71)(1,"nz-input-number",72,65),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw().filter;return e.KtG(Be.changes.next({key:Be.key,value:j}))}),e.qZA()()}if(2&u){const c=e.oxw().filter;e.xp6(1),e.Q6J("nzPlaceHolder",c.placeholder)("ngModel",c.defaultValue)("nzMin",1)("nzStep",1)}}function Qo(u,y){if(1&u&&(e.YNc(0,Tn,6,3,"ng-container",48),e.YNc(1,to,3,4,"ng-template",null,62,e.W1O)),2&u){const c=y.filter,m=e.MAs(2);e.Q6J("ngIf",void 0===c.inputType||"default"===c.inputType)("ngIfElse",m)}}const fo=function(){return[6,6]};function Vo(u,y){1&u&&(e.TgZ(0,"nz-row",73)(1,"nz-col")(2,"span"),e._uU(3,"Use checkboxes to select or deselect EIDs"),e.qZA()()()),2&u&&e.Q6J("nzGutter",e.DdM(1,fo))}function wo(u,y){1&u&&(e.TgZ(0,"nz-tag",84),e._UZ(1,"i",85),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}const ci=function(u){return{$implicit:u}};function Wo(u,y){if(1&u&&(e.TgZ(0,"nz-tag",88),e._UZ(1,"span",89),e.TgZ(2,"span",90),e._uU(3),e.qZA()()),2&u){e.oxw();const c=e.MAs(4),m=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,ci,m.query)),e.xp6(1),e.hij(" Query Error",m.query.length>1?"s":""," ")}}function Ci(u,y){if(1&u&&(e.TgZ(0,"nz-tag",88)(1,"span",90)(2,"span",91)(3,"strong"),e._uU(4),e.qZA()()()()),2&u){e.oxw();const c=e.MAs(4),m=e.oxw().ngrxLet;e.xp6(1),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,ci,m.network)),e.xp6(3),e.hij(" Network Error",m.query.length>1?"s":""," ")}}function zi(u,y){if(1&u&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&u){const c=y.$implicit;e.xp6(1),e.hij(" ",c.message," ")}}function ro(u,y){1&u&&e.YNc(0,zi,2,1,"div",8),2&u&&e.Q6J("ngForOf",y.$implicit)}function fr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Wo,4,5,"nz-tag",86),e.YNc(2,Ci,5,5,"nz-tag",86),e.YNc(3,ro,1,1,"ng-template",null,87,e.W1O),e.BQk()),2&u){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",c.query),e.xp6(1),e.Q6J("ngIf",c.network)}}function rr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,fr,5,2,"ng-container",10),e.BQk()),2&u){const c=y.ngrxLet;e.xp6(1),e.Q6J("ngIf",c)}}function $r(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",92)(1,"nz-checkbox-group",93),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.onPreferenceChange$.next(j))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&u){const c=e.oxw(2);e.xp6(1),e.Q6J("ngModel",e.lcZ(2,1,c.setPreference$))}}function wr(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-row",73)(1,"nz-col",74),e.YNc(2,wo,4,0,"nz-tag",75),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e._UZ(5,"cvc-no-more-rows",76),e.ALo(6,"ngrxPush"),e.qZA(),e.TgZ(7,"nz-col",74),e.YNc(8,rr,2,1,"ng-container",3),e.qZA(),e.TgZ(9,"nz-col",74),e._UZ(10,"cvc-table-counts2",77),e.qZA(),e.TgZ(11,"nz-col",78)(12,"nz-button-group")(13,"button",79),e.NdJ("click",function(){e.CHM(c);const j=e.oxw();return e.KtG(j.onResetFilter$.next())}),e._UZ(14,"span",80),e.qZA(),e.TgZ(15,"button",81),e._UZ(16,"span",82),e.qZA()(),e.YNc(17,$r,3,3,"ng-template",null,83,e.W1O),e.qZA()()}if(2&u){const c=e.MAs(18),m=e.oxw();e.Q6J("nzGutter",8),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,m.loading$)&&e.lcZ(4,9,m.isFetchMore$)),e.xp6(3),e.Q6J("cvcShowTag",e.lcZ(6,11,m.noMoreRows$)),e.xp6(3),e.Q6J("ngrxLet",m.queryError$),e.xp6(2),e.Q6J("cvcTableCountsConnection",m.connection$),e.xp6(5),e.Q6J("nzPopoverContent",c)("nzPopoverTrigger","click")}}const sr=function(){return[]},Ta=function(){return{x:"800px",y:"200px"}};let Pr=((dr=class{constructor(y,c,m){this.queryGQL=y,this.apollo=c,this.cdr=m,this.cvcSelectedIdsChange=new e.vpe,this.isScrolling=!1,this.colGuards=Io,this.onFetchMore$=new st.x,this.onPreferenceChange$=new Ge.X([]),this.onResetFilter$=new st.x,this.onRowSelected$=new st.x,this.onScroll$=new Ge.X("stop"),this.onSetSelectedRow$=new Ge.X(new Set),this.queryError$=new st.x,this.queryRequest$=new st.x,this.queryResult$=new bo.t(1),this.isFetchMore$=new Ge.X(!1),this.noMoreRows$=new Ge.X(!1),this.scrollToIndex$=new st.x,this.tableConfig=new pi;const j=(0,vo.a)(this.tableConfig.getFilterStreams()),Be=(0,vo.a)(this.tableConfig.getSortStreams()).pipe((0,De.h)(Mt=>Mt.filter(bn=>null!==bn.value).length<=1));this.refetch$=(0,vo.a)([Be,j]).pipe((0,vt.U)(([Mt,bn])=>({query:"refetch",sort:Mt,filter:bn}))),this.fetchMore$=this.onFetchMore$.pipe((0,vt.U)(Mt=>({query:"fetchMore",fetchMore:{...Mt}}))),(0,Jn.T)(this.refetch$,this.fetchMore$).pipe((0,eo.b)(50),(0,ce.t)(this)).subscribe(Mt=>{const bn=this.getQueryVars(Mt);this.queryRef?(this.queryError$.next({}),"refetch"===Mt.query?(this.isFetchMore$.next(!1),this.queryRef.refetch(bn).then(Hn=>{(Hn.error||Hn.errors)&&this.queryError$.next(this.getRequestErrors(Hn))}).then(()=>{this.scrollToIndex$.next(0)})):(this.isFetchMore$.next(!0),this.queryRef.fetchMore({variables:bn}).then(Hn=>{(Hn.error||Hn.errors)&&this.queryError$.next(this.getRequestErrors(Hn))}))):(this.isFetchMore$.next(!1),this.queryError$.next({}),this.queryRef=this.queryGQL.watch(bn),this.queryRef.valueChanges.pipe((0,ce.t)(this)).subscribe(Hn=>{this.queryResult$.next(Hn),(Hn.error||Hn.errors)&&this.queryError$.next(this.getRequestErrors(Hn))}))}),this.loading$=this.queryResult$.pipe((0,rn.j)("loading"),(0,Ro.x)()),this.connection$=this.queryResult$.pipe((0,rn.j)("data","evidenceItems"),(0,De.h)(Mo.ep)),this.pageInfo$=this.connection$.pipe((0,rn.j)("pageInfo"),(0,De.h)(Mo.ep)),this.row$=(0,vo.a)([this.connection$.pipe((0,rn.j)("edges"),(0,De.h)(Mo.ep),(0,vt.U)(Mt=>Mt.map(bn=>bn.node))),this.onSetSelectedRow$]).pipe((0,vt.U)(([Mt,bn])=>Mt.map(Hn=>{if(Hn)return{...Hn,evidenceItem:{__typename:"EvidenceItem",id:Hn.id,name:Hn.name,link:Hn.link,status:Hn.status},selected:bn.has(Hn.id)}}))),this.col$=new Ge.X(this.tableConfig.get()),this.setPreference$=this.col$.pipe((0,vt.U)(Mt=>this.getColPrefsFromTableConfig(Mt))),this.onPreferenceChange$.pipe((0,it.M)(this.col$),(0,vt.U)(([Mt,bn])=>this.getTableConfigFromColPrefs(Mt,bn)),(0,ce.t)(this)).subscribe(Mt=>{this.col$.next(Mt)}),this.onSetTableFilter$=new Ge.X([]),this.onSetTableFilter$.pipe((0,ce.t)(this)).subscribe(Mt=>{const bn=this.col$.getValue();Mt.forEach(Hn=>{const Ho=bn.find(Zi=>Zi.key===Hn.key);if(void 0!==Ho.filter.inputType){const Zi=Ho.filter.options[0];if(null===Hn.value)return Ho.filter.options=[{...Zi,value:null}],void Ho.filter.changes.next(Hn);if(Array.isArray(Hn.value)&&0===Hn.value.length)return Ho.filter.options=[{...Zi,value:null}],void Ho.filter.changes.next({...Hn,value:null});let tr;Array.isArray(Hn.value)?Hn.value.length>0&&(tr=Hn.value[0]):tr=Hn.value;const Ll=Ho.filter.typename;if(!Ll||!tr)return void console.error(`evidence-manager requires column config '${Ho.key}' provide a typename for cvcTablePrefs Input to set its filter`);const ec=this.getEntityName(Ll,tr);if(!ec)return;Ho.filter.options=[{...Zi,value:ec}],Ho.filter.changes.next({...Hn,value:ec})}else Hi(Ho)&&Ho.filter.changes.next(Hn)})}),this.onSetTablePref$=new Ge.X([]),this.onSetTablePref$.pipe((0,it.M)(this.setPreference$),(0,vt.U)(([Mt,bn])=>{const Hn=[];return Mt.forEach(Ho=>{let Zi=bn.find(tr=>tr.value===Ho.value);Zi?Hn.push({...Zi,...Ho}):console.warn(`evidence-manager onSetTablePref$ received updated preferences for column '${Ho.value}', but a column with that key could not be found.`)}),Hn}),(0,ce.t)(this)).subscribe(Mt=>{this.onPreferenceChange$.next(Mt)}),this.onRowSelected$.pipe((0,it.M)(this.onSetSelectedRow$),(0,ce.t)(this)).subscribe(([Mt,bn])=>{Mt.selected?bn.add(Mt.id):bn.delete(Mt.id),this.onSetSelectedRow$.next(bn),this.cvcSelectedIdsChange.next(Array.from(bn))}),this.onScroll$.pipe((0,vt.U)(Mt=>"stop"!==Mt),(0,Ro.x)(),(0,ce.t)(this)).subscribe(Mt=>{this.isScrolling=Mt,this.cdr.detectChanges()}),this.onScroll$.pipe((0,De.h)(Mt=>"bottom"===Mt),(0,it.M)(this.pageInfo$),(0,vt.U)(([Mt,bn])=>bn),(0,ce.t)(this)).subscribe(Mt=>{Mt.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}ngAfterViewInit(){this.onResetFilter$.pipe((0,it.M)((0,$o.of)(this.tableConfig.get())),(0,ce.t)(this)).subscribe(([y,c])=>{const m=[];c.forEach(j=>{if(Fo(j)&&j.sort.changes&&j.sort.changes.next({key:j.key,value:j.sort.default??null}),Hi(j)){const Be=j.filter.options.find(Mt=>1==Mt.byDefault)?.value;j.filter.changes&&j.filter.changes.next({key:j.key,value:Be||null})}m.push(j)}),this.col$.next(m)})}getQueryVars(y){const c=this.getQueryFilterParams(y);return{...this.getQuerySortParams(y),...c,...y.fetchMore}}getQuerySortParams(y){if(!y.sort)return;const m=y.sort.find(Be=>null!==Be.value);return m?{sortBy:{column:this.getSortColumnFromColKey(m.key),direction:"ascend"===m.value?Nn.SrV.Asc:Nn.SrV.Desc||void 0}}:void 0}getQueryFilterParams(y){let c={};return y.filter&&y.filter.forEach(m=>{c[Fi[m.key]||m.key]=null===m.value||""===m.value?void 0:m.value}),c}getRequestErrors(y){return{query:y.errors,network:y.error}}getTableConfigFromColPrefs(y,c){return c.forEach(m=>{if(Yi.find(Be=>Be===m.key))return;const j=y.find(Be=>Be.value===m.key);j&&(m.hidden=!j?.checked)}),[...c]}getColPrefsFromTableConfig(y){let c=[];return y.forEach(m=>{Yi.find(j=>j===m.key)||c.push({label:m.tooltip||m.label,value:m.key,checked:!m.hidden})}),c}getSortColumnFromColKey(y){return Ji[y]}getEntityName(y,c){const m={id:`${y}:${c}`,fragment:Oo.Ps` + fragment Linkable${y}Entity on ${y} { + id + name + link + }`},j=this.apollo.client.readFragment(m);if(j)return j.name;console.error(`evidence-manager onSetTableFilter$ could not find cached entity ${y}:${c} to populate input filter`)}trackByIndex(y,c){return c?.id}ngOnChanges(y){if(y.cvcTableSettings){const c=y.cvcTableSettings.currentValue;void 0!==c&&this.onSetTableFilter$.next(c.filters)}if(y.cvcSelectedIds){const c=y.cvcSelectedIds.currentValue,m=new Set;void 0!==c&&c.forEach(j=>m.add(j)),this.onSetSelectedRow$.next(m)}}}).\u0275fac=function(y){return new(y||dr)(e.Y36(Nn.EH_),e.Y36(co._M),e.Y36(e.sBO))},dr.\u0275cmp=e.Xpm({type:dr,selectors:[["cvc-evidence-manager"]],inputs:{cvcTableSettings:"cvcTableSettings",cvcSelectedIds:"cvcSelectedIds"},outputs:{cvcSelectedIdsChange:"cvcSelectedIdsChange"},features:[e.TTD],decls:16,vars:27,consts:[["nzSize","small",3,"nzTitle","nzExtra"],["cvcTableScroller","",3,"nzData","cvcTableScrollerQueryRef","cvcTableScrollerPageInfo","cvcTableScrollerToIndex","nzScroll","nzVirtualForTrackBy","nzVirtualItemSize","nzSize","nzFrontPagination","nzShowPagination","nzLoading","cvcTableScrollerOnScroll","cvcTableScrollerOnFetch"],["virtualTable",""],[4,"ngrxLet"],["columnFilterInput",""],["cardTitle",""],["extraTemplate",""],[1,"col-header-row"],[4,"ngFor","ngForOf"],[1,"filter-row"],[4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange",4,"ngIf"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle",4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange"],["nz-tooltip","",1,"col-header-label",3,"nzTooltipTitle"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange",4,"ngIf"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange"],["enumTableFilter",""],[3,"nzDropdownMenu","nzActive"],["enumTagFilterTrigger",""],["nz-icon","","nzType","filter","nzTheme","fill"],["enumFilterMenu","nzDropdownMenu"],[3,"cvcColumnKey","cvcFilterOptions","cvcOption","cvcOptionChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn"],["nz-icon","","nzType","search"],["textTagFilterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],[1,"custom-input-dropdown"],[3,"cvcPlaceholder","cvcModel","cvcModelChange"],["nz-virtual-scroll",""],[1,"data-row"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange",4,"ngIf"],[3,"nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange"],[3,"nzAlign","nzLeft","nzRight"],["entityTagList",""],["entityTag",""],["emptyEntityTagCell",""],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"cvcTagTemplate","cvcTagListConfig"],[3,"cvcCollectionTagConfig","cvcTagTemplate","cvcShowFullLabels"],[3,"cvcTruncateLabel","cvcLinkableEntity","cvcEmphasize","cvcShowPopover","cvcStatus","cvcFullWidth"],[3,"cvcEmptyCategory"],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip",4,"ngIf","ngIfElse"],["emptyEnumTagCell",""],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip"],["cvcDisplayMode","small",3,"cvcEmptyCategory"],["nz-tooltip","","style","width: 100%; cursor: help; color: #595959",3,"nzTooltipTitle",4,"ngIf","ngIfElse"],["emptyTextTagCell",""],["nz-tooltip","",2,"width","100%","cursor","help","color","#595959",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left","nzTheme","outline"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","nzFilterChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"],[3,"nzGutter"],["nzFlex","auto"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],[3,"cvcTableCountsConnection"],["nzFlex","35px"],["nz-button","","type","button","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-button","","nz-popover","","nzPopoverTitle","Visible Columns","type","button","nzType","default","nzSize","small",3,"nzPopoverContent","nzPopoverTrigger"],["nz-icon","","nzType","setting","nzTheme","outline"],["prefsPopover",""],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""],["nzColor","error","style","margin-left: 12px",4,"ngIf"],["queryError",""],["nzColor","error",2,"margin-left","12px"],["nz-icon","","nzType","question-circle","nzTheme","outline"],["nz-tooltip","",2,"cursor","help",3,"nzTooltipTitle","nzTooltipTitleContext"],["nz-typography",""],[1,"prefs-popover"],[3,"ngModel","ngModelChange"]],template:function(y,c){if(1&y&&(e.TgZ(0,"nz-card",0)(1,"nz-table",1,2),e.NdJ("cvcTableScrollerOnScroll",function(j){return c.onScroll$.next(j)})("cvcTableScrollerOnFetch",function(j){return c.onFetchMore$.next(j)}),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.YNc(8,Yc,5,2,"thead",3),e.YNc(9,me,2,0,"tbody",3),e.qZA()(),e.YNc(10,Qo,3,2,"ng-template",null,4,e.W1O),e.YNc(12,Vo,4,2,"ng-template",null,5,e.W1O),e.YNc(14,wr,19,13,"ng-template",null,6,e.W1O)),2&y){const m=e.MAs(13),j=e.MAs(15);e.Q6J("nzTitle",m)("nzExtra",j),e.xp6(1),e.Q6J("nzData",e.lcZ(3,15,c.row$)||e.DdM(25,sr))("cvcTableScrollerQueryRef",c.queryRef)("cvcTableScrollerPageInfo",e.lcZ(4,17,c.pageInfo$))("cvcTableScrollerToIndex",e.lcZ(5,19,c.scrollToIndex$))("nzScroll",e.DdM(26,Ta))("nzVirtualForTrackBy",c.trackByIndex)("nzVirtualItemSize",28)("nzSize","small")("nzFrontPagination",!1)("nzShowPagination",!1)("nzLoading",e.lcZ(6,21,c.loading$)&&!e.lcZ(7,23,c.isFetchMore$)),e.xp6(7),e.Q6J("ngrxLet",c.col$),e.xp6(1),e.Q6J("ngrxLet",c.col$)}},dependencies:[M.sg,M.O5,M.tP,ye,Le.P,os,sn,xo.J,Ee.H,he,t.Fj,t.JJ,t.On,F.eJ,On.ix,On.fY,yo.w,Xo.dQ,Gn.bd,Yt.ub,Fn.RR,R.t3,R.SK,Re.Ls,Pe.Zp,Pe.gB,Pe.ke,Bn._V,Bn.Rb,Wn.lU,Ln.N8,Ln.qD,Ln.Uo,Ln._C,Ln.h7,Ln.Om,Ln.p0,Ln.$Z,Ln.zu,Ln.qn,Ln.Ql,Ln.UX,Ln.g6,Wt.j,Xe.SY,ge.ZU,_i,Ys,Jr,Rr,J.Do,or,F.fM],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-left:6px}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type cvc-entity-tag[_ngcontent-%COMP%]{margin-left:6px}.ant-table-filter-dropdown[_ngcontent-%COMP%]{padding:8px}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label{display:block}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label span{display:inline-block}"],changeDetection:0}),dr);Pr=(0,te.gn)([(0,ce.c)()],Pr);const fs=["optionTemplates"];function rc(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-col",9)(1,"cvc-evidence-manager",10),e.NdJ("cvcSelectedIdsChange",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onPopulate$.next(j))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.qZA()()}if(2&u){const c=e.oxw();e.xp6(1),e.Q6J("cvcSelectedIds",e.lcZ(2,2,c.onEid$))("cvcTableSettings",e.lcZ(3,4,c.tableSettingsChange$))}}function Bl(u,y){if(1&u&&e._UZ(0,"cvc-entity-tag",13),2&u){const c=e.oxw().$implicit,m=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",m)}}function sc(u,y){1&u&&(e.ynx(0),e.YNc(1,Bl,1,3,"ng-template",null,12,e.W1O),e.BQk())}function Ur(u,y){if(1&u&&(e.ynx(0),e.YNc(1,sc,3,0,"ng-container",11),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function wn(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",14)(1,"cvc-entity-tag",15),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","EvidenceItem:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const Bo=function(){return[6,6]},$c=function(u,y){return{show:u,hide:y}},Zs=Lt(_n(),oi());let Ei=(()=>{class u extends Zs{constructor(c,m,j,Be){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.apollo=Be,this.synchronizedFields$=[],this.synchronizedRequired$=[],this.defaultOptions={props:{label:"Evidence Items",placeholder:"Select Evidence Items",isMultiSelect:!0,description:"Select Evidence by ID, or use the manager to select with filtering",entityName:{singular:"Evidence Item",plural:"Evidence Items"},minSearchStrLength:1}},this.synchronizedFieldToColMap=new Map([["molecularProfileId","molecularProfile"],["diseaseId","disease"],["therapyIds","therapies"]]),this.requiredFieldToColMap=new Map([["disease","requiresDisease$"],["therapies","requiresTherapy$"]]),this.onEid$=new bo.t,this.onShowMgrClick$=new st.x,this.showMgr$=this.onShowMgrClick$.pipe((0,ho.R)((Mt,bn)=>!Mt,!1))}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.onEid$.pipe((0,ce.t)(this)).subscribe(),this.onEid$.next(this.formControl.value),this.onValueChange$.pipe((0,it.M)(this.onEid$),(0,ce.t)(this)).subscribe(([c,m])=>{Array.isArray(c)&&this.onEid$.next(c)})}configureStateConnections(){this.state&&(this.synchronizedFieldToColMap.forEach((c,m)=>{const j=this.state.fields[`${m}$`];j&&this.synchronizedFields$.push(j.pipe((0,vt.U)(Be=>({key:m,value:Be??null}))))}),this.requiredFieldToColMap.forEach((c,m)=>{const j=this.state.requires[c];j&&this.synchronizedRequired$.push(j.pipe((0,vt.U)(Be=>({key:m,required:Be}))))}),this.onFieldsChange$=(0,vo.a)(this.synchronizedFields$).pipe((0,vt.U)(c=>{const m=[];return c.forEach(j=>{const Be=this.synchronizedFieldToColMap.get(j.key);Be&&m.push({key:Be,value:j.value})}),m})),this.onRequiredChange$=(0,vo.a)(this.synchronizedRequired$).pipe((0,vt.U)(c=>{const m=[];return c.forEach(j=>{m.push({value:j.key,checked:j.required})}),m})),this.tableSettingsChange$=(0,vo.a)([this.onFieldsChange$,this.onRequiredChange$]).pipe((0,vt.U)(([c,m])=>({filters:c,preferences:m})),(0,eo.b)(100),(0,wi.d)(1)))}getTypeaheadVarsFn(c,m){return{eid:+c.replace(/EID/i,"")}}getTypeaheadResultsFn(c){return c.data.evidenceItems.nodes}getTagQueryVarsFn(c){return{eid:c}}getTagQueryResultsFn(c){return c.data.evidenceItem}getSelectedItemOptionFn(c){return{value:c.id,label:`EID${c.id}`}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||`EID${j.id}`,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.olA),e.Y36(Nn.EFm),e.Y36(e.sBO),e.Y36(co._M))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-evidence-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(fs,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:18,vars:36,consts:[[3,"nzGutter"],["nzFlex","auto"],[3,"cvcSelectMode","cvcMinSearchStrLength","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcSelectOpen","cvcOnSearch","cvcOnOpenChange","cvcSelectComponent","cvcOnModelChange"],["nzFlex","50px"],["type","button","nz-button","","nzBlock","",1,"manager-button",3,"click"],["nz-icon","",3,"ngClass","nzType"],["nzSpan","24","class","manager-drawer",4,"ngIf"],[4,"ngrxLet"],["selectedTemplate",""],["nzSpan","24",1,"manager-drawer"],[3,"cvcSelectedIds","cvcTableSettings","cvcSelectedIdsChange"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"cvc-entity-select",2),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcSelectComponent",function(Be){return m.selectComponent=Be})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.qZA()(),e.TgZ(7,"nz-col",3)(8,"button",4),e.NdJ("click",function(){return m.onShowMgrClick$.next()}),e._UZ(9,"span",5),e.ALo(10,"ngrxPush"),e.ALo(11,"ngrxPush"),e._uU(12," Manager "),e.qZA()(),e.YNc(13,rc,4,6,"nz-col",6),e.ALo(14,"ngrxPush"),e.qZA(),e.YNc(15,Ur,3,3,"ng-container",7),e.YNc(16,wn,2,3,"ng-template",null,8,e.W1O)),2&c){const j=e.MAs(17);e.Q6J("nzGutter",e.DdM(32,Bo)),e.xp6(2),e.Q6J("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcMinSearchStrLength",m.props.minSearchStrLength)("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",m.props.placeholder)("cvcResults",e.lcZ(3,18,m.result$))("cvcOptions",e.lcZ(4,20,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled)("cvcLoading",e.lcZ(5,22,m.isLoading$))("cvcSelectOpen",e.lcZ(6,24,m.selectOpen$)),e.xp6(7),e.Q6J("ngClass",e.WLB(33,$c,e.lcZ(10,26,m.showMgr$),!e.lcZ(11,28,m.showMgr$)))("nzType","caret-right"),e.xp6(4),e.Q6J("ngIf",e.lcZ(14,30,m.showMgr$)),e.xp6(2),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.mk,M.sg,M.O5,Kn,xo.J,F.eJ,On.ix,yo.w,Xo.dQ,R.t3,R.SK,Re.Ls,Pr,F.fM],styles:[".manager-button[_ngcontent-%COMP%] span.hide[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .2s linear}.manager-button[_ngcontent-%COMP%] span.show[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .2s linear}"],changeDetection:0}),u})();var rs=a(3517);let Ir=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Re.PV,Wt.X,Xe.cg,ge.ZJ,It.s,Te.x]}),u})(),mr=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Wt.X,ge.ZJ,Wn.$6,Re.PV,Xe.cg,It.s,Ir]}),u})();const Ma={types:[{name:"evidence-select",wrappers:["form-field"],component:Ei},{name:"evidence-multi-select",wrappers:["form-field"],component:Ei,defaultOptions:{props:{label:"Evidence Items",isMultiSelect:!0}}}]};let Uc=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,$e,rs.M,mr,Kt,Ir,Te.x,dn.y,It.s,En,v.X0.forChild(Ma),t.u5,On.sL,Gn.vh,Yt.Wr,Fn.b1,s.U5,R.Jb,Re.PV,Pe.o7,Bn.Zf,Wn.$6,Ln.HQ,Wt.X,Xe.cg,ge.ZJ]}),u})();const ba=["optionTemplates"];function Ed(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",9),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c.geneAliases.join(", "))("innerHtml",e.xi3(3,2,c.geneAliases.join(", "),m),e.oJD)}}function Hl(u,y){1&u&&e._uU(0,"--")}function ar(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",5),e.TgZ(1,"span",6),e.YNc(2,Ed,4,5,"ng-container",7),e.YNc(3,Hl,1,0,"ng-template",null,8,e.W1O),e.qZA()),2&u){const c=e.MAs(4),m=e.oxw().$implicit,j=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",m.__typename+":"+m.id)("cvcEmphasize",j),e.xp6(2),e.Q6J("ngIf",m.geneAliases.length>0)("ngIfElse",c)}}function Xr(u,y){1&u&&(e.ynx(0),e.YNc(1,ar,5,5,"ng-template",null,4,e.W1O),e.BQk())}function Ks(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Xr,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Ps(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",10)(1,"cvc-entity-tag",11),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Gene:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const es=Lt(_n(),oi());let Gc=(()=>{class u extends es{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.defaultOptions={props:{label:"Gene",placeholder:"Search Genes",isMultiSelect:!1,entityName:{singular:"Gene",plural:"Genes"},description:"Entrez Gene Symbol"}}}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent})}getTypeaheadVarsFn(c){return{entrezSymbol:c}}getTypeaheadResultsFn(c){return c.data.geneTypeahead}getTagQueryVarsFn(c){return{geneId:c}}getTagQueryResultsFn(c){return c.data.gene}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.czh),e.Y36(Nn.HwR),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-gene-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(ba,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:7,vars:17,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcPlaceholder","cvcEntityName","cvcResults","cvcOptions","cvcShowError","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcSelectComponent","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf","ngIfElse"],["noAliases",""],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcSelectComponent",function(Be){return m.selectComponent=Be})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.qZA(),e.YNc(4,Ks,3,3,"ng-container",1),e.YNc(5,Ps,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(6);e.Q6J("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcPlaceholder",m.props.placeholder)("cvcEntityName",m.props.entityName)("cvcResults",e.lcZ(1,11,m.result$))("cvcOptions",e.lcZ(2,13,m.selectOption$))("cvcShowError",m.showError)("cvcLoading",e.lcZ(3,15,m.isLoading$)),e.xp6(4),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,F.eJ,Xe.SY,ge.ZU,Kn,xo.J,F.fM,I.A],changeDetection:0}),u})();const Qc={types:[{name:"gene-select",wrappers:["form-field"],component:Gc},{name:"gene-multi-select",wrappers:["form-field"],component:Gc,defaultOptions:{props:{label:"Genes",isMultiSelect:!0}}}]};let Yl=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(Qc),yt.L,On.sL,We.LV,Re.PV,Pe.o7,Xe.cg,s.U5,B.ic,ge.ZJ,Wt.X,je,Kt,It.s,Te.x]}),u})();const $l=["optionTemplates"];function ac(u,y){if(1&u&&e._UZ(0,"cvc-attribute-tag",4),2&u){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function cc(u,y){1&u&&(e.ynx(0),e.YNc(1,ac,1,1,"ng-template",null,3,e.W1O),e.BQk())}function Sa(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onTagClose$.next(j))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const Ea={COMBINATION:"Therapies specified were used as part of a combination therapy approach",SEQUENTIAL:"Therapies specified were used at separate timepoints in the same treatment plan",SUBSTITUTES:"Therapies specified are often considered to be of the same family, or behave similarly in a treatment setting"},jc=Lt(_n(),lt()),Zc={types:[{name:"interaction-select",wrappers:["form-field"],component:(()=>{class u extends jc{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"Therapy Interaction",placeholder:"Select Therapy Interaction",requireMultipleTherapies:!0,requireMultipleTherapiesPromptFn:()=>"A single associated therapy does not have an Interaction type",tooltip:"Characterizes the interaction of a multi-therapy treatment",extraType:"prompt"}},this.interactionEnum$=new Ge.X([]),this.placeholder$=new Ge.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.interactionEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){if(!this.state)return console.error(`${this.field.id} requires a form state to populate its options, none was found.`),void this.placeholder$.next("ERROR: Form state not found");this.placeholder$.next(this.props.placeholder),this.state.enums.interaction$?(this.state.enums.interaction$.pipe((0,ce.t)(this)).subscribe(c=>{this.interactionEnum$.next(c)}),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(c=>c.map(m=>m))),this.onTherapies$=this.state.fields.therapyIds$,this.optionTemplates||console.warn(`${this.field.id} could not find state's fields.therapyIds$ to handle its required & disabled states.`),this.onTherapies$.pipe((0,ce.t)(this)).subscribe(c=>{c&&0!=c.length?1==c.length?(this.props.description="A single associated therapy does not have an Interaction type",this.props.disabled=!0,this.props.required=!1,void 0!==this.formControl.value&&this.formControl.setValue(void 0)):(this.props.description="Select an Interaction Type",this.props.disabled=!1,this.props.required=!0):(this.props.disabled=!0,this.props.required=!1,this.props.description="Interaction type is not applicable when no therapies are selected.",void 0!==this.formControl.value&&this.formControl.setValue(void 0)),this.cdr.markForCheck()}),this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{c?(this.props.description=Ea[c],this.props.extraType="description"):this.props.extraType="prompt"})):console.error(`${this.field.id} could not find form state's interaction$ to populate select.`)}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-interaction-select"]],viewQuery:function(c,m){if(1&c&&e.Gf($l,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,cc,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,Sa,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(6);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,m.placeholder$))("cvcCustomTemplate",j)("cvcOptions",e.lcZ(2,11,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,m.interactionEnum$))}},dependencies:[M.sg,Ke,ye,F.fM]}),u})()}]};let lc=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(Zc),je,He,$e]}),u})();var Ul=a(8004);const Gl=["optionTemplates"];function Ql(u,y){if(1&u&&(e.TgZ(0,"nz-tag")(1,"strong"),e._uU(2),e.qZA(),e._uU(3),e.ALo(4,"enumTooltip"),e.qZA()),2&u){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c),e.xp6(1),e.hij(" - ",e.xi3(4,2,c,"evidenceLevelBrief")," ")}}function Kc(u,y){1&u&&(e.ynx(0),e.YNc(1,Ql,5,5,"ng-template",null,3,e.W1O),e.BQk())}function H(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-tag",7),e.NdJ("nzOnClose",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.onTagClose$.next(j))}),e.TgZ(1,"strong"),e._uU(2),e.qZA(),e._uU(3),e.ALo(4,"enumTooltip"),e.qZA()}if(2&u){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c.nzValue),e.xp6(1),e.hij(" - ",e.xi3(4,2,c.nzValue,"evidenceLevelBrief")," ")}}function ee(u,y){if(1&u&&(e.ynx(0),e._uU(1),e.ALo(2,"enumTooltip"),e.BQk()),2&u){const c=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,c.nzValue,"evidenceLevelBrief")," ")}}function D(u,y){if(1&u&&(e.TgZ(0,"div",4),e.YNc(1,H,5,5,"nz-tag",5),e.YNc(2,ee,3,4,"ng-container",6),e.qZA()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!c.props.isMultiSelect),e.xp6(1),e.Q6J("ngIf",c.props.isMultiSelect)}}const ue=new Map([[Nn.Sx0.A,"Evidence shows consensus association in human medicine"],[Nn.Sx0.B,"Evidence supports association using clinical trial or other primary patient data"],[Nn.Sx0.C,"Evidence supports association using individual case reports from clinical journals"],[Nn.Sx0.D,"Evidence supports association using in vivo or in vitro models"],[Nn.Sx0.E,"Evidential association is inferential or indirect"]]),Fe=Lt(_n(),lt());let ht=(()=>{class u extends Fe{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"Evidence Level",required:!1,isMultiSelect:!1,placeholder:"Select Evidence Level"}},this.levelEnum$=new Ge.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.levelEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){this.props.tooltip="Type of study performed to produce the evidence statement",this.placeholder$=new Ge.X(this.props.placeholder),this.levelEnum$.next((0,So.o6)(Nn.Sx0).map(c=>c)),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(c=>c.map(m=>m))),this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{this.props.description=c?ue.get(c):void 0})}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-level-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(Gl,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[1,"ant-select-selection-item-content"],["nzMode","closeable",3,"nzOnClose",4,"ngIf"],[4,"ngIf"],["nzMode","closeable",3,"nzOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,Kc,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,D,3,2,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(6);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,m.placeholder$))("cvcCustomTemplate",j)("cvcOptions",e.lcZ(2,11,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,m.levelEnum$))}},dependencies:[M.sg,M.O5,Wt.j,Ke,F.fM,Ul.v]}),u})();const gt={types:[{name:"level-select",wrappers:["form-field"],component:ht},{name:"level-multi-select",wrappers:["form-field"],component:ht,defaultOptions:{props:{label:"Levels",isMultiSelect:!0}}}]};let an=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(gt),Wt.X,It.s,je,He]}),u})();var no,An=a(6928);let so=((no=class{constructor(y){this.el=y,this.domChange=new e.vpe,this.changes=new MutationObserver(c=>{(0,Eo.D)(c).pipe((0,vt.U)(m=>{const j=m.target;return"class"===m.attributeName?{type:"class",change:j.classList.value,key:`${m.attributeName}:${j.classList.value}`}:"disabled"===m.attributeName?{type:"disabled",change:j.disabled,key:`${m.attributeName}:${j.disabled}`}:"hidden"===m.attributeName?{type:"hidden",change:j.hidden,key:`${m.attributeName}:${j.hidden}`}:{type:m.attributeName,change:"unknown change type",key:`${m.attributeName}:unknown-change-type`}}),(0,G.g)("key"),(0,ce.t)(this)).subscribe(m=>{this.domChange.emit(m)})}),this.changes.observe(this.el.nativeElement,{attributeFilter:["class","disabled","hidden"],attributes:!0,childList:!1,subtree:!1})}ngAfterViewInit(){this.initialClass=this.el.nativeElement.classList.value}ngOnDestroy(){this.changes.disconnect()}}).\u0275fac=function(y){return new(y||no)(e.Y36(e.SBq))},no.\u0275dir=e.lG2({type:no,selectors:[["button","cvcOrgSubmitButton",""]],outputs:{domChange:"domChange"}}),no);so=(0,te.gn)([(0,ce.c)()],so);var li,jo=a(951);function Js(u,y){if(1&u&&(e.TgZ(0,"button",3),e._uU(1),e.qZA()),2&u){const c=e.oxw();e.Q6J("disabled",!c.form.valid),e.xp6(1),e.hij(" ",c.props.submitLabel," ")}}function Gr(u,y){1&u&&e.GkF(0)}function Qr(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Gr,1,0,"ng-container",7),e.BQk()),2&u){e.oxw(2);const c=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function Ui(u,y){1&u&&e.GkF(0)}function Ar(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"nz-avatar",11),e.BQk()),2&u){const c=y.ngrxLet,m=e.oxw(2).ngIf;e.xp6(1),e.Q6J("nzSrc",c?c.profileImagePath:m[0].profileImagePath)("nzSize",16)("nzShape","square")}}function s1(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"nz-button-group"),e.YNc(2,Ui,1,0,"ng-container",7),e.TgZ(3,"button",8),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.TgZ(7,"span"),e._uU(8,"for"),e.qZA(),e.YNc(9,Ar,2,3,"ng-container",9),e._UZ(10,"i",10),e.qZA()(),e.BQk()),2&u){e.oxw();const c=e.MAs(4),m=e.oxw(),j=e.MAs(2);e.xp6(2),e.Q6J("ngTemplateOutlet",j),e.xp6(1),e.Q6J("ngClass",e.lcZ(4,6,m.buttonClass$))("hidden",e.lcZ(5,8,m.isHidden$))("disabled",e.lcZ(6,10,m.isDisabled$))("nzDropdownMenu",c),e.xp6(6),e.Q6J("ngrxLet",m.mostRecentOrg$)}}function a1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"li",12),e.NdJ("click",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw(2);return e.KtG(Mt.menuSelection$.next(Be.id))}),e._UZ(1,"nz-avatar",11),e._uU(2),e.qZA()}if(2&u){const c=y.$implicit;e.xp6(1),e.Q6J("nzSrc",null==c?null:c.profileImagePath)("nzSize",10)("nzShape","square"),e.xp6(1),e.hij(" ",c.name," ")}}function c1(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Qr,2,1,"ng-container",2),e.YNc(2,s1,11,12,"ng-container",2),e.TgZ(3,"nz-dropdown-menu",null,4)(5,"ul",5),e.YNc(6,a1,3,4,"li",6),e.qZA()(),e.BQk()),2&u){const c=y.ngIf;e.xp6(1),e.Q6J("ngIf",c.length<=1),e.xp6(1),e.Q6J("ngIf",c.length>1),e.xp6(4),e.Q6J("ngForOf",c)}}let Is=((li=class extends v.fS{constructor(y,c,m){super(),this.viewerService=y,this.cdr=c,this.apollo=m,this.menuSelection$=new st.x,this.baseButtonClass="org-dropdown-btn",this.defaultOptions={props:{submitLabel:"Submit"}},this.viewer$=this.viewerService.viewer$,this.organizations$=this.viewer$.pipe((0,rn.j)("organizations")),this.mostRecentOrg$=this.viewer$.pipe((0,rn.j)("mostRecentOrg")),this.isDisabled$=new st.x,this.isHidden$=new st.x,this.buttonClass$=new Ge.X(this.baseButtonClass),this.subscriptions=[]}ngOnInit(){this.menuSelection$.pipe((0,it.M)(this.viewer$)).subscribe(([j,Be])=>{const Mt={id:`User:${Be.id}`,fragment:co.Ps` + fragment UserMostRecentOrgId on User { + mostRecentOrganizationId + } + `,data:{mostRecentOrganizationId:j}};this.apollo.client.writeFragment(Mt)}),this.formUpdate$=new Ge.X(this.form.status);const y=this.form.statusChanges.subscribe(j=>this.formUpdate$.next(j)),c=this.formUpdate$.subscribe(j=>this.cdr.detectChanges()),m=this.mostRecentOrg$.pipe((0,rn.j)("id"),(0,De.h)(Mo.ep)).subscribe(j=>{this.formControl.setValue(j)});this.subscriptions=this.subscriptions.concat([y,c,m])}ngAfterViewInit(){if(this.button&&this.button.domChange){const y=this.button.domChange.subscribe(c=>{"class"===c.type&&"string"==typeof c.change?this.buttonClass$.next(`${this.baseButtonClass} ${c.change}`):"disabled"===c.type&&"boolean"==typeof c.change?this.isDisabled$.next(c.change):"hidden"===c.type&&"boolean"==typeof c.change&&this.isHidden$.next(c.change)});this.subscriptions.push(y)}}}).\u0275fac=function(y){return new(y||li)(e.Y36(jo.a),e.Y36(e.sBO),e.Y36(co._M))},li.\u0275cmp=e.Xpm({type:li,selectors:[["cvc-org-submit-button"]],viewQuery:function(y,c){if(1&y&&e.Gf(so,5),2&y){let m;e.iGM(m=e.CRH())&&(c.button=m.first)}},features:[e.qOj],decls:5,vars:5,consts:[["type","hidden",3,"formControl","formlyAttributes"],["submitButton",""],[4,"ngIf"],["cvcOrgSubmitButton","","type","submit","nz-button","","nzType","primary",3,"disabled","nzDanger"],["orgMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],["type","button","nz-button","","nz-dropdown","","nzTrigger","click",3,"ngClass","hidden","disabled","nzDropdownMenu"],[4,"ngrxLet"],["nz-icon","","nzType","down"],[3,"nzSrc","nzSize","nzShape"],["nz-menu-item","",3,"click"]],template:function(y,c){1&y&&(e._UZ(0,"input",0),e.YNc(1,Js,2,2,"ng-template",null,1,e.W1O),e.YNc(3,c1,7,3,"ng-container",2),e.ALo(4,"ngrxPush")),2&y&&(e.Q6J("formControl",c.formControl)("formlyAttributes",c.field),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,3,c.organizations$)))},dependencies:[M.mk,M.sg,M.O5,M.tP,t.Fj,t.JJ,t.oH,F.eJ,v.JD,Re.Ls,An.Dz,On.ix,On.fY,yo.w,Xo.dQ,zr.wO,zr.r9,Fn.cm,Fn.RR,Fn.wA,so,F.fM],styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:first-child:not(:last-child){border-right-color:#ff4d4f}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:hover, [_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:focus{border-right-color:#fd7978}.org-dropdown-btn[_ngcontent-%COMP%] nz-avatar[_ngcontent-%COMP%]{margin:-2px 6px 0;border:1px solid rgba(255,255,255,.3);background-color:#ffffffe6}.org-dropdown-btn.ant-btn-dangerous[_ngcontent-%COMP%]:last-child:not(:first-child), .org-dropdown-btn[_ngcontent-%COMP%] .ant-btn-dangerous[_ngcontent-%COMP%] + .ant-btn-dangerous[_ngcontent-%COMP%]{border-left-color:#fd7978}"],changeDetection:0}),li);Is=(0,te.gn)([(0,ce.c)({arrayName:"subscriptions"})],Is);const xa={types:[{name:"org-submit-button",component:Is}]};let Jc=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(xa),Re.PV,An.Rt,On.sL,Fn.b1]}),u})();const ap=["optionTemplates"];function jl(u,y){if(1&u&&e._UZ(0,"cvc-attribute-tag",4),2&u){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function l1(u,y){1&u&&(e.ynx(0),e.YNc(1,jl,1,1,"ng-template",null,3,e.W1O),e.BQk())}function xd(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onTagClose$.next(j))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const uc=new Map([[Nn.huM.Somatic,"Variant is a mutation, found only in tumor cells, having arisen in a specific tissue (non-germ cell), and is not expected to be inherited or passed to offspring."],[Nn.huM.RareGermline,"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in less than 1% of the population relevant to this evidence item."],[Nn.huM.CommonGermline,"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in at least 1% of the population relevant to this evidence item."],[Nn.huM.Combined," Variants in the corresponding Complex Molecular Profile have heterogeneous origins."],[Nn.huM.Unknown,"The variant origin is uncertain based on the available evidence."],[Nn.huM.Na,"The variant type (e.g., expression) is not compatible (or easily classified) with the CIViC concept of variant origin."]]),Dd=Lt(_n(),lt());let u1=(()=>{class u extends Dd{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"Variant Origin",required:!1,isMultiSelect:!1,placeholder:"Select Variant Origin",tooltip:"Identifies whether the variant is inherited (germline mutation) or acquired (somatic mutation) in the context of the study"}},this.originEnum$=new Ge.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.originEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr}),this.originEnum$.next(Array.from(uc.keys()))}configureStateConnections(){this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(c=>c.map(m=>m))),this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{this.props.description=c?uc.get(c):void 0})}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-origin-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(ap,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:6,vars:13,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.YNc(2,l1,3,0,"ng-container",1),e.ALo(3,"ngrxPush"),e.YNc(4,xd,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(5);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",m.props.placeholder)("cvcCustomTemplate",j)("cvcOptions",e.lcZ(1,9,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(2),e.Q6J("ngForOf",e.lcZ(3,11,m.originEnum$))}},dependencies:[M.sg,Ke,ye,F.fM]}),u})();const Wl={types:[{name:"origin-select",wrappers:["form-field"],component:u1},{name:"origin-multi-select",wrappers:["form-field"],component:u1,defaultOptions:{props:{label:"Variant Origins",isMultiSelect:!0}}}]};let dc=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(Wl),je,He,$e]}),u})();const Zl=["optionTemplates"];function As(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",8),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(2),e.Q6J("innerHtml",e.xi3(3,1,c.hpoId,m),e.oJD)}}function pc(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",5),e.TgZ(1,"span",6),e.YNc(2,As,4,4,"ng-container",7),e.qZA()),2&u){const c=e.oxw().$implicit,m=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",m),e.xp6(2),e.Q6J("ngIf",c.hpoId)}}function hc(u,y){1&u&&(e.ynx(0),e.YNc(1,pc,3,4,"ng-template",null,4,e.W1O),e.BQk())}function d1(u,y){if(1&u&&(e.ynx(0),e.YNc(1,hc,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Kl(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",9)(1,"cvc-entity-tag",10),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Phenotype:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const Jl=Lt(_n(),oi());let ql=(()=>{class u extends Jl{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.defaultOptions={props:{entityName:{singular:"Phenotype",plural:"Phenotypes"},isMultiSelect:!1,requireType:!0,tooltip:"Phenotype or phenotype combination which interacts with the specified variant",placeholders:{default:"Search Phenotypes",multiDefault:"Select Phenotype(s) (max MULTI_MAX)",requireTypePrompt:"Select an ENTITY_NAME Type to search Phenotypes"},description:'Please provide any HPO phenotypes, including age of onset.',extraType:"description"}},this.placeholder$=new Ge.X(this.defaultOptions.props.placeholders.default)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){}configurePlaceholders(){}getTypeaheadVarsFn(c){return{name:c}}getTypeaheadResultsFn(c){return c.data.phenotypeTypeahead}getTagQueryVarsFn(c){return{id:c}}getTagQueryResultsFn(c){return c.data.phenotype}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.zOE),e.Y36(Nn.z_7),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-phenotype-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(Zl,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:9,vars:22,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.qZA(),e.YNc(6,d1,3,3,"ng-container",1),e.YNc(7,Kl,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(8);e.Q6J("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",e.lcZ(1,12,m.placeholder$))("cvcResults",e.lcZ(2,14,m.result$))("cvcOptions",e.lcZ(3,16,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.onRequiresPhenotype$&&!e.lcZ(4,18,m.onRequiresPhenotype$))("cvcLoading",e.lcZ(5,20,m.isLoading$)),e.xp6(6),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,F.eJ,ge.ZU,Kn,xo.J,F.fM,I.A],changeDetection:0}),u})();const ts={types:[{name:"phenotype-select",wrappers:["form-field"],component:ql,defaultOptions:{props:{label:"Phenotype"}}},{name:"phenotype-multi-select",wrappers:["form-field"],component:ql,defaultOptions:{props:{isMultiSelect:!0,label:"Phenotypes"}}}]};let Od=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(ts),yt.L,On.sL,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,Wt.X,je,Kt,It.s,Te.x]}),u})();var fc=a(6028),Da=a(2438),Fs=a(9773),qs=a(874),mc=a(9087),Oa=a(7754),Xl=a(9388);const p1=["nz-rate-item",""];function eu(u,y){}function tu(u,y){}function gc(u,y){1&u&&e._UZ(0,"span",4)}const Xs=function(u){return{$implicit:u}},ms=["ulElement"];function h1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"li",3)(1,"div",4),e.NdJ("itemHover",function(j){const Mt=e.CHM(c).index,bn=e.oxw();return e.KtG(bn.onItemHover(Mt,j))})("itemClick",function(j){const Mt=e.CHM(c).index,bn=e.oxw();return e.KtG(bn.onItemClick(Mt,j))}),e.qZA()()}if(2&u){const c=y.index,m=e.oxw();e.Q6J("ngClass",m.starStyleArray[c]||"")("nzTooltipTitle",m.nzTooltips[c]),e.xp6(1),e.Q6J("allowHalf",m.nzAllowHalf)("character",m.nzCharacter)("index",c)}}let nu=(()=>{class u{constructor(){this.index=0,this.allowHalf=!1,this.itemHover=new e.vpe,this.itemClick=new e.vpe}hoverRate(c){this.itemHover.next(c&&this.allowHalf)}clickRate(c){this.itemClick.next(c&&this.allowHalf)}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["","nz-rate-item",""]],inputs:{character:"character",index:"index",allowHalf:"allowHalf"},outputs:{itemHover:"itemHover",itemClick:"itemClick"},exportAs:["nzRateItem"],attrs:p1,decls:6,vars:8,consts:[[1,"ant-rate-star-second",3,"mouseover","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-rate-star-first",3,"mouseover","click"],["defaultCharacter",""],["nz-icon","","nzType","star","nzTheme","fill"]],template:function(c,m){if(1&c&&(e.TgZ(0,"div",0),e.NdJ("mouseover",function(Be){return m.hoverRate(!1),Be.stopPropagation()})("click",function(){return m.clickRate(!1)}),e.YNc(1,eu,0,0,"ng-template",1),e.qZA(),e.TgZ(2,"div",2),e.NdJ("mouseover",function(Be){return m.hoverRate(!0),Be.stopPropagation()})("click",function(){return m.clickRate(!0)}),e.YNc(3,tu,0,0,"ng-template",1),e.qZA(),e.YNc(4,gc,1,0,"ng-template",null,3,e.W1O)),2&c){const j=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",m.character||j)("ngTemplateOutletContext",e.VKq(4,Xs,m.index)),e.xp6(2),e.Q6J("ngTemplateOutlet",m.character||j)("ngTemplateOutletContext",e.VKq(6,Xs,m.index))}},dependencies:[M.tP,Re.Ls],encapsulation:2,changeDetection:0}),(0,te.gn)([(0,Oa.yF)()],u.prototype,"allowHalf",void 0),u})(),ea=(()=>{class u{get nzValue(){return this._value}set nzValue(c){this._value!==c&&(this._value=c,this.hasHalf=!Number.isInteger(c),this.hoverValue=Math.ceil(c))}constructor(c,m,j,Be,Mt,bn){this.nzConfigService=c,this.ngZone=m,this.renderer=j,this.cdr=Be,this.directionality=Mt,this.destroy$=bn,this._nzModuleName="rate",this.nzAllowClear=!0,this.nzAllowHalf=!1,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzCount=5,this.nzTooltips=[],this.nzOnBlur=new e.vpe,this.nzOnFocus=new e.vpe,this.nzOnHoverChange=new e.vpe,this.nzOnKeyDown=new e.vpe,this.classMap={},this.starArray=[],this.starStyleArray=[],this.dir="ltr",this.hasHalf=!1,this.hoverValue=0,this.isFocused=!1,this._value=0,this.isNzDisableFirstChange=!0,this.onChange=()=>null,this.onTouched=()=>null}ngOnChanges(c){const{nzAutoFocus:m,nzCount:j,nzValue:Be}=c;if(m&&!m.isFirstChange()){const Mt=this.ulElement.nativeElement;this.nzAutoFocus&&!this.nzDisabled?this.renderer.setAttribute(Mt,"autofocus","autofocus"):this.renderer.removeAttribute(Mt,"autofocus")}j&&this.updateStarArray(),Be&&this.updateStarStyle()}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent("rate").pipe((0,Fs.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change.pipe((0,Fs.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,Da.R)(this.ulElement.nativeElement,"focus").pipe((0,Fs.R)(this.destroy$)).subscribe(c=>{this.isFocused=!0,this.nzOnFocus.observers.length&&this.ngZone.run(()=>this.nzOnFocus.emit(c))}),(0,Da.R)(this.ulElement.nativeElement,"blur").pipe((0,Fs.R)(this.destroy$)).subscribe(c=>{this.isFocused=!1,this.nzOnBlur.observers.length&&this.ngZone.run(()=>this.nzOnBlur.emit(c))})})}onItemClick(c,m){if(this.nzDisabled)return;this.hoverValue=c+1;const j=m?c+.5:c+1;this.nzValue===j?this.nzAllowClear&&(this.nzValue=0,this.onChange(this.nzValue)):(this.nzValue=j,this.onChange(this.nzValue)),this.updateStarStyle()}onItemHover(c,m){this.nzDisabled||this.hoverValue===c+1&&m===this.hasHalf||(this.hoverValue=c+1,this.hasHalf=m,this.nzOnHoverChange.emit(this.hoverValue),this.updateStarStyle())}onRateLeave(){this.hasHalf=!Number.isInteger(this.nzValue),this.hoverValue=Math.ceil(this.nzValue),this.updateStarStyle()}focus(){this.ulElement.nativeElement.focus()}blur(){this.ulElement.nativeElement.blur()}onKeyDown(c){const m=this.nzValue;c.keyCode===fc.SV&&this.nzValue0&&(this.nzValue-=this.nzAllowHalf?.5:1),m!==this.nzValue&&(this.onChange(this.nzValue),this.nzOnKeyDown.emit(c),this.updateStarStyle(),this.cdr.markForCheck())}updateStarArray(){this.starArray=Array(this.nzCount).fill(0).map((c,m)=>m),this.updateStarStyle()}updateStarStyle(){this.starStyleArray=this.starArray.map(c=>{const m="ant-rate-star",j=c+1;return{[`${m}-full`]:jthis.hoverValue,[`${m}-focused`]:this.hasHalf&&j===this.hoverValue&&this.isFocused}})}writeValue(c){this.nzValue=c||0,this.updateStarArray(),this.cdr.markForCheck()}setDisabledState(c){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||c,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(qs.jY),e.Y36(e.R0b),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Xl.Is,8),e.Y36(mc.kn))},u.\u0275cmp=e.Xpm({type:u,selectors:[["nz-rate"]],viewQuery:function(c,m){if(1&c&&e.Gf(ms,7),2&c){let j;e.iGM(j=e.CRH())&&(m.ulElement=j.first)}},inputs:{nzAllowClear:"nzAllowClear",nzAllowHalf:"nzAllowHalf",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzCharacter:"nzCharacter",nzCount:"nzCount",nzTooltips:"nzTooltips"},outputs:{nzOnBlur:"nzOnBlur",nzOnFocus:"nzOnFocus",nzOnHoverChange:"nzOnHoverChange",nzOnKeyDown:"nzOnKeyDown"},exportAs:["nzRate"],features:[e._Bn([mc.kn,{provide:t.JU,useExisting:(0,e.Gpc)(()=>u),multi:!0}]),e.TTD],decls:3,vars:7,consts:[[1,"ant-rate",3,"ngClass","tabindex","keydown","mouseleave"],["ulElement",""],["class","ant-rate-star","nz-tooltip","",3,"ngClass","nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",1,"ant-rate-star",3,"ngClass","nzTooltipTitle"],["nz-rate-item","",3,"allowHalf","character","index","itemHover","itemClick"]],template:function(c,m){1&c&&(e.TgZ(0,"ul",0,1),e.NdJ("keydown",function(Be){return m.onKeyDown(Be),Be.preventDefault()})("mouseleave",function(Be){return m.onRateLeave(),Be.stopPropagation()}),e.YNc(2,h1,2,5,"li",2),e.qZA()),2&c&&(e.ekj("ant-rate-disabled",m.nzDisabled)("ant-rate-rtl","rtl"===m.dir),e.Q6J("ngClass",m.classMap)("tabindex",m.nzDisabled?-1:1),e.xp6(2),e.Q6J("ngForOf",m.starArray))},dependencies:[M.mk,M.sg,Xe.SY,nu],encapsulation:2,changeDetection:0}),(0,te.gn)([(0,qs.oS)(),(0,Oa.yF)()],u.prototype,"nzAllowClear",void 0),(0,te.gn)([(0,qs.oS)(),(0,Oa.yF)()],u.prototype,"nzAllowHalf",void 0),(0,te.gn)([(0,Oa.yF)()],u.prototype,"nzDisabled",void 0),(0,te.gn)([(0,Oa.yF)()],u.prototype,"nzAutoFocus",void 0),(0,te.gn)([(0,Oa.Rn)()],u.prototype,"nzCount",void 0),u})(),ou=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[Xl.vT,M.ez,Re.PV,Xe.cg]}),u})();const vc={1:"Poor - Claim is not supported well by experimental evidence. Results are not reproducible, or have very small sample size. No follow-up is done to validate novel claims.",2:"Adequate - Evidence is not well supported by experimental data, and little follow-up data is available. Experiments may lack proper controls, have small sample size, or are not statistically convincing.",3:"Average - Evidence is convincing, but not supported by a breadth of experiments. May be smaller scale projects, or novel results without many follow-up experiments. Discrepancies from expected results are explained and not concerning.",4:"Strong - Well supported evidence. Experiments are well controlled, and results are convincing. Any discrepancies from expected results are well-explained and not concerning.",5:"Excellent - Solid, well supported evidence from a lab or journal with respected academic standing. Experiments are well controlled, and results are clean and reproducible across multiple replicates. Evidence confirmed using separate methods."},_c=Lt(_n(),lt()),iu={types:[{name:"rating",wrappers:["form-field"],component:(()=>{class u extends _c{constructor(){super(),this.defaultOptions={props:{label:"Evidence Rating",count:5,tooltip:"A representation of the curator's confidence in the quality of the summarized evidence",hoverText:[]}},this.rating$=new Ge.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.formControl.value&&this.rating$.next(this.formControl.value),Object.entries(vc).map(([c,m])=>{this.props.hoverText.push(m)}),this.rating$.pipe((0,ce.t)(this)).subscribe(c=>{this.formControl.setValue(c)}),this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{this.props.description=c?vc[c]:void 0})}configureStateConnections(){}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-rating"]],features:[e.qOj],decls:2,vars:5,consts:[["type","hidden",3,"formControl","formlyAttributes"],[3,"ngModel","nzCount","nzTooltips","ngModelChange"]],template:function(c,m){1&c&&(e._UZ(0,"input",0),e.TgZ(1,"nz-rate",1),e.NdJ("ngModelChange",function(Be){return m.rating$.next(Be)}),e.qZA()),2&c&&(e.Q6J("formControl",m.formControl)("formlyAttributes",m.field),e.xp6(1),e.Q6J("ngModel",m.formControl.value)("nzCount",m.props.count)("nzTooltips",m.props.hoverText))},dependencies:[t.Fj,t.JJ,t.oH,t.On,v.JD,ea],styles:["[_nghost-%COMP%] nz-rate .anticon{font-size:160%}"],changeDetection:0}),u})()}]};let Xc=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,t.u5,v.X0.forChild(iu),ou,It.s,je,He]}),u})();const ta=["optionTemplates"];function na(u,y){if(1&u&&e._UZ(0,"cvc-attribute-tag",4),2&u){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function Ns(u,y){1&u&&(e.ynx(0),e.YNc(1,na,1,1,"ng-template",null,3,e.W1O),e.BQk())}function el(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onTagClose$.next(j))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const yc={Evidence:{PREDICTIVE:{SENSITIVITYRESPONSE:"Associated with a clinical or preclinical response to treatment",RESISTANCE:"Associated with clinical or preclinical resistance to treatment",ADVERSE_RESPONSE:"Associated with an adverse response to drug treatment",REDUCED_SENSITIVITY:"Response to treatment is lower than seen in other treatment contexts",NA:"Clinical Significance is not applicable."},DIAGNOSTIC:{POSITIVE:"Associated with diagnosis of disease or subtype",NEGATIVE:"Associated with lack of disease or subtype"},PROGNOSTIC:{BETTER_OUTCOME:"Demonstrates better than expected clinical outcome",POOR_OUTCOME:"Demonstrates worse than expected clinical outcome",NA:"Clinical Significance is not applicable."},PREDISPOSING:{PREDISPOSITION:"Germline variant has predisposing potential for cancer, and may meet select ACMG/AMP criteria supporting pathogenic or benign classification.",PROTECTIVENESS:"Germline variant has properties that protect individuals from acquiring cancer."},FUNCTIONAL:{GAIN_OF_FUNCTION:"Sequence variant confers an increase in normal gene function",LOSS_OF_FUNCTION:"Sequence variant confers a diminished or abolished function",UNALTERED_FUNCTION:"Gene product of sequence variant is unchanged",NEOMORPHIC:"Sequence variant creates a novel function",DOMINANT_NEGATIVE:"Sequence variant abrogates function of wildtype allele gene product",UNKNOWN:"Sequence variant that cannot be precisely defined by the other listed categories"},ONCOGENIC:{ONCOGENICITY:"Somatic variant has oncogenic potential for driving cancer, and may meet select ClinGen/CGC/VICC criteria supporting pathogenic or benign classification.",PROTECTIVENESS:"Somatic variant has a protective role against cancer."}},Assertion:{PREDICTIVE:{SENSITIVITYRESPONSE:"Associated with a clinical or preclinical response to treatment",RESISTANCE:"Associated with clinical or preclinical resistance to treatment",ADVERSE_RESPONSE:"Associated with an adverse response to drug treatment",REDUCED_SENSITIVITY:"Response to treatment is lower than seen in other treatment contexts",NA:"Clinical Significance is not applicable."},DIAGNOSTIC:{POSITIVE:"Associated with diagnosis of disease or subtype",NEGATIVE:"Associated with lack of disease or subtype"},PROGNOSTIC:{BETTER_OUTCOME:"Demonstrates better than expected clinical outcome",POOR_OUTCOME:"Demonstrates worse than expected clinical outcome",NA:"Clinical Significance is not applicable."},PREDISPOSING:{PATHOGENIC:"Very strong evidence the variant is pathogenic",LIKELY_PATHOGENIC:"Strong evidence (>90% certainty) the variant is pathogenic.",BENIGN:"Very strong evidence the variant is benign",LIKELY_BENIGN:"Not expected to have a major effect on disease",UNCERTAIN_SIGNIFICANCE:"Does not meet the ACMG/AMP criteria for pathogenic/benign, or the evidence is conflicting"},ONCOGENIC:{ONCOGENIC:"Very strong evidence the variant is oncogenic.",LIKELY_ONCOGENIC:"Strong evidence the variant is oncogenic.",BENIGN:"Very strong evidence the variant does not have oncogenic properties.",LIKELY_BENIGN:"Strong evidence the variant does not have oncogenic properties.",UNCERTAIN_SIGNIFICANCE:"Does not meet guideline criteria for oncogenic/benign, or the evidence is conflicting."}}},oa=Lt(_n(),lt()),ru={types:[{name:"significance-select",wrappers:["form-field"],component:(()=>{class u extends oa{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"Significance",required:!0,isMultiSelect:!1,placeholder:"Select Significance",placeholderFn:m=>`Select ${m?m+" ":""} Significance`,requireTypePromptFn:m=>`Select ${m} Type to select its Significance`,tooltip:"Clinical impact of the variant",formMode:"add"}},this.significanceEnum$=new Ge.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.significanceEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){if(!this.state)return console.error(`${this.field.id} requires a form state to populate its options, none was found.`),void(this.placeholder$=new Ge.X("ERROR: Form state not found"));if(this.placeholder$=new Ge.X(this.props.placeholderFn(this.state.entityName)),!this.state.enums.significance$)return void console.error(`${this.field.id} could not find form state's enums.significance$ to populate select.`);this.state.enums.significance$.pipe((0,ce.t)(this)).subscribe(m=>{this.significanceEnum$.next(m)}),this.optionTemplates||console.warn(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(m=>m.map(j=>j)));const c=`${this.state.entityName.toLowerCase()}Type$`;this.state.fields[c]?(this.onTypeSelect$=this.state.fields[c],this.onTypeSelect$.pipe((0,wt.T)("add"===this.props.formMode?0:1),(0,ce.t)(this)).subscribe(m=>{m?(this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0,this.placeholder$.next(this.props.placeholderFn(this.state.entityName))):(this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName),this.props.extraType="prompt"),this.formControl.value&&this.formControl.setValue(void 0)}),this.onValueChange$.pipe((0,it.M)(this.onTypeSelect$),(0,ce.t)(this)).subscribe(([m,j])=>{!j||!m||!this.state||(this.props.description=void 0,this.props.extraType="description",this.props.description=yc[this.state.entityName][j][m])})):console.error(`${this.field.id} could not find form state's ${c} to populate Significance options.`)}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-significance-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(ta,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,Ns,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,el,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(6);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,m.placeholder$))("cvcCustomTemplate",j)("cvcOptions",e.lcZ(2,11,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,m.significanceEnum$))}},dependencies:[M.sg,Ke,ye,F.fM]}),u})()}]};let m1=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(ru),je,He,$e]}),u})();var ia,g1=a(6987),v1=a(7907),wa=a(2666),_1=a(7921);function ra(u,y){1&u&&e._UZ(0,"span",9),2&u&&e.Q6J("nzType","loading")}function y1(u,y){if(1&u&&(e.ynx(0),e.YNc(1,ra,1,1,"span",8),e._uU(2,"\xa0 "),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.BQk()),2&u){const c=y.ngrxLet;e.xp6(1),e.Q6J("ngIf",c.showSpinner),e.xp6(3),e.Oqu(c.message)}}function C1(u,y){if(1&u&&e._uU(0),2&u){const c=e.oxw();e.Oqu(c.successMessage)}}function ki(u,y){1&u&&(e.TgZ(0,"button",10),e._uU(1," Add Source "),e.qZA()),2&u&&e.Q6J("disabled",null===y.ngrxLet.citation)}const tl=function(){return[0,0]};let gs=((ia=class{constructor(y,c,m,j,Be){this.checkCitation=y,this.addRemoteCitation=c,this.errors=m,this.apollo=j,this.cdr=Be,this.cvcOnCreate=new e.vpe,this.messageOptions={empty:(Mt,bn)=>`No ${bn} Source with a citation ID of "${Mt}"`,searchCitation:(Mt,bn)=>`Searching ${bn} for a citation ID of "${Mt}"`,foundCitation:(Mt,bn,Hn)=>`Found ${bn} citation "${Hn}" with ID ${Mt}`,noCitation:(Mt,bn)=>`No ${bn} Source with a citation ID of "${Mt}" was found`},this.form=new t.nJ({}),this.model={citationId:"",sourceType:Nn.yic.Pubmed},this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.onSubmit$=new st.x,this.citationId$=new Ge.X(""),this.sourceType$=new Ge.X(Nn.yic.Pubmed),this.addSourceStubMutator=new Uo.U(this.errors),this.fields=[{key:"citationId",props:{hidden:!0}},{key:"sourceType",props:{hidden:!0}}],this.onSubmit$.pipe((0,ce.t)(this)).subscribe(Mt=>{console.log("disease-quick-add form model submitted.",Mt),this.submitSourceStub()})}ngOnInit(){void 0!==this.model.citationId&&void 0!==this.model.sourceType?(this.queryRef=this.checkCitation.watch({citationId:this.model.citationId,sourceType:this.model.sourceType}),this.checkResult$=this.queryRef.valueChanges.pipe((0,vt.U)(y=>({loading:y.loading,citation:y.data?y.data.remoteCitation:null,model:this.model})),(0,ko.b)(y=>{this.citationString=y.citation?y.citation:void 0})),this.citationId$.pipe((0,ce.t)(this)).subscribe(y=>{this.model.sourceType&&this.queryRef.refetch({citationId:y,sourceType:this.model.sourceType})}),this.formMessageDisplay$=this.checkResult$.pipe((0,vt.U)(y=>{const c=y.loading,m=y.citation,j=y.model;return c?{message:this.messageOptions.searchCitation(j.citationId,j.sourceType),showSpinner:!0}:c||null===m?c||null!==m?{message:"UNHANDLED MESSAGE STATE",showSpinner:!1}:{message:this.messageOptions.noCitation(j.citationId,j.sourceType),showSpinner:!1}:{message:this.messageOptions.foundCitation(j.citationId,(0,wa.c)(j.sourceType),m),showSpinner:!1}}),(0,_1.O)({message:this.messageOptions.searchCitation(this.model.citationId,this.model.sourceType),showSpinner:!0}))):console.error("source-quick-add provided invalid initial model")}submitSourceStub(){void 0!==this.model.citationId&&void 0!==this.model.sourceType&&(this.mutationState=this.addSourceStubMutator.mutate(this.addRemoteCitation,{input:{citationId:this.model.citationId,sourceType:this.model.sourceType}},{},y=>{if(console.log("source-quick-add submit data callback",y),y.addRemoteCitation){this.successMessage=`New Source "${this.citationString}" added.`;const c=y.addRemoteCitation.newSource,m=(0,wa.c)(this.model.sourceType),j=this.citationString?this.citationString:"NO CITATION",Be={query:co.Ps` + query WriteLocalSource($id: Int!) { + source(id: $id) { + id + name + link + citation + citationId + sourceType + } + } + `,data:{source:{__typename:"Source",id:c.id,name:`${m}: ${j}`,link:`sources/${c.id}`,citation:j,citationId:this.model.citationId,sourceType:this.model.sourceType}},variables:{id:c.id}};this.apollo.client.cache.writeQuery(Be)||console.error("source-quick-add.form Source writeQuery failed.",Be),setTimeout(()=>{const bn={id:`Source:${c.id}`,fragment:co.Ps` + fragment LinkableSource on Source { + id + name + link + } + `},Hn=this.apollo.client.cache.readFragment(bn);null!==Hn&&this.cvcOnCreate.next(Hn.id)},1e3)}}))}ngOnChanges(y){if(y.cvcSourceType){const c=y.cvcSourceType.currentValue;this.sourceType$.next(c),this.model={...this.model,sourceType:c}}if(y.cvcCitationId){const c=y.cvcCitationId.currentValue;this.citationId$.next(c),this.model={...this.model,citationId:c}}}}).\u0275fac=function(y){return new(y||ia)(e.Y36(Nn.qgP),e.Y36(Nn.LHC),e.Y36(ni.Y),e.Y36(co._M),e.Y36(e.sBO))},ia.\u0275cmp=e.Xpm({type:ia,selectors:[["cvc-source-quick-add"]],inputs:{cvcSourceType:"cvcSourceType",cvcCitationId:"cvcCitationId"},outputs:{cvcOnCreate:"cvcOnCreate"},features:[e.TTD],decls:10,vars:11,consts:[[4,"ngrxLet"],["entityType","Source",3,"mutationState","successMessage"],["success",""],["nz-form","","nzLayout","horizontal",3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled",4,"ngrxLet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"]],template:function(y,c){if(1&y&&(e.YNc(0,y1,5,2,"ng-container",0),e.TgZ(1,"cvc-form-submission-status-display",1),e.YNc(2,C1,1,1,"ng-template",null,2,e.W1O),e.TgZ(4,"form",3),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(5,"nz-row",4)(6,"nz-col",5)(7,"formly-form",6),e.NdJ("modelChange",function(j){return c.model=j}),e.qZA()(),e.TgZ(8,"nz-col",5),e.YNc(9,ki,2,1,"button",7),e.qZA()()()()),2&y){const m=e.MAs(3);e.Q6J("ngrxLet",c.formMessageDisplay$),e.xp6(1),e.Q6J("mutationState",c.mutationState)("successMessage",m),e.xp6(3),e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(10,tl)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("ngrxLet",c.checkResult$)}},dependencies:[M.O5,t._Y,t.JL,t.sg,F.eJ,v.T7,On.ix,yo.w,Xo.dQ,Re.Ls,R.t3,R.SK,s.Lr,bi.F],changeDetection:0}),ia);gs=(0,te.gn)([(0,ce.c)()],gs);const su=["optionTemplates"];function Tr(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-col",9)(1,"nz-select",10),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.sourceType$.next(j))}),e.ALo(2,"ngrxPush"),e._UZ(3,"nz-option",11)(4,"nz-option",12)(5,"nz-option",13),e.qZA()()}if(2&u){const c=e.oxw();e.xp6(1),e.Q6J("nzOptionHeightPx",28)("ngModel",e.lcZ(2,2,c.sourceType$))}}function sa(u,y){1&u&&(e.TgZ(0,"div"),e._uU(1,"PMID:"),e.qZA())}function nl(u,y){1&u&&(e.TgZ(0,"div"),e._uU(1,"ID:"),e.qZA())}function Pa(u,y){1&u&&(e.TgZ(0,"div"),e._uU(1,"doi.org/"),e.qZA())}function aa(u,y){if(1&u&&(e.TgZ(0,"nz-col",14),e.ynx(1,15),e.ALo(2,"ngrxPush"),e.YNc(3,sa,2,0,"div",16),e.YNc(4,nl,2,0,"div",16),e.YNc(5,Pa,2,0,"div",16),e.BQk(),e.qZA()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngSwitch",e.lcZ(2,4,c.sourceType$)),e.xp6(2),e.Q6J("ngSwitchCase","PUBMED"),e.xp6(1),e.Q6J("ngSwitchCase","ASCO"),e.xp6(1),e.Q6J("ngSwitchCase","ASH")}}function au(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",19),e.TgZ(1,"span",20),e._uU(2," ID: "),e._UZ(3,"span",21),e.ALo(4,"highlightTypeahead"),e.qZA()),2&u){const c=e.oxw().$implicit,m=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",m),e.xp6(3),e.Q6J("innerHtml",e.xi3(4,4,c.citationId.toString(),m),e.oJD)}}function z1(u,y){1&u&&(e.ynx(0),e.YNc(1,au,5,7,"ng-template",null,18,e.W1O),e.BQk())}function ol(u,y){if(1&u&&(e.ynx(0),e.YNc(1,z1,3,0,"ng-container",17),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function T1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",22)(1,"cvc-entity-tag",23),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Source:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}function gr(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-source-quick-add",24),e.NdJ("cvcOnCreate",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onPopulate$.next(j))}),e.qZA()}if(2&u){const c=y.model;e.Q6J("cvcCitationId",c.citationId)("cvcSourceType",c.sourceType)}}function Cc(u,y){1&u&&(e.TgZ(0,"button",25),e._uU(1,"Add a New Source"),e.qZA())}const vs=function(){return[6,6]},il=Lt(_n(),oi());let rl=(()=>{class u extends il{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.onModel$=new To.y,this.defaultSourceType=Nn.yic.Pubmed,this.defaultOptions={props:{entityName:{singular:"Source",plural:"Sources"},isMultiSelect:!1,minSearchStrLength:2,tooltip:"PubMed, ASCO, or ASH Abstract Source(s) that support items, statements or descriptions.",placeholders:{default:"Search PubMed, ASCO, and ASH Sources",contextualFn:Be=>`Search ${Be} Sources`},extraType:"prompt"}},this.sourceType$=new Ge.X(this.defaultSourceType),this.sourceTypeName$=new Ge.X((0,wa.c)(this.defaultSourceType)),this.placeholder$=new Ge.X(this.defaultOptions.props.placeholders.contextualFn((0,wa.c)(this.defaultSourceType))),this.showTypeSelect$=new To.y}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:this.sourceType$,typeaheadParamName$:this.sourceTypeName$||void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent,minSearchStrLength:this.field.props.minSearchStrLength}),this.showTypeSelect$=this.onValueChange$.pipe((0,vt.U)(c=>!!(!c||c&&Array.isArray(c)))),this.sourceType$.pipe((0,ce.t)(this)).subscribe(c=>{const m=(0,wa.c)(c);this.sourceTypeName$.next(m),this.placeholder$.next(this.props.placeholders.contextualFn(m))}),this.onModel$=(0,vo.a)([this.sourceType$,this.onSearch$]).pipe((0,vt.U)(([c,m])=>({citationId:m,sourceType:c})))}getTypeaheadVarsFn(c,m=Nn.yic.Pubmed){return{partialCitationId:c,sourceType:m}}getTypeaheadResultsFn(c){return c.data.sourceTypeahead}getTagQueryVarsFn(c){return{id:c}}getTagQueryResultsFn(c){return c.data.source}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.aC3),e.Y36(Nn.BYO),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-source-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(su,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:21,vars:39,consts:[[3,"nzGutter"],["nzFlex","80px",4,"ngIf"],["nzFlex","60px","class","prefix",4,"ngIf"],["nzFlex","auto"],[3,"cvcMinSearchStrLength","cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcParamName","cvcShowError","cvcDisabled","cvcLoading","cvcAddEntity","cvcAddEntityModel","cvcSelectOpen","cvcOnSearch","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],["addSource",""],["addSourceBtn",""],["nzFlex","80px"],["nzSize","default","nzBlock","",3,"nzOptionHeightPx","ngModel","ngModelChange"],["nzValue","PUBMED","nzLabel","PubMed"],["nzValue","ASCO","nzLabel","ASCO"],["nzValue","ASH","nzLabel","ASH"],["nzFlex","60px",1,"prefix"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcCitationId","cvcSourceType","cvcOnCreate"],["type","button"]],template:function(c,m){if(1&c&&(e.TgZ(0,"nz-row",0),e.YNc(1,Tr,6,4,"nz-col",1),e.ALo(2,"ngrxPush"),e.YNc(3,aa,6,6,"nz-col",2),e.ALo(4,"ngrxPush"),e.TgZ(5,"nz-col",3)(6,"cvc-entity-select",4),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(7,"ngrxPush"),e.ALo(8,"ngrxPush"),e.ALo(9,"ngrxPush"),e.ALo(10,"ngrxPush"),e.ALo(11,"ngrxPush"),e.ALo(12,"ngrxPush"),e.ALo(13,"ngrxPush"),e.qZA()()(),e.YNc(14,ol,3,3,"ng-container",5),e.YNc(15,T1,2,3,"ng-template",null,6,e.W1O),e.YNc(17,gr,1,2,"ng-template",null,7,e.W1O),e.YNc(19,Cc,2,0,"ng-template",null,8,e.W1O)),2&c){const j=e.MAs(16),Be=e.MAs(18);e.Q6J("nzGutter",e.DdM(38,vs)),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,20,m.showTypeSelect$)),e.xp6(2),e.Q6J("ngIf",e.lcZ(4,22,m.showTypeSelect$)),e.xp6(3),e.Q6J("cvcMinSearchStrLength",m.props.minSearchStrLength)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",e.lcZ(7,24,m.placeholder$))("cvcResults",e.lcZ(8,26,m.result$))("cvcOptions",e.lcZ(9,28,m.selectOption$))("cvcParamName",e.lcZ(10,30,m.sourceTypeName$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled)("cvcLoading",e.lcZ(11,32,m.isLoading$))("cvcAddEntity",Be)("cvcAddEntityModel",e.lcZ(12,34,m.onModel$))("cvcSelectOpen",e.lcZ(13,36,m.selectOpen$)),e.xp6(8),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,M.RF,M.n9,t.JJ,t.On,F.eJ,We.Ip,We.Vq,R.t3,R.SK,ge.ZU,Kn,xo.J,gs,F.fM,I.A],styles:[".prefix[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right;line-height:28px;color:#999}"],changeDetection:0}),u})();const cu={types:[{name:"source-select",wrappers:["form-field"],component:rl,defaultOptions:{props:{label:"Source"}}},{name:"source-multi-select",wrappers:["form-field"],component:rl,defaultOptions:{props:{label:"Sources",isMultiSelect:!0}}}]};let lu=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.u5,t.UX,v.X0.forChild(cu),yt.L,On.sL,v1.aF,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,g1.S,Wt.X,Zt.g,je,Kt,It.s,Te.x]}),u})();function sl(u){return(()=>{class c extends u{configureStringTagField(){this.onValueChange$?(this.tagLabel$=new st.x,this.onValueChange$.pipe((0,ce.t)(this)).subscribe(j=>{this.tagLabel$.next(j?j.toString():void 0)}),this.onTagClose$=new st.x,this.onTagClose$.pipe((0,ce.t)(this)).subscribe(j=>{this.formControl.setValue(void 0),this.tagLabel$.next(void 0)})):console.error(`${this.field.id} cannot find onValueChange$ Subject, ensure configureBaseField() has been called before configureDisplayStringTag in its AfterViewInit hook.`)}}return c.\u0275fac=function(){let m;return function(Be){return(m||(m=e.n5z(c)))(Be||c)}}(),c.\u0275prov=e.Yz7({token:c,factory:c.\u0275fac}),c})()}function uu(u,y){}function du(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",4)(1,"nz-tag",5),e.NdJ("nzOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcOnClose.next(j))}),e.YNc(2,uu,0,0,"ng-template",6),e.qZA()()}if(2&u){const c=e.oxw(),m=e.MAs(4);e.xp6(1),e.Q6J("nzMode",c.cvcMode),e.xp6(1),e.Q6J("ngTemplateOutlet",m)}}function zc(u,y){}function Ia(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",7)(1,"nz-tag",5),e.NdJ("nzOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcOnClose.next(j))}),e.YNc(2,zc,0,0,"ng-template",6),e.qZA()()}if(2&u){e.oxw();const c=e.MAs(4);e.xp6(1),e.Q6J("nzMode","closeable"),e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function al(u,y){}function Aa(u,y){if(1&u&&(e.TgZ(0,"span",8),e.YNc(1,al,0,0,"ng-template",6),e.qZA()),2&u){e.oxw();const c=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function pu(u,y){1&u&&e._UZ(0,"i",11)}function Fa(u,y){if(1&u&&(e.YNc(0,pu,1,0,"i",9),e._UZ(1,"span",10),e.ALo(2,"highlightTypeahead")),2&u){const c=e.oxw();e.Q6J("ngIf",!c.cvcLabel),e.xp6(1),e.Q6J("innerHtml",c.cvcLabel?e.xi3(2,2,c.cvcLabel,c.cvcEmphasize):"?STRING?",e.oJD)}}let cl=(()=>{class u{constructor(){this.cvcMode="default",this.cvcContext="default",this.cvcOnClose=new e.vpe}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-string-tag"]],inputs:{cvcLabel:"cvcLabel",cvcEmphasize:"cvcEmphasize",cvcMode:"cvcMode",cvcContext:"cvcContext"},outputs:{cvcOnClose:"cvcOnClose"},decls:5,vars:3,consts:[["class","default",4,"ngIf"],["class","select-item",4,"ngIf"],["class","multi-select-item",4,"ngIf"],["tagContent",""],[1,"default"],[3,"nzMode","nzOnClose"],[3,"ngTemplateOutlet"],[1,"select-item"],[1,"multi-select-item"],["nz-icon","","nzType","question-circle","nzTheme","outline",4,"ngIf"],[3,"innerHtml"],["nz-icon","","nzType","question-circle","nzTheme","outline"]],template:function(c,m){1&c&&(e.YNc(0,du,3,2,"span",0),e.YNc(1,Ia,3,2,"span",1),e.YNc(2,Aa,2,1,"span",2),e.YNc(3,Fa,3,5,"ng-template",null,3,e.W1O)),2&c&&(e.Q6J("ngIf","default"===m.cvcContext),e.xp6(1),e.Q6J("ngIf","select-item"===m.cvcContext),e.xp6(1),e.Q6J("ngIf","multi-select-item"===m.cvcContext))},dependencies:[M.O5,M.tP,Re.Ls,Wt.j,I.A]}),u})();function ll(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-string-tag",3),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.tagClosed(Be))}),e.qZA()}if(2&u){const c=y.$implicit;e.Q6J("cvcMode","closeable")("cvcLabel",c)}}const Tc=Lt(_n(),sl);let ca=(()=>{class u extends Tc{constructor(c){super(),this.cdr=c,this.defaultOptions={modelOptions:{updateOn:"blur"},props:{label:"Enter value",placeholder:"Enter value and hit Return"}},this.tags$=new st.x,this.values=new Set}onEnter(c){let m=c.target;m.value&&(this.values.add(m.value),m.value="");let j=Array.from(this.values);this.tags$.next(j),this.formControl.setValue(j)}tagClosed(c){this.values.delete(c);let m=Array.from(this.values);this.tags$.next(m),this.formControl.setValue(m),this.tags$.next(m)}ngAfterViewInit(){this.configureBaseField(),this.configureStringTagField(),this.formControl.value&&Array.isArray(this.formControl.value)&&(this.formControl.value.forEach(c=>this.values.add(c)),this.tags$.next(this.formControl.value),this.cdr.detectChanges())}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-tag-input"]],features:[e.qOj],decls:5,vars:6,consts:[[3,"cvcMode","cvcLabel","cvcOnClose",4,"ngFor","ngForOf"],["nz-input","",3,"placeholder","keydown.enter"],["hidden","","nz-input","",3,"formControl","formlyAttributes"],[3,"cvcMode","cvcLabel","cvcOnClose"]],template:function(c,m){1&c&&(e.TgZ(0,"div"),e.YNc(1,ll,1,2,"cvc-string-tag",0),e.ALo(2,"ngrxPush"),e.TgZ(3,"input",1),e.NdJ("keydown.enter",function(Be){return m.onEnter(Be)}),e.qZA()(),e._UZ(4,"input",2)),2&c&&(e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,4,m.tags$)),e.xp6(2),e.Q6J("placeholder",m.props.placeholder),e.xp6(1),e.Q6J("formControl",m.formControl)("formlyAttributes",m.field))},dependencies:[M.sg,t.Fj,t.JJ,t.oH,v.JD,Pe.Zp,cl,F.fM],changeDetection:0}),u})(),Ls=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Re.PV,Wt.X,It.s]}),u})();const ul={types:[{name:"tag-input",wrappers:["form-field"],component:ca},{name:"tag-multi-input",wrappers:["form-field"],component:ca,defaultOptions:{props:{isRepeatItem:!0}}}]};let hu=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(ul),Ve.F,Pe.o7,s.U5,Ls]}),u})();const ks=Lt(_n()),fu={types:[{name:"textarea",component:(()=>{class u extends ks{constructor(){super(...arguments),this.defaultOptions={props:{label:"TEXTAREA!"}}}}return u.\u0275fac=function(){let y;return function(m){return(y||(y=e.n5z(u)))(m||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["formly-field-nz-textarea"]],features:[e.qOj],decls:1,vars:3,consts:[["nz-input","",3,"rows","formControl","formlyAttributes"]],template:function(c,m){1&c&&e._UZ(0,"textarea",0),2&c&&e.Q6J("rows",m.props.rows?m.props.rows:2)("formControl",m.formControl)("formlyAttributes",m.field)},dependencies:[t.Fj,t.JJ,t.oH,v.JD,Pe.Zp],encapsulation:2,changeDetection:0}),u})(),wrappers:["form-field"]}]};let M1=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(fu),Pe.o7,je]}),u})();var _s;function mu(u,y){1&u&&e._UZ(0,"span",7)}function b1(u,y){1&u&&e._UZ(0,"span",8)}const gu=function(){return[0,0]},vu={name:void 0};let La=((_s=class{set cvcSearchString(y){y&&this.searchString$.next(y)}constructor(y,c){this.query=y,this.errors=c,this.cvcOnCreate=new e.vpe,this.model=vu,this.form=new t.nJ({}),this.options={},this.onSubmit$=new st.x,this.searchString$=new Ge.X(void 0),this.queryMutator=new Uo.U(this.errors),this.isSubmitting$=new Ge.X(!1),this.submitSuccess$=new Ge.X(!1),this.submitError$=new Ge.X([]),this.addTherapyMutator=new Uo.U(this.errors),this.fields=[{key:"name",props:{hidden:!0,required:!0}}],this.searchString$.pipe((0,ce.t)(this)).subscribe(m=>{this.model.name=m}),this.onSubmit$.pipe((0,ce.t)(this)).subscribe(m=>{console.log("therapy-quick-add form model submitted.",m),this.submitTherapy(m)})}submitTherapy(y){if(!y.name)return void console.error("therapy-quick-add form submitTherapy requires model with valid name.");let c=this.addTherapyMutator.mutate(this.query,{name:y.name},{},m=>{console.log("therapy-quick-add submit data callback",m),m.addTherapy&&this.cvcOnCreate.next(m.addTherapy.therapy.id)});c.submitSuccess$.pipe((0,ce.t)(this)).subscribe(m=>{console.log("therapy-quick-add submitSuccess$",m),this.submitSuccess$.next(m)}),c.submitError$.pipe((0,ce.t)(this)).subscribe(m=>{console.log("therapy-quick-add submitError$",m),this.submitError$.next(m)}),c.isSubmitting$.pipe((0,ce.t)(this)).subscribe(m=>{this.isSubmitting$.next(m)})}}).\u0275fac=function(y){return new(y||_s)(e.Y36(Nn.Y_K),e.Y36(ni.Y))},_s.\u0275cmp=e.Xpm({type:_s,selectors:[["cvc-therapy-quick-add-form"]],inputs:{cvcSearchString:"cvcSearchString"},outputs:{cvcOnCreate:"cvcOnCreate"},decls:14,vars:17,consts:[[3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"],["nz-icon","","nzType","plus-circle","nzTheme","outline",4,"ngIf"],["nz-icon","","nzType","loading","nzTheme","outline",4,"ngIf"],["nz-icon","","nzType","plus-circle","nzTheme","outline"],["nz-icon","","nzType","loading","nzTheme","outline"]],template:function(y,c){1&y&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"formly-form",3),e.NdJ("modelChange",function(j){return c.model=j}),e.qZA()(),e.TgZ(4,"nz-col",2)(5,"button",4),e.YNc(6,mu,1,0,"span",5),e.ALo(7,"ngrxPush"),e.YNc(8,b1,1,0,"span",6),e.ALo(9,"ngrxPush"),e._uU(10," Create Therapy\xa0"),e.TgZ(11,"i"),e._uU(12),e.ALo(13,"ngrxPush"),e.qZA()()()()()),2&y&&(e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(16,gu)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("disabled",!c.form.valid),e.xp6(1),e.Q6J("ngIf",!e.lcZ(7,10,c.isSubmitting$)),e.xp6(2),e.Q6J("ngIf",e.lcZ(9,12,c.isSubmitting$)),e.xp6(4),e.Oqu(e.lcZ(13,14,c.searchString$)))},dependencies:[M.O5,t._Y,t.JL,t.sg,v.T7,On.ix,yo.w,Xo.dQ,Re.Ls,R.t3,R.SK,F.fM],encapsulation:2,changeDetection:0}),_s);La=(0,te.gn)([(0,ce.c)()],La);const ka=["optionTemplates"];function dl(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"strong"),e._uU(2,"NCIt ID:"),e.qZA(),e._UZ(3,"span",9),e.ALo(4,"highlightTypeahead"),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(3),e.Q6J("innerHtml",e.xi3(4,1,c.ncitId,m),e.oJD)}}function _u(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"strong"),e._uU(2,"Aliases: "),e.qZA(),e.TgZ(3,"em"),e._UZ(4,"span",10),e.ALo(5,"highlightTypeahead"),e.qZA(),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(4),e.Q6J("nzTooltipTitle",c.therapyAliases.join(", "))("innerHtml",e.xi3(5,2,c.therapyAliases.join(", "),m),e.oJD)}}function pl(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",6),e.TgZ(1,"span",7),e.YNc(2,dl,5,4,"ng-container",8),e.YNc(3,_u,6,5,"ng-container",8),e.qZA()),2&u){const c=e.oxw().$implicit,m=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",m),e.xp6(2),e.Q6J("ngIf",c.ncitId),e.xp6(1),e.Q6J("ngIf",c.therapyAliases.length>0)}}function S1(u,y){1&u&&(e.ynx(0),e.YNc(1,pl,4,5,"ng-template",null,5,e.W1O),e.BQk())}function hl(u,y){if(1&u&&(e.ynx(0),e.YNc(1,S1,3,0,"ng-container",4),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function E1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",11)(1,"cvc-entity-tag",12),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Therapy:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}function yu(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-therapy-quick-add-form",13),e.NdJ("cvcOnCreate",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onPopulate$.next(j))}),e.qZA()}2&u&&e.Q6J("cvcSearchString",y.$implicit)}const Cu=Lt(_n(),oi());let Ra=(()=>{class u extends Cu{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.defaultOptions={props:{entityName:{singular:"Therapy",plural:"Therapies"},isMultiSelect:!1,requireType:!0,tooltip:"Therapy or therapy combination which interacts with the specified variant",placeholder:"Search Therapies",requireTypePromptFn:(Be,Mt)=>`Select an ${Be} Type to search associated Therapies`}},this.placeholder$=new Ge.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){if(this.state&&(this.stateEntityName=this.state.entityName,this.state.requires.requiresTherapy$?this.onRequiresTherapy$=this.state.requires.requiresTherapy$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresTherapy$ subject to attach.`),this.props.requireType)){const c=`${this.stateEntityName.toLowerCase()}Type$`;this.state.fields[c]?this.onEntityType$=this.state.fields[c]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${c}.`)}}configurePlaceholders(){this.placeholder$.next(this.props.placeholder),this.onRequiresTherapy$&&this.onEntityType$&&(0,vo.a)([this.onRequiresTherapy$,this.onEntityType$]).pipe((0,Ro.x)(),(0,ce.t)(this)).subscribe(([c,m])=>{!c&&m?(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,we.E)(m)} ${this.state.entityName} does not include associated therapies`,this.props.extraType="prompt",this.resetField(),this.cdr.markForCheck()):this.props.requireType&&!m?(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"):c?(this.props.required=!0,this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0):(!c&&this.formControl.value||this.props.requireType&&!m&&this.formControl.value)&&(this.resetField(),console.log("HERE2"))})}getTypeaheadVarsFn(c){return{name:c}}getTypeaheadResultsFn(c){return c.data.therapyTypeahead}getTagQueryVarsFn(c){return{id:c}}getTagQueryResultsFn(c){return c.data.therapy}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.cIw),e.Y36(Nn.sjj),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-therapy-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(ka,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:12,vars:26,consts:[[3,"cvcAddEntity","cvcCustomTemplate","cvcDisabled","cvcEntityName","cvcFormControl","cvcFormlyAttributes","cvcLoading","cvcOptions","cvcPlaceholder","cvcResults","cvcSelectMode","cvcShowError","cvcSelectOpen","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],["addTherapy",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],[3,"innerHtml"],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcSearchString","cvcOnCreate"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.qZA(),e.YNc(7,hl,3,3,"ng-container",1),e.YNc(8,E1,2,3,"ng-template",null,2,e.W1O),e.YNc(10,yu,1,1,"ng-template",null,3,e.W1O)),2&c){const j=e.MAs(9),Be=e.MAs(11);e.Q6J("cvcAddEntity",Be)("cvcCustomTemplate",j)("cvcDisabled",m.onRequiresTherapy$&&!e.lcZ(1,14,m.onRequiresTherapy$))("cvcEntityName",m.props.entityName)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcLoading",e.lcZ(2,16,m.isLoading$))("cvcOptions",e.lcZ(3,18,m.selectOption$))("cvcPlaceholder",e.lcZ(4,20,m.placeholder$))("cvcResults",e.lcZ(5,22,m.result$))("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcShowError",m.showError)("cvcSelectOpen",e.lcZ(6,24,m.selectOpen$)),e.xp6(7),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,F.eJ,Xe.SY,ge.ZU,Kn,xo.J,La,F.fM,I.A],changeDetection:0}),u})();const x1={types:[{name:"therapy-select",wrappers:["form-field"],component:Ra,defaultOptions:{props:{label:"Therapy"}}},{name:"therapy-multi-select",wrappers:["form-field"],component:Ra,defaultOptions:{props:{label:"Therapies",isMultiSelect:!0}}}]};let D1=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(x1),yt.L,On.sL,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,Wt.X,je,Kt,It.s,Te.x]}),u})();const Mc=["optionTemplates"];function O1(u,y){if(1&u&&e._UZ(0,"cvc-attribute-tag",4),2&u){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function w1(u,y){1&u&&(e.ynx(0),e.YNc(1,O1,1,1,"ng-template",null,3,e.W1O),e.BQk())}function P1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onTagClose$.next(j))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const I1={DIAGNOSTIC:"Evidence pertains to a variant's impact on patient diagnosis (cancer subtype).",PREDICTIVE:"Evidence pertains to a variant's effect on therapeutic response.",PROGNOSTIC:"Evidence pertains to a variant's impact on disease progression, severity, or patient survival.",PREDISPOSING:"Evidence pertains to a germline variant's role in conferring susceptibility to disease (including pathogenicity evaluations).",ONCOGENIC:"Evidence pertains to a somatic variant's involvement in tumor pathogenesis as described by the Hallmarks of Cancer.",FUNCTIONAL:"Evidence pertains to a variant that alters biological function from the reference state."},A1=Lt(_n(),lt()),Va={types:[{name:"type-select",wrappers:["form-field"],component:(()=>{class u extends A1{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"ENTITY_NAME Type",entityName:{singular:"Entity",plural:"Entities"},placeholder:"Select an ENTITY_NAME Type",isMultiSelect:!1}},this.typeEnums$=new Ge.X([])}ngAfterViewInit(){this.configureBaseField(),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,De.h)(c=>c),(0,Di.q)(1),(0,ce.t)(this)).subscribe(c=>{this.configureField()}):this.configureField()}configureField(){this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{c?(this.props.description=I1[c],this.props.extraType="description"):(this.props.description=void 0,this.props.extraType=void 0)}),this.state?(this.props.placeholder=this.props.placeholder.replace("ENTITY_NAME",this.state.entityName),this.props.label=this.props.label.replace("ENTITY_NAME",this.state.entityName),this.props.tooltip=`Type of clinical outcome associated with the ${this.state.entityName} statement.`,this.state.enums.entityType$?(this.state.enums.entityType$.pipe((0,ce.t)(this)).subscribe(c=>{this.typeEnums$.next(c)}),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(c=>c.map(m=>m))),this.configureEnumSelect()):console.error(`${this.field.id} could not find state's enums.inputEnum$ to populate its select options.`)):console.error(`${this.field.id} requires a form state to configure itself, none was found.`)}configureEnumSelect(){this.configureEnumSelectField({optionEnum$:this.typeEnums$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-type-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(Mc,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:6,vars:13,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.YNc(2,w1,3,0,"ng-container",1),e.ALo(3,"ngrxPush"),e.YNc(4,P1,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(5);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",m.props.placeholder)("cvcCustomTemplate",j)("cvcOptions",e.lcZ(1,9,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(2),e.Q6J("ngForOf",e.lcZ(3,11,m.typeEnums$))}},dependencies:[M.sg,ye,Ke,F.fM],changeDetection:0}),u})()}]};let Ba=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(Va),je,$e,He]}),u})();var fl=a(6973);function bc(u,y){const c="object"==typeof y;return new Promise((m,j)=>{let Mt,Be=!1;u.subscribe({next:bn=>{Mt=bn,Be=!0},error:j,complete:()=>{Be?m(Mt):c?m(y.defaultValue):j(new fl.K)}})})}const jr={isDefaultCol:u=>"default"===u.type,isSelectCol:u=>"select"===u.type,isEntityTagCol:u=>"entity-tag"===u.type,isEnumTagCol:u=>"enum-tag"===u.type,isTextTagCol:u=>"text-tag"===u.type},vl=u=>void 0!==u.sort,Ec=u=>void 0!==u.filter,xc={diseases:Nn.pP7.DiseaseName,gene:Nn.pP7.EntrezSymbol,therapies:Nn.pP7.TherapyName,variant:Nn.pP7.VariantName},bu={diseases:"diseaseName",therapies:"therapyName",variant:"variantName",gene:"entrezSymbol",aliases:"variantAlias"},_l=["selected","id"];class Su{constructor(){this.sortStreams=[],this.filterStreams=[],this.config=this.configureColumnStreams([{key:"selected",label:"Select",type:"select",width:"25px",align:"center",fixedLeft:!0,checkbox:{th:{showCheckbox:!1},td:{showCheckbox:!0}}},{key:"id",label:"ID",hidden:!0,type:"hidden",width:"0px"},{key:"variant",label:"Variant",type:"entity-tag",width:"215px",context:"variant",fixedLeft:!0,showStatus:!0,tag:{fullWidth:!0,truncateLabel:"200px"},sort:{default:"ascend"},filter:{inputType:"default",options:[{key:"Filter Variant Name",value:null}]}},{key:"aliases",label:"Aliases",type:"default",width:"150px",objectKey:"name",sort:{},filter:{inputType:"default",options:[{key:"Filter Aliases",value:null}]}},{key:"gene",label:"Gene",type:"entity-tag",width:"135px",tag:{truncateLabel:"125px"},sort:{},filter:{inputType:"default",options:[{key:"Filter Gene Name",value:null}]}},{key:"diseases",label:"Diseases",type:"entity-tag",width:"250px",sort:{},tag:{maxTags:1,truncateLabel:"175px"},filter:{inputType:"default",typename:"Therapy",options:[{key:"Filter Therapy Names",value:null}]}},{key:"therapies",label:"Therapies",type:"entity-tag",width:"275px",sort:{},tag:{maxTags:2,truncateLabel:"150px"},filter:{inputType:"default",typename:"Therapy",options:[{key:"Filter Therapy Names",value:null}]}}])}get(){return this.config}getSortStreams(){return this.sortStreams}getFilterStreams(){return this.filterStreams}getAttributeFilters(y,c){return y.getValues().map(j=>({text:(0,we.E)(j),value:j,byDefault:c===j}))}configureColumnStreams(y){return y.forEach(c=>{const m=c;if(vl(m)&&(m.sort.changes=new Ge.X({key:m.key,value:m.sort.default??null}),this.sortStreams.push(m.sort.changes)),Ec(m)){const j=m.filter.options.find(Be=>Be.byDefault)?.value;m.filter.changes=new Ge.X({key:m.key,value:j??null}),this.filterStreams.push(m.filter.changes)}}),y}}var ys;let Dc=((ys=class{set cvcTableScrollerToIndex(y){void 0!==y&&this.scrollToIndex(y)}set cvcTableScrollerToOffset(y){void 0!==y&&this.scrollToIndex(y)}constructor(y){this.host=y,this.cvcTableScrollerOnScroll=new e.vpe,this.cvcTableScrollerOnFetch=new e.vpe,this.cvcTableScrollerTargetHeight=140,this.cvcTableScrollerFetchCount=50,this.onLoadThrottleTime=500,this.onScrollThrottleTime=250,this.onScrollDebounceTime=300}ngAfterViewInit(){if(!this.host||!this.host.cdkVirtualScrollViewport)throw new Error("cvcTableScroller directive could not obtain reference to host cdkVirtualScrollViewport.");this.viewport=this.host.cdkVirtualScrollViewport,this.scrolled$=this.viewport.elementScrolled(),this.rendered$=this.viewport.renderedRangeStream,this.rendered$.pipe((0,ct.P)()).subscribe(()=>this.viewport.checkViewportSize()),this.scrolled$.pipe((0,Oi.p)(this.onScrollThrottleTime,Ai.z,{leading:!0,trailing:!0}),(0,ko.b)(y=>this.cvcTableScrollerOnScroll.next("scroll")),(0,eo.b)(this.onScrollDebounceTime),(0,ce.t)(this)).subscribe(y=>{this.cvcTableScrollerOnScroll.next("stop")}),this.scrolled$.pipe((0,vt.U)(y=>this.viewport.measureScrollOffset("bottom")),(0,Cn.G)(),(0,De.h)(([y,c])=>c{this.cvcTableScrollerOnScroll.next("bottom");try{this.loadMore(this.cvcTableScrollerPageInfo)}catch(c){console.error(c)}})}loadMore(y){const c=this.cvcTableScrollerQueryRef;if(!y&&c)throw new Error("table-scroll directive requires PageInfo to use provided QueryRef.");if(y&&!c)throw new Error("table-scroll directive requires valid QueryRef when PageInfo provided.");if(y&&c){const[m,j,Be]=[this.cvcTableScrollerFetchCount,y.hasNextPage,y.endCursor];if(!m||!Be)throw new Error("table-scroll PageInfo invalid.");if(!j)return;this.cvcTableScrollerOnFetch.next({first:m,after:Be})}}scrollToIndex(y){const[c,m]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!m)throw new Error("table-scroll scrollToIndex() cannot find host viewport.");m.scrollToIndex(y)}scrollToOffset(y){const[c,m]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!m)throw new Error("table-scroll scrollToOffset() cannot find host viewport.");m.scrollToOffset(y)}}).\u0275fac=function(y){return new(y||ys)(e.Y36(Ln.N8))},ys.\u0275dir=e.lG2({type:ys,selectors:[["","cvcTableScroller",""]],inputs:{cvcTableScrollerTargetHeight:"cvcTableScrollerTargetHeight",cvcTableScrollerQueryRef:"cvcTableScrollerQueryRef",cvcTableScrollerPageInfo:"cvcTableScrollerPageInfo",cvcTableScrollerFetchCount:"cvcTableScrollerFetchCount",cvcTableScrollerToIndex:"cvcTableScrollerToIndex",cvcTableScrollerToOffset:"cvcTableScrollerToOffset"},outputs:{cvcTableScrollerOnScroll:"cvcTableScrollerOnScroll",cvcTableScrollerOnFetch:"cvcTableScrollerOnFetch"}}),ys);function Eu(u,y){1&u&&e._UZ(0,"span",8)}function qi(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",9),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const j=e.MAs(3),Be=e.oxw();return j.value="",e.KtG(Be.cvcModelChange.next(null))}),e.qZA()}}function Oc(u,y){if(1&u&&(e.YNc(0,Eu,1,0,"span",6),e.YNc(1,qi,1,0,"span",7)),2&u){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function yl(u,y){if(1&u){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",2)(2,"input",3,4),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcModelChange.next(j))}),e.qZA()(),e.YNc(4,Oc,2,2,"ng-template",null,5,e.W1O),e.BQk()}if(2&u){const c=e.MAs(5),m=e.oxw();e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",m.cvcPlaceholder)("ngModel",m.cvcModel)}}function wc(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-input-number-group",10)(1,"nz-input-number",11,4),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.cvcModelChange.next(""===j?null:j))}),e.qZA()()}if(2&u){const c=e.oxw();let m;e.xp6(1),e.Q6J("nzPlaceHolder",null!==(m=c.cvcPlaceholder)&&void 0!==m?m:"")("ngModel",c.cvcModel)("nzMin",1)("nzStep",1)}}Dc=(0,te.gn)([(0,ce.c)()],Dc);let ji=(()=>{class u{constructor(){this.cvcModel=null,this.cvcModelChange=new e.vpe,this.cvcInputType="default"}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-variant-table-filter-input"]],inputs:{cvcModel:"cvcModel",cvcInputType:"cvcInputType",cvcPlaceholder:"cvcPlaceholder"},outputs:{cvcModelChange:"cvcModelChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","ngModelChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"]],template:function(c,m){if(1&c&&(e.YNc(0,yl,6,3,"ng-container",0),e.YNc(1,wc,3,4,"ng-template",null,1,e.W1O)),2&c){const j=e.MAs(2);e.Q6J("ngIf","default"===m.cvcInputType)("ngIfElse",j)}},dependencies:[M.O5,t.Fj,t.JJ,t.On,yo.w,Re.Ls,Pe.Zp,Pe.gB,Pe.ke,Bn._V,Bn.Rb]}),u})();function ua(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"li",5),e.NdJ("click",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.cvcOptionChange.next({key:Mt.cvcColumnKey,value:Be.value}))}),e._UZ(1,"cvc-attribute-tag",6),e.qZA()}if(2&u){const c=y.$implicit,m=e.oxw();e.Q6J("nzSelected",(null==m.cvcOption?null:m.cvcOption.value)===c.value),e.xp6(1),e.Q6J("cvcFullWidth",!0)("cvcChecked",(null==m.cvcOption?null:m.cvcOption.value)===c.value)("cvcAttrValue",c.value)}}let Cl=(()=>{class u{constructor(){this.cvcOptionChange=new e.vpe}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-variant-enum-filter-menu"]],inputs:{cvcColumnKey:"cvcColumnKey",cvcFilterOptions:"cvcFilterOptions",cvcOption:"cvcOption"},outputs:{cvcOptionChange:"cvcOptionChange"},decls:6,vars:2,consts:[["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[2,"padding","3px"],["nz-button","","nzType","default","nzBlock","","nzSize","small",3,"disabled","click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-menu-item","",3,"nzSelected","click"],["cvcContext","menu-item",3,"cvcFullWidth","cvcChecked","cvcAttrValue"]],template:function(c,m){1&c&&(e.TgZ(0,"ul",0),e.YNc(1,ua,2,4,"li",1),e.TgZ(2,"li",2)(3,"button",3),e.NdJ("click",function(){return m.cvcOptionChange.next({key:m.cvcColumnKey,value:null})}),e._UZ(4,"span",4),e._uU(5," Reset "),e.qZA()()()),2&c&&(e.xp6(1),e.Q6J("ngForOf",m.cvcFilterOptions),e.xp6(2),e.Q6J("disabled",null===(null==m.cvcOption?null:m.cvcOption.value)))},dependencies:[M.sg,ye,On.ix,yo.w,Xo.dQ,Re.Ls,zr.wO,zr.r9],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] ul li:hover{background-color:#e6f7ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected{background-color:#1890ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected:active{background-color:#096dd9}"],changeDetection:0}),u})();var da;function Pd(u,y){if(1&u&&e._UZ(0,"th",14),2&u){const c=y.ngIf;let m;e.Q6J("nzShowCheckbox",c.checkbox.th.showCheckbox||!1)("nzWidth",c.width)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function N1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"th",15),e.NdJ("nzSortOrderChange",function(j){const Mt=e.CHM(c).ngIf;return e.KtG(Mt.sort.changes.next({key:Mt.key,value:j}))}),e.ALo(1,"ngrxPush"),e.TgZ(2,"span",16),e._uU(3),e.qZA()()}if(2&u){const c=y.ngIf;let m,j;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",void 0!==c.sort)("nzSortFn",!0)("nzSortOrder",(null==(j=e.lcZ(1,10,c.sort.changes))?null:j.value)||null),e.xp6(2),e.Q6J("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function L1(u,y){if(1&u&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function xu(u,y){if(1&u&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function k1(u,y){if(1&u&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function R1(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Pd,1,5,"th",11),e.ALo(2,"guardType"),e.YNc(3,N1,4,12,"th",12),e.ALo(4,"guardType"),e.YNc(5,L1,2,7,"th",13),e.ALo(6,"guardType"),e.YNc(7,xu,2,7,"th",13),e.ALo(8,"guardType"),e.YNc(9,k1,2,7,"th",13),e.ALo(10,"guardType"),e.BQk()),2&u){const c=e.oxw().$implicit,m=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,5,c,m.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,8,c,m.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,11,c,m.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,14,c,m.colGuards.isTextTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(10,17,c,m.colGuards.isDefaultCol))}}function V1(u,y){if(1&u&&(e.ynx(0),e.YNc(1,R1,11,20,"ng-container",10),e.BQk()),2&u){const c=y.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function B1(u,y){if(1&u&&(e.TgZ(0,"th",22),e._uU(1," \xa0 "),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function zl(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-variant-table-filter-input",25),e.NdJ("cvcModelChange",function(j){const Mt=e.CHM(c).ngIf,bn=e.oxw().ngIf;return e.KtG(Mt.changes.next({key:bn.key,value:j}))}),e.qZA()}if(2&u){const c=e.oxw().ngIf;e.Q6J("cvcInputType",c.filter.inputType)("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function Pc(u,y){if(1&u&&(e.TgZ(0,"th",23),e.YNc(1,zl,1,3,"cvc-variant-table-filter-input",24),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.filter)}}function Du(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"th",26,27),e.NdJ("nzSortOrderChange",function(j){const Mt=e.CHM(c).ngIf;return e.KtG(Mt.sort.changes.next({key:Mt.key,value:j}))}),e.ALo(2,"ngrxPush"),e.TgZ(3,"nz-filter-trigger",28,29),e.ALo(5,"ngrxPush"),e._UZ(6,"span",30),e.qZA(),e.TgZ(7,"nz-dropdown-menu",null,31)(9,"cvc-variant-enum-filter-menu",32),e.NdJ("cvcOptionChange",function(j){const Mt=e.CHM(c).ngIf,bn=e.MAs(4);return Mt.filter.changes.next(j),e.KtG(bn.nzVisible=!1)}),e.ALo(10,"ngrxPush"),e.qZA()()()}if(2&u){const c=y.ngIf,m=e.MAs(8);let j,Be,Mt;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(j=c.align)&&void 0!==j?j:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",!0)("nzSortFn",!0)("nzSortOrder",(null==(Be=e.lcZ(2,15,c.sort.changes))?null:Be.value)||null)("nzShowFilter",void 0!==c.filter)("nzFilterFn",!0),e.xp6(3),e.Q6J("nzDropdownMenu",m)("nzActive",null!==(null==(Mt=e.lcZ(5,17,c.filter.changes))?null:Mt.value)),e.xp6(6),e.Q6J("cvcColumnKey",c.key)("cvcFilterOptions",c.filter.options)("cvcOption",e.lcZ(10,19,c.filter.changes))}}function ss(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"th",33,27)(2,"nz-filter-trigger",28),e.ALo(3,"ngrxPush"),e._UZ(4,"span",34),e.qZA(),e.TgZ(5,"nz-dropdown-menu",null,35)(7,"div",36)(8,"div",37)(9,"cvc-variant-table-filter-input",38),e.NdJ("cvcModelChange",function(j){const Mt=e.CHM(c).ngIf;return e.KtG(Mt.filter.changes.next({key:Mt.key,value:j}))}),e.qZA()()()()()}if(2&u){const c=y.ngIf,m=e.MAs(6);let j,Be;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(j=c.align)&&void 0!==j?j:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzFilterFn",!0),e.xp6(2),e.Q6J("nzDropdownMenu",m)("nzActive",null!==(null==(Be=e.lcZ(3,10,c.filter.changes))?null:Be.value)),e.xp6(7),e.Q6J("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function H1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-variant-table-filter-input",38),e.NdJ("cvcModelChange",function(j){const Mt=e.CHM(c).ngIf,bn=e.oxw().ngIf;return e.KtG(Mt.changes.next({key:bn.key,value:j}))}),e.qZA()}if(2&u){const c=e.oxw().ngIf;e.Q6J("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function Y1(u,y){if(1&u&&(e.TgZ(0,"th",23),e.YNc(1,H1,1,2,"cvc-variant-table-filter-input",39),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.filter)}}function Ou(u,y){if(1&u&&(e.ynx(0),e.YNc(1,B1,2,5,"th",18),e.ALo(2,"guardType"),e.YNc(3,Pc,2,6,"th",19),e.ALo(4,"guardType"),e.YNc(5,Du,11,21,"th",20),e.ALo(6,"guardType"),e.YNc(7,ss,10,12,"th",21),e.ALo(8,"guardType"),e.YNc(9,Y1,2,6,"th",19),e.ALo(10,"guardType"),e.BQk()),2&u){const c=e.oxw().$implicit,m=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,5,c,m.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,8,c,m.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,11,c,m.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,14,c,m.colGuards.isTextTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(10,17,c,m.colGuards.isDefaultCol))}}function Tl(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Ou,11,20,"ng-container",10),e.BQk()),2&u){const c=y.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function Ml(u,y){if(1&u&&(e.TgZ(0,"thead")(1,"tr",7),e.YNc(2,V1,2,1,"ng-container",8),e.qZA(),e.TgZ(3,"tr",9),e.YNc(4,Tl,2,1,"ng-container",8),e.qZA()()),2&u){const c=y.ngrxLet;e.xp6(2),e.Q6J("ngForOf",c),e.xp6(2),e.Q6J("ngForOf",c)}}function pa(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"td",45),e.NdJ("nzCheckedChange",function(j){e.CHM(c);const Be=e.oxw(3).$implicit,Mt=e.oxw(2);return e.KtG(Mt.onRowSelected$.next({id:Be.id,selected:j}))}),e.qZA()}if(2&u){const c=y.ngIf,m=e.oxw(3).$implicit;let j;e.Q6J("nzChecked",m.selected)("nzAlign",null!==(j=c.align)&&void 0!==j?j:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function Ya(u,y){1&u&&e.GkF(0)}const wu=function(u,y,c){return{$implicit:u,config:y,emphasize:c}};function Ic(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Ya,1,0,"ng-container",51),e.ALo(2,"isArray"),e.ALo(3,"ngrxPush"),e.BQk()),2&u){const c=e.oxw().ngIf,m=e.oxw().ngIf,j=e.MAs(3),Be=e.MAs(5),Mt=e.oxw(3).$implicit;let bn;e.xp6(1),e.Q6J("ngTemplateOutlet",e.lcZ(2,2,Mt[c])?j:Be)("ngTemplateOutletContext",e.kEZ(6,wu,Mt[c],m,null==(bn=e.lcZ(3,4,m.filter.changes))?null:bn.value))}}function $a(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Ic,4,10,"ng-container",50),e.BQk()),2&u){const c=y.ngIf;e.oxw();const m=e.MAs(7),j=e.oxw(3).$implicit;e.xp6(1),e.Q6J("ngIf",j[c])("ngIfElse",m)}}const Pu=function(u,y,c,m,j){return{tagList:u,tag:y,showPopover:c,status:m,emphasize:j}};function $1(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"cvc-entity-collection-tag",53),e.BQk()),2&u){const c=e.oxw(2),m=c.config,j=c.$implicit,Be=c.emphasize;e.oxw();const Mt=e.MAs(5),bn=e.oxw(5);e.xp6(1),e.Q6J("cvcCollectionTagConfig",e.qbA(3,Pu,j.slice(m.tag.maxTags,j.length),m.tag,!bn.isScrolling,!0===m.showStatus?j.status:void 0,Be))("cvcTagTemplate",Mt)("cvcShowFullLabels",!0)}}function U1(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"cvc-entity-tag-list",52),e.YNc(2,$1,2,9,"ng-container",10),e.BQk()),2&u){const c=e.oxw(),m=c.config,j=c.$implicit,Be=c.emphasize;e.oxw();const Mt=e.MAs(5),bn=e.oxw(5);e.xp6(1),e.Q6J("cvcTagTemplate",Mt)("cvcTagListConfig",e.qbA(3,Pu,j.slice(0,m.tag.maxTags),m.tag,!bn.isScrolling,!0===m.showStatus?j.status:void 0,Be)),e.xp6(1),e.Q6J("ngIf",j.slice(m.tag.maxTags,j.length).length>0)}}function G1(u,y){if(1&u&&e.YNc(0,U1,3,9,"ng-container",50),2&u){const c=y.$implicit;e.oxw();const m=e.MAs(7);e.Q6J("ngIf",c.length>0)("ngIfElse",m)}}function Q1(u,y){if(1&u&&e._UZ(0,"cvc-entity-tag",54),2&u){const c=y.$implicit,m=y.config,j=y.emphasize,Be=e.oxw(6);let Mt;e.Q6J("cvcTruncateLabel",null==m.tag?null:m.tag.truncateLabel)("cvcLinkableEntity",c)("cvcEmphasize",j)("cvcShowPopover",!Be.isScrolling)("cvcStatus",!0===m.showStatus?c.status:void 0)("cvcFullWidth",null!==(Mt=null==m.tag?null:m.tag.fullWidth)&&void 0!==Mt&&Mt)}}function j1(u,y){if(1&u&&e._UZ(0,"cvc-empty-value",55),2&u){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function Iu(u,y){if(1&u&&(e.TgZ(0,"td",46),e.YNc(1,$a,2,2,"ng-container",10),e.YNc(2,G1,1,2,"ng-template",null,47,e.W1O),e.YNc(4,Q1,1,6,"ng-template",null,48,e.W1O),e.YNc(6,j1,1,1,"ng-template",null,49,e.W1O),e.qZA()),2&u){const c=y.ngIf;let m;e.Q6J("nzAlign",null!==(m=c.align)&&void 0!==m?m:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.context||c.key)}}function Au(u,y){if(1&u&&(e._UZ(0,"cvc-attribute-tag",58),e.ALo(1,"evidenceEnumDisplay")),2&u){const c=e.oxw().ngIf,m=e.oxw(3).$implicit,j=e.oxw(2);e.Q6J("cvcFullWidth",!0)("cvcAttrValue",m[c.key])("cvcTooltip",e.lcZ(1,3,!j.isScrolling&&m[c.key]))}}function W1(u,y){if(1&u&&e._UZ(0,"cvc-empty-value",55),2&u){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function bl(u,y){if(1&u&&(e.TgZ(0,"td",46),e.YNc(1,Au,2,5,"cvc-attribute-tag",56),e.YNc(2,W1,1,1,"ng-template",null,57,e.W1O),e.qZA()),2&u){const c=y.ngIf,m=e.MAs(3),j=e.oxw(3).$implicit;let Be;e.Q6J("nzAlign",null!==(Be=c.align)&&void 0!==Be?Be:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",j[c.key])("ngIfElse",m)}}function Z1(u,y){if(1&u&&(e.TgZ(0,"nz-tag",61),e._UZ(1,"span",62),e.qZA()),2&u){const c=e.oxw().ngIf,m=e.oxw(3).$implicit;e.Q6J("nzTooltipTitle",m[c.key])}}function K1(u,y){if(1&u&&e._UZ(0,"cvc-empty-value",55),2&u){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function Sl(u,y){if(1&u&&(e.TgZ(0,"td",46),e.YNc(1,Z1,2,1,"nz-tag",59),e.YNc(2,K1,1,1,"ng-template",null,60,e.W1O),e.qZA()),2&u){const c=y.ngIf,m=e.MAs(3),j=e.oxw(3).$implicit;let Be;e.Q6J("nzAlign",null!==(Be=c.align)&&void 0!==Be?Be:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",j[c.key])("ngIfElse",m)}}function Fu(u,y){1&u&&e.GkF(0)}const as=function(u,y){return{$implicit:u,emphasize:y}};function Zn(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Fu,1,0,"ng-container",51),e.ALo(2,"isArray"),e.ALo(3,"ngrxPush"),e.BQk()),2&u){const c=y.ngIf,m=e.oxw().ngIf,j=e.MAs(3),Be=e.MAs(5);let Mt;e.xp6(1),e.Q6J("ngTemplateOutlet",e.lcZ(2,2,c)?j:Be)("ngTemplateOutletContext",e.WLB(6,as,c,null==(Mt=e.lcZ(3,4,m.filter.changes))?null:Mt.value))}}function xi(u,y){1&u&&e.GkF(0)}function z(u,y){1&u&&(e.ynx(0),e._uU(1,", "),e.BQk())}function ot(u,y){if(1&u&&(e.ynx(0),e.YNc(1,xi,1,0,"ng-container",51),e.YNc(2,z,2,0,"ng-container",10),e.BQk()),2&u){const c=y.$implicit,m=y.last,j=e.oxw(2).emphasize;e.oxw();const Be=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",Be)("ngTemplateOutletContext",e.WLB(3,as,c,j)),e.xp6(1),e.Q6J("ngIf",!m)}}function se(u,y){if(1&u&&(e.ynx(0),e.YNc(1,ot,3,6,"ng-container",8),e.BQk()),2&u){const c=e.oxw().$implicit;e.xp6(1),e.Q6J("ngForOf",c)}}function lp(u,y){if(1&u&&e.YNc(0,se,2,1,"ng-container",50),2&u){const c=y.$implicit;e.oxw();const m=e.MAs(7);e.Q6J("ngIf",c.length>0)("ngIfElse",m)}}function J1(u,y){if(1&u&&(e._UZ(0,"span",67),e.ALo(1,"highlightTypeahead")),2&u){const c=y.$implicit,m=y.emphasize,j=e.oxw().ngIf;e.Q6J("innerHtml",e.xi3(1,1,j.objectKey?c[j.objectKey]:c,m),e.oJD)}}function zo(u,y){if(1&u&&e._UZ(0,"cvc-empty-value",55),2&u){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function Nu(u,y){if(1&u&&(e.TgZ(0,"td",63),e.YNc(1,Zn,4,9,"ng-container",50),e.YNc(2,lp,1,2,"ng-template",null,64,e.W1O),e.YNc(4,J1,2,4,"ng-template",null,65,e.W1O),e.YNc(6,zo,1,1,"ng-template",null,66,e.W1O),e.qZA()),2&u){const c=y.ngIf,m=e.MAs(7),j=e.oxw(3).$implicit;let Be;e.Q6J("nzAlign",null!==(Be=c.align)&&void 0!==Be?Be:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",j[c.key])("ngIfElse",m)}}function Lu(u,y){if(1&u&&(e.ynx(0),e.YNc(1,pa,1,4,"td",42),e.ALo(2,"guardType"),e.YNc(3,Iu,8,4,"td",43),e.ALo(4,"guardType"),e.YNc(5,bl,4,5,"td",43),e.ALo(6,"guardType"),e.YNc(7,Sl,4,5,"td",43),e.ALo(8,"guardType"),e.YNc(9,Nu,8,5,"td",44),e.ALo(10,"guardType"),e.BQk()),2&u){const c=e.oxw().$implicit,m=e.oxw(3);e.xp6(1),e.Q6J("ngIf",e.xi3(2,5,c,m.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,8,c,m.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,11,c,m.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,14,c,m.colGuards.isTextTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(10,17,c,m.colGuards.isDefaultCol))}}function ku(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Lu,11,20,"ng-container",10),e.BQk()),2&u){const c=y.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function El(u,y){if(1&u&&(e.TgZ(0,"tr",41),e.YNc(1,ku,2,1,"ng-container",8),e.qZA()),2&u){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngForOf",c)}}function Cs(u,y){1&u&&(e.TgZ(0,"tbody"),e.YNc(1,El,2,1,"ng-template",40),e.qZA())}function Rs(u,y){1&u&&e._UZ(0,"span",75)}function xl(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"span",76),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const j=e.MAs(3),Be=e.oxw().filter;return j.value="",e.KtG(Be.changes.next({key:Be.key,value:null}))}),e.qZA()}}function Wr(u,y){if(1&u&&(e.YNc(0,Rs,1,0,"span",73),e.YNc(1,xl,1,0,"span",74)),2&u){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function Id(u,y){if(1&u){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",69)(2,"input",70,71),e.NdJ("nzFilterChange",function(j){e.CHM(c);const Be=e.oxw().filter;return e.KtG(Be.changes.next({key:Be.key,value:j}))}),e.qZA()(),e.YNc(4,Wr,2,2,"ng-template",null,72,e.W1O),e.BQk()}if(2&u){const c=e.MAs(5),m=e.oxw().filter;e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",m.placeholder)("ngModel",m.defaultValue)}}function q1(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-input-number-group",77)(1,"nz-input-number",78,71),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw().filter;return e.KtG(Be.changes.next({key:Be.key,value:j}))}),e.qZA()()}if(2&u){const c=e.oxw().filter;e.xp6(1),e.Q6J("nzPlaceHolder",c.placeholder)("ngModel",c.defaultValue)("nzMin",1)("nzStep",1)}}function Ua(u,y){if(1&u&&(e.YNc(0,Id,6,3,"ng-container",50),e.YNc(1,q1,3,4,"ng-template",null,68,e.W1O)),2&u){const c=y.filter,m=e.MAs(2);e.Q6J("ngIf",void 0===c.inputType||"default"===c.inputType)("ngIfElse",m)}}const X1=function(){return[6,6]};function Pi(u,y){1&u&&(e.TgZ(0,"nz-row",79)(1,"nz-col")(2,"span"),e._uU(3,"Use checkboxes to select or deselect EIDs"),e.qZA()()()),2&u&&e.Q6J("nzGutter",e.DdM(1,X1))}function Xi(u,y){1&u&&(e.TgZ(0,"nz-tag",90),e._UZ(1,"i",91),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}const Ac=function(u){return{$implicit:u}};function Ad(u,y){if(1&u&&(e.TgZ(0,"nz-tag",94),e._UZ(1,"span",95),e.TgZ(2,"span",96),e._uU(3),e.qZA()()),2&u){e.oxw();const c=e.MAs(4),m=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,Ac,m.query)),e.xp6(1),e.hij(" Query Error",m.query.length>1?"s":""," ")}}function ed(u,y){if(1&u&&(e.TgZ(0,"nz-tag",94)(1,"span",96)(2,"span",97)(3,"strong"),e._uU(4),e.qZA()()()()),2&u){e.oxw();const c=e.MAs(4),m=e.oxw().ngrxLet;e.xp6(1),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,Ac,m.network)),e.xp6(3),e.hij(" Network Error",m.query.length>1?"s":""," ")}}function Fd(u,y){if(1&u&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&u){const c=y.$implicit;e.xp6(1),e.hij(" ",c.message," ")}}function Dl(u,y){1&u&&e.YNc(0,Fd,2,1,"div",8),2&u&&e.Q6J("ngForOf",y.$implicit)}function Ru(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Ad,4,5,"nz-tag",92),e.YNc(2,ed,5,5,"nz-tag",92),e.YNc(3,Dl,1,1,"ng-template",null,93,e.W1O),e.BQk()),2&u){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",c.query),e.xp6(1),e.Q6J("ngIf",c.network)}}function Ga(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Ru,5,2,"ng-container",10),e.BQk()),2&u){const c=y.ngrxLet;e.xp6(1),e.Q6J("ngIf",c)}}function ha(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",98)(1,"nz-checkbox-group",99),e.NdJ("ngModelChange",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.onPreferenceChange$.next(j))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&u){const c=e.oxw(2);e.xp6(1),e.Q6J("ngModel",e.lcZ(2,1,c.setPreference$))}}function td(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-row",79)(1,"nz-col",80),e.YNc(2,Xi,4,0,"nz-tag",81),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e._UZ(5,"cvc-no-more-rows",82),e.ALo(6,"ngrxPush"),e.qZA(),e.TgZ(7,"nz-col",80),e.YNc(8,Ga,2,1,"ng-container",3),e.qZA(),e.TgZ(9,"nz-col",80),e._UZ(10,"cvc-table-counts2",83),e.qZA(),e.TgZ(11,"nz-col",84)(12,"nz-button-group")(13,"button",85),e.NdJ("click",function(){e.CHM(c);const j=e.oxw();return e.KtG(j.onResetFilter$.next())}),e._UZ(14,"span",86),e.qZA(),e.TgZ(15,"button",87),e._UZ(16,"span",88),e.qZA()(),e.YNc(17,ha,3,3,"ng-template",null,89,e.W1O),e.qZA()()}if(2&u){const c=e.MAs(18),m=e.oxw();e.Q6J("nzGutter",8),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,m.loading$)&&e.lcZ(4,9,m.isFetchMore$)),e.xp6(3),e.Q6J("cvcShowTag",e.lcZ(6,11,m.noMoreRows$)),e.xp6(3),e.Q6J("ngrxLet",m.queryError$),e.xp6(2),e.Q6J("cvcTableCountsConnection",m.connection$),e.xp6(5),e.Q6J("nzPopoverContent",c)("nzPopoverTrigger","click")}}const Ol=function(){return[]},up=function(){return{x:"800px",y:"200px"}};let Fc=((da=class{constructor(y,c,m){this.queryGQL=y,this.apollo=c,this.cdr=m,this.cvcSelectedIdsChange=new e.vpe,this.isScrolling=!1,this.colGuards=jr,this.onFetchMore$=new st.x,this.onPreferenceChange$=new Ge.X([]),this.onResetFilter$=new st.x,this.onRowSelected$=new st.x,this.onScroll$=new Ge.X("stop"),this.onSetSelectedRow$=new Ge.X(new Set),this.queryError$=new st.x,this.queryRequest$=new st.x,this.queryResult$=new bo.t(1),this.isFetchMore$=new Ge.X(!1),this.noMoreRows$=new Ge.X(!1),this.scrollToIndex$=new st.x,this.tableConfig=new Su;const j=(0,vo.a)(this.tableConfig.getFilterStreams()),Be=(0,vo.a)(this.tableConfig.getSortStreams()).pipe((0,De.h)(Mt=>Mt.filter(bn=>null!==bn.value).length<=1));this.refetch$=(0,vo.a)([Be,j]).pipe((0,vt.U)(([Mt,bn])=>({query:"refetch",sort:Mt,filter:bn}))),this.fetchMore$=this.onFetchMore$.pipe((0,vt.U)(Mt=>({query:"fetchMore",fetchMore:{...Mt}}))),(0,Jn.T)(this.refetch$,this.fetchMore$).pipe((0,eo.b)(50),(0,ce.t)(this)).subscribe(Mt=>{const bn=this.getQueryVars(Mt);this.queryRef?(this.queryError$.next({}),"refetch"===Mt.query?(this.isFetchMore$.next(!1),this.queryRef.refetch(bn).then(Hn=>{(Hn.error||Hn.errors)&&this.queryError$.next(this.getRequestErrors(Hn))}).then(()=>{this.scrollToIndex$.next(0)})):(this.isFetchMore$.next(!0),this.queryRef.fetchMore({variables:bn}).then(Hn=>{(Hn.error||Hn.errors)&&this.queryError$.next(this.getRequestErrors(Hn))}))):(this.isFetchMore$.next(!1),this.queryError$.next({}),this.queryRef=this.queryGQL.watch(bn),this.queryRef.valueChanges.pipe((0,ce.t)(this)).subscribe(Hn=>{this.queryResult$.next(Hn),(Hn.error||Hn.errors)&&this.queryError$.next(this.getRequestErrors(Hn))}))}),this.loading$=this.queryResult$.pipe((0,rn.j)("loading"),(0,Ro.x)()),this.connection$=this.queryResult$.pipe((0,rn.j)("data","browseVariants"),(0,De.h)(Mo.ep)),this.pageInfo$=this.connection$.pipe((0,rn.j)("pageInfo"),(0,De.h)(Mo.ep)),this.row$=(0,vo.a)([this.connection$.pipe((0,rn.j)("edges"),(0,De.h)(Mo.ep),(0,vt.U)(Mt=>Mt.map(bn=>bn.node))),this.onSetSelectedRow$]).pipe((0,vt.U)(([Mt,bn])=>Mt.map(Hn=>{if(Hn)return{...Hn,variant:{__typename:"Variant",id:Hn.id,name:Hn.name,link:Hn.link},gene:{__typename:"Gene",id:Hn.geneId,name:Hn.geneName,link:Hn.geneLink},selected:bn.has(Hn.id)}}))),this.col$=new Ge.X(this.tableConfig.get()),this.setPreference$=this.col$.pipe((0,vt.U)(Mt=>this.getColPrefsFromTableConfig(Mt))),this.onPreferenceChange$.pipe((0,it.M)(this.col$),(0,vt.U)(([Mt,bn])=>this.getTableConfigFromColPrefs(Mt,bn)),(0,ce.t)(this)).subscribe(Mt=>{this.col$.next(Mt)}),this.onSetTableFilter$=new Ge.X([]),this.onSetTableFilter$.pipe((0,ce.t)(this)).subscribe(Mt=>{const bn=this.col$.getValue();Mt.forEach(Hn=>{const Ho=bn.find(Zi=>Zi.key===Hn.key);if(void 0!==Ho.filter.inputType){const Zi=Ho.filter.options[0];if(null===Hn.value)return Ho.filter.options=[{...Zi,value:null}],void Ho.filter.changes.next(Hn);if(Array.isArray(Hn.value)&&0===Hn.value.length)return Ho.filter.options=[{...Zi,value:null}],void Ho.filter.changes.next({...Hn,value:null});let tr;Array.isArray(Hn.value)?Hn.value.length>0&&(tr=Hn.value[0]):tr=Hn.value;const Ll=Ho.filter.typename;if(!Ll||!tr)return void console.error(`variant-manager requires column config '${Ho.key}' provide a typename for cvcTablePrefs Input to set its filter`);const ec=this.getEntityName(Ll,tr);if(!ec)return;Ho.filter.options=[{...Zi,value:ec}],Ho.filter.changes.next({...Hn,value:ec})}else Ec(Ho)&&Ho.filter.changes.next(Hn)})}),this.onSetTablePref$=new Ge.X([]),this.onSetTablePref$.pipe((0,it.M)(this.setPreference$),(0,vt.U)(([Mt,bn])=>{const Hn=[];return Mt.forEach(Ho=>{let Zi=bn.find(tr=>tr.value===Ho.value);Zi?Hn.push({...Zi,...Ho}):console.warn(`variant-manager onSetTablePref$ received updated preferences for column '${Ho.value}', but a column with that key could not be found.`)}),Hn}),(0,ce.t)(this)).subscribe(Mt=>{this.onPreferenceChange$.next(Mt)}),this.onRowSelected$.pipe((0,it.M)(this.onSetSelectedRow$),(0,ce.t)(this)).subscribe(([Mt,bn])=>{Mt.selected?bn.add(Mt.id):bn.delete(Mt.id),this.onSetSelectedRow$.next(bn),this.cvcSelectedIdsChange.next(Array.from(bn))}),this.onScroll$.pipe((0,vt.U)(Mt=>"stop"!==Mt),(0,Ro.x)(),(0,ce.t)(this)).subscribe(Mt=>{this.isScrolling=Mt,this.cdr.detectChanges()}),this.onScroll$.pipe((0,De.h)(Mt=>"bottom"===Mt),(0,it.M)(this.pageInfo$),(0,vt.U)(([Mt,bn])=>bn),(0,ce.t)(this)).subscribe(Mt=>{Mt.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}ngAfterViewInit(){this.onResetFilter$.pipe((0,it.M)((0,$o.of)(this.tableConfig.get())),(0,ce.t)(this)).subscribe(([y,c])=>{const m=[];c.forEach(j=>{if(vl(j)&&j.sort.changes&&j.sort.changes.next({key:j.key,value:j.sort.default??null}),Ec(j)){const Be=j.filter.options.find(Mt=>1==Mt.byDefault)?.value;j.filter.changes&&j.filter.changes.next({key:j.key,value:Be||null})}m.push(j)}),this.col$.next(m)})}getQueryVars(y){const c=this.getQueryFilterParams(y);return{...this.getQuerySortParams(y),...c,...y.fetchMore}}getQuerySortParams(y){if(!y.sort)return;const m=y.sort.find(Be=>null!==Be.value);return m?{sortBy:{column:this.getSortColumnFromColKey(m.key),direction:"ascend"===m.value?Nn.SrV.Asc:Nn.SrV.Desc||void 0}}:void 0}getQueryFilterParams(y){let c={};return y.filter&&y.filter.forEach(m=>{c[bu[m.key]||m.key]=null===m.value||""===m.value?void 0:m.value}),c}getRequestErrors(y){return{query:y.errors,network:y.error}}getTableConfigFromColPrefs(y,c){return c.forEach(m=>{if(_l.find(Be=>Be===m.key))return;const j=y.find(Be=>Be.value===m.key);j&&(m.hidden=!j?.checked)}),[...c]}getColPrefsFromTableConfig(y){let c=[];return y.forEach(m=>{_l.find(j=>j===m.key)||c.push({label:m.tooltip||m.label,value:m.key,checked:!m.hidden})}),c}getSortColumnFromColKey(y){return xc[y]}getEntityName(y,c){const m={id:`${y}:${c}`,fragment:Oo.Ps` + fragment Linkable${y}Entity on ${y} { + id + name + link + }`},j=this.apollo.client.readFragment(m);if(j)return j.name;console.error(`variant-manager onSetTableFilter$ could not find cached entity ${y}:${c} to populate input filter`)}trackByIndex(y,c){return c?.id}ngOnChanges(y){if(y.cvcTableSettings){const c=y.cvcTableSettings.currentValue;void 0!==c&&this.onSetTableFilter$.next(c.filters)}if(y.cvcSelectedIds){const c=y.cvcSelectedIds.currentValue,m=new Set;void 0!==c&&c.forEach(j=>m.add(j)),this.onSetSelectedRow$.next(m)}}}).\u0275fac=function(y){return new(y||da)(e.Y36(Nn.XQi),e.Y36(co._M),e.Y36(e.sBO))},da.\u0275cmp=e.Xpm({type:da,selectors:[["cvc-variant-manager"]],inputs:{cvcTableSettings:"cvcTableSettings",cvcSelectedIds:"cvcSelectedIds"},outputs:{cvcSelectedIdsChange:"cvcSelectedIdsChange"},features:[e.TTD],decls:16,vars:27,consts:[["nzSize","small",3,"nzTitle","nzExtra"],["cvcTableScroller","",3,"nzData","cvcTableScrollerQueryRef","cvcTableScrollerPageInfo","cvcTableScrollerToIndex","nzScroll","nzVirtualForTrackBy","nzVirtualItemSize","nzSize","nzFrontPagination","nzShowPagination","nzLoading","cvcTableScrollerOnScroll","cvcTableScrollerOnFetch"],["virtualTable",""],[4,"ngrxLet"],["columnFilterInput",""],["cardTitle",""],["extraTemplate",""],[1,"col-header-row"],[4,"ngFor","ngForOf"],[1,"filter-row"],[4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange",4,"ngIf"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle",4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange"],["nz-tooltip","",1,"col-header-label",3,"nzTooltipTitle"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange",4,"ngIf"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange"],["enumTableFilter",""],[3,"nzDropdownMenu","nzActive"],["enumTagFilterTrigger",""],["nz-icon","","nzType","filter","nzTheme","fill"],["enumFilterMenu","nzDropdownMenu"],[3,"cvcColumnKey","cvcFilterOptions","cvcOption","cvcOptionChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn"],["nz-icon","","nzType","search"],["textTagFilterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],[1,"custom-input-dropdown"],[3,"cvcPlaceholder","cvcModel","cvcModelChange"],[3,"cvcPlaceholder","cvcModel","cvcModelChange",4,"ngIf"],["nz-virtual-scroll",""],[1,"data-row"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange",4,"ngIf"],[3,"nzAlign","nzLeft","nzRight",4,"ngIf"],["class","default-col-type",3,"nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange"],[3,"nzAlign","nzLeft","nzRight"],["entityTagList",""],["entityTag",""],["emptyEntityTagCell",""],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"cvcTagTemplate","cvcTagListConfig"],[3,"cvcCollectionTagConfig","cvcTagTemplate","cvcShowFullLabels"],[3,"cvcTruncateLabel","cvcLinkableEntity","cvcEmphasize","cvcShowPopover","cvcStatus","cvcFullWidth"],[3,"cvcEmptyCategory"],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip",4,"ngIf","ngIfElse"],["emptyEnumTagCell",""],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip"],["nz-tooltip","","style","width: 100%; cursor: help; color: #595959",3,"nzTooltipTitle",4,"ngIf","ngIfElse"],["emptyTextTagCell",""],["nz-tooltip","",2,"width","100%","cursor","help","color","#595959",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left","nzTheme","outline"],[1,"default-col-type",3,"nzAlign","nzLeft","nzRight"],["staticList",""],["staticValue",""],["emptyDefaultCell",""],[3,"innerHtml"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","nzFilterChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"],[3,"nzGutter"],["nzFlex","auto"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],[3,"cvcTableCountsConnection"],["nzFlex","35px"],["nz-button","","type","button","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-button","","nz-popover","","nzPopoverTitle","Visible Columns","type","button","nzType","default","nzSize","small",3,"nzPopoverContent","nzPopoverTrigger"],["nz-icon","","nzType","setting","nzTheme","outline"],["prefsPopover",""],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""],["nzColor","error","style","margin-left: 12px",4,"ngIf"],["queryError",""],["nzColor","error",2,"margin-left","12px"],["nz-icon","","nzType","question-circle","nzTheme","outline"],["nz-tooltip","",2,"cursor","help",3,"nzTooltipTitle","nzTooltipTitleContext"],["nz-typography",""],[1,"prefs-popover"],[3,"ngModel","ngModelChange"]],template:function(y,c){if(1&y&&(e.TgZ(0,"nz-card",0)(1,"nz-table",1,2),e.NdJ("cvcTableScrollerOnScroll",function(j){return c.onScroll$.next(j)})("cvcTableScrollerOnFetch",function(j){return c.onFetchMore$.next(j)}),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.YNc(8,Ml,5,2,"thead",3),e.YNc(9,Cs,2,0,"tbody",3),e.qZA()(),e.YNc(10,Ua,3,2,"ng-template",null,4,e.W1O),e.YNc(12,Pi,4,2,"ng-template",null,5,e.W1O),e.YNc(14,td,19,13,"ng-template",null,6,e.W1O)),2&y){const m=e.MAs(13),j=e.MAs(15);e.Q6J("nzTitle",m)("nzExtra",j),e.xp6(1),e.Q6J("nzData",e.lcZ(3,15,c.row$)||e.DdM(25,Ol))("cvcTableScrollerQueryRef",c.queryRef)("cvcTableScrollerPageInfo",e.lcZ(4,17,c.pageInfo$))("cvcTableScrollerToIndex",e.lcZ(5,19,c.scrollToIndex$))("nzScroll",e.DdM(26,up))("nzVirtualForTrackBy",c.trackByIndex)("nzVirtualItemSize",28)("nzSize","small")("nzFrontPagination",!1)("nzShowPagination",!1)("nzLoading",e.lcZ(6,21,c.loading$)&&!e.lcZ(7,23,c.isFetchMore$)),e.xp6(7),e.Q6J("ngrxLet",c.col$),e.xp6(1),e.Q6J("ngrxLet",c.col$)}},dependencies:[M.sg,M.O5,M.tP,xo.J,he,sn,ye,os,Le.P,Ee.H,t.Fj,t.JJ,t.On,F.eJ,On.ix,On.fY,yo.w,Xo.dQ,R.t3,R.SK,Re.Ls,Pe.Zp,Pe.gB,Pe.ke,ge.ZU,Gn.bd,Yt.ub,Fn.RR,Bn._V,Bn.Rb,Wn.lU,Ln.N8,Ln.qD,Ln.Uo,Ln._C,Ln.h7,Ln.Om,Ln.p0,Ln.$Z,Ln.zu,Ln.qn,Ln.Ql,Ln.UX,Ln.g6,Wt.j,Xe.SY,Dc,ji,Cl,Rr,J.Do,I.A,or,F.fM],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-left:6px}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type cvc-entity-tag[_ngcontent-%COMP%]{margin-left:6px}td.default-col-type[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.ant-table-filter-dropdown[_ngcontent-%COMP%]{padding:8px}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label{display:block}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label span{display:inline-block}"],changeDetection:0}),da);var Vs;function Qa(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.BQk()),2&u){const c=y.ngrxLet;e.xp6(2),e.Oqu(c.message)}}function wl(u,y){if(1&u&&e._uU(0),2&u){const c=e.oxw();e.Oqu(c.successMessage)}}Fc=(0,te.gn)([(0,ce.c)()],Fc);const ja=function(){return[0,0]};let Pl=((Vs=class{set cvcGeneId(y){y&&this.geneId$.next(y)}set cvcGeneName(y){y&&this.geneName$.next(y)}set cvcSearchString(y){y&&this.searchString$.next(y)}constructor(y,c){this.query=y,this.errors=c,this.cvcOnCreate=new e.vpe,this.form=new t.nJ({}),this.model={name:""},this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.onSubmit$=new st.x,this.searchString$=new Ge.X(void 0),this.geneName$=new Ge.X(void 0),this.geneId$=new Ge.X(void 0),this.formMessageDisplay$=new Ge.X({message:"Variant does not exist, create it?"}),this.queryMutator=new Uo.U(this.errors),this.addVariantMutator=new Uo.U(this.errors),this.minNameLength=3,this.fields=[{key:"geneId",hide:!0,props:{required:!0}},{key:"name",hide:!0,props:{minLength:this.minNameLength,required:!0}}],this.geneId$.pipe((0,ce.t)(this)).subscribe(m=>{this.model.geneId=m}),this.searchString$.pipe((0,ce.t)(this)).subscribe(m=>{this.model.name=m,this.formMessageDisplay$.next(void 0!==m&&m.length{console.log("variant-quick-add form model submitted.",m),this.submitVariant(m)})}submitVariant(y){y.name&&y.geneId?this.mutationState=this.addVariantMutator.mutate(this.query,{name:y.name,geneId:y.geneId},{},c=>{console.log("variant-quick-add submit data callback",c),c.addVariant&&(this.formMessageDisplay$.next({message:void 0}),setTimeout(()=>{c&&c.addVariant&&this.cvcOnCreate.next(c.addVariant.variant.id)},1e3))}):console.error("variant-quick-add form submitVariant requires model with valid name and geneId.")}ngOnChanges(y){if(y.cvcGeneId){const c=y.cvcGeneId.currentValue;this.geneId$.next(c),this.model={...this.model,geneId:c}}y.cvcGeneName&&this.geneName$.next(y.cvcGeneName.currentValue),y.cvcSearchString&&(this.model={...this.model,name:y.cvcSearchString.currentValue})}}).\u0275fac=function(y){return new(y||Vs)(e.Y36(Nn.MCG),e.Y36(ni.Y))},Vs.\u0275cmp=e.Xpm({type:Vs,selectors:[["cvc-variant-quick-add-form"]],inputs:{cvcGeneId:"cvcGeneId",cvcGeneName:"cvcGeneName",cvcSearchString:"cvcSearchString"},outputs:{cvcOnCreate:"cvcOnCreate"},features:[e.TTD],decls:18,vars:17,consts:[[4,"ngrxLet"],["entityType","Variant",3,"mutationState","successMessage"],["success",""],[3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"]],template:function(y,c){if(1&y&&(e.YNc(0,Qa,3,1,"ng-container",0),e.TgZ(1,"cvc-form-submission-status-display",1),e.YNc(2,wl,1,1,"ng-template",null,2,e.W1O),e.TgZ(4,"form",3),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(5,"nz-row",4)(6,"nz-col",5)(7,"formly-form",6),e.NdJ("modelChange",function(j){return c.model=j}),e.qZA()(),e.TgZ(8,"nz-col",5)(9,"button",7),e._uU(10," Add\xa0 "),e.TgZ(11,"strong"),e._uU(12),e.ALo(13,"ngrxPush"),e.qZA(),e._uU(14," \xa0Variant\xa0"),e.TgZ(15,"i"),e._uU(16),e.ALo(17,"ngrxPush"),e.qZA()()()()()()),2&y){const m=e.MAs(3);e.Q6J("ngrxLet",c.formMessageDisplay$),e.xp6(1),e.Q6J("mutationState",c.mutationState)("successMessage",m),e.xp6(3),e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(16,ja)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("disabled",!c.form.valid),e.xp6(3),e.Oqu(e.lcZ(13,12,c.geneName$)),e.xp6(4),e.Oqu(e.lcZ(17,14,c.searchString$))}},dependencies:[bi.F,v.T7,t._Y,t.JL,F.eJ,On.ix,yo.w,Xo.dQ,R.t3,R.SK,t.sg,F.fM],encapsulation:2,changeDetection:0}),Vs);Pl=(0,te.gn)([(0,ce.c)()],Pl);const Vu=["optionTemplates"],nd=function(u,y){return{show:u,hide:y}};function Fr(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-col",9)(1,"button",10),e.NdJ("click",function(){e.CHM(c);const j=e.oxw();return e.KtG(j.onShowMgrClick$.next())}),e._UZ(2,"span",11),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e._uU(5," Manager "),e.qZA()()}if(2&u){const c=e.oxw();e.xp6(2),e.Q6J("ngClass",e.WLB(6,nd,e.lcZ(3,2,c.showMgr$),!e.lcZ(4,4,c.showMgr$)))("nzType","caret-right")}}function dp(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-col",12)(1,"cvc-variant-manager",13),e.NdJ("cvcSelectedIdsChange",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onPopulate$.next(j))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&u){const c=e.oxw();e.xp6(1),e.Q6J("cvcSelectedIds",e.lcZ(2,1,c.onVid$))}}function pp(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",20),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c.variantAliases.join(", "))("innerHtml",e.xi3(3,2,c.variantAliases.join(", "),m),e.oJD)}}function Il(u,y){1&u&&e._uU(0,"--")}function fa(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",16),e.TgZ(1,"span",17)(2,"strong"),e._uU(3,"Aliases:"),e.qZA(),e.YNc(4,pp,4,5,"ng-container",18),e.YNc(5,Il,1,0,"ng-template",null,19,e.W1O),e.qZA()),2&u){const c=e.MAs(6),m=e.oxw().$implicit,j=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",m.__typename+":"+m.id)("cvcEmphasize",j),e.xp6(4),e.Q6J("ngIf",m.variantAliases.length>0)("ngIfElse",c)}}function Nd(u,y){1&u&&(e.ynx(0),e.YNc(1,fa,7,5,"ng-template",null,15,e.W1O),e.BQk())}function Bs(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Nd,3,0,"ng-container",14),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Nc(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",21)(1,"cvc-entity-tag",22),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Variant:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}function hp(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-variant-quick-add-form",23),e.NdJ("cvcOnCreate",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onPopulate$.next(j))}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.qZA()}if(2&u){const c=y.$implicit,m=e.oxw();e.Q6J("cvcSearchString",c)("cvcGeneId",e.lcZ(1,3,m.onGeneId$))("cvcGeneName",e.lcZ(2,5,m.onGeneName$))}}const fp=function(){return[6,6]},mp=Lt(_n(),oi());let Ld=(()=>{class u extends mp{constructor(c,m,j,Be){super(),this.taq=c,this.tq=m,this.geneQuery=j,this.changeDetectorRef=Be,this.onModel$=new To.y,this.defaultOptions={props:{label:"Variant",placeholder:"Search Variants",requireGene:!0,requireGenePlaceholderFn:Mt=>`Search ${Mt} Variants`,requireGenePrompt:"Select a Gene to search its Variants",isMultiSelect:!1,entityName:{singular:"Variant",plural:"Variants"},showManagerBtn:!1}},this.onGeneName$=new Ge.X(void 0),this.onVid$=new bo.t,this.onShowMgrClick$=new st.x,this.showMgr$=this.onShowMgrClick$.pipe((0,ho.R)((Mt,bn)=>!Mt,!1))}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,De.h)(c=>c),(0,Di.q)(1),(0,ce.t)(this)).subscribe(c=>{this.configureField()}):this.configureField()}configureField(){this.configureStateConnections(),this.onVid$.pipe((0,ce.t)(this)).subscribe(),this.onVid$.next(this.formControl.value),this.onModel$=(0,vo.a)([this.onGeneId$,this.onSearch$]).pipe((0,vt.U)(([c,m])=>({geneId:c,name:m}))),this.onValueChange$.pipe((0,it.M)(this.onVid$),(0,ce.t)(this)).subscribe(([c,m])=>{Array.isArray(c)&&this.onVid$.next(c)})}configureStateConnections(){if(this.state&&this.props.requireGene){if(!this.state?.fields.geneId$)return void console.error(`${this.field.id} requireGene is set, but no geneId$ subject found on state.`);this.onGeneId$=this.state.fields.geneId$,this.onGeneId$.pipe((0,ce.t)(this)).subscribe(c=>{this.onGeneId(c)})}}getTypeaheadVarsFn(c){return{name:c,geneId:this.selectedGeneId}}getTypeaheadResultsFn(c){return c.data.variants.nodes}getTagQueryVarsFn(c){return{variantId:c}}getTagQueryResultsFn(c){return c.data.variant}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}onGeneId(c){this.selectedGeneId=c,!c&&this.props.requireGene?(this.resetField(),this.props.description=this.props.requireGenePrompt,this.props.placeholder="Select a Variant",this.props.extraType="prompt",this.onGeneName$.next(void 0)):c&&(this.props.description=void 0,this.props.extraType=void 0,bc(this.geneQuery.fetch({geneId:c},{fetchPolicy:"cache-first"})).then(({data:m})=>{m?.gene?.name?(this.props.placeholder=this.props.requireGene?this.props.requireGenePlaceholderFn(m.gene.name):this.props.placeholder,this.onGeneName$.next(m.gene.name)):console.error(`${this.field.id} could not fetch gene name for Gene:${c}.`)}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.nSb),e.Y36(Nn.dDn),e.Y36(Nn.DzV),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ng-component"]],viewQuery:function(c,m){if(1&c&&e.Gf(Vu,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:20,vars:39,consts:[[3,"nzGutter"],["nzFlex","auto"],["nz-tooltip","","nzTooltipTitle","Select a Gene to enable field.",3,"nzTooltipTrigger"],[3,"cvcAddEntity","cvcAddEntityModel","cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcDisabled","cvcOptions","cvcSelectOpen","cvcShowError","cvcLoading","cvcParamName","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],["nzFlex","50px",4,"ngIf"],["nzSpan","24","class","manager-drawer",4,"ngIf"],[4,"ngrxLet"],["selectedTemplate",""],["addVariant",""],["nzFlex","50px"],["type","button","nz-button","","nzBlock","",1,"manager-button",3,"click"],["nz-icon","",3,"ngClass","nzType"],["nzSpan","24",1,"manager-drawer"],[3,"cvcSelectedIds","cvcSelectedIdsChange"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf","ngIfElse"],["noAliases",""],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcSearchString","cvcGeneId","cvcGeneName","cvcOnCreate"]],template:function(c,m){if(1&c&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"span",2),e.ALo(3,"ngrxPush"),e.TgZ(4,"cvc-entity-select",3),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.ALo(8,"ngrxPush"),e.ALo(9,"ngrxPush"),e.ALo(10,"ngrxPush"),e.ALo(11,"ngrxPush"),e.qZA()()(),e.YNc(12,Fr,6,9,"nz-col",4),e.YNc(13,dp,3,3,"nz-col",5),e.ALo(14,"ngrxPush"),e.qZA(),e.YNc(15,Bs,3,3,"ng-container",6),e.YNc(16,Nc,2,3,"ng-template",null,7,e.W1O),e.YNc(18,hp,3,7,"ng-template",null,8,e.W1O)),2&c){const j=e.MAs(17),Be=e.MAs(19);e.Q6J("nzGutter",e.DdM(38,fp)),e.xp6(2),e.Q6J("nzTooltipTrigger",m.props.requireGene&&!e.lcZ(3,20,m.onGeneId$)?"hover":null),e.xp6(2),e.Q6J("cvcAddEntity",Be)("cvcAddEntityModel",e.lcZ(5,22,m.onModel$))("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",m.props.placeholder)("cvcResults",e.lcZ(6,24,m.result$))("cvcDisabled",m.props.requireGene&&!e.lcZ(7,26,m.onGeneId$))("cvcOptions",e.lcZ(8,28,m.selectOption$))("cvcSelectOpen",e.lcZ(9,30,m.selectOpen$))("cvcShowError",m.showError)("cvcLoading",e.lcZ(10,32,m.isLoading$))("cvcParamName",e.lcZ(11,34,m.onGeneName$)),e.xp6(8),e.Q6J("ngIf",m.props.showManagerBtn),e.xp6(1),e.Q6J("ngIf",e.lcZ(14,36,m.showMgr$)),e.xp6(2),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.mk,M.sg,M.O5,Kn,xo.J,F.eJ,On.ix,yo.w,Xo.dQ,R.t3,R.SK,Re.Ls,ge.ZU,Xe.SY,Fc,Pl,I.A,F.fM],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700} nz-input-group{border-color:#d9d9d9!important}"],changeDetection:0}),u})();const Al={types:[{name:"variant-select",wrappers:["form-field"],component:Ld},{name:"variant-multi-select",wrappers:["form-field"],component:Ld,defaultOptions:{props:{label:"Variants",isMultiSelect:!0}}}]};let kd=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Kt,Te.x,je,Zt.g,It.s,En,Ir,$e,mr,rs.M,dn.y,v.X0.forChild(Al),t.u5,yt.L,B.ic,On.sL,s.U5,R.Jb,Re.PV,Pe.o7,zn.Qp,We.LV,ge.ZJ,On.sL,Gn.vh,Yt.Wr,Fn.b1,s.U5,R.Jb,Re.PV,Pe.o7,Bn.Zf,Wn.$6,Ln.HQ,Wt.X,Xe.cg,ge.ZJ,t.UX]}),u})();var Bu=a(9858),cr=a(6976),od=a(4194);const id=/\(/g,Rd=/\)/g,Lc=/AND|OR/i,Nr=/^(?NOT\s)?\s*#VID(?\d+)$/i,kc=/\s+/,Fl="EXPR";function rd(u){return Hu(u.replace(id," ( ").replace(Rd," ) "))}function Hu(u){let c,y=u.split(kc),m=0,j=[],Be=[],Mt=[];for(let Mr of y)if("("==Mr)0!=m&&j.push(Mr),m+=1;else if(")"==Mr)if(m-=1,0==m){let br=Hu(j.join(" "));if("errorMessage"in br)return br;Mt.push(br),Be.push(Fl),j=[]}else j.push(Mr);else m>0?j.push(Mr):Be.push(Mr);const bn={errorType:"trailingBoolean",errorMessage:"Expressions may not end with AND / OR boolean operators."},Hn={errorType:"initialBoolean",errorMessage:"Expressions may not start with AND / OR boolean operators."},Ho={errorType:"multipleBoolean",errorMessage:"Multiple boolean operators found."},Zi={errorType:"incompleteExpression",errorMessage:"Ensure that parenthetical clauses are closed."};let tr=0;for(let Mr of Be){let br=Lc.test(Mr);if(br&&0==tr)return Hn;if(br&&tr===y.length-1)return bn;if(br&&!c)c=sd(Mr);else if(br&&c&&sd(Mr)!==c)return Ho;tr++}let Ll=[],ec=Be.join(" ").split(Lc);for(let Mr of ec.map(br=>br.trim())){let br=Nr.exec(Mr);if(null===br){if(0===Mr.length)return Zi;if("NOT"===Mr||"NOT"===Mr.split(" ").pop())return{errorType:"incompleteNOT",errorMessage:"NOT operator must be followed by a valid #VID."};if(Mr!==Fl)return{errorType:"invalidToken",errorMessage:`Token '${Mr}' does not match the expected format.`}}else Ll.push({not:!!br[1],variantId:parseInt(br[2])})}return{booleanOperator:c,variantComponents:Ll,complexComponents:Mt}}function sd(u){return"AND"==u.toUpperCase()?Nn._Wm.And:Nn._Wm.Or}var gp=a(5095);let vp=(()=>{class u{constructor(c){this.apollo=c,this.cvcOnSelect=new e.vpe,this.cvcOnVariantSelect=new e.vpe,this.modelChange$=new Ge.X(void 0),this.layout="horizontal",this.finderState={formLayout:this.layout,fields:{geneId$:new Ge.X(void 0),variantId$:new Ge.X(void 0),variantMolecularProfile$:new Ge.X(void 0)}},this.form=new t.nJ({}),this.model={geneId:void 0,variantId:void 0},this.options={formState:this.finderState},this.config=[{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"geneId",type:"gene-select",props:{placeholder:"Select MP Gene",hideLabel:!0,layout:{showExtra:!1}}},{key:"variantId",type:"variant-select",props:{placeholder:"Select MP Variant",requireGene:!0,layout:{showExtra:!1},hideLabel:!0}}]}]}modelChange(c){if(!c?.variantId)return;const m=this.getSelectedVariant(c.variantId);m&&(this.model={geneId:void 0,variantId:void 0},this.cvcOnSelect.next(m.singleVariantMolecularProfile),this.cvcOnVariantSelect.next(m))}getSelectedVariant(c){if(!c)return;const m={id:`Variant:${c}`,fragment:co.Ps` + fragment VariantSelectQuery on Variant { + id + name + link + variantAliases + singleVariantMolecularProfileId + singleVariantMolecularProfile { + id + name + link + molecularProfileAliases + } + } + `};let j;try{j=this.apollo.client.readFragment(m)}catch(Be){console.error(Be)}if(j)return j;console.error("MpFinderForm could not resolve its Variant from the cache")}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(co._M))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-mp-finder"]],outputs:{cvcOnSelect:"cvcOnSelect",cvcOnVariantSelect:"cvcOnVariantSelect"},decls:2,vars:6,consts:[["nz-form","",3,"nzLayout","formGroup"],[3,"form","fields","model","options","modelChange"]],template:function(c,m){1&c&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(Be){return m.modelChange(Be)}),e.qZA()()),2&c&&(e.Q6J("nzLayout",m.layout)("formGroup",m.form),e.xp6(1),e.Q6J("form",m.form)("fields",m.config)("model",m.model)("options",m.options))},dependencies:[t._Y,t.JL,t.sg,v.T7,s.Lr],styles:["[_nghost-%COMP%]{display:block;width:100%}"],changeDetection:0}),u})();function Yu(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," The expression contains open parentheses. Please ensure that all parenthetical expressions are closed. "),e.qZA(),e.BQk())}function Nl(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," Complete the expression by appending a "),e.TgZ(3,"strong"),e._uU(4,"#VID"),e.qZA(),e._uU(5," token to the incomplete boolean expression. "),e.qZA(),e.BQk())}function Vd(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," MP Expressions may not begin with an "),e.TgZ(3,"strong"),e._uU(4,"AND"),e.qZA(),e._uU(5," or "),e.TgZ(6,"strong"),e._uU(7,"OR"),e.qZA(),e._uU(8," boolean. Ensure the expression begins with a "),e.TgZ(9,"strong"),e._uU(10,"#VID"),e.qZA(),e._uU(11," or "),e.TgZ(12,"strong"),e._uU(13,"NOT #VID"),e.qZA(),e._uU(14," token. "),e.qZA(),e.BQk())}function Bd(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," Molecular Profile expressions use a simple domain-specific language to specify complex MPs using boolean expressions to combine variants. These expressions may contain: "),e.qZA(),e.TgZ(3,"ul")(4,"li"),e._uU(5," Variant Tokens - "),e.TgZ(6,"strong"),e._uU(7,"#VID"),e.qZA(),e._uU(8," or "),e.TgZ(9,"strong"),e._uU(10,"NOT #VID"),e.qZA(),e._uU(11,'followed by a valid Variant ID, e.g. "#VID123" '),e.qZA(),e.TgZ(12,"li"),e._uU(13,"Boolean Tokens - "),e.TgZ(14,"strong"),e._uU(15,"AND"),e.qZA(),e._uU(16,", "),e.TgZ(17,"strong"),e._uU(18,"OR"),e.qZA()(),e.TgZ(19,"li"),e._uU(20," Parentheses - "),e.TgZ(21,"strong"),e._uU(22,"("),e.qZA(),e._uU(23," or "),e.TgZ(24,"strong"),e._uU(25,")"),e.qZA(),e._uU(26,", for grouping tokens into nested expressions "),e.qZA()(),e.TgZ(27,"p")(28,"strong"),e._uU(29,"Invalid Token"),e.qZA(),e._uU(30," errors occur if the parser encounters any text or token that does not match those listed above. "),e.qZA(),e.BQk())}function Hd(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," A single expression may not include more than one "),e.TgZ(3,"strong"),e._uU(4,"AND"),e.qZA(),e._uU(5," or "),e.TgZ(6,"strong"),e._uU(7,"OR"),e.qZA(),e._uU(8," boolean operator. To construct complex expressions, use parentheses. "),e.qZA(),e.TgZ(9,"p"),e._uU(10," For example, the expression "),e.TgZ(11,"strong"),e._uU(12,"#VID12 AND #VID2220 OR #VID456"),e.qZA(),e._uU(13," is invalid, but the expression "),e.TgZ(14,"strong"),e._uU(15,"#VID12 AND (#VID2220 OR #VID456)"),e.qZA(),e._uU(16," is valid. The parentheses create a nested expression independent of the outer expression. "),e.qZA(),e.BQk())}function Yd(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," Complete the expression by appending a "),e.TgZ(3,"strong"),e._uU(4,"#VID"),e.qZA(),e._uU(5," token to the incomplete boolean expression. "),e.qZA(),e.BQk())}function $d(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," The expression contains a Variant ID that cannot be matched to any Variant in the CIViC database. Please re-check the Variant ID, or create a new one by following these steps: "),e.qZA(),e.TgZ(3,"ol")(4,"li"),e._uU(5,"click the 'Variant' button,"),e.qZA(),e.TgZ(6,"li"),e._uU(7,"enter a Gene name, then select a Gene"),e.qZA(),e.TgZ(8,"li"),e._uU(9,"enter the Variant name"),e.qZA(),e.TgZ(10,"li"),e._uU(11," click the 'Create Variant' button that will appear if name does not match any CIViC Variants "),e.qZA()(),e.BQk())}function ad(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," An expression may not contain multiple instances of the same Variant. Either remove the variant or change the expression. For example, "),e.TgZ(3,"strong"),e._uU(4,"(#VID123 AND #VID456) OR (#VID123 AND #VID789)"),e.qZA(),e._uU(5,", which is invalid, is logically identical to the valid MP expression "),e.TgZ(6,"strong"),e._uU(7,"#VID123 AND (#VID456 OR #VID789)"),e.qZA(),e._uU(8,". "),e.qZA(),e.BQk())}function $u(u,y){1&u&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," The Molecular Profile editor allows the selection or creation of complex Molecular Profiles by writing Molecular Profile Expressions. These expressions are composed with a simple language consisting of Variant tokens, boolean operators, and parentheses. For example: "),e.qZA(),e.TgZ(3,"blockquote")(4,"strong"),e._uU(5,"#VID12 AND #VID2220"),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"strong"),e._uU(8,"#VID12 OR #VID2220"),e.qZA(),e._UZ(9,"br"),e.TgZ(10,"strong"),e._uU(11,"#VID12 AND NOT #VID2220"),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"strong"),e._uU(14,"#VID12 AND #VID2220 AND (#VID456 OR #VID123)"),e.qZA(),e._UZ(15,"br"),e.TgZ(16,"strong"),e._uU(17,"#VID12 OR #VID2220 OR (NOT #VID456 AND #VID123)"),e.qZA(),e._UZ(18,"br"),e.qZA(),e.TgZ(19,"p")(20,"strong"),e._uU(21,"Variant Tokens"),e.qZA(),e._UZ(22,"br"),e._uU(23," Variant tokens are composed of a CIViC Variant ID prepended with "),e.TgZ(24,"strong"),e._uU(25,"#VID"),e.qZA(),e._uU(26,", and refer to specific CIViC Variants. For example, "),e.TgZ(27,"strong"),e._uU(28,"#VID12"),e.qZA(),e._uU(29," refers to "),e.TgZ(30,"strong"),e._uU(31,"BRAF V600E"),e.qZA(),e._uU(32,"; "),e.TgZ(33,"strong"),e._uU(34,"#VID2220"),e.qZA(),e._uU(35," refers to "),e.TgZ(36,"strong"),e._uU(37,"ALK FUSION"),e.qZA(),e._uU(38,". If you don\u2019t know the CIViC ID of a Variant, you can search for Variants by name using the \u2018Variant\u2019 or \u2018NOT Variant\u2019 buttons below. These interfaces can also be used to add a Variant that\u2019s not yet in CIViC. "),e.qZA(),e.TgZ(39,"p")(40,"strong"),e._uU(41,"Boolean Operators"),e.qZA(),e._UZ(42,"br"),e._uU(43," MP Expressions with more than a single variant must include boolean operators - "),e.TgZ(44,"strong"),e._uU(45,"AND"),e.qZA(),e._uU(46,", "),e.TgZ(47,"strong"),e._uU(48,"OR"),e.qZA(),e._uU(49,", and "),e.TgZ(50,"strong"),e._uU(51,"NOT"),e.qZA(),e._uU(52," - indicating their relationship. For example, the expression "),e.TgZ(53,"strong"),e._uU(54,"#VID12 AND #VID2220"),e.qZA(),e._uU(55," describes a MP that includes both "),e.TgZ(56,"strong"),e._uU(57,"BRAF V600E"),e.qZA(),e._uU(58," and "),e.TgZ(59,"strong"),e._uU(60,"ALK FUSION"),e.qZA(),e._uU(61,". "),e.qZA(),e.TgZ(62,"p")(63,"strong"),e._uU(64,"Parentheses"),e.qZA(),e._UZ(65,"br"),e._uU(66," Expressions cannot have both "),e.TgZ(67,"strong"),e._uU(68,"AND"),e.qZA(),e._uU(69," and "),e.TgZ(70,"strong"),e._uU(71,"OR"),e.qZA(),e._uU(72," operators within the same expression. To construct complex MPs that require multiple operators, one must use parentheses to create embedded expressions. "),e.qZA(),e.TgZ(73,"p")(74,"strong"),e._uU(75,"NOTE:"),e.qZA(),e._uU(76," Be sure to read the help text provided along with every alert message by hovering over 'Syntax Assistance'. "),e.qZA(),e.BQk())}let cd=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-mp-editor-popover-help"]],inputs:{cvcErrorType:"cvcErrorType"},decls:11,vars:9,consts:[[1,"help-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(c,m){1&c&&(e.TgZ(0,"div",0),e.ynx(1,1),e.YNc(2,Yu,3,0,"ng-container",2),e.YNc(3,Nl,6,0,"ng-container",2),e.YNc(4,Vd,15,0,"ng-container",2),e.YNc(5,Bd,31,0,"ng-container",2),e.YNc(6,Hd,17,0,"ng-container",2),e.YNc(7,Yd,6,0,"ng-container",2),e.YNc(8,$d,12,0,"ng-container",2),e.YNc(9,ad,9,0,"ng-container",2),e.YNc(10,$u,77,0,"ng-container",3),e.BQk(),e.qZA()),2&c&&(e.xp6(1),e.Q6J("ngSwitch",m.cvcErrorType),e.xp6(1),e.Q6J("ngSwitchCase","incompleteExpression"),e.xp6(1),e.Q6J("ngSwitchCase","incompleteNOT"),e.xp6(1),e.Q6J("ngSwitchCase","initialBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","invalidToken"),e.xp6(1),e.Q6J("ngSwitchCase","multipleBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","trailingBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","unknownVariant"),e.xp6(1),e.Q6J("ngSwitchCase","identicalVariants"))},dependencies:[M.RF,M.n9,M.ED],styles:[".help-content[_ngcontent-%COMP%]{max-width:500px}blockquote[_ngcontent-%COMP%]{margin-left:1em}"]}),u})();var zs;const Ud=["expressionEditor"];function ld(u,y){1&u&&e._uU(0,"Added new Molecular Profile")}function Kp(u,y){if(1&u&&e._UZ(0,"cvc-mp-tag-name",24),2&u){const c=e.oxw().ngrxLet;e.Q6J("nameSegments",c)}}function Bi(u,y){1&u&&(e.TgZ(0,"span",25),e._uU(1," Valid Molecular Profile expressions will be previewed here. "),e.qZA())}function Uu(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Kp,1,1,"cvc-mp-tag-name",22),e.YNc(2,Bi,2,0,"span",23),e.BQk()),2&u){const c=y.ngrxLet;e.xp6(1),e.Q6J("ngIf",c),e.xp6(1),e.Q6J("ngIf",!c)}}function ma(u,y){1&u&&e._UZ(0,"cvc-mp-editor-popover-help")}function ud(u,y){if(1&u&&(e.TgZ(0,"button",28),e._UZ(1,"span",29),e._uU(2," GETTING STARTED "),e.qZA(),e.YNc(3,ma,1,0,"ng-template",null,30,e.W1O)),2&u){const c=e.MAs(4);e.Q6J("nzPopoverContent",c)}}function dd(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"nz-alert",26),e.YNc(2,ud,5,1,"ng-template",null,27,e.W1O),e.BQk()),2&u){const c=y.ngIf,m=e.MAs(3);e.xp6(1),e.Q6J("nzMessage",c)("nzAction",m)}}function Gd(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(c);const j=e.oxw(3).ngrxLet,Be=e.oxw();return e.KtG(Be.cvcOnSelect.next(j))}),e._uU(1," Select this MP "),e.qZA()}}function Qd(u,y){if(1&u&&(e._uU(0," Molecular Profile "),e.TgZ(1,"strong"),e._uU(2),e.qZA(),e._uU(3," found. ")),2&u){const c=e.oxw(3).ngrxLet;e.xp6(2),e.Oqu(c.name)}}function Wa(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"nz-alert",31),e.YNc(2,Gd,2,0,"ng-template",null,32,e.W1O),e.YNc(4,Qd,4,1,"ng-template",null,33,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.MAs(5);e.xp6(1),e.Q6J("nzMessage",m)("nzAction",c)}}function pd(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"button",37),e.NdJ("click",function(){e.CHM(c);const j=e.oxw(4);return e.KtG(j.onCreateNewMp$.next())}),e._uU(1," Create New MP "),e.qZA()}}function jd(u,y){1&u&&e._uU(0," Molecular Profile not found, create it? ")}function Jp(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"nz-alert",31),e.YNc(2,pd,2,0,"ng-template",null,35,e.W1O),e.YNc(4,jd,1,0,"ng-template",null,36,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.MAs(5);e.xp6(1),e.Q6J("nzMessage",m)("nzAction",c)}}function hd(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Wa,6,2,"ng-container",6),e.YNc(2,Jp,6,2,"ng-container",6),e.BQk()),2&u){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",void 0!==c),e.xp6(1),e.Q6J("ngIf",void 0===c)}}function Gu(u,y){if(1&u&&(e.ynx(0),e.YNc(1,hd,3,2,"ng-container",6),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!e.lcZ(2,1,c.expressionError$)&&!e.lcZ(3,3,c.expressionMessage$))}}function ri(u,y){if(1&u&&(e.TgZ(0,"button",40),e._UZ(1,"span",29),e._uU(2," SYNTAX ASSISTANCE "),e.qZA()),2&u){const c=e.oxw().helpContent;e.Q6J("nzPopoverContent",c)}}function Qu(u,y){if(1&u&&(e._UZ(0,"nz-alert",38),e.YNc(1,ri,3,1,"ng-template",null,39,e.W1O)),2&u){const c=y.$implicit,m=e.MAs(2);e.Q6J("nzMessage",c.errorMessage)("nzAction",m)}}function _p(u,y){1&u&&e.GkF(0)}function gi(u,y){1&u&&e._UZ(0,"cvc-mp-editor-popover-help",46)}const Ts=function(u,y){return{$implicit:u,helpContent:y}};function fd(u,y){if(1&u&&(e.ynx(0),e.YNc(1,_p,1,0,"ng-container",44),e.YNc(2,gi,1,0,"ng-template",null,45,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.oxw().ngIf;e.oxw();const j=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",j)("ngTemplateOutletContext",e.WLB(2,Ts,m,c))}}function yp(u,y){1&u&&e.GkF(0)}function Wd(u,y){1&u&&e._UZ(0,"cvc-mp-editor-popover-help",48)}function Zd(u,y){if(1&u&&(e.ynx(0),e.YNc(1,yp,1,0,"ng-container",44),e.YNc(2,Wd,1,0,"ng-template",null,47,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.oxw().ngIf;e.oxw();const j=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",j)("ngTemplateOutletContext",e.WLB(2,Ts,m,c))}}function md(u,y){1&u&&e.GkF(0)}function qp(u,y){1&u&&e._UZ(0,"cvc-mp-editor-popover-help",50)}function gd(u,y){if(1&u&&(e.ynx(0),e.YNc(1,md,1,0,"ng-container",44),e.YNc(2,qp,1,0,"ng-template",null,49,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.oxw().ngIf;e.oxw();const j=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",j)("ngTemplateOutletContext",e.WLB(2,Ts,m,c))}}function Cp(u,y){1&u&&e.GkF(0)}function vd(u,y){1&u&&e._UZ(0,"cvc-mp-editor-popover-help",52)}function Kd(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Cp,1,0,"ng-container",44),e.YNc(2,vd,1,0,"ng-template",null,51,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.oxw().ngIf;e.oxw();const j=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",j)("ngTemplateOutletContext",e.WLB(2,Ts,m,c))}}function Jd(u,y){1&u&&e.GkF(0)}function Za(u,y){1&u&&e._UZ(0,"cvc-mp-editor-popover-help",54)}function zp(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Jd,1,0,"ng-container",44),e.YNc(2,Za,1,0,"ng-template",null,53,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.oxw().ngIf;e.oxw();const j=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",j)("ngTemplateOutletContext",e.WLB(2,Ts,m,c))}}function _d(u,y){1&u&&e.GkF(0)}function T(u,y){1&u&&e._UZ(0,"cvc-mp-editor-popover-help",56)}function p(u,y){if(1&u&&(e.ynx(0),e.YNc(1,_d,1,0,"ng-container",44),e.YNc(2,T,1,0,"ng-template",null,55,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.oxw().ngIf;e.oxw();const j=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",j)("ngTemplateOutletContext",e.WLB(2,Ts,m,c))}}function h(u,y){1&u&&e.GkF(0)}function g(u,y){1&u&&(e.ynx(0),e._UZ(1,"cvc-mp-editor-popover-help",58),e.BQk())}function C(u,y){1&u&&(e.ynx(0),e._UZ(1,"cvc-mp-editor-popover-help",59),e.BQk())}function E(u,y){if(1&u&&(e.YNc(0,g,2,0,"ng-container",6),e.YNc(1,C,2,0,"ng-container",6)),2&u){const c=e.oxw(2).ngIf;e.Q6J("ngIf",c.errorMessage.split(" ").includes("multiple")),e.xp6(1),e.Q6J("ngIf",c.errorMessage.split(" ").includes("found."))}}function X(u,y){if(1&u&&(e.ynx(0),e.YNc(1,h,1,0,"ng-container",44),e.YNc(2,E,2,2,"ng-template",null,57,e.W1O),e.BQk()),2&u){const c=e.MAs(3),m=e.oxw().ngIf;e.oxw();const j=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",j)("ngTemplateOutletContext",e.WLB(2,Ts,m,c))}}function _e(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"pre"),e._uU(2),e.ALo(3,"json"),e.qZA(),e.BQk()),2&u){const c=e.oxw().ngIf;e.xp6(2),e.hij(" ",e.lcZ(3,1,c),"\n ")}}function xe(u,y){if(1&u&&(e.ynx(0)(1,41),e.YNc(2,fd,4,5,"ng-container",42),e.YNc(3,Zd,4,5,"ng-container",42),e.YNc(4,gd,4,5,"ng-container",42),e.YNc(5,Kd,4,5,"ng-container",42),e.YNc(6,zp,4,5,"ng-container",42),e.YNc(7,p,4,5,"ng-container",42),e.YNc(8,X,4,5,"ng-container",42),e.YNc(9,_e,4,3,"ng-container",43),e.BQk()()),2&u){const c=y.ngIf;e.xp6(1),e.Q6J("ngSwitch",c.errorType),e.xp6(1),e.Q6J("ngSwitchCase","invalidToken"),e.xp6(1),e.Q6J("ngSwitchCase","trailingBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","initialBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","multipleBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","incompleteExpression"),e.xp6(1),e.Q6J("ngSwitchCase","incompleteNOT"),e.xp6(1),e.Q6J("ngSwitchCase","queryError")}}function qe(u,y){1&u&&(e.TgZ(0,"span",25),e._uU(1," Append: "),e.qZA())}function pt(u,y){if(1&u&&(e.TgZ(0,"button",60)(1,"strong"),e._uU(2,"Variant"),e.qZA()()),2&u){e.oxw();const c=e.MAs(37);e.Q6J("nzPopoverContent",c)}}function St(u,y){if(1&u&&(e.TgZ(0,"button",61)(1,"strong"),e._uU(2,"NOT Variant"),e.qZA()()),2&u){e.oxw();const c=e.MAs(39);e.Q6J("nzPopoverContent",c)}}function Vt(u,y){1&u&&(e.TgZ(0,"span",62),e._uU(1," | "),e.qZA())}function Ut(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const j=e.oxw();return e.KtG(j.onAppendInput$.next("AND"))}),e.TgZ(1,"strong"),e._uU(2,"AND"),e.qZA()()}}function jt(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const j=e.oxw();return e.KtG(j.onAppendInput$.next("OR"))}),e.TgZ(1,"strong"),e._uU(2,"OR"),e.qZA()()}}function Qt(u,y){1&u&&(e.TgZ(0,"span",62),e._uU(1," | "),e.qZA())}function fn(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const j=e.oxw();return e.KtG(j.onAppendInput$.next("("))}),e.TgZ(1,"strong"),e._uU(2,"("),e.qZA()()}}function Sn(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const j=e.oxw();return e.KtG(j.onAppendInput$.next(")"))}),e.TgZ(1,"strong"),e._uU(2,")"),e.qZA()()}}const Vn=function(){return[6,8]};function on(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",64)(1,"nz-row",2)(2,"nz-col",3)(3,"p",65),e._uU(4," Select a Gene and Variant to append its #VID. "),e.qZA()(),e.TgZ(5,"nz-col",3)(6,"cvc-mp-finder",66),e.NdJ("cvcOnVariantSelect",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onVariantSelect$.next({variant:j,prependNot:!1}))}),e.qZA()()()()}2&u&&(e.xp6(1),e.Q6J("nzGutter",e.DdM(1,Vn)))}function gn(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",64)(1,"nz-row",2)(2,"nz-col",3)(3,"p",65),e._uU(4," Select a Gene and Variant to append its #VID, prepended with NOT boolean. "),e.qZA()(),e.TgZ(5,"nz-col",3)(6,"cvc-mp-finder",66),e.NdJ("cvcOnVariantSelect",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onVariantSelect$.next({variant:j,prependNot:!0}))}),e.qZA()()()()}2&u&&(e.xp6(1),e.Q6J("nzGutter",e.DdM(1,Vn)))}function Un(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-list-item")(1,"nz-list-item-meta")(2,"nz-list-item-meta-title"),e._UZ(3,"cvc-entity-tag",70),e.qZA(),e.TgZ(4,"nz-list-item-meta-description"),e._uU(5),e.qZA()(),e.TgZ(6,"ul",71)(7,"nz-list-item-action")(8,"button",72),e.NdJ("click",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw(2);return e.KtG(Mt.onSelectExample$.next(Be))}),e._uU(9," Select "),e.qZA()()()()}if(2&u){const c=y.$implicit;e.xp6(3),e.Q6J("cvcLinkableEntity",c.mp),e.xp6(2),e.hij(" ",c.description," ")}}function kn(u,y){if(1&u&&(e.TgZ(0,"div",67)(1,"nz-list",68),e.YNc(2,Un,10,2,"nz-list-item",69),e.qZA()()),2&u){const c=e.oxw();e.xp6(2),e.Q6J("ngForOf",c.exampleExpressions)}}const io=function(u){return{active:u}};let Po=((zs=class{constructor(y,c,m,j){this.previewMpGql=y,this.createMolecularProfileGql=c,this.mpEditorPrepopulate=m,this.networkErrorService=j,this.cvcOnSelect=new e.vpe,this.expressionMessages={initial:"Use the editor below to construct a molecular profile."},this.exampleExpressions=[{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E AND EGFR L858R AND EGFR T790M"},expression:"#VID12 AND #VID33 AND #VID34",description:"BRAF V600E, EGFR L858R, and EGFR T790M must all be observed."},{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E AND NOT EGFR L858R"},expression:"#VID12 AND NOT #VID33",description:"BRAF V600E must be observed and EGFR L858R must be absent."},{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E OR EGFR L858R OR EGFR T790M"},expression:"#VID12 OR #VID33 OR #VID34",description:"Either BRAF V600E, or EGFR L858R, or EGFR T790M must be observed."},{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E AND (EGFR L858R OR EGFR T790M)"},expression:"#VID12 AND (#VID33 OR #VID34)",description:"BRAF V600E must be observed and either EGFR L858R or EGFR T790M must be observed."},{mp:{__typename:"MolecularProfile",id:9999,name:"NOT KIT D816V"},expression:"NOT #VID4353",description:"KIT D816V must be absent."}],this.createMolecularProfileMutator=new Uo.U(this.networkErrorService),this.onInputChange$=new Ge.X(void 0),this.onAppendInput$=new st.x,this.onVariantSelect$=new st.x,this.onCreateNewMp$=new st.x,this.onSelectExample$=new st.x,this.inputValue$=new Ge.X(""),this.expressionError$=new Ge.X(void 0),this.expressionHelp$=new Ge.X(void 0),this.expressionMessage$=new Ge.X(this.expressionMessages.initial),this.expressionSegment$=new st.x,this.existingMp$=new st.x}ngAfterViewInit(){this.onInputChange$.pipe((0,eo.b)(250),(0,ko.b)(y=>{y||this.expressionSegment$.next(void 0)}),(0,De.h)(Mo.ep),(0,ko.b)(y=>{0===y.length&&(this.expressionMessage$.next(this.expressionMessages.initial),this.expressionError$.next(void 0))}),(0,De.h)(y=>y.length>0),(0,De.h)(y=>" "!==y[y.length-1]),(0,vt.U)(y=>{let c=rd(y);return"errorMessage"in c?c:this.previewQueryRef.refetch({mpStructure:c})}),(0,ce.t)(this)).subscribe(y=>{if(this.isMpParseError(y)){const c=y;this.expressionMessage$.next(void 0),this.expressionError$.next(c),this.expressionSegment$.next(void 0)}else y.then(({data:m,errors:j})=>{if(j)this.expressionMessage$.next(void 0),this.expressionError$.next({errorType:"queryError",errorMessage:j.map(Be=>Be.message).join("\n")}),this.expressionSegment$.next(void 0);else{this.expressionSegment$.next(m.previewMolecularProfileName.segments),this.expressionMessage$.next(void 0),this.expressionError$.next(void 0);this.existingMp$.next(m.previewMolecularProfileName.existingMolecularProfile||void 0)}})}),this.onAppendInput$.pipe((0,ce.t)(this)).subscribe(y=>{if(this.expressionEditor){const c=this.expressionEditor.nativeElement,j=`${c.value}${/\s+$/.test(y)?y:" "+y}`;c.value=j,this.inputValue$.next(j),this.onInputChange$.next(j)}}),this.onSelectExample$.pipe((0,ce.t)(this)).subscribe(y=>{this.expressionEditor&&(this.expressionEditor.nativeElement.value=y.expression,this.inputValue$.next(y.expression),this.onInputChange$.next(y.expression))}),this.onVariantSelect$.pipe((0,it.M)(this.onInputChange$),(0,vt.U)(([y,c])=>{const m=`${y.prependNot?"NOT ":""}#VID${y.variant.id}`;return c&&0!=c.trim().length?`${c.trim()} ${m}`:m}),(0,ce.t)(this)).subscribe(y=>{this.inputValue$.next(y),this.onInputChange$.next(y)}),this.previewQueryRef=this.previewMpGql.watch({}),this.previewMpName$=this.previewQueryRef.valueChanges.pipe((0,rn.j)("data","previewMolecularProfileName"),(0,De.h)(Mo.ep),(0,vt.U)(y=>y.segments),(0,ce.t)(this)),this.previewMpAlreadyExists$=this.previewQueryRef.valueChanges.pipe((0,rn.j)("data","previewMolecularProfileName"),(0,De.h)(Mo.ep),(0,vt.U)(y=>y.existingMolecularProfile),(0,ce.t)(this)),this.previewDeprecatedVariants$=this.previewQueryRef.valueChanges.pipe((0,rn.j)("data","previewMolecularProfileName"),(0,De.h)(Mo.ep),(0,vt.U)(y=>y.deprecatedVariants),(0,ce.t)(this)),this.onCreateNewMp$.pipe((0,it.M)(this.onInputChange$),(0,ce.t)(this)).subscribe(([y,c])=>{if(!c||0===c.length)return;let m=rd(c);"errorMessage"in m||(this.state=this.createMolecularProfileMutator.mutate(this.createMolecularProfileGql,{mpStructure:m},{},j=>{setTimeout(()=>{j.createMolecularProfile&&this.cvcOnSelect.next(j.createMolecularProfile.molecularProfile)},1e3)}))})}isMpParseError(y){return void 0!==y.errorMessage}prepopulateMp(y){if(!y)return this.expressionSegment$.next(void 0),this.expressionMessage$.next(this.expressionMessages.initial),void this.inputValue$.next("");bc(this.mpEditorPrepopulate.fetch({mpId:y},{fetchPolicy:"cache-first"})).then(({data:c})=>{if(!c?.molecularProfile?.id)return void console.error(`MpExpressionEditor could not fetch MolecularProfile:${y} to prepolate editor fields.`);const m=c.molecularProfile.rawName.replace(/#GID(\d+)/g,"").trim();this.inputValue$.next(m),this.onInputChange$.next(m)})}ngOnChanges(y){y.cvcPrepopulateWithId&&this.prepopulateMp(y.cvcPrepopulateWithId.currentValue)}}).\u0275fac=function(y){return new(y||zs)(e.Y36(Nn.mki),e.Y36(Nn.zpu),e.Y36(Nn.vjc),e.Y36(ni.Y))},zs.\u0275cmp=e.Xpm({type:zs,selectors:[["cvc-mp-expression-editor"]],viewQuery:function(y,c){if(1&y&&e.Gf(Ud,5),2&y){let m;e.iGM(m=e.CRH())&&(c.expressionEditor=m.first)}},inputs:{cvcPrepopulateWithId:"cvcPrepopulateWithId"},outputs:{cvcOnSelect:"cvcOnSelect"},features:[e.TTD],decls:42,vars:23,consts:[["entityType","Molecular Profile",3,"mutationState","successMessage"],["success",""],[3,"nzGutter"],["nzSpan","24"],[1,"expression-preview",3,"ngClass"],[4,"ngrxLet"],[4,"ngIf"],["errorAlert",""],["nz-input","","rows","1","placeholder","Enter or edit a Molecular Expression here.",2,"width","100%",3,"ngModel","ngModelChange"],["expressionEditor",""],[1,"btn-row"],["nzFlex","80px"],["nzBlock","","nz-button","","nzType","primary","nzShape","round","nzSize","small","nz-popover","","nzPopoverTitle","Select a Profile to view its expression","nzPopoverTrigger","click","nzPopoverPlacement","bottomLeft",3,"nzPopoverContent"],["nzFlex","auto",2,"text-align","right"],["nz-typography","","nzType","secondary",4,"nzSpaceItem"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent",4,"nzSpaceItem"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant NOT #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent",4,"nzSpaceItem"],["class","btn-divider",4,"nzSpaceItem"],["type","button","nz-button","","nzType","primary","nzSize","small","nzShape","round",3,"click",4,"nzSpaceItem"],["appendVariant",""],["appendNotVariant",""],["expressionExamples",""],[3,"nameSegments",4,"ngIf"],["nz-typography","","nzType","secondary",4,"ngIf"],[3,"nameSegments"],["nz-typography","","nzType","secondary"],["nzType","info","nzShowIcon","",3,"nzMessage","nzAction"],["messageAction",""],["type","button","nz-button","","nzType","dashed","nzSize","small","nzShape","round","nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverContent"],["nz-icon","","nzType","question-circle","nzTheme","fill"],["gettingStartedHelp",""],["nzType","success","nzShowIcon","",3,"nzMessage","nzAction"],["selectAction",""],["foundMessage",""],["type","button","nz-button","","nzType","primary","nzSize","small","nzBlock","",3,"click"],["createAction",""],["createMessage",""],["type","button","nz-button","","nzSize","small","nzType","primary","nzBlock","",3,"click"],["nzType","error","nzShowIcon","",3,"nzMessage","nzAction"],["errorAction",""],["nz-button","","nzDanger","","nzType","text","nzSize","small","nzShape","round","nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverContent"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["invalidTokenHelp",""],["cvcErrorType","invalidToken"],["trailingBooleanHelp",""],["cvcErrorType","trailingBoolean"],["initialBooleanHelp",""],["cvcErrorType","initialBoolean"],["multipleBooleanHelp",""],["cvcErrorType","multipleBoolean"],["incompleteExpressionHelp",""],["cvcErrorType","incompleteExpression"],["incompleteNOTHelp",""],["cvcErrorType","incompleteNOT"],["queryErrorHelp",""],["cvcErrorType","identicalVariants"],["cvcErrorType","unknownVariant"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant NOT #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent"],[1,"btn-divider"],["type","button","nz-button","","nzType","primary","nzSize","small","nzShape","round",3,"click"],[1,"append-popover-contents"],["nz-typography","","nzType","secondary",2,"margin","0","padding-bottom","2px"],[3,"cvcOnVariantSelect"],[2,"min-width","525px","margin","-8px -12px"],["nzSize","small","nzItemLayout","horizontal"],[4,"ngFor","ngForOf"],[3,"cvcLinkableEntity"],["nz-list-item-actions",""],["type","button","nz-button","","nzType","primary","nzSize","small",3,"click"]],template:function(y,c){if(1&y&&(e.TgZ(0,"cvc-form-submission-status-display",0),e.YNc(1,ld,1,0,"ng-template",null,1,e.W1O),e.TgZ(3,"nz-row",2)(4,"nz-col",3)(5,"div",4),e.ALo(6,"ngrxPush"),e.YNc(7,Uu,3,2,"ng-container",5),e.ALo(8,"ngrxPush"),e.qZA()(),e.TgZ(9,"nz-col",3),e.YNc(10,dd,4,2,"ng-container",6),e.ALo(11,"ngrxPush"),e.YNc(12,Gu,4,5,"ng-container",5),e.YNc(13,Qu,3,2,"ng-template",null,7,e.W1O),e.YNc(15,xe,10,8,"ng-container",6),e.ALo(16,"ngrxPush"),e.qZA(),e.TgZ(17,"nz-col",3)(18,"textarea",8,9),e.NdJ("ngModelChange",function(j){return c.onInputChange$.next(j)}),e.ALo(20,"ngrxPush"),e.qZA()()(),e.TgZ(21,"nz-row",10)(22,"nz-col",11)(23,"button",12),e._uU(24," Examples "),e.qZA()(),e.TgZ(25,"nz-col",13)(26,"nz-space"),e.YNc(27,qe,2,0,"span",14),e.YNc(28,pt,3,1,"button",15),e.YNc(29,St,3,1,"button",16),e.YNc(30,Vt,2,0,"span",17),e.YNc(31,Ut,3,0,"button",18),e.YNc(32,jt,3,0,"button",18),e.YNc(33,Qt,2,0,"span",17),e.YNc(34,fn,3,0,"button",18),e.YNc(35,Sn,3,0,"button",18),e.qZA()(),e.YNc(36,on,7,2,"ng-template",null,19,e.W1O),e.YNc(38,gn,7,2,"ng-template",null,20,e.W1O),e.YNc(40,kn,3,1,"ng-template",null,21,e.W1O),e.qZA()()),2&y){const m=e.MAs(2),j=e.MAs(41);e.Q6J("mutationState",c.state)("successMessage",m),e.xp6(3),e.Q6J("nzGutter",e.DdM(20,Vn)),e.xp6(2),e.Q6J("ngClass",e.VKq(21,io,void 0!==e.lcZ(6,10,c.expressionSegment$))),e.xp6(2),e.Q6J("ngrxLet",e.lcZ(8,12,c.expressionSegment$)),e.xp6(3),e.Q6J("ngIf",e.lcZ(11,14,c.expressionMessage$)),e.xp6(2),e.Q6J("ngrxLet",c.existingMp$),e.xp6(3),e.Q6J("ngIf",e.lcZ(16,16,c.expressionError$)),e.xp6(3),e.Q6J("ngModel",e.lcZ(20,18,c.inputValue$)),e.xp6(5),e.Q6J("nzPopoverContent",j)}},dependencies:[M.mk,M.sg,M.O5,M.tP,M.RF,M.n9,M.ED,t.Fj,t.JJ,t.On,F.eJ,yt.r,On.ix,yo.w,Xo.dQ,Re.Ls,Pe.Zp,R.t3,R.SK,Ye.NU,Ye.$1,ge.ZU,Wn.lU,cr.n_,cr.AA,cr.yi,cr.IO,cr.Pb,cr.nk,cr.KC,bi.F,gp.C,xo.J,vp,cd,M.Ts,F.fM],styles:["[_nghost-%COMP%]{display:block;background-color:#f6f6f6;border:1px solid #dedede;border-radius:4px;padding:8px}.expression-preview[_ngcontent-%COMP%]{width:100%;padding:8px;border:1px solid #dedede;border-radius:4px}.expression-preview.active[_ngcontent-%COMP%]{background-color:#fff}.append-popover-contents[_ngcontent-%COMP%]{min-width:450px}.help-content[_ngcontent-%COMP%]{max-width:500px}.btn-row[_ngcontent-%COMP%]{margin-top:10px;flex-wrap:nowrap}.btn-row[_ngcontent-%COMP%] .btn-divider[_ngcontent-%COMP%]{color:#aaa}"],changeDetection:0}),zs);Po=(0,te.gn)([(0,ce.c)()],Po);const fi=["optionTemplates"];function Ii(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-mp-finder",11),e.NdJ("cvcOnSelect",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.onMpSelect$.next(j))}),e.qZA()}}function cs(u,y){1&u&&(e.TgZ(0,"div",12),e._uU(1," \xa0 "),e.TgZ(2,"span",13)(3,"i"),e._uU(4,"Select or create a Molecular Profile with the expression editor "),e.qZA()()())}function Wi(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",14)(1,"cvc-entity-select",15),e.NdJ("cvcOnSearch",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.onSearch$.next(j))})("cvcOnModelChange",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.props.change&&Be.props.change(Be.field,j))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.qZA()()}if(2&u){const c=e.oxw(2),m=e.MAs(13);e.xp6(1),e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",m)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",c.props.placeholder)("cvcResults",e.lcZ(2,15,c.result$))("cvcDisabled",c.props.disabled)("cvcAllowClear",!1)("cvcOptions",e.lcZ(3,17,c.selectOption$))("cvcShowError",c.showError)("cvcLoading",e.lcZ(4,19,c.isLoading$))("cvcBorderless",!0)("cvcSuffixIcon",null)("cvcShowArrow",!1)}}function er(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Ii,1,0,"cvc-mp-finder",8),e.YNc(2,cs,5,0,"div",9),e.YNc(3,Wi,5,21,"div",10),e.BQk()),2&u){const c=y.ngrxLet,m=e.oxw();e.xp6(1),e.Q6J("ngIf",c.showFinder&&!m.editorOpen),e.xp6(1),e.Q6J("ngIf",m.editorOpen),e.xp6(1),e.Q6J("ngIf",c.showSelect&&!m.editorOpen)}}function ju(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-col",16)(1,"cvc-mp-expression-editor",17),e.NdJ("cvcOnSelect",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onMpSelect$.next(j))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&u){const c=e.oxw();e.xp6(1),e.Q6J("cvcPrepopulateWithId",e.lcZ(2,1,c.onMpId$))}}function Wu(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",24),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(2),e.Q6J("innerHtml",e.xi3(3,1,c.molecularProfileAliases.join(", "),m),e.oJD)}}function oo(u,y){1&u&&e._uU(0,"--")}function mo(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",20),e.TgZ(1,"span",21),e._uU(2," Aliases: "),e.YNc(3,Wu,4,4,"ng-container",22),e.YNc(4,oo,1,0,"ng-template",null,23,e.W1O),e.qZA()),2&u){const c=e.MAs(5),m=e.oxw().$implicit,j=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",m.__typename+":"+m.id)("cvcEmphasize",j),e.xp6(3),e.Q6J("ngIf",m.molecularProfileAliases.length>0)("ngIfElse",c)}}function _o(u,y){1&u&&(e.ynx(0),e.YNc(1,mo,6,5,"ng-template",null,19,e.W1O),e.BQk())}function Zo(u,y){if(1&u&&(e.ynx(0),e.YNc(1,_o,3,0,"ng-container",18),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Gi(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",25)(1,"cvc-entity-tag",26),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","MolecularProfile:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const Zr=function(){return[8,12]},ns=function(u,y){return{show:u,hide:y}},Ms=Lt(_n(),oi());let Ti=(()=>{class u extends Ms{constructor(c,m,j,Be){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.apollo=Be,this.editorOpen=!1,this.defaultOptions={props:{label:"Molecular Profile",placeholder:"Search Molecular Profiles",isMultiSelect:!1,description:"Select a Gene and Variant to specify a simple Molecular Profile.",extraType:"prompt",entityName:{singular:"Molecular Profile",plural:"Molecular Profiles"},minSearchStrLength:1}},this.onMpSelect$=new Ge.X(void 0),this.onMpId$=new bo.t,this.onShowExpClick$=new st.x,this.showExp$=this.onShowExpClick$.pipe((0,ho.R)((Mt,bn)=>!Mt,!1),(0,ko.b)(Mt=>this.editorOpen=Mt)),this.selectDisplay$=new Ge.X({showFinder:!0,showSelect:!1})}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.initialDescription=this.props.description,this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{const m=void 0!==c;this.selectDisplay$.next({showFinder:!m,showSelect:m}),this.onMpId$.next(c),this.props.description=c?void 0:this.initialDescription}),this.onMpSelect$.pipe((0,ce.t)(this)).subscribe(c=>{c?(this.selectOption$.next([{label:c.name,value:c.id}]),this.editorOpen&&this.onShowExpClick$.next(),this.cdr.detectChanges(),this.field.formControl.setValue(c.id)):this.selectDisplay$.next({showFinder:!0,showSelect:!1})})}configureStateConnections(){}getTypeaheadVarsFn(c,m){return{name:c,geneId:m}}getTypeaheadResultsFn(c){return c.data.molecularProfiles.nodes}getTagQueryVarsFn(c){return{molecularProfileId:c}}getTagQueryResultsFn(c){return c.data.molecularProfile}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.F4e),e.Y36(Nn.dGO),e.Y36(e.sBO),e.Y36(co._M))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ng-component"]],viewQuery:function(c,m){if(1&c&&e.Gf(fi,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:14,vars:16,consts:[[3,"nzGutter"],["nzFlex","auto"],[4,"ngrxLet"],["nzFlex","50px"],["type","button","nz-button","","nzBlock","","nz-tooltip","","nzTooltipTitle","Add/Edit Complex MP Expression",1,"expression-button",3,"click"],["nz-icon","",3,"ngClass","nzType"],["nzSpan","24","class","editor-drawer",4,"ngIf"],["selectedTemplate",""],[3,"cvcOnSelect",4,"ngIf"],["class","editor-message",4,"ngIf"],["style","display: inline-block",4,"ngIf"],[3,"cvcOnSelect"],[1,"editor-message"],["nz-typography","","nzEllipsis","","nzType","secondary"],[2,"display","inline-block"],[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcDisabled","cvcAllowClear","cvcOptions","cvcShowError","cvcLoading","cvcBorderless","cvcSuffixIcon","cvcShowArrow","cvcOnSearch","cvcOnModelChange"],["nzSpan","24",1,"editor-drawer"],[3,"cvcPrepopulateWithId","cvcOnSelect"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf","ngIfElse"],["noAliases",""],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){1&c&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.YNc(2,er,4,3,"ng-container",2),e.qZA(),e.TgZ(3,"nz-col",3)(4,"button",4),e.NdJ("click",function(){return m.onShowExpClick$.next()}),e._UZ(5,"span",5),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e._uU(8,"Editor "),e.qZA()(),e.YNc(9,ju,3,3,"nz-col",6),e.ALo(10,"ngrxPush"),e.qZA(),e.YNc(11,Zo,3,3,"ng-container",2),e.YNc(12,Gi,2,3,"ng-template",null,7,e.W1O)),2&c&&(e.Q6J("nzGutter",e.DdM(12,Zr)),e.xp6(2),e.Q6J("ngrxLet",m.selectDisplay$),e.xp6(3),e.Q6J("ngClass",e.WLB(13,ns,e.lcZ(6,6,m.showExp$),!e.lcZ(7,8,m.showExp$)))("nzType","caret-right"),e.xp6(4),e.Q6J("ngIf",e.lcZ(10,10,m.showExp$)),e.xp6(2),e.Q6J("ngrxLet",m.onSearch$))},dependencies:[M.mk,M.sg,M.O5,F.eJ,On.ix,yo.w,Xo.dQ,Re.Ls,R.t3,R.SK,ge.ZU,Xe.SY,Kn,xo.J,Po,vp,F.fM,I.A],styles:["form[_ngcontent-%COMP%] span.hide[_ngcontent-%COMP%], .expression-button[_ngcontent-%COMP%] span.hide[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .2s linear}form[_ngcontent-%COMP%] span.show[_ngcontent-%COMP%], .expression-button[_ngcontent-%COMP%] span.show[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .2s linear}.editor-message[_ngcontent-%COMP%]{padding:3px;background-color:#f5f5f5;cursor:default;border-radius:2px}"],data:{animation:[od.mF,od.MC]},changeDetection:0}),u})();const yd={types:[{name:"molecular-profile-select",wrappers:["form-field"],component:Ti},{name:"molecular-profile-multi-select",wrappers:["form-field"],component:Ti,defaultOptions:{props:{label:"Molecular Profiles",isMultiSelect:!0}}}]};let Tp=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.u5,t.UX,v.X0.forChild(yd),yt.L,On.sL,We.LV,zn.Qp,Re.PV,Pe.o7,R.Jb,Ye.zf,s.U5,B.ic,ge.ZJ,Xe.cg,Wn.$6,Ye.zf,Yt.Wr,cr.Ph,Zt.g,Bu.r,je,Kt,It.s,Te.x]}),u})();var vr=a(3702);const ga=["optionTemplates"];function Kr(u,y){if(1&u&&(e.TgZ(0,"nz-tag")(1,"strong"),e._uU(2),e.ALo(3,"formatAmp"),e.qZA()(),e.TgZ(4,"span",4),e._uU(5),e.qZA()),2&u){const c=e.oxw().$implicit,m=e.oxw();e.xp6(2),e.Oqu(e.xi3(3,2,c,"verbose")),e.xp6(3),e.Oqu(m.descriptionForCategory(c))}}function Zu(u,y){1&u&&(e.ynx(0),e.YNc(1,Kr,6,5,"ng-template",null,3,e.W1O),e.BQk())}function Cd(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-tag",8),e.NdJ("nzOnClose",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.onTagClose$.next(j))}),e.TgZ(1,"strong"),e._uU(2),e.ALo(3,"formatAmp"),e.qZA()()}if(2&u){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(e.xi3(3,1,c.nzValue,"verbose"))}}function c2(u,y){if(1&u&&(e.ynx(0),e._uU(1),e.ALo(2,"formatAmp"),e.BQk()),2&u){const c=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,c.nzValue,"verbose")," ")}}function t4(u,y){if(1&u&&(e.TgZ(0,"div",5),e.YNc(1,Cd,4,4,"nz-tag",6),e.YNc(2,c2,3,4,"ng-container",7),e.qZA()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!c.props.isMultiSelect),e.xp6(1),e.Q6J("ngIf",c.props.isMultiSelect)}}const qd=new Map([[Nn.iwm.Na,"Not Applicable"],[Nn.iwm.TierILevelA,"Biomarkers showing therapeutic response to FDA-approved therapy, or therapy included in professional guidelines."],[Nn.iwm.TierILevelB,"Biomarkers showing therapeutic response based on well-powered studies with consensus from experts in the field."],[Nn.iwm.TierIiLevelC,"FDA-approved therapies for different tumor types or investigational therapies, or multiple small published studies with some consensus."],[Nn.iwm.TierIiLevelD,"Biomarkers that show plausible therapeutic significance based on preclinical studies."],[Nn.iwm.TierIii,"Somatic variants in cancer genes reported in the same or different cancer types with unknown clinical significance and variants in cancer genes that have not been reported in any cancers."],[Nn.iwm.TierIv,"Benign or likely benign germline variants observed at significant allele frequencies in the general population or specific subpopulation."]]),Mp=Lt(_n(),lt());let Xp=(()=>{class u extends Mp{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"AMP/ASCO/CAP Category",required:!1,isMultiSelect:!1,placeholder:"Select AMP/ASCO/CAP Category"}},this.ampCategoryEnum$=new Ge.X([])}descriptionForCategory(c){return qd.get(c)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.ampCategoryEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr}),this.configurePlaceholder()}configureStateConnections(){this.props.tooltip="If applicable, please provide the AMP/ASCO/CAP somatic variant classification.",this.ampCategoryEnum$.next((0,So.o6)(Nn.iwm).map(c=>c)),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(c=>c.map(m=>m))),this.state&&(this.state.requires.requiresAmpLevel$?this.onRequiresAmpCategory$=this.state.requires.requiresAmpLevel$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresAmpLevel$ subject to attach.`),this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{c?(this.props.extraType=void 0,this.props.description=qd.get(c)):this.props.description="Select an Assertion Type to select its AMP Category"}))}configurePlaceholder(){this.placeholder$=new Ge.X(this.props.placeholder),this.onRequiresAmpCategory$&&this.onRequiresAmpCategory$.pipe((0,Ro.x)(),(0,ce.t)(this)).subscribe(c=>{this.props.extraType=void 0,c?(this.formControl.value||(this.props.extraType="description",this.props.description='Please provide the AMP/ASCO/CAP somatic variant classification.'),this.props.required=!0,this.props.disabled=!1):(this.props.required=!1,this.props.disabled=!0,this.resetField()),this.cdr.markForCheck()})}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-amp-category-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(ga,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],["nz-typography","","nzType","secondary"],[1,"ant-select-selection-item-content"],["nzMode","closeable",3,"nzOnClose",4,"ngIf"],[4,"ngIf"],["nzMode","closeable",3,"nzOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,Zu,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,t4,3,2,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(6);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,m.placeholder$))("cvcCustomTemplate",j)("cvcOptions",e.lcZ(2,11,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,m.ampCategoryEnum$))}},dependencies:[M.sg,M.O5,Wt.j,ge.ZU,Ke,F.fM,vr.t]}),u})();const eh={types:[{name:"amp-category-select",wrappers:["form-field"],component:Xp},{name:"amp-category-multi-select",wrappers:["form-field"],component:Xp,defaultOptions:{props:{label:"AMP/ASCO/CAP Categories",isMultiSelect:!0}}}]};let bp=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(eh),Wt.X,ge.ZJ,It.s,je,He]}),u})();const Xd=["optionTemplates"];function th(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"em")(2,"span",6),e._uU(3),e.qZA()(),e.BQk()),2&u){const c=e.oxw(2).$implicit;e.xp6(3),e.Oqu(c.description)}}function nh(u,y){if(1&u&&(e.TgZ(0,"nz-tag",5),e._uU(1),e.qZA(),e.TgZ(2,"span",6),e.YNc(3,th,4,1,"ng-container",7),e.qZA()),2&u){const c=e.oxw().$implicit;e.xp6(1),e.Oqu(c.code),e.xp6(2),e.Q6J("ngIf",c.description)}}function n4(u,y){1&u&&(e.ynx(0),e.YNc(1,nh,4,2,"ng-template",null,4,e.W1O),e.BQk())}function oh(u,y){if(1&u&&(e.ynx(0),e.YNc(1,n4,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function l2(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",8)(1,"cvc-entity-tag",9),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcDisableLink",!0)("cvcHasTooltip",!0)("cvcCacheId","AcmgCode:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const o4=Lt(_n(),oi());let Ku=(()=>{class u extends o4{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.defaultOptions={props:{entityName:{singular:"ACMG/AMP Code",plural:"ACMG/AMP Codes"},isMultiSelect:!1,requireType:!0,tooltip:"If applicable, please provide evidence criteria from the standards and guidelines for interpretation of sequence variants from ACMG/AMP.",placeholder:"Search ACMG/AMP Codes",requireTypePromptFn:(Be,Mt)=>`Select an ${Be} Type to search associated ACMG Code(s)`}},this.placeholder$=new Ge.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){if(this.state&&(this.stateEntityName=this.state.entityName,this.state.requires.requiresAcmgCodes$?this.onRequiresAcmgCode$=this.state.requires.requiresAcmgCodes$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresAcmgCodes$ subject to attach.`),this.props.requireType)){const c=`${this.stateEntityName.toLowerCase()}Type$`;this.state.fields[c]?this.onEntityType$=this.state.fields[c]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${c}.`)}}configurePlaceholders(){this.placeholder$.next(this.props.placeholders),this.onRequiresAcmgCode$&&this.onEntityType$&&(0,vo.a)([this.onRequiresAcmgCode$,this.onEntityType$]).pipe((0,Ro.x)(),(0,ce.t)(this)).subscribe(([c,m])=>{!c&&m?(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,we.E)(m)} ${this.state.entityName} does not include associated ACMG/AMP Code(s)`,this.props.extraType="prompt",this.resetField(),this.cdr.markForCheck()):this.props.requireType&&!m?(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"):c?(this.props.required=!0,this.props.disabled=!1,this.props.description='Please provide evidence criteria from the standards and guidelines for interpretation of sequence variants from ACMG/AMP in Richards et. al. 2015.',this.props.extraType="description"):(!c&&this.formControl.value||this.props.requireType&&!m&&this.formControl.value)&&this.resetField()})}getTypeaheadVarsFn(c){return{code:c}}getTypeaheadResultsFn(c){return c.data.acmgCodesTypeahead}getTagQueryResultsFn(c){return c.data.acmgCode}getTagQueryVarsFn(c){return{id:c}}getSelectedItemOptionFn(c){return{value:c.id,label:c.code}}getSelectOptionsFn(c,m){return c.map((j,Be)=>(console.log(j),{label:m.get(Be)||j.code,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.O2u),e.Y36(Nn.AIY),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-acmg-code-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(Xd,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:9,vars:22,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],["nz-tooltip",""],["nz-typography","","nzType","secondary"],[4,"ngIf"],[1,"ant-select-selection-item-content"],[3,"cvcDisableLink","cvcHasTooltip","cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.qZA(),e.YNc(6,oh,3,3,"ng-container",1),e.YNc(7,l2,2,5,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(8);e.Q6J("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",e.lcZ(1,12,m.placeholder$))("cvcResults",e.lcZ(2,14,m.result$))("cvcOptions",e.lcZ(3,16,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.onRequiresAcmgCode$&&!e.lcZ(4,18,m.onRequiresAcmgCode$))("cvcLoading",e.lcZ(5,20,m.isLoading$)),e.xp6(6),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,F.eJ,Xe.SY,ge.ZU,Wt.j,Kn,xo.J,F.fM],changeDetection:0}),u})();const r4={types:[{name:"acmg-code-select",wrappers:["form-field"],component:Ku,defaultOptions:{props:{label:"ACMG/AMP Code"}}},{name:"acmg-code-multi-select",wrappers:["form-field"],component:Ku,defaultOptions:{props:{isMultiSelect:!0,label:"ACMG/AMP Code(s)"}}}]};let Ju=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(r4),yt.L,On.sL,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,Wt.X,je,Kt,It.s,Te.x,Ls]}),u})();const zd=["optionTemplates"];function s4(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"em")(2,"span",6),e._uU(3),e.qZA()(),e.BQk()),2&u){const c=e.oxw(2).$implicit;e.xp6(3),e.Oqu(c.description)}}function ih(u,y){if(1&u&&(e.TgZ(0,"nz-tag",5),e._uU(1),e.qZA(),e.TgZ(2,"span",6),e.YNc(3,s4,4,1,"ng-container",7),e.qZA()),2&u){const c=e.oxw().$implicit;e.xp6(1),e.Oqu(c.code),e.xp6(2),e.Q6J("ngIf",c.description)}}function a4(u,y){1&u&&(e.ynx(0),e.YNc(1,ih,4,2,"ng-template",null,4,e.W1O),e.BQk())}function c4(u,y){if(1&u&&(e.ynx(0),e.YNc(1,a4,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function l4(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",8)(1,"cvc-entity-tag",9),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcDisableLink",!0)("cvcHasTooltip",!0)("cvcCacheId","ClingenCode:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const rh=Lt(_n(),oi());let sh=(()=>{class u extends rh{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.exclusiveCodes=new Set,this.exclusiveSelected=!1,this.defaultOptions={props:{entityName:{singular:"ClinGen/CGC/VICC Code",plural:"ClinGen/CGC/VICC Codes"},isMultiSelect:!1,requireType:!0,tooltip:"If applicable, please provide evidence classifications from the Standards for the classification of pathogenicity of somatic variants in cancer (oncogenicity).",placeholder:"Search ClinGen/CGC/VICC Codes",requireTypePromptFn:(Be,Mt)=>`Select an ${Be} Type to search associated ClinGen Code(s)`}},this.placeholder$=new Ge.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectComponent:this.selectComponent}),this.configurePlaceholders(),this.onValueChange$.pipe((0,ce.t)(this)).subscribe(c=>{if(c&&Array.isArray(c)&&c.length>1){const m=c.find(j=>this.exclusiveCodes.has(j));m?(this.previousDescription=this.props.description,this.previousDescriptionType=this.props.extraType,this.props.description="You have selected N/A which precludes selecting any other codes. Please remove it if you wish to select additional codes.",this.exclusiveSelected=!0,this.formControl.setValue([m])):this.exclusiveSelected=!1}this.previousDescription&&!this.exclusiveSelected&&(this.props.description=this.previousDescription,this.props.extraType=this.previousDescriptionType),this.cdr.detectChanges()})}configureStateConnections(){if(this.state&&(this.stateEntityName=this.state.entityName,this.state.requires.requiresClingenCodes$?this.onRequiresClingenCode$=this.state.requires.requiresClingenCodes$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresClingenCodes$ subject to attach.`),this.props.requireType)){const c=`${this.stateEntityName.toLowerCase()}Type$`;this.state.fields[c]?this.onEntityType$=this.state.fields[c]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${c}.`)}}configurePlaceholders(){this.placeholder$.next(this.props.placeholders),this.onRequiresClingenCode$&&this.onEntityType$&&(0,vo.a)([this.onRequiresClingenCode$,this.onEntityType$]).pipe((0,Ro.x)(),(0,ce.t)(this)).subscribe(([c,m])=>{!c&&m?(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,we.E)(m)} ${this.state.entityName} does not include associated ClinGen/CGC/VICC Code(s)`,this.props.extraType="prompt",this.resetField(),this.cdr.markForCheck()):this.props.requireType&&!m?(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"):c?(this.props.required=!0,this.props.disabled=!1,this.props.description='Please provide the evidence classifications from the Standards for the classification of pathogenicity of somatic variants in cancer (oncogenicity) in Horak et. al. 2022..',this.props.extraType="description"):(!c&&this.formControl.value||this.props.requireType&&!m&&this.formControl.value)&&this.resetField()})}getTypeaheadVarsFn(c){return{code:c}}getTypeaheadResultsFn(c){return c.data.clingenCodesTypeahead.forEach(m=>{m.exclusive&&this.exclusiveCodes.add(m.id)}),c.data.clingenCodesTypeahead}getTagQueryResultsFn(c){return c.data.clingenCode}getTagQueryVarsFn(c){return{id:c}}getSelectedItemOptionFn(c){return{value:c.id,label:c.code}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.code,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.E2B),e.Y36(Nn.R8F),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-clingen-code-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(zd,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:9,vars:22,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],["nz-tooltip",""],["nz-typography","","nzType","secondary"],[4,"ngIf"],[1,"ant-select-selection-item-content"],[3,"cvcDisableLink","cvcHasTooltip","cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.qZA(),e.YNc(6,c4,3,3,"ng-container",1),e.YNc(7,l4,2,5,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(8);e.Q6J("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",e.lcZ(1,12,m.placeholder$))("cvcResults",e.lcZ(2,14,m.result$))("cvcOptions",e.lcZ(3,16,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.onRequiresClingenCode$&&!e.lcZ(4,18,m.onRequiresClingenCode$))("cvcLoading",e.lcZ(5,20,m.isLoading$)),e.xp6(6),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,F.eJ,Xe.SY,ge.ZU,Wt.j,Kn,xo.J,F.fM],changeDetection:0}),u})();const Sp={types:[{name:"clingen-code-select",wrappers:["form-field"],component:sh,defaultOptions:{props:{label:"ClinGen/CGC/VICC Code"}}},{name:"clingen-code-multi-select",wrappers:["form-field"],component:sh,defaultOptions:{props:{isMultiSelect:!0,label:"ClinGen/CGC/VICC Code(s)"}}}]};let Td=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(Sp),yt.L,On.sL,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,Wt.X,je,Kt,It.s,Te.x,Ls]}),u})();const ah=["optionTemplates"];function u2(u,y){if(1&u&&(e.TgZ(0,"nz-tag",5),e._uU(1),e.qZA()),2&u){const c=e.oxw().$implicit;e.xp6(1),e.Oqu(c.name)}}function Ep(u,y){1&u&&(e.ynx(0),e.YNc(1,u2,2,1,"ng-template",null,4,e.W1O),e.BQk())}function qu(u,y){if(1&u&&(e.ynx(0),e.YNc(1,Ep,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function ep(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",6)(1,"cvc-entity-tag",7),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcDisableLink",!0)("cvcCacheId","NccnGuideline:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const ch=Lt(_n(),oi());let xp=(()=>{class u extends ch{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.defaultOptions={props:{entityName:{singular:"NCCN Guideline",plural:"NCCN Guidelines"},isMultiSelect:!1,requireType:!1,tooltip:"If applicable, please provide cancer (e.g., Breast Cancer) for the appropriate NCCN guideline.",placeholder:"Search NCCN Guidelines"}},this.placeholder$=new Ge.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectComponent:this.selectComponent})}getTypeaheadVarsFn(c){return{name:c}}getTypeaheadResultsFn(c){return c.data.nccnGuidelinesTypeahead}getTagQueryResultsFn(c){return c.data.nccnGuideline}getTagQueryVarsFn(c){return{id:c}}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.sA8),e.Y36(Nn.N$2),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-nccn-guideline-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(ah,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:8,vars:20,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],["nz-tooltip",""],[1,"ant-select-selection-item-content"],[3,"cvcDisableLink","cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.qZA(),e.YNc(5,qu,3,3,"ng-container",1),e.YNc(6,ep,2,4,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(7);e.Q6J("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",e.lcZ(1,12,m.placeholder$))("cvcResults",e.lcZ(2,14,m.result$))("cvcOptions",e.lcZ(3,16,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",!1)("cvcLoading",e.lcZ(4,18,m.isLoading$)),e.xp6(5),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,F.eJ,Xe.SY,Wt.j,Kn,xo.J,F.fM],changeDetection:0}),u})();const u4={types:[{name:"nccn-guideline-select",wrappers:["form-field"],component:xp,defaultOptions:{props:{label:"NCCN Guideline"}}},{name:"nccn-guideline-multi-select",wrappers:["form-field"],component:xp,defaultOptions:{props:{isMultiSelect:!0,label:"NCCN Guideline(s)"}}}]};let d4=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(u4),yt.L,On.sL,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,Wt.X,je,Kt,It.s,Te.x,Ls]}),u})();const p4=Lt(_n()),lh={types:[{name:"nccn-guideline-version-input",component:(()=>{class u extends p4{constructor(c){super(),this.cdr=c,this.defaultDescription="Please enter the version of the NCCN guideline you're referencing in the format Version.Year",this.defaultOptions={validators:{nccnVersionNumber:{expression:m=>{if(m.value){if(/^\d{1,2}\.\d{4}$/.test(m.value)){let j=+m.value.split(".")[1];return j>=2e3&&j<=(new Date).getFullYear()+1}return!1}return!0},message:(m,j)=>`"${j.formControl?.value}" does not fit the format Version.Year`}},props:{label:"NCCN Guideline Version",extraType:"description",description:this.defaultDescription}}}ngAfterViewInit(){this.configureBaseField(),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,De.h)(c=>c),(0,Di.q)(1),(0,ce.t)(this)).subscribe(c=>{this.configureField()}):this.configureField()}configureField(){this.state?.fields.nccnGuidelineId$.pipe((0,ce.t)(this)).subscribe(c=>{c?(this.props.disabled=!1,this.props.required=!0,this.props.extraType="description",this.props.description=this.defaultDescription):(this.props.disabled=!0,this.props.required=!1,this.props.extraType="prompt",this.props.description="NCCN Guideline Version is only required when NCCN Guideline is specified.",this.formControl.setValue(void 0))})}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-nccn-guideline-version-input"]],features:[e.qOj],decls:1,vars:2,consts:[["nz-input","","placeholder","ex: 1.2023",3,"formControl","formlyAttributes"]],template:function(c,m){1&c&&e._UZ(0,"input",0),2&c&&e.Q6J("formControl",m.formControl)("formlyAttributes",m.field)},dependencies:[t.Fj,t.JJ,t.oH,v.JD,Pe.Zp],encapsulation:2,changeDetection:0}),u})(),wrappers:["form-field"]}]};let h4=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(lh),Pe.o7,je]}),u})();const Dp=Lt(_n()),Ka={types:[{name:"fda-regulatory-approval-checkbox",wrappers:["form-field"],component:(()=>{class u extends Dp{constructor(){super(...arguments),this.defaultDescription="Check this if the referenced therapy is approved for use by the FDA in the specific disease associated with the Assertion (as in a listing here.)",this.defaultOptions={props:{hideLabel:!1,label:"FDA Regulatory Approval",description:this.defaultDescription}}}ngAfterViewInit(){this.configureBaseField(),this.state&&(this.state.formReady$?this.state.formReady$.pipe((0,De.h)(c=>c),(0,Di.q)(1),(0,ce.t)(this)).subscribe(c=>{this.configureField()}):this.configureField())}configureField(){this.state?.requires.allowsFdaApproval$.pipe((0,ce.t)(this)).subscribe(c=>{c?(this.props.disabled=!1,this.props.extraType="description",this.props.description=this.defaultDescription,void 0===this.formControl.value&&this.formControl.setValue(!1)):(this.props.disabled=!0,this.props.description="FDA Regulatory Approval does not apply to this Assertion Type",this.formControl.setValue(void 0))})}}return u.\u0275fac=function(){let y;return function(m){return(y||(y=e.n5z(u)))(m||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-fda-regulatory-approval-checkbox"]],features:[e.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(c,m){1&c&&(e.TgZ(0,"label",0),e.NdJ("ngModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e._uU(1),e.qZA()),2&c&&(e.Q6J("nzIndeterminate",m.props.indeterminate&&null==m.formControl.value)("formControl",m.formControl)("formlyAttributes",m.field),e.xp6(1),e.hij(" ",m.props.label,"\n"))},dependencies:[t.JJ,t.oH,Yt.Ie,v.JD],changeDetection:0}),u})()}]};let uh=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,Yt.Wr,v.X0.forChild(Ka),je]}),u})();const p2=Lt(_n()),f2={types:[{name:"fda-companion-test-checkbox",wrappers:["form-field"],component:(()=>{class u extends p2{constructor(){super(...arguments),this.defaultDescription='Select Yes if an FDA approved companion test exists for the variant and therapy associated with the Assertion (such as tests listed here).',this.defaultOptions={props:{hideLabel:!1,label:"FDA Companion Test",description:this.defaultDescription}}}ngAfterViewInit(){this.configureBaseField(),this.state&&(this.state.formReady$?this.state.formReady$.pipe((0,De.h)(c=>c),(0,Di.q)(1),(0,ce.t)(this)).subscribe(c=>{this.configureField()}):this.configureField())}configureField(){this.state?.fields.fdaRegulatoryApproval$.pipe((0,ce.t)(this)).subscribe(c=>{c?(this.props.disabled=!1,this.props.extraType="description",this.props.description=this.defaultDescription,void 0===this.formControl.value&&this.formControl.setValue(!1)):(this.props.disabled=!0,this.props.description="FDA Companion Test only applies when Regulatory Approval is selected",this.formControl.setValue(void 0))})}}return u.\u0275fac=function(){let y;return function(m){return(y||(y=e.n5z(u)))(m||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-fda-companion-test-checkbox"]],features:[e.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(c,m){1&c&&(e.TgZ(0,"label",0),e.NdJ("ngModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e._uU(1),e.qZA()),2&c&&(e.Q6J("nzIndeterminate",m.props.indeterminate&&null==m.formControl.value)("formControl",m.formControl)("formlyAttributes",m.field),e.xp6(1),e.hij(" ",m.props.label,"\n"))},dependencies:[t.JJ,t.oH,Yt.Ie,v.JD],changeDetection:0}),u})()}]};let m2=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,Yt.Wr,v.X0.forChild(f2),je]}),u})();const dh=["optionTemplates"];function ph(u,y){if(1&u&&(e.TgZ(0,"nz-tag")(1,"strong"),e._uU(2),e.qZA()()),2&u){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c)}}function g2(u,y){1&u&&(e.ynx(0),e.YNc(1,ph,3,1,"ng-template",null,3,e.W1O),e.BQk())}function hh(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"nz-tag",7),e.NdJ("nzOnClose",function(j){e.CHM(c);const Be=e.oxw(2);return e.KtG(Be.onTagClose$.next(j))}),e.TgZ(1,"strong"),e._uU(2),e.qZA()()}if(2&u){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c.nzValue)}}function Md(u,y){if(1&u&&(e.ynx(0),e._uU(1),e.BQk()),2&u){const c=e.oxw().$implicit;e.xp6(1),e.hij(" ",c.nzValue," ")}}function fh(u,y){if(1&u&&(e.TgZ(0,"div",4),e.YNc(1,hh,3,1,"nz-tag",5),e.YNc(2,Md,2,1,"ng-container",6),e.qZA()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!c.props.isMultiSelect),e.xp6(1),e.Q6J("ngIf",c.props.isMultiSelect)}}const mh=Lt(_n(),lt());let Op=(()=>{class u extends mh{constructor(c){super(),this.cdr=c,this.defaultOptions={props:{label:"Reference Build",required:!1,isMultiSelect:!1,description:"Select the human genome reference sequence from which these coordinates are obtained",placeholder:"Select Reference Build"}},this.buildEnum$=new Ge.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.buildEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){this.placeholder$=new Ge.X(this.props.placeholder),this.buildEnum$.next((0,So.o6)(Nn.JDX).map(c=>c)),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,vt.U)(c=>c.map(m=>m)))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-reference-build-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(dh,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[1,"ant-select-selection-item-content"],["nzMode","closeable",3,"nzOnClose",4,"ngIf"],[4,"ngIf"],["nzMode","closeable",3,"nzOnClose"]],template:function(c,m){if(1&c&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,g2,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,fh,3,2,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(6);e.Q6J("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,m.placeholder$))("cvcCustomTemplate",j)("cvcOptions",e.lcZ(2,11,m.selectOption$))("cvcShowError",m.showError)("cvcDisabled",m.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,m.buildEnum$))}},dependencies:[M.sg,M.O5,Wt.j,Ke,F.fM]}),u})();const No={types:[{name:"reference-build-select",wrappers:["form-field"],component:Op},{name:"reference-build-multi-select",wrappers:["form-field"],component:Op,defaultOptions:{props:{label:"Levels",isMultiSelect:!0}}}]};let gh=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(No),Wt.X,It.s,je,He]}),u})();const vh=["optionTemplates"];function v2(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",8),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&u){const c=e.oxw(2).$implicit,m=e.oxw().ngrxLet;e.xp6(2),e.Q6J("innerHtml",e.xi3(3,1,c.soid,m),e.oJD)}}function f4(u,y){if(1&u&&(e._UZ(0,"cvc-entity-tag",5),e.TgZ(1,"span",6),e.YNc(2,v2,4,4,"ng-container",7),e.qZA()),2&u){const c=e.oxw().$implicit,m=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",m),e.xp6(2),e.Q6J("ngIf",c.soid)}}function _h(u,y){1&u&&(e.ynx(0),e.YNc(1,f4,3,4,"ng-template",null,4,e.W1O),e.BQk())}function m4(u,y){if(1&u&&(e.ynx(0),e.YNc(1,_h,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function g4(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div",9)(1,"cvc-entity-tag",10),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw();return e.KtG(Mt.onTagClose$.next(Be.nzValue))}),e.qZA()()}if(2&u){const c=y.$implicit,m=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","VariantType:"+c.nzValue)("cvcContext",m.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",m.props.isMultiSelect?"default":"closeable")}}const yh=Lt(_n(),oi());let Ch=(()=>{class u extends yh{constructor(c,m,j){super(),this.taq=c,this.tq=m,this.changeDetectorRef=j,this.defaultOptions={props:{entityName:{singular:"VariantType",plural:"VariantTypes"},isMultiSelect:!1,placeholders:{default:"Search Variant Types",multiDefault:"Select VariantType(s)"},description:'Add one or more variant types from the Sequence Ontology (e.g., missense, loss-of-function). Be specific as possible, avoid the addition of root concepts, and use the sequence_variant tree of the sequence ontology.',extraType:"prompt"}},this.placeholder$=new Ge.X(this.defaultOptions.props.placeholders.default)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){}configurePlaceholders(){}getTypeaheadVarsFn(c){return{name:c}}getTypeaheadResultsFn(c){return c.data.variantTypeTypeahead}getTagQueryVarsFn(c){return{id:c}}getTagQueryResultsFn(c){return c.data.variantType}getSelectedItemOptionFn(c){return{value:c.id,label:c.name}}getSelectOptionsFn(c,m){return c.map((j,Be)=>({label:m.get(Be)||j.name,value:j.id}))}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(Nn.jmY),e.Y36(Nn._nE),e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-variant-type-select"]],viewQuery:function(c,m){if(1&c&&e.Gf(vh,5,e.Rgc),2&c){let j;e.iGM(j=e.CRH())&&(m.optionTemplates=j)}},features:[e.qOj],decls:8,vars:19,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(c,m){if(1&c&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(Be){return m.onSearch$.next(Be)})("cvcOnOpenChange",function(Be){return m.onOpenChange$.next(Be)})("cvcOnModelChange",function(Be){return m.props.change&&m.props.change(m.field,Be)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.qZA(),e.YNc(5,m4,3,3,"ng-container",1),e.YNc(6,g4,2,3,"ng-template",null,2,e.W1O)),2&c){const j=e.MAs(7);e.Q6J("cvcSelectMode",m.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",j)("cvcFormControl",m.formControl)("cvcFormlyAttributes",m.field)("cvcEntityName",m.props.entityName)("cvcPlaceholder",e.lcZ(1,11,m.placeholder$))("cvcResults",e.lcZ(2,13,m.result$))("cvcOptions",e.lcZ(3,15,m.selectOption$))("cvcShowError",m.showError)("cvcLoading",e.lcZ(4,17,m.isLoading$)),e.xp6(5),e.Q6J("ngrxLet",m.onSearch$)}},dependencies:[M.sg,M.O5,F.eJ,ge.ZU,Kn,xo.J,F.fM,I.A],changeDetection:0}),u})();const zh={types:[{name:"variant-type-select",wrappers:["form-field"],component:Ch,defaultOptions:{props:{label:"Variant Type"}}},{name:"variant-type-multi-select",wrappers:["form-field"],component:Ch,defaultOptions:{props:{isMultiSelect:!0,label:"Variant Types"}}}]};let v4=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(zh),yt.L,On.sL,We.LV,Wn.$6,zn.Qp,Re.PV,Pe.o7,R.Jb,Xe.cg,Ye.zf,s.U5,B.ic,ge.ZJ,Wt.X,je,Kt,It.s,Te.x]}),u})();var Ja=a(2701);function _2(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"cvc-string-tag",5),e.NdJ("cvcOnClose",function(){const Be=e.CHM(c).$implicit,Mt=e.oxw(2);return e.KtG(Mt.tagClosed(Be))}),e.qZA()}if(2&u){const c=y.$implicit;e.Q6J("cvcMode","closeable")("cvcLabel",c)}}function Th(u,y){if(1&u){const c=e.EpF();e.TgZ(0,"div"),e.YNc(1,_2,1,2,"cvc-string-tag",3),e.ALo(2,"ngrxPush"),e.TgZ(3,"input",4),e.NdJ("keydown.enter",function(j){e.CHM(c);const Be=e.oxw();return e.KtG(Be.onEnter(j))}),e.qZA()()}if(2&u){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,2,c.clinvarIds$)),e.xp6(2),e.Q6J("placeholder",c.props.placeholder)}}const Mh=Lt(_n(),sl);let qa=(()=>{class u extends Mh{constructor(c){super(),this.cdr=c,this.defaultOptions={modelOptions:{updateOn:"blur"},props:{label:"Enter value",placeholder:"Enter value and hit Return"}},this.clinvarIds$=new Ge.X([]),this.values=new Set,this.showClinvarIdEntry$=new Ge.X(!1),this.selectModel=void 0,this.selectOptions=[{value:Ja.li.NotApplicable,label:"Clinvar IDs not applicable for this variant"},{value:Ja.li.NoneFound,label:"Clinvar IDs do not exist for this variant"},{value:Ja.li.Found,label:"Clinvar IDs were found for this variant"},{value:void 0,label:""}]}optionSelected(c){const m=c;this.values.clear(),this.clinvarIds$.next([]),null!=m?m==Ja.li.Found?(this.showClinvarIdEntry$.next(!0),this.formControl.setValue([])):m==Ja.li.NoneFound?(this.showClinvarIdEntry$.next(!1),this.formControl.setValue(["NONE FOUND"])):m==Ja.li.NotApplicable&&(console.log("HERE"),this.showClinvarIdEntry$.next(!1),this.formControl.setValue(["NA"])):(this.showClinvarIdEntry$.next(!1),this.formControl.setValue([]),this.clinvarIds$.next([]))}onEnter(c){let m=c.target;m.value&&(this.values.add(m.value),m.value="");let j=Array.from(this.values);this.clinvarIds$.next(j),this.formControl.setValue(j)}tagClosed(c){this.values.delete(c);let m=Array.from(this.values);this.clinvarIds$.next(m),this.formControl.setValue(m),this.clinvarIds$.next(m)}ngAfterViewInit(){this.configureBaseField(),this.configureStringTagField();const c=this.formControl.value;c&&Array.isArray(c)&&("NONE FOUND"==c[0]?this.selectModel=Ja.li.NoneFound:"N/A"==c[0]?this.selectModel=Ja.li.NotApplicable:(this.selectModel=Ja.li.Found,c.forEach(m=>this.values.add(m)),this.showClinvarIdEntry$.next(!0)),this.clinvarIds$.next(c),this.cdr.detectChanges())}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-clinvar-input"]],features:[e.qOj],decls:4,vars:7,consts:[["nzAllowClear","",3,"nzOptions","ngModel","ngModelChange"],[4,"ngIf"],["hidden","","nz-input","",3,"formControl","formlyAttributes"],[3,"cvcMode","cvcLabel","cvcOnClose",4,"ngFor","ngForOf"],["nz-input","",3,"placeholder","keydown.enter"],[3,"cvcMode","cvcLabel","cvcOnClose"]],template:function(c,m){1&c&&(e.TgZ(0,"nz-select",0),e.NdJ("ngModelChange",function(Be){return m.optionSelected(Be)}),e.qZA(),e.YNc(1,Th,4,4,"div",1),e.ALo(2,"ngrxPush"),e._UZ(3,"input",2)),2&c&&(e.Q6J("nzOptions",m.selectOptions)("ngModel",m.selectModel),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,5,m.showClinvarIdEntry$)),e.xp6(2),e.Q6J("formControl",m.formControl)("formlyAttributes",m.field))},dependencies:[M.sg,M.O5,t.Fj,t.JJ,t.oH,t.On,v.JD,Pe.Zp,We.Vq,cl,F.fM],changeDetection:0}),u})();const e1={types:[{name:"clinvar-input",wrappers:["form-field"],component:qa},{name:"clinvar-multi-input",wrappers:["form-field"],component:qa,defaultOptions:{props:{isRepeatItem:!0}}}]};let bh=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,t.u5,v.X0.forChild(e1),Ve.F,Pe.o7,s.U5,We.LV,Ls]}),u})();const tp={types:[{name:"cvc-cancel-button",component:(()=>{class u extends v.fS{constructor(c){super(),this.location=c}cancelClicked(){this.location.back()}}return u.\u0275fac=function(c){return new(c||u)(e.Y36(M.Ye))},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-cancel-button"]],features:[e.qOj],decls:2,vars:0,consts:[["nz-button","","type","button","nzType","default","nzDanger","",1,"cancel-button",3,"click"]],template:function(c,m){1&c&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return m.cancelClicked()}),e._uU(1," Cancel\n"),e.qZA())},dependencies:[On.ix,yo.w,Xo.dQ],styles:[".cancel-button[_ngcontent-%COMP%]{margin-right:10px}"],changeDetection:0}),u})()}]};let t1=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,v.X0.forChild(tp),On.sL]}),u})(),wp=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Jc,D1,Ba,Yl,kd,m1,ne,Mn,lc,Dn,an,Xc,dc,lu,M1,hu,Od,Tp,Uc,bp,Ju,Td,d4,h4,uh,m2,gh,v4,bh,t1]}),u})();var va;function Sh(u,y){if(1&u&&e._uU(0),2&u){const c=e.oxw();e.hij(" ",c.props.addFormTitle,"\n")}}const Pp=function(){return[6,6]};let n1=((va=class extends v.n2{constructor(){super(),this.contentTemplate$=new bo.t}ngAfterViewInit(){this.field.props&&this.field.props.addFormContent?this.contentTemplate$.next(this.field.props.addFormContent):console.error(`${this.field.id} add-entity-form wrapper failed to find parent field's props.addFormContent TemplateRef.`)}}).\u0275fac=function(y){return new(y||va)},va.\u0275cmp=e.Xpm({type:va,selectors:[["cvc-add-entity-form-wrapper"]],features:[e.qOj],decls:10,vars:7,consts:[[3,"nzGutter"],["nzFlex","auto"],["fieldComponent",""],["nzFlex","20px"],["type","button","nz-button","","nzType","primary","nzSize","default","nzShape","circle","nz-popover","",3,"disabled","nzPopoverTitle","nzPopoverContent"],["nz-icon","","nzType","plus-circle","nzTheme","outline"],["titleTemplate",""]],template:function(y,c){if(1&y&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.GkF(2,null,2),e.qZA(),e.TgZ(4,"nz-col",3)(5,"button",4),e.ALo(6,"ngrxPush"),e._UZ(7,"span",5),e.qZA()()(),e.YNc(8,Sh,1,1,"ng-template",null,6,e.W1O)),2&y){const m=e.MAs(9);e.Q6J("nzGutter",e.DdM(6,Pp)),e.xp6(5),e.Q6J("disabled",null==c.field.props?null:c.field.props.disabled)("nzPopoverTitle",m)("nzPopoverContent",e.lcZ(6,4,c.contentTemplate$))}},dependencies:[On.ix,yo.w,Xo.dQ,Wn.lU,Re.Ls,R.t3,R.SK,F.fM],styles:[".add-button[_ngcontent-%COMP%]{font-size:24px;color:#cfcfdf}"],changeDetection:0}),va);n1=(0,te.gn)([(0,ce.c)()],n1);const np={wrappers:[{name:"add-entity-form",component:n1}]};let Eh=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,v.X0.forChild(np),On.sL,Wn.$6,Re.PV,R.Jb]}),u})();const _4={wrappers:[{name:"field-grid",component:(()=>{class u extends v.n2{get errorState(){return this.showError?"error":""}ngOnInit(){this.props.grid={cols:2,...this.props.grid?this.props.grid:void 0}}}return u.\u0275fac=function(){let y;return function(m){return(y||(y=e.n5z(u)))(m||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-field-grid"]],features:[e.qOj],decls:3,vars:1,consts:[[1,"field-grid",3,"ngClass"],["fieldComponent",""]],template:function(c,m){1&c&&(e.TgZ(0,"div",0),e.GkF(1,null,1),e.qZA()),2&c&&e.Q6J("ngClass","cols-"+m.props.grid.cols)},dependencies:[M.mk],styles:[".field-grid.cols-2[_ngcontent-%COMP%] formly-group:first-of-type{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.field-grid.cols-3[_ngcontent-%COMP%] formly-group:first-of-type{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.field-grid.cols-4[_ngcontent-%COMP%] formly-group:first-of-type{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}"],changeDetection:0}),u})()}]};let y4=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.UX,s.U5,R.Jb,v.X0.forChild(_4)]}),u})();function C4(u,y){if(1&u&&(e.TgZ(0,"nz-col",4),e._UZ(1,"formly-field",5),e.qZA()),2&u){const c=y.$implicit;e.Q6J("nzSpan",(null==c.props?null:c.props.colSpan)||12),e.xp6(1),e.Q6J("field",c)}}function Dh(u,y){}const z4=function(){return[6,6]},T4={wrappers:[{name:"form-card",component:(()=>{class u extends v.n2{get errorState(){return this.showError?"error":""}constructor(){super()}ngOnInit(){this.props.gutterHorizontal=this.props.gutterHorizontal||8,this.props.gutterVertical=this.props.gutterVertical||8}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-form-card"]],features:[e.qOj],decls:5,vars:5,consts:[[3,"nzTitle","nzExtra"],[3,"nzGutter"],[3,"nzSpan",4,"ngFor","ngForOf"],["cardExtra",""],[3,"nzSpan"],[3,"field"]],template:function(c,m){if(1&c&&(e.TgZ(0,"nz-card",0)(1,"nz-row",1),e.YNc(2,C4,2,2,"nz-col",2),e.qZA()(),e.YNc(3,Dh,0,0,"ng-template",null,3,e.W1O)),2&c){const j=e.MAs(4);e.Q6J("nzTitle",m.props.title)("nzExtra",j),e.xp6(1),e.Q6J("nzGutter",e.DdM(4,z4)),e.xp6(1),e.Q6J("ngForOf",m.field.fieldGroup)}},dependencies:[M.sg,v.cw,R.t3,R.SK,Gn.bd]}),u})()}]};let wh=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,t.u5,v.X0.forChild(T4),R.Jb,Gn.vh,Yt.Wr]}),u})();const T2={wrappers:[{name:"form-footer",component:(()=>{class u extends v.n2{ngOnInit(){}}return u.\u0275fac=function(){let y;return function(m){return(y||(y=e.n5z(u)))(m||u)}}(),u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-form-footer"]],features:[e.qOj],decls:4,vars:0,consts:[[1,"form-footer"],["nzSpan","24",1,"submit-col"],["fieldComponent",""]],template:function(c,m){1&c&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.GkF(2,null,2),e.qZA()())},dependencies:[R.t3,R.SK],styles:[".form-footer[_ngcontent-%COMP%]{margin-top:1em;border-radius:8px;background-color:#f0f0f0;padding:1em}.submit-col[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0}),u})()}]};let bs=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,R.Jb,v.X0.forChild(T2)]}),u})();var M2=a(9333),Ph=a(8125),Ih=a(9382);let Ah=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Re.PV,R.Jb,Gn.vh,Ih.we,Ph.q6,cr.Ph,Wt.X,ge.ZJ,k.s]}),u})(),b4=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,On.sL,An.Rt,Fn.b1]}),u})();var b2=a(553);const S2={VALID:"success",INVALID:"error",PENDING:"processing",DISABLED:"default"};let S4=(()=>{class u{constructor(){this.tagColor="default"}set cvcFormControlStatus(c){this._status=c,this.tagColor=c?S2[c]:"default"}get cvcFormControlStatus(){return this._status}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-form-status-tag"]],inputs:{cvcFormControlStatus:"cvcFormControlStatus"},decls:3,vars:4,consts:[[3,"nzColor"]],template:function(c,m){1&c&&(e.TgZ(0,"nz-tag",0),e._uU(1),e.ALo(2,"lowercase"),e.qZA()),2&c&&(e.Q6J("nzColor",m.tagColor),e.xp6(1),e.hij(" ",m.cvcFormControlStatus?e.lcZ(2,2,m.cvcFormControlStatus):"UNKNOWN","\n"))},dependencies:[Wt.j,M.i8]}),u})();function E4(u,y){if(1&u&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&u){const c=e.oxw(2).ctrl;e.xp6(1),e.hij(" ",c.value," ")}}function E2(u,y){1&u&&(e.TgZ(0,"span",8),e._uU(1," undefined "),e.qZA())}function x2(u,y){if(1&u&&(e.TgZ(0,"nz-list-item")(1,"nz-list-item-meta")(2,"nz-list-item-meta-title"),e._uU(3),e.qZA(),e.TgZ(4,"nz-list-item-meta-description"),e.YNc(5,E4,2,1,"span",5),e.YNc(6,E2,2,0,"span",6),e.qZA()(),e.TgZ(7,"nz-list-item-extra"),e._UZ(8,"cvc-form-status-tag",7),e.qZA()()),2&u){const c=e.oxw(),m=c.key,j=c.ctrl;e.xp6(3),e.hij(" ",m," "),e.xp6(2),e.Q6J("ngIf",j.value),e.xp6(1),e.Q6J("ngIf",!j.value),e.xp6(2),e.Q6J("cvcFormControlStatus",j.status)}}function Fh(u,y){}const x4=function(u,y){return{key:u,ctrl:y}};function D2(u,y){if(1&u&&e.YNc(0,Fh,0,0,"ng-template",12),2&u){const c=y.$implicit;e.oxw(3);const m=e.MAs(3);e.Q6J("ngTemplateOutlet",m)("ngTemplateOutletContext",e.WLB(2,x4,c.key,c.value))}}function O2(u,y){if(1&u&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&u){const c=e.oxw(2).key;e.xp6(1),e.Oqu(c)}}function w2(u,y){if(1&u&&(e.TgZ(0,"nz-list-item")(1,"nz-card",9)(2,"nz-list",10),e.YNc(3,D2,1,5,null,4),e.ALo(4,"keyvalue"),e.qZA()(),e.YNc(5,O2,2,1,"ng-template",null,11,e.W1O),e.qZA()),2&u){const c=e.oxw(),m=c.key,j=c.ctrl;e.xp6(1),e.Q6J("nzTitle",m),e.xp6(2),e.Q6J("ngForOf",e.lcZ(4,2,j.controls))}}function P2(u,y){if(1&u&&(e.YNc(0,x2,9,4,"nz-list-item",5),e.YNc(1,w2,7,4,"nz-list-item",5)),2&u){const c=y.ctrl;e.Q6J("ngIf",!c.controls),e.xp6(1),e.Q6J("ngIf",c.controls)}}function Xa(u,y){}function Nh(u,y){if(1&u&&e.YNc(0,Xa,0,0,"ng-template",12),2&u){const c=y.$implicit;e.oxw();const m=e.MAs(3);e.Q6J("ngTemplateOutlet",m)("ngTemplateOutletContext",e.WLB(2,x4,c.key,c.value))}}function I2(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"nz-list",2),e.YNc(2,P2,2,2,"ng-template",null,3,e.W1O),e.qZA(),e.YNc(4,Nh,1,5,null,4),e.ALo(5,"keyvalue"),e.BQk()),2&u){const c=y.ngIf;e.xp6(4),e.Q6J("ngForOf",e.lcZ(5,1,c.controls))}}function D4(u,y){1&u&&e._uU(0," No AbstractFormControl provided. ")}let A2=(()=>{class u{set cvcAbstractControl(c){if(!c)throw new Error("cvc-form-debug-field-list requires valid cvcFormControl Input.");this._cvcFormControl=c,this.formControl=c}get cvcFormControl(){return this._cvcFormControl}constructor(){}ngOnInit(){}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-form-debug-field-list"]],inputs:{cvcAbstractControl:"cvcAbstractControl"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noFormControl",""],["nzSize","small"],["ctrlTemplateRef",""],[4,"ngFor","ngForOf"],[4,"ngIf"],["style","padding: 0px 4px; color: white; background-color: #ccc",4,"ngIf"],[3,"cvcFormControlStatus"],[2,"padding","0px 4px","color","white","background-color","#ccc"],["nzSize","small",2,"width","100%",3,"nzTitle"],["nzSize","small",2,"padding","0"],["cardExtra",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(c,m){if(1&c&&(e.YNc(0,I2,6,3,"ng-container",0),e.YNc(1,D4,1,0,"ng-template",null,1,e.W1O)),2&c){const j=e.MAs(2);e.Q6J("ngIf",m.formControl)("ngIfElse",j)}},dependencies:[M.sg,M.O5,M.tP,Gn.bd,cr.n_,cr.AA,cr.yi,cr.IO,cr.Pb,cr.yw,S4,M.Nd],styles:["[_nghost-%COMP%] nz-card .ant-card-body{padding:6px 0}"]}),u})();var o1;function O4(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"ngx-json-viewer",9),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("json",c.watchModel)}}function Ip(u,y){if(1&u&&(e.ynx(0),e.TgZ(1,"nz-descriptions",10)(2,"nz-descriptions-item",11),e._UZ(3,"cvc-form-status-tag",12),e.qZA(),e.TgZ(4,"nz-descriptions-item",13),e._uU(5),e.qZA(),e.TgZ(6,"nz-descriptions-item",14),e._uU(7),e.qZA(),e.TgZ(8,"nz-descriptions-item",15),e._uU(9),e.qZA(),e.TgZ(10,"nz-descriptions-item",16),e._uU(11),e.qZA(),e.TgZ(12,"nz-descriptions-item",17),e._uU(13),e.qZA()(),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("cvcFormControlStatus",null==c.cvcForm?null:c.cvcForm.status),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.pending," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.touched," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.valid," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.dirty," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.enabled," ")}}function Lh(u,y){if(1&u&&(e.ynx(0),e._UZ(1,"cvc-form-debug-field-list",18),e.BQk()),2&u){const c=e.oxw();e.xp6(1),e.Q6J("cvcAbstractControl",c.cvcForm)}}function W0(u,y){1&u&&(e.ynx(0),e._uU(1," State Content "),e.BQk())}function w4(u,y){if(1&u&&(e.TgZ(0,"nz-row")(1,"nz-col",19),e._uU(2," Form Details "),e.qZA(),e.TgZ(3,"nz-col",20),e._UZ(4,"cvc-form-status-tag",12),e.qZA()()),2&u){const c=e.oxw();e.xp6(4),e.Q6J("cvcFormControlStatus",null==c.cvcForm?null:c.cvcForm.status)}}let Ap=((o1=class{constructor(y){this.cdr=y,this.selectedIndex=0}ngOnInit(){if(!this.cvcForm)throw new Error("cvc-form-debug requires valid cvcForm Input.");this.valueChange$=new Ge.X(this.cvcForm.value),this.statusChange$=new Ge.X(this.cvcForm.status),this.formChange$=ui([this.statusChange$,this.valueChange$]),this.watchModel=this.cvcModel,this.subscriptions=[this.cvcForm.valueChanges.subscribe(y=>{this.watchModel={...this.cvcModel},this.valueChange$.next(y)}),this.cvcForm.statusChanges.subscribe(y=>{this.statusChange$.next(y)}),this.formChange$.subscribe(y=>{this.cdr.detectChanges()})]}}).\u0275fac=function(y){return new(y||o1)(e.Y36(e.sBO))},o1.\u0275cmp=e.Xpm({type:o1,selectors:[["cvc-form-debug"]],inputs:{cvcForm:"cvcForm",cvcModel:"cvcModel"},decls:14,vars:7,consts:[["nzSize","small","nzBordered","true",3,"nzTitle"],["nzSize","small",3,"nzSelectedIndex","nzSelectedIndexChange"],["nzTitle","Model"],["nzTitle","Controls"],["nzTitle","State"],["nzTitle","Form Status"],[3,"ngSwitch"],[4,"ngSwitchCase"],["cardTitle",""],[3,"json"],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","status"],[3,"cvcFormControlStatus"],["nzTitle","pending"],["nzTitle","touched"],["nzTitle","valid"],["nzTitle","dirty"],["nzTitle","enabled"],[3,"cvcAbstractControl"],["nzFlex","2"],["nzFlex","3",1,"form-status-col"]],template:function(y,c){if(1&y&&(e.TgZ(0,"nz-card",0)(1,"nz-card-tab")(2,"nz-tabset",1),e.NdJ("nzSelectedIndexChange",function(j){return c.selectedIndex=j}),e._UZ(3,"nz-tab",2)(4,"nz-tab",3)(5,"nz-tab",4)(6,"nz-tab",5),e.qZA()(),e.ynx(7,6),e.YNc(8,O4,2,1,"ng-container",7),e.YNc(9,Ip,14,7,"ng-container",7),e.YNc(10,Lh,2,1,"ng-container",7),e.YNc(11,W0,2,0,"ng-container",7),e.BQk(),e.qZA(),e.YNc(12,w4,5,1,"ng-template",null,8,e.W1O)),2&y){const m=e.MAs(13);e.Q6J("nzTitle",m),e.xp6(2),e.Q6J("nzSelectedIndex",c.selectedIndex),e.xp6(5),e.Q6J("ngSwitch",c.selectedIndex),e.xp6(1),e.Q6J("ngSwitchCase",0),e.xp6(1),e.Q6J("ngSwitchCase",3),e.xp6(1),e.Q6J("ngSwitchCase",1),e.xp6(1),e.Q6J("ngSwitchCase",2)}},dependencies:[M.RF,M.n9,R.t3,R.SK,Gn.bd,Gn._i,Ih.xH,Ih.xw,Ph.R7,Ph.uj,k.Y,A2,S4],styles:["[_nghost-%COMP%]{display:block}.form-status-col[_ngcontent-%COMP%]{text-align:right}.form-status-col[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]:last-child{margin-right:0}"],changeDetection:0}),o1);var r1;function P4(u,y){if(1&u&&(e.TgZ(0,"nz-col",4),e._UZ(1,"cvc-form-debug",5),e.qZA()),2&u){const c=e.oxw();e.Q6J("nzSpan",8),e.xp6(1),e.Q6J("cvcForm",c.form)("cvcModel",c.model)}}Ap=(0,te.gn)([(0,ce.c)({arrayName:"subscriptions"})],Ap);const kh=function(){return[8,8]};let Rh=((r1=class extends v.n2{constructor(y){super()}get errorState(){return this.showError?"error":""}ngOnInit(){this.props.title=this.props.title||"Form Card",this.props.submitLabel=this.props.submitLabel||"Submit",this.props.showDevPanel=!b2.N.production&&(this.props.showDevPanel||false)}}).\u0275fac=function(y){return new(y||r1)(e.Y36(e.sBO))},r1.\u0275cmp=e.Xpm({type:r1,selectors:[["cvc-form-layout-wrapper"]],features:[e.qOj],decls:5,vars:4,consts:[[3,"nzGutter"],[1,"form-col",3,"nzSpan"],["fieldComponent",""],["class","status-col",3,"nzSpan",4,"ngIf"],[1,"status-col",3,"nzSpan"],[3,"cvcForm","cvcModel"]],template:function(y,c){1&y&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.GkF(2,null,2),e.qZA(),e.YNc(4,P4,2,3,"nz-col",3),e.qZA()),2&y&&(e.Q6J("nzGutter",e.DdM(3,kh)),e.xp6(1),e.Q6J("nzSpan",c.props.showDevPanel?16:24),e.xp6(3),e.Q6J("ngIf",c.props.showDevPanel))},dependencies:[M.O5,R.t3,R.SK,Ap],changeDetection:0}),r1);Rh=(0,te.gn)([(0,ce.c)({arrayName:"subscriptions"})],Rh);const F2={wrappers:[{name:"form-layout",component:Rh}]};let Vh=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,v.X0.forChild(F2),On.sL,Gn.vh,Re.PV,Wt.X,Ih.we,Wn.$6,cr.Ph,R.Jb,M2.h,b4,Ah,k.s]}),u})(),I4=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[M.ez,Vh,wh,bs,je,y4,Eh]}),u})(),N2=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[{provide:v.l7,multi:!0,useFactory:S,deps:[i.gz]}],imports:[v.X0.forRoot(Y),t.UX,s.U5,d.u,I4,k.s,t.UX,v.X0,d.u,s.U5,I4,wp]}),u})()},2701:(xt,Se,a)=>{function t(P){let S={value:void 0,unset:void 0};return P&&P.trim().length>0?S.value=P.trim():S.unset=!0,S}function i(P){let S={value:void 0,unset:void 0};return void 0!==P?S.value=P:S.unset=!0,S}a.d(Se,{aP:()=>U,li:()=>v,uP:()=>i,xt:()=>t});var v=(()=>((v=v||{})[v.NotApplicable=0]="NotApplicable",v[v.NoneFound=1]="NoneFound",v[v.Found=2]="Found",v))();const U=[{value:void 0,label:""},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"},{value:"5",label:"5"},{value:"6",label:"6"},{value:"7",label:"7"},{value:"8",label:"8"},{value:"9",label:"9"},{value:"10",label:"10"},{value:"11",label:"11"},{value:"12",label:"12"},{value:"13",label:"13"},{value:"14",label:"14"},{value:"15",label:"15"},{value:"16",label:"16"},{value:"17",label:"17"},{value:"18",label:"18"},{value:"19",label:"19"},{value:"20",label:"20"},{value:"21",label:"21"},{value:"22",label:"22"},{value:"X",label:"X"},{value:"Y",label:"Y"},{value:"MT",label:"MT"}]},313:(xt,Se,a)=>{a.d(Se,{A4J:()=>Yc,A94:()=>gl,AIY:()=>nl,AMF:()=>ji,AO2:()=>F,B0s:()=>Wl,B97:()=>dr,BQZ:()=>x,BTF:()=>Yn,BYO:()=>hl,Bk6:()=>Du,Bo4:()=>xi,Cp0:()=>N,D9L:()=>d1,Del:()=>k1,DkJ:()=>_i,DzV:()=>f1,E1C:()=>ms,E2B:()=>aa,E8d:()=>S,EFm:()=>uu,EH_:()=>rl,EwB:()=>Zl,F1Y:()=>oa,F3s:()=>In,F4e:()=>pu,FB1:()=>It,FJi:()=>Et,FNv:()=>ae,FOU:()=>pc,Fvz:()=>de,GYx:()=>Uc,Gbq:()=>Co,Gnp:()=>Ml,HUC:()=>vn,Hmr:()=>ci,HwR:()=>al,IP1:()=>mc,IRu:()=>Wt,IZ6:()=>js,JDX:()=>nn,Kk:()=>Yi,Kmw:()=>fs,L5n:()=>hr,L8L:()=>Li,LHC:()=>dl,LLl:()=>Bo,LUc:()=>Qr,LiH:()=>Pu,Lr0:()=>L1,MCG:()=>P1,MNv:()=>bu,MPi:()=>T1,MYm:()=>Or,Mgx:()=>w,MsG:()=>Q,N$2:()=>M1,NQC:()=>Dt,O2u:()=>Tr,OHm:()=>Rr,OIL:()=>Cr,OfU:()=>L,P_b:()=>ai,Q4m:()=>Ea,QVn:()=>cp,Qtd:()=>Iu,Qzn:()=>qr,R8F:()=>z1,R8w:()=>e,RTy:()=>V,RYL:()=>Cc,Rdc:()=>wr,SrV:()=>tn,Sx0:()=>ze,T1I:()=>ts,TNk:()=>qi,Tg0:()=>Cl,TiL:()=>Gs,Tq1:()=>Z,Tt7:()=>Ta,UIR:()=>Fo,UWf:()=>ps,VZq:()=>Vr,WFw:()=>Dd,WGV:()=>V1,WOS:()=>Pd,WRV:()=>Us,X5f:()=>Ys,XQi:()=>O1,Xft:()=>ia,Y6e:()=>y1,YMi:()=>$t,Y_K:()=>yu,Ybm:()=>po,ZYZ:()=>Ci,Zo2:()=>Pt,_3P:()=>k,_Wm:()=>P,_eC:()=>Js,_jb:()=>is,_nE:()=>ml,aC3:()=>pl,bgg:()=>Bl,c$m:()=>Ur,cCu:()=>yl,cEv:()=>ie,cIw:()=>Ra,cMj:()=>jr,czh:()=>zc,d4o:()=>$e,dDn:()=>Va,dGO:()=>cl,db2:()=>zl,eDl:()=>gs,eJ3:()=>ki,eY8:()=>ei,ejK:()=>Ha,fow:()=>fe,fwG:()=>Vo,g0X:()=>H1,ghc:()=>Cn,h01:()=>Y,hVB:()=>Ou,h_Y:()=>el,huM:()=>Ve,i44:()=>Dn,iGM:()=>Zs,iJT:()=>as,iST:()=>Ji,io:()=>nc,iwm:()=>v,jMx:()=>Q1,jmY:()=>fl,jw9:()=>Xe,k7O:()=>Le,kQf:()=>Dr,kQl:()=>Re,kqt:()=>A,l$X:()=>rr,l4w:()=>eu,lYz:()=>Ft,lcA:()=>ya,m$d:()=>U1,m55:()=>O,mII:()=>rs,mdl:()=>s,mki:()=>Tc,mpB:()=>Yt,nSb:()=>A1,nnL:()=>wa,o71:()=>je,oRL:()=>ve,olA:()=>lu,otH:()=>Br,pHu:()=>Su,pP7:()=>We,pR8:()=>Jl,q1D:()=>Z1,q8c:()=>he,q9q:()=>kr,qf4:()=>Tn,qgP:()=>La,rJ8:()=>Ee,rZD:()=>Ht,rzy:()=>Vi,sA8:()=>Na,sBY:()=>Dc,sLD:()=>Ya,sfv:()=>pe,sjj:()=>D1,tI1:()=>ge,tJ6:()=>me,tWC:()=>g1,td:()=>vi,ti:()=>pr,tji:()=>vc,tw_:()=>Qo,u4i:()=>G,uBv:()=>U,ubO:()=>Sl,vMt:()=>mr,vjc:()=>Ls,vv6:()=>gc,vxe:()=>ru,vz2:()=>ii,wJ2:()=>R,wRZ:()=>Fs,wbP:()=>Xl,wg3:()=>Mu,wkr:()=>qt,wpb:()=>Pe,xlL:()=>be,y1h:()=>K,yic:()=>un,yqR:()=>Ic,z8D:()=>Ec,zOE:()=>mu,z_7:()=>gu,zpu:()=>hu,zwS:()=>ro});var t=a(9111),i=a(5879),v=(()=>((v=v||{}).Na="NA",v.TierIii="TIER_III",v.TierIiLevelC="TIER_II_LEVEL_C",v.TierIiLevelD="TIER_II_LEVEL_D",v.TierIv="TIER_IV",v.TierILevelA="TIER_I_LEVEL_A",v.TierILevelB="TIER_I_LEVEL_B",v))(),s=(()=>((s=s||{}).DoesNotSupport="DOES_NOT_SUPPORT",s.Supports="SUPPORTS",s))(),k=(()=>((k=k||{}).AdverseResponse="ADVERSE_RESPONSE",k.Benign="BENIGN",k.BetterOutcome="BETTER_OUTCOME",k.LikelyBenign="LIKELY_BENIGN",k.LikelyOncogenic="LIKELY_ONCOGENIC",k.LikelyPathogenic="LIKELY_PATHOGENIC",k.Na="NA",k.Negative="NEGATIVE",k.Oncogenic="ONCOGENIC",k.Pathogenic="PATHOGENIC",k.PoorOutcome="POOR_OUTCOME",k.Positive="POSITIVE",k.ReducedSensitivity="REDUCED_SENSITIVITY",k.Resistance="RESISTANCE",k.Sensitivityresponse="SENSITIVITYRESPONSE",k.UncertainSignificance="UNCERTAIN_SIGNIFICANCE",k))(),G=(()=>((G=G||{}).AmpLevel="AMP_LEVEL",G.AssertionDirection="ASSERTION_DIRECTION",G.AssertionType="ASSERTION_TYPE",G.DiseaseName="DISEASE_NAME",G.EvidenceItemsCount="EVIDENCE_ITEMS_COUNT",G.Id="ID",G.Significance="SIGNIFICANCE",G.Status="STATUS",G.Summary="SUMMARY",G.TherapyName="THERAPY_NAME",G))(),U=(()=>((U=U||{}).Diagnostic="DIAGNOSTIC",U.Oncogenic="ONCOGENIC",U.Predictive="PREDICTIVE",U.Predisposing="PREDISPOSING",U.Prognostic="PROGNOSTIC",U))(),P=(()=>((P=P||{}).And="AND",P.Or="OR",P))(),S=(()=>((S=S||{}).EvidenceItemCount="EVIDENCE_ITEM_COUNT",S.Name="NAME",S.NctId="NCT_ID",S.SourceCount="SOURCE_COUNT",S))(),w=(()=>((w=w||{}).Conflict="CONFLICT",w.Expired="EXPIRED",w.Missing="MISSING",w.Valid="VALID",w))(),L=(()=>((L=L||{}).Assertion="ASSERTION",L.EvidenceItem="EVIDENCE_ITEM",L.Gene="GENE",L.MolecularProfile="MOLECULAR_PROFILE",L.Source="SOURCE",L.Variant="VARIANT",L.VariantGroup="VARIANT_GROUP",L))(),Y=(()=>((Y=Y||{}).Created="CREATED",Y.LastModified="LAST_MODIFIED",Y))(),e=(()=>((e=e||{}).AssertionCount="ASSERTION_COUNT",e.Doid="DOID",e.EvidenceItemCount="EVIDENCE_ITEM_COUNT",e.GeneCount="GENE_COUNT",e.Name="NAME",e.VariantCount="VARIANT_COUNT",e))(),F=(()=>((F=F||{}).Accepted="ACCEPTED",F.AssertionAccepted="ASSERTION_ACCEPTED",F.AssertionRejected="ASSERTION_REJECTED",F.AssertionReverted="ASSERTION_REVERTED",F.AssertionSubmitted="ASSERTION_SUBMITTED",F.Commented="COMMENTED",F.CuratedSourceSuggestion="CURATED_SOURCE_SUGGESTION",F.DeprecatedMolecularProfile="DEPRECATED_MOLECULAR_PROFILE",F.DeprecatedVariant="DEPRECATED_VARIANT",F.Flagged="FLAGGED",F.FlagResolved="FLAG_RESOLVED",F.PublicationSuggested="PUBLICATION_SUGGESTED",F.Rejected="REJECTED",F.RejectedSourceSuggestion="REJECTED_SOURCE_SUGGESTION",F.RequeuedSourceSuggestion="REQUEUED_SOURCE_SUGGESTION",F.Reverted="REVERTED",F.RevisionAccepted="REVISION_ACCEPTED",F.RevisionRejected="REVISION_REJECTED",F.RevisionSuggested="REVISION_SUGGESTED",F.RevisionSuperseded="REVISION_SUPERSEDED",F.Submitted="SUBMITTED",F))(),R=(()=>((R=R||{}).Organization="ORGANIZATION",R.Subject="SUBJECT",R.Unscoped="UNSCOPED",R.User="USER",R))(),ge=(()=>((ge=ge||{}).DoesNotSupport="DOES_NOT_SUPPORT",ge.Na="NA",ge.Supports="SUPPORTS",ge))(),ze=(()=>((ze=ze||{}).A="A",ze.B="B",ze.C="C",ze.D="D",ze.E="E",ze))(),K=(()=>((K=K||{}).AdverseResponse="ADVERSE_RESPONSE",K.Benign="BENIGN",K.BetterOutcome="BETTER_OUTCOME",K.DominantNegative="DOMINANT_NEGATIVE",K.GainOfFunction="GAIN_OF_FUNCTION",K.LikelyBenign="LIKELY_BENIGN",K.LikelyPathogenic="LIKELY_PATHOGENIC",K.LossOfFunction="LOSS_OF_FUNCTION",K.Na="NA",K.Negative="NEGATIVE",K.Neomorphic="NEOMORPHIC",K.Oncogenicity="ONCOGENICITY",K.Pathogenic="PATHOGENIC",K.PoorOutcome="POOR_OUTCOME",K.Positive="POSITIVE",K.Predisposition="PREDISPOSITION",K.Protectiveness="PROTECTIVENESS",K.ReducedSensitivity="REDUCED_SENSITIVITY",K.Resistance="RESISTANCE",K.Sensitivityresponse="SENSITIVITYRESPONSE",K.UnalteredFunction="UNALTERED_FUNCTION",K.UncertainSignificance="UNCERTAIN_SIGNIFICANCE",K.Unknown="UNKNOWN",K))(),N=(()=>((N=N||{}).Description="DESCRIPTION",N.DiseaseName="DISEASE_NAME",N.EvidenceDirection="EVIDENCE_DIRECTION",N.EvidenceLevel="EVIDENCE_LEVEL",N.EvidenceRating="EVIDENCE_RATING",N.EvidenceType="EVIDENCE_TYPE",N.Id="ID",N.Significance="SIGNIFICANCE",N.Status="STATUS",N.TherapyName="THERAPY_NAME",N.VariantOrigin="VARIANT_ORIGIN",N))(),V=(()=>((V=V||{}).Accepted="ACCEPTED",V.Rejected="REJECTED",V.Submitted="SUBMITTED",V))(),O=(()=>((O=O||{}).Accepted="ACCEPTED",O.All="ALL",O.Rejected="REJECTED",O.Submitted="SUBMITTED",O))(),A=(()=>((A=A||{}).Diagnostic="DIAGNOSTIC",A.Functional="FUNCTIONAL",A.Oncogenic="ONCOGENIC",A.Predictive="PREDICTIVE",A.Predisposing="PREDISPOSING",A.Prognostic="PROGNOSTIC",A))(),x=(()=>((x=x||{}).Open="OPEN",x.Resolved="RESOLVED",x))(),pe=(()=>((pe=pe||{}).Assertion="ASSERTION",pe.EvidenceItem="EVIDENCE_ITEM",pe.Gene="GENE",pe.MolecularProfile="MOLECULAR_PROFILE",pe.Variant="VARIANT",pe.VariantGroup="VARIANT_GROUP",pe))(),de=(()=>((de=de||{}).AssertionCount="assertionCount",de.DiseaseName="diseaseName",de.EntrezSymbol="entrezSymbol",de.EvidenceItemCount="evidenceItemCount",de.GeneAlias="geneAlias",de.MolecularProfileCount="molecularProfileCount",de.TherapyName="therapyName",de.VariantCount="variantCount",de))(),ve=(()=>((ve=ve||{}).Assertion="ASSERTION",ve.EvidenceItem="EVIDENCE_ITEM",ve.Gene="GENE",ve.MolecularProfile="MOLECULAR_PROFILE",ve.Variant="VARIANT",ve.VariantGroup="VARIANT_GROUP",ve))(),Q=(()=>((Q=Q||{}).All="ALL",Q.WithAccepted="WITH_ACCEPTED",Q.WithAcceptedOrSubmitted="WITH_ACCEPTED_OR_SUBMITTED",Q.WithSubmitted="WITH_SUBMITTED",Q))(),ae=(()=>((ae=ae||{}).AssertionCount="assertionCount",ae.EvidenceItemCount="evidenceItemCount",ae.MolecularProfileScore="molecularProfileScore",ae.VariantCount="variantCount",ae))(),fe=(()=>((fe=fe||{}).Mention="MENTION",fe.Subscription="SUBSCRIPTION",fe))(),be=(()=>((be=be||{}).Id="ID",be.Name="NAME",be))(),Ft=(()=>((Ft=Ft||{}).AssertionCount="ASSERTION_COUNT",Ft.EvidenceItemCount="EVIDENCE_ITEM_COUNT",Ft.HpoId="HPO_ID",Ft.Name="NAME",Ft))(),Dt=(()=>((Dt=Dt||{}).Read="READ",Dt.Unread="UNREAD",Dt))(),nn=(()=>((nn=nn||{}).Grch37="GRCH37",nn.Grch38="GRCH38",nn.Ncbi36="NCBI36",nn))(),Et=(()=>((Et=Et||{}).Accepted="ACCEPTED",Et.New="NEW",Et.Rejected="REJECTED",Et.Superseded="SUPERSEDED",Et))(),Ht=(()=>((Ht=Ht||{}).Assertion="ASSERTION",Ht.EvidenceItem="EVIDENCE_ITEM",Ht.Gene="GENE",Ht.MolecularProfile="MOLECULAR_PROFILE",Ht.Revision="REVISION",Ht.Variant="VARIANT",Ht.VariantGroup="VARIANT_GROUP",Ht))(),tn=(()=>((tn=tn||{}).Asc="ASC",tn.Desc="DESC",tn))(),un=(()=>((un=un||{}).Asco="ASCO",un.Ash="ASH",un.Pubmed="PUBMED",un))(),In=(()=>((In=In||{}).Curated="CURATED",In.New="NEW",In.Rejected="REJECTED",In))(),Xe=(()=>((Xe=Xe||{}).Citation="CITATION",Xe.CitationId="CITATION_ID",Xe.CreatedAt="CREATED_AT",Xe.DiseaseName="DISEASE_NAME",Xe.SourceType="SOURCE_TYPE",Xe.Submitter="SUBMITTER",Xe))(),Re=(()=>((Re=Re||{}).Authors="AUTHORS",Re.CitationId="CITATION_ID",Re.EvidenceCount="EVIDENCE_COUNT",Re.Journal="JOURNAL",Re.Name="NAME",Re.SourceType="SOURCE_TYPE",Re.SuggestionCount="SUGGESTION_COUNT",Re.Year="YEAR",Re))(),je=(()=>((je=je||{}).Assertion="ASSERTION",je.EvidenceItem="EVIDENCE_ITEM",je.Gene="GENE",je.MolecularProfile="MOLECULAR_PROFILE",je.Revision="REVISION",je.SourceSuggestion="SOURCE_SUGGESTION",je.Variant="VARIANT",je.VariantGroup="VARIANT_GROUP",je))(),Yt=(()=>((Yt=Yt||{}).Assertion="ASSERTION",Yt.EvidenceItem="EVIDENCE_ITEM",Yt.Gene="GENE",Yt.MolecularProfile="MOLECULAR_PROFILE",Yt.Revision="REVISION",Yt.Role="ROLE",Yt.Variant="VARIANT",Yt.VariantGroup="VARIANT_GROUP",Yt))(),qt=(()=>((qt=qt||{}).Combination="COMBINATION",qt.Sequential="SEQUENTIAL",qt.Substitutes="SUBSTITUTES",qt))(),vn=(()=>((vn=vn||{}).AssertionCount="ASSERTION_COUNT",vn.EvidenceItemCount="EVIDENCE_ITEM_COUNT",vn.Name="NAME",vn.NcitId="NCIT_ID",vn))(),Dn=(()=>((Dn=Dn||{}).Admin="ADMIN",Dn.Curator="CURATOR",Dn.Editor="EDITOR",Dn))(),Wt=(()=>((Wt=Wt||{}).Id="ID",Wt.LastAction="LAST_ACTION",Wt.Name="NAME",Wt.Role="ROLE",Wt))(),It=(()=>((It=It||{}).EvidenceItemCount="EVIDENCE_ITEM_COUNT",It.GeneNames="GENE_NAMES",It.Name="NAME",It.VariantCount="VARIANT_COUNT",It.VariantNames="VARIANT_NAMES",It))(),$e=(()=>(($e=$e||{}).CoordinateEnd="COORDINATE_END",$e.CoordinateStart="COORDINATE_START",$e.Name="NAME",$e))(),Ve=(()=>((Ve=Ve||{}).Combined="COMBINED",Ve.CommonGermline="COMMON_GERMLINE",Ve.Na="NA",Ve.RareGermline="RARE_GERMLINE",Ve.Somatic="SOMATIC",Ve.Unknown="UNKNOWN",Ve))(),Pe=(()=>((Pe=Pe||{}).Name="NAME",Pe.Soid="SOID",Pe.VariantCount="VARIANT_COUNT",Pe))(),We=(()=>((We=We||{}).DiseaseName="diseaseName",We.EntrezSymbol="entrezSymbol",We.TherapyName="therapyName",We.VariantName="variantName",We))();const He=t.Ps` + fragment MolecularProfileParsedName on MolecularProfileSegment { + __typename + ... on MolecularProfileTextSegment { + text + } + ... on Gene { + id + name + link + } + ... on Variant { + id + name + link + deprecated + } +} + `,we=t.Ps` + fragment assertionPopover on Assertion { + id + name + status + summary + assertionType + assertionDirection + significance + variantOrigin + ampLevel + acmgCodes { + code + description + } + clingenCodes { + code + description + } + nccnGuideline { + id + name + } + regulatoryApproval + regulatoryApprovalLastUpdated + fdaCompanionTest + fdaCompanionTestLastUpdated + therapies { + id + name + link + } + therapyInteractionType + disease { + id + name + link + } + phenotypes { + id + name + link + } + molecularProfile { + id + name + link + parsedName { + ...MolecularProfileParsedName + } + } + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + ${He}`,te=t.Ps` + fragment AssertionBrowseFields on Assertion { + id + name + link + molecularProfile { + id + name + link + parsedName { + ...MolecularProfileParsedName + } + } + disease { + id + name + link + } + therapies { + id + name + link + } + therapyInteractionType + summary + assertionType + assertionDirection + significance + ampLevel + evidenceItemsCount + status + flagged +} + ${He}`,ce=t.Ps` + fragment clinicalTrialPopover on BrowseClinicalTrial { + id + name + nctId + url + sourceCount + evidenceCount +} + `,De=t.Ps` + fragment BrowseClinicalTrialsRowFields on BrowseClinicalTrial { + id + name + nctId + evidenceCount + sourceCount + link +} + `,Ge=t.Ps` + fragment commentPopover on Comment { + id + name + createdAt + title + comment + commenter { + id + displayName + role + } + commentable { + id + name + link + __typename + } +} + `,vt=t.Ps` + fragment BrowseDiseaseRowFields on BrowseDisease { + id + name + doid + diseaseUrl + geneNames + assertionCount + evidenceItemCount + variantCount + geneCount + link +} + `,rn=t.Ps` + fragment eventFeedNode on Event { + id + action + createdAt + organization { + id + name + profileImagePath(size: 32) + } + originatingUser { + id + username + displayName + role + profileImagePath(size: 32) + } + subject { + name + id + link + ... on Source { + citation + sourceType + } + ... on EvidenceItem { + status + } + ... on Assertion { + status + } + ... on Revision { + revisionSetId + } + ... on Variant { + deprecated + } + ... on MolecularProfile { + deprecated + } + __typename + } + originatingObject { + id + name + link + __typename + ... on Revision { + id + revisionSetId + } + ... on Comment { + id + } + ... on Flag { + id + } + } +} + `,_n=t.Ps` + fragment eventFeed on EventConnection { + pageInfo { + startCursor + endCursor + hasNextPage + hasPreviousPage + } + eventTypes @include(if: $showFilters) + unfilteredCount + uniqueParticipants @include(if: $showFilters) { + id + displayName + role + profileImagePath(size: 32) + } + participatingOrganizations @include(if: $showFilters) { + id + name + profileImagePath(size: 32) + } + edges { + cursor + node { + ...eventFeedNode + } + } +} + ${rn}`,st=t.Ps` + fragment evidencePopover on EvidenceItem { + id + name + status + description + evidenceLevel + evidenceType + evidenceDirection + significance + variantOrigin + therapies { + id + name + link + } + therapyInteractionType + disease { + id + name + link + } + phenotypes { + id + name + link + } + evidenceRating + molecularProfile { + id + name + link + deprecated + parsedName { + ...MolecularProfileParsedName + } + } + source { + id + citation + sourceType + displayType + link + } + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + ${He}`,it=t.Ps` + fragment EvidenceGridFields on EvidenceItem { + id + name + link + disease { + id + name + link + } + therapies { + id + name + link + } + molecularProfile { + id + name + link + parsedName { + ...MolecularProfileParsedName + } + } + status + flagged + therapyInteractionType + description + evidenceType + evidenceDirection + evidenceLevel + evidenceRating + significance + variantOrigin +} + ${He}`,lt=t.Ps` + fragment flag on Flag { + id + state + createdAt + resolvedAt + flaggable { + id + name + link + } + flaggingUser { + id + displayName + role + profileImagePath(size: 32) + } + resolvingUser { + id + displayName + role + profileImagePath(size: 32) + } + openComment { + __typename + parsedComment { + __typename + ... on CommentTagSegment { + entityId + displayName + tagType + link + __typename + } + ... on CommentTextSegment { + text + } + ... on User { + id + displayName + role + } + } + } + resolutionComment { + __typename + parsedComment { + __typename + ... on CommentTagSegment { + entityId + displayName + tagType + link + __typename + } + ... on CommentTextSegment { + text + } + ... on User { + id + displayName + role + } + } + } +} + `,wt=t.Ps` + fragment flagList on FlagConnection { + pageInfo { + startCursor + endCursor + hasNextPage + hasPreviousPage + } + totalCount + unfilteredCountForSubject + uniqueFlaggingUsers { + username + id + profileImagePath(size: 32) + } + uniqueResolvingUsers { + username + id + profileImagePath(size: 32) + } + edges { + node { + ...flag + } + } +} + ${lt}`,Ot=t.Ps` + fragment flagPopover on Flag { + id + name + state + flaggingUser { + id + displayName + role + } + flaggable { + id + link + name + } + createdAt + openComment { + comment + } +} + `,Lt=t.Ps` + fragment genePopover on Gene { + id + name + officialName + geneAliases + variants { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } + flags(state: OPEN) { + totalCount + } +} + `,Gt=t.Ps` + fragment BrowseGenesFields on BrowseGene { + id + entrezId + name + link + flagged + geneAliases + diseases { + name + id + link + } + therapies { + name + id + link + } + variantCount + evidenceItemCount + assertionCount + molecularProfileCount +} + `,Ke=t.Ps` + fragment QuicksearchResult on SearchResult { + id + resultType + name + matchingText +} + `,J=t.Ps` + fragment molecularProfilePopoverFields on MolecularProfile { + id + name + parsedName { + __typename + ... on MolecularProfileTextSegment { + text + } + ... on Gene { + id + name + link + } + ... on Variant { + id + name + deprecated + link + } + } + molecularProfileAliases + evidenceItems { + totalCount + } + assertions { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } + flags(state: OPEN) { + totalCount + } +} + `,I=t.Ps` + fragment BrowseMolecularProfilesFields on BrowseMolecularProfile { + id + name + evidenceItemCount + molecularProfileScore + assertionCount + variantCount + aliases { + name + } + genes { + id + name + link + } + variants { + id + name + link + } + therapies { + id + name + link + } + diseases { + id + name + link + } + link +} + `,q=t.Ps` + fragment menuMolecularProfile on MolecularProfile { + id + name + link + flagged +} + `,Me=t.Ps` + fragment orgPopover on Organization { + id + profileImagePath(size: 64) + name + description + url +} + `,_t=t.Ps` + fragment OrganizationBrowseTableRowFields on Organization { + id + name + description + url + memberCount + eventCount + subGroups { + name + id + } + mostRecentEvent { + createdAt + } +} + `,tt=t.Ps` + fragment PhenotypeBrowseTableRowFields on BrowsePhenotype { + id + name + hpoId + url + assertionCount + evidenceCount + link +} + `,Je=t.Ps` + fragment validationError on FieldValidationError { + fieldName + error +} + `,rt=t.Ps` + fragment revisionPopover on Revision { + id + name + link + status + revisor { + id + displayName + role + } + subject { + id + link + name + } + createdAt + linkoutData { + name + } + creationComment { + comment + } +} + `,Nt=t.Ps` + fragment revision on Revision { + id + revisionSetId + createdAt + resolvedAt + fieldName + currentValue + suggestedValue + linkoutData { + name + diffValue { + ... on ObjectFieldDiff { + currentObjects { + id + displayName + displayType + entityType + link + deleted + } + addedObjects { + id + displayName + displayType + entityType + link + deleted + } + removedObjects { + id + displayName + displayType + entityType + link + deleted + } + keptObjects { + id + displayName + displayType + entityType + link + deleted + } + suggestedObjects { + id + displayName + displayType + entityType + link + deleted + } + } + ... on ScalarFieldDiff { + left + right + } + } + } + revisor { + id + displayName + role + } + resolver { + id + displayName + role + } + creationComment { + parsedComment { + __typename + ... on CommentTagSegment { + entityId + displayName + tagType + link + __typename + } + ... on CommentTextSegment { + text + } + ... on User { + id + displayName + role + } + } + } + resolutionComment { + parsedComment { + __typename + ... on CommentTagSegment { + entityId + displayName + tagType + link + __typename + } + ... on CommentTextSegment { + text + } + ... on User { + id + displayName + role + } + } + } + status +} + `,Tt=t.Ps` + fragment ContributorFields on ContributingUser { + user { + id + profileImagePath(size: 12) + } + uniqueActions { + action + count + } + lastActionDate + totalActionCount +} + `,mn=t.Ps` + fragment subscriptionId on Subscription { + id + __typename +} + `,Ze=t.Ps` + fragment TimepointCount on TimePointCounts { + allTime + newThisMonth + newThisWeek + newThisYear +} + `,ut=t.Ps` + fragment BrowseSourceSuggestionRowFields on SourceSuggestion { + id + molecularProfile { + id + name + link + } + disease { + id + name + link + } + source { + link + id + citation + citationId + sourceType + sourceUrl + displayType + } + user { + id + displayName + role + profileImagePath(size: 32) + } + initialComment + status + reason + createdAt +} + `,le=t.Ps` + fragment sourcePopover on SourcePopover { + id + name + evidenceItemCount + citation + citationId + displayType + sourceUrl + clinicalTrials { + id + nctId + link + } +} + `,ye=t.Ps` + fragment BrowseSourceRowFields on BrowseSource { + id + authors + citationId + evidenceItemCount + sourceSuggestionCount + journal + name + publicationYear + sourceType + citation + displayType + link + openAccess +} + `,mt=t.Ps` + fragment TherapyBrowseTableRowFields on BrowseTherapy { + id + name + ncitId + therapyUrl + assertionCount + evidenceCount + link +} + `,Ae=t.Ps` + fragment popoverUser on User { + id + profileImagePath(size: 64) + displayName + bio + role + organizations { + id + name + } +} + `,at=t.Ps` + fragment UserBrowseTableRowFields on User { + id + name + displayName + organizations { + id + name + } + role + statsHash { + submittedEvidenceItems + revisions + } + mostRecentActionTimestamp +} + `,Bt=t.Ps` + fragment variantGroupPopoverFields on VariantGroup { + id + name + description + variants { + edges { + node { + id + name + link + } + } + } + sources { + id + citation + sourceType + link + } +} + `,ln=t.Ps` + fragment BrowseVariantGroupRowFields on BrowseVariantGroup { + id + name + link + geneNames + variantNames + variantCount + evidenceItemCount +} + `,At=t.Ps` + fragment variantTypePopover on VariantTypePopover { + id + name + url + soid + variantCount +} + `,dt=t.Ps` + fragment VariantTypeBrowseTableRowFields on BrowseVariantType { + id + name + soid + url + variantCount + link +} + `,ft=t.Ps` + fragment CoordinatesCardFields on Variant { + id + name + referenceBuild + ensemblVersion + primaryCoordinates { + representativeTranscript + chromosome + start + stop + } + secondaryCoordinates { + representativeTranscript + chromosome + start + stop + } + referenceBases + variantBases +} + `,ne=t.Ps` + fragment variantPopoverFields on Variant { + id + name + variantAliases + alleleRegistryId + gene { + id + name + link + } + molecularProfiles { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } + flags(state: OPEN) { + totalCount + } +} + `,B=t.Ps` + fragment menuVariantType on BrowseVariantType { + id + name + link +} + `,Te=t.Ps` + fragment menuVariant on Variant { + id + name + link + flagged +} + `,Ye=t.Ps` + fragment BrowseVariantsFields on BrowseVariant { + id + name + link + geneId + geneName + geneLink + diseases { + id + name + link + } + therapies { + id + name + link + } + aliases { + name + } + variantTypes { + id + name + link + } +} + `,yt=t.Ps` + fragment RevisableAssertionFields on Assertion { + id + summary + description + molecularProfile { + id + name + link + } + variantOrigin + significance + disease { + id + doid + name + displayName + link + } + therapies { + id + ncitId + name + link + } + therapyInteractionType + assertionDirection + assertionType + phenotypes { + id + hpoId + name + } + ampLevel + acmgCodes { + id + name + code + description + tooltip + } + clingenCodes { + id + code + description + name + tooltip + exclusive + } + nccnGuideline { + id + name + } + nccnGuidelineVersion + regulatoryApproval + fdaCompanionTest + evidenceItems { + id + name + link + status + } +} + `,Kt=t.Ps` + fragment previewComment on CommentBodySegment { + __typename + ... on CommentTagSegment { + entityId + displayName + tagType + link + status + deprecated + __typename + } + ... on CommentTextSegment { + text + __typename + } + ... on User { + id + displayName + role + __typename + } +} + `,Zt=t.Ps` + fragment previewMpName on MolecularProfileSegment { + __typename + ... on MolecularProfileTextSegment { + text + } + ... on Gene { + id + name + link + } + ... on Variant { + id + name + link + } +} + `,On=t.Ps` + fragment AddDiseaseFields on AddDiseasePayload { + new + disease { + id + name + displayName + } +} + `,zn=t.Ps` + fragment GeneTypeaheadFields on Gene { + id + name + geneAliases + entrezId +} + `,Wn=t.Ps` + fragment SourceTypeaheadResult on Source { + id + name + citation + citationId + sourceType +} + `,bo=t.Ps` + fragment SourceStubFields on SourceStub { + id + citationId + sourceType +} + `,$o=(t.Ps` + fragment SourceTypeaheadFields on Source { + id + name + citation + citationId + sourceType +} + `,t.Ps` + fragment AddTherapyFields on AddTherapyPayload { + new + therapy { + id + ncitId + name + } +} + `),Ko=t.Ps` + fragment VariantTypeaheadFields on Variant { + id + name + variantAliases + singleVariantMolecularProfileId + singleVariantMolecularProfile { + id + name + link + } +} + `,Ro=t.Ps` + fragment AddVariantFields on AddVariantPayload { + clientMutationId + new + variant { + id + name + singleVariantMolecularProfileId + singleVariantMolecularProfile { + id + name + link + } + } +} + `,Xn=(t.Ps` + fragment VariantSelectFields on Variant { + id + name + variantAliases + singleVariantMolecularProfileId + singleVariantMolecularProfile { + id + name + link + } +} + `,t.Ps` + fragment MolecularProfileSelectTypeaheadFields on MolecularProfile { + id + name + link + molecularProfileAliases +} + `),Jo=t.Ps` + fragment DiseaseSelectTypeaheadFields on Disease { + id + name + link + displayName + doid + diseaseAliases +} + `,ko=t.Ps` + fragment TherapySelectTypeaheadFields on Therapy { + id + name + link + ncitId + therapyAliases +} + `,Mo=t.Ps` + fragment PhenotypeSelectTypeaheadFields on Phenotype { + id + name + link + hpoId +} + `,vo=t.Ps` + fragment SourceSelectTypeaheadFields on Source { + id + name + link + citation + citationId + sourceType +} + `,ui=t.Ps` + fragment RevisableEvidenceFields on EvidenceItem { + id + molecularProfile { + ...MolecularProfileSelectTypeaheadFields + } + variantOrigin + description + significance + disease { + ...DiseaseSelectTypeaheadFields + } + therapies { + ...TherapySelectTypeaheadFields + } + therapyInteractionType + evidenceDirection + evidenceLevel + evidenceType + phenotypes { + ...PhenotypeSelectTypeaheadFields + } + evidenceRating + source { + ...SourceSelectTypeaheadFields + } +} + ${Xn} +${Jo} +${ko} +${Mo} +${vo}`,oi=t.Ps` + fragment SubmittableEvidenceFields on EvidenceItem { + id + description + variantOrigin + evidenceType + significance + evidenceLevel + evidenceDirection + evidenceRating + therapyInteractionType + source { + id + citation + sourceType + } + phenotypes { + id + name + } + therapies { + id + name + } + disease { + id + name + } +} + `,Di=t.Ps` + fragment RevisableGeneFields on Gene { + id + description + sources { + id + sourceType + citation + citationId + } +} + `,Nn=t.Ps` + fragment RevisableMolecularProfileFields on MolecularProfile { + id + description + sources { + id + sourceType + citation + citationId + } + molecularProfileAliases +} + `,Oi=t.Ps` + fragment SubmittableVariantGroupFields on VariantGroup { + id + name + description + variants(first: 50) { + nodes { + id + name + link + singleVariantMolecularProfile { + id + name + link + } + } + } + sources { + id + link + citation + sourceType + } +} + `,Ai=t.Ps` + fragment RevisableEvidenceFields2 on EvidenceItem { + id + molecularProfile { + ...MolecularProfileSelectTypeaheadFields + } + variantOrigin + description + significance + disease { + ...DiseaseSelectTypeaheadFields + } + therapies { + ...TherapySelectTypeaheadFields + } + therapyInteractionType + evidenceDirection + evidenceLevel + evidenceType + phenotypes { + ...PhenotypeSelectTypeaheadFields + } + evidenceRating + source { + ...SourceSelectTypeaheadFields + } +} + ${Xn} +${Jo} +${ko} +${Mo} +${vo}`,wi=t.Ps` + fragment CoordinateFields on Coordinate { + chromosome + representativeTranscript + start + stop +} + `,Ri=t.Ps` + fragment RevisableVariantFields on Variant { + id + name + gene { + id + name + } + variantAliases + alleleRegistryId + clinvarIds + ensemblVersion + hgvsDescriptions + referenceBuild + variantTypes { + id + name + soid + } + primaryCoordinates { + ...CoordinateFields + } + secondaryCoordinates { + ...CoordinateFields + } + referenceBases + variantBases +} + ${wi}`,Sr=t.Ps` + fragment VariantGroupRevisableFields2 on VariantGroup { + id + name + description + variants { + totalCount + edges { + cursor + node { + id + name + link + } + } + nodes { + id + name + link + } + } + sources { + id + name + link + } +} + `,Er=t.Ps` + fragment AcmgCodeSelectTypeaheadFields on AcmgCode { + id + code + name + description + tooltip +} + `,Mi=t.Ps` + fragment ClingenCodeSelectTypeaheadFields on ClingenCode { + id + code + name + description + tooltip + exclusive +} + `,_r=t.Ps` + fragment QuickAddDiseaseFields on AddDiseasePayload { + new + disease { + ...DiseaseSelectTypeaheadFields + } +} + ${Jo}`,Ki=t.Ps` + fragment EvidenceManagerFields on EvidenceItem { + id + name + link + disease { + id + name + link + } + therapies { + id + name + link + } + molecularProfile { + id + name + link + parsedName { + ...MolecularProfileParsedName + } + } + status + flagged + therapyInteractionType + description + evidenceType + evidenceDirection + evidenceLevel + evidenceRating + significance + variantOrigin +} + ${He}`,ur=t.Ps` + fragment EvidenceSelectTypeaheadFields on EvidenceItem { + id + name + link + evidenceType + evidenceDirection + evidenceLevel + evidenceRating + significance + variantOrigin + status +} + `,nr=t.Ps` + fragment GeneSelectTypeaheadFields on Gene { + id + entrezId + name + geneAliases + link +} + `,Kn=t.Ps` + fragment PreviewMpName2 on MolecularProfileSegment { + __typename + ... on MolecularProfileTextSegment { + text + } + ... on Gene { + id + name + link + } + ... on Variant { + id + name + link + } +} + `,xo=t.Ps` + fragment NccnGuidelineSelectTypeaheadFields on NccnGuideline { + id + name +} + `,Uo=t.Ps` + fragment QuickAddTherapyFields on AddTherapyPayload { + new + therapy { + ...TherapySelectTypeaheadFields + } +} + ${ko}`,yo=(t.Ps` + fragment VariantManagerFields on BrowseVariant { + id + name + link + geneId + geneName + geneLink + diseases { + id + name + link + } + therapies { + id + name + link + } + aliases { + name + } +} + `,t.Ps` + fragment VariantSelectTypeaheadFields on Variant { + id + name + link + variantAliases + singleVariantMolecularProfileId + singleVariantMolecularProfile { + id + name + link + molecularProfileAliases + } +} + `),bi=(t.Ps` + fragment QuickAddVariantFields on AddVariantPayload { + clientMutationId + new + variant { + ...VariantSelectTypeaheadFields + } +} + ${yo}`,t.Ps` + fragment VariantTypeSelectTypeaheadFields on VariantType { + id + name + link + soid +} + `),Si=t.Ps` + fragment AssertionDetailFields on Assertion { + id + name + status + submissionEvent { + originatingUser { + id + } + } + molecularProfile { + id + name + link + } + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + `,yr=t.Ps` + fragment AssertionSummaryFields on Assertion { + id + name + summary + description + status + variantOrigin + disease { + id + name + link + } + molecularProfile { + id + name + link + parsedName { + ...MolecularProfileParsedName + } + } + assertionType + assertionDirection + significance + therapies { + ncitId + name + link + id + } + phenotypes { + id + name + link + } + therapyInteractionType + ampLevel + acmgCodes { + code + description + } + clingenCodes { + id + code + description + } + nccnGuideline { + id + name + } + nccnGuidelineVersion + regulatoryApproval + regulatoryApprovalLastUpdated + fdaCompanionTest + fdaCompanionTestLastUpdated + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } + acceptanceEvent { + createdAt + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } + submissionEvent { + createdAt + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } + rejectionEvent { + createdAt + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } +} + ${He}`,Qi=t.Ps` + fragment MyDiseaseInfoFields on MyDiseaseInfo { + diseaseOntologyExactSynonyms + diseaseOntologyRelatedSynonyms + mesh + icdo + icd10 + ncit + omim + doDef + doDefCitations + mondoDef +} + `,qo=t.Ps` + fragment DiseasesSummaryFields on Disease { + id + name + doid + diseaseUrl + displayName + diseaseAliases + link + myDiseaseInfo { + ...MyDiseaseInfoFields + } +} + ${Qi}`,jn=t.Ps` + fragment EvidenceDetailFields on EvidenceItem { + id + name + status + submissionEvent { + originatingUser { + id + } + } + molecularProfile { + id + name + link + } + assertions { + id + name + link + } + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + `,ao=t.Ps` + fragment EvidenceSummaryFields on EvidenceItem { + id + name + description + status + evidenceLevel + evidenceType + evidenceDirection + significance + variantOrigin + therapies { + id + name + link + } + therapyInteractionType + disease { + id + name + link + } + phenotypes { + id + name + link + } + source { + id + citation + citationId + sourceType + displayType + sourceUrl + ascoAbstractId + link + clinicalTrials { + nctId + id + link + } + } + evidenceRating + molecularProfile { + id + name + link + parsedName { + ...MolecularProfileParsedName + } + } + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } + acceptanceEvent { + createdAt + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } + submissionEvent { + createdAt + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } + rejectionEvent { + createdAt + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } +} + ${He}`,Ue=t.Ps` + fragment GeneDetailFields on Gene { + id + name + officialName + entrezId + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + `,re=t.Ps` + fragment GeneSummaryFields on Gene { + description + entrezId + geneAliases + id + name + officialName + sources { + id + citation + link + sourceUrl + displayType + sourceType + } + variants { + edges { + node { + id + name + } + } + } + myGeneInfoDetails + lastSubmittedRevisionEvent { + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } + lastAcceptedRevisionEvent { + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } +} + `,Oe=t.Ps` + fragment commentListNode on Comment { + id + title + comment + createdAt + commenter { + id + username + displayName + name + role + profileImagePath(size: 32) + organizations { + id + name + profileImagePath(size: 32) + } + } + parsedComment { + __typename + ... on CommentTagSegment { + entityId + displayName + tagType + status + deprecated + link + revisionSetId + __typename + } + ... on CommentTextSegment { + text + } + ... on User { + id + displayName + role + } + } +} + `,Qe=t.Ps` + fragment MolecularProfileDetailFields on MolecularProfile { + id + name + deprecated + deprecatedVariants { + deprecationReason + deprecationComment { + ...commentListNode + } + id + deprecated + name + link + } + molecularProfileAliases + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + ${Oe}`,zt=t.Ps` + fragment VariantMolecularProfileCardFields on Variant { + id + name + link + gene { + id + name + link + } + molecularProfiles(first: 3) { + totalCount + nodes { + id + link + name + deprecated + } + } + variantAliases + clinvarIds + alleleRegistryId + openCravatUrl + variantTypes { + id + link + soid + name + } + referenceBuild + ensemblVersion + primaryCoordinates { + representativeTranscript + chromosome + start + stop + } + secondaryCoordinates { + representativeTranscript + chromosome + start + stop + } + referenceBases + variantBases + hgvsDescriptions +} + `,kt=t.Ps` + fragment MolecularProfileSummaryFields on MolecularProfile { + id + name + description + molecularProfileAliases + molecularProfileScore + sources { + id + citation + link + sourceType + } + variants { + ...VariantMolecularProfileCardFields + } + parsedName { + ...MolecularProfileParsedName + } +} + ${zt} +${He}`,en=t.Ps` + fragment OrganizationDetailFields on Organization { + id + name + url + description + profileImagePath(size: 256) + subGroups { + id + name + profileImagePath(size: 12) + } + orgStatsHash { + comments + revisions + appliedRevisions + submittedEvidenceItems + acceptedEvidenceItems + suggestedSources + submittedAssertions + acceptedAssertions + } + orgAndSuborgsStatsHash { + comments + revisions + appliedRevisions + submittedEvidenceItems + acceptedEvidenceItems + suggestedSources + submittedAssertions + acceptedAssertions + } +} + `,hn=t.Ps` + fragment OrganizationGroupsFields on Organization { + id + name + url + description + profileImagePath(size: 12) + orgStatsHash { + comments + revisions + appliedRevisions + submittedEvidenceItems + acceptedEvidenceItems + suggestedSources + submittedAssertions + acceptedAssertions + } + orgAndSuborgsStatsHash { + comments + revisions + appliedRevisions + submittedEvidenceItems + acceptedEvidenceItems + suggestedSources + submittedAssertions + acceptedAssertions + } + subGroups { + id + name + url + profileImagePath(size: 12) + } +} + `,Jt=t.Ps` + fragment OrganizationMembersFields on User { + id + name + displayName + username + profileImagePath(size: 32) + role + url + areaOfExpertise + orcid + twitterHandle + facebookProfile + linkedinProfile + organizations { + id + name + } +} + `,yn=t.Ps` + fragment Release on DataRelease { + name + geneTsv { + filename + path + } + variantTsv { + filename + path + } + variantGroupTsv { + filename + path + } + evidenceTsv { + filename + path + } + molecularProfileTsv { + filename + path + } + assertionTsv { + filename + path + } + acceptedVariantsVcf { + filename + path + } + acceptedAndSubmittedVariantsVcf { + filename + path + } +} + `,Rn=t.Ps` + fragment SourceDetailFields on Source { + id + citation + sourceUrl + displayType + citationId + comments { + totalCount + } +} + `,Mn=t.Ps` + fragment SourceSummaryFields on Source { + id + citation + displayType + sourceUrl + title + abstract + publicationDate + citationId + fullJournalTitle + pmcId + authorString + clinicalTrials { + nctId + id + link + } +} + `,dn=t.Ps` + fragment MyChemInfoFields on MyChemInfo { + chebiId + chebiDefinition + fdaEpcCodes { + code + description + } + fdaMoaCodes { + code + description + } + firstApproval + chemblMoleculeType + chemblId + pubchemCid + pharmgkbId + rxnorm + inchikey + drugbankId + indications +} + `,En=t.Ps` + fragment TherapiesSummaryFields on Therapy { + id + name + ncitId + therapyUrl + therapyAliases + link + myChemInfo { + ...MyChemInfoFields + } +} + ${dn}`,Gn=t.Ps` + fragment UserDetailFields on User { + id + name + displayName + username + email + profileImagePath(size: 128) + role + url + bio + areaOfExpertise + orcid + twitterHandle + facebookProfile + linkedinProfile + organizations { + id + name + } + country { + id + name + } + statsHash { + comments + revisions + appliedRevisions + submittedEvidenceItems + acceptedEvidenceItems + suggestedSources + submittedAssertions + acceptedAssertions + } + mostRecentConflictOfInterestStatement { + id + coiPresent + coiStatement + coiStatus + createdAt + expiresAt + } +} + `,Fn=t.Ps` + fragment notificationOrganization on Organization { + id + name +} + `,Bn=t.Ps` + fragment notificationOriginatingUsers on User { + id + displayName +} + `,Ln=t.Ps` + fragment notificationFeedSubjects on EventSubjectWithCount { + subject { + id + __typename + name + } + occuranceCount +} + `,ho=t.Ps` + fragment notificationNode on Notification { + id + type + event { + ...eventFeedNode + } + seen + subscription { + id + subscribable { + id + name + __typename + } + } +} + ${rn}`,eo=t.Ps` + fragment subscribable on Subscribable { + id + entityType + __typename +} + `,co=t.Ps` + fragment VariantGroupDetailFields on VariantGroup { + id + name + variants { + totalCount + } + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + `,Oo=t.Ps` + fragment VariantGroupSummaryFields on VariantGroup { + id + name + description + sources { + id + link + citation + sourceUrl + displayType + sourceType + } +} + `,Jn=t.Ps` + fragment VariantDetailFields on Variant { + id + name + deprecated + deprecationReason + deprecationComment { + ...commentListNode + } + gene { + id + name + link + } + variantAliases + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } +} + ${Oe}`,So=t.Ps` + fragment MyVariantInfoFields on MyVariantInfo { + myVariantInfoId + caddConsequence + caddDetail + caddScore + caddPhred + clinvarClinicalSignificance + clinvarHgvsCoding + clinvarHgvsGenomic + clinvarHgvsNonCoding + clinvarHgvsProtein + clinvarId + clinvarOmim + cosmicId + dbnsfpInterproDomain + dbsnpRsid + eglClass + eglHgvs + eglProtein + eglTranscript + exacAlleleCount + exacAlleleFrequency + exacAlleleNumber + fathmmMklPrediction + fathmmMklScore + fathmmPrediction + fathmmScore + fitconsScore + gerp + gnomadExomeAlleleCount + gnomadExomeAlleleFrequency + gnomadExomeAlleleNumber + gnomadExomeFilter + gnomadGenomeAlleleCount + gnomadGenomeAlleleFrequency + gnomadGenomeAlleleNumber + gnomadGenomeFilter + lrtPrediction + lrtScore + metalrPrediction + metalrScore + metasvmPrediction + metasvmScore + mutationassessorPrediction + mutationassessorScore + mutationtasterPrediction + mutationtasterScore + phastcons100way + phastcons30way + phyloP100way + phyloP30way + polyphen2HdivPrediction + polyphen2HdivScore + polyphen2HvarPrediction + polyphen2HvarScore + proveanPrediction + proveanScore + revelScore + siftPrediction + siftScore + siphy + snpeffSnpEffect + snpeffSnpImpact +} + `,Ao=t.Ps` + fragment VariantSummaryFields on Variant { + id + name + gene { + id + name + link + } + variantAliases + alleleRegistryId + openCravatUrl + maneSelectTranscript + variantTypes { + id + link + soid + name + } + hgvsDescriptions + clinvarIds + referenceBuild + ensemblVersion + primaryCoordinates { + representativeTranscript + chromosome + start + stop + } + secondaryCoordinates { + representativeTranscript + chromosome + start + stop + } + referenceBases + variantBases + flags(state: OPEN) { + totalCount + } + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } + myVariantInfo { + ...MyVariantInfoFields + } + lastSubmittedRevisionEvent { + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } + lastAcceptedRevisionEvent { + originatingUser { + id + displayName + role + profileImagePath(size: 32) + } + } +} + ${So}`,Go=t.Ps` + query AssertionPopover($assertionId: Int!) { + assertion(id: $assertionId) { + ...assertionPopover + } +} + ${we}`;let Co=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Go}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const di=t.Ps` + query AssertionsBrowse($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $therapyName: String, $id: Int, $summary: String, $assertionDirection: EvidenceDirection, $significance: EvidenceSignificance, $assertionType: EvidenceType, $variantId: Int, $molecularProfileId: Int, $evidenceId: Int, $molecularProfileName: String, $sortBy: AssertionSort, $ampLevel: AmpLevel, $organizationId: Int, $userId: Int, $phenotypeId: Int, $diseaseId: Int, $therapyId: Int, $status: EvidenceStatusFilter) { + assertions( + first: $first + last: $last + before: $before + after: $after + diseaseName: $diseaseName + therapyName: $therapyName + id: $id + summary: $summary + assertionDirection: $assertionDirection + significance: $significance + assertionType: $assertionType + variantId: $variantId + molecularProfileId: $molecularProfileId + sortBy: $sortBy + ampLevel: $ampLevel + molecularProfileName: $molecularProfileName + evidenceId: $evidenceId + organizationId: $organizationId + userId: $userId + phenotypeId: $phenotypeId + therapyId: $therapyId + diseaseId: $diseaseId + status: $status + ) { + totalCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...AssertionBrowseFields + } + } + } +} + ${te}`;let vi=(()=>{class z extends t.AE{constructor(se){super(se),this.document=di}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Io=t.Ps` + query ClinicalTrialPopover($clinicalTrialId: Int!) { + clinicalTrials(id: $clinicalTrialId) { + edges { + node { + ...clinicalTrialPopover + } + } + } +} + ${ce}`;let Fo=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Io}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Hi=t.Ps` + query ClinicalTrialsBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $nctId: String, $sortBy: ClinicalTrialSort) { + clinicalTrials( + first: $first + last: $last + before: $before + after: $after + name: $name + nctId: $nctId + sortBy: $sortBy + ) { + totalCount + filteredCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...BrowseClinicalTrialsRowFields + } + } + } +} + ${De}`;let ai=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Hi}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const mi=t.Ps` + query CommentList($first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $mentionedUserId: Int, $mentionedRole: UserRole, $mentionedEntity: TaggableEntityInput, $subject: CommentableInput, $sortBy: DateSort) { + comments( + first: $first + last: $last + before: $before + after: $after + originatingUserId: $originatingUserId + mentionedUserId: $mentionedUserId + mentionedRole: $mentionedRole + mentionedEntity: $mentionedEntity + subject: $subject + sortBy: $sortBy + ) { + totalCount + pageInfo { + startCursor + endCursor + hasPreviousPage + hasNextPage + } + uniqueCommenters { + id + displayName + role + profileImagePath(size: 32) + } + mentionedUsers { + id + displayName + role + profileImagePath(size: 32) + } + mentionedRoles { + displayName + entityId + tagType + link + } + mentionedEntities { + displayName + entityId + tagType + link + } + unfilteredCountForSubject + edges { + cursor + node { + ...commentListNode + } + } + } +} + ${Oe}`;let Ji=(()=>{class z extends t.AE{constructor(se){super(se),this.document=mi}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Fi=t.Ps` + query CommentPopover($commentId: Int!) { + comment(id: $commentId) { + ...commentPopover + } +} + ${Ge}`;let Yi=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Fi}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const pi=t.Ps` + query DiseasePopover($diseaseId: Int!) { + diseasePopover(id: $diseaseId) { + id + name + displayName + doid + diseaseUrl + diseaseAliases + assertionCount + evidenceItemCount + molecularProfileCount + link + } +} + `;let Le=(()=>{class z extends t.AE{constructor(se){super(se),this.document=pi}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Rt=t.Ps` + query BrowseDiseases($first: Int, $last: Int, $before: String, $after: String, $sortBy: DiseasesSort, $name: String, $doid: String, $geneNames: String) { + browseDiseases( + first: $first + last: $last + before: $before + after: $after + sortBy: $sortBy + name: $name + doid: $doid + geneNames: $geneNames + ) { + pageInfo { + endCursor + hasNextPage + hasPreviousPage + startCursor + } + totalCount + filteredCount + pageCount + edges { + cursor + node { + ...BrowseDiseaseRowFields + } + } + } +} + ${vt}`;let Z=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Rt}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ke=t.Ps` + query EventFeedCount($subject: SubscribableQueryInput, $first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $organizationId: Int, $eventType: EventAction, $includeAutomatedEvents: Boolean, $mode: EventFeedMode) { + events( + subject: $subject + first: $first + last: $last + before: $before + after: $after + originatingUserId: $originatingUserId + organizationId: $organizationId + eventType: $eventType + mode: $mode + includeAutomatedEvents: $includeAutomatedEvents + ) { + unfilteredCount + } +} + `;let $t=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ke}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const sn=t.Ps` + query EventFeed($subject: SubscribableQueryInput, $first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $organizationId: Int, $eventType: EventAction, $mode: EventFeedMode, $includeAutomatedEvents: Boolean = true, $showFilters: Boolean!) { + events( + subject: $subject + first: $first + last: $last + before: $before + after: $after + originatingUserId: $originatingUserId + organizationId: $organizationId + eventType: $eventType + includeAutomatedEvents: $includeAutomatedEvents + mode: $mode + ) { + ...eventFeed + } +} + ${_n}`;let Yn=(()=>{class z extends t.AE{constructor(se){super(se),this.document=sn}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const uo=t.Ps` + query EvidencePopover($evidenceId: Int!) { + evidenceItem(id: $evidenceId) { + ...evidencePopover + } +} + ${st}`;let po=(()=>{class z extends t.AE{constructor(se){super(se),this.document=uo}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Yo=t.Ps` + query EvidenceBrowse($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $therapyName: String, $id: Int, $description: String, $evidenceLevel: EvidenceLevel, $evidenceDirection: EvidenceDirection, $significance: EvidenceSignificance, $evidenceType: EvidenceType, $rating: Int, $variantOrigin: VariantOrigin, $variantId: Int, $molecularProfileId: Int, $assertionId: Int, $organizationId: Int, $userId: Int, $sortBy: EvidenceSort, $phenotypeId: Int, $diseaseId: Int, $therapyId: Int, $sourceId: Int, $clinicalTrialId: Int, $molecularProfileName: String, $status: EvidenceStatusFilter) { + evidenceItems( + first: $first + last: $last + before: $before + after: $after + diseaseName: $diseaseName + therapyName: $therapyName + id: $id + description: $description + evidenceLevel: $evidenceLevel + evidenceDirection: $evidenceDirection + significance: $significance + evidenceType: $evidenceType + evidenceRating: $rating + variantOrigin: $variantOrigin + variantId: $variantId + molecularProfileId: $molecularProfileId + assertionId: $assertionId + organizationId: $organizationId + userId: $userId + phenotypeId: $phenotypeId + diseaseId: $diseaseId + therapyId: $therapyId + sourceId: $sourceId + clinicalTrialId: $clinicalTrialId + molecularProfileName: $molecularProfileName + status: $status + sortBy: $sortBy + ) { + totalCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...EvidenceGridFields + } + } + } +} + ${it}`;let ei=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Yo}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const lo=t.Ps` + query FlagList($flaggable: FlaggableInput, $flaggingUserId: Int, $resolvingUserId: Int, $state: FlagState, $sortBy: DateSort, $first: Int, $last: Int, $before: String, $after: String) { + flags( + flaggable: $flaggable + flaggingUserId: $flaggingUserId + resolvingUserId: $resolvingUserId + state: $state + sortBy: $sortBy + first: $first + last: $last + before: $before + after: $after + ) { + ...flagList + } +} + ${wt}`;let Vi=(()=>{class z extends t.AE{constructor(se){super(se),this.document=lo}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ni=t.Ps` + query FlagPopover($flagId: Int!) { + flag(id: $flagId) { + ...flagPopover + } +} + ${Ot}`;let Cr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ni}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const os=t.Ps` + query GenePopover($geneId: Int!) { + gene(id: $geneId) { + ...genePopover + } +} + ${Lt}`;let Ee=(()=>{class z extends t.AE{constructor(se){super(se),this.document=os}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ce=t.Ps` + query BrowseGenes($entrezSymbol: String, $therapyName: String, $geneAlias: String, $diseaseName: String, $sortBy: GenesSort, $first: Int, $last: Int, $before: String, $after: String) { + browseGenes( + entrezSymbol: $entrezSymbol + therapyName: $therapyName + geneAlias: $geneAlias + diseaseName: $diseaseName + sortBy: $sortBy + first: $first + last: $last + before: $before + after: $after + ) { + edges { + cursor + node { + ...BrowseGenesFields + } + } + pageInfo { + startCursor + endCursor + hasPreviousPage + hasNextPage + } + totalCount + filteredCount + pageCount + } +} + ${Gt}`;let he=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ce}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ct=t.Ps` + query Quicksearch($query: String!, $types: [SearchableEntities!], $highlightMatches: Boolean) { + search(query: $query, types: $types, highlightMatches: $highlightMatches) { + ...QuicksearchResult + } +} + ${Ke}`;let Cn=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ct}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Qn=t.Ps` + query MolecularProfilePopover($molecularProfileId: Int!) { + molecularProfile(id: $molecularProfileId) { + ...molecularProfilePopoverFields + } +} + ${J}`;let _i=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Qn}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const hi=t.Ps` + query BrowseMolecularProfiles($molecularProfileName: String, $variantName: String, $variantId: Int, $entrezSymbol: String, $diseaseName: String, $therapyName: String, $molecularProfileAlias: String, $sortBy: MolecularProfilesSort, $first: Int, $last: Int, $before: String, $after: String) { + browseMolecularProfiles( + molecularProfileName: $molecularProfileName + variantName: $variantName + variantId: $variantId + entrezSymbol: $entrezSymbol + diseaseName: $diseaseName + therapyName: $therapyName + molecularProfileAlias: $molecularProfileAlias + sortBy: $sortBy + first: $first + last: $last + before: $before + after: $after + ) { + pageInfo { + endCursor + hasNextPage + startCursor + hasPreviousPage + } + edges { + cursor + node { + ...BrowseMolecularProfilesFields + } + } + filteredCount + pageCount + } +} + ${I}`;let kr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=hi}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const xs=t.Ps` + query MolecularProfileMenu($geneId: Int, $mpName: String, $first: Int, $last: Int, $before: String, $after: String, $evidenceStatusFilter: MolecularProfileDisplayFilter) { + molecularProfiles( + geneId: $geneId + name: $mpName + evidenceStatusFilter: $evidenceStatusFilter + first: $first + last: $last + before: $before + after: $after + ) { + totalCount + pageInfo { + startCursor + endCursor + hasPreviousPage + hasNextPage + } + edges { + cursor + node { + ...menuMolecularProfile + } + } + } +} + ${q}`;let ya=(()=>{class z extends t.AE{constructor(se){super(se),this.document=xs}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Hs=t.Ps` + query OrgPopover($orgId: Int!) { + organization(id: $orgId) { + ...orgPopover + } +} + ${Me}`;let Ys=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Hs}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const zr=t.Ps` + query OrganizationsBrowse($first: Int, $last: Int, $before: String, $after: String, $id: Int, $orgName: String, $sortBy: OrganizationSort) { + organizations( + first: $first + last: $last + before: $before + after: $after + name: $orgName + id: $id + sortBy: $sortBy + ) { + totalCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...OrganizationBrowseTableRowFields + } + } + } +} + ${_t}`;let nc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=zr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Jr=t.Ps` + query PhenotypePopover($phenotypeId: Int!) { + phenotypePopover(id: $phenotypeId) { + id + name + url + hpoId + assertionCount + evidenceItemCount + molecularProfileCount + link + } +} + `;let Rr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Jr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const or=t.Ps` + query PhenotypesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $hpoId: String, $sortBy: PhenotypeSort) { + phenotypes( + first: $first + last: $last + before: $before + after: $after + name: $name + hpoId: $hpoId + sortBy: $sortBy + ) { + totalCount + filteredCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...PhenotypeBrowseTableRowFields + } + } + } +} + ${tt}`;let dr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=or}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const yi=t.Ps` + mutation AcceptRevision($input: AcceptRevisionsInput!) { + acceptRevisions(input: $input) { + revisions { + id + __typename + } + } +} + `;let pr=(()=>{class z extends t.mm{constructor(se){super(se),this.document=yi}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ds=t.Ps` + mutation RejectRevision($input: RejectRevisionsInput!) { + rejectRevisions(input: $input) { + revisions { + id + __typename + } + } +} + `;let Vr=(()=>{class z extends t.mm{constructor(se){super(se),this.document=Ds}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const xr=t.Ps` + query ValidateRevisionsForAcceptance($ids: [Int!]!) { + validateRevisionsForAcceptance(revisionIds: $ids) { + genericErrors + validationErrors { + ...validationError + } + } +} + ${Je}`;let qr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=xr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const $s=t.Ps` + query RevisionPopover($revisionId: Int!) { + revision(id: $revisionId) { + ...revisionPopover + } +} + ${rt}`;let Br=(()=>{class z extends t.AE{constructor(se){super(se),this.document=$s}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ds=t.Ps` + query Revisions($subject: ModeratedInput, $first: Int, $last: Int, $before: String, $after: String, $fieldName: String, $originatingUserId: Int, $resolvingUserId: Int, $revisionSetId: Int, $status: RevisionStatus) { + revisions( + first: $first + last: $last + before: $before + after: $after + fieldName: $fieldName + originatingUserId: $originatingUserId + resolvingUserId: $resolvingUserId + subject: $subject + status: $status + revisionSetId: $revisionSetId + ) { + totalCount + unfilteredCountForSubject + uniqueRevisors { + username + id + profileImagePath(size: 32) + } + uniqueResolvers { + username + id + profileImagePath(size: 32) + } + revisedFieldNames { + name + displayName + } + pageInfo { + hasNextPage + hasPreviousPage + endCursor + startCursor + } + edges { + node { + ...revision + } + } + } +} + ${Nt}`;let hr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ds}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const oc=t.Ps` + query ContributorAvatars($subscribable: SubscribableInput!) { + contributors(subscribable: $subscribable) { + editors { + ...ContributorFields + } + curators { + ...ContributorFields + } + } +} + ${Tt}`;let Dr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=oc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ca=t.Ps` + query SubscriptionForEntity($subscribable: SubscribableInput!) { + subscriptionForEntity(subscribable: $subscribable) { + ...subscriptionId + } +} + ${mn}`;let Yc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ca}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ic=t.Ps` + mutation ModerateEvidenceItem($input: ModerateEvidenceItemInput!) { + moderateEvidenceItem(input: $input) { + evidenceItem { + id + } + } +} + `;let Or=(()=>{class z extends t.mm{constructor(se){super(se),this.document=ic}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ir=t.Ps` + mutation ModerateAssertion($input: ModerateAssertionInput!) { + moderateAssertion(input: $input) { + assertion { + id + } + } +} + `;let is=(()=>{class z extends t.mm{constructor(se){super(se),this.document=ir}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Hr=t.Ps` + query CivicStats { + timepointStats { + assertions { + ...TimepointCount + } + diseases { + ...TimepointCount + } + therapies { + ...TimepointCount + } + evidenceItems { + ...TimepointCount + } + genes { + ...TimepointCount + } + revisions { + ...TimepointCount + } + sources { + ...TimepointCount + } + users { + ...TimepointCount + } + variants { + ...TimepointCount + } + comments { + ...TimepointCount + } + molecularProfiles { + ...TimepointCount + } + } +} + ${Ze}`;let ps=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Hr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const hs=t.Ps` + query BrowseSourceSuggestions($first: Int, $last: Int, $before: String, $after: String, $sortBy: SourceSuggestionsSort, $sourceType: SourceSource, $citationId: Int, $sourceId: Int, $molecularProfileName: String, $diseaseName: String, $comment: String, $submitter: String, $citation: String, $submitterId: Int, $status: SourceSuggestionStatus) { + sourceSuggestions( + first: $first + last: $last + before: $before + after: $after + sortBy: $sortBy + sourceType: $sourceType + citationId: $citationId + sourceId: $sourceId + molecularProfileName: $molecularProfileName + diseaseName: $diseaseName + comment: $comment + submitter: $submitter + citation: $citation + submitterId: $submitterId + status: $status + ) { + pageInfo { + endCursor + hasNextPage + startCursor + hasPreviousPage + } + totalCount + filteredCount + pageCount + edges { + cursor + node { + ...BrowseSourceSuggestionRowFields + } + } + } +} + ${ut}`;let Us=(()=>{class z extends t.AE{constructor(se){super(se),this.document=hs}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + mutation UpdateSourceSuggestionStatus($input: UpdateSourceSuggestionStatusInput!) { + updateSourceSuggestionStatus(input: $input) { + sourceSuggestion { + id + status + } + } +} + `;const za=t.Ps` + query SourcePopover($sourceId: Int!) { + sourcePopover(id: $sourceId) { + ...sourcePopover + } +} + ${le}`;let Gs=(()=>{class z extends t.AE{constructor(se){super(se),this.document=za}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Qs=t.Ps` + query BrowseSources($first: Int, $last: Int, $before: String, $after: String, $sortBy: SourcesSort, $name: String, $year: Int, $sourceType: SourceSource, $citationId: Int, $author: String, $journal: String, $clinicalTrialId: Int, $openAccess: Boolean) { + browseSources( + first: $first + last: $last + before: $before + after: $after + sortBy: $sortBy + name: $name + year: $year + sourceType: $sourceType + citationId: $citationId + author: $author + journal: $journal + clinicalTrialId: $clinicalTrialId + openAccess: $openAccess + ) { + pageInfo { + endCursor + hasNextPage + startCursor + hasPreviousPage + } + totalCount + filteredCount + pageCount + edges { + cursor + node { + ...BrowseSourceRowFields + } + } + } +} + ${ye}`;let js=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Qs}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const $i=t.Ps` + query TherapyPopover($therapyId: Int!) { + therapyPopover(id: $therapyId) { + id + name + therapyUrl + ncitId + therapyAliases + assertionCount + evidenceItemCount + molecularProfileCount + link + } +} + `;let Li=(()=>{class z extends t.AE{constructor(se){super(se),this.document=$i}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ws=t.Ps` + query TherapiesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $ncitId: String, $sortBy: TherapySort) { + therapies( + first: $first + last: $last + before: $before + after: $after + name: $name + ncitId: $ncitId + sortBy: $sortBy + ) { + totalCount + filteredCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...TherapyBrowseTableRowFields + } + } + } +} + ${mt}`;let ii=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ws}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Yr=t.Ps` + query UserPopover($userId: Int!) { + user(id: $userId) { + ...popoverUser + } +} + ${Ae}`;let ie=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Yr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ne=t.Ps` + query UsersBrowse($first: Int, $last: Int, $before: String, $after: String, $userName: String, $orgName: OrganizationFilter, $userRole: UserRole, $sortBy: UsersSort) { + users( + first: $first + last: $last + before: $before + after: $after + name: $userName + organization: $orgName + role: $userRole + sortBy: $sortBy + ) { + pageInfo { + endCursor + hasNextPage + hasPreviousPage + startCursor + } + totalCount + edges { + cursor + node { + ...UserBrowseTableRowFields + } + } + } +} + ${at}`;let me=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ne}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const et=t.Ps` + query VariantGroupPopover($variantGroupId: Int!) { + variantGroup(id: $variantGroupId) { + ...variantGroupPopoverFields + } +} + ${Bt}`;let Pt=(()=>{class z extends t.AE{constructor(se){super(se),this.document=et}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const pn=t.Ps` + query BrowseVariantGroups($first: Int, $last: Int, $before: String, $after: String, $sortBy: VariantGroupsSort, $name: String, $geneNames: String, $variantNames: String) { + browseVariantGroups( + first: $first + last: $last + before: $before + after: $after + sortBy: $sortBy + name: $name + geneNames: $geneNames + variantNames: $variantNames + ) { + pageInfo { + endCursor + hasNextPage + startCursor + hasPreviousPage + } + totalCount + filteredCount + pageCount + edges { + cursor + node { + ...BrowseVariantGroupRowFields + } + } + } +} + ${ln}`;let Tn=(()=>{class z extends t.AE{constructor(se){super(se),this.document=pn}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const to=t.Ps` + query VariantTypePopover($variantTypeId: Int!) { + variantTypePopover(id: $variantTypeId) { + ...variantTypePopover + } +} + ${At}`;let Qo=(()=>{class z extends t.AE{constructor(se){super(se),this.document=to}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const fo=t.Ps` + query VariantTypesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $soid: String, $sortBy: VariantTypeSort) { + variantTypes( + first: $first + last: $last + before: $before + after: $after + name: $name + soid: $soid + sortBy: $sortBy + ) { + totalCount + filteredCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...VariantTypeBrowseTableRowFields + } + } + } +} + ${dt}`;let Vo=(()=>{class z extends t.AE{constructor(se){super(se),this.document=fo}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const wo=t.Ps` + query CoordinatesCard($variantId: Int!) { + variant(id: $variantId) { + ...CoordinatesCardFields + } +} + ${ft}`;let ci=(()=>{class z extends t.AE{constructor(se){super(se),this.document=wo}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Wo=t.Ps` + query VariantPopover($variantId: Int!) { + variant(id: $variantId) { + ...variantPopoverFields + } +} + ${ne}`;let Ci=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Wo}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const zi=t.Ps` + query VariantsMenu($geneId: Int, $variantName: String, $variantTypeIds: [Int!], $hasNoVariantType: Boolean, $first: Int, $last: Int, $before: String, $after: String, $sortBy: VariantMenuSort) { + variants( + geneId: $geneId + name: $variantName + variantTypeIds: $variantTypeIds + hasNoVariantType: $hasNoVariantType + first: $first + last: $last + before: $before + after: $after + sortBy: $sortBy + ) { + totalCount + pageInfo { + startCursor + endCursor + hasPreviousPage + hasNextPage + } + edges { + cursor + node { + ...menuVariant + } + } + } +} + ${Te}`;let ro=(()=>{class z extends t.AE{constructor(se){super(se),this.document=zi}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const fr=t.Ps` + query VariantTypesForGene($geneId: Int) { + variantTypes(geneId: $geneId, first: 50) { + edges { + node { + ...menuVariantType + } + } + } +} + ${B}`;let rr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=fr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const $r=t.Ps` + query BrowseVariants($variantName: String, $entrezSymbol: String, $diseaseName: String, $therapyName: String, $variantAlias: String, $variantTypeId: Int, $variantGroupId: Int, $variantTypeName: String, $hasNoVariantType: Boolean, $sortBy: VariantsSort, $first: Int, $last: Int, $before: String, $after: String) { + browseVariants( + variantName: $variantName + entrezSymbol: $entrezSymbol + diseaseName: $diseaseName + therapyName: $therapyName + variantAlias: $variantAlias + variantTypeId: $variantTypeId + variantGroupId: $variantGroupId + variantTypeName: $variantTypeName + hasNoVariantType: $hasNoVariantType + sortBy: $sortBy + first: $first + last: $last + before: $before + after: $after + ) { + pageInfo { + endCursor + hasNextPage + startCursor + hasPreviousPage + } + edges { + cursor + node { + ...BrowseVariantsFields + } + } + totalCount + filteredCount + pageCount + } +} + ${Ye}`;let wr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=$r}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const sr=t.Ps` + query ViewerBase { + viewer { + id + username + role + displayName + profileImagePath(size: 32) + organizations { + id + name + profileImagePath(size: 32) + } + mostRecentConflictOfInterestStatement { + coiStatus + } + mostRecentOrganizationId + } +} + `;let Ta=(()=>{class z extends t.AE{constructor(se){super(se),this.document=sr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Pr=t.Ps` + query ViewerNotificationCount { + notifications { + unreadCount + } +} + `;let fs=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Pr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const rc=t.Ps` + query AssertionRevisableFields($assertionId: Int!) { + assertion(id: $assertionId) { + ...RevisableAssertionFields + } +} + ${yt}`;let Bl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=rc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const sc=t.Ps` + mutation SuggestAssertionRevision($input: SuggestAssertionRevisionInput!) { + suggestAssertionRevision(input: $input) { + clientMutationId + assertion { + id + } + results { + newlyCreated + } + } +} + `;let Ur=(()=>{class z extends t.mm{constructor(se){super(se),this.document=sc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const wn=t.Ps` + mutation SubmitAssertion($input: SubmitAssertionInput!) { + submitAssertion(input: $input) { + clientMutationId + assertion { + id + } + } +} + `;let Bo=(()=>{class z extends t.mm{constructor(se){super(se),this.document=wn}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const $c=t.Ps` + mutation AddComment($input: AddCommentInput!) { + addComment(input: $input) { + clientMutationId + comment { + ...commentListNode + } + } +} + ${Oe}`;let Zs=(()=>{class z extends t.mm{constructor(se){super(se),this.document=$c}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ei=t.Ps` + query previewComment($commentText: String!) { + previewCommentText(commentText: $commentText) { + ...previewComment + } +} + ${Kt}`;let rs=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ei}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ir=t.Ps` + query userTypeahead($queryTerm: String!) { + userTypeahead(queryTerm: $queryTerm) { + username + } +} + `;let mr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ir}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ma=t.Ps` + query entityTypeahead($queryTerm: String!) { + entityTypeahead(queryTerm: $queryTerm) { + entityId + tagType + displayName + } +} + `;let Uc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ma}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + query previewMolecularProfileName($mpStructure: MolecularProfileComponentInput) { + previewMolecularProfileName(structure: $mpStructure) { + existingMolecularProfile { + id + name + link + } + segments { + ...previewMpName + } + deprecatedVariants { + id + name + link + } + } +} + ${Zt}`,t.Ps` + mutation createMolecularProfile($mpStructure: MolecularProfileComponentInput!) { + createMolecularProfile(input: {structure: $mpStructure}) { + molecularProfile { + id + name + link + } + } +} + `,t.Ps` + query AcmgCodeTypeahead($code: String!) { + acmgCodesTypeahead(queryTerm: $code) { + id + code + description + name + tooltip + } +} + `,t.Ps` + query ClingenCodeTypeahead($code: String!) { + clingenCodesTypeahead(queryTerm: $code) { + id + code + description + name + tooltip + exclusive + } +} + `,t.Ps` + query DiseaseTypeahead($name: String!) { + diseaseTypeahead(queryTerm: $name) { + id + name + displayName + doid + diseaseAliases + } +} + `,t.Ps` + mutation AddDisease($name: String!, $doid: String) { + addDisease(input: {name: $name, doid: $doid}) { + ...AddDiseaseFields + } +} + ${On}`,t.Ps` + query EvidenceTypeahead($id: Int!) { + evidenceItem(id: $id) { + id + status + name + } +} + `;const Sa=t.Ps` + query GeneTypeahead($entrezSymbol: String!) { + geneTypeahead(queryTerm: $entrezSymbol) { + ...GeneTypeaheadFields + } +} + ${zn}`;let Ea=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Sa}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + query NccnGuidelineTypeahead($name: String!) { + nccnGuidelinesTypeahead(queryTerm: $name) { + id + name + } +} + `,t.Ps` + query PhenotypeTypeahead($name: String!) { + phenotypeTypeahead(queryTerm: $name) { + hpoId + id + name + } +} + `,t.Ps` + query CitationExistenceCheck($sourceType: SourceSource!, $citationId: String!) { + remoteCitation(sourceType: $sourceType, citationId: $citationId) +} + `,t.Ps` + mutation CreateSourceStub($input: AddRemoteCitationInput!) { + addRemoteCitation(input: $input) { + newSource { + id + citationId + sourceType + } + } +} + `,t.Ps` + query CitationTypeahead($partialCitationId: String!, $sourceType: SourceSource!) { + sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) { + ...SourceTypeaheadResult + } +} + ${Wn}`,t.Ps` + query CheckRemoteCitation($sourceType: SourceSource!, $citationId: String!) { + remoteCitation(sourceType: $sourceType, citationId: $citationId) +} + `,t.Ps` + mutation AddRemoteCitation($input: AddRemoteCitationInput!) { + addRemoteCitation(input: $input) { + newSource { + ...SourceStubFields + } + } +} + ${bo}`,t.Ps` + query SourceTypeahead($partialCitationId: String!, $sourceType: SourceSource!) { + sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) { + ...SourceTypeaheadResult + } +} + ${Wn}`,t.Ps` + query TherapyTypeahead($name: String!) { + therapyTypeahead(queryTerm: $name) { + id + name + ncitId + therapyAliases + } +} + `,t.Ps` + mutation AddTherapy($name: String!, $ncitId: String) { + addTherapy(input: {name: $name, ncitId: $ncitId}) { + ...AddTherapyFields + } +} + ${$o}`;const li=t.Ps` + query VariantTypeahead($name: String!, $geneId: Int) { + variants(name: $name, geneId: $geneId, first: 20) { + nodes { + ...VariantTypeaheadFields + } + } +} + ${Ko}`;let Js=(()=>{class z extends t.AE{constructor(se){super(se),this.document=li}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Gr=t.Ps` + mutation AddVariant($name: String!, $geneId: Int!) { + addVariant(input: {name: $name, geneId: $geneId}) { + ...AddVariantFields + } +} + ${Ro}`;let Qr=(()=>{class z extends t.mm{constructor(se){super(se),this.document=Gr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + query VariantSelect($name: String!, $geneId: Int) { + variants(name: $name, first: 20, geneId: $geneId) { + nodes { + ...VariantTypeaheadFields + } + } +} + ${Ko}`,t.Ps` + query VariantTypeTypeahead($name: String!) { + variantTypeTypeahead(queryTerm: $name) { + name + soid + id + } +} + `,t.Ps` + query EvidenceItemRevisableFields($evidenceId: Int!) { + evidenceItem(id: $evidenceId) { + ...RevisableEvidenceFields + } +} + ${ui}`,t.Ps` + mutation SuggestEvidenceItemRevision($input: SuggestEvidenceItemRevisionInput!) { + suggestEvidenceItemRevision(input: $input) { + clientMutationId + evidenceItem { + id + } + results { + newlyCreated + } + } +} + `,t.Ps` + query EvidenceFieldsFromSourceSuggestion($sourceId: Int, $molecularProfileId: Int, $diseaseId: Int) { + sourceSuggestionValues( + molecularProfileId: $molecularProfileId + diseaseId: $diseaseId + sourceId: $sourceId + ) { + molecularProfile { + id + name + link + } + disease { + id + name + link + } + source { + id + sourceType + citationId + citation + link + } + } +} + `,t.Ps` + query EvidenceSubmittableFields($evidenceId: Int!) { + evidenceItem(id: $evidenceId) { + ...SubmittableEvidenceFields + } +} + ${oi}`;const uc=t.Ps` + mutation SubmitEvidenceItem($input: SubmitEvidenceItemInput!) { + submitEvidence(input: $input) { + clientMutationId + evidenceItem { + id + } + } +} + `;let Dd=(()=>{class z extends t.mm{constructor(se){super(se),this.document=uc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const u1=t.Ps` + mutation FlagEntity($input: FlagEntityInput!) { + flagEntity(input: $input) { + flag { + id + } + } +} + `;let Wl=(()=>{class z extends t.mm{constructor(se){super(se),this.document=u1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const dc=t.Ps` + mutation ResolveFlag($input: ResolveFlagInput!) { + resolveFlag(input: $input) { + flag { + id + } + } +} + `;let Zl=(()=>{class z extends t.mm{constructor(se){super(se),this.document=dc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const As=t.Ps` + query GeneRevisableFields($geneId: Int!) { + gene(id: $geneId) { + ...RevisableGeneFields + } +} + ${Di}`;let pc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=As}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const hc=t.Ps` + mutation SuggestGeneRevision($input: SuggestGeneRevisionInput!) { + suggestGeneRevision(input: $input) { + clientMutationId + results { + newlyCreated + id + fieldName + } + } +} + `;let d1=(()=>{class z extends t.mm{constructor(se){super(se),this.document=hc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Kl=t.Ps` + query MolecularProfileRevisableFields($molecularProfileId: Int!) { + molecularProfile(id: $molecularProfileId) { + ...RevisableMolecularProfileFields + } +} + ${Nn}`;let Jl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Kl}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ql=t.Ps` + mutation SuggestMolecularProfileRevision($input: SuggestMolecularProfileRevisionInput!) { + suggestMolecularProfileRevision(input: $input) { + clientMutationId + molecularProfile { + id + } + results { + newlyCreated + id + fieldName + } + } +} + `;let ts=(()=>{class z extends t.mm{constructor(se){super(se),this.document=ql}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + mutation SuggestSource($input: SuggestSourceInput!) { + suggestSource(input: $input) { + clientMutationId + sourceSuggestion { + id + } + } +} + `;const Da=t.Ps` + mutation UpdateSourceSuggestion($input: UpdateSourceSuggestionStatusInput!) { + updateSourceSuggestionStatus(input: $input) { + sourceSuggestion { + id + status + } + } +} + `;let Fs=(()=>{class z extends t.mm{constructor(se){super(se),this.document=Da}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const qs=t.Ps` + mutation UpdateCoi($input: UpdateCoiInput!) { + updateCoi(input: $input) { + coiStatement { + coiPresent + coiStatus + createdAt + id + } + } +} + `;let mc=(()=>{class z extends t.mm{constructor(se){super(se),this.document=qs}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Oa=t.Ps` + mutation UpdateUserProfile($input: EditUserInput!) { + editUser(input: $input) { + user { + id + } + } +} + `;let Xl=(()=>{class z extends t.mm{constructor(se){super(se),this.document=Oa}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const p1=t.Ps` + query Countries { + countries { + id + name + } +} + `;let eu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=p1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const tu=t.Ps` + mutation DeprecateVariant($variantId: Int!, $deprecationReason: DeprecationReason!, $comment: String!, $organizationId: Int) { + deprecateVariant( + input: {variantId: $variantId, deprecationReason: $deprecationReason, comment: $comment, organizationId: $organizationId} + ) { + newlyDeprecatedMolecularProfiles { + id + } + variant { + id + name + } + } +} + `;let gc=(()=>{class z extends t.mm{constructor(se){super(se),this.document=tu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Xs=t.Ps` + query MolecularProfilesForVariant($variantId: Int!) { + molecularProfiles(variantId: $variantId, first: 50) { + nodes { + id + name + link + evidenceCountsByStatus { + submittedCount + acceptedCount + } + } + } +} + `;let ms=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Xs}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + mutation SuggestVariantGroupRevision($input: SuggestVariantGroupRevisionInput!) { + suggestVariantGroupRevision(input: $input) { + clientMutationId + variantGroup { + id + } + results { + newlyCreated + id + fieldName + } + } +} + `,t.Ps` + query VariantGroupSubmittableFields($variantGroupId: Int!) { + variantGroup(id: $variantGroupId) { + ...SubmittableVariantGroupFields + } +} + ${Oi}`;const ou=t.Ps` + mutation SubmitVariantGroup($input: SubmitVariantGroupInput!) { + submitVariantGroup(input: $input) { + clientMutationId + variantGroup { + id + } + } +} + `;let vc=(()=>{class z extends t.mm{constructor(se){super(se),this.document=ou}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const _c=t.Ps` + query LinkableGene($geneId: Int!) { + gene(id: $geneId) { + id + name + link + } +} + `;let f1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=_c}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + query LinkableVariant($variantId: Int!) { + variant(id: $variantId) { + id + name + link + } +} + `,t.Ps` + query LinkableTherapy($therapyId: Int!) { + therapy(id: $therapyId) { + id + name + link + } +} + `;const Ns=t.Ps` + query EvidenceItemRevisableFields2($evidenceId: Int!) { + evidenceItem(id: $evidenceId) { + ...RevisableEvidenceFields2 + } +} + ${Ai}`;let el=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ns}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const yc=t.Ps` + mutation SuggestEvidenceItemRevision2($input: SuggestEvidenceItemRevisionInput!) { + suggestEvidenceItemRevision(input: $input) { + clientMutationId + evidenceItem { + id + } + results { + newlyCreated + } + } +} + `;let oa=(()=>{class z extends t.mm{constructor(se){super(se),this.document=yc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const wd=t.Ps` + query ExistingEvidenceCount($molecularProfileId: Int!, $sourceId: Int!) { + evidenceItems(molecularProfileId: $molecularProfileId, sourceId: $sourceId) { + totalCount + } +} + `;let ru=(()=>{class z extends t.AE{constructor(se){super(se),this.document=wd}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const m1=t.Ps` + mutation SubmitSource($input: SuggestSourceInput!) { + suggestSource(input: $input) { + clientMutationId + sourceSuggestion { + id + } + } +} + `;let g1=(()=>{class z extends t.mm{constructor(se){super(se),this.document=m1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const v1=t.Ps` + query VariantRevisableFields($variantId: Int!) { + variant(id: $variantId) { + ...RevisableVariantFields + } +} + ${Ri}`;let wa=(()=>{class z extends t.AE{constructor(se){super(se),this.document=v1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const _1=t.Ps` + mutation SuggestVariantRevision($input: SuggestVariantRevisionInput!) { + suggestVariantRevision(input: $input) { + clientMutationId + variant { + id + } + results { + id + fieldName + newlyCreated + } + } +} + `;let ia=(()=>{class z extends t.mm{constructor(se){super(se),this.document=_1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ra=t.Ps` + query VariantGroupRevisableFields2($variantGroupId: Int!) { + variantGroup(id: $variantGroupId) { + ...VariantGroupRevisableFields2 + } +} + ${Sr}`;let y1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ra}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const C1=t.Ps` + mutation SuggestVariantGroupRevision2($input: SuggestVariantGroupRevisionInput!) { + suggestVariantGroupRevision(input: $input) { + clientMutationId + variantGroup { + id + } + results { + newlyCreated + id + fieldName + } + } +} + `;let ki=(()=>{class z extends t.mm{constructor(se){super(se),this.document=C1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const tl=t.Ps` + query EntityTagsTest($molecularProfileId: Int!, $geneId: Int!, $variantId: Int!, $therapyId: Int!, $diseaseId: Int!, $eid: Int!) { + evidenceItem(id: $eid) { + id + name + link + } + molecularProfile(id: $molecularProfileId) { + id + name + link + } + gene(id: $geneId) { + id + name + link + } + variant(id: $variantId) { + id + name + link + } + therapy(id: $therapyId) { + id + name + link + } + disease(id: $diseaseId) { + id + name + link + } +} + `;let gs=(()=>{class z extends t.AE{constructor(se){super(se),this.document=tl}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const su=t.Ps` + query AcmgCodeSelectTypeahead($code: String!) { + acmgCodesTypeahead(queryTerm: $code) { + ...AcmgCodeSelectTypeaheadFields + } +} + ${Er}`;let Tr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=su}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const sa=t.Ps` + query AcmgCodeSelectTag($id: Int!) { + acmgCode(id: $id) { + ...AcmgCodeSelectTypeaheadFields + } +} + ${Er}`;let nl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=sa}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Pa=t.Ps` + query ClingenCodeSelectTypeahead($code: String!) { + clingenCodesTypeahead(queryTerm: $code) { + ...ClingenCodeSelectTypeaheadFields + } +} + ${Mi}`;let aa=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Pa}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const au=t.Ps` + query ClingenCodeSelectTag($id: Int!) { + clingenCode(id: $id) { + ...ClingenCodeSelectTypeaheadFields + } +} + ${Mi}`;let z1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=au}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ol=t.Ps` + mutation QuickAddDisease($name: String!, $doid: String) { + addDisease(input: {name: $name, doid: $doid}) { + ...QuickAddDiseaseFields + } +} + ${_r}`;let T1=(()=>{class z extends t.mm{constructor(se){super(se),this.document=ol}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const gr=t.Ps` + query DiseaseSelectTypeahead($name: String!) { + diseaseTypeahead(queryTerm: $name) { + ...DiseaseSelectTypeaheadFields + } +} + ${Jo}`;let Cc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=gr}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const vs=t.Ps` + query DiseaseSelectTag($id: Int!) { + disease(id: $id) { + ...DiseaseSelectTypeaheadFields + } +} + ${Jo}`;let cp=(()=>{class z extends t.AE{constructor(se){super(se),this.document=vs}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const il=t.Ps` + query EvidenceManager($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $therapyName: String, $id: Int, $description: String, $evidenceLevel: EvidenceLevel, $evidenceDirection: EvidenceDirection, $significance: EvidenceSignificance, $evidenceType: EvidenceType, $rating: Int, $variantOrigin: VariantOrigin, $variantId: Int, $molecularProfileId: Int, $assertionId: Int, $organizationId: Int, $userId: Int, $sortBy: EvidenceSort, $phenotypeId: Int, $diseaseId: Int, $therapyId: Int, $sourceId: Int, $clinicalTrialId: Int, $molecularProfileName: String, $status: EvidenceStatusFilter) { + evidenceItems( + first: $first + last: $last + before: $before + after: $after + diseaseName: $diseaseName + therapyName: $therapyName + id: $id + description: $description + evidenceLevel: $evidenceLevel + evidenceDirection: $evidenceDirection + significance: $significance + evidenceType: $evidenceType + evidenceRating: $rating + variantOrigin: $variantOrigin + variantId: $variantId + molecularProfileId: $molecularProfileId + assertionId: $assertionId + organizationId: $organizationId + userId: $userId + phenotypeId: $phenotypeId + diseaseId: $diseaseId + therapyId: $therapyId + sourceId: $sourceId + clinicalTrialId: $clinicalTrialId + molecularProfileName: $molecularProfileName + status: $status + sortBy: $sortBy + ) { + totalCount + pageCount + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...EvidenceManagerFields + } + } + nodes { + ...EvidenceManagerFields + } + } +} + ${Ki}`;let rl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=il}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const cu=t.Ps` + query EvidenceSelectTypeahead($eid: Int!) { + evidenceItems(id: $eid) { + nodes { + ...EvidenceSelectTypeaheadFields + } + } +} + ${ur}`;let lu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=cu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const sl=t.Ps` + query EvidenceSelectTag($eid: Int!) { + evidenceItem(id: $eid) { + ...EvidenceSelectTypeaheadFields + } +} + ${ur}`;let uu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=sl}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const du=t.Ps` + query GeneSelectTypeahead($entrezSymbol: String!) { + geneTypeahead(queryTerm: $entrezSymbol) { + ...GeneSelectTypeaheadFields + } +} + ${nr}`;let zc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=du}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ia=t.Ps` + query GeneSelectTag($geneId: Int!) { + gene(id: $geneId) { + ...GeneSelectTypeaheadFields + } +} + ${nr}`;let al=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ia}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Aa=t.Ps` + query MolecularProfileSelectTypeahead($name: String!, $geneId: Int) { + molecularProfiles(name: $name, geneId: $geneId, first: 25) { + nodes { + ...MolecularProfileSelectTypeaheadFields + } + } +} + ${Xn}`;let pu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Aa}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Fa=t.Ps` + query MolecularProfileSelectTag($molecularProfileId: Int!) { + molecularProfile(id: $molecularProfileId) { + ...MolecularProfileSelectTypeaheadFields + } +} + ${Xn}`;let cl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Fa}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ll=t.Ps` + query PreviewMolecularProfileName2($mpStructure: MolecularProfileComponentInput) { + previewMolecularProfileName(structure: $mpStructure) { + existingMolecularProfile { + id + name + link + } + segments { + ...PreviewMpName2 + } + deprecatedVariants { + id + name + link + } + } +} + ${Kn}`;let Tc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ll}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ca=t.Ps` + query MpExpressionEditorPrepopulate($mpId: Int!) { + molecularProfile(id: $mpId) { + id + parsedName { + ...MolecularProfileParsedName + } + rawName + } +} + ${He}`;let Ls=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ca}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ul=t.Ps` + mutation CreateMolecularProfile2($mpStructure: MolecularProfileComponentInput!) { + createMolecularProfile(input: {structure: $mpStructure}) { + molecularProfile { + id + name + link + } + } +} + `;let hu=(()=>{class z extends t.mm{constructor(se){super(se),this.document=ul}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ks=t.Ps` + query NccnGuidelineSelectTypeahead($name: String!) { + nccnGuidelinesTypeahead(queryTerm: $name) { + ...NccnGuidelineSelectTypeaheadFields + } +} + ${xo}`;let Na=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ks}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const fu=t.Ps` + query NccnGuidelineSelectTag($id: Int!) { + nccnGuideline(id: $id) { + ...NccnGuidelineSelectTypeaheadFields + } +} + ${xo}`;let M1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=fu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const _s=t.Ps` + query PhenotypeSelectTypeahead($name: String!) { + phenotypeTypeahead(queryTerm: $name) { + ...PhenotypeSelectTypeaheadFields + } +} + ${Mo}`;let mu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=_s}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const b1=t.Ps` + query PhenotypeSelectTag($id: Int!) { + phenotype(id: $id) { + ...PhenotypeSelectTypeaheadFields + } +} + ${Mo}`;let gu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=b1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const vu=t.Ps` + query QuickAddSourceCheckCitation($sourceType: SourceSource!, $citationId: String!) { + remoteCitation(sourceType: $sourceType, citationId: $citationId) +} + `;let La=(()=>{class z extends t.AE{constructor(se){super(se),this.document=vu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ka=t.Ps` + mutation QuickAddSourceRemoteCitation($input: AddRemoteCitationInput!) { + addRemoteCitation(input: $input) { + newSource { + id + citationId + sourceType + } + } +} + `;let dl=(()=>{class z extends t.mm{constructor(se){super(se),this.document=ka}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const _u=t.Ps` + query SourceSelectTypeahead($partialCitationId: String!, $sourceType: SourceSource!) { + sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) { + ...SourceSelectTypeaheadFields + } +} + ${vo}`;let pl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=_u}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const S1=t.Ps` + query SourceSelectTag($id: Int!) { + source(id: $id) { + ...SourceSelectTypeaheadFields + } +} + ${vo}`;let hl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=S1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const E1=t.Ps` + mutation QuickAddTherapy($name: String!, $ncitId: String) { + addTherapy(input: {name: $name, ncitId: $ncitId}) { + ...QuickAddTherapyFields + } +} + ${Uo}`;let yu=(()=>{class z extends t.mm{constructor(se){super(se),this.document=E1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Cu=t.Ps` + query TherapySelectTypeahead($name: String!) { + therapyTypeahead(queryTerm: $name) { + ...TherapySelectTypeaheadFields + } +} + ${ko}`;let Ra=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Cu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const x1=t.Ps` + query TherapySelectTag($id: Int!) { + therapy(id: $id) { + ...TherapySelectTypeaheadFields + } +} + ${ko}`;let D1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=x1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Mc=t.Ps` + query VariantManager($variantName: String, $entrezSymbol: String, $diseaseName: String, $therapyName: String, $variantAlias: String, $variantTypeId: Int, $variantGroupId: Int, $sortBy: VariantsSort, $first: Int, $last: Int, $before: String, $after: String) { + browseVariants( + variantName: $variantName + entrezSymbol: $entrezSymbol + diseaseName: $diseaseName + therapyName: $therapyName + variantAlias: $variantAlias + variantTypeId: $variantTypeId + variantGroupId: $variantGroupId + sortBy: $sortBy + first: $first + last: $last + before: $before + after: $after + ) { + pageInfo { + endCursor + hasNextPage + startCursor + hasPreviousPage + } + edges { + cursor + node { + ...BrowseVariantsFields + } + } + totalCount + filteredCount + pageCount + } +} + ${Ye}`;let O1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Mc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const w1=t.Ps` + mutation QuickAddVariant($name: String!, $geneId: Int!) { + addVariant(input: {name: $name, geneId: $geneId}) { + ...AddVariantFields + } +} + ${Ro}`;let P1=(()=>{class z extends t.mm{constructor(se){super(se),this.document=w1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const I1=t.Ps` + query VariantSelectTypeahead($name: String!, $geneId: Int) { + variants(name: $name, geneId: $geneId, first: 50) { + totalCount + edges { + node { + ...VariantSelectTypeaheadFields + } + } + nodes { + ...VariantSelectTypeaheadFields + } + } +} + ${yo}`;let A1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=I1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const F1=t.Ps` + query VariantSelectTag($variantId: Int!) { + variant(id: $variantId) { + ...VariantSelectTypeaheadFields + } +} + ${yo}`;let Va=(()=>{class z extends t.AE{constructor(se){super(se),this.document=F1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Ba=t.Ps` + query VariantTypeSelectTypeahead($name: String!) { + variantTypeTypeahead(queryTerm: $name) { + ...VariantTypeSelectTypeaheadFields + } +} + ${bi}`;let fl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Ba}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const bc=t.Ps` + query VariantTypeSelectTag($id: Int!) { + variantType(id: $id) { + ...VariantTypeSelectTypeaheadFields + } +} + ${bi}`;let ml=(()=>{class z extends t.AE{constructor(se){super(se),this.document=bc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const la=t.Ps` + query AssertionDetail($assertionId: Int!) { + assertion(id: $assertionId) { + ...AssertionDetailFields + } +} + ${Si}`;let gl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=la}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const zu=t.Ps` + query AssertionSummary($assertionId: Int!) { + assertion(id: $assertionId) { + ...AssertionSummaryFields + } +} + ${yr}`;let Ha=(()=>{class z extends t.AE{constructor(se){super(se),this.document=zu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Sc=t.Ps` + query ClinicalTrialDetail($clinicalTrialId: Int!) { + clinicalTrial(id: $clinicalTrialId) { + id + name + nctId + description + url + link + } +} + `;let jr=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Sc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const vl=t.Ps` + query ClinicalTrialSummary($clinicalTrialId: Int!) { + clinicalTrial(id: $clinicalTrialId) { + id + name + nctId + description + url + link + } +} + `;let Ec=(()=>{class z extends t.AE{constructor(se){super(se),this.document=vl}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Tu=t.Ps` + query DiseaseDetail($diseaseId: Int!) { + disease(id: $diseaseId) { + id + name + doid + diseaseUrl + displayName + diseaseAliases + link + } +} + `;let Mu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Tu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const xc=t.Ps` + query DiseasesSummary($diseaseId: Int!) { + disease(id: $diseaseId) { + ...DiseasesSummaryFields + } +} + ${qo}`;let bu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=xc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const _l=t.Ps` + query EvidenceDetail($evidenceId: Int!) { + evidenceItem(id: $evidenceId) { + ...EvidenceDetailFields + } +} + ${jn}`;let Su=(()=>{class z extends t.AE{constructor(se){super(se),this.document=_l}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ys=t.Ps` + query EvidenceSummary($evidenceId: Int!) { + evidenceItem(id: $evidenceId) { + ...EvidenceSummaryFields + } +} + ${ao}`;let Dc=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ys}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Eu=t.Ps` + query GeneDetail($geneId: Int!) { + gene(id: $geneId) { + ...GeneDetailFields + } +} + ${Ue}`;let qi=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Eu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Oc=t.Ps` + query GenesSummary($geneId: Int!) { + gene(id: $geneId) { + ...GeneSummaryFields + } +} + ${re}`;let yl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Oc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const wc=t.Ps` + query MolecularProfileDetail($mpId: Int!) { + molecularProfile(id: $mpId) { + ...MolecularProfileDetailFields + } +} + ${Qe}`;let ji=(()=>{class z extends t.AE{constructor(se){super(se),this.document=wc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ua=t.Ps` + query MolecularProfileSummary($mpId: Int!) { + molecularProfile(id: $mpId) { + ...MolecularProfileSummaryFields + } +} + ${kt}`;let Cl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ua}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const da=t.Ps` + query OrganizationDetail($organizationId: Int!) { + organization(id: $organizationId) { + ...OrganizationDetailFields + } +} + ${en}`;let Pd=(()=>{class z extends t.AE{constructor(se){super(se),this.document=da}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const N1=t.Ps` + query OrganizationGroups($organizationId: Int!) { + organization(id: $organizationId) { + id + name + url + description + profileImagePath(size: 256) + subGroups { + ...OrganizationGroupsFields + } + } +} + ${hn}`;let L1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=N1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const xu=t.Ps` + query OrganizationMembers($organizationId: Int!, $first: Int, $last: Int, $before: String, $after: String) { + users( + organization: {id: $organizationId} + first: $first + last: $last + before: $before + after: $after + ) { + pageInfo { + hasNextPage + hasPreviousPage + startCursor + endCursor + } + edges { + cursor + node { + ...OrganizationMembersFields + } + } + } +} + ${Jt}`;let k1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=xu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const R1=t.Ps` + query PhenotypeDetail($phenotypeId: Int!) { + phenotype(id: $phenotypeId) { + id + name + description + hpoId + url + link + } +} + `;let V1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=R1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const B1=t.Ps` + query DataReleases { + dataReleases { + ...Release + } +} + ${yn}`;let zl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=B1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Pc=t.Ps` + query SourceDetail($sourceId: Int!) { + source(id: $sourceId) { + ...SourceDetailFields + } +} + ${Rn}`;let Du=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Pc}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const ss=t.Ps` + query SourceSummary($sourceId: Int!) { + source(id: $sourceId) { + ...SourceSummaryFields + } +} + ${Mn}`;let H1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=ss}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Y1=t.Ps` + query TherapyDetail($therapyId: Int!) { + therapy(id: $therapyId) { + id + name + ncitId + therapyUrl + therapyAliases + link + } +} + `;let Ou=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Y1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Tl=t.Ps` + query TherapiesSummary($therapyId: Int!) { + therapy(id: $therapyId) { + ...TherapiesSummaryFields + } +} + ${En}`;let Ml=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Tl}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const pa=t.Ps` + query UserDetail($userId: Int!) { + user(id: $userId) { + ...UserDetailFields + } +} + ${Gn}`;let Ya=(()=>{class z extends t.AE{constructor(se){super(se),this.document=pa}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const wu=t.Ps` + query UserNotifications($first: Int, $last: Int, $before: String, $after: String, $notificationReason: NotificationReason, $subscriptionId: Int, $originatingObject: SubscribableInput, $eventType: EventAction, $originatingUserId: Int, $organizationId: Int, $includeRead: Boolean) { + notifications( + first: $first + last: $last + before: $before + after: $after + notificationReason: $notificationReason + subscriptionId: $subscriptionId + originatingObject: $originatingObject + eventType: $eventType + originatingUserId: $originatingUserId + organizationId: $organizationId + includeRead: $includeRead + ) { + pageInfo { + startCursor + endCursor + hasNextPage + hasPreviousPage + } + notificationSubjects { + ...notificationFeedSubjects + } + originatingUsers { + ...notificationOriginatingUsers + } + organizations { + ...notificationOrganization + } + eventTypes + edges { + node { + ...notificationNode + } + } + } +} + ${Ln} +${Bn} +${Fn} +${ho}`;let Ic=(()=>{class z extends t.AE{constructor(se){super(se),this.document=wu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const $a=t.Ps` + mutation UpdateNotificationStatus($input: UpdateNotificationStatusInput!) { + updateNotificationStatus(input: $input) { + notifications { + ...notificationNode + } + } +} + ${ho}`;let Pu=(()=>{class z extends t.mm{constructor(se){super(se),this.document=$a}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const $1=t.Ps` + mutation Unsubscribe($input: UnsubscribeInput!) { + unsubscribe(input: $input) { + unsubscribedEntities { + ...subscribable + } + } +} + ${eo}`;let U1=(()=>{class z extends t.mm{constructor(se){super(se),this.document=$1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const G1=t.Ps` + mutation Subscribe($input: SubscribeInput!) { + subscribe(input: $input) { + subscriptions { + id + } + } +} + `;let Q1=(()=>{class z extends t.mm{constructor(se){super(se),this.document=G1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const j1=t.Ps` + query VariantGroupDetail($variantGroupId: Int!) { + variantGroup(id: $variantGroupId) { + ...VariantGroupDetailFields + } +} + ${co}`;let Iu=(()=>{class z extends t.AE{constructor(se){super(se),this.document=j1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();t.Ps` + query VariantGroupRevisions($variantGroupId: Int!, $first: Int, $last: Int, $before: String, $after: String, $fieldName: String, $originatingUserId: Int) { + variantGroup(id: $variantGroupId) { + id + revisions( + first: $first + last: $last + before: $before + after: $after + fieldName: $fieldName + originatingUserId: $originatingUserId + ) { + totalCount + uniqueRevisors { + username + id + profileImagePath(size: 32) + } + revisedFieldNames { + name + displayName + } + edges { + node { + id + revisionSetId + createdAt + fieldName + currentValue + suggestedValue + linkoutData { + name + diffValue { + ... on ObjectFieldDiff { + addedObjects { + id + displayName + displayType + entityType + } + removedObjects { + id + displayName + displayType + entityType + } + keptObjects { + id + displayName + displayType + entityType + } + } + ... on ScalarFieldDiff { + left + right + } + } + } + revisor { + id + name + } + status + } + } + } + } +} + `;const bl=t.Ps` + query VariantGroupsSummary($variantGroupId: Int!) { + variantGroup(id: $variantGroupId) { + ...VariantGroupSummaryFields + } +} + ${Oo}`;let Z1=(()=>{class z extends t.AE{constructor(se){super(se),this.document=bl}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const K1=t.Ps` + query VariantTypeDetail($variantTypeId: Int!) { + variantType(id: $variantTypeId) { + id + name + soid + description + url + link + } +} + `;let Sl=(()=>{class z extends t.AE{constructor(se){super(se),this.document=K1}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Fu=t.Ps` + query VariantDetail($variantId: Int!) { + variant(id: $variantId) { + ...VariantDetailFields + } +} + ${Jn}`;let as=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Fu}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const Zn=t.Ps` + query VariantSummary($variantId: Int!) { + variant(id: $variantId) { + ...VariantSummaryFields + } +} + ${Ao}`;let xi=(()=>{class z extends t.AE{constructor(se){super(se),this.document=Zn}}return z.\u0275fac=function(se){return new(se||z)(i.LFG(t._M))},z.\u0275prov=i.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},553:(xt,Se,a)=>{a.d(Se,{N:()=>t});const t={production:!0}},7568:(xt,Se,a)=>{var t=a(6593),i=a(5879),v=a(5592),d=a(305),s=a(2096),k=a(4911),G=a(3019),U=a(2420);const P=new v.y(U.Z);var w=a(8645),L=a(9315),Y=a(5619),M=a(7394),e=a(7081),F=a(6232),R=a(8504),ge=a(4674);class K{constructor(p,h,g){this.kind=p,this.value=h,this.error=g,this.hasValue="N"===p}observe(p){return N(this,p)}do(p,h,g){const{kind:C,value:E,error:X}=this;return"N"===C?p?.(E):"E"===C?h?.(X):g?.()}accept(p,h,g){var C;return(0,ge.m)(null===(C=p)||void 0===C?void 0:C.next)?this.observe(p):this.do(p,h,g)}toObservable(){const{kind:p,value:h,error:g}=this,C="N"===p?(0,s.of)(h):"E"===p?(0,R._)(()=>g):"C"===p?F.E:0;if(!C)throw new TypeError(`Unexpected notification kind ${p}`);return C}static createNext(p){return new K("N",p)}static createError(p){return new K("E",void 0,p)}static createComplete(){return K.completeNotification}}function N(T,p){var h,g,C;const{kind:E,value:X,error:_e}=T;if("string"!=typeof E)throw new TypeError('Invalid notification, missing "kind"');"N"===E?null===(h=p.next)||void 0===h||h.call(p,X):"E"===E?null===(g=p.error)||void 0===g||g.call(p,_e):null===(C=p.complete)||void 0===C||C.call(p)}K.completeNotification=new K("C");var V=a(9360),O=a(8251),pe=a(975),de=function(){},W=de;function Q(T){W=T||de}var ae=console;function fe(T){if(T.error&&T.group&&T.groupCollapsed&&T.groupEnd&&T.warn)return T;var h=0;return{error:function(E){for(var X=arguments.length,_e=new Array(X>1?X-1:0),xe=1;xe1?X-1:0),xe=1;xe1?X-1:0),xe=1;xe2?xe-2:0),pt=2;pt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var C,g=Pe(T);if(p){var E=Pe(this).constructor;C=Reflect.construct(g,arguments,E)}else C=g.apply(this,arguments);return function te(T,p){return!p||"object"!=typeof p&&"function"!=typeof p?we(T):p}(this,C)}}function Ge(T){return function vt(T){if(Array.isArray(T))return lt(T)}(T)||function _n(T){if(typeof Symbol<"u"&&null!=T[Symbol.iterator]||null!=T["@@iterator"])return Array.from(T)}(T)||it(T)||function wt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function it(T,p){if(T){if("string"==typeof T)return lt(T,p);var h=Object.prototype.toString.call(T).slice(8,-1);if("Object"===h&&T.constructor&&(h=T.constructor.name),"Map"===h||"Set"===h)return Array.from(T);if("Arguments"===h||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return lt(T,p)}}function lt(T,p){(null==p||p>T.length)&&(p=T.length);for(var h=0,g=new Array(p);h-1&&(pt=pt.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var St=pt.replace(/^\s+/,"").replace(/\(eval code/g,"("),Vt=St.match(/ (\((.+):(\d+):(\d+)\)$)/),Ut=(St=Vt?St.replace(Vt[0],""):St).split(/\s+/).slice(1),jt=this.extractLocation(Vt?Vt[1]:Ut.pop()),Qt=Ut.join(" ")||void 0,fn=["eval",""].indexOf(jt[0])>-1?void 0:jt[0];return new g({functionName:Qt,fileName:fn,lineNumber:jt[1],columnNumber:jt[2],source:pt})},this)},parseFFOrSafari:function(xe){return xe.stack.split("\n").filter(function(pt){return!pt.match(X)},this).map(function(pt){if(pt.indexOf(" > eval")>-1&&(pt=pt.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===pt.indexOf("@")&&-1===pt.indexOf(":"))return new g({functionName:pt});var St=/((.*".+"[^@]*)?[^@]*)(?:@)/,Vt=pt.match(St),Ut=Vt&&Vt[1]?Vt[1]:void 0,jt=this.extractLocation(pt.replace(St,""));return new g({functionName:Ut,fileName:jt[0],lineNumber:jt[1],columnNumber:jt[2],source:pt})},this)},parseOpera:function(xe){return!xe.stacktrace||xe.message.indexOf("\n")>-1&&xe.message.split("\n").length>xe.stacktrace.split("\n").length?this.parseOpera9(xe):xe.stack?this.parseOpera11(xe):this.parseOpera10(xe)},parseOpera9:function(xe){for(var qe=/Line (\d+).*script (?:in )?(\S+)/i,pt=xe.message.split("\n"),St=[],Vt=2,Ut=pt.length;Vt/,"$2").replace(/\([^)]*\)/g,"")||void 0;Ut.match(/\(([^)]*)\)/)&&(Qt=Ut.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var fn=void 0===Qt||"[arguments not available]"===Qt?void 0:Qt.split(",");return new g({functionName:jt,args:fn,fileName:Vt[0],lineNumber:Vt[1],columnNumber:Vt[2],source:pt})},this)}})}),Me=Ke(function(T,p){p.getArg=function h(on,gn,Un){if(gn in on)return on[gn];if(3===arguments.length)return Un;throw new Error('"'+gn+'" is a required argument.')};var g=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,C=/^data:.+\,.+$/;function E(on){var gn=on.match(g);return gn?{scheme:gn[1],auth:gn[2],host:gn[3],port:gn[4],path:gn[5]}:null}function X(on){var gn="";return on.scheme&&(gn+=on.scheme+":"),gn+="//",on.auth&&(gn+=on.auth+"@"),on.host&&(gn+=on.host),on.port&&(gn+=":"+on.port),on.path&&(gn+=on.path),gn}function _e(on){var gn=on,Un=E(on);if(Un){if(!Un.path)return on;gn=Un.path}for(var Po,kn=p.isAbsolute(gn),io=gn.split(/\/+/),fi=0,Ii=io.length-1;Ii>=0;Ii--)"."===(Po=io[Ii])?io.splice(Ii,1):".."===Po?fi++:fi>0&&(""===Po?(io.splice(Ii+1,fi),fi=0):(io.splice(Ii,2),fi--));return""===(gn=io.join("/"))&&(gn=kn?"/":"."),Un?(Un.path=gn,X(Un)):gn}p.urlParse=E,p.urlGenerate=X,p.normalize=_e,p.join=function xe(on,gn){""===on&&(on="."),""===gn&&(gn=".");var Un=E(gn),kn=E(on);if(kn&&(on=kn.path||"/"),Un&&!Un.scheme)return kn&&(Un.scheme=kn.scheme),X(Un);if(Un||gn.match(C))return gn;if(kn&&!kn.host&&!kn.path)return kn.host=gn,X(kn);var io="/"===gn.charAt(0)?gn:_e(on.replace(/\/+$/,"")+"/"+gn);return kn?(kn.path=io,X(kn)):io},p.isAbsolute=function(on){return"/"===on.charAt(0)||!!on.match(g)},p.relative=function qe(on,gn){""===on&&(on="."),on=on.replace(/\/$/,"");for(var Un=0;0!==gn.indexOf(on+"/");){var kn=on.lastIndexOf("/");if(kn<0||(on=on.slice(0,kn)).match(/^([^\/]+:\/)?\/*$/))return gn;++Un}return Array(Un+1).join("../")+gn.substr(on.length+1)};var pt=!("__proto__"in Object.create(null));function St(on){return on}function jt(on){if(!on)return!1;var gn=on.length;if(gn<9||95!==on.charCodeAt(gn-1)||95!==on.charCodeAt(gn-2)||111!==on.charCodeAt(gn-3)||116!==on.charCodeAt(gn-4)||111!==on.charCodeAt(gn-5)||114!==on.charCodeAt(gn-6)||112!==on.charCodeAt(gn-7)||95!==on.charCodeAt(gn-8)||95!==on.charCodeAt(gn-9))return!1;for(var Un=gn-10;Un>=0;Un--)if(36!==on.charCodeAt(Un))return!1;return!0}function Sn(on,gn){return on===gn?0:on>gn?1:-1}p.toSetString=pt?St:function Vt(on){return jt(on)?"$"+on:on},p.fromSetString=pt?St:function Ut(on){return jt(on)?on.slice(1):on},p.compareByOriginalPositions=function Qt(on,gn,Un){var kn=on.source-gn.source;return 0!==kn||0!=(kn=on.originalLine-gn.originalLine)||0!=(kn=on.originalColumn-gn.originalColumn)||Un||0!=(kn=on.generatedColumn-gn.generatedColumn)||0!=(kn=on.generatedLine-gn.generatedLine)?kn:on.name-gn.name},p.compareByGeneratedPositionsDeflated=function fn(on,gn,Un){var kn=on.generatedLine-gn.generatedLine;return 0!==kn||0!=(kn=on.generatedColumn-gn.generatedColumn)||Un||0!=(kn=on.source-gn.source)||0!=(kn=on.originalLine-gn.originalLine)||0!=(kn=on.originalColumn-gn.originalColumn)?kn:on.name-gn.name},p.compareByGeneratedPositionsInflated=function Vn(on,gn){var Un=on.generatedLine-gn.generatedLine;return 0!==Un||0!=(Un=on.generatedColumn-gn.generatedColumn)||0!==(Un=Sn(on.source,gn.source))||0!=(Un=on.originalLine-gn.originalLine)||0!=(Un=on.originalColumn-gn.originalColumn)?Un:Sn(on.name,gn.name)}}),_t=Ke(function(T,p){function h(g,C,E,X,_e,xe){var qe=Math.floor((C-g)/2)+g,pt=_e(E,X[qe],!0);return 0===pt?qe:pt>0?C-qe>1?h(qe,C,E,X,_e,xe):xe==p.LEAST_UPPER_BOUND?C1?h(g,qe,E,X,_e,xe):xe==p.LEAST_UPPER_BOUND?qe:g<0?-1:g}p.GREATEST_LOWER_BOUND=1,p.LEAST_UPPER_BOUND=2,p.search=function(C,E,X,_e){if(0===E.length)return-1;var xe=h(-1,E.length,C,E,X,_e||p.GREATEST_LOWER_BOUND);if(xe<0)return-1;for(;xe-1>=0&&0===X(E[xe],E[xe-1],!0);)--xe;return xe}}),tt=Object.prototype.hasOwnProperty;function Je(){this._array=[],this._set=Object.create(null)}Je.fromArray=function(p,h){for(var g=new Je,C=0,E=p.length;C=0&&p=C)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(xe=ut_decode(p.charCodeAt(h++))))throw new Error("Invalid base64 digit: "+p.charAt(h-1));_e=!!(32&xe),E+=(xe&=31)<>1;return 1==(1&T)?-h:h}(E),g.rest=h};function ft(T,p,h){var g=T[p];T[p]=T[h],T[h]=g}function B(T,p,h,g){if(h=0){var X=this._originalMappings[E];if(void 0===p.column)for(var _e=X.originalLine;X&&X.originalLine===_e;)C.push({line:Me.getArg(X,"generatedLine",null),column:Me.getArg(X,"generatedColumn",null),lastColumn:Me.getArg(X,"lastGeneratedColumn",null)}),X=this._originalMappings[++E];else for(var xe=X.originalColumn;X&&X.originalLine===h&&X.originalColumn==xe;)C.push({line:Me.getArg(X,"generatedLine",null),column:Me.getArg(X,"generatedColumn",null),lastColumn:Me.getArg(X,"lastGeneratedColumn",null)}),X=this._originalMappings[++E]}return C};var On=Zt;function zn(T){var p=T;"string"==typeof T&&(p=JSON.parse(T.replace(/^\)\]\}'/,"")));var h=Me.getArg(p,"version"),g=Me.getArg(p,"sources"),C=Me.getArg(p,"names",[]),E=Me.getArg(p,"sourceRoot",null),X=Me.getArg(p,"sourcesContent",null),_e=Me.getArg(p,"mappings"),xe=Me.getArg(p,"file",null);if(h!=this._version)throw new Error("Unsupported version: "+h);g=g.map(String).map(Me.normalize).map(function(qe){return E&&Me.isAbsolute(E)&&Me.isAbsolute(qe)?Me.relative(E,qe):qe}),this._names=yt.fromArray(C.map(String),!0),this._sources=yt.fromArray(g,!0),this.sourceRoot=E,this.sourcesContent=X,this._mappings=_e,this.file=xe}function Wn(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}(zn.prototype=Object.create(Zt.prototype)).consumer=Zt,zn.fromSourceMap=function(p){var h=Object.create(zn.prototype),g=h._names=yt.fromArray(p._names.toArray(),!0),C=h._sources=yt.fromArray(p._sources.toArray(),!0);h.sourceRoot=p._sourceRoot,h.sourcesContent=p._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=p._file;for(var E=p._mappings.toArray().slice(),X=h.__generatedMappings=[],_e=h.__originalMappings=[],xe=0,qe=E.length;xe1&&(Qt.source=_e+Sn[1],_e+=Sn[1],Qt.originalLine=E+Sn[2],E=Qt.originalLine,Qt.originalLine+=1,Qt.originalColumn=X+Sn[3],X=Qt.originalColumn,Sn.length>4&&(Qt.name=xe+Sn[4],xe+=Sn[4])),jt.push(Qt),"number"==typeof Qt.originalLine&&Ut.push(Qt)}Kt(jt,Me.compareByGeneratedPositionsDeflated),this.__generatedMappings=jt,Kt(Ut,Me.compareByOriginalPositions),this.__originalMappings=Ut},zn.prototype._findMapping=function(p,h,g,C,E,X){if(p[g]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+p[g]);if(p[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+p[C]);return _t.search(p,h,E,X)},zn.prototype.computeColumnSpans=function(){for(var p=0;p=0){var C=this._generatedMappings[g];if(C.generatedLine===h.generatedLine){var E=Me.getArg(C,"source",null);null!==E&&(E=this._sources.at(E),null!=this.sourceRoot&&(E=Me.join(this.sourceRoot,E)));var X=Me.getArg(C,"name",null);return null!==X&&(X=this._names.at(X)),{source:E,line:Me.getArg(C,"originalLine",null),column:Me.getArg(C,"originalColumn",null),name:X}}}return{source:null,line:null,column:null,name:null}},zn.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(p){return null==p})},zn.prototype.sourceContentFor=function(p,h){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(p=Me.relative(this.sourceRoot,p)),this._sources.has(p))return this.sourcesContent[this._sources.indexOf(p)];var g;if(null!=this.sourceRoot&&(g=Me.urlParse(this.sourceRoot))){var C=p.replace(/^file:\/\//,"");if("file"==g.scheme&&this._sources.has(C))return this.sourcesContent[this._sources.indexOf(C)];if((!g.path||"/"==g.path)&&this._sources.has("/"+p))return this.sourcesContent[this._sources.indexOf("/"+p)]}if(h)return null;throw new Error('"'+p+'" is not in the SourceMap.')},zn.prototype.generatedPositionFor=function(p){var h=Me.getArg(p,"source");if(null!=this.sourceRoot&&(h=Me.relative(this.sourceRoot,h)),!this._sources.has(h))return{line:null,column:null,lastColumn:null};var g={source:h=this._sources.indexOf(h),originalLine:Me.getArg(p,"line"),originalColumn:Me.getArg(p,"column")},C=this._findMapping(g,this._originalMappings,"originalLine","originalColumn",Me.compareByOriginalPositions,Me.getArg(p,"bias",Zt.GREATEST_LOWER_BOUND));if(C>=0){var E=this._originalMappings[C];if(E.source===g.source)return{line:Me.getArg(E,"generatedLine",null),column:Me.getArg(E,"generatedColumn",null),lastColumn:Me.getArg(E,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var bo=zn;function To(T){var p=T;"string"==typeof T&&(p=JSON.parse(T.replace(/^\)\]\}'/,"")));var h=Me.getArg(p,"version"),g=Me.getArg(p,"sections");if(h!=this._version)throw new Error("Unsupported version: "+h);this._sources=new yt,this._names=new yt;var C={line:-1,column:0};this._sections=g.map(function(E){if(E.url)throw new Error("Support for url field in sections not implemented.");var X=Me.getArg(E,"offset"),_e=Me.getArg(X,"line"),xe=Me.getArg(X,"column");if(_e=200&&Qt.status<300||"file://"===Vt.substr(0,7)&&Qt.responseText?Ut(Qt.responseText):jt(new Error("HTTP status: "+Qt.status+" retrieving "+Vt)))},Qt.send()})}function E(Vt){if(typeof window<"u"&&window.atob)return window.atob(Vt);throw new Error("You must supply a polyfill for window.atob in this environment")}function qe(Vt){if("object"!==vn(Vt))throw new TypeError("Given StackFrame is not an object");if("string"!=typeof Vt.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof Vt.lineNumber||Vt.lineNumber%1!=0||Vt.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof Vt.columnNumber||Vt.columnNumber%1!=0||Vt.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}return function Vt(Ut){if(!(this instanceof Vt))return new Vt(Ut);this.sourceCache=(Ut=Ut||{}).sourceCache||{},this.sourceMapConsumerCache=Ut.sourceMapConsumerCache||{},this.ajax=Ut.ajax||C,this._atob=Ut.atob||E,this._get=function(Qt){return new Promise(function(fn,Sn){var Vn="data:"===Qt.substr(0,5);if(this.sourceCache[Qt])fn(this.sourceCache[Qt]);else if(Ut.offline&&!Vn)Sn(new Error("Cannot make network requests in offline mode"));else if(Vn){var gn=Qt.match(/^data:application\/json;([\w=:"-]+;)*base64,/);if(gn){var kn=Qt.substr(gn[0].length),io=this._atob(kn);this.sourceCache[Qt]=io,fn(io)}else Sn(new Error("The encoding of the inline sourcemap is not supported"))}else{var Po=this.ajax(Qt,{method:"get"});this.sourceCache[Qt]=Po,Po.then(fn,Sn)}}.bind(this))},this._getSourceMapConsumer=function(Qt,fn){return new Promise(function(Sn){if(this.sourceMapConsumerCache[Qt])Sn(this.sourceMapConsumerCache[Qt]);else{var Vn=new Promise(function(on,gn){return this._get(Qt).then(function(Un){"string"==typeof Un&&(Un=function X(Vt){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(Vt);throw new Error("You must supply a polyfill for JSON.parse in this environment")}(Un.replace(/^\)\]\}'/,""))),typeof Un.sourceRoot>"u"&&(Un.sourceRoot=fn),on(new h.SourceMapConsumer(Un))},gn)}.bind(this));this.sourceMapConsumerCache[Qt]=Vn,Sn(Vn)}}.bind(this))},this.pinpoint=function(Qt){return new Promise(function(fn,Sn){this.getMappedLocation(Qt).then(function(Vn){function on(){fn(Vn)}this.findFunctionName(Vn).then(fn,on).catch(on)}.bind(this),Sn)}.bind(this))},this.findFunctionName=function(Qt){return new Promise(function(fn,Sn){qe(Qt),this._get(Qt.fileName).then(function(on){var gn=Qt.lineNumber,Un=Qt.columnNumber,kn=function _e(Vt,Ut){for(var jt=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],Qt=Vt.split("\n"),fn="",Sn=Math.min(Ut,20),Vn=0;Vn=0&&(on=on.substr(0,gn)),on){fn=on+fn;for(var Un=jt.length,kn=0;kn0&&void 0!==arguments[0]?arguments[0]:{}).sourceMaps,X=void 0!==E&&E;return Dn(this,h),$e(we(g=p.call(this,"stackTrace")),"sourceCache_",void 0),$e(we(g),"sourceMaps_",void 0),g.sourceCache_={},g.sourceMaps_=X,g}return It(h,[{key:"beforeSubscribe",value:function(C){var E=this,X=this.getStackFrames_();this.sourceMaps_&&typeof window<"u"&&"file:"!==window.location.protocol?Nn(C,{mappedStackTrace:(0,k.P)(function(){var _e=new Eo({sourceCache:E.sourceCache_});return Promise.all(X.map(function(xe){return _e.pinpoint(xe).catch(function(){return xe})}))}).pipe((0,e.d)(1),Xn()),stackTrace:X}):Nn(C,{mappedStackTrace:(0,s.of)(X).pipe(Xn()),stackTrace:X})}},{key:"teardown",value:function(){this.sourceCache_={}}},{key:"getStackFrames_",value:function(){try{throw new Error}catch(E){var C=!0;return q.parse(E).filter(function(X){var _e=!C;return/coreSubscribe_/.test(X.functionName||"")&&(C=!1),_e})}}}]),h}(Lt),Ai=Symbol("cycleDetected"),wi=Symbol("cycleWarned"),Ri=function(T){Ve(h,T);var p=ce(h);function h(g,C){var E;return Dn(this,h),$e(we(E=p.call(this,"cycle")),"logger_",void 0),$e(we(E),"nexts_",[]),$e(we(E),"spy_",void 0),E.logger_=fe(C),E.spy_=g,E}return It(h,[{key:"afterNext",value:function(C,E){this.nexts_.pop()}},{key:"beforeNext",value:function(C,E){var X=this.logger_,_e=this.nexts_,xe=this.spy_,qe=C.observable,pt=C.subscription;if(-1!==_e.indexOf(C)&&!pt[Ai]&&(pt[Ai]=!0,-1===_e.findIndex(function(jt){return jt.subscription[wi]}))){pt[wi]=!0;var St=oi(C);0===St.length&&xe.warnOnce(console,"Stack tracing is not enabled; add the StackTracePlugin before the CyclePlugin.");var Vt=St.length?"; subscribed at\n".concat(St.join("\n")):"",Ut=Ht(qe);X.warn("Cyclic next detected; type = ".concat(Ut,"; value = ").concat(E).concat(Vt))}_e.push(C)}}]),h}(Lt),Sr=function(T){Ve(h,T);var p=ce(h);function h(g,C){var E;return Dn(this,h),$e(we(E=p.call(this,"debug(".concat(je(g),")"))),"notifications_",void 0),$e(we(E),"matcher_",void 0),E.notifications_=C,E.matcher_=function(X,_e){return Re(X,g)&&-1!==E.notifications_.indexOf(_e)},E}return It(h,[{key:"beforeComplete",value:function(C){(0,this.matcher_)(C,"complete")}},{key:"beforeError",value:function(C,E){(0,this.matcher_)(C,"error")}},{key:"beforeNext",value:function(C,E){(0,this.matcher_)(C,"next")}},{key:"beforeSubscribe",value:function(C){(0,this.matcher_)(C,"subscribe")}},{key:"beforeUnsubscribe",value:function(C){(0,this.matcher_)(C,"unsubscribe")}}]),h}(Lt),Er=Symbol("graphRef");function Mi(T){return T[Er]}var Ki=function(T){Ve(h,T);var p=ce(h);function h(){var g,E=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).keptDuration,X=void 0===E?3e4:E;return Dn(this,h),$e(we(g=p.call(this,"graph")),"flushIntervalId_",void 0),$e(we(g),"flushQueue_",void 0),$e(we(g),"keptDuration_",void 0),$e(we(g),"notifications_",void 0),$e(we(g),"sentinel_",void 0),g.flushIntervalId_=void 0,g.flushQueue_=[],g.keptDuration_=X,g.notifications_=[],g.sentinel_={depth:0,flattened:!1,flattenings:[],flatteningsFlushed:0,link:void 0,rootSink:void 0,sentinel:void 0,sink:void 0,sources:[],sourcesFlushed:0},g.sentinel_.link=g.sentinel_,g.sentinel_.sentinel=g.sentinel_,g}return It(h,[{key:"afterNext",value:function(C,E){this.notifications_.pop()}},{key:"afterSubscribe",value:function(C){this.notifications_.pop()}},{key:"afterUnsubscribe",value:function(C){this.notifications_.pop(),this.flush_(C)}},{key:"beforeNext",value:function(C,E){this.notifications_.push({notification:"next",ref:C})}},{key:"beforeSubscribe",value:function(C){var E=this.notifications_,X=this.sentinel_,_e=function _r(T,p){return T[Er]=p,p}(C,{depth:1,flattened:!1,flattenings:[],flatteningsFlushed:0,link:X,rootSink:void 0,sentinel:X,sink:void 0,sources:[],sourcesFlushed:0}),xe=E.length;if(xe>0&&"next"===E[xe-1].notification){var qe=E[xe-1].ref,pt=Mi(qe);pt.flattenings.push(C),_e.link=pt,_e.flattened=!0,_e.rootSink=pt.rootSink||qe,_e.sink=qe}else for(var St=xe-1;St>-1;--St)if("subscribe"===E[St].notification){var Vt=E[xe-1].ref,Ut=Mi(Vt);Ut.sources.push(C),_e.depth=Ut.depth+1,_e.link=Ut,_e.rootSink=Ut.rootSink||Vt,_e.sink=Vt;break}_e.link===_e.sentinel&&_e.sentinel.sources.push(C),E.push({notification:"subscribe",ref:C})}},{key:"beforeUnsubscribe",value:function(C){this.notifications_.push({notification:"unsubscribe",ref:C})}},{key:"teardown",value:function(){void 0!==this.flushIntervalId_&&(clearInterval(this.flushIntervalId_),this.flushIntervalId_=void 0)}},{key:"flush_",value:function(C){var E=this,X=Mi(C),xe=X.sources;if(C.unsubscribed&&X.flattenings.every(function(Vt){return Vt.unsubscribed})&&xe.every(function(Vt){return Vt.unsubscribed})){var qe=this.keptDuration_,pt=X.link,St=function(){var Ut=pt.flattenings,jt=pt.sources,Qt=Ut.indexOf(C);-1!==Qt&&(Ut.splice(Qt,1),++pt.flatteningsFlushed);var fn=jt.indexOf(C);-1!==fn&&(jt.splice(fn,1),++pt.sourcesFlushed)};0===qe?St():qe>0&&qe<1/0&&(this.flushQueue_.push({due:Date.now()+qe,flush:St}),void 0===this.flushIntervalId_&&(this.flushIntervalId_=setInterval(function(){var Vt=Date.now();E.flushQueue_=E.flushQueue_.filter(function(Ut){return Ut.due>Vt||(Ut.flush(),!1)}),0===E.flushQueue_.length&&(clearInterval(E.flushIntervalId_),E.flushIntervalId_=void 0)},qe)))}}}]),h}(Lt),ur=function(T){Ve(h,T);var p=ce(h);function h(g,C){var E,_e=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).complete,xe=void 0===_e||_e;return Dn(this,h),$e(we(E=p.call(this,"let(".concat(je(g),")"))),"match_",void 0),$e(we(E),"select_",void 0),E.match_=g,E.select_=xe?C:function(qe){return(0,G.T)(P,C(qe))},E}return It(h,[{key:"select",value:function(C){var X=this.select_;if(Re(C,this.match_))return X}}]),h}(Lt),nr=function(T){Ve(h,T);var p=ce(h);function h(g,C){var E;Dn(this,h),$e(we(E=p.call(this,"log(".concat(je(C),")"))),"auditor_",void 0),$e(we(E),"logger_",void 0),$e(we(E),"notificationMatch_",void 0),$e(we(E),"tagMatch_",void 0),E.auditor_=g.auditor,E.tagMatch_=C;var X=/.+/;switch(arguments.length<=2?0:arguments.length-2){case 0:E.notificationMatch_=X,E.logger_=fe(ae);break;case 1:"function"==typeof(arguments.length<=2?void 0:arguments[2])?(E.notificationMatch_=arguments.length<=2?void 0:arguments[2],E.logger_=fe(ae)):(E.notificationMatch_=X,E.logger_=fe(arguments.length<=2?void 0:arguments[2]));break;default:E.notificationMatch_=arguments.length<=2?void 0:arguments[2],E.logger_=fe(arguments.length<=3?void 0:arguments[3])}return E}return It(h,[{key:"beforeComplete",value:function(C){this.log_(C,"complete")}},{key:"beforeError",value:function(C,E){this.log_(C,"error",E)}},{key:"beforeNext",value:function(C,E){this.log_(C,"next",E)}},{key:"beforeSubscribe",value:function(C){this.log_(C,"subscribe")}},{key:"beforeUnsubscribe",value:function(C){this.log_(C,"unsubscribe")}},{key:"log_",value:function(C,E,X){var _e=this,xe=this.auditor_,qe=this.notificationMatch_,pt=this.tagMatch_;Re(C,pt)&&Re(C,qe,E)&&xe.audit(this,function(St){var Vt=_e.logger_,Ut=C.observable,jt=Ct(Ut),Qt=Ht(Ut),fn="string"==typeof pt?"":"; matching ".concat(je(pt)),Sn=0===St?"":"; ignored ".concat(St),Vn=jt?"Tag = ".concat(jt,"; notification = ").concat(E).concat(fn).concat(Sn):"Type = ".concat(Qt,"; notification = ").concat(E).concat(fn).concat(Sn);switch(E){case"error":Vt.error("".concat(Vn,"; error ="),X);break;case"next":Vt.log("".concat(Vn,"; value ="),X);break;default:Vt.log(Vn)}})}}]),h}(Lt),Kn=function(){function T(p){Dn(this,T),$e(this,"teardown",void 0),$e(this,"match_",void 0),$e(this,"paused_",!0),$e(this,"states_",new Map),$e(this,"stats_",void 0),this.match_=p,this.stats_=new w.x}return It(T,[{key:"stats",get:function(){return this.stats_.asObservable()}},{key:"paused",get:function(){return this.paused_}},{key:"clear",value:function(){var h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};this.states_.forEach(function(g){g.notifications_=g.notifications_.filter(function(C){return!h(C)})}),this.broadcast_()}},{key:"log",value:function(){var g=fe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae);g.group("Deck matching ".concat(je(this.match_))),g.log("Paused =",this.paused_),this.states_.forEach(function(C){g.group("Observable; tag = ".concat(C.tag_)),g.log("Notifications =",C.notifications_),g.groupEnd()}),g.groupEnd()}},{key:"pause",value:function(){this.paused_=!0,this.broadcast_()}},{key:"resume",value:function(){this.states_.forEach(function(h){for(;h.notifications_.length>0;)h.subject_.next(h.notifications_.shift())}),this.paused_=!1,this.broadcast_()}},{key:"select",value:function(h){var g=this,C=h.observable;return function(E){var X=g.states_.get(C);return X?X.subscription_.unsubscribe():(X={notifications_:[],subject_:new w.x,subscription_:void 0,tag_:Ct(C)},g.states_.set(C,X)),X.subscription_=E.pipe(function A(){return(0,V.e)((T,p)=>{T.subscribe((0,O.x)(p,h=>{p.next(K.createNext(h))},()=>{p.next(K.createComplete()),p.complete()},h=>{p.next(K.createError(h)),p.complete()}))})}(),Xn()).subscribe({next:function(xe){g.paused_?X.notifications_.push(xe):X.subject_.next(xe),g.broadcast_()}}),g.broadcast_(),X.subject_.asObservable().pipe(function x(){return(0,V.e)((T,p)=>{T.subscribe((0,O.x)(p,h=>N(h,p)))})}())}}},{key:"skip",value:function(){this.states_.forEach(function(h){h.notifications_.length>0&&h.notifications_.shift()}),this.broadcast_()}},{key:"step",value:function(){this.states_.forEach(function(h){h.notifications_.length>0&&h.subject_.next(h.notifications_.shift())}),this.broadcast_()}},{key:"unsubscribe",value:function(){this.states_.forEach(function(h){h.subscription_&&(h.subscription_.unsubscribe(),h.subscription_=void 0)}),this.broadcast_()}},{key:"broadcast_",value:function(){var h=this.paused_,C=this.stats_,E=0;this.states_.forEach(function(X){return E+=X.notifications_.length}),C.next({notifications:E,paused:h})}}]),T}(),xo=function(T){Ve(h,T);var p=ce(h);function h(g){var C;return Dn(this,h),$e(we(C=p.call(this,"pause(".concat(je(g),")"))),"match_",void 0),$e(we(C),"deck_",void 0),C.deck_=new Kn(g),C.match_=g,C}return It(h,[{key:"deck",get:function(){return this.deck_}},{key:"match",get:function(){return this.match_}},{key:"select",value:function(C){var E=this.deck_;if(Re(C,this.match_))return E.select(C)}},{key:"teardown",value:function(){var C=this.deck_;C&&(C.resume(),C.unsubscribe())}}]),h}(Lt),Uo=Symbol("snapshotRef");function ni(T){return T[Uo]}function yo(T){var p=[(0,s.of)(null)];return T.forEach(function(g){g.subscriptions?g.subscriptions.forEach(h):h(g)}),(0,L.D)(p).pipe((0,pe.h)(void 0),Xn());function h(g){p.push(g.mappedStackTrace),g.rootSink&&p.push(g.rootSink.mappedStackTrace)}}var bi=function(T){Ve(h,T);var p=ce(h);function h(g){var C,X=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).keptValues,_e=void 0===X?4:X;return Dn(this,h),$e(we(C=p.call(this,"snapshot")),"keptValues_",void 0),$e(we(C),"sentinel_",void 0),$e(we(C),"spy_",void 0),C.keptValues_=_e,C.sentinel_=void 0,C.spy_=g,C}return It(h,[{key:"afterUnsubscribe",value:function(C){var E=ni(C);E.tick=this.spy_.tick,E.unsubscribed=!0}},{key:"beforeComplete",value:function(C){var E=ni(C);E.tick=this.spy_.tick,E.complete=!0}},{key:"beforeError",value:function(C,E){var X=ni(C);X.tick=this.spy_.tick,X.error=E}},{key:"beforeNext",value:function(C,E){var X=this.spy_.tick,_e=ni(C);_e.tick=X,_e.values.push({tick:X,timestamp:Date.now(),value:E});var qe=_e.values.length-this.keptValues_;qe>0&&(_e.values.splice(0,qe),_e.valuesFlushed+=qe)}},{key:"beforeSubscribe",value:function(C){!function Xo(T,p){T[Uo]=p}(C,{complete:!1,error:void 0,tick:this.spy_.tick,timestamp:Date.now(),unsubscribed:!1,values:[],valuesFlushed:0});var E=Mi(C);E?this.sentinel_=E.sentinel:this.spy_.warnOnce(console,"Graphing is not enabled; add the GraphPlugin before the SnapshotPlugin.")}},{key:"snapshotAll",value:function(){var E=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).since,X=new Map,_e=new Map,xe=new Map,qe=this.getSubscriptionRefs_();return qe.forEach(function(pt,St){var Vt,Ut=St.observable,jt=St.subscriber,Qt=St.subscription,fn=Mi(St),Sn=fn.flatteningsFlushed,Vn=fn.sourcesFlushed,on=ni(St),kn=on.tick,io=on.timestamp,Po=on.unsubscribed,fi=on.values,Ii=on.valuesFlushed,cs={complete:on.complete,error:on.error,flattenings:new Map,flatteningsFlushed:Sn,id:Dt(St),mappedStackTrace:ui(St),observable:Ut,rootSink:void 0,sink:void 0,sources:new Map,sourcesFlushed:Vn,stackTrace:oi(St),subscriber:jt,subscription:Qt,tick:kn,timestamp:io,unsubscribed:Po};xe.set(Qt,cs);var Wi=_e.get(jt);Wi||(Wi={id:Dt(jt),subscriber:jt,subscriptions:new Map,tick:kn,values:[],valuesFlushed:0},_e.set(jt,Wi)),Wi.subscriptions.set(Qt,cs),Wi.tick=Math.max(Wi.tick,kn),(Vt=Wi.values).push.apply(Vt,Ge(fi)),Wi.valuesFlushed+=Ii;var er=X.get(Ut);er||(er={id:Dt(Ut),observable:Ut,path:Et(Ut),subscriptions:new Map,tag:Ct(Ut),tick:kn,type:Ht(Ut)},X.set(Ut,er)),er.subscriptions.set(Qt,cs),er.tick=Math.max(er.tick,kn)}),qe.forEach(function(pt,St){var Vt=Mi(St),Ut=xe.get(St.subscription);Vt.sink&&(Ut.sink=xe.get(Vt.sink.subscription)),Vt.rootSink&&(Ut.rootSink=xe.get(Vt.rootSink.subscription)),Vt.flattenings.forEach(function(jt){return Ut.flattenings.set(jt.subscription,xe.get(jt.subscription))}),Vt.sources.forEach(function(jt){return Ut.sources.set(jt.subscription,xe.get(jt.subscription))})}),_e.forEach(function(pt){pt.values.sort(function(St,Vt){return St.tick-Vt.tick})}),void 0!==E&&(X.forEach(function(pt,St){pt.tick<=E.tick&&X.delete(St)}),_e.forEach(function(pt,St){pt.tick<=E.tick&&_e.delete(St)}),xe.forEach(function(pt,St){pt.tick<=E.tick&&xe.delete(St)})),{mapStackTraces:yo,observables:X,subscribers:_e,subscriptions:xe,tick:this.spy_.tick}}},{key:"snapshotObservable",value:function(C){return this.snapshotAll().observables.get(C.observable)}},{key:"snapshotSubscriber",value:function(C){return this.snapshotAll().subscribers.get(C.subscriber)}},{key:"addSubscriptionRefs_",value:function(C,E){var X=this;E.set(C,!0);var _e=Mi(C);_e.flattenings.forEach(function(xe){return X.addSubscriptionRefs_(xe,E)}),_e.sources.forEach(function(xe){return X.addSubscriptionRefs_(xe,E)})}},{key:"getSubscriptionRefs_",value:function(){var C=this,E=this.sentinel_,X=new Map;return E&&E.sources.forEach(function(_e){return C.addSubscriptionRefs_(_e,X)}),X}}]),h}(Lt),Si=function(T){Ve(h,T);var p=ce(h);function h(g){var C;return Dn(this,h),$e(we(C=p.call(this,"stats")),"spy_",void 0),$e(we(C),"stats_",void 0),$e(we(C),"time_",void 0),C.spy_=g,C.stats_={completes:0,errors:0,flattenedSubscribes:0,leafSubscribes:0,maxDepth:0,nexts:0,rootSubscribes:0,subscribes:0,tick:0,timespan:0,totalDepth:0,unsubscribes:0},C.time_=0,C}return It(h,[{key:"afterSubscribe",value:function(C){var E=this.stats_,X=Mi(C);if(X){var _e=X.depth,xe=X.flattened,qe=X.flattenings,pt=X.flatteningsFlushed,Vt=X.sources,Ut=X.sourcesFlushed;X.rootSink||(E.rootSubscribes+=1),xe&&(E.flattenedSubscribes+=1),qe.length+pt+Vt.length+Ut===0&&(E.maxDepth<_e&&(E.maxDepth=_e),E.leafSubscribes+=1,E.totalDepth+=_e)}}},{key:"beforeComplete",value:function(C){++this.stats_.completes,this.all_()}},{key:"beforeError",value:function(C,E){++this.stats_.errors,this.all_()}},{key:"beforeNext",value:function(C,E){++this.stats_.nexts,this.all_()}},{key:"beforeSubscribe",value:function(C){++this.stats_.subscribes,this.all_()}},{key:"beforeUnsubscribe",value:function(C){++this.stats_.unsubscribes,this.all_()}},{key:"stats",get:function(){return function qt(T){for(var p=1;p0&&(this.timeoutId_=setTimeout(function(){for(var X=Date.now()-g;C.length>0&&C[0].timestamp<=X;){var _e=C.shift();_e.task(_e.ignored)}h.timeoutId_=void 0,h.wait_()},Math.max(0,C[0].timestamp+g-Date.now())))}}]),T}(),Qi=function(){function T(p){Dn(this,T),$e(this,"detectorRecords_",void 0),$e(this,"snapshotPlugin_",void 0),$e(this,"spy_",void 0),this.detectorRecords_=new Map,this.snapshotPlugin_=p.find(bi),this.spy_=p}return It(T,[{key:"detect",value:function(h){var g=this.detectorRecords_,C=this.snapshotPlugin_,E=this.spy_;if(C){var X=g.get(h),_e=this.record_(C.snapshotAll());if(X?X.snapshotRecords.push(_e):g.set(h,X={snapshotRecords:[_e]}),X.snapshotRecords.length>2&&X.snapshotRecords.shift(),!(X.snapshotRecords.length<2)){var xe=function De(T,p){return function rn(T){if(Array.isArray(T))return T}(T)||function st(T,p){var h=T&&(typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"]);if(null!=h){var X,_e,g=[],C=!0,E=!1;try{for(h=h.call(T);!(C=(X=h.next()).done)&&(g.push(X.value),!p||g.length!==p);C=!0);}catch(xe){E=!0,_e=xe}finally{try{!C&&null!=h.return&&h.return()}finally{if(E)throw _e}}return g}}(T,p)||it(T,p)||function Ot(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(X.snapshotRecords,2);return this.compare_(h,xe[0],xe[1])}}else E.warnOnce(console,"Snapshotting is not enabled.")}},{key:"compare_",value:function(h,g,C){var E=[],X=[],_e=[],xe=[],qe=g.rootSubscriptions,pt=C.rootSubscriptions;if(qe.forEach(function(St,Vt){pt.has(Vt)||X.push(St)}),pt.forEach(function(St,Vt){var Ut=qe.get(Vt);if(Ut){var jt=Ut.flattenings,Qt=St.flattenings;jt.forEach(function(fn,Sn){Qt.has(Sn)||xe.push(fn)}),Qt.forEach(function(fn,Sn){jt.has(Sn)||_e.push(fn)})}else E.push(St)}),0!==_e.length||0!==xe.length||0!==E.length||0!==X.length)return{flatteningSubscriptions:_e,flatteningUnsubscriptions:xe,subscriptions:E.map(function(St){return St.subscriptionSnapshot}),unsubscriptions:X.map(function(St){return St.subscriptionSnapshot})}}},{key:"findFlatteningSubscriptions_",value:function(h,g){var C=g.flattenings,E=g.subscriptionSnapshot;h.subscriptions.forEach(function(X){X.rootSink===E&&X.flattenings.forEach(function(_e){var xe=_e.subscription;xe.closed||C.set(xe,_e)})})}},{key:"findRootSubscriptions_",value:function(h,g){var C=this;h.observables.forEach(function(E){E.subscriptions.forEach(function(X){var pt=X.subscription;if(!(X.complete||X.error||X.sink||pt.closed)){var St={flattenings:new Map,subscriptionSnapshot:X};C.findFlatteningSubscriptions_(h,St),g.set(pt,St)}})})}},{key:"record_",value:function(h){var g=new Map;return this.findRootSubscriptions_(h,g),{rootSubscriptions:g,snapshot:h}}}]),T}();var ao=v.y.prototype.subscribe,Ue={},re=function(){function T(){var p=this,h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Dn(this,T),$e(this,"auditor_",void 0),$e(this,"defaultLogger_",void 0),$e(this,"maxLogged_",20),$e(this,"plugins_",void 0),$e(this,"pluginsSubject_",void 0),$e(this,"teardown_",void 0),$e(this,"tick_",void 0),$e(this,"undos_",void 0),$e(this,"warned_",void 0),T.spy_)throw new Error("Already spying on Observable.prototype.subscribe.");h.warning&&console.warn("Spying on Observable.prototype.subscribe."),T.spy_=this,v.y.prototype.subscribe=T.coreSubscribe_,this.auditor_=new yr(h.audit||0),this.defaultLogger_=h.defaultLogger||ae,this.plugins_=!1===h.defaultPlugins?[]:[new Oi(h),new Ki(h),new bi(this,h),new Ri(this,this.defaultLogger_),new Si(this)],this.pluginsSubject_=new Y.X(this.plugins_),this.tick_=0,this.undos_=[],this.warned_={};var g=new Qi(this);Q(function(C){return p.detect_(C,g)}),typeof window<"u"&&[h.global||"spy","rxSpy"].forEach(function(C){window.hasOwnProperty(C)&&(p.defaultLogger_.log("Overwriting window.".concat(C)),Ue[C]=window[C]),window[C]=function jn(T){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return{deck:function(g){p();var C=T.findAll(xo);if(void 0!==g){var X=C[g-1];return X?X.deck:void 0}var E=fe(ae);E.group("".concat(C.length," Deck(s)")),C.forEach(function(_e,xe){return E.log("".concat(xe+1," pause(").concat(_e.name,")"))}),E.groupEnd()},debug:function(){p();for(var g=arguments.length,C=new Array(g),E=0;E0&&void 0!==arguments[0]?arguments[0]:"";p(),function ve(T){W(T)}(g)},flush:function(){p(),T.flush()},inferPath:Et,inferType:Ht,let:function(){p();for(var g=arguments.length,C=new Array(g),E=0;E1?g-1:0),E=1;Ept?qe.length-pt:0;St&&qe.splice(pt,St),xe.group("".concat(qe.length+St," snapshot(s) found"));var Vt=qe.length>3?"groupCollapsed":"group";qe.forEach(function(Ut){var jt=Ut.observable;xe[Vt].call(xe,jt.tag?"Tag = ".concat(jt.tag):"Type = ".concat(jt.type)),xe.log("Path =",jt.path);var Qt=Ut.subs,fn=Ut.subs.length>3?"groupCollapsed":"group";xe.group("".concat(Qt.length," subscriber(s)")),Qt.forEach(function(Sn){var Vn=Sn.subscription,on=Sn.subscriber,gn=on.values,Un=on.valuesFlushed;xe[fn].call(xe,"Subscriber"),xe.log("Value count =",gn.length+Un),gn.length>0&&xe.log("Last value =",gn[gn.length-1].value),Qe(xe,Vn),Array.from(on.subscriptions.values()).filter(function(io){return io!==Vn}).forEach(function(io){xe.groupCollapsed("Other subscription"),Qe(xe,io),xe.groupEnd()}),xe.groupEnd()}),xe.groupEnd(),xe.groupEnd()}),St&&xe.log("... another ".concat(St," snapshot(s) not logged.")),xe.groupEnd()})}else this.warnOnce(console,"Snapshotting is not enabled.")}},{key:"show",value:function(h,g){var C=/.+/;h?"function"==typeof h.log&&(g=h,h=C):h=C;var E=this.find(bi);if(E){var X=E.snapshotAll(),_e=Array.from(X.observables.values()).filter(function(St){return Re(St.observable,h)}),xe=fe(g||this.defaultLogger_),qe=this.maxLogged_,pt=_e.length>qe?_e.length-qe:0;pt&&_e.splice(qe,pt),X.mapStackTraces(_e).subscribe(function(){xe.group("".concat(_e.length+pt," snapshot(s) matching ").concat(je(h)));var St=_e.length>3?"groupCollapsed":"group";_e.forEach(function(Vt){xe[St].call(xe,Vt.tag?"Tag = ".concat(Vt.tag):"Type = ".concat(Vt.type)),xe.log("Path =",Vt.path);var Ut=Vt.subscriptions,jt=Ut.size>3?"groupCollapsed":"group";xe.group("".concat(Ut.size," subscriber(s)")),Ut.forEach(function(Qt){var fn=X.subscribers.get(Qt.subscriber);if(fn){var Sn=fn.values,Vn=fn.valuesFlushed;xe[jt].call(xe,"Subscriber"),xe.log("Value count =",Sn.length+Vn),Sn.length>0&&xe.log("Last value =",Sn[Sn.length-1].value),Qe(xe,Qt),Array.from(fn.subscriptions.values()).filter(function(gn){return gn!==Qt}).forEach(function(gn){xe.groupCollapsed("Other subscription"),Qe(xe,gn),xe.groupEnd()}),xe.groupEnd()}else xe.warn("Cannot find subscriber snapshot")}),xe.groupEnd(),xe.groupEnd()}),pt&&xe.log("... another ".concat(pt," snapshot(s) not logged.")),xe.groupEnd()})}else this.warnOnce(console,"Snapshotting is not enabled.")}},{key:"stats",value:function(h){var g=this.find(Si);if(g){var C=g.stats,E=C.leafSubscribes,X=C.maxDepth,_e=C.flattenedSubscribes,xe=C.rootSubscribes,qe=C.totalDepth,pt=fe(h||this.defaultLogger_);pt.group("Stats"),pt.log("Subscribes =",C.subscribes),xe>0&&pt.log("Root subscribes =",xe),E>0&&pt.log("Leaf subscribes =",E),_e>0&&pt.log("Flattened subscribes =",_e),pt.log("Unsubscribes =",C.unsubscribes),pt.log("Nexts =",C.nexts),pt.log("Errors =",C.errors),pt.log("Completes =",C.completes),X>0&&(pt.log("Max. depth =",X),pt.log("Avg. depth =",(qe/E).toFixed(1))),pt.log("Tick =",C.tick),pt.log("Timespan =",C.timespan),pt.groupEnd()}else this.warnOnce(console,"Stats are not enabled.")}},{key:"teardown",value:function(){this.teardown_&&(this.teardown_(),this.teardown_=void 0)}},{key:"unplug",value:function(){for(var h=this,g=arguments.length,C=new Array(g),E=0;E2?C-2:0),X=2;X2?E-2:0),_e=2;_e0){this.preSelectSubject||(this.preSelectSubject=new w.x),this.postSelectSubscription&&this.postSelectSubscription.unsubscribe();var fn=this.preSelectSubject.asObservable();Qt.forEach(function(Sn){return fn=Sn(fn)}),this.postSelectSubscription=fn.pipe(Xn()).subscribe(St)}else this.postSelectSubscription&&(this.postSelectSubscription.unsubscribe(),this.postSelectSubscription=void 0,this.preSelectSubject=void 0)},next:function(jt){this.preSelectSubject?this.preSelectSubject.next(jt):this.postSelectObserver.next(jt)},postSelectObserver:St,postSelectSubscription:void 0,preSelectSubject:void 0,unsubscribe:function(){this.unsubscribed||(this.unsubscribed=!0,!this.completed&&!this.errored&&this.postSelectSubscription&&(this.postSelectSubscription.unsubscribe(),this.postSelectSubscription=void 0))},unsubscribed:!1};return xe.add(g.pluginsSubject_.pipe(Xn()).subscribe({next:function(jt){return Vt.let(jt)}})),_e(function(Ut){return Ut.beforeSubscribe(qe)},function(){xe.add(ao.call(h,Vt)),xe.add(function(){return Vt.unsubscribe()})},function(Ut){return Ut.afterSubscribe(qe)}),xe}}]),T}();function Qe(T,p){var g=p.error,C=p.unsubscribed;T.log("State =",p.complete?"complete":g?"error":"incomplete"),g&&T.error("Error =",g),C&&T.log("Unsubscribed =",!0),function Oe(T,p){var g=p.rootSink;(g?g.mappedStackTrace:p.mappedStackTrace).subscribe(function(E){return T.log("Root subscribe",E)})}(T,p)}$e(re,"spy_",void 0);var hn=a(6814);const Jt=void 0,Rn=["en",[["a","p"],["AM","PM"],Jt],[["AM","PM"],Jt,Jt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Jt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Jt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Jt,"{1} 'at' {0}",Jt],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function yn(T){const h=Math.floor(Math.abs(T)),g=T.toString().replace(/^[^.]*\.?/,"").length;return 1===h&&0===g?1:5}];var Mn=a(9862),dn=a(6825);function Gn(T){return new i.vHH(3e3,!1)}function Ni(T){switch(T.length){case 0:return new dn.ZN;case 1:return T[0];default:return new dn.ZE(T)}}function Cr(T,p,h=new Map,g=new Map){const C=[],E=[];let X=-1,_e=null;if(p.forEach(xe=>{const qe=xe.get("offset"),pt=qe==X,St=pt&&_e||new Map;xe.forEach((Vt,Ut)=>{let jt=Ut,Qt=Vt;if("offset"!==Ut)switch(jt=T.normalizePropertyName(jt,C),Qt){case dn.k1:Qt=h.get(Ut);break;case dn.l3:Qt=g.get(Ut);break;default:Qt=T.normalizeStyleValue(Ut,jt,Qt,C)}St.set(jt,Qt)}),pt||E.push(St),_e=St,X=qe}),C.length)throw function Le(T){return new i.vHH(3502,!1)}();return E}function os(T,p,h,g){switch(p){case"start":T.onStart(()=>g(h&&Ee(h,"start",T)));break;case"done":T.onDone(()=>g(h&&Ee(h,"done",T)));break;case"destroy":T.onDestroy(()=>g(h&&Ee(h,"destroy",T)))}}function Ee(T,p,h){const E=Ce(T.element,T.triggerName,T.fromState,T.toState,p||T.phaseName,h.totalTime??T.totalTime,!!h.disabled),X=T._data;return null!=X&&(E._data=X),E}function Ce(T,p,h,g,C="",E=0,X){return{element:T,triggerName:p,fromState:h,toState:g,phaseName:C,totalTime:E,disabled:!!X}}function he(T,p,h){let g=T.get(p);return g||T.set(p,g=h),g}function ct(T){const p=T.indexOf(":");return[T.substring(1,p),T.slice(p+1)]}const Cn=(()=>typeof document>"u"?null:document.documentElement)();function Qn(T){const p=T.parentNode||T.host||null;return p===Cn?null:p}let hi=null,kr=!1;function Ys(T,p){for(;p;){if(p===T)return!0;p=Qn(p)}return!1}function zr(T,p,h){if(h)return Array.from(T.querySelectorAll(p));const g=T.querySelector(p);return g?[g]:[]}let Jr=(()=>{class T{validateStyleProperty(h){return function xs(T){hi||(hi=function Hs(){return typeof document<"u"?document.body:null}()||{},kr=!!hi.style&&"WebkitAppearance"in hi.style);let p=!0;return hi.style&&!function _i(T){return"ebkit"==T.substring(1,6)}(T)&&(p=T in hi.style,!p&&kr&&(p="Webkit"+T.charAt(0).toUpperCase()+T.slice(1)in hi.style)),p}(h)}matchesElement(h,g){return!1}containsElement(h,g){return Ys(h,g)}getParentElement(h){return Qn(h)}query(h,g,C){return zr(h,g,C)}computeStyle(h,g,C){return C||""}animate(h,g,C,E,X,_e=[],xe){return new dn.ZN(C,E)}}return T.\u0275fac=function(h){return new(h||T)},T.\u0275prov=i.Yz7({token:T,factory:T.\u0275fac}),T})(),Rr=(()=>{class T{}return T.NOOP=new Jr,T})();const or=1e3,pr="ng-enter",Ds="ng-leave",Vr="ng-trigger",xr=".ng-trigger",qr="ng-animating",$s=".ng-animating";function Br(T){if("number"==typeof T)return T;const p=T.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:ds(parseFloat(p[1]),p[2])}function ds(T,p){return"s"===p?T*or:T}function hr(T,p,h){return T.hasOwnProperty("duration")?T:function oc(T,p,h){let C,E=0,X="";if("string"==typeof T){const _e=T.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===_e)return p.push(Gn()),{duration:0,delay:0,easing:""};C=ds(parseFloat(_e[1]),_e[2]);const xe=_e[3];null!=xe&&(E=ds(parseFloat(xe),_e[4]));const qe=_e[5];qe&&(X=qe)}else C=T;if(!h){let _e=!1,xe=p.length;C<0&&(p.push(function Fn(){return new i.vHH(3100,!1)}()),_e=!0),E<0&&(p.push(function Bn(){return new i.vHH(3101,!1)}()),_e=!0),_e&&p.splice(xe,0,Gn())}return{duration:C,delay:E,easing:X}}(T,p,h)}function Dr(T,p={}){return Object.keys(T).forEach(h=>{p[h]=T[h]}),p}function Ca(T){const p=new Map;return Object.keys(T).forEach(h=>{p.set(h,T[h])}),p}function Or(T,p=new Map,h){if(h)for(let[g,C]of h)p.set(g,C);for(let[g,C]of T)p.set(g,C);return p}function ir(T,p,h){p.forEach((g,C)=>{const E=Gs(C);h&&!h.has(C)&&h.set(C,T.style[E]),T.style[E]=g})}function is(T,p){p.forEach((h,g)=>{const C=Gs(g);T.style[C]=""})}function Hr(T){return Array.isArray(T)?1==T.length?T[0]:(0,dn.vP)(T):T}const hs=new RegExp("{{\\s*(.+?)\\s*}}","g");function Us(T){let p=[];if("string"==typeof T){let h;for(;h=hs.exec(T);)p.push(h[1]);hs.lastIndex=0}return p}function Os(T,p,h){const g=T.toString(),C=g.replace(hs,(E,X)=>{let _e=p[X];return null==_e&&(h.push(function ho(T){return new i.vHH(3003,!1)}()),_e=""),_e.toString()});return C==g?T:C}function ws(T){const p=[];let h=T.next();for(;!h.done;)p.push(h.value),h=T.next();return p}const za=/-+([a-z0-9])/g;function Gs(T){return T.replace(za,(...p)=>p[1].toUpperCase())}function Li(T,p,h){switch(p.type){case 7:return T.visitTrigger(p,h);case 0:return T.visitState(p,h);case 1:return T.visitTransition(p,h);case 2:return T.visitSequence(p,h);case 3:return T.visitGroup(p,h);case 4:return T.visitAnimate(p,h);case 5:return T.visitKeyframes(p,h);case 6:return T.visitStyle(p,h);case 8:return T.visitReference(p,h);case 9:return T.visitAnimateChild(p,h);case 10:return T.visitAnimateRef(p,h);case 11:return T.visitQuery(p,h);case 12:return T.visitStagger(p,h);default:throw function eo(T){return new i.vHH(3004,!1)}()}}function Ws(T,p){return window.getComputedStyle(T)[p]}const Pt="*";function pn(T,p){const h=[];return"string"==typeof T?T.split(/\s*,\s*/).forEach(g=>function Tn(T,p,h){if(":"==T[0]){const xe=function to(T,p){switch(T){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,g)=>parseFloat(g)>parseFloat(h);case":decrement":return(h,g)=>parseFloat(g) *"}}(T,h);if("function"==typeof xe)return void p.push(xe);T=xe}const g=T.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return h.push(function mi(T){return new i.vHH(3015,!1)}()),p;const C=g[1],E=g[2],X=g[3];p.push(Vo(C,X));"<"==E[0]&&!(C==Pt&&X==Pt)&&p.push(Vo(X,C))}(g,h,p)):h.push(T),h}const Qo=new Set(["true","1"]),fo=new Set(["false","0"]);function Vo(T,p){const h=Qo.has(T)||fo.has(T),g=Qo.has(p)||fo.has(p);return(C,E)=>{let X=T==Pt||T==C,_e=p==Pt||p==E;return!X&&h&&"boolean"==typeof C&&(X=C?Qo.has(T):fo.has(T)),!_e&&g&&"boolean"==typeof E&&(_e=E?Qo.has(p):fo.has(p)),X&&_e}}const ci=new RegExp("s*:selfs*,?","g");function Wo(T,p,h,g){return new zi(T).build(p,h,g)}class zi{constructor(p){this._driver=p}build(p,h,g){const C=new rr(h);return this._resetContextStyleTimingState(C),Li(this,Hr(p),C)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,h){let g=h.queryCount=0,C=h.depCount=0;const E=[],X=[];return"@"==p.name.charAt(0)&&h.errors.push(function Oo(){return new i.vHH(3006,!1)}()),p.definitions.forEach(_e=>{if(this._resetContextStyleTimingState(h),0==_e.type){const xe=_e,qe=xe.name;qe.toString().split(/\s*,\s*/).forEach(pt=>{xe.name=pt,E.push(this.visitState(xe,h))}),xe.name=qe}else if(1==_e.type){const xe=this.visitTransition(_e,h);g+=xe.queryCount,C+=xe.depCount,X.push(xe)}else h.errors.push(function Jn(){return new i.vHH(3007,!1)}())}),{type:7,name:p.name,states:E,transitions:X,queryCount:g,depCount:C,options:null}}visitState(p,h){const g=this.visitStyle(p.styles,h),C=p.options&&p.options.params||null;if(g.containsDynamicStyles){const E=new Set,X=C||{};g.styles.forEach(_e=>{_e instanceof Map&&_e.forEach(xe=>{Us(xe).forEach(qe=>{X.hasOwnProperty(qe)||E.add(qe)})})}),E.size&&(ws(E.values()),h.errors.push(function So(T,p){return new i.vHH(3008,!1)}()))}return{type:0,name:p.name,style:g,options:C?{params:C}:null}}visitTransition(p,h){h.queryCount=0,h.depCount=0;const g=Li(this,Hr(p.animation),h);return{type:1,matchers:pn(p.expr,h.errors),animation:g,queryCount:h.queryCount,depCount:h.depCount,options:sr(p.options)}}visitSequence(p,h){return{type:2,steps:p.steps.map(g=>Li(this,g,h)),options:sr(p.options)}}visitGroup(p,h){const g=h.currentTime;let C=0;const E=p.steps.map(X=>{h.currentTime=g;const _e=Li(this,X,h);return C=Math.max(C,h.currentTime),_e});return h.currentTime=C,{type:3,steps:E,options:sr(p.options)}}visitAnimate(p,h){const g=function wr(T,p){if(T.hasOwnProperty("duration"))return T;if("number"==typeof T)return Ta(hr(T,p).duration,0,"");const h=T;if(h.split(/\s+/).some(E=>"{"==E.charAt(0)&&"{"==E.charAt(1))){const E=Ta(0,0,"");return E.dynamic=!0,E.strValue=h,E}const C=hr(h,p);return Ta(C.duration,C.delay,C.easing)}(p.timings,h.errors);h.currentAnimateTimings=g;let C,E=p.styles?p.styles:(0,dn.oB)({});if(5==E.type)C=this.visitKeyframes(E,h);else{let X=p.styles,_e=!1;if(!X){_e=!0;const qe={};g.easing&&(qe.easing=g.easing),X=(0,dn.oB)(qe)}h.currentTime+=g.duration+g.delay;const xe=this.visitStyle(X,h);xe.isEmptyStep=_e,C=xe}return h.currentAnimateTimings=null,{type:4,timings:g,style:C,options:null}}visitStyle(p,h){const g=this._makeStyleAst(p,h);return this._validateStyleAst(g,h),g}_makeStyleAst(p,h){const g=[],C=Array.isArray(p.styles)?p.styles:[p.styles];for(let _e of C)"string"==typeof _e?_e===dn.l3?g.push(_e):h.errors.push(new i.vHH(3002,!1)):g.push(Ca(_e));let E=!1,X=null;return g.forEach(_e=>{if(_e instanceof Map&&(_e.has("easing")&&(X=_e.get("easing"),_e.delete("easing")),!E))for(let xe of _e.values())if(xe.toString().indexOf("{{")>=0){E=!0;break}}),{type:6,styles:g,easing:X,offset:p.offset,containsDynamicStyles:E,options:null}}_validateStyleAst(p,h){const g=h.currentAnimateTimings;let C=h.currentTime,E=h.currentTime;g&&E>0&&(E-=g.duration+g.delay),p.styles.forEach(X=>{"string"!=typeof X&&X.forEach((_e,xe)=>{const qe=h.collectedStyles.get(h.currentQuerySelector),pt=qe.get(xe);let St=!0;pt&&(E!=C&&E>=pt.startTime&&C<=pt.endTime&&(h.errors.push(function Co(T,p,h,g,C){return new i.vHH(3010,!1)}()),St=!1),E=pt.startTime),St&&qe.set(xe,{startTime:E,endTime:C}),h.options&&function ps(T,p,h){const g=p.params||{},C=Us(T);C.length&&C.forEach(E=>{g.hasOwnProperty(E)||h.push(function Ln(T){return new i.vHH(3001,!1)}())})}(_e,h.options,h.errors)})})}visitKeyframes(p,h){const g={type:5,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push(function di(){return new i.vHH(3011,!1)}()),g;let E=0;const X=[];let _e=!1,xe=!1,qe=0;const pt=p.steps.map(Sn=>{const Vn=this._makeStyleAst(Sn,h);let on=null!=Vn.offset?Vn.offset:function $r(T){if("string"==typeof T)return null;let p=null;if(Array.isArray(T))T.forEach(h=>{if(h instanceof Map&&h.has("offset")){const g=h;p=parseFloat(g.get("offset")),g.delete("offset")}});else if(T instanceof Map&&T.has("offset")){const h=T;p=parseFloat(h.get("offset")),h.delete("offset")}return p}(Vn.styles),gn=0;return null!=on&&(E++,gn=Vn.offset=on),xe=xe||gn<0||gn>1,_e=_e||gn0&&E{const on=Vt>0?Vn==Ut?1:Vt*Vn:X[Vn],gn=on*fn;h.currentTime=jt+Qt.delay+gn,Qt.duration=gn,this._validateStyleAst(Sn,h),Sn.offset=on,g.styles.push(Sn)}),g}visitReference(p,h){return{type:8,animation:Li(this,Hr(p.animation),h),options:sr(p.options)}}visitAnimateChild(p,h){return h.depCount++,{type:9,options:sr(p.options)}}visitAnimateRef(p,h){return{type:10,animation:this.visitReference(p.animation,h),options:sr(p.options)}}visitQuery(p,h){const g=h.currentQuerySelector,C=p.options||{};h.queryCount++,h.currentQuery=p;const[E,X]=function ro(T){const p=!!T.split(/\s*,\s*/).find(h=>":self"==h);return p&&(T=T.replace(ci,"")),T=T.replace(/@\*/g,xr).replace(/@\w+/g,h=>xr+"-"+h.slice(1)).replace(/:animating/g,$s),[T,p]}(p.selector);h.currentQuerySelector=g.length?g+" "+E:E,he(h.collectedStyles,h.currentQuerySelector,new Map);const _e=Li(this,Hr(p.animation),h);return h.currentQuery=null,h.currentQuerySelector=g,{type:11,selector:E,limit:C.limit||0,optional:!!C.optional,includeSelf:X,animation:_e,originalSelector:p.selector,options:sr(p.options)}}visitStagger(p,h){h.currentQuery||h.errors.push(function Hi(){return new i.vHH(3013,!1)}());const g="full"===p.timings?{duration:0,delay:0,easing:"full"}:hr(p.timings,h.errors,!0);return{type:12,animation:Li(this,Hr(p.animation),h),timings:g,options:null}}}class rr{constructor(p){this.errors=p,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 sr(T){return T?(T=Dr(T)).params&&(T.params=function fr(T){return T?Dr(T):null}(T.params)):T={},T}function Ta(T,p,h){return{duration:T,delay:p,easing:h}}function Pr(T,p,h,g,C,E,X=null,_e=!1){return{type:1,element:T,keyframes:p,preStyleProps:h,postStyleProps:g,duration:C,delay:E,totalTime:C+E,easing:X,subTimeline:_e}}class fs{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,h){let g=this._map.get(p);g||this._map.set(p,g=[]),g.push(...h)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const sc=new RegExp(":enter","g"),wn=new RegExp(":leave","g");function Bo(T,p,h,g,C,E=new Map,X=new Map,_e,xe,qe=[]){return(new $c).buildKeyframes(T,p,h,g,C,E,X,_e,xe,qe)}class $c{buildKeyframes(p,h,g,C,E,X,_e,xe,qe,pt=[]){qe=qe||new fs;const St=new Ei(p,h,qe,C,E,pt,[]);St.options=xe;const Vt=xe.delay?Br(xe.delay):0;St.currentTimeline.delayNextStep(Vt),St.currentTimeline.setStyles([X],null,St.errors,xe),Li(this,g,St);const Ut=St.timelines.filter(jt=>jt.containsAnimation());if(Ut.length&&_e.size){let jt;for(let Qt=Ut.length-1;Qt>=0;Qt--){const fn=Ut[Qt];if(fn.element===h){jt=fn;break}}jt&&!jt.allowOnlyTimelineStyles()&&jt.setStyles([_e],null,St.errors,xe)}return Ut.length?Ut.map(jt=>jt.buildKeyframes()):[Pr(h,[],[],[],0,Vt,"",!1)]}visitTrigger(p,h){}visitState(p,h){}visitTransition(p,h){}visitAnimateChild(p,h){const g=h.subInstructions.get(h.element);if(g){const C=h.createSubContext(p.options),E=h.currentTimeline.currentTime,X=this._visitSubInstructions(g,C,C.options);E!=X&&h.transformIntoNewTimeline(X)}h.previousNode=p}visitAnimateRef(p,h){const g=h.createSubContext(p.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],h,g),this.visitReference(p.animation,g),h.transformIntoNewTimeline(g.currentTimeline.currentTime),h.previousNode=p}_applyAnimationRefDelays(p,h,g){for(const C of p){const E=C?.delay;if(E){const X="number"==typeof E?E:Br(Os(E,C?.params??{},h.errors));g.delayNextStep(X)}}}_visitSubInstructions(p,h,g){let E=h.currentTimeline.currentTime;const X=null!=g.duration?Br(g.duration):null,_e=null!=g.delay?Br(g.delay):null;return 0!==X&&p.forEach(xe=>{const qe=h.appendInstructionToTimeline(xe,X,_e);E=Math.max(E,qe.duration+qe.delay)}),E}visitReference(p,h){h.updateOptions(p.options,!0),Li(this,p.animation,h),h.previousNode=p}visitSequence(p,h){const g=h.subContextCount;let C=h;const E=p.options;if(E&&(E.params||E.delay)&&(C=h.createSubContext(E),C.transformIntoNewTimeline(),null!=E.delay)){6==C.previousNode.type&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=Zs);const X=Br(E.delay);C.delayNextStep(X)}p.steps.length&&(p.steps.forEach(X=>Li(this,X,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>g&&C.transformIntoNewTimeline()),h.previousNode=p}visitGroup(p,h){const g=[];let C=h.currentTimeline.currentTime;const E=p.options&&p.options.delay?Br(p.options.delay):0;p.steps.forEach(X=>{const _e=h.createSubContext(p.options);E&&_e.delayNextStep(E),Li(this,X,_e),C=Math.max(C,_e.currentTimeline.currentTime),g.push(_e.currentTimeline)}),g.forEach(X=>h.currentTimeline.mergeTimelineCollectedStyles(X)),h.transformIntoNewTimeline(C),h.previousNode=p}_visitTiming(p,h){if(p.dynamic){const g=p.strValue;return hr(h.params?Os(g,h.params,h.errors):g,h.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,h){const g=h.currentAnimateTimings=this._visitTiming(p.timings,h),C=h.currentTimeline;g.delay&&(h.incrementTime(g.delay),C.snapshotCurrentStyles());const E=p.style;5==E.type?this.visitKeyframes(E,h):(h.incrementTime(g.duration),this.visitStyle(E,h),C.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=p}visitStyle(p,h){const g=h.currentTimeline,C=h.currentAnimateTimings;!C&&g.hasCurrentStyleProperties()&&g.forwardFrame();const E=C&&C.easing||p.easing;p.isEmptyStep?g.applyEmptyStep(E):g.setStyles(p.styles,E,h.errors,h.options),h.previousNode=p}visitKeyframes(p,h){const g=h.currentAnimateTimings,C=h.currentTimeline.duration,E=g.duration,_e=h.createSubContext().currentTimeline;_e.easing=g.easing,p.styles.forEach(xe=>{_e.forwardTime((xe.offset||0)*E),_e.setStyles(xe.styles,xe.easing,h.errors,h.options),_e.applyStylesToKeyframe()}),h.currentTimeline.mergeTimelineCollectedStyles(_e),h.transformIntoNewTimeline(C+E),h.previousNode=p}visitQuery(p,h){const g=h.currentTimeline.currentTime,C=p.options||{},E=C.delay?Br(C.delay):0;E&&(6===h.previousNode.type||0==g&&h.currentTimeline.hasCurrentStyleProperties())&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=Zs);let X=g;const _e=h.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!C.optional,h.errors);h.currentQueryTotal=_e.length;let xe=null;_e.forEach((qe,pt)=>{h.currentQueryIndex=pt;const St=h.createSubContext(p.options,qe);E&&St.delayNextStep(E),qe===h.element&&(xe=St.currentTimeline),Li(this,p.animation,St),St.currentTimeline.applyStylesToKeyframe(),X=Math.max(X,St.currentTimeline.currentTime)}),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(X),xe&&(h.currentTimeline.mergeTimelineCollectedStyles(xe),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=p}visitStagger(p,h){const g=h.parentContext,C=h.currentTimeline,E=p.timings,X=Math.abs(E.duration),_e=X*(h.currentQueryTotal-1);let xe=X*h.currentQueryIndex;switch(E.duration<0?"reverse":E.easing){case"reverse":xe=_e-xe;break;case"full":xe=g.currentStaggerTime}const pt=h.currentTimeline;xe&&pt.delayNextStep(xe);const St=pt.currentTime;Li(this,p.animation,h),h.previousNode=p,g.currentStaggerTime=C.currentTime-St+(C.startTime-g.currentTimeline.startTime)}}const Zs={};class Ei{constructor(p,h,g,C,E,X,_e,xe){this._driver=p,this.element=h,this.subInstructions=g,this._enterClassName=C,this._leaveClassName=E,this.errors=X,this.timelines=_e,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Zs,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=xe||new rs(this._driver,h,0),_e.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,h){if(!p)return;const g=p;let C=this.options;null!=g.duration&&(C.duration=Br(g.duration)),null!=g.delay&&(C.delay=Br(g.delay));const E=g.params;if(E){let X=C.params;X||(X=this.options.params={}),Object.keys(E).forEach(_e=>{(!h||!X.hasOwnProperty(_e))&&(X[_e]=Os(E[_e],X,this.errors))})}}_copyOptions(){const p={};if(this.options){const h=this.options.params;if(h){const g=p.params={};Object.keys(h).forEach(C=>{g[C]=h[C]})}}return p}createSubContext(p=null,h,g){const C=h||this.element,E=new Ei(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,g||0));return E.previousNode=this.previousNode,E.currentAnimateTimings=this.currentAnimateTimings,E.options=this._copyOptions(),E.updateOptions(p),E.currentQueryIndex=this.currentQueryIndex,E.currentQueryTotal=this.currentQueryTotal,E.parentContext=this,this.subContextCount++,E}transformIntoNewTimeline(p){return this.previousNode=Zs,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,h,g){const C={duration:h??p.duration,delay:this.currentTimeline.currentTime+(g??0)+p.delay,easing:""},E=new Ir(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,C,p.stretchStartingKeyframe);return this.timelines.push(E),C}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,h,g,C,E,X){let _e=[];if(C&&_e.push(this.element),p.length>0){p=(p=p.replace(sc,"."+this._enterClassName)).replace(wn,"."+this._leaveClassName);let qe=this._driver.query(this.element,p,1!=g);0!==g&&(qe=g<0?qe.slice(qe.length+g,qe.length):qe.slice(0,g)),_e.push(...qe)}return!E&&0==_e.length&&X.push(function ai(T){return new i.vHH(3014,!1)}()),_e}}class rs{constructor(p,h,g,C){this._driver=p,this.element=h,this.startTime=g,this._elementTimelineStylesLookup=C,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(h),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(h,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(p){const h=1===this._keyframes.size&&this._pendingStyles.size;this.duration||h?(this.forwardTime(this.currentTime+p),h&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,h){return this.applyStylesToKeyframe(),new rs(this._driver,p,h||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+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,h){this._localTimelineStyles.set(p,h),this._globalTimelineStyles.set(p,h),this._styleSummary.set(p,{time:this.currentTime,value:h})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[h,g]of this._globalTimelineStyles)this._backFill.set(h,g||dn.l3),this._currentKeyframe.set(h,dn.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,h,g,C){h&&this._previousKeyframe.set("easing",h);const E=C&&C.params||{},X=function Ma(T,p){const h=new Map;let g;return T.forEach(C=>{if("*"===C){g=g||p.keys();for(let E of g)h.set(E,dn.l3)}else Or(C,h)}),h}(p,this._globalTimelineStyles);for(let[_e,xe]of X){const qe=Os(xe,E,g);this._pendingStyles.set(_e,qe),this._localTimelineStyles.has(_e)||this._backFill.set(_e,this._globalTimelineStyles.get(_e)??dn.l3),this._updateStyle(_e,qe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,h)=>{this._currentKeyframe.set(h,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,h)=>{this._currentKeyframe.has(h)||this._currentKeyframe.set(h,p)}))}snapshotCurrentStyles(){for(let[p,h]of this._localTimelineStyles)this._pendingStyles.set(p,h),this._updateStyle(p,h)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let h in this._currentKeyframe)p.push(h);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((h,g)=>{const C=this._styleSummary.get(g);(!C||h.time>C.time)&&this._updateStyle(g,h.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,h=new Set,g=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((_e,xe)=>{const qe=Or(_e,new Map,this._backFill);qe.forEach((pt,St)=>{pt===dn.k1?p.add(St):pt===dn.l3&&h.add(St)}),g||qe.set("offset",xe/this.duration),C.push(qe)});const E=p.size?ws(p.values()):[],X=h.size?ws(h.values()):[];if(g){const _e=C[0],xe=new Map(_e);_e.set("offset",0),xe.set("offset",1),C=[_e,xe]}return Pr(this.element,C,E,X,this.duration,this.startTime,this.easing,!1)}}class Ir extends rs{constructor(p,h,g,C,E,X,_e=!1){super(p,h,X.delay),this.keyframes=g,this.preStyleProps=C,this.postStyleProps=E,this._stretchStartingKeyframe=_e,this.timings={duration:X.duration,delay:X.delay,easing:X.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:h,duration:g,easing:C}=this.timings;if(this._stretchStartingKeyframe&&h){const E=[],X=g+h,_e=h/X,xe=Or(p[0]);xe.set("offset",0),E.push(xe);const qe=Or(p[0]);qe.set("offset",mr(_e)),E.push(qe);const pt=p.length-1;for(let St=1;St<=pt;St++){let Vt=Or(p[St]);const Ut=Vt.get("offset");Vt.set("offset",mr((h+Ut*g)/X)),E.push(Vt)}g=X,h=0,C="",p=E}return Pr(this.element,p,this.preStyleProps,this.postStyleProps,g,h,C,!0)}}function mr(T,p=3){const h=Math.pow(10,p-1);return Math.round(T*h)/h}class ba{}const Hl=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"]);class ar extends ba{normalizePropertyName(p,h){return Gs(p)}normalizeStyleValue(p,h,g,C){let E="";const X=g.toString().trim();if(Hl.has(h)&&0!==g&&"0"!==g)if("number"==typeof g)E="px";else{const _e=g.match(/^[+-]?[\d\.]+([a-z]*)$/);_e&&0==_e[1].length&&C.push(function co(T,p){return new i.vHH(3005,!1)}())}return X+E}}function Xr(T,p,h,g,C,E,X,_e,xe,qe,pt,St,Vt){return{type:0,element:T,triggerName:p,isRemovalTransition:C,fromState:h,fromStyles:E,toState:g,toStyles:X,timelines:_e,queriedElements:xe,preStyleProps:qe,postStyleProps:pt,totalTime:St,errors:Vt}}const Ks={};class Ps{constructor(p,h,g){this._triggerName=p,this.ast=h,this._stateStyles=g}match(p,h,g,C){return function Gc(T,p,h,g,C){return T.some(E=>E(p,h,g,C))}(this.ast.matchers,p,h,g,C)}buildStyles(p,h,g){let C=this._stateStyles.get("*");return void 0!==p&&(C=this._stateStyles.get(p?.toString())||C),C?C.buildStyles(h,g):new Map}build(p,h,g,C,E,X,_e,xe,qe,pt){const St=[],Vt=this.ast.options&&this.ast.options.params||Ks,jt=this.buildStyles(g,_e&&_e.params||Ks,St),Qt=xe&&xe.params||Ks,fn=this.buildStyles(C,Qt,St),Sn=new Set,Vn=new Map,on=new Map,gn="void"===C,Un={params:Qc(Qt,Vt),delay:this.ast.options?.delay},kn=pt?[]:Bo(p,h,this.ast.animation,E,X,jt,fn,Un,qe,St);let io=0;if(kn.forEach(fi=>{io=Math.max(fi.duration+fi.delay,io)}),St.length)return Xr(h,this._triggerName,g,C,gn,jt,fn,[],[],Vn,on,io,St);kn.forEach(fi=>{const Ii=fi.element,cs=he(Vn,Ii,new Set);fi.preStyleProps.forEach(er=>cs.add(er));const Wi=he(on,Ii,new Set);fi.postStyleProps.forEach(er=>Wi.add(er)),Ii!==h&&Sn.add(Ii)});const Po=ws(Sn.values());return Xr(h,this._triggerName,g,C,gn,jt,fn,kn,Po,Vn,on,io)}}function Qc(T,p){const h=Dr(p);for(const g in T)T.hasOwnProperty(g)&&null!=T[g]&&(h[g]=T[g]);return h}class Yl{constructor(p,h,g){this.styles=p,this.defaultParams=h,this.normalizer=g}buildStyles(p,h){const g=new Map,C=Dr(this.defaultParams);return Object.keys(p).forEach(E=>{const X=p[E];null!==X&&(C[E]=X)}),this.styles.styles.forEach(E=>{"string"!=typeof E&&E.forEach((X,_e)=>{X&&(X=Os(X,C,h));const xe=this.normalizer.normalizePropertyName(_e,h);X=this.normalizer.normalizeStyleValue(_e,xe,X,h),g.set(_e,X)})}),g}}class ac{constructor(p,h,g){this.name=p,this.ast=h,this._normalizer=g,this.transitionFactories=[],this.states=new Map,h.states.forEach(C=>{this.states.set(C.name,new Yl(C.style,C.options&&C.options.params||{},g))}),Sa(this.states,"true","1"),Sa(this.states,"false","0"),h.transitions.forEach(C=>{this.transitionFactories.push(new Ps(p,C,this.states))}),this.fallbackTransition=function cc(T,p,h){return new Ps(T,{type:1,animation:{type:2,steps:[],options:null},matchers:[(X,_e)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,h,g,C){return this.transitionFactories.find(X=>X.match(p,h,g,C))||null}matchStyles(p,h,g){return this.fallbackTransition.buildStyles(p,h,g)}}function Sa(T,p,h){T.has(p)?T.has(h)||T.set(h,T.get(p)):T.has(h)&&T.set(p,T.get(h))}const Ea=new fs;class jc{constructor(p,h,g){this.bodyNode=p,this._driver=h,this._normalizer=g,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,h){const g=[],E=Wo(this._driver,h,g,[]);if(g.length)throw function Rt(T){return new i.vHH(3503,!1)}();this._animations.set(p,E)}_buildPlayer(p,h,g){const C=p.element,E=Cr(this._normalizer,p.keyframes,h,g);return this._driver.animate(C,E,p.duration,p.delay,p.easing,[],!0)}create(p,h,g={}){const C=[],E=this._animations.get(p);let X;const _e=new Map;if(E?(X=Bo(this._driver,h,E,pr,Ds,new Map,new Map,g,Ea,C),X.forEach(pt=>{const St=he(_e,pt.element,new Map);pt.postStyleProps.forEach(Vt=>St.set(Vt,null))})):(C.push(function Z(){return new i.vHH(3300,!1)}()),X=[]),C.length)throw function ke(T){return new i.vHH(3504,!1)}();_e.forEach((pt,St)=>{pt.forEach((Vt,Ut)=>{pt.set(Ut,this._driver.computeStyle(St,Ut,dn.l3))})});const qe=Ni(X.map(pt=>{const St=_e.get(pt.element);return this._buildPlayer(pt,new Map,St)}));return this._playersById.set(p,qe),qe.onDestroy(()=>this.destroy(p)),this.players.push(qe),qe}destroy(p){const h=this._getPlayer(p);h.destroy(),this._playersById.delete(p);const g=this.players.indexOf(h);g>=0&&this.players.splice(g,1)}_getPlayer(p){const h=this._playersById.get(p);if(!h)throw function $t(T){return new i.vHH(3301,!1)}();return h}listen(p,h,g,C){const E=Ce(h,"","","");return os(this._getPlayer(p),g,E,C),()=>{}}command(p,h,g,C){if("register"==g)return void this.register(p,C[0]);if("create"==g)return void this.create(p,h,C[0]||{});const E=this._getPlayer(p);switch(g){case"play":E.play();break;case"pause":E.pause();break;case"reset":E.reset();break;case"restart":E.restart();break;case"finish":E.finish();break;case"init":E.init();break;case"setPosition":E.setPosition(parseFloat(C[0]));break;case"destroy":this.destroy(p)}}}const Wc="ng-animate-queued",lc="ng-animate-disabled",Kc=[],H={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ee={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},D="__ng_removed";class ue{get params(){return this.options.params}constructor(p,h=""){this.namespaceId=h;const g=p&&p.hasOwnProperty("value");if(this.value=function so(T){return T??null}(g?p.value:p),g){const E=Dr(p);delete E.value,this.options=E}else this.options={};this.options.params||(this.options.params={})}absorbOptions(p){const h=p.params;if(h){const g=this.options.params;Object.keys(h).forEach(C=>{null==g[C]&&(g[C]=h[C])})}}}const Fe="void",ht=new ue(Fe);class gt{constructor(p,h,g){this.id=p,this.hostElement=h,this._engine=g,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,Ui(h,this._hostClassName)}listen(p,h,g,C){if(!this._triggers.has(h))throw function sn(T,p){return new i.vHH(3302,!1)}();if(null==g||0==g.length)throw function Yn(T){return new i.vHH(3303,!1)}();if(!function li(T){return"start"==T||"done"==T}(g))throw function uo(T,p){return new i.vHH(3400,!1)}();const E=he(this._elementListeners,p,[]),X={name:h,phase:g,callback:C};E.push(X);const _e=he(this._engine.statesByElement,p,new Map);return _e.has(h)||(Ui(p,Vr),Ui(p,Vr+"-"+h),_e.set(h,ht)),()=>{this._engine.afterFlush(()=>{const xe=E.indexOf(X);xe>=0&&E.splice(xe,1),this._triggers.has(h)||_e.delete(h)})}}register(p,h){return!this._triggers.has(p)&&(this._triggers.set(p,h),!0)}_getTrigger(p){const h=this._triggers.get(p);if(!h)throw function po(T){return new i.vHH(3401,!1)}();return h}trigger(p,h,g,C=!0){const E=this._getTrigger(h),X=new An(this.id,h,p);let _e=this._engine.statesByElement.get(p);_e||(Ui(p,Vr),Ui(p,Vr+"-"+h),this._engine.statesByElement.set(p,_e=new Map));let xe=_e.get(h);const qe=new ue(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&xe&&qe.absorbOptions(xe.options),_e.set(h,qe),xe||(xe=ht),qe.value!==Fe&&xe.value===qe.value){if(!function Is(T,p){const h=Object.keys(T),g=Object.keys(p);if(h.length!=g.length)return!1;for(let C=0;C{is(p,fn),ir(p,Sn)})}return}const Vt=he(this._engine.playersByElement,p,[]);Vt.forEach(Qt=>{Qt.namespaceId==this.id&&Qt.triggerName==h&&Qt.queued&&Qt.destroy()});let Ut=E.matchTransition(xe.value,qe.value,p,qe.params),jt=!1;if(!Ut){if(!C)return;Ut=E.fallbackTransition,jt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:h,transition:Ut,fromState:xe,toState:qe,player:X,isFallbackTransition:jt}),jt||(Ui(p,Wc),X.onStart(()=>{Ar(p,Wc)})),X.onDone(()=>{let Qt=this.players.indexOf(X);Qt>=0&&this.players.splice(Qt,1);const fn=this._engine.playersByElement.get(p);if(fn){let Sn=fn.indexOf(X);Sn>=0&&fn.splice(Sn,1)}}),this.players.push(X),Vt.push(X),X}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(h=>h.delete(p)),this._elementListeners.forEach((h,g)=>{this._elementListeners.set(g,h.filter(C=>C.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const h=this._engine.playersByElement.get(p);h&&(h.forEach(g=>g.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,h){const g=this._engine.driver.query(p,xr,!0);g.forEach(C=>{if(C[D])return;const E=this._engine.fetchNamespacesByElement(C);E.size?E.forEach(X=>X.triggerLeaveAnimation(C,h,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(p,h,g,C){const E=this._engine.statesByElement.get(p),X=new Map;if(E){const _e=[];if(E.forEach((xe,qe)=>{if(X.set(qe,xe.value),this._triggers.has(qe)){const pt=this.trigger(p,qe,Fe,C);pt&&_e.push(pt)}}),_e.length)return this._engine.markElementAsRemoved(this.id,p,!0,h,X),g&&Ni(_e).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const h=this._elementListeners.get(p),g=this._engine.statesByElement.get(p);if(h&&g){const C=new Set;h.forEach(E=>{const X=E.name;if(C.has(X))return;C.add(X);const xe=this._triggers.get(X).fallbackTransition,qe=g.get(X)||ht,pt=new ue(Fe),St=new An(this.id,X,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:X,transition:xe,fromState:qe,toState:pt,player:St,isFallbackTransition:!0})})}}removeNode(p,h){const g=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,h),this.triggerLeaveAnimation(p,h,!0))return;let C=!1;if(g.totalAnimations){const E=g.players.length?g.playersByQueriedElement.get(p):[];if(E&&E.length)C=!0;else{let X=p;for(;X=X.parentNode;)if(g.statesByElement.get(X)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(p),C)g.markElementAsRemoved(this.id,p,!1,h);else{const E=p[D];(!E||E===H)&&(g.afterFlush(()=>this.clearElementCache(p)),g.destroyInnerAnimations(p),g._onRemovalComplete(p,h))}}insertNode(p,h){Ui(p,this._hostClassName)}drainQueuedTransitions(p){const h=[];return this._queue.forEach(g=>{const C=g.player;if(C.destroyed)return;const E=g.element,X=this._elementListeners.get(E);X&&X.forEach(_e=>{if(_e.name==g.triggerName){const xe=Ce(E,g.triggerName,g.fromState.value,g.toState.value);xe._data=p,os(g.player,_e.phase,xe,_e.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):h.push(g)}),this._queue=[],h.sort((g,C)=>{const E=g.transition.ast.depCount,X=C.transition.ast.depCount;return 0==E||0==X?E-X:this._engine.driver.containsElement(g.element,C.element)?1:-1})}destroy(p){this.players.forEach(h=>h.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}}class an{_onRemovalComplete(p,h){this.onRemovalComplete(p,h)}constructor(p,h,g){this.bodyNode=p,this.driver=h,this._normalizer=g,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=(C,E)=>{}}get queuedPlayers(){const p=[];return this._namespaceList.forEach(h=>{h.players.forEach(g=>{g.queued&&p.push(g)})}),p}createNamespace(p,h){const g=new gt(p,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(g,h):(this.newHostElements.set(h,g),this.collectEnterElement(h)),this._namespaceLookup[p]=g}_balanceNamespaceList(p,h){const g=this._namespaceList,C=this.namespacesByHostElement;if(g.length-1>=0){let X=!1,_e=this.driver.getParentElement(h);for(;_e;){const xe=C.get(_e);if(xe){const qe=g.indexOf(xe);g.splice(qe+1,0,p),X=!0;break}_e=this.driver.getParentElement(_e)}X||g.unshift(p)}else g.push(p);return C.set(h,p),p}register(p,h){let g=this._namespaceLookup[p];return g||(g=this.createNamespace(p,h)),g}registerTrigger(p,h,g){let C=this._namespaceLookup[p];C&&C.register(h,g)&&this.totalAnimations++}destroy(p,h){p&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const g=this._fetchNamespace(p);this.namespacesByHostElement.delete(g.hostElement);const C=this._namespaceList.indexOf(g);C>=0&&this._namespaceList.splice(C,1),g.destroy(h),delete this._namespaceLookup[p]}))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const h=new Set,g=this.statesByElement.get(p);if(g)for(let C of g.values())if(C.namespaceId){const E=this._fetchNamespace(C.namespaceId);E&&h.add(E)}return h}trigger(p,h,g,C){if(jo(h)){const E=this._fetchNamespace(p);if(E)return E.trigger(h,g,C),!0}return!1}insertNode(p,h,g,C){if(!jo(h))return;const E=h[D];if(E&&E.setForRemoval){E.setForRemoval=!1,E.setForMove=!0;const X=this.collectedLeaveElements.indexOf(h);X>=0&&this.collectedLeaveElements.splice(X,1)}if(p){const X=this._fetchNamespace(p);X&&X.insertNode(h,g)}C&&this.collectEnterElement(h)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,h){h?this.disabledNodes.has(p)||(this.disabledNodes.add(p),Ui(p,lc)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),Ar(p,lc))}removeNode(p,h,g){if(jo(h)){const C=p?this._fetchNamespace(p):null;C?C.removeNode(h,g):this.markElementAsRemoved(p,h,!1,g);const E=this.namespacesByHostElement.get(h);E&&E.id!==p&&E.removeNode(h,g)}else this._onRemovalComplete(h,g)}markElementAsRemoved(p,h,g,C,E){this.collectedLeaveElements.push(h),h[D]={namespaceId:p,setForRemoval:C,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:E}}listen(p,h,g,C,E){return jo(h)?this._fetchNamespace(p).listen(h,g,C,E):()=>{}}_buildInstruction(p,h,g,C,E){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,g,C,p.fromState.options,p.toState.options,h,E)}destroyInnerAnimations(p){let h=this.driver.query(p,xr,!0);h.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(h=this.driver.query(p,$s,!0),h.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(p){const h=this.playersByElement.get(p);h&&h.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(p){const h=this.playersByQueriedElement.get(p);h&&h.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return Ni(this.players).onDone(()=>p());p()})}processLeaveNode(p){const h=p[D];if(h&&h.setForRemoval){if(p[D]=H,h.namespaceId){this.destroyInnerAnimations(p);const g=this._fetchNamespace(h.namespaceId);g&&g.clearElementCache(p)}this._onRemovalComplete(p,h.setForRemoval)}p.classList?.contains(lc)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(p=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,C)=>this._balanceNamespaceList(g,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;gg()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],h.length?Ni(h).onDone(()=>{g.forEach(C=>C())}):g.forEach(C=>C())}}reportError(p){throw function Yo(T){return new i.vHH(3402,!1)}()}_flushAnimations(p,h){const g=new fs,C=[],E=new Map,X=[],_e=new Map,xe=new Map,qe=new Map,pt=new Set;this.disabledNodes.forEach(oo=>{pt.add(oo);const mo=this.driver.query(oo,".ng-animate-queued",!0);for(let _o=0;_o{const _o=pr+Qt++;jt.set(mo,_o),oo.forEach(Zo=>Ui(Zo,_o))});const fn=[],Sn=new Set,Vn=new Set;for(let oo=0;ooSn.add(Zo)):Vn.add(mo))}const on=new Map,gn=Qr(Vt,Array.from(Sn));gn.forEach((oo,mo)=>{const _o=Ds+Qt++;on.set(mo,_o),oo.forEach(Zo=>Ui(Zo,_o))}),p.push(()=>{Ut.forEach((oo,mo)=>{const _o=jt.get(mo);oo.forEach(Zo=>Ar(Zo,_o))}),gn.forEach((oo,mo)=>{const _o=on.get(mo);oo.forEach(Zo=>Ar(Zo,_o))}),fn.forEach(oo=>{this.processLeaveNode(oo)})});const Un=[],kn=[];for(let oo=this._namespaceList.length-1;oo>=0;oo--)this._namespaceList[oo].drainQueuedTransitions(h).forEach(_o=>{const Zo=_o.player,Gi=_o.element;if(Un.push(Zo),this.collectedEnterElements.length){const vr=Gi[D];if(vr&&vr.setForMove){if(vr.previousTriggersValues&&vr.previousTriggersValues.has(_o.triggerName)){const ga=vr.previousTriggersValues.get(_o.triggerName),Kr=this.statesByElement.get(_o.element);if(Kr&&Kr.has(_o.triggerName)){const Zu=Kr.get(_o.triggerName);Zu.value=ga,Kr.set(_o.triggerName,Zu)}}return void Zo.destroy()}}const Zr=!St||!this.driver.containsElement(St,Gi),ns=on.get(Gi),Ms=jt.get(Gi),Ti=this._buildInstruction(_o,g,Ms,ns,Zr);if(Ti.errors&&Ti.errors.length)return void kn.push(Ti);if(Zr)return Zo.onStart(()=>is(Gi,Ti.fromStyles)),Zo.onDestroy(()=>ir(Gi,Ti.toStyles)),void C.push(Zo);if(_o.isFallbackTransition)return Zo.onStart(()=>is(Gi,Ti.fromStyles)),Zo.onDestroy(()=>ir(Gi,Ti.toStyles)),void C.push(Zo);const yd=[];Ti.timelines.forEach(vr=>{vr.stretchStartingKeyframe=!0,this.disabledNodes.has(vr.element)||yd.push(vr)}),Ti.timelines=yd,g.append(Gi,Ti.timelines),X.push({instruction:Ti,player:Zo,element:Gi}),Ti.queriedElements.forEach(vr=>he(_e,vr,[]).push(Zo)),Ti.preStyleProps.forEach((vr,ga)=>{if(vr.size){let Kr=xe.get(ga);Kr||xe.set(ga,Kr=new Set),vr.forEach((Zu,Cd)=>Kr.add(Cd))}}),Ti.postStyleProps.forEach((vr,ga)=>{let Kr=qe.get(ga);Kr||qe.set(ga,Kr=new Set),vr.forEach((Zu,Cd)=>Kr.add(Cd))})});if(kn.length){const oo=[];kn.forEach(mo=>{oo.push(function lo(T,p){return new i.vHH(3505,!1)}())}),Un.forEach(mo=>mo.destroy()),this.reportError(oo)}const io=new Map,Po=new Map;X.forEach(oo=>{const mo=oo.element;g.has(mo)&&(Po.set(mo,mo),this._beforeAnimationBuild(oo.player.namespaceId,oo.instruction,io))}),C.forEach(oo=>{const mo=oo.element;this._getPreviousPlayers(mo,!1,oo.namespaceId,oo.triggerName,null).forEach(Zo=>{he(io,mo,[]).push(Zo),Zo.destroy()})});const fi=fn.filter(oo=>xa(oo,xe,qe)),Ii=new Map;Gr(Ii,this.driver,Vn,qe,dn.l3).forEach(oo=>{xa(oo,xe,qe)&&fi.push(oo)});const Wi=new Map;Ut.forEach((oo,mo)=>{Gr(Wi,this.driver,new Set(oo),xe,dn.k1)}),fi.forEach(oo=>{const mo=Ii.get(oo),_o=Wi.get(oo);Ii.set(oo,new Map([...mo?.entries()??[],..._o?.entries()??[]]))});const er=[],ju=[],Wu={};X.forEach(oo=>{const{element:mo,player:_o,instruction:Zo}=oo;if(g.has(mo)){if(pt.has(mo))return _o.onDestroy(()=>ir(mo,Zo.toStyles)),_o.disabled=!0,_o.overrideTotalTime(Zo.totalTime),void C.push(_o);let Gi=Wu;if(Po.size>1){let ns=mo;const Ms=[];for(;ns=ns.parentNode;){const Ti=Po.get(ns);if(Ti){Gi=Ti;break}Ms.push(ns)}Ms.forEach(Ti=>Po.set(Ti,Gi))}const Zr=this._buildAnimation(_o.namespaceId,Zo,io,E,Wi,Ii);if(_o.setRealPlayer(Zr),Gi===Wu)er.push(_o);else{const ns=this.playersByElement.get(Gi);ns&&ns.length&&(_o.parentPlayer=Ni(ns)),C.push(_o)}}else is(mo,Zo.fromStyles),_o.onDestroy(()=>ir(mo,Zo.toStyles)),ju.push(_o),pt.has(mo)&&C.push(_o)}),ju.forEach(oo=>{const mo=E.get(oo.element);if(mo&&mo.length){const _o=Ni(mo);oo.setRealPlayer(_o)}}),C.forEach(oo=>{oo.parentPlayer?oo.syncPlayerEvents(oo.parentPlayer):oo.destroy()});for(let oo=0;oo!Zr.destroyed);Gi.length?s1(this,mo,Gi):this.processLeaveNode(mo)}return fn.length=0,er.forEach(oo=>{this.players.push(oo),oo.onDone(()=>{oo.destroy();const mo=this.players.indexOf(oo);this.players.splice(mo,1)}),oo.play()}),er}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,h,g,C,E){let X=[];if(h){const _e=this.playersByQueriedElement.get(p);_e&&(X=_e)}else{const _e=this.playersByElement.get(p);if(_e){const xe=!E||E==Fe;_e.forEach(qe=>{qe.queued||!xe&&qe.triggerName!=C||X.push(qe)})}}return(g||C)&&(X=X.filter(_e=>!(g&&g!=_e.namespaceId||C&&C!=_e.triggerName))),X}_beforeAnimationBuild(p,h,g){const E=h.element,X=h.isRemovalTransition?void 0:p,_e=h.isRemovalTransition?void 0:h.triggerName;for(const xe of h.timelines){const qe=xe.element,pt=qe!==E,St=he(g,qe,[]);this._getPreviousPlayers(qe,pt,X,_e,h.toState).forEach(Ut=>{const jt=Ut.getRealPlayer();jt.beforeDestroy&&jt.beforeDestroy(),Ut.destroy(),St.push(Ut)})}is(E,h.fromStyles)}_buildAnimation(p,h,g,C,E,X){const _e=h.triggerName,xe=h.element,qe=[],pt=new Set,St=new Set,Vt=h.timelines.map(jt=>{const Qt=jt.element;pt.add(Qt);const fn=Qt[D];if(fn&&fn.removedBeforeQueried)return new dn.ZN(jt.duration,jt.delay);const Sn=Qt!==xe,Vn=function a1(T){const p=[];return c1(T,p),p}((g.get(Qt)||Kc).map(io=>io.getRealPlayer())).filter(io=>!!io.element&&io.element===Qt),on=E.get(Qt),gn=X.get(Qt),Un=Cr(this._normalizer,jt.keyframes,on,gn),kn=this._buildPlayer(jt,Un,Vn);if(jt.subTimeline&&C&&St.add(Qt),Sn){const io=new An(p,_e,Qt);io.setRealPlayer(kn),qe.push(io)}return kn});qe.forEach(jt=>{he(this.playersByQueriedElement,jt.element,[]).push(jt),jt.onDone(()=>function no(T,p,h){let g=T.get(p);if(g){if(g.length){const C=g.indexOf(h);g.splice(C,1)}0==g.length&&T.delete(p)}return g}(this.playersByQueriedElement,jt.element,jt))}),pt.forEach(jt=>Ui(jt,qr));const Ut=Ni(Vt);return Ut.onDestroy(()=>{pt.forEach(jt=>Ar(jt,qr)),ir(xe,h.toStyles)}),St.forEach(jt=>{he(C,jt,[]).push(Ut)}),Ut}_buildPlayer(p,h,g){return h.length>0?this.driver.animate(p.element,h,p.duration,p.delay,p.easing,g):new dn.ZN(p.duration,p.delay)}}class An{constructor(p,h,g){this.namespaceId=p,this.triggerName=h,this.element=g,this._player=new dn.ZN,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(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((h,g)=>{h.forEach(C=>os(p,g,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const h=this._player;h.triggerCallback&&p.onStart(()=>h.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,h){he(this._queuedCallbacks,p,[]).push(h)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}init(){this._player.init()}hasStarted(){return!this.queued&&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(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const h=this._player;h.triggerCallback&&h.triggerCallback(p)}}function jo(T){return T&&1===T.nodeType}function Js(T,p){const h=T.style.display;return T.style.display=p??"none",h}function Gr(T,p,h,g,C){const E=[];h.forEach(xe=>E.push(Js(xe)));const X=[];g.forEach((xe,qe)=>{const pt=new Map;xe.forEach(St=>{const Vt=p.computeStyle(qe,St,C);pt.set(St,Vt),(!Vt||0==Vt.length)&&(qe[D]=ee,X.push(qe))}),T.set(qe,pt)});let _e=0;return h.forEach(xe=>Js(xe,E[_e++])),X}function Qr(T,p){const h=new Map;if(T.forEach(_e=>h.set(_e,[])),0==p.length)return h;const C=new Set(p),E=new Map;function X(_e){if(!_e)return 1;let xe=E.get(_e);if(xe)return xe;const qe=_e.parentNode;return xe=h.has(qe)?qe:C.has(qe)?1:X(qe),E.set(_e,xe),xe}return p.forEach(_e=>{const xe=X(_e);1!==xe&&h.get(xe).push(_e)}),h}function Ui(T,p){T.classList?.add(p)}function Ar(T,p){T.classList?.remove(p)}function s1(T,p,h){Ni(h).onDone(()=>T.processLeaveNode(p))}function c1(T,p){for(let h=0;hC.add(E)):p.set(T,g),h.delete(T),!0}class Jc{constructor(p,h,g){this.bodyNode=p,this._driver=h,this._normalizer=g,this._triggerCache={},this.onRemovalComplete=(C,E)=>{},this._transitionEngine=new an(p,h,g),this._timelineEngine=new jc(p,h,g),this._transitionEngine.onRemovalComplete=(C,E)=>this.onRemovalComplete(C,E)}registerTrigger(p,h,g,C,E){const X=p+"-"+C;let _e=this._triggerCache[X];if(!_e){const xe=[],pt=Wo(this._driver,E,xe,[]);if(xe.length)throw function pi(T,p){return new i.vHH(3404,!1)}();_e=function $l(T,p,h){return new ac(T,p,h)}(C,pt,this._normalizer),this._triggerCache[X]=_e}this._transitionEngine.registerTrigger(h,C,_e)}register(p,h){this._transitionEngine.register(p,h)}destroy(p,h){this._transitionEngine.destroy(p,h)}onInsert(p,h,g,C){this._transitionEngine.insertNode(p,h,g,C)}onRemove(p,h,g){this._transitionEngine.removeNode(p,h,g)}disableAnimations(p,h){this._transitionEngine.markElementAsDisabled(p,h)}process(p,h,g,C){if("@"==g.charAt(0)){const[E,X]=ct(g);this._timelineEngine.command(E,h,X,C)}else this._transitionEngine.trigger(p,h,g,C)}listen(p,h,g,C,E){if("@"==g.charAt(0)){const[X,_e]=ct(g);return this._timelineEngine.listen(X,h,_e,E)}return this._transitionEngine.listen(p,h,g,C,E)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(p){this._transitionEngine.afterFlushAnimationsDone(p)}}let jl=(()=>{class T{constructor(h,g,C){this._element=h,this._startStyles=g,this._endStyles=C,this._state=0;let E=T.initialStylesByElement.get(h);E||T.initialStylesByElement.set(h,E=new Map),this._initialStyles=E}start(){this._state<1&&(this._startStyles&&ir(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ir(this._element,this._initialStyles),this._endStyles&&(ir(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(T.initialStylesByElement.delete(this._element),this._startStyles&&(is(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(is(this._element,this._endStyles),this._endStyles=null),ir(this._element,this._initialStyles),this._state=3)}}return T.initialStylesByElement=new WeakMap,T})();function l1(T){let p=null;return T.forEach((h,g)=>{(function xd(T){return"display"===T||"position"===T})(g)&&(p=p||new Map,p.set(g,h))}),p}class uc{constructor(p,h,g,C){this.element=p,this.keyframes=h,this.options=g,this._specialStyles=C,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=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const h=[];return p.forEach(g=>{h.push(Object.fromEntries(g))}),h}_triggerWebAnimation(p,h,g){return p.animate(this._convertKeyframesToObject(h),g)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),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(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,C)=>{"offset"!==C&&p.set(C,this._finished?g:Ws(this.element,C))}),this.currentSnapshot=p}triggerCallback(p){const h="start"===p?this._onStartFns:this._onDoneFns;h.forEach(g=>g()),h.length=0}}class Dd{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}matchesElement(p,h){return!1}containsElement(p,h){return Ys(p,h)}getParentElement(p){return Qn(p)}query(p,h,g){return zr(p,h,g)}computeStyle(p,h,g){return window.getComputedStyle(p)[h]}animate(p,h,g,C,E,X=[]){const xe={duration:g,delay:C,fill:0==C?"both":"forwards"};E&&(xe.easing=E);const qe=new Map,pt=X.filter(Ut=>Ut instanceof uc);(function js(T,p){return 0===T||0===p})(g,C)&&pt.forEach(Ut=>{Ut.currentSnapshot.forEach((jt,Qt)=>qe.set(Qt,jt))});let St=function Yc(T){return T.length?T[0]instanceof Map?T:T.map(p=>Ca(p)):[]}(h).map(Ut=>Or(Ut));St=function $i(T,p,h){if(h.size&&p.length){let g=p[0],C=[];if(h.forEach((E,X)=>{g.has(X)||C.push(X),g.set(X,E)}),C.length)for(let E=1;EX.set(_e,Ws(T,_e)))}}return p}(p,St,qe);const Vt=function ap(T,p){let h=null,g=null;return Array.isArray(p)&&p.length?(h=l1(p[0]),p.length>1&&(g=l1(p[p.length-1]))):p instanceof Map&&(h=l1(p)),h||g?new jl(T,h,g):null}(p,St);return new uc(p,St,xe,Vt)}}let u1=(()=>{class T extends dn._j{constructor(h,g){super(),this._nextAnimationId=0,this._renderer=h.createRenderer(g.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(h){const g=this._nextAnimationId.toString();this._nextAnimationId++;const C=Array.isArray(h)?(0,dn.vP)(h):h;return Zl(this._renderer,null,g,"register",[C]),new Wl(g,this._renderer)}}return T.\u0275fac=function(h){return new(h||T)(i.LFG(i.FYo),i.LFG(hn.K0))},T.\u0275prov=i.Yz7({token:T,factory:T.\u0275fac}),T})();class Wl extends dn.LC{constructor(p,h){super(),this._id=p,this._renderer=h}create(p,h){return new dc(this._id,p,h||{},this._renderer)}}class dc{constructor(p,h,g,C){this.id=p,this.element=h,this._renderer=C,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",g)}_listen(p,h){return this._renderer.listen(this.element,`@@${this.id}:${p}`,h)}_command(p,...h){return Zl(this._renderer,this.element,this.id,p,h)}onDone(p){this._listen("done",p)}onStart(p){this._listen("start",p)}onDestroy(p){this._listen("destroy",p)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(p){this._command("setPosition",p)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Zl(T,p,h,g,C){return T.setProperty(p,`@@${h}:${g}`,C)}const pc="@.disabled";let hc=(()=>{class T{constructor(h,g,C){this.delegate=h,this.engine=g,this._zone=C,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,g.onRemovalComplete=(E,X)=>{const _e=X?.parentNode(E);_e&&X.removeChild(_e,E)}}createRenderer(h,g){const E=this.delegate.createRenderer(h,g);if(!(h&&g&&g.data&&g.data.animation)){let pt=this._rendererCache.get(E);return pt||(pt=new d1("",E,this.engine,()=>this._rendererCache.delete(E)),this._rendererCache.set(E,pt)),pt}const X=g.id,_e=g.id+"-"+this._currentId;this._currentId++,this.engine.register(_e,h);const xe=pt=>{Array.isArray(pt)?pt.forEach(xe):this.engine.registerTrigger(X,_e,h,pt.name,pt)};return g.data.animation.forEach(xe),new Kl(this,_e,E,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(h,g,C){h>=0&&hg(C)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(E=>{const[X,_e]=E;X(_e)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([g,C]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return T.\u0275fac=function(h){return new(h||T)(i.LFG(i.FYo),i.LFG(Jc),i.LFG(i.R0b))},T.\u0275prov=i.Yz7({token:T,factory:T.\u0275fac}),T})();class d1{constructor(p,h,g,C){this.namespaceId=p,this.delegate=h,this.engine=g,this._onDestroy=C}get data(){return this.delegate.data}destroyNode(p){this.delegate.destroyNode?.(p)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(p,h){return this.delegate.createElement(p,h)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,h){this.delegate.appendChild(p,h),this.engine.onInsert(this.namespaceId,h,p,!1)}insertBefore(p,h,g,C=!0){this.delegate.insertBefore(p,h,g),this.engine.onInsert(this.namespaceId,h,p,C)}removeChild(p,h,g){this.engine.onRemove(this.namespaceId,h,this.delegate)}selectRootElement(p,h){return this.delegate.selectRootElement(p,h)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,h,g,C){this.delegate.setAttribute(p,h,g,C)}removeAttribute(p,h,g){this.delegate.removeAttribute(p,h,g)}addClass(p,h){this.delegate.addClass(p,h)}removeClass(p,h){this.delegate.removeClass(p,h)}setStyle(p,h,g,C){this.delegate.setStyle(p,h,g,C)}removeStyle(p,h,g){this.delegate.removeStyle(p,h,g)}setProperty(p,h,g){"@"==h.charAt(0)&&h==pc?this.disableAnimations(p,!!g):this.delegate.setProperty(p,h,g)}setValue(p,h){this.delegate.setValue(p,h)}listen(p,h,g){return this.delegate.listen(p,h,g)}disableAnimations(p,h){this.engine.disableAnimations(p,h)}}class Kl extends d1{constructor(p,h,g,C,E){super(h,g,C,E),this.factory=p,this.namespaceId=h}setProperty(p,h,g){"@"==h.charAt(0)?"."==h.charAt(1)&&h==pc?this.disableAnimations(p,g=void 0===g||!!g):this.engine.process(this.namespaceId,p,h.slice(1),g):this.delegate.setProperty(p,h,g)}listen(p,h,g){if("@"==h.charAt(0)){const C=function Jl(T){switch(T){case"body":return document.body;case"document":return document;case"window":return window;default:return T}}(p);let E=h.slice(1),X="";return"@"!=E.charAt(0)&&([E,X]=function ql(T){const p=T.indexOf(".");return[T.substring(0,p),T.slice(p+1)]}(E)),this.engine.listen(this.namespaceId,C,E,X,_e=>{this.factory.scheduleListenerCallback(_e._data||-1,g,_e)})}return this.delegate.listen(p,h,g)}}let ts=(()=>{class T extends Jc{constructor(h,g,C,E){super(h.body,g,C)}ngOnDestroy(){this.flush()}}return T.\u0275fac=function(h){return new(h||T)(i.LFG(hn.K0),i.LFG(Rr),i.LFG(ba),i.LFG(i.z2F))},T.\u0275prov=i.Yz7({token:T,factory:T.\u0275fac}),T})();const Da=[{provide:dn._j,useClass:u1},{provide:ba,useFactory:function Od(){return new ar}},{provide:Jc,useClass:ts},{provide:i.FYo,useFactory:function fc(T,p,h){return new hc(T,p,h)},deps:[t.se,Jc,i.R0b]}],Fs=[{provide:Rr,useFactory:()=>new Dd},{provide:i.QbO,useValue:"BrowserAnimations"},...Da],qs=[{provide:Rr,useClass:Jr},{provide:i.QbO,useValue:"NoopAnimations"},...Da];let mc=(()=>{class T{static withConfig(h){return{ngModule:T,providers:h.disableAnimations?qs:Fs}}}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({providers:Fs,imports:[t.b2]}),T})();var eu=a(459);a(4715);const xu=[{name:"adminFullcolor",data:''},{name:"assertionFullcolor",data:''},{name:"clinicaltrialFullcolor",data:''},{name:"queueFullcolor",data:''},{name:"commentFullcolor",data:''},{name:"coordinatesystemFullcolor",data:''},{name:"curatorFullcolor",data:''},{name:"diseaseFullcolor",data:''},{name:"editorFullcolor",data:''},{name:"eventFullcolor",data:''},{name:"evidenceitemFullcolor",data:''},{name:"evidenceFullcolor",data:''},{name:"flagFullcolor",data:''},{name:"geneFullcolor",data:''},{name:"therapyFullcolor",data:''},{name:"molecularprofileFullcolor",data:''},{name:"organizationFullcolor",data:''},{name:"phenotypeFullcolor",data:''},{name:"revisionFullcolor",data:''},{name:"sourceFullcolor",data:''},{name:"userFullcolor",data:''},{name:"variant",data:''},{name:"variantgroupFullcolor",data:''},{name:"varianttypeFullcolor",data:''}],k1=function V1(T){const p=[];return T.forEach(h=>{const g={name:B1(h.name),theme:zl(h.name),icon:h.data};p.push(g)}),p}([{name:"adminOutline",data:''},{name:"adminTwotone",data:''},{name:"adverseresponseOutline",data:''},{name:"assertionOutline",data:''},{name:"assertionTwotone",data:''},{name:"benignOutline",data:''},{name:"betteroutcomeOutline",data:''},{name:"clinicaltrialOutline",data:''},{name:"clinicaltrialTwotone",data:''},{name:"queueOutline",data:''},{name:"queueTwotone",data:''},{name:"combinationOutline",data:''},{name:"combinedOutline",data:''},{name:"commentOutline",data:''},{name:"commentTwotone",data:''},{name:"commongermlineOutline",data:''},{name:"coordinatesystemOutline",data:''},{name:"coordinatesystemTwotone",data:''},{name:"curatorOutline",data:''},{name:"curatorTwotone",data:''},{name:"diagnosticOutline",data:''},{name:"diseaseOutline",data:''},{name:"diseaseTwotone",data:''},{name:"doesnotsupportOutline",data:''},{name:"dominantnegativeOutline",data:''},{name:"editorOutline",data:''},{name:"editorTwotone",data:''},{name:"eventOutline",data:''},{name:"eventTwotone",data:''},{name:"evidenceOutline",data:''},{name:"evidenceTwotone",data:''},{name:"evidenceitemOutline",data:''},{name:"evidenceitemTwotone",data:''},{name:"flagOutline",data:''},{name:"flagTwotone",data:''},{name:"functionalOutline",data:''},{name:"gainoffunctionOutline",data:''},{name:"geneOutline",data:''},{name:"geneTwotone",data:''},{name:"levelaOutline",data:''},{name:"levelbOutline",data:''},{name:"levelcOutline",data:''},{name:"leveldOutline",data:''},{name:"leveleOutline",data:''},{name:"therapyOutline",data:''},{name:"therapyTwotone",data:''},{name:"likelybenignOutline",data:''},{name:"likelypathogenicOutline",data:''},{name:"lossoffunctionOutline",data:''},{name:"molecularprofileOutline",data:''},{name:"molecularprofileTwotone",data:''},{name:"naOutline",data:''},{name:"negativeOutline",data:''},{name:"neomorphicOutline",data:''},{name:"oncogenicOutline",data:''},{name:"oncogenictypeOutline",data:''},{name:"oncogenicsignificanceOutline",data:''},{name:"oncogenicityOutline",data:''},{name:"organizationOutline",data:''},{name:"organizationTwotone",data:''},{name:"pathogenicOutline",data:''},{name:"phenotypeOutline",data:''},{name:"phenotypeTwotone",data:''},{name:"pooroutcomeOutline",data:''},{name:"positiveOutline",data:''},{name:"predictiveOutline",data:''},{name:"predisposingOutline",data:''},{name:"predispositionOutline",data:''},{name:"prognosticOutline",data:''},{name:"protectivenessOutline",data:''},{name:"raregermlineOutline",data:''},{name:"rating1Outline",data:''},{name:"rating2Outline",data:''},{name:"rating3Outline",data:''},{name:"rating4Outline",data:''},{name:"rating5Outline",data:''},{name:"reducedsensitivityOutline",data:''},{name:"resistanceOutline",data:''},{name:"revisionOutline",data:''},{name:"revisionTwotone",data:''},{name:"sensitivityresponseOutline",data:''},{name:"sequentialOutline",data:''},{name:"somaticOutline",data:''},{name:"sourceOutline",data:''},{name:"sourceTwotone",data:''},{name:"substitutesOutline",data:''},{name:"supportsOutline",data:''},{name:"unalteredfunctionOutline",data:''},{name:"uncertainsignificanceOutline",data:''},{name:"unknownOutline",data:''},{name:"userOutline",data:''},{name:"userTwotone",data:''},{name:"variantOutline",data:''},{name:"variantTwotone",data:''},{name:"variantgroupOutline",data:''},{name:"variantgroupTwotone",data:''},{name:"varianttypeOutline",data:''},{name:"varianttypeTwotone",data:''}]);function B1(T){return"civic-"+function tu(T){return T.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}(T.replace(/Outline|Fill|TwoTone/i,""))}function zl(T){return T.includes("Twotone")?"twotone":T.includes("Outline")?"outline":T.includes("Fill")?"fill":void 0}var Pc=a(279),Du=a(1752),ss=a(4190);const H1=[{path:"",loadChildren:()=>a.e(9641).then(a.bind(a,9641)).then(T=>T.LayoutModule)}],Y1={paramsInheritanceStrategy:"always",anchorScrolling:"enabled",scrollOffset:[0,64],onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"};let Ou=(()=>{class T{}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({imports:[ss.Bz.forRoot(H1,Y1),ss.Bz]}),T})();var Tl=a(553),Ml=a(551),pa=a(7473),Ya=a(67),wu=a(342),Ic=a(3903),$a=a(2840),Pu=a(855),$1=a(1958),U1=a(8091);function G1(T,p){if(1&T&&i._uU(0),2&T){const h=i.oxw().ngIf;i.AsE(" ",h.name," ",h.message," ")}}function Q1(T,p){1&T&&i.GkF(0)}const j1=function(T){return{error:T}};function Iu(T,p){if(1&T&&i.YNc(0,Q1,1,0,"ng-container",8),2&T){const h=i.oxw().ngIf,g=i.MAs(7);i.Q6J("ngTemplateOutlet",g)("ngTemplateOutletContext",i.VKq(2,j1,h))}}function Au(T,p){if(1&T){const h=i.EpF();i.TgZ(0,"button",10),i.NdJ("click",function(){i.CHM(h);const C=i.oxw().error;i.oxw();const E=i.MAs(11),X=i.MAs(9),_e=i.oxw();return i.KtG(_e.showModal("Backtrace for '"+C.message+"'",C.backtrace,E,X))}),i._uU(1," View Backtrace "),i.qZA()}}function W1(T,p){if(1&T&&(i._uU(0),i.YNc(1,Au,2,0,"button",9)),2&T){const h=p.error;i.hij(" ",h.message," "),i.xp6(1),i.Q6J("ngIf",h.backtrace.length>0)}}function bl(T,p){if(1&T&&(i.TgZ(0,"pre",11),i._uU(1),i.qZA()),2&T){const h=p.$implicit;i.xp6(1),i.Oqu(h.backtrace)}}function Z1(T,p){if(1&T){const h=i.EpF();i.TgZ(0,"button",12),i.NdJ("click",function(){i.CHM(h);const C=i.oxw(2);return i.KtG(C.copyToClipboard())}),i._uU(1," Copy to Clipboard "),i.qZA(),i.TgZ(2,"button",13),i.NdJ("click",function(){const E=i.CHM(h).modalRef,X=i.oxw(2);return i.KtG(X.hideModal(E))}),i._uU(3," OK "),i.qZA()}}function K1(T,p){if(1&T){const h=i.EpF();i.TgZ(0,"div",1)(1,"nz-alert",2),i.NdJ("nzOnClose",function(){i.CHM(h);const C=i.oxw();return i.KtG(C.onClose())}),i.qZA(),i.YNc(2,G1,1,2,"ng-template",null,3,i.W1O),i.YNc(4,Iu,1,4,"ng-template",null,4,i.W1O),i.YNc(6,W1,2,2,"ng-template",null,5,i.W1O),i.YNc(8,bl,2,1,"ng-template",null,6,i.W1O),i.YNc(10,Z1,4,0,"ng-template",null,7,i.W1O),i.qZA()}if(2&T){const h=i.MAs(3),g=i.MAs(5);i.xp6(1),i.Q6J("nzMessage",h)("nzDescription",g)}}let Sl=(()=>{class T{constructor(h,g,C){this.modal=g,this.clipboard=C,this.modalVisible=!1,this.errors=h}showModal(h,g,C,E){this.modalContent=g.join("\n"),this.modal.create({nzTitle:h,nzFooter:C,nzContent:E,nzWidth:800,nzBodyStyle:{"max-height":"500px",overflow:"hidden","overflow-y":"scroll"},nzClosable:!0,nzOkDisabled:!0,nzCancelDisabled:!0,nzData:{backtrace:this.modalContent}})}hideModal(h){h.destroy()}onClose(){this.errors.clearErrors()}copyToClipboard(){this.clipboard.copy(this.modalContent)}}return T.\u0275fac=function(h){return new(h||T)(i.Y36(pa.Y),i.Y36(Ya.Sf),i.Y36(wu.TU))},T.\u0275cmp=i.Xpm({type:T,selectors:[["cvc-network-error-alert"]],decls:2,vars:3,consts:[["class","alert-container",4,"ngIf"],[1,"alert-container"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzDescription","nzOnClose"],["alertMessage",""],["alertDescription",""],["errorDisplay",""],["modalContent",""],["modalFooter",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzSize","small","nzType","link",3,"click",4,"ngIf"],["nz-button","","nzSize","small","nzType","link",3,"click"],[2,"white-space","pre-wrap","font-size","80%"],["nz-button","","nzType","default",3,"click"],["nz-button","","nzType","primary",3,"click"]],template:function(h,g){1&h&&(i.YNc(0,K1,12,2,"div",0),i.ALo(1,"ngrxPush")),2&h&&i.Q6J("ngIf",i.lcZ(1,1,g.errors.networkError$))},dependencies:[hn.O5,hn.tP,Ic.r,$a.ix,Pu.w,$1.dQ,U1.fM],styles:["[_nghost-%COMP%]{display:block}.alert-container[_ngcontent-%COMP%]{display:block;width:100%;padding:12px 24px}[_nghost-%COMP%] nz-alert .ant-alert-banner{border-radius:8px;border:2px solid #cf1322}.error-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 2em}"],changeDetection:0}),T})(),Fu=(()=>{class T{constructor(h,g){this.iconService=h,this.router=g,this.addIcons(xu),Tl.N.production&&this.router.events.subscribe(C=>{C instanceof ss.m2&>ag("config","UA-60119642-1",{page_path:C.urlAfterRedirects})})}addIcons(h){h.forEach(g=>{const E="civic:"+g.name.replace(/Fullcolor/i,"");this.iconService.addIconLiteral(E,g.data)})}}return T.\u0275fac=function(h){return new(h||T)(i.Y36(Ml.H5),i.Y36(ss.F0))},T.\u0275cmp=i.Xpm({type:T,selectors:[["app-root"]],decls:4,vars:0,consts:[[1,"alert-container"],[1,"app-container"]],template:function(h,g){1&h&&(i.TgZ(0,"div",0),i._UZ(1,"cvc-network-error-alert"),i.qZA(),i.TgZ(2,"div",1),i._UZ(3,"router-outlet"),i.qZA())},dependencies:[ss.lC,Sl],styles:[".alert-container[_ngcontent-%COMP%]{position:absolute;z-index:100;width:100%}.app-container[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;z-index:0;overflow-y:auto}"]}),T})();var as=a(8632),Zn=a(655),xi=a(3555),z=a(5907),ot=a(692),se=a(7095),lp=function(){function T(){this.getFragmentDoc=(0,z.re)(se.Yk)}return T.prototype.batch=function(p){var C,h=this;return this.performTransaction(function(){return C=p.update(h)},"string"==typeof p.optimistic?p.optimistic:!1===p.optimistic?null:void 0),C},T.prototype.recordOptimisticTransaction=function(p,h){this.performTransaction(p,h)},T.prototype.transformDocument=function(p){return p},T.prototype.transformForLink=function(p){return p},T.prototype.identify=function(p){},T.prototype.gc=function(){return[]},T.prototype.modify=function(p){return!1},T.prototype.readQuery=function(p,h){return void 0===h&&(h=!!p.optimistic),this.read((0,Zn.pi)((0,Zn.pi)({},p),{rootId:p.id||"ROOT_QUERY",optimistic:h}))},T.prototype.readFragment=function(p,h){return void 0===h&&(h=!!p.optimistic),this.read((0,Zn.pi)((0,Zn.pi)({},p),{query:this.getFragmentDoc(p.fragment,p.fragmentName),rootId:p.id,optimistic:h}))},T.prototype.writeQuery=function(p){var h=p.id,g=p.data,C=(0,Zn._T)(p,["id","data"]);return this.write(Object.assign(C,{dataId:h||"ROOT_QUERY",result:g}))},T.prototype.writeFragment=function(p){var h=p.id,g=p.data,C=p.fragment,E=p.fragmentName,X=(0,Zn._T)(p,["id","data","fragment","fragmentName"]);return this.write(Object.assign(X,{query:this.getFragmentDoc(C,E),dataId:h,result:g}))},T.prototype.updateQuery=function(p,h){return this.batch({update:function(g){var C=g.readQuery(p),E=h(C);return null==E?C:(g.writeQuery((0,Zn.pi)((0,Zn.pi)({},p),{data:E})),E)}})},T.prototype.updateFragment=function(p,h){return this.batch({update:function(g){var C=g.readFragment(p),E=h(C);return null==E?C:(g.writeFragment((0,Zn.pi)((0,Zn.pi)({},p),{data:E})),E)}})},T}(),J1=function(T){function p(h,g,C,E){var X,_e=T.call(this,h)||this;if(_e.message=h,_e.path=g,_e.query=C,_e.variables=E,Array.isArray(_e.path)){_e.missing=_e.message;for(var xe=_e.path.length-1;xe>=0;--xe)_e.missing=((X={})[_e.path[xe]]=_e.missing,X)}else _e.missing=_e.path;return _e.__proto__=p.prototype,_e}return(0,Zn.ZT)(p,T),p}(Error),zo=a(9173),Nu=a(6140),Lu=a(5560),ku=a(2794),El=a(9990),Cs=a(8725),Rs=a(6630),xl=a(2954),Wr=a(1352);function Ua(T){return __DEV__&&function Id(T){var p=new Set([T]);return p.forEach(function(h){(0,Wr.s)(h)&&function q1(T){if(__DEV__&&!Object.isFrozen(T))try{Object.freeze(T)}catch(p){if(p instanceof TypeError)return null;throw p}return T}(h)===h&&Object.getOwnPropertyNames(h).forEach(function(g){(0,Wr.s)(h[g])&&p.add(h[g])})}),T}(T),T}var X1=a(1823),Pi=a(6001),Xi=Object.prototype.hasOwnProperty;function Ac(T){return null==T}function Ad(T,p){var h=T.__typename,g=T.id,C=T._id;if("string"==typeof h&&(p&&(p.keyObject=Ac(g)?Ac(C)?void 0:{_id:C}:{id:g}),Ac(g)&&!Ac(C)&&(g=C),!Ac(g)))return"".concat(h,":").concat("number"==typeof g||"string"==typeof g?g:JSON.stringify(g))}var ed={dataIdFromObject:Ad,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Dl(T){var p=T.canonizeResults;return void 0===p?ed.canonizeResults:p}var Ga=/^[_a-z][_0-9a-z]*/i;function ha(T){var p=T.match(Ga);return p?p[0]:T}function td(T,p,h){return!!(0,Wr.s)(p)&&((0,Pi.k)(p)?p.every(function(g){return td(T,g,h)}):T.selections.every(function(g){if((0,zo.My)(g)&&(0,xl.LZ)(g,h)){var C=(0,zo.u2)(g);return Xi.call(p,C)&&(!g.selectionSet||td(g.selectionSet,p[C],h))}return!0}))}function Ol(T){return(0,Wr.s)(T)&&!(0,zo.Yk)(T)&&!(0,Pi.k)(T)}function Fc(T,p){var h=(0,se.F)((0,Cs.kU)(T));return{fragmentMap:h,lookupFragment:function(g){var C=h[g];return!C&&p&&(C=p.lookup(g)),C||null}}}var T,p,Vs=Object.create(null),Qa=function(){return Vs},wl=Object.create(null),ja=function(){function T(p,h){var g=this;this.policies=p,this.group=h,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(C,E){return Ua((0,zo.Yk)(C)?g.get(C.__ref,E):C&&C[E])},this.canRead=function(C){return(0,zo.Yk)(C)?g.has(C.__ref):"object"==typeof C},this.toReference=function(C,E){if("string"==typeof C)return(0,zo.kQ)(C);if((0,zo.Yk)(C))return C;var X=g.policies.identify(C)[0];if(X){var _e=(0,zo.kQ)(X);return E&&g.merge(X,C),_e}}}return T.prototype.toObject=function(){return(0,Zn.pi)({},this.data)},T.prototype.has=function(p){return void 0!==this.lookup(p,!0)},T.prototype.get=function(p,h){if(this.group.depend(p,h),Xi.call(this.data,p)){var g=this.data[p];if(g&&Xi.call(g,h))return g[h]}return"__typename"===h&&Xi.call(this.policies.rootTypenamesById,p)?this.policies.rootTypenamesById[p]:this instanceof Fr?this.parent.get(p,h):void 0},T.prototype.lookup=function(p,h){return h&&this.group.depend(p,"__exists"),Xi.call(this.data,p)?this.data[p]:this instanceof Fr?this.parent.lookup(p,h):this.policies.rootTypenamesById[p]?Object.create(null):void 0},T.prototype.merge=function(p,h){var C,g=this;(0,zo.Yk)(p)&&(p=p.__ref),(0,zo.Yk)(h)&&(h=h.__ref);var E="string"==typeof p?this.lookup(C=p):p,X="string"==typeof h?this.lookup(C=h):h;if(X){__DEV__?(0,xi.kG)("string"==typeof C,"store.merge expects a string ID"):(0,xi.kG)("string"==typeof C,1);var _e=new Rs.w0(pp).merge(E,X);if(this.data[C]=_e,_e!==E&&(delete this.refs[C],this.group.caching)){var xe=Object.create(null);E||(xe.__exists=1),Object.keys(X).forEach(function(qe){if(!E||E[qe]!==_e[qe]){xe[qe]=1;var pt=ha(qe);pt!==qe&&!g.policies.hasKeyArgs(_e.__typename,pt)&&(xe[pt]=1),void 0===_e[qe]&&!(g instanceof Fr)&&delete _e[qe]}}),xe.__typename&&!(E&&E.__typename)&&this.policies.rootTypenamesById[C]===_e.__typename&&delete xe.__typename,Object.keys(xe).forEach(function(qe){return g.group.dirty(C,qe)})}}},T.prototype.modify=function(p,h){var g=this,C=this.lookup(p);if(C){var E=Object.create(null),X=!1,_e=!0,xe={DELETE:Vs,INVALIDATE:wl,isReference:zo.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(qe,pt){return g.policies.readField("string"==typeof qe?{fieldName:qe,from:pt||(0,zo.kQ)(p)}:qe,{store:g})}};if(Object.keys(C).forEach(function(qe){var pt=ha(qe),St=C[qe];if(void 0!==St){var Vt="function"==typeof h?h:h[qe]||h[pt];if(Vt){var Ut=Vt===Qa?Vs:Vt(Ua(St),(0,Zn.pi)((0,Zn.pi)({},xe),{fieldName:pt,storeFieldName:qe,storage:g.getStorage(p,qe)}));Ut===wl?g.group.dirty(p,qe):(Ut===Vs&&(Ut=void 0),Ut!==St&&(E[qe]=Ut,X=!0,St=Ut))}void 0!==St&&(_e=!1)}}),X)return this.merge(p,E),_e&&(this instanceof Fr?this.data[p]=void 0:delete this.data[p],this.group.dirty(p,"__exists")),!0}return!1},T.prototype.delete=function(p,h,g){var C,E=this.lookup(p);if(E){var X=this.getFieldValue(E,"__typename"),_e=h&&g?this.policies.getStoreFieldName({typename:X,fieldName:h,args:g}):h;return this.modify(p,_e?((C={})[_e]=Qa,C):Qa)}return!1},T.prototype.evict=function(p,h){var g=!1;return p.id&&(Xi.call(this.data,p.id)&&(g=this.delete(p.id,p.fieldName,p.args)),this instanceof Fr&&this!==h&&(g=this.parent.evict(p,h)||g),(p.fieldName||g)&&this.group.dirty(p.id,p.fieldName||"__exists")),g},T.prototype.clear=function(){this.replace(null)},T.prototype.extract=function(){var p=this,h=this.toObject(),g=[];return this.getRootIdSet().forEach(function(C){Xi.call(p.policies.rootTypenamesById,C)||g.push(C)}),g.length&&(h.__META={extraRootIds:g.sort()}),h},T.prototype.replace=function(p){var h=this;if(Object.keys(this.data).forEach(function(E){p&&Xi.call(p,E)||h.delete(E)}),p){var g=p.__META,C=(0,Zn._T)(p,["__META"]);Object.keys(C).forEach(function(E){h.merge(E,C[E])}),g&&g.extraRootIds.forEach(this.retain,this)}},T.prototype.retain=function(p){return this.rootIds[p]=(this.rootIds[p]||0)+1},T.prototype.release=function(p){if(this.rootIds[p]>0){var h=--this.rootIds[p];return h||delete this.rootIds[p],h}return 0},T.prototype.getRootIdSet=function(p){return void 0===p&&(p=new Set),Object.keys(this.rootIds).forEach(p.add,p),this instanceof Fr?this.parent.getRootIdSet(p):Object.keys(this.policies.rootTypenamesById).forEach(p.add,p),p},T.prototype.gc=function(){var p=this,h=this.getRootIdSet(),g=this.toObject();h.forEach(function(X){Xi.call(g,X)&&(Object.keys(p.findChildRefIds(X)).forEach(h.add,h),delete g[X])});var C=Object.keys(g);if(C.length){for(var E=this;E instanceof Fr;)E=E.parent;C.forEach(function(X){return E.delete(X)})}return C},T.prototype.findChildRefIds=function(p){if(!Xi.call(this.refs,p)){var h=this.refs[p]=Object.create(null),g=this.data[p];if(!g)return h;var C=new Set([g]);C.forEach(function(E){(0,zo.Yk)(E)&&(h[E.__ref]=!0),(0,Wr.s)(E)&&Object.keys(E).forEach(function(X){var _e=E[X];(0,Wr.s)(_e)&&C.add(_e)})})}return this.refs[p]},T.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},T}(),Pl=function(){function T(p,h){void 0===h&&(h=null),this.caching=p,this.parent=h,this.d=null,this.resetCaching()}return T.prototype.resetCaching=function(){this.d=this.caching?(0,z.dP)():null,this.keyMaker=new X1.B(ku.mr)},T.prototype.depend=function(p,h){if(this.d){this.d(Vu(p,h));var g=ha(h);g!==h&&this.d(Vu(p,g)),this.parent&&this.parent.depend(p,h)}},T.prototype.dirty=function(p,h){this.d&&this.d.dirty(Vu(p,h),"__exists"===h?"forget":"setDirty")},T}();function Vu(T,p){return p+"#"+T}function nd(T,p){Il(T)&&T.group.depend(p,"__exists")}p=function(h){function g(C){var X=C.resultCaching,xe=C.seed,qe=h.call(this,C.policies,new Pl(void 0===X||X))||this;return qe.stump=new dp(qe),qe.storageTrie=new X1.B(ku.mr),xe&&qe.replace(xe),qe}return(0,Zn.ZT)(g,h),g.prototype.addLayer=function(C,E){return this.stump.addLayer(C,E)},g.prototype.removeLayer=function(){return this},g.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},g}(T=ja||(ja={})),T.Root=p;var Fr=function(T){function p(h,g,C,E){var X=T.call(this,g.policies,E)||this;return X.id=h,X.parent=g,X.replay=C,X.group=E,C(X),X}return(0,Zn.ZT)(p,T),p.prototype.addLayer=function(h,g){return new p(h,this,g,this.group)},p.prototype.removeLayer=function(h){var g=this,C=this.parent.removeLayer(h);return h===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(E){var X=g.data[E],_e=C.lookup(E);_e?X?X!==_e&&Object.keys(X).forEach(function(xe){(0,ot.D)(X[xe],_e[xe])||g.group.dirty(E,xe)}):(g.group.dirty(E,"__exists"),Object.keys(_e).forEach(function(xe){g.group.dirty(E,xe)})):g.delete(E)}),C):C===this.parent?this:C.addLayer(this.id,this.replay)},p.prototype.toObject=function(){return(0,Zn.pi)((0,Zn.pi)({},this.parent.toObject()),this.data)},p.prototype.findChildRefIds=function(h){var g=this.parent.findChildRefIds(h);return Xi.call(this.data,h)?(0,Zn.pi)((0,Zn.pi)({},g),T.prototype.findChildRefIds.call(this,h)):g},p.prototype.getStorage=function(){for(var h=this.parent;h.parent;)h=h.parent;return h.getStorage.apply(h,arguments)},p}(ja),dp=function(T){function p(h){return T.call(this,"EntityStore.Stump",h,function(){},new Pl(h.group.caching,h.group))||this}return(0,Zn.ZT)(p,T),p.prototype.removeLayer=function(){return this},p.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},p}(Fr);function pp(T,p,h){var g=T[h],C=p[h];return(0,ot.D)(g,C)?g:C}function Il(T){return!!(T instanceof ja&&T.group.caching)}var fa=a(1789);function Nd(T){return[T.selectionSet,T.objectOrReference,T.context,T.context.canonizeResults]}var Bs=function(){function T(p){var h=this;this.knownResults=new(ku.mr?WeakMap:Map),this.config=(0,El.o)(p,{addTypename:!1!==p.addTypename,canonizeResults:Dl(p)}),this.canon=p.canon||new fa.h,this.executeSelectionSet=(0,z.re)(function(g){var C,E=g.context.canonizeResults,X=Nd(g);X[3]=!E;var _e=(C=h.executeSelectionSet).peek.apply(C,X);return _e?E?(0,Zn.pi)((0,Zn.pi)({},_e),{result:h.canon.admit(_e.result)}):_e:(nd(g.context.store,g.enclosingRef.__ref),h.execSelectionSetImpl(g))},{max:this.config.resultCacheMaxSize,keyArgs:Nd,makeCacheKey:function(g,C,E,X){if(Il(E.store))return E.store.makeCacheKey(g,(0,zo.Yk)(C)?C.__ref:C,E.varString,X)}}),this.executeSubSelectedArray=(0,z.re)(function(g){return nd(g.context.store,g.enclosingRef.__ref),h.execSubSelectedArrayImpl(g)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(g){var C=g.field,E=g.array,X=g.context;if(Il(X.store))return X.store.makeCacheKey(C,E,X.varString)}})}return T.prototype.resetCanon=function(){this.canon=new fa.h},T.prototype.diffQueryAgainstStore=function(p){var h=p.store,g=p.query,C=p.rootId,E=void 0===C?"ROOT_QUERY":C,X=p.variables,_e=p.returnPartialData,xe=void 0===_e||_e,qe=p.canonizeResults,pt=void 0===qe?this.config.canonizeResults:qe,St=this.config.cache.policies;X=(0,Zn.pi)((0,Zn.pi)({},(0,Cs.O4)((0,Cs.iW)(g))),X);var jt,Vt=(0,zo.kQ)(E),Ut=this.executeSelectionSet({selectionSet:(0,Cs.p$)(g).selectionSet,objectOrReference:Vt,enclosingRef:Vt,context:(0,Zn.pi)({store:h,query:g,policies:St,variables:X,varString:(0,fa.B)(X),canonizeResults:pt},Fc(g,this.config.fragments))});if(Ut.missing&&(jt=[new J1(Nc(Ut.missing),Ut.missing,g,X)],!xe))throw jt[0];return{result:Ut.result,complete:!jt,missing:jt}},T.prototype.isFresh=function(p,h,g,C){if(Il(C.store)&&this.knownResults.get(p)===g){var E=this.executeSelectionSet.peek(g,h,C,this.canon.isKnown(p));if(E&&p===E.result)return!0}return!1},T.prototype.execSelectionSetImpl=function(p){var h=this,g=p.selectionSet,C=p.objectOrReference,E=p.enclosingRef,X=p.context;if((0,zo.Yk)(C)&&!X.policies.rootTypenamesById[C.__ref]&&!X.store.has(C.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(C.__ref," object")};var Vt,_e=X.variables,xe=X.policies,pt=X.store.getFieldValue(C,"__typename"),St=[],Ut=new Rs.w0;function jt(on,gn){var Un;return on.missing&&(Vt=Ut.merge(Vt,((Un={})[gn]=on.missing,Un))),on.result}this.config.addTypename&&"string"==typeof pt&&!xe.rootIdsByTypename[pt]&&St.push({__typename:pt});var Qt=new Set(g.selections);Qt.forEach(function(on){var gn,Un;if((0,xl.LZ)(on,_e))if((0,zo.My)(on)){var kn=xe.readField({fieldName:on.name.value,field:on,variables:X.variables,from:C},X),io=(0,zo.u2)(on);void 0===kn?Nu.Gw.added(on)||(Vt=Ut.merge(Vt,((gn={})[io]="Can't find field '".concat(on.name.value,"' on ").concat((0,zo.Yk)(C)?C.__ref+" object":"object "+JSON.stringify(C,null,2)),gn))):(0,Pi.k)(kn)?kn=jt(h.executeSubSelectedArray({field:on,array:kn,enclosingRef:E,context:X}),io):on.selectionSet?null!=kn&&(kn=jt(h.executeSelectionSet({selectionSet:on.selectionSet,objectOrReference:kn,enclosingRef:(0,zo.Yk)(kn)?kn:E,context:X}),io)):X.canonizeResults&&(kn=h.canon.pass(kn)),void 0!==kn&&St.push(((Un={})[io]=kn,Un))}else{var Po=(0,se.hi)(on,X.lookupFragment);if(!Po&&on.kind===Lu.h.FRAGMENT_SPREAD)throw __DEV__?new xi.ej("No fragment named ".concat(on.name.value)):new xi.ej(5);Po&&xe.fragmentMatches(Po,pt)&&Po.selectionSet.selections.forEach(Qt.add,Qt)}});var Sn={result:(0,Rs.bw)(St),missing:Vt},Vn=X.canonizeResults?this.canon.admit(Sn):Ua(Sn);return Vn.result&&this.knownResults.set(Vn.result,g),Vn},T.prototype.execSubSelectedArrayImpl=function(p){var _e,h=this,g=p.field,C=p.array,E=p.enclosingRef,X=p.context,xe=new Rs.w0;function qe(pt,St){var Vt;return pt.missing&&(_e=xe.merge(_e,((Vt={})[St]=pt.missing,Vt))),pt.result}return g.selectionSet&&(C=C.filter(X.store.canRead)),C=C.map(function(pt,St){return null===pt?null:(0,Pi.k)(pt)?qe(h.executeSubSelectedArray({field:g,array:pt,enclosingRef:E,context:X}),St):g.selectionSet?qe(h.executeSelectionSet({selectionSet:g.selectionSet,objectOrReference:pt,enclosingRef:(0,zo.Yk)(pt)?pt:E,context:X}),St):(__DEV__&&function hp(T,p,h){if(!p.selectionSet){var g=new Set([h]);g.forEach(function(C){(0,Wr.s)(C)&&(__DEV__?(0,xi.kG)(!(0,zo.Yk)(C),"Missing selection set for object of type ".concat(function Ru(T,p){return(0,zo.Yk)(p)?T.get(p.__ref,"__typename"):p&&p.__typename}(T,C)," returned for query field ").concat(p.name.value)):(0,xi.kG)(!(0,zo.Yk)(C),6),Object.values(C).forEach(g.add,g))})}}(X.store,g,pt),pt)}),{result:X.canonizeResults?this.canon.admit(C):C,missing:_e}},T}();function Nc(T){try{JSON.stringify(T,function(p,h){if("string"==typeof h)throw h;return h})}catch(p){return p}}var fp=a(5078),mp=a(6726),Al=a(3088),kd=Object.create(null);function Bu(T){var p=JSON.stringify(T);return kd[p]||(kd[p]=Object.create(null))}function cr(T){var p=Bu(T);return p.keyFieldsFn||(p.keyFieldsFn=function(h,g){var C=function(X,_e){return g.readField(_e,X)},E=g.keyObject=id(T,function(X){var _e=Nr(g.storeObject,X,C);return void 0===_e&&h!==g.storeObject&&Xi.call(h,X[0])&&(_e=Nr(h,X,Lc)),__DEV__?(0,xi.kG)(void 0!==_e,"Missing field '".concat(X.join("."),"' while extracting keyFields from ").concat(JSON.stringify(h))):(0,xi.kG)(void 0!==_e,2),_e});return"".concat(g.typename,":").concat(JSON.stringify(E))})}function od(T){var p=Bu(T);return p.keyArgsFn||(p.keyArgsFn=function(h,g){var C=g.field,E=g.variables,X=g.fieldName,_e=id(T,function(qe){var pt=qe[0],St=pt.charAt(0);if("@"!==St)if("$"!==St){if(h)return Nr(h,qe)}else{var Qt=pt.slice(1);if(E&&Xi.call(E,Qt)){var fn=qe.slice(0);return fn[0]=Qt,Nr(E,fn)}}else if(C&&(0,Pi.O)(C.directives)){var Vt=pt.slice(1),Ut=C.directives.find(function(Sn){return Sn.name.value===Vt}),jt=Ut&&(0,zo.NC)(Ut,E);return jt&&Nr(jt,qe.slice(1))}}),xe=JSON.stringify(_e);return(h||"{}"!==xe)&&(X+=":"+xe),X})}function id(T,p){var h=new Rs.w0;return Rd(T).reduce(function(g,C){var E,X=p(C);if(void 0!==X){for(var _e=C.length-1;_e>=0;--_e)(E={})[C[_e]]=X,X=E;g=h.merge(g,X)}return g},Object.create(null))}function Rd(T){var p=Bu(T);if(!p.paths){var h=p.paths=[],g=[];T.forEach(function(C,E){(0,Pi.k)(C)?(Rd(C).forEach(function(X){return h.push(g.concat(X))}),g.length=0):(g.push(C),(0,Pi.k)(T[E+1])||(h.push(g.slice(0)),g.length=0))})}return p.paths}function Lc(T,p){return T[p]}function Nr(T,p,h){return h=h||Lc,kc(p.reduce(function g(C,E){return(0,Pi.k)(C)?C.map(function(X){return g(X,E)}):C&&h(C,E)},T))}function kc(T){return(0,Wr.s)(T)?(0,Pi.k)(T)?T.map(kc):id(Object.keys(T).sort(),function(p){return Nr(T,p)}):T}function Fl(T){return void 0!==T.args?T.args:T.field?(0,zo.NC)(T.field,T.variables):null}zo.PT.setStringify(fa.B);var rd=function(){},Hu=function(T,p){return p.fieldName},sd=function(T,p,h){return(0,h.mergeObjects)(T,p)},gp=function(T,p){return p},vp=function(){function T(p){this.config=p,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,Zn.pi)({dataIdFromObject:Ad},p),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),p.possibleTypes&&this.addPossibleTypes(p.possibleTypes),p.typePolicies&&this.addTypePolicies(p.typePolicies)}return T.prototype.identify=function(p,h){var g,C=this,E=h&&(h.typename||(null===(g=h.storeObject)||void 0===g?void 0:g.__typename))||p.__typename;if(E===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var xe,X=h&&h.storeObject||p,_e=(0,Zn.pi)((0,Zn.pi)({},h),{typename:E,storeObject:X,readField:h&&h.readField||function(){var Vt=Nl(arguments,X);return C.readField(Vt,{store:C.cache.data,variables:Vt.variables})}}),qe=E&&this.getTypePolicy(E),pt=qe&&qe.keyFn||this.config.dataIdFromObject;pt;){var St=pt((0,Zn.pi)((0,Zn.pi)({},p),X),_e);if(!(0,Pi.k)(St)){xe=St;break}pt=cr(St)}return xe=xe?String(xe):void 0,_e.keyObject?[xe,_e.keyObject]:[xe]},T.prototype.addTypePolicies=function(p){var h=this;Object.keys(p).forEach(function(g){var C=p[g],E=C.queryType,X=C.mutationType,_e=C.subscriptionType,xe=(0,Zn._T)(C,["queryType","mutationType","subscriptionType"]);E&&h.setRootTypename("Query",g),X&&h.setRootTypename("Mutation",g),_e&&h.setRootTypename("Subscription",g),Xi.call(h.toBeAdded,g)?h.toBeAdded[g].push(xe):h.toBeAdded[g]=[xe]})},T.prototype.updateTypePolicy=function(p,h){var g=this,C=this.getTypePolicy(p),E=h.keyFields,X=h.fields;function _e(xe,qe){xe.merge="function"==typeof qe?qe:!0===qe?sd:!1===qe?gp:xe.merge}_e(C,h.merge),C.keyFn=!1===E?rd:(0,Pi.k)(E)?cr(E):"function"==typeof E?E:C.keyFn,X&&Object.keys(X).forEach(function(xe){var qe=g.getFieldPolicy(p,xe,!0),pt=X[xe];if("function"==typeof pt)qe.read=pt;else{var St=pt.keyArgs,Vt=pt.read,Ut=pt.merge;qe.keyFn=!1===St?Hu:(0,Pi.k)(St)?od(St):"function"==typeof St?St:qe.keyFn,"function"==typeof Vt&&(qe.read=Vt),_e(qe,Ut)}qe.read&&qe.merge&&(qe.keyFn=qe.keyFn||Hu)})},T.prototype.setRootTypename=function(p,h){void 0===h&&(h=p);var g="ROOT_"+p.toUpperCase(),C=this.rootTypenamesById[g];h!==C&&(__DEV__?(0,xi.kG)(!C||C===p,"Cannot change root ".concat(p," __typename more than once")):(0,xi.kG)(!C||C===p,3),C&&delete this.rootIdsByTypename[C],this.rootIdsByTypename[h]=g,this.rootTypenamesById[g]=h)},T.prototype.addPossibleTypes=function(p){var h=this;this.usingPossibleTypes=!0,Object.keys(p).forEach(function(g){h.getSupertypeSet(g,!0),p[g].forEach(function(C){h.getSupertypeSet(C,!0).add(g);var E=C.match(Ga);(!E||E[0]!==C)&&h.fuzzySubtypes.set(C,new RegExp(C))})})},T.prototype.getTypePolicy=function(p){var h=this;if(!Xi.call(this.typePolicies,p)){var g=this.typePolicies[p]=Object.create(null);g.fields=Object.create(null);var C=this.supertypeMap.get(p);C&&C.size&&C.forEach(function(X){var _e=h.getTypePolicy(X),xe=_e.fields,qe=(0,Zn._T)(_e,["fields"]);Object.assign(g,qe),Object.assign(g.fields,xe)})}var E=this.toBeAdded[p];return E&&E.length&&E.splice(0).forEach(function(X){h.updateTypePolicy(p,X)}),this.typePolicies[p]},T.prototype.getFieldPolicy=function(p,h,g){if(p){var C=this.getTypePolicy(p).fields;return C[h]||g&&(C[h]=Object.create(null))}},T.prototype.getSupertypeSet=function(p,h){var g=this.supertypeMap.get(p);return!g&&h&&this.supertypeMap.set(p,g=new Set),g},T.prototype.fragmentMatches=function(p,h,g,C){var E=this;if(!p.typeCondition)return!0;if(!h)return!1;var X=p.typeCondition.name.value;if(h===X)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(X))for(var _e=this.getSupertypeSet(h,!0),xe=[_e],qe=function(jt){var Qt=E.getSupertypeSet(jt,!1);Qt&&Qt.size&&xe.indexOf(Qt)<0&&xe.push(Qt)},pt=!(!g||!this.fuzzySubtypes.size),St=!1,Vt=0;Vt1?T[1]:p}:(X=(0,Zn.pi)({},g),Xi.call(X,"from")||(X.from=p)),__DEV__&&void 0===X.from&&__DEV__&&xi.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function Ld(T){var p=(0,mp.X)("stringifyForDisplay");return JSON.stringify(T,function(h,g){return void 0===g?p:g}).split(JSON.stringify(p)).join("")}(Array.from(T)))),void 0===X.variables&&(X.variables=h),X}function Vd(T){return function(h,g){if((0,Pi.k)(h)||(0,Pi.k)(g))throw __DEV__?new xi.ej("Cannot automatically merge arrays"):new xi.ej(4);if((0,Wr.s)(h)&&(0,Wr.s)(g)){var C=T.getFieldValue(h,"__typename"),E=T.getFieldValue(g,"__typename");if(C&&E&&C!==E)return g;if((0,zo.Yk)(h)&&Ol(g))return T.merge(h.__ref,g),h;if(Ol(h)&&(0,zo.Yk)(g))return T.merge(h,g.__ref),g;if(Ol(h)&&Ol(g))return(0,Zn.pi)((0,Zn.pi)({},h),g)}return g}}function Bd(T,p,h){var g="".concat(p).concat(h),C=T.flavors.get(g);return C||T.flavors.set(g,C=T.clientOnly===p&&T.deferred===h?T:(0,Zn.pi)((0,Zn.pi)({},T),{clientOnly:p,deferred:h})),C}var Hd=function(){function T(p,h,g){this.cache=p,this.reader=h,this.fragments=g}return T.prototype.writeToStore=function(p,h){var g=this,C=h.query,E=h.result,X=h.dataId,_e=h.variables,xe=h.overwrite,qe=(0,Cs.$H)(C),pt=function up(){return new Rs.w0}();_e=(0,Zn.pi)((0,Zn.pi)({},(0,Cs.O4)(qe)),_e);var St=(0,Zn.pi)((0,Zn.pi)({store:p,written:Object.create(null),merge:function(Ut,jt){return pt.merge(Ut,jt)},variables:_e,varString:(0,fa.B)(_e)},Fc(C,this.fragments)),{overwrite:!!xe,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),Vt=this.processSelectionSet({result:E||Object.create(null),dataId:X,selectionSet:qe.selectionSet,mergeTree:{map:new Map},context:St});if(!(0,zo.Yk)(Vt))throw __DEV__?new xi.ej("Could not identify object ".concat(JSON.stringify(E))):new xi.ej(7);return St.incomingById.forEach(function(Ut,jt){var Qt=Ut.storeObject,fn=Ut.mergeTree,Sn=Ut.fieldNodeSet,Vn=(0,zo.kQ)(jt);if(fn&&fn.map.size){var on=g.applyMerges(fn,Vn,Qt,St);if((0,zo.Yk)(on))return;Qt=on}if(__DEV__&&!St.overwrite){var gn=Object.create(null);Sn.forEach(function(io){io.selectionSet&&(gn[io.name.value]=!0)}),Object.keys(Qt).forEach(function(io){(function(io){return!0===gn[ha(io)]})(io)&&!function(io){var Po=fn&&fn.map.get(io);return!!(Po&&Po.info&&Po.info.merge)}(io)&&function Ud(T,p,h,g){var C=function(St){var Vt=g.getFieldValue(St,h);return"object"==typeof Vt&&Vt},E=C(T);if(E){var X=C(p);if(X&&!(0,zo.Yk)(E)&&!(0,ot.D)(E,X)&&!Object.keys(E).every(function(St){return void 0!==g.getFieldValue(X,St)})){var _e=g.getFieldValue(T,"__typename")||g.getFieldValue(p,"__typename"),xe=ha(h),qe="".concat(_e,".").concat(xe);if(!zs.has(qe)){zs.add(qe);var pt=[];!(0,Pi.k)(E)&&!(0,Pi.k)(X)&&[E,X].forEach(function(St){var Vt=g.getFieldValue(St,"__typename");"string"==typeof Vt&&!pt.includes(Vt)&&pt.push(Vt)}),__DEV__&&xi.kG.warn("Cache data may be lost when replacing the ".concat(xe," field of a ").concat(_e," object.\n\nThis could cause additional (usually avoidable) network requests to fetch data that were otherwise cached.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(pt.length?"either ensure all objects of type "+pt.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(qe," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(E).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(X).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(Vn,Qt,io,St.store)})}p.merge(jt,Qt)}),p.retain(Vt.__ref),Vt},T.prototype.processSelectionSet=function(p){var h=this,g=p.dataId,C=p.result,E=p.selectionSet,X=p.context,_e=p.mergeTree,xe=this.cache.policies,qe=Object.create(null),pt=g&&xe.rootTypenamesById[g]||(0,zo.qw)(C,E,X.fragmentMap)||g&&X.store.get(g,"__typename");"string"==typeof pt&&(qe.__typename=pt);var St=function(){var on=Nl(arguments,qe,X.variables);if((0,zo.Yk)(on.from)){var gn=X.incomingById.get(on.from.__ref);if(gn){var Un=xe.readField((0,Zn.pi)((0,Zn.pi)({},on),{from:gn.storeObject}),X);if(void 0!==Un)return Un}}return xe.readField(on,X)},Vt=new Set;this.flattenFields(E,C,X,pt).forEach(function(on,gn){var Un,kn=(0,zo.u2)(gn),io=C[kn];if(Vt.add(gn),void 0!==io){var Po=xe.getStoreFieldName({typename:pt,fieldName:gn.name.value,field:gn,variables:on.variables}),fi=$d(_e,Po),Ii=h.processFieldValue(io,gn,gn.selectionSet?Bd(on,!1,!1):on,fi),cs=void 0;gn.selectionSet&&((0,zo.Yk)(Ii)||Ol(Ii))&&(cs=St("__typename",Ii));var Wi=xe.getMergeFunction(pt,gn.name.value,cs);Wi?fi.info={field:gn,typename:pt,merge:Wi}:cd(_e,Po),qe=on.merge(qe,((Un={})[Po]=Ii,Un))}else __DEV__&&!on.clientOnly&&!on.deferred&&!Nu.Gw.added(gn)&&!xe.getReadFunction(pt,gn.name.value)&&__DEV__&&xi.kG.error("Missing field '".concat((0,zo.u2)(gn),"' while writing result ").concat(JSON.stringify(C,null,2)).substring(0,1e3))});try{var Ut=xe.identify(C,{typename:pt,selectionSet:E,fragmentMap:X.fragmentMap,storeObject:qe,readField:St}),Qt=Ut[1];g=g||Ut[0],Qt&&(qe=X.merge(qe,Qt))}catch(on){if(!g)throw on}if("string"==typeof g){var fn=(0,zo.kQ)(g),Sn=X.written[g]||(X.written[g]=[]);if(Sn.indexOf(E)>=0||(Sn.push(E),this.reader&&this.reader.isFresh(C,fn,E,X)))return fn;var Vn=X.incomingById.get(g);return Vn?(Vn.storeObject=X.merge(Vn.storeObject,qe),Vn.mergeTree=ad(Vn.mergeTree,_e),Vt.forEach(function(on){return Vn.fieldNodeSet.add(on)})):X.incomingById.set(g,{storeObject:qe,mergeTree:$u(_e)?void 0:_e,fieldNodeSet:Vt}),fn}return qe},T.prototype.processFieldValue=function(p,h,g,C){var E=this;return h.selectionSet&&null!==p?(0,Pi.k)(p)?p.map(function(X,_e){var xe=E.processFieldValue(X,h,g,$d(C,_e));return cd(C,_e),xe}):this.processSelectionSet({result:p,selectionSet:h.selectionSet,context:g,mergeTree:C}):__DEV__?(0,fp.X)(p):p},T.prototype.flattenFields=function(p,h,g,C){void 0===C&&(C=(0,zo.qw)(h,p,g.fragmentMap));var E=new Map,X=this.cache.policies,_e=new X1.B(!1);return function xe(qe,pt){var St=_e.lookup(qe,pt.clientOnly,pt.deferred);St.visited||(St.visited=!0,qe.selections.forEach(function(Vt){if((0,xl.LZ)(Vt,g.variables)){var Ut=pt.clientOnly,jt=pt.deferred;if(!(Ut&&jt)&&(0,Pi.O)(Vt.directives)&&Vt.directives.forEach(function(Sn){var Vn=Sn.name.value;if("client"===Vn&&(Ut=!0),"defer"===Vn){var on=(0,zo.NC)(Sn,g.variables);(!on||!1!==on.if)&&(jt=!0)}}),(0,zo.My)(Vt)){var Qt=E.get(Vt);Qt&&(Ut=Ut&&Qt.clientOnly,jt=jt&&Qt.deferred),E.set(Vt,Bd(g,Ut,jt))}else{var fn=(0,se.hi)(Vt,g.lookupFragment);if(!fn&&Vt.kind===Lu.h.FRAGMENT_SPREAD)throw __DEV__?new xi.ej("No fragment named ".concat(Vt.name.value)):new xi.ej(8);fn&&X.fragmentMatches(fn,C,h,g.variables)&&xe(fn.selectionSet,Bd(g,Ut,jt))}}}))}(p,g),E},T.prototype.applyMerges=function(p,h,g,C,E){var X,_e=this;if(p.map.size&&!(0,zo.Yk)(g)){var xe=(0,Pi.k)(g)||!(0,zo.Yk)(h)&&!Ol(h)?void 0:h,qe=g;xe&&!E&&(E=[(0,zo.Yk)(xe)?xe.__ref:xe]);var pt,St=function(Vt,Ut){return(0,Pi.k)(Vt)?"number"==typeof Ut?Vt[Ut]:void 0:C.store.getFieldValue(Vt,String(Ut))};p.map.forEach(function(Vt,Ut){var jt=St(xe,Ut),Qt=St(qe,Ut);if(void 0!==Qt){E&&E.push(Ut);var fn=_e.applyMerges(Vt,jt,Qt,C,E);fn!==Qt&&(pt=pt||new Map).set(Ut,fn),E&&(0,xi.kG)(E.pop()===Ut)}}),pt&&(g=(0,Pi.k)(qe)?qe.slice(0):(0,Zn.pi)({},qe),pt.forEach(function(Vt,Ut){g[Ut]=Vt}))}return p.info?this.cache.policies.runMergeFunction(h,g,p.info,C,E&&(X=C.store).getStorage.apply(X,E)):g},T}(),Yd=[];function $d(T,p){var h=T.map;return h.has(p)||h.set(p,Yd.pop()||{map:new Map}),h.get(p)}function ad(T,p){if(T===p||!p||$u(p))return T;if(!T||$u(T))return p;var h=T.info&&p.info?(0,Zn.pi)((0,Zn.pi)({},T.info),p.info):T.info||p.info,g=T.map.size&&p.map.size,E={info:h,map:g?new Map:T.map.size?T.map:p.map};if(g){var X=new Set(p.map.keys());T.map.forEach(function(_e,xe){E.map.set(xe,ad(_e,p.map.get(xe))),X.delete(xe)}),X.forEach(function(_e){E.map.set(_e,ad(p.map.get(_e),T.map.get(_e)))})}return E}function $u(T){return!T||!(T.info||T.map.size)}function cd(T,p){var h=T.map,g=h.get(p);g&&$u(g)&&(Yd.push(g),h.delete(p))}var zs=new Set,ld=function(T){function p(h){void 0===h&&(h={});var g=T.call(this)||this;return g.watches=new Set,g.typenameDocumentCache=new Map,g.makeVar=Al.QS,g.txCount=0,g.config=function Fd(T){return(0,El.o)(ed,T)}(h),g.addTypename=!!g.config.addTypename,g.policies=new vp({cache:g,dataIdFromObject:g.config.dataIdFromObject,possibleTypes:g.config.possibleTypes,typePolicies:g.config.typePolicies}),g.init(),g}return(0,Zn.ZT)(p,T),p.prototype.init=function(){var h=this.data=new ja.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=h.stump,this.resetResultCache()},p.prototype.resetResultCache=function(h){var g=this,C=this.storeReader,E=this.config.fragments;this.storeWriter=new Hd(this,this.storeReader=new Bs({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Dl(this.config),canon:h?void 0:C&&C.canon,fragments:E}),E),this.maybeBroadcastWatch=(0,z.re)(function(X,_e){return g.broadcastWatch(X,_e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(X){var _e=X.optimistic?g.optimisticData:g.data;if(Il(_e))return _e.makeCacheKey(X.query,X.callback,(0,fa.B)({optimistic:X.optimistic,id:X.id,variables:X.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(X){return X.resetCaching()})},p.prototype.restore=function(h){return this.init(),h&&this.data.replace(h),this},p.prototype.extract=function(h){return void 0===h&&(h=!1),(h?this.optimisticData:this.data).extract()},p.prototype.read=function(h){var g=h.returnPartialData,C=void 0!==g&&g;try{return this.storeReader.diffQueryAgainstStore((0,Zn.pi)((0,Zn.pi)({},h),{store:h.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:C})).result||null}catch(E){if(E instanceof J1)return null;throw E}},p.prototype.write=function(h){try{return++this.txCount,this.storeWriter.writeToStore(this.data,h)}finally{!--this.txCount&&!1!==h.broadcast&&this.broadcastWatches()}},p.prototype.modify=function(h){if(Xi.call(h,"id")&&!h.id)return!1;var g=h.optimistic?this.optimisticData:this.data;try{return++this.txCount,g.modify(h.id||"ROOT_QUERY",h.fields)}finally{!--this.txCount&&!1!==h.broadcast&&this.broadcastWatches()}},p.prototype.diff=function(h){return this.storeReader.diffQueryAgainstStore((0,Zn.pi)((0,Zn.pi)({},h),{store:h.optimistic?this.optimisticData:this.data,rootId:h.id||"ROOT_QUERY",config:this.config}))},p.prototype.watch=function(h){var g=this;return this.watches.size||(0,Al._v)(this),this.watches.add(h),h.immediate&&this.maybeBroadcastWatch(h),function(){g.watches.delete(h)&&!g.watches.size&&(0,Al.li)(g),g.maybeBroadcastWatch.forget(h)}},p.prototype.gc=function(h){fa.B.reset();var g=this.optimisticData.gc();return h&&!this.txCount&&(h.resetResultCache?this.resetResultCache(h.resetResultIdentities):h.resetResultIdentities&&this.storeReader.resetCanon()),g},p.prototype.retain=function(h,g){return(g?this.optimisticData:this.data).retain(h)},p.prototype.release=function(h,g){return(g?this.optimisticData:this.data).release(h)},p.prototype.identify=function(h){if((0,zo.Yk)(h))return h.__ref;try{return this.policies.identify(h)[0]}catch(g){__DEV__&&xi.kG.warn(g)}},p.prototype.evict=function(h){if(!h.id){if(Xi.call(h,"id"))return!1;h=(0,Zn.pi)((0,Zn.pi)({},h),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(h,this.data)}finally{!--this.txCount&&!1!==h.broadcast&&this.broadcastWatches()}},p.prototype.reset=function(h){var g=this;return this.init(),fa.B.reset(),h&&h.discardWatches?(this.watches.forEach(function(C){return g.maybeBroadcastWatch.forget(C)}),this.watches.clear(),(0,Al.li)(this)):this.broadcastWatches(),Promise.resolve()},p.prototype.removeOptimistic=function(h){var g=this.optimisticData.removeLayer(h);g!==this.optimisticData&&(this.optimisticData=g,this.broadcastWatches())},p.prototype.batch=function(h){var qe,g=this,C=h.update,E=h.optimistic,X=void 0===E||E,_e=h.removeOptimistic,xe=h.onWatchUpdated,pt=function(Vt){var jt=g.data,Qt=g.optimisticData;++g.txCount,Vt&&(g.data=g.optimisticData=Vt);try{return qe=C(g)}finally{--g.txCount,g.data=jt,g.optimisticData=Qt}},St=new Set;return xe&&!this.txCount&&this.broadcastWatches((0,Zn.pi)((0,Zn.pi)({},h),{onWatchUpdated:function(Vt){return St.add(Vt),!1}})),"string"==typeof X?this.optimisticData=this.optimisticData.addLayer(X,pt):!1===X?pt(this.data):pt(),"string"==typeof _e&&(this.optimisticData=this.optimisticData.removeLayer(_e)),xe&&St.size?(this.broadcastWatches((0,Zn.pi)((0,Zn.pi)({},h),{onWatchUpdated:function(Vt,Ut){var jt=xe.call(this,Vt,Ut);return!1!==jt&&St.delete(Vt),jt}})),St.size&&St.forEach(function(Vt){return g.maybeBroadcastWatch.dirty(Vt)})):this.broadcastWatches(h),qe},p.prototype.performTransaction=function(h,g){return this.batch({update:h,optimistic:g||null!==g})},p.prototype.transformDocument=function(h){if(this.addTypename){var g=this.typenameDocumentCache.get(h);return g||(g=(0,Nu.Gw)(h),this.typenameDocumentCache.set(h,g),this.typenameDocumentCache.set(g,g)),g}return h},p.prototype.transformForLink=function(h){var g=this.config.fragments;return g?g.transform(h):h},p.prototype.broadcastWatches=function(h){var g=this;this.txCount||this.watches.forEach(function(C){return g.maybeBroadcastWatch(C,h)})},p.prototype.broadcastWatch=function(h,g){var C=h.lastDiff,E=this.diff(h);g&&(h.optimistic&&"string"==typeof g.optimistic&&(E.fromOptimisticTransaction=!0),g.onWatchUpdated&&!1===g.onWatchUpdated.call(this,h,E,C))||(!C||!(0,ot.D)(C.result,E.result))&&h.callback(h.lastDiff=E,C)},p}(lp);const Bi={possibleTypes:{CommentBodySegment:["CommentTagSegment","CommentTextSegment","User"],Commentable:["Assertion","EvidenceItem","Flag","Gene","MolecularProfile","Revision","Source","SourcePopover","Variant","VariantGroup"],EventOriginObject:["Assertion","Comment","EvidenceItem","Flag","MolecularProfile","Revision","SourceSuggestion","Variant"],EventSubject:["Assertion","EvidenceItem","Gene","MolecularProfile","Revision","Source","SourcePopover","SourceSuggestion","Variant","VariantGroup"],Flaggable:["Assertion","BrowseGene","EvidenceItem","Gene","MolecularProfile","Variant","VariantGroup"],ModeratedField:["ObjectField","ScalarField"],ModeratedFieldDiff:["ObjectFieldDiff","ScalarFieldDiff"],MolecularProfileComponent:["Gene","Variant"],MolecularProfileSegment:["Gene","MolecularProfileTextSegment","Variant"],WithRevisions:["Assertion","EvidenceItem","Gene","MolecularProfile","Variant","VariantGroup"]}};var Uu=a(9111),ma=a(7691),ud=a(86),dd=a(7619);class jd extends as.i{constructor(p,h){super(),(0,ma.Z)(this,"httpClient",void 0),(0,ma.Z)(this,"options",void 0),(0,ma.Z)(this,"requester",void 0),(0,ma.Z)(this,"print",ud.S),this.httpClient=p,this.options=h,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=g=>new dd.y(C=>{const E=g.getContext(),X=(Vn,on)=>function Wa(...T){const p=T.find(h=>typeof h<"u");return typeof p>"u"?T[T.length-1]:p}(E[Vn],this.options[Vn],on);let _e=X("method","POST");const xe=X("includeQuery",!0),qe=X("includeExtensions",!1),pt=X("uri","graphql"),St=X("withCredentials"),Vt=X("useMultipart"),Ut=!0===this.options.useGETForQueries,jt=g.query.definitions.some(Vn=>"OperationDefinition"===Vn.kind&&"query"===Vn.operation);Ut&&jt&&(_e="GET");const Qt={method:_e,url:"function"==typeof pt?pt(g):pt,body:{operationName:g.operationName,variables:g.variables},options:{withCredentials:St,useMultipart:Vt,headers:this.options.headers}};qe&&(Qt.body.extensions=g.extensions),xe&&(Qt.body.query=this.print(g.query));const fn=function pd(T){let p=T.headers&&T.headers instanceof Mn.WM?T.headers:new Mn.WM(T.headers);if(T.clientAwareness){const{name:h,version:g}=T.clientAwareness;h&&!p.has("apollographql-client-name")&&(p=p.set("apollographql-client-name",h)),g&&!p.has("apollographql-client-version")&&(p=p.set("apollographql-client-version",g))}return p}(E);Qt.options.headers=((T,p)=>T&&p?p.keys().reduce((g,C)=>g.set(C,p.getAll(C)),T):p||T)(Qt.options.headers,fn);const Sn=((T,p,h)=>{const g=-1!==["POST","PUT","PATCH"].indexOf(T.method.toUpperCase()),E=T.body.length;let _e,X=T.options&&T.options.useMultipart;if(X){if(E)return new v.y(qe=>qe.error(new Error("File upload is not available when combined with Batching")));if(!g)return new v.y(qe=>qe.error(new Error("File upload is not available when GET is used")));if(!h)return new v.y(qe=>qe.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));_e=h(T.body),X=!!_e.files.size}let xe={};if(E){if(!g)return new v.y(qe=>qe.error(new Error("Batching is not available for GET requests")));xe={body:T.body}}else xe=g?{body:X?_e.clone:T.body}:{params:Object.keys(T.body).reduce((St,Vt)=>{const Ut=T.body[Vt];return St[Vt]=-1!==["variables","extensions"].indexOf(Vt.toLowerCase())?JSON.stringify(Ut):Ut,St},{})};if(X&&g){const qe=new FormData;qe.append("operations",JSON.stringify(xe.body));const pt={},St=_e.files;let Vt=0;St.forEach(Ut=>{pt[++Vt]=Ut}),qe.append("map",JSON.stringify(pt)),Vt=0,St.forEach((Ut,jt)=>{qe.append(++Vt+"",jt,jt.name)}),xe.body=qe}return p.request(T.method,T.url,{observe:"response",responseType:"json",reportProgress:!1,...xe,...T.options})})(Qt,this.httpClient,this.options.extractFiles).subscribe({next:Vn=>{g.setContext({response:Vn}),C.next(Vn.body)},error:Vn=>C.error(Vn),complete:()=>C.complete()});return()=>{Sn.closed||Sn.unsubscribe()}})}request(p){return this.requester(p)}}let Jp=(()=>{class T{constructor(h){(0,ma.Z)(this,"httpClient",void 0),this.httpClient=h}create(h){return new jd(this.httpClient,h)}}return(0,ma.Z)(T,"\u0275fac",function(h){return new(h||T)(i.LFG(Mn.eN))}),(0,ma.Z)(T,"\u0275prov",i.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"})),T})();function gi(T){return void 0===T&&(T=!1),{keyArgs:T,read:function(p,h){var g=h.canRead,C=h.readField;if(!p)return p;var E=[],X="",_e="";p.edges.forEach(function(St){g(C("node",St))&&(E.push(St),St.cursor&&(X=X||St.cursor||"",_e=St.cursor||_e))}),E.length>1&&X===_e&&(X="");var xe=p.pageInfo||{},qe=xe.startCursor,pt=xe.endCursor;return(0,Zn.pi)((0,Zn.pi)({},Ts(p)),{edges:E,pageInfo:(0,Zn.pi)((0,Zn.pi)({},p.pageInfo),{startCursor:qe||X,endCursor:pt||_e})})},merge:function(p,h,g){var C=g.args,E=g.isReference,X=g.readField;if(p||(p={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!h)return p;var _e=h.edges?h.edges.map(function(Po){return E(Po=(0,Zn.pi)({},Po))&&(Po.cursor=X("cursor",Po)),Po}):[];if(h.pageInfo){var xe=h.pageInfo,qe=xe.startCursor,pt=xe.endCursor,St=_e[0],Vt=_e[_e.length-1];St&&qe&&(St.cursor=qe),Vt&&pt&&(Vt.cursor=pt);var Ut=St&&St.cursor;Ut&&!qe&&(h=(0,Rs.Ee)(h,{pageInfo:{startCursor:Ut}}));var jt=Vt&&Vt.cursor;jt&&!pt&&(h=(0,Rs.Ee)(h,{pageInfo:{endCursor:jt}}))}var Qt=p.edges,fn=[];if(C&&C.after)(Sn=Qt.findIndex(function(Po){return Po.cursor===C.after}))>=0&&(Qt=Qt.slice(0,Sn+1));else if(C&&C.before){var Sn;fn=(Sn=Qt.findIndex(function(fi){return fi.cursor===C.before}))<0?Qt:Qt.slice(Sn),Qt=[]}else h.edges&&(Qt=[]);var Vn=(0,Zn.ev)((0,Zn.ev)((0,Zn.ev)([],Qt,!0),_e,!0),fn,!0),on=(0,Zn.pi)((0,Zn.pi)({},h.pageInfo),p.pageInfo);if(h.pageInfo){var gn=h.pageInfo,Un=gn.hasPreviousPage,kn=gn.hasNextPage,io=(qe=gn.startCursor,pt=gn.endCursor,(0,Zn._T)(gn,["hasPreviousPage","hasNextPage","startCursor","endCursor"]));Object.assign(on,io),Qt.length||(void 0!==Un&&(on.hasPreviousPage=Un),void 0!==qe&&(on.startCursor=qe)),fn.length||(void 0!==kn&&(on.hasNextPage=kn),void 0!==pt&&(on.endCursor=pt))}return(0,Zn.pi)((0,Zn.pi)((0,Zn.pi)({},Ts(p)),Ts(h)),{edges:Vn,pageInfo:on})}}}var Ts=function(T){return(0,Zn._T)(T,fd)},fd=["edges","pageInfo"];const Zd={Gene:{fields:{comments:gi(),revisions:gi(),events:gi(),variants:gi()}},Query:{fields:{browseGenes:gi(["entrezSymbol","therapayName","geneAlias","diseaseName"]),browseVariants:gi(["variantName","entrezSymbol","diseaseName","therapayName","variantTypeId","variantGroupId"]),browseMolecularProfiles:gi(["variantName","entrezSymbol","diseaseName","therapyName","molecularProfileScore","molecularProfileAlias","variantId"]),browseVariantGroups:gi(["name","geneNames","variantNames","variantId"]),browseSources:gi(["name","year","sourceType","citationId","author","journal","clinicalTrialId","id","openAccess"]),sourceSuggestions:gi(["sourceType","citationId","sourceId","molecularProfileName","diseaseName","comment","submitter","citation","status","submitterId"]),browseDiseases:gi(["name","doid","geneNames","id"]),events:gi(["subject","organizationId","originatingUserId","eventType"]),variants:gi(["geneId","name"]),molecularProfiles:gi(["geneId","name","evidenceStatusFilter"]),comments:gi(["originatingUserId","subject"]),evidenceItems:gi(["diseaseName","therapayName","id","description","evidenceLevel","evidenceDirection","significance","evidenceType","evidenceRating","variantOrigin","variantId","molecularProfileId","assertionId","organizationId","userId","phenotypeId","diseaseId","therapayId","sourceId","geneSymbol","variantName","status","clinicalTrialId"]),assertions:gi(["diseaseName","therapayName","id","name","summary","assertionDirection","significance","assertionType","variantId","molecularProfileId","ampLevel","geneName","variantName","evidenceId","organizationId","userId","phenotypeId","diseaseId","therapayId","status"]),organizations:gi(["name","id"]),flags:gi(["flaggable","flaggingUserId","resolvingUserId","state"]),phenotypes:gi(["hpoId","name","id"]),variantTypes:gi(["soid","name","id"]),therapies:gi(["ncitId","name","id"]),clinicalTrials:gi(["nctId","name","id"]),notifications:gi(["notificationReason","subscriptionId","originatingObject","eventType","originatingUserId","organizationId","includeRead"]),revisions:gi(["subject","status","originatingUserId","fieldName","revisionsetId"]),users:gi(["userName","orgName","userRole"])}},User:{fields:{mostRecentOrg:{read:(T,{readField:p})=>{const h=p("mostRecentOrganizationId"),g=p("organizations");if(h&&g)return g.find(C=>C.__ref===`Organization:${h}`)}}}}},qp=Zd;function gd(T){let p=T.create({uri:"/api/graphql",withCredentials:!0});return{link:new as.i((g,C)=>(g.setContext({headers:{"Civic-Client-Name":"civic-frontend"}}),C(g))).concat(p),cache:new ld({possibleTypes:Bi.possibleTypes,typePolicies:qp}),defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",errorPolicy:"all",notifyOnNetworkStatusChange:!0}}}}let Cp=(()=>{class T{}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({providers:[{provide:Uu.BV,useValue:{useInitialLoading:!0}},{provide:Uu.zu,useFactory:gd,deps:[Jp]}],imports:[Uu.VG]}),T})();var vd=a(2392);let Kd=(()=>{class T{}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({imports:[hn.ez,Ic.L,$a.sL,Ya.Qp,vd.ZJ]}),T})(),Jd=(()=>{class T{handleError(h){/Loading chunk [\d]+ failed/.test(h.message)&&confirm("There is an updated version of CiVIC available. Click OK to reload.")&&window.location.reload()}}return T.\u0275fac=function(h){return new(h||T)},T.\u0275prov=i.Yz7({token:T,factory:T.\u0275fac}),T})();var Za=a(6683);function zp(T){return()=>T.get("/api/status")}(0,hn.qS)(Rn);let _d=(()=>{class T{}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=i.oAB({type:T,bootstrap:[Fu]}),T.\u0275inj=i.cJS({providers:[eu.N,{provide:i.qLn,useClass:Jd},{provide:Du.u7,useValue:Du.iF},{provide:i.ip1,useFactory:zp,deps:[Mn.eN],multi:!0}],imports:[Ou,mc,t.b2,Cp,Mn.JF,Mn.PD,Mn.Ed,Pc.s,Ml.PV.forRoot(k1),Za.S,Kd]}),T})();if(Tl.N.production)(0,i.G48)();else{const T=function zt(){return new re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}();T.unplug(T.find(Ri)),T.show(),T.log()}t.q6().bootstrapModule(_d).catch(T=>console.error(T))},530:(xt,Se,a)=>{a.d(Se,{g7:()=>P});var t=null,i={},v=1;function s(R){try{return R()}catch{}}var k="@wry/context:Slot",U=s(function(){return globalThis})||s(function(){return global})||Object.create(null),P=U[k]||Array[k]||function(R){try{Object.defineProperty(U,k,{value:R,enumerable:!1,writable:!1,configurable:!0})}finally{return R}}(function(){function R(){this.id=["slot",v++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return R.prototype.hasValue=function(){for(var ge=t;ge;ge=ge.parent)if(this.id in ge.slots){var ze=ge.slots[this.id];if(ze===i)break;return ge!==t&&(t.slots[this.id]=ze),!0}return t&&(t.slots[this.id]=i),!1},R.prototype.getValue=function(){if(this.hasValue())return t.slots[this.id]},R.prototype.withValue=function(ge,ze,K,N){var V,O=((V={__proto__:null})[this.id]=ge,V),A=t;t={parent:A,slots:O};try{return ze.apply(N,K)}finally{t=A}},R.bind=function(ge){var ze=t;return function(){var K=t;try{return t=ze,ge.apply(this,arguments)}finally{t=K}}},R.noContext=function(ge,ze,K){if(!t)return ge.apply(K,ze);var N=t;try{return t=null,ge.apply(K,ze)}finally{t=N}},R}())},692:(xt,Se,a)=>{a.d(Se,{D:()=>k});var t=Object.prototype,i=t.toString,v=t.hasOwnProperty,d=Function.prototype.toString,s=new Map;function k(Y,M){try{return G(Y,M)}finally{s.clear()}}function G(Y,M){if(Y===M)return!0;var e=i.call(Y);if(e!==i.call(M))return!1;switch(e){case"[object Array]":if(Y.length!==M.length)return!1;case"[object Object]":if(L(Y,M))return!0;var R=U(Y),ge=U(M),ze=R.length;if(ze!==ge.length)return!1;for(var K=0;K=0&&Y.indexOf(M,e)===e}(ve,S)}return!1}function U(Y){return Object.keys(Y).filter(P,Y)}function P(Y){return void 0!==this[Y]}var S="{ [native code] }";function L(Y,M){var e=s.get(Y);if(e){if(e.has(M))return!0}else s.set(Y,e=new Set);return e.add(M),!1}},9377:(xt,Se,a)=>{a.d(Se,{Ps:()=>te});var t=a(655);function v(st,it){if(!st)throw new Error(it??"Unexpected invariant triggered.")}const d=/\r\n|[\n\r]/g;function s(st,it){let lt=0,wt=1;for(const Ot of st.body.matchAll(d)){if("number"==typeof Ot.index||v(!1),Ot.index>=it)break;lt=Ot.index+Ot[0].length,wt+=1}return{line:wt,column:it+1-lt}}function G(st,it){const lt=st.locationOffset.column-1,wt="".padStart(lt)+st.body,Ot=it.line-1,Gt=it.line+(st.locationOffset.line-1),J=it.column+(1===it.line?lt:0),I=`${st.name}:${Gt}:${J}\n`,q=wt.split(/\r\n|[\n\r]/g),Me=q[Ot];if(Me.length>120){const _t=Math.floor(J/80),tt=J%80,Je=[];for(let rt=0;rt["|",rt]),["|","^".padStart(tt)],["|",Je[_t+1]]])}return I+U([[Gt-1+" |",q[Ot-1]],[`${Gt} |`,Me],["|","^".padStart(J)],[`${Gt+1} |`,q[Ot+1]]])}function U(st){const it=st.filter(([wt,Ot])=>void 0!==Ot),lt=Math.max(...it.map(([wt])=>wt.length));return it.map(([wt,Ot])=>wt.padStart(lt)+(Ot?" "+Ot:"")).join("\n")}class S extends Error{constructor(it,...lt){var wt,Ot,Lt;const{nodes:Gt,source:Ke,positions:J,path:I,originalError:q,extensions:Me}=function P(st){const it=st[0];return null==it||"kind"in it||"length"in it?{nodes:it,source:st[1],positions:st[2],path:st[3],originalError:st[4],extensions:st[5]}:it}(lt);super(it),this.name="GraphQLError",this.path=I??void 0,this.originalError=q??void 0,this.nodes=w(Array.isArray(Gt)?Gt:Gt?[Gt]:void 0);const _t=w(null===(wt=this.nodes)||void 0===wt?void 0:wt.map(Je=>Je.loc).filter(Je=>null!=Je));this.source=Ke??(null==_t||null===(Ot=_t[0])||void 0===Ot?void 0:Ot.source),this.positions=J??_t?.map(Je=>Je.start),this.locations=J&&Ke?J.map(Je=>s(Ke,Je)):_t?.map(Je=>s(Je.source,Je.start));const tt=function i(st){return"object"==typeof st&&null!==st}(q?.extensions)?q?.extensions:void 0;this.extensions=null!==(Lt=Me??tt)&&void 0!==Lt?Lt:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=q&&q.stack?Object.defineProperty(this,"stack",{value:q.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,S):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let it=this.message;if(this.nodes)for(const lt of this.nodes)lt.loc&&(it+="\n\n"+G((st=lt.loc).source,s(st.source,st.start)));else if(this.source&&this.locations)for(const lt of this.locations)it+="\n\n"+G(this.source,lt);var st;return it}toJSON(){const it={message:this.message};return null!=this.locations&&(it.locations=this.locations),null!=this.path&&(it.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(it.extensions=this.extensions),it}}function w(st){return void 0===st||0===st.length?void 0:st}function M(st,it,lt){return new S(`Syntax Error: ${lt}`,{source:st,positions:[it]})}var e=a(2236),F=(()=>((F=F||{}).QUERY="QUERY",F.MUTATION="MUTATION",F.SUBSCRIPTION="SUBSCRIPTION",F.FIELD="FIELD",F.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",F.FRAGMENT_SPREAD="FRAGMENT_SPREAD",F.INLINE_FRAGMENT="INLINE_FRAGMENT",F.VARIABLE_DEFINITION="VARIABLE_DEFINITION",F.SCHEMA="SCHEMA",F.SCALAR="SCALAR",F.OBJECT="OBJECT",F.FIELD_DEFINITION="FIELD_DEFINITION",F.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",F.INTERFACE="INTERFACE",F.UNION="UNION",F.ENUM="ENUM",F.ENUM_VALUE="ENUM_VALUE",F.INPUT_OBJECT="INPUT_OBJECT",F.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",F))(),R=a(5560),ge=a(7571),ze=a(7116),K=(()=>((K=K||{}).SOF="",K.EOF="",K.BANG="!",K.DOLLAR="$",K.AMP="&",K.PAREN_L="(",K.PAREN_R=")",K.SPREAD="...",K.COLON=":",K.EQUALS="=",K.AT="@",K.BRACKET_L="[",K.BRACKET_R="]",K.BRACE_L="{",K.PIPE="|",K.BRACE_R="}",K.NAME="Name",K.INT="Int",K.FLOAT="Float",K.STRING="String",K.BLOCK_STRING="BlockString",K.COMMENT="Comment",K))();class N{constructor(it){const lt=new e.WU(K.SOF,0,0,0,0);this.source=it,this.lastToken=lt,this.token=lt,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let it=this.token;if(it.kind!==K.EOF)do{if(it.next)it=it.next;else{const lt=ve(this,it.end);it.next=lt,lt.prev=it,it=lt}}while(it.kind===K.COMMENT);return it}}function O(st){return st>=0&&st<=55295||st>=57344&&st<=1114111}function A(st,it){return x(st.charCodeAt(it))&&pe(st.charCodeAt(it+1))}function x(st){return st>=55296&&st<=56319}function pe(st){return st>=56320&&st<=57343}function de(st,it){const lt=st.source.body.codePointAt(it);if(void 0===lt)return K.EOF;if(lt>=32&<<=126){const wt=String.fromCodePoint(lt);return'"'===wt?"'\"'":`"${wt}"`}return"U+"+lt.toString(16).toUpperCase().padStart(4,"0")}function W(st,it,lt,wt,Ot){return new e.WU(it,lt,wt,st.line,1+lt-st.lineStart,Ot)}function ve(st,it){const lt=st.source.body,wt=lt.length;let Ot=it;for(;Ot=48&&st<=57?st-48:st>=65&&st<=70?st-55:st>=97&&st<=102?st-87:-1}function Ht(st,it){const lt=st.source.body;switch(lt.charCodeAt(it+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw M(st.source,it,`Invalid character escape sequence: "${lt.slice(it,it+2)}".`)}function tn(st,it){const lt=st.source.body,wt=lt.length;let Ot=st.lineStart,Lt=it+3,Gt=Lt,Ke="";const J=[];for(;Ltthis.parseValueLiteral(it),K.BRACKET_R)})}parseObject(it){return this.node(this._lexer.token,{kind:R.h.OBJECT,fields:this.any(K.BRACE_L,()=>this.parseObjectField(it),K.BRACE_R)})}parseObjectField(it){const lt=this._lexer.token,wt=this.parseName();return this.expectToken(K.COLON),this.node(lt,{kind:R.h.OBJECT_FIELD,name:wt,value:this.parseValueLiteral(it)})}parseDirectives(it){const lt=[];for(;this.peek(K.AT);)lt.push(this.parseDirective(it));return lt}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(it){const lt=this._lexer.token;return this.expectToken(K.AT),this.node(lt,{kind:R.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(it)})}parseTypeReference(){const it=this._lexer.token;let lt;if(this.expectOptionalToken(K.BRACKET_L)){const wt=this.parseTypeReference();this.expectToken(K.BRACKET_R),lt=this.node(it,{kind:R.h.LIST_TYPE,type:wt})}else lt=this.parseNamedType();return this.expectOptionalToken(K.BANG)?this.node(it,{kind:R.h.NON_NULL_TYPE,type:lt}):lt}parseNamedType(){return this.node(this._lexer.token,{kind:R.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(K.STRING)||this.peek(K.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("schema");const wt=this.parseConstDirectives(),Ot=this.many(K.BRACE_L,this.parseOperationTypeDefinition,K.BRACE_R);return this.node(it,{kind:R.h.SCHEMA_DEFINITION,description:lt,directives:wt,operationTypes:Ot})}parseOperationTypeDefinition(){const it=this._lexer.token,lt=this.parseOperationType();this.expectToken(K.COLON);const wt=this.parseNamedType();return this.node(it,{kind:R.h.OPERATION_TYPE_DEFINITION,operation:lt,type:wt})}parseScalarTypeDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("scalar");const wt=this.parseName(),Ot=this.parseConstDirectives();return this.node(it,{kind:R.h.SCALAR_TYPE_DEFINITION,description:lt,name:wt,directives:Ot})}parseObjectTypeDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("type");const wt=this.parseName(),Ot=this.parseImplementsInterfaces(),Lt=this.parseConstDirectives(),Gt=this.parseFieldsDefinition();return this.node(it,{kind:R.h.OBJECT_TYPE_DEFINITION,description:lt,name:wt,interfaces:Ot,directives:Lt,fields:Gt})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(K.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(K.BRACE_L,this.parseFieldDefinition,K.BRACE_R)}parseFieldDefinition(){const it=this._lexer.token,lt=this.parseDescription(),wt=this.parseName(),Ot=this.parseArgumentDefs();this.expectToken(K.COLON);const Lt=this.parseTypeReference(),Gt=this.parseConstDirectives();return this.node(it,{kind:R.h.FIELD_DEFINITION,description:lt,name:wt,arguments:Ot,type:Lt,directives:Gt})}parseArgumentDefs(){return this.optionalMany(K.PAREN_L,this.parseInputValueDef,K.PAREN_R)}parseInputValueDef(){const it=this._lexer.token,lt=this.parseDescription(),wt=this.parseName();this.expectToken(K.COLON);const Ot=this.parseTypeReference();let Lt;this.expectOptionalToken(K.EQUALS)&&(Lt=this.parseConstValueLiteral());const Gt=this.parseConstDirectives();return this.node(it,{kind:R.h.INPUT_VALUE_DEFINITION,description:lt,name:wt,type:Ot,defaultValue:Lt,directives:Gt})}parseInterfaceTypeDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("interface");const wt=this.parseName(),Ot=this.parseImplementsInterfaces(),Lt=this.parseConstDirectives(),Gt=this.parseFieldsDefinition();return this.node(it,{kind:R.h.INTERFACE_TYPE_DEFINITION,description:lt,name:wt,interfaces:Ot,directives:Lt,fields:Gt})}parseUnionTypeDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("union");const wt=this.parseName(),Ot=this.parseConstDirectives(),Lt=this.parseUnionMemberTypes();return this.node(it,{kind:R.h.UNION_TYPE_DEFINITION,description:lt,name:wt,directives:Ot,types:Lt})}parseUnionMemberTypes(){return this.expectOptionalToken(K.EQUALS)?this.delimitedMany(K.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("enum");const wt=this.parseName(),Ot=this.parseConstDirectives(),Lt=this.parseEnumValuesDefinition();return this.node(it,{kind:R.h.ENUM_TYPE_DEFINITION,description:lt,name:wt,directives:Ot,values:Lt})}parseEnumValuesDefinition(){return this.optionalMany(K.BRACE_L,this.parseEnumValueDefinition,K.BRACE_R)}parseEnumValueDefinition(){const it=this._lexer.token,lt=this.parseDescription(),wt=this.parseEnumValueName(),Ot=this.parseConstDirectives();return this.node(it,{kind:R.h.ENUM_VALUE_DEFINITION,description:lt,name:wt,directives:Ot})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw M(this._lexer.source,this._lexer.token.start,`${qt(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("input");const wt=this.parseName(),Ot=this.parseConstDirectives(),Lt=this.parseInputFieldsDefinition();return this.node(it,{kind:R.h.INPUT_OBJECT_TYPE_DEFINITION,description:lt,name:wt,directives:Ot,fields:Lt})}parseInputFieldsDefinition(){return this.optionalMany(K.BRACE_L,this.parseInputValueDef,K.BRACE_R)}parseTypeSystemExtension(){const it=this._lexer.lookahead();if(it.kind===K.NAME)switch(it.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(it)}parseSchemaExtension(){const it=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const lt=this.parseConstDirectives(),wt=this.optionalMany(K.BRACE_L,this.parseOperationTypeDefinition,K.BRACE_R);if(0===lt.length&&0===wt.length)throw this.unexpected();return this.node(it,{kind:R.h.SCHEMA_EXTENSION,directives:lt,operationTypes:wt})}parseScalarTypeExtension(){const it=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const lt=this.parseName(),wt=this.parseConstDirectives();if(0===wt.length)throw this.unexpected();return this.node(it,{kind:R.h.SCALAR_TYPE_EXTENSION,name:lt,directives:wt})}parseObjectTypeExtension(){const it=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const lt=this.parseName(),wt=this.parseImplementsInterfaces(),Ot=this.parseConstDirectives(),Lt=this.parseFieldsDefinition();if(0===wt.length&&0===Ot.length&&0===Lt.length)throw this.unexpected();return this.node(it,{kind:R.h.OBJECT_TYPE_EXTENSION,name:lt,interfaces:wt,directives:Ot,fields:Lt})}parseInterfaceTypeExtension(){const it=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const lt=this.parseName(),wt=this.parseImplementsInterfaces(),Ot=this.parseConstDirectives(),Lt=this.parseFieldsDefinition();if(0===wt.length&&0===Ot.length&&0===Lt.length)throw this.unexpected();return this.node(it,{kind:R.h.INTERFACE_TYPE_EXTENSION,name:lt,interfaces:wt,directives:Ot,fields:Lt})}parseUnionTypeExtension(){const it=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const lt=this.parseName(),wt=this.parseConstDirectives(),Ot=this.parseUnionMemberTypes();if(0===wt.length&&0===Ot.length)throw this.unexpected();return this.node(it,{kind:R.h.UNION_TYPE_EXTENSION,name:lt,directives:wt,types:Ot})}parseEnumTypeExtension(){const it=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const lt=this.parseName(),wt=this.parseConstDirectives(),Ot=this.parseEnumValuesDefinition();if(0===wt.length&&0===Ot.length)throw this.unexpected();return this.node(it,{kind:R.h.ENUM_TYPE_EXTENSION,name:lt,directives:wt,values:Ot})}parseInputObjectTypeExtension(){const it=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const lt=this.parseName(),wt=this.parseConstDirectives(),Ot=this.parseInputFieldsDefinition();if(0===wt.length&&0===Ot.length)throw this.unexpected();return this.node(it,{kind:R.h.INPUT_OBJECT_TYPE_EXTENSION,name:lt,directives:wt,fields:Ot})}parseDirectiveDefinition(){const it=this._lexer.token,lt=this.parseDescription();this.expectKeyword("directive"),this.expectToken(K.AT);const wt=this.parseName(),Ot=this.parseArgumentDefs(),Lt=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const Gt=this.parseDirectiveLocations();return this.node(it,{kind:R.h.DIRECTIVE_DEFINITION,description:lt,name:wt,arguments:Ot,repeatable:Lt,locations:Gt})}parseDirectiveLocations(){return this.delimitedMany(K.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const it=this._lexer.token,lt=this.parseName();if(Object.prototype.hasOwnProperty.call(F,lt.value))return lt;throw this.unexpected(it)}node(it,lt){return!0!==this._options.noLocation&&(lt.loc=new e.Ye(it,this._lexer.lastToken,this._lexer.source)),lt}peek(it){return this._lexer.token.kind===it}expectToken(it){const lt=this._lexer.token;if(lt.kind===it)return this.advanceLexer(),lt;throw M(this._lexer.source,lt.start,`Expected ${vn(it)}, found ${qt(lt)}.`)}expectOptionalToken(it){return this._lexer.token.kind===it&&(this.advanceLexer(),!0)}expectKeyword(it){const lt=this._lexer.token;if(lt.kind!==K.NAME||lt.value!==it)throw M(this._lexer.source,lt.start,`Expected "${it}", found ${qt(lt)}.`);this.advanceLexer()}expectOptionalKeyword(it){const lt=this._lexer.token;return lt.kind===K.NAME&<.value===it&&(this.advanceLexer(),!0)}unexpected(it){const lt=it??this._lexer.token;return M(this._lexer.source,lt.start,`Unexpected ${qt(lt)}.`)}any(it,lt,wt){this.expectToken(it);const Ot=[];for(;!this.expectOptionalToken(wt);)Ot.push(lt.call(this));return Ot}optionalMany(it,lt,wt){if(this.expectOptionalToken(it)){const Ot=[];do{Ot.push(lt.call(this))}while(!this.expectOptionalToken(wt));return Ot}return[]}many(it,lt,wt){this.expectToken(it);const Ot=[];do{Ot.push(lt.call(this))}while(!this.expectOptionalToken(wt));return Ot}delimitedMany(it,lt){this.expectOptionalToken(it);const wt=[];do{wt.push(lt.call(this))}while(this.expectOptionalToken(it));return wt}advanceLexer(){const{maxTokens:it}=this._options,lt=this._lexer.advance();if(void 0!==it&<.kind!==K.EOF&&(++this._tokenCounter,this._tokenCounter>it))throw M(this._lexer.source,lt.start,`Document contains more that ${it} tokens. Parsing aborted.`)}}function qt(st){const it=st.value;return vn(st.kind)+(null!=it?` "${it}"`:"")}function vn(st){return function V(st){return st===K.BANG||st===K.DOLLAR||st===K.AMP||st===K.PAREN_L||st===K.PAREN_R||st===K.SPREAD||st===K.COLON||st===K.EQUALS||st===K.AT||st===K.BRACKET_L||st===K.BRACKET_R||st===K.BRACE_L||st===K.PIPE||st===K.BRACE_R}(st)?`"${st}"`:st}var Dn=new Map,Wt=new Map,It=!0,$e=!1;function Ve(st){return st.replace(/[\s,]+/g," ").trim()}function we(st){var it=Ve(st);if(!Dn.has(it)){var lt=function Xe(st,it){return new Yt(st,it).parseDocument()}(st,{experimentalFragmentVariables:$e,allowLegacyFragmentVariables:$e});if(!lt||"Document"!==lt.kind)throw new Error("Not a valid GraphQL document.");Dn.set(it,function He(st){var it=new Set(st.definitions);it.forEach(function(wt){wt.loc&&delete wt.loc,Object.keys(wt).forEach(function(Ot){var Lt=wt[Ot];Lt&&"object"==typeof Lt&&it.add(Lt)})});var lt=st.loc;return lt&&(delete lt.startToken,delete lt.endToken),st}(function We(st){var it=new Set,lt=[];return st.definitions.forEach(function(wt){if("FragmentDefinition"===wt.kind){var Ot=wt.name.value,Lt=function Pe(st){return Ve(st.source.body.substring(st.start,st.end))}(wt.loc),Gt=Wt.get(Ot);Gt&&!Gt.has(Lt)?It&&console.warn("Warning: fragment with name "+Ot+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):Gt||Wt.set(Ot,Gt=new Set),Gt.add(Lt),it.has(Lt)||(it.add(Lt),lt.push(wt))}else lt.push(wt)}),(0,t.pi)((0,t.pi)({},st),{definitions:lt})}(lt)))}return Dn.get(it)}function te(st){for(var it=[],lt=1;lt{a.d(Se,{dP:()=>Et,re:()=>In});var t=function(){return Object.create(null)},i=Array.prototype,v=i.forEach,d=i.slice,s=function(){function Xe(Re,Ct){void 0===Re&&(Re=!0),void 0===Ct&&(Ct=t),this.weakness=Re,this.makeData=Ct}return Xe.prototype.lookup=function(){for(var Re=[],Ct=0;Ctthis.max;)this.delete(this.oldest.key)},Xe.prototype.delete=function(Re){var Ct=this.map.get(Re);return!!Ct&&(Ct===this.newest&&(this.newest=Ct.older),Ct===this.oldest&&(this.oldest=Ct.newer),Ct.newer&&(Ct.newer.older=Ct.older),Ct.older&&(Ct.older.newer=Ct.newer),this.map.delete(Re),this.dispose(Ct.value,Re),!0)},Xe}(),S=new G.g7,L=Object.prototype.hasOwnProperty,Y=void 0===(w=Array.from)?function(Xe){var Re=[];return Xe.forEach(function(Ct){return Re.push(Ct)}),Re}:w;function M(Xe){var Re=Xe.unsubscribe;"function"==typeof Re&&(Xe.unsubscribe=void 0,Re())}var e=[],F=100;function R(Xe,Re){if(!Xe)throw new Error(Re||"assertion failure")}function ze(Xe){switch(Xe.length){case 0:throw new Error("unknown value");case 1:return Xe[0];case 2:throw Xe[1]}}var N=function(){function Xe(Re){this.fn=Re,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Xe.count}return Xe.prototype.peek=function(){if(1===this.value.length&&!x(this))return V(this),this.value[0]},Xe.prototype.recompute=function(Re){return R(!this.recomputing,"already recomputing"),V(this),x(this)?function O(Xe,Re){return be(Xe),S.withValue(Xe,A,[Xe,Re]),function Dt(Xe,Re){if("function"==typeof Xe.subscribe)try{M(Xe),Xe.unsubscribe=Xe.subscribe.apply(null,Re)}catch{return Xe.setDirty(),!1}return!0}(Xe,Re)&&function pe(Xe){Xe.dirty=!1,!x(Xe)&&W(Xe)}(Xe),ze(Xe.value)}(this,Re):ze(this.value)},Xe.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,de(this),M(this))},Xe.prototype.dispose=function(){var Re=this;this.setDirty(),be(this),ve(this,function(Ct,je){Ct.setDirty(),Ft(Ct,Re)})},Xe.prototype.forget=function(){this.dispose()},Xe.prototype.dependOn=function(Re){Re.add(this),this.deps||(this.deps=e.pop()||new Set),this.deps.add(Re)},Xe.prototype.forgetDeps=function(){var Re=this;this.deps&&(Y(this.deps).forEach(function(Ct){return Ct.delete(Re)}),this.deps.clear(),e.push(this.deps),this.deps=null)},Xe.count=0,Xe}();function V(Xe){var Re=S.getValue();if(Re)return Xe.parents.add(Re),Re.childValues.has(Xe)||Re.childValues.set(Xe,[]),x(Xe)?Q(Re,Xe):ae(Re,Xe),Re}function A(Xe,Re){Xe.recomputing=!0,Xe.value.length=0;try{Xe.value[0]=Xe.fn.apply(null,Re)}catch(Ct){Xe.value[1]=Ct}Xe.recomputing=!1}function x(Xe){return Xe.dirty||!(!Xe.dirtyChildren||!Xe.dirtyChildren.size)}function de(Xe){ve(Xe,Q)}function W(Xe){ve(Xe,ae)}function ve(Xe,Re){var Ct=Xe.parents.size;if(Ct)for(var je=Y(Xe.parents),Yt=0;Yt0&&Ct===Re.length&&Xe[Ct-1]===Re[Ct-1]}(Ct,Re.value)||Xe.setDirty(),fe(Xe,Re),!x(Xe)&&W(Xe)}function fe(Xe,Re){var Ct=Xe.dirtyChildren;Ct&&(Ct.delete(Re),0===Ct.size&&(e.length0&&Xe.childValues.forEach(function(Re,Ct){Ft(Xe,Ct)}),Xe.forgetDeps(),R(null===Xe.dirtyChildren)}function Ft(Xe,Re){Re.parents.delete(Xe),Xe.childValues.delete(Re),fe(Xe,Re)}var nn={setDirty:!0,dispose:!0,forget:!0};function Et(Xe){var Re=new Map,Ct=Xe&&Xe.subscribe;function je(Yt){var qt=S.getValue();if(qt){var vn=Re.get(Yt);vn||Re.set(Yt,vn=new Set),qt.dependOn(vn),"function"==typeof Ct&&(M(vn),vn.unsubscribe=Ct(Yt))}}return je.dirty=function(qt,vn){var Dn=Re.get(qt);if(Dn){var Wt=vn&&L.call(nn,vn)?vn:"setDirty";Y(Dn).forEach(function(It){return It[Wt]()}),Re.delete(qt),M(Dn)}},je}function Ht(){var Xe=new s("function"==typeof WeakMap);return function(){return Xe.lookupArray(arguments)}}Ht();var un=new Set;function In(Xe,Re){void 0===Re&&(Re=Object.create(null));var Ct=new P(Re.max||Math.pow(2,16),function(It){return It.dispose()}),je=Re.keyArgs,Yt=Re.makeCacheKey||Ht(),qt=function(){var It=Yt.apply(null,je?je.apply(null,arguments):arguments);if(void 0===It)return Xe.apply(null,arguments);var $e=Ct.get(It);$e||(Ct.set(It,$e=new N(Xe)),$e.subscribe=Re.subscribe,$e.forget=function(){return Ct.delete(It)});var Ve=$e.recompute(Array.prototype.slice.call(arguments));return Ct.set(It,$e),un.add(Ct),S.hasValue()||(un.forEach(function(Pe){return Pe.clean()}),un.clear()),Ve};function vn(It){var $e=Ct.get(It);$e&&$e.setDirty()}function Dn(It){var $e=Ct.get(It);if($e)return $e.peek()}function Wt(It){return Ct.delete(It)}return Object.defineProperty(qt,"size",{get:function(){return Ct.map.size},configurable:!1,enumerable:!1}),qt.dirtyKey=vn,qt.dirty=function(){vn(Yt.apply(null,arguments))},qt.peekKey=Dn,qt.peek=function(){return Dn(Yt.apply(null,arguments))},qt.forgetKey=Wt,qt.forget=function(){return Wt(Yt.apply(null,arguments))},qt.makeCacheKey=Yt,qt.getKey=je?function(){return Yt.apply(null,je.apply(null,arguments))}:Yt,Object.freeze(qt)}},4223:(xt,Se,a)=>{a.d(Se,{j:()=>i});var t=a(2185);function i(...v){return d=>(0,t.j)(...v)(d)}},5676:(xt,Se,a)=>{function t(G){return null!=G}a.d(Se,{ep:()=>t,lm:()=>i});const i=t},5619:(xt,Se,a)=>{a.d(Se,{X:()=>i});var t=a(8645);class i extends t.x{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const s=super._subscribe(d);return!s.closed&&d.next(this._value),s}getValue(){const{hasError:d,thrownError:s,_value:k}=this;if(d)throw s;return this._throwIfClosed(),k}next(d){super.next(this._value=d)}}},5592:(xt,Se,a)=>{a.d(Se,{y:()=>U});var t=a(305),i=a(7394),v=a(4850),d=a(8407),s=a(2653),k=a(4674),G=a(1441);let U=(()=>{class L{constructor(M){M&&(this._subscribe=M)}lift(M){const e=new L;return e.source=this,e.operator=M,e}subscribe(M,e,F){const R=function w(L){return L&&L instanceof t.Lv||function S(L){return L&&(0,k.m)(L.next)&&(0,k.m)(L.error)&&(0,k.m)(L.complete)}(L)&&(0,i.Nn)(L)}(M)?M:new t.Hp(M,e,F);return(0,G.x)(()=>{const{operator:ge,source:ze}=this;R.add(ge?ge.call(R,ze):ze?this._subscribe(R):this._trySubscribe(R))}),R}_trySubscribe(M){try{return this._subscribe(M)}catch(e){M.error(e)}}forEach(M,e){return new(e=P(e))((F,R)=>{const ge=new t.Hp({next:ze=>{try{M(ze)}catch(K){R(K),ge.unsubscribe()}},error:R,complete:F});this.subscribe(ge)})}_subscribe(M){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(M)}[v.L](){return this}pipe(...M){return(0,d.U)(M)(this)}toPromise(M){return new(M=P(M))((e,F)=>{let R;this.subscribe(ge=>R=ge,ge=>F(ge),()=>e(R))})}}return L.create=Y=>new L(Y),L})();function P(L){var Y;return null!==(Y=L??s.config.Promise)&&void 0!==Y?Y:Promise}},7328:(xt,Se,a)=>{a.d(Se,{t:()=>v});var t=a(8645),i=a(4552);class v extends t.x{constructor(s=1/0,k=1/0,G=i.l){super(),this._bufferSize=s,this._windowTime=k,this._timestampProvider=G,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=k===1/0,this._bufferSize=Math.max(1,s),this._windowTime=Math.max(1,k)}next(s){const{isStopped:k,_buffer:G,_infiniteTimeWindow:U,_timestampProvider:P,_windowTime:S}=this;k||(G.push(s),!U&&G.push(P.now()+S)),this._trimBuffer(),super.next(s)}_subscribe(s){this._throwIfClosed(),this._trimBuffer();const k=this._innerSubscribe(s),{_infiniteTimeWindow:G,_buffer:U}=this,P=U.slice();for(let S=0;S{a.d(Se,{x:()=>G});var t=a(5592),i=a(7394);const d=(0,a(2306).d)(P=>function(){P(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=a(9039),k=a(1441);let G=(()=>{class P extends t.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(w){const L=new U(this,this);return L.operator=w,L}_throwIfClosed(){if(this.closed)throw new d}next(w){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const L of this.currentObservers)L.next(w)}})}error(w){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=w;const{observers:L}=this;for(;L.length;)L.shift().error(w)}})}complete(){(0,k.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:w}=this;for(;w.length;)w.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var w;return(null===(w=this.observers)||void 0===w?void 0:w.length)>0}_trySubscribe(w){return this._throwIfClosed(),super._trySubscribe(w)}_subscribe(w){return this._throwIfClosed(),this._checkFinalizedStatuses(w),this._innerSubscribe(w)}_innerSubscribe(w){const{hasError:L,isStopped:Y,observers:M}=this;return L||Y?i.Lc:(this.currentObservers=null,M.push(w),new i.w0(()=>{this.currentObservers=null,(0,s.P)(M,w)}))}_checkFinalizedStatuses(w){const{hasError:L,thrownError:Y,isStopped:M}=this;L?w.error(Y):M&&w.complete()}asObservable(){const w=new t.y;return w.source=this,w}}return P.create=(S,w)=>new U(S,w),P})();class U extends G{constructor(S,w){super(),this.destination=S,this.source=w}next(S){var w,L;null===(L=null===(w=this.destination)||void 0===w?void 0:w.next)||void 0===L||L.call(w,S)}error(S){var w,L;null===(L=null===(w=this.destination)||void 0===w?void 0:w.error)||void 0===L||L.call(w,S)}complete(){var S,w;null===(w=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===w||w.call(S)}_subscribe(S){var w,L;return null!==(L=null===(w=this.source)||void 0===w?void 0:w.subscribe(S))&&void 0!==L?L:i.Lc}}},305:(xt,Se,a)=>{a.d(Se,{Hp:()=>F,Lv:()=>L});var t=a(4674),i=a(7394),v=a(2653),d=a(3894),s=a(2420);const k=P("C",void 0,void 0);function P(N,V,O){return{kind:N,value:V,error:O}}var S=a(7599),w=a(1441);class L extends i.w0{constructor(V){super(),this.isStopped=!1,V?(this.destination=V,(0,i.Nn)(V)&&V.add(this)):this.destination=K}static create(V,O,A){return new F(V,O,A)}next(V){this.isStopped?ze(function U(N){return P("N",N,void 0)}(V),this):this._next(V)}error(V){this.isStopped?ze(function G(N){return P("E",void 0,N)}(V),this):(this.isStopped=!0,this._error(V))}complete(){this.isStopped?ze(k,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(V){this.destination.next(V)}_error(V){try{this.destination.error(V)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Y=Function.prototype.bind;function M(N,V){return Y.call(N,V)}class e{constructor(V){this.partialObserver=V}next(V){const{partialObserver:O}=this;if(O.next)try{O.next(V)}catch(A){R(A)}}error(V){const{partialObserver:O}=this;if(O.error)try{O.error(V)}catch(A){R(A)}else R(V)}complete(){const{partialObserver:V}=this;if(V.complete)try{V.complete()}catch(O){R(O)}}}class F extends L{constructor(V,O,A){let x;if(super(),(0,t.m)(V)||!V)x={next:V??void 0,error:O??void 0,complete:A??void 0};else{let pe;this&&v.config.useDeprecatedNextContext?(pe=Object.create(V),pe.unsubscribe=()=>this.unsubscribe(),x={next:V.next&&M(V.next,pe),error:V.error&&M(V.error,pe),complete:V.complete&&M(V.complete,pe)}):x=V}this.destination=new e(x)}}function R(N){v.config.useDeprecatedSynchronousErrorHandling?(0,w.O)(N):(0,d.h)(N)}function ze(N,V){const{onStoppedNotification:O}=v.config;O&&S.z.setTimeout(()=>O(N,V))}const K={closed:!0,next:s.Z,error:function ge(N){throw N},complete:s.Z}},7394:(xt,Se,a)=>{a.d(Se,{Lc:()=>k,w0:()=>s,Nn:()=>G});var t=a(4674);const v=(0,a(2306).d)(P=>function(w){P(this),this.message=w?`${w.length} errors occurred during unsubscription:\n${w.map((L,Y)=>`${Y+1}) ${L.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=w});var d=a(9039);class s{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:w}=this;if(w)if(this._parentage=null,Array.isArray(w))for(const M of w)M.remove(this);else w.remove(this);const{initialTeardown:L}=this;if((0,t.m)(L))try{L()}catch(M){S=M instanceof v?M.errors:[M]}const{_finalizers:Y}=this;if(Y){this._finalizers=null;for(const M of Y)try{U(M)}catch(e){S=S??[],e instanceof v?S=[...S,...e.errors]:S.push(e)}}if(S)throw new v(S)}}add(S){var w;if(S&&S!==this)if(this.closed)U(S);else{if(S instanceof s){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._finalizers=null!==(w=this._finalizers)&&void 0!==w?w:[]).push(S)}}_hasParent(S){const{_parentage:w}=this;return w===S||Array.isArray(w)&&w.includes(S)}_addParent(S){const{_parentage:w}=this;this._parentage=Array.isArray(w)?(w.push(S),w):w?[w,S]:S}_removeParent(S){const{_parentage:w}=this;w===S?this._parentage=null:Array.isArray(w)&&(0,d.P)(w,S)}remove(S){const{_finalizers:w}=this;w&&(0,d.P)(w,S),S instanceof s&&S._removeParent(this)}}s.EMPTY=(()=>{const P=new s;return P.closed=!0,P})();const k=s.EMPTY;function G(P){return P instanceof s||P&&"closed"in P&&(0,t.m)(P.remove)&&(0,t.m)(P.add)&&(0,t.m)(P.unsubscribe)}function U(P){(0,t.m)(P)?P():P.unsubscribe()}},2653:(xt,Se,a)=>{a.d(Se,{config:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(xt,Se,a)=>{a.d(Se,{c:()=>k});var t=a(5592),i=a(7394),v=a(6196),d=a(8251),s=a(9360);class k extends t.y{constructor(U,P){super(),this.source=U,this.subjectFactory=P,this._subject=null,this._refCount=0,this._connection=null,(0,s.A)(U)&&(this.lift=U.lift)}_subscribe(U){return this.getSubject().subscribe(U)}getSubject(){const U=this._subject;return(!U||U.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:U}=this;this._subject=this._connection=null,U?.unsubscribe()}connect(){let U=this._connection;if(!U){U=this._connection=new i.w0;const P=this.getSubject();U.add(this.source.subscribe((0,d.x)(P,void 0,()=>{this._teardown(),P.complete()},S=>{this._teardown(),P.error(S)},()=>this._teardown()))),U.closed&&(this._connection=null,U=i.w0.EMPTY)}return U}refCount(){return(0,v.x)()(this)}}},2572:(xt,Se,a)=>{a.d(Se,{a:()=>S});var t=a(5592),i=a(7453),v=a(9666),d=a(2737),s=a(7400),k=a(9940),G=a(2714),U=a(8251),P=a(7103);function S(...Y){const M=(0,k.yG)(Y),e=(0,k.jO)(Y),{args:F,keys:R}=(0,i.D)(Y);if(0===F.length)return(0,v.D)([],M);const ge=new t.y(function w(Y,M,e=d.y){return F=>{L(M,()=>{const{length:R}=Y,ge=new Array(R);let ze=R,K=R;for(let N=0;N{const V=(0,v.D)(Y[N],M);let O=!1;V.subscribe((0,U.x)(F,A=>{ge[N]=A,O||(O=!0,K--),K||F.next(e(ge.slice()))},()=>{--ze||F.complete()}))},F)},F)}}(F,M,R?ze=>(0,G.n)(R,ze):d.y));return e?ge.pipe((0,s.Z)(e)):ge}function L(Y,M,e){Y?(0,P.f)(e,Y,M):M()}},5211:(xt,Se,a)=>{a.d(Se,{z:()=>s});var t=a(7537),v=a(9940),d=a(9666);function s(...k){return function i(){return(0,t.J)(1)}()((0,d.D)(k,(0,v.yG)(k)))}},4911:(xt,Se,a)=>{a.d(Se,{P:()=>v});var t=a(5592),i=a(4829);function v(d){return new t.y(s=>{(0,i.Xf)(d()).subscribe(s)})}},6232:(xt,Se,a)=>{a.d(Se,{E:()=>i});const i=new(a(5592).y)(s=>s.complete())},9315:(xt,Se,a)=>{a.d(Se,{D:()=>U});var t=a(5592),i=a(7453),v=a(4829),d=a(9940),s=a(8251),k=a(7400),G=a(2714);function U(...P){const S=(0,d.jO)(P),{args:w,keys:L}=(0,i.D)(P),Y=new t.y(M=>{const{length:e}=w;if(!e)return void M.complete();const F=new Array(e);let R=e,ge=e;for(let ze=0;ze{K||(K=!0,ge--),F[ze]=N},()=>R--,void 0,()=>{(!R||!K)&&(ge||M.next(L?(0,G.n)(L,F):F),M.complete())}))}});return S?Y.pipe((0,k.Z)(S)):Y}},9666:(xt,Se,a)=>{a.d(Se,{D:()=>O});var t=a(4829),i=a(3093),v=a(9360);function d(A,x=0){return(0,v.e)((pe,de)=>{de.add(A.schedule(()=>pe.subscribe(de),x))})}var G=a(5592),P=a(4971),S=a(4674),w=a(7103);function Y(A,x){if(!A)throw new Error("Iterable cannot be null");return new G.y(pe=>{(0,w.f)(pe,x,()=>{const de=A[Symbol.asyncIterator]();(0,w.f)(pe,x,()=>{de.next().then(W=>{W.done?pe.complete():pe.next(W.value)})},0,!0)})})}var M=a(8382),e=a(4026),F=a(4266),R=a(3664),ge=a(5726),ze=a(9853),K=a(541);function O(A,x){return x?function V(A,x){if(null!=A){if((0,M.c)(A))return function s(A,x){return(0,t.Xf)(A).pipe(d(x),(0,i.Q)(x))}(A,x);if((0,F.z)(A))return function U(A,x){return new G.y(pe=>{let de=0;return x.schedule(function(){de===A.length?pe.complete():(pe.next(A[de++]),pe.closed||this.schedule())})})}(A,x);if((0,e.t)(A))return function k(A,x){return(0,t.Xf)(A).pipe(d(x),(0,i.Q)(x))}(A,x);if((0,ge.D)(A))return Y(A,x);if((0,R.T)(A))return function L(A,x){return new G.y(pe=>{let de;return(0,w.f)(pe,x,()=>{de=A[P.h](),(0,w.f)(pe,x,()=>{let W,ve;try{({value:W,done:ve}=de.next())}catch(Q){return void pe.error(Q)}ve?pe.complete():pe.next(W)},0,!0)}),()=>(0,S.m)(de?.return)&&de.return()})}(A,x);if((0,K.L)(A))return function N(A,x){return Y((0,K.Q)(A),x)}(A,x)}throw(0,ze.z)(A)}(A,x):(0,t.Xf)(A)}},2438:(xt,Se,a)=>{a.d(Se,{R:()=>S});var t=a(4829),i=a(5592),v=a(1631),d=a(4266),s=a(4674),k=a(7400);const G=["addListener","removeListener"],U=["addEventListener","removeEventListener"],P=["on","off"];function S(e,F,R,ge){if((0,s.m)(R)&&(ge=R,R=void 0),ge)return S(e,F,R).pipe((0,k.Z)(ge));const[ze,K]=function M(e){return(0,s.m)(e.addEventListener)&&(0,s.m)(e.removeEventListener)}(e)?U.map(N=>V=>e[N](F,V,R)):function L(e){return(0,s.m)(e.addListener)&&(0,s.m)(e.removeListener)}(e)?G.map(w(e,F)):function Y(e){return(0,s.m)(e.on)&&(0,s.m)(e.off)}(e)?P.map(w(e,F)):[];if(!ze&&(0,d.z)(e))return(0,v.z)(N=>S(N,F,R))((0,t.Xf)(e));if(!ze)throw new TypeError("Invalid event target");return new i.y(N=>{const V=(...O)=>N.next(1K(V)})}function w(e,F){return R=>ge=>e[R](F,ge)}},2428:(xt,Se,a)=>{a.d(Se,{s:()=>i});var t=a(4911);function i(v,d,s){return(0,t.P)(()=>v()?d:s)}},4829:(xt,Se,a)=>{a.d(Se,{Xf:()=>Y});var t=a(655),i=a(4266),v=a(4026),d=a(5592),s=a(8382),k=a(5726),G=a(9853),U=a(3664),P=a(541),S=a(4674),w=a(3894),L=a(4850);function Y(N){if(N instanceof d.y)return N;if(null!=N){if((0,s.c)(N))return function M(N){return new d.y(V=>{const O=N[L.L]();if((0,S.m)(O.subscribe))return O.subscribe(V);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(N);if((0,i.z)(N))return function e(N){return new d.y(V=>{for(let O=0;O{N.then(O=>{V.closed||(V.next(O),V.complete())},O=>V.error(O)).then(null,w.h)})}(N);if((0,k.D)(N))return ge(N);if((0,U.T)(N))return function R(N){return new d.y(V=>{for(const O of N)if(V.next(O),V.closed)return;V.complete()})}(N);if((0,P.L)(N))return function ze(N){return ge((0,P.Q)(N))}(N)}throw(0,G.z)(N)}function ge(N){return new d.y(V=>{(function K(N,V){var O,A,x,pe;return(0,t.mG)(this,void 0,void 0,function*(){try{for(O=(0,t.KL)(N);!(A=yield O.next()).done;)if(V.next(A.value),V.closed)return}catch(de){x={error:de}}finally{try{A&&!A.done&&(pe=O.return)&&(yield pe.call(O))}finally{if(x)throw x.error}}V.complete()})})(N,V).catch(O=>V.error(O))})}},1687:(xt,Se,a)=>{a.d(Se,{F:()=>v});var t=a(6321),i=a(4825);function v(d=0,s=t.z){return d<0&&(d=0),(0,i.H)(d,d,s)}},3019:(xt,Se,a)=>{a.d(Se,{T:()=>k});var t=a(7537),i=a(4829),v=a(6232),d=a(9940),s=a(9666);function k(...G){const U=(0,d.yG)(G),P=(0,d._6)(G,1/0),S=G;return S.length?1===S.length?(0,i.Xf)(S[0]):(0,t.J)(P)((0,s.D)(S,U)):v.E}},2096:(xt,Se,a)=>{a.d(Se,{of:()=>v});var t=a(9940),i=a(9666);function v(...d){const s=(0,t.yG)(d);return(0,i.D)(d,s)}},8504:(xt,Se,a)=>{a.d(Se,{_:()=>v});var t=a(5592),i=a(4674);function v(d,s){const k=(0,i.m)(d)?d:()=>d,G=U=>U.error(k());return new t.y(s?U=>s.schedule(G,0,U):G)}},4825:(xt,Se,a)=>{a.d(Se,{H:()=>s});var t=a(5592),i=a(6321),v=a(671);function s(k=0,G,U=i.P){let P=-1;return null!=G&&((0,v.K)(G)?U=G:P=G),new t.y(S=>{let w=function d(k){return k instanceof Date&&!isNaN(k)}(k)?+k-U.now():k;w<0&&(w=0);let L=0;return U.schedule(function(){S.closed||(S.next(L++),0<=P?this.schedule(void 0,P):S.complete())},w)})}},8251:(xt,Se,a)=>{a.d(Se,{x:()=>i});var t=a(305);function i(d,s,k,G,U){return new v(d,s,k,G,U)}class v extends t.Lv{constructor(s,k,G,U,P,S){super(s),this.onFinalize=P,this.shouldUnsubscribe=S,this._next=k?function(w){try{k(w)}catch(L){s.error(L)}}:super._next,this._error=U?function(w){try{U(w)}catch(L){s.error(L)}finally{this.unsubscribe()}}:super._error,this._complete=G?function(){try{G()}catch(w){s.error(w)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var s;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:k}=this;super.unsubscribe(),!k&&(null===(s=this.onFinalize)||void 0===s||s.call(this))}}}},9028:(xt,Se,a)=>{a.d(Se,{e:()=>G});var t=a(6321),i=a(9360),v=a(4829),d=a(8251),k=a(4825);function G(U,P=t.z){return function s(U){return(0,i.e)((P,S)=>{let w=!1,L=null,Y=null,M=!1;const e=()=>{if(Y?.unsubscribe(),Y=null,w){w=!1;const R=L;L=null,S.next(R)}M&&S.complete()},F=()=>{Y=null,M&&S.complete()};P.subscribe((0,d.x)(S,R=>{w=!0,L=R,Y||(0,v.Xf)(U(R)).subscribe(Y=(0,d.x)(S,e,F))},()=>{M=!0,(!w||!Y||Y.closed)&&S.complete()}))})}(()=>(0,k.H)(U,P))}},6306:(xt,Se,a)=>{a.d(Se,{K:()=>d});var t=a(4829),i=a(8251),v=a(9360);function d(s){return(0,v.e)((k,G)=>{let S,U=null,P=!1;U=k.subscribe((0,i.x)(G,void 0,void 0,w=>{S=(0,t.Xf)(s(w,d(s)(k))),U?(U.unsubscribe(),U=null,S.subscribe(G)):P=!0})),P&&(U.unsubscribe(),U=null,S.subscribe(G))})}},6328:(xt,Se,a)=>{a.d(Se,{b:()=>v});var t=a(1631),i=a(4674);function v(d,s){return(0,i.m)(s)?(0,t.z)(d,s,1):(0,t.z)(d,1)}},3620:(xt,Se,a)=>{a.d(Se,{b:()=>d});var t=a(6321),i=a(9360),v=a(8251);function d(s,k=t.z){return(0,i.e)((G,U)=>{let P=null,S=null,w=null;const L=()=>{if(P){P.unsubscribe(),P=null;const M=S;S=null,U.next(M)}};function Y(){const M=w+s,e=k.now();if(e{S=M,w=k.now(),P||(P=k.schedule(Y,s),U.add(P))},()=>{L(),U.complete()},void 0,()=>{S=P=null}))})}},3572:(xt,Se,a)=>{a.d(Se,{d:()=>v});var t=a(9360),i=a(8251);function v(d){return(0,t.e)((s,k)=>{let G=!1;s.subscribe((0,i.x)(k,U=>{G=!0,k.next(U)},()=>{G||k.next(d),k.complete()}))})}},5177:(xt,Se,a)=>{a.d(Se,{g:()=>Y});var t=a(6321),i=a(5211),v=a(8180),d=a(9360),s=a(8251),k=a(2420),U=a(975),P=a(1631),S=a(4829);function w(M,e){return e?F=>(0,i.z)(e.pipe((0,v.q)(1),function G(){return(0,d.e)((M,e)=>{M.subscribe((0,s.x)(e,k.Z))})}()),F.pipe(w(M))):(0,P.z)((F,R)=>(0,S.Xf)(M(F,R)).pipe((0,v.q)(1),(0,U.h)(F)))}var L=a(4825);function Y(M,e=t.z){const F=(0,L.H)(M,e);return w(()=>F)}},3997:(xt,Se,a)=>{a.d(Se,{x:()=>d});var t=a(2737),i=a(9360),v=a(8251);function d(k,G=t.y){return k=k??s,(0,i.e)((U,P)=>{let S,w=!0;U.subscribe((0,v.x)(P,L=>{const Y=G(L);(w||!k(S,Y))&&(w=!1,S=Y,P.next(L))}))})}function s(k,G){return k===G}},6180:(xt,Se,a)=>{a.d(Se,{g:()=>i});var t=a(3997);function i(v,d){return(0,t.x)((s,k)=>d?d(s[v],k[v]):s[v]===k[v])}},2181:(xt,Se,a)=>{a.d(Se,{h:()=>v});var t=a(9360),i=a(8251);function v(d,s){return(0,t.e)((k,G)=>{let U=0;k.subscribe((0,i.x)(G,P=>d.call(s,P,U++)&&G.next(P)))})}},4716:(xt,Se,a)=>{a.d(Se,{x:()=>i});var t=a(9360);function i(v){return(0,t.e)((d,s)=>{try{d.subscribe(s)}finally{s.add(v)}})}},1374:(xt,Se,a)=>{a.d(Se,{P:()=>G});var t=a(6973),i=a(2181),v=a(8180),d=a(3572),s=a(3026),k=a(2737);function G(U,P){const S=arguments.length>=2;return w=>w.pipe(U?(0,i.h)((L,Y)=>U(L,Y,w)):k.y,(0,v.q)(1),S?(0,d.d)(P):(0,s.T)(()=>new t.K))}},7398:(xt,Se,a)=>{a.d(Se,{U:()=>v});var t=a(9360),i=a(8251);function v(d,s){return(0,t.e)((k,G)=>{let U=0;k.subscribe((0,i.x)(G,P=>{G.next(d.call(s,P,U++))}))})}},975:(xt,Se,a)=>{a.d(Se,{h:()=>i});var t=a(7398);function i(v){return(0,t.U)(()=>v)}},7537:(xt,Se,a)=>{a.d(Se,{J:()=>v});var t=a(1631),i=a(2737);function v(d=1/0){return(0,t.z)(i.y,d)}},1631:(xt,Se,a)=>{a.d(Se,{z:()=>U});var t=a(7398),i=a(4829),v=a(9360),d=a(7103),s=a(8251),G=a(4674);function U(P,S,w=1/0){return(0,G.m)(S)?U((L,Y)=>(0,t.U)((M,e)=>S(L,M,Y,e))((0,i.Xf)(P(L,Y))),w):("number"==typeof S&&(w=S),(0,v.e)((L,Y)=>function k(P,S,w,L,Y,M,e,F){const R=[];let ge=0,ze=0,K=!1;const N=()=>{K&&!R.length&&!ge&&S.complete()},V=A=>ge{M&&S.next(A),ge++;let x=!1;(0,i.Xf)(w(A,ze++)).subscribe((0,s.x)(S,pe=>{Y?.(pe),M?V(pe):S.next(pe)},()=>{x=!0},void 0,()=>{if(x)try{for(ge--;R.length&&geO(pe)):O(pe)}N()}catch(pe){S.error(pe)}}))};return P.subscribe((0,s.x)(S,V,()=>{K=!0,N()})),()=>{F?.()}}(L,Y,P,w)))}},3093:(xt,Se,a)=>{a.d(Se,{Q:()=>d});var t=a(7103),i=a(9360),v=a(8251);function d(s,k=0){return(0,i.e)((G,U)=>{G.subscribe((0,v.x)(U,P=>(0,t.f)(U,s,()=>U.next(P),k),()=>(0,t.f)(U,s,()=>U.complete(),k),P=>(0,t.f)(U,s,()=>U.error(P),k)))})}},9384:(xt,Se,a)=>{a.d(Se,{G:()=>v});var t=a(9360),i=a(8251);function v(){return(0,t.e)((d,s)=>{let k,G=!1;d.subscribe((0,i.x)(s,U=>{const P=k;k=U,G&&s.next([P,U]),G=!0}))})}},2185:(xt,Se,a)=>{a.d(Se,{j:()=>i});var t=a(7398);function i(...v){const d=v.length;if(0===d)throw new Error("list of properties cannot be empty.");return(0,t.U)(s=>{let k=s;for(let G=0;G{a.d(Se,{x:()=>v});var t=a(9360),i=a(8251);function v(){return(0,t.e)((d,s)=>{let k=null;d._refCount++;const G=(0,i.x)(s,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(k=null);const U=d._connection,P=k;k=null,U&&(!P||U===P)&&U.unsubscribe(),s.unsubscribe()});d.subscribe(G),G.closed||(k=d.connect())})}},6699:(xt,Se,a)=>{a.d(Se,{R:()=>d});var t=a(9360),i=a(8251);function d(s,k){return(0,t.e)(function v(s,k,G,U,P){return(S,w)=>{let L=G,Y=k,M=0;S.subscribe((0,i.x)(w,e=>{const F=M++;Y=L?s(Y,e,F):(L=!0,e),U&&w.next(Y)},P&&(()=>{L&&w.next(Y),w.complete()})))}}(s,k,arguments.length>=2,!0))}},3020:(xt,Se,a)=>{a.d(Se,{B:()=>s});var t=a(4829),i=a(8645),v=a(305),d=a(9360);function s(G={}){const{connector:U=(()=>new i.x),resetOnError:P=!0,resetOnComplete:S=!0,resetOnRefCountZero:w=!0}=G;return L=>{let Y,M,e,F=0,R=!1,ge=!1;const ze=()=>{M?.unsubscribe(),M=void 0},K=()=>{ze(),Y=e=void 0,R=ge=!1},N=()=>{const V=Y;K(),V?.unsubscribe()};return(0,d.e)((V,O)=>{F++,!ge&&!R&&ze();const A=e=e??U();O.add(()=>{F--,0===F&&!ge&&!R&&(M=k(N,w))}),A.subscribe(O),!Y&&F>0&&(Y=new v.Hp({next:x=>A.next(x),error:x=>{ge=!0,ze(),M=k(K,P,x),A.error(x)},complete:()=>{R=!0,ze(),M=k(K,S),A.complete()}}),(0,t.Xf)(V).subscribe(Y))})(L)}}function k(G,U,...P){if(!0===U)return void G();if(!1===U)return;const S=new v.Hp({next:()=>{S.unsubscribe(),G()}});return(0,t.Xf)(U(...P)).subscribe(S)}},7081:(xt,Se,a)=>{a.d(Se,{d:()=>v});var t=a(7328),i=a(3020);function v(d,s,k){let G,U=!1;return d&&"object"==typeof d?({bufferSize:G=1/0,windowTime:s=1/0,refCount:U=!1,scheduler:k}=d):G=d??1/0,(0,i.B)({connector:()=>new t.t(G,s,k),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:U})}},836:(xt,Se,a)=>{a.d(Se,{T:()=>i});var t=a(2181);function i(v){return(0,t.h)((d,s)=>v<=s)}},7921:(xt,Se,a)=>{a.d(Se,{O:()=>d});var t=a(5211),i=a(9940),v=a(9360);function d(...s){const k=(0,i.yG)(s);return(0,v.e)((G,U)=>{(k?(0,t.z)(s,G,k):(0,t.z)(s,G)).subscribe(U)})}},4664:(xt,Se,a)=>{a.d(Se,{w:()=>d});var t=a(4829),i=a(9360),v=a(8251);function d(s,k){return(0,i.e)((G,U)=>{let P=null,S=0,w=!1;const L=()=>w&&!P&&U.complete();G.subscribe((0,v.x)(U,Y=>{P?.unsubscribe();let M=0;const e=S++;(0,t.Xf)(s(Y,e)).subscribe(P=(0,v.x)(U,F=>U.next(k?k(Y,F,e,M++):F),()=>{P=null,L()}))},()=>{w=!0,L()}))})}},8180:(xt,Se,a)=>{a.d(Se,{q:()=>d});var t=a(6232),i=a(9360),v=a(8251);function d(s){return s<=0?()=>t.E:(0,i.e)((k,G)=>{let U=0;k.subscribe((0,v.x)(G,P=>{++U<=s&&(G.next(P),s<=U&&G.complete())}))})}},9773:(xt,Se,a)=>{a.d(Se,{R:()=>s});var t=a(9360),i=a(8251),v=a(4829),d=a(2420);function s(k){return(0,t.e)((G,U)=>{(0,v.Xf)(k).subscribe((0,i.x)(U,()=>U.complete(),d.Z)),!U.closed&&G.subscribe(U)})}},812:(xt,Se,a)=>{a.d(Se,{o:()=>v});var t=a(9360),i=a(8251);function v(d,s=!1){return(0,t.e)((k,G)=>{let U=0;k.subscribe((0,i.x)(G,P=>{const S=d(P,U++);(S||s)&&G.next(P),!S&&G.complete()}))})}},9397:(xt,Se,a)=>{a.d(Se,{b:()=>s});var t=a(4674),i=a(9360),v=a(8251),d=a(2737);function s(k,G,U){const P=(0,t.m)(k)||G||U?{next:k,error:G,complete:U}:k;return P?(0,i.e)((S,w)=>{var L;null===(L=P.subscribe)||void 0===L||L.call(P);let Y=!0;S.subscribe((0,v.x)(w,M=>{var e;null===(e=P.next)||void 0===e||e.call(P,M),w.next(M)},()=>{var M;Y=!1,null===(M=P.complete)||void 0===M||M.call(P),w.complete()},M=>{var e;Y=!1,null===(e=P.error)||void 0===e||e.call(P,M),w.error(M)},()=>{var M,e;Y&&(null===(M=P.unsubscribe)||void 0===M||M.call(P)),null===(e=P.finalize)||void 0===e||e.call(P)}))}):d.y}},8753:(xt,Se,a)=>{a.d(Se,{p:()=>G});var t=a(6321),i=a(9360),v=a(8251),d=a(4829),k=a(4825);function G(U,P=t.z,S){const w=(0,k.H)(U,P);return function s(U,P){return(0,i.e)((S,w)=>{const{leading:L=!0,trailing:Y=!1}=P??{};let M=!1,e=null,F=null,R=!1;const ge=()=>{F?.unsubscribe(),F=null,Y&&(N(),R&&w.complete())},ze=()=>{F=null,R&&w.complete()},K=V=>F=(0,d.Xf)(U(V)).subscribe((0,v.x)(w,ge,ze)),N=()=>{if(M){M=!1;const V=e;e=null,w.next(V),!R&&K(V)}};S.subscribe((0,v.x)(w,V=>{M=!0,e=V,(!F||F.closed)&&(L?N():K(V))},()=>{R=!0,(!(Y&&M&&F)||F.closed)&&w.complete()}))})}(()=>w,S)}},3026:(xt,Se,a)=>{a.d(Se,{T:()=>d});var t=a(6973),i=a(9360),v=a(8251);function d(k=s){return(0,i.e)((G,U)=>{let P=!1;G.subscribe((0,v.x)(U,S=>{P=!0,U.next(S)},()=>P?U.complete():U.error(k())))})}function s(){return new t.K}},2460:(xt,Se,a)=>{a.d(Se,{M:()=>G});var t=a(9360),i=a(8251),v=a(4829),d=a(2737),s=a(2420),k=a(9940);function G(...U){const P=(0,k.jO)(U);return(0,t.e)((S,w)=>{const L=U.length,Y=new Array(L);let M=U.map(()=>!1),e=!1;for(let F=0;F{Y[F]=R,!e&&!M[F]&&(M[F]=!0,(e=M.every(d.y))&&(M=null))},s.Z));S.subscribe((0,i.x)(w,F=>{if(e){const R=[F,...Y];w.next(P?P(...R):R)}}))})}},1954:(xt,Se,a)=>{a.d(Se,{o:()=>s});var t=a(7394);class i extends t.w0{constructor(G,U){super()}schedule(G,U=0){return this}}const v={setInterval(k,G,...U){const{delegate:P}=v;return P?.setInterval?P.setInterval(k,G,...U):setInterval(k,G,...U)},clearInterval(k){const{delegate:G}=v;return(G?.clearInterval||clearInterval)(k)},delegate:void 0};var d=a(9039);class s extends i{constructor(G,U){super(G,U),this.scheduler=G,this.work=U,this.pending=!1}schedule(G,U=0){var P;if(this.closed)return this;this.state=G;const S=this.id,w=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(w,S,U)),this.pending=!0,this.delay=U,this.id=null!==(P=this.id)&&void 0!==P?P:this.requestAsyncId(w,this.id,U),this}requestAsyncId(G,U,P=0){return v.setInterval(G.flush.bind(G,this),P)}recycleAsyncId(G,U,P=0){if(null!=P&&this.delay===P&&!1===this.pending)return U;null!=U&&v.clearInterval(U)}execute(G,U){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const P=this._execute(G,U);if(P)return P;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(G,U){let S,P=!1;try{this.work(G)}catch(w){P=!0,S=w||new Error("Scheduled action threw falsy error")}if(P)return this.unsubscribe(),S}unsubscribe(){if(!this.closed){const{id:G,scheduler:U}=this,{actions:P}=U;this.work=this.state=this.scheduler=null,this.pending=!1,(0,d.P)(P,this),null!=G&&(this.id=this.recycleAsyncId(U,G,null)),this.delay=null,super.unsubscribe()}}}},2631:(xt,Se,a)=>{a.d(Se,{v:()=>v});var t=a(4552);class i{constructor(s,k=i.now){this.schedulerActionCtor=s,this.now=k}schedule(s,k=0,G){return new this.schedulerActionCtor(this,s).schedule(G,k)}}i.now=t.l.now;class v extends i{constructor(s,k=i.now){super(s,k),this.actions=[],this._active=!1}flush(s){const{actions:k}=this;if(this._active)return void k.push(s);let G;this._active=!0;do{if(G=s.execute(s.state,s.delay))break}while(s=k.shift());if(this._active=!1,G){for(;s=k.shift();)s.unsubscribe();throw G}}}},927:(xt,Se,a)=>{a.d(Se,{Z:()=>G});var t=a(1954),i=a(7394);const v={schedule(P){let S=requestAnimationFrame,w=cancelAnimationFrame;const{delegate:L}=v;L&&(S=L.requestAnimationFrame,w=L.cancelAnimationFrame);const Y=S(M=>{w=void 0,P(M)});return new i.w0(()=>w?.(Y))},requestAnimationFrame(...P){const{delegate:S}=v;return(S?.requestAnimationFrame||requestAnimationFrame)(...P)},cancelAnimationFrame(...P){const{delegate:S}=v;return(S?.cancelAnimationFrame||cancelAnimationFrame)(...P)},delegate:void 0};var s=a(2631);const G=new class k extends s.v{flush(S){this._active=!0;const w=this._scheduled;this._scheduled=void 0;const{actions:L}=this;let Y;S=S||L.shift();do{if(Y=S.execute(S.state,S.delay))break}while((S=L[0])&&S.id===w&&L.shift());if(this._active=!1,Y){for(;(S=L[0])&&S.id===w&&L.shift();)S.unsubscribe();throw Y}}}(class d extends t.o{constructor(S,w){super(S,w),this.scheduler=S,this.work=w}requestAsyncId(S,w,L=0){return null!==L&&L>0?super.requestAsyncId(S,w,L):(S.actions.push(this),S._scheduled||(S._scheduled=v.requestAnimationFrame(()=>S.flush(void 0))))}recycleAsyncId(S,w,L=0){var Y;if(null!=L?L>0:this.delay>0)return super.recycleAsyncId(S,w,L);const{actions:M}=S;null!=w&&(null===(Y=M[M.length-1])||void 0===Y?void 0:Y.id)!==w&&(v.cancelAnimationFrame(w),S._scheduled=void 0)}})},6410:(xt,Se,a)=>{a.d(Se,{E:()=>M});var t=a(1954);let v,i=1;const d={};function s(F){return F in d&&(delete d[F],!0)}const k={setImmediate(F){const R=i++;return d[R]=!0,v||(v=Promise.resolve()),v.then(()=>s(R)&&F()),R},clearImmediate(F){s(F)}},{setImmediate:U,clearImmediate:P}=k,S={setImmediate(...F){const{delegate:R}=S;return(R?.setImmediate||U)(...F)},clearImmediate(F){const{delegate:R}=S;return(R?.clearImmediate||P)(F)},delegate:void 0};var L=a(2631);const M=new class Y extends L.v{flush(R){this._active=!0;const ge=this._scheduled;this._scheduled=void 0;const{actions:ze}=this;let K;R=R||ze.shift();do{if(K=R.execute(R.state,R.delay))break}while((R=ze[0])&&R.id===ge&&ze.shift());if(this._active=!1,K){for(;(R=ze[0])&&R.id===ge&&ze.shift();)R.unsubscribe();throw K}}}(class w extends t.o{constructor(R,ge){super(R,ge),this.scheduler=R,this.work=ge}requestAsyncId(R,ge,ze=0){return null!==ze&&ze>0?super.requestAsyncId(R,ge,ze):(R.actions.push(this),R._scheduled||(R._scheduled=S.setImmediate(R.flush.bind(R,void 0))))}recycleAsyncId(R,ge,ze=0){var K;if(null!=ze?ze>0:this.delay>0)return super.recycleAsyncId(R,ge,ze);const{actions:N}=R;null!=ge&&(null===(K=N[N.length-1])||void 0===K?void 0:K.id)!==ge&&(S.clearImmediate(ge),R._scheduled===ge&&(R._scheduled=void 0))}})},6321:(xt,Se,a)=>{a.d(Se,{P:()=>d,z:()=>v});var t=a(1954);const v=new(a(2631).v)(t.o),d=v},4552:(xt,Se,a)=>{a.d(Se,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},7599:(xt,Se,a)=>{a.d(Se,{z:()=>t});const t={setTimeout(i,v,...d){const{delegate:s}=t;return s?.setTimeout?s.setTimeout(i,v,...d):setTimeout(i,v,...d)},clearTimeout(i){const{delegate:v}=t;return(v?.clearTimeout||clearTimeout)(i)},delegate:void 0}},4971:(xt,Se,a)=>{a.d(Se,{h:()=>i});const i=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(xt,Se,a)=>{a.d(Se,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(xt,Se,a)=>{a.d(Se,{K:()=>i});const i=(0,a(2306).d)(v=>function(){v(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(xt,Se,a)=>{a.d(Se,{_6:()=>k,jO:()=>d,yG:()=>s});var t=a(4674),i=a(671);function v(G){return G[G.length-1]}function d(G){return(0,t.m)(v(G))?G.pop():void 0}function s(G){return(0,i.K)(v(G))?G.pop():void 0}function k(G,U){return"number"==typeof v(G)?G.pop():U}},7453:(xt,Se,a)=>{a.d(Se,{D:()=>s});const{isArray:t}=Array,{getPrototypeOf:i,prototype:v,keys:d}=Object;function s(G){if(1===G.length){const U=G[0];if(t(U))return{args:U,keys:null};if(function k(G){return G&&"object"==typeof G&&i(G)===v}(U)){const P=d(U);return{args:P.map(S=>U[S]),keys:P}}}return{args:G,keys:null}}},9039:(xt,Se,a)=>{function t(i,v){if(i){const d=i.indexOf(v);0<=d&&i.splice(d,1)}}a.d(Se,{P:()=>t})},2306:(xt,Se,a)=>{function t(i){const d=i(s=>{Error.call(s),s.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}a.d(Se,{d:()=>t})},2714:(xt,Se,a)=>{function t(i,v){return i.reduce((d,s,k)=>(d[s]=v[k],d),{})}a.d(Se,{n:()=>t})},1441:(xt,Se,a)=>{a.d(Se,{O:()=>d,x:()=>v});var t=a(2653);let i=null;function v(s){if(t.config.useDeprecatedSynchronousErrorHandling){const k=!i;if(k&&(i={errorThrown:!1,error:null}),s(),k){const{errorThrown:G,error:U}=i;if(i=null,G)throw U}}else s()}function d(s){t.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=s)}},7103:(xt,Se,a)=>{function t(i,v,d,s=0,k=!1){const G=v.schedule(function(){d(),k?i.add(this.schedule(null,s)):this.unsubscribe()},s);if(i.add(G),!k)return G}a.d(Se,{f:()=>t})},2737:(xt,Se,a)=>{function t(i){return i}a.d(Se,{y:()=>t})},4266:(xt,Se,a)=>{a.d(Se,{z:()=>t});const t=i=>i&&"number"==typeof i.length&&"function"!=typeof i},5726:(xt,Se,a)=>{a.d(Se,{D:()=>i});var t=a(4674);function i(v){return Symbol.asyncIterator&&(0,t.m)(v?.[Symbol.asyncIterator])}},4674:(xt,Se,a)=>{function t(i){return"function"==typeof i}a.d(Se,{m:()=>t})},8382:(xt,Se,a)=>{a.d(Se,{c:()=>v});var t=a(4850),i=a(4674);function v(d){return(0,i.m)(d[t.L])}},3664:(xt,Se,a)=>{a.d(Se,{T:()=>v});var t=a(4971),i=a(4674);function v(d){return(0,i.m)(d?.[t.h])}},2664:(xt,Se,a)=>{a.d(Se,{b:()=>v});var t=a(5592),i=a(4674);function v(d){return!!d&&(d instanceof t.y||(0,i.m)(d.lift)&&(0,i.m)(d.subscribe))}},4026:(xt,Se,a)=>{a.d(Se,{t:()=>i});var t=a(4674);function i(v){return(0,t.m)(v?.then)}},541:(xt,Se,a)=>{a.d(Se,{L:()=>d,Q:()=>v});var t=a(655),i=a(4674);function v(s){return(0,t.FC)(this,arguments,function*(){const G=s.getReader();try{for(;;){const{value:U,done:P}=yield(0,t.qq)(G.read());if(P)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(U)}}finally{G.releaseLock()}})}function d(s){return(0,i.m)(s?.getReader)}},671:(xt,Se,a)=>{a.d(Se,{K:()=>i});var t=a(4674);function i(v){return v&&(0,t.m)(v.schedule)}},9360:(xt,Se,a)=>{a.d(Se,{A:()=>i,e:()=>v});var t=a(4674);function i(d){return(0,t.m)(d?.lift)}function v(d){return s=>{if(i(s))return s.lift(function(k){try{return d(k,this)}catch(G){this.error(G)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(xt,Se,a)=>{a.d(Se,{Z:()=>d});var t=a(7398);const{isArray:i}=Array;function d(s){return(0,t.U)(k=>function v(s,k){return i(k)?s(...k):s(k)}(s,k))}},2420:(xt,Se,a)=>{function t(){}a.d(Se,{Z:()=>t})},8407:(xt,Se,a)=>{a.d(Se,{U:()=>v,z:()=>i});var t=a(2737);function i(...d){return v(d)}function v(d){return 0===d.length?t.y:1===d.length?d[0]:function(k){return d.reduce((G,U)=>U(G),k)}}},3894:(xt,Se,a)=>{a.d(Se,{h:()=>v});var t=a(2653),i=a(7599);function v(d){i.z.setTimeout(()=>{const{onUnhandledError:s}=t.config;if(!s)throw d;s(d)})}},9853:(xt,Se,a)=>{function t(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(Se,{z:()=>t})},3742:(xt,Se,a)=>{function t(A){return A!==String(parseFloat(A))}a.d(Se,{o6:()=>O});var s=Object.getOwnPropertyNames?function i(A){return Object.getOwnPropertyNames(A).filter(function(x){return A.propertyIsEnumerable(x)&&t(x)})}:Object.keys?function v(A){return Object.keys(A).filter(t)}:function d(A){var x=[];for(var pe in A)A.hasOwnProperty(pe)&&A.propertyIsEnumerable(pe)&&t(pe)&&x.push(pe);return x},k=function(){function A(x){this.enumObj=x,this.keysList=Object.freeze(s(x));for(var pe=this.keysList.length,de=new Array(pe),W=new Map,ve=0;ve=pe.length,value:pe.keysList[de]};return++de,ve}})[Symbol.iterator]=function(){return this},x},A.prototype.values=function(){var x,pe=this,de=0;return(x={next:function(){var ve={done:de>=pe.length,value:pe.valuesList[de]};return++de,ve}})[Symbol.iterator]=function(){return this},x},A.prototype.entries=function(){var x,pe=this,de=0;return(x={next:function(){var ve={done:de>=pe.length,value:pe[de]};return++de,ve}})[Symbol.iterator]=function(){return this},x},A.prototype[Symbol.iterator]=function(){return this.entries()},A.prototype.forEach=function(x,pe){for(var de=this.length,W=0;W{a.d(Se,{FC:()=>ge,Jh:()=>P,KL:()=>K,ZT:()=>i,_T:()=>d,ev:()=>F,gn:()=>s,mG:()=>U,pi:()=>v,qq:()=>R});var t=function(W,ve){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,ae){Q.__proto__=ae}||function(Q,ae){for(var fe in ae)Object.prototype.hasOwnProperty.call(ae,fe)&&(Q[fe]=ae[fe])})(W,ve)};function i(W,ve){if("function"!=typeof ve&&null!==ve)throw new TypeError("Class extends value "+String(ve)+" is not a constructor or null");function Q(){this.constructor=W}t(W,ve),W.prototype=null===ve?Object.create(ve):(Q.prototype=ve.prototype,new Q)}var v=function(){return v=Object.assign||function(ve){for(var Q,ae=1,fe=arguments.length;ae=0;Dt--)(Ft=W[Dt])&&(be=(fe<3?Ft(be):fe>3?Ft(ve,Q,be):Ft(ve,Q))||be);return fe>3&&be&&Object.defineProperty(ve,Q,be),be}function U(W,ve,Q,ae){return new(Q||(Q=Promise))(function(be,Ft){function Dt(Ht){try{Et(ae.next(Ht))}catch(tn){Ft(tn)}}function nn(Ht){try{Et(ae.throw(Ht))}catch(tn){Ft(tn)}}function Et(Ht){Ht.done?be(Ht.value):function fe(be){return be instanceof Q?be:new Q(function(Ft){Ft(be)})}(Ht.value).then(Dt,nn)}Et((ae=ae.apply(W,ve||[])).next())})}function P(W,ve){var ae,fe,be,Ft,Q={label:0,sent:function(){if(1&be[0])throw be[1];return be[1]},trys:[],ops:[]};return Ft={next:Dt(0),throw:Dt(1),return:Dt(2)},"function"==typeof Symbol&&(Ft[Symbol.iterator]=function(){return this}),Ft;function Dt(Et){return function(Ht){return function nn(Et){if(ae)throw new TypeError("Generator is already executing.");for(;Ft&&(Ft=0,Et[0]&&(Q=0)),Q;)try{if(ae=1,fe&&(be=2&Et[0]?fe.return:Et[0]?fe.throw||((be=fe.return)&&be.call(fe),0):fe.next)&&!(be=be.call(fe,Et[1])).done)return be;switch(fe=0,be&&(Et=[2&Et[0],be.value]),Et[0]){case 0:case 1:be=Et;break;case 4:return Q.label++,{value:Et[1],done:!1};case 5:Q.label++,fe=Et[1],Et=[0];continue;case 7:Et=Q.ops.pop(),Q.trys.pop();continue;default:if(!(be=(be=Q.trys).length>0&&be[be.length-1])&&(6===Et[0]||2===Et[0])){Q=0;continue}if(3===Et[0]&&(!be||Et[1]>be[0]&&Et[1]1||Dt(un,In)})})}function Dt(un,In){try{!function nn(un){un.value instanceof R?Promise.resolve(un.value.v).then(Et,Ht):tn(be[0][2],un)}(ae[un](In))}catch(Xe){tn(be[0][3],Xe)}}function Et(un){Dt("next",un)}function Ht(un){Dt("throw",un)}function tn(un,In){un(In),be.shift(),be.length&&Dt(be[0][0],be[0][1])}}function K(W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Q,ve=W[Symbol.asyncIterator];return ve?ve.call(W):(W=function L(W){var ve="function"==typeof Symbol&&Symbol.iterator,Q=ve&&W[ve],ae=0;if(Q)return Q.call(W);if(W&&"number"==typeof W.length)return{next:function(){return W&&ae>=W.length&&(W=void 0),{value:W&&W[ae++],done:!W}}};throw new TypeError(ve?"Object is not iterable.":"Symbol.iterator is not defined.")}(W),Q={},ae("next"),ae("throw"),ae("return"),Q[Symbol.asyncIterator]=function(){return this},Q);function ae(be){Q[be]=W[be]&&function(Ft){return new Promise(function(Dt,nn){!function fe(be,Ft,Dt,nn){Promise.resolve(nn).then(function(Et){be({value:Et,done:Dt})},Ft)}(Dt,nn,(Ft=W[be](Ft)).done,Ft.value)})}}}},7691:(xt,Se,a)=>{function t(s){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(k){return typeof k}:function(k){return k&&"function"==typeof Symbol&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k})(s)}function d(s,k,G){return(k=function v(s){var k=function i(s,k){if("object"!==t(s)||null===s)return s;var G=s[Symbol.toPrimitive];if(void 0!==G){var U=G.call(s,k||"default");if("object"!==t(U))return U;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===k?String:Number)(s)}(s,"string");return"symbol"===t(k)?k:String(k)}(k))in s?Object.defineProperty(s,k,{value:G,enumerable:!0,configurable:!0,writable:!0}):s[k]=G,s}a.d(Se,{Z:()=>d})},6825:(xt,Se,a)=>{a.d(Se,{EY:()=>F,IO:()=>e,LC:()=>i,SB:()=>P,X$:()=>d,ZE:()=>ge,ZN:()=>R,_j:()=>t,eR:()=>w,jt:()=>s,k1:()=>ze,l3:()=>v,oB:()=>U,vP:()=>G});class t{}class i{}const v="*";function d(K,N){return{type:7,name:K,definitions:N,options:{}}}function s(K,N=null){return{type:4,styles:N,timings:K}}function G(K,N=null){return{type:2,steps:K,options:N}}function U(K){return{type:6,styles:K,offset:null}}function P(K,N,V){return{type:0,name:K,styles:N,options:V}}function w(K,N,V=null){return{type:1,expr:K,animation:N,options:V}}function e(K,N,V=null){return{type:11,selector:K,animation:N,options:V}}function F(K,N){return{type:12,timings:K,animation:N}}class R{constructor(N=0,V=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=N+V}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}onStart(N){this._originalOnStartFns.push(N),this._onStartFns.push(N)}onDone(N){this._originalOnDoneFns.push(N),this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(N=>N()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(N){this._position=this.totalTime?N*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(N){const V="start"==N?this._onStartFns:this._onDoneFns;V.forEach(O=>O()),V.length=0}}class ge{constructor(N){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=N;let V=0,O=0,A=0;const x=this.players.length;0==x?queueMicrotask(()=>this._onFinish()):this.players.forEach(pe=>{pe.onDone(()=>{++V==x&&this._onFinish()}),pe.onDestroy(()=>{++O==x&&this._onDestroy()}),pe.onStart(()=>{++A==x&&this._onStart()})}),this.totalTime=this.players.reduce((pe,de)=>Math.max(pe,de.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this.players.forEach(N=>N.init())}onStart(N){this._onStartFns.push(N)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(N=>N()),this._onStartFns=[])}onDone(N){this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(N=>N.play())}pause(){this.players.forEach(N=>N.pause())}restart(){this.players.forEach(N=>N.restart())}finish(){this._onFinish(),this.players.forEach(N=>N.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(N=>N.destroy()),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this.players.forEach(N=>N.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(N){const V=N*this.totalTime;this.players.forEach(O=>{const A=O.totalTime?Math.min(1,V/O.totalTime):1;O.setPosition(A)})}getPosition(){const N=this.players.reduce((V,O)=>null===V||O.totalTime>V.totalTime?O:V,null);return null!=N?N.getPosition():0}beforeDestroy(){this.players.forEach(N=>{N.beforeDestroy&&N.beforeDestroy()})}triggerCallback(N){const V="start"==N?this._onStartFns:this._onDoneFns;V.forEach(O=>O()),V.length=0}}const ze="!"},4300:(xt,Se,a)=>{a.d(Se,{Em:()=>be,X6:()=>He,kH:()=>Ke,qV:()=>Dn,rt:()=>_t,tE:()=>Gt,yG:()=>we});var t=a(6814),i=a(5879),v=a(2831),d=a(8645),s=a(7394),k=a(5619),G=a(2096),U=a(6028),P=a(9397),S=a(3620),w=a(2181),L=a(7398),Y=a(8180),M=a(836),e=a(3997),F=a(9773),R=a(2495),ge=a(7131),ze=a(1088);class ae{constructor(Je){this._items=Je,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.x,this._typeaheadSubscription=s.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=rt=>rt.disabled,this._pressedLetters=[],this.tabOut=new d.x,this.change=new d.x,Je instanceof i.n_E&&(this._itemChangesSubscription=Je.changes.subscribe(rt=>{if(this._activeItem){const Tt=rt.toArray().indexOf(this._activeItem);Tt>-1&&Tt!==this._activeItemIndex&&(this._activeItemIndex=Tt)}}))}skipPredicate(Je){return this._skipPredicateFn=Je,this}withWrap(Je=!0){return this._wrap=Je,this}withVerticalOrientation(Je=!0){return this._vertical=Je,this}withHorizontalOrientation(Je){return this._horizontal=Je,this}withAllowedModifierKeys(Je){return this._allowedModifierKeys=Je,this}withTypeAhead(Je=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,P.b)(rt=>this._pressedLetters.push(rt)),(0,S.b)(Je),(0,w.h)(()=>this._pressedLetters.length>0),(0,L.U)(()=>this._pressedLetters.join(""))).subscribe(rt=>{const Nt=this._getItemsArray();for(let Tt=1;Tt!Je[mn]||this._allowedModifierKeys.indexOf(mn)>-1);switch(rt){case U.Mf:return void this.tabOut.next();case U.JH:if(this._vertical&&Tt){this.setNextItemActive();break}return;case U.LH:if(this._vertical&&Tt){this.setPreviousItemActive();break}return;case U.SV:if(this._horizontal&&Tt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case U.oh:if(this._horizontal&&Tt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case U.Sd:if(this._homeAndEnd&&Tt){this.setFirstItemActive();break}return;case U.uR:if(this._homeAndEnd&&Tt){this.setLastItemActive();break}return;case U.Ku:if(this._pageUpAndDown.enabled&&Tt){const mn=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(mn>0?mn:0,1);break}return;case U.VM:if(this._pageUpAndDown.enabled&&Tt){const mn=this._activeItemIndex+this._pageUpAndDown.delta,Ze=this._getItemsArray().length;this._setActiveItemByIndex(mn=U.A&&rt<=U.Z||rt>=U.xE&&rt<=U.aO)&&this._letterKeyStream.next(String.fromCharCode(rt))))}this._pressedLetters=[],Je.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Je){const rt=this._getItemsArray(),Nt="number"==typeof Je?Je:rt.indexOf(Je);this._activeItem=rt[Nt]??null,this._activeItemIndex=Nt}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Je){this._wrap?this._setActiveInWrapMode(Je):this._setActiveInDefaultMode(Je)}_setActiveInWrapMode(Je){const rt=this._getItemsArray();for(let Nt=1;Nt<=rt.length;Nt++){const Tt=(this._activeItemIndex+Je*Nt+rt.length)%rt.length;if(!this._skipPredicateFn(rt[Tt]))return void this.setActiveItem(Tt)}}_setActiveInDefaultMode(Je){this._setActiveItemByIndex(this._activeItemIndex+Je,Je)}_setActiveItemByIndex(Je,rt){const Nt=this._getItemsArray();if(Nt[Je]){for(;this._skipPredicateFn(Nt[Je]);)if(!Nt[Je+=rt])return;this.setActiveItem(Je)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}class be extends ae{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Je){return this._origin=Je,this}setActiveItem(Je){super.setActiveItem(Je),this.activeItem&&this.activeItem.focus(this._origin)}}let Dt=(()=>{class tt{constructor(rt){this._platform=rt}isDisabled(rt){return rt.hasAttribute("disabled")}isVisible(rt){return function Et(tt){return!!(tt.offsetWidth||tt.offsetHeight||"function"==typeof tt.getClientRects&&tt.getClientRects().length)}(rt)&&"visible"===getComputedStyle(rt).visibility}isTabbable(rt){if(!this._platform.isBrowser)return!1;const Nt=function nn(tt){try{return tt.frameElement}catch{return null}}(function qt(tt){return tt.ownerDocument&&tt.ownerDocument.defaultView||window}(rt));if(Nt&&(-1===Ct(Nt)||!this.isVisible(Nt)))return!1;let Tt=rt.nodeName.toLowerCase(),mn=Ct(rt);return rt.hasAttribute("contenteditable")?-1!==mn:!("iframe"===Tt||"object"===Tt||this._platform.WEBKIT&&this._platform.IOS&&!function je(tt){let Je=tt.nodeName.toLowerCase(),rt="input"===Je&&tt.type;return"text"===rt||"password"===rt||"select"===Je||"textarea"===Je}(rt))&&("audio"===Tt?!!rt.hasAttribute("controls")&&-1!==mn:"video"===Tt?-1!==mn&&(null!==mn||this._platform.FIREFOX||rt.hasAttribute("controls")):rt.tabIndex>=0)}isFocusable(rt,Nt){return function Yt(tt){return!function tn(tt){return function In(tt){return"input"==tt.nodeName.toLowerCase()}(tt)&&"hidden"==tt.type}(tt)&&(function Ht(tt){let Je=tt.nodeName.toLowerCase();return"input"===Je||"select"===Je||"button"===Je||"textarea"===Je}(tt)||function un(tt){return function Xe(tt){return"a"==tt.nodeName.toLowerCase()}(tt)&&tt.hasAttribute("href")}(tt)||tt.hasAttribute("contenteditable")||Re(tt))}(rt)&&!this.isDisabled(rt)&&(Nt?.ignoreVisibility||this.isVisible(rt))}}return tt.\u0275fac=function(rt){return new(rt||tt)(i.LFG(v.t4))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();function Re(tt){if(!tt.hasAttribute("tabindex")||void 0===tt.tabIndex)return!1;let Je=tt.getAttribute("tabindex");return!(!Je||isNaN(parseInt(Je,10)))}function Ct(tt){if(!Re(tt))return null;const Je=parseInt(tt.getAttribute("tabindex")||"",10);return isNaN(Je)?-1:Je}class vn{get enabled(){return this._enabled}set enabled(Je){this._enabled=Je,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Je,this._startAnchor),this._toggleAnchorTabIndex(Je,this._endAnchor))}constructor(Je,rt,Nt,Tt,mn=!1){this._element=Je,this._checker=rt,this._ngZone=Nt,this._document=Tt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,mn||this.attachAnchors()}destroy(){const Je=this._startAnchor,rt=this._endAnchor;Je&&(Je.removeEventListener("focus",this.startAnchorListener),Je.remove()),rt&&(rt.removeEventListener("focus",this.endAnchorListener),rt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Je){return new Promise(rt=>{this._executeOnStable(()=>rt(this.focusInitialElement(Je)))})}focusFirstTabbableElementWhenReady(Je){return new Promise(rt=>{this._executeOnStable(()=>rt(this.focusFirstTabbableElement(Je)))})}focusLastTabbableElementWhenReady(Je){return new Promise(rt=>{this._executeOnStable(()=>rt(this.focusLastTabbableElement(Je)))})}_getRegionBoundary(Je){const rt=this._element.querySelectorAll(`[cdk-focus-region-${Je}], [cdkFocusRegion${Je}], [cdk-focus-${Je}]`);return"start"==Je?rt.length?rt[0]:this._getFirstTabbableElement(this._element):rt.length?rt[rt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Je){const rt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(rt){if(!this._checker.isFocusable(rt)){const Nt=this._getFirstTabbableElement(rt);return Nt?.focus(Je),!!Nt}return rt.focus(Je),!0}return this.focusFirstTabbableElement(Je)}focusFirstTabbableElement(Je){const rt=this._getRegionBoundary("start");return rt&&rt.focus(Je),!!rt}focusLastTabbableElement(Je){const rt=this._getRegionBoundary("end");return rt&&rt.focus(Je),!!rt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Je){if(this._checker.isFocusable(Je)&&this._checker.isTabbable(Je))return Je;const rt=Je.children;for(let Nt=0;Nt=0;Nt--){const Tt=rt[Nt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(rt[Nt]):null;if(Tt)return Tt}return null}_createAnchor(){const Je=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Je),Je.classList.add("cdk-visually-hidden"),Je.classList.add("cdk-focus-trap-anchor"),Je.setAttribute("aria-hidden","true"),Je}_toggleAnchorTabIndex(Je,rt){Je?rt.setAttribute("tabindex","0"):rt.removeAttribute("tabindex")}toggleAnchors(Je){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Je,this._startAnchor),this._toggleAnchorTabIndex(Je,this._endAnchor))}_executeOnStable(Je){this._ngZone.isStable?Je():this._ngZone.onStable.pipe((0,Y.q)(1)).subscribe(Je)}}let Dn=(()=>{class tt{constructor(rt,Nt,Tt){this._checker=rt,this._ngZone=Nt,this._document=Tt}create(rt,Nt=!1){return new vn(rt,this._checker,this._ngZone,this._document,Nt)}}return tt.\u0275fac=function(rt){return new(rt||tt)(i.LFG(Dt),i.LFG(i.R0b),i.LFG(t.K0))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();function He(tt){return 0===tt.buttons||0===tt.offsetX&&0===tt.offsetY}function we(tt){const Je=tt.touches&&tt.touches[0]||tt.changedTouches&&tt.changedTouches[0];return!(!Je||-1!==Je.identifier||null!=Je.radiusX&&1!==Je.radiusX||null!=Je.radiusY&&1!==Je.radiusY)}const te=new i.OlP("cdk-input-modality-detector-options"),ce={ignoreKeys:[U.zL,U.jx,U.b2,U.MW,U.JU]},Ge=(0,v.i$)({passive:!0,capture:!0});let vt=(()=>{class tt{get mostRecentModality(){return this._modality.value}constructor(rt,Nt,Tt,mn){this._platform=rt,this._mostRecentTarget=null,this._modality=new k.X(null),this._lastTouchMs=0,this._onKeydown=Ze=>{this._options?.ignoreKeys?.some(ut=>ut===Ze.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,v.sA)(Ze))},this._onMousedown=Ze=>{Date.now()-this._lastTouchMs<650||(this._modality.next(He(Ze)?"keyboard":"mouse"),this._mostRecentTarget=(0,v.sA)(Ze))},this._onTouchstart=Ze=>{we(Ze)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,v.sA)(Ze))},this._options={...ce,...mn},this.modalityDetected=this._modality.pipe((0,M.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,e.x)()),rt.isBrowser&&Nt.runOutsideAngular(()=>{Tt.addEventListener("keydown",this._onKeydown,Ge),Tt.addEventListener("mousedown",this._onMousedown,Ge),Tt.addEventListener("touchstart",this._onTouchstart,Ge)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ge),document.removeEventListener("mousedown",this._onMousedown,Ge),document.removeEventListener("touchstart",this._onTouchstart,Ge))}}return tt.\u0275fac=function(rt){return new(rt||tt)(i.LFG(v.t4),i.LFG(i.R0b),i.LFG(t.K0),i.LFG(te,8))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})();const Ot=new i.OlP("cdk-focus-monitor-default-options"),Lt=(0,v.i$)({passive:!0,capture:!0});let Gt=(()=>{class tt{constructor(rt,Nt,Tt,mn,Ze){this._ngZone=rt,this._platform=Nt,this._inputModalityDetector=Tt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new d.x,this._rootNodeFocusAndBlurListener=ut=>{for(let ye=(0,v.sA)(ut);ye;ye=ye.parentElement)"focus"===ut.type?this._onFocus(ut,ye):this._onBlur(ut,ye)},this._document=mn,this._detectionMode=Ze?.detectionMode||0}monitor(rt,Nt=!1){const Tt=(0,R.fI)(rt);if(!this._platform.isBrowser||1!==Tt.nodeType)return(0,G.of)();const mn=(0,v.kV)(Tt)||this._getDocument(),Ze=this._elementInfo.get(Tt);if(Ze)return Nt&&(Ze.checkChildren=!0),Ze.subject;const ut={checkChildren:Nt,subject:new d.x,rootNode:mn};return this._elementInfo.set(Tt,ut),this._registerGlobalListeners(ut),ut.subject}stopMonitoring(rt){const Nt=(0,R.fI)(rt),Tt=this._elementInfo.get(Nt);Tt&&(Tt.subject.complete(),this._setClasses(Nt),this._elementInfo.delete(Nt),this._removeGlobalListeners(Tt))}focusVia(rt,Nt,Tt){const mn=(0,R.fI)(rt);mn===this._getDocument().activeElement?this._getClosestElementsInfo(mn).forEach(([ut,le])=>this._originChanged(ut,Nt,le)):(this._setOrigin(Nt),"function"==typeof mn.focus&&mn.focus(Tt))}ngOnDestroy(){this._elementInfo.forEach((rt,Nt)=>this.stopMonitoring(Nt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(rt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(rt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:rt&&this._isLastInteractionFromInputLabel(rt)?"mouse":"program"}_shouldBeAttributedToTouch(rt){return 1===this._detectionMode||!!rt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(rt,Nt){rt.classList.toggle("cdk-focused",!!Nt),rt.classList.toggle("cdk-touch-focused","touch"===Nt),rt.classList.toggle("cdk-keyboard-focused","keyboard"===Nt),rt.classList.toggle("cdk-mouse-focused","mouse"===Nt),rt.classList.toggle("cdk-program-focused","program"===Nt)}_setOrigin(rt,Nt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=rt,this._originFromTouchInteraction="touch"===rt&&Nt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(rt,Nt){const Tt=this._elementInfo.get(Nt),mn=(0,v.sA)(rt);!Tt||!Tt.checkChildren&&Nt!==mn||this._originChanged(Nt,this._getFocusOrigin(mn),Tt)}_onBlur(rt,Nt){const Tt=this._elementInfo.get(Nt);!Tt||Tt.checkChildren&&rt.relatedTarget instanceof Node&&Nt.contains(rt.relatedTarget)||(this._setClasses(Nt),this._emitOrigin(Tt,null))}_emitOrigin(rt,Nt){rt.subject.observers.length&&this._ngZone.run(()=>rt.subject.next(Nt))}_registerGlobalListeners(rt){if(!this._platform.isBrowser)return;const Nt=rt.rootNode,Tt=this._rootNodeFocusListenerCount.get(Nt)||0;Tt||this._ngZone.runOutsideAngular(()=>{Nt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Lt),Nt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Lt)}),this._rootNodeFocusListenerCount.set(Nt,Tt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,F.R)(this._stopInputModalityDetector)).subscribe(mn=>{this._setOrigin(mn,!0)}))}_removeGlobalListeners(rt){const Nt=rt.rootNode;if(this._rootNodeFocusListenerCount.has(Nt)){const Tt=this._rootNodeFocusListenerCount.get(Nt);Tt>1?this._rootNodeFocusListenerCount.set(Nt,Tt-1):(Nt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Lt),Nt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Lt),this._rootNodeFocusListenerCount.delete(Nt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(rt,Nt,Tt){this._setClasses(rt,Nt),this._emitOrigin(Tt,Nt),this._lastFocusOrigin=Nt}_getClosestElementsInfo(rt){const Nt=[];return this._elementInfo.forEach((Tt,mn)=>{(mn===rt||Tt.checkChildren&&mn.contains(rt))&&Nt.push([mn,Tt])}),Nt}_isLastInteractionFromInputLabel(rt){const{_mostRecentTarget:Nt,mostRecentModality:Tt}=this._inputModalityDetector;if("mouse"!==Tt||!Nt||Nt===rt||"INPUT"!==rt.nodeName&&"TEXTAREA"!==rt.nodeName||rt.disabled)return!1;const mn=rt.labels;if(mn)for(let Ze=0;Ze{class tt{constructor(rt,Nt){this._elementRef=rt,this._focusMonitor=Nt,this._focusOrigin=null,this.cdkFocusChange=new i.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const rt=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(rt,1===rt.nodeType&&rt.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Nt=>{this._focusOrigin=Nt,this.cdkFocusChange.emit(Nt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return tt.\u0275fac=function(rt){return new(rt||tt)(i.Y36(i.SBq),i.Y36(Gt))},tt.\u0275dir=i.lG2({type:tt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),tt})();const J="cdk-high-contrast-black-on-white",I="cdk-high-contrast-white-on-black",q="cdk-high-contrast-active";let Me=(()=>{class tt{constructor(rt,Nt){this._platform=rt,this._document=Nt,this._breakpointSubscription=(0,i.f3M)(ze.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const rt=this._document.createElement("div");rt.style.backgroundColor="rgb(1,2,3)",rt.style.position="absolute",this._document.body.appendChild(rt);const Nt=this._document.defaultView||window,Tt=Nt&&Nt.getComputedStyle?Nt.getComputedStyle(rt):null,mn=(Tt&&Tt.backgroundColor||"").replace(/ /g,"");switch(rt.remove(),mn){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const rt=this._document.body.classList;rt.remove(q,J,I),this._hasCheckedHighContrastMode=!0;const Nt=this.getHighContrastMode();1===Nt?rt.add(q,J):2===Nt&&rt.add(q,I)}}}return tt.\u0275fac=function(rt){return new(rt||tt)(i.LFG(v.t4),i.LFG(t.K0))},tt.\u0275prov=i.Yz7({token:tt,factory:tt.\u0275fac,providedIn:"root"}),tt})(),_t=(()=>{class tt{constructor(rt){rt._applyBodyHighContrastModeCssClasses()}}return tt.\u0275fac=function(rt){return new(rt||tt)(i.LFG(Me))},tt.\u0275mod=i.oAB({type:tt}),tt.\u0275inj=i.cJS({imports:[ge.Q8]}),tt})()},9388:(xt,Se,a)=>{a.d(Se,{Is:()=>G,vT:()=>P});var t=a(5879),i=a(6814);const v=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function d(){return(0,t.f3M)(i.K0)}}),s=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let G=(()=>{class S{constructor(L){this.value="ltr",this.change=new t.vpe,L&&(this.value=function k(S){const w=S?.toLowerCase()||"";return"auto"===w&&typeof navigator<"u"&&navigator?.language?s.test(navigator.language)?"rtl":"ltr":"rtl"===w?"rtl":"ltr"}((L.body?L.body.dir:null)||(L.documentElement?L.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return S.\u0275fac=function(L){return new(L||S)(t.LFG(v,8))},S.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),P=(()=>{class S{}return S.\u0275fac=function(L){return new(L||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({}),S})()},342:(xt,Se,a)=>{a.d(Se,{Iq:()=>G,TU:()=>d});var t=a(6814),i=a(5879);class v{constructor(P,S){this._document=S;const w=this._textarea=this._document.createElement("textarea"),L=w.style;L.position="fixed",L.top=L.opacity="0",L.left="-999em",w.setAttribute("aria-hidden","true"),w.value=P,w.readOnly=!0,this._document.body.appendChild(w)}copy(){const P=this._textarea;let S=!1;try{if(P){const w=this._document.activeElement;P.select(),P.setSelectionRange(0,P.value.length),S=this._document.execCommand("copy"),w&&w.focus()}}catch{}return S}destroy(){const P=this._textarea;P&&(P.remove(),this._textarea=void 0)}}let d=(()=>{class U{constructor(S){this._document=S}copy(S){const w=this.beginCopy(S),L=w.copy();return w.destroy(),L}beginCopy(S){return new v(S,this._document)}}return U.\u0275fac=function(S){return new(S||U)(i.LFG(t.K0))},U.\u0275prov=i.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),G=(()=>{class U{}return U.\u0275fac=function(S){return new(S||U)},U.\u0275mod=i.oAB({type:U}),U.\u0275inj=i.cJS({}),U})()},2495:(xt,Se,a)=>{a.d(Se,{Eq:()=>s,HM:()=>k,Ig:()=>i,fI:()=>G,su:()=>v,t6:()=>d});var t=a(5879);function i(P){return null!=P&&"false"!=`${P}`}function v(P,S=0){return d(P)?Number(P):S}function d(P){return!isNaN(parseFloat(P))&&!isNaN(Number(P))}function s(P){return Array.isArray(P)?P:[P]}function k(P){return null==P?"":"string"==typeof P?P:`${P}px`}function G(P){return P instanceof t.SBq?P.nativeElement:P}},6028:(xt,Se,a)=>{a.d(Se,{A:()=>tn,JH:()=>K,JU:()=>k,K5:()=>s,Ku:()=>Y,LH:()=>ge,L_:()=>L,MW:()=>st,Mf:()=>v,SV:()=>ze,Sd:()=>F,VM:()=>M,Vb:()=>Nn,Z:()=>_n,ZH:()=>i,aO:()=>Ft,b2:()=>Di,hY:()=>w,jx:()=>G,oh:()=>R,uR:()=>e,xE:()=>x,zL:()=>U});const i=8,v=9,s=13,k=16,G=17,U=18,w=27,L=32,Y=33,M=34,e=35,F=36,R=37,ge=38,ze=39,K=40,x=48,Ft=57,tn=65,_n=90,st=91,Di=224;function Nn(Oi,...Ai){return Ai.length?Ai.some(wi=>Oi[wi]):Oi.altKey||Oi.shiftKey||Oi.ctrlKey||Oi.metaKey}},1088:(xt,Se,a)=>{a.d(Se,{Yg:()=>K,vx:()=>R,xu:()=>M});var t=a(5879),i=a(2495),v=a(8645),d=a(2572),s=a(5211),k=a(5592),G=a(8180),U=a(836),P=a(3620),S=a(7398),w=a(7921),L=a(9773),Y=a(2831);let M=(()=>{class O{}return O.\u0275fac=function(x){return new(x||O)},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({}),O})();const e=new Set;let F,R=(()=>{class O{constructor(x,pe){this._platform=x,this._nonce=pe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ze}matchMedia(x){return(this._platform.WEBKIT||this._platform.BLINK)&&function ge(O,A){if(!e.has(O))try{F||(F=document.createElement("style"),A&&(F.nonce=A),F.setAttribute("type","text/css"),document.head.appendChild(F)),F.sheet&&(F.sheet.insertRule(`@media ${O} {body{ }}`,0),e.add(O))}catch(x){console.error(x)}}(x,this._nonce),this._matchMedia(x)}}return O.\u0275fac=function(x){return new(x||O)(t.LFG(Y.t4),t.LFG(t.Ojb,8))},O.\u0275prov=t.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function ze(O){return{matches:"all"===O||""===O,media:O,addListener:()=>{},removeListener:()=>{}}}let K=(()=>{class O{constructor(x,pe){this._mediaMatcher=x,this._zone=pe,this._queries=new Map,this._destroySubject=new v.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(x){return N((0,i.Eq)(x)).some(de=>this._registerQuery(de).mql.matches)}observe(x){const de=N((0,i.Eq)(x)).map(ve=>this._registerQuery(ve).observable);let W=(0,d.a)(de);return W=(0,s.z)(W.pipe((0,G.q)(1)),W.pipe((0,U.T)(1),(0,P.b)(0))),W.pipe((0,S.U)(ve=>{const Q={matches:!1,breakpoints:{}};return ve.forEach(({matches:ae,query:fe})=>{Q.matches=Q.matches||ae,Q.breakpoints[fe]=ae}),Q}))}_registerQuery(x){if(this._queries.has(x))return this._queries.get(x);const pe=this._mediaMatcher.matchMedia(x),W={observable:new k.y(ve=>{const Q=ae=>this._zone.run(()=>ve.next(ae));return pe.addListener(Q),()=>{pe.removeListener(Q)}}).pipe((0,w.O)(pe),(0,S.U)(({matches:ve})=>({query:x,matches:ve})),(0,L.R)(this._destroySubject)),mql:pe};return this._queries.set(x,W),W}}return O.\u0275fac=function(x){return new(x||O)(t.LFG(R),t.LFG(t.R0b))},O.\u0275prov=t.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),O})();function N(O){return O.map(A=>A.split(",")).reduce((A,x)=>A.concat(x)).map(A=>A.trim())}},7131:(xt,Se,a)=>{a.d(Se,{Q8:()=>s});var t=a(5879);let i=(()=>{class k{create(U){return typeof MutationObserver>"u"?null:new MutationObserver(U)}}return k.\u0275fac=function(U){return new(U||k)},k.\u0275prov=t.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})(),s=(()=>{class k{}return k.\u0275fac=function(U){return new(U||k)},k.\u0275mod=t.oAB({type:k}),k.\u0275inj=t.cJS({providers:[i]}),k})()},9594:(xt,Se,a)=>{a.d(Se,{Iu:()=>Dt,U8:()=>We,X_:()=>x,aV:()=>vn,pI:()=>$e,tR:()=>pe,xu:()=>It});var t=a(532),i=a(6814),v=a(5879),d=a(2495),s=a(2831),k=a(2181),G=a(8180),U=a(9773),P=a(812),S=a(9388),w=a(8484),L=a(8645),Y=a(7394),M=a(3019),e=a(6028);const F=(0,s.Mq)();class R{constructor(te,ce){this._viewportRuler=te,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ce}attach(){}enable(){if(this._canBeEnabled()){const te=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=te.style.left||"",this._previousHTMLStyles.top=te.style.top||"",te.style.left=(0,d.HM)(-this._previousScrollPosition.left),te.style.top=(0,d.HM)(-this._previousScrollPosition.top),te.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const te=this._document.documentElement,De=te.style,Ge=this._document.body.style,vt=De.scrollBehavior||"",rn=Ge.scrollBehavior||"";this._isEnabled=!1,De.left=this._previousHTMLStyles.left,De.top=this._previousHTMLStyles.top,te.classList.remove("cdk-global-scrollblock"),F&&(De.scrollBehavior=Ge.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),F&&(De.scrollBehavior=vt,Ge.scrollBehavior=rn)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ce=this._document.body,De=this._viewportRuler.getViewportSize();return ce.scrollHeight>De.height||ce.scrollWidth>De.width}}class ze{constructor(te,ce,De,Ge){this._scrollDispatcher=te,this._ngZone=ce,this._viewportRuler=De,this._config=Ge,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(te){this._overlayRef=te}enable(){if(this._scrollSubscription)return;const te=this._scrollDispatcher.scrolled(0).pipe((0,k.h)(ce=>!ce||!this._overlayRef.overlayElement.contains(ce.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=te.subscribe(()=>{const ce=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ce-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=te.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class K{enable(){}disable(){}attach(){}}function N(we,te){return te.some(ce=>we.bottomce.bottom||we.rightce.right)}function V(we,te){return te.some(ce=>we.topce.bottom||we.leftce.right)}class O{constructor(te,ce,De,Ge){this._scrollDispatcher=te,this._viewportRuler=ce,this._ngZone=De,this._config=Ge,this._scrollSubscription=null}attach(te){this._overlayRef=te}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ce=this._overlayRef.overlayElement.getBoundingClientRect(),{width:De,height:Ge}=this._viewportRuler.getViewportSize();N(ce,[{width:De,height:Ge,bottom:Ge,right:De,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let A=(()=>{class we{constructor(ce,De,Ge,vt){this._scrollDispatcher=ce,this._viewportRuler=De,this._ngZone=Ge,this.noop=()=>new K,this.close=rn=>new ze(this._scrollDispatcher,this._ngZone,this._viewportRuler,rn),this.block=()=>new R(this._viewportRuler,this._document),this.reposition=rn=>new O(this._scrollDispatcher,this._viewportRuler,this._ngZone,rn),this._document=vt}}return we.\u0275fac=function(ce){return new(ce||we)(v.LFG(t.mF),v.LFG(t.rL),v.LFG(v.R0b),v.LFG(i.K0))},we.\u0275prov=v.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();class x{constructor(te){if(this.scrollStrategy=new K,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,te){const ce=Object.keys(te);for(const De of ce)void 0!==te[De]&&(this[De]=te[De])}}}class pe{constructor(te,ce,De,Ge,vt){this.offsetX=De,this.offsetY=Ge,this.panelClass=vt,this.originX=te.originX,this.originY=te.originY,this.overlayX=ce.overlayX,this.overlayY=ce.overlayY}}class W{constructor(te,ce){this.connectionPair=te,this.scrollableViewProperties=ce}}let ae=(()=>{class we{constructor(ce){this._attachedOverlays=[],this._document=ce}ngOnDestroy(){this.detach()}add(ce){this.remove(ce),this._attachedOverlays.push(ce)}remove(ce){const De=this._attachedOverlays.indexOf(ce);De>-1&&this._attachedOverlays.splice(De,1),0===this._attachedOverlays.length&&this.detach()}}return we.\u0275fac=function(ce){return new(ce||we)(v.LFG(i.K0))},we.\u0275prov=v.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),fe=(()=>{class we extends ae{constructor(ce,De){super(ce),this._ngZone=De,this._keydownListener=Ge=>{const vt=this._attachedOverlays;for(let rn=vt.length-1;rn>-1;rn--)if(vt[rn]._keydownEvents.observers.length>0){const _n=vt[rn]._keydownEvents;this._ngZone?this._ngZone.run(()=>_n.next(Ge)):_n.next(Ge);break}}}add(ce){super.add(ce),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return we.\u0275fac=function(ce){return new(ce||we)(v.LFG(i.K0),v.LFG(v.R0b,8))},we.\u0275prov=v.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),be=(()=>{class we extends ae{constructor(ce,De,Ge){super(ce),this._platform=De,this._ngZone=Ge,this._cursorStyleIsSet=!1,this._pointerDownListener=vt=>{this._pointerDownEventTarget=(0,s.sA)(vt)},this._clickListener=vt=>{const rn=(0,s.sA)(vt),_n="click"===vt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:rn;this._pointerDownEventTarget=null;const st=this._attachedOverlays.slice();for(let it=st.length-1;it>-1;it--){const lt=st[it];if(lt._outsidePointerEvents.observers.length<1||!lt.hasAttached())continue;if(lt.overlayElement.contains(rn)||lt.overlayElement.contains(_n))break;const wt=lt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>wt.next(vt)):wt.next(vt)}}}add(ce){if(super.add(ce),!this._isAttached){const De=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(De)):this._addEventListeners(De),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=De.style.cursor,De.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ce=this._document.body;ce.removeEventListener("pointerdown",this._pointerDownListener,!0),ce.removeEventListener("click",this._clickListener,!0),ce.removeEventListener("auxclick",this._clickListener,!0),ce.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ce.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ce){ce.addEventListener("pointerdown",this._pointerDownListener,!0),ce.addEventListener("click",this._clickListener,!0),ce.addEventListener("auxclick",this._clickListener,!0),ce.addEventListener("contextmenu",this._clickListener,!0)}}return we.\u0275fac=function(ce){return new(ce||we)(v.LFG(i.K0),v.LFG(s.t4),v.LFG(v.R0b,8))},we.\u0275prov=v.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),Ft=(()=>{class we{constructor(ce,De){this._platform=De,this._document=ce}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ce="cdk-overlay-container";if(this._platform.isBrowser||(0,s.Oy)()){const Ge=this._document.querySelectorAll(`.${ce}[platform="server"], .${ce}[platform="test"]`);for(let vt=0;vtthis._backdropClick.next(wt),this._backdropTransitionendHandler=wt=>{this._disposeBackdrop(wt.target)},this._keydownEvents=new L.x,this._outsidePointerEvents=new L.x,Ge.scrollStrategy&&(this._scrollStrategy=Ge.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ge.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(te){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ce=this._portalOutlet.attach(te);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,G.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof ce?.onDestroy&&ce.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ce}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const te=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),te}dispose(){const te=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,te&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(te){te!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=te,this.hasAttached()&&(te.attach(this),this.updatePosition()))}updateSize(te){this._config={...this._config,...te},this._updateElementSize()}setDirection(te){this._config={...this._config,direction:te},this._updateElementDirection()}addPanelClass(te){this._pane&&this._toggleClasses(this._pane,te,!0)}removePanelClass(te){this._pane&&this._toggleClasses(this._pane,te,!1)}getDirection(){const te=this._config.direction;return te?"string"==typeof te?te:te.value:"ltr"}updateScrollStrategy(te){te!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=te,this.hasAttached()&&(te.attach(this),te.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const te=this._pane.style;te.width=(0,d.HM)(this._config.width),te.height=(0,d.HM)(this._config.height),te.minWidth=(0,d.HM)(this._config.minWidth),te.minHeight=(0,d.HM)(this._config.minHeight),te.maxWidth=(0,d.HM)(this._config.maxWidth),te.maxHeight=(0,d.HM)(this._config.maxHeight)}_togglePointerEvents(te){this._pane.style.pointerEvents=te?"":"none"}_attachBackdrop(){const te="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(te)})}):this._backdropElement.classList.add(te)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const te=this._backdropElement;if(te){if(this._animationsDisabled)return void this._disposeBackdrop(te);te.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{te.addEventListener("transitionend",this._backdropTransitionendHandler)}),te.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(te)},500))}}_toggleClasses(te,ce,De){const Ge=(0,d.Eq)(ce||[]).filter(vt=>!!vt);Ge.length&&(De?te.classList.add(...Ge):te.classList.remove(...Ge))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const te=this._ngZone.onStable.pipe((0,U.R)((0,M.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),te.unsubscribe())})})}_disposeScrollStrategy(){const te=this._scrollStrategy;te&&(te.disable(),te.detach&&te.detach())}_disposeBackdrop(te){te&&(te.removeEventListener("click",this._backdropClickHandler),te.removeEventListener("transitionend",this._backdropTransitionendHandler),te.remove(),this._backdropElement===te&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const nn="cdk-overlay-connected-position-bounding-box",Et=/([A-Za-z%]+)$/;class Ht{get positions(){return this._preferredPositions}constructor(te,ce,De,Ge,vt){this._viewportRuler=ce,this._document=De,this._platform=Ge,this._overlayContainer=vt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new L.x,this._resizeSubscription=Y.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(te)}attach(te){this._validatePositions(),te.hostElement.classList.add(nn),this._overlayRef=te,this._boundingBox=te.hostElement,this._pane=te.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const te=this._originRect,ce=this._overlayRect,De=this._viewportRect,Ge=this._containerRect,vt=[];let rn;for(let _n of this._preferredPositions){let st=this._getOriginPoint(te,Ge,_n),it=this._getOverlayPoint(st,ce,_n),lt=this._getOverlayFit(it,ce,De,_n);if(lt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_n,st);this._canFitWithFlexibleDimensions(lt,it,De)?vt.push({position:_n,origin:st,overlayRect:ce,boundingBoxRect:this._calculateBoundingBoxRect(st,_n)}):(!rn||rn.overlayFit.visibleAreast&&(st=lt,_n=it)}return this._isPushed=!1,void this._applyPosition(_n.position,_n.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(rn.position,rn.originPoint);this._applyPosition(rn.position,rn.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&tn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nn),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const te=this._lastPosition;if(te){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ce=this._getOriginPoint(this._originRect,this._containerRect,te);this._applyPosition(te,ce)}else this.apply()}withScrollableContainers(te){return this._scrollables=te,this}withPositions(te){return this._preferredPositions=te,-1===te.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(te){return this._viewportMargin=te,this}withFlexibleDimensions(te=!0){return this._hasFlexibleDimensions=te,this}withGrowAfterOpen(te=!0){return this._growAfterOpen=te,this}withPush(te=!0){return this._canPush=te,this}withLockedPosition(te=!0){return this._positionLocked=te,this}setOrigin(te){return this._origin=te,this}withDefaultOffsetX(te){return this._offsetX=te,this}withDefaultOffsetY(te){return this._offsetY=te,this}withTransformOriginOn(te){return this._transformOriginSelector=te,this}_getOriginPoint(te,ce,De){let Ge,vt;if("center"==De.originX)Ge=te.left+te.width/2;else{const rn=this._isRtl()?te.right:te.left,_n=this._isRtl()?te.left:te.right;Ge="start"==De.originX?rn:_n}return ce.left<0&&(Ge-=ce.left),vt="center"==De.originY?te.top+te.height/2:"top"==De.originY?te.top:te.bottom,ce.top<0&&(vt-=ce.top),{x:Ge,y:vt}}_getOverlayPoint(te,ce,De){let Ge,vt;return Ge="center"==De.overlayX?-ce.width/2:"start"===De.overlayX?this._isRtl()?-ce.width:0:this._isRtl()?0:-ce.width,vt="center"==De.overlayY?-ce.height/2:"top"==De.overlayY?0:-ce.height,{x:te.x+Ge,y:te.y+vt}}_getOverlayFit(te,ce,De,Ge){const vt=In(ce);let{x:rn,y:_n}=te,st=this._getOffset(Ge,"x"),it=this._getOffset(Ge,"y");st&&(rn+=st),it&&(_n+=it);let Ot=0-_n,Lt=_n+vt.height-De.height,Gt=this._subtractOverflows(vt.width,0-rn,rn+vt.width-De.width),Ke=this._subtractOverflows(vt.height,Ot,Lt),J=Gt*Ke;return{visibleArea:J,isCompletelyWithinViewport:vt.width*vt.height===J,fitsInViewportVertically:Ke===vt.height,fitsInViewportHorizontally:Gt==vt.width}}_canFitWithFlexibleDimensions(te,ce,De){if(this._hasFlexibleDimensions){const Ge=De.bottom-ce.y,vt=De.right-ce.x,rn=un(this._overlayRef.getConfig().minHeight),_n=un(this._overlayRef.getConfig().minWidth);return(te.fitsInViewportVertically||null!=rn&&rn<=Ge)&&(te.fitsInViewportHorizontally||null!=_n&&_n<=vt)}return!1}_pushOverlayOnScreen(te,ce,De){if(this._previousPushAmount&&this._positionLocked)return{x:te.x+this._previousPushAmount.x,y:te.y+this._previousPushAmount.y};const Ge=In(ce),vt=this._viewportRect,rn=Math.max(te.x+Ge.width-vt.width,0),_n=Math.max(te.y+Ge.height-vt.height,0),st=Math.max(vt.top-De.top-te.y,0),it=Math.max(vt.left-De.left-te.x,0);let lt=0,wt=0;return lt=Ge.width<=vt.width?it||-rn:te.xGt&&!this._isInitialRender&&!this._growAfterOpen&&(rn=te.y-Gt/2)}if("end"===ce.overlayX&&!Ge||"start"===ce.overlayX&&Ge)Ot=De.width-te.x+this._viewportMargin,lt=te.x-this._viewportMargin;else if("start"===ce.overlayX&&!Ge||"end"===ce.overlayX&&Ge)wt=te.x,lt=De.right-te.x;else{const Lt=Math.min(De.right-te.x+De.left,te.x),Gt=this._lastBoundingBoxSize.width;lt=2*Lt,wt=te.x-Lt,lt>Gt&&!this._isInitialRender&&!this._growAfterOpen&&(wt=te.x-Gt/2)}return{top:rn,left:wt,bottom:_n,right:Ot,width:lt,height:vt}}_setBoundingBoxStyles(te,ce){const De=this._calculateBoundingBoxRect(te,ce);!this._isInitialRender&&!this._growAfterOpen&&(De.height=Math.min(De.height,this._lastBoundingBoxSize.height),De.width=Math.min(De.width,this._lastBoundingBoxSize.width));const Ge={};if(this._hasExactPosition())Ge.top=Ge.left="0",Ge.bottom=Ge.right=Ge.maxHeight=Ge.maxWidth="",Ge.width=Ge.height="100%";else{const vt=this._overlayRef.getConfig().maxHeight,rn=this._overlayRef.getConfig().maxWidth;Ge.height=(0,d.HM)(De.height),Ge.top=(0,d.HM)(De.top),Ge.bottom=(0,d.HM)(De.bottom),Ge.width=(0,d.HM)(De.width),Ge.left=(0,d.HM)(De.left),Ge.right=(0,d.HM)(De.right),Ge.alignItems="center"===ce.overlayX?"center":"end"===ce.overlayX?"flex-end":"flex-start",Ge.justifyContent="center"===ce.overlayY?"center":"bottom"===ce.overlayY?"flex-end":"flex-start",vt&&(Ge.maxHeight=(0,d.HM)(vt)),rn&&(Ge.maxWidth=(0,d.HM)(rn))}this._lastBoundingBoxSize=De,tn(this._boundingBox.style,Ge)}_resetBoundingBoxStyles(){tn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){tn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(te,ce){const De={},Ge=this._hasExactPosition(),vt=this._hasFlexibleDimensions,rn=this._overlayRef.getConfig();if(Ge){const lt=this._viewportRuler.getViewportScrollPosition();tn(De,this._getExactOverlayY(ce,te,lt)),tn(De,this._getExactOverlayX(ce,te,lt))}else De.position="static";let _n="",st=this._getOffset(ce,"x"),it=this._getOffset(ce,"y");st&&(_n+=`translateX(${st}px) `),it&&(_n+=`translateY(${it}px)`),De.transform=_n.trim(),rn.maxHeight&&(Ge?De.maxHeight=(0,d.HM)(rn.maxHeight):vt&&(De.maxHeight="")),rn.maxWidth&&(Ge?De.maxWidth=(0,d.HM)(rn.maxWidth):vt&&(De.maxWidth="")),tn(this._pane.style,De)}_getExactOverlayY(te,ce,De){let Ge={top:"",bottom:""},vt=this._getOverlayPoint(ce,this._overlayRect,te);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,De)),"bottom"===te.overlayY?Ge.bottom=this._document.documentElement.clientHeight-(vt.y+this._overlayRect.height)+"px":Ge.top=(0,d.HM)(vt.y),Ge}_getExactOverlayX(te,ce,De){let rn,Ge={left:"",right:""},vt=this._getOverlayPoint(ce,this._overlayRect,te);return this._isPushed&&(vt=this._pushOverlayOnScreen(vt,this._overlayRect,De)),rn=this._isRtl()?"end"===te.overlayX?"left":"right":"end"===te.overlayX?"right":"left","right"===rn?Ge.right=this._document.documentElement.clientWidth-(vt.x+this._overlayRect.width)+"px":Ge.left=(0,d.HM)(vt.x),Ge}_getScrollVisibility(){const te=this._getOriginRect(),ce=this._pane.getBoundingClientRect(),De=this._scrollables.map(Ge=>Ge.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:V(te,De),isOriginOutsideView:N(te,De),isOverlayClipped:V(ce,De),isOverlayOutsideView:N(ce,De)}}_subtractOverflows(te,...ce){return ce.reduce((De,Ge)=>De-Math.max(Ge,0),te)}_getNarrowedViewportRect(){const te=this._document.documentElement.clientWidth,ce=this._document.documentElement.clientHeight,De=this._viewportRuler.getViewportScrollPosition();return{top:De.top+this._viewportMargin,left:De.left+this._viewportMargin,right:De.left+te-this._viewportMargin,bottom:De.top+ce-this._viewportMargin,width:te-2*this._viewportMargin,height:ce-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(te,ce){return"x"===ce?null==te.offsetX?this._offsetX:te.offsetX:null==te.offsetY?this._offsetY:te.offsetY}_validatePositions(){}_addPanelClasses(te){this._pane&&(0,d.Eq)(te).forEach(ce=>{""!==ce&&-1===this._appliedPanelClasses.indexOf(ce)&&(this._appliedPanelClasses.push(ce),this._pane.classList.add(ce))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(te=>{this._pane.classList.remove(te)}),this._appliedPanelClasses=[])}_getOriginRect(){const te=this._origin;if(te instanceof v.SBq)return te.nativeElement.getBoundingClientRect();if(te instanceof Element)return te.getBoundingClientRect();const ce=te.width||0,De=te.height||0;return{top:te.y,bottom:te.y+De,left:te.x,right:te.x+ce,height:De,width:ce}}}function tn(we,te){for(let ce in te)te.hasOwnProperty(ce)&&(we[ce]=te[ce]);return we}function un(we){if("number"!=typeof we&&null!=we){const[te,ce]=we.split(Et);return ce&&"px"!==ce?null:parseFloat(te)}return we||null}function In(we){return{top:Math.floor(we.top),right:Math.floor(we.right),bottom:Math.floor(we.bottom),left:Math.floor(we.left),width:Math.floor(we.width),height:Math.floor(we.height)}}const Ct="cdk-global-overlay-wrapper";class je{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(te){const ce=te.getConfig();this._overlayRef=te,this._width&&!ce.width&&te.updateSize({width:this._width}),this._height&&!ce.height&&te.updateSize({height:this._height}),te.hostElement.classList.add(Ct),this._isDisposed=!1}top(te=""){return this._bottomOffset="",this._topOffset=te,this._alignItems="flex-start",this}left(te=""){return this._xOffset=te,this._xPosition="left",this}bottom(te=""){return this._topOffset="",this._bottomOffset=te,this._alignItems="flex-end",this}right(te=""){return this._xOffset=te,this._xPosition="right",this}start(te=""){return this._xOffset=te,this._xPosition="start",this}end(te=""){return this._xOffset=te,this._xPosition="end",this}width(te=""){return this._overlayRef?this._overlayRef.updateSize({width:te}):this._width=te,this}height(te=""){return this._overlayRef?this._overlayRef.updateSize({height:te}):this._height=te,this}centerHorizontally(te=""){return this.left(te),this._xPosition="center",this}centerVertically(te=""){return this.top(te),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const te=this._overlayRef.overlayElement.style,ce=this._overlayRef.hostElement.style,De=this._overlayRef.getConfig(),{width:Ge,height:vt,maxWidth:rn,maxHeight:_n}=De,st=!("100%"!==Ge&&"100vw"!==Ge||rn&&"100%"!==rn&&"100vw"!==rn),it=!("100%"!==vt&&"100vh"!==vt||_n&&"100%"!==_n&&"100vh"!==_n),lt=this._xPosition,wt=this._xOffset,Ot="rtl"===this._overlayRef.getConfig().direction;let Lt="",Gt="",Ke="";st?Ke="flex-start":"center"===lt?(Ke="center",Ot?Gt=wt:Lt=wt):Ot?"left"===lt||"end"===lt?(Ke="flex-end",Lt=wt):("right"===lt||"start"===lt)&&(Ke="flex-start",Gt=wt):"left"===lt||"start"===lt?(Ke="flex-start",Lt=wt):("right"===lt||"end"===lt)&&(Ke="flex-end",Gt=wt),te.position=this._cssPosition,te.marginLeft=st?"0":Lt,te.marginTop=it?"0":this._topOffset,te.marginBottom=this._bottomOffset,te.marginRight=st?"0":Gt,ce.justifyContent=Ke,ce.alignItems=it?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const te=this._overlayRef.overlayElement.style,ce=this._overlayRef.hostElement,De=ce.style;ce.classList.remove(Ct),De.justifyContent=De.alignItems=te.marginTop=te.marginBottom=te.marginLeft=te.marginRight=te.position="",this._overlayRef=null,this._isDisposed=!0}}let Yt=(()=>{class we{constructor(ce,De,Ge,vt){this._viewportRuler=ce,this._document=De,this._platform=Ge,this._overlayContainer=vt}global(){return new je}flexibleConnectedTo(ce){return new Ht(ce,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return we.\u0275fac=function(ce){return new(ce||we)(v.LFG(t.rL),v.LFG(i.K0),v.LFG(s.t4),v.LFG(Ft))},we.\u0275prov=v.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),qt=0,vn=(()=>{class we{constructor(ce,De,Ge,vt,rn,_n,st,it,lt,wt,Ot,Lt){this.scrollStrategies=ce,this._overlayContainer=De,this._componentFactoryResolver=Ge,this._positionBuilder=vt,this._keyboardDispatcher=rn,this._injector=_n,this._ngZone=st,this._document=it,this._directionality=lt,this._location=wt,this._outsideClickDispatcher=Ot,this._animationsModuleType=Lt}create(ce){const De=this._createHostElement(),Ge=this._createPaneElement(De),vt=this._createPortalOutlet(Ge),rn=new x(ce);return rn.direction=rn.direction||this._directionality.value,new Dt(vt,De,Ge,rn,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ce){const De=this._document.createElement("div");return De.id="cdk-overlay-"+qt++,De.classList.add("cdk-overlay-pane"),ce.appendChild(De),De}_createHostElement(){const ce=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ce),ce}_createPortalOutlet(ce){return this._appRef||(this._appRef=this._injector.get(v.z2F)),new w.u0(ce,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return we.\u0275fac=function(ce){return new(ce||we)(v.LFG(A),v.LFG(Ft),v.LFG(v._Vd),v.LFG(Yt),v.LFG(fe),v.LFG(v.zs3),v.LFG(v.R0b),v.LFG(i.K0),v.LFG(S.Is),v.LFG(i.Ye),v.LFG(be),v.LFG(v.QbO,8))},we.\u0275prov=v.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();const Dn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Wt=new v.OlP("cdk-connected-overlay-scroll-strategy");let It=(()=>{class we{constructor(ce){this.elementRef=ce}}return we.\u0275fac=function(ce){return new(ce||we)(v.Y36(v.SBq))},we.\u0275dir=v.lG2({type:we,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),we})(),$e=(()=>{class we{get offsetX(){return this._offsetX}set offsetX(ce){this._offsetX=ce,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ce){this._offsetY=ce,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ce){this._hasBackdrop=(0,d.Ig)(ce)}get lockPosition(){return this._lockPosition}set lockPosition(ce){this._lockPosition=(0,d.Ig)(ce)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ce){this._flexibleDimensions=(0,d.Ig)(ce)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ce){this._growAfterOpen=(0,d.Ig)(ce)}get push(){return this._push}set push(ce){this._push=(0,d.Ig)(ce)}constructor(ce,De,Ge,vt,rn){this._overlay=ce,this._dir=rn,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Y.w0.EMPTY,this._attachSubscription=Y.w0.EMPTY,this._detachSubscription=Y.w0.EMPTY,this._positionSubscription=Y.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new v.vpe,this.positionChange=new v.vpe,this.attach=new v.vpe,this.detach=new v.vpe,this.overlayKeydown=new v.vpe,this.overlayOutsideClick=new v.vpe,this._templatePortal=new w.UE(De,Ge),this._scrollStrategyFactory=vt,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(ce){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ce.origin&&this.open&&this._position.apply()),ce.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Dn);const ce=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ce.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ce.detachments().subscribe(()=>this.detach.emit()),ce.keydownEvents().subscribe(De=>{this.overlayKeydown.next(De),De.keyCode===e.hY&&!this.disableClose&&!(0,e.Vb)(De)&&(De.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(De=>{this.overlayOutsideClick.next(De)})}_buildConfig(){const ce=this._position=this.positionStrategy||this._createPositionStrategy(),De=new x({direction:this._dir,positionStrategy:ce,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(De.width=this.width),(this.height||0===this.height)&&(De.height=this.height),(this.minWidth||0===this.minWidth)&&(De.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(De.minHeight=this.minHeight),this.backdropClass&&(De.backdropClass=this.backdropClass),this.panelClass&&(De.panelClass=this.panelClass),De}_updatePositionStrategy(ce){const De=this.positions.map(Ge=>({originX:Ge.originX,originY:Ge.originY,overlayX:Ge.overlayX,overlayY:Ge.overlayY,offsetX:Ge.offsetX||this.offsetX,offsetY:Ge.offsetY||this.offsetY,panelClass:Ge.panelClass||void 0}));return ce.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(De).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ce=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ce),ce}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof It?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(ce=>{this.backdropClick.emit(ce)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,P.o)(()=>this.positionChange.observers.length>0)).subscribe(ce=>{this.positionChange.emit(ce),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return we.\u0275fac=function(ce){return new(ce||we)(v.Y36(vn),v.Y36(v.Rgc),v.Y36(v.s_b),v.Y36(Wt),v.Y36(S.Is,8))},we.\u0275dir=v.lG2({type:we,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[v.TTD]}),we})();const Pe={provide:Wt,deps:[vn],useFactory:function Ve(we){return()=>we.scrollStrategies.reposition()}};let We=(()=>{class we{}return we.\u0275fac=function(ce){return new(ce||we)},we.\u0275mod=v.oAB({type:we}),we.\u0275inj=v.cJS({providers:[vn,Pe],imports:[S.vT,w.eL,t.Cl,t.Cl]}),we})()},2831:(xt,Se,a)=>{a.d(Se,{Mq:()=>M,Oy:()=>N,_i:()=>e,i$:()=>w,kV:()=>ge,sA:()=>K,t4:()=>d,ud:()=>s});var t=a(5879),i=a(6814);let v;try{v=typeof Intl<"u"&&Intl.v8BreakIterator}catch{v=!1}let P,L,Y,F,d=(()=>{class V{constructor(A){this._platformId=A,this.isBrowser=this._platformId?(0,i.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!v)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return V.\u0275fac=function(A){return new(A||V)(t.LFG(t.Lbi))},V.\u0275prov=t.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),s=(()=>{class V{}return V.\u0275fac=function(A){return new(A||V)},V.\u0275mod=t.oAB({type:V}),V.\u0275inj=t.cJS({}),V})();function w(V){return function S(){if(null==P&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>P=!0}))}finally{P=P||!1}return P}()?V:!!V.capture}function M(){if(null==Y){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Y=!1,Y;if("scrollBehavior"in document.documentElement.style)Y=!0;else{const V=Element.prototype.scrollTo;Y=!!V&&!/\{\s*\[native code\]\s*\}/.test(V.toString())}}return Y}function e(){if("object"!=typeof document||!document)return 0;if(null==L){const V=document.createElement("div"),O=V.style;V.dir="rtl",O.width="1px",O.overflow="auto",O.visibility="hidden",O.pointerEvents="none",O.position="absolute";const A=document.createElement("div"),x=A.style;x.width="2px",x.height="1px",V.appendChild(A),document.body.appendChild(V),L=0,0===V.scrollLeft&&(V.scrollLeft=1,L=0===V.scrollLeft?1:2),V.remove()}return L}function ge(V){if(function R(){if(null==F){const V=typeof document<"u"?document.head:null;F=!(!V||!V.createShadowRoot&&!V.attachShadow)}return F}()){const O=V.getRootNode?V.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&O instanceof ShadowRoot)return O}return null}function K(V){return V.composedPath?V.composedPath()[0]:V.target}function N(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(xt,Se,a)=>{a.d(Se,{C5:()=>S,Pl:()=>ze,UE:()=>w,eL:()=>N,en:()=>Y,u0:()=>e});var t=a(5879),i=a(6814);class P{attach(A){return this._attachedHost=A,A.attach(this)}detach(){let A=this._attachedHost;null!=A&&(this._attachedHost=null,A.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(A){this._attachedHost=A}}class S extends P{constructor(A,x,pe,de,W){super(),this.component=A,this.viewContainerRef=x,this.injector=pe,this.componentFactoryResolver=de,this.projectableNodes=W}}class w extends P{constructor(A,x,pe,de){super(),this.templateRef=A,this.viewContainerRef=x,this.context=pe,this.injector=de}get origin(){return this.templateRef.elementRef}attach(A,x=this.context){return this.context=x,super.attach(A)}detach(){return this.context=void 0,super.detach()}}class L extends P{constructor(A){super(),this.element=A instanceof t.SBq?A.nativeElement:A}}class Y{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(A){return A instanceof S?(this._attachedPortal=A,this.attachComponentPortal(A)):A instanceof w?(this._attachedPortal=A,this.attachTemplatePortal(A)):this.attachDomPortal&&A instanceof L?(this._attachedPortal=A,this.attachDomPortal(A)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(A){this._disposeFn=A}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class e extends Y{constructor(A,x,pe,de,W){super(),this.outletElement=A,this._componentFactoryResolver=x,this._appRef=pe,this._defaultInjector=de,this.attachDomPortal=ve=>{const Q=ve.element,ae=this._document.createComment("dom-portal");Q.parentNode.insertBefore(ae,Q),this.outletElement.appendChild(Q),this._attachedPortal=ve,super.setDisposeFn(()=>{ae.parentNode&&ae.parentNode.replaceChild(Q,ae)})},this._document=W}attachComponentPortal(A){const pe=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let de;return A.viewContainerRef?(de=A.viewContainerRef.createComponent(pe,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>de.destroy())):(de=pe.create(A.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(de.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(de.hostView),de.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(de)),this._attachedPortal=A,de}attachTemplatePortal(A){let x=A.viewContainerRef,pe=x.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return pe.rootNodes.forEach(de=>this.outletElement.appendChild(de)),pe.detectChanges(),this.setDisposeFn(()=>{let de=x.indexOf(pe);-1!==de&&x.remove(de)}),this._attachedPortal=A,pe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let ze=(()=>{class O extends Y{constructor(x,pe,de){super(),this._componentFactoryResolver=x,this._viewContainerRef=pe,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=W=>{const ve=W.element,Q=this._document.createComment("dom-portal");W.setAttachedHost(this),ve.parentNode.insertBefore(Q,ve),this._getRootNode().appendChild(ve),this._attachedPortal=W,super.setDisposeFn(()=>{Q.parentNode&&Q.parentNode.replaceChild(ve,Q)})},this._document=de}get portal(){return this._attachedPortal}set portal(x){this.hasAttached()&&!x&&!this._isInitialized||(this.hasAttached()&&super.detach(),x&&super.attach(x),this._attachedPortal=x||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(x){x.setAttachedHost(this);const pe=null!=x.viewContainerRef?x.viewContainerRef:this._viewContainerRef,W=(x.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(x.component),ve=pe.createComponent(W,pe.length,x.injector||pe.injector,x.projectableNodes||void 0);return pe!==this._viewContainerRef&&this._getRootNode().appendChild(ve.hostView.rootNodes[0]),super.setDisposeFn(()=>ve.destroy()),this._attachedPortal=x,this._attachedRef=ve,this.attached.emit(ve),ve}attachTemplatePortal(x){x.setAttachedHost(this);const pe=this._viewContainerRef.createEmbeddedView(x.templateRef,x.context,{injector:x.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=x,this._attachedRef=pe,this.attached.emit(pe),pe}_getRootNode(){const x=this._viewContainerRef.element.nativeElement;return x.nodeType===x.ELEMENT_NODE?x:x.parentNode}}return O.\u0275fac=function(x){return new(x||O)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(i.K0))},O.\u0275dir=t.lG2({type:O,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),O})(),N=(()=>{class O{}return O.\u0275fac=function(x){return new(x||O)},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({}),O})()},532:(xt,Se,a)=>{a.d(Se,{xd:()=>Et,ZD:()=>$e,x0:()=>Dn,N7:()=>qt,mF:()=>tn,Cl:()=>Ve,rL:()=>Xe});var t=a(2495),i=a(5879),v=a(8645),d=a(2096),s=a(5592),k=a(2438),G=a(927),U=a(6410),P=a(7394),S=a(2664),w=a(3997),L=a(9028),Y=a(2181),M=a(9773),e=a(7921),F=a(9384),R=a(4664),ge=a(7081),ze=a(2831),K=a(6814),N=a(9388),V=a(3168);class O{}class x extends O{constructor(We){super(),this._data=We}connect(){return(0,S.b)(this._data)?this._data:(0,d.of)(this._data)}disconnect(){}}class de{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(We,He,we,te,ce){We.forEachOperation((De,Ge,vt)=>{let rn,_n;null==De.previousIndex?(rn=this._insertView(()=>we(De,Ge,vt),vt,He,te(De)),_n=rn?1:0):null==vt?(this._detachAndCacheView(Ge,He),_n=3):(rn=this._moveView(Ge,vt,He,te(De)),_n=2),ce&&ce({context:rn?.context,operation:_n,record:De})})}detach(){for(const We of this._viewCache)We.destroy();this._viewCache=[]}_insertView(We,He,we,te){const ce=this._insertViewFromCache(He,we);if(ce)return void(ce.context.$implicit=te);const De=We();return we.createEmbeddedView(De.templateRef,De.context,De.index)}_detachAndCacheView(We,He){const we=He.detach(We);this._maybeCacheView(we,He)}_moveView(We,He,we,te){const ce=we.get(We);return we.move(ce,He),ce.context.$implicit=te,ce}_maybeCacheView(We,He){if(this._viewCache.length0?ce/this._itemSize:0;if(He.end>te){const vt=Math.ceil(we/this._itemSize),rn=Math.max(0,Math.min(De,te-vt));De!=rn&&(De=rn,ce=rn*this._itemSize,He.start=Math.floor(De)),He.end=Math.max(0,Math.min(te,He.start+vt))}const Ge=ce-He.start*this._itemSize;if(Ge0&&(He.end=Math.min(te,He.end+rn),He.start=Math.max(0,Math.floor(De-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(He),this._viewport.setRenderedContentOffset(this._itemSize*He.start),this._scrolledIndexChange.next(Math.floor(De))}}function nn(Pe){return Pe._scrollStrategy}let Et=(()=>{class Pe{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Dt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(He){this._itemSize=(0,t.su)(He)}get minBufferPx(){return this._minBufferPx}set minBufferPx(He){this._minBufferPx=(0,t.su)(He)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(He){this._maxBufferPx=(0,t.su)(He)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return Pe.\u0275fac=function(He){return new(He||Pe)},Pe.\u0275dir=i.lG2({type:Pe,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[i._Bn([{provide:Ft,useFactory:nn,deps:[(0,i.Gpc)(()=>Pe)]}]),i.TTD]}),Pe})(),tn=(()=>{class Pe{constructor(He,we,te){this._ngZone=He,this._platform=we,this._scrolled=new v.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=te}register(He){this.scrollContainers.has(He)||this.scrollContainers.set(He,He.elementScrolled().subscribe(()=>this._scrolled.next(He)))}deregister(He){const we=this.scrollContainers.get(He);we&&(we.unsubscribe(),this.scrollContainers.delete(He))}scrolled(He=20){return this._platform.isBrowser?new s.y(we=>{this._globalSubscription||this._addGlobalListener();const te=He>0?this._scrolled.pipe((0,L.e)(He)).subscribe(we):this._scrolled.subscribe(we);return this._scrolledCount++,()=>{te.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,d.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((He,we)=>this.deregister(we)),this._scrolled.complete()}ancestorScrolled(He,we){const te=this.getAncestorScrollContainers(He);return this.scrolled(we).pipe((0,Y.h)(ce=>!ce||te.indexOf(ce)>-1))}getAncestorScrollContainers(He){const we=[];return this.scrollContainers.forEach((te,ce)=>{this._scrollableContainsElement(ce,He)&&we.push(ce)}),we}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(He,we){let te=(0,t.fI)(we),ce=He.getElementRef().nativeElement;do{if(te==ce)return!0}while(te=te.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const He=this._getWindow();return(0,k.R)(He.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Pe.\u0275fac=function(He){return new(He||Pe)(i.LFG(i.R0b),i.LFG(ze.t4),i.LFG(K.K0,8))},Pe.\u0275prov=i.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),un=(()=>{class Pe{constructor(He,we,te,ce){this.elementRef=He,this.scrollDispatcher=we,this.ngZone=te,this.dir=ce,this._destroyed=new v.x,this._elementScrolled=new s.y(De=>this.ngZone.runOutsideAngular(()=>(0,k.R)(this.elementRef.nativeElement,"scroll").pipe((0,M.R)(this._destroyed)).subscribe(De)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(He){const we=this.elementRef.nativeElement,te=this.dir&&"rtl"==this.dir.value;null==He.left&&(He.left=te?He.end:He.start),null==He.right&&(He.right=te?He.start:He.end),null!=He.bottom&&(He.top=we.scrollHeight-we.clientHeight-He.bottom),te&&0!=(0,ze._i)()?(null!=He.left&&(He.right=we.scrollWidth-we.clientWidth-He.left),2==(0,ze._i)()?He.left=He.right:1==(0,ze._i)()&&(He.left=He.right?-He.right:He.right)):null!=He.right&&(He.left=we.scrollWidth-we.clientWidth-He.right),this._applyScrollToOptions(He)}_applyScrollToOptions(He){const we=this.elementRef.nativeElement;(0,ze.Mq)()?we.scrollTo(He):(null!=He.top&&(we.scrollTop=He.top),null!=He.left&&(we.scrollLeft=He.left))}measureScrollOffset(He){const we="left",ce=this.elementRef.nativeElement;if("top"==He)return ce.scrollTop;if("bottom"==He)return ce.scrollHeight-ce.clientHeight-ce.scrollTop;const De=this.dir&&"rtl"==this.dir.value;return"start"==He?He=De?"right":we:"end"==He&&(He=De?we:"right"),De&&2==(0,ze._i)()?He==we?ce.scrollWidth-ce.clientWidth-ce.scrollLeft:ce.scrollLeft:De&&1==(0,ze._i)()?He==we?ce.scrollLeft+ce.scrollWidth-ce.clientWidth:-ce.scrollLeft:He==we?ce.scrollLeft:ce.scrollWidth-ce.clientWidth-ce.scrollLeft}}return Pe.\u0275fac=function(He){return new(He||Pe)(i.Y36(i.SBq),i.Y36(tn),i.Y36(i.R0b),i.Y36(N.Is,8))},Pe.\u0275dir=i.lG2({type:Pe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),Pe})(),Xe=(()=>{class Pe{constructor(He,we,te){this._platform=He,this._change=new v.x,this._changeListener=ce=>{this._change.next(ce)},this._document=te,we.runOutsideAngular(()=>{if(He.isBrowser){const ce=this._getWindow();ce.addEventListener("resize",this._changeListener),ce.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const He=this._getWindow();He.removeEventListener("resize",this._changeListener),He.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const He={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),He}getViewportRect(){const He=this.getViewportScrollPosition(),{width:we,height:te}=this.getViewportSize();return{top:He.top,left:He.left,bottom:He.top+te,right:He.left+we,height:te,width:we}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const He=this._document,we=this._getWindow(),te=He.documentElement,ce=te.getBoundingClientRect();return{top:-ce.top||He.body.scrollTop||we.scrollY||te.scrollTop||0,left:-ce.left||He.body.scrollLeft||we.scrollX||te.scrollLeft||0}}change(He=20){return He>0?this._change.pipe((0,L.e)(He)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const He=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:He.innerWidth,height:He.innerHeight}:{width:0,height:0}}}return Pe.\u0275fac=function(He){return new(He||Pe)(i.LFG(ze.t4),i.LFG(i.R0b),i.LFG(K.K0,8))},Pe.\u0275prov=i.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();const Re=new i.OlP("VIRTUAL_SCROLLABLE");let Ct=(()=>{class Pe extends un{constructor(He,we,te,ce){super(He,we,te,ce)}measureViewportSize(He){const we=this.elementRef.nativeElement;return"horizontal"===He?we.clientWidth:we.clientHeight}}return Pe.\u0275fac=function(He){return new(He||Pe)(i.Y36(i.SBq),i.Y36(tn),i.Y36(i.R0b),i.Y36(N.Is,8))},Pe.\u0275dir=i.lG2({type:Pe,features:[i.qOj]}),Pe})();const Yt=typeof requestAnimationFrame<"u"?G.Z:U.E;let qt=(()=>{class Pe extends Ct{get orientation(){return this._orientation}set orientation(He){this._orientation!==He&&(this._orientation=He,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(He){this._appendOnly=(0,t.Ig)(He)}constructor(He,we,te,ce,De,Ge,vt,rn){super(He,Ge,te,De),this.elementRef=He,this._changeDetectorRef=we,this._scrollStrategy=ce,this.scrollable=rn,this._platform=(0,i.f3M)(ze.t4),this._detachedSubject=new v.x,this._renderedRangeSubject=new v.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new s.y(_n=>this._scrollStrategy.scrolledIndexChange.subscribe(st=>Promise.resolve().then(()=>this.ngZone.run(()=>_n.next(st))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=P.w0.EMPTY,this._viewportChanges=vt.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,e.O)(null),(0,L.e)(0,Yt)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(He){this.ngZone.runOutsideAngular(()=>{this._forOf=He,this._forOf.dataStream.pipe((0,M.R)(this._detachedSubject)).subscribe(we=>{const te=we.length;te!==this._dataLength&&(this._dataLength=te,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(He){return this.getElementRef().nativeElement.getBoundingClientRect()[He]}setTotalContentSize(He){this._totalContentSize!==He&&(this._totalContentSize=He,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(He){(function je(Pe,We){return Pe.start==We.start&&Pe.end==We.end})(this._renderedRange,He)||(this.appendOnly&&(He={start:0,end:Math.max(this._renderedRange.end,He.end)}),this._renderedRangeSubject.next(this._renderedRange=He),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(He,we="to-start"){He=this.appendOnly&&"to-start"===we?0:He;const ce="horizontal"==this.orientation,De=ce?"X":"Y";let vt=`translate${De}(${Number((ce&&this.dir&&"rtl"==this.dir.value?-1:1)*He)}px)`;this._renderedContentOffset=He,"to-end"===we&&(vt+=` translate${De}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=vt&&(this._renderedContentTransform=vt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(He,we="auto"){const te={behavior:we};"horizontal"===this.orientation?te.start=He:te.top=He,this.scrollable.scrollTo(te)}scrollToIndex(He,we="auto"){this._scrollStrategy.scrollToIndex(He,we)}measureScrollOffset(He){let we;return we=this.scrollable==this?te=>super.measureScrollOffset(te):te=>this.scrollable.measureScrollOffset(te),Math.max(0,we(He??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(He){let we;const De="rtl"==this.dir?.value;we="start"==He?De?"right":"left":"end"==He?De?"left":"right":He||("horizontal"===this.orientation?"left":"top");const Ge=this.scrollable.measureBoundingClientRectWithScrollOffset(we);return this.elementRef.nativeElement.getBoundingClientRect()[we]-Ge}measureRenderedContentSize(){const He=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?He.offsetWidth:He.offsetHeight}measureRangeSize(He){return this._forOf?this._forOf.measureRangeSize(He,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(He){He&&this._runAfterChangeDetection.push(He),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const He=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const we of He)we()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Pe.\u0275fac=function(He){return new(He||Pe)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(Ft,8),i.Y36(N.Is,8),i.Y36(tn),i.Y36(Xe),i.Y36(Re,8))},Pe.\u0275cmp=i.Xpm({type:Pe,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(He,we){if(1&He&&i.Gf(fe,7),2&He){let te;i.iGM(te=i.CRH())&&(we._contentWrapper=te.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(He,we){2&He&&i.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===we.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==we.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[i._Bn([{provide:un,useFactory:(We,He)=>We||He,deps:[[new i.FiY,new i.tBr(Re)],Pe]}]),i.qOj,i.jDz],ngContentSelectors:be,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(He,we){1&He&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA(),i._UZ(3,"div",2)),2&He&&(i.xp6(3),i.Udp("width",we._totalContentWidth)("height",we._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),Pe})();function vn(Pe,We,He){if(!He.getBoundingClientRect)return 0;const te=He.getBoundingClientRect();return"horizontal"===Pe?"start"===We?te.left:te.right:"start"===We?te.top:te.bottom}let Dn=(()=>{class Pe{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(He){this._cdkVirtualForOf=He,function A(Pe){return Pe&&"function"==typeof Pe.connect&&!(Pe instanceof V.c)}(He)?this._dataSourceChanges.next(He):this._dataSourceChanges.next(new x((0,S.b)(He)?He:Array.from(He||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(He){this._needsUpdate=!0,this._cdkVirtualForTrackBy=He?(we,te)=>He(we+(this._renderedRange?this._renderedRange.start:0),te):void 0}set cdkVirtualForTemplate(He){He&&(this._needsUpdate=!0,this._template=He)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(He){this._viewRepeater.viewCacheSize=(0,t.su)(He)}constructor(He,we,te,ce,De,Ge){this._viewContainerRef=He,this._template=we,this._differs=te,this._viewRepeater=ce,this._viewport=De,this.viewChange=new v.x,this._dataSourceChanges=new v.x,this.dataStream=this._dataSourceChanges.pipe((0,e.O)(null),(0,F.G)(),(0,R.w)(([vt,rn])=>this._changeDataSource(vt,rn)),(0,ge.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new v.x,this.dataStream.subscribe(vt=>{this._data=vt,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,M.R)(this._destroyed)).subscribe(vt=>{this._renderedRange=vt,this.viewChange.observers.length&&Ge.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(He,we){if(He.start>=He.end)return 0;const te=He.start-this._renderedRange.start,ce=He.end-He.start;let De,Ge;for(let vt=0;vt-1;vt--){const rn=this._viewContainerRef.get(vt+te);if(rn&&rn.rootNodes.length){Ge=rn.rootNodes[rn.rootNodes.length-1];break}}return De&&Ge?vn(we,"end",Ge)-vn(we,"start",De):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const He=this._differ.diff(this._renderedItems);He?this._applyChanges(He):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((He,we)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(He,we):we)),this._needsUpdate=!0)}_changeDataSource(He,we){return He&&He.disconnect(this),this._needsUpdate=!0,we?we.connect(this):(0,d.of)()}_updateContext(){const He=this._data.length;let we=this._viewContainerRef.length;for(;we--;){const te=this._viewContainerRef.get(we);te.context.index=this._renderedRange.start+we,te.context.count=He,this._updateComputedContextProperties(te.context),te.detectChanges()}}_applyChanges(He){this._viewRepeater.applyChanges(He,this._viewContainerRef,(ce,De,Ge)=>this._getEmbeddedViewArgs(ce,Ge),ce=>ce.item),He.forEachIdentityChange(ce=>{this._viewContainerRef.get(ce.currentIndex).context.$implicit=ce.item});const we=this._data.length;let te=this._viewContainerRef.length;for(;te--;){const ce=this._viewContainerRef.get(te);ce.context.index=this._renderedRange.start+te,ce.context.count=we,this._updateComputedContextProperties(ce.context)}}_updateComputedContextProperties(He){He.first=0===He.index,He.last=He.index===He.count-1,He.even=He.index%2==0,He.odd=!He.even}_getEmbeddedViewArgs(He,we){return{templateRef:this._template,context:{$implicit:He.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:we}}}return Pe.\u0275fac=function(He){return new(He||Pe)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(ae),i.Y36(qt,4),i.Y36(i.R0b))},Pe.\u0275dir=i.lG2({type:Pe,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[i._Bn([{provide:ae,useClass:de}])]}),Pe})(),$e=(()=>{class Pe{}return Pe.\u0275fac=function(He){return new(He||Pe)},Pe.\u0275mod=i.oAB({type:Pe}),Pe.\u0275inj=i.cJS({}),Pe})(),Ve=(()=>{class Pe{}return Pe.\u0275fac=function(He){return new(He||Pe)},Pe.\u0275mod=i.oAB({type:Pe}),Pe.\u0275inj=i.cJS({imports:[N.vT,$e,N.vT,$e]}),Pe})()},6814:(xt,Se,a)=>{a.d(Se,{Do:()=>F,ED:()=>Sr,EM:()=>Go,HT:()=>d,JF:()=>Fo,JJ:()=>Jt,K0:()=>k,Mx:()=>Ko,NF:()=>co,Nd:()=>en,O5:()=>Di,Ov:()=>Xo,PC:()=>Ki,PM:()=>Oo,RF:()=>wi,S$:()=>Y,Ts:()=>zt,V_:()=>U,Ye:()=>R,b0:()=>e,bD:()=>Bn,dv:()=>un,ez:()=>Fn,gd:()=>Qi,i8:()=>bi,iq:()=>Mi,mk:()=>Xn,n9:()=>Ri,q:()=>v,qS:()=>$o,rS:()=>yr,sg:()=>vo,tP:()=>ur,uU:()=>Ue,wE:()=>W,w_:()=>s,zE:()=>_r});var t=a(5879);let i=null;function v(){return i}function d(ie){i||(i=ie)}class s{}const k=new t.OlP("DocumentToken");let G=(()=>{class ie{historyGo(me){throw new Error("Not implemented")}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275prov=t.Yz7({token:ie,factory:function(){return(0,t.f3M)(P)},providedIn:"platform"}),ie})();const U=new t.OlP("Location Initialized");let P=(()=>{class ie extends G{constructor(){super(),this._doc=(0,t.f3M)(k),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return v().getBaseHref(this._doc)}onPopState(me){const et=v().getGlobalEventTarget(this._doc,"window");return et.addEventListener("popstate",me,!1),()=>et.removeEventListener("popstate",me)}onHashChange(me){const et=v().getGlobalEventTarget(this._doc,"window");return et.addEventListener("hashchange",me,!1),()=>et.removeEventListener("hashchange",me)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(me){this._location.pathname=me}pushState(me,et,Pt){this._history.pushState(me,et,Pt)}replaceState(me,et,Pt){this._history.replaceState(me,et,Pt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(me=0){this._history.go(me)}getState(){return this._history.state}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275prov=t.Yz7({token:ie,factory:function(){return new ie},providedIn:"platform"}),ie})();function S(ie,Ne){if(0==ie.length)return Ne;if(0==Ne.length)return ie;let me=0;return ie.endsWith("/")&&me++,Ne.startsWith("/")&&me++,2==me?ie+Ne.substring(1):1==me?ie+Ne:ie+"/"+Ne}function w(ie){const Ne=ie.match(/#|\?|$/),me=Ne&&Ne.index||ie.length;return ie.slice(0,me-("/"===ie[me-1]?1:0))+ie.slice(me)}function L(ie){return ie&&"?"!==ie[0]?"?"+ie:ie}let Y=(()=>{class ie{historyGo(me){throw new Error("Not implemented")}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275prov=t.Yz7({token:ie,factory:function(){return(0,t.f3M)(e)},providedIn:"root"}),ie})();const M=new t.OlP("appBaseHref");let e=(()=>{class ie extends Y{constructor(me,et){super(),this._platformLocation=me,this._removeListenerFns=[],this._baseHref=et??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(k).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(me){this._removeListenerFns.push(this._platformLocation.onPopState(me),this._platformLocation.onHashChange(me))}getBaseHref(){return this._baseHref}prepareExternalUrl(me){return S(this._baseHref,me)}path(me=!1){const et=this._platformLocation.pathname+L(this._platformLocation.search),Pt=this._platformLocation.hash;return Pt&&me?`${et}${Pt}`:et}pushState(me,et,Pt,pn){const Tn=this.prepareExternalUrl(Pt+L(pn));this._platformLocation.pushState(me,et,Tn)}replaceState(me,et,Pt,pn){const Tn=this.prepareExternalUrl(Pt+L(pn));this._platformLocation.replaceState(me,et,Tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(me=0){this._platformLocation.historyGo?.(me)}}return ie.\u0275fac=function(me){return new(me||ie)(t.LFG(G),t.LFG(M,8))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),F=(()=>{class ie extends Y{constructor(me,et){super(),this._platformLocation=me,this._baseHref="",this._removeListenerFns=[],null!=et&&(this._baseHref=et)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(me){this._removeListenerFns.push(this._platformLocation.onPopState(me),this._platformLocation.onHashChange(me))}getBaseHref(){return this._baseHref}path(me=!1){let et=this._platformLocation.hash;return null==et&&(et="#"),et.length>0?et.substring(1):et}prepareExternalUrl(me){const et=S(this._baseHref,me);return et.length>0?"#"+et:et}pushState(me,et,Pt,pn){let Tn=this.prepareExternalUrl(Pt+L(pn));0==Tn.length&&(Tn=this._platformLocation.pathname),this._platformLocation.pushState(me,et,Tn)}replaceState(me,et,Pt,pn){let Tn=this.prepareExternalUrl(Pt+L(pn));0==Tn.length&&(Tn=this._platformLocation.pathname),this._platformLocation.replaceState(me,et,Tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(me=0){this._platformLocation.historyGo?.(me)}}return ie.\u0275fac=function(me){return new(me||ie)(t.LFG(G),t.LFG(M,8))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac}),ie})(),R=(()=>{class ie{constructor(me){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=me;const et=this._locationStrategy.getBaseHref();this._basePath=function N(ie){if(new RegExp("^(https?:)?//").test(ie)){const[,me]=ie.split(/\/\/[^\/]+/);return me}return ie}(w(K(et))),this._locationStrategy.onPopState(Pt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Pt.state,type:Pt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(me=!1){return this.normalize(this._locationStrategy.path(me))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(me,et=""){return this.path()==this.normalize(me+L(et))}normalize(me){return ie.stripTrailingSlash(function ze(ie,Ne){if(!ie||!Ne.startsWith(ie))return Ne;const me=Ne.substring(ie.length);return""===me||["/",";","?","#"].includes(me[0])?me:Ne}(this._basePath,K(me)))}prepareExternalUrl(me){return me&&"/"!==me[0]&&(me="/"+me),this._locationStrategy.prepareExternalUrl(me)}go(me,et="",Pt=null){this._locationStrategy.pushState(Pt,"",me,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(me+L(et)),Pt)}replaceState(me,et="",Pt=null){this._locationStrategy.replaceState(Pt,"",me,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(me+L(et)),Pt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(me=0){this._locationStrategy.historyGo?.(me)}onUrlChange(me){return this._urlChangeListeners.push(me),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(et=>{this._notifyUrlChangeListeners(et.url,et.state)})),()=>{const et=this._urlChangeListeners.indexOf(me);this._urlChangeListeners.splice(et,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(me="",et){this._urlChangeListeners.forEach(Pt=>Pt(me,et))}subscribe(me,et,Pt){return this._subject.subscribe({next:me,error:et,complete:Pt})}}return ie.normalizeQueryParams=L,ie.joinWithSlash=S,ie.stripTrailingSlash=w,ie.\u0275fac=function(me){return new(me||ie)(t.LFG(Y))},ie.\u0275prov=t.Yz7({token:ie,factory:function(){return function ge(){return new R((0,t.LFG)(Y))}()},providedIn:"root"}),ie})();function K(ie){return ie.replace(/\/index.html$/,"")}var O=(()=>((O=O||{})[O.Decimal=0]="Decimal",O[O.Percent=1]="Percent",O[O.Currency=2]="Currency",O[O.Scientific=3]="Scientific",O))(),A=(()=>((A=A||{})[A.Zero=0]="Zero",A[A.One=1]="One",A[A.Two=2]="Two",A[A.Few=3]="Few",A[A.Many=4]="Many",A[A.Other=5]="Other",A))(),x=(()=>((x=x||{})[x.Format=0]="Format",x[x.Standalone=1]="Standalone",x))(),pe=(()=>((pe=pe||{})[pe.Narrow=0]="Narrow",pe[pe.Abbreviated=1]="Abbreviated",pe[pe.Wide=2]="Wide",pe[pe.Short=3]="Short",pe))(),de=(()=>((de=de||{})[de.Short=0]="Short",de[de.Medium=1]="Medium",de[de.Long=2]="Long",de[de.Full=3]="Full",de))(),W=(()=>((W=W||{})[W.Decimal=0]="Decimal",W[W.Group=1]="Group",W[W.List=2]="List",W[W.PercentSign=3]="PercentSign",W[W.PlusSign=4]="PlusSign",W[W.MinusSign=5]="MinusSign",W[W.Exponential=6]="Exponential",W[W.SuperscriptingExponent=7]="SuperscriptingExponent",W[W.PerMille=8]="PerMille",W[W.Infinity=9]="Infinity",W[W.NaN=10]="NaN",W[W.TimeSeparator=11]="TimeSeparator",W[W.CurrencyDecimal=12]="CurrencyDecimal",W[W.CurrencyGroup=13]="CurrencyGroup",W))();function Et(ie,Ne){return It((0,t.cg1)(ie)[t.wAp.DateFormat],Ne)}function Ht(ie,Ne){return It((0,t.cg1)(ie)[t.wAp.TimeFormat],Ne)}function tn(ie,Ne){return It((0,t.cg1)(ie)[t.wAp.DateTimeFormat],Ne)}function un(ie,Ne){const me=(0,t.cg1)(ie),et=me[t.wAp.NumberSymbols][Ne];if(typeof et>"u"){if(Ne===W.CurrencyDecimal)return me[t.wAp.NumberSymbols][W.Decimal];if(Ne===W.CurrencyGroup)return me[t.wAp.NumberSymbols][W.Group]}return et}const Yt=t.kL8;function qt(ie){if(!ie[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${ie[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function It(ie,Ne){for(let me=Ne;me>-1;me--)if(typeof ie[me]<"u")return ie[me];throw new Error("Locale data API: locale data undefined")}function $e(ie){const[Ne,me]=ie.split(":");return{hours:+Ne,minutes:+me}}const He=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,we={},te=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ce=(()=>((ce=ce||{})[ce.Short=0]="Short",ce[ce.ShortGMT=1]="ShortGMT",ce[ce.Long=2]="Long",ce[ce.Extended=3]="Extended",ce))(),De=(()=>((De=De||{})[De.FullYear=0]="FullYear",De[De.Month=1]="Month",De[De.Date=2]="Date",De[De.Hours=3]="Hours",De[De.Minutes=4]="Minutes",De[De.Seconds=5]="Seconds",De[De.FractionalSeconds=6]="FractionalSeconds",De[De.Day=7]="Day",De))(),Ge=(()=>((Ge=Ge||{})[Ge.DayPeriods=0]="DayPeriods",Ge[Ge.Days=1]="Days",Ge[Ge.Months=2]="Months",Ge[Ge.Eras=3]="Eras",Ge))();function vt(ie,Ne,me,et){let Pt=function Ze(ie){if(le(ie))return ie;if("number"==typeof ie&&!isNaN(ie))return new Date(ie);if("string"==typeof ie){if(ie=ie.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(ie)){const[Pt,pn=1,Tn=1]=ie.split("-").map(to=>+to);return rn(Pt,pn-1,Tn)}const me=parseFloat(ie);if(!isNaN(ie-me))return new Date(me);let et;if(et=ie.match(He))return function ut(ie){const Ne=new Date(0);let me=0,et=0;const Pt=ie[8]?Ne.setUTCFullYear:Ne.setFullYear,pn=ie[8]?Ne.setUTCHours:Ne.setHours;ie[9]&&(me=Number(ie[9]+ie[10]),et=Number(ie[9]+ie[11])),Pt.call(Ne,Number(ie[1]),Number(ie[2])-1,Number(ie[3]));const Tn=Number(ie[4]||0)-me,to=Number(ie[5]||0)-et,Qo=Number(ie[6]||0),fo=Math.floor(1e3*parseFloat("0."+(ie[7]||0)));return pn.call(Ne,Tn,to,Qo,fo),Ne}(et)}const Ne=new Date(ie);if(!le(Ne))throw new Error(`Unable to convert "${ie}" into a date`);return Ne}(ie);Ne=_n(me,Ne)||Ne;let to,Tn=[];for(;Ne;){if(to=te.exec(Ne),!to){Tn.push(Ne);break}{Tn=Tn.concat(to.slice(1));const Vo=Tn.pop();if(!Vo)break;Ne=Vo}}let Qo=Pt.getTimezoneOffset();et&&(Qo=Nt(et,Qo),Pt=function mn(ie,Ne,me){const et=me?-1:1,Pt=ie.getTimezoneOffset();return function Tt(ie,Ne){return(ie=new Date(ie.getTime())).setMinutes(ie.getMinutes()+Ne),ie}(ie,et*(Nt(Ne,Pt)-Pt))}(Pt,et,!0));let fo="";return Tn.forEach(Vo=>{const wo=function rt(ie){if(Je[ie])return Je[ie];let Ne;switch(ie){case"G":case"GG":case"GGG":Ne=Lt(Ge.Eras,pe.Abbreviated);break;case"GGGG":Ne=Lt(Ge.Eras,pe.Wide);break;case"GGGGG":Ne=Lt(Ge.Eras,pe.Narrow);break;case"y":Ne=wt(De.FullYear,1,0,!1,!0);break;case"yy":Ne=wt(De.FullYear,2,0,!0,!0);break;case"yyy":Ne=wt(De.FullYear,3,0,!1,!0);break;case"yyyy":Ne=wt(De.FullYear,4,0,!1,!0);break;case"Y":Ne=tt(1);break;case"YY":Ne=tt(2,!0);break;case"YYY":Ne=tt(3);break;case"YYYY":Ne=tt(4);break;case"M":case"L":Ne=wt(De.Month,1,1);break;case"MM":case"LL":Ne=wt(De.Month,2,1);break;case"MMM":Ne=Lt(Ge.Months,pe.Abbreviated);break;case"MMMM":Ne=Lt(Ge.Months,pe.Wide);break;case"MMMMM":Ne=Lt(Ge.Months,pe.Narrow);break;case"LLL":Ne=Lt(Ge.Months,pe.Abbreviated,x.Standalone);break;case"LLLL":Ne=Lt(Ge.Months,pe.Wide,x.Standalone);break;case"LLLLL":Ne=Lt(Ge.Months,pe.Narrow,x.Standalone);break;case"w":Ne=_t(1);break;case"ww":Ne=_t(2);break;case"W":Ne=_t(1,!0);break;case"d":Ne=wt(De.Date,1);break;case"dd":Ne=wt(De.Date,2);break;case"c":case"cc":Ne=wt(De.Day,1);break;case"ccc":Ne=Lt(Ge.Days,pe.Abbreviated,x.Standalone);break;case"cccc":Ne=Lt(Ge.Days,pe.Wide,x.Standalone);break;case"ccccc":Ne=Lt(Ge.Days,pe.Narrow,x.Standalone);break;case"cccccc":Ne=Lt(Ge.Days,pe.Short,x.Standalone);break;case"E":case"EE":case"EEE":Ne=Lt(Ge.Days,pe.Abbreviated);break;case"EEEE":Ne=Lt(Ge.Days,pe.Wide);break;case"EEEEE":Ne=Lt(Ge.Days,pe.Narrow);break;case"EEEEEE":Ne=Lt(Ge.Days,pe.Short);break;case"a":case"aa":case"aaa":Ne=Lt(Ge.DayPeriods,pe.Abbreviated);break;case"aaaa":Ne=Lt(Ge.DayPeriods,pe.Wide);break;case"aaaaa":Ne=Lt(Ge.DayPeriods,pe.Narrow);break;case"b":case"bb":case"bbb":Ne=Lt(Ge.DayPeriods,pe.Abbreviated,x.Standalone,!0);break;case"bbbb":Ne=Lt(Ge.DayPeriods,pe.Wide,x.Standalone,!0);break;case"bbbbb":Ne=Lt(Ge.DayPeriods,pe.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":Ne=Lt(Ge.DayPeriods,pe.Abbreviated,x.Format,!0);break;case"BBBB":Ne=Lt(Ge.DayPeriods,pe.Wide,x.Format,!0);break;case"BBBBB":Ne=Lt(Ge.DayPeriods,pe.Narrow,x.Format,!0);break;case"h":Ne=wt(De.Hours,1,-12);break;case"hh":Ne=wt(De.Hours,2,-12);break;case"H":Ne=wt(De.Hours,1);break;case"HH":Ne=wt(De.Hours,2);break;case"m":Ne=wt(De.Minutes,1);break;case"mm":Ne=wt(De.Minutes,2);break;case"s":Ne=wt(De.Seconds,1);break;case"ss":Ne=wt(De.Seconds,2);break;case"S":Ne=wt(De.FractionalSeconds,1);break;case"SS":Ne=wt(De.FractionalSeconds,2);break;case"SSS":Ne=wt(De.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ne=Ke(ce.Short);break;case"ZZZZZ":Ne=Ke(ce.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ne=Ke(ce.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ne=Ke(ce.Long);break;default:return null}return Je[ie]=Ne,Ne}(Vo);fo+=wo?wo(Pt,me,Qo):"''"===Vo?"'":Vo.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),fo}function rn(ie,Ne,me){const et=new Date(0);return et.setFullYear(ie,Ne,me),et.setHours(0,0,0),et}function _n(ie,Ne){const me=function Q(ie){return(0,t.cg1)(ie)[t.wAp.LocaleId]}(ie);if(we[me]=we[me]||{},we[me][Ne])return we[me][Ne];let et="";switch(Ne){case"shortDate":et=Et(ie,de.Short);break;case"mediumDate":et=Et(ie,de.Medium);break;case"longDate":et=Et(ie,de.Long);break;case"fullDate":et=Et(ie,de.Full);break;case"shortTime":et=Ht(ie,de.Short);break;case"mediumTime":et=Ht(ie,de.Medium);break;case"longTime":et=Ht(ie,de.Long);break;case"fullTime":et=Ht(ie,de.Full);break;case"short":const Pt=_n(ie,"shortTime"),pn=_n(ie,"shortDate");et=st(tn(ie,de.Short),[Pt,pn]);break;case"medium":const Tn=_n(ie,"mediumTime"),to=_n(ie,"mediumDate");et=st(tn(ie,de.Medium),[Tn,to]);break;case"long":const Qo=_n(ie,"longTime"),fo=_n(ie,"longDate");et=st(tn(ie,de.Long),[Qo,fo]);break;case"full":const Vo=_n(ie,"fullTime"),wo=_n(ie,"fullDate");et=st(tn(ie,de.Full),[Vo,wo])}return et&&(we[me][Ne]=et),et}function st(ie,Ne){return Ne&&(ie=ie.replace(/\{([^}]+)}/g,function(me,et){return null!=Ne&&et in Ne?Ne[et]:me})),ie}function it(ie,Ne,me="-",et,Pt){let pn="";(ie<0||Pt&&ie<=0)&&(Pt?ie=1-ie:(ie=-ie,pn=me));let Tn=String(ie);for(;Tn.length0||to>-me)&&(to+=me),ie===De.Hours)0===to&&-12===me&&(to=12);else if(ie===De.FractionalSeconds)return function lt(ie,Ne){return it(ie,3).substring(0,Ne)}(to,Ne);const Qo=un(Tn,W.MinusSign);return it(to,Ne,Qo,et,Pt)}}function Lt(ie,Ne,me=x.Format,et=!1){return function(Pt,pn){return function Gt(ie,Ne,me,et,Pt,pn){switch(me){case Ge.Months:return function be(ie,Ne,me){const et=(0,t.cg1)(ie),pn=It([et[t.wAp.MonthsFormat],et[t.wAp.MonthsStandalone]],Ne);return It(pn,me)}(Ne,Pt,et)[ie.getMonth()];case Ge.Days:return function fe(ie,Ne,me){const et=(0,t.cg1)(ie),pn=It([et[t.wAp.DaysFormat],et[t.wAp.DaysStandalone]],Ne);return It(pn,me)}(Ne,Pt,et)[ie.getDay()];case Ge.DayPeriods:const Tn=ie.getHours(),to=ie.getMinutes();if(pn){const fo=function vn(ie){const Ne=(0,t.cg1)(ie);return qt(Ne),(Ne[t.wAp.ExtraData][2]||[]).map(et=>"string"==typeof et?$e(et):[$e(et[0]),$e(et[1])])}(Ne),Vo=function Dn(ie,Ne,me){const et=(0,t.cg1)(ie);qt(et);const pn=It([et[t.wAp.ExtraData][0],et[t.wAp.ExtraData][1]],Ne)||[];return It(pn,me)||[]}(Ne,Pt,et),wo=fo.findIndex(ci=>{if(Array.isArray(ci)){const[Wo,Ci]=ci,zi=Tn>=Wo.hours&&to>=Wo.minutes,ro=Tn0?Math.floor(Pt/60):Math.ceil(Pt/60);switch(ie){case ce.Short:return(Pt>=0?"+":"")+it(Tn,2,pn)+it(Math.abs(Pt%60),2,pn);case ce.ShortGMT:return"GMT"+(Pt>=0?"+":"")+it(Tn,1,pn);case ce.Long:return"GMT"+(Pt>=0?"+":"")+it(Tn,2,pn)+":"+it(Math.abs(Pt%60),2,pn);case ce.Extended:return 0===et?"Z":(Pt>=0?"+":"")+it(Tn,2,pn)+":"+it(Math.abs(Pt%60),2,pn);default:throw new Error(`Unknown zone width "${ie}"`)}}}const J=0,I=4;function Me(ie){return rn(ie.getFullYear(),ie.getMonth(),ie.getDate()+(I-ie.getDay()))}function _t(ie,Ne=!1){return function(me,et){let Pt;if(Ne){const pn=new Date(me.getFullYear(),me.getMonth(),1).getDay()-1,Tn=me.getDate();Pt=1+Math.floor((Tn+pn)/7)}else{const pn=Me(me),Tn=function q(ie){const Ne=rn(ie,J,1).getDay();return rn(ie,0,1+(Ne<=I?I:I+7)-Ne)}(pn.getFullYear()),to=pn.getTime()-Tn.getTime();Pt=1+Math.round(to/6048e5)}return it(Pt,ie,un(et,W.MinusSign))}}function tt(ie,Ne=!1){return function(me,et){return it(Me(me).getFullYear(),ie,un(et,W.MinusSign),Ne)}}const Je={};function Nt(ie,Ne){ie=ie.replace(/:/g,"");const me=Date.parse("Jan 01, 1970 00:00:00 "+ie)/6e4;return isNaN(me)?Ne:me}function le(ie){return ie instanceof Date&&!isNaN(ie.valueOf())}const ye=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function zn(ie){const Ne=parseInt(ie);if(isNaN(Ne))throw new Error("Invalid integer literal when parsing "+ie);return Ne}let Wn=(()=>{class ie{}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275prov=t.Yz7({token:ie,factory:function(me){let et=null;return me?et=new me:(Pt=t.LFG(t.soG),et=new To(Pt)),et;var Pt},providedIn:"root"}),ie})();let To=(()=>{class ie extends Wn{constructor(me){super(),this.locale=me}getPluralCategory(me,et){switch(Yt(et||this.locale)(me)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}return ie.\u0275fac=function(me){return new(me||ie)(t.LFG(t.soG))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac}),ie})();function $o(ie,Ne,me){return(0,t.dwT)(ie,Ne,me)}function Ko(ie,Ne){Ne=encodeURIComponent(Ne);for(const me of ie.split(";")){const et=me.indexOf("="),[Pt,pn]=-1==et?[me,""]:[me.slice(0,et),me.slice(et+1)];if(Pt.trim()===Ne)return decodeURIComponent(pn)}return null}const Ro=/\s+/,Eo=[];let Xn=(()=>{class ie{constructor(me,et,Pt,pn){this._iterableDiffers=me,this._keyValueDiffers=et,this._ngEl=Pt,this._renderer=pn,this.initialClasses=Eo,this.stateMap=new Map}set klass(me){this.initialClasses=null!=me?me.trim().split(Ro):Eo}set ngClass(me){this.rawClass="string"==typeof me?me.trim().split(Ro):me}ngDoCheck(){for(const et of this.initialClasses)this._updateState(et,!0);const me=this.rawClass;if(Array.isArray(me)||me instanceof Set)for(const et of me)this._updateState(et,!0);else if(null!=me)for(const et of Object.keys(me))this._updateState(et,!!me[et]);this._applyStateDiff()}_updateState(me,et){const Pt=this.stateMap.get(me);void 0!==Pt?(Pt.enabled!==et&&(Pt.changed=!0,Pt.enabled=et),Pt.touched=!0):this.stateMap.set(me,{enabled:et,changed:!0,touched:!0})}_applyStateDiff(){for(const me of this.stateMap){const et=me[0],Pt=me[1];Pt.changed?(this._toggleClass(et,Pt.enabled),Pt.changed=!1):Pt.touched||(Pt.enabled&&this._toggleClass(et,!1),this.stateMap.delete(et)),Pt.touched=!1}}_toggleClass(me,et){(me=me.trim()).length>0&&me.split(Ro).forEach(Pt=>{et?this._renderer.addClass(this._ngEl.nativeElement,Pt):this._renderer.removeClass(this._ngEl.nativeElement,Pt)})}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.SBq),t.Y36(t.Qsj))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),ie})();class Mo{constructor(Ne,me,et,Pt){this.$implicit=Ne,this.ngForOf=me,this.index=et,this.count=Pt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let vo=(()=>{class ie{set ngForOf(me){this._ngForOf=me,this._ngForOfDirty=!0}set ngForTrackBy(me){this._trackByFn=me}get ngForTrackBy(){return this._trackByFn}constructor(me,et,Pt){this._viewContainer=me,this._template=et,this._differs=Pt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(me){me&&(this._template=me)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const me=this._ngForOf;!this._differ&&me&&(this._differ=this._differs.find(me).create(this.ngForTrackBy))}if(this._differ){const me=this._differ.diff(this._ngForOf);me&&this._applyChanges(me)}}_applyChanges(me){const et=this._viewContainer;me.forEachOperation((Pt,pn,Tn)=>{if(null==Pt.previousIndex)et.createEmbeddedView(this._template,new Mo(Pt.item,this._ngForOf,-1,-1),null===Tn?void 0:Tn);else if(null==Tn)et.remove(null===pn?void 0:pn);else if(null!==pn){const to=et.get(pn);et.move(to,Tn),ui(to,Pt)}});for(let Pt=0,pn=et.length;Pt{ui(et.get(Pt.currentIndex),Pt)})}static ngTemplateContextGuard(me,et){return!0}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),ie})();function ui(ie,Ne){ie.context.$implicit=Ne.item}let Di=(()=>{class ie{constructor(me,et){this._viewContainer=me,this._context=new Nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=et}set ngIf(me){this._context.$implicit=this._context.ngIf=me,this._updateView()}set ngIfThen(me){Oi("ngIfThen",me),this._thenTemplateRef=me,this._thenViewRef=null,this._updateView()}set ngIfElse(me){Oi("ngIfElse",me),this._elseTemplateRef=me,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(me,et){return!0}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.s_b),t.Y36(t.Rgc))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),ie})();class Nn{constructor(){this.$implicit=null,this.ngIf=null}}function Oi(ie,Ne){if(Ne&&!Ne.createEmbeddedView)throw new Error(`${ie} must be a TemplateRef, but received '${(0,t.AaK)(Ne)}'.`)}class Ai{constructor(Ne,me){this._viewContainerRef=Ne,this._templateRef=me,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ne){Ne&&!this._created?this.create():!Ne&&this._created&&this.destroy()}}let wi=(()=>{class ie{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(me){this._ngSwitch=me,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(me){this._defaultViews.push(me)}_matchCase(me){const et=me==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||et,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),et}_updateDefaultCases(me){if(this._defaultViews.length>0&&me!==this._defaultUsed){this._defaultUsed=me;for(const et of this._defaultViews)et.enforceState(me)}}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),ie})(),Ri=(()=>{class ie{constructor(me,et,Pt){this.ngSwitch=Pt,Pt._addCase(),this._view=new Ai(me,et)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(wi,9))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),ie})(),Sr=(()=>{class ie{constructor(me,et,Pt){Pt._addDefault(new Ai(me,et))}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(wi,9))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngSwitchDefault",""]],standalone:!0}),ie})(),Mi=(()=>{class ie{constructor(me){this._localization=me,this._caseViews={}}set ngPlural(me){this._updateView(me)}addCase(me,et){this._caseViews[me]=et}_updateView(me){this._clearViews();const Pt=function bo(ie,Ne,me,et){let Pt=`=${ie}`;if(Ne.indexOf(Pt)>-1||(Pt=me.getPluralCategory(ie,et),Ne.indexOf(Pt)>-1))return Pt;if(Ne.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${ie}"`)}(me,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Pt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(me){me&&(this._activeView=me,this._activeView.create())}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(Wn))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),ie})(),_r=(()=>{class ie{constructor(me,et,Pt,pn){this.value=me;const Tn=!isNaN(Number(me));pn.addCase(Tn?`=${me}`:me,new Ai(Pt,et))}}return ie.\u0275fac=function(me){return new(me||ie)(t.$8M("ngPluralCase"),t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(Mi,1))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngPluralCase",""]],standalone:!0}),ie})(),Ki=(()=>{class ie{constructor(me,et,Pt){this._ngEl=me,this._differs=et,this._renderer=Pt,this._ngStyle=null,this._differ=null}set ngStyle(me){this._ngStyle=me,!this._differ&&me&&(this._differ=this._differs.find(me).create())}ngDoCheck(){if(this._differ){const me=this._differ.diff(this._ngStyle);me&&this._applyChanges(me)}}_setStyle(me,et){const[Pt,pn]=me.split("."),Tn=-1===Pt.indexOf("-")?void 0:t.JOm.DashCase;null!=et?this._renderer.setStyle(this._ngEl.nativeElement,Pt,pn?`${et}${pn}`:et,Tn):this._renderer.removeStyle(this._ngEl.nativeElement,Pt,Tn)}_applyChanges(me){me.forEachRemovedItem(et=>this._setStyle(et.key,null)),me.forEachAddedItem(et=>this._setStyle(et.key,et.currentValue)),me.forEachChangedItem(et=>this._setStyle(et.key,et.currentValue))}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),ie})(),ur=(()=>{class ie{constructor(me){this._viewContainerRef=me,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(me){if(me.ngTemplateOutlet||me.ngTemplateOutletInjector){const et=this._viewContainerRef;if(this._viewRef&&et.remove(et.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Pt,ngTemplateOutletContext:pn,ngTemplateOutletInjector:Tn}=this;this._viewRef=et.createEmbeddedView(Pt,pn,Tn?{injector:Tn}:void 0)}else this._viewRef=null}else this._viewRef&&me.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.s_b))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]}),ie})();function Kn(ie,Ne){return new t.vHH(2100,!1)}class xo{createSubscription(Ne,me){return(0,t.rg0)(()=>Ne.subscribe({next:me,error:et=>{throw et}}))}dispose(Ne){(0,t.rg0)(()=>Ne.unsubscribe())}}class Uo{createSubscription(Ne,me){return Ne.then(me,et=>{throw et})}dispose(Ne){}}const ni=new Uo,yo=new xo;let Xo=(()=>{class ie{constructor(me){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=me}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(me){return this._obj?me!==this._obj?(this._dispose(),this.transform(me)):this._latestValue:(me&&this._subscribe(me),this._latestValue)}_subscribe(me){this._obj=me,this._strategy=this._selectStrategy(me),this._subscription=this._strategy.createSubscription(me,et=>this._updateLatestValue(me,et))}_selectStrategy(me){if((0,t.QGY)(me))return ni;if((0,t.F4k)(me))return yo;throw Kn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(me,et){me===this._obj&&(this._latestValue=et,this._ref.markForCheck())}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.sBO,16))},ie.\u0275pipe=t.Yjl({name:"async",type:ie,pure:!1,standalone:!0}),ie})(),bi=(()=>{class ie{transform(me){if(null==me)return null;if("string"!=typeof me)throw Kn();return me.toLowerCase()}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275pipe=t.Yjl({name:"lowercase",type:ie,pure:!0,standalone:!0}),ie})();const Si=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let yr=(()=>{class ie{transform(me){if(null==me)return null;if("string"!=typeof me)throw Kn();return me.replace(Si,et=>et[0].toUpperCase()+et.slice(1).toLowerCase())}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275pipe=t.Yjl({name:"titlecase",type:ie,pure:!0,standalone:!0}),ie})(),Qi=(()=>{class ie{transform(me){if(null==me)return null;if("string"!=typeof me)throw Kn();return me.toUpperCase()}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275pipe=t.Yjl({name:"uppercase",type:ie,pure:!0,standalone:!0}),ie})();const jn=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),ao=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ue=(()=>{class ie{constructor(me,et,Pt){this.locale=me,this.defaultTimezone=et,this.defaultOptions=Pt}transform(me,et,Pt,pn){if(null==me||""===me||me!=me)return null;try{return vt(me,et??this.defaultOptions?.dateFormat??"mediumDate",pn||this.locale,Pt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Tn){throw Kn()}}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.soG,16),t.Y36(jn,24),t.Y36(ao,24))},ie.\u0275pipe=t.Yjl({name:"date",type:ie,pure:!0,standalone:!0}),ie})(),zt=(()=>{class ie{transform(me){return JSON.stringify(me,null,2)}}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275pipe=t.Yjl({name:"json",type:ie,pure:!1,standalone:!0}),ie})(),en=(()=>{class ie{constructor(me){this.differs=me,this.keyValues=[],this.compareFn=hn}transform(me,et=hn){if(!me||!(me instanceof Map)&&"object"!=typeof me)return null;this.differ||(this.differ=this.differs.find(me).create());const Pt=this.differ.diff(me),pn=et!==this.compareFn;return Pt&&(this.keyValues=[],Pt.forEachItem(Tn=>{this.keyValues.push(function kt(ie,Ne){return{key:ie,value:Ne}}(Tn.key,Tn.currentValue))})),(Pt||pn)&&(this.keyValues.sort(et),this.compareFn=et),this.keyValues}}return ie.\u0275fac=function(me){return new(me||ie)(t.Y36(t.aQg,16))},ie.\u0275pipe=t.Yjl({name:"keyvalue",type:ie,pure:!1,standalone:!0}),ie})();function hn(ie,Ne){const me=ie.key,et=Ne.key;if(me===et)return 0;if(void 0===me)return 1;if(void 0===et)return-1;if(null===me)return 1;if(null===et)return-1;if("string"==typeof me&&"string"==typeof et)return me{class ie{constructor(me){this._locale=me}transform(me,et,Pt){if(!function Mn(ie){return!(null==ie||""===ie||ie!=ie)}(me))return null;Pt=Pt||this._locale;try{return function Ye(ie,Ne,me){return function ne(ie,Ne,me,et,Pt,pn,Tn=!1){let to="",Qo=!1;if(isFinite(ie)){let fo=function Zt(ie){let et,Pt,pn,Tn,to,Ne=Math.abs(ie)+"",me=0;for((Pt=Ne.indexOf("."))>-1&&(Ne=Ne.replace(".","")),(pn=Ne.search(/e/i))>0?(Pt<0&&(Pt=pn),Pt+=+Ne.slice(pn+1),Ne=Ne.substring(0,pn)):Pt<0&&(Pt=Ne.length),pn=0;"0"===Ne.charAt(pn);pn++);if(pn===(to=Ne.length))et=[0],Pt=1;else{for(to--;"0"===Ne.charAt(to);)to--;for(Pt-=pn,et=[],Tn=0;pn<=to;pn++,Tn++)et[Tn]=Number(Ne.charAt(pn))}return Pt>22&&(et=et.splice(0,21),me=Pt-1,Pt=1),{digits:et,exponent:me,integerLen:Pt}}(ie);Tn&&(fo=function Kt(ie){if(0===ie.digits[0])return ie;const Ne=ie.digits.length-ie.integerLen;return ie.exponent?ie.exponent+=2:(0===Ne?ie.digits.push(0,0):1===Ne&&ie.digits.push(0),ie.integerLen+=2),ie}(fo));let Vo=Ne.minInt,wo=Ne.minFrac,ci=Ne.maxFrac;if(pn){const rr=pn.match(ye);if(null===rr)throw new Error(`${pn} is not a valid digit info`);const $r=rr[1],wr=rr[3],sr=rr[5];null!=$r&&(Vo=zn($r)),null!=wr&&(wo=zn(wr)),null!=sr?ci=zn(sr):null!=wr&&wo>ci&&(ci=wo)}!function On(ie,Ne,me){if(Ne>me)throw new Error(`The minimum number of digits after fraction (${Ne}) is higher than the maximum (${me}).`);let et=ie.digits,Pt=et.length-ie.integerLen;const pn=Math.min(Math.max(Ne,Pt),me);let Tn=pn+ie.integerLen,to=et[Tn];if(Tn>0){et.splice(Math.max(ie.integerLen,Tn));for(let wo=Tn;wo=5)if(Tn-1<0){for(let wo=0;wo>Tn;wo--)et.unshift(0),ie.integerLen++;et.unshift(1),ie.integerLen++}else et[Tn-1]++;for(;Pt=fo?Ci.pop():Qo=!1),ci>=10?1:0},0);Vo&&(et.unshift(Vo),ie.integerLen++)}(fo,wo,ci);let Wo=fo.digits,Ci=fo.integerLen;const zi=fo.exponent;let ro=[];for(Qo=Wo.every(rr=>!rr);Ci0?ro=Wo.splice(Ci,Wo.length):(ro=Wo,Wo=[0]);const fr=[];for(Wo.length>=Ne.lgSize&&fr.unshift(Wo.splice(-Ne.lgSize,Wo.length).join(""));Wo.length>Ne.gSize;)fr.unshift(Wo.splice(-Ne.gSize,Wo.length).join(""));Wo.length&&fr.unshift(Wo.join("")),to=fr.join(un(me,et)),ro.length&&(to+=un(me,Pt)+ro.join("")),zi&&(to+=un(me,W.Exponential)+"+"+zi)}else to=un(me,W.Infinity);return to=ie<0&&!Qo?Ne.negPre+to+Ne.negSuf:Ne.posPre+to+Ne.posSuf,to}(ie,function yt(ie,Ne="-"){const me={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},et=ie.split(";"),Pt=et[0],pn=et[1],Tn=-1!==Pt.indexOf(".")?Pt.split("."):[Pt.substring(0,Pt.lastIndexOf("0")+1),Pt.substring(Pt.lastIndexOf("0")+1)],to=Tn[0],Qo=Tn[1]||"";me.posPre=to.substring(0,to.indexOf("#"));for(let Vo=0;Vo{class ie{}return ie.\u0275fac=function(me){return new(me||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({}),ie})();const Bn="browser",Ln="server";function co(ie){return ie===Bn}function Oo(ie){return ie===Ln}let Go=(()=>{class ie{}return ie.\u0275prov=(0,t.Yz7)({token:ie,providedIn:"root",factory:()=>new Co((0,t.LFG)(k),window)}),ie})();class Co{constructor(Ne,me){this.document=Ne,this.window=me,this.offset=()=>[0,0]}setOffset(Ne){this.offset=Array.isArray(Ne)?()=>Ne:Ne}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Ne){this.supportsScrolling()&&this.window.scrollTo(Ne[0],Ne[1])}scrollToAnchor(Ne){if(!this.supportsScrolling())return;const me=function vi(ie,Ne){const me=ie.getElementById(Ne)||ie.getElementsByName(Ne)[0];if(me)return me;if("function"==typeof ie.createTreeWalker&&ie.body&&"function"==typeof ie.body.attachShadow){const et=ie.createTreeWalker(ie.body,NodeFilter.SHOW_ELEMENT);let Pt=et.currentNode;for(;Pt;){const pn=Pt.shadowRoot;if(pn){const Tn=pn.getElementById(Ne)||pn.querySelector(`[name="${Ne}"]`);if(Tn)return Tn}Pt=et.nextNode()}}return null}(this.document,Ne);me&&(this.scrollToElement(me),me.focus())}setHistoryScrollRestoration(Ne){if(this.supportScrollRestoration()){const me=this.window.history;me&&me.scrollRestoration&&(me.scrollRestoration=Ne)}}scrollToElement(Ne){const me=Ne.getBoundingClientRect(),et=me.left+this.window.pageXOffset,Pt=me.top+this.window.pageYOffset,pn=this.offset();this.window.scrollTo(et-pn[0],Pt-pn[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Ne=di(this.window.history)||di(Object.getPrototypeOf(this.window.history));return!(!Ne||!Ne.writable&&!Ne.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function di(ie){return Object.getOwnPropertyDescriptor(ie,"scrollRestoration")}class Fo{}},9862:(xt,Se,a)=>{a.d(Se,{Ed:()=>mt,JF:()=>ye,PD:()=>le,WM:()=>Y,eN:()=>nn,jN:()=>L});var t=a(5879),i=a(2096),v=a(5592),d=a(9666),s=a(6328),k=a(2181),G=a(7398),U=a(4716),P=a(4664),S=a(6814);class w{}class L{}class Y{constructor(B){this.normalizedNames=new Map,this.lazyUpdate=null,B?"string"==typeof B?this.lazyInit=()=>{this.headers=new Map,B.split("\n").forEach(Te=>{const Ye=Te.indexOf(":");if(Ye>0){const yt=Te.slice(0,Ye),Kt=yt.toLowerCase(),Zt=Te.slice(Ye+1).trim();this.maybeSetNormalizedName(yt,Kt),this.headers.has(Kt)?this.headers.get(Kt).push(Zt):this.headers.set(Kt,[Zt])}})}:typeof Headers<"u"&&B instanceof Headers?(this.headers=new Map,B.forEach((Te,Ye)=>{this.setHeaderEntries(Ye,Te)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(B).forEach(([Te,Ye])=>{this.setHeaderEntries(Te,Ye)})}:this.headers=new Map}has(B){return this.init(),this.headers.has(B.toLowerCase())}get(B){this.init();const Te=this.headers.get(B.toLowerCase());return Te&&Te.length>0?Te[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(B){return this.init(),this.headers.get(B.toLowerCase())||null}append(B,Te){return this.clone({name:B,value:Te,op:"a"})}set(B,Te){return this.clone({name:B,value:Te,op:"s"})}delete(B,Te){return this.clone({name:B,value:Te,op:"d"})}maybeSetNormalizedName(B,Te){this.normalizedNames.has(Te)||this.normalizedNames.set(Te,B)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(B=>this.applyUpdate(B)),this.lazyUpdate=null))}copyFrom(B){B.init(),Array.from(B.headers.keys()).forEach(Te=>{this.headers.set(Te,B.headers.get(Te)),this.normalizedNames.set(Te,B.normalizedNames.get(Te))})}clone(B){const Te=new Y;return Te.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,Te.lazyUpdate=(this.lazyUpdate||[]).concat([B]),Te}applyUpdate(B){const Te=B.name.toLowerCase();switch(B.op){case"a":case"s":let Ye=B.value;if("string"==typeof Ye&&(Ye=[Ye]),0===Ye.length)return;this.maybeSetNormalizedName(B.name,Te);const yt=("a"===B.op?this.headers.get(Te):void 0)||[];yt.push(...Ye),this.headers.set(Te,yt);break;case"d":const Kt=B.value;if(Kt){let Zt=this.headers.get(Te);if(!Zt)return;Zt=Zt.filter(On=>-1===Kt.indexOf(On)),0===Zt.length?(this.headers.delete(Te),this.normalizedNames.delete(Te)):this.headers.set(Te,Zt)}else this.headers.delete(Te),this.normalizedNames.delete(Te)}}setHeaderEntries(B,Te){const Ye=(Array.isArray(Te)?Te:[Te]).map(Kt=>Kt.toString()),yt=B.toLowerCase();this.headers.set(yt,Ye),this.maybeSetNormalizedName(B,yt)}forEach(B){this.init(),Array.from(this.normalizedNames.keys()).forEach(Te=>B(this.normalizedNames.get(Te),this.headers.get(Te)))}}class e{encodeKey(B){return ze(B)}encodeValue(B){return ze(B)}decodeKey(B){return decodeURIComponent(B)}decodeValue(B){return decodeURIComponent(B)}}const R=/%(\d[a-f0-9])/gi,ge={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ze(ne){return encodeURIComponent(ne).replace(R,(B,Te)=>ge[Te]??B)}function K(ne){return`${ne}`}class N{constructor(B={}){if(this.updates=null,this.cloneFrom=null,this.encoder=B.encoder||new e,B.fromString){if(B.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function F(ne,B){const Te=new Map;return ne.length>0&&ne.replace(/^\?/,"").split("&").forEach(yt=>{const Kt=yt.indexOf("="),[Zt,On]=-1==Kt?[B.decodeKey(yt),""]:[B.decodeKey(yt.slice(0,Kt)),B.decodeValue(yt.slice(Kt+1))],zn=Te.get(Zt)||[];zn.push(On),Te.set(Zt,zn)}),Te}(B.fromString,this.encoder)}else B.fromObject?(this.map=new Map,Object.keys(B.fromObject).forEach(Te=>{const Ye=B.fromObject[Te],yt=Array.isArray(Ye)?Ye.map(K):[K(Ye)];this.map.set(Te,yt)})):this.map=null}has(B){return this.init(),this.map.has(B)}get(B){this.init();const Te=this.map.get(B);return Te?Te[0]:null}getAll(B){return this.init(),this.map.get(B)||null}keys(){return this.init(),Array.from(this.map.keys())}append(B,Te){return this.clone({param:B,value:Te,op:"a"})}appendAll(B){const Te=[];return Object.keys(B).forEach(Ye=>{const yt=B[Ye];Array.isArray(yt)?yt.forEach(Kt=>{Te.push({param:Ye,value:Kt,op:"a"})}):Te.push({param:Ye,value:yt,op:"a"})}),this.clone(Te)}set(B,Te){return this.clone({param:B,value:Te,op:"s"})}delete(B,Te){return this.clone({param:B,value:Te,op:"d"})}toString(){return this.init(),this.keys().map(B=>{const Te=this.encoder.encodeKey(B);return this.map.get(B).map(Ye=>Te+"="+this.encoder.encodeValue(Ye)).join("&")}).filter(B=>""!==B).join("&")}clone(B){const Te=new N({encoder:this.encoder});return Te.cloneFrom=this.cloneFrom||this,Te.updates=(this.updates||[]).concat(B),Te}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(B=>this.map.set(B,this.cloneFrom.map.get(B))),this.updates.forEach(B=>{switch(B.op){case"a":case"s":const Te=("a"===B.op?this.map.get(B.param):void 0)||[];Te.push(K(B.value)),this.map.set(B.param,Te);break;case"d":if(void 0===B.value){this.map.delete(B.param);break}{let Ye=this.map.get(B.param)||[];const yt=Ye.indexOf(K(B.value));-1!==yt&&Ye.splice(yt,1),Ye.length>0?this.map.set(B.param,Ye):this.map.delete(B.param)}}}),this.cloneFrom=this.updates=null)}}class O{constructor(){this.map=new Map}set(B,Te){return this.map.set(B,Te),this}get(B){return this.map.has(B)||this.map.set(B,B.defaultValue()),this.map.get(B)}delete(B){return this.map.delete(B),this}has(B){return this.map.has(B)}keys(){return this.map.keys()}}function x(ne){return typeof ArrayBuffer<"u"&&ne instanceof ArrayBuffer}function pe(ne){return typeof Blob<"u"&&ne instanceof Blob}function de(ne){return typeof FormData<"u"&&ne instanceof FormData}class ve{constructor(B,Te,Ye,yt){let Kt;if(this.url=Te,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=B.toUpperCase(),function A(ne){switch(ne){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||yt?(this.body=void 0!==Ye?Ye:null,Kt=yt):Kt=Ye,Kt&&(this.reportProgress=!!Kt.reportProgress,this.withCredentials=!!Kt.withCredentials,Kt.responseType&&(this.responseType=Kt.responseType),Kt.headers&&(this.headers=Kt.headers),Kt.context&&(this.context=Kt.context),Kt.params&&(this.params=Kt.params)),this.headers||(this.headers=new Y),this.context||(this.context=new O),this.params){const Zt=this.params.toString();if(0===Zt.length)this.urlWithParams=Te;else{const On=Te.indexOf("?");this.urlWithParams=Te+(-1===On?"?":OnTo.set($o,B.setHeaders[$o]),zn)),B.setParams&&(Wn=Object.keys(B.setParams).reduce((To,$o)=>To.set($o,B.setParams[$o]),Wn)),new ve(Te,Ye,Kt,{params:Wn,headers:zn,context:bo,reportProgress:On,responseType:yt,withCredentials:Zt})}}var Q=(()=>((Q=Q||{})[Q.Sent=0]="Sent",Q[Q.UploadProgress=1]="UploadProgress",Q[Q.ResponseHeader=2]="ResponseHeader",Q[Q.DownloadProgress=3]="DownloadProgress",Q[Q.Response=4]="Response",Q[Q.User=5]="User",Q))();class ae{constructor(B,Te=200,Ye="OK"){this.headers=B.headers||new Y,this.status=void 0!==B.status?B.status:Te,this.statusText=B.statusText||Ye,this.url=B.url||null,this.ok=this.status>=200&&this.status<300}}class fe extends ae{constructor(B={}){super(B),this.type=Q.ResponseHeader}clone(B={}){return new fe({headers:B.headers||this.headers,status:void 0!==B.status?B.status:this.status,statusText:B.statusText||this.statusText,url:B.url||this.url||void 0})}}class be extends ae{constructor(B={}){super(B),this.type=Q.Response,this.body=void 0!==B.body?B.body:null}clone(B={}){return new be({body:void 0!==B.body?B.body:this.body,headers:B.headers||this.headers,status:void 0!==B.status?B.status:this.status,statusText:B.statusText||this.statusText,url:B.url||this.url||void 0})}}class Ft extends ae{constructor(B){super(B,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${B.url||"(unknown url)"}`:`Http failure response for ${B.url||"(unknown url)"}: ${B.status} ${B.statusText}`,this.error=B.error||null}}function Dt(ne,B){return{body:B,headers:ne.headers,context:ne.context,observe:ne.observe,params:ne.params,reportProgress:ne.reportProgress,responseType:ne.responseType,withCredentials:ne.withCredentials}}let nn=(()=>{class ne{constructor(Te){this.handler=Te}request(Te,Ye,yt={}){let Kt;if(Te instanceof ve)Kt=Te;else{let zn,Wn;zn=yt.headers instanceof Y?yt.headers:new Y(yt.headers),yt.params&&(Wn=yt.params instanceof N?yt.params:new N({fromObject:yt.params})),Kt=new ve(Te,Ye,void 0!==yt.body?yt.body:null,{headers:zn,context:yt.context,params:Wn,reportProgress:yt.reportProgress,responseType:yt.responseType||"json",withCredentials:yt.withCredentials})}const Zt=(0,i.of)(Kt).pipe((0,s.b)(zn=>this.handler.handle(zn)));if(Te instanceof ve||"events"===yt.observe)return Zt;const On=Zt.pipe((0,k.h)(zn=>zn instanceof be));switch(yt.observe||"body"){case"body":switch(Kt.responseType){case"arraybuffer":return On.pipe((0,G.U)(zn=>{if(null!==zn.body&&!(zn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return zn.body}));case"blob":return On.pipe((0,G.U)(zn=>{if(null!==zn.body&&!(zn.body instanceof Blob))throw new Error("Response is not a Blob.");return zn.body}));case"text":return On.pipe((0,G.U)(zn=>{if(null!==zn.body&&"string"!=typeof zn.body)throw new Error("Response is not a string.");return zn.body}));default:return On.pipe((0,G.U)(zn=>zn.body))}case"response":return On;default:throw new Error(`Unreachable: unhandled observe type ${yt.observe}}`)}}delete(Te,Ye={}){return this.request("DELETE",Te,Ye)}get(Te,Ye={}){return this.request("GET",Te,Ye)}head(Te,Ye={}){return this.request("HEAD",Te,Ye)}jsonp(Te,Ye){return this.request("JSONP",Te,{params:(new N).append(Ye,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Te,Ye={}){return this.request("OPTIONS",Te,Ye)}patch(Te,Ye,yt={}){return this.request("PATCH",Te,Dt(yt,Ye))}post(Te,Ye,yt={}){return this.request("POST",Te,Dt(yt,Ye))}put(Te,Ye,yt={}){return this.request("PUT",Te,Dt(yt,Ye))}}return ne.\u0275fac=function(Te){return new(Te||ne)(t.LFG(w))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})();function Ct(ne,B){return B(ne)}function je(ne,B){return(Te,Ye)=>B.intercept(Te,{handle:yt=>ne(yt,Ye)})}const qt=new t.OlP(""),vn=new t.OlP(""),Dn=new t.OlP("");function Wt(){let ne=null;return(B,Te)=>{null===ne&&(ne=((0,t.f3M)(qt,{optional:!0})??[]).reduceRight(je,Ct));const Ye=(0,t.f3M)(t.HDt),yt=Ye.add();return ne(B,Te).pipe((0,U.x)(()=>Ye.remove(yt)))}}let Ve,It=(()=>{class ne extends w{constructor(Te,Ye){super(),this.backend=Te,this.injector=Ye,this.chain=null,this.pendingTasks=(0,t.f3M)(t.HDt)}handle(Te){if(null===this.chain){const yt=Array.from(new Set([...this.injector.get(vn),...this.injector.get(Dn,[])]));this.chain=yt.reduceRight((Kt,Zt)=>function Yt(ne,B,Te){return(Ye,yt)=>Te.runInContext(()=>B(Ye,Kt=>ne(Kt,yt)))}(Kt,Zt,this.injector),Ct)}const Ye=this.pendingTasks.add();return this.chain(Te,yt=>this.backend.handle(yt)).pipe((0,U.x)(()=>this.pendingTasks.remove(Ye)))}}return ne.\u0275fac=function(Te){return new(Te||ne)(t.LFG(L),t.LFG(t.lqb))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),$e=0;class te{}function ce(){return"object"==typeof window?window:{}}let De=(()=>{class ne{constructor(Te,Ye){this.callbackMap=Te,this.document=Ye,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+$e++}handle(Te){if("JSONP"!==Te.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Te.responseType)throw new Error("JSONP requests must use Json response type.");if(Te.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new v.y(Ye=>{const yt=this.nextCallback(),Kt=Te.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${yt}$1`),Zt=this.document.createElement("script");Zt.src=Kt;let On=null,zn=!1;this.callbackMap[yt]=$o=>{delete this.callbackMap[yt],On=$o,zn=!0};const Wn=()=>{Zt.parentNode&&Zt.parentNode.removeChild(Zt),delete this.callbackMap[yt]};return Zt.addEventListener("load",$o=>{this.resolvedPromise.then(()=>{Wn(),zn?(Ye.next(new be({body:On,status:200,statusText:"OK",url:Kt})),Ye.complete()):Ye.error(new Ft({url:Kt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Zt.addEventListener("error",$o=>{Wn(),Ye.error(new Ft({error:$o,status:0,statusText:"JSONP Error",url:Kt}))}),this.document.body.appendChild(Zt),Ye.next({type:Q.Sent}),()=>{zn||this.removeListeners(Zt),Wn()}})}removeListeners(Te){Ve||(Ve=this.document.implementation.createHTMLDocument()),Ve.adoptNode(Te)}}return ne.\u0275fac=function(Te){return new(Te||ne)(t.LFG(te),t.LFG(S.K0))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})();function Ge(ne,B){return"JSONP"===ne.method?(0,t.f3M)(De).handle(ne):B(ne)}const rn=/^\)\]\}',?\n/;let st=(()=>{class ne{constructor(Te){this.xhrFactory=Te}handle(Te){if("JSONP"===Te.method)throw new t.vHH(-2800,!1);const Ye=this.xhrFactory;return(Ye.\u0275loadImpl?(0,d.D)(Ye.\u0275loadImpl()):(0,i.of)(null)).pipe((0,P.w)(()=>new v.y(Kt=>{const Zt=Ye.build();if(Zt.open(Te.method,Te.urlWithParams),Te.withCredentials&&(Zt.withCredentials=!0),Te.headers.forEach((Eo,Xn)=>Zt.setRequestHeader(Eo,Xn.join(","))),Te.headers.has("Accept")||Zt.setRequestHeader("Accept","application/json, text/plain, */*"),!Te.headers.has("Content-Type")){const Eo=Te.detectContentTypeHeader();null!==Eo&&Zt.setRequestHeader("Content-Type",Eo)}if(Te.responseType){const Eo=Te.responseType.toLowerCase();Zt.responseType="json"!==Eo?Eo:"text"}const On=Te.serializeBody();let zn=null;const Wn=()=>{if(null!==zn)return zn;const Eo=Zt.statusText||"OK",Xn=new Y(Zt.getAllResponseHeaders()),Jo=function _n(ne){return"responseURL"in ne&&ne.responseURL?ne.responseURL:/^X-Request-URL:/m.test(ne.getAllResponseHeaders())?ne.getResponseHeader("X-Request-URL"):null}(Zt)||Te.url;return zn=new fe({headers:Xn,status:Zt.status,statusText:Eo,url:Jo}),zn},bo=()=>{let{headers:Eo,status:Xn,statusText:Jo,url:ko}=Wn(),Mo=null;204!==Xn&&(Mo=typeof Zt.response>"u"?Zt.responseText:Zt.response),0===Xn&&(Xn=Mo?200:0);let vo=Xn>=200&&Xn<300;if("json"===Te.responseType&&"string"==typeof Mo){const ui=Mo;Mo=Mo.replace(rn,"");try{Mo=""!==Mo?JSON.parse(Mo):null}catch(oi){Mo=ui,vo&&(vo=!1,Mo={error:oi,text:Mo})}}vo?(Kt.next(new be({body:Mo,headers:Eo,status:Xn,statusText:Jo,url:ko||void 0})),Kt.complete()):Kt.error(new Ft({error:Mo,headers:Eo,status:Xn,statusText:Jo,url:ko||void 0}))},To=Eo=>{const{url:Xn}=Wn(),Jo=new Ft({error:Eo,status:Zt.status||0,statusText:Zt.statusText||"Unknown Error",url:Xn||void 0});Kt.error(Jo)};let $o=!1;const Ko=Eo=>{$o||(Kt.next(Wn()),$o=!0);let Xn={type:Q.DownloadProgress,loaded:Eo.loaded};Eo.lengthComputable&&(Xn.total=Eo.total),"text"===Te.responseType&&Zt.responseText&&(Xn.partialText=Zt.responseText),Kt.next(Xn)},Ro=Eo=>{let Xn={type:Q.UploadProgress,loaded:Eo.loaded};Eo.lengthComputable&&(Xn.total=Eo.total),Kt.next(Xn)};return Zt.addEventListener("load",bo),Zt.addEventListener("error",To),Zt.addEventListener("timeout",To),Zt.addEventListener("abort",To),Te.reportProgress&&(Zt.addEventListener("progress",Ko),null!==On&&Zt.upload&&Zt.upload.addEventListener("progress",Ro)),Zt.send(On),Kt.next({type:Q.Sent}),()=>{Zt.removeEventListener("error",To),Zt.removeEventListener("abort",To),Zt.removeEventListener("load",bo),Zt.removeEventListener("timeout",To),Te.reportProgress&&(Zt.removeEventListener("progress",Ko),null!==On&&Zt.upload&&Zt.upload.removeEventListener("progress",Ro)),Zt.readyState!==Zt.DONE&&Zt.abort()}})))}}return ne.\u0275fac=function(Te){return new(Te||ne)(t.LFG(S.JF))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})();const it=new t.OlP("XSRF_ENABLED"),lt="XSRF-TOKEN",wt=new t.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>lt}),Ot="X-XSRF-TOKEN",Lt=new t.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ot});class Gt{}let Ke=(()=>{class ne{constructor(Te,Ye,yt){this.doc=Te,this.platform=Ye,this.cookieName=yt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Te=this.doc.cookie||"";return Te!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,S.Mx)(Te,this.cookieName),this.lastCookieString=Te),this.lastToken}}return ne.\u0275fac=function(Te){return new(Te||ne)(t.LFG(S.K0),t.LFG(t.Lbi),t.LFG(wt))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})();function J(ne,B){const Te=ne.url.toLowerCase();if(!(0,t.f3M)(it)||"GET"===ne.method||"HEAD"===ne.method||Te.startsWith("http://")||Te.startsWith("https://"))return B(ne);const Ye=(0,t.f3M)(Gt).getToken(),yt=(0,t.f3M)(Lt);return null!=Ye&&!ne.headers.has(yt)&&(ne=ne.clone({headers:ne.headers.set(yt,Ye)})),B(ne)}let I=(()=>{class ne{constructor(Te){this.injector=Te}intercept(Te,Ye){return this.injector.runInContext(()=>J(Te,yt=>Ye.handle(yt)))}}return ne.\u0275fac=function(Te){return new(Te||ne)(t.LFG(t.lqb))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})();var q=(()=>((q=q||{})[q.Interceptors=0]="Interceptors",q[q.LegacyInterceptors=1]="LegacyInterceptors",q[q.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",q[q.NoXsrfProtection=3]="NoXsrfProtection",q[q.JsonpSupport=4]="JsonpSupport",q[q.RequestsMadeViaParent=5]="RequestsMadeViaParent",q[q.Fetch=6]="Fetch",q))();function Me(ne,B){return{\u0275kind:ne,\u0275providers:B}}function _t(...ne){const B=[nn,st,It,{provide:w,useExisting:It},{provide:L,useExisting:st},{provide:vn,useValue:J,multi:!0},{provide:it,useValue:!0},{provide:Gt,useClass:Ke}];for(const Te of ne)B.push(...Te.\u0275providers);return(0,t.MR2)(B)}const Je=new t.OlP("LEGACY_INTERCEPTOR_FN");function Nt({cookieName:ne,headerName:B}){const Te=[];return void 0!==ne&&Te.push({provide:wt,useValue:ne}),void 0!==B&&Te.push({provide:Lt,useValue:B}),Me(q.CustomXsrfConfiguration,Te)}let le=(()=>{class ne{static disable(){return{ngModule:ne,providers:[Me(q.NoXsrfProtection,[{provide:it,useValue:!1}]).\u0275providers]}}static withOptions(Te={}){return{ngModule:ne,providers:Nt(Te).\u0275providers}}}return ne.\u0275fac=function(Te){return new(Te||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({providers:[I,{provide:qt,useExisting:I,multi:!0},{provide:Gt,useClass:Ke},Nt({cookieName:lt,headerName:Ot}).\u0275providers,{provide:it,useValue:!0}]}),ne})(),ye=(()=>{class ne{}return ne.\u0275fac=function(Te){return new(Te||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({providers:[_t(Me(q.LegacyInterceptors,[{provide:Je,useFactory:Wt},{provide:vn,useExisting:Je,multi:!0}]))]}),ne})(),mt=(()=>{class ne{}return ne.\u0275fac=function(Te){return new(Te||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({providers:[Me(q.JsonpSupport,[De,{provide:te,useFactory:ce},{provide:vn,useValue:Ge,multi:!0}]).\u0275providers]}),ne})()},5879:(xt,Se,a)=>{a.d(Se,{$8M:()=>Xc,$WT:()=>ni,$Z:()=>bh,AFp:()=>Qt,ALo:()=>f6,AaK:()=>L,Akn:()=>Rc,AsE:()=>a0,B6R:()=>Ri,BQk:()=>Y4,CHM:()=>$c,CRH:()=>I6,Ckj:()=>ma,DdM:()=>o6,Dn7:()=>v6,DyG:()=>tl,EEQ:()=>qi,EJc:()=>D_,EiD:()=>Ud,EpF:()=>T3,F$t:()=>D3,F4k:()=>M3,FYo:()=>ih,FiY:()=>Aa,G48:()=>J_,Gf:()=>w6,GfV:()=>rh,GkF:()=>j2,Gpc:()=>e,Gre:()=>cf,GuJ:()=>ne,HDt:()=>tm,Hsn:()=>O3,Ikx:()=>c0,JOm:()=>jr,JVY:()=>fp,JZr:()=>K,Jf7:()=>lh,KtG:()=>Zs,L6k:()=>mp,LAX:()=>Al,LFG:()=>rt,LSH:()=>ud,Lbi:()=>Vn,Lck:()=>Tv,MAs:()=>y3,MGl:()=>$4,MMx:()=>Zf,MR2:()=>fd,NdJ:()=>Z2,O4$:()=>ht,Ojb:()=>Un,OlP:()=>ri,Oqu:()=>s0,P3R:()=>jd,PXZ:()=>Y_,Q6J:()=>U2,QGY:()=>W2,QbO:()=>gn,Qsj:()=>a4,R0b:()=>Es,RDi:()=>Vs,Rgc:()=>Xh,SBq:()=>zd,Sil:()=>w_,Suo:()=>P6,TTD:()=>ps,TgZ:()=>V4,Tol:()=>U3,Udp:()=>n0,UuU:()=>th,VKq:()=>i6,VuI:()=>M5,W1O:()=>L6,WD2:()=>Hr,WFA:()=>K2,WLB:()=>r6,X6Q:()=>K_,XFs:()=>ce,Xpm:()=>wi,Xq5:()=>n3,Xts:()=>Qu,Y36:()=>e1,YKP:()=>jf,YNc:()=>g3,Yjl:()=>nr,Yz7:()=>qt,Z0I:()=>It,ZZ4:()=>U0,_Bn:()=>Qf,_UZ:()=>Q2,_Vd:()=>Ku,_c5:()=>h5,_uU:()=>J3,aQg:()=>G0,c2e:()=>em,cJS:()=>Dn,cg1:()=>u0,d8E:()=>l0,dDg:()=>R_,dqk:()=>st,dwT:()=>Mg,eBb:()=>Ld,eFA:()=>mm,eJc:()=>D0,ekj:()=>o0,eoX:()=>dm,f3M:()=>Tt,g9A:()=>Sn,gM2:()=>_6,h0i:()=>Qp,hGG:()=>f5,hYB:()=>q2,hij:()=>Q4,iGM:()=>O6,ifc:()=>Bt,ip1:()=>X6,jDz:()=>Kf,kEZ:()=>s6,kL8:()=>_f,l5B:()=>a6,lG2:()=>ur,lcZ:()=>m6,lqb:()=>C,lri:()=>lm,mCW:()=>Lc,n5z:()=>vc,n_E:()=>J4,oAB:()=>Mi,oJD:()=>Uu,oxw:()=>x3,pB0:()=>kd,q3G:()=>Bi,qFp:()=>S5,qLn:()=>qu,qOj:()=>L2,qZA:()=>B4,qbA:()=>c6,qzn:()=>Nc,rWj:()=>um,rg0:()=>Or,s9C:()=>J2,sBO:()=>q_,s_b:()=>X4,soG:()=>t2,tBr:()=>al,tb:()=>R0,tp0:()=>Fa,uIk:()=>R2,vHH:()=>N,vpe:()=>Vl,wAp:()=>Do,xi3:()=>g6,xp6:()=>gh,ynx:()=>H4,z2F:()=>Zp,z3N:()=>Bs,zSh:()=>_d,zs3:()=>qa});var t=a(8645),i=a(7394),v=a(5619),d=a(5592),s=a(3019),k=a(2096),G=a(3020),U=a(4664),P=a(3997);function S(n){for(let o in n)if(n[o]===S)return o;throw Error("Could not find renamed property on target object.")}function w(n,o){for(const r in o)o.hasOwnProperty(r)&&!n.hasOwnProperty(r)&&(n[r]=o[r])}function L(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(L).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const o=n.toString();if(null==o)return""+o;const r=o.indexOf("\n");return-1===r?o:o.substring(0,r)}function Y(n,o){return null==n||""===n?null===o?"":o:null==o||""===o?n:n+" "+o}const M=S({__forward_ref__:S});function e(n){return n.__forward_ref__=e,n.toString=function(){return L(this())},n}function F(n){return R(n)?n():n}function R(n){return"function"==typeof n&&n.hasOwnProperty(M)&&n.__forward_ref__===e}function ge(n){return n&&!!n.\u0275providers}const K="https://g.co/ng/security#xss";class N extends Error{constructor(o,r){super(function V(n,o){return`NG0${Math.abs(n)}${o?": "+o:""}`}(o,r)),this.code=o}}function O(n){return"string"==typeof n?n:null==n?"":String(n)}function W(n,o){throw new N(-201,!1)}function Xe(n,o){null==n&&function Re(n,o,r,l){throw new Error(`ASSERTION ERROR: ${n}`+(null==l?"":` [Expected=> ${r} ${l} ${o} <=Actual]`))}(o,n,null,"!=")}function qt(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Dn(n){return{providers:n.providers||[],imports:n.imports||[]}}function Wt(n){return $e(n,We)||$e(n,we)}function It(n){return null!==Wt(n)}function $e(n,o){return n.hasOwnProperty(o)?n[o]:null}function Pe(n){return n&&(n.hasOwnProperty(He)||n.hasOwnProperty(te))?n[He]:null}const We=S({\u0275prov:S}),He=S({\u0275inj:S}),we=S({ngInjectableDef:S}),te=S({ngInjectorDef:S});var ce=(()=>((ce=ce||{})[ce.Default=0]="Default",ce[ce.Host=1]="Host",ce[ce.Self=2]="Self",ce[ce.SkipSelf=4]="SkipSelf",ce[ce.Optional=8]="Optional",ce))();let De;function vt(n){const o=De;return De=n,o}function rn(n,o,r){const l=Wt(n);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:r&ce.Optional?null:void 0!==o?o:void W(L(n))}const st=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ot={},Lt="__NG_DI_FLAG__",Gt="ngTempTokenPath",J=/\n/gm,q="__source";let Me;function tt(n){const o=Me;return Me=n,o}function Je(n,o=ce.Default){if(void 0===Me)throw new N(-203,!1);return null===Me?rn(n,void 0,o):Me.get(n,o&ce.Optional?null:void 0,o)}function rt(n,o=ce.Default){return(function Ge(){return De}()||Je)(F(n),o)}function Tt(n,o=ce.Default){return rt(n,mn(o))}function mn(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Ze(n){const o=[];for(let r=0;r((at=at||{})[at.OnPush=0]="OnPush",at[at.Default=1]="Default",at))(),Bt=(()=>{return(n=Bt||(Bt={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Bt;var n})();const ln={},At=[],dt=S({\u0275cmp:S}),ft=S({\u0275dir:S}),ne=S({\u0275pipe:S}),B=S({\u0275mod:S}),Te=S({\u0275fac:S}),Ye=S({__NG_ELEMENT_ID__:S}),yt=S({__NG_ENV_ID__:S});function Kt(n,o,r){let l=n.length;for(;;){const f=n.indexOf(o,r);if(-1===f)return f;if(0===f||n.charCodeAt(f-1)<=32){const _=o.length;if(f+_===l||n.charCodeAt(f+_)<=32)return f}r=f+1}}function Zt(n,o,r){let l=0;for(;lo){b=_-1;break}}}for(;__?"":f[bt+1].toLowerCase();const cn=8&l?Xt:null;if(cn&&-1!==Kt(cn,Ie,0)||2&l&&Ie!==Xt){if(Xn(l))return!1;b=!0}}}}else{if(!b&&!Xn(l)&&!Xn(oe))return!1;if(b&&Xn(oe))continue;b=!1,l=oe|1&l}}return Xn(l)||b}function Xn(n){return 0==(1&n)}function Jo(n,o,r,l){if(null===o)return-1;let f=0;if(l||!r){let _=!1;for(;f-1)for(r++;r0?'="'+$+'"':"")+"]"}else 8&l?f+="."+b:4&l&&(f+=" "+b);else""!==f&&!Xn(b)&&(o+=Di(_,f),f=""),l=b,_=_||!Xn(l);r++}return""!==f&&(o+=Di(_,f)),o}function wi(n){return Ae(()=>{const o=Xo(n),r={...o,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===at.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Bt.Emulated,styles:n.styles||At,_:null,schemas:n.schemas||null,tView:null,id:""};bi(r);const l=n.dependencies;return r.directiveDefs=Si(l,!1),r.pipeDefs=Si(l,!0),r.id=function Qi(n){let o=0;const r=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const f of r)o=Math.imul(31,o)+f.charCodeAt(0)<<0;return o+=2147483648,"c"+o}(r),r})}function Ri(n,o,r){const l=n.\u0275cmp;l.directiveDefs=Si(o,!1),l.pipeDefs=Si(r,!0)}function Sr(n){return Kn(n)||xo(n)}function Er(n){return null!==n}function Mi(n){return Ae(()=>({type:n.type,bootstrap:n.bootstrap||At,declarations:n.declarations||At,imports:n.imports||At,exports:n.exports||At,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Ki(n,o){if(null==n)return ln;const r={};for(const l in n)if(n.hasOwnProperty(l)){let f=n[l],_=f;Array.isArray(f)&&(_=f[1],f=f[0]),r[f]=l,o&&(o[f]=_)}return r}function ur(n){return Ae(()=>{const o=Xo(n);return bi(o),o})}function nr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Kn(n){return n[dt]||null}function xo(n){return n[ft]||null}function Uo(n){return n[ne]||null}function ni(n){const o=Kn(n)||xo(n)||Uo(n);return null!==o&&o.standalone}function yo(n,o){const r=n[B]||null;if(!r&&!0===o)throw new Error(`Type ${L(n)} does not have '\u0275mod' property.`);return r}function Xo(n){const o={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:o,inputTransforms:null,inputConfig:n.inputs||ln,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||At,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ki(n.inputs,o),outputs:Ki(n.outputs)}}function bi(n){n.features?.forEach(o=>o(n))}function Si(n,o){if(!n)return null;const r=o?Uo:Sr;return()=>("function"==typeof n?n():n).map(l=>r(l)).filter(Er)}const qo=0,jn=1,ao=2,Ue=3,re=4,Oe=5,Qe=6,zt=7,kt=8,en=9,hn=10,Jt=11,yn=12,Rn=13,Mn=14,dn=15,En=16,Gn=17,Fn=18,Bn=19,Ln=20,ho=21,eo=22,co=23,Oo=24,Jn=25,Ao=1,Go=2,Co=7,vi=9,Fo=11;function ai(n){return Array.isArray(n)&&"object"==typeof n[Ao]}function mi(n){return Array.isArray(n)&&!0===n[Ao]}function Ji(n){return 0!=(4&n.flags)}function Fi(n){return n.componentOffset>-1}function Yi(n){return 1==(1&n.flags)}function pi(n){return!!n.template}function Le(n){return 0!=(512&n[ao])}function hi(n,o){return n.hasOwnProperty(Te)?n[Te]:null}let zr=st.WeakRef??class Ys{constructor(o){this.ref=o}deref(){return this.ref}},Rr=0,or=null,dr=!1;function yi(n){const o=or;return or=n,o}class pr{constructor(){this.id=Rr++,this.ref=function nc(n){return new zr(n)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[o,r]of this.producers){const l=r.producerNode.deref();if(null!=l&&r.atTrackingVersion===this.trackingVersion){if(l.producerPollStatus(r.seenValueVersion))return!0}else this.producers.delete(o),l?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const o=dr;dr=!0;try{for(const[r,l]of this.consumers){const f=l.consumerNode.deref();null!=f&&f.trackingVersion===l.atTrackingVersion?f.onConsumerDependencyMayHaveChanged():(this.consumers.delete(r),f?.producers.delete(this.id))}}finally{dr=o}}producerAccessed(){if(dr)throw new Error("");if(null===or)return;let o=or.producers.get(this.id);void 0===o?(o={consumerNode:or.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:or.trackingVersion},or.producers.set(this.id,o),this.consumers.set(or.id,o)):(o.seenValueVersion=this.valueVersion,o.atTrackingVersion=or.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==or?.consumerAllowSignalWrites}producerPollStatus(o){return this.valueVersion!==o||(this.onProducerUpdateValueVersion(),this.valueVersion!==o)}}let ds=null;function Or(n){const o=yi(null);try{return n()}finally{yi(o)}}const ir=()=>{};class is extends pr{constructor(o,r,l){super(),this.watch=o,this.schedule=r,this.dirty=!1,this.cleanupFn=ir,this.registerOnCleanup=f=>{this.cleanupFn=f},this.consumerAllowSignalWrites=l}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const o=yi(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=ir,this.watch(this.registerOnCleanup)}finally{yi(o)}}cleanup(){this.cleanupFn()}}class Hr{constructor(o,r,l){this.previousValue=o,this.currentValue=r,this.firstChange=l}isFirstChange(){return this.firstChange}}function ps(){return hs}function hs(n){return n.type.prototype.ngOnChanges&&(n.setInput=Os),Us}function Us(){const n=za(this),o=n?.current;if(o){const r=n.previous;if(r===ln)n.previous=o;else for(let l in o)r[l]=o[l];n.current=null,this.ngOnChanges(o)}}function Os(n,o,r,l){const f=this.declaredInputs[r],_=za(n)||function Gs(n,o){return n[ws]=o}(n,{previous:ln,current:null}),b=_.current||(_.current={}),$=_.previous,oe=$[f];b[f]=new Hr(oe&&oe.currentValue,o,$===ln),n[l]=o}ps.ngInherit=!0;const ws="__ngSimpleChanges__";function za(n){return n[ws]||null}const $i=function(n,o,r){},Li="svg";function ii(n){for(;Array.isArray(n);)n=n[qo];return n}function ie(n,o){return ii(o[n])}function Ne(n,o){return ii(o[n.index])}function et(n,o){return n.data[o]}function Pt(n,o){return n[o]}function pn(n,o){const r=o[n];return ai(r)?r:r[qo]}function fo(n,o){return null==o?null:n[o]}function Vo(n){n[Gn]=0}function wo(n){1024&n[ao]||(n[ao]|=1024,Wo(n,1))}function ci(n){1024&n[ao]&&(n[ao]&=-1025,Wo(n,-1))}function Wo(n,o){let r=n[Ue];if(null===r)return;r[Oe]+=o;let l=r;for(r=r[Ue];null!==r&&(1===o&&1===l[Oe]||-1===o&&0===l[Oe]);)r[Oe]+=o,l=r,r=r[Ue]}const ro={lFrame:Ul(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ta(){return ro.bindingsEnabled}function Pr(){return null!==ro.skipHydrationRootTNode}function wn(){return ro.lFrame.lView}function Bo(){return ro.lFrame.tView}function $c(n){return ro.lFrame.contextLView=n,n[kt]}function Zs(n){return ro.lFrame.contextLView=null,n}function Ei(){let n=rs();for(;null!==n&&64===n.type;)n=n.parent;return n}function rs(){return ro.lFrame.currentTNode}function mr(n,o){const r=ro.lFrame;r.currentTNode=n,r.isParent=o}function Ma(){return ro.lFrame.isParent}function Uc(){ro.lFrame.isParent=!1}function ar(){const n=ro.lFrame;let o=n.bindingRootIndex;return-1===o&&(o=n.bindingRootIndex=n.tView.bindingStartIndex),o}function Ps(){return ro.lFrame.bindingIndex++}function es(n){const o=ro.lFrame,r=o.bindingIndex;return o.bindingIndex=o.bindingIndex+n,r}function Yl(n,o){const r=ro.lFrame;r.bindingIndex=r.bindingRootIndex=n,ac(o)}function ac(n){ro.lFrame.currentDirectiveIndex=n}function cc(n){const o=ro.lFrame.currentDirectiveIndex;return-1===o?null:n[o]}function Sa(){return ro.lFrame.currentQueryIndex}function Ea(n){ro.lFrame.currentQueryIndex=n}function jc(n){const o=n[jn];return 2===o.type?o.declTNode:1===o.type?n[Qe]:null}function Wc(n,o,r){if(r&ce.SkipSelf){let f=o,_=n;for(;!(f=f.parent,null!==f||r&ce.Host||(f=jc(_),null===f||(_=_[Mn],10&f.type))););if(null===f)return!1;o=f,n=_}const l=ro.lFrame=lc();return l.currentTNode=o,l.lView=n,!0}function Zc(n){const o=lc(),r=n[jn];ro.lFrame=o,o.currentTNode=r.firstChild,o.lView=n,o.tView=r,o.contextLView=n,o.bindingIndex=r.bindingStartIndex,o.inI18n=!1}function lc(){const n=ro.lFrame,o=null===n?null:n.child;return null===o?Ul(n):o}function Ul(n){const o={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=o),o}function Gl(){const n=ro.lFrame;return ro.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Ql=Gl;function Kc(){const n=Gl();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function D(){return ro.lFrame.selectedIndex}function ue(n){ro.lFrame.selectedIndex=n}function Fe(){const n=ro.lFrame;return et(n.tView,n.selectedIndex)}function ht(){ro.lFrame.currentNamespace=Li}let so=!0;function jo(){return so}function li(n){so=n}function Gr(n,o){for(let r=o.directiveStart,l=o.directiveEnd;r=l)break}else o[oe]<0&&(n[Gn]+=65536),($<_||-1==_)&&(c1(n,r,o,oe),n[Gn]=(4294901760&n[Gn])+oe+2),oe++}function a1(n,o){$i(4,n,o);const r=yi(null);try{o.call(n)}finally{yi(r),$i(5,n,o)}}function c1(n,o,r,l){const f=r[l]<0,_=r[l+1],$=n[f?-r[l]:r[l]];f?n[ao]>>13>16&&(3&n[ao])===o&&(n[ao]+=8192,a1($,_)):a1($,_)}const Is=-1;class xa{constructor(o,r,l){this.factory=o,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=l}}function Wl(n){return n!==Is}function dc(n){return 32767&n}function As(n,o){let r=function Zl(n){return n>>16}(n),l=o;for(;r>0;)l=l[Mn],r--;return l}let pc=!0;function hc(n){const o=pc;return pc=n,o}const Kl=255,Jl=5;let ql=0;const ts={};function fc(n,o){const r=Fs(n,o);if(-1!==r)return r;const l=o[jn];l.firstCreatePass&&(n.injectorIndex=o.length,Da(l.data,n),Da(o,null),Da(l.blueprint,null));const f=qs(n,o),_=n.injectorIndex;if(Wl(f)){const b=dc(f),$=As(f,o),oe=$[jn].data;for(let Ie=0;Ie<8;Ie++)o[_+Ie]=$[b+Ie]|oe[b+Ie]}return o[_+8]=f,_}function Da(n,o){n.push(0,0,0,0,0,0,0,0,o)}function Fs(n,o){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===o[n.injectorIndex+8]?-1:n.injectorIndex}function qs(n,o){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let r=0,l=null,f=o;for(;null!==f;){if(l=iu(f),null===l)return Is;if(r++,f=f[Mn],-1!==l.injectorIndex)return l.injectorIndex|r<<16}return Is}function mc(n,o,r){!function Od(n,o,r){let l;"string"==typeof r?l=r.charCodeAt(0)||0:r.hasOwnProperty(Ye)&&(l=r[Ye]),null==l&&(l=r[Ye]=ql++);const f=l&Kl;o.data[n+(f>>Jl)]|=1<=0?o&Kl:ou:o}(r);if("function"==typeof _){if(!Wc(o,n,l))return l&ce.Host?Xl(f,0,l):p1(o,r,l,f);try{const b=_(l);if(null!=b||l&ce.Optional)return b;W()}finally{Ql()}}else if("number"==typeof _){let b=null,$=Fs(n,o),oe=Is,Ie=l&ce.Host?o[dn][Qe]:null;for((-1===$||l&ce.SkipSelf)&&(oe=-1===$?qs(n,o):o[$+8],oe!==Is&&qc(l,!1)?(b=o[jn],$=dc(oe),o=As(oe,o)):$=-1);-1!==$;){const nt=o[jn];if(nu(_,$,nt.data)){const bt=gc($,o,r,b,l,Ie);if(bt!==ts)return bt}oe=o[$+8],oe!==Is&&qc(l,o[jn].data[$+8]===Ie)&&nu(_,$,o)?(b=nt,$=dc(oe),o=As(oe,o)):$=-1}}return f}function gc(n,o,r,l,f,_){const b=o[jn],$=b.data[n+8],nt=Xs($,b,r,null==l?Fi($)&&pc:l!=b&&0!=(3&$.type),f&ce.Host&&_===$);return null!==nt?ms(o,b,nt,$):ts}function Xs(n,o,r,l,f){const _=n.providerIndexes,b=o.data,$=1048575&_,oe=n.directiveStart,nt=_>>20,Xt=f?$+nt:n.directiveEnd;for(let cn=l?$:$+nt;cn=oe&&xn.type===r)return cn}if(f){const cn=b[oe];if(cn&&pi(cn)&&cn.type===r)return oe}return null}function ms(n,o,r,l){let f=n[r];const _=o.data;if(function Jc(n){return n instanceof xa}(f)){const b=f;b.resolving&&function x(n,o){const r=o?`. Dependency path: ${o.join(" > ")} > ${n}`:"";throw new N(-200,`Circular dependency in DI detected for ${n}${r}`)}(function A(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():O(n)}(_[r]));const $=hc(b.canSeeViewProviders);b.resolving=!0;const oe=b.injectImpl?vt(b.injectImpl):null;Wc(n,l,ce.Default);try{f=n[r]=b.factory(void 0,_,n,l),o.firstCreatePass&&r>=l.directiveStart&&function Js(n,o,r){const{ngOnChanges:l,ngOnInit:f,ngDoCheck:_}=o.type.prototype;if(l){const b=hs(o);(r.preOrderHooks??=[]).push(n,b),(r.preOrderCheckHooks??=[]).push(n,b)}f&&(r.preOrderHooks??=[]).push(0-n,f),_&&((r.preOrderHooks??=[]).push(n,_),(r.preOrderCheckHooks??=[]).push(n,_))}(r,_[r],o)}finally{null!==oe&&vt(oe),hc($),b.resolving=!1,Ql()}}return f}function nu(n,o,r){return!!(r[o+(n>>Jl)]&1<{const o=n.prototype.constructor,r=o[Te]||_c(o),l=Object.prototype;let f=Object.getPrototypeOf(n.prototype).constructor;for(;f&&f!==l;){const _=f[Te]||_c(f);if(_&&_!==r)return _;f=Object.getPrototypeOf(f)}return _=>new _})}function _c(n){return R(n)?()=>{const o=_c(F(n));return o&&o()}:hi(n)}function iu(n){const o=n[jn],r=o.type;return 2===r?o.declTNode:1===r?n[Qe]:null}function Xc(n){return function Oa(n,o){if("class"===o)return n.classes;if("style"===o)return n.styles;const r=n.attrs;if(r){const l=r.length;let f=0;for(;f{const l=function yc(n){return function(...r){if(n){const l=n(...r);for(const f in l)this[f]=l[f]}}}(o);function f(..._){if(this instanceof f)return l.apply(this,_),this;const b=new f(..._);return $.annotation=b,$;function $(oe,Ie,nt){const bt=oe.hasOwnProperty(na)?oe[na]:Object.defineProperty(oe,na,{value:[]})[na];for(;bt.length<=nt;)bt.push(null);return(bt[nt]=bt[nt]||[]).push(b),oe}}return r&&(f.prototype=Object.create(r.prototype)),f.prototype.ngMetadataName=n,f.annotationCls=f,f})}const tl=Function;function sa(n,o){n.forEach(r=>Array.isArray(r)?sa(r,o):o(r))}function nl(n,o,r){o>=n.length?n.push(r):n.splice(o,0,r)}function Pa(n,o){return o>=n.length-1?n.pop():n.splice(o,1)[0]}function aa(n,o){const r=[];for(let l=0;l=0?n[1|l]=r:(l=~l,function ol(n,o,r,l){let f=n.length;if(f==o)n.push(r,l);else if(1===f)n.push(l,n[0]),n[0]=r;else{for(f--,n.push(n[f-1],n[f]);f>o;)n[f]=n[f-2],f--;n[o]=r,n[o+1]=l}}(n,l,o,r)),l}function Cc(n,o){const r=vs(n,o);if(r>=0)return n[1|r]}function vs(n,o){return function il(n,o,r){let l=0,f=n.length>>r;for(;f!==l;){const _=l+(f-l>>1),b=n[_<o?f=_:l=_+1}return~(f<({token:n})),-1),Aa=ut(oa("Optional"),8),Fa=ut(oa("SkipSelf"),4);function Ha(n){return 128==(128&n.flags)}var jr=(()=>((jr=jr||{})[jr.Important=1]="Important",jr[jr.DashCase=2]="DashCase",jr))();const vl=/^>|^->||--!>|)/,Tu="\u200b$1\u200b";const xc=new Map;let bu=0;function ys(n){return xc.get(n)||null}class Eu{get lView(){return ys(this.lViewId)}constructor(o,r,l){this.lViewId=o,this.nodeIndex=r,this.native=l}}function qi(n){let o=ua(n);if(o){if(ai(o)){const r=o;let l,f,_;if(da(n)){if(l=function xu(n,o){const r=n[jn].components;if(r)for(let l=0;l=0){const $=ii(_[b]),oe=Oc(_,b,$);ji($,oe),o=oe;break}}}}return o||null}function Oc(n,o,r){return new Eu(n[Bn],o,r)}const wc="__ngContext__";function ji(n,o){ai(o)?(n[wc]=o[Bn],function Su(n){xc.set(n[Bn],n)}(o)):n[wc]=o}function ua(n){const o=n[wc];return"number"==typeof o?ys(o):o||null}function da(n){return n&&n.constructor&&n.constructor.\u0275cmp}function N1(n,o){const r=n[jn];for(let l=Jn;lo.replace(Ec,Tu))}(o))}function $a(n,o,r){return n.createElement(o,r)}function Iu(n,o){const r=n[vi],l=r.indexOf(o);ci(o),r.splice(l,1)}function Au(n,o){if(n.length<=Fo)return;const r=Fo+o,l=n[r];if(l){const f=l[En];null!==f&&f!==n&&Iu(f,l),o>0&&(n[r-1][re]=l[re]);const _=Pa(n,Fo+o);!function Pu(n,o){Ua(n,o,o[Jt],2,null,null),o[qo]=null,o[Qe]=null}(l[jn],l);const b=_[Fn];null!==b&&b.detachView(_[jn]),l[Ue]=null,l[re]=null,l[ao]&=-129}return l}function W1(n,o){if(!(256&o[ao])){const r=o[Jt];o[co]?.destroy(),o[Oo]?.destroy(),r.destroyNode&&Ua(n,o,r,3,null,null),function G1(n){let o=n[yn];if(!o)return bl(n[jn],n);for(;o;){let r=null;if(ai(o))r=o[yn];else{const l=o[Fo];l&&(r=l)}if(!r){for(;o&&!o[re]&&o!==n;)ai(o)&&bl(o[jn],o),o=o[Ue];null===o&&(o=n),ai(o)&&bl(o[jn],o),r=o&&o[re]}o=r}}(o)}}function bl(n,o){if(!(256&o[ao])){o[ao]&=-129,o[ao]|=256,function K1(n,o){let r;if(null!=n&&null!=(r=n.destroyHooks))for(let l=0;l=0?l[b]():l[-b].unsubscribe(),_+=2}else r[_].call(l[r[_+1]]);null!==l&&(o[zt]=null);const f=o[ho];if(null!==f){o[ho]=null;for(let _=0;_-1){const{encapsulation:_}=n.data[l.directiveStart+f];if(_===Bt.None||_===Bt.Emulated)return null}return Ne(l,r)}}(n,o.parent,r)}function as(n,o,r,l,f){n.insertBefore(o,r,l,f)}function Zn(n,o,r){n.appendChild(o,r)}function xi(n,o,r,l,f){null!==l?as(n,o,r,l,f):Zn(n,o,r)}function se(n,o){return n.parentNode(o)}function J1(n,o,r){return Nu(n,o,r)}let Lu,Dl,Fc,wl,Nu=function zo(n,o,r){return 40&n.type?Ne(n,r):null};function El(n,o,r,l){const f=Sl(n,l,o),_=o[Jt],$=J1(l.parent||o[Qe],l,o);if(null!=f)if(Array.isArray(r))for(let oe=0;oen,createScript:n=>n,createScriptURL:n=>n})}catch{}return Dl}()?.createHTML(n)||n}function Vs(n){Fc=n}function Qa(){if(void 0!==Fc)return Fc;if(typeof document<"u")return document;throw new N(210,!1)}function ja(){if(void 0===wl&&(wl=null,st.trustedTypes))try{wl=st.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return wl}function Pl(n){return ja()?.createHTML(n)||n}function nd(n){return ja()?.createScriptURL(n)||n}class Fr{constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${K})`}}class dp extends Fr{getTypeName(){return"HTML"}}class pp extends Fr{getTypeName(){return"Style"}}class Il extends Fr{getTypeName(){return"Script"}}class fa extends Fr{getTypeName(){return"URL"}}class Nd extends Fr{getTypeName(){return"ResourceURL"}}function Bs(n){return n instanceof Fr?n.changingThisBreaksApplicationSecurity:n}function Nc(n,o){const r=function hp(n){return n instanceof Fr&&n.getTypeName()||null}(n);if(null!=r&&r!==o){if("ResourceURL"===r&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${r} (see ${K})`)}return r===o}function fp(n){return new dp(n)}function mp(n){return new pp(n)}function Ld(n){return new Il(n)}function Al(n){return new fa(n)}function kd(n){return new Nd(n)}class cr{constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o=""+o;try{const r=(new window.DOMParser).parseFromString(Ga(o),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(o):(r.removeChild(r.firstChild),r)}catch{return null}}}class od{constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const r=this.inertDocument.createElement("template");return r.innerHTML=Ga(o),r}}const Rd=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Lc(n){return(n=String(n)).match(Rd)?n:"unsafe:"+n}function Nr(n){const o={};for(const r of n.split(","))o[r]=!0;return o}function kc(...n){const o={};for(const r of n)for(const l in r)r.hasOwnProperty(l)&&(o[l]=!0);return o}const Fl=Nr("area,br,col,hr,img,wbr"),rd=Nr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Hu=Nr("rp,rt"),Yu=kc(Fl,kc(rd,Nr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),kc(Hu,Nr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),kc(Hu,rd)),Nl=Nr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hd=kc(Nl,Nr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Yd=Nr("script,style,template");class $d{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(o){let r=o.firstChild,l=!0;for(;r;)if(r.nodeType===Node.ELEMENT_NODE?l=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,l&&r.firstChild)r=r.firstChild;else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let f=this.checkClobberedElement(r,r.nextSibling);if(f){r=f;break}r=this.checkClobberedElement(r,r.parentNode)}return this.buf.join("")}startElement(o){const r=o.nodeName.toLowerCase();if(!Yu.hasOwnProperty(r))return this.sanitizedSomething=!0,!Yd.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const l=o.attributes;for(let f=0;f"),!0}endElement(o){const r=o.nodeName.toLowerCase();Yu.hasOwnProperty(r)&&!Fl.hasOwnProperty(r)&&(this.buf.push(""))}chars(o){this.buf.push(cd(o))}checkClobberedElement(o,r){if(r&&(o.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${o.outerHTML}`);return r}}const ad=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$u=/([^\#-~ |!])/g;function cd(n){return n.replace(/&/g,"&").replace(ad,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace($u,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(//g,">")}let zs;function Ud(n,o){let r=null;try{zs=zs||function Bu(n){const o=new od(n);return function id(){try{return!!(new window.DOMParser).parseFromString(Ga(""),"text/html")}catch{return!1}}()?new cr(o):o}(n);let l=o?String(o):"";r=zs.getInertBodyElement(l);let f=5,_=l;do{if(0===f)throw new Error("Failed to sanitize html because the input is unstable");f--,l=_,_=r.innerHTML,r=zs.getInertBodyElement(l)}while(l!==_);return Ga((new $d).sanitizeChildren(ld(r)||r))}finally{if(r){const l=ld(r)||r;for(;l.firstChild;)l.removeChild(l.firstChild)}}}function ld(n){return"content"in n&&function Kp(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Bi=(()=>((Bi=Bi||{})[Bi.NONE=0]="NONE",Bi[Bi.HTML=1]="HTML",Bi[Bi.STYLE=2]="STYLE",Bi[Bi.SCRIPT=3]="SCRIPT",Bi[Bi.URL=4]="URL",Bi[Bi.RESOURCE_URL=5]="RESOURCE_URL",Bi))();function Uu(n){const o=Gu();return o?Pl(o.sanitize(Bi.HTML,n)||""):Nc(n,"HTML")?Pl(Bs(n)):Ud(Qa(),O(n))}function ma(n){const o=Gu();return o?o.sanitize(Bi.STYLE,n)||"":Nc(n,"Style")?Bs(n):O(n)}function ud(n){const o=Gu();return o?o.sanitize(Bi.URL,n)||"":Nc(n,"URL")?Bs(n):Lc(O(n))}function dd(n){const o=Gu();if(o)return nd(o.sanitize(Bi.RESOURCE_URL,n)||"");if(Nc(n,"ResourceURL"))return nd(Bs(n));throw new N(904,!1)}function jd(n,o,r){return function pd(n,o){return"src"===o&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===o&&("base"===n||"link"===n)?dd:ud}(o,r)(n)}function Gu(){const n=wn();return n&&n[hn].sanitizer}class ri{constructor(o,r){this._desc=o,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=qt({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Qu=new ri("ENVIRONMENT_INITIALIZER"),_p=new ri("INJECTOR",-1),gi=new ri("INJECTOR_DEF_TYPES");class Ts{get(o,r=Ot){if(r===Ot){const l=new Error(`NullInjectorError: No provider for ${L(o)}!`);throw l.name="NullInjectorError",l}return r}}function fd(n){return{\u0275providers:n}}function yp(...n){return{\u0275providers:Wd(0,n),\u0275fromNgModule:!0}}function Wd(n,...o){const r=[],l=new Set;let f;return sa(o,_=>{const b=_;md(b,r,[],l)&&(f||=[],f.push(b))}),void 0!==f&&Zd(f,r),r}function Zd(n,o){for(let r=0;r{o.push(_)})}}function md(n,o,r,l){if(!(n=F(n)))return!1;let f=null,_=Pe(n);const b=!_&&Kn(n);if(_||b){if(b&&!b.standalone)return!1;f=n}else{const oe=n.ngModule;if(_=Pe(oe),!_)return!1;f=oe}const $=l.has(f);if(b){if($)return!1;if(l.add(f),b.dependencies){const oe="function"==typeof b.dependencies?b.dependencies():b.dependencies;for(const Ie of oe)md(Ie,o,r,l)}}else{if(!_)return!1;{if(null!=_.imports&&!$){let Ie;l.add(f);try{sa(_.imports,nt=>{md(nt,o,r,l)&&(Ie||=[],Ie.push(nt))})}finally{}void 0!==Ie&&Zd(Ie,o)}if(!$){const Ie=hi(f)||(()=>new f);o.push({provide:f,useFactory:Ie,deps:At},{provide:gi,useValue:f,multi:!0},{provide:Qu,useValue:()=>rt(f),multi:!0})}const oe=_.providers;null==oe||$||gd(oe,nt=>{o.push(nt)})}}return f!==n&&void 0!==n.providers}function gd(n,o){for(let r of n)ge(r)&&(r=r.\u0275providers),Array.isArray(r)?gd(r,o):o(r)}const Cp=S({provide:String,useValue:S});function vd(n){return null!==n&&"object"==typeof n&&Cp in n}function Za(n){return"function"==typeof n}const _d=new ri("Set Injector scope."),T={},p={};let h;function g(){return void 0===h&&(h=new Ts),h}class C{}class E extends C{get destroyed(){return this._destroyed}constructor(o,r,l,f){super(),this.parent=r,this.source=l,this.scopes=f,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,jt(o,b=>this.processProvider(b)),this.records.set(_p,pt(void 0,this)),f.has("environment")&&this.records.set(C,pt(void 0,this));const _=this.records.get(_d);null!=_&&"string"==typeof _.value&&this.scopes.add(_.value),this.injectorDefTypes=new Set(this.get(gi.multi,At,ce.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of o)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(o){return this.assertNotDestroyed(),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){this.assertNotDestroyed();const r=tt(this),l=vt(void 0);try{return o()}finally{tt(r),vt(l)}}get(o,r=Ot,l=ce.Default){if(this.assertNotDestroyed(),o.hasOwnProperty(yt))return o[yt](this);l=mn(l);const f=tt(this),_=vt(void 0);try{if(!(l&ce.SkipSelf)){let $=this.records.get(o);if(void 0===$){const oe=function Ut(n){return"function"==typeof n||"object"==typeof n&&n instanceof ri}(o)&&Wt(o);$=oe&&this.injectableDefInScope(oe)?pt(X(o),T):null,this.records.set(o,$)}if(null!=$)return this.hydrate(o,$)}return(l&ce.Self?g():this.parent).get(o,r=l&ce.Optional&&r===Ot?null:r)}catch(b){if("NullInjectorError"===b.name){if((b[Gt]=b[Gt]||[]).unshift(L(o)),f)throw b;return function ye(n,o,r,l){const f=n[Gt];throw o[q]&&f.unshift(o[q]),n.message=function mt(n,o,r,l=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let f=L(o);if(Array.isArray(o))f=o.map(L).join(" -> ");else if("object"==typeof o){let _=[];for(let b in o)if(o.hasOwnProperty(b)){let $=o[b];_.push(b+":"+("string"==typeof $?JSON.stringify($):L($)))}f=`{${_.join(", ")}}`}return`${r}${l?"("+l+")":""}[${f}]: ${n.replace(J,"\n ")}`}("\n"+n.message,f,r,l),n.ngTokenPath=f,n[Gt]=null,n}(b,o,"R3InjectorError",this.source)}throw b}finally{vt(_),tt(f)}}resolveInjectorInitializers(){const o=tt(this),r=vt(void 0);try{const l=this.get(Qu.multi,At,ce.Self);for(const f of l)f()}finally{tt(o),vt(r)}}toString(){const o=[],r=this.records;for(const l of r.keys())o.push(L(l));return`R3Injector[${o.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(o){let r=Za(o=F(o))?o:F(o&&o.provide);const l=function xe(n){return vd(n)?pt(void 0,n.useValue):pt(qe(n),T)}(o);if(Za(o)||!0!==o.multi)this.records.get(r);else{let f=this.records.get(r);f||(f=pt(void 0,T,!0),f.factory=()=>Ze(f.multi),this.records.set(r,f)),r=o,f.multi.push(o)}this.records.set(r,l)}hydrate(o,r){return r.value===T&&(r.value=p,r.value=r.factory()),"object"==typeof r.value&&r.value&&function Vt(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(o){if(!o.providedIn)return!1;const r=F(o.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(o){const r=this._onDestroyHooks.indexOf(o);-1!==r&&this._onDestroyHooks.splice(r,1)}}function X(n){const o=Wt(n),r=null!==o?o.factory:hi(n);if(null!==r)return r;if(n instanceof ri)throw new N(204,!1);if(n instanceof Function)return function _e(n){const o=n.length;if(o>0)throw aa(o,"?"),new N(204,!1);const r=function Ve(n){return n&&(n[We]||n[we])||null}(n);return null!==r?()=>r.factory(n):()=>new n}(n);throw new N(204,!1)}function qe(n,o,r){let l;if(Za(n)){const f=F(n);return hi(f)||X(f)}if(vd(n))l=()=>F(n.useValue);else if(function Jd(n){return!(!n||!n.useFactory)}(n))l=()=>n.useFactory(...Ze(n.deps||[]));else if(function Kd(n){return!(!n||!n.useExisting)}(n))l=()=>rt(F(n.useExisting));else{const f=F(n&&(n.useClass||n.provide));if(!function St(n){return!!n.deps}(n))return hi(f)||X(f);l=()=>new f(...Ze(n.deps))}return l}function pt(n,o,r=!1){return{factory:n,value:o,multi:r?[]:void 0}}function jt(n,o){for(const r of n)Array.isArray(r)?jt(r,o):r&&ge(r)?jt(r.\u0275providers,o):o(r)}const Qt=new ri("AppId",{providedIn:"root",factory:()=>fn}),fn="ng",Sn=new ri("Platform Initializer"),Vn=new ri("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),gn=new ri("AnimationModuleType"),Un=new ri("CSP nonce",{providedIn:"root",factory:()=>Qa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let yd=(n,o)=>null;function ga(n,o){return yd(n,o)}class th{}class nh{}class o4{resolveComponentFactory(o){throw function n4(n){const o=Error(`No component factory found for ${L(n)}.`);return o.ngComponent=n,o}(o)}}let Ku=(()=>{class n{}return n.NULL=new o4,n})();function r4(){return Ju(Ei(),wn())}function Ju(n,o){return new zd(Ne(n,o))}let zd=(()=>{class n{constructor(r){this.nativeElement=r}}return n.__NG_ELEMENT_ID__=r4,n})();function s4(n){return n instanceof zd?n.nativeElement:n}class ih{}let a4=(()=>{class n{constructor(){this.destroyNode=null}}return n.__NG_ELEMENT_ID__=()=>function c4(){const n=wn(),r=pn(Ei().index,n);return(ai(r)?r:n)[Jt]}(),n})(),l4=(()=>{class n{}return n.\u0275prov=qt({token:n,providedIn:"root",factory:()=>null}),n})();class rh{constructor(o){this.full=o,this.major=o.split(".")[0],this.minor=o.split(".")[1],this.patch=o.split(".").slice(2).join(".")}}const sh=new rh("16.1.5"),Sp={};function Td(n){for(;n;){n[ao]|=64;const o=ss(n);if(Le(n)&&!o)return n;n=o}return null}function Ep(n){return n.ngOriginalError}class qu{constructor(){this._console=console}handleError(o){const r=this._findOriginalError(o);this._console.error("ERROR",o),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(o){let r=o&&Ep(o);for(;r&&Ep(r);)r=Ep(r);return r||null}}const xp=new ri("",{providedIn:"root",factory:()=>!1});function lh(n){return n.ownerDocument.defaultView}function Ka(n){return n instanceof Function?n():n}class hh extends pr{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(o){this._lView=o}onConsumerDependencyMayHaveChanged(){Td(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(o,r,l){const f=yi(this);this.trackingVersion++;try{o(r,l)}finally{yi(f)}}destroy(){this.trackingVersion++}}let Md=null;function fh(){return Md??=new hh,Md}function mh(n,o){return n[o]??fh()}function Op(n,o){const r=fh();r.hasReadASignal&&(n[o]=Md,r.lView=n,Md=new hh)}const No={};function gh(n){vh(Bo(),wn(),D()+n,!1)}function vh(n,o,r,l){if(!l)if(3==(3&o[ao])){const _=n.preOrderCheckHooks;null!==_&&Qr(o,_,r)}else{const _=n.preOrderHooks;null!==_&&Ui(o,_,0,r)}ue(r)}function Th(n,o=null,r=null,l){const f=Mh(n,o,r,l);return f.resolveInjectorInitializers(),f}function Mh(n,o=null,r=null,l,f=new Set){const _=[r||At,yp(n)];return l=l||("object"==typeof n?void 0:L(n)),new E(_,o||g(),l||null,f)}let qa=(()=>{class n{static create(r,l){if(Array.isArray(r))return Th({name:""},l,r,"");{const f=r.name??"";return Th({name:f},r.parent,r.providers,f)}}}return n.THROW_IF_NOT_FOUND=Ot,n.NULL=new Ts,n.\u0275prov=qt({token:n,providedIn:"any",factory:()=>rt(_p)}),n.__NG_ELEMENT_ID__=-1,n})();function e1(n,o=ce.Default){const r=wn();return null===r?rt(n,o):eu(Ei(),r,F(n),o)}function bh(){throw new Error("invalid")}function tp(n,o,r,l,f,_,b,$,oe,Ie,nt){const bt=o.blueprint.slice();return bt[qo]=f,bt[ao]=140|l,(null!==Ie||n&&2048&n[ao])&&(bt[ao]|=2048),Vo(bt),bt[Ue]=bt[Mn]=n,bt[kt]=r,bt[hn]=b||n&&n[hn],bt[Jt]=$||n&&n[Jt],bt[en]=oe||n&&n[en]||null,bt[Qe]=_,bt[Bn]=function _l(){return bu++}(),bt[eo]=nt,bt[Ln]=Ie,bt[dn]=2==o.type?n[dn]:bt,bt}function t1(n,o,r,l,f){let _=n.data[o];if(null===_)_=function wp(n,o,r,l,f){const _=rs(),b=Ma(),oe=n.data[o]=function T4(n,o,r,l,f,_){let b=o?o.injectorIndex:-1,$=0;return Pr()&&($|=128),{type:r,index:l,insertBeforeIndex:null,injectorIndex:b,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:$,providerIndexes:0,value:f,attrs:_,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:o,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,b?_:_&&_.parent,r,o,l,f);return null===n.firstChild&&(n.firstChild=oe),null!==_&&(b?null==_.child&&null!==oe.parent&&(_.child=oe):null===_.next&&(_.next=oe,oe.prev=_)),oe}(n,o,r,l,f),function Gc(){return ro.lFrame.inI18n}()&&(_.flags|=32);else if(64&_.type){_.type=r,_.value=l,_.attrs=f;const b=function Ir(){const n=ro.lFrame,o=n.currentTNode;return n.isParent?o:o.parent}();_.injectorIndex=null===b?-1:b.injectorIndex}return mr(_,!0),_}function va(n,o,r,l){if(0===r)return-1;const f=o.length;for(let _=0;_Jn&&vh(n,o,Jn,!1),$i($?2:0,f),$)_.runInContext(r,l,f);else{const Ie=yi(null);try{r(l,f)}finally{yi(Ie)}}}finally{$&&null===o[co]&&Op(o,co),ue(b),$i($?3:1,f)}}function Pp(n,o,r){if(Ji(o)){const l=yi(null);try{const _=o.directiveEnd;for(let b=o.directiveStart;b<_;b++){const $=n.data[b];$.contentQueries&&$.contentQueries(1,r[b],b)}}finally{yi(l)}}}function n1(n,o,r){Ta()&&(function S4(n,o,r,l){const f=r.directiveStart,_=r.directiveEnd;Fi(r)&&function P2(n,o,r){const l=Ne(o,n),f=Eh(r);let b=16;r.signals?b=4096:r.onPush&&(b=64);const $=Ip(n,tp(n,f,null,b,l,o,null,n[hn].rendererFactory.createRenderer(l,r),null,null,null));n[o.index]=$}(o,r,n.data[f+r.componentOffset]),n.firstCreatePass||fc(r,o),ji(l,o);const b=r.initialInputs;for(let $=f;$<_;$++){const oe=n.data[$],Ie=ms(o,n,$,r);ji(Ie,o),null!==b&&I2(0,$-f,Ie,oe,0,b),pi(oe)&&(pn(r.index,o)[kt]=ms(o,n,$,r))}}(n,o,r,Ne(r,o)),64==(64&r.flags)&&E4(n,o,r))}function np(n,o,r=Ne){const l=o.localNames;if(null!==l){let f=o.index+1;for(let _=0;_null;function wh(n,o,r,l){for(let f in n)if(n.hasOwnProperty(f)){r=null===r?{}:r;const _=n[f];null===l?M4(r,o,f,_):l.hasOwnProperty(f)&&M4(r,o,l[f],_)}return r}function M4(n,o,r,l){n.hasOwnProperty(r)?n[r].push(o,l):n[r]=[o,l]}function bs(n,o,r,l,f,_,b,$){const oe=Ne(o,r);let nt,Ie=o.inputs;!$&&null!=Ie&&(nt=Ie[l])?(kh(n,r,nt,l,f),Fi(o)&&function M2(n,o){const r=pn(o,n);16&r[ao]||(r[ao]|=64)}(r,o.index)):3&o.type&&(l=function T2(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(l),f=null!=b?b(f,o.value||"",l):f,_.setProperty(oe,l,f))}function Ah(n,o,r,l){if(Ta()){const f=null===l?null:{"":-1},_=function x2(n,o){const r=n.directiveRegistry;let l=null,f=null;if(r)for(let _=0;_0;){const r=n[--o];if("number"==typeof r&&r<0)return r}return 0})(b)!=$&&b.push($),b.push(r,l,_)}}(n,o,l,va(n,r,f.hostVars,No),f)}function Xa(n,o,r,l,f,_){const b=Ne(n,o);!function Nh(n,o,r,l,f,_,b){if(null==_)n.removeAttribute(o,f,r);else{const $=null==b?O(_):b(_,l||"",f);n.setAttribute(o,f,$,r)}}(o[Jt],b,_,n.value,r,l,f)}function I2(n,o,r,l,f,_){const b=_[o];if(null!==b)for(let $=0;${class n{constructor(){this.all=new Set,this.queue=new Map}create(r,l,f){const _=typeof Zone>"u"?null:Zone.current,b=new is(r,Ie=>{this.all.has(Ie)&&this.queue.set(Ie,_)},f);let $;this.all.add(b),b.notify();const oe=()=>{b.cleanup(),$?.(),this.all.delete(b),this.queue.delete(b)};return $=l?.onDestroy(oe),{destroy:oe}}flush(){if(0!==this.queue.size)for(const[r,l]of this.queue)this.queue.delete(r),l?l.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return n.\u0275prov=qt({token:n,providedIn:"root",factory:()=>new n}),n})();function j(n,o,r){let l=r?n.styles:null,f=r?n.classes:null,_=0;if(null!==o)for(let b=0;b0){Zi(n,1);const f=n[jn].components;null!==f&&Mr(n,f,1)}}function Mr(n,o,r){for(let l=0;l-1&&(Au(o,l),Pa(r,l))}this._attachedToViewContainer=!1}W1(this._lView[jn],this._lView)}onDestroy(o){!function Ci(n,o){if(256==(256&n[ao]))throw new N(911,!1);null===n[ho]&&(n[ho]=[]),n[ho].push(o)}(this._lView,o)}markForCheck(){Td(this._cdRefInjectingView||this._lView)}detach(){this._lView[ao]&=-129}reattach(){this._lView[ao]|=128}detectChanges(){Mt(this._lView[jn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function U1(n,o){Ua(n,o,o[Jt],2,null,null)}(this._lView[jn],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=o}}class Z0 extends br{constructor(o){super(o),this._view=o}detectChanges(){const o=this._view;Mt(o[jn],o,o[kt],!1)}checkNoChanges(){}get context(){return null}}class K0 extends Ku{constructor(o){super(),this.ngModule=o}resolveComponentFactory(o){const r=Kn(o);return new Bh(r,this.ngModule)}}function J0(n){const o=[];for(let r in n)n.hasOwnProperty(r)&&o.push({propName:n[r],templateName:r});return o}class Bm{constructor(o,r){this.injector=o,this.parentInjector=r}get(o,r,l){l=mn(l);const f=this.injector.get(o,Sp,l);return f!==Sp||r===Sp?f:this.parentInjector.get(o,r,l)}}class Bh extends nh{get inputs(){const o=this.componentDef,r=o.inputTransforms,l=J0(o.inputs);if(null!==r)for(const f of l)r.hasOwnProperty(f.propName)&&(f.transform=r[f.propName]);return l}get outputs(){return J0(this.componentDef.outputs)}constructor(o,r){super(),this.componentDef=o,this.ngModule=r,this.componentType=o.type,this.selector=function Oi(n){return n.map(Nn).join(",")}(o.selectors),this.ngContentSelectors=o.ngContentSelectors?o.ngContentSelectors:[],this.isBoundToModule=!!r}create(o,r,l,f){let _=(f=f||this.ngModule)instanceof C?f:f?.injector;_&&null!==this.componentDef.getStandaloneInjector&&(_=this.componentDef.getStandaloneInjector(_)||_);const b=_?new Bm(o,_):o,$=b.get(ih,null);if(null===$)throw new N(407,!1);const nt={rendererFactory:$,sanitizer:b.get(l4,null),effectManager:b.get(c,null)},bt=$.createRenderer(null,this.componentDef),Xt=this.componentDef.selectors[0][0]||"div",cn=l?function y4(n,o,r,l){const _=l.get(xp,!1)||r===Bt.ShadowDom,b=n.selectRootElement(o,_);return function C4(n){Dh(n)}(b),b}(bt,l,this.componentDef.encapsulation,b):$a(bt,Xt,function Vm(n){const o=n.toLowerCase();return"svg"===o?Li:"math"===o?"math":null}(Xt)),qn=this.componentDef.signals?4608:this.componentDef.onPush?576:528,go=xh(0,null,null,1,0,null,null,null,null,null,null),Pn=tp(null,go,null,qn,null,null,nt,bt,b,null,null);let Lo,ti;Zc(Pn);try{const si=this.componentDef;let us,a2=null;si.findHostDirectiveDefs?(us=[],a2=new Map,si.findHostDirectiveDefs(si,us,a2),us.push(si)):us=[si];const E5=function Ym(n,o){const r=n[jn],l=Jn;return n[l]=o,t1(r,l,2,"#host",null)}(Pn,cn),x5=function $m(n,o,r,l,f,_,b){const $=f[jn];!function Um(n,o,r,l){for(const f of n)o.mergedAttrs=Wn(o.mergedAttrs,f.hostAttrs);null!==o.mergedAttrs&&(j(o,o.mergedAttrs,!0),null!==r&&Fd(l,r,o))}(l,n,o,b);let oe=null;null!==o&&(oe=ga(o,f[en]));const Ie=_.rendererFactory.createRenderer(o,r);let nt=16;r.signals?nt=4096:r.onPush&&(nt=64);const bt=tp(f,Eh(r),null,nt,f[n.index],n,_,Ie,null,null,oe);return $.firstCreatePass&&Fh($,n,l.length-1),Ip(f,bt),f[n.index]=bt}(E5,cn,si,us,Pn,nt,bt);ti=et(go,Jn),cn&&function Qm(n,o,r,l){if(l)Zt(n,r,["ng-version",sh.full]);else{const{attrs:f,classes:_}=function Ai(n){const o=[],r=[];let l=1,f=2;for(;l0&&ed(n,r,_.join(" "))}}(bt,si,cn,l),void 0!==r&&function jm(n,o,r){const l=n.projection=[];for(let f=0;f=0;l--){const f=n[l];f.hostVars=o+=f.hostVars,f.hostAttrs=Wn(f.hostAttrs,r=Wn(r,f.hostAttrs))}}(l)}function A4(n){return n===ln?{}:n===At?[]:n}function Km(n,o){const r=n.viewQuery;n.viewQuery=r?(l,f)=>{o(l,f),r(l,f)}:o}function Jm(n,o){const r=n.contentQueries;n.contentQueries=r?(l,f,_)=>{o(l,f,_),r(l,f,_)}:o}function qm(n,o){const r=n.hostBindings;n.hostBindings=r?(l,f)=>{o(l,f),r(l,f)}:o}function n3(n){const o=n.inputConfig,r={};for(const l in o)if(o.hasOwnProperty(l)){const f=o[l];Array.isArray(f)&&f[2]&&(r[l]=f[2])}n.inputTransforms=r}function F4(n){return!!k2(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function k2(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function kl(n,o,r){return n[o]=r}function Hh(n,o){return n[o]}function ls(n,o,r){return!Object.is(n[o],r)&&(n[o]=r,!0)}function op(n,o,r,l){const f=ls(n,o,r);return ls(n,o+1,l)||f}function tc(n,o,r,l,f,_){const b=op(n,o,r,l);return op(n,o+2,f,_)||b}function R2(n,o,r,l){const f=wn();return ls(f,Ps(),o)&&(Bo(),Xa(Fe(),f,n,o,r,l)),R2}function Np(n,o,r,l){return ls(n,Ps(),r)?o+O(r)+l:No}function Lp(n,o,r,l,f,_){const $=op(n,function Xr(){return ro.lFrame.bindingIndex}(),r,f);return es(2),$?o+O(r)+l+O(f)+_:No}function g3(n,o,r,l,f,_,b,$){const oe=wn(),Ie=Bo(),nt=n+Jn,bt=Ie.firstCreatePass?function M8(n,o,r,l,f,_,b,$,oe){const Ie=o.consts,nt=t1(o,n,4,b||null,fo(Ie,$));Ah(o,r,nt,fo(Ie,oe)),Gr(o,nt);const bt=nt.tView=xh(2,nt,l,f,_,o.directiveRegistry,o.pipeRegistry,null,o.schemas,Ie,null);return null!==o.queries&&(o.queries.template(o,nt),bt.queries=o.queries.embeddedTView(nt)),nt}(nt,Ie,oe,o,r,l,f,_,b):Ie.data[nt];mr(bt,!1);const Xt=v3(Ie,oe,bt,n);jo()&&El(Ie,oe,Xt,bt),ji(Xt,oe),Ip(oe,oe[nt]=o1(Xt,oe,Xt,bt)),Yi(bt)&&n1(Ie,oe,bt),null!=b&&np(oe,bt,$)}let v3=function _3(n,o,r,l){return li(!0),o[Jt].createComment("")};function y3(n){return Pt(function ba(){return ro.lFrame.contextLView}(),Jn+n)}function U2(n,o,r){const l=wn();return ls(l,Ps(),o)&&bs(Bo(),Fe(),l,n,o,l[Jt],r,!1),U2}function G2(n,o,r,l,f){const b=f?"class":"style";kh(n,r,o.inputs[b],b,l)}function V4(n,o,r,l){const f=wn(),_=Bo(),b=Jn+n,$=f[Jt],oe=_.firstCreatePass?function x8(n,o,r,l,f,_){const b=o.consts,oe=t1(o,n,2,l,fo(b,f));return Ah(o,r,oe,fo(b,_)),null!==oe.attrs&&j(oe,oe.attrs,!1),null!==oe.mergedAttrs&&j(oe,oe.mergedAttrs,!0),null!==o.queries&&o.queries.elementStart(o,oe),oe}(b,_,f,o,r,l):_.data[b],Ie=C3(_,f,oe,$,o,n);f[b]=Ie;const nt=Yi(oe);return mr(oe,!0),Fd($,Ie,oe),32!=(32&oe.flags)&&jo()&&El(_,f,Ie,oe),0===function $r(){return ro.lFrame.elementDepthCount}()&&ji(Ie,f),function wr(){ro.lFrame.elementDepthCount++}(),nt&&(n1(_,f,oe),Pp(_,oe,f)),null!==l&&np(f,oe),V4}function B4(){let n=Ei();Ma()?Uc():(n=n.parent,mr(n,!1));const o=n;(function fs(n){return ro.skipHydrationRootTNode===n})(o)&&function Ur(){ro.skipHydrationRootTNode=null}(),function sr(){ro.lFrame.elementDepthCount--}();const r=Bo();return r.firstCreatePass&&(Gr(r,n),Ji(n)&&r.queries.elementEnd(n)),null!=o.classesWithoutHost&&function xd(n){return 0!=(8&n.flags)}(o)&&G2(r,o,wn(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function uc(n){return 0!=(16&n.flags)}(o)&&G2(r,o,wn(),o.stylesWithoutHost,!1),B4}function Q2(n,o,r,l){return V4(n,o,r,l),B4(),Q2}let C3=(n,o,r,l,f,_)=>(li(!0),$a(l,f,function no(){return ro.lFrame.currentNamespace}()));function H4(n,o,r){const l=wn(),f=Bo(),_=n+Jn,b=f.firstCreatePass?function w8(n,o,r,l,f){const _=o.consts,b=fo(_,l),$=t1(o,n,8,"ng-container",b);return null!==b&&j($,b,!0),Ah(o,r,$,fo(_,f)),null!==o.queries&&o.queries.elementStart(o,$),$}(_,f,l,o,r):f.data[_];mr(b,!0);const $=z3(f,l,b,n);return l[_]=$,jo()&&El(f,l,$,b),ji($,l),Yi(b)&&(n1(f,l,b),Pp(f,b,l)),null!=r&&np(l,b),H4}function Y4(){let n=Ei();const o=Bo();return Ma()?Uc():(n=n.parent,mr(n,!1)),o.firstCreatePass&&(Gr(o,n),Ji(n)&&o.queries.elementEnd(n)),Y4}function j2(n,o,r){return H4(n,o,r),Y4(),j2}let z3=(n,o,r,l)=>(li(!0),Ic(o[Jt],""));function T3(){return wn()}function W2(n){return!!n&&"function"==typeof n.then}function M3(n){return!!n&&"function"==typeof n.subscribe}function Z2(n,o,r,l){const f=wn(),_=Bo(),b=Ei();return b3(_,f,f[Jt],b,n,o,l),Z2}function K2(n,o){const r=Ei(),l=wn(),f=Bo();return b3(f,l,r1(cc(f.data),r,l),r,n,o),K2}function b3(n,o,r,l,f,_,b){const $=Yi(l),Ie=n.firstCreatePass&&Ap(n),nt=o[kt],bt=w4(o);let Xt=!0;if(3&l.type||b){const $n=Ne(l,o),qn=b?b($n):$n,go=bt.length,Pn=b?ti=>b(ii(ti[l.index])):l.index;let Lo=null;if(!b&&$&&(Lo=function A8(n,o,r,l){const f=n.cleanup;if(null!=f)for(let _=0;_oe?$[oe]:null}"string"==typeof b&&(_+=2)}return null}(n,o,f,l.index)),null!==Lo)(Lo.__ngLastListenerFn__||Lo).__ngNextListenerFn__=_,Lo.__ngLastListenerFn__=_,Xt=!1;else{_=E3(l,o,nt,_,!1);const ti=r.listen(qn,f,_);bt.push(_,ti),Ie&&Ie.push(f,Pn,go,go+1)}}else _=E3(l,o,nt,_,!1);const cn=l.outputs;let xn;if(Xt&&null!==cn&&(xn=cn[f])){const $n=xn.length;if($n)for(let qn=0;qn<$n;qn+=2){const si=o[xn[qn]][xn[qn+1]].subscribe(_),us=bt.length;bt.push(_,si),Ie&&Ie.push(f,l.index,us,-(us+1))}}}function S3(n,o,r,l){try{return $i(6,o,r),!1!==r(l)}catch(f){return P4(n,f),!1}finally{$i(7,o,r)}}function E3(n,o,r,l,f){return function _(b){if(b===Function)return l;Td(n.componentOffset>-1?pn(n.index,o):o);let oe=S3(o,r,l,b),Ie=_.__ngNextListenerFn__;for(;Ie;)oe=S3(o,r,Ie,b)&&oe,Ie=Ie.__ngNextListenerFn__;return f&&!1===oe&&b.preventDefault(),oe}}function x3(n=1){return function H(n){return(ro.lFrame.contextLView=function ee(n,o){for(;n>0;)o=o[Mn],n--;return o}(n,ro.lFrame.contextLView))[kt]}(n)}function F8(n,o){let r=null;const l=function Mo(n){const o=n.attrs;if(null!=o){const r=o.indexOf(5);if(!(1&r))return o[r+1]}return null}(n);for(let f=0;f>17&32767}function X2(n){return 2|n}function ip(n){return(131068&n)>>2}function e0(n,o){return-131069&n|o<<2}function t0(n){return 1|n}function k3(n,o,r,l,f){const _=n[r+1],b=null===o;let $=l?bd(_):ip(_),oe=!1;for(;0!==$&&(!1===oe||b);){const nt=n[$+1];B8(n[$],o)&&(oe=!0,n[$+1]=l?t0(nt):X2(nt)),$=l?bd(nt):ip(nt)}oe&&(n[r+1]=l?X2(_):t0(_))}function B8(n,o){return null===n||null==o||(Array.isArray(n)?n[1]:n)===o||!(!Array.isArray(n)||"string"!=typeof o)&&vs(n,o)>=0}const Lr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function R3(n){return n.substring(Lr.key,Lr.keyEnd)}function H8(n){return n.substring(Lr.value,Lr.valueEnd)}function V3(n,o){const r=Lr.textEnd;return r===o?-1:(o=Lr.keyEnd=function U8(n,o,r){for(;o32;)o++;return o}(n,Lr.key=o,r),$p(n,o,r))}function B3(n,o){const r=Lr.textEnd;let l=Lr.key=$p(n,o,r);return r===l?-1:(l=Lr.keyEnd=function G8(n,o,r){let l;for(;o=65&&(-33&l)<=90||l>=48&&l<=57);)o++;return o}(n,l,r),l=Y3(n,l,r),l=Lr.value=$p(n,l,r),l=Lr.valueEnd=function Q8(n,o,r){let l=-1,f=-1,_=-1,b=o,$=b;for(;b32&&($=b),_=f,f=l,l=-33&oe}return $}(n,l,r),Y3(n,l,r))}function H3(n){Lr.key=0,Lr.keyEnd=0,Lr.value=0,Lr.valueEnd=0,Lr.textEnd=n.length}function $p(n,o,r){for(;o=0;r=B3(o,r))j3(n,R3(o),H8(o))}function U3(n){Bc(X8,Rl,n,!0)}function Rl(n,o){for(let r=function Y8(n){return H3(n),V3(n,$p(n,0,Lr.textEnd))}(o);r>=0;r=V3(o,r))gr(n,R3(o),!0)}function Vc(n,o,r,l){const f=wn(),_=Bo(),b=es(2);_.firstUpdatePass&&Q3(_,n,b,l),o!==No&&ls(f,b,o)&&W3(_,_.data[D()],f,f[Jt],n,f[b+1]=function tg(n,o){return null==n||""===n||("string"==typeof o?n+=o:"object"==typeof n&&(n=L(Bs(n)))),n}(o,r),l,b)}function Bc(n,o,r,l){const f=Bo(),_=es(2);f.firstUpdatePass&&Q3(f,null,_,l);const b=wn();if(r!==No&&ls(b,_,r)){const $=f.data[D()];if(K3($,l)&&!G3(f,_)){let oe=l?$.classesWithoutHost:$.stylesWithoutHost;null!==oe&&(r=Y(oe,r||"")),G2(f,$,b,r,l)}else!function eg(n,o,r,l,f,_,b,$){f===No&&(f=At);let oe=0,Ie=0,nt=0=n.expandoStartIndex}function Q3(n,o,r,l){const f=n.data;if(null===f[r+1]){const _=f[D()],b=G3(n,r);K3(_,l)&&null===o&&!b&&(o=!1),o=function W8(n,o,r,l){const f=cc(n);let _=l?o.residualClasses:o.residualStyles;if(null===f)0===(l?o.classBindings:o.styleBindings)&&(r=Gh(r=r0(null,n,o,r,l),o.attrs,l),_=null);else{const b=o.directiveStylingLast;if(-1===b||n[b]!==f)if(r=r0(f,n,o,r,l),null===_){let oe=function Z8(n,o,r){const l=r?o.classBindings:o.styleBindings;if(0!==ip(l))return n[bd(l)]}(n,o,l);void 0!==oe&&Array.isArray(oe)&&(oe=r0(null,n,o,oe[1],l),oe=Gh(oe,o.attrs,l),function K8(n,o,r,l){n[bd(r?o.classBindings:o.styleBindings)]=l}(n,o,l,oe))}else _=function J8(n,o,r){let l;const f=o.directiveEnd;for(let _=1+o.directiveStylingLast;_0)&&(Ie=!0)):nt=r,f)if(0!==oe){const Xt=bd(n[$+1]);n[l+1]=U4(Xt,$),0!==Xt&&(n[Xt+1]=e0(n[Xt+1],l)),n[$+1]=function L8(n,o){return 131071&n|o<<17}(n[$+1],l)}else n[l+1]=U4($,0),0!==$&&(n[$+1]=e0(n[$+1],l)),$=l;else n[l+1]=U4(oe,0),0===$?$=l:n[oe+1]=e0(n[oe+1],l),oe=l;Ie&&(n[l+1]=X2(n[l+1])),k3(n,nt,l,!0),k3(n,nt,l,!1),function V8(n,o,r,l,f){const _=f?n.residualClasses:n.residualStyles;null!=_&&"string"==typeof o&&vs(_,o)>=0&&(r[l+1]=t0(r[l+1]))}(o,nt,n,l,_),b=U4($,oe),_?o.classBindings=b:o.styleBindings=b}(f,_,o,r,b,l)}}function r0(n,o,r,l,f){let _=null;const b=r.directiveEnd;let $=r.directiveStylingLast;for(-1===$?$=r.directiveStart:$++;$0;){const oe=n[f],Ie=Array.isArray(oe),nt=Ie?oe[1]:oe,bt=null===nt;let Xt=r[f+1];Xt===No&&(Xt=bt?At:void 0);let cn=bt?Cc(Xt,l):nt===l?Xt:void 0;if(Ie&&!G4(cn)&&(cn=Cc(oe,l)),G4(cn)&&($=cn,b))return $;const xn=n[f+1];f=b?bd(xn):ip(xn)}if(null!==o){let oe=_?o.residualClasses:o.residualStyles;null!=oe&&($=Cc(oe,l))}return $}function G4(n){return void 0!==n}function K3(n,o){return 0!=(n.flags&(o?8:16))}function J3(n,o=""){const r=wn(),l=Bo(),f=n+Jn,_=l.firstCreatePass?t1(l,f,1,o,null):l.data[f],b=q3(l,r,_,o,n);r[f]=b,jo()&&El(l,r,b,_),mr(_,!1)}let q3=(n,o,r,l,f)=>(li(!0),function Ya(n,o){return n.createText(o)}(o[Jt],l));function s0(n){return Q4("",n,""),s0}function Q4(n,o,r){const l=wn(),f=Np(l,n,o,r);return f!==No&&_a(l,D(),f),Q4}function a0(n,o,r,l,f){const _=wn(),b=Lp(_,n,o,r,l,f);return b!==No&&_a(_,D(),b),a0}function cf(n,o,r){Bc(gr,Rl,Np(wn(),n,o,r),!0)}function c0(n,o,r){const l=wn();return ls(l,Ps(),o)&&bs(Bo(),Fe(),l,n,o,l[Jt],r,!0),c0}function l0(n,o,r){const l=wn();if(ls(l,Ps(),o)){const _=Bo(),b=Fe();bs(_,b,l,n,o,r1(cc(_.data),b,l),r,!0)}return l0}const rp=void 0;var Tg=["en",[["a","p"],["AM","PM"],rp],[["AM","PM"],rp,rp],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],rp,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],rp,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",rp,"{1} 'at' {0}",rp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function zg(n){const r=Math.floor(Math.abs(n)),l=n.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===l?1:5}];let Up={};function Mg(n,o,r){"string"!=typeof o&&(r=o,o=n[Do.LocaleId]),o=o.toLowerCase().replace(/_/g,"-"),Up[o]=n,r&&(Up[o][Do.ExtraData]=r)}function u0(n){const o=function bg(n){return n.toLowerCase().replace(/_/g,"-")}(n);let r=yf(o);if(r)return r;const l=o.split("-")[0];if(r=yf(l),r)return r;if("en"===l)return Tg;throw new N(701,!1)}function _f(n){return u0(n)[Do.PluralCase]}function yf(n){return n in Up||(Up[n]=st.ng&&st.ng.common&&st.ng.common.locales&&st.ng.common.locales[n]),Up[n]}var Do=(()=>((Do=Do||{})[Do.LocaleId=0]="LocaleId",Do[Do.DayPeriodsFormat=1]="DayPeriodsFormat",Do[Do.DayPeriodsStandalone=2]="DayPeriodsStandalone",Do[Do.DaysFormat=3]="DaysFormat",Do[Do.DaysStandalone=4]="DaysStandalone",Do[Do.MonthsFormat=5]="MonthsFormat",Do[Do.MonthsStandalone=6]="MonthsStandalone",Do[Do.Eras=7]="Eras",Do[Do.FirstDayOfWeek=8]="FirstDayOfWeek",Do[Do.WeekendRange=9]="WeekendRange",Do[Do.DateFormat=10]="DateFormat",Do[Do.TimeFormat=11]="TimeFormat",Do[Do.DateTimeFormat=12]="DateTimeFormat",Do[Do.NumberSymbols=13]="NumberSymbols",Do[Do.NumberFormats=14]="NumberFormats",Do[Do.CurrencyCode=15]="CurrencyCode",Do[Do.CurrencySymbol=16]="CurrencySymbol",Do[Do.CurrencyName=17]="CurrencyName",Do[Do.Currencies=18]="Currencies",Do[Do.Directionality=19]="Directionality",Do[Do.PluralCase=20]="PluralCase",Do[Do.ExtraData=21]="ExtraData",Do))();const Gp="en-US";let Cf=Gp;function h0(n,o,r,l,f){if(n=F(n),Array.isArray(n))for(let _=0;_>20;if(Za(n)||!n.multi){const cn=new xa(oe,f,e1),xn=m0($,o,f?nt:nt+Xt,bt);-1===xn?(mc(fc(Ie,b),_,$),f0(_,n,o.length),o.push($),Ie.directiveStart++,Ie.directiveEnd++,f&&(Ie.providerIndexes+=1048576),r.push(cn),b.push(cn)):(r[xn]=cn,b[xn]=cn)}else{const cn=m0($,o,nt+Xt,bt),xn=m0($,o,nt,nt+Xt),qn=xn>=0&&r[xn];if(f&&!qn||!f&&!(cn>=0&&r[cn])){mc(fc(Ie,b),_,$);const go=function zv(n,o,r,l,f){const _=new xa(n,r,e1);return _.multi=[],_.index=o,_.componentProviders=0,Gf(_,f,l&&!r),_}(f?Cv:yv,r.length,f,l,oe);!f&&qn&&(r[xn].providerFactory=go),f0(_,n,o.length,0),o.push($),Ie.directiveStart++,Ie.directiveEnd++,f&&(Ie.providerIndexes+=1048576),r.push(go),b.push(go)}else f0(_,n,cn>-1?cn:xn,Gf(r[f?xn:cn],oe,!f&&l));!f&&l&&qn&&r[xn].componentProviders++}}}function f0(n,o,r,l){const f=Za(o),_=function zp(n){return!!n.useClass}(o);if(f||_){const oe=(_?F(o.useClass):o).prototype.ngOnDestroy;if(oe){const Ie=n.destroyHooks||(n.destroyHooks=[]);if(!f&&o.multi){const nt=Ie.indexOf(r);-1===nt?Ie.push(r,[l,oe]):Ie[nt+1].push(l,oe)}else Ie.push(r,oe)}}}function Gf(n,o,r){return r&&n.componentProviders++,n.multi.push(o)-1}function m0(n,o,r,l){for(let f=r;f{r.providersResolver=(l,f)=>function _v(n,o,r){const l=Bo();if(l.firstCreatePass){const f=pi(n);h0(r,l.data,l.blueprint,f,!0),h0(o,l.data,l.blueprint,f,!1)}}(l,f?f(n):n,o)}}class Qp{}class jf{}function Tv(n,o){return new v0(n,o??null,[])}class v0 extends Qp{constructor(o,r,l){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new K0(this);const f=yo(o);this._bootstrapComponents=Ka(f.bootstrap),this._r3Injector=Mh(o,r,[{provide:Qp,useValue:this},{provide:Ku,useValue:this.componentFactoryResolver},...l],L(o),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(o)}get injector(){return this._r3Injector}destroy(){const o=this._r3Injector;!o.destroyed&&o.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class _0 extends jf{constructor(o){super(),this.moduleType=o}create(o){return new v0(this.moduleType,o,[])}}class Wf extends Qp{constructor(o){super(),this.componentFactoryResolver=new K0(this),this.instance=null;const r=new E([...o.providers,{provide:Qp,useValue:this},{provide:Ku,useValue:this.componentFactoryResolver}],o.parent||g(),o.debugName,new Set(["environment"]));this.injector=r,o.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function Zf(n,o,r=null){return new Wf({providers:n,parent:o,debugName:r,runEnvironmentInitializers:!0}).injector}let bv=(()=>{class n{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const l=Wd(0,r.type),f=l.length>0?Zf([l],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,f)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=qt({token:n,providedIn:"environment",factory:()=>new n(rt(C))}),n})();function Kf(n){n.getStandaloneInjector=o=>o.get(bv).getOrCreateStandaloneInjector(n)}function o6(n,o,r){const l=ar()+n,f=wn();return f[l]===No?kl(f,l,r?o.call(r):o()):Hh(f,l)}function i6(n,o,r,l){return l6(wn(),ar(),n,o,r,l)}function r6(n,o,r,l,f){return u6(wn(),ar(),n,o,r,l,f)}function s6(n,o,r,l,f,_){return d6(wn(),ar(),n,o,r,l,f,_)}function a6(n,o,r,l,f,_,b){return p6(wn(),ar(),n,o,r,l,f,_,b)}function c6(n,o,r,l,f,_,b,$){const oe=ar()+n,Ie=wn(),nt=tc(Ie,oe,r,l,f,_);return ls(Ie,oe+4,b)||nt?kl(Ie,oe+5,$?o.call($,r,l,f,_,b):o(r,l,f,_,b)):Hh(Ie,oe+5)}function Jh(n,o){const r=n[o];return r===No?void 0:r}function l6(n,o,r,l,f,_){const b=o+r;return ls(n,b,f)?kl(n,b+1,_?l.call(_,f):l(f)):Jh(n,b+1)}function u6(n,o,r,l,f,_,b){const $=o+r;return op(n,$,f,_)?kl(n,$+2,b?l.call(b,f,_):l(f,_)):Jh(n,$+2)}function d6(n,o,r,l,f,_,b,$){const oe=o+r;return function N4(n,o,r,l,f){const _=op(n,o,r,l);return ls(n,o+2,f)||_}(n,oe,f,_,b)?kl(n,oe+3,$?l.call($,f,_,b):l(f,_,b)):Jh(n,oe+3)}function p6(n,o,r,l,f,_,b,$,oe){const Ie=o+r;return tc(n,Ie,f,_,b,$)?kl(n,Ie+4,oe?l.call(oe,f,_,b,$):l(f,_,b,$)):Jh(n,Ie+4)}function f6(n,o){const r=Bo();let l;const f=n+Jn;r.firstCreatePass?(l=function kv(n,o){if(o)for(let r=o.length-1;r>=0;r--){const l=o[r];if(n===l.name)return l}}(o,r.pipeRegistry),r.data[f]=l,l.onDestroy&&(r.destroyHooks??=[]).push(f,l.onDestroy)):l=r.data[f];const _=l.factory||(l.factory=hi(l.type)),b=vt(e1);try{const $=hc(!1),oe=_();return hc($),function E8(n,o,r,l){r>=n.data.length&&(n.data[r]=null,n.blueprint[r]=null),o[r]=l}(r,wn(),f,oe),oe}finally{vt(b)}}function m6(n,o,r){const l=n+Jn,f=wn(),_=Pt(f,l);return qh(f,l)?l6(f,ar(),o,_.transform,r,_):_.transform(r)}function g6(n,o,r,l){const f=n+Jn,_=wn(),b=Pt(_,f);return qh(_,f)?u6(_,ar(),o,b.transform,r,l,b):b.transform(r,l)}function v6(n,o,r,l,f){const _=n+Jn,b=wn(),$=Pt(b,_);return qh(b,_)?d6(b,ar(),o,$.transform,r,l,f,$):$.transform(r,l,f)}function _6(n,o,r,l,f,_){const b=n+Jn,$=wn(),oe=Pt($,b);return qh($,b)?p6($,ar(),o,oe.transform,r,l,f,_,oe):oe.transform(r,l,f,_)}function qh(n,o){return n[jn].data[o].pure}function C0(n){return o=>{setTimeout(n,void 0,o)}}const Vl=class Vv extends t.x{constructor(o=!1){super(),this.__isAsync=o}emit(o){super.next(o)}subscribe(o,r,l){let f=o,_=r||(()=>null),b=l;if(o&&"object"==typeof o){const oe=o;f=oe.next?.bind(oe),_=oe.error?.bind(oe),b=oe.complete?.bind(oe)}this.__isAsync&&(_=C0(_),f&&(f=C0(f)),b&&(b=C0(b)));const $=super.subscribe({next:f,error:_,complete:b});return o instanceof i.w0&&o.add($),$}};function Bv(){return this._results[Symbol.iterator]()}class J4{get changes(){return this._changes||(this._changes=new Vl)}constructor(o=!1){this._emitDistinctChangesOnly=o,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const r=J4.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=Bv)}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,r){return this._results.reduce(o,r)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,r){const l=this;l.dirty=!1;const f=function Tr(n){return n.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function su(n,o,r){if(n.length!==o.length)return!1;for(let l=0;l{class n{}return n.__NG_ELEMENT_ID__=$v,n})();const Hv=Xh,Yv=class extends Hv{constructor(o,r,l){super(),this._declarationLView=o,this._declarationTContainer=r,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,r){return this.createEmbeddedViewImpl(o,r,null)}createEmbeddedViewImpl(o,r,l){const b=this._declarationTContainer.tView,$=tp(this._declarationLView,b,o,4096&this._declarationLView[ao]?4096:16,null,b.declTNode,null,null,null,r||null,l||null);$[En]=this._declarationLView[this._declarationTContainer.index];const Ie=this._declarationLView[Fn];return null!==Ie&&($[Fn]=Ie.createEmbeddedView(b)),Vh(b,$,o),new br($)}};function $v(){return q4(Ei(),wn())}function q4(n,o){return 4&n.type?new Yv(o,n,Ju(n,o)):null}let X4=(()=>{class n{}return n.__NG_ELEMENT_ID__=Kv,n})();function Kv(){return b6(Ei(),wn())}const Jv=X4,T6=class extends Jv{constructor(o,r,l){super(),this._lContainer=o,this._hostTNode=r,this._hostLView=l}get element(){return Ju(this._hostTNode,this._hostLView)}get injector(){return new ea(this._hostTNode,this._hostLView)}get parentInjector(){const o=qs(this._hostTNode,this._hostLView);if(Wl(o)){const r=As(o,this._hostLView),l=dc(o);return new ea(r[jn].data[l+8],r)}return new ea(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const r=M6(this._lContainer);return null!==r&&r[o]||null}get length(){return this._lContainer.length-Fo}createEmbeddedView(o,r,l){let f,_;"number"==typeof l?f=l:null!=l&&(f=l.index,_=l.injector);const $=o.createEmbeddedViewImpl(r||{},_,null);return this.insertImpl($,f,false),$}createComponent(o,r,l,f,_){const b=o&&!function gs(n){return"function"==typeof n}(o);let $;if(b)$=r;else{const $n=r||{};$=$n.index,l=$n.injector,f=$n.projectableNodes,_=$n.environmentInjector||$n.ngModuleRef}const oe=b?o:new Bh(Kn(o)),Ie=l||this.parentInjector;if(!_&&null==oe.ngModule){const qn=(b?Ie:this.parentInjector).get(C,null);qn&&(_=qn)}Kn(oe.componentType??{});const cn=oe.create(Ie,f,null,_);return this.insertImpl(cn.hostView,$,false),cn}insert(o,r){return this.insertImpl(o,r,!1)}insertImpl(o,r,l){const f=o._lView,_=f[jn];if(function Qo(n){return mi(n[Ue])}(f)){const oe=this.indexOf(o);if(-1!==oe)this.detach(oe);else{const Ie=f[Ue],nt=new T6(Ie,Ie[Qe],Ie[Ue]);nt.detach(nt.indexOf(o))}}const b=this._adjustIndex(r),$=this._lContainer;if(function Q1(n,o,r,l){const f=Fo+l,_=r.length;l>0&&(r[f-1][re]=o),l<_-Fo?(o[re]=r[f],nl(r,Fo+l,o)):(r.push(o),o[re]=null),o[Ue]=r;const b=o[En];null!==b&&r!==b&&function j1(n,o){const r=n[vi];o[dn]!==o[Ue][Ue][dn]&&(n[Go]=!0),null===r?n[vi]=[o]:r.push(o)}(b,o);const $=o[Fn];null!==$&&$.insertView(n),o[ao]|=128}(_,f,$,b),!l){const oe=xl(b,$),Ie=f[Jt],nt=se(Ie,$[Co]);null!==nt&&function $1(n,o,r,l,f,_){l[qo]=f,l[Qe]=o,Ua(n,l,r,1,f,_)}(_,$[Qe],Ie,f,nt,oe)}return o.attachToViewContainerRef(),nl(T0($),b,o),o}move(o,r){return this.insert(o,r)}indexOf(o){const r=M6(this._lContainer);return null!==r?r.indexOf(o):-1}remove(o){const r=this._adjustIndex(o,-1),l=Au(this._lContainer,r);l&&(Pa(T0(this._lContainer),r),W1(l[jn],l))}detach(o){const r=this._adjustIndex(o,-1),l=Au(this._lContainer,r);return l&&null!=Pa(T0(this._lContainer),r)?new br(l):null}_adjustIndex(o,r=0){return o??this.length+r}};function M6(n){return n[8]}function T0(n){return n[8]||(n[8]=[])}function b6(n,o){let r;const l=o[n.index];return mi(l)?r=l:(r=o1(l,o,null,n),o[n.index]=r,Ip(o,r)),S6(r,o,n,l),new T6(r,n,o)}let S6=function E6(n,o,r,l){if(n[Co])return;let f;f=8&r.type?ii(l):function qv(n,o){const r=n[Jt],l=r.createComment(""),f=Ne(o,n);return as(r,se(r,f),l,function lp(n,o){return n.nextSibling(o)}(r,f),!1),l}(o,r),n[Co]=f};class M0{constructor(o){this.queryList=o,this.matches=null}clone(){return new M0(this.queryList)}setDirty(){this.queryList.setDirty()}}class b0{constructor(o=[]){this.queries=o}createEmbeddedView(o){const r=o.queries;if(null!==r){const l=null!==o.contentQueries?o.contentQueries[0]:r.length,f=[];for(let _=0;_0)l.push(b[$/2]);else{const Ie=_[$+1],nt=o[-oe];for(let bt=Fo;bt{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,l)=>{this.resolve=r,this.reject=l}),this.appInits=Tt(X6,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const f of this.appInits){const _=f();if(W2(_))r.push(_);else if(M3(_)){const b=new Promise(($,oe)=>{_.subscribe({complete:$,error:oe})});r.push(b)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{l()}).catch(f=>{this.reject(f)}),0===r.length&&l(),this.initialized=!0}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),em=(()=>{class n{log(r){console.log(r)}warn(r){console.warn(r)}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const t2=new ri("LocaleId",{providedIn:"root",factory:()=>Tt(t2,ce.Optional|ce.SkipSelf)||function x_(){return typeof $localize<"u"&&$localize.locale||Gp}()}),D_=new ri("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let tm=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new v.X(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class O_{constructor(o,r){this.ngModuleFactory=o,this.componentFactories=r}}let w_=(()=>{class n{compileModuleSync(r){return new _0(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const l=this.compileModuleSync(r),_=Ka(yo(r).declarations).reduce((b,$)=>{const oe=Kn($);return oe&&b.push(new Bh(oe)),b},[]);return new O_(l,_)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function im(...n){}class Es{constructor({enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:l=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Vl(!1),this.onMicrotaskEmpty=new Vl(!1),this.onStable=new Vl(!1),this.onError=new Vl(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!l&&r,f.shouldCoalesceRunChangeDetection=l,f.lastRequestAnimationFrameId=-1,f.nativeRequestAnimationFrame=function A_(){const n="function"==typeof st.requestAnimationFrame;let o=st[n?"requestAnimationFrame":"setTimeout"],r=st[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&o&&r){const l=o[Zone.__symbol__("OriginalDelegate")];l&&(o=l);const f=r[Zone.__symbol__("OriginalDelegate")];f&&(r=f)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function L_(n){const o=()=>{!function N_(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(st,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,N0(n),n.isCheckStableRunning=!0,F0(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),N0(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,l,f,_,b,$)=>{try{return rm(n),r.invokeTask(f,_,b,$)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||n.shouldCoalesceRunChangeDetection)&&o(),sm(n)}},onInvoke:(r,l,f,_,b,$,oe)=>{try{return rm(n),r.invoke(f,_,b,$,oe)}finally{n.shouldCoalesceRunChangeDetection&&o(),sm(n)}},onHasTask:(r,l,f,_)=>{r.hasTask(f,_),l===f&&("microTask"==_.change?(n._hasPendingMicrotasks=_.microTask,N0(n),F0(n)):"macroTask"==_.change&&(n.hasPendingMacrotasks=_.macroTask))},onHandleError:(r,l,f,_)=>(r.handleError(f,_),n.runOutsideAngular(()=>n.onError.emit(_)),!1)})}(f)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Es.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(Es.isInAngularZone())throw new N(909,!1)}run(o,r,l){return this._inner.run(o,r,l)}runTask(o,r,l,f){const _=this._inner,b=_.scheduleEventTask("NgZoneEvent: "+f,o,F_,im,im);try{return _.runTask(b,r,l)}finally{_.cancelTask(b)}}runGuarded(o,r,l){return this._inner.runGuarded(o,r,l)}runOutsideAngular(o){return this._outer.run(o)}}const F_={};function F0(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function N0(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function rm(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function sm(n){n._nesting--,F0(n)}class k_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Vl,this.onMicrotaskEmpty=new Vl,this.onStable=new Vl,this.onError=new Vl}run(o,r,l){return o.apply(r,l)}runGuarded(o,r,l){return o.apply(r,l)}runOutsideAngular(o){return o()}runTask(o,r,l,f){return o.apply(r,l)}}const am=new ri("",{providedIn:"root",factory:cm});function cm(){const n=Tt(Es);let o=!0;const r=new d.y(f=>{o=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{f.next(o),f.complete()})}),l=new d.y(f=>{let _;n.runOutsideAngular(()=>{_=n.onStable.subscribe(()=>{Es.assertNotInAngularZone(),queueMicrotask(()=>{!o&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(o=!0,f.next(!0))})})});const b=n.onUnstable.subscribe(()=>{Es.assertInAngularZone(),o&&(o=!1,n.runOutsideAngular(()=>{f.next(!1)}))});return()=>{_.unsubscribe(),b.unsubscribe()}});return(0,s.T)(r,l.pipe((0,G.B)()))}const lm=new ri(""),um=new ri("");let L0,R_=(()=>{class n{constructor(r,l,f){this._ngZone=r,this.registry=l,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,L0||(function V_(n){L0=n}(f),f.addToWindow(l)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Es.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(r)||(clearTimeout(l.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,l,f){let _=-1;l&&l>0&&(_=setTimeout(()=>{this._callbacks=this._callbacks.filter(b=>b.timeoutId!==_),r(this._didWork,this.getPendingTasks())},l)),this._callbacks.push({doneCb:r,timeoutId:_,updateCb:f})}whenStable(r,l,f){if(f&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,l,f),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,l,f){return[]}}return n.\u0275fac=function(r){return new(r||n)(rt(Es),rt(dm),rt(um))},n.\u0275prov=qt({token:n,factory:n.\u0275fac}),n})(),dm=(()=>{class n{constructor(){this._applications=new Map}registerApplication(r,l){this._applications.set(r,l)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,l=!0){return L0?.findTestabilityInTree(this,r,l)??null}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),Sd=null;const pm=new ri("AllowMultipleToken"),k0=new ri("PlatformDestroyListeners"),R0=new ri("appBootstrapListener");class Y_{constructor(o,r){this.name=o,this.token=r}}function mm(n,o,r=[]){const l=`Platform: ${o}`,f=new ri(l);return(_=[])=>{let b=V0();if(!b||b.injector.get(pm,!1)){const $=[...r,..._,{provide:f,useValue:!0}];n?n($):function $_(n){if(Sd&&!Sd.get(pm,!1))throw new N(400,!1);(function hm(){!function oc(n){ds=n}(()=>{throw new N(600,!1)})})(),Sd=n;const o=n.get(vm);(function fm(n){n.get(Sn,null)?.forEach(r=>r())})(n)}(function gm(n=[],o){return qa.create({name:o,providers:[{provide:_d,useValue:"platform"},{provide:k0,useValue:new Set([()=>Sd=null])},...n]})}($,l))}return function G_(n){const o=V0();if(!o)throw new N(401,!1);return o}()}}function V0(){return Sd?.get(vm)??null}let vm=(()=>{class n{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,l){const f=function Q_(n="zone.js",o){return"noop"===n?new k_:"zone.js"===n?new Es(o):n}(l?.ngZone,function _m(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:l?.ngZoneEventCoalescing,runCoalescing:l?.ngZoneRunCoalescing}));return f.run(()=>{const _=function Mv(n,o,r){return new v0(n,o,r)}(r.moduleType,this.injector,function Mm(n){return[{provide:Es,useFactory:n},{provide:Qu,multi:!0,useFactory:()=>{const o=Tt(W_,{optional:!0});return()=>o.initialize()}},{provide:Tm,useFactory:j_},{provide:am,useFactory:cm}]}(()=>f)),b=_.injector.get(qu,null);return f.runOutsideAngular(()=>{const $=f.onError.subscribe({next:oe=>{b.handleError(oe)}});_.onDestroy(()=>{n2(this._modules,_),$.unsubscribe()})}),function ym(n,o,r){try{const l=r();return W2(l)?l.catch(f=>{throw o.runOutsideAngular(()=>n.handleError(f)),f}):l}catch(l){throw o.runOutsideAngular(()=>n.handleError(l)),l}}(b,f,()=>{const $=_.injector.get(A0);return $.runInitializers(),$.donePromise.then(()=>(function zf(n){Xe(n,"Expected localeId to be defined"),"string"==typeof n&&(Cf=n.toLowerCase().replace(/_/g,"-"))}(_.injector.get(t2,Gp)||Gp),this._moduleDoBootstrap(_),_))})})}bootstrapModule(r,l=[]){const f=Cm({},l);return function B_(n,o,r){const l=new _0(r);return Promise.resolve(l)}(0,0,r).then(_=>this.bootstrapModuleFactory(_,f))}_moduleDoBootstrap(r){const l=r.injector.get(Zp);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(f=>l.bootstrap(f));else{if(!r.instance.ngDoBootstrap)throw new N(-403,!1);r.instance.ngDoBootstrap(l)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new N(404,!1);this._modules.slice().forEach(l=>l.destroy()),this._destroyListeners.forEach(l=>l());const r=this._injector.get(k0,null);r&&(r.forEach(l=>l()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(r){return new(r||n)(rt(qa))},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function Cm(n,o){return Array.isArray(o)?o.reduce(Cm,n):{...n,...o}}let Zp=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Tt(Tm),this.zoneIsStable=Tt(am),this.componentTypes=[],this.components=[],this.isStable=Tt(tm).hasPendingTasks.pipe((0,U.w)(r=>r?(0,k.of)(!1):this.zoneIsStable),(0,P.x)(),(0,G.B)()),this._injector=Tt(C)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,l){const f=r instanceof nh;if(!this._injector.get(A0).done)throw!f&&ni(r),new N(405,!1);let b;b=f?r:this._injector.get(Ku).resolveComponentFactory(r),this.componentTypes.push(b.componentType);const $=function H_(n){return n.isBoundToModule}(b)?void 0:this._injector.get(Qp),Ie=b.create(qa.NULL,[],l||b.selector,$),nt=Ie.location.nativeElement,bt=Ie.injector.get(lm,null);return bt?.registerApplication(nt),Ie.onDestroy(()=>{this.detachView(Ie.hostView),n2(this.components,Ie),bt?.unregisterApplication(nt)}),this._loadComponent(Ie),Ie}tick(){if(this._runningTick)throw new N(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const l=r;this._views.push(l),l.attachToAppRef(this)}detachView(r){const l=r;n2(this._views,l),l.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const l=this._injector.get(R0,[]);l.push(...this._bootstrapListeners),l.forEach(f=>f(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>n2(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new N(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function n2(n,o){const r=n.indexOf(o);r>-1&&n.splice(r,1)}const Tm=new ri("",{providedIn:"root",factory:()=>Tt(qu).handleError.bind(void 0)});function j_(){const n=Tt(Es),o=Tt(qu);return r=>n.runOutsideAngular(()=>o.handleError(r))}let W_=(()=>{class n{constructor(){this.zone=Tt(Es),this.applicationRef=Tt(Zp)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=qt({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function K_(){return!1}function J_(){}let q_=(()=>{class n{}return n.__NG_ELEMENT_ID__=X_,n})();function X_(n){return function e5(n,o,r){if(Fi(n)&&!r){const l=pn(n.index,o);return new br(l,l)}return 47&n.type?new br(o[dn],o):null}(Ei(),wn(),16==(16&n))}class xm{constructor(){}supports(o){return F4(o)}create(o){return new s5(o)}}const r5=(n,o)=>o;class s5{constructor(o){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=o||r5}forEachItem(o){let r;for(r=this._itHead;null!==r;r=r._next)o(r)}forEachOperation(o){let r=this._itHead,l=this._removalsHead,f=0,_=null;for(;r||l;){const b=!l||r&&r.currentIndex{b=this._trackByFn(f,$),null!==r&&Object.is(r.trackById,b)?(l&&(r=this._verifyReinsertion(r,$,b,f)),Object.is(r.item,$)||this._addIdentityChange(r,$)):(r=this._mismatch(r,$,b,f),l=!0),r=r._next,f++}),this.length=f;return this._truncate(r),this.collection=o,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let o;for(o=this._previousItHead=this._itHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._additionsHead;null!==o;o=o._nextAdded)o.previousIndex=o.currentIndex;for(this._additionsHead=this._additionsTail=null,o=this._movesHead;null!==o;o=o._nextMoved)o.previousIndex=o.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(o,r,l,f){let _;return null===o?_=this._itTail:(_=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(o.item,r)||this._addIdentityChange(o,r),this._reinsertAfter(o,_,f)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(l,f))?(Object.is(o.item,r)||this._addIdentityChange(o,r),this._moveAfter(o,_,f)):o=this._addAfter(new a5(r,l),_,f),o}_verifyReinsertion(o,r,l,f){let _=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==_?o=this._reinsertAfter(_,o._prev,f):o.currentIndex!=f&&(o.currentIndex=f,this._addToMoves(o,f)),o}_truncate(o){for(;null!==o;){const r=o._next;this._addToRemovals(this._unlink(o)),o=r}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(o,r,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const f=o._prevRemoved,_=o._nextRemoved;return null===f?this._removalsHead=_:f._nextRemoved=_,null===_?this._removalsTail=f:_._prevRemoved=f,this._insertAfter(o,r,l),this._addToMoves(o,l),o}_moveAfter(o,r,l){return this._unlink(o),this._insertAfter(o,r,l),this._addToMoves(o,l),o}_addAfter(o,r,l){return this._insertAfter(o,r,l),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,r,l){const f=null===r?this._itHead:r._next;return o._next=f,o._prev=r,null===f?this._itTail=o:f._prev=o,null===r?this._itHead=o:r._next=o,null===this._linkedRecords&&(this._linkedRecords=new Dm),this._linkedRecords.put(o),o.currentIndex=l,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const r=o._prev,l=o._next;return null===r?this._itHead=l:r._next=l,null===l?this._itTail=r:l._prev=r,o}_addToMoves(o,r){return o.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=o:this._movesTail._nextMoved=o),o}_addToRemovals(o){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Dm),this._unlinkedRecords.put(o),o.currentIndex=null,o._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=o,o._prevRemoved=null):(o._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=o),o}_addIdentityChange(o,r){return o.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=o:this._identityChangesTail._nextIdentityChange=o,o}}class a5{constructor(o,r){this.item=o,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class c5{constructor(){this._head=null,this._tail=null}add(o){null===this._head?(this._head=this._tail=o,o._nextDup=null,o._prevDup=null):(this._tail._nextDup=o,o._prevDup=this._tail,o._nextDup=null,this._tail=o)}get(o,r){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===r||r<=l.currentIndex)&&Object.is(l.trackById,o))return l;return null}remove(o){const r=o._prevDup,l=o._nextDup;return null===r?this._head=l:r._nextDup=l,null===l?this._tail=r:l._prevDup=r,null===this._head}}class Dm{constructor(){this.map=new Map}put(o){const r=o.trackById;let l=this.map.get(r);l||(l=new c5,this.map.set(r,l)),l.add(o)}get(o,r){const f=this.map.get(o);return f?f.get(o,r):null}remove(o){const r=o.trackById;return this.map.get(r).remove(o)&&this.map.delete(r),o}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Om(n,o,r){const l=n.previousIndex;if(null===l)return l;let f=0;return r&&l{if(r&&r.key===f)this._maybeAddToChanges(r,l),this._appendAfter=r,r=r._next;else{const _=this._getOrCreateRecordForKey(f,l);r=this._insertBeforeOrAppend(r,_)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let l=r;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,r){if(o){const l=o._prev;return r._next=o,r._prev=l,o._prev=r,l&&(l._next=r),o===this._mapHead&&(this._mapHead=r),this._appendAfter=o,o}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(o,r){if(this._records.has(o)){const f=this._records.get(o);this._maybeAddToChanges(f,r);const _=f._prev,b=f._next;return _&&(_._next=b),b&&(b._prev=_),f._next=null,f._prev=null,f}const l=new u5(o);return this._records.set(o,l),l.currentValue=r,this._addToAdditions(l),l}_reset(){if(this.isDirty){let o;for(this._previousMapHead=this._mapHead,o=this._previousMapHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._changesHead;null!==o;o=o._nextChanged)o.previousValue=o.currentValue;for(o=this._additionsHead;null!=o;o=o._nextAdded)o.previousValue=o.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(o,r){Object.is(r,o.currentValue)||(o.previousValue=o.currentValue,o.currentValue=r,this._addToChanges(o))}_addToAdditions(o){null===this._additionsHead?this._additionsHead=this._additionsTail=o:(this._additionsTail._nextAdded=o,this._additionsTail=o)}_addToChanges(o){null===this._changesHead?this._changesHead=this._changesTail=o:(this._changesTail._nextChanged=o,this._changesTail=o)}_forEach(o,r){o instanceof Map?o.forEach(r):Object.keys(o).forEach(l=>r(o[l],l))}}class u5{constructor(o){this.key=o,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Pm(){return new U0([new xm])}let U0=(()=>{class n{constructor(r){this.factories=r}static create(r,l){if(null!=l){const f=l.factories.slice();r=r.concat(f)}return new n(r)}static extend(r){return{provide:n,useFactory:l=>n.create(r,l||Pm()),deps:[[n,new Fa,new Aa]]}}find(r){const l=this.factories.find(f=>f.supports(r));if(null!=l)return l;throw new N(901,!1)}}return n.\u0275prov=qt({token:n,providedIn:"root",factory:Pm}),n})();function Im(){return new G0([new wm])}let G0=(()=>{class n{constructor(r){this.factories=r}static create(r,l){if(l){const f=l.factories.slice();r=r.concat(f)}return new n(r)}static extend(r){return{provide:n,useFactory:l=>n.create(r,l||Im()),deps:[[n,new Fa,new Aa]]}}find(r){const l=this.factories.find(f=>f.supports(r));if(l)return l;throw new N(901,!1)}}return n.\u0275prov=qt({token:n,providedIn:"root",factory:Im}),n})();const h5=mm(null,"core",[]);let f5=(()=>{class n{constructor(r){}}return n.\u0275fac=function(r){return new(r||n)(rt(Zp))},n.\u0275mod=Mi({type:n}),n.\u0275inj=Dn({}),n})();function M5(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function S5(n){const o=Kn(n);if(!o)return null;const r=new Bh(o);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return o.standalone},get isSignal(){return o.signals}}}},6223:(xt,Se,a)=>{a.d(Se,{F:()=>ui,Fj:()=>M,JJ:()=>Ve,JL:()=>Pe,JU:()=>U,NI:()=>Nn,Oe:()=>Yn,On:()=>Kn,Q7:()=>Fo,TO:()=>mn,UX:()=>os,Wl:()=>S,_Y:()=>xo,a5:()=>Dn,cw:()=>Ze,kI:()=>K,nJ:()=>ut,oH:()=>Ue,sg:()=>Oe,u:()=>yn,u5:()=>Cr,ve:()=>Y});var t=a(5879),i=a(6814),v=a(9666),d=a(9315),s=a(7398);let k=(()=>{class Ee{constructor(he,ct){this._renderer=he,this._elementRef=ct,this.onChange=Cn=>{},this.onTouched=()=>{}}setProperty(he,ct){this._renderer.setProperty(this._elementRef.nativeElement,he,ct)}registerOnTouched(he){this.onTouched=he}registerOnChange(he){this.onChange=he}setDisabledState(he){this.setProperty("disabled",he)}}return Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(t.Qsj),t.Y36(t.SBq))},Ee.\u0275dir=t.lG2({type:Ee}),Ee})(),G=(()=>{class Ee extends k{}return Ee.\u0275fac=function(){let Ce;return function(ct){return(Ce||(Ce=t.n5z(Ee)))(ct||Ee)}}(),Ee.\u0275dir=t.lG2({type:Ee,features:[t.qOj]}),Ee})();const U=new t.OlP("NgValueAccessor"),P={provide:U,useExisting:(0,t.Gpc)(()=>S),multi:!0};let S=(()=>{class Ee extends G{writeValue(he){this.setProperty("checked",he)}}return Ee.\u0275fac=function(){let Ce;return function(ct){return(Ce||(Ce=t.n5z(Ee)))(ct||Ee)}}(),Ee.\u0275dir=t.lG2({type:Ee,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(he,ct){1&he&&t.NdJ("change",function(Qn){return ct.onChange(Qn.target.checked)})("blur",function(){return ct.onTouched()})},features:[t._Bn([P]),t.qOj]}),Ee})();const w={provide:U,useExisting:(0,t.Gpc)(()=>M),multi:!0},Y=new t.OlP("CompositionEventMode");let M=(()=>{class Ee extends k{constructor(he,ct,Cn){super(he,ct),this._compositionMode=Cn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function L(){const Ee=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(Ee.toLowerCase())}())}writeValue(he){this.setProperty("value",he??"")}_handleInput(he){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(he)}_compositionStart(){this._composing=!0}_compositionEnd(he){this._composing=!1,this._compositionMode&&this.onChange(he)}}return Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(Y,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(he,ct){1&he&&t.NdJ("input",function(Qn){return ct._handleInput(Qn.target.value)})("blur",function(){return ct.onTouched()})("compositionstart",function(){return ct._compositionStart()})("compositionend",function(Qn){return ct._compositionEnd(Qn.target.value)})},features:[t._Bn([w]),t.qOj]}),Ee})();function e(Ee){return null==Ee||("string"==typeof Ee||Array.isArray(Ee))&&0===Ee.length}function F(Ee){return null!=Ee&&"number"==typeof Ee.length}const R=new t.OlP("NgValidators"),ge=new t.OlP("NgAsyncValidators"),ze=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class K{static min(Ce){return function N(Ee){return Ce=>{if(e(Ce.value)||e(Ee))return null;const he=parseFloat(Ce.value);return!isNaN(he)&&he{if(e(Ce.value)||e(Ee))return null;const he=parseFloat(Ce.value);return!isNaN(he)&&he>Ee?{max:{max:Ee,actual:Ce.value}}:null}}(Ce)}static required(Ce){return O(Ce)}static requiredTrue(Ce){return function A(Ee){return!0===Ee.value?null:{required:!0}}(Ce)}static email(Ce){return function x(Ee){return e(Ee.value)||ze.test(Ee.value)?null:{email:!0}}(Ce)}static minLength(Ce){return function pe(Ee){return Ce=>e(Ce.value)||!F(Ce.value)?null:Ce.value.lengthF(Ce.value)&&Ce.value.length>Ee?{maxlength:{requiredLength:Ee,actualLength:Ce.value.length}}:null}(Ce)}static pattern(Ce){return function W(Ee){if(!Ee)return ve;let Ce,he;return"string"==typeof Ee?(he="","^"!==Ee.charAt(0)&&(he+="^"),he+=Ee,"$"!==Ee.charAt(Ee.length-1)&&(he+="$"),Ce=new RegExp(he)):(he=Ee.toString(),Ce=Ee),ct=>{if(e(ct.value))return null;const Cn=ct.value;return Ce.test(Cn)?null:{pattern:{requiredPattern:he,actualValue:Cn}}}}(Ce)}static nullValidator(Ce){return null}static compose(Ce){return nn(Ce)}static composeAsync(Ce){return Ht(Ce)}}function O(Ee){return e(Ee.value)?{required:!0}:null}function ve(Ee){return null}function Q(Ee){return null!=Ee}function ae(Ee){return(0,t.QGY)(Ee)?(0,v.D)(Ee):Ee}function fe(Ee){let Ce={};return Ee.forEach(he=>{Ce=null!=he?{...Ce,...he}:Ce}),0===Object.keys(Ce).length?null:Ce}function be(Ee,Ce){return Ce.map(he=>he(Ee))}function Dt(Ee){return Ee.map(Ce=>function Ft(Ee){return!Ee.validate}(Ce)?Ce:he=>Ce.validate(he))}function nn(Ee){if(!Ee)return null;const Ce=Ee.filter(Q);return 0==Ce.length?null:function(he){return fe(be(he,Ce))}}function Et(Ee){return null!=Ee?nn(Dt(Ee)):null}function Ht(Ee){if(!Ee)return null;const Ce=Ee.filter(Q);return 0==Ce.length?null:function(he){const ct=be(he,Ce).map(ae);return(0,d.D)(ct).pipe((0,s.U)(fe))}}function tn(Ee){return null!=Ee?Ht(Dt(Ee)):null}function un(Ee,Ce){return null===Ee?[Ce]:Array.isArray(Ee)?[...Ee,Ce]:[Ee,Ce]}function In(Ee){return Ee._rawValidators}function Xe(Ee){return Ee._rawAsyncValidators}function Re(Ee){return Ee?Array.isArray(Ee)?Ee:[Ee]:[]}function Ct(Ee,Ce){return Array.isArray(Ee)?Ee.includes(Ce):Ee===Ce}function je(Ee,Ce){const he=Re(Ce);return Re(Ee).forEach(Cn=>{Ct(he,Cn)||he.push(Cn)}),he}function Yt(Ee,Ce){return Re(Ce).filter(he=>!Ct(Ee,he))}class qt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(Ce){this._rawValidators=Ce||[],this._composedValidatorFn=Et(this._rawValidators)}_setAsyncValidators(Ce){this._rawAsyncValidators=Ce||[],this._composedAsyncValidatorFn=tn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ce){this._onDestroyCallbacks.push(Ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ce=>Ce()),this._onDestroyCallbacks=[]}reset(Ce=void 0){this.control&&this.control.reset(Ce)}hasError(Ce,he){return!!this.control&&this.control.hasError(Ce,he)}getError(Ce,he){return this.control?this.control.getError(Ce,he):null}}class vn extends qt{get formDirective(){return null}get path(){return null}}class Dn extends qt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Wt{constructor(Ce){this._cd=Ce}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ve=(()=>{class Ee extends Wt{constructor(he){super(he)}}return Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(Dn,2))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(he,ct){2&he&&t.ekj("ng-untouched",ct.isUntouched)("ng-touched",ct.isTouched)("ng-pristine",ct.isPristine)("ng-dirty",ct.isDirty)("ng-valid",ct.isValid)("ng-invalid",ct.isInvalid)("ng-pending",ct.isPending)},features:[t.qOj]}),Ee})(),Pe=(()=>{class Ee extends Wt{constructor(he){super(he)}}return Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(vn,10))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(he,ct){2&he&&t.ekj("ng-untouched",ct.isUntouched)("ng-touched",ct.isTouched)("ng-pristine",ct.isPristine)("ng-dirty",ct.isDirty)("ng-valid",ct.isValid)("ng-invalid",ct.isInvalid)("ng-pending",ct.isPending)("ng-submitted",ct.isSubmitted)},features:[t.qOj]}),Ee})();const Ke="VALID",J="INVALID",I="PENDING",q="DISABLED";function Me(Ee){return(rt(Ee)?Ee.validators:Ee)||null}function tt(Ee,Ce){return(rt(Ce)?Ce.asyncValidators:Ee)||null}function rt(Ee){return null!=Ee&&!Array.isArray(Ee)&&"object"==typeof Ee}function Nt(Ee,Ce,he){const ct=Ee.controls;if(!(Ce?Object.keys(ct):ct).length)throw new t.vHH(1e3,"");if(!ct[he])throw new t.vHH(1001,"")}function Tt(Ee,Ce,he){Ee._forEachChild((ct,Cn)=>{if(void 0===he[Cn])throw new t.vHH(1002,"")})}class mn{constructor(Ce,he){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ce),this._assignAsyncValidators(he)}get validator(){return this._composedValidatorFn}set validator(Ce){this._rawValidators=this._composedValidatorFn=Ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ce}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===J}get pending(){return this.status==I}get disabled(){return this.status===q}get enabled(){return this.status!==q}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ce){this._assignValidators(Ce)}setAsyncValidators(Ce){this._assignAsyncValidators(Ce)}addValidators(Ce){this.setValidators(je(Ce,this._rawValidators))}addAsyncValidators(Ce){this.setAsyncValidators(je(Ce,this._rawAsyncValidators))}removeValidators(Ce){this.setValidators(Yt(Ce,this._rawValidators))}removeAsyncValidators(Ce){this.setAsyncValidators(Yt(Ce,this._rawAsyncValidators))}hasValidator(Ce){return Ct(this._rawValidators,Ce)}hasAsyncValidator(Ce){return Ct(this._rawAsyncValidators,Ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ce={}){this.touched=!0,this._parent&&!Ce.onlySelf&&this._parent.markAsTouched(Ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ce=>Ce.markAllAsTouched())}markAsUntouched(Ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(he=>{he.markAsUntouched({onlySelf:!0})}),this._parent&&!Ce.onlySelf&&this._parent._updateTouched(Ce)}markAsDirty(Ce={}){this.pristine=!1,this._parent&&!Ce.onlySelf&&this._parent.markAsDirty(Ce)}markAsPristine(Ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(he=>{he.markAsPristine({onlySelf:!0})}),this._parent&&!Ce.onlySelf&&this._parent._updatePristine(Ce)}markAsPending(Ce={}){this.status=I,!1!==Ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ce.onlySelf&&this._parent.markAsPending(Ce)}disable(Ce={}){const he=this._parentMarkedDirty(Ce.onlySelf);this.status=q,this.errors=null,this._forEachChild(ct=>{ct.disable({...Ce,onlySelf:!0})}),this._updateValue(),!1!==Ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ce,skipPristineCheck:he}),this._onDisabledChange.forEach(ct=>ct(!0))}enable(Ce={}){const he=this._parentMarkedDirty(Ce.onlySelf);this.status=Ke,this._forEachChild(ct=>{ct.enable({...Ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ce.emitEvent}),this._updateAncestors({...Ce,skipPristineCheck:he}),this._onDisabledChange.forEach(ct=>ct(!1))}_updateAncestors(Ce){this._parent&&!Ce.onlySelf&&(this._parent.updateValueAndValidity(Ce),Ce.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ce){this._parent=Ce}getRawValue(){return this.value}updateValueAndValidity(Ce={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===I)&&this._runAsyncValidator(Ce.emitEvent)),!1!==Ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ce.onlySelf&&this._parent.updateValueAndValidity(Ce)}_updateTreeValidity(Ce={emitEvent:!0}){this._forEachChild(he=>he._updateTreeValidity(Ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?q:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ce){if(this.asyncValidator){this.status=I,this._hasOwnPendingAsyncValidator=!0;const he=ae(this.asyncValidator(this));this._asyncValidationSubscription=he.subscribe(ct=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ct,{emitEvent:Ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ce,he={}){this.errors=Ce,this._updateControlsErrors(!1!==he.emitEvent)}get(Ce){let he=Ce;return null==he||(Array.isArray(he)||(he=he.split(".")),0===he.length)?null:he.reduce((ct,Cn)=>ct&&ct._find(Cn),this)}getError(Ce,he){const ct=he?this.get(he):this;return ct&&ct.errors?ct.errors[Ce]:null}hasError(Ce,he){return!!this.getError(Ce,he)}get root(){let Ce=this;for(;Ce._parent;)Ce=Ce._parent;return Ce}_updateControlsErrors(Ce){this.status=this._calculateStatus(),Ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ce)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?q:this.errors?J:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(I)?I:this._anyControlsHaveStatus(J)?J:Ke}_anyControlsHaveStatus(Ce){return this._anyControls(he=>he.status===Ce)}_anyControlsDirty(){return this._anyControls(Ce=>Ce.dirty)}_anyControlsTouched(){return this._anyControls(Ce=>Ce.touched)}_updatePristine(Ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ce.onlySelf&&this._parent._updatePristine(Ce)}_updateTouched(Ce={}){this.touched=this._anyControlsTouched(),this._parent&&!Ce.onlySelf&&this._parent._updateTouched(Ce)}_registerOnCollectionChange(Ce){this._onCollectionChange=Ce}_setUpdateStrategy(Ce){rt(Ce)&&null!=Ce.updateOn&&(this._updateOn=Ce.updateOn)}_parentMarkedDirty(Ce){return!Ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ce){return null}_assignValidators(Ce){this._rawValidators=Array.isArray(Ce)?Ce.slice():Ce,this._composedValidatorFn=function _t(Ee){return Array.isArray(Ee)?Et(Ee):Ee||null}(this._rawValidators)}_assignAsyncValidators(Ce){this._rawAsyncValidators=Array.isArray(Ce)?Ce.slice():Ce,this._composedAsyncValidatorFn=function Je(Ee){return Array.isArray(Ee)?tn(Ee):Ee||null}(this._rawAsyncValidators)}}class Ze extends mn{constructor(Ce,he,ct){super(Me(he),tt(ct,he)),this.controls=Ce,this._initObservables(),this._setUpdateStrategy(he),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ce,he){return this.controls[Ce]?this.controls[Ce]:(this.controls[Ce]=he,he.setParent(this),he._registerOnCollectionChange(this._onCollectionChange),he)}addControl(Ce,he,ct={}){this.registerControl(Ce,he),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}removeControl(Ce,he={}){this.controls[Ce]&&this.controls[Ce]._registerOnCollectionChange(()=>{}),delete this.controls[Ce],this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}setControl(Ce,he,ct={}){this.controls[Ce]&&this.controls[Ce]._registerOnCollectionChange(()=>{}),delete this.controls[Ce],he&&this.registerControl(Ce,he),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}contains(Ce){return this.controls.hasOwnProperty(Ce)&&this.controls[Ce].enabled}setValue(Ce,he={}){Tt(this,0,Ce),Object.keys(Ce).forEach(ct=>{Nt(this,!0,ct),this.controls[ct].setValue(Ce[ct],{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he)}patchValue(Ce,he={}){null!=Ce&&(Object.keys(Ce).forEach(ct=>{const Cn=this.controls[ct];Cn&&Cn.patchValue(Ce[ct],{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he))}reset(Ce={},he={}){this._forEachChild((ct,Cn)=>{ct.reset(Ce[Cn],{onlySelf:!0,emitEvent:he.emitEvent})}),this._updatePristine(he),this._updateTouched(he),this.updateValueAndValidity(he)}getRawValue(){return this._reduceChildren({},(Ce,he,ct)=>(Ce[ct]=he.getRawValue(),Ce))}_syncPendingControls(){let Ce=this._reduceChildren(!1,(he,ct)=>!!ct._syncPendingControls()||he);return Ce&&this.updateValueAndValidity({onlySelf:!0}),Ce}_forEachChild(Ce){Object.keys(this.controls).forEach(he=>{const ct=this.controls[he];ct&&Ce(ct,he)})}_setUpControls(){this._forEachChild(Ce=>{Ce.setParent(this),Ce._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ce){for(const[he,ct]of Object.entries(this.controls))if(this.contains(he)&&Ce(ct))return!0;return!1}_reduceValue(){return this._reduceChildren({},(he,ct,Cn)=>((ct.enabled||this.disabled)&&(he[Cn]=ct.value),he))}_reduceChildren(Ce,he){let ct=Ce;return this._forEachChild((Cn,Qn)=>{ct=he(ct,Cn,Qn)}),ct}_allControlsDisabled(){for(const Ce of Object.keys(this.controls))if(this.controls[Ce].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ce){return this.controls.hasOwnProperty(Ce)?this.controls[Ce]:null}}const ut=Ze,Ae=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>at}),at="always";function Bt(Ee,Ce){return[...Ce.path,Ee]}function ln(Ee,Ce,he=at){ne(Ee,Ce),Ce.valueAccessor.writeValue(Ee.value),(Ee.disabled||"always"===he)&&Ce.valueAccessor.setDisabledState?.(Ee.disabled),function Te(Ee,Ce){Ce.valueAccessor.registerOnChange(he=>{Ee._pendingValue=he,Ee._pendingChange=!0,Ee._pendingDirty=!0,"change"===Ee.updateOn&&yt(Ee,Ce)})}(Ee,Ce),function Kt(Ee,Ce){const he=(ct,Cn)=>{Ce.valueAccessor.writeValue(ct),Cn&&Ce.viewToModelUpdate(ct)};Ee.registerOnChange(he),Ce._registerOnDestroy(()=>{Ee._unregisterOnChange(he)})}(Ee,Ce),function Ye(Ee,Ce){Ce.valueAccessor.registerOnTouched(()=>{Ee._pendingTouched=!0,"blur"===Ee.updateOn&&Ee._pendingChange&&yt(Ee,Ce),"submit"!==Ee.updateOn&&Ee.markAsTouched()})}(Ee,Ce),function ft(Ee,Ce){if(Ce.valueAccessor.setDisabledState){const he=ct=>{Ce.valueAccessor.setDisabledState(ct)};Ee.registerOnDisabledChange(he),Ce._registerOnDestroy(()=>{Ee._unregisterOnDisabledChange(he)})}}(Ee,Ce)}function At(Ee,Ce,he=!0){const ct=()=>{};Ce.valueAccessor&&(Ce.valueAccessor.registerOnChange(ct),Ce.valueAccessor.registerOnTouched(ct)),B(Ee,Ce),Ee&&(Ce._invokeOnDestroyCallbacks(),Ee._registerOnCollectionChange(()=>{}))}function dt(Ee,Ce){Ee.forEach(he=>{he.registerOnValidatorChange&&he.registerOnValidatorChange(Ce)})}function ne(Ee,Ce){const he=In(Ee);null!==Ce.validator?Ee.setValidators(un(he,Ce.validator)):"function"==typeof he&&Ee.setValidators([he]);const ct=Xe(Ee);null!==Ce.asyncValidator?Ee.setAsyncValidators(un(ct,Ce.asyncValidator)):"function"==typeof ct&&Ee.setAsyncValidators([ct]);const Cn=()=>Ee.updateValueAndValidity();dt(Ce._rawValidators,Cn),dt(Ce._rawAsyncValidators,Cn)}function B(Ee,Ce){let he=!1;if(null!==Ee){if(null!==Ce.validator){const Cn=In(Ee);if(Array.isArray(Cn)&&Cn.length>0){const Qn=Cn.filter(_i=>_i!==Ce.validator);Qn.length!==Cn.length&&(he=!0,Ee.setValidators(Qn))}}if(null!==Ce.asyncValidator){const Cn=Xe(Ee);if(Array.isArray(Cn)&&Cn.length>0){const Qn=Cn.filter(_i=>_i!==Ce.asyncValidator);Qn.length!==Cn.length&&(he=!0,Ee.setAsyncValidators(Qn))}}}const ct=()=>{};return dt(Ce._rawValidators,ct),dt(Ce._rawAsyncValidators,ct),he}function yt(Ee,Ce){Ee._pendingDirty&&Ee.markAsDirty(),Ee.setValue(Ee._pendingValue,{emitModelToViewChange:!1}),Ce.viewToModelUpdate(Ee._pendingValue),Ee._pendingChange=!1}function Zt(Ee,Ce){ne(Ee,Ce)}function Ko(Ee,Ce){if(!Ee.hasOwnProperty("model"))return!1;const he=Ee.model;return!!he.isFirstChange()||!Object.is(Ce,he.currentValue)}function Eo(Ee,Ce){Ee._syncPendingControls(),Ce.forEach(he=>{const ct=he.control;"submit"===ct.updateOn&&ct._pendingChange&&(he.viewToModelUpdate(ct._pendingValue),ct._pendingChange=!1)})}function Xn(Ee,Ce){if(!Ce)return null;let he,ct,Cn;return Array.isArray(Ce),Ce.forEach(Qn=>{Qn.constructor===M?he=Qn:function Ro(Ee){return Object.getPrototypeOf(Ee.constructor)===G}(Qn)?ct=Qn:Cn=Qn}),Cn||ct||he||null}const Mo={provide:vn,useExisting:(0,t.Gpc)(()=>ui)},vo=(()=>Promise.resolve())();let ui=(()=>{class Ee extends vn{constructor(he,ct,Cn){super(),this.callSetDisabledState=Cn,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new Ze({},Et(he),tn(ct))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(he){vo.then(()=>{const ct=this._findContainer(he.path);he.control=ct.registerControl(he.name,he.control),ln(he.control,he,this.callSetDisabledState),he.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(he)})}getControl(he){return this.form.get(he.path)}removeControl(he){vo.then(()=>{const ct=this._findContainer(he.path);ct&&ct.removeControl(he.name),this._directives.delete(he)})}addFormGroup(he){vo.then(()=>{const ct=this._findContainer(he.path),Cn=new Ze({});Zt(Cn,he),ct.registerControl(he.name,Cn),Cn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(he){vo.then(()=>{const ct=this._findContainer(he.path);ct&&ct.removeControl(he.name)})}getFormGroup(he){return this.form.get(he.path)}updateModel(he,ct){vo.then(()=>{this.form.get(he.path).setValue(ct)})}setValue(he){this.control.setValue(he)}onSubmit(he){return this.submitted=!0,Eo(this.form,this._directives),this.ngSubmit.emit(he),"dialog"===he?.target?.method}onReset(){this.resetForm()}resetForm(he=void 0){this.form.reset(he),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(he){return he.pop(),he.length?this.form.get(he):this.form}}return Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(R,10),t.Y36(ge,10),t.Y36(Ae,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(he,ct){1&he&&t.NdJ("submit",function(Qn){return ct.onSubmit(Qn)})("reset",function(){return ct.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Mo]),t.qOj]}),Ee})();function oi(Ee,Ce){const he=Ee.indexOf(Ce);he>-1&&Ee.splice(he,1)}function Di(Ee){return"object"==typeof Ee&&null!==Ee&&2===Object.keys(Ee).length&&"value"in Ee&&"disabled"in Ee}const Nn=class extends mn{constructor(Ce=null,he,ct){super(Me(he),tt(ct,he)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ce),this._setUpdateStrategy(he),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rt(he)&&(he.nonNullable||he.initialValueIsDefault)&&(this.defaultValue=Di(Ce)?Ce.value:Ce)}setValue(Ce,he={}){this.value=this._pendingValue=Ce,this._onChange.length&&!1!==he.emitModelToViewChange&&this._onChange.forEach(ct=>ct(this.value,!1!==he.emitViewToModelChange)),this.updateValueAndValidity(he)}patchValue(Ce,he={}){this.setValue(Ce,he)}reset(Ce=this.defaultValue,he={}){this._applyFormState(Ce),this.markAsPristine(he),this.markAsUntouched(he),this.setValue(this.value,he),this._pendingChange=!1}_updateValue(){}_anyControls(Ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ce){this._onChange.push(Ce)}_unregisterOnChange(Ce){oi(this._onChange,Ce)}registerOnDisabledChange(Ce){this._onDisabledChange.push(Ce)}_unregisterOnDisabledChange(Ce){oi(this._onDisabledChange,Ce)}_forEachChild(Ce){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ce){Di(Ce)?(this.value=this._pendingValue=Ce.value,Ce.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ce}},ur={provide:Dn,useExisting:(0,t.Gpc)(()=>Kn)},nr=(()=>Promise.resolve())();let Kn=(()=>{class Ee extends Dn{constructor(he,ct,Cn,Qn,_i,hi){super(),this._changeDetectorRef=_i,this.callSetDisabledState=hi,this.control=new Nn,this._registered=!1,this.name="",this.update=new t.vpe,this._parent=he,this._setValidators(ct),this._setAsyncValidators(Cn),this.valueAccessor=Xn(0,Qn)}ngOnChanges(he){if(this._checkForErrors(),!this._registered||"name"in he){if(this._registered&&(this._checkName(),this.formDirective)){const ct=he.name.previousValue;this.formDirective.removeControl({name:ct,path:this._getPath(ct)})}this._setUpControl()}"isDisabled"in he&&this._updateDisabled(he),Ko(he,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ln(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(he){nr.then(()=>{this.control.setValue(he,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(he){const ct=he.isDisabled.currentValue,Cn=0!==ct&&(0,t.VuI)(ct);nr.then(()=>{Cn&&!this.control.disabled?this.control.disable():!Cn&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(he){return this._parent?Bt(he,this._parent):[he]}}return Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(vn,9),t.Y36(R,10),t.Y36(ge,10),t.Y36(U,10),t.Y36(t.sBO,8),t.Y36(Ae,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([ur]),t.qOj,t.TTD]}),Ee})(),xo=(()=>{class Ee{}return Ee.\u0275fac=function(he){return new(he||Ee)},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),Ee})(),bi=(()=>{class Ee{}return Ee.\u0275fac=function(he){return new(he||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({}),Ee})();const jn=new t.OlP("NgModelWithFormControlWarning"),ao={provide:Dn,useExisting:(0,t.Gpc)(()=>Ue)};let Ue=(()=>{class Ee extends Dn{set isDisabled(he){}constructor(he,ct,Cn,Qn,_i){super(),this._ngModelWarningConfig=Qn,this.callSetDisabledState=_i,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(he),this._setAsyncValidators(ct),this.valueAccessor=Xn(0,Cn)}ngOnChanges(he){if(this._isControlChanged(he)){const ct=he.form.previousValue;ct&&At(ct,this,!1),ln(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ko(he,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&At(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}_isControlChanged(he){return he.hasOwnProperty("form")}}return Ee._ngModelWarningSentOnce=!1,Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(R,10),t.Y36(ge,10),t.Y36(U,10),t.Y36(jn,8),t.Y36(Ae,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([ao]),t.qOj,t.TTD]}),Ee})();const re={provide:vn,useExisting:(0,t.Gpc)(()=>Oe)};let Oe=(()=>{class Ee extends vn{constructor(he,ct,Cn){super(),this.callSetDisabledState=Cn,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(he),this._setAsyncValidators(ct)}ngOnChanges(he){this._checkFormPresent(),he.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(B(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(he){const ct=this.form.get(he.path);return ln(ct,he,this.callSetDisabledState),ct.updateValueAndValidity({emitEvent:!1}),this.directives.push(he),ct}getControl(he){return this.form.get(he.path)}removeControl(he){At(he.control||null,he,!1),function Jo(Ee,Ce){const he=Ee.indexOf(Ce);he>-1&&Ee.splice(he,1)}(this.directives,he)}addFormGroup(he){this._setUpFormContainer(he)}removeFormGroup(he){this._cleanUpFormContainer(he)}getFormGroup(he){return this.form.get(he.path)}addFormArray(he){this._setUpFormContainer(he)}removeFormArray(he){this._cleanUpFormContainer(he)}getFormArray(he){return this.form.get(he.path)}updateModel(he,ct){this.form.get(he.path).setValue(ct)}onSubmit(he){return this.submitted=!0,Eo(this.form,this.directives),this.ngSubmit.emit(he),"dialog"===he?.target?.method}onReset(){this.resetForm()}resetForm(he=void 0){this.form.reset(he),this.submitted=!1}_updateDomValue(){this.directives.forEach(he=>{const ct=he.control,Cn=this.form.get(he.path);ct!==Cn&&(At(ct||null,he),(Ee=>Ee instanceof Nn)(Cn)&&(ln(Cn,he,this.callSetDisabledState),he.control=Cn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(he){const ct=this.form.get(he.path);Zt(ct,he),ct.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(he){if(this.form){const ct=this.form.get(he.path);ct&&function On(Ee,Ce){return B(Ee,Ce)}(ct,he)&&ct.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ne(this.form,this),this._oldForm&&B(this._oldForm,this)}_checkFormPresent(){}}return Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(R,10),t.Y36(ge,10),t.Y36(Ae,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formGroup",""]],hostBindings:function(he,ct){1&he&&t.NdJ("submit",function(Qn){return ct.onSubmit(Qn)})("reset",function(){return ct.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([re]),t.qOj,t.TTD]}),Ee})();const Jt={provide:Dn,useExisting:(0,t.Gpc)(()=>yn)};let yn=(()=>{class Ee extends Dn{set isDisabled(he){}constructor(he,ct,Cn,Qn,_i){super(),this._ngModelWarningConfig=_i,this._added=!1,this.name=null,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=he,this._setValidators(ct),this._setAsyncValidators(Cn),this.valueAccessor=Xn(0,Qn)}ngOnChanges(he){this._added||this._setUpControl(),Ko(he,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(he){this.viewModel=he,this.update.emit(he)}get path(){return Bt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return Ee._ngModelWarningSentOnce=!1,Ee.\u0275fac=function(he){return new(he||Ee)(t.Y36(vn,13),t.Y36(R,10),t.Y36(ge,10),t.Y36(U,10),t.Y36(jn,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([Jt]),t.qOj,t.TTD]}),Ee})(),So=(()=>{class Ee{constructor(){this._validator=ve}ngOnChanges(he){if(this.inputName in he){const ct=this.normalizeInput(he[this.inputName].currentValue);this._enabled=this.enabled(ct),this._validator=this._enabled?this.createValidator(ct):ve,this._onChange&&this._onChange()}}validate(he){return this._validator(he)}registerOnValidatorChange(he){this._onChange=he}enabled(he){return null!=he}}return Ee.\u0275fac=function(he){return new(he||Ee)},Ee.\u0275dir=t.lG2({type:Ee,features:[t.TTD]}),Ee})();const vi={provide:R,useExisting:(0,t.Gpc)(()=>Fo),multi:!0};let Fo=(()=>{class Ee extends So{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.VuI,this.createValidator=he=>O}enabled(he){return he}}return Ee.\u0275fac=function(){let Ce;return function(ct){return(Ce||(Ce=t.n5z(Ee)))(ct||Ee)}}(),Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(he,ct){2&he&&t.uIk("required",ct._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([vi]),t.qOj]}),Ee})(),sn=(()=>{class Ee{}return Ee.\u0275fac=function(he){return new(he||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({imports:[bi]}),Ee})();class Yn extends mn{constructor(Ce,he,ct){super(Me(he),tt(ct,he)),this.controls=Ce,this._initObservables(),this._setUpdateStrategy(he),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ce){return this.controls[this._adjustIndex(Ce)]}push(Ce,he={}){this.controls.push(Ce),this._registerControl(Ce),this.updateValueAndValidity({emitEvent:he.emitEvent}),this._onCollectionChange()}insert(Ce,he,ct={}){this.controls.splice(Ce,0,he),this._registerControl(he),this.updateValueAndValidity({emitEvent:ct.emitEvent})}removeAt(Ce,he={}){let ct=this._adjustIndex(Ce);ct<0&&(ct=0),this.controls[ct]&&this.controls[ct]._registerOnCollectionChange(()=>{}),this.controls.splice(ct,1),this.updateValueAndValidity({emitEvent:he.emitEvent})}setControl(Ce,he,ct={}){let Cn=this._adjustIndex(Ce);Cn<0&&(Cn=0),this.controls[Cn]&&this.controls[Cn]._registerOnCollectionChange(()=>{}),this.controls.splice(Cn,1),he&&(this.controls.splice(Cn,0,he),this._registerControl(he)),this.updateValueAndValidity({emitEvent:ct.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ce,he={}){Tt(this,0,Ce),Ce.forEach((ct,Cn)=>{Nt(this,!1,Cn),this.at(Cn).setValue(ct,{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he)}patchValue(Ce,he={}){null!=Ce&&(Ce.forEach((ct,Cn)=>{this.at(Cn)&&this.at(Cn).patchValue(ct,{onlySelf:!0,emitEvent:he.emitEvent})}),this.updateValueAndValidity(he))}reset(Ce=[],he={}){this._forEachChild((ct,Cn)=>{ct.reset(Ce[Cn],{onlySelf:!0,emitEvent:he.emitEvent})}),this._updatePristine(he),this._updateTouched(he),this.updateValueAndValidity(he)}getRawValue(){return this.controls.map(Ce=>Ce.getRawValue())}clear(Ce={}){this.controls.length<1||(this._forEachChild(he=>he._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ce.emitEvent}))}_adjustIndex(Ce){return Ce<0?Ce+this.length:Ce}_syncPendingControls(){let Ce=this.controls.reduce((he,ct)=>!!ct._syncPendingControls()||he,!1);return Ce&&this.updateValueAndValidity({onlySelf:!0}),Ce}_forEachChild(Ce){this.controls.forEach((he,ct)=>{Ce(he,ct)})}_updateValue(){this.value=this.controls.filter(Ce=>Ce.enabled||this.disabled).map(Ce=>Ce.value)}_anyControls(Ce){return this.controls.some(he=>he.enabled&&Ce(he))}_setUpControls(){this._forEachChild(Ce=>this._registerControl(Ce))}_allControlsDisabled(){for(const Ce of this.controls)if(Ce.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ce){Ce.setParent(this),Ce._registerOnCollectionChange(this._onCollectionChange)}_find(Ce){return this.at(Ce)??null}}let Cr=(()=>{class Ee{static withConfig(he){return{ngModule:Ee,providers:[{provide:Ae,useValue:he.callSetDisabledState??at}]}}}return Ee.\u0275fac=function(he){return new(he||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({imports:[sn]}),Ee})(),os=(()=>{class Ee{static withConfig(he){return{ngModule:Ee,providers:[{provide:jn,useValue:he.warnOnNgModelWithFormControl??"always"},{provide:Ae,useValue:he.callSetDisabledState??at}]}}}return Ee.\u0275fac=function(he){return new(he||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({imports:[sn]}),Ee})()},6593:(xt,Se,a)=>{a.d(Se,{Dx:()=>He,H7:()=>J,b2:()=>It,h_:()=>Ve,q6:()=>qt,se:()=>pe});var t=a(5879),i=a(6814);class v extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class d extends v{static makeCurrent(){(0,i.HT)(new d)}onAndCancel(ut,le,ye){return ut.addEventListener(le,ye),()=>{ut.removeEventListener(le,ye)}}dispatchEvent(ut,le){ut.dispatchEvent(le)}remove(ut){ut.parentNode&&ut.parentNode.removeChild(ut)}createElement(ut,le){return(le=le||this.getDefaultDocument()).createElement(ut)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ut){return ut.nodeType===Node.ELEMENT_NODE}isShadowRoot(ut){return ut instanceof DocumentFragment}getGlobalEventTarget(ut,le){return"window"===le?window:"document"===le?ut:"body"===le?ut.body:null}getBaseHref(ut){const le=function k(){return s=s||document.querySelector("base"),s?s.getAttribute("href"):null}();return null==le?null:function U(Ze){G=G||document.createElement("a"),G.setAttribute("href",Ze);const ut=G.pathname;return"/"===ut.charAt(0)?ut:`/${ut}`}(le)}resetBaseElement(){s=null}getUserAgent(){return window.navigator.userAgent}getCookie(ut){return(0,i.Mx)(document.cookie,ut)}}let G,s=null,S=(()=>{class Ze{build(){return new XMLHttpRequest}}return Ze.\u0275fac=function(le){return new(le||Ze)},Ze.\u0275prov=t.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const w=new t.OlP("EventManagerPlugins");let L=(()=>{class Ze{constructor(le,ye){this._zone=ye,this._eventNameToPlugin=new Map,le.forEach(mt=>{mt.manager=this}),this._plugins=le.slice().reverse()}addEventListener(le,ye,mt){return this._findPluginFor(ye).addEventListener(le,ye,mt)}getZone(){return this._zone}_findPluginFor(le){let ye=this._eventNameToPlugin.get(le);if(ye)return ye;if(ye=this._plugins.find(Ae=>Ae.supports(le)),!ye)throw new t.vHH(5101,!1);return this._eventNameToPlugin.set(le,ye),ye}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(w),t.LFG(t.R0b))},Ze.\u0275prov=t.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class Y{constructor(ut){this._doc=ut}}const M="ng-app-id";let e=(()=>{class Ze{constructor(le,ye,mt,Ae={}){this.doc=le,this.appId=ye,this.nonce=mt,this.platformId=Ae,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,i.PM)(Ae),this.resetHostNodes()}addStyles(le){for(const ye of le)1===this.changeUsageCount(ye,1)&&this.onStyleAdded(ye)}removeStyles(le){for(const ye of le)this.changeUsageCount(ye,-1)<=0&&this.onStyleRemoved(ye)}ngOnDestroy(){const le=this.styleNodesInDOM;le&&(le.forEach(ye=>ye.remove()),le.clear());for(const ye of this.getAllStyles())this.onStyleRemoved(ye);this.resetHostNodes()}addHost(le){this.hostNodes.add(le);for(const ye of this.getAllStyles())this.addStyleToHost(le,ye)}removeHost(le){this.hostNodes.delete(le)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(le){for(const ye of this.hostNodes)this.addStyleToHost(ye,le)}onStyleRemoved(le){const ye=this.styleRef;ye.get(le)?.elements?.forEach(mt=>mt.remove()),ye.delete(le)}collectServerRenderedStyles(){const le=this.doc.head?.querySelectorAll(`style[${M}="${this.appId}"]`);if(le?.length){const ye=new Map;return le.forEach(mt=>{null!=mt.textContent&&ye.set(mt.textContent,mt)}),ye}return null}changeUsageCount(le,ye){const mt=this.styleRef;if(mt.has(le)){const Ae=mt.get(le);return Ae.usage+=ye,Ae.usage}return mt.set(le,{usage:ye,elements:[]}),ye}getStyleElement(le,ye){const mt=this.styleNodesInDOM,Ae=mt?.get(ye);if(Ae?.parentNode===le)return mt.delete(ye),Ae.removeAttribute(M),Ae;{const at=this.doc.createElement("style");return this.nonce&&at.setAttribute("nonce",this.nonce),at.textContent=ye,this.platformIsServer&&at.setAttribute(M,this.appId),at}}addStyleToHost(le,ye){const mt=this.getStyleElement(le,ye);le.appendChild(mt);const Ae=this.styleRef,at=Ae.get(ye)?.elements;at?at.push(mt):Ae.set(ye,{elements:[mt],usage:1})}resetHostNodes(){const le=this.hostNodes;le.clear(),le.add(this.doc.head)}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(i.K0),t.LFG(t.AFp),t.LFG(t.Ojb,8),t.LFG(t.Lbi))},Ze.\u0275prov=t.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const F={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},R=/%COMP%/g,V=new t.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function x(Ze,ut){return ut.map(le=>le.replace(R,Ze))}let pe=(()=>{class Ze{constructor(le,ye,mt,Ae,at,Bt,ln,At=null){this.eventManager=le,this.sharedStylesHost=ye,this.appId=mt,this.removeStylesOnCompDestroy=Ae,this.doc=at,this.platformId=Bt,this.ngZone=ln,this.nonce=At,this.rendererByCompId=new Map,this.platformIsServer=(0,i.PM)(Bt),this.defaultRenderer=new de(le,at,ln,this.platformIsServer)}createRenderer(le,ye){if(!le||!ye)return this.defaultRenderer;this.platformIsServer&&ye.encapsulation===t.ifc.ShadowDom&&(ye={...ye,encapsulation:t.ifc.Emulated});const mt=this.getOrCreateRenderer(le,ye);return mt instanceof be?mt.applyToHost(le):mt instanceof fe&&mt.applyStyles(),mt}getOrCreateRenderer(le,ye){const mt=this.rendererByCompId;let Ae=mt.get(ye.id);if(!Ae){const at=this.doc,Bt=this.ngZone,ln=this.eventManager,At=this.sharedStylesHost,dt=this.removeStylesOnCompDestroy,ft=this.platformIsServer;switch(ye.encapsulation){case t.ifc.Emulated:Ae=new be(ln,At,ye,this.appId,dt,at,Bt,ft);break;case t.ifc.ShadowDom:return new ae(ln,At,le,ye,at,Bt,this.nonce,ft);default:Ae=new fe(ln,At,ye,dt,at,Bt,ft)}mt.set(ye.id,Ae)}return Ae}ngOnDestroy(){this.rendererByCompId.clear()}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(L),t.LFG(e),t.LFG(t.AFp),t.LFG(V),t.LFG(i.K0),t.LFG(t.Lbi),t.LFG(t.R0b),t.LFG(t.Ojb))},Ze.\u0275prov=t.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class de{constructor(ut,le,ye,mt){this.eventManager=ut,this.doc=le,this.ngZone=ye,this.platformIsServer=mt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ut,le){return le?this.doc.createElementNS(F[le]||le,ut):this.doc.createElement(ut)}createComment(ut){return this.doc.createComment(ut)}createText(ut){return this.doc.createTextNode(ut)}appendChild(ut,le){(Q(ut)?ut.content:ut).appendChild(le)}insertBefore(ut,le,ye){ut&&(Q(ut)?ut.content:ut).insertBefore(le,ye)}removeChild(ut,le){ut&&ut.removeChild(le)}selectRootElement(ut,le){let ye="string"==typeof ut?this.doc.querySelector(ut):ut;if(!ye)throw new t.vHH(-5104,!1);return le||(ye.textContent=""),ye}parentNode(ut){return ut.parentNode}nextSibling(ut){return ut.nextSibling}setAttribute(ut,le,ye,mt){if(mt){le=mt+":"+le;const Ae=F[mt];Ae?ut.setAttributeNS(Ae,le,ye):ut.setAttribute(le,ye)}else ut.setAttribute(le,ye)}removeAttribute(ut,le,ye){if(ye){const mt=F[ye];mt?ut.removeAttributeNS(mt,le):ut.removeAttribute(`${ye}:${le}`)}else ut.removeAttribute(le)}addClass(ut,le){ut.classList.add(le)}removeClass(ut,le){ut.classList.remove(le)}setStyle(ut,le,ye,mt){mt&(t.JOm.DashCase|t.JOm.Important)?ut.style.setProperty(le,ye,mt&t.JOm.Important?"important":""):ut.style[le]=ye}removeStyle(ut,le,ye){ye&t.JOm.DashCase?ut.style.removeProperty(le):ut.style[le]=""}setProperty(ut,le,ye){ut[le]=ye}setValue(ut,le){ut.nodeValue=le}listen(ut,le,ye){if("string"==typeof ut&&!(ut=(0,i.q)().getGlobalEventTarget(this.doc,ut)))throw new Error(`Unsupported event target ${ut} for event ${le}`);return this.eventManager.addEventListener(ut,le,this.decoratePreventDefault(ye))}decoratePreventDefault(ut){return le=>{if("__ngUnwrap__"===le)return ut;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>ut(le)):ut(le))&&le.preventDefault()}}}function Q(Ze){return"TEMPLATE"===Ze.tagName&&void 0!==Ze.content}class ae extends de{constructor(ut,le,ye,mt,Ae,at,Bt,ln){super(ut,Ae,at,ln),this.sharedStylesHost=le,this.hostEl=ye,this.shadowRoot=ye.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const At=x(mt.id,mt.styles);for(const dt of At){const ft=document.createElement("style");Bt&&ft.setAttribute("nonce",Bt),ft.textContent=dt,this.shadowRoot.appendChild(ft)}}nodeOrShadowRoot(ut){return ut===this.hostEl?this.shadowRoot:ut}appendChild(ut,le){return super.appendChild(this.nodeOrShadowRoot(ut),le)}insertBefore(ut,le,ye){return super.insertBefore(this.nodeOrShadowRoot(ut),le,ye)}removeChild(ut,le){return super.removeChild(this.nodeOrShadowRoot(ut),le)}parentNode(ut){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ut)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class fe extends de{constructor(ut,le,ye,mt,Ae,at,Bt,ln){super(ut,Ae,at,Bt),this.sharedStylesHost=le,this.removeStylesOnCompDestroy=mt,this.styles=ln?x(ln,ye.styles):ye.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class be extends fe{constructor(ut,le,ye,mt,Ae,at,Bt,ln){const At=mt+"-"+ye.id;super(ut,le,ye,Ae,at,Bt,ln,At),this.contentAttr=function O(Ze){return"_ngcontent-%COMP%".replace(R,Ze)}(At),this.hostAttr=function A(Ze){return"_nghost-%COMP%".replace(R,Ze)}(At)}applyToHost(ut){this.applyStyles(),this.setAttribute(ut,this.hostAttr,"")}createElement(ut,le){const ye=super.createElement(ut,le);return super.setAttribute(ye,this.contentAttr,""),ye}}let Ft=(()=>{class Ze extends Y{constructor(le){super(le)}supports(le){return!0}addEventListener(le,ye,mt){return le.addEventListener(ye,mt,!1),()=>this.removeEventListener(le,ye,mt)}removeEventListener(le,ye,mt){return le.removeEventListener(ye,mt)}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(i.K0))},Ze.\u0275prov=t.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const Dt=["alt","control","meta","shift"],nn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Et={alt:Ze=>Ze.altKey,control:Ze=>Ze.ctrlKey,meta:Ze=>Ze.metaKey,shift:Ze=>Ze.shiftKey};let Ht=(()=>{class Ze extends Y{constructor(le){super(le)}supports(le){return null!=Ze.parseEventName(le)}addEventListener(le,ye,mt){const Ae=Ze.parseEventName(ye),at=Ze.eventCallback(Ae.fullKey,mt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(le,Ae.domEventName,at))}static parseEventName(le){const ye=le.toLowerCase().split("."),mt=ye.shift();if(0===ye.length||"keydown"!==mt&&"keyup"!==mt)return null;const Ae=Ze._normalizeKey(ye.pop());let at="",Bt=ye.indexOf("code");if(Bt>-1&&(ye.splice(Bt,1),at="code."),Dt.forEach(At=>{const dt=ye.indexOf(At);dt>-1&&(ye.splice(dt,1),at+=At+".")}),at+=Ae,0!=ye.length||0===Ae.length)return null;const ln={};return ln.domEventName=mt,ln.fullKey=at,ln}static matchEventFullKeyCode(le,ye){let mt=nn[le.key]||le.key,Ae="";return ye.indexOf("code.")>-1&&(mt=le.code,Ae="code."),!(null==mt||!mt)&&(mt=mt.toLowerCase()," "===mt?mt="space":"."===mt&&(mt="dot"),Dt.forEach(at=>{at!==mt&&(0,Et[at])(le)&&(Ae+=at+".")}),Ae+=mt,Ae===ye)}static eventCallback(le,ye,mt){return Ae=>{Ze.matchEventFullKeyCode(Ae,le)&&mt.runGuarded(()=>ye(Ae))}}static _normalizeKey(le){return"esc"===le?"escape":le}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(i.K0))},Ze.\u0275prov=t.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const qt=(0,t.eFA)(t._c5,"browser",[{provide:t.Lbi,useValue:i.bD},{provide:t.g9A,useValue:function Re(){d.makeCurrent()},multi:!0},{provide:i.K0,useFactory:function je(){return(0,t.RDi)(document),document},deps:[]}]),vn=new t.OlP(""),Dn=[{provide:t.rWj,useClass:class P{addToWindow(ut){t.dqk.getAngularTestability=(ye,mt=!0)=>{const Ae=ut.findTestabilityInTree(ye,mt);if(null==Ae)throw new t.vHH(5103,!1);return Ae},t.dqk.getAllAngularTestabilities=()=>ut.getAllTestabilities(),t.dqk.getAllAngularRootElements=()=>ut.getAllRootElements(),t.dqk.frameworkStabilizers||(t.dqk.frameworkStabilizers=[]),t.dqk.frameworkStabilizers.push(ye=>{const mt=t.dqk.getAllAngularTestabilities();let Ae=mt.length,at=!1;const Bt=function(ln){at=at||ln,Ae--,0==Ae&&ye(at)};mt.forEach(ln=>{ln.whenStable(Bt)})})}findTestabilityInTree(ut,le,ye){return null==le?null:ut.getTestability(le)??(ye?(0,i.q)().isShadowRoot(le)?this.findTestabilityInTree(ut,le.host,!0):this.findTestabilityInTree(ut,le.parentElement,!0):null)}},deps:[]},{provide:t.lri,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]},{provide:t.dDg,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]}],Wt=[{provide:t.zSh,useValue:"root"},{provide:t.qLn,useFactory:function Ct(){return new t.qLn},deps:[]},{provide:w,useClass:Ft,multi:!0,deps:[i.K0,t.R0b,t.Lbi]},{provide:w,useClass:Ht,multi:!0,deps:[i.K0]},pe,e,L,{provide:t.FYo,useExisting:pe},{provide:i.JF,useClass:S,deps:[]},[]];let It=(()=>{class Ze{constructor(le){}static withServerTransition(le){return{ngModule:Ze,providers:[{provide:t.AFp,useValue:le.appId}]}}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(vn,12))},Ze.\u0275mod=t.oAB({type:Ze}),Ze.\u0275inj=t.cJS({providers:[...Wt,...Dn],imports:[i.ez,t.hGG]}),Ze})(),Ve=(()=>{class Ze{constructor(le){this._doc=le,this._dom=(0,i.q)()}addTag(le,ye=!1){return le?this._getOrCreateElement(le,ye):null}addTags(le,ye=!1){return le?le.reduce((mt,Ae)=>(Ae&&mt.push(this._getOrCreateElement(Ae,ye)),mt),[]):[]}getTag(le){return le&&this._doc.querySelector(`meta[${le}]`)||null}getTags(le){if(!le)return[];const ye=this._doc.querySelectorAll(`meta[${le}]`);return ye?[].slice.call(ye):[]}updateTag(le,ye){if(!le)return null;ye=ye||this._parseSelector(le);const mt=this.getTag(ye);return mt?this._setMetaElementAttributes(le,mt):this._getOrCreateElement(le,!0)}removeTag(le){this.removeTagElement(this.getTag(le))}removeTagElement(le){le&&this._dom.remove(le)}_getOrCreateElement(le,ye=!1){if(!ye){const at=this._parseSelector(le),Bt=this.getTags(at).filter(ln=>this._containsAttributes(le,ln))[0];if(void 0!==Bt)return Bt}const mt=this._dom.createElement("meta");return this._setMetaElementAttributes(le,mt),this._doc.getElementsByTagName("head")[0].appendChild(mt),mt}_setMetaElementAttributes(le,ye){return Object.keys(le).forEach(mt=>ye.setAttribute(this._getMetaKeyMap(mt),le[mt])),ye}_parseSelector(le){const ye=le.name?"name":"property";return`${ye}="${le[ye]}"`}_containsAttributes(le,ye){return Object.keys(le).every(mt=>ye.getAttribute(this._getMetaKeyMap(mt))===le[mt])}_getMetaKeyMap(le){return Pe[le]||le}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(i.K0))},Ze.\u0275prov=t.Yz7({token:Ze,factory:function(le){let ye=null;return ye=le?new le:function $e(){return new Ve((0,t.LFG)(i.K0))}(),ye},providedIn:"root"}),Ze})();const Pe={httpEquiv:"http-equiv"};let He=(()=>{class Ze{constructor(le){this._doc=le}getTitle(){return this._doc.title}setTitle(le){this._doc.title=le||""}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(i.K0))},Ze.\u0275prov=t.Yz7({token:Ze,factory:function(le){let ye=null;return ye=le?new le:function We(){return new He((0,t.LFG)(i.K0))}(),ye},providedIn:"root"}),Ze})();typeof window<"u"&&window;let J=(()=>{class Ze{}return Ze.\u0275fac=function(le){return new(le||Ze)},Ze.\u0275prov=t.Yz7({token:Ze,factory:function(le){let ye=null;return ye=le?new(le||Ze):t.LFG(q),ye},providedIn:"root"}),Ze})(),q=(()=>{class Ze extends J{constructor(le){super(),this._doc=le}sanitize(le,ye){if(null==ye)return null;switch(le){case t.q3G.NONE:return ye;case t.q3G.HTML:return(0,t.qzn)(ye,"HTML")?(0,t.z3N)(ye):(0,t.EiD)(this._doc,String(ye)).toString();case t.q3G.STYLE:return(0,t.qzn)(ye,"Style")?(0,t.z3N)(ye):ye;case t.q3G.SCRIPT:if((0,t.qzn)(ye,"Script"))return(0,t.z3N)(ye);throw new t.vHH(5200,!1);case t.q3G.URL:return(0,t.qzn)(ye,"URL")?(0,t.z3N)(ye):(0,t.mCW)(String(ye));case t.q3G.RESOURCE_URL:if((0,t.qzn)(ye,"ResourceURL"))return(0,t.z3N)(ye);throw new t.vHH(5201,!1);default:throw new t.vHH(5202,!1)}}bypassSecurityTrustHtml(le){return(0,t.JVY)(le)}bypassSecurityTrustStyle(le){return(0,t.L6k)(le)}bypassSecurityTrustScript(le){return(0,t.eBb)(le)}bypassSecurityTrustUrl(le){return(0,t.LAX)(le)}bypassSecurityTrustResourceUrl(le){return(0,t.pB0)(le)}}return Ze.\u0275fac=function(le){return new(le||Ze)(t.LFG(i.K0))},Ze.\u0275prov=t.Yz7({token:Ze,factory:function(le){let ye=null;return ye=le?new le:function I(Ze){return new q(Ze.get(i.K0))}(t.LFG(t.zs3)),ye},providedIn:"root"}),Ze})()},4190:(xt,Se,a)=>{a.d(Se,{gz:()=>Qi,m2:()=>ko,eC:()=>tn,F0:()=>zi,rH:()=>fr,Od:()=>rr,Bz:()=>Yl,lC:()=>kt});var t=a(5879),i=a(2664),v=a(9666),d=a(2096),s=a(5619),k=a(2572),G=a(6973),U=a(5211),P=a(4911),S=a(8407),w=a(8504),L=a(6232),Y=a(3168),M=a(8645),e=a(6814),F=a(7398),R=a(4664),ge=a(8180),ze=a(7921),K=a(2181),N=a(1631),V=a(1374),O=a(6328),A=a(9397),x=a(6306),pe=a(6699),de=a(3572),W=a(9360),ve=a(8251);function Q(H){return H<=0?()=>L.E:(0,W.e)((ee,D)=>{let ue=[];ee.subscribe((0,ve.x)(D,Fe=>{ue.push(Fe),H{for(const Fe of ue)D.next(Fe);D.complete()},void 0,()=>{ue=null}))})}var ae=a(3026),fe=a(2737),Ft=a(975),Dt=a(4716),nn=a(6196),Et=a(7537),Ht=a(6593);const tn="primary",un=Symbol("RouteTitle");class In{constructor(ee){this.params=ee||{}}has(ee){return Object.prototype.hasOwnProperty.call(this.params,ee)}get(ee){if(this.has(ee)){const D=this.params[ee];return Array.isArray(D)?D[0]:D}return null}getAll(ee){if(this.has(ee)){const D=this.params[ee];return Array.isArray(D)?D:[D]}return[]}get keys(){return Object.keys(this.params)}}function Xe(H){return new In(H)}function Re(H,ee,D){const ue=D.path.split("/");if(ue.length>H.length||"full"===D.pathMatch&&(ee.hasChildren()||ue.lengthue[ht]===Fe)}return H===ee}function qt(H){return H.length>0?H[H.length-1]:null}function vn(H){return(0,i.b)(H)?H:(0,t.QGY)(H)?(0,v.D)(Promise.resolve(H)):(0,d.of)(H)}const Dn={exact:function Ve(H,ee,D){if(!vt(H.segments,ee.segments)||!we(H.segments,ee.segments,D)||H.numberOfChildren!==ee.numberOfChildren)return!1;for(const ue in ee.children)if(!H.children[ue]||!Ve(H.children[ue],ee.children[ue],D))return!1;return!0},subset:We},Wt={exact:function $e(H,ee){return je(H,ee)},subset:function Pe(H,ee){return Object.keys(ee).length<=Object.keys(H).length&&Object.keys(ee).every(D=>Yt(H[D],ee[D]))},ignored:()=>!0};function It(H,ee,D){return Dn[D.paths](H.root,ee.root,D.matrixParams)&&Wt[D.queryParams](H.queryParams,ee.queryParams)&&!("exact"===D.fragment&&H.fragment!==ee.fragment)}function We(H,ee,D){return He(H,ee,ee.segments,D)}function He(H,ee,D,ue){if(H.segments.length>D.length){const Fe=H.segments.slice(0,D.length);return!(!vt(Fe,D)||ee.hasChildren()||!we(Fe,D,ue))}if(H.segments.length===D.length){if(!vt(H.segments,D)||!we(H.segments,D,ue))return!1;for(const Fe in ee.children)if(!H.children[Fe]||!We(H.children[Fe],ee.children[Fe],ue))return!1;return!0}{const Fe=D.slice(0,H.segments.length),ht=D.slice(H.segments.length);return!!(vt(H.segments,Fe)&&we(H.segments,Fe,ue)&&H.children[tn])&&He(H.children[tn],ee,ht,ue)}}function we(H,ee,D){return ee.every((ue,Fe)=>Wt[D](H[Fe].parameters,ue.parameters))}class te{constructor(ee=new ce([],{}),D={},ue=null){this.root=ee,this.queryParams=D,this.fragment=ue}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xe(this.queryParams)),this._queryParamMap}toString(){return it.serialize(this)}}class ce{constructor(ee,D){this.segments=ee,this.children=D,this.parent=null,Object.values(D).forEach(ue=>ue.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lt(this)}}class De{constructor(ee,D){this.path=ee,this.parameters=D}get parameterMap(){return this._parameterMap||(this._parameterMap=Xe(this.parameters)),this._parameterMap}toString(){return q(this)}}function vt(H,ee){return H.length===ee.length&&H.every((D,ue)=>D.path===ee[ue].path)}let _n=(()=>{class H{}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:function(){return new st},providedIn:"root"}),H})();class st{parse(ee){const D=new le(ee);return new te(D.parseRootSegment(),D.parseQueryParams(),D.parseFragment())}serialize(ee){const D=`/${wt(ee.root,!0)}`,ue=function _t(H){const ee=Object.keys(H).map(D=>{const ue=H[D];return Array.isArray(ue)?ue.map(Fe=>`${Lt(D)}=${Lt(Fe)}`).join("&"):`${Lt(D)}=${Lt(ue)}`}).filter(D=>!!D);return ee.length?`?${ee.join("&")}`:""}(ee.queryParams);return`${D}${ue}${"string"==typeof ee.fragment?`#${function Gt(H){return encodeURI(H)}(ee.fragment)}`:""}`}}const it=new st;function lt(H){return H.segments.map(ee=>q(ee)).join("/")}function wt(H,ee){if(!H.hasChildren())return lt(H);if(ee){const D=H.children[tn]?wt(H.children[tn],!1):"",ue=[];return Object.entries(H.children).forEach(([Fe,ht])=>{Fe!==tn&&ue.push(`${Fe}:${wt(ht,!1)}`)}),ue.length>0?`${D}(${ue.join("//")})`:D}{const D=function rn(H,ee){let D=[];return Object.entries(H.children).forEach(([ue,Fe])=>{ue===tn&&(D=D.concat(ee(Fe,ue)))}),Object.entries(H.children).forEach(([ue,Fe])=>{ue!==tn&&(D=D.concat(ee(Fe,ue)))}),D}(H,(ue,Fe)=>Fe===tn?[wt(H.children[tn],!1)]:[`${Fe}:${wt(ue,!1)}`]);return 1===Object.keys(H.children).length&&null!=H.children[tn]?`${lt(H)}/${D[0]}`:`${lt(H)}/(${D.join("//")})`}}function Ot(H){return encodeURIComponent(H).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(H){return Ot(H).replace(/%3B/gi,";")}function Ke(H){return Ot(H).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function J(H){return decodeURIComponent(H)}function I(H){return J(H.replace(/\+/g,"%20"))}function q(H){return`${Ke(H.path)}${function Me(H){return Object.keys(H).map(ee=>`;${Ke(ee)}=${Ke(H[ee])}`).join("")}(H.parameters)}`}const tt=/^[^\/()?;#]+/;function Je(H){const ee=H.match(tt);return ee?ee[0]:""}const rt=/^[^\/()?;=#]+/,Tt=/^[^=?&#]+/,Ze=/^[^&#]+/;class le{constructor(ee){this.url=ee,this.remaining=ee}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ce([],{}):new ce([],this.parseChildren())}parseQueryParams(){const ee={};if(this.consumeOptional("?"))do{this.parseQueryParam(ee)}while(this.consumeOptional("&"));return ee}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ee=[];for(this.peekStartsWith("(")||ee.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ee.push(this.parseSegment());let D={};this.peekStartsWith("/(")&&(this.capture("/"),D=this.parseParens(!0));let ue={};return this.peekStartsWith("(")&&(ue=this.parseParens(!1)),(ee.length>0||Object.keys(D).length>0)&&(ue[tn]=new ce(ee,D)),ue}parseSegment(){const ee=Je(this.remaining);if(""===ee&&this.peekStartsWith(";"))throw new t.vHH(4009,!1);return this.capture(ee),new De(J(ee),this.parseMatrixParams())}parseMatrixParams(){const ee={};for(;this.consumeOptional(";");)this.parseParam(ee);return ee}parseParam(ee){const D=function Nt(H){const ee=H.match(rt);return ee?ee[0]:""}(this.remaining);if(!D)return;this.capture(D);let ue="";if(this.consumeOptional("=")){const Fe=Je(this.remaining);Fe&&(ue=Fe,this.capture(ue))}ee[J(D)]=J(ue)}parseQueryParam(ee){const D=function mn(H){const ee=H.match(Tt);return ee?ee[0]:""}(this.remaining);if(!D)return;this.capture(D);let ue="";if(this.consumeOptional("=")){const gt=function ut(H){const ee=H.match(Ze);return ee?ee[0]:""}(this.remaining);gt&&(ue=gt,this.capture(ue))}const Fe=I(D),ht=I(ue);if(ee.hasOwnProperty(Fe)){let gt=ee[Fe];Array.isArray(gt)||(gt=[gt],ee[Fe]=gt),gt.push(ht)}else ee[Fe]=ht}parseParens(ee){const D={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ue=Je(this.remaining),Fe=this.remaining[ue.length];if("/"!==Fe&&")"!==Fe&&";"!==Fe)throw new t.vHH(4010,!1);let ht;ue.indexOf(":")>-1?(ht=ue.slice(0,ue.indexOf(":")),this.capture(ht),this.capture(":")):ee&&(ht=tn);const gt=this.parseChildren();D[ht]=1===Object.keys(gt).length?gt[tn]:new ce([],gt),this.consumeOptional("//")}return D}peekStartsWith(ee){return this.remaining.startsWith(ee)}consumeOptional(ee){return!!this.peekStartsWith(ee)&&(this.remaining=this.remaining.substring(ee.length),!0)}capture(ee){if(!this.consumeOptional(ee))throw new t.vHH(4011,!1)}}function ye(H){return H.segments.length>0?new ce([],{[tn]:H}):H}function mt(H){const ee={};for(const ue of Object.keys(H.children)){const ht=mt(H.children[ue]);if(ue===tn&&0===ht.segments.length&&ht.hasChildren())for(const[gt,an]of Object.entries(ht.children))ee[gt]=an;else(ht.segments.length>0||ht.hasChildren())&&(ee[ue]=ht)}return function Ae(H){if(1===H.numberOfChildren&&H.children[tn]){const ee=H.children[tn];return new ce(H.segments.concat(ee.segments),ee.children)}return H}(new ce(H.segments,ee))}function at(H){return H instanceof te}function ln(H){let ee;const Fe=ye(function D(ht){const gt={};for(const An of ht.children){const no=D(An);gt[An.outlet]=no}const an=new ce(ht.url,gt);return ht===H&&(ee=an),an}(H.root));return ee??Fe}function At(H,ee,D,ue){let Fe=H;for(;Fe.parent;)Fe=Fe.parent;if(0===ee.length)return ne(Fe,Fe,Fe,D,ue);const ht=function Ye(H){if("string"==typeof H[0]&&1===H.length&&"/"===H[0])return new Te(!0,0,H);let ee=0,D=!1;const ue=H.reduce((Fe,ht,gt)=>{if("object"==typeof ht&&null!=ht){if(ht.outlets){const an={};return Object.entries(ht.outlets).forEach(([An,no])=>{an[An]="string"==typeof no?no.split("/"):no}),[...Fe,{outlets:an}]}if(ht.segmentPath)return[...Fe,ht.segmentPath]}return"string"!=typeof ht?[...Fe,ht]:0===gt?(ht.split("/").forEach((an,An)=>{0==An&&"."===an||(0==An&&""===an?D=!0:".."===an?ee++:""!=an&&Fe.push(an))}),Fe):[...Fe,ht]},[]);return new Te(D,ee,ue)}(ee);if(ht.toRoot())return ne(Fe,Fe,new ce([],{}),D,ue);const gt=function Kt(H,ee,D){if(H.isAbsolute)return new yt(ee,!0,0);if(!D)return new yt(ee,!1,NaN);if(null===D.parent)return new yt(D,!0,0);const ue=dt(H.commands[0])?0:1;return function Zt(H,ee,D){let ue=H,Fe=ee,ht=D;for(;ht>Fe;){if(ht-=Fe,ue=ue.parent,!ue)throw new t.vHH(4005,!1);Fe=ue.segments.length}return new yt(ue,!1,Fe-ht)}(D,D.segments.length-1+ue,H.numberOfDoubleDots)}(ht,Fe,H),an=gt.processChildren?Wn(gt.segmentGroup,gt.index,ht.commands):zn(gt.segmentGroup,gt.index,ht.commands);return ne(Fe,gt.segmentGroup,an,D,ue)}function dt(H){return"object"==typeof H&&null!=H&&!H.outlets&&!H.segmentPath}function ft(H){return"object"==typeof H&&null!=H&&H.outlets}function ne(H,ee,D,ue,Fe){let gt,ht={};ue&&Object.entries(ue).forEach(([An,no])=>{ht[An]=Array.isArray(no)?no.map(so=>`${so}`):`${no}`}),gt=H===ee?D:B(H,ee,D);const an=ye(mt(gt));return new te(an,ht,Fe)}function B(H,ee,D){const ue={};return Object.entries(H.children).forEach(([Fe,ht])=>{ue[Fe]=ht===ee?D:B(ht,ee,D)}),new ce(H.segments,ue)}class Te{constructor(ee,D,ue){if(this.isAbsolute=ee,this.numberOfDoubleDots=D,this.commands=ue,ee&&ue.length>0&&dt(ue[0]))throw new t.vHH(4003,!1);const Fe=ue.find(ft);if(Fe&&Fe!==qt(ue))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yt{constructor(ee,D,ue){this.segmentGroup=ee,this.processChildren=D,this.index=ue}}function zn(H,ee,D){if(H||(H=new ce([],{})),0===H.segments.length&&H.hasChildren())return Wn(H,ee,D);const ue=function bo(H,ee,D){let ue=0,Fe=ee;const ht={match:!1,pathIndex:0,commandIndex:0};for(;Fe=D.length)return ht;const gt=H.segments[Fe],an=D[ue];if(ft(an))break;const An=`${an}`,no=ue0&&void 0===An)break;if(An&&no&&"object"==typeof no&&void 0===no.outlets){if(!Ro(An,no,gt))return ht;ue+=2}else{if(!Ro(An,{},gt))return ht;ue++}Fe++}return{match:!0,pathIndex:Fe,commandIndex:ue}}(H,ee,D),Fe=D.slice(ue.commandIndex);if(ue.match&&ue.pathIndex{"string"==typeof gt&&(gt=[gt]),null!==gt&&(Fe[ht]=zn(H.children[ht],ee,gt))}),Object.entries(H.children).forEach(([ht,gt])=>{void 0===ue[ht]&&(Fe[ht]=gt)}),new ce(H.segments,Fe)}}function To(H,ee,D){const ue=H.segments.slice(0,ee);let Fe=0;for(;Fe{"string"==typeof ue&&(ue=[ue]),null!==ue&&(ee[D]=To(new ce([],{}),0,ue))}),ee}function Ko(H){const ee={};return Object.entries(H).forEach(([D,ue])=>ee[D]=`${ue}`),ee}function Ro(H,ee,D){return H==D.path&&je(ee,D.parameters)}const Eo="imperative";class Xn{constructor(ee,D){this.id=ee,this.url=D}}class Jo extends Xn{constructor(ee,D,ue="imperative",Fe=null){super(ee,D),this.type=0,this.navigationTrigger=ue,this.restoredState=Fe}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ko extends Xn{constructor(ee,D,ue){super(ee,D),this.urlAfterRedirects=ue,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Mo extends Xn{constructor(ee,D,ue,Fe){super(ee,D),this.reason=ue,this.code=Fe,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vo extends Xn{constructor(ee,D,ue,Fe){super(ee,D),this.reason=ue,this.code=Fe,this.type=16}}class ui extends Xn{constructor(ee,D,ue,Fe){super(ee,D),this.error=ue,this.target=Fe,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oi extends Xn{constructor(ee,D,ue,Fe){super(ee,D),this.urlAfterRedirects=ue,this.state=Fe,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Di extends Xn{constructor(ee,D,ue,Fe){super(ee,D),this.urlAfterRedirects=ue,this.state=Fe,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nn extends Xn{constructor(ee,D,ue,Fe,ht){super(ee,D),this.urlAfterRedirects=ue,this.state=Fe,this.shouldActivate=ht,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Oi extends Xn{constructor(ee,D,ue,Fe){super(ee,D),this.urlAfterRedirects=ue,this.state=Fe,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ai extends Xn{constructor(ee,D,ue,Fe){super(ee,D),this.urlAfterRedirects=ue,this.state=Fe,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wi{constructor(ee){this.route=ee,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ri{constructor(ee){this.route=ee,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Sr{constructor(ee){this.snapshot=ee,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Er{constructor(ee){this.snapshot=ee,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mi{constructor(ee){this.snapshot=ee,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _r{constructor(ee){this.snapshot=ee,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ki{constructor(ee,D,ue){this.routerEvent=ee,this.position=D,this.anchor=ue,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class nr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Kn,this.attachRef=null}}let Kn=(()=>{class H{constructor(){this.contexts=new Map}onChildOutletCreated(D,ue){const Fe=this.getOrCreateContext(D);Fe.outlet=ue,this.contexts.set(D,Fe)}onChildOutletDestroyed(D){const ue=this.getContext(D);ue&&(ue.outlet=null,ue.attachRef=null)}onOutletDeactivated(){const D=this.contexts;return this.contexts=new Map,D}onOutletReAttached(D){this.contexts=D}getOrCreateContext(D){let ue=this.getContext(D);return ue||(ue=new nr,this.contexts.set(D,ue)),ue}getContext(D){return this.contexts.get(D)||null}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();class xo{constructor(ee){this._root=ee}get root(){return this._root.value}parent(ee){const D=this.pathFromRoot(ee);return D.length>1?D[D.length-2]:null}children(ee){const D=Uo(ee,this._root);return D?D.children.map(ue=>ue.value):[]}firstChild(ee){const D=Uo(ee,this._root);return D&&D.children.length>0?D.children[0].value:null}siblings(ee){const D=ni(ee,this._root);return D.length<2?[]:D[D.length-2].children.map(Fe=>Fe.value).filter(Fe=>Fe!==ee)}pathFromRoot(ee){return ni(ee,this._root).map(D=>D.value)}}function Uo(H,ee){if(H===ee.value)return ee;for(const D of ee.children){const ue=Uo(H,D);if(ue)return ue}return null}function ni(H,ee){if(H===ee.value)return[ee];for(const D of ee.children){const ue=ni(H,D);if(ue.length)return ue.unshift(ee),ue}return[]}class yo{constructor(ee,D){this.value=ee,this.children=D}toString(){return`TreeNode(${this.value})`}}function Xo(H){const ee={};return H&&H.children.forEach(D=>ee[D.value.outlet]=D),ee}class bi extends xo{constructor(ee,D){super(ee),this.snapshot=D,re(this,ee)}toString(){return this.snapshot.toString()}}function Si(H,ee){const D=function yr(H,ee){const gt=new ao([],{},{},"",{},tn,ee,null,{});return new Ue("",new yo(gt,[]))}(0,ee),ue=new s.X([new De("",{})]),Fe=new s.X({}),ht=new s.X({}),gt=new s.X({}),an=new s.X(""),An=new Qi(ue,Fe,gt,an,ht,tn,ee,D.root);return An.snapshot=D.root,new bi(new yo(An,[]),D)}class Qi{constructor(ee,D,ue,Fe,ht,gt,an,An){this.urlSubject=ee,this.paramsSubject=D,this.queryParamsSubject=ue,this.fragmentSubject=Fe,this.dataSubject=ht,this.outlet=gt,this.component=an,this._futureSnapshot=An,this.title=this.dataSubject?.pipe((0,F.U)(no=>no[un]))??(0,d.of)(void 0),this.url=ee,this.params=D,this.queryParams=ue,this.fragment=Fe,this.data=ht}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,F.U)(ee=>Xe(ee)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,F.U)(ee=>Xe(ee)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qo(H,ee="emptyOnly"){const D=H.pathFromRoot;let ue=0;if("always"!==ee)for(ue=D.length-1;ue>=1;){const Fe=D[ue],ht=D[ue-1];if(Fe.routeConfig&&""===Fe.routeConfig.path)ue--;else{if(ht.component)break;ue--}}return function jn(H){return H.reduce((ee,D)=>({params:{...ee.params,...D.params},data:{...ee.data,...D.data},resolve:{...D.data,...ee.resolve,...D.routeConfig?.data,...D._resolvedData}}),{params:{},data:{},resolve:{}})}(D.slice(ue))}class ao{get title(){return this.data?.[un]}constructor(ee,D,ue,Fe,ht,gt,an,An,no){this.url=ee,this.params=D,this.queryParams=ue,this.fragment=Fe,this.data=ht,this.outlet=gt,this.component=an,this.routeConfig=An,this._resolve=no}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Xe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ue=>ue.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ue extends xo{constructor(ee,D){super(D),this.url=ee,re(this,D)}toString(){return Oe(this._root)}}function re(H,ee){ee.value._routerState=H,ee.children.forEach(D=>re(H,D))}function Oe(H){const ee=H.children.length>0?` { ${H.children.map(Oe).join(", ")} } `:"";return`${H.value}${ee}`}function Qe(H){if(H.snapshot){const ee=H.snapshot,D=H._futureSnapshot;H.snapshot=D,je(ee.queryParams,D.queryParams)||H.queryParamsSubject.next(D.queryParams),ee.fragment!==D.fragment&&H.fragmentSubject.next(D.fragment),je(ee.params,D.params)||H.paramsSubject.next(D.params),function Ct(H,ee){if(H.length!==ee.length)return!1;for(let D=0;Dje(D.parameters,ee[ue].parameters))}(H.url,ee.url);return D&&!(!H.parent!=!ee.parent)&&(!H.parent||zt(H.parent,ee.parent))}let kt=(()=>{class H{constructor(){this.activated=null,this._activatedRoute=null,this.name=tn,this.activateEvents=new t.vpe,this.deactivateEvents=new t.vpe,this.attachEvents=new t.vpe,this.detachEvents=new t.vpe,this.parentContexts=(0,t.f3M)(Kn),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb),this.inputBinder=(0,t.f3M)(hn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(D){if(D.name){const{firstChange:ue,previousValue:Fe}=D.name;if(ue)return;this.isTrackedInParentContexts(Fe)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Fe)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(D){return this.parentContexts.getContext(D)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const D=this.parentContexts.getContext(this.name);D?.route&&(D.attachRef?this.attach(D.attachRef,D.route):this.activateWith(D.route,D.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,!1);this.location.detach();const D=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(D.instance),D}attach(D,ue){this.activated=D,this._activatedRoute=ue,this.location.insert(D.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(D.instance)}deactivate(){if(this.activated){const D=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(D)}}activateWith(D,ue){if(this.isActivated)throw new t.vHH(4013,!1);this._activatedRoute=D;const Fe=this.location,gt=D.snapshot.component,an=this.parentContexts.getOrCreateContext(this.name).children,An=new en(D,an,Fe.injector);this.activated=Fe.createComponent(gt,{index:Fe.length,injector:An,environmentInjector:ue??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275dir=t.lG2({type:H,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),H})();class en{constructor(ee,D,ue){this.route=ee,this.childContexts=D,this.parent=ue}get(ee,D){return ee===Qi?this.route:ee===Kn?this.childContexts:this.parent.get(ee,D)}}const hn=new t.OlP("");let Jt=(()=>{class H{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(D){this.unsubscribeFromRouteData(D),this.subscribeToRouteData(D)}unsubscribeFromRouteData(D){this.outletDataSubscriptions.get(D)?.unsubscribe(),this.outletDataSubscriptions.delete(D)}subscribeToRouteData(D){const{activatedRoute:ue}=D,Fe=(0,k.a)([ue.queryParams,ue.params,ue.data]).pipe((0,R.w)(([ht,gt,an],An)=>(an={...ht,...gt,...an},0===An?(0,d.of)(an):Promise.resolve(an)))).subscribe(ht=>{if(!D.isActivated||!D.activatedComponentRef||D.activatedRoute!==ue||null===ue.component)return void this.unsubscribeFromRouteData(D);const gt=(0,t.qFp)(ue.component);if(gt)for(const{templateName:an}of gt.inputs)D.activatedComponentRef.setInput(an,ht[an]);else this.unsubscribeFromRouteData(D)});this.outletDataSubscriptions.set(D,Fe)}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac}),H})();function Rn(H,ee,D){if(D&&H.shouldReuseRoute(ee.value,D.value.snapshot)){const ue=D.value;ue._futureSnapshot=ee.value;const Fe=function Mn(H,ee,D){return ee.children.map(ue=>{for(const Fe of D.children)if(H.shouldReuseRoute(ue.value,Fe.value.snapshot))return Rn(H,ue,Fe);return Rn(H,ue)})}(H,ee,D);return new yo(ue,Fe)}{if(H.shouldAttach(ee.value)){const ht=H.retrieve(ee.value);if(null!==ht){const gt=ht.route;return gt.value._futureSnapshot=ee.value,gt.children=ee.children.map(an=>Rn(H,an)),gt}}const ue=function dn(H){return new Qi(new s.X(H.url),new s.X(H.params),new s.X(H.queryParams),new s.X(H.fragment),new s.X(H.data),H.outlet,H.component,H)}(ee.value),Fe=ee.children.map(ht=>Rn(H,ht));return new yo(ue,Fe)}}const En="ngNavigationCancelingError";function Gn(H,ee){const{redirectTo:D,navigationBehaviorOptions:ue}=at(ee)?{redirectTo:ee,navigationBehaviorOptions:void 0}:ee,Fe=Fn(!1,0,ee);return Fe.url=D,Fe.navigationBehaviorOptions=ue,Fe}function Fn(H,ee,D){const ue=new Error("NavigationCancelingError: "+(H||""));return ue[En]=!0,ue.cancellationCode=ee,D&&(ue.url=D),ue}function Bn(H){return Ln(H)&&at(H.url)}function Ln(H){return H&&H[En]}let ho=(()=>{class H{}return H.\u0275fac=function(D){return new(D||H)},H.\u0275cmp=t.Xpm({type:H,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(D,ue){1&D&&t._UZ(0,"router-outlet")},dependencies:[kt],encapsulation:2}),H})();function vi(H){const ee=H.children&&H.children.map(vi),D=ee?{...H,children:ee}:{...H};return!D.component&&!D.loadComponent&&(ee||D.loadChildren)&&D.outlet&&D.outlet!==tn&&(D.component=ho),D}function Io(H){return H.outlet||tn}function Hi(H){if(!H)return null;if(H.routeConfig?._injector)return H.routeConfig._injector;for(let ee=H.parent;ee;ee=ee.parent){const D=ee.routeConfig;if(D?._loadedInjector)return D._loadedInjector;if(D?._injector)return D._injector}return null}class Ji{constructor(ee,D,ue,Fe,ht){this.routeReuseStrategy=ee,this.futureState=D,this.currState=ue,this.forwardEvent=Fe,this.inputBindingEnabled=ht}activate(ee){const D=this.futureState._root,ue=this.currState?this.currState._root:null;this.deactivateChildRoutes(D,ue,ee),Qe(this.futureState.root),this.activateChildRoutes(D,ue,ee)}deactivateChildRoutes(ee,D,ue){const Fe=Xo(D);ee.children.forEach(ht=>{const gt=ht.value.outlet;this.deactivateRoutes(ht,Fe[gt],ue),delete Fe[gt]}),Object.values(Fe).forEach(ht=>{this.deactivateRouteAndItsChildren(ht,ue)})}deactivateRoutes(ee,D,ue){const Fe=ee.value,ht=D?D.value:null;if(Fe===ht)if(Fe.component){const gt=ue.getContext(Fe.outlet);gt&&this.deactivateChildRoutes(ee,D,gt.children)}else this.deactivateChildRoutes(ee,D,ue);else ht&&this.deactivateRouteAndItsChildren(D,ue)}deactivateRouteAndItsChildren(ee,D){ee.value.component&&this.routeReuseStrategy.shouldDetach(ee.value.snapshot)?this.detachAndStoreRouteSubtree(ee,D):this.deactivateRouteAndOutlet(ee,D)}detachAndStoreRouteSubtree(ee,D){const ue=D.getContext(ee.value.outlet),Fe=ue&&ee.value.component?ue.children:D,ht=Xo(ee);for(const gt of Object.keys(ht))this.deactivateRouteAndItsChildren(ht[gt],Fe);if(ue&&ue.outlet){const gt=ue.outlet.detach(),an=ue.children.onOutletDeactivated();this.routeReuseStrategy.store(ee.value.snapshot,{componentRef:gt,route:ee,contexts:an})}}deactivateRouteAndOutlet(ee,D){const ue=D.getContext(ee.value.outlet),Fe=ue&&ee.value.component?ue.children:D,ht=Xo(ee);for(const gt of Object.keys(ht))this.deactivateRouteAndItsChildren(ht[gt],Fe);ue&&(ue.outlet&&(ue.outlet.deactivate(),ue.children.onOutletDeactivated()),ue.attachRef=null,ue.route=null)}activateChildRoutes(ee,D,ue){const Fe=Xo(D);ee.children.forEach(ht=>{this.activateRoutes(ht,Fe[ht.value.outlet],ue),this.forwardEvent(new _r(ht.value.snapshot))}),ee.children.length&&this.forwardEvent(new Er(ee.value.snapshot))}activateRoutes(ee,D,ue){const Fe=ee.value,ht=D?D.value:null;if(Qe(Fe),Fe===ht)if(Fe.component){const gt=ue.getOrCreateContext(Fe.outlet);this.activateChildRoutes(ee,D,gt.children)}else this.activateChildRoutes(ee,D,ue);else if(Fe.component){const gt=ue.getOrCreateContext(Fe.outlet);if(this.routeReuseStrategy.shouldAttach(Fe.snapshot)){const an=this.routeReuseStrategy.retrieve(Fe.snapshot);this.routeReuseStrategy.store(Fe.snapshot,null),gt.children.onOutletReAttached(an.contexts),gt.attachRef=an.componentRef,gt.route=an.route.value,gt.outlet&>.outlet.attach(an.componentRef,an.route.value),Qe(an.route.value),this.activateChildRoutes(ee,null,gt.children)}else{const an=Hi(Fe.snapshot);gt.attachRef=null,gt.route=Fe,gt.injector=an,gt.outlet&>.outlet.activateWith(Fe,gt.injector),this.activateChildRoutes(ee,null,gt.children)}}else this.activateChildRoutes(ee,null,ue)}}class Fi{constructor(ee){this.path=ee,this.route=this.path[this.path.length-1]}}class Yi{constructor(ee,D){this.component=ee,this.route=D}}function pi(H,ee,D){const ue=H._root;return Z(ue,ee?ee._root:null,D,[ue.value])}function Rt(H,ee){const D=Symbol(),ue=ee.get(H,D);return ue===D?"function"!=typeof H||(0,t.Z0I)(H)?ee.get(H):H:ue}function Z(H,ee,D,ue,Fe={canDeactivateChecks:[],canActivateChecks:[]}){const ht=Xo(ee);return H.children.forEach(gt=>{(function ke(H,ee,D,ue,Fe={canDeactivateChecks:[],canActivateChecks:[]}){const ht=H.value,gt=ee?ee.value:null,an=D?D.getContext(H.value.outlet):null;if(gt&&ht.routeConfig===gt.routeConfig){const An=function $t(H,ee,D){if("function"==typeof D)return D(H,ee);switch(D){case"pathParamsChange":return!vt(H.url,ee.url);case"pathParamsOrQueryParamsChange":return!vt(H.url,ee.url)||!je(H.queryParams,ee.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zt(H,ee)||!je(H.queryParams,ee.queryParams);default:return!zt(H,ee)}}(gt,ht,ht.routeConfig.runGuardsAndResolvers);An?Fe.canActivateChecks.push(new Fi(ue)):(ht.data=gt.data,ht._resolvedData=gt._resolvedData),Z(H,ee,ht.component?an?an.children:null:D,ue,Fe),An&&an&&an.outlet&&an.outlet.isActivated&&Fe.canDeactivateChecks.push(new Yi(an.outlet.component,gt))}else gt&&sn(ee,an,Fe),Fe.canActivateChecks.push(new Fi(ue)),Z(H,null,ht.component?an?an.children:null:D,ue,Fe)})(gt,ht[gt.value.outlet],D,ue.concat([gt.value]),Fe),delete ht[gt.value.outlet]}),Object.entries(ht).forEach(([gt,an])=>sn(an,D.getContext(gt),Fe)),Fe}function sn(H,ee,D){const ue=Xo(H),Fe=H.value;Object.entries(ue).forEach(([ht,gt])=>{sn(gt,Fe.component?ee?ee.children.getContext(ht):null:ee,D)}),D.canDeactivateChecks.push(new Yi(Fe.component&&ee&&ee.outlet&&ee.outlet.isActivated?ee.outlet.component:null,Fe))}function Yn(H){return"function"==typeof H}function os(H){return H instanceof G.K||"EmptyError"===H?.name}const Ee=Symbol("INITIAL_VALUE");function Ce(){return(0,R.w)(H=>(0,k.a)(H.map(ee=>ee.pipe((0,ge.q)(1),(0,ze.O)(Ee)))).pipe((0,F.U)(ee=>{for(const D of ee)if(!0!==D){if(D===Ee)return Ee;if(!1===D||D instanceof te)return D}return!0}),(0,K.h)(ee=>ee!==Ee),(0,ge.q)(1)))}function Hs(H){return(0,S.z)((0,A.b)(ee=>{if(at(ee))throw Gn(0,ee)}),(0,F.U)(ee=>!0===ee))}class zr{constructor(ee){this.segmentGroup=ee||null}}class nc{constructor(ee){this.urlTree=ee}}function Jr(H){return(0,w._)(new zr(H))}function Rr(H){return(0,w._)(new nc(H))}class yi{constructor(ee,D){this.urlSerializer=ee,this.urlTree=D}noMatchError(ee){return new t.vHH(4002,!1)}lineralizeSegments(ee,D){let ue=[],Fe=D.root;for(;;){if(ue=ue.concat(Fe.segments),0===Fe.numberOfChildren)return(0,d.of)(ue);if(Fe.numberOfChildren>1||!Fe.children[tn])return(0,w._)(new t.vHH(4e3,!1));Fe=Fe.children[tn]}}applyRedirectCommands(ee,D,ue){return this.applyRedirectCreateUrlTree(D,this.urlSerializer.parse(D),ee,ue)}applyRedirectCreateUrlTree(ee,D,ue,Fe){const ht=this.createSegmentGroup(ee,D.root,ue,Fe);return new te(ht,this.createQueryParams(D.queryParams,this.urlTree.queryParams),D.fragment)}createQueryParams(ee,D){const ue={};return Object.entries(ee).forEach(([Fe,ht])=>{if("string"==typeof ht&&ht.startsWith(":")){const an=ht.substring(1);ue[Fe]=D[an]}else ue[Fe]=ht}),ue}createSegmentGroup(ee,D,ue,Fe){const ht=this.createSegments(ee,D.segments,ue,Fe);let gt={};return Object.entries(D.children).forEach(([an,An])=>{gt[an]=this.createSegmentGroup(ee,An,ue,Fe)}),new ce(ht,gt)}createSegments(ee,D,ue,Fe){return D.map(ht=>ht.path.startsWith(":")?this.findPosParam(ee,ht,Fe):this.findOrReturn(ht,ue))}findPosParam(ee,D,ue){const Fe=ue[D.path.substring(1)];if(!Fe)throw new t.vHH(4001,!1);return Fe}findOrReturn(ee,D){let ue=0;for(const Fe of D){if(Fe.path===ee.path)return D.splice(ue),Fe;ue++}return ee}}const pr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ds(H,ee,D,ue,Fe){const ht=Vr(H,ee,D);return ht.matched?(ue=function eo(H,ee){return H.providers&&!H._injector&&(H._injector=(0,t.MMx)(H.providers,ee,`Route: ${H.path}`)),H._injector??ee}(ee,ue),function Ys(H,ee,D,ue){const Fe=ee.canMatch;if(!Fe||0===Fe.length)return(0,d.of)(!0);const ht=Fe.map(gt=>{const an=Rt(gt,H);return vn(function Vi(H){return H&&Yn(H.canMatch)}(an)?an.canMatch(ee,D):H.runInContext(()=>an(ee,D)))});return(0,d.of)(ht).pipe(Ce(),Hs())}(ue,ee,D).pipe((0,F.U)(gt=>!0===gt?ht:{...pr}))):(0,d.of)(ht)}function Vr(H,ee,D){if(""===ee.path)return"full"===ee.pathMatch&&(H.hasChildren()||D.length>0)?{...pr}:{matched:!0,consumedSegments:[],remainingSegments:D,parameters:{},positionalParamSegments:{}};const Fe=(ee.matcher||Re)(D,H,ee);if(!Fe)return{...pr};const ht={};Object.entries(Fe.posParams??{}).forEach(([an,An])=>{ht[an]=An.path});const gt=Fe.consumed.length>0?{...ht,...Fe.consumed[Fe.consumed.length-1].parameters}:ht;return{matched:!0,consumedSegments:Fe.consumed,remainingSegments:D.slice(Fe.consumed.length),parameters:gt,positionalParamSegments:Fe.posParams??{}}}function xr(H,ee,D,ue){return D.length>0&&function Br(H,ee,D){return D.some(ue=>hr(H,ee,ue)&&Io(ue)!==tn)}(H,D,ue)?{segmentGroup:new ce(ee,$s(ue,new ce(D,H.children))),slicedSegments:[]}:0===D.length&&function ds(H,ee,D){return D.some(ue=>hr(H,ee,ue))}(H,D,ue)?{segmentGroup:new ce(H.segments,qr(H,0,D,ue,H.children)),slicedSegments:D}:{segmentGroup:new ce(H.segments,H.children),slicedSegments:D}}function qr(H,ee,D,ue,Fe){const ht={};for(const gt of ue)if(hr(H,D,gt)&&!Fe[Io(gt)]){const an=new ce([],{});ht[Io(gt)]=an}return{...Fe,...ht}}function $s(H,ee){const D={};D[tn]=ee;for(const ue of H)if(""===ue.path&&Io(ue)!==tn){const Fe=new ce([],{});D[Io(ue)]=Fe}return D}function hr(H,ee,D){return(!(H.hasChildren()||ee.length>0)||"full"!==D.pathMatch)&&""===D.path}class Yc{constructor(ee,D,ue,Fe,ht,gt,an){this.injector=ee,this.configLoader=D,this.rootComponentType=ue,this.config=Fe,this.urlTree=ht,this.paramsInheritanceStrategy=gt,this.urlSerializer=an,this.allowRedirects=!0,this.applyRedirects=new yi(this.urlSerializer,this.urlTree)}noMatchError(ee){return new t.vHH(4002,!1)}recognize(){const ee=xr(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,ee,tn).pipe((0,x.K)(D=>{if(D instanceof nc)return this.allowRedirects=!1,this.urlTree=D.urlTree,this.match(D.urlTree);throw D instanceof zr?this.noMatchError(D):D}),(0,F.U)(D=>{const ue=new ao([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tn,this.rootComponentType,null,{}),Fe=new yo(ue,D),ht=new Ue("",Fe),gt=function Bt(H,ee,D=null,ue=null){return At(ln(H),ee,D,ue)}(ue,[],this.urlTree.queryParams,this.urlTree.fragment);return gt.queryParams=this.urlTree.queryParams,ht.url=this.urlSerializer.serialize(gt),this.inheritParamsAndData(ht._root),{state:ht,tree:gt}}))}match(ee){return this.processSegmentGroup(this.injector,this.config,ee.root,tn).pipe((0,x.K)(ue=>{throw ue instanceof zr?this.noMatchError(ue):ue}))}inheritParamsAndData(ee){const D=ee.value,ue=qo(D,this.paramsInheritanceStrategy);D.params=Object.freeze(ue.params),D.data=Object.freeze(ue.data),ee.children.forEach(Fe=>this.inheritParamsAndData(Fe))}processSegmentGroup(ee,D,ue,Fe){return 0===ue.segments.length&&ue.hasChildren()?this.processChildren(ee,D,ue):this.processSegment(ee,D,ue,ue.segments,Fe,!0)}processChildren(ee,D,ue){const Fe=[];for(const ht of Object.keys(ue.children))"primary"===ht?Fe.unshift(ht):Fe.push(ht);return(0,v.D)(Fe).pipe((0,O.b)(ht=>{const gt=ue.children[ht],an=function Fo(H,ee){const D=H.filter(ue=>Io(ue)===ee);return D.push(...H.filter(ue=>Io(ue)!==ee)),D}(D,ht);return this.processSegmentGroup(ee,an,gt,ht)}),(0,pe.R)((ht,gt)=>(ht.push(...gt),ht)),(0,de.d)(null),function be(H,ee){const D=arguments.length>=2;return ue=>ue.pipe(H?(0,K.h)((Fe,ht)=>H(Fe,ht,ue)):fe.y,Q(1),D?(0,de.d)(ee):(0,ae.T)(()=>new G.K))}(),(0,N.z)(ht=>{if(null===ht)return Jr(ue);const gt=ir(ht);return function ic(H){H.sort((ee,D)=>ee.value.outlet===tn?-1:D.value.outlet===tn?1:ee.value.outlet.localeCompare(D.value.outlet))}(gt),(0,d.of)(gt)}))}processSegment(ee,D,ue,Fe,ht,gt){return(0,v.D)(D).pipe((0,O.b)(an=>this.processSegmentAgainstRoute(an._injector??ee,D,an,ue,Fe,ht,gt).pipe((0,x.K)(An=>{if(An instanceof zr)return(0,d.of)(null);throw An}))),(0,V.P)(an=>!!an),(0,x.K)(an=>{if(os(an))return function Dr(H,ee,D){return 0===ee.length&&!H.children[D]}(ue,Fe,ht)?(0,d.of)([]):Jr(ue);throw an}))}processSegmentAgainstRoute(ee,D,ue,Fe,ht,gt,an){return function oc(H,ee,D,ue){return!!(Io(H)===ue||ue!==tn&&hr(ee,D,H))&&("**"===H.path||Vr(ee,H,D).matched)}(ue,Fe,ht,gt)?void 0===ue.redirectTo?this.matchSegmentAgainstRoute(ee,Fe,ue,ht,gt,an):an&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(ee,Fe,D,ue,ht,gt):Jr(Fe):Jr(Fe)}expandSegmentAgainstRouteUsingRedirect(ee,D,ue,Fe,ht,gt){return"**"===Fe.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(ee,ue,Fe,gt):this.expandRegularSegmentAgainstRouteUsingRedirect(ee,D,ue,Fe,ht,gt)}expandWildCardWithParamsAgainstRouteUsingRedirect(ee,D,ue,Fe){const ht=this.applyRedirects.applyRedirectCommands([],ue.redirectTo,{});return ue.redirectTo.startsWith("/")?Rr(ht):this.applyRedirects.lineralizeSegments(ue,ht).pipe((0,N.z)(gt=>{const an=new ce(gt,{});return this.processSegment(ee,D,an,gt,Fe,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(ee,D,ue,Fe,ht,gt){const{matched:an,consumedSegments:An,remainingSegments:no,positionalParamSegments:so}=Vr(D,Fe,ht);if(!an)return Jr(D);const jo=this.applyRedirects.applyRedirectCommands(An,Fe.redirectTo,so);return Fe.redirectTo.startsWith("/")?Rr(jo):this.applyRedirects.lineralizeSegments(Fe,jo).pipe((0,N.z)(li=>this.processSegment(ee,ue,D,li.concat(no),gt,!1)))}matchSegmentAgainstRoute(ee,D,ue,Fe,ht,gt){let an;if("**"===ue.path){const An=Fe.length>0?qt(Fe).parameters:{},no=new ao(Fe,An,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Hr(ue),Io(ue),ue.component??ue._loadedComponent??null,ue,ps(ue));an=(0,d.of)({snapshot:no,consumedSegments:[],remainingSegments:[]}),D.children={}}else an=Ds(D,ue,Fe,ee).pipe((0,F.U)(({matched:An,consumedSegments:no,remainingSegments:so,parameters:jo})=>An?{snapshot:new ao(no,jo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Hr(ue),Io(ue),ue.component??ue._loadedComponent??null,ue,ps(ue)),consumedSegments:no,remainingSegments:so}:null));return an.pipe((0,R.w)(An=>null===An?Jr(D):this.getChildConfig(ee=ue._injector??ee,ue,Fe).pipe((0,R.w)(({routes:no})=>{const so=ue._loadedInjector??ee,{snapshot:jo,consumedSegments:li,remainingSegments:Js}=An,{segmentGroup:Gr,slicedSegments:Qr}=xr(D,li,Js,no);if(0===Qr.length&&Gr.hasChildren())return this.processChildren(so,no,Gr).pipe((0,F.U)(Ar=>null===Ar?null:[new yo(jo,Ar)]));if(0===no.length&&0===Qr.length)return(0,d.of)([new yo(jo,[])]);const Ui=Io(ue)===ht;return this.processSegment(so,no,Gr,Qr,Ui?tn:ht,!0).pipe((0,F.U)(Ar=>[new yo(jo,Ar)]))}))))}getChildConfig(ee,D,ue){return D.children?(0,d.of)({routes:D.children,injector:ee}):D.loadChildren?void 0!==D._loadedRoutes?(0,d.of)({routes:D._loadedRoutes,injector:D._loadedInjector}):function ya(H,ee,D,ue){const Fe=ee.canLoad;if(void 0===Fe||0===Fe.length)return(0,d.of)(!0);const ht=Fe.map(gt=>{const an=Rt(gt,H);return vn(function po(H){return H&&Yn(H.canLoad)}(an)?an.canLoad(ee,D):H.runInContext(()=>an(ee,D)))});return(0,d.of)(ht).pipe(Ce(),Hs())}(ee,D,ue).pipe((0,N.z)(Fe=>Fe?this.configLoader.loadChildren(ee,D).pipe((0,A.b)(ht=>{D._loadedRoutes=ht.routes,D._loadedInjector=ht.injector})):function dr(H){return(0,w._)(Fn(!1,3))}())):(0,d.of)({routes:[],injector:ee})}}function Or(H){const ee=H.value.routeConfig;return ee&&""===ee.path}function ir(H){const ee=[],D=new Set;for(const ue of H){if(!Or(ue)){ee.push(ue);continue}const Fe=ee.find(ht=>ue.value.routeConfig===ht.value.routeConfig);void 0!==Fe?(Fe.children.push(...ue.children),D.add(Fe)):ee.push(ue)}for(const ue of D){const Fe=ir(ue.children);ee.push(new yo(ue.value,Fe))}return ee.filter(ue=>!D.has(ue))}function Hr(H){return H.data||{}}function ps(H){return H.resolve||{}}function Qs(H){return"string"==typeof H.title||null===H.title}function js(H){return(0,R.w)(ee=>{const D=H(ee);return D?(0,v.D)(D).pipe((0,F.U)(()=>ee)):(0,d.of)(ee)})}const $i=new t.OlP("ROUTES");let Li=(()=>{class H{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.f3M)(t.Sil)}loadComponent(D){if(this.componentLoaders.get(D))return this.componentLoaders.get(D);if(D._loadedComponent)return(0,d.of)(D._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(D);const ue=vn(D.loadComponent()).pipe((0,F.U)(ii),(0,A.b)(ht=>{this.onLoadEndListener&&this.onLoadEndListener(D),D._loadedComponent=ht}),(0,Dt.x)(()=>{this.componentLoaders.delete(D)})),Fe=new Y.c(ue,()=>new M.x).pipe((0,nn.x)());return this.componentLoaders.set(D,Fe),Fe}loadChildren(D,ue){if(this.childrenLoaders.get(ue))return this.childrenLoaders.get(ue);if(ue._loadedRoutes)return(0,d.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ue);const ht=this.loadModuleFactoryOrRoutes(ue.loadChildren).pipe((0,F.U)(an=>{this.onLoadEndListener&&this.onLoadEndListener(ue);let An,no;return Array.isArray(an)?no=an:(An=an.create(D).injector,no=An.get($i,[],t.XFs.Self|t.XFs.Optional).flat()),{routes:no.map(vi),injector:An}}),(0,Dt.x)(()=>{this.childrenLoaders.delete(ue)})),gt=new Y.c(ht,()=>new M.x).pipe((0,nn.x)());return this.childrenLoaders.set(ue,gt),gt}loadModuleFactoryOrRoutes(D){return vn(D()).pipe((0,F.U)(ii),(0,N.z)(ue=>ue instanceof t.YKP||Array.isArray(ue)?(0,d.of)(ue):(0,v.D)(this.compiler.compileModuleAsync(ue))))}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();function ii(H){return function Ws(H){return H&&"object"==typeof H&&"default"in H}(H)?H.default:H}let Yr=(()=>{class H{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new M.x,this.configLoader=(0,t.f3M)(Li),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(_n),this.rootContexts=(0,t.f3M)(Kn),this.inputBindingEnabled=null!==(0,t.f3M)(hn,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,d.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Fe=>this.events.next(new Ri(Fe)),this.configLoader.onLoadStartListener=Fe=>this.events.next(new wi(Fe))}complete(){this.transitions?.complete()}handleNavigationRequest(D){const ue=++this.navigationId;this.transitions?.next({...this.transitions.value,...D,id:ue})}setupNavigations(D){return this.transitions=new s.X({id:0,currentUrlTree:D.currentUrlTree,currentRawUrl:D.currentUrlTree,extractedUrl:D.urlHandlingStrategy.extract(D.currentUrlTree),urlAfterRedirects:D.urlHandlingStrategy.extract(D.currentUrlTree),rawUrl:D.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Eo,restoredState:null,currentSnapshot:D.routerState.snapshot,targetSnapshot:null,currentRouterState:D.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,K.h)(ue=>0!==ue.id),(0,F.U)(ue=>({...ue,extractedUrl:D.urlHandlingStrategy.extract(ue.rawUrl)})),(0,R.w)(ue=>{let Fe=!1,ht=!1;return(0,d.of)(ue).pipe((0,A.b)(gt=>{this.currentNavigation={id:gt.id,initialUrl:gt.rawUrl,extractedUrl:gt.extractedUrl,trigger:gt.source,extras:gt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,R.w)(gt=>{const an=D.browserUrlTree.toString(),An=!D.navigated||gt.extractedUrl.toString()!==an||an!==D.currentUrlTree.toString();if(!An&&"reload"!==(gt.extras.onSameUrlNavigation??D.onSameUrlNavigation)){const so="";return this.events.next(new vo(gt.id,D.serializeUrl(ue.rawUrl),so,0)),D.rawUrlTree=gt.rawUrl,gt.resolve(null),L.E}if(D.urlHandlingStrategy.shouldProcessUrl(gt.rawUrl))return ie(gt.source)&&(D.browserUrlTree=gt.extractedUrl),(0,d.of)(gt).pipe((0,R.w)(so=>{const jo=this.transitions?.getValue();return this.events.next(new Jo(so.id,this.urlSerializer.serialize(so.extractedUrl),so.source,so.restoredState)),jo!==this.transitions?.getValue()?L.E:Promise.resolve(so)}),function hs(H,ee,D,ue,Fe,ht){return(0,N.z)(gt=>function Ca(H,ee,D,ue,Fe,ht,gt="emptyOnly"){return new Yc(H,ee,D,ue,Fe,gt,ht).recognize()}(H,ee,D,ue,gt.extractedUrl,Fe,ht).pipe((0,F.U)(({state:an,tree:An})=>({...gt,targetSnapshot:an,urlAfterRedirects:An}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,D.config,this.urlSerializer,D.paramsInheritanceStrategy),(0,A.b)(so=>{if(ue.targetSnapshot=so.targetSnapshot,ue.urlAfterRedirects=so.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:so.urlAfterRedirects},"eager"===D.urlUpdateStrategy){if(!so.extras.skipLocationChange){const li=D.urlHandlingStrategy.merge(so.urlAfterRedirects,so.rawUrl);D.setBrowserUrl(li,so)}D.browserUrlTree=so.urlAfterRedirects}const jo=new oi(so.id,this.urlSerializer.serialize(so.extractedUrl),this.urlSerializer.serialize(so.urlAfterRedirects),so.targetSnapshot);this.events.next(jo)}));if(An&&D.urlHandlingStrategy.shouldProcessUrl(D.rawUrlTree)){const{id:so,extractedUrl:jo,source:li,restoredState:Js,extras:Gr}=gt,Qr=new Jo(so,this.urlSerializer.serialize(jo),li,Js);this.events.next(Qr);const Ui=Si(0,this.rootComponentType).snapshot;return ue={...gt,targetSnapshot:Ui,urlAfterRedirects:jo,extras:{...Gr,skipLocationChange:!1,replaceUrl:!1}},(0,d.of)(ue)}{const so="";return this.events.next(new vo(gt.id,D.serializeUrl(ue.extractedUrl),so,1)),D.rawUrlTree=gt.rawUrl,gt.resolve(null),L.E}}),(0,A.b)(gt=>{const an=new Di(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot);this.events.next(an)}),(0,F.U)(gt=>ue={...gt,guards:pi(gt.targetSnapshot,gt.currentSnapshot,this.rootContexts)}),function he(H,ee){return(0,N.z)(D=>{const{targetSnapshot:ue,currentSnapshot:Fe,guards:{canActivateChecks:ht,canDeactivateChecks:gt}}=D;return 0===gt.length&&0===ht.length?(0,d.of)({...D,guardsResult:!0}):function ct(H,ee,D,ue){return(0,v.D)(H).pipe((0,N.z)(Fe=>function xs(H,ee,D,ue,Fe){const ht=ee&&ee.routeConfig?ee.routeConfig.canDeactivate:null;if(!ht||0===ht.length)return(0,d.of)(!0);const gt=ht.map(an=>{const An=Hi(ee)??Fe,no=Rt(an,An);return vn(function lo(H){return H&&Yn(H.canDeactivate)}(no)?no.canDeactivate(H,ee,D,ue):An.runInContext(()=>no(H,ee,D,ue))).pipe((0,V.P)())});return(0,d.of)(gt).pipe(Ce())}(Fe.component,Fe.route,D,ee,ue)),(0,V.P)(Fe=>!0!==Fe,!0))}(gt,ue,Fe,H).pipe((0,N.z)(an=>an&&function uo(H){return"boolean"==typeof H}(an)?function Cn(H,ee,D,ue){return(0,v.D)(ee).pipe((0,O.b)(Fe=>(0,U.z)(function _i(H,ee){return null!==H&&ee&&ee(new Sr(H)),(0,d.of)(!0)}(Fe.route.parent,ue),function Qn(H,ee){return null!==H&&ee&&ee(new Mi(H)),(0,d.of)(!0)}(Fe.route,ue),function kr(H,ee,D){const ue=ee[ee.length-1],ht=ee.slice(0,ee.length-1).reverse().map(gt=>function Le(H){const ee=H.routeConfig?H.routeConfig.canActivateChild:null;return ee&&0!==ee.length?{node:H,guards:ee}:null}(gt)).filter(gt=>null!==gt).map(gt=>(0,P.P)(()=>{const an=gt.guards.map(An=>{const no=Hi(gt.node)??D,so=Rt(An,no);return vn(function ei(H){return H&&Yn(H.canActivateChild)}(so)?so.canActivateChild(ue,H):no.runInContext(()=>so(ue,H))).pipe((0,V.P)())});return(0,d.of)(an).pipe(Ce())}));return(0,d.of)(ht).pipe(Ce())}(H,Fe.path,D),function hi(H,ee,D){const ue=ee.routeConfig?ee.routeConfig.canActivate:null;if(!ue||0===ue.length)return(0,d.of)(!0);const Fe=ue.map(ht=>(0,P.P)(()=>{const gt=Hi(ee)??D,an=Rt(ht,gt);return vn(function Yo(H){return H&&Yn(H.canActivate)}(an)?an.canActivate(ee,H):gt.runInContext(()=>an(ee,H))).pipe((0,V.P)())}));return(0,d.of)(Fe).pipe(Ce())}(H,Fe.route,D))),(0,V.P)(Fe=>!0!==Fe,!0))}(ue,ht,H,ee):(0,d.of)(an)),(0,F.U)(an=>({...D,guardsResult:an})))})}(this.environmentInjector,gt=>this.events.next(gt)),(0,A.b)(gt=>{if(ue.guardsResult=gt.guardsResult,at(gt.guardsResult))throw Gn(0,gt.guardsResult);const an=new Nn(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(gt.urlAfterRedirects),gt.targetSnapshot,!!gt.guardsResult);this.events.next(an)}),(0,K.h)(gt=>!!gt.guardsResult||(D.restoreHistory(gt),this.cancelNavigationTransition(gt,"",3),!1)),js(gt=>{if(gt.guards.canActivateChecks.length)return(0,d.of)(gt).pipe((0,A.b)(an=>{const An=new Oi(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot);this.events.next(An)}),(0,R.w)(an=>{let An=!1;return(0,d.of)(an).pipe(function Us(H,ee){return(0,N.z)(D=>{const{targetSnapshot:ue,guards:{canActivateChecks:Fe}}=D;if(!Fe.length)return(0,d.of)(D);let ht=0;return(0,v.D)(Fe).pipe((0,O.b)(gt=>function Os(H,ee,D,ue){const Fe=H.routeConfig,ht=H._resolve;return void 0!==Fe?.title&&!Qs(Fe)&&(ht[un]=Fe.title),function ws(H,ee,D,ue){const Fe=function za(H){return[...Object.keys(H),...Object.getOwnPropertySymbols(H)]}(H);if(0===Fe.length)return(0,d.of)({});const ht={};return(0,v.D)(Fe).pipe((0,N.z)(gt=>function Gs(H,ee,D,ue){const Fe=Hi(ee)??ue,ht=Rt(H,Fe);return vn(ht.resolve?ht.resolve(ee,D):Fe.runInContext(()=>ht(ee,D)))}(H[gt],ee,D,ue).pipe((0,V.P)(),(0,A.b)(an=>{ht[gt]=an}))),Q(1),(0,Ft.h)(ht),(0,x.K)(gt=>os(gt)?L.E:(0,w._)(gt)))}(ht,H,ee,ue).pipe((0,F.U)(gt=>(H._resolvedData=gt,H.data=qo(H,D).resolve,Fe&&Qs(Fe)&&(H.data[un]=Fe.title),null)))}(gt.route,ue,H,ee)),(0,A.b)(()=>ht++),Q(1),(0,N.z)(gt=>ht===Fe.length?(0,d.of)(D):L.E))})}(D.paramsInheritanceStrategy,this.environmentInjector),(0,A.b)({next:()=>An=!0,complete:()=>{An||(D.restoreHistory(an),this.cancelNavigationTransition(an,"",2))}}))}),(0,A.b)(an=>{const An=new Ai(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot);this.events.next(An)}))}),js(gt=>{const an=An=>{const no=[];An.routeConfig?.loadComponent&&!An.routeConfig._loadedComponent&&no.push(this.configLoader.loadComponent(An.routeConfig).pipe((0,A.b)(so=>{An.component=so}),(0,F.U)(()=>{})));for(const so of An.children)no.push(...an(so));return no};return(0,k.a)(an(gt.targetSnapshot.root)).pipe((0,de.d)(),(0,ge.q)(1))}),js(()=>this.afterPreactivation()),(0,F.U)(gt=>{const an=function yn(H,ee,D){const ue=Rn(H,ee._root,D?D._root:void 0);return new bi(ue,ee)}(D.routeReuseStrategy,gt.targetSnapshot,gt.currentRouterState);return ue={...gt,targetRouterState:an}}),(0,A.b)(gt=>{D.currentUrlTree=gt.urlAfterRedirects,D.rawUrlTree=D.urlHandlingStrategy.merge(gt.urlAfterRedirects,gt.rawUrl),D.routerState=gt.targetRouterState,"deferred"===D.urlUpdateStrategy&&(gt.extras.skipLocationChange||D.setBrowserUrl(D.rawUrlTree,gt),D.browserUrlTree=gt.urlAfterRedirects)}),((H,ee,D,ue)=>(0,F.U)(Fe=>(new Ji(ee,Fe.targetRouterState,Fe.currentRouterState,D,ue).activate(H),Fe)))(this.rootContexts,D.routeReuseStrategy,gt=>this.events.next(gt),this.inputBindingEnabled),(0,ge.q)(1),(0,A.b)({next:gt=>{Fe=!0,this.lastSuccessfulNavigation=this.currentNavigation,D.navigated=!0,this.events.next(new ko(gt.id,this.urlSerializer.serialize(gt.extractedUrl),this.urlSerializer.serialize(D.currentUrlTree))),D.titleStrategy?.updateTitle(gt.targetRouterState.snapshot),gt.resolve(!0)},complete:()=>{Fe=!0}}),(0,Dt.x)(()=>{Fe||ht||this.cancelNavigationTransition(ue,"",1),this.currentNavigation?.id===ue.id&&(this.currentNavigation=null)}),(0,x.K)(gt=>{if(ht=!0,Ln(gt)){Bn(gt)||(D.navigated=!0,D.restoreHistory(ue,!0));const an=new Mo(ue.id,this.urlSerializer.serialize(ue.extractedUrl),gt.message,gt.cancellationCode);if(this.events.next(an),Bn(gt)){const An=D.urlHandlingStrategy.merge(gt.url,D.rawUrlTree),no={skipLocationChange:ue.extras.skipLocationChange,replaceUrl:"eager"===D.urlUpdateStrategy||ie(ue.source)};D.scheduleNavigation(An,Eo,null,no,{resolve:ue.resolve,reject:ue.reject,promise:ue.promise})}else ue.resolve(!1)}else{D.restoreHistory(ue,!0);const an=new ui(ue.id,this.urlSerializer.serialize(ue.extractedUrl),gt,ue.targetSnapshot??void 0);this.events.next(an);try{ue.resolve(D.errorHandler(gt))}catch(An){ue.reject(An)}}return L.E}))}))}cancelNavigationTransition(D,ue,Fe){const ht=new Mo(D.id,this.urlSerializer.serialize(D.extractedUrl),ue,Fe);this.events.next(ht),D.resolve(!1)}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();function ie(H){return H!==Eo}let Ne=(()=>{class H{buildTitle(D){let ue,Fe=D.root;for(;void 0!==Fe;)ue=this.getResolvedTitleForRoute(Fe)??ue,Fe=Fe.children.find(ht=>ht.outlet===tn);return ue}getResolvedTitleForRoute(D){return D.data[un]}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:function(){return(0,t.f3M)(me)},providedIn:"root"}),H})(),me=(()=>{class H extends Ne{constructor(D){super(),this.title=D}updateTitle(D){const ue=this.buildTitle(D);void 0!==ue&&this.title.setTitle(ue)}}return H.\u0275fac=function(D){return new(D||H)(t.LFG(Ht.Dx))},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),et=(()=>{class H{}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:function(){return(0,t.f3M)(pn)},providedIn:"root"}),H})();class Pt{shouldDetach(ee){return!1}store(ee,D){}shouldAttach(ee){return!1}retrieve(ee){return null}shouldReuseRoute(ee,D){return ee.routeConfig===D.routeConfig}}let pn=(()=>{class H extends Pt{}return H.\u0275fac=function(){let ee;return function(ue){return(ee||(ee=t.n5z(H)))(ue||H)}}(),H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();const Tn=new t.OlP("",{providedIn:"root",factory:()=>({})});let to=(()=>{class H{}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:function(){return(0,t.f3M)(Qo)},providedIn:"root"}),H})(),Qo=(()=>{class H{shouldProcessUrl(D){return!0}extract(D){return D}merge(D,ue){return D}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();var fo=(()=>((fo=fo||{})[fo.COMPLETE=0]="COMPLETE",fo[fo.FAILED=1]="FAILED",fo[fo.REDIRECTING=2]="REDIRECTING",fo))();function Vo(H,ee){H.events.pipe((0,K.h)(D=>D instanceof ko||D instanceof Mo||D instanceof ui||D instanceof vo),(0,F.U)(D=>D instanceof ko||D instanceof vo?fo.COMPLETE:D instanceof Mo&&(0===D.code||1===D.code)?fo.REDIRECTING:fo.FAILED),(0,K.h)(D=>D!==fo.REDIRECTING),(0,ge.q)(1)).subscribe(()=>{ee()})}function wo(H){throw H}function ci(H,ee,D){return ee.parse("/")}const Wo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ci={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let zi=(()=>{class H{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,t.f3M)(t.c2e),this.isNgZoneEnabled=!1,this.options=(0,t.f3M)(Tn,{optional:!0})||{},this.pendingTasks=(0,t.f3M)(t.HDt),this.errorHandler=this.options.errorHandler||wo,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ci,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,t.f3M)(to),this.routeReuseStrategy=(0,t.f3M)(et),this.titleStrategy=(0,t.f3M)(Ne),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,t.f3M)($i,{optional:!0})?.flat()??[],this.navigationTransitions=(0,t.f3M)(Yr),this.urlSerializer=(0,t.f3M)(_n),this.location=(0,t.f3M)(e.Ye),this.componentInputBindingEnabled=!!(0,t.f3M)(hn,{optional:!0}),this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new te,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Si(0,null),this.navigationTransitions.setupNavigations(this).subscribe(D=>{this.lastSuccessfulId=D.id,this.currentPageId=this.browserPageId??0},D=>{this.console.warn(`Unhandled Navigation Error: ${D}`)})}resetRootComponentType(D){this.routerState.root.component=D,this.navigationTransitions.rootComponentType=D}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const D=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Eo,D)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(D=>{const ue="popstate"===D.type?"popstate":"hashchange";"popstate"===ue&&setTimeout(()=>{this.navigateToSyncWithBrowser(D.url,ue,D.state)},0)}))}navigateToSyncWithBrowser(D,ue,Fe){const ht={replaceUrl:!0},gt=Fe?.navigationId?Fe:null;if(Fe){const An={...Fe};delete An.navigationId,delete An.\u0275routerPageId,0!==Object.keys(An).length&&(ht.state=An)}const an=this.parseUrl(D);this.scheduleNavigation(an,ue,gt,ht)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(D){this.config=D.map(vi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(D,ue={}){const{relativeTo:Fe,queryParams:ht,fragment:gt,queryParamsHandling:an,preserveFragment:An}=ue,no=An?this.currentUrlTree.fragment:gt;let jo,so=null;switch(an){case"merge":so={...this.currentUrlTree.queryParams,...ht};break;case"preserve":so=this.currentUrlTree.queryParams;break;default:so=ht||null}null!==so&&(so=this.removeEmptyProps(so));try{jo=ln(Fe?Fe.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof D[0]||!D[0].startsWith("/"))&&(D=[]),jo=this.currentUrlTree.root}return At(jo,D,so,no??null)}navigateByUrl(D,ue={skipLocationChange:!1}){const Fe=at(D)?D:this.parseUrl(D),ht=this.urlHandlingStrategy.merge(Fe,this.rawUrlTree);return this.scheduleNavigation(ht,Eo,null,ue)}navigate(D,ue={skipLocationChange:!1}){return function ro(H){for(let ee=0;ee{const ht=D[Fe];return null!=ht&&(ue[Fe]=ht),ue},{})}scheduleNavigation(D,ue,Fe,ht,gt){if(this.disposed)return Promise.resolve(!1);let an,An,no;gt?(an=gt.resolve,An=gt.reject,no=gt.promise):no=new Promise((jo,li)=>{an=jo,An=li});const so=this.pendingTasks.add();return Vo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(so))}),this.navigationTransitions.handleNavigationRequest({source:ue,restoredState:Fe,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:D,extras:ht,resolve:an,reject:An,promise:no,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),no.catch(jo=>Promise.reject(jo))}setBrowserUrl(D,ue){const Fe=this.urlSerializer.serialize(D);if(this.location.isCurrentPathEqualTo(Fe)||ue.extras.replaceUrl){const gt={...ue.extras.state,...this.generateNgRouterState(ue.id,this.browserPageId)};this.location.replaceState(Fe,"",gt)}else{const ht={...ue.extras.state,...this.generateNgRouterState(ue.id,(this.browserPageId??0)+1)};this.location.go(Fe,"",ht)}}restoreHistory(D,ue=!1){if("computed"===this.canceledNavigationResolution){const ht=this.currentPageId-(this.browserPageId??this.currentPageId);0!==ht?this.location.historyGo(ht):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===ht&&(this.resetState(D),this.browserUrlTree=D.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ue&&this.resetState(D),this.resetUrlToCurrentUrlTree())}resetState(D){this.routerState=D.currentRouterState,this.currentUrlTree=D.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,D.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(D,ue){return"computed"===this.canceledNavigationResolution?{navigationId:D,\u0275routerPageId:ue}:{navigationId:D}}}return H.\u0275fac=function(D){return new(D||H)},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),fr=(()=>{class H{constructor(D,ue,Fe,ht,gt,an){this.router=D,this.route=ue,this.tabIndexAttribute=Fe,this.renderer=ht,this.el=gt,this.locationStrategy=an,this.href=null,this.commands=null,this.onChanges=new M.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const An=gt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===An||"area"===An,this.isAnchorElement?this.subscription=D.events.subscribe(no=>{no instanceof ko&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(D){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",D)}ngOnChanges(D){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(D){null!=D?(this.commands=Array.isArray(D)?D:[D],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(D,ue,Fe,ht,gt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==D||ue||Fe||ht||gt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const D=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",D)}applyAttributeValue(D,ue){const Fe=this.renderer,ht=this.el.nativeElement;null!==ue?Fe.setAttribute(ht,D,ue):Fe.removeAttribute(ht,D)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return H.\u0275fac=function(D){return new(D||H)(t.Y36(zi),t.Y36(Qi),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(e.S$))},H.\u0275dir=t.lG2({type:H,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(D,ue){1&D&&t.NdJ("click",function(ht){return ue.onClick(ht.button,ht.ctrlKey,ht.shiftKey,ht.altKey,ht.metaKey)}),2&D&&t.uIk("target",ue.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",t.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",t.VuI],replaceUrl:["replaceUrl","replaceUrl",t.VuI],routerLink:"routerLink"},standalone:!0,features:[t.Xq5,t.TTD]}),H})(),rr=(()=>{class H{get isActive(){return this._isActive}constructor(D,ue,Fe,ht,gt){this.router=D,this.element=ue,this.renderer=Fe,this.cdr=ht,this.link=gt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.vpe,this.routerEventsSubscription=D.events.subscribe(an=>{an instanceof ko&&this.update()})}ngAfterContentInit(){(0,d.of)(this.links.changes,(0,d.of)(null)).pipe((0,Et.J)()).subscribe(D=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const D=[...this.links.toArray(),this.link].filter(ue=>!!ue).map(ue=>ue.onChanges);this.linkInputChangesSubscription=(0,v.D)(D).pipe((0,Et.J)()).subscribe(ue=>{this._isActive!==this.isLinkActive(this.router)(ue)&&this.update()})}set routerLinkActive(D){const ue=Array.isArray(D)?D:D.split(" ");this.classes=ue.filter(Fe=>!!Fe)}ngOnChanges(D){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const D=this.hasActiveLinks();this._isActive!==D&&(this._isActive=D,this.cdr.markForCheck(),this.classes.forEach(ue=>{D?this.renderer.addClass(this.element.nativeElement,ue):this.renderer.removeClass(this.element.nativeElement,ue)}),D&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(D))})}isLinkActive(D){const ue=function $r(H){return!!H.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Fe=>!!Fe.urlTree&&D.isActive(Fe.urlTree,ue)}hasActiveLinks(){const D=this.isLinkActive(this.router);return this.link&&D(this.link)||this.links.some(D)}}return H.\u0275fac=function(D){return new(D||H)(t.Y36(zi),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(fr,8))},H.\u0275dir=t.lG2({type:H,selectors:[["","routerLinkActive",""]],contentQueries:function(D,ue,Fe){if(1&D&&t.Suo(Fe,fr,5),2&D){let ht;t.iGM(ht=t.CRH())&&(ue.links=ht)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.TTD]}),H})();class wr{}let Pr=(()=>{class H{constructor(D,ue,Fe,ht,gt){this.router=D,this.injector=Fe,this.preloadingStrategy=ht,this.loader=gt}setUpPreloading(){this.subscription=this.router.events.pipe((0,K.h)(D=>D instanceof ko),(0,O.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(D,ue){const Fe=[];for(const ht of ue){ht.providers&&!ht._injector&&(ht._injector=(0,t.MMx)(ht.providers,D,`Route: ${ht.path}`));const gt=ht._injector??D,an=ht._loadedInjector??gt;(ht.loadChildren&&!ht._loadedRoutes&&void 0===ht.canLoad||ht.loadComponent&&!ht._loadedComponent)&&Fe.push(this.preloadConfig(gt,ht)),(ht.children||ht._loadedRoutes)&&Fe.push(this.processRoutes(an,ht.children??ht._loadedRoutes))}return(0,v.D)(Fe).pipe((0,Et.J)())}preloadConfig(D,ue){return this.preloadingStrategy.preload(ue,()=>{let Fe;Fe=ue.loadChildren&&void 0===ue.canLoad?this.loader.loadChildren(D,ue):(0,d.of)(null);const ht=Fe.pipe((0,N.z)(gt=>null===gt?(0,d.of)(void 0):(ue._loadedRoutes=gt.routes,ue._loadedInjector=gt.injector,this.processRoutes(gt.injector??D,gt.routes))));if(ue.loadComponent&&!ue._loadedComponent){const gt=this.loader.loadComponent(ue);return(0,v.D)([ht,gt]).pipe((0,Et.J)())}return ht})}}return H.\u0275fac=function(D){return new(D||H)(t.LFG(zi),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(wr),t.LFG(Li))},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();const fs=new t.OlP("");let rc=(()=>{class H{constructor(D,ue,Fe,ht,gt={}){this.urlSerializer=D,this.transitions=ue,this.viewportScroller=Fe,this.zone=ht,this.options=gt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},gt.scrollPositionRestoration=gt.scrollPositionRestoration||"disabled",gt.anchorScrolling=gt.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(D=>{D instanceof Jo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=D.navigationTrigger,this.restoredId=D.restoredState?D.restoredState.navigationId:0):D instanceof ko?(this.lastId=D.id,this.scheduleScrollEvent(D,this.urlSerializer.parse(D.urlAfterRedirects).fragment)):D instanceof vo&&0===D.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(D,this.urlSerializer.parse(D.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(D=>{D instanceof Ki&&(D.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(D.position):D.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(D.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(D,ue){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ki(D,"popstate"===this.lastSource?this.store[this.restoredId]:null,ue))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return H.\u0275fac=function(D){t.$Z()},H.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac}),H})();function Ur(H,ee){return{\u0275kind:H,\u0275providers:ee}}function Ei(){const H=(0,t.f3M)(t.zs3);return ee=>{const D=H.get(t.z2F);if(ee!==D.components[0])return;const ue=H.get(zi),Fe=H.get(rs);1===H.get(Ir)&&ue.initialNavigation(),H.get(ba,null,t.XFs.Optional)?.setUpPreloading(),H.get(fs,null,t.XFs.Optional)?.init(),ue.resetRootComponentType(D.componentTypes[0]),Fe.closed||(Fe.next(),Fe.complete(),Fe.unsubscribe())}}const rs=new t.OlP("",{factory:()=>new M.x}),Ir=new t.OlP("",{providedIn:"root",factory:()=>1}),ba=new t.OlP("");function Ed(H){return Ur(0,[{provide:ba,useExisting:Pr},{provide:wr,useExisting:H}])}const es=new t.OlP("ROUTER_FORROOT_GUARD"),Gc=[e.Ye,{provide:_n,useClass:st},zi,Kn,{provide:Qi,useFactory:function sc(H){return H.routerState.root},deps:[zi]},Li,[]];function Qc(){return new t.PXZ("Router",zi)}let Yl=(()=>{class H{constructor(D){}static forRoot(D,ue){return{ngModule:H,providers:[Gc,[],{provide:$i,multi:!0,useValue:D},{provide:es,useFactory:Sa,deps:[[zi,new t.FiY,new t.tp0]]},{provide:Tn,useValue:ue||{}},ue?.useHash?{provide:e.S$,useClass:e.Do}:{provide:e.S$,useClass:e.b0},{provide:fs,useFactory:()=>{const H=(0,t.f3M)(e.EM),ee=(0,t.f3M)(t.R0b),D=(0,t.f3M)(Tn),ue=(0,t.f3M)(Yr),Fe=(0,t.f3M)(_n);return D.scrollOffset&&H.setOffset(D.scrollOffset),new rc(Fe,ue,H,ee,D)}},ue?.preloadingStrategy?Ed(ue.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:Qc},ue?.initialNavigation?Ea(ue):[],ue?.bindToComponentInputs?Ur(8,[Jt,{provide:hn,useExisting:Jt}]).\u0275providers:[],[{provide:jc,useFactory:Ei},{provide:t.tb,multi:!0,useExisting:jc}]]}}static forChild(D){return{ngModule:H,providers:[{provide:$i,multi:!0,useValue:D}]}}}return H.\u0275fac=function(D){return new(D||H)(t.LFG(es,8))},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({}),H})();function Sa(H){return"guarded"}function Ea(H){return["disabled"===H.initialNavigation?Ur(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const ee=(0,t.f3M)(zi);return()=>{ee.setUpLocationChangeListener()}}},{provide:Ir,useValue:2}]).\u0275providers:[],"enabledBlocking"===H.initialNavigation?Ur(2,[{provide:Ir,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:ee=>{const D=ee.get(e.V_,Promise.resolve());return()=>D.then(()=>new Promise(ue=>{const Fe=ee.get(zi),ht=ee.get(rs);Vo(Fe,()=>{ue(!0)}),ee.get(Yr).afterPreactivation=()=>(ue(!0),ht.closed?(0,d.of)(void 0):ht),Fe.initialNavigation()}))}}]).\u0275providers:[]]}const jc=new t.OlP("")},4715:(xt,Se,a)=>{a.d(Se,{BOg:()=>On,BXH:()=>Nn,Ej7:()=>Yi,FsU:()=>Dp,Hkd:()=>ln,LBP:()=>gl,LJh:()=>Ks,M8e:()=>Yr,NFG:()=>Fe,OYp:()=>Ai,RIp:()=>Or,RU0:()=>Dr,Rfq:()=>Zt,TSL:()=>Md,U2Q:()=>Ro,UKj:()=>kt,UTl:()=>vs,UY$:()=>Vd,V65:()=>vn,VWu:()=>Rr,WH2:()=>uc,XuQ:()=>ne,Z5F:()=>fo,_ry:()=>Ha,bBn:()=>yt,cN2:()=>_o,d2H:()=>La,d_$:()=>np,eFY:()=>Pc,eLU:()=>Si,gvV:()=>ul,iUK:()=>Ir,np6:()=>dd,nrZ:()=>ol,rHg:()=>pd,rMt:()=>Jr,sZJ:()=>Ru,s_U:()=>Xu,ssy:()=>Li,uIz:()=>n1,ud1:()=>ye,v6v:()=>fi,vEg:()=>Ds,vkb:()=>ei,w1L:()=>sd,x0x:()=>Go,yQU:()=>bo});const vn={name:"bars",theme:"outline",icon:''},ye={name:"calendar",theme:"outline",icon:''},ln={name:"caret-down",theme:"fill",icon:''},ne={name:"caret-down",theme:"outline",icon:''},yt={name:"caret-up",theme:"fill",icon:''},Zt={name:"check-circle",theme:"fill",icon:''},On={name:"caret-up",theme:"outline",icon:''},bo={name:"check-circle",theme:"outline",icon:''},Ro={name:"check",theme:"outline",icon:''},Nn={name:"close-circle",theme:"fill",icon:''},Ai={name:"close-circle",theme:"outline",icon:''},Si={name:"close",theme:"outline",icon:''},kt={name:"clock-circle",theme:"outline",icon:''},Go={name:"copy",theme:"outline",icon:''},Yi={name:"dashboard",theme:"outline",icon:''},ei={name:"delete",theme:"outline",icon:''},Jr={name:"double-right",theme:"outline",icon:''},Rr={name:"double-left",theme:"outline",icon:''},Ds={name:"down",theme:"outline",icon:''},Dr={name:"ellipsis",theme:"outline",icon:''},Or={name:"edit",theme:"outline",icon:''},Li={name:"exclamation-circle",theme:"outline",icon:''},Yr={name:"exclamation-circle",theme:"fill",icon:''},fo={name:"eye",theme:"outline",icon:''},Ir={name:"file",theme:"fill",icon:''},Ks={name:"file",theme:"outline",icon:''},Fe={name:"filter",theme:"fill",icon:''},uc={name:"form",theme:"outline",icon:''},ol={name:"info-circle",theme:"outline",icon:''},vs={name:"info-circle",theme:"fill",icon:''},ul={name:"left",theme:"outline",icon:''},La={name:"loading",theme:"outline",icon:''},gl={name:"menu-fold",theme:"outline",icon:''},Ha={name:"menu-unfold",theme:"outline",icon:''},Pc={name:"paper-clip",theme:"outline",icon:''},Ru={name:"question-circle",theme:"outline",icon:''},sd={name:"rotate-right",theme:"outline",icon:''},Vd={name:"rotate-left",theme:"outline",icon:''},dd={name:"right",theme:"outline",icon:''},pd={name:"search",theme:"outline",icon:''},fi={name:"star",theme:"fill",icon:''},_o={name:"swap-right",theme:"outline",icon:''},Dp={name:"up",theme:"outline",icon:''},Xu={name:"upload",theme:"outline",icon:''},Md={name:"vertical-align-top",theme:"outline",icon:''},n1={name:"zoom-in",theme:"outline",icon:''},np={name:"zoom-out",theme:"outline",icon:''}},1789:(xt,Se,a)=>{a.d(Se,{B:()=>P,h:()=>U});var S,w,t=a(655),v=(a(3555),a(1823)),d=a(1352),s=a(2794),k=a(6001),U=function(){function Y(){this.known=new(s.sy?WeakSet:Set),this.pool=new v.B(s.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return Y.prototype.isKnown=function(M){return(0,d.s)(M)&&this.known.has(M)},Y.prototype.pass=function(M){if((0,d.s)(M)){var e=function G(Y){return(0,d.s)(Y)?(0,k.k)(Y)?Y.slice(0):(0,t.pi)({__proto__:Object.getPrototypeOf(Y)},Y):Y}(M);return this.passes.set(e,M),e}return M},Y.prototype.admit=function(M){var e=this;if((0,d.s)(M)){var F=this.passes.get(M);if(F)return F;switch(Object.getPrototypeOf(M)){case Array.prototype:if(this.known.has(M))return M;var ge=M.map(this.admit,this);return(ze=this.pool.lookupArray(ge)).array||(this.known.add(ze.array=ge),__DEV__&&Object.freeze(ge)),ze.array;case null:case Object.prototype:if(this.known.has(M))return M;var K=Object.getPrototypeOf(M),N=[K],V=this.sortedKeys(M);N.push(V.json);var ze,O=N.length;if(V.sorted.forEach(function(pe){N.push(e.admit(M[pe]))}),!(ze=this.pool.lookupArray(N)).object){var A=ze.object=Object.create(K);this.known.add(A),V.sorted.forEach(function(pe,de){A[pe]=N[O+de]}),__DEV__&&Object.freeze(A)}return ze.object}}return M},Y.prototype.sortedKeys=function(M){var e=Object.keys(M),F=this.pool.lookupArray(e);if(!F.keys){e.sort();var R=JSON.stringify(e);(F.keys=this.keysByJSON.get(R))||this.keysByJSON.set(R,F.keys={sorted:e,json:R})}return F.keys},Y}(),P=Object.assign(function(Y){if((0,d.s)(Y)){void 0===S&&L();var M=S.admit(Y),e=w.get(M);return void 0===e&&w.set(M,e=JSON.stringify(M)),e}return JSON.stringify(Y)},{reset:L});function L(){S=new U,w=new(s.mr?WeakMap:Map)}},3088:(xt,Se,a)=>{a.d(Se,{QS:()=>U,_v:()=>G,ab:()=>v,li:()=>k});var t=a(5907),v=new(a(530).g7),d=new WeakMap;function s(S){var w=d.get(S);return w||d.set(S,w={vars:new Set,dep:(0,t.dP)()}),w}function k(S){s(S).vars.forEach(function(w){return w.forgetCache(S)})}function G(S){s(S).vars.forEach(function(w){return w.attachCache(S)})}function U(S){var w=new Set,L=new Set,Y=function(e){if(arguments.length>0){if(S!==e){S=e,w.forEach(function(ge){s(ge).dep.dirty(Y),function P(S){S.broadcastWatches&&S.broadcastWatches()}(ge)});var F=Array.from(L);L.clear(),F.forEach(function(ge){return ge(S)})}}else{var R=v.getValue();R&&(M(R),s(R).dep(Y))}return S};Y.onNextChange=function(e){return L.add(e),function(){L.delete(e)}};var M=Y.attachCache=function(e){return w.add(e),s(e).vars.add(Y),Y};return Y.forgetCache=function(e){return w.delete(e)},Y}},8632:(xt,Se,a)=>{a.d(Se,{i:()=>L});var t=a(655),i=a(3555),v=a(7619),s=a(8725);function U(Y,M){return M?M(Y):v.y.of()}function P(Y){return"function"==typeof Y?new L(Y):Y}function S(Y){return Y.request.length<=1}var w=function(Y){function M(e,F){var R=Y.call(this,e)||this;return R.link=F,R}return(0,t.ZT)(M,Y),M}(Error),L=function(){function Y(M){M&&(this.request=M)}return Y.empty=function(){return new Y(function(){return v.y.of()})},Y.from=function(M){return 0===M.length?Y.empty():M.map(P).reduce(function(e,F){return e.concat(F)})},Y.split=function(M,e,F){var R=P(e),ge=P(F||new Y(U));return S(R)&&S(ge)?new Y(function(ze){return M(ze)?R.request(ze)||v.y.of():ge.request(ze)||v.y.of()}):new Y(function(ze,K){return M(ze)?R.request(ze,K)||v.y.of():ge.request(ze,K)||v.y.of()})},Y.execute=function(M,e){return M.request(function d(Y,M){var e=(0,t.pi)({},Y);return Object.defineProperty(M,"setContext",{enumerable:!1,value:function(ge){e=(0,t.pi)((0,t.pi)({},e),"function"==typeof ge?ge(e):ge)}}),Object.defineProperty(M,"getContext",{enumerable:!1,value:function(){return(0,t.pi)({},e)}}),M}(e.context,function k(Y){var M={variables:Y.variables||{},extensions:Y.extensions||{},operationName:Y.operationName,query:Y.query};return M.operationName||(M.operationName="string"!=typeof M.query?(0,s.rY)(M.query)||void 0:""),M}(function G(Y){for(var M=["query","operationName","variables","extensions","context"],e=0,F=Object.keys(Y);e{a.d(Se,{O:()=>i,k:()=>t});var t=Array.isArray;function i(v){return Array.isArray(v)&&v.length>0}},2794:(xt,Se,a)=>{a.d(Se,{DN:()=>s,aS:()=>d,mr:()=>i,sy:()=>v});var t=a(3555),i="function"==typeof WeakMap&&"ReactNative"!==(0,t.wY)(function(){return navigator.product}),v="function"==typeof WeakSet,d="function"==typeof Symbol&&"function"==typeof Symbol.for,s=d&&Symbol.asyncIterator;(0,t.wY)(function(){return window.document.createElement}),(0,t.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},5078:(xt,Se,a)=>{a.d(Se,{X:()=>i});var t=Object.prototype.toString;function i(d){return v(d)}function v(d,s){switch(t.call(d)){case"[object Array]":if((s=s||new Map).has(d))return s.get(d);var k=d.slice(0);return s.set(d,k),k.forEach(function(U,P){k[P]=v(U,s)}),k;case"[object Object]":if((s=s||new Map).has(d))return s.get(d);var G=Object.create(Object.getPrototypeOf(d));return s.set(d,G),Object.keys(d).forEach(function(U){G[U]=v(d[U],s)}),G;default:return d}}},9990:(xt,Se,a)=>{function t(){for(var i=[],v=0;vt})},6726:(xt,Se,a)=>{a.d(Se,{X:()=>i});var t=new Map;function i(v){var d=t.get(v)||1;return t.set(v,d+1),"".concat(v,":").concat(d,":").concat(Math.random().toString(36).slice(2))}},6630:(xt,Se,a)=>{a.d(Se,{Ee:()=>d,bw:()=>s,w0:()=>G});var t=a(655),i=a(1352),v=Object.prototype.hasOwnProperty;function d(){for(var U=[],P=0;P1)for(var w=new G,L=1;L{function t(i){return null!==i&&"object"==typeof i}a.d(Se,{s:()=>t})},3555:(xt,Se,a)=>{a.d(Se,{ej:()=>s,kG:()=>k,wY:()=>L});var t=a(655),i="Invariant Violation",v=Object.setPrototypeOf,d=void 0===v?function(pe,de){return pe.__proto__=de,pe}:v,s=function(pe){function de(W){void 0===W&&(W=i);var ve=pe.call(this,"number"==typeof W?i+": "+W+" (see https://github.com/apollographql/invariant-packages)":W)||this;return ve.framesToPop=1,ve.name=i,d(ve,de.prototype),ve}return(0,t.ZT)(de,pe),de}(Error);function k(pe,de){if(!pe)throw new s(de)}var pe,G=["debug","log","warn","error","silent"],U=G.indexOf("log");function P(pe){return function(){if(G.indexOf(pe)>=U)return(console[pe]||console.log).apply(console,arguments)}}function L(pe){try{return pe()}catch{}}(pe=k||(k={})).debug=P("debug"),pe.log=P("log"),pe.warn=P("warn"),pe.error=P("error");const Y=L(function(){return globalThis})||L(function(){return window})||L(function(){return self})||L(function(){return global})||L(function(){return L.constructor("return this")()});var M="__",e=[M,M].join("DEV");const R=function F(){try{return!!__DEV__}catch{return Object.defineProperty(Y,e,{value:"production"!==L(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),Y[e]}}();function ge(pe){try{return pe()}catch{}}var ze=ge(function(){return globalThis})||ge(function(){return window})||ge(function(){return self})||ge(function(){return global})||ge(function(){return ge.constructor("return this")()}),K=!1;!function N(){ze&&!ge(function(){return"production"})&&!ge(function(){return process})&&(Object.defineProperty(ze,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),K=!0)}(),a(9456),function A(){(function V(){K&&(delete ze.process,K=!1)})()}(),function x(){__DEV__?k("boolean"==typeof R,R):k("boolean"==typeof R,39)}()},2954:(xt,Se,a)=>{a.d(Se,{FS:()=>G,LZ:()=>v,mj:()=>U});var t=a(3555),i=a(8016);function v(w,L){var Y=w.directives;return!Y||!Y.length||function S(w){var L=[];return w&&w.length&&w.forEach(function(Y){if(function P(w){var L=w.name.value;return"skip"===L||"include"===L}(Y)){var M=Y.arguments,e=Y.name.value;__DEV__?(0,t.kG)(M&&1===M.length,"Incorrect number of arguments for the @".concat(e," directive.")):(0,t.kG)(M&&1===M.length,41);var F=M[0];__DEV__?(0,t.kG)(F.name&&"if"===F.name.value,"Invalid argument for the @".concat(e," directive.")):(0,t.kG)(F.name&&"if"===F.name.value,42);var R=F.value;__DEV__?(0,t.kG)(R&&("Variable"===R.kind||"BooleanValue"===R.kind),"Argument for the @".concat(e," directive must be a variable or a boolean value.")):(0,t.kG)(R&&("Variable"===R.kind||"BooleanValue"===R.kind),43),L.push({directive:Y,ifArgument:F})}}),L}(Y).every(function(M){var e=M.directive,F=M.ifArgument,R=!1;return"Variable"===F.value.kind?(R=L&&L[F.value.name.value],__DEV__?(0,t.kG)(void 0!==R,"Invalid variable referenced in @".concat(e.name.value," directive.")):(0,t.kG)(void 0!==R,40)):R=F.value.value,"skip"===e.name.value?!R:R})}function G(w,L,Y){var M=new Set(w),e=M.size;return(0,i.Vn)(L,{Directive:function(F){if(M.delete(F.name.value)&&(!Y||!M.size))return i.$_}}),Y?!M.size:M.size{a.d(Se,{F:()=>d,Yk:()=>v,hi:()=>s});var t=a(655),i=a(3555);function v(k,G){var U=G,P=[];return k.definitions.forEach(function(w){if("OperationDefinition"===w.kind)throw __DEV__?new i.ej("Found a ".concat(w.operation," operation").concat(w.name?" named '".concat(w.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new i.ej(44);"FragmentDefinition"===w.kind&&P.push(w)}),typeof U>"u"&&(__DEV__?(0,i.kG)(1===P.length,"Found ".concat(P.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,i.kG)(1===P.length,45),U=P[0].name.value),(0,t.pi)((0,t.pi)({},k),{definitions:(0,t.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:U}}]}}],k.definitions,!0)})}function d(k){void 0===k&&(k=[]);var G={};return k.forEach(function(U){G[U.name.value]=U}),G}function s(k,G){switch(k.kind){case"InlineFragment":return k;case"FragmentSpread":var U=k.name.value;if("function"==typeof G)return G(U);var P=G&&G[U];return __DEV__?(0,i.kG)(P,"No fragment named ".concat(U)):(0,i.kG)(P,46),P||null;default:return null}}},8725:(xt,Se,a)=>{a.d(Se,{$H:()=>d,A$:()=>v,O4:()=>S,iW:()=>G,kU:()=>k,p$:()=>P,pD:()=>U,rY:()=>s});var t=a(3555),i=a(9173);function v(w){__DEV__?(0,t.kG)(w&&"Document"===w.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,t.kG)(w&&"Document"===w.kind,47);var L=w.definitions.filter(function(Y){return"FragmentDefinition"!==Y.kind}).map(function(Y){if("OperationDefinition"!==Y.kind)throw __DEV__?new t.ej('Schema type definitions not allowed in queries. Found: "'.concat(Y.kind,'"')):new t.ej(48);return Y});return __DEV__?(0,t.kG)(L.length<=1,"Ambiguous GraphQL document: contains ".concat(L.length," operations")):(0,t.kG)(L.length<=1,49),w}function d(w){return v(w),w.definitions.filter(function(L){return"OperationDefinition"===L.kind})[0]}function s(w){return w.definitions.filter(function(L){return"OperationDefinition"===L.kind&&!!L.name}).map(function(L){return L.name.value})[0]||null}function k(w){return w.definitions.filter(function(L){return"FragmentDefinition"===L.kind})}function G(w){var L=d(w);return __DEV__?(0,t.kG)(L&&"query"===L.operation,"Must contain a query definition."):(0,t.kG)(L&&"query"===L.operation,50),L}function U(w){__DEV__?(0,t.kG)("Document"===w.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,t.kG)("Document"===w.kind,51),__DEV__?(0,t.kG)(w.definitions.length<=1,"Fragment must have exactly one definition."):(0,t.kG)(w.definitions.length<=1,52);var L=w.definitions[0];return __DEV__?(0,t.kG)("FragmentDefinition"===L.kind,"Must be a fragment definition."):(0,t.kG)("FragmentDefinition"===L.kind,53),L}function P(w){v(w);for(var L,Y=0,M=w.definitions;Y{a.d(Se,{Ao:()=>pe,JW:()=>k,My:()=>x,NC:()=>V,PT:()=>ze,Yk:()=>s,kQ:()=>d,qw:()=>A,u2:()=>O,vb:()=>F,vf:()=>R});var t=a(3555),i=a(1352),v=a(7095);function d(de){return{__ref:String(de)}}function s(de){return!(!de||"object"!=typeof de||"string"!=typeof de.__ref)}function k(de){return(0,i.s)(de)&&"Document"===de.kind&&Array.isArray(de.definitions)}function F(de,W,ve,Q){if(function P(de){return"IntValue"===de.kind}(ve)||function S(de){return"FloatValue"===de.kind}(ve))de[W.value]=Number(ve.value);else if(function U(de){return"BooleanValue"===de.kind}(ve)||function G(de){return"StringValue"===de.kind}(ve))de[W.value]=ve.value;else if(function L(de){return"ObjectValue"===de.kind}(ve)){var ae={};ve.fields.map(function(be){return F(ae,be.name,be.value,Q)}),de[W.value]=ae}else if(function w(de){return"Variable"===de.kind}(ve))de[W.value]=(Q||{})[ve.name.value];else if(function Y(de){return"ListValue"===de.kind}(ve))de[W.value]=ve.values.map(function(be){var Ft={};return F(Ft,W,be,Q),Ft[W.value]});else if(function M(de){return"EnumValue"===de.kind}(ve))de[W.value]=ve.value;else{if(!function e(de){return"NullValue"===de.kind}(ve))throw __DEV__?new t.ej('The inline argument "'.concat(W.value,'" of kind "').concat(ve.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new t.ej(55);de[W.value]=null}}function R(de,W){var ve=null;de.directives&&(ve={},de.directives.forEach(function(ae){ve[ae.name.value]={},ae.arguments&&ae.arguments.forEach(function(fe){return F(ve[ae.name.value],fe.name,fe.value,W)})}));var Q=null;return de.arguments&&de.arguments.length&&(Q={},de.arguments.forEach(function(ae){return F(Q,ae.name,ae.value,W)})),ze(de.name.value,Q,ve)}var ge=["connection","include","skip","client","rest","export"],ze=Object.assign(function(de,W,ve){if(W&&ve&&ve.connection&&ve.connection.key){if(ve.connection.filter&&ve.connection.filter.length>0){var Q=ve.connection.filter?ve.connection.filter:[];Q.sort();var ae={};return Q.forEach(function(Ft){ae[Ft]=W[Ft]}),"".concat(ve.connection.key,"(").concat(K(ae),")")}return ve.connection.key}var fe=de;if(W){var be=K(W);fe+="(".concat(be,")")}return ve&&Object.keys(ve).forEach(function(Ft){-1===ge.indexOf(Ft)&&(ve[Ft]&&Object.keys(ve[Ft]).length?fe+="@".concat(Ft,"(").concat(K(ve[Ft]),")"):fe+="@".concat(Ft))}),fe},{setStringify:function(de){var W=K;return K=de,W}}),K=function(W){return JSON.stringify(W,N)};function N(de,W){return(0,i.s)(W)&&!Array.isArray(W)&&(W=Object.keys(W).sort().reduce(function(ve,Q){return ve[Q]=W[Q],ve},{})),W}function V(de,W){if(de.arguments&&de.arguments.length){var ve={};return de.arguments.forEach(function(Q){return F(ve,Q.name,Q.value,W)}),ve}return null}function O(de){return de.alias?de.alias.value:de.name.value}function A(de,W,ve){for(var Q,ae=0,fe=W.selections;ae{a.d(Se,{Fo:()=>R,Gw:()=>e,aL:()=>O,ob:()=>A});var t=a(655),i=a(3555),v=a(5560),d=a(8016),s=a(8725),k=a(9173),G=a(7095),U=a(6001),P={kind:v.h.FIELD,name:{kind:v.h.NAME,value:"__typename"}};function S(x,pe){return!x||x.selectionSet.selections.every(function(de){return de.kind===v.h.FRAGMENT_SPREAD&&S(pe[de.name.value],pe)})}function w(x){return S((0,s.$H)(x)||(0,s.pD)(x),(0,G.F)((0,s.kU)(x)))?null:x}function Y(x){var pe=new Map;return function(W){void 0===W&&(W=x);var ve=pe.get(W);return ve||pe.set(W,ve={variables:new Set,fragmentSpreads:new Set}),ve}}function M(x,pe){for(var de=Y(""),W=Y(""),ve=function(Re){for(var Ct=0,je=void 0;Ct=0;--ae)pe.definitions[ae].kind===v.h.OPERATION_DEFINITION&&++Q;var fe=function L(x){var pe=new Set,de=[];return x.forEach(function(W){W.name?pe.add(W.name):W.test&&de.push(W.test)}),function(W){return pe.has(W.name.value)||de.some(function(ve){return ve(W)})}}(x),be=x.some(function(Re){return Re.remove}),Ft=function(Re){return be&&Re&&Re.some(fe)},Dt=new Map,nn=!1,Et={enter:function(Re){if(Ft(Re.directives))return nn=!0,null}},Ht=(0,d.Vn)(pe,{Field:Et,InlineFragment:Et,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(Re,Ct,je,Yt,qt){var vn=ve(qt);vn&&vn.variables.add(Re.name.value)}},FragmentSpread:{enter:function(Re,Ct,je,Yt,qt){if(Ft(Re.directives))return nn=!0,null;var vn=ve(qt);vn&&vn.fragmentSpreads.add(Re.name.value)}},FragmentDefinition:{enter:function(Re,Ct,je,Yt){Dt.set(JSON.stringify(Yt),Re)},leave:function(Re,Ct,je,Yt){return Re===Dt.get(JSON.stringify(Yt))?Re:Q>0&&Re.selectionSet.selections.every(function(vn){return vn.kind===v.h.FIELD&&"__typename"===vn.name.value})?(W(Re.name.value).removed=!0,nn=!0,null):void 0}},Directive:{leave:function(Re){if(fe(Re))return nn=!0,null}}});if(!nn)return pe;var tn=function(Re){return Re.transitiveVars||(Re.transitiveVars=new Set(Re.variables),Re.removed||Re.fragmentSpreads.forEach(function(Ct){tn(W(Ct)).transitiveVars.forEach(function(je){Re.transitiveVars.add(je)})})),Re},un=new Set;Ht.definitions.forEach(function(Re){Re.kind===v.h.OPERATION_DEFINITION?tn(de(Re.name&&Re.name.value)).fragmentSpreads.forEach(function(Ct){un.add(Ct)}):Re.kind===v.h.FRAGMENT_DEFINITION&&0===Q&&!W(Re.name.value).removed&&un.add(Re.name.value)}),un.forEach(function(Re){tn(W(Re)).fragmentSpreads.forEach(function(Ct){un.add(Ct)})});var Xe={enter:function(Re){if(function(Re){return!(un.has(Re)&&!W(Re).removed)}(Re.name.value))return null}};return w((0,d.Vn)(Ht,{FragmentSpread:Xe,FragmentDefinition:Xe,OperationDefinition:{leave:function(Re){if(Re.variableDefinitions){var Ct=tn(de(Re.name&&Re.name.value)).transitiveVars;if(Ct.size{a.d(Se,{c:()=>N,t:()=>Q});var t=a(8645),i=a(7394),v=a(9666),d=a(6232),s=a(5879),k=a(1631),G=a(9773);const U=s.GuJ,S=Symbol("__destroy"),w=Symbol("__decoratorApplied");function L(fe){return"string"==typeof fe?Symbol(`__destroy__${fe}`):S}function M(fe,be){fe[be]||(fe[be]=new t.x)}function e(fe,be){fe[be]&&(fe[be].next(),fe[be].complete(),fe[be]=null)}function F(fe){fe instanceof i.w0&&fe.unsubscribe()}function ge(fe,be){return function(){if(fe&&fe.call(this),e(this,L()),be.arrayName&&function R(fe){Array.isArray(fe)&&fe.forEach(F)}(this[be.arrayName]),be.checkProperties)for(const Ft in this)be.blackList?.includes(Ft)||F(this[Ft])}}function N(fe={}){return be=>{!function P(fe){return!!fe[U]}(be)?function ze(fe,be){fe.prototype.ngOnDestroy=ge(fe.prototype.ngOnDestroy,be)}(be,fe):function K(fe,be){const Ft=fe.\u0275pipe;Ft.onDestroy=ge(Ft.onDestroy,be)}(be,fe),function Y(fe){fe.prototype[w]=!0}(be)}}const V=7,O=Symbol("CheckerHasBeenSet");function pe(fe){const be=s.dqk.Zone;return be&&"function"==typeof be.root?.run?be.root.run(fe):fe()}const W=!1;function Q(fe,be){return Ft=>{const Dt=L(be);"string"==typeof be?function ve(fe,be,Ft){const Dt=fe[be];if(W&&"function"!=typeof Dt)throw new Error(`${fe.constructor.name} is using untilDestroyed but doesn't implement ${be}`);M(fe,Ft),fe[be]=function(){Dt.apply(this,arguments),e(this,Ft),fe[be]=Dt}}(fe,be,Dt):(W&&function ae(fe){const be=Object.getPrototypeOf(fe);if(!(w in be))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(fe),M(fe,Dt));const nn=fe[Dt];return W&&function A(fe,be){fe[O]||function x(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha||typeof process<"u"&&"[object process]"===Object.prototype.toString.call(process)}()||(pe(()=>(0,v.D)(Promise.resolve()).pipe((0,k.z)(()=>{let Ft;try{Ft=(0,s.EEQ)(fe)}catch{Ft=null}const Dt=Ft?.lView;if(null==Dt)return d.E;const nn=Dt[V]||(Dt[V]=[]),Et=new t.x;return nn.push(function(){pe(()=>{Et.next(),Et.complete()})}),Et}),(0,k.z)(()=>Promise.resolve())).subscribe(()=>{(be.observed??be.observers.length>0)&&console.warn(function de(fe){return`\n The ${fe.constructor.name} still has subscriptions that haven't been unsubscribed.\n This may happen if the class extends another class decorated with @UntilDestroy().\n The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy().\n Let's look at the following example:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {}\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n }\n }\n The BaseDirective.ngOnDestroy() will not be called since Angular will call ngOnDestroy()\n on the ConcreteComponent, but not on the BaseDirective.\n One of the solutions is to declare an empty ngOnDestroy method on the BaseDirective:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {\n ngOnDestroy(): void {}\n }\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n super.ngOnDestroy();\n }\n }\n `}(fe))})),fe[O]=!0)}(fe,nn),Ft.pipe((0,G.R)(nn))}}},8091:(xt,Se,a)=>{a.d(Se,{eJ:()=>de,fM:()=>ve});var t=a(5879),i=a(2664),v=a(2572),d=a(9666),s=a(5592),k=a(7328),G=a(8407),U=a(7394),P=a(3997),S=a(9397),w=a(4664);let Y=(()=>{class ae{}return ae.\u0275fac=function(be){return new(be||ae)},ae.\u0275prov=t.Yz7({token:ae,factory:function(){return function L(ae){return ae instanceof t.R0b}((0,t.f3M)(t.R0b))?new e:(0,t.f3M)(M)},providedIn:"root"}),ae})(),M=(()=>{class ae extends Y{constructor(be){super(),this.appRef=be,this.isScheduled=!1}schedule(){this.isScheduled||(this.isScheduled=!0,requestAnimationFrame(()=>{this.appRef.tick(),this.isScheduled=!1}))}}return ae.\u0275fac=function(be){return new(be||ae)(t.LFG(t.z2F))},ae.\u0275prov=t.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})();class e extends Y{schedule(){}}let F=(()=>{class ae{constructor(be,Ft){this.cdRef=be,this.tickScheduler=Ft}schedule(){this.cdRef.markForCheck(),this.tickScheduler.schedule()}}return ae.\u0275fac=function(be){return new(be||ae)(t.LFG(t.sBO),t.LFG(Y))},ae.\u0275prov=t.Yz7({token:ae,factory:ae.\u0275fac}),ae})();function A(ae){const fe=function ge(ae){return fe=>ae[fe.type]?.(fe)}(ae),be=new k.t(1);return{nextPotentialObservable(Ft){be.next(Ft)},handlePotentialObservableChanges:()=>be.pipe((0,P.x)(),function x(){return(0,G.z)((0,w.w)(ae=>{const fe=function ze(ae){return(0,i.b)(ae)?ae:function N(ae){return function V(ae){return!!ae&&"object"==typeof ae&&!Array.isArray(ae)}(ae)&&Object.keys(ae).length>0&&Object.values(ae).every(i.b)}(ae)?(0,v.a)(function O(ae){return Object.keys(ae).reduce((fe,be)=>({...fe,[be]:ae[be].pipe((0,P.x)())}),{})}(ae)):function K(ae){return"function"==typeof ae?.then}(ae)?(0,d.D)(ae):new s.y(fe=>{fe.next(ae)})}(ae);let be=!0,Ft=!0;return new s.y(Dt=>{const nn=(0,t.rg0)(()=>fe.subscribe({next(Et){Dt.next({type:"next",value:Et,reset:be,synchronous:Ft}),be=!1},error(Et){Dt.next({type:"error",error:Et,reset:be,synchronous:Ft}),be=!1},complete(){Dt.next({type:"complete",reset:be,synchronous:Ft}),be=!1}}));return be&&(Dt.next({type:"suspense",reset:be,synchronous:!0}),be=!1),Ft=!1,nn})}))}(),(0,P.x)(pe),(0,S.b)(fe))}}function pe(ae,fe){return ae.type===fe.type&&ae.reset===fe.reset&&("next"===fe.type?ae.value===fe.value:"error"!==fe.type||ae.error===fe.error)}let de=(()=>{class ae{set ngrxLet(be){this.renderEventManager.nextPotentialObservable(be)}constructor(be,Ft,Dt,nn){this.mainTemplateRef=be,this.viewContainerRef=Ft,this.errorHandler=Dt,this.renderScheduler=nn,this.isMainViewCreated=!1,this.isSuspenseViewCreated=!1,this.viewContext={$implicit:void 0,ngrxLet:void 0,error:void 0,complete:!1},this.renderEventManager=A({suspense:()=>{this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.error=void 0,this.viewContext.complete=!1,this.renderSuspenseView()},next:Et=>{this.viewContext.$implicit=Et.value,this.viewContext.ngrxLet=Et.value,Et.reset&&(this.viewContext.error=void 0,this.viewContext.complete=!1),this.renderMainView(Et.synchronous)},error:Et=>{this.viewContext.error=Et.error,Et.reset&&(this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.complete=!1),this.renderMainView(Et.synchronous),this.errorHandler.handleError(Et.error)},complete:Et=>{this.viewContext.complete=!0,Et.reset&&(this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.error=void 0),this.renderMainView(Et.synchronous)}}),this.subscription=new U.w0}static ngTemplateContextGuard(be,Ft){return!0}ngOnInit(){this.subscription.add(this.renderEventManager.handlePotentialObservableChanges().subscribe())}ngOnDestroy(){this.subscription.unsubscribe()}renderMainView(be){this.isSuspenseViewCreated&&(this.isSuspenseViewCreated=!1,this.viewContainerRef.clear()),this.isMainViewCreated||(this.isMainViewCreated=!0,this.viewContainerRef.createEmbeddedView(this.mainTemplateRef,this.viewContext)),be||this.renderScheduler.schedule()}renderSuspenseView(){this.isMainViewCreated&&(this.isMainViewCreated=!1,this.viewContainerRef.clear()),this.suspenseTemplateRef&&!this.isSuspenseViewCreated&&(this.isSuspenseViewCreated=!0,this.viewContainerRef.createEmbeddedView(this.suspenseTemplateRef))}}return ae.\u0275fac=function(be){return new(be||ae)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(t.qLn),t.Y36(F))},ae.\u0275dir=t.lG2({type:ae,selectors:[["","ngrxLet",""]],inputs:{ngrxLet:"ngrxLet",suspenseTemplateRef:["ngrxLetSuspenseTpl","suspenseTemplateRef"]},standalone:!0,features:[t._Bn([F])]}),ae})(),ve=(()=>{class ae{constructor(be){this.errorHandler=be,this.renderScheduler=function R(){return new F((0,t.f3M)(t.sBO),(0,t.f3M)(Y))}(),this.renderEventManager=A({suspense:Ft=>this.setRenderedValue(void 0,Ft.synchronous),next:Ft=>this.setRenderedValue(Ft.value,Ft.synchronous),error:Ft=>{Ft.reset&&this.setRenderedValue(void 0,Ft.synchronous),this.errorHandler.handleError(Ft.error)},complete:Ft=>{Ft.reset&&this.setRenderedValue(void 0,Ft.synchronous)}}),this.subscription=this.renderEventManager.handlePotentialObservableChanges().subscribe()}transform(be){return this.renderEventManager.nextPotentialObservable(be),this.renderedValue}ngOnDestroy(){this.subscription.unsubscribe()}setRenderedValue(be,Ft){be!==this.renderedValue&&(this.renderedValue=be,Ft||this.renderScheduler.schedule())}}return ae.\u0275fac=function(be){return new(be||ae)(t.Y36(t.qLn,16))},ae.\u0275pipe=t.Yjl({name:"ngrxPush",type:ae,pure:!1,standalone:!0}),ae})()},9083:(xt,Se,a)=>{a.d(Se,{F:()=>U,W:()=>G});var t=a(5879),i=a(5592),v=a(5619),d=a(7398),s=a(2181),k=a(9397);let G=(()=>{class P{transform(w,L){return w instanceof i.y?this.dispose():w=this.observableOf(w,L),w.pipe((0,d.U)(Y=>this.transformOptions(Y,L)))}ngOnDestroy(){this.dispose()}transformOptions(w,L){const Y=this.transformSelectProps(L),M=[],e={};return w?.forEach(F=>{const R=this.transformOption(F,Y);if(R.group){const ge=e[R.label];void 0===ge?e[R.label]=M.push(R)-1:R.group.forEach(ze=>M[ge].group.push(ze))}else M.push(R)}),M}transformOption(w,L){const Y=L.groupProp(w);return Array.isArray(Y)?{label:L.labelProp(w),group:Y.map(M=>this.transformOption(M,L))}:(w={label:L.labelProp(w),value:L.valueProp(w),disabled:!!L.disabledProp(w)},Y?{label:Y,group:[w]}:w)}transformSelectProps(w){const L=w?.props||w?.templateOptions||{},Y=M=>"function"==typeof M?M:e=>e[M];return{groupProp:Y(L.groupProp||"group"),labelProp:Y(L.labelProp||"label"),valueProp:Y(L.valueProp||"value"),disabledProp:Y(L.disabledProp||"disabled")}}dispose(){this._options&&(this._options.complete(),this._options=null),this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)}observableOf(w,L){return this.dispose(),L&&L.options&&L.options.fieldChanges&&(this._subscription=L.options.fieldChanges.pipe((0,s.h)(({property:Y,type:M,field:e})=>"expressionChanges"===M&&(0===Y.indexOf("templateOptions.options")||0===Y.indexOf("props.options"))&&e===L&&Array.isArray(e.props.options)&&!!this._options),(0,k.b)(()=>this._options.next(L.props.options))).subscribe()),this._options=new v.X(w),this._options.asObservable()}}return P.\u0275fac=function(w){return new(w||P)},P.\u0275pipe=t.Yjl({name:"formlySelectOptions",type:P,pure:!0}),P})(),U=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275mod=t.oAB({type:P}),P.\u0275inj=t.cJS({}),P})()},5545:(xt,Se,a)=>{a.d(Se,{JD:()=>we,M2:()=>De,T7:()=>He,X0:()=>Gt,cw:()=>We,fS:()=>te,hv:()=>Ge,l7:()=>je,n2:()=>vt});var t=a(5879),i=a(6223),v=a(2664),d=a(3019),s=a(2096),k=a(5592),G=a(8645),U=a(3997),P=a(7921),S=a(3620),w=a(2181),L=a(4664),Y=a(8180),M=a(9397),e=a(7398),F=a(6814),R=a(6593);const ge=["container"];function ze(Ke,J){}function K(Ke,J){1&Ke&&t._UZ(0,"formly-field",1),2&Ke&&t.Q6J("field",J.$implicit)}const N=["*"],V=["fieldComponent"];function A(Ke,J,I){if(J.id)return J.id;let q=J.type;return!q&&J.template&&(q="template"),q instanceof t.DyG&&(q=q.prototype.constructor.name),[Ke,q,J.key,I].join("_")}function x(Ke){return!fe(Ke.key)&&""!==Ke.key}function pe(Ke){if(!x(Ke))return[];if(Ke._keyPath?.key!==Ke.key){let J=[];if("string"==typeof Ke.key){const I=-1===Ke.key.indexOf("[")?Ke.key:Ke.key.replace(/\[(\w+)\]/g,".$1");J=-1!==I.indexOf(".")?I.split("."):[I]}else J=Array.isArray(Ke.key)?Ke.key.slice(0):[`${Ke.key}`];un(Ke,"_keyPath",{key:Ke.key,path:J})}return Ke._keyPath.path.slice(0)}const de=["required","pattern","minLength","maxLength","min","max"];function W(Ke,J){let I=pe(Ke);if(0===I.length)return;let q=Ke;for(;q.parent;)q=q.parent,I=[...pe(q),...I];if(void 0===J&&Ke.resetOnHide){const Me=I.pop();delete I.reduce((tt,Je)=>tt[Je]||{},q.model)[Me]}else!function ve(Ke,J,I){for(let q=0;q{for(const q in I)fe(Ke[q])||Ft(Ke[q])?Ke[q]=tn(I[q]):nn(Ke[q],I[q])&&ae(Ke[q],I[q])}),Ke}function fe(Ke){return null==Ke}function be(Ke){return void 0===Ke}function Ft(Ke){return""===Ke}function Dt(Ke){return"function"==typeof Ke}function nn(Ke,J){return Et(Ke)&&Et(J)&&Object.getPrototypeOf(Ke)===Object.getPrototypeOf(J)&&!(Array.isArray(Ke)||Array.isArray(J))}function Et(Ke){return null!=Ke&&"object"==typeof Ke}function tn(Ke){if(!Et(Ke)||(0,v.b)(Ke)||Ke instanceof t.Rgc||Ke.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(Ke.constructor.name))return Ke;if(Ke instanceof Set)return new Set(Ke);if(Ke instanceof Map)return new Map(Ke);if(Ke._isAMomentObject&&Dt(Ke.clone))return Ke.clone();if(Ke instanceof i.TO)return null;if(Ke instanceof Date)return new Date(Ke.getTime());if(Array.isArray(Ke))return Ke.slice(0).map(q=>tn(q));const J=Object.getPrototypeOf(Ke);let I=Object.create(J);return I=Object.setPrototypeOf(I,J),Object.keys(Ke).reduce((q,Me)=>{const _t=Object.getOwnPropertyDescriptor(Ke,Me);return _t.get?Object.defineProperty(q,Me,_t):q[Me]=tn(Ke[Me]),q},I)}function un(Ke,J,I){Object.defineProperty(Ke,J,{enumerable:!1,writable:!0,configurable:!0}),Ke[J]=I}function In(Ke,J,I){let q=[];const Me=()=>{q.forEach(tt=>tt()),q=[]},_t=Xe(Ke,J,({firstChange:tt,currentValue:Je})=>{!tt&&I(),Me(),Et(Je)&&"Object"===Je.constructor.name&&Object.keys(Je).forEach(rt=>{q.push(In(Ke,[...J,rt],I))})});return()=>{_t.unsubscribe(),Me()}}function Xe(Ke,J,I){Ke._observers||un(Ke,"_observers",{});let q=Ke;for(let Je=0;Je=1&&Et(q))){const{enumerable:Je}=Object.getOwnPropertyDescriptor(q,Me)||{enumerable:!0};Object.defineProperty(q,Me,{enumerable:Je,configurable:!0,get:()=>tt.value,set:rt=>{if(rt!==tt.value){const Nt=tt.value;tt.value=rt,tt.onChange.forEach(Tt=>Tt({previousValue:Nt,currentValue:rt,firstChange:!1}))}}})}return{setValue(Je){if(Je===tt.value)return;const rt=tt.value;tt.value=Je,tt.onChange.forEach(Nt=>{Nt!==I&&Nt({previousValue:rt,currentValue:Je,firstChange:!1})})},unsubscribe(){tt.onChange=tt.onChange.filter(Je=>Je!==I),0===tt.onChange.length&&delete Ke._observers[_t]}}}function Re(Ke,J){if(J=Array.isArray(J)?J.join("."):J,Ke.fieldGroup)for(let I=0,q=Ke.fieldGroup.length;I{J instanceof t.UuU?J.injector.get(t.sBO).markForCheck():J.markForCheck()})}const je=new t.OlP("FORMLY_CONFIG");let Yt=(()=>{class Ke{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError:I=>I.formControl?.invalid&&(I.formControl?.touched||I.options.parentForm?.submitted||!!I.field.validation?.show)},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(I){I.types&&I.types.forEach(q=>this.setType(q)),I.validators&&I.validators.forEach(q=>this.setValidator(q)),I.wrappers&&I.wrappers.forEach(q=>this.setWrapper(q)),I.validationMessages&&I.validationMessages.forEach(q=>this.addValidatorMessage(q.name,q.message)),I.extensions&&this.setSortedExtensions(I.extensions),I.extras&&(this.extras={...this.extras,...I.extras}),I.presets&&(this.presets={...this.presets,...I.presets.reduce((q,Me)=>({...q,[Me.name]:Me.config}),{})})}setType(I){Array.isArray(I)?I.forEach(q=>this.setType(q)):(this.types[I.name]||(this.types[I.name]={name:I.name}),["component","extends","defaultOptions","wrappers"].forEach(q=>{I.hasOwnProperty(q)&&(this.types[I.name][q]=I[q])}))}getType(I,q=!1){if(I instanceof t.DyG)return{component:I,name:I.prototype.constructor.name};if(!this.types[I]){if(q)throw new Error(`[Formly Error] The type "${I}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(I),this.types[I]}getMergedField(I={}){const q=this.getType(I.type);if(!q)return;q.defaultOptions&&ae(I,q.defaultOptions);const Me=q.extends&&this.getType(q.extends).defaultOptions;Me&&ae(I,Me),I?.optionsTypes&&I.optionsTypes.forEach(tt=>{const Je=this.getType(tt).defaultOptions;Je&&ae(I,Je)});const _t=this.resolveFieldTypeRef(I);_t?.instance?.defaultOptions&&ae(I,_t.instance.defaultOptions),!I.wrappers&&q.wrappers&&(I.wrappers=[...q.wrappers])}resolveFieldTypeRef(I={}){const q=this.getType(I.type);if(!q)return null;if(!q.component||q._componentRef)return q._componentRef;const{_viewContainerRef:Me,_injector:_t}=I.options;if(!Me||!_t)return null;const tt=Me.createComponent(q.component,{injector:_t});un(q,"_componentRef",tt);try{tt.destroy()}catch(Je){console.error(`An error occurred while destroying the Formly component type "${I.type}"`,Je)}return q._componentRef}setWrapper(I){this.wrappers[I.name]=I,I.types&&I.types.forEach(q=>{this.setTypeWrapper(q,I.name)})}getWrapper(I){if(I instanceof t.DyG)return{component:I,name:I.prototype.constructor.name};if(!this.wrappers[I])throw new Error(`[Formly Error] The wrapper "${I}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[I]}setTypeWrapper(I,q){this.types[I]||(this.types[I]={}),this.types[I].wrappers||(this.types[I].wrappers=[]),-1===this.types[I].wrappers.indexOf(q)&&this.types[I].wrappers.push(q)}setValidator(I){this.validators[I.name]=I}getValidator(I){if(!this.validators[I])throw new Error(`[Formly Error] The validator "${I}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[I]}addValidatorMessage(I,q){this.messages[I]=q}getValidatorMessage(I){return this.messages[I]}setSortedExtensions(I){I.forEach(q=>{const Me=q.priority??1;this.extensionsByPriority[Me]={...this.extensionsByPriority[Me],[q.name]:q.extension}}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((q,Me)=>q-Me).reduce((q,Me)=>({...q,...this.extensionsByPriority[Me]}),{})}mergeExtendedType(I){if(!this.types[I].extends)return;const q=this.getType(this.types[I].extends);this.types[I].component||(this.types[I].component=q.component),this.types[I].wrappers||(this.types[I].wrappers=q.wrappers)}}return Ke.\u0275fac=function(I){return new(I||Ke)},Ke.\u0275prov=t.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),qt=(()=>{class Ke{constructor(I,q,Me,_t){this.config=I,this.injector=q,this.viewContainerRef=Me,this.parentForm=_t}buildForm(I,q=[],Me,_t){this.build({fieldGroup:q,model:Me,form:I,options:_t})}build(I){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");I.parent?this._build(I):(this._setOptions(I),function O(Ke,J){const I=Ke._updateTreeValidity.bind(Ke);Ke._updateTreeValidity=()=>{},J(),Ke._updateTreeValidity=I}(I.form,()=>{this._build(I);const q=I.options;q.checkExpressions?.(I,!0),q.detectChanges?.(I)}))}_build(I){if(!I)return;const q=Object.values(this.config.extensions);q.forEach(Me=>Me.prePopulate?.(I)),q.forEach(Me=>Me.onPopulate?.(I)),I.fieldGroup?.forEach(Me=>this._build(Me)),q.forEach(Me=>Me.postPopulate?.(I))}_setOptions(I){I.form=I.form||new i.cw({}),I.model=I.model||{},I.options=I.options||{};const q=I.options;q._viewContainerRef||un(q,"_viewContainerRef",this.viewContainerRef),q._injector||un(q,"_injector",this.injector),q.build||(q._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(I)},q.build=(Me=I)=>(this.build(Me),Me)),!q.parentForm&&this.parentForm&&(un(q,"parentForm",this.parentForm),Xe(q,["parentForm","submitted"],({firstChange:Me})=>{Me||(q.checkExpressions(I),q.detectChanges(I))}))}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.LFG(Yt),t.LFG(t.zs3),t.LFG(t.s_b,8),t.LFG(i.sg,8))},Ke.\u0275prov=t.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();function vn(Ke,J=!1){const I=Ke.formControl,q=I._fields?I._fields.indexOf(Ke):-1;-1!==q&&I._fields.splice(q,1);const Me=I.parent;if(!Me)return;const _t={emitEvent:J};if(Me instanceof i.Oe){const tt=Me.controls.findIndex(Je=>Je===I);-1!==tt&&Me.removeAt(tt,_t)}else if(Me instanceof i.cw){const tt=pe(Ke),Je=tt[tt.length-1];Me.get([Je])===I&&Me.removeControl(Je,_t)}I.setParent(null)}function Dn(Ke){return Ke.formControl?Ke.formControl:!1===Ke.shareFormControl?null:Ke.form?.get(pe(Ke))}function Wt(Ke,J,I=!1){if((J=J||Ke.formControl)._fields||un(J,"_fields",[]),-1===J._fields.indexOf(Ke)&&J._fields.push(Ke),!Ke.formControl&&J){un(Ke,"formControl",J),J.setValidators(null),J.setAsyncValidators(null),Ke.props.disabled=!!Ke.props.disabled;const Je=Xe(Ke,["props","disabled"],({firstChange:rt,currentValue:Nt})=>{rt||(Nt?Ke.formControl.disable():Ke.formControl.enable())});J instanceof i.NI&&J.registerOnDisabledChange(Je.setValue)}if(!Ke.form||!x(Ke))return;let q=Ke.form;const Me=pe(Ke),_t=Q(Ke);(!fe(J.value)||!fe(_t))&&J.value!==_t&&J instanceof i.NI&&J.patchValue(_t);for(let Je=0;Je$e(J))}let Ve=(()=>{class Ke{constructor(I){this.ref=I}ngOnChanges(){this.name=this.name||"formly-group"}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.Y36(t.Rgc))},Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","formlyTemplate",""]],inputs:{name:["formlyTemplate","name"]},features:[t.TTD]}),Ke})(),Pe=(()=>{class Ke{}return Ke.\u0275fac=function(I){return new(I||Ke)},Ke.\u0275prov=t.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),We=(()=>{class Ke{constructor(I,q,Me,_t,tt){this.config=I,this.renderer=q,this._elementRef=Me,this.hostContainerRef=_t,this.form=tt,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){return this.config.extras.renderFormlyFieldElement?this._elementRef:this.componentRefs?.[0]instanceof t.UuU?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(I){this.triggerHook("onChanges",I)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(I=>I.unsubscribe()),this.hooksObservers.forEach(I=>I()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(I,q,Me=[]){if(this.containerRef===I&&(this.resetRefs(this.field),this.containerRef.clear(),Me=this.field?.wrappers),Me?.length>0){const[_t,...tt]=Me,{component:Je}=this.config.getWrapper(_t),rt=I.createComponent(Je);this.attachComponentRef(rt,q),Xe(rt.instance,["fieldComponent"],({currentValue:Nt,previousValue:Tt,firstChange:mn})=>{if(Nt){if(Tt&&Tt._lContainer===Nt._lContainer)return;const Ze=Tt?Tt.detach():null;Ze&&!Ze.destroyed?Nt.insert(Ze):this.renderField(Nt,q,tt),!mn&&rt.changeDetectorRef.detectChanges()}})}else if(q?.type){const _t=this.form?.templates?.find(Je=>Je.name===q.type);let tt;if(_t)tt=I.createEmbeddedView(_t.ref,{$implicit:q});else{const{component:Je}=this.config.getType(q.type,!0);tt=I.createComponent(Je)}this.attachComponentRef(tt,q)}}triggerHook(I,q){if(("onInit"===I||"onChanges"===I&&q.field&&!q.field.firstChange)&&(this.valueChangesUnsubscribe=this.fieldChanges(this.field)),this.field?.hooks?.[I]&&(!q||q.field)){const Me=this.field.hooks[I](this.field);if((0,v.b)(Me)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(I)){const _t=Me.subscribe();this.hooksObservers.push(()=>_t.unsubscribe())}}"onChanges"===I&&q.field&&(this.resetRefs(q.field.previousValue),this.render())}attachComponentRef(I,q){this.componentRefs.push(I),q._componentRefs.push(I),I instanceof t.UuU&&Object.assign(I.instance,{field:q})}render(){if(this.field){if(!this.field.options)return void(this.detectFieldBuild=!0);this.detectFieldBuild=!1,this.hostObservers.forEach(I=>I.unsubscribe()),this.hostObservers=[Xe(this.field,["hide"],({firstChange:I,currentValue:q})=>{const Me=this.containerRef;!1===this.config.extras.lazyRender?(I&&this.renderField(Me,this.field),(!I||I&&q)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",q?"none":"")):q?(Me.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(Me,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!I&&this.field.options.detectChanges(this.field)}),Xe(this.field,["className"],({firstChange:I,currentValue:q})=>{(!I||I&&q)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",q)}),...["touched","pristine","status"].map(I=>Xe(this.field,["formControl",I],({firstChange:q})=>!q&&Ct(this.field)))]}}resetRefs(I){I&&(I._localFields?I._localFields=[]:un(this.field,"_localFields",[]),I._componentRefs?I._componentRefs=I._componentRefs.filter(q=>-1===this.componentRefs.indexOf(q)):un(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(I){if(this.valueChangesUnsubscribe(),!I)return()=>{};const q=[In(I,["props"],()=>I.options.detectChanges(I))];I.options&&q.push(In(I.options,["formState"],()=>I.options.detectChanges(I)));for(const _t of Object.keys(I._expressions||{})){const tt=Xe(I,["_expressions",_t],({currentValue:Je,previousValue:rt})=>{rt?.subscription&&(rt.subscription.unsubscribe(),rt.subscription=null),(0,v.b)(Je.value$)&&(Je.subscription=Je.value$.subscribe())});q.push(()=>{I._expressions[_t]?.subscription&&I._expressions[_t].subscription.unsubscribe(),tt.unsubscribe()})}for(const _t of[["focus"],["template"],["fieldGroupClassName"],["validation","show"]]){const tt=Xe(I,_t,({firstChange:Je})=>!Je&&I.options.detectChanges(I));q.push(()=>tt.unsubscribe())}if(I.formControl&&!I.fieldGroup){const _t=I.formControl;let tt=_t.valueChanges.pipe((0,U.x)((Tt,mn)=>!(Tt!==mn||Array.isArray(Tt)||Et(Tt))));_t.value!==Q(I)&&(tt=tt.pipe((0,P.O)(_t.value)));const{updateOn:Je,debounce:rt}=I.modelOptions;(!Je||"change"===Je)&&rt?.default>0&&(tt=_t.valueChanges.pipe((0,S.b)(rt.default)));const Nt=tt.subscribe(Tt=>{_t._fields?.length>1&&_t instanceof i.NI&&_t.patchValue(Tt,{emitEvent:!1,onlySelf:!0}),I.parsers?.forEach(mn=>Tt=mn(Tt)),Tt===I.formControl.value?(x(I)&&W(I,Tt),I.options.fieldChanges.next({value:Tt,field:I,type:"valueChanges"})):I.formControl.setValue(Tt)});q.push(()=>Nt.unsubscribe())}let Me=[];return Xe(I,["_localFields"],({currentValue:_t})=>{Me.forEach(tt=>tt()),Me=(_t||[]).map(tt=>this.fieldChanges(tt))}),()=>{q.forEach(_t=>_t()),Me.forEach(_t=>_t())}}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.Y36(Yt),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(Pe,8))},Ke.\u0275cmp=t.Xpm({type:Ke,selectors:[["formly-field"]],viewQuery:function(I,q){if(1&I&&t.Gf(ge,7,t.s_b),2&I){let Me;t.iGM(Me=t.CRH())&&(q.viewContainerRef=Me.first)}},inputs:{field:"field"},features:[t.TTD],decls:2,vars:0,consts:[["container",""]],template:function(I,q){1&I&&t.YNc(0,ze,0,0,"ng-template",null,0,t.W1O)},styles:["[_nghost-%COMP%]:empty{display:none}"]}),Ke})(),He=(()=>{class Ke{constructor(I,q,Me,_t){this.builder=I,this.config=q,this.ngZone=Me,this.fieldTemplates=_t,this.modelChange=new t.vpe,this.field={type:"formly-group"},this._modelChangeValue={},this.valueChangesUnsubscribe=()=>{}}set form(I){this.field.form=I}get form(){return this.field.form}set model(I){this.config.extras.immutable&&this._modelChangeValue===I||this.setField({model:I})}get model(){return this.field.model}set fields(I){this.setField({fieldGroup:I})}get fields(){return this.field.fieldGroup}set options(I){this.setField({options:I})}get options(){return this.field.options}set templates(I){this.fieldTemplates.templates=I}ngDoCheck(){"changeDetectionCheck"===this.config.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(I){I.fields&&this.form&&$e(this.form),(I.fields||I.form||I.model&&this._modelChangeValue!==I.model.currentValue)&&(this.valueChangesUnsubscribe(),this.builder.build(this.field),this.valueChangesUnsubscribe=this.valueChanges())}ngOnDestroy(){this.valueChangesUnsubscribe()}checkExpressionChange(){this.field.options.checkExpressions?.(this.field)}valueChanges(){this.valueChangesUnsubscribe();const I=this.field.options.fieldChanges.pipe((0,w.h)(({field:q,type:Me})=>x(q)&&"valueChanges"===Me),(0,L.w)(()=>this.ngZone.onStable.asObservable().pipe((0,Y.q)(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=tn(this.model))}));return()=>I.unsubscribe()}setField(I){this.config.extras.immutable?this.field={...this.field,...tn(I)}:Object.keys(I).forEach(q=>this.field[q]=I[q])}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.Y36(qt),t.Y36(Yt),t.Y36(t.R0b),t.Y36(Pe))},Ke.\u0275cmp=t.Xpm({type:Ke,selectors:[["formly-form"]],contentQueries:function(I,q,Me){if(1&I&&t.Suo(Me,Ve,4),2&I){let _t;t.iGM(_t=t.CRH())&&(q.templates=_t)}},inputs:{form:"form",model:"model",fields:"fields",options:"options"},outputs:{modelChange:"modelChange"},features:[t._Bn([qt,Pe]),t.TTD],decls:1,vars:1,consts:[[3,"field"]],template:function(I,q){1&I&&t._UZ(0,"formly-field",0),2&I&&t.Q6J("field",q.field)},dependencies:[We],encapsulation:2,changeDetection:0}),Ke})(),we=(()=>{class Ke{constructor(I,q,Me){this.renderer=I,this.elementRef=q,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(_t,tt)=>{switch(_t){case"focus":return this.onFocus(tt);case"blur":return this.onBlur(tt);case"change":return this.onChange(tt);default:return this.props[_t](this.field,tt)}}},this.document=Me}get props(){return this.field.props||{}}get fieldAttrElements(){return this.field?._elementRefs||[]}ngOnChanges(I){I.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(q=>q()),this.uiEvents.events.forEach(q=>{(this.props?.[q]||-1!==["focus","blur","change"].indexOf(q))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,q,Me=>this.uiEvents.callback(q,Me)))}),this.props?.attributes&&Xe(this.field,["props","attributes"],({currentValue:q,previousValue:Me})=>{Me&&Object.keys(Me).forEach(_t=>this.removeAttribute(_t)),q&&Object.keys(q).forEach(_t=>{null!=q[_t]&&this.setAttribute(_t,q[_t])})}),this.detachElementRef(I.field.previousValue),this.attachElementRef(I.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=Xe(this.field,["focus"],({currentValue:q})=>{this.toggleFocus(q)}))),I.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const I=this.elementRef.nativeElement;this.uiAttributes=[...de,"tabindex","placeholder","readonly","disabled","step"].filter(q=>!I.hasAttribute||!I.hasAttribute(q))}this.uiAttributes.forEach(I=>{const q=this.props[I];this.uiAttributesCache[I]!==q&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(I.toLowerCase()))&&(this.uiAttributesCache[I]=q,q||0===q?this.setAttribute(I,!0===q?I:`${q}`):this.removeAttribute(I))})}ngOnDestroy(){this.uiEvents.listeners.forEach(I=>I()),this.detachElementRef(this.field),this.focusObserver?.unsubscribe()}toggleFocus(I){const q=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!q||!q.nativeElement.focus)return;const Me=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:_t})=>this.document.activeElement===_t||_t.contains(this.document.activeElement));I&&!Me?Promise.resolve().then(()=>q.nativeElement.focus()):!I&&Me&&Promise.resolve().then(()=>q.nativeElement.blur())}onFocus(I){this.focusObserver?.setValue(!0),this.props.focus?.(this.field,I)}onBlur(I){this.focusObserver?.setValue(!1),this.props.blur?.(this.field,I)}onHostChange(I){I instanceof Event||this.onChange(I)}onChange(I){this.props.change?.(this.field,I),this.field.formControl?.markAsDirty()}attachElementRef(I){I&&(-1===I._elementRefs?.indexOf(this.elementRef)?I._elementRefs.push(this.elementRef):un(I,"_elementRefs",[this.elementRef]))}detachElementRef(I){const q=I?._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==q&&I._elementRefs.splice(q,1)}setAttribute(I,q){this.renderer.setAttribute(this.elementRef.nativeElement,I,q)}removeAttribute(I){this.renderer.removeAttribute(this.elementRef.nativeElement,I)}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(F.K0))},Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","formlyAttributes",""]],hostBindings:function(I,q){1&I&&t.NdJ("change",function(_t){return q.onHostChange(_t)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[t.TTD]}),Ke})(),te=(()=>{class Ke{constructor(){this.field={}}set controls(I){this.field._localFields=I.map(Me=>Me.control._fields||[]).flat().filter(Me=>Me.formControl!==this.field.formControl)}get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options?.formState||{}}}return Ke.\u0275fac=function(I){return new(I||Ke)},Ke.\u0275dir=t.lG2({type:Ke,viewQuery:function(I,q){if(1&I&&t.Gf(i.a5,5),2&I){let Me;t.iGM(Me=t.CRH())&&(q.controls=Me)}},inputs:{field:"field"}}),Ke})(),ce=(()=>{class Ke extends te{}return Ke.\u0275fac=function(){let J;return function(q){return(J||(J=t.n5z(Ke)))(q||Ke)}}(),Ke.\u0275cmp=t.Xpm({type:Ke,selectors:[["formly-group"]],hostVars:2,hostBindings:function(I,q){2&I&&t.Tol(q.field.fieldGroupClassName||"")},features:[t.qOj],ngContentSelectors:N,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(I,q){1&I&&(t.F$t(),t.YNc(0,K,1,1,"formly-field",0),t.Hsn(1)),2&I&&t.Q6J("ngForOf",q.field.fieldGroup)},dependencies:[We,F.sg],encapsulation:2,changeDetection:0}),Ke})(),De=(()=>{class Ke{constructor(I){this.config=I}ngOnChanges(){const I=de.map(q=>`templateOptions.${q}`);this.errorMessage$=(0,d.T)(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe((0,w.h)(({field:q,type:Me,property:_t})=>q===this.field&&"expressionChanges"===Me&&(-1!==_t.indexOf("validation")||-1!==I.indexOf(_t)))):(0,s.of)(null)).pipe((0,P.O)(null),(0,L.w)(()=>(0,v.b)(this.errorMessage)?this.errorMessage:(0,s.of)(this.errorMessage)))}get errorMessage(){const I=this.field.formControl;for(const q in I.errors)if(I.errors.hasOwnProperty(q)){let Me=this.config.getValidatorMessage(q);if(Et(I.errors[q])){if(I.errors[q].errorPath)return;I.errors[q].message&&(Me=I.errors[q].message)}return this.field.validation?.messages?.[q]&&(Me=this.field.validation.messages[q]),this.field.validators?.[q]?.message&&(Me=this.field.validators[q].message),this.field.asyncValidators?.[q]?.message&&(Me=this.field.asyncValidators[q].message),"function"==typeof Me?Me(I.errors[q],this.field):Me}}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.Y36(Yt))},Ke.\u0275cmp=t.Xpm({type:Ke,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[t.TTD],decls:2,vars:3,template:function(I,q){1&I&&(t._uU(0),t.ALo(1,"async")),2&I&&t.Oqu(t.lcZ(1,1,q.errorMessage$))},dependencies:[F.Ov],encapsulation:2,changeDetection:0}),Ke})(),Ge=(()=>{class Ke extends te{onPopulate(I){x(I)&&Wt(I,Dn(I)||new i.Oe([],{updateOn:I.modelOptions.updateOn})),I.fieldGroup=I.fieldGroup||[];const q=Array.isArray(I.model)?I.model.length:0;if(I.fieldGroup.length>q)for(let Me=I.fieldGroup.length-1;Me>=q;--Me)vn(I.fieldGroup[Me],!0),I.fieldGroup.splice(Me,1);for(let Me=I.fieldGroup.length;Me_t.key=`${tt}`),vn(Me,!0),this._build(),q&&this.formControl.markAsDirty()}_build(){(this.field.formControl._fields??[this.field]).forEach(q=>this.options.build(q)),this.options.fieldChanges.next({field:this.field,value:Q(this.field),type:"valueChanges"})}}return Ke.\u0275fac=function(){let J;return function(q){return(J||(J=t.n5z(Ke)))(q||Ke)}}(),Ke.\u0275dir=t.lG2({type:Ke,features:[t.qOj]}),Ke})(),vt=(()=>{class Ke extends te{set _staticContent(I){this.fieldComponent=I}}return Ke.\u0275fac=function(){let J;return function(q){return(J||(J=t.n5z(Ke)))(q||Ke)}}(),Ke.\u0275dir=t.lG2({type:Ke,viewQuery:function(I,q){if(1&I&&(t.Gf(V,5,t.s_b),t.Gf(V,7,t.s_b)),2&I){let Me;t.iGM(Me=t.CRH())&&(q.fieldComponent=Me.first),t.iGM(Me=t.CRH())&&(q._staticContent=Me.first)}},features:[t.qOj]}),Ke})(),rn=(()=>{class Ke extends te{constructor(I){super(),this.sanitizer=I,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.Y36(R.H7))},Ke.\u0275cmp=t.Xpm({type:Ke,selectors:[["formly-template"]],features:[t.qOj],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(I,q){1&I&&t._UZ(0,"div",0),2&I&&t.Q6J("innerHtml",q.template,t.oJD)},encapsulation:2,changeDetection:0}),Ke})();class it{onPopulate(J){if(J._expressions)return;un(J,"_expressions",{}),Xe(J,["hide"],({currentValue:q,firstChange:Me})=>{un(J,"_hide",!!q),(!Me||Me&&!0===q)&&(J.props.hidden=q,J.options._hiddenFieldsForCheck.push(J))}),J.hideExpression&&Xe(J,["hideExpression"],({currentValue:q})=>{J._expressions.hide=this.parseExpressions(J,"hide","boolean"==typeof q?()=>q:q)});const I=(q,Me)=>{"string"==typeof Me||Dt(Me)?J._expressions[q]=this.parseExpressions(J,q,Me):Me instanceof k.y&&(J._expressions[q]={value$:Me.pipe((0,M.b)(_t=>{this.evalExpr(J,q,_t),J.options.detectChanges(J)}))})};J.expressions=J.expressions||{};for(const q of Object.keys(J.expressions))Xe(J,["expressions",q],({currentValue:Me})=>{I(q,Dt(Me)?(..._t)=>Me(J,_t[3]):Me)});J.expressionProperties=J.expressionProperties||{};for(const q of Object.keys(J.expressionProperties))Xe(J,["expressionProperties",q],({currentValue:Me})=>I(q,Me))}postPopulate(J){if(!J.parent&&!J.options.checkExpressions){let I=!1;J.options.checkExpressions=(q,Me)=>{if(I)return;I=!0;const _t=this.checkExpressions(q,Me),tt=J.options;tt._hiddenFieldsForCheck.sort(Je=>Je.hide?-1:1).forEach(Je=>this.changeHideState(Je,Je.hide,!Me)),tt._hiddenFieldsForCheck=[],_t&&(this.checkExpressions(J),J.options&&J.options.detectChanges&&J.options.detectChanges(J)),I=!1},J.options._checkField=(q,Me)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),J.options.checkExpressions(q,Me)}}}parseExpressions(J,I,q){let Me,_t;if(J.parent&&["hide","props.disabled"].includes(I)){const tt=Je=>"hide"===I?Je.hide:Je.props.disabled;Me=()=>{let Je=J.parent;for(;Je.parent&&!tt(Je);)Je=Je.parent;return tt(Je)}}return"string"==typeof(q=q||(()=>!1))&&(q=function _n(Ke,J){try{return Function(...J,`return ${Ke};`)}catch(I){console.error(I)}}(q,["model","formState","field"])),{callback:tt=>{try{const Je=function st(Ke,J,I){return"function"==typeof Ke?Ke.apply(J,I):!!Ke}(Me?(...rt)=>Me(J)||q(...rt):q,{field:J},[J.model,J.options.formState,J,tt]);return!(!tt&&(_t===Je||Et(Je)&&!(0,v.b)(Je)&&JSON.stringify(Je)===JSON.stringify(_t))||(_t=Je,this.evalExpr(J,I,Je),0))}catch(Je){throw Je.message=`[Formly Error] [Expression "${I}"] ${Je.message}`,Je}}}}checkExpressions(J,I=!1){if(!J)return!1;let q=!1;if(J._expressions)for(const Me of Object.keys(J._expressions))J._expressions[Me].callback?.(I)&&(q=!0);return J.fieldGroup?.forEach(Me=>this.checkExpressions(Me,I)&&(q=!0)),q}changeDisabledState(J,I){J.fieldGroup&&J.fieldGroup.filter(q=>!q._expressions.hasOwnProperty("props.disabled")).forEach(q=>this.changeDisabledState(q,I)),x(J)&&J.props.disabled!==I&&(J.props.disabled=I)}changeHideState(J,I,q){if(J.fieldGroup&&J.fieldGroup.filter(Me=>!Me._expressions.hide).forEach(Me=>this.changeHideState(Me,I,q)),J.formControl&&x(J)){un(J,"_hide",!(!I&&!J.hide));const Me=J.formControl;Me._fields?.length>1&&It(Me),!0!==I||Me._fields&&!Me._fields.every(_t=>!!_t._hide)?!1===I&&(J.resetOnHide&&!be(J.defaultValue)&&be(Q(J))&&W(J,J.defaultValue),Wt(J,void 0,!0),J.resetOnHide&&J.fieldArray&&J.fieldGroup?.length!==J.model?.length&&J.options.build(J)):(vn(J,!0),q&&J.resetOnHide&&(W(J,void 0),J.formControl.reset({value:void 0,disabled:J.formControl.disabled}),J.options.fieldChanges.next({value:void 0,field:J,type:"valueChanges"}),J.fieldGroup&&J.formControl instanceof i.Oe&&(J.fieldGroup.length=0)))}J.options.fieldChanges&&J.options.fieldChanges.next({field:J,type:"hidden",value:I})}evalExpr(J,I,q){if(0===I.indexOf("model.")){const Me=I.replace(/^model\./,""),_t=J.fieldGroup?J:J.parent;let tt=J?.key===Me?J.formControl:J.form.get(Me);!tt&&J.get(Me)&&(tt=J.get(Me).formControl),W({key:Me,parent:_t,model:J.model},q),tt&&(!fe(tt.value)||!fe(q))&&tt.value!==q&&tt.patchValue(q)}else{try{let Me=J;const _t=this._evalExpressionPath(J,I),tt=_t.length-1;for(let Je=0;JeMe).forEach(Me=>{const _t=Me.match(/['|"](.*?)['|"]/);_t?q.push(_t[1]):q.push(...Me.split(".").filter(tt=>tt))}),J._expressions[I]&&(J._expressions[I].paths=q),q}}class lt{constructor(J){this.config=J}onPopulate(J){this.initFieldValidation(J,"validators"),this.initFieldValidation(J,"asyncValidators")}initFieldValidation(J,I){const q=[];if("validators"===I&&!(J.hasOwnProperty("fieldGroup")&&!x(J))&&q.push(this.getPredefinedFieldValidation(J)),J[I])for(const Me of Object.keys(J[I]))"validation"===Me?q.push(...J[I].validation.map(_t=>this.wrapNgValidatorFn(J,_t))):q.push(this.wrapNgValidatorFn(J,J[I][Me],Me));un(J,"_"+I,q)}getPredefinedFieldValidation(J){let I=[];return de.forEach(q=>Xe(J,["props",q],({currentValue:Me,firstChange:_t})=>{I=I.filter(tt=>tt!==q),null!=Me&&!1!==Me&&I.push(q),!_t&&J.formControl&&It(J.formControl)})),q=>0===I.length?null:i.kI.compose(I.map(Me=>()=>{const _t=J.props[Me];switch(Me){case"required":return i.kI.required(q);case"pattern":return i.kI.pattern(_t)(q);case"minLength":const tt=i.kI.minLength(_t)(q),Je=this.config.getValidatorMessage("minlength")||J.validation?.messages?.minlength?"minlength":"minLength";return tt?{[Je]:tt.minlength}:null;case"maxLength":const rt=i.kI.maxLength(_t)(q),Nt=this.config.getValidatorMessage("maxlength")||J.validation?.messages?.maxlength?"maxlength":"maxLength";return rt?{[Nt]:rt.maxlength}:null;case"min":return i.kI.min(_t)(q);case"max":return i.kI.max(_t)(q);default:return null}}))(q)}wrapNgValidatorFn(J,I,q){let Me;if("string"==typeof I&&(Me=tn(this.config.getValidator(I))),"object"==typeof I&&I.name&&(Me=tn(this.config.getValidator(I.name)),I.options&&(Me.options=I.options)),"object"==typeof I&&I.expression){const{expression:_t,...tt}=I;Me={name:q,validation:_t,options:Object.keys(tt).length>0?tt:null}}return"function"==typeof I&&(Me={name:q,validation:I}),_t=>{const tt=Me.validation(_t,J,Me.options);return function Ht(Ke){return!!Ke&&"function"==typeof Ke.then}(tt)?tt.then(Je=>this.handleAsyncResult(J,q?!!Je:Je,Me)):(0,v.b)(tt)?tt.pipe((0,e.U)(Je=>this.handleAsyncResult(J,q?!!Je:Je,Me))):this.handleResult(J,q?!!tt:tt,Me)}}handleAsyncResult(J,I,q){return J.options.detectChanges(J),this.handleResult(J,I,q)}handleResult(J,I,{name:q,options:Me}){"boolean"==typeof I&&(I=I?null:{[q]:Me||!0});const _t=J.formControl;return _t?._childrenErrors?.[q]?.(),Et(I)&&Object.keys(I).forEach(tt=>{const Je=I[tt].errorPath?I[tt].errorPath:Me?.errorPath,rt=Je?J.formControl.get(Je):null;if(rt){const{errorPath:Nt,...Tt}=I[tt];rt.setErrors({...rt.errors||{},[tt]:Tt}),!_t._childrenErrors&&un(_t,"_childrenErrors",{}),_t._childrenErrors[tt]=()=>{const{[tt]:mn,...Ze}=rt.errors||{};rt.setErrors(0===Object.keys(Ze).length?null:Ze)}}}),I}}class wt{prePopulate(J){this.root||(this.root=J),J.parent&&Object.defineProperty(J,"form",{get:()=>J.parent.formControl,configurable:!0})}onPopulate(J){J.hasOwnProperty("fieldGroup")&&!x(J)?un(J,"formControl",J.form):this.addFormControl(J)}postPopulate(J){if(this.root===J&&(this.root=null,this.setValidators(J)&&J.parent)){let q=J.parent;for(;q;)(x(q)||!q.parent)&&It(q.formControl,!0),q=q.parent}}addFormControl(J){let I=Dn(J);if(!J.fieldArray){if(!I){const q={updateOn:J.modelOptions.updateOn};if(J.fieldGroup)I=new i.cw({},q);else{const Me=x(J)?Q(J):J.defaultValue;I=new i.NI({value:Me,disabled:!!J.props.disabled},{...q,initialValueIsDefault:!0})}}Wt(J,I)}}setValidators(J,I=!1){!1===I&&x(J)&&J.props?.disabled&&(I=!0);let q=!1;if(J.fieldGroup?.forEach(Me=>Me&&this.setValidators(Me,I)&&(q=!0)),x(J)||!J.parent||!x(J)&&!J.fieldGroup){const{formControl:Me}=J;if(Me&&(x(J)&&Me instanceof i.NI&&(I&&Me.enabled&&(Me.disable({emitEvent:!1,onlySelf:!0}),q=!0),!I&&Me.disabled&&(Me.enable({emitEvent:!1,onlySelf:!0}),q=!0)),(null===Me.validator||null===Me.asyncValidator)&&(Me.setValidators(()=>{const _t=i.kI.compose(this.mergeValidators(J,"_validators"));return _t?_t(Me):null}),Me.setAsyncValidators(()=>{const _t=i.kI.composeAsync(this.mergeValidators(J,"_asyncValidators"));return _t?_t(Me):(0,s.of)(null)}),q=!0),q)){It(Me,!0);let _t=Me.parent;for(let tt=1;tt1?Me._fields.filter(_t=>!_t._hide).forEach(_t=>q.push(..._t[I])):J[I]&&q.push(...J[I]),J.fieldGroup&&J.fieldGroup.filter(_t=>_t?.fieldGroup&&!x(_t)).forEach(_t=>q.push(...this.mergeValidators(_t,I))),q}}class Ot{constructor(J){this.config=J,this.formId=0}prePopulate(J){const I=J.parent;this.initRootOptions(J),this.initFieldProps(J),I&&(Object.defineProperty(J,"options",{get:()=>I.options,configurable:!0}),Object.defineProperty(J,"model",{get:()=>x(J)&&J.fieldGroup?Q(J):I.model,configurable:!0})),Object.defineProperty(J,"get",{value:q=>Re(J,q),configurable:!0}),this.getFieldComponentInstance(J).prePopulate?.(J)}onPopulate(J){this.initFieldOptions(J),this.getFieldComponentInstance(J).onPopulate?.(J),J.fieldGroup&&J.fieldGroup.forEach((I,q)=>{I&&(Object.defineProperty(I,"parent",{get:()=>J,configurable:!0}),Object.defineProperty(I,"index",{get:()=>q,configurable:!0})),this.formId++})}postPopulate(J){this.getFieldComponentInstance(J).postPopulate?.(J)}initFieldProps(J){J.props??(J.props=J.templateOptions),Object.defineProperty(J,"templateOptions",{get:()=>J.props,set:I=>J.props=I,configurable:!0})}initRootOptions(J){if(J.parent)return;const I=J.options;J.options.formState=J.options.formState||{},I.showError||(I.showError=this.config.extras.showError),I.fieldChanges||un(I,"fieldChanges",new G.x),I._hiddenFieldsForCheck||(I._hiddenFieldsForCheck=[]),I._markForCheck=q=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),I.detectChanges(q)},I.detectChanges=q=>{q._componentRefs&&(q.options.checkExpressions(q),Ct(q)),q.fieldGroup?.forEach(Me=>Me&&I.detectChanges(Me))},I.resetModel=q=>{q=tn(q??I._initialModel),J.model&&(Object.keys(J.model).forEach(Me=>delete J.model[Me]),Object.assign(J.model,q||{})),I.build(J),J.form.reset(J.model),I.parentForm&&I.parentForm.control===J.formControl&&(I.parentForm.submitted=!1)},I.updateInitialValue=q=>I._initialModel=tn(q??J.model),J.options.updateInitialValue()}initFieldOptions(J){if(ae(J,{id:A(`formly_${this.formId}`,J,J.index),hooks:{},modelOptions:{},validation:{messages:{}},props:J.type&&x(J)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==J.resetOnHide&&(J.resetOnHide=!0),"formly-template"!==J.type&&(J.template||J.expressions?.template||J.expressionProperties?.template)&&(J.type="formly-template"),!J.type&&J.fieldGroup&&(J.type="formly-group"),J.type&&this.config.getMergedField(J),x(J)&&!be(J.defaultValue)&&be(Q(J))){const I=Me=>Me.hide||Me.expressions?.hide||Me.hideExpression;let q=!J.resetOnHide||!I(J);if(!I(J)&&J.resetOnHide){let Me=J.parent;for(;Me&&!I(Me);)Me=Me.parent;q=!Me||!I(Me)}q&&W(J,J.defaultValue)}J.wrappers=J.wrappers||[]}getFieldComponentInstance(J){const I=()=>{let q=this.config.resolveFieldTypeRef(J);const Me=J._componentRefs?.slice(-1)[0];return Me instanceof t.UuU&&Me?.componentType===q?.componentType&&(q=Me),q?.instance};return J._proxyInstance||un(J,"_proxyInstance",new Proxy({},{get:(q,Me)=>I()?.[Me],set:(q,Me,_t)=>I()[Me]=_t})),J._proxyInstance}}function Lt(Ke){return{types:[{name:"formly-group",component:ce},{name:"formly-template",component:rn}],extensions:[{name:"core",extension:new Ot(Ke),priority:-250},{name:"field-validation",extension:new lt(Ke),priority:-200},{name:"field-form",extension:new wt,priority:-150},{name:"field-expression",extension:new it,priority:-100}]}}let Gt=(()=>{class Ke{constructor(I,q=[]){q&&q.forEach(Me=>I.addConfig(Me))}static forRoot(I={}){return{ngModule:Ke,providers:[{provide:je,multi:!0,useFactory:Lt,deps:[Yt]},{provide:je,useValue:I,multi:!0},Yt,qt]}}static forChild(I={}){return{ngModule:Ke,providers:[{provide:je,multi:!0,useFactory:Lt,deps:[Yt]},{provide:je,useValue:I,multi:!0},qt]}}}return Ke.\u0275fac=function(I){return new(I||Ke)(t.LFG(Yt),t.LFG(je,8))},Ke.\u0275mod=t.oAB({type:Ke}),Ke.\u0275inj=t.cJS({imports:[[F.ez]]}),Ke})()},7248:(xt,Se,a)=>{a.d(Se,{F:()=>S});var t=a(5879),i=a(6814),v=a(5545),d=a(6223),s=a(3599),k=a(95);function G(w,L){if(1&w&&(t.ynx(0),t.TgZ(1,"nz-form-label",4),t._uU(2),t.qZA(),t.BQk()),2&w){const Y=t.oxw();t.xp6(1),t.Q6J("nzRequired",Y.props.required&&!0!==Y.props.hideRequiredMarker)("nzFor",Y.id),t.xp6(1),t.hij(" ",Y.props.label," ")}}function U(w,L){if(1&w&&t._UZ(0,"formly-validation-message",5),2&w){const Y=t.oxw();t.Q6J("field",Y.field)}}let P=(()=>{class w extends v.n2{get errorState(){return this.showError?"error":""}}return w.\u0275fac=function(){let L;return function(M){return(L||(L=t.n5z(w)))(M||w)}}(),w.\u0275cmp=t.Xpm({type:w,selectors:[["formly-wrapper-nz-form-field"]],features:[t.qOj],decls:7,vars:3,consts:[[4,"ngIf"],[3,"nzValidateStatus","nzErrorTip"],["fieldComponent",""],["errorTpl",""],[3,"nzRequired","nzFor"],[3,"field"]],template:function(Y,M){if(1&Y&&(t.TgZ(0,"nz-form-item"),t.YNc(1,G,3,3,"ng-container",0),t.TgZ(2,"nz-form-control",1),t.GkF(3,null,2),t.YNc(5,U,1,1,"ng-template",null,3,t.W1O),t.qZA()()),2&Y){const e=t.MAs(6);t.xp6(1),t.Q6J("ngIf",M.props.label&&!0!==M.props.hideLabel),t.xp6(1),t.Q6J("nzValidateStatus",M.errorState)("nzErrorTip",e)}},dependencies:[s.Nx,s.iK,s.Fd,v.M2,k.SK,i.O5,k.t3],encapsulation:2}),w})(),S=(()=>{class w{}return w.\u0275fac=function(Y){return new(Y||w)},w.\u0275mod=t.oAB({type:w}),w.\u0275inj=t.cJS({imports:[[i.ez,d.UX,s.U5,v.X0.forChild({wrappers:[{name:"form-field",component:P}]})]]}),w})()},19:(xt,Se,a)=>{a.d(Se,{u:()=>ve});var t=a(5879),i=a(7248),v=a(6814),d=a(5545),s=a(6223),k=a(824),G=a(8373);function U(Q,ae){if(1&Q&&t._UZ(0,"input",2),2&Q){const fe=t.oxw();t.Q6J("formControl",fe.formControl)("type",fe.props.type||"text")("formlyAttributes",fe.field)}}function P(Q,ae){if(1&Q&&t._UZ(0,"nz-input-number",3),2&Q){const fe=t.oxw();t.Q6J("formControl",fe.formControl)("formlyAttributes",fe.field)}}let S=(()=>{class Q extends d.fS{}return Q.\u0275fac=function(){let ae;return function(be){return(ae||(ae=t.n5z(Q)))(be||Q)}}(),Q.\u0275cmp=t.Xpm({type:Q,selectors:[["formly-field-nz-input"]],features:[t.qOj],decls:3,vars:2,consts:[["nz-input","",3,"formControl","type","formlyAttributes",4,"ngIf","ngIfElse"],["numberTmp",""],["nz-input","",3,"formControl","type","formlyAttributes"],[3,"formControl","formlyAttributes"]],template:function(fe,be){if(1&fe&&(t.YNc(0,U,1,3,"input",0),t.YNc(1,P,1,2,"ng-template",null,1,t.W1O)),2&fe){const Ft=t.MAs(2);t.Q6J("ngIf","number"!==be.props.type)("ngIfElse",Ft)}},dependencies:[G._V,v.O5,k.Zp,s.Fj,s.JJ,s.oH,d.JD],encapsulation:2,changeDetection:0}),Q})(),w=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[[v.ez,s.UX,k.o7,G.Zf,i.F,d.X0.forChild({types:[{name:"input",component:S,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{props:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{props:{type:"number"}}}]})]]}),Q})(),L=(()=>{class Q extends d.fS{}return Q.\u0275fac=function(){let ae;return function(be){return(ae||(ae=t.n5z(Q)))(be||Q)}}(),Q.\u0275cmp=t.Xpm({type:Q,selectors:[["formly-field-nz-textarea"]],features:[t.qOj],decls:1,vars:2,consts:[["nz-input","",3,"formControl","formlyAttributes"]],template:function(fe,be){1&fe&&t._UZ(0,"textarea",0),2&fe&&t.Q6J("formControl",be.formControl)("formlyAttributes",be.field)},dependencies:[k.Zp,s.Fj,s.JJ,s.oH,d.JD],encapsulation:2,changeDetection:0}),Q})(),Y=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[[v.ez,s.UX,k.o7,i.F,d.X0.forChild({types:[{name:"textarea",component:L,wrappers:["form-field"]}]})]]}),Q})();var M=a(9083),e=a(7907);function F(Q,ae){if(1&Q&&(t.TgZ(0,"label",2),t._uU(1),t.qZA()),2&Q){const fe=ae.$implicit;t.Q6J("nzValue",fe.value)("nzDisabled",fe.disabled),t.xp6(1),t.hij(" ",fe.label," ")}}let R=(()=>{class Q extends d.fS{}return Q.\u0275fac=function(){let ae;return function(be){return(ae||(ae=t.n5z(Q)))(be||Q)}}(),Q.\u0275cmp=t.Xpm({type:Q,selectors:[["formly-field-nz-radio"]],features:[t.qOj],decls:4,vars:7,consts:[[3,"formControl","ngModelChange"],["nz-radio","",3,"nzValue","nzDisabled",4,"ngFor","ngForOf"],["nz-radio","",3,"nzValue","nzDisabled"]],template:function(fe,be){1&fe&&(t.TgZ(0,"nz-radio-group",0),t.NdJ("ngModelChange",function(Dt){return be.props.change&&be.props.change(be.field,Dt)}),t.YNc(1,F,2,3,"label",1),t.ALo(2,"async"),t.ALo(3,"formlySelectOptions"),t.qZA()),2&fe&&(t.Q6J("formControl",be.formControl),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,2,t.xi3(3,4,be.props.options,be.field))))},dependencies:[e.Dg,e.Of,s.JJ,s.oH,v.sg,v.Ov,M.W],encapsulation:2,changeDetection:0}),Q})(),ge=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[[v.ez,s.UX,e.aF,i.F,M.F,d.X0.forChild({types:[{name:"radio",component:R,wrappers:["form-field"]}]})]]}),Q})();var ze=a(2612);let K=(()=>{class Q extends d.fS{constructor(){super(...arguments),this.defaultOptions={props:{indeterminate:!0,hideLabel:!0}}}}return Q.\u0275fac=function(){let ae;return function(be){return(ae||(ae=t.n5z(Q)))(be||Q)}}(),Q.\u0275cmp=t.Xpm({type:Q,selectors:[["formly-field-nz-checkbox"]],features:[t.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(fe,be){1&fe&&(t.TgZ(0,"label",0),t.NdJ("ngModelChange",function(Dt){return be.props.change&&be.props.change(be.field,Dt)}),t._uU(1),t.qZA()),2&fe&&(t.Q6J("nzIndeterminate",be.props.indeterminate&&null==be.formControl.value)("formControl",be.formControl)("formlyAttributes",be.field),t.xp6(1),t.hij(" ",be.props.label," "))},dependencies:[ze.Ie,s.JJ,s.oH,d.JD],encapsulation:2,changeDetection:0}),Q})(),N=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[[v.ez,s.UX,ze.Wr,i.F,d.X0.forChild({types:[{name:"checkbox",component:K,wrappers:["form-field"]},{name:"boolean",extends:"checkbox"}]})]]}),Q})();var V=a(9691);function O(Q,ae){if(1&Q&&t._UZ(0,"nz-option",6),2&Q){const fe=ae.$implicit;t.Q6J("nzValue",fe.value)("nzDisabled",fe.disabled)("nzLabel",fe.label)}}function A(Q,ae){if(1&Q&&(t.TgZ(0,"nz-option-group",4),t.YNc(1,O,1,3,"nz-option",5),t.qZA()),2&Q){const fe=t.oxw().$implicit;t.Q6J("nzLabel",fe.label),t.xp6(1),t.Q6J("ngForOf",fe.group)}}function x(Q,ae){if(1&Q&&t._UZ(0,"nz-option",6),2&Q){const fe=t.oxw().$implicit;t.Q6J("nzValue",fe.value)("nzDisabled",fe.disabled)("nzLabel",fe.label)}}function pe(Q,ae){if(1&Q&&(t.ynx(0),t.YNc(1,A,2,2,"nz-option-group",2),t.YNc(2,x,1,3,"nz-option",3),t.BQk()),2&Q){const fe=ae.$implicit;t.xp6(1),t.Q6J("ngIf",fe.group),t.xp6(1),t.Q6J("ngIf",!fe.group)}}let de=(()=>{class Q extends d.fS{}return Q.\u0275fac=function(){let ae;return function(be){return(ae||(ae=t.n5z(Q)))(be||Q)}}(),Q.\u0275cmp=t.Xpm({type:Q,selectors:[["formly-field-nz-select"]],features:[t.qOj],decls:4,vars:12,consts:[[3,"nzPlaceHolder","formControl","formlyAttributes","nzMode","ngModelChange"],[4,"ngFor","ngForOf"],[3,"nzLabel",4,"ngIf"],[3,"nzValue","nzDisabled","nzLabel",4,"ngIf"],[3,"nzLabel"],[3,"nzValue","nzDisabled","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzDisabled","nzLabel"]],template:function(fe,be){1&fe&&(t.TgZ(0,"nz-select",0),t.NdJ("ngModelChange",function(Dt){return be.props.change&&be.props.change(be.field,Dt)}),t.YNc(1,pe,3,2,"ng-container",1),t.ALo(2,"async"),t.ALo(3,"formlySelectOptions"),t.qZA()),2&fe&&(t.ekj("ng-dirty",be.showError),t.Q6J("nzPlaceHolder",be.props.placeholder)("formControl",be.formControl)("formlyAttributes",be.field)("nzMode",be.props.multiple?"multiple":"default"),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,7,t.xi3(3,9,be.props.options,be.field))))},dependencies:[V.Vq,V.Yy,V.Ip,s.JJ,s.oH,d.JD,v.sg,v.O5,v.Ov,M.W],encapsulation:2,changeDetection:0}),Q})(),W=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[[v.ez,s.UX,V.LV,i.F,M.F,d.X0.forChild({types:[{name:"select",component:de,wrappers:["form-field"]},{name:"enum",extends:"select"}]})]]}),Q})(),ve=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=t.oAB({type:Q}),Q.\u0275inj=t.cJS({imports:[[i.F,w,Y,ge,N,W]]}),Q})()},1823:(xt,Se,a)=>{a.d(Se,{B:()=>s});const t=()=>Object.create(null),{forEach:i,slice:v}=Array.prototype,{hasOwnProperty:d}=Object.prototype;class s{constructor(U=!0,P=t){this.weakness=U,this.makeData=P}lookup(...U){return this.lookupArray(U)}lookupArray(U){let P=this;return i.call(U,S=>P=P.getChildTrie(S)),d.call(P,"data")?P.data:P.data=this.makeData(v.call(U))}peek(...U){return this.peekArray(U)}peekArray(U){let P=this;for(let S=0,w=U.length;P&&S{a.d(Se,{BV:()=>nr,zu:()=>Kn,_M:()=>ni,VG:()=>bi,mm:()=>yr,AE:()=>Si,Ps:()=>jn});var t=a(7691),i=a(5879),v=a(5592),d=a(1954),k=a(2631);const U=new class G extends k.v{}(class s extends d.o{constructor(re,Oe){super(re,Oe),this.scheduler=re,this.work=Oe}schedule(re,Oe=0){return Oe>0?super.schedule(re,Oe):(this.delay=Oe,this.state=re,this.scheduler.flush(this),this)}execute(re,Oe){return Oe>0||this.closed?super.execute(re,Oe):this._execute(re,Oe)}requestAsyncId(re,Oe,Qe=0){return null!=Qe&&Qe>0||null==Qe&&this.delay>0?super.requestAsyncId(re,Oe,Qe):(re.flush(this),0)}});var S=a(4850),w=a(9666),L=(()=>((L=L||{})[L.loading=1]="loading",L[L.setVariables=2]="setVariables",L[L.fetchMore=3]="fetchMore",L[L.refetch=4]="refetch",L[L.poll=6]="poll",L[L.ready=7]="ready",L[L.error=8]="error",L))();function Y(Ue){return!!Ue&&Ue<7}var M=a(655),e=a(3555),F=a(8632),R=F.i.execute,ze=a(8016),K=a(2954),N=a(7619),V=function(Ue,re){var Oe;try{Oe=JSON.stringify(Ue)}catch(zt){var Qe=__DEV__?new e.ej("Network request failed. ".concat(re," is not serializable: ").concat(zt.message)):new e.ej(24);throw Qe.parseError=zt,Qe}return Oe},A=a(2794);function Ft(Ue){var re={next:function(){return Ue.read()}};return A.DN&&(re[Symbol.asyncIterator]=function(){return this}),re}function Dt(Ue){var re=Ue;if(function x(Ue){return!!Ue.body}(Ue)&&(re=Ue.body),function de(Ue){return!(!A.DN||!Ue[Symbol.asyncIterator])}(re))return function ae(Ue){var re,Oe=Ue[Symbol.asyncIterator]();return(re={next:function(){return Oe.next()}})[Symbol.asyncIterator]=function(){return this},re}(re);if(function pe(Ue){return!!Ue.getReader}(re))return Ft(re.getReader());if(function W(Ue){return!!Ue.stream}(re))return Ft(re.stream().getReader());if(function ve(Ue){return!!Ue.arrayBuffer}(re))return function be(Ue){var re=!1,Oe={next:function(){return re?Promise.resolve({value:void 0,done:!0}):(re=!0,new Promise(function(Qe,zt){Ue.then(function(kt){Qe({value:kt,done:!1})}).catch(zt)}))}};return A.DN&&(Oe[Symbol.asyncIterator]=function(){return this}),Oe}(re.arrayBuffer());if(function Q(Ue){return!!Ue.pipe}(re))return function fe(Ue){var re=null,Oe=null,Qe=!1,zt=[],kt=[];function en(Mn){if(!Oe){if(kt.length){var dn=kt.shift();if(Array.isArray(dn)&&dn[0])return dn[0]({value:Mn,done:!1})}zt.push(Mn)}}function hn(Mn){Oe=Mn,kt.slice().forEach(function(En){En[1](Mn)}),!re||re()}function Jt(){Qe=!0,kt.slice().forEach(function(dn){dn[0]({value:void 0,done:!0})}),!re||re()}re=function(){re=null,Ue.removeListener("data",en),Ue.removeListener("error",hn),Ue.removeListener("end",Jt),Ue.removeListener("finish",Jt),Ue.removeListener("close",Jt)},Ue.on("data",en),Ue.on("error",hn),Ue.on("end",Jt),Ue.on("finish",Jt),Ue.on("close",Jt);var Rn={next:function(){return function yn(){return new Promise(function(Mn,dn){return Oe?dn(Oe):zt.length?Mn({value:zt.shift(),done:!1}):Qe?Mn({value:void 0,done:!0}):void kt.push([Mn,dn])})}()}};return A.DN&&(Rn[Symbol.asyncIterator]=function(){return this}),Rn}(re);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var nn=function(Ue,re,Oe){var Qe=new Error(Oe);throw Qe.name="ServerError",Qe.response=Ue,Qe.statusCode=Ue.status,Qe.result=re,Qe},Et=a(1352),Ht=Symbol(),Xe=function(Ue){function re(Oe){var Qe=Oe.graphQLErrors,zt=Oe.protocolErrors,kt=Oe.clientErrors,en=Oe.networkError,hn=Oe.errorMessage,Jt=Oe.extraInfo,yn=Ue.call(this,hn)||this;return yn.name="ApolloError",yn.graphQLErrors=Qe||[],yn.protocolErrors=zt||[],yn.clientErrors=kt||[],yn.networkError=en||null,yn.message=hn||function(Ue){var re=(0,M.ev)((0,M.ev)((0,M.ev)([],Ue.graphQLErrors,!0),Ue.clientErrors,!0),Ue.protocolErrors,!0);return Ue.networkError&&re.push(Ue.networkError),re.map(function(Oe){return(0,Et.s)(Oe)&&Oe.message||"Error message not found."}).join("\n")}(yn),yn.extraInfo=Jt,yn.__proto__=re.prototype,yn}return(0,M.ZT)(re,Ue),re}(Error),Re=a(6001),Ct=a(6630);function je(Ue){return"incremental"in Ue}function vn(Ue){return(0,Et.s)(Ue)&&"payload"in Ue}function Dn(Ue,re){var Oe=Ue,Qe=new Ct.w0;return je(re)&&(0,Re.O)(re.incremental)&&re.incremental.forEach(function(zt){for(var kt=zt.data,en=zt.path,hn=en.length-1;hn>=0;--hn){var Jt=en[hn],Rn=isNaN(+Jt)?{}:[];Rn[Jt]=kt,kt=Rn}Oe=Qe.merge(Oe,kt)}),Oe}var Wt=Object.prototype.hasOwnProperty;function $e(Ue){var re={};return Ue.split("\n").forEach(function(Oe){var Qe=Oe.indexOf(":");if(Qe>-1){var zt=Oe.slice(0,Qe).trim().toLowerCase(),kt=Oe.slice(Qe+1).trim();re[zt]=kt}}),re}function Ve(Ue,re){Ue.status>=300&&nn(Ue,function(){try{return JSON.parse(re)}catch{return re}}(),"Response not successful: Received status code ".concat(Ue.status));try{return JSON.parse(re)}catch(zt){var Qe=zt;throw Qe.name="ServerParseError",Qe.response=Ue,Qe.statusCode=Ue.status,Qe.bodyText=re,Qe}}function Pe(Ue,re){var Oe,Qe;"AbortError"!==Ue.name&&(Ue.result&&Ue.result.errors&&Ue.result.data&&(null===(Oe=re.next)||void 0===Oe||Oe.call(re,Ue.result)),null===(Qe=re.error)||void 0===Qe||Qe.call(re,Ue))}var te=a(86),vt={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},rn=function(Ue,re){return re(Ue)};function Ot(Ue){return new N.y(function(re){re.error(Ue)})}var Lt=a(8725),Gt=(0,e.wY)(function(){return fetch}),Ke=function(Ue){void 0===Ue&&(Ue={});var re=Ue.uri,Oe=void 0===re?"/graphql":re,Qe=Ue.fetch,zt=Ue.print,kt=void 0===zt?rn:zt,en=Ue.includeExtensions,hn=Ue.preserveHeaderCase,Jt=Ue.useGETForQueries,yn=Ue.includeUnusedVariables,Rn=void 0!==yn&&yn,Mn=(0,M._T)(Ue,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(Ue){if(!Ue&&typeof fetch>"u")throw __DEV__?new e.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new e.ej(23)}(Qe||Gt);var dn={http:{includeExtensions:en,preserveHeaderCase:hn},options:Mn.fetchOptions,credentials:Mn.credentials,headers:Mn.headers};return new F.i(function(En){var Gn=function(Ue,re){return Ue.getContext().uri||("function"==typeof re?re(Ue):re||"/graphql")}(En,Oe),Fn=En.getContext(),Bn={};if(Fn.clientAwareness){var Ln=Fn.clientAwareness,ho=Ln.name,eo=Ln.version;ho&&(Bn["apollographql-client-name"]=ho),eo&&(Bn["apollographql-client-version"]=eo)}var Co,co=(0,M.pi)((0,M.pi)({},Bn),Fn.headers),Jn=function st(Ue,re){for(var Oe=[],Qe=2;Qe"u")return{controller:!1,signal:!1};var Ue=new AbortController;return{controller:Ue,signal:Ue.signal}}();(Co=di.controller)&&(So.signal=di.signal)}var Le,ai="OperationDefinition"===(Le=(0,Lt.p$)(En.query)).kind&&"subscription"===Le.operation,mi=(0,K.FS)(["defer"],En.query);if(Jt&&!En.query.definitions.some(function(Le){return"OperationDefinition"===Le.kind&&"mutation"===Le.operation})&&(So.method="GET"),mi||ai){So.headers=So.headers||{};var Ji="multipart/mixed;";ai&&mi&&__DEV__&&e.kG.warn("Multipart-subscriptions do not support @defer"),ai?Ji+="boundary=graphql;subscriptionSpec=1.0,application/json":mi&&(Ji+="deferSpec=20220824,application/json"),So.headers.accept=Ji}if("GET"===So.method){var Fi=function wt(Ue,re){var Oe=[],Qe=function(Mn,dn){Oe.push("".concat(Mn,"=").concat(encodeURIComponent(dn)))};if("query"in re&&Qe("query",re.query),re.operationName&&Qe("operationName",re.operationName),re.variables){var zt=void 0;try{zt=V(re.variables,"Variables map")}catch(Mn){return{parseError:Mn}}Qe("variables",zt)}if(re.extensions){var kt=void 0;try{kt=V(re.extensions,"Extensions map")}catch(Mn){return{parseError:Mn}}Qe("extensions",kt)}var en="",hn=Ue,Jt=Ue.indexOf("#");-1!==Jt&&(en=Ue.substr(Jt),hn=Ue.substr(0,Jt));var yn=-1===hn.indexOf("?")?"?":"&";return{newURI:hn+yn+Oe.join("&")+en}}(Gn,Ao),Yi=Fi.newURI,pi=Fi.parseError;if(pi)return Ot(pi);Gn=Yi}else try{So.body=V(Ao,"Payload")}catch(Le){return Ot(Le)}return new N.y(function(Le){return(Qe||(0,e.wY)(function(){return fetch})||Gt)(Gn,So).then(function(Z){var ke;En.setContext({response:Z});var $t=null===(ke=Z.headers)||void 0===ke?void 0:ke.get("content-type");return null!==$t&&/^multipart\/mixed/i.test($t)?function It(Ue,re){var Oe,Qe,zt,kt,en;return(0,M.mG)(this,void 0,void 0,function(){var hn,Jt,yn,Rn,Mn,dn,En,Gn,Fn,Bn,Ln,ho,eo,co,Oo,Jn,So,Ao,Go,Co,di,vi,Io;return(0,M.Jh)(this,function(Fo){switch(Fo.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");hn=new TextDecoder("utf-8"),Jt=null===(Oe=Ue.headers)||void 0===Oe?void 0:Oe.get("content-type"),yn="boundary=",Rn=Jt?.includes(yn)?Jt?.substring(Jt?.indexOf(yn)+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",Mn="\r\n--".concat(Rn),dn="",En=Dt(Ue),Gn=!0,Fo.label=1;case 1:return Gn?[4,En.next()]:[3,3];case 2:for(Fn=Fo.sent(),Ln=Fn.done,ho="string"==typeof(Bn=Fn.value)?Bn:hn.decode(Bn),eo=dn.length-Mn.length+1,Gn=!Ln,co=(dn+=ho).indexOf(Mn,eo);co>-1;){if(Oo=void 0,vi=[dn.slice(0,co),dn.slice(co+Mn.length)],dn=vi[1],Jn=(Oo=vi[0]).indexOf("\r\n\r\n"),So=$e(Oo.slice(0,Jn)),(Ao=So["content-type"])&&-1===Ao.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(Go=Oo.slice(Jn))try{Co=Ve(Ue,Go),Object.keys(Co).length>1||"data"in Co||"incremental"in Co||"errors"in Co||"payload"in Co?vn(Co)?(di={},"payload"in Co&&(di=(0,M.pi)({},Co.payload)),"errors"in Co&&(di=(0,M.pi)((0,M.pi)({},di),{extensions:(0,M.pi)((0,M.pi)({},"extensions"in di?di.extensions:null),(Io={},Io[Ht]=Co.errors,Io))})),null===(Qe=re.next)||void 0===Qe||Qe.call(re,di)):null===(zt=re.next)||void 0===zt||zt.call(re,Co):1===Object.keys(Co).length&&"hasNext"in Co&&!Co.hasNext&&(null===(kt=re.complete)||void 0===kt||kt.call(re))}catch(Hi){Pe(Hi,re)}co=dn.indexOf(Mn)}return[3,1];case 3:return null===(en=re.complete)||void 0===en||en.call(re),[2]}})})}(Z,Le):function We(Ue,re,Oe){(function He(Ue){return function(re){return re.text().then(function(Oe){return Ve(re,Oe)}).then(function(Oe){return re.status>=300&&nn(re,Oe,"Response not successful: Received status code ".concat(re.status)),!Array.isArray(Oe)&&!Wt.call(Oe,"data")&&!Wt.call(Oe,"errors")&&nn(re,Oe,"Server response was missing for query '".concat(Array.isArray(Ue)?Ue.map(function(Qe){return Qe.operationName}):Ue.operationName,"'.")),Oe})}})(re)(Ue).then(function(Qe){var zt,kt;null===(zt=Oe.next)||void 0===zt||zt.call(Oe,Qe),null===(kt=Oe.complete)||void 0===kt||kt.call(Oe)}).catch(function(Qe){return Pe(Qe,Oe)})}(Z,En,Le)}).catch(function(Z){return Pe(Z,Le)}),function(){Co&&Co.abort()}})})},J=function(Ue){function re(Oe){void 0===Oe&&(Oe={});var Qe=Ue.call(this,Ke(Oe).request)||this;return Qe.options=Oe,Qe}return(0,M.ZT)(re,Ue),re}(F.i),I=a(692),q=a(1789);function Me(Ue,re,Oe){return new N.y(function(Qe){var zt=Qe.next,kt=Qe.error,en=Qe.complete,hn=0,Jt=!1,yn={then:function(En){return new Promise(function(Gn){return Gn(En())})}};function Rn(En,Gn){return En?function(Fn){++hn;var Bn=function(){return En(Fn)};yn=yn.then(Bn,Bn).then(function(Ln){--hn,zt&&zt.call(Qe,Ln),Jt&&Mn.complete()},function(Ln){throw--hn,Ln}).catch(function(Ln){kt&&kt.call(Qe,Ln)})}:function(Fn){return Gn&&Gn.call(Qe,Fn)}}var Mn={next:Rn(re,zt),error:Rn(Oe,kt),complete:function(){Jt=!0,hn||en&&en.call(Qe)}},dn=Ue.subscribe(Mn);return function(){return dn.unsubscribe()}})}function _t(Ue){var re=tt(Ue);return(0,Re.O)(re)}function tt(Ue){var re=(0,Re.O)(Ue.errors)?Ue.errors.slice(0):[];return je(Ue)&&(0,Re.O)(Ue.incremental)&&Ue.incremental.forEach(function(Oe){Oe.errors&&re.push.apply(re,Oe.errors)}),re}var Je=a(6140),rt=a(9173),Nt=a(6726);function Tt(Ue,re,Oe){var Qe=[];Ue.forEach(function(zt){return zt[re]&&Qe.push(zt)}),Qe.forEach(function(zt){return zt[re](Oe)})}function mn(Ue){function re(Oe){Object.defineProperty(Ue,Oe,{value:N.y})}return A.aS&&Symbol.species&&re(Symbol.species),re("@@species"),Ue}function Ze(Ue){return Ue&&"function"==typeof Ue.then}var ut=function(Ue){function re(Oe){var Qe=Ue.call(this,function(zt){return Qe.addObserver(zt),function(){return Qe.removeObserver(zt)}})||this;return Qe.observers=new Set,Qe.promise=new Promise(function(zt,kt){Qe.resolve=zt,Qe.reject=kt}),Qe.handlers={next:function(zt){null!==Qe.sub&&(Qe.latest=["next",zt],Qe.notify("next",zt),Tt(Qe.observers,"next",zt))},error:function(zt){var kt=Qe.sub;null!==kt&&(kt&&setTimeout(function(){return kt.unsubscribe()}),Qe.sub=null,Qe.latest=["error",zt],Qe.reject(zt),Qe.notify("error",zt),Tt(Qe.observers,"error",zt))},complete:function(){var kt=Qe.sub,en=Qe.sources;if(null!==kt){var Jt=(void 0===en?[]:en).shift();Jt?Ze(Jt)?Jt.then(function(yn){return Qe.sub=yn.subscribe(Qe.handlers)}):Qe.sub=Jt.subscribe(Qe.handlers):(kt&&setTimeout(function(){return kt.unsubscribe()}),Qe.sub=null,Qe.latest&&"next"===Qe.latest[0]?Qe.resolve(Qe.latest[1]):Qe.resolve(),Qe.notify("complete"),Tt(Qe.observers,"complete"))}}},Qe.nextResultListeners=new Set,Qe.cancel=function(zt){Qe.reject(zt),Qe.sources=[],Qe.handlers.complete()},Qe.promise.catch(function(zt){}),"function"==typeof Oe&&(Oe=[new N.y(Oe)]),Ze(Oe)?Oe.then(function(zt){return Qe.start(zt)},Qe.handlers.error):Qe.start(Oe),Qe}return(0,M.ZT)(re,Ue),re.prototype.start=function(Oe){void 0===this.sub&&(this.sources=Array.from(Oe),this.handlers.complete())},re.prototype.deliverLastMessage=function(Oe){if(this.latest){var Qe=this.latest[0],zt=Oe[Qe];zt&&zt.call(Oe,this.latest[1]),null===this.sub&&"next"===Qe&&Oe.complete&&Oe.complete()}},re.prototype.addObserver=function(Oe){this.observers.has(Oe)||(this.deliverLastMessage(Oe),this.observers.add(Oe))},re.prototype.removeObserver=function(Oe){this.observers.delete(Oe)&&this.observers.size<1&&this.handlers.complete()},re.prototype.notify=function(Oe,Qe){var zt=this.nextResultListeners;zt.size&&(this.nextResultListeners=new Set,zt.forEach(function(kt){return kt(Oe,Qe)}))},re.prototype.beforeNext=function(Oe){var Qe=!1;this.nextResultListeners.add(function(zt,kt){Qe||(Qe=!0,Oe(zt,kt))})},re}(N.y);mn(ut);var le=a(5078),ye=a(9990),mt=Object.assign,Ae=Object.hasOwnProperty,at=function(Ue){function re(Oe){var Qe=Oe.queryManager,zt=Oe.queryInfo,kt=Oe.options,en=Ue.call(this,function(Bn){try{var Ln=Bn._subscription._observer;Ln&&!Ln.error&&(Ln.error=ln)}catch{}var ho=!en.observers.size;en.observers.add(Bn);var eo=en.last;return eo&&eo.error?Bn.error&&Bn.error(eo.error):eo&&eo.result&&Bn.next&&Bn.next(eo.result),ho&&en.reobserve().catch(function(){}),function(){en.observers.delete(Bn)&&!en.observers.size&&en.tearDownQuery()}})||this;en.observers=new Set,en.subscriptions=new Set,en.queryInfo=zt,en.queryManager=Qe,en.waitForOwnResult=dt(kt.fetchPolicy),en.isTornDown=!1;var hn=Qe.defaultOptions.watchQuery,yn=(void 0===hn?{}:hn).fetchPolicy,Rn=void 0===yn?"cache-first":yn,Mn=kt.fetchPolicy,dn=void 0===Mn?Rn:Mn,En=kt.initialFetchPolicy,Gn=void 0===En?"standby"===dn?Rn:dn:En;en.options=(0,M.pi)((0,M.pi)({},kt),{initialFetchPolicy:Gn,fetchPolicy:dn}),en.queryId=zt.queryId||Qe.generateQueryId();var Fn=(0,Lt.$H)(en.query);return en.queryName=Fn&&Fn.name&&Fn.name.value,en}return(0,M.ZT)(re,Ue),Object.defineProperty(re.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),re.prototype.result=function(){var Oe=this;return new Promise(function(Qe,zt){var kt={next:function(hn){Qe(hn),Oe.observers.delete(kt),Oe.observers.size||Oe.queryManager.removeQuery(Oe.queryId),setTimeout(function(){en.unsubscribe()},0)},error:zt},en=Oe.subscribe(kt)})},re.prototype.getCurrentResult=function(Oe){void 0===Oe&&(Oe=!0);var Qe=this.getLastResult(!0),zt=this.queryInfo.networkStatus||Qe&&Qe.networkStatus||L.ready,kt=(0,M.pi)((0,M.pi)({},Qe),{loading:Y(zt),networkStatus:zt}),en=this.options.fetchPolicy,hn=void 0===en?"cache-first":en;if(!dt(hn)&&!this.queryManager.transform(this.options.query).hasForcedResolvers)if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var Jt=this.queryInfo.getDiff();(Jt.complete||this.options.returnPartialData)&&(kt.data=Jt.result),(0,I.D)(kt.data,{})&&(kt.data=void 0),Jt.complete?(delete kt.partial,Jt.complete&&kt.networkStatus===L.loading&&("cache-first"===hn||"cache-only"===hn)&&(kt.networkStatus=L.ready,kt.loading=!1)):kt.partial=!0,__DEV__&&!Jt.complete&&!this.options.partialRefetch&&!kt.loading&&!kt.data&&!kt.error&&At(Jt.missing)}return Oe&&this.updateLastResult(kt),kt},re.prototype.isDifferentFromLastResult=function(Oe,Qe){return!this.last||!(0,I.D)(this.last.result,Oe)||Qe&&!(0,I.D)(this.last.variables,Qe)},re.prototype.getLast=function(Oe,Qe){var zt=this.last;if(zt&&zt[Oe]&&(!Qe||(0,I.D)(zt.variables,this.variables)))return zt[Oe]},re.prototype.getLastResult=function(Oe){return this.getLast("result",Oe)},re.prototype.getLastError=function(Oe){return this.getLast("error",Oe)},re.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},re.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},re.prototype.refetch=function(Oe){var Qe,zt={pollInterval:0},kt=this.options.fetchPolicy;if(zt.fetchPolicy="cache-and-network"===kt?kt:"no-cache"===kt?"no-cache":"network-only",__DEV__&&Oe&&Ae.call(Oe,"variables")){var en=(0,Lt.iW)(this.query),hn=en.variableDefinitions;(!hn||!hn.some(function(Jt){return"variables"===Jt.variable.name.value}))&&__DEV__&&e.kG.warn("Called refetch(".concat(JSON.stringify(Oe),") for query ").concat((null===(Qe=en.name)||void 0===Qe?void 0:Qe.value)||JSON.stringify(en),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return Oe&&!(0,I.D)(this.options.variables,Oe)&&(zt.variables=this.options.variables=(0,M.pi)((0,M.pi)({},this.options.variables),Oe)),this.queryInfo.resetLastWrite(),this.reobserve(zt,L.refetch)},re.prototype.fetchMore=function(Oe){var Qe=this,zt=(0,M.pi)((0,M.pi)({},Oe.query?Oe:(0,M.pi)((0,M.pi)((0,M.pi)((0,M.pi)({},this.options),{query:this.query}),Oe),{variables:(0,M.pi)((0,M.pi)({},this.options.variables),Oe.variables)})),{fetchPolicy:"no-cache"}),kt=this.queryManager.generateQueryId(),en=this.queryInfo,hn=en.networkStatus;en.networkStatus=L.fetchMore,zt.notifyOnNetworkStatusChange&&this.observe();var Jt=new Set;return this.queryManager.fetchQuery(kt,zt,L.fetchMore).then(function(yn){return Qe.queryManager.removeQuery(kt),en.networkStatus===L.fetchMore&&(en.networkStatus=hn),Qe.queryManager.cache.batch({update:function(Rn){var Mn=Oe.updateQuery;Mn?Rn.updateQuery({query:Qe.query,variables:Qe.variables,returnPartialData:!0,optimistic:!1},function(dn){return Mn(dn,{fetchMoreResult:yn.data,variables:zt.variables})}):Rn.writeQuery({query:zt.query,variables:zt.variables,data:yn.data})},onWatchUpdated:function(Rn){Jt.add(Rn.query)}}),yn}).finally(function(){Jt.has(Qe.query)||Bt(Qe)})},re.prototype.subscribeToMore=function(Oe){var Qe=this,zt=this.queryManager.startGraphQLSubscription({query:Oe.document,variables:Oe.variables,context:Oe.context}).subscribe({next:function(kt){var en=Oe.updateQuery;en&&Qe.updateQuery(function(hn,Jt){return en(hn,{subscriptionData:kt,variables:Jt.variables})})},error:function(kt){Oe.onError?Oe.onError(kt):__DEV__&&e.kG.error("Unhandled GraphQL subscription error",kt)}});return this.subscriptions.add(zt),function(){Qe.subscriptions.delete(zt)&&zt.unsubscribe()}},re.prototype.setOptions=function(Oe){return this.reobserve(Oe)},re.prototype.setVariables=function(Oe){return(0,I.D)(this.variables,Oe)?this.observers.size?this.result():Promise.resolve():(this.options.variables=Oe,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:Oe},L.setVariables):Promise.resolve())},re.prototype.updateQuery=function(Oe){var Qe=this.queryManager,kt=Oe(Qe.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});kt&&(Qe.cache.writeQuery({query:this.options.query,data:kt,variables:this.variables}),Qe.broadcastQueries())},re.prototype.startPolling=function(Oe){this.options.pollInterval=Oe,this.updatePolling()},re.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},re.prototype.applyNextFetchPolicy=function(Oe,Qe){if(Qe.nextFetchPolicy){var zt=Qe.fetchPolicy,kt=void 0===zt?"cache-first":zt,en=Qe.initialFetchPolicy,hn=void 0===en?kt:en;"standby"===kt||(Qe.fetchPolicy="function"==typeof Qe.nextFetchPolicy?Qe.nextFetchPolicy(kt,{reason:Oe,options:Qe,observable:this,initialFetchPolicy:hn}):"variables-changed"===Oe?hn:Qe.nextFetchPolicy)}return Qe.fetchPolicy},re.prototype.fetch=function(Oe,Qe){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,Oe,Qe)},re.prototype.updatePolling=function(){var Oe=this;if(!this.queryManager.ssrMode){var zt=this.pollingInfo,kt=this.options.pollInterval;if(!kt)return void(zt&&(clearTimeout(zt.timeout),delete this.pollingInfo));if(!zt||zt.interval!==kt){__DEV__?(0,e.kG)(kt,"Attempted to start a polling query without a polling interval."):(0,e.kG)(kt,13),(zt||(this.pollingInfo={})).interval=kt;var hn=function(){Oe.pollingInfo&&(Y(Oe.queryInfo.networkStatus)?Jt():Oe.reobserve({fetchPolicy:"no-cache"===Oe.options.initialFetchPolicy?"no-cache":"network-only"},L.poll).then(Jt,Jt))},Jt=function(){var yn=Oe.pollingInfo;yn&&(clearTimeout(yn.timeout),yn.timeout=setTimeout(hn,yn.interval))};Jt()}}},re.prototype.updateLastResult=function(Oe,Qe){return void 0===Qe&&(Qe=this.variables),this.last=(0,M.pi)((0,M.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?Oe:(0,le.X)(Oe),variables:Qe}),(0,Re.O)(Oe.errors)||delete this.last.error,this.last},re.prototype.reobserveAsConcast=function(Oe,Qe){var zt=this;this.isTornDown=!1;var kt=Qe===L.refetch||Qe===L.fetchMore||Qe===L.poll,en=this.options.variables,hn=this.options.fetchPolicy,Jt=(0,ye.o)(this.options,Oe||{}),yn=kt?Jt:mt(this.options,Jt);kt||(this.updatePolling(),Oe&&Oe.variables&&!(0,I.D)(Oe.variables,en)&&"standby"!==yn.fetchPolicy&&yn.fetchPolicy===hn&&(this.applyNextFetchPolicy("variables-changed",yn),void 0===Qe&&(Qe=L.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=dt(yn.fetchPolicy));var Rn=function(){zt.concast===En&&(zt.waitForOwnResult=!1)},Mn=yn.variables&&(0,M.pi)({},yn.variables),dn=this.fetch(yn,Qe),En=dn.concast,Fn={next:function(Bn){Rn(),zt.reportResult(Bn,Mn)},error:function(Bn){Rn(),zt.reportError(Bn,Mn)}};return!kt&&dn.fromLink&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=En,this.observer=Fn),En.addObserver(Fn),En},re.prototype.reobserve=function(Oe,Qe){return this.reobserveAsConcast(Oe,Qe).promise},re.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},re.prototype.reportResult=function(Oe,Qe){var zt=this.getLastError();(zt||this.isDifferentFromLastResult(Oe,Qe))&&((zt||!Oe.partial||this.options.returnPartialData)&&this.updateLastResult(Oe,Qe),Tt(this.observers,"next",Oe))},re.prototype.reportError=function(Oe,Qe){var zt=(0,M.pi)((0,M.pi)({},this.getLastResult()),{error:Oe,errors:Oe.graphQLErrors,networkStatus:L.error,loading:!1});this.updateLastResult(zt,Qe),Tt(this.observers,"error",this.last.error=Oe)},re.prototype.hasObservers=function(){return this.observers.size>0},re.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(Oe){return Oe.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},re}(N.y);function Bt(Ue){var re=Ue.options,Oe=re.fetchPolicy,Qe=re.nextFetchPolicy;return"cache-and-network"===Oe||"network-only"===Oe?Ue.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=Qe,"function"==typeof Qe?Qe.apply(this,arguments):Oe}}):Ue.reobserve()}function ln(Ue){__DEV__&&e.kG.error("Unhandled error",Ue.message,Ue.stack)}function At(Ue){__DEV__&&Ue&&__DEV__&&e.kG.debug("Missing cache result fields: ".concat(JSON.stringify(Ue)),Ue)}function dt(Ue){return"network-only"===Ue||"no-cache"===Ue||"standby"===Ue}mn(at);var ft=a(5560);function Te(Ue){return Ue.kind===ft.h.FIELD||Ue.kind===ft.h.FRAGMENT_SPREAD||Ue.kind===ft.h.INLINE_FRAGMENT}var bo=a(7095),To=a(3088),$o=function(){function Ue(re){var Oe=re.cache,Qe=re.client,zt=re.resolvers,kt=re.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=Oe,Qe&&(this.client=Qe),zt&&this.addResolvers(zt),kt&&this.setFragmentMatcher(kt)}return Ue.prototype.addResolvers=function(re){var Oe=this;this.resolvers=this.resolvers||{},Array.isArray(re)?re.forEach(function(Qe){Oe.resolvers=(0,Ct.Ee)(Oe.resolvers,Qe)}):this.resolvers=(0,Ct.Ee)(this.resolvers,re)},Ue.prototype.setResolvers=function(re){this.resolvers={},this.addResolvers(re)},Ue.prototype.getResolvers=function(){return this.resolvers||{}},Ue.prototype.runResolvers=function(re){var Oe=re.document,Qe=re.remoteResult,zt=re.context,kt=re.variables,en=re.onlyRunForcedResolvers,hn=void 0!==en&&en;return(0,M.mG)(this,void 0,void 0,function(){return(0,M.Jh)(this,function(Jt){return Oe?[2,this.resolveDocument(Oe,Qe.data,zt,kt,this.fragmentMatcher,hn).then(function(yn){return(0,M.pi)((0,M.pi)({},Qe),{data:yn.result})})]:[2,Qe]})})},Ue.prototype.setFragmentMatcher=function(re){this.fragmentMatcher=re},Ue.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},Ue.prototype.clientQuery=function(re){return(0,K.FS)(["client"],re)&&this.resolvers?re:null},Ue.prototype.serverQuery=function(re){return(0,Je.ob)(re)},Ue.prototype.prepareContext=function(re){var Oe=this.cache;return(0,M.pi)((0,M.pi)({},re),{cache:Oe,getCacheKey:function(Qe){return Oe.identify(Qe)}})},Ue.prototype.addExportedVariables=function(re,Oe,Qe){return void 0===Oe&&(Oe={}),void 0===Qe&&(Qe={}),(0,M.mG)(this,void 0,void 0,function(){return(0,M.Jh)(this,function(zt){return re?[2,this.resolveDocument(re,this.buildRootValueFromCache(re,Oe)||{},this.prepareContext(Qe),Oe).then(function(kt){return(0,M.pi)((0,M.pi)({},Oe),kt.exportedVariables)})]:[2,(0,M.pi)({},Oe)]})})},Ue.prototype.shouldForceResolvers=function(re){var Oe=!1;return(0,ze.Vn)(re,{Directive:{enter:function(Qe){if("client"===Qe.name.value&&Qe.arguments&&(Oe=Qe.arguments.some(function(zt){return"always"===zt.name.value&&"BooleanValue"===zt.value.kind&&!0===zt.value.value})))return ze.$_}}}),Oe},Ue.prototype.buildRootValueFromCache=function(re,Oe){return this.cache.diff({query:(0,Je.aL)(re),variables:Oe,returnPartialData:!0,optimistic:!1}).result},Ue.prototype.resolveDocument=function(re,Oe,Qe,zt,kt,en){return void 0===Qe&&(Qe={}),void 0===zt&&(zt={}),void 0===kt&&(kt=function(){return!0}),void 0===en&&(en=!1),(0,M.mG)(this,void 0,void 0,function(){var hn,Jt,yn,Rn,Mn,dn,En,Gn,Fn,Bn;return(0,M.Jh)(this,function(ho){return hn=(0,Lt.p$)(re),Jt=(0,Lt.kU)(re),yn=(0,bo.F)(Jt),Rn=this.collectSelectionsToResolve(hn,yn),dn=(Mn=hn.operation)?Mn.charAt(0).toUpperCase()+Mn.slice(1):"Query",Gn=(En=this).cache,Fn=En.client,Bn={fragmentMap:yn,context:(0,M.pi)((0,M.pi)({},Qe),{cache:Gn,client:Fn}),variables:zt,fragmentMatcher:kt,defaultOperationType:dn,exportedVariables:{},selectionsToResolve:Rn,onlyRunForcedResolvers:en},[2,this.resolveSelectionSet(hn.selectionSet,!1,Oe,Bn).then(function(eo){return{result:eo,exportedVariables:Bn.exportedVariables}})]})})},Ue.prototype.resolveSelectionSet=function(re,Oe,Qe,zt){return(0,M.mG)(this,void 0,void 0,function(){var kt,en,hn,Jt,Rn=this;return(0,M.Jh)(this,function(Mn){return kt=zt.fragmentMap,en=zt.context,hn=zt.variables,Jt=[Qe],[2,Promise.all(re.selections.map(function(dn){return(0,M.mG)(Rn,void 0,void 0,function(){var En;return(0,M.Jh)(this,function(Fn){return(Oe||zt.selectionsToResolve.has(dn))&&(0,K.LZ)(dn,hn)?(0,rt.My)(dn)?[2,this.resolveField(dn,Oe,Qe,zt).then(function(Bn){var Ln;typeof Bn<"u"&&Jt.push(((Ln={})[(0,rt.u2)(dn)]=Bn,Ln))})]:((0,rt.Ao)(dn)?En=dn:(En=kt[dn.name.value],__DEV__?(0,e.kG)(En,"No fragment named ".concat(dn.name.value)):(0,e.kG)(En,11)),En&&En.typeCondition&&zt.fragmentMatcher(Qe,En.typeCondition.name.value,en)?[2,this.resolveSelectionSet(En.selectionSet,Oe,Qe,zt).then(function(Bn){Jt.push(Bn)})]:[2]):[2]})})})).then(function(){return(0,Ct.bw)(Jt)})]})})},Ue.prototype.resolveField=function(re,Oe,Qe,zt){return(0,M.mG)(this,void 0,void 0,function(){var kt,en,hn,Jt,yn,Rn,Mn,dn,En,Gn=this;return(0,M.Jh)(this,function(Fn){return Qe?(kt=zt.variables,en=re.name.value,hn=(0,rt.u2)(re),Jt=en!==hn,yn=Qe[hn]||Qe[en],Rn=Promise.resolve(yn),(!zt.onlyRunForcedResolvers||this.shouldForceResolvers(re))&&(Mn=Qe.__typename||zt.defaultOperationType,(dn=this.resolvers&&this.resolvers[Mn])&&(En=dn[Jt?en:hn])&&(Rn=Promise.resolve(To.ab.withValue(this.cache,En,[Qe,(0,rt.NC)(re,kt),zt.context,{field:re,fragmentMap:zt.fragmentMap}])))),[2,Rn.then(function(Bn){var Ln,ho;if(void 0===Bn&&(Bn=yn),re.directives&&re.directives.forEach(function(co){"export"===co.name.value&&co.arguments&&co.arguments.forEach(function(Oo){"as"===Oo.name.value&&"StringValue"===Oo.value.kind&&(zt.exportedVariables[Oo.value.value]=Bn)})}),!re.selectionSet||null==Bn)return Bn;var eo=null!==(ho=null===(Ln=re.directives)||void 0===Ln?void 0:Ln.some(function(co){return"client"===co.name.value}))&&void 0!==ho&&ho;return Array.isArray(Bn)?Gn.resolveSubSelectedArray(re,Oe||eo,Bn,zt):re.selectionSet?Gn.resolveSelectionSet(re.selectionSet,Oe||eo,Bn,zt):void 0})]):[2,null]})})},Ue.prototype.resolveSubSelectedArray=function(re,Oe,Qe,zt){var kt=this;return Promise.all(Qe.map(function(en){return null===en?null:Array.isArray(en)?kt.resolveSubSelectedArray(re,Oe,en,zt):re.selectionSet?kt.resolveSelectionSet(re.selectionSet,Oe,en,zt):void 0}))},Ue.prototype.collectSelectionsToResolve=function(re,Oe){var Qe=function(en){return!Array.isArray(en)},zt=this.selectionsToResolveCache;return function kt(en){if(!zt.has(en)){var hn=new Set;zt.set(en,hn),(0,ze.Vn)(en,{Directive:function(Jt,yn,Rn,Mn,dn){"client"===Jt.name.value&&dn.forEach(function(En){Qe(En)&&Te(En)&&hn.add(En)})},FragmentSpread:function(Jt,yn,Rn,Mn,dn){var En=Oe[Jt.name.value];__DEV__?(0,e.kG)(En,"No fragment named ".concat(Jt.name.value)):(0,e.kG)(En,12);var Gn=kt(En);Gn.size>0&&(dn.forEach(function(Fn){Qe(Fn)&&Te(Fn)&&hn.add(Fn)}),hn.add(Jt),Gn.forEach(function(Fn){hn.add(Fn)}))}})}return zt.get(en)}(re)},Ue}(),Ko=new(A.mr?WeakMap:Map);function Ro(Ue,re){var Oe=Ue[re];"function"==typeof Oe&&(Ue[re]=function(){return Ko.set(Ue,(Ko.get(Ue)+1)%1e15),Oe.apply(this,arguments)})}function Eo(Ue){Ue.notifyTimeout&&(clearTimeout(Ue.notifyTimeout),Ue.notifyTimeout=void 0)}var Xn=function(){function Ue(re,Oe){void 0===Oe&&(Oe=re.generateQueryId()),this.queryId=Oe,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var Qe=this.cache=re.cache;Ko.has(Qe)||(Ko.set(Qe,0),Ro(Qe,"evict"),Ro(Qe,"modify"),Ro(Qe,"reset"))}return Ue.prototype.init=function(re){var Oe=re.networkStatus||L.loading;return this.variables&&this.networkStatus!==L.loading&&!(0,I.D)(this.variables,re.variables)&&(Oe=L.setVariables),(0,I.D)(re.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:re.document,variables:re.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:Oe}),re.observableQuery&&this.setObservableQuery(re.observableQuery),re.lastRequestId&&(this.lastRequestId=re.lastRequestId),this},Ue.prototype.reset=function(){Eo(this),this.dirty=!1},Ue.prototype.getDiff=function(re){void 0===re&&(re=this.variables);var Oe=this.getDiffOptions(re);if(this.lastDiff&&(0,I.D)(Oe,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=re);var Qe=this.observableQuery;if(Qe&&"no-cache"===Qe.options.fetchPolicy)return{complete:!1};var zt=this.cache.diff(Oe);return this.updateLastDiff(zt,Oe),zt},Ue.prototype.updateLastDiff=function(re,Oe){this.lastDiff=re?{diff:re,options:Oe||this.getDiffOptions()}:void 0},Ue.prototype.getDiffOptions=function(re){var Oe;return void 0===re&&(re=this.variables),{query:this.document,variables:re,returnPartialData:!0,optimistic:!0,canonizeResults:null===(Oe=this.observableQuery)||void 0===Oe?void 0:Oe.options.canonizeResults}},Ue.prototype.setDiff=function(re){var Oe=this,Qe=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(re),!this.dirty&&!(0,I.D)(Qe&&Qe.result,re&&re.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return Oe.notify()},0)))},Ue.prototype.setObservableQuery=function(re){var Oe=this;re!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=re,re?(re.queryInfo=this,this.listeners.add(this.oqListener=function(){Oe.getDiff().fromOptimisticTransaction?re.observe():Bt(re)})):delete this.oqListener)},Ue.prototype.notify=function(){var re=this;Eo(this),this.shouldNotify()&&this.listeners.forEach(function(Oe){return Oe(re)}),this.dirty=!1},Ue.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Y(this.networkStatus)&&this.observableQuery){var re=this.observableQuery.options.fetchPolicy;if("cache-only"!==re&&"cache-and-network"!==re)return!1}return!0},Ue.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=Ue.prototype.cancel,this.subscriptions.forEach(function(Oe){return Oe.unsubscribe()});var re=this.observableQuery;re&&re.stopPolling()}},Ue.prototype.cancel=function(){},Ue.prototype.updateWatch=function(re){var Oe=this;void 0===re&&(re=this.variables);var Qe=this.observableQuery;if(!Qe||"no-cache"!==Qe.options.fetchPolicy){var zt=(0,M.pi)((0,M.pi)({},this.getDiffOptions(re)),{watcher:this,callback:function(kt){return Oe.setDiff(kt)}});(!this.lastWatch||!(0,I.D)(zt,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=zt))}},Ue.prototype.resetLastWrite=function(){this.lastWrite=void 0},Ue.prototype.shouldWrite=function(re,Oe){var Qe=this.lastWrite;return!(Qe&&Qe.dmCount===Ko.get(this.cache)&&(0,I.D)(Oe,Qe.variables)&&(0,I.D)(re.data,Qe.result.data))},Ue.prototype.markResult=function(re,Oe,Qe,zt){var kt=this,en=new Ct.w0,hn=(0,Re.O)(re.errors)?re.errors.slice(0):[];if(this.reset(),"incremental"in re&&(0,Re.O)(re.incremental)){var Jt=Dn(this.getDiff().result,re);re.data=Jt}else if("hasNext"in re&&re.hasNext){var yn=this.getDiff();re.data=en.merge(yn.result,re.data)}this.graphQLErrors=hn,"no-cache"===Qe.fetchPolicy?this.updateLastDiff({result:re.data,complete:!0},this.getDiffOptions(Qe.variables)):0!==zt&&(Jo(re,Qe.errorPolicy)?this.cache.performTransaction(function(Rn){if(kt.shouldWrite(re,Qe.variables))Rn.writeQuery({query:Oe,data:re.data,variables:Qe.variables,overwrite:1===zt}),kt.lastWrite={result:re,variables:Qe.variables,dmCount:Ko.get(kt.cache)};else if(kt.lastDiff&&kt.lastDiff.diff.complete)return void(re.data=kt.lastDiff.diff.result);var Mn=kt.getDiffOptions(Qe.variables),dn=Rn.diff(Mn);kt.stopped||kt.updateWatch(Qe.variables),kt.updateLastDiff(dn,Mn),dn.complete&&(re.data=dn.result)}):this.lastWrite=void 0)},Ue.prototype.markReady=function(){return this.networkError=null,this.networkStatus=L.ready},Ue.prototype.markError=function(re){return this.networkStatus=L.error,this.lastWrite=void 0,this.reset(),re.graphQLErrors&&(this.graphQLErrors=re.graphQLErrors),re.networkError&&(this.networkError=re.networkError),re},Ue}();function Jo(Ue,re){void 0===re&&(re="none");var Oe="ignore"===re||"all"===re,Qe=!_t(Ue);return!Qe&&Oe&&Ue.data&&(Qe=!0),Qe}var ko=Object.prototype.hasOwnProperty,Mo=function(){function Ue(re){var Oe=re.cache,Qe=re.link,zt=re.defaultOptions,kt=re.queryDeduplication,en=void 0!==kt&&kt,hn=re.onBroadcast,Jt=re.ssrMode,yn=void 0!==Jt&&Jt,Rn=re.clientAwareness,Mn=void 0===Rn?{}:Rn,dn=re.localState,En=re.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(A.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=Oe,this.link=Qe,this.defaultOptions=zt||Object.create(null),this.queryDeduplication=en,this.clientAwareness=Mn,this.localState=dn||new $o({cache:Oe}),this.ssrMode=yn,this.assumeImmutableResults=!!En,(this.onBroadcast=hn)&&(this.mutationStore=Object.create(null))}return Ue.prototype.stop=function(){var re=this;this.queries.forEach(function(Oe,Qe){re.stopQueryNoBroadcast(Qe)}),this.cancelPendingFetches(__DEV__?new e.ej("QueryManager stopped while query was in flight"):new e.ej(14))},Ue.prototype.cancelPendingFetches=function(re){this.fetchCancelFns.forEach(function(Oe){return Oe(re)}),this.fetchCancelFns.clear()},Ue.prototype.mutate=function(re){var Oe,Qe,zt=re.mutation,kt=re.variables,en=re.optimisticResponse,hn=re.updateQueries,Jt=re.refetchQueries,yn=void 0===Jt?[]:Jt,Rn=re.awaitRefetchQueries,Mn=void 0!==Rn&&Rn,dn=re.update,En=re.onQueryUpdated,Gn=re.fetchPolicy,Fn=void 0===Gn?(null===(Oe=this.defaultOptions.mutate)||void 0===Oe?void 0:Oe.fetchPolicy)||"network-only":Gn,Bn=re.errorPolicy,Ln=void 0===Bn?(null===(Qe=this.defaultOptions.mutate)||void 0===Qe?void 0:Qe.errorPolicy)||"none":Bn,ho=re.keepRootFields,eo=re.context;return(0,M.mG)(this,void 0,void 0,function(){var co,Oo,So,Ao,Go;return(0,M.Jh)(this,function(Co){switch(Co.label){case 0:return __DEV__?(0,e.kG)(zt,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,e.kG)(zt,15),__DEV__?(0,e.kG)("network-only"===Fn||"no-cache"===Fn,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,e.kG)("network-only"===Fn||"no-cache"===Fn,16),co=this.generateMutationId(),Oo=this.transform(zt),So=Oo.hasClientExports,zt=this.cache.transformForLink(Oo.document),kt=this.getVariables(zt,kt),So?[4,this.localState.addExportedVariables(zt,kt,eo)]:[3,2];case 1:kt=Co.sent(),Co.label=2;case 2:return Ao=this.mutationStore&&(this.mutationStore[co]={mutation:zt,variables:kt,loading:!0,error:null}),en&&this.markMutationOptimistic(en,{mutationId:co,document:zt,variables:kt,fetchPolicy:Fn,errorPolicy:Ln,context:eo,updateQueries:hn,update:dn,keepRootFields:ho}),this.broadcastQueries(),Go=this,[2,new Promise(function(di,vi){return Me(Go.getObservableFromLink(zt,(0,M.pi)((0,M.pi)({},eo),{optimisticResponse:en}),kt,!1),function(Io){if(_t(Io)&&"none"===Ln)throw new Xe({graphQLErrors:tt(Io)});Ao&&(Ao.loading=!1,Ao.error=null);var Fo=(0,M.pi)({},Io);return"function"==typeof yn&&(yn=yn(Fo)),"ignore"===Ln&&_t(Fo)&&delete Fo.errors,Go.markMutationResult({mutationId:co,result:Fo,document:zt,variables:kt,fetchPolicy:Fn,errorPolicy:Ln,context:eo,update:dn,updateQueries:hn,awaitRefetchQueries:Mn,refetchQueries:yn,removeOptimistic:en?co:void 0,onQueryUpdated:En,keepRootFields:ho})}).subscribe({next:function(Io){Go.broadcastQueries(),(!("hasNext"in Io)||!1===Io.hasNext)&&di(Io)},error:function(Io){Ao&&(Ao.loading=!1,Ao.error=Io),en&&Go.cache.removeOptimistic(co),Go.broadcastQueries(),vi(Io instanceof Xe?Io:new Xe({networkError:Io}))}})})]}})})},Ue.prototype.markMutationResult=function(re,Oe){var Qe=this;void 0===Oe&&(Oe=this.cache);var zt=re.result,kt=[],en="no-cache"===re.fetchPolicy;if(!en&&Jo(zt,re.errorPolicy)){if(je(zt)||kt.push({result:zt.data,dataId:"ROOT_MUTATION",query:re.document,variables:re.variables}),je(zt)&&(0,Re.O)(zt.incremental)){var hn=Oe.diff({id:"ROOT_MUTATION",query:this.transform(re.document).asQuery,variables:re.variables,optimistic:!1,returnPartialData:!0}),Jt=void 0;hn.result&&(Jt=Dn(hn.result,zt)),typeof Jt<"u"&&(zt.data=Jt,kt.push({result:Jt,dataId:"ROOT_MUTATION",query:re.document,variables:re.variables}))}var yn=re.updateQueries;yn&&this.queries.forEach(function(Mn,dn){var En=Mn.observableQuery,Gn=En&&En.queryName;if(Gn&&ko.call(yn,Gn)){var Fn=yn[Gn],Bn=Qe.queries.get(dn),Ln=Bn.document,ho=Bn.variables,eo=Oe.diff({query:Ln,variables:ho,returnPartialData:!0,optimistic:!1}),co=eo.result;if(eo.complete&&co){var Jn=Fn(co,{mutationResult:zt,queryName:Ln&&(0,Lt.rY)(Ln)||void 0,queryVariables:ho});Jn&&kt.push({result:Jn,dataId:"ROOT_QUERY",query:Ln,variables:ho})}}})}if(kt.length>0||re.refetchQueries||re.update||re.onQueryUpdated||re.removeOptimistic){var Rn=[];if(this.refetchQueries({updateCache:function(Mn){en||kt.forEach(function(Fn){return Mn.write(Fn)});var dn=re.update,En=!function qt(Ue){return je(Ue)||function Yt(Ue){return"hasNext"in Ue&&"data"in Ue}(Ue)}(zt)||je(zt)&&!zt.hasNext;if(dn){if(!en){var Gn=Mn.diff({id:"ROOT_MUTATION",query:Qe.transform(re.document).asQuery,variables:re.variables,optimistic:!1,returnPartialData:!0});Gn.complete&&("incremental"in(zt=(0,M.pi)((0,M.pi)({},zt),{data:Gn.result}))&&delete zt.incremental,"hasNext"in zt&&delete zt.hasNext)}En&&dn(Mn,zt,{context:re.context,variables:re.variables})}!en&&!re.keepRootFields&&En&&Mn.modify({id:"ROOT_MUTATION",fields:function(Fn,Bn){return"__typename"===Bn.fieldName?Fn:Bn.DELETE}})},include:re.refetchQueries,optimistic:!1,removeOptimistic:re.removeOptimistic,onQueryUpdated:re.onQueryUpdated||null}).forEach(function(Mn){return Rn.push(Mn)}),re.awaitRefetchQueries||re.onQueryUpdated)return Promise.all(Rn).then(function(){return zt})}return Promise.resolve(zt)},Ue.prototype.markMutationOptimistic=function(re,Oe){var Qe=this,zt="function"==typeof re?re(Oe.variables):re;return this.cache.recordOptimisticTransaction(function(kt){try{Qe.markMutationResult((0,M.pi)((0,M.pi)({},Oe),{result:{data:zt}}),kt)}catch(en){__DEV__&&e.kG.error(en)}},Oe.mutationId)},Ue.prototype.fetchQuery=function(re,Oe,Qe){return this.fetchQueryObservable(re,Oe,Qe).promise},Ue.prototype.getQueryStore=function(){var re=Object.create(null);return this.queries.forEach(function(Oe,Qe){re[Qe]={variables:Oe.variables,networkStatus:Oe.networkStatus,networkError:Oe.networkError,graphQLErrors:Oe.graphQLErrors}}),re},Ue.prototype.resetErrors=function(re){var Oe=this.queries.get(re);Oe&&(Oe.networkError=void 0,Oe.graphQLErrors=[])},Ue.prototype.transform=function(re){var Oe=this.transformCache;if(!Oe.has(re)){var Qe=this.cache.transformDocument(re),zt=(0,Je.Fo)(Qe),kt=this.localState.clientQuery(Qe),en=zt&&this.localState.serverQuery(zt),hn={document:Qe,hasClientExports:(0,K.mj)(Qe),hasForcedResolvers:this.localState.shouldForceResolvers(Qe),clientQuery:kt,serverQuery:en,defaultVars:(0,Lt.O4)((0,Lt.$H)(Qe)),asQuery:(0,M.pi)((0,M.pi)({},Qe),{definitions:Qe.definitions.map(function(yn){return"OperationDefinition"===yn.kind&&"query"!==yn.operation?(0,M.pi)((0,M.pi)({},yn),{operation:"query"}):yn})})},Jt=function(yn){yn&&!Oe.has(yn)&&Oe.set(yn,hn)};Jt(re),Jt(Qe),Jt(kt),Jt(en)}return Oe.get(re)},Ue.prototype.getVariables=function(re,Oe){return(0,M.pi)((0,M.pi)({},this.transform(re).defaultVars),Oe)},Ue.prototype.watchQuery=function(re){typeof(re=(0,M.pi)((0,M.pi)({},re),{variables:this.getVariables(re.query,re.variables)})).notifyOnNetworkStatusChange>"u"&&(re.notifyOnNetworkStatusChange=!1);var Oe=new Xn(this),Qe=new at({queryManager:this,queryInfo:Oe,options:re});return this.queries.set(Qe.queryId,Oe),Oe.init({document:Qe.query,observableQuery:Qe,variables:Qe.variables}),Qe},Ue.prototype.query=function(re,Oe){var Qe=this;return void 0===Oe&&(Oe=this.generateQueryId()),__DEV__?(0,e.kG)(re.query,"query option is required. You must specify your GraphQL document in the query option."):(0,e.kG)(re.query,17),__DEV__?(0,e.kG)("Document"===re.query.kind,'You must wrap the query string in a "gql" tag.'):(0,e.kG)("Document"===re.query.kind,18),__DEV__?(0,e.kG)(!re.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,e.kG)(!re.returnPartialData,19),__DEV__?(0,e.kG)(!re.pollInterval,"pollInterval option only supported on watchQuery."):(0,e.kG)(!re.pollInterval,20),this.fetchQuery(Oe,re).finally(function(){return Qe.stopQuery(Oe)})},Ue.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},Ue.prototype.generateRequestId=function(){return this.requestIdCounter++},Ue.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},Ue.prototype.stopQueryInStore=function(re){this.stopQueryInStoreNoBroadcast(re),this.broadcastQueries()},Ue.prototype.stopQueryInStoreNoBroadcast=function(re){var Oe=this.queries.get(re);Oe&&Oe.stop()},Ue.prototype.clearStore=function(re){return void 0===re&&(re={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new e.ej("Store reset while query was in flight (not completed in link chain)"):new e.ej(21)),this.queries.forEach(function(Oe){Oe.observableQuery?Oe.networkStatus=L.loading:Oe.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(re)},Ue.prototype.getObservableQueries=function(re){var Oe=this;void 0===re&&(re="active");var Qe=new Map,zt=new Map,kt=new Set;return Array.isArray(re)&&re.forEach(function(en){"string"==typeof en?zt.set(en,!1):(0,rt.JW)(en)?zt.set(Oe.transform(en).document,!1):(0,Et.s)(en)&&en.query&&kt.add(en)}),this.queries.forEach(function(en,hn){var Jt=en.observableQuery,yn=en.document;if(Jt){if("all"===re)return void Qe.set(hn,Jt);var Rn=Jt.queryName;if("standby"===Jt.options.fetchPolicy||"active"===re&&!Jt.hasObservers())return;("active"===re||Rn&&zt.has(Rn)||yn&&zt.has(yn))&&(Qe.set(hn,Jt),Rn&&zt.set(Rn,!0),yn&&zt.set(yn,!0))}}),kt.size&&kt.forEach(function(en){var hn=(0,Nt.X)("legacyOneTimeQuery"),Jt=Oe.getQuery(hn).init({document:en.query,variables:en.variables}),yn=new at({queryManager:Oe,queryInfo:Jt,options:(0,M.pi)((0,M.pi)({},en),{fetchPolicy:"network-only"})});(0,e.kG)(yn.queryId===hn),Jt.setObservableQuery(yn),Qe.set(hn,yn)}),__DEV__&&zt.size&&zt.forEach(function(en,hn){en||__DEV__&&e.kG.warn("Unknown query ".concat("string"==typeof hn?"named ":"").concat(JSON.stringify(hn,null,2)," requested in refetchQueries options.include array"))}),Qe},Ue.prototype.reFetchObservableQueries=function(re){var Oe=this;void 0===re&&(re=!1);var Qe=[];return this.getObservableQueries(re?"all":"active").forEach(function(zt,kt){var en=zt.options.fetchPolicy;zt.resetLastResults(),(re||"standby"!==en&&"cache-only"!==en)&&Qe.push(zt.refetch()),Oe.getQuery(kt).setDiff(null)}),this.broadcastQueries(),Promise.all(Qe)},Ue.prototype.setObservableQuery=function(re){this.getQuery(re.queryId).setObservableQuery(re)},Ue.prototype.startGraphQLSubscription=function(re){var Oe=this,Qe=re.query,zt=re.fetchPolicy,kt=re.errorPolicy,en=re.variables,hn=re.context,Jt=void 0===hn?{}:hn;Qe=this.transform(Qe).document,en=this.getVariables(Qe,en);var yn=function(Mn){return Oe.getObservableFromLink(Qe,Jt,Mn).map(function(dn){"no-cache"!==zt&&(Jo(dn,kt)&&Oe.cache.write({query:Qe,result:dn.data,dataId:"ROOT_SUBSCRIPTION",variables:Mn}),Oe.broadcastQueries());var En=_t(dn),Gn=function tn(Ue){return!!Ue.extensions&&Array.isArray(Ue.extensions[Ht])}(dn);if(En||Gn){var Fn={};throw En&&(Fn.graphQLErrors=dn.errors),Gn&&(Fn.protocolErrors=dn.extensions[Ht]),new Xe(Fn)}return dn})};if(this.transform(Qe).hasClientExports){var Rn=this.localState.addExportedVariables(Qe,en,Jt).then(yn);return new N.y(function(Mn){var dn=null;return Rn.then(function(En){return dn=En.subscribe(Mn)},Mn.error),function(){return dn&&dn.unsubscribe()}})}return yn(en)},Ue.prototype.stopQuery=function(re){this.stopQueryNoBroadcast(re),this.broadcastQueries()},Ue.prototype.stopQueryNoBroadcast=function(re){this.stopQueryInStoreNoBroadcast(re),this.removeQuery(re)},Ue.prototype.removeQuery=function(re){this.fetchCancelFns.delete(re),this.queries.has(re)&&(this.getQuery(re).stop(),this.queries.delete(re))},Ue.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(re){return re.notify()})},Ue.prototype.getLocalState=function(){return this.localState},Ue.prototype.getObservableFromLink=function(re,Oe,Qe,zt){var en,kt=this;void 0===zt&&(zt=null!==(en=Oe?.queryDeduplication)&&void 0!==en?en:this.queryDeduplication);var hn,Jt=this.transform(re).serverQuery;if(Jt){var Rn=this.inFlightLinkObservables,Mn=this.link,dn={query:Jt,variables:Qe,operationName:(0,Lt.rY)(Jt)||void 0,context:this.prepareContext((0,M.pi)((0,M.pi)({},Oe),{forceFetch:!zt}))};if(Oe=dn.context,zt){var En=Rn.get(Jt)||new Map;Rn.set(Jt,En);var Gn=(0,q.B)(Qe);if(!(hn=En.get(Gn))){var Fn=new ut([R(Mn,dn)]);En.set(Gn,hn=Fn),Fn.beforeNext(function(){En.delete(Gn)&&En.size<1&&Rn.delete(Jt)})}}else hn=new ut([R(Mn,dn)])}else hn=new ut([N.y.of({data:{}})]),Oe=this.prepareContext(Oe);var Bn=this.transform(re).clientQuery;return Bn&&(hn=Me(hn,function(Ln){return kt.localState.runResolvers({document:Bn,remoteResult:Ln,context:Oe,variables:Qe})})),hn},Ue.prototype.getResultsFromLink=function(re,Oe,Qe){var zt=re.lastRequestId=this.generateRequestId(),kt=this.cache.transformForLink(this.transform(re.document).document);return Me(this.getObservableFromLink(kt,Qe.context,Qe.variables),function(en){var hn=tt(en),Jt=hn.length>0;if(zt>=re.lastRequestId){if(Jt&&"none"===Qe.errorPolicy)throw re.markError(new Xe({graphQLErrors:hn}));re.markResult(en,kt,Qe,Oe),re.markReady()}var yn={data:en.data,loading:!1,networkStatus:L.ready};return Jt&&"ignore"!==Qe.errorPolicy&&(yn.errors=hn,yn.networkStatus=L.error),yn},function(en){var hn=function un(Ue){return Ue.hasOwnProperty("graphQLErrors")}(en)?en:new Xe({networkError:en});throw zt>=re.lastRequestId&&re.markError(hn),hn})},Ue.prototype.fetchQueryObservable=function(re,Oe,Qe){return this.fetchConcastWithInfo(re,Oe,Qe).concast},Ue.prototype.fetchConcastWithInfo=function(re,Oe,Qe){var zt=this;void 0===Qe&&(Qe=L.loading);var Jn,So,kt=this.transform(Oe.query).document,en=this.getVariables(kt,Oe.variables),hn=this.getQuery(re),Jt=this.defaultOptions.watchQuery,yn=Oe.fetchPolicy,Mn=Oe.errorPolicy,En=Oe.returnPartialData,Fn=Oe.notifyOnNetworkStatusChange,Ln=Oe.context,eo=Object.assign({},Oe,{query:kt,variables:en,fetchPolicy:void 0===yn?Jt&&Jt.fetchPolicy||"cache-first":yn,errorPolicy:void 0===Mn?Jt&&Jt.errorPolicy||"none":Mn,returnPartialData:void 0!==En&&En,notifyOnNetworkStatusChange:void 0!==Fn&&Fn,context:void 0===Ln?{}:Ln}),co=function(Go){eo.variables=Go;var Co=zt.fetchQueryByPolicy(hn,eo,Qe);return"standby"!==eo.fetchPolicy&&Co.sources.length>0&&hn.observableQuery&&hn.observableQuery.applyNextFetchPolicy("after-fetch",Oe),Co},Oo=function(){return zt.fetchCancelFns.delete(re)};if(this.fetchCancelFns.set(re,function(Go){Oo(),setTimeout(function(){return Jn.cancel(Go)})}),this.transform(eo.query).hasClientExports)Jn=new ut(this.localState.addExportedVariables(eo.query,eo.variables,eo.context).then(co).then(function(Go){return Go.sources})),So=!0;else{var Ao=co(eo.variables);So=Ao.fromLink,Jn=new ut(Ao.sources)}return Jn.promise.then(Oo,Oo),{concast:Jn,fromLink:So}},Ue.prototype.refetchQueries=function(re){var Oe=this,Qe=re.updateCache,zt=re.include,kt=re.optimistic,en=void 0!==kt&&kt,hn=re.removeOptimistic,Jt=void 0===hn?en?(0,Nt.X)("refetchQueries"):void 0:hn,yn=re.onQueryUpdated,Rn=new Map;zt&&this.getObservableQueries(zt).forEach(function(dn,En){Rn.set(En,{oq:dn,lastDiff:Oe.getQuery(En).getDiff()})});var Mn=new Map;return Qe&&this.cache.batch({update:Qe,optimistic:en&&Jt||!1,removeOptimistic:Jt,onWatchUpdated:function(dn,En,Gn){var Fn=dn.watcher instanceof Xn&&dn.watcher.observableQuery;if(Fn){if(yn){Rn.delete(Fn.queryId);var Bn=yn(Fn,En,Gn);return!0===Bn&&(Bn=Fn.refetch()),!1!==Bn&&Mn.set(Fn,Bn),Bn}null!==yn&&Rn.set(Fn.queryId,{oq:Fn,lastDiff:Gn,diff:En})}}}),Rn.size&&Rn.forEach(function(dn,En){var Ln,Gn=dn.oq,Fn=dn.lastDiff,Bn=dn.diff;if(yn){if(!Bn){var ho=Gn.queryInfo;ho.reset(),Bn=ho.getDiff()}Ln=yn(Gn,Bn,Fn)}(!yn||!0===Ln)&&(Ln=Gn.refetch()),!1!==Ln&&Mn.set(Gn,Ln),En.indexOf("legacyOneTimeQuery")>=0&&Oe.stopQueryNoBroadcast(En)}),Jt&&this.cache.removeOptimistic(Jt),Mn},Ue.prototype.fetchQueryByPolicy=function(re,Oe,Qe){var zt=this,kt=Oe.query,en=Oe.variables,hn=Oe.fetchPolicy,Jt=Oe.refetchWritePolicy,yn=Oe.errorPolicy,Rn=Oe.returnPartialData,Mn=Oe.context,dn=Oe.notifyOnNetworkStatusChange,En=re.networkStatus;re.init({document:this.transform(kt).document,variables:en,networkStatus:Qe});var Gn=function(){return re.getDiff(en)},Fn=function(co,Oo){void 0===Oo&&(Oo=re.networkStatus||L.loading);var Jn=co.result;__DEV__&&!Rn&&!(0,I.D)(Jn,{})&&At(co.missing);var So=function(Ao){return N.y.of((0,M.pi)({data:Ao,loading:Y(Oo),networkStatus:Oo},co.complete?null:{partial:!0}))};return Jn&&zt.transform(kt).hasForcedResolvers?zt.localState.runResolvers({document:kt,remoteResult:{data:Jn},context:Mn,variables:en,onlyRunForcedResolvers:!0}).then(function(Ao){return So(Ao.data||void 0)}):"none"===yn&&Oo===L.refetch&&Array.isArray(co.missing)?So(void 0):So(Jn)},Bn="no-cache"===hn?0:Qe===L.refetch&&"merge"!==Jt?1:2,Ln=function(){return zt.getResultsFromLink(re,Bn,{variables:en,context:Mn,fetchPolicy:hn,errorPolicy:yn})},ho=dn&&"number"==typeof En&&En!==Qe&&Y(Qe);switch(hn){default:case"cache-first":return(eo=Gn()).complete?{fromLink:!1,sources:[Fn(eo,re.markReady())]}:Rn||ho?{fromLink:!0,sources:[Fn(eo),Ln()]}:{fromLink:!0,sources:[Ln()]};case"cache-and-network":var eo;return(eo=Gn()).complete||Rn||ho?{fromLink:!0,sources:[Fn(eo),Ln()]}:{fromLink:!0,sources:[Ln()]};case"cache-only":return{fromLink:!1,sources:[Fn(Gn(),re.markReady())]};case"network-only":return ho?{fromLink:!0,sources:[Fn(Gn()),Ln()]}:{fromLink:!0,sources:[Ln()]};case"no-cache":return ho?{fromLink:!0,sources:[Fn(re.getDiff()),Ln()]}:{fromLink:!0,sources:[Ln()]};case"standby":return{fromLink:!1,sources:[]}}},Ue.prototype.getQuery=function(re){return re&&!this.queries.has(re)&&this.queries.set(re,new Xn(this,re)),this.queries.get(re)},Ue.prototype.prepareContext=function(re){void 0===re&&(re={});var Oe=this.localState.prepareContext(re);return(0,M.pi)((0,M.pi)({},Oe),{clientAwareness:this.clientAwareness})},Ue}();function vo(Ue,re){return(0,ye.o)(Ue,re,re.variables&&{variables:(0,M.pi)((0,M.pi)({},Ue&&Ue.variables),re.variables)})}var ui=!1,oi=function(){function Ue(re){var Oe=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var Qe=re.uri,en=re.cache,hn=re.ssrMode,Jt=void 0!==hn&&hn,yn=re.ssrForceFetchDelay,Rn=void 0===yn?0:yn,Mn=re.connectToDevTools,dn=void 0===Mn?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:Mn,En=re.queryDeduplication,Gn=void 0===En||En,Fn=re.defaultOptions,Bn=re.assumeImmutableResults,Ln=void 0!==Bn&&Bn,ho=re.resolvers,eo=re.typeDefs,co=re.fragmentMatcher,Oo=re.name,Jn=re.version,So=re.link;if(So||(So=Qe?new J({uri:Qe,credentials:re.credentials,headers:re.headers}):F.i.empty()),!en)throw __DEV__?new e.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new e.ej(9);if(this.link=So,this.cache=en,this.disableNetworkFetches=Jt||Rn>0,this.queryDeduplication=Gn,this.defaultOptions=Fn||Object.create(null),this.typeDefs=eo,Rn&&setTimeout(function(){return Oe.disableNetworkFetches=!1},Rn),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),dn&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!ui&&dn&&__DEV__&&(ui=!0,typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var Ao=window.navigator,Go=Ao&&Ao.userAgent,Co=void 0;"string"==typeof Go&&(Go.indexOf("Chrome/")>-1?Co="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":Go.indexOf("Firefox/")>-1&&(Co="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Co&&__DEV__&&e.kG.log("Download the Apollo DevTools for a better development experience: "+Co)}this.version="3.7.17",this.localState=new $o({cache:en,client:this,resolvers:ho,fragmentMatcher:co}),this.queryManager=new Mo({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:Gn,ssrMode:Jt,clientAwareness:{name:Oo,version:Jn},localState:this.localState,assumeImmutableResults:Ln,onBroadcast:dn?function(){Oe.devToolsHookCb&&Oe.devToolsHookCb({action:{},state:{queries:Oe.queryManager.getQueryStore(),mutations:Oe.queryManager.mutationStore||{}},dataWithOptimisticResults:Oe.cache.extract(!0)})}:void 0})}return Ue.prototype.stop=function(){this.queryManager.stop()},Ue.prototype.watchQuery=function(re){return this.defaultOptions.watchQuery&&(re=vo(this.defaultOptions.watchQuery,re)),this.disableNetworkFetches&&("network-only"===re.fetchPolicy||"cache-and-network"===re.fetchPolicy)&&(re=(0,M.pi)((0,M.pi)({},re),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(re)},Ue.prototype.query=function(re){return this.defaultOptions.query&&(re=vo(this.defaultOptions.query,re)),__DEV__?(0,e.kG)("cache-and-network"!==re.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,e.kG)("cache-and-network"!==re.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===re.fetchPolicy&&(re=(0,M.pi)((0,M.pi)({},re),{fetchPolicy:"cache-first"})),this.queryManager.query(re)},Ue.prototype.mutate=function(re){return this.defaultOptions.mutate&&(re=vo(this.defaultOptions.mutate,re)),this.queryManager.mutate(re)},Ue.prototype.subscribe=function(re){return this.queryManager.startGraphQLSubscription(re)},Ue.prototype.readQuery=function(re,Oe){return void 0===Oe&&(Oe=!1),this.cache.readQuery(re,Oe)},Ue.prototype.readFragment=function(re,Oe){return void 0===Oe&&(Oe=!1),this.cache.readFragment(re,Oe)},Ue.prototype.writeQuery=function(re){var Oe=this.cache.writeQuery(re);return!1!==re.broadcast&&this.queryManager.broadcastQueries(),Oe},Ue.prototype.writeFragment=function(re){var Oe=this.cache.writeFragment(re);return!1!==re.broadcast&&this.queryManager.broadcastQueries(),Oe},Ue.prototype.__actionHookForDevTools=function(re){this.devToolsHookCb=re},Ue.prototype.__requestRaw=function(re){return R(this.link,re)},Ue.prototype.resetStore=function(){var re=this;return Promise.resolve().then(function(){return re.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(re.resetStoreCallbacks.map(function(Oe){return Oe()}))}).then(function(){return re.reFetchObservableQueries()})},Ue.prototype.clearStore=function(){var re=this;return Promise.resolve().then(function(){return re.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(re.clearStoreCallbacks.map(function(Oe){return Oe()}))})},Ue.prototype.onResetStore=function(re){var Oe=this;return this.resetStoreCallbacks.push(re),function(){Oe.resetStoreCallbacks=Oe.resetStoreCallbacks.filter(function(Qe){return Qe!==re})}},Ue.prototype.onClearStore=function(re){var Oe=this;return this.clearStoreCallbacks.push(re),function(){Oe.clearStoreCallbacks=Oe.clearStoreCallbacks.filter(function(Qe){return Qe!==re})}},Ue.prototype.reFetchObservableQueries=function(re){return this.queryManager.reFetchObservableQueries(re)},Ue.prototype.refetchQueries=function(re){var Oe=this.queryManager.refetchQueries(re),Qe=[],zt=[];Oe.forEach(function(en,hn){Qe.push(hn),zt.push(en)});var kt=Promise.all(zt);return kt.queries=Qe,kt.results=zt,kt.catch(function(en){__DEV__&&e.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(en))}),kt},Ue.prototype.getObservableQueries=function(re){return void 0===re&&(re="active"),this.queryManager.getObservableQueries(re)},Ue.prototype.extract=function(re){return this.cache.extract(re)},Ue.prototype.restore=function(re){return this.cache.restore(re)},Ue.prototype.addResolvers=function(re){this.localState.addResolvers(re)},Ue.prototype.setResolvers=function(re){this.localState.setResolvers(re)},Ue.prototype.getResolvers=function(){return this.localState.getResolvers()},Ue.prototype.setLocalStateFragmentMatcher=function(re){this.localState.setFragmentMatcher(re)},Ue.prototype.setLink=function(re){this.link=this.queryManager.link=re},Ue}(),Di=a(9377),Nn=a(7398),Oi=a(7921),Ai=a(3093);function wi(Ue){return new v.y(re=>(Ue().then(Oe=>{re.closed||(re.next(Oe),re.complete())},Oe=>{re.closed||re.error(Oe)}),()=>re.unsubscribe()))}class Sr{constructor(re){(0,t.Z)(this,"zone",void 0),(0,t.Z)(this,"now",Date.now?Date.now:()=>+new Date),this.zone=re}schedule(re,Oe=0,Qe){return this.zone.run(()=>U.schedule(re,Oe,Qe))}}function Er(Ue){return Ue[S.L]=()=>Ue,Ue}function Mi(Ue,re){return Ue.pipe((0,Ai.Q)(new Sr(re)))}function _r(Ue,re,Oe){return Ue&&typeof Ue[re]<"u"?Ue[re]:Oe}class ur{constructor(re,Oe,Qe){(0,t.Z)(this,"obsQuery",void 0),(0,t.Z)(this,"valueChanges",void 0),(0,t.Z)(this,"queryId",void 0),this.obsQuery=re;const zt=Mi((0,w.D)(Er(this.obsQuery)),Oe);this.valueChanges=Qe.useInitialLoading?zt.pipe(function Ki(Ue){return function(Oe){return new v.y(function(zt){const kt=Ue.getCurrentResult(),{loading:en,errors:hn,error:Jt,partial:yn,data:Rn}=kt,{partialRefetch:Mn,fetchPolicy:dn}=Ue.options,En=hn||Jt;return Mn&&yn&&(!Rn||0===Object.keys(Rn).length)&&"cache-only"!==dn&&!en&&!En&&zt.next({...kt,loading:!0,networkStatus:L.loading}),Oe.subscribe(zt)})}}(this.obsQuery)):zt,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(re){return this.obsQuery.refetch(re)}fetchMore(re){return this.obsQuery.fetchMore(re)}subscribeToMore(re){return this.obsQuery.subscribeToMore(re)}updateQuery(re){return this.obsQuery.updateQuery(re)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(re){return this.obsQuery.startPolling(re)}setOptions(re){return this.obsQuery.setOptions(re)}setVariables(re){return this.obsQuery.setVariables(re)}}const nr=new i.OlP("APOLLO_FLAGS"),Kn=new i.OlP("APOLLO_OPTIONS"),xo=new i.OlP("APOLLO_NAMED_OPTIONS");class Uo{constructor(re,Oe,Qe){(0,t.Z)(this,"ngZone",void 0),(0,t.Z)(this,"flags",void 0),(0,t.Z)(this,"_client",void 0),(0,t.Z)(this,"useInitialLoading",void 0),(0,t.Z)(this,"useMutationLoading",void 0),this.ngZone=re,this.flags=Oe,this._client=Qe,this.useInitialLoading=_r(Oe,"useInitialLoading",!1),this.useMutationLoading=_r(Oe,"useMutationLoading",!1)}watchQuery(re){return new ur(this.ensureClient().watchQuery({...re}),this.ngZone,{useInitialLoading:this.useInitialLoading,...re})}query(re){return wi(()=>this.ensureClient().query({...re}))}mutate(re){return function Ri(Ue,re){return re?Ue.pipe((0,Oi.O)({loading:!0}),(0,Nn.U)(Oe=>({...Oe,loading:!!Oe.loading}))):Ue.pipe((0,Nn.U)(Oe=>({...Oe,loading:!1})))}(wi(()=>this.ensureClient().mutate({...re})),re.useMutationLoading??this.useMutationLoading)}subscribe(re,Oe){const Qe=(0,w.D)(Er(this.ensureClient().subscribe({...re})));return Oe&&!0!==Oe.useZone?Qe:Mi(Qe,this.ngZone)}getClient(){return this.client}setClient(re){this.client=re}get client(){return this._client}set client(re){if(this._client)throw new Error("Client has been already defined");this._client=re}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let ni=(()=>{class Ue extends Uo{constructor(Oe,Qe,zt,kt){if(super(Oe,kt),(0,t.Z)(this,"_ngZone",void 0),(0,t.Z)(this,"map",new Map),this._ngZone=Oe,Qe&&this.createDefault(Qe),zt&&"object"==typeof zt)for(let en in zt)zt.hasOwnProperty(en)&&this.create(zt[en],en)}create(Oe,Qe){yo(Qe)?this.createDefault(Oe):this.createNamed(Qe,Oe)}default(){return this}use(Oe){return yo(Oe)?this.default():this.map.get(Oe)}createDefault(Oe){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new oi(Oe))}createNamed(Oe,Qe){if(this.map.has(Oe))throw new Error(`Client ${Oe} has been already created`);this.map.set(Oe,new Uo(this._ngZone,this.flags,new oi(Qe)))}removeClient(Oe){yo(Oe)?this._client=void 0:this.map.delete(Oe)}}return(0,t.Z)(Ue,"\u0275fac",function(Oe){return new(Oe||Ue)(i.LFG(i.R0b),i.LFG(Kn,8),i.LFG(xo,8),i.LFG(nr,8))}),(0,t.Z)(Ue,"\u0275prov",i.Yz7({token:Ue,factory:Ue.\u0275fac})),Ue})();function yo(Ue){return!Ue||"default"===Ue}const Xo=[ni];let bi=(()=>{class Ue{}return(0,t.Z)(Ue,"\u0275fac",function(Oe){return new(Oe||Ue)}),(0,t.Z)(Ue,"\u0275mod",i.oAB({type:Ue})),(0,t.Z)(Ue,"\u0275inj",i.cJS({providers:Xo})),Ue})(),Si=(()=>{class Ue{constructor(Oe){(0,t.Z)(this,"apollo",void 0),(0,t.Z)(this,"document",void 0),(0,t.Z)(this,"client","default"),this.apollo=Oe}watch(Oe,Qe){return this.apollo.use(this.client).watchQuery({...Qe,variables:Oe,query:this.document})}fetch(Oe,Qe){return this.apollo.use(this.client).query({...Qe,variables:Oe,query:this.document})}}return(0,t.Z)(Ue,"\u0275fac",function(Oe){return new(Oe||Ue)(i.LFG(ni))}),(0,t.Z)(Ue,"\u0275prov",i.Yz7({token:Ue,factory:Ue.\u0275fac})),Ue})(),yr=(()=>{class Ue{constructor(Oe){(0,t.Z)(this,"apollo",void 0),(0,t.Z)(this,"document",void 0),(0,t.Z)(this,"client","default"),this.apollo=Oe}mutate(Oe,Qe){return this.apollo.use(this.client).mutate({...Qe,variables:Oe,mutation:this.document})}}return(0,t.Z)(Ue,"\u0275fac",function(Oe){return new(Oe||Ue)(i.LFG(ni))}),(0,t.Z)(Ue,"\u0275prov",i.Yz7({token:Ue,factory:Ue.\u0275fac})),Ue})();const jn=function qo(Ue,...re){return(0,Di.Ps)(Ue,...re)}},1569:(xt,Se,a)=>{function t(i,v){if(!i)throw new Error(v)}a.d(Se,{a:()=>t})},5746:(xt,Se,a)=>{a.d(Se,{X:()=>v});const t=10,i=2;function v(S){return d(S,[])}function d(S,w){switch(typeof S){case"string":return JSON.stringify(S);case"function":return S.name?`[function ${S.name}]`:"[function]";case"object":return function s(S,w){if(null===S)return"null";if(w.includes(S))return"[Circular]";const L=[...w,S];if(function k(S){return"function"==typeof S.toJSON}(S)){const Y=S.toJSON();if(Y!==S)return"string"==typeof Y?Y:d(Y,L)}else if(Array.isArray(S))return function U(S,w){if(0===S.length)return"[]";if(w.length>i)return"[Array]";const L=Math.min(t,S.length),Y=S.length-L,M=[];for(let e=0;e1&&M.push(`... ${Y} more items`),"["+M.join(", ")+"]"}(S,L);return function G(S,w){const L=Object.entries(S);return 0===L.length?"{}":w.length>i?"["+function P(S){const w=Object.prototype.toString.call(S).replace(/^\[object /,"").replace(/]$/,"");if("Object"===w&&"function"==typeof S.constructor){const L=S.constructor.name;if("string"==typeof L&&""!==L)return L}return w}(S)+"]":"{ "+L.map(([M,e])=>M+": "+d(e,w)).join(", ")+" }"}(S,L)}(S,w);default:return String(S)}}},2236:(xt,Se,a)=>{a.d(Se,{UG:()=>s,WU:()=>i,Ye:()=>t,h8:()=>v,ku:()=>k});class t{constructor(U,P,S){this.start=U.start,this.end=P.end,this.startToken=U,this.endToken=P,this.source=S}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(U,P,S,w,L,Y){this.kind=U,this.start=P,this.end=S,this.line=w,this.column=L,this.value=Y,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const v={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},d=new Set(Object.keys(v));function s(G){const U=G?.kind;return"string"==typeof U&&d.has(U)}var k=(()=>((k=k||{}).QUERY="query",k.MUTATION="mutation",k.SUBSCRIPTION="subscription",k))()},7571:(xt,Se,a)=>{a.d(Se,{LZ:()=>s,wv:()=>i});var t=a(7116);function i(k){var G;let U=Number.MAX_SAFE_INTEGER,P=null,S=-1;for(let L=0;L0===Y?L:L.slice(U)).slice(null!==(G=P)&&void 0!==G?G:0,S+1)}function v(k){let G=0;for(;G1&&P.slice(1).every(ze=>0===ze.length||(0,t.FD)(ze.charCodeAt(0))),L=U.endsWith('\\"""'),Y=k.endsWith('"')&&!L,M=k.endsWith("\\"),e=Y||M,F=!(null!=G&&G.minimize)&&(!S||k.length>70||e||w||L);let R="";const ge=S&&(0,t.FD)(k.charCodeAt(0));return(F&&!ge||w)&&(R+="\n"),R+=U,(F||e)&&(R+="\n"),'"""'+R+'"""'}},7116:(xt,Se,a)=>{function t(k){return 9===k||32===k}function i(k){return k>=48&&k<=57}function v(k){return k>=97&&k<=122||k>=65&&k<=90}function d(k){return v(k)||95===k}function s(k){return v(k)||i(k)||95===k}a.d(Se,{FD:()=>t,HQ:()=>s,LQ:()=>d,X1:()=>i})},5560:(xt,Se,a)=>{a.d(Se,{h:()=>t});var t=(()=>((t=t||{}).NAME="Name",t.DOCUMENT="Document",t.OPERATION_DEFINITION="OperationDefinition",t.VARIABLE_DEFINITION="VariableDefinition",t.SELECTION_SET="SelectionSet",t.FIELD="Field",t.ARGUMENT="Argument",t.FRAGMENT_SPREAD="FragmentSpread",t.INLINE_FRAGMENT="InlineFragment",t.FRAGMENT_DEFINITION="FragmentDefinition",t.VARIABLE="Variable",t.INT="IntValue",t.FLOAT="FloatValue",t.STRING="StringValue",t.BOOLEAN="BooleanValue",t.NULL="NullValue",t.ENUM="EnumValue",t.LIST="ListValue",t.OBJECT="ObjectValue",t.OBJECT_FIELD="ObjectField",t.DIRECTIVE="Directive",t.NAMED_TYPE="NamedType",t.LIST_TYPE="ListType",t.NON_NULL_TYPE="NonNullType",t.SCHEMA_DEFINITION="SchemaDefinition",t.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",t.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",t.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",t.FIELD_DEFINITION="FieldDefinition",t.INPUT_VALUE_DEFINITION="InputValueDefinition",t.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",t.UNION_TYPE_DEFINITION="UnionTypeDefinition",t.ENUM_TYPE_DEFINITION="EnumTypeDefinition",t.ENUM_VALUE_DEFINITION="EnumValueDefinition",t.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",t.DIRECTIVE_DEFINITION="DirectiveDefinition",t.SCHEMA_EXTENSION="SchemaExtension",t.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",t.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",t.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",t.UNION_TYPE_EXTENSION="UnionTypeExtension",t.ENUM_TYPE_EXTENSION="EnumTypeExtension",t.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",t))()},86:(xt,Se,a)=>{a.d(Se,{S:()=>G});var t=a(7571);const v=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function d(e){return s[e.charCodeAt(0)]}const s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var k=a(8016);function G(e){return(0,k.Vn)(e,P)}const P={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>S(e.definitions,"\n\n")},OperationDefinition:{leave(e){const F=L("(",S(e.variableDefinitions,", "),")"),R=S([e.operation,S([e.name,F]),S(e.directives," ")]," ");return("query"===R?"":R+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:F,defaultValue:R,directives:ge})=>e+": "+F+L(" = ",R)+L(" ",S(ge," "))},SelectionSet:{leave:({selections:e})=>w(e)},Field:{leave({alias:e,name:F,arguments:R,directives:ge,selectionSet:ze}){const K=L("",e,": ")+F;let N=K+L("(",S(R,", "),")");return N.length>80&&(N=K+L("(\n",Y(S(R,"\n")),"\n)")),S([N,S(ge," "),ze]," ")}},Argument:{leave:({name:e,value:F})=>e+": "+F},FragmentSpread:{leave:({name:e,directives:F})=>"..."+e+L(" ",S(F," "))},InlineFragment:{leave:({typeCondition:e,directives:F,selectionSet:R})=>S(["...",L("on ",e),S(F," "),R]," ")},FragmentDefinition:{leave:({name:e,typeCondition:F,variableDefinitions:R,directives:ge,selectionSet:ze})=>`fragment ${e}${L("(",S(R,", "),")")} on ${F} ${L("",S(ge," ")," ")}`+ze},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:F})=>F?(0,t.LZ)(e):function i(e){return`"${e.replace(v,d)}"`}(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+S(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+S(e,", ")+"}"},ObjectField:{leave:({name:e,value:F})=>e+": "+F},Directive:{leave:({name:e,arguments:F})=>"@"+e+L("(",S(F,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:F,operationTypes:R})=>L("",e,"\n")+S(["schema",S(F," "),w(R)]," ")},OperationTypeDefinition:{leave:({operation:e,type:F})=>e+": "+F},ScalarTypeDefinition:{leave:({description:e,name:F,directives:R})=>L("",e,"\n")+S(["scalar",F,S(R," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:F,interfaces:R,directives:ge,fields:ze})=>L("",e,"\n")+S(["type",F,L("implements ",S(R," & ")),S(ge," "),w(ze)]," ")},FieldDefinition:{leave:({description:e,name:F,arguments:R,type:ge,directives:ze})=>L("",e,"\n")+F+(M(R)?L("(\n",Y(S(R,"\n")),"\n)"):L("(",S(R,", "),")"))+": "+ge+L(" ",S(ze," "))},InputValueDefinition:{leave:({description:e,name:F,type:R,defaultValue:ge,directives:ze})=>L("",e,"\n")+S([F+": "+R,L("= ",ge),S(ze," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:F,interfaces:R,directives:ge,fields:ze})=>L("",e,"\n")+S(["interface",F,L("implements ",S(R," & ")),S(ge," "),w(ze)]," ")},UnionTypeDefinition:{leave:({description:e,name:F,directives:R,types:ge})=>L("",e,"\n")+S(["union",F,S(R," "),L("= ",S(ge," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:F,directives:R,values:ge})=>L("",e,"\n")+S(["enum",F,S(R," "),w(ge)]," ")},EnumValueDefinition:{leave:({description:e,name:F,directives:R})=>L("",e,"\n")+S([F,S(R," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:F,directives:R,fields:ge})=>L("",e,"\n")+S(["input",F,S(R," "),w(ge)]," ")},DirectiveDefinition:{leave:({description:e,name:F,arguments:R,repeatable:ge,locations:ze})=>L("",e,"\n")+"directive @"+F+(M(R)?L("(\n",Y(S(R,"\n")),"\n)"):L("(",S(R,", "),")"))+(ge?" repeatable":"")+" on "+S(ze," | ")},SchemaExtension:{leave:({directives:e,operationTypes:F})=>S(["extend schema",S(e," "),w(F)]," ")},ScalarTypeExtension:{leave:({name:e,directives:F})=>S(["extend scalar",e,S(F," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:F,directives:R,fields:ge})=>S(["extend type",e,L("implements ",S(F," & ")),S(R," "),w(ge)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:F,directives:R,fields:ge})=>S(["extend interface",e,L("implements ",S(F," & ")),S(R," "),w(ge)]," ")},UnionTypeExtension:{leave:({name:e,directives:F,types:R})=>S(["extend union",e,S(F," "),L("= ",S(R," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:F,values:R})=>S(["extend enum",e,S(F," "),w(R)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:F,fields:R})=>S(["extend input",e,S(F," "),w(R)]," ")}};function S(e,F=""){var R;return null!==(R=e?.filter(ge=>ge).join(F))&&void 0!==R?R:""}function w(e){return L("{\n",Y(S(e,"\n")),"\n}")}function L(e,F,R=""){return null!=F&&""!==F?e+F+R:""}function Y(e){return L(" ",e.replace(/\n/g,"\n "))}function M(e){var F;return null!==(F=e?.some(R=>R.includes("\n")))&&void 0!==F&&F}},9456:(xt,Se,a)=>{a.d(Se,{H:()=>d,T:()=>s});var t=a(1569),i=a(5746);const v=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(G,U){return G instanceof U}:function(G,U){if(G instanceof U)return!0;if("object"==typeof G&&null!==G){var P;const S=U.prototype[Symbol.toStringTag];if(S===(Symbol.toStringTag in G?G[Symbol.toStringTag]:null===(P=G.constructor)||void 0===P?void 0:P.name)){const L=(0,i.X)(G);throw new Error(`Cannot use ${S} "${L}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class d{constructor(G,U="GraphQL request",P={line:1,column:1}){"string"==typeof G||(0,t.a)(!1,`Body must be a string. Received: ${(0,i.X)(G)}.`),this.body=G,this.name=U,this.locationOffset=P,this.locationOffset.line>0||(0,t.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,t.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(k){return v(k,d)}},8016:(xt,Se,a)=>{a.d(Se,{$_:()=>s,Vn:()=>k});var t=a(1569),i=a(5746),v=a(2236),d=a(5560);const s=Object.freeze({});function k(S,w,L=v.h8){const Y=new Map;for(const de of Object.values(d.h))Y.set(de,U(w,de));let M,K,N,e=Array.isArray(S),F=[S],R=-1,ge=[],ze=S;const V=[],O=[];do{R++;const de=R===F.length,W=de&&0!==ge.length;if(de){if(K=0===O.length?void 0:V[V.length-1],ze=N,N=O.pop(),W)if(e){ze=ze.slice();let Q=0;for(const[ae,fe]of ge){const be=ae-Q;null===fe?(ze.splice(be,1),Q++):ze[be]=fe}}else{ze=Object.defineProperties({},Object.getOwnPropertyDescriptors(ze));for(const[Q,ae]of ge)ze[Q]=ae}R=M.index,F=M.keys,ge=M.edits,e=M.inArray,M=M.prev}else if(N){if(K=e?R:F[R],ze=N[K],null==ze)continue;V.push(K)}let ve;if(!Array.isArray(ze)){var A,x;(0,v.UG)(ze)||(0,t.a)(!1,`Invalid AST Node: ${(0,i.X)(ze)}.`);const Q=de?null===(A=Y.get(ze.kind))||void 0===A?void 0:A.leave:null===(x=Y.get(ze.kind))||void 0===x?void 0:x.enter;if(ve=Q?.call(w,ze,K,N,V,O),ve===s)break;if(!1===ve){if(!de){V.pop();continue}}else if(void 0!==ve&&(ge.push([K,ve]),!de)){if(!(0,v.UG)(ve)){V.pop();continue}ze=ve}}var pe;void 0===ve&&W&&ge.push([K,ze]),de?V.pop():(M={inArray:e,index:R,keys:F,edits:ge,prev:M},e=Array.isArray(ze),F=e?ze:null!==(pe=L[ze.kind])&&void 0!==pe?pe:[],R=-1,ge=[],N&&O.push(N),N=ze)}while(void 0!==M);return 0!==ge.length?ge[ge.length-1][1]:S}function U(S,w){const L=S[w];return"object"==typeof L?L:"function"==typeof L?{enter:L,leave:void 0}:{enter:S.enter,leave:S.leave}}},3903:(xt,Se,a)=>{a.d(Se,{L:()=>Q,r:()=>ve});var t=a(655),i=a(5879),v=a(8645),d=a(9773),s=a(4194),k=a(874),G=a(7754),U=a(9388),P=a(6814),S=a(551),w=a(8324);function L(ae,fe){1&ae&&i.GkF(0)}function Y(ae,fe){if(1&ae&&(i.ynx(0),i.YNc(1,L,1,0,"ng-container",9),i.BQk()),2&ae){const be=i.oxw(3);i.xp6(1),i.Q6J("nzStringTemplateOutlet",be.nzIcon)}}function M(ae,fe){if(1&ae&&i._UZ(0,"span",10),2&ae){const be=i.oxw(3);i.Q6J("nzType",be.nzIconType||be.inferredIconType)("nzTheme",be.iconTheme)}}function e(ae,fe){if(1&ae&&(i.TgZ(0,"div",6),i.YNc(1,Y,2,1,"ng-container",7),i.YNc(2,M,1,2,"ng-template",null,8,i.W1O),i.qZA()),2&ae){const be=i.MAs(3),Ft=i.oxw(2);i.xp6(1),i.Q6J("ngIf",Ft.nzIcon)("ngIfElse",be)}}function F(ae,fe){if(1&ae&&(i.ynx(0),i._uU(1),i.BQk()),2&ae){const be=i.oxw(4);i.xp6(1),i.Oqu(be.nzMessage)}}function R(ae,fe){if(1&ae&&(i.TgZ(0,"span",14),i.YNc(1,F,2,1,"ng-container",9),i.qZA()),2&ae){const be=i.oxw(3);i.xp6(1),i.Q6J("nzStringTemplateOutlet",be.nzMessage)}}function ge(ae,fe){if(1&ae&&(i.ynx(0),i._uU(1),i.BQk()),2&ae){const be=i.oxw(4);i.xp6(1),i.Oqu(be.nzDescription)}}function ze(ae,fe){if(1&ae&&(i.TgZ(0,"span",15),i.YNc(1,ge,2,1,"ng-container",9),i.qZA()),2&ae){const be=i.oxw(3);i.xp6(1),i.Q6J("nzStringTemplateOutlet",be.nzDescription)}}function K(ae,fe){if(1&ae&&(i.TgZ(0,"div",11),i.YNc(1,R,2,1,"span",12),i.YNc(2,ze,2,1,"span",13),i.qZA()),2&ae){const be=i.oxw(2);i.xp6(1),i.Q6J("ngIf",be.nzMessage),i.xp6(1),i.Q6J("ngIf",be.nzDescription)}}function N(ae,fe){if(1&ae&&(i.ynx(0),i._uU(1),i.BQk()),2&ae){const be=i.oxw(3);i.xp6(1),i.Oqu(be.nzAction)}}function V(ae,fe){if(1&ae&&(i.TgZ(0,"div",16),i.YNc(1,N,2,1,"ng-container",9),i.qZA()),2&ae){const be=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",be.nzAction)}}function O(ae,fe){1&ae&&i._UZ(0,"span",19)}function A(ae,fe){if(1&ae&&(i.ynx(0),i.TgZ(1,"span",20),i._uU(2),i.qZA(),i.BQk()),2&ae){const be=i.oxw(4);i.xp6(2),i.Oqu(be.nzCloseText)}}function x(ae,fe){if(1&ae&&(i.ynx(0),i.YNc(1,A,3,1,"ng-container",9),i.BQk()),2&ae){const be=i.oxw(3);i.xp6(1),i.Q6J("nzStringTemplateOutlet",be.nzCloseText)}}function pe(ae,fe){if(1&ae){const be=i.EpF();i.TgZ(0,"button",17),i.NdJ("click",function(){i.CHM(be);const Dt=i.oxw(2);return i.KtG(Dt.closeAlert())}),i.YNc(1,O,1,0,"ng-template",null,18,i.W1O),i.YNc(3,x,2,1,"ng-container",7),i.qZA()}if(2&ae){const be=i.MAs(2),Ft=i.oxw(2);i.xp6(3),i.Q6J("ngIf",Ft.nzCloseText)("ngIfElse",be)}}function de(ae,fe){if(1&ae){const be=i.EpF();i.TgZ(0,"div",1),i.NdJ("@slideAlertMotion.done",function(){i.CHM(be);const Dt=i.oxw();return i.KtG(Dt.onFadeAnimationDone())}),i.YNc(1,e,4,2,"div",2),i.YNc(2,K,3,2,"div",3),i.YNc(3,V,2,1,"div",4),i.YNc(4,pe,4,2,"button",5),i.qZA()}if(2&ae){const be=i.oxw();i.ekj("ant-alert-rtl","rtl"===be.dir)("ant-alert-success","success"===be.nzType)("ant-alert-info","info"===be.nzType)("ant-alert-warning","warning"===be.nzType)("ant-alert-error","error"===be.nzType)("ant-alert-no-icon",!be.nzShowIcon)("ant-alert-banner",be.nzBanner)("ant-alert-closable",be.nzCloseable)("ant-alert-with-description",!!be.nzDescription),i.Q6J("@.disabled",be.nzNoAnimation)("@slideAlertMotion",void 0),i.xp6(1),i.Q6J("ngIf",be.nzShowIcon),i.xp6(1),i.Q6J("ngIf",be.nzMessage||be.nzDescription),i.xp6(1),i.Q6J("ngIf",be.nzAction),i.xp6(1),i.Q6J("ngIf",be.nzCloseable||be.nzCloseText)}}const W="alert";let ve=(()=>{class ae{constructor(be,Ft,Dt){this.nzConfigService=be,this.cdr=Ft,this.directionality=Dt,this._nzModuleName=W,this.nzAction=null,this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzIcon=null,this.nzOnClose=new i.vpe,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.dir="ltr",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new v.x,this.nzConfigService.getConfigChangeEventForComponent(W).pipe((0,d.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,d.R)(this.destroy$)).subscribe(be=>{this.dir=be,this.cdr.detectChanges()}),this.dir=this.directionality.value}closeAlert(){this.closed=!0}onFadeAnimationDone(){this.closed&&this.nzOnClose.emit(!0)}ngOnChanges(be){const{nzShowIcon:Ft,nzDescription:Dt,nzType:nn,nzBanner:Et}=be;if(Ft&&(this.isShowIconSet=!0),nn)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}Dt&&(this.iconTheme=this.nzDescription?"outline":"fill"),Et&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return ae.\u0275fac=function(be){return new(be||ae)(i.Y36(k.jY),i.Y36(i.sBO),i.Y36(U.Is,8))},ae.\u0275cmp=i.Xpm({type:ae,selectors:[["nz-alert"]],inputs:{nzAction:"nzAction",nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation",nzIcon:"nzIcon"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[i.TTD],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-rtl","ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],["class","ant-alert-icon",4,"ngIf"],["class","ant-alert-content",4,"ngIf"],["class","ant-alert-action",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],[1,"ant-alert-icon"],[4,"ngIf","ngIfElse"],["iconDefaultTemplate",""],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"],[1,"ant-alert-content"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],[1,"ant-alert-message"],[1,"ant-alert-description"],[1,"ant-alert-action"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(be,Ft){1&be&&i.YNc(0,de,5,24,"div",0),2&be&&i.Q6J("ngIf",!Ft.closed)},dependencies:[P.O5,S.Ls,w.f],encapsulation:2,data:{animation:[s.Rq]},changeDetection:0}),(0,t.gn)([(0,k.oS)(),(0,G.yF)()],ae.prototype,"nzCloseable",void 0),(0,t.gn)([(0,k.oS)(),(0,G.yF)()],ae.prototype,"nzShowIcon",void 0),(0,t.gn)([(0,G.yF)()],ae.prototype,"nzBanner",void 0),(0,t.gn)([(0,G.yF)()],ae.prototype,"nzNoAnimation",void 0),ae})(),Q=(()=>{class ae{}return ae.\u0275fac=function(be){return new(be||ae)},ae.\u0275mod=i.oAB({type:ae}),ae.\u0275inj=i.cJS({imports:[U.vT,P.ez,S.PV,w.T]}),ae})()},5717:(xt,Se,a)=>{a.d(Se,{ic:()=>Dt});var t=a(9388),i=a(9594),v=a(6814),d=a(5879),s=a(331),k=a(8324),G=a(824),U=a(8645),P=a(9773),S=a(9397),w=a(5177),L=a(2181),Y=a(6028),M=a(8484);const ae={provide:a(6223).JU,useExisting:(0,d.Gpc)(()=>be),multi:!0};let be=(()=>{class nn{get activeOption(){return this.nzAutocomplete&&this.nzAutocomplete.options.length?this.nzAutocomplete.activeItem:null}constructor(Ht,tn,un,In,Xe,Re){this.ngZone=Ht,this.elementRef=tn,this.overlay=un,this.viewContainerRef=In,this.nzInputGroupWhitSuffixOrPrefixDirective=Xe,this.document=Re,this.onChange=()=>{},this.onTouched=()=>{},this.panelOpen=!1,this.destroy$=new U.x,this.overlayRef=null,this.portal=null,this.previousValue=null}ngAfterViewInit(){this.nzAutocomplete&&this.nzAutocomplete.animationStateChange.pipe((0,P.R)(this.destroy$)).subscribe(Ht=>{"void"===Ht.toState&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.destroyPanel()}writeValue(Ht){this.ngZone.runOutsideAngular(()=>Promise.resolve(null).then(()=>this.setTriggerValue(Ht)))}registerOnChange(Ht){this.onChange=Ht}registerOnTouched(Ht){this.onTouched=Ht}setDisabledState(Ht){this.elementRef.nativeElement.disabled=Ht,this.closePanel()}openPanel(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()}closePanel(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.selectionChangeSubscription.unsubscribe(),this.overlayOutsideClickSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.portal=null))}handleKeydown(Ht){const tn=Ht.keyCode,un=tn===Y.LH||tn===Y.JH;tn===Y.hY&&Ht.preventDefault(),!this.panelOpen||tn!==Y.hY&&tn!==Y.Mf?this.panelOpen&&tn===Y.K5?this.nzAutocomplete.showPanel&&(Ht.preventDefault(),this.activeOption?this.activeOption.selectViaInteraction():this.closePanel()):this.panelOpen&&un&&this.nzAutocomplete.showPanel&&(Ht.stopPropagation(),Ht.preventDefault(),tn===Y.LH?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())}handleInput(Ht){const tn=Ht.target,un=this.document;let In=tn.value;"number"===tn.type&&(In=""===In?null:parseFloat(In)),this.previousValue!==In&&(this.previousValue=In,this.onChange(In),this.canOpen()&&un.activeElement===Ht.target&&this.openPanel())}handleFocus(){this.canOpen()&&this.openPanel()}handleBlur(){this.onTouched()}subscribeOptionsChange(){return this.nzAutocomplete.options.changes.pipe((0,S.b)(()=>this.positionStrategy.reapplyLastPosition()),(0,w.g)(0)).subscribe(()=>{this.resetActiveItem(),this.panelOpen&&this.overlayRef.updatePosition()})}subscribeSelectionChange(){return this.nzAutocomplete.selectionChange.subscribe(Ht=>{this.setValueAndClose(Ht)})}subscribeOverlayOutsideClick(){return this.overlayRef.outsidePointerEvents().pipe((0,L.h)(Ht=>!this.elementRef.nativeElement.contains(Ht.target))).subscribe(()=>{this.closePanel()})}attachOverlay(){if(!this.nzAutocomplete)throw function fe(){return Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}();!this.portal&&this.nzAutocomplete.template&&(this.portal=new M.UE(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick(),this.overlayRef.detachments().pipe((0,P.R)(this.destroy$)).subscribe(()=>{this.closePanel()})),this.nzAutocomplete.isOpen=this.panelOpen=!0}updateStatus(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()}destroyPanel(){this.overlayRef&&this.closePanel()}getOverlayConfig(){return new i.X_({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})}getConnectedElement(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}getOverlayPosition(){const Ht=[new i.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new i.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(Ht).withTransformOriginOn(".ant-select-dropdown"),this.positionStrategy}resetActiveItem(){const Ht=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==Ht?(this.nzAutocomplete.setActiveItem(Ht),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)}setValueAndClose(Ht){const tn=Ht.nzValue;this.setTriggerValue(Ht.getLabel()),this.onChange(tn),this.elementRef.nativeElement.focus(),this.closePanel()}setTriggerValue(Ht){const tn=this.nzAutocomplete.getOption(Ht),un=tn?tn.getLabel():Ht;this.elementRef.nativeElement.value=un??"",this.nzAutocomplete.nzBackfill||(this.previousValue=un)}doBackfill(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())}canOpen(){const Ht=this.elementRef.nativeElement;return!Ht.readOnly&&!Ht.disabled}}return nn.\u0275fac=function(Ht){return new(Ht||nn)(d.Y36(d.R0b),d.Y36(d.SBq),d.Y36(i.aV),d.Y36(d.s_b),d.Y36(G.ke,8),d.Y36(v.K0,8))},nn.\u0275dir=d.lG2({type:nn,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(Ht,tn){1&Ht&&d.NdJ("focusin",function(){return tn.handleFocus()})("blur",function(){return tn.handleBlur()})("input",function(In){return tn.handleInput(In)})("keydown",function(In){return tn.handleKeydown(In)})},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[d._Bn([ae])]}),nn})(),Dt=(()=>{class nn{}return nn.\u0275fac=function(Ht){return new(Ht||nn)},nn.\u0275mod=d.oAB({type:nn}),nn.\u0275inj=d.cJS({imports:[t.vT,v.ez,i.U8,k.T,s.g,G.o7]}),nn})()},6928:(xt,Se,a)=>{a.d(Se,{Dz:()=>e,Rt:()=>R});var t=a(655),i=a(5879),v=a(874),d=a(7754),s=a(2831),k=a(6814),G=a(551),U=a(9388);const P=["textEl"];function S(ge,ze){if(1&ge&&i._UZ(0,"span",3),2&ge){const K=i.oxw();i.Q6J("nzType",K.nzIcon)}}function w(ge,ze){if(1&ge){const K=i.EpF();i.TgZ(0,"img",4),i.NdJ("error",function(V){i.CHM(K);const O=i.oxw();return i.KtG(O.imgError(V))}),i.qZA()}if(2&ge){const K=i.oxw();i.Q6J("src",K.nzSrc,i.LSH),i.uIk("srcset",K.nzSrcSet)("alt",K.nzAlt)}}function L(ge,ze){if(1&ge&&(i.TgZ(0,"span",5,6),i._uU(2),i.qZA()),2&ge){const K=i.oxw();i.xp6(2),i.Oqu(K.nzText)}}let e=(()=>{class ge{constructor(K,N,V,O,A){this.nzConfigService=K,this.elementRef=N,this.cdr=V,this.platform=O,this.ngZone=A,this._nzModuleName="avatar",this.nzShape="circle",this.nzSize="default",this.nzGap=4,this.nzError=new i.vpe,this.hasText=!1,this.hasSrc=!0,this.hasIcon=!1,this.classMap={},this.customSize=null,this.el=this.elementRef.nativeElement}imgError(K){this.nzError.emit(K),K.defaultPrevented||(this.hasSrc=!1,this.hasIcon=!1,this.hasText=!1,this.nzIcon?this.hasIcon=!0:this.nzText&&(this.hasText=!0),this.cdr.detectChanges(),this.setSizeStyle(),this.notifyCalc())}ngOnChanges(){this.hasText=!this.nzSrc&&!!this.nzText,this.hasIcon=!this.nzSrc&&!!this.nzIcon,this.hasSrc=!!this.nzSrc,this.setSizeStyle(),this.notifyCalc()}calcStringSize(){if(!this.hasText)return;const K=this.textEl.nativeElement,N=K.offsetWidth,V=this.el.getBoundingClientRect().width,O=2*this.nzGap{setTimeout(()=>{this.calcStringSize()})})}setSizeStyle(){this.customSize="number"==typeof this.nzSize?`${this.nzSize}px`:null,this.cdr.markForCheck()}}return ge.\u0275fac=function(K){return new(K||ge)(i.Y36(v.jY),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(s.t4),i.Y36(i.R0b))},ge.\u0275cmp=i.Xpm({type:ge,selectors:[["nz-avatar"]],viewQuery:function(K,N){if(1&K&&i.Gf(P,5),2&K){let V;i.iGM(V=i.CRH())&&(N.textEl=V.first)}},hostAttrs:[1,"ant-avatar"],hostVars:20,hostBindings:function(K,N){2&K&&(i.Udp("width",N.customSize)("height",N.customSize)("line-height",N.customSize)("font-size",N.hasIcon&&N.customSize?N.nzSize/2:null,"px"),i.ekj("ant-avatar-lg","large"===N.nzSize)("ant-avatar-sm","small"===N.nzSize)("ant-avatar-square","square"===N.nzShape)("ant-avatar-circle","circle"===N.nzShape)("ant-avatar-icon",N.nzIcon)("ant-avatar-image",N.hasSrc))},inputs:{nzShape:"nzShape",nzSize:"nzSize",nzGap:"nzGap",nzText:"nzText",nzSrc:"nzSrc",nzSrcSet:"nzSrcSet",nzAlt:"nzAlt",nzIcon:"nzIcon"},outputs:{nzError:"nzError"},exportAs:["nzAvatar"],features:[i.TTD],decls:3,vars:3,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[3,"src","error",4,"ngIf"],["class","ant-avatar-string",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"src","error"],[1,"ant-avatar-string"],["textEl",""]],template:function(K,N){1&K&&(i.YNc(0,S,1,1,"span",0),i.YNc(1,w,1,3,"img",1),i.YNc(2,L,3,1,"span",2)),2&K&&(i.Q6J("ngIf",N.nzIcon&&N.hasIcon),i.xp6(1),i.Q6J("ngIf",N.nzSrc&&N.hasSrc),i.xp6(1),i.Q6J("ngIf",N.nzText&&N.hasText))},dependencies:[k.O5,G.Ls],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,v.oS)()],ge.prototype,"nzShape",void 0),(0,t.gn)([(0,v.oS)()],ge.prototype,"nzSize",void 0),(0,t.gn)([(0,v.oS)(),(0,d.Rn)()],ge.prototype,"nzGap",void 0),ge})(),R=(()=>{class ge{}return ge.\u0275fac=function(K){return new(K||ge)},ge.\u0275mod=i.oAB({type:ge}),ge.\u0275inj=i.cJS({imports:[U.vT,k.ez,G.PV,s.ud]}),ge})()},3640:(xt,Se,a)=>{a.d(Se,{F9:()=>W,mS:()=>ve,x7:()=>de});var t=a(655),i=a(5879),v=a(8645),d=a(9773),s=a(4194),k=a(874),G=a(7754),U=a(9388),P=a(331),S=a(6814),w=a(8324),L=a(7131);function Y(Q,ae){if(1&Q&&(i.TgZ(0,"p",6),i._uU(1),i.qZA()),2&Q){const fe=ae.$implicit,be=i.oxw(2).index,Ft=i.oxw(2);i.ekj("current",fe===Ft.countArray[be]),i.xp6(1),i.hij(" ",fe," ")}}function M(Q,ae){if(1&Q&&(i.ynx(0),i.YNc(1,Y,2,3,"p",5),i.BQk()),2&Q){const fe=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",fe.countSingleArray)}}function e(Q,ae){if(1&Q&&(i.TgZ(0,"span",3),i.YNc(1,M,2,1,"ng-container",4),i.qZA()),2&Q){const fe=ae.index,be=i.oxw(2);i.Udp("transform","translateY("+100*-be.countArray[fe]+"%)"),i.Q6J("nzNoAnimation",be.noAnimation),i.xp6(1),i.Q6J("ngIf",!be.nzDot&&void 0!==be.countArray[fe])}}function F(Q,ae){if(1&Q&&(i.ynx(0),i.YNc(1,e,2,4,"span",2),i.BQk()),2&Q){const fe=i.oxw();i.xp6(1),i.Q6J("ngForOf",fe.maxNumberArray)}}function R(Q,ae){if(1&Q&&i._uU(0),2&Q){const fe=i.oxw();i.hij("",fe.nzOverflowCount,"+")}}function ge(Q,ae){if(1&Q&&(i.ynx(0),i._uU(1),i.BQk()),2&Q){const fe=i.oxw(2);i.xp6(1),i.Oqu(fe.nzText)}}function ze(Q,ae){if(1&Q&&(i.ynx(0),i._UZ(1,"span",2),i.TgZ(2,"span",3),i.YNc(3,ge,2,1,"ng-container",1),i.qZA(),i.BQk()),2&Q){const fe=i.oxw();i.xp6(1),i.Gre("ant-badge-status-dot ant-badge-status-",fe.nzStatus||fe.presetColor,""),i.Udp("background",!fe.presetColor&&fe.nzColor),i.Q6J("ngStyle",fe.nzStyle),i.xp6(2),i.Q6J("nzStringTemplateOutlet",fe.nzText)}}function K(Q,ae){if(1&Q&&i._UZ(0,"nz-badge-sup",5),2&Q){const fe=i.oxw(2);i.Q6J("nzOffset",fe.nzOffset)("nzSize",fe.nzSize)("nzTitle",fe.nzTitle)("nzStyle",fe.nzStyle)("nzDot",fe.nzDot)("nzOverflowCount",fe.nzOverflowCount)("disableAnimation",!!(fe.nzStandalone||fe.nzStatus||fe.nzColor||null!=fe.noAnimation&&fe.noAnimation.nzNoAnimation))("nzCount",fe.nzCount)("noAnimation",!(null==fe.noAnimation||!fe.noAnimation.nzNoAnimation))}}function N(Q,ae){if(1&Q&&(i.ynx(0),i.YNc(1,K,1,9,"nz-badge-sup",4),i.BQk()),2&Q){const fe=i.oxw();i.xp6(1),i.Q6J("ngIf",fe.showSup)}}const V=["*"];function O(Q,ae){if(1&Q&&(i.ynx(0),i.TgZ(1,"span",3),i._uU(2),i.qZA(),i.BQk()),2&Q){const fe=i.oxw();i.xp6(2),i.Oqu(fe.nzText)}}const A=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let x=(()=>{class Q{constructor(){this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.nzSize="default",this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9]}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(fe){const{nzOverflowCount:be,nzCount:Ft}=fe;Ft&&"number"==typeof Ft.currentValue&&(this.count=Math.max(0,Ft.currentValue),this.countArray=this.count.toString().split("").map(Dt=>+Dt)),be&&this.generateMaxNumberArray()}}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275cmp=i.Xpm({type:Q,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:17,hostBindings:function(fe,be){2&fe&&(i.uIk("title",null===be.nzTitle?"":be.nzTitle||be.nzCount),i.d8E("@.disabled",be.disableAnimation)("@zoomBadgeMotion",void 0),i.Akn(be.nzStyle),i.Udp("right",be.nzOffset&&be.nzOffset[0]?-be.nzOffset[0]:null,"px")("margin-top",be.nzOffset&&be.nzOffset[1]?be.nzOffset[1]:null,"px"),i.ekj("ant-badge-count",!be.nzDot)("ant-badge-count-sm","small"===be.nzSize)("ant-badge-dot",be.nzDot)("ant-badge-multiple-words",be.countArray.length>=2))},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzCount:"nzCount",noAnimation:"noAnimation",nzSize:"nzSize"},exportAs:["nzBadgeSup"],features:[i.TTD],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(fe,be){if(1&fe&&(i.YNc(0,F,2,1,"ng-container",0),i.YNc(1,R,1,1,"ng-template",null,1,i.W1O)),2&fe){const Ft=i.MAs(2);i.Q6J("ngIf",be.count<=be.nzOverflowCount)("ngIfElse",Ft)}},dependencies:[S.sg,S.O5,P.P],encapsulation:2,data:{animation:[s.Ev]},changeDetection:0}),Q})(),de=(()=>{class Q{constructor(fe,be,Ft,Dt,nn,Et){this.nzConfigService=fe,this.renderer=be,this.cdr=Ft,this.elementRef=Dt,this.directionality=nn,this.noAnimation=Et,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new v.x,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null,this.nzSize="default"}ngOnInit(){this.directionality.change?.pipe((0,d.R)(this.destroy$)).subscribe(fe=>{this.dir=fe,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(fe){const{nzColor:be,nzShowDot:Ft,nzDot:Dt,nzCount:nn,nzShowZero:Et}=fe;be&&(this.presetColor=this.nzColor&&-1!==A.indexOf(this.nzColor)?this.nzColor:null),(Ft||Dt||nn||Et)&&(this.showSup=this.nzShowDot&&this.nzDot||"number"==typeof this.nzCount&&this.nzCount>0||"number"==typeof this.nzCount&&this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Q.\u0275fac=function(fe){return new(fe||Q)(i.Y36(k.jY),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(U.Is,8),i.Y36(P.P,9))},Q.\u0275cmp=i.Xpm({type:Q,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:4,hostBindings:function(fe,be){2&fe&&i.ekj("ant-badge-status",be.nzStatus)("ant-badge-not-a-wrapper",!!(be.nzStandalone||be.nzStatus||be.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset",nzSize:"nzSize"},exportAs:["nzBadge"],features:[i.TTD],ngContentSelectors:V,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(fe,be){1&fe&&(i.F$t(),i.YNc(0,ze,4,7,"ng-container",0),i.Hsn(1),i.YNc(2,N,2,1,"ng-container",1)),2&fe&&(i.Q6J("ngIf",be.nzStatus||be.nzColor),i.xp6(2),i.Q6J("nzStringTemplateOutlet",be.nzCount))},dependencies:[S.O5,S.PC,w.f,x],encapsulation:2,data:{animation:[s.Ev]},changeDetection:0}),(0,t.gn)([(0,G.yF)()],Q.prototype,"nzShowZero",void 0),(0,t.gn)([(0,G.yF)()],Q.prototype,"nzShowDot",void 0),(0,t.gn)([(0,G.yF)()],Q.prototype,"nzStandalone",void 0),(0,t.gn)([(0,G.yF)()],Q.prototype,"nzDot",void 0),(0,t.gn)([(0,k.oS)()],Q.prototype,"nzOverflowCount",void 0),(0,t.gn)([(0,k.oS)()],Q.prototype,"nzColor",void 0),Q})(),W=(()=>{class Q{constructor(){this.nzPlacement="end",this.nzText=null,this.presetColor=null}ngOnChanges(fe){const{nzColor:be}=fe;be&&(this.presetColor=this.nzColor&&-1!==A.indexOf(this.nzColor)?this.nzColor:null)}}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275cmp=i.Xpm({type:Q,selectors:[["nz-ribbon"]],hostAttrs:[1,"ant-ribbon-wrapper"],inputs:{nzColor:"nzColor",nzPlacement:"nzPlacement",nzText:"nzText"},exportAs:["nzRibbon"],features:[i.TTD],ngContentSelectors:V,decls:4,vars:11,consts:[[1,"ant-ribbon"],[4,"nzStringTemplateOutlet"],[1,"ant-ribbon-corner"],[1,"ant-ribbon-text"]],template:function(fe,be){1&fe&&(i.F$t(),i.Hsn(0),i.TgZ(1,"div",0),i.YNc(2,O,3,1,"ng-container",1),i._UZ(3,"div",2),i.qZA()),2&fe&&(i.xp6(1),i.Tol(be.presetColor&&"ant-ribbon-color-"+be.presetColor),i.Udp("background-color",!be.presetColor&&be.nzColor),i.ekj("ant-ribbon-placement-end","end"===be.nzPlacement)("ant-ribbon-placement-start","start"===be.nzPlacement),i.xp6(1),i.Q6J("nzStringTemplateOutlet",be.nzText),i.xp6(1),i.Udp("color",!be.presetColor&&be.nzColor))},dependencies:[w.f],encapsulation:2,changeDetection:0}),Q})(),ve=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=i.oAB({type:Q}),Q.\u0275inj=i.cJS({imports:[U.vT,S.ez,L.Q8,w.T,P.g]}),Q})()},2840:(xt,Se,a)=>{a.d(Se,{fY:()=>K,ix:()=>ze,sL:()=>N});var t=a(655),i=a(5879),v=a(8645),d=a(2438),s=a(9773),k=a(7921),G=a(2181),U=a(874),P=a(7754),S=a(551),w=a(9388),L=a(6814),Y=a(855),M=a(1958);const e=["nz-button",""];function F(V,O){1&V&&i._UZ(0,"span",1)}const R=["*"];let ze=(()=>{class V{insertSpan(A,x){A.forEach(pe=>{if("#text"===pe.nodeName){const de=x.createElement("span"),W=x.parentNode(pe);x.insertBefore(W,de,pe),x.appendChild(de,pe)}})}assertIconOnly(A,x){const pe=Array.from(A.childNodes),de=pe.filter(ae=>{const fe=Array.from(ae.childNodes||[]);return"SPAN"===ae.nodeName&&fe.length>0&&fe.every(be=>"svg"===be.nodeName)}).length,W=pe.every(ae=>"#text"!==ae.nodeName);pe.filter(ae=>{const fe=Array.from(ae.childNodes||[]);return!("SPAN"===ae.nodeName&&fe.length>0&&fe.every(be=>"svg"===be.nodeName))}).every(ae=>"SPAN"!==ae.nodeName)&&W&&de>=1&&x.addClass(A,"ant-btn-icon-only")}constructor(A,x,pe,de,W,ve){this.ngZone=A,this.elementRef=x,this.cdr=pe,this.renderer=de,this.nzConfigService=W,this.directionality=ve,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new v.x,this.loading$=new v.x,this.nzConfigService.getConfigChangeEventForComponent("button").pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,s.R)(this.destroy$)).subscribe(A=>{this.dir=A,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,d.R)(this.elementRef.nativeElement,"click",{capture:!0}).pipe((0,s.R)(this.destroy$)).subscribe(A=>{(this.disabled&&"A"===A.target?.tagName||this.nzLoading)&&(A.preventDefault(),A.stopImmediatePropagation())})})}ngOnChanges(A){const{nzLoading:x}=A;x&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe((0,k.O)(this.nzLoading),(0,G.h)(()=>!!this.nzIconDirectiveElement),(0,s.R)(this.destroy$)).subscribe(A=>{const x=this.nzIconDirectiveElement.nativeElement;A?this.renderer.setStyle(x,"display","none"):this.renderer.removeStyle(x,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return V.\u0275fac=function(A){return new(A||V)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(U.jY),i.Y36(w.Is,8))},V.\u0275cmp=i.Xpm({type:V,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(A,x,pe){if(1&A&&i.Suo(pe,S.Ls,5,i.SBq),2&A){let de;i.iGM(de=i.CRH())&&(x.nzIconDirectiveElement=de.first)}},hostAttrs:[1,"ant-btn"],hostVars:30,hostBindings:function(A,x){2&A&&(i.uIk("tabindex",x.disabled?-1:null===x.tabIndex?null:x.tabIndex)("disabled",x.disabled||null),i.ekj("ant-btn-primary","primary"===x.nzType)("ant-btn-dashed","dashed"===x.nzType)("ant-btn-link","link"===x.nzType)("ant-btn-text","text"===x.nzType)("ant-btn-circle","circle"===x.nzShape)("ant-btn-round","round"===x.nzShape)("ant-btn-lg","large"===x.nzSize)("ant-btn-sm","small"===x.nzSize)("ant-btn-dangerous",x.nzDanger)("ant-btn-loading",x.nzLoading)("ant-btn-background-ghost",x.nzGhost)("ant-btn-block",x.nzBlock)("ant-input-search-button",x.nzSearch)("ant-btn-rtl","rtl"===x.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[i.TTD],attrs:e,ngContentSelectors:R,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(A,x){1&A&&(i.F$t(),i.YNc(0,F,1,0,"span",0),i.Hsn(1)),2&A&&i.Q6J("ngIf",x.nzLoading)},dependencies:[L.O5,S.Ls,Y.w],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,P.yF)()],V.prototype,"nzBlock",void 0),(0,t.gn)([(0,P.yF)()],V.prototype,"nzGhost",void 0),(0,t.gn)([(0,P.yF)()],V.prototype,"nzSearch",void 0),(0,t.gn)([(0,P.yF)()],V.prototype,"nzLoading",void 0),(0,t.gn)([(0,P.yF)()],V.prototype,"nzDanger",void 0),(0,t.gn)([(0,P.yF)()],V.prototype,"disabled",void 0),(0,t.gn)([(0,U.oS)()],V.prototype,"nzSize",void 0),V})(),K=(()=>{class V{constructor(A){this.directionality=A,this.nzSize="default",this.dir="ltr",this.destroy$=new v.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,s.R)(this.destroy$)).subscribe(A=>{this.dir=A})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return V.\u0275fac=function(A){return new(A||V)(i.Y36(w.Is,8))},V.\u0275cmp=i.Xpm({type:V,selectors:[["nz-button-group"]],hostAttrs:[1,"ant-btn-group"],hostVars:6,hostBindings:function(A,x){2&A&&i.ekj("ant-btn-group-lg","large"===x.nzSize)("ant-btn-group-sm","small"===x.nzSize)("ant-btn-group-rtl","rtl"===x.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:R,decls:1,vars:0,template:function(A,x){1&A&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),V})(),N=(()=>{class V{}return V.\u0275fac=function(A){return new(A||V)},V.\u0275mod=i.oAB({type:V}),V.\u0275inj=i.cJS({imports:[w.vT,L.ez,M.vG,S.PV,Y.a,Y.a,M.vG]}),V})()},2962:(xt,Se,a)=>{a.d(Se,{_i:()=>nn,bd:()=>tn,vh:()=>In});var t=a(655),i=a(5879),v=a(7754),d=a(8645),s=a(9773),k=a(874),G=a(9388),U=a(6814),P=a(8324);function S(Xe,Re){1&Xe&&i.Hsn(0)}const w=["*"];function L(Xe,Re){1&Xe&&(i.TgZ(0,"div",4),i._UZ(1,"div",5),i.qZA()),2&Xe&&i.Q6J("ngClass",Re.$implicit)}function Y(Xe,Re){if(1&Xe&&(i.TgZ(0,"div",2),i.YNc(1,L,2,1,"div",3),i.qZA()),2&Xe){const Ct=Re.$implicit;i.xp6(1),i.Q6J("ngForOf",Ct)}}function M(Xe,Re){if(1&Xe&&(i.ynx(0),i._uU(1),i.BQk()),2&Xe){const Ct=i.oxw(3);i.xp6(1),i.Oqu(Ct.nzTitle)}}function e(Xe,Re){if(1&Xe&&(i.TgZ(0,"div",11),i.YNc(1,M,2,1,"ng-container",12),i.qZA()),2&Xe){const Ct=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",Ct.nzTitle)}}function F(Xe,Re){if(1&Xe&&(i.ynx(0),i._uU(1),i.BQk()),2&Xe){const Ct=i.oxw(3);i.xp6(1),i.Oqu(Ct.nzExtra)}}function R(Xe,Re){if(1&Xe&&(i.TgZ(0,"div",13),i.YNc(1,F,2,1,"ng-container",12),i.qZA()),2&Xe){const Ct=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",Ct.nzExtra)}}function ge(Xe,Re){}function ze(Xe,Re){if(1&Xe&&(i.ynx(0),i.YNc(1,ge,0,0,"ng-template",14),i.BQk()),2&Xe){const Ct=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",Ct.listOfNzCardTabComponent.template)}}function K(Xe,Re){if(1&Xe&&(i.TgZ(0,"div",6)(1,"div",7),i.YNc(2,e,2,1,"div",8),i.YNc(3,R,2,1,"div",9),i.qZA(),i.YNc(4,ze,2,1,"ng-container",10),i.qZA()),2&Xe){const Ct=i.oxw();i.xp6(2),i.Q6J("ngIf",Ct.nzTitle),i.xp6(1),i.Q6J("ngIf",Ct.nzExtra),i.xp6(1),i.Q6J("ngIf",Ct.listOfNzCardTabComponent)}}function N(Xe,Re){}function V(Xe,Re){if(1&Xe&&(i.TgZ(0,"div",15),i.YNc(1,N,0,0,"ng-template",14),i.qZA()),2&Xe){const Ct=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",Ct.nzCover)}}function O(Xe,Re){1&Xe&&(i.ynx(0),i.Hsn(1),i.BQk())}function A(Xe,Re){1&Xe&&i._UZ(0,"nz-card-loading")}function x(Xe,Re){}function pe(Xe,Re){if(1&Xe&&(i.TgZ(0,"li")(1,"span"),i.YNc(2,x,0,0,"ng-template",14),i.qZA()()),2&Xe){const Ct=Re.$implicit,je=i.oxw(2);i.Udp("width",100/je.nzActions.length,"%"),i.xp6(2),i.Q6J("ngTemplateOutlet",Ct)}}function de(Xe,Re){if(1&Xe&&(i.TgZ(0,"ul",16),i.YNc(1,pe,3,3,"li",17),i.qZA()),2&Xe){const Ct=i.oxw();i.xp6(1),i.Q6J("ngForOf",Ct.nzActions)}}let Dt=(()=>{class Xe{constructor(){this.nzHoverable=!0}}return Xe.\u0275fac=function(Ct){return new(Ct||Xe)},Xe.\u0275dir=i.lG2({type:Xe,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(Ct,je){2&Ct&&i.ekj("ant-card-hoverable",je.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"]}),(0,t.gn)([(0,v.yF)()],Xe.prototype,"nzHoverable",void 0),Xe})(),nn=(()=>{class Xe{}return Xe.\u0275fac=function(Ct){return new(Ct||Xe)},Xe.\u0275cmp=i.Xpm({type:Xe,selectors:[["nz-card-tab"]],viewQuery:function(Ct,je){if(1&Ct&&i.Gf(i.Rgc,7),2&Ct){let Yt;i.iGM(Yt=i.CRH())&&(je.template=Yt.first)}},exportAs:["nzCardTab"],ngContentSelectors:w,decls:1,vars:0,template:function(Ct,je){1&Ct&&(i.F$t(),i.YNc(0,S,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Xe})(),Et=(()=>{class Xe{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}}return Xe.\u0275fac=function(Ct){return new(Ct||Xe)},Xe.\u0275cmp=i.Xpm({type:Xe,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(Ct,je){1&Ct&&(i.TgZ(0,"div",0),i.YNc(1,Y,2,1,"div",1),i.qZA()),2&Ct&&(i.xp6(1),i.Q6J("ngForOf",je.listOfLoading))},dependencies:[U.mk,U.sg],encapsulation:2,changeDetection:0}),Xe})(),tn=(()=>{class Xe{constructor(Ct,je,Yt){this.nzConfigService=Ct,this.cdr=je,this.directionality=Yt,this._nzModuleName="card",this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new d.x,this.nzConfigService.getConfigChangeEventForComponent("card").pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,s.R)(this.destroy$)).subscribe(Ct=>{this.dir=Ct,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Xe.\u0275fac=function(Ct){return new(Ct||Xe)(i.Y36(k.jY),i.Y36(i.sBO),i.Y36(G.Is,8))},Xe.\u0275cmp=i.Xpm({type:Xe,selectors:[["nz-card"]],contentQueries:function(Ct,je,Yt){if(1&Ct&&(i.Suo(Yt,nn,5),i.Suo(Yt,Dt,4)),2&Ct){let qt;i.iGM(qt=i.CRH())&&(je.listOfNzCardTabComponent=qt.first),i.iGM(qt=i.CRH())&&(je.listOfNzCardGridDirective=qt)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(Ct,je){2&Ct&&i.ekj("ant-card-loading",je.nzLoading)("ant-card-bordered",!1===je.nzBorderless&&je.nzBordered)("ant-card-hoverable",je.nzHoverable)("ant-card-small","small"===je.nzSize)("ant-card-contain-grid",je.listOfNzCardGridDirective&&je.listOfNzCardGridDirective.length)("ant-card-type-inner","inner"===je.nzType)("ant-card-contain-tabs",!!je.listOfNzCardTabComponent)("ant-card-rtl","rtl"===je.dir)},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:w,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(Ct,je){if(1&Ct&&(i.F$t(),i.YNc(0,K,5,3,"div",0),i.YNc(1,V,2,1,"div",1),i.TgZ(2,"div",2),i.YNc(3,O,2,0,"ng-container",3),i.YNc(4,A,1,0,"ng-template",null,4,i.W1O),i.qZA(),i.YNc(6,de,2,1,"ul",5)),2&Ct){const Yt=i.MAs(5);i.Q6J("ngIf",je.nzTitle||je.nzExtra||je.listOfNzCardTabComponent),i.xp6(1),i.Q6J("ngIf",je.nzCover),i.xp6(1),i.Q6J("ngStyle",je.nzBodyStyle),i.xp6(1),i.Q6J("ngIf",!je.nzLoading)("ngIfElse",Yt),i.xp6(3),i.Q6J("ngIf",je.nzActions.length)}},dependencies:[U.sg,U.O5,U.tP,U.PC,P.f,Et],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,k.oS)(),(0,v.yF)()],Xe.prototype,"nzBordered",void 0),(0,t.gn)([(0,k.oS)(),(0,v.yF)()],Xe.prototype,"nzBorderless",void 0),(0,t.gn)([(0,v.yF)()],Xe.prototype,"nzLoading",void 0),(0,t.gn)([(0,k.oS)(),(0,v.yF)()],Xe.prototype,"nzHoverable",void 0),(0,t.gn)([(0,k.oS)()],Xe.prototype,"nzSize",void 0),Xe})(),In=(()=>{class Xe{}return Xe.\u0275fac=function(Ct){return new(Ct||Xe)},Xe.\u0275mod=i.oAB({type:Xe}),Xe.\u0275inj=i.cJS({imports:[U.ez,P.T,G.vT]}),Xe})()},8802:(xt,Se,a)=>{a.d(Se,{D3:()=>k,y7:()=>U});var t=a(5879),i=a(2495),v=a(5592),d=a(8645);let s=(()=>{class P{create(w){return typeof ResizeObserver>"u"?null:new ResizeObserver(w)}}return P.\u0275fac=function(w){return new(w||P)},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),k=(()=>{class P{constructor(w){this.nzResizeObserverFactory=w,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((w,L)=>this.cleanupObserver(L))}observe(w){const L=(0,i.fI)(w);return new v.y(Y=>{const e=this.observeElement(L).subscribe(Y);return()=>{e.unsubscribe(),this.unobserveElement(L)}})}observeElement(w){if(this.observedElements.has(w))this.observedElements.get(w).count++;else{const L=new d.x,Y=this.nzResizeObserverFactory.create(M=>L.next(M));Y&&Y.observe(w),this.observedElements.set(w,{observer:Y,stream:L,count:1})}return this.observedElements.get(w).stream}unobserveElement(w){this.observedElements.has(w)&&(this.observedElements.get(w).count--,this.observedElements.get(w).count||this.cleanupObserver(w))}cleanupObserver(w){if(this.observedElements.has(w)){const{observer:L,stream:Y}=this.observedElements.get(w);L&&L.disconnect(),Y.complete(),this.observedElements.delete(w)}}}return P.\u0275fac=function(w){return new(w||P)(t.LFG(s))},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),U=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275mod=t.oAB({type:P}),P.\u0275inj=t.cJS({providers:[s]}),P})()},2612:(xt,Se,a)=>{a.d(Se,{Ie:()=>R,Wr:()=>ze,ub:()=>ge});var t=a(655),i=a(5879),v=a(6223),d=a(8645),s=a(2438),k=a(9773),G=a(7754),U=a(4300),P=a(9388),S=a(883),w=a(6814);const L=["*"],Y=["inputElement"],M=["nz-checkbox",""];function e(K,N){if(1&K){const V=i.EpF();i.TgZ(0,"label",1),i.NdJ("nzCheckedChange",function(A){const pe=i.CHM(V).$implicit,de=i.oxw();return i.KtG(de.onCheckedChange(pe,A))}),i.TgZ(1,"span"),i._uU(2),i.qZA()()}if(2&K){const V=N.$implicit,O=i.oxw();i.Q6J("nzDisabled",V.disabled||O.nzDisabled)("nzChecked",V.checked),i.xp6(2),i.Oqu(V.label)}}let F=(()=>{class K{constructor(){this.nzOnChange=new i.vpe,this.checkboxList=[]}addCheckbox(V){this.checkboxList.push(V)}removeCheckbox(V){this.checkboxList.splice(this.checkboxList.indexOf(V),1)}onChange(){const V=this.checkboxList.filter(O=>O.nzChecked).map(O=>O.nzValue);this.nzOnChange.emit(V)}}return K.\u0275fac=function(V){return new(V||K)},K.\u0275cmp=i.Xpm({type:K,selectors:[["nz-checkbox-wrapper"]],hostAttrs:[1,"ant-checkbox-group"],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:L,decls:1,vars:0,template:function(V,O){1&V&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),K})(),R=(()=>{class K{innerCheckedChange(V){this.nzDisabled||(this.nzChecked=V,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(V){this.nzChecked=V,this.cdr.markForCheck()}registerOnChange(V){this.onChange=V}registerOnTouched(V){this.onTouched=V}setDisabledState(V){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||V,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(V,O,A,x,pe,de,W){this.ngZone=V,this.elementRef=O,this.nzCheckboxWrapperComponent=A,this.cdr=x,this.focusMonitor=pe,this.directionality=de,this.nzFormStatusService=W,this.dir="ltr",this.destroy$=new d.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new i.vpe,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.nzId=null}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,k.R)(this.destroy$)).subscribe(V=>{V||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),this.directionality.change.pipe((0,k.R)(this.destroy$)).subscribe(V=>{this.dir=V,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,s.R)(this.elementRef.nativeElement,"click").pipe((0,k.R)(this.destroy$)).subscribe(V=>{V.preventDefault(),this.focus(),!this.nzDisabled&&this.ngZone.run(()=>{this.innerCheckedChange(!this.nzChecked),this.cdr.markForCheck()})}),(0,s.R)(this.inputElement.nativeElement,"click").pipe((0,k.R)(this.destroy$)).subscribe(V=>V.stopPropagation())})}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}}return K.\u0275fac=function(V){return new(V||K)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(F,8),i.Y36(i.sBO),i.Y36(U.tE),i.Y36(P.Is,8),i.Y36(S.kH,8))},K.\u0275cmp=i.Xpm({type:K,selectors:[["","nz-checkbox",""]],viewQuery:function(V,O){if(1&V&&i.Gf(Y,7),2&V){let A;i.iGM(A=i.CRH())&&(O.inputElement=A.first)}},hostAttrs:[1,"ant-checkbox-wrapper"],hostVars:6,hostBindings:function(V,O){2&V&&i.ekj("ant-checkbox-wrapper-in-form-item",!!O.nzFormStatusService)("ant-checkbox-wrapper-checked",O.nzChecked)("ant-checkbox-rtl","rtl"===O.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked",nzId:"nzId"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[i._Bn([{provide:v.JU,useExisting:(0,i.Gpc)(()=>K),multi:!0}])],attrs:M,ngContentSelectors:L,decls:6,vars:11,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(V,O){1&V&&(i.F$t(),i.TgZ(0,"span",0)(1,"input",1,2),i.NdJ("ngModelChange",function(x){return O.innerCheckedChange(x)}),i.qZA(),i._UZ(3,"span",3),i.qZA(),i.TgZ(4,"span"),i.Hsn(5),i.qZA()),2&V&&(i.ekj("ant-checkbox-checked",O.nzChecked&&!O.nzIndeterminate)("ant-checkbox-disabled",O.nzDisabled)("ant-checkbox-indeterminate",O.nzIndeterminate),i.xp6(1),i.Q6J("checked",O.nzChecked)("ngModel",O.nzChecked)("disabled",O.nzDisabled),i.uIk("autofocus",O.nzAutoFocus?"autofocus":null)("id",O.nzId))},dependencies:[v.Wl,v.JJ,v.On],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,G.yF)()],K.prototype,"nzAutoFocus",void 0),(0,t.gn)([(0,G.yF)()],K.prototype,"nzDisabled",void 0),(0,t.gn)([(0,G.yF)()],K.prototype,"nzIndeterminate",void 0),(0,t.gn)([(0,G.yF)()],K.prototype,"nzChecked",void 0),K})(),ge=(()=>{class K{trackByOption(V,O){return O.value}onCheckedChange(V,O){V.checked=O,this.onChange(this.options)}constructor(V,O,A,x){this.elementRef=V,this.focusMonitor=O,this.cdr=A,this.directionality=x,this.onChange=()=>{},this.onTouched=()=>{},this.options=[],this.nzDisabled=!1,this.dir="ltr",this.destroy$=new d.x,this.isNzDisableFirstChange=!0}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,k.R)(this.destroy$)).subscribe(V=>{V||Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,k.R)(this.destroy$)).subscribe(V=>{this.dir=V,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}writeValue(V){this.options=V,this.cdr.markForCheck()}registerOnChange(V){this.onChange=V}registerOnTouched(V){this.onTouched=V}setDisabledState(V){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||V,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}}return K.\u0275fac=function(V){return new(V||K)(i.Y36(i.SBq),i.Y36(U.tE),i.Y36(i.sBO),i.Y36(P.Is,8))},K.\u0275cmp=i.Xpm({type:K,selectors:[["nz-checkbox-group"]],hostAttrs:[1,"ant-checkbox-group"],hostVars:2,hostBindings:function(V,O){2&V&&i.ekj("ant-checkbox-group-rtl","rtl"===O.dir)},inputs:{nzDisabled:"nzDisabled"},exportAs:["nzCheckboxGroup"],features:[i._Bn([{provide:v.JU,useExisting:(0,i.Gpc)(()=>K),multi:!0}])],decls:1,vars:2,consts:[["nz-checkbox","","class","ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange",4,"ngFor","ngForOf","ngForTrackBy"],["nz-checkbox","",1,"ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange"]],template:function(V,O){1&V&&i.YNc(0,e,3,3,"label",0),2&V&&i.Q6J("ngForOf",O.options)("ngForTrackBy",O.trackByOption)},dependencies:[w.sg,R],encapsulation:2}),(0,t.gn)([(0,G.yF)()],K.prototype,"nzDisabled",void 0),K})(),ze=(()=>{class K{}return K.\u0275fac=function(V){return new(V||K)},K.\u0275mod=i.oAB({type:K}),K.\u0275inj=i.cJS({imports:[P.vT,w.ez,v.u5,U.rt]}),K})()},4194:(xt,Se,a)=>{a.d(Se,{$C:()=>M,Ev:()=>e,J_:()=>d,MC:()=>k,Rq:()=>Y,c8:()=>G,mF:()=>L});var t=a(6825);let i=(()=>{class R{}return R.SLOW="0.3s",R.BASE="0.2s",R.FAST="0.1s",R})(),v=(()=>{class R{}return R.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",R.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",R.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",R.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",R.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",R.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",R.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",R.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",R.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",R.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",R.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",R.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",R.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",R.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",R})();const d=(0,t.X$)("collapseMotion",[(0,t.SB)("expanded",(0,t.oB)({height:"*"})),(0,t.SB)("collapsed",(0,t.oB)({height:0,overflow:"hidden"})),(0,t.SB)("hidden",(0,t.oB)({height:0,overflow:"hidden",borderTopWidth:"0"})),(0,t.eR)("expanded => collapsed",(0,t.jt)(`150ms ${v.EASE_IN_OUT}`)),(0,t.eR)("expanded => hidden",(0,t.jt)(`150ms ${v.EASE_IN_OUT}`)),(0,t.eR)("collapsed => expanded",(0,t.jt)(`150ms ${v.EASE_IN_OUT}`)),(0,t.eR)("hidden => expanded",(0,t.jt)(`150ms ${v.EASE_IN_OUT}`))]),k=((0,t.X$)("treeCollapseMotion",[(0,t.eR)("* => *",[(0,t.IO)("nz-tree-node:leave,nz-tree-builtin-node:leave",[(0,t.oB)({overflow:"hidden"}),(0,t.EY)(0,[(0,t.jt)(`150ms ${v.EASE_IN_OUT}`,(0,t.oB)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),(0,t.IO)("nz-tree-node:enter,nz-tree-builtin-node:enter",[(0,t.oB)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),(0,t.EY)(0,[(0,t.jt)(`150ms ${v.EASE_IN_OUT}`,(0,t.oB)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),(0,t.X$)("fadeMotion",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0}),(0,t.jt)(`${i.BASE}`,(0,t.oB)({opacity:1}))]),(0,t.eR)(":leave",[(0,t.oB)({opacity:1}),(0,t.jt)(`${i.BASE}`,(0,t.oB)({opacity:0}))])])),G=(0,t.X$)("helpMotion",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0,transform:"translateY(-5px)"}),(0,t.jt)(`${i.SLOW} ${v.EASE_IN_OUT}`,(0,t.oB)({opacity:1,transform:"translateY(0)"}))]),(0,t.eR)(":leave",[(0,t.oB)({opacity:1,transform:"translateY(0)"}),(0,t.jt)(`${i.SLOW} ${v.EASE_IN_OUT}`,(0,t.oB)({opacity:0,transform:"translateY(-5px)"}))])]),S=((0,t.X$)("moveUpMotion",[(0,t.eR)("* => enter",[(0,t.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),(0,t.jt)(`${i.BASE}`,(0,t.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),(0,t.eR)("* => leave",[(0,t.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),(0,t.jt)(`${i.BASE}`,(0,t.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),(0,t.X$)("notificationMotion",[(0,t.SB)("enterRight",(0,t.oB)({opacity:1,transform:"translateX(0)"})),(0,t.eR)("* => enterRight",[(0,t.oB)({opacity:0,transform:"translateX(5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("enterLeft",(0,t.oB)({opacity:1,transform:"translateX(0)"})),(0,t.eR)("* => enterLeft",[(0,t.oB)({opacity:0,transform:"translateX(-5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("enterTop",(0,t.oB)({opacity:1,transform:"translateY(0)"})),(0,t.eR)("* => enterTop",[(0,t.oB)({opacity:0,transform:"translateY(-5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("enterBottom",(0,t.oB)({opacity:1,transform:"translateY(0)"})),(0,t.eR)("* => enterBottom",[(0,t.oB)({opacity:0,transform:"translateY(5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("leave",(0,t.oB)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,t.eR)("* => leave",[(0,t.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,t.jt)("100ms linear")])]),`${i.BASE} ${v.EASE_OUT_QUINT}`),w=`${i.BASE} ${v.EASE_IN_QUINT}`,L=(0,t.X$)("slideMotion",[(0,t.SB)("void",(0,t.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,t.SB)("enter",(0,t.oB)({opacity:1,transform:"scaleY(1)"})),(0,t.eR)("void => *",[(0,t.jt)(S)]),(0,t.eR)("* => void",[(0,t.jt)(w)])]),Y=(0,t.X$)("slideAlertMotion",[(0,t.eR)(":leave",[(0,t.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,t.jt)(`${i.SLOW} ${v.EASE_IN_OUT_CIRC}`,(0,t.oB)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),M=(0,t.X$)("zoomBigMotion",[(0,t.eR)("void => active",[(0,t.oB)({opacity:0,transform:"scale(0.8)"}),(0,t.jt)(`${i.BASE} ${v.EASE_OUT_CIRC}`,(0,t.oB)({opacity:1,transform:"scale(1)"}))]),(0,t.eR)("active => void",[(0,t.oB)({opacity:1,transform:"scale(1)"}),(0,t.jt)(`${i.BASE} ${v.EASE_IN_OUT_CIRC}`,(0,t.oB)({opacity:0,transform:"scale(0.8)"}))])]),e=(0,t.X$)("zoomBadgeMotion",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),(0,t.jt)(`${i.SLOW} ${v.EASE_OUT_BACK}`,(0,t.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),(0,t.eR)(":leave",[(0,t.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),(0,t.jt)(`${i.SLOW} ${v.EASE_IN_BACK}`,(0,t.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);(0,t.X$)("thumbMotion",[(0,t.SB)("from",(0,t.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),(0,t.SB)("to",(0,t.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),(0,t.eR)("from => to",(0,t.jt)(`300ms ${v.EASE_IN_OUT}`))])},3324:(xt,Se,a)=>{a.d(Se,{Bh:()=>v,M8:()=>k,R_:()=>N,o2:()=>s,uf:()=>d});var t=a(4265),i=a(6379);const v=["success","processing","error","default","warning"],d=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function s(V){return-1!==d.indexOf(V)}function k(V){return-1!==v.indexOf(V)}const G=2,U=.16,P=.05,S=.05,w=.15,L=5,Y=4,M=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function e({r:V,g:O,b:A}){const x=(0,t.py)(V,O,A);return{h:360*x.h,s:x.s,v:x.v}}function F({r:V,g:O,b:A}){return`#${(0,t.vq)(V,O,A,!1)}`}function ge(V,O,A){let x;return x=Math.round(V.h)>=60&&Math.round(V.h)<=240?A?Math.round(V.h)-G*O:Math.round(V.h)+G*O:A?Math.round(V.h)+G*O:Math.round(V.h)-G*O,x<0?x+=360:x>=360&&(x-=360),x}function ze(V,O,A){if(0===V.h&&0===V.s)return V.s;let x;return x=A?V.s-U*O:O===Y?V.s+U:V.s+P*O,x>1&&(x=1),A&&O===L&&x>.1&&(x=.1),x<.06&&(x=.06),Number(x.toFixed(2))}function K(V,O,A){let x;return x=A?V.v+S*O:V.v-w*O,x>1&&(x=1),Number(x.toFixed(2))}function N(V,O={}){const A=[],x=(0,i.uA)(V);for(let pe=L;pe>0;pe-=1){const de=e(x),W=F((0,i.uA)({h:ge(de,pe,!0),s:ze(de,pe,!0),v:K(de,pe,!0)}));A.push(W)}A.push(F(x));for(let pe=1;pe<=Y;pe+=1){const de=e(x),W=F((0,i.uA)({h:ge(de,pe),s:ze(de,pe),v:K(de,pe)}));A.push(W)}return"dark"===O.theme?M.map(({index:pe,opacity:de})=>F(function R(V,O,A){const x=A/100;return{r:(O.r-V.r)*x+V.r,g:(O.g-V.g)*x+V.g,b:(O.b-V.b)*x+V.b}}((0,i.uA)(O.backgroundColor||"#141414"),(0,i.uA)(A[pe]),100*de))):A}},874:(xt,Se,a)=>{a.d(Se,{jY:()=>K,oS:()=>N});var t=a(5879),i=a(8645),v=a(2181),d=a(975),s=a(4265),k=a(1309),G=a(6379),U=a(6337),P=function(){function V(O,A){var x;if(void 0===O&&(O=""),void 0===A&&(A={}),O instanceof V)return O;"number"==typeof O&&(O=(0,s.Yt)(O)),this.originalInput=O;var pe=(0,G.uA)(O);this.originalInput=O,this.r=pe.r,this.g=pe.g,this.b=pe.b,this.a=pe.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(x=A.format)&&void 0!==x?x:pe.format,this.gradientType=A.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=pe.ok}return V.prototype.isDark=function(){return this.getBrightness()<128},V.prototype.isLight=function(){return!this.isDark()},V.prototype.getBrightness=function(){var O=this.toRgb();return(299*O.r+587*O.g+114*O.b)/1e3},V.prototype.getLuminance=function(){var O=this.toRgb(),de=O.r/255,W=O.g/255,ve=O.b/255;return.2126*(de<=.03928?de/12.92:Math.pow((de+.055)/1.055,2.4))+.7152*(W<=.03928?W/12.92:Math.pow((W+.055)/1.055,2.4))+.0722*(ve<=.03928?ve/12.92:Math.pow((ve+.055)/1.055,2.4))},V.prototype.getAlpha=function(){return this.a},V.prototype.setAlpha=function(O){return this.a=(0,U.Yq)(O),this.roundA=Math.round(100*this.a)/100,this},V.prototype.isMonochrome=function(){return 0===this.toHsl().s},V.prototype.toHsv=function(){var O=(0,s.py)(this.r,this.g,this.b);return{h:360*O.h,s:O.s,v:O.v,a:this.a}},V.prototype.toHsvString=function(){var O=(0,s.py)(this.r,this.g,this.b),A=Math.round(360*O.h),x=Math.round(100*O.s),pe=Math.round(100*O.v);return 1===this.a?"hsv(".concat(A,", ").concat(x,"%, ").concat(pe,"%)"):"hsva(".concat(A,", ").concat(x,"%, ").concat(pe,"%, ").concat(this.roundA,")")},V.prototype.toHsl=function(){var O=(0,s.lC)(this.r,this.g,this.b);return{h:360*O.h,s:O.s,l:O.l,a:this.a}},V.prototype.toHslString=function(){var O=(0,s.lC)(this.r,this.g,this.b),A=Math.round(360*O.h),x=Math.round(100*O.s),pe=Math.round(100*O.l);return 1===this.a?"hsl(".concat(A,", ").concat(x,"%, ").concat(pe,"%)"):"hsla(".concat(A,", ").concat(x,"%, ").concat(pe,"%, ").concat(this.roundA,")")},V.prototype.toHex=function(O){return void 0===O&&(O=!1),(0,s.vq)(this.r,this.g,this.b,O)},V.prototype.toHexString=function(O){return void 0===O&&(O=!1),"#"+this.toHex(O)},V.prototype.toHex8=function(O){return void 0===O&&(O=!1),(0,s.s)(this.r,this.g,this.b,this.a,O)},V.prototype.toHex8String=function(O){return void 0===O&&(O=!1),"#"+this.toHex8(O)},V.prototype.toHexShortString=function(O){return void 0===O&&(O=!1),1===this.a?this.toHexString(O):this.toHex8String(O)},V.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},V.prototype.toRgbString=function(){var O=Math.round(this.r),A=Math.round(this.g),x=Math.round(this.b);return 1===this.a?"rgb(".concat(O,", ").concat(A,", ").concat(x,")"):"rgba(".concat(O,", ").concat(A,", ").concat(x,", ").concat(this.roundA,")")},V.prototype.toPercentageRgb=function(){var O=function(A){return"".concat(Math.round(100*(0,U.sh)(A,255)),"%")};return{r:O(this.r),g:O(this.g),b:O(this.b),a:this.a}},V.prototype.toPercentageRgbString=function(){var O=function(A){return Math.round(100*(0,U.sh)(A,255))};return 1===this.a?"rgb(".concat(O(this.r),"%, ").concat(O(this.g),"%, ").concat(O(this.b),"%)"):"rgba(".concat(O(this.r),"%, ").concat(O(this.g),"%, ").concat(O(this.b),"%, ").concat(this.roundA,")")},V.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var O="#"+(0,s.vq)(this.r,this.g,this.b,!1),A=0,x=Object.entries(k.R);A=0&&(O.startsWith("hex")||"name"===O)?"name"===O&&0===this.a?this.toName():this.toRgbString():("rgb"===O&&(x=this.toRgbString()),"prgb"===O&&(x=this.toPercentageRgbString()),("hex"===O||"hex6"===O)&&(x=this.toHexString()),"hex3"===O&&(x=this.toHexString(!0)),"hex4"===O&&(x=this.toHex8String(!0)),"hex8"===O&&(x=this.toHex8String()),"name"===O&&(x=this.toName()),"hsl"===O&&(x=this.toHslString()),"hsv"===O&&(x=this.toHsvString()),x||this.toHexString())},V.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},V.prototype.clone=function(){return new V(this.toString())},V.prototype.lighten=function(O){void 0===O&&(O=10);var A=this.toHsl();return A.l+=O/100,A.l=(0,U.V2)(A.l),new V(A)},V.prototype.brighten=function(O){void 0===O&&(O=10);var A=this.toRgb();return A.r=Math.max(0,Math.min(255,A.r-Math.round(-O/100*255))),A.g=Math.max(0,Math.min(255,A.g-Math.round(-O/100*255))),A.b=Math.max(0,Math.min(255,A.b-Math.round(-O/100*255))),new V(A)},V.prototype.darken=function(O){void 0===O&&(O=10);var A=this.toHsl();return A.l-=O/100,A.l=(0,U.V2)(A.l),new V(A)},V.prototype.tint=function(O){return void 0===O&&(O=10),this.mix("white",O)},V.prototype.shade=function(O){return void 0===O&&(O=10),this.mix("black",O)},V.prototype.desaturate=function(O){void 0===O&&(O=10);var A=this.toHsl();return A.s-=O/100,A.s=(0,U.V2)(A.s),new V(A)},V.prototype.saturate=function(O){void 0===O&&(O=10);var A=this.toHsl();return A.s+=O/100,A.s=(0,U.V2)(A.s),new V(A)},V.prototype.greyscale=function(){return this.desaturate(100)},V.prototype.spin=function(O){var A=this.toHsl(),x=(A.h+O)%360;return A.h=x<0?360+x:x,new V(A)},V.prototype.mix=function(O,A){void 0===A&&(A=50);var x=this.toRgb(),pe=new V(O).toRgb(),de=A/100;return new V({r:(pe.r-x.r)*de+x.r,g:(pe.g-x.g)*de+x.g,b:(pe.b-x.b)*de+x.b,a:(pe.a-x.a)*de+x.a})},V.prototype.analogous=function(O,A){void 0===O&&(O=6),void 0===A&&(A=30);var x=this.toHsl(),pe=360/A,de=[this];for(x.h=(x.h-(pe*O>>1)+720)%360;--O;)x.h=(x.h+pe)%360,de.push(new V(x));return de},V.prototype.complement=function(){var O=this.toHsl();return O.h=(O.h+180)%360,new V(O)},V.prototype.monochromatic=function(O){void 0===O&&(O=6);for(var A=this.toHsv(),x=A.h,pe=A.s,de=A.v,W=[],ve=1/O;O--;)W.push(new V({h:x,s:pe,v:de})),de=(de+ve)%1;return W},V.prototype.splitcomplement=function(){var O=this.toHsl(),A=O.h;return[this,new V({h:(A+72)%360,s:O.s,l:O.l}),new V({h:(A+216)%360,s:O.s,l:O.l})]},V.prototype.onBackground=function(O){var A=this.toRgb(),x=new V(O).toRgb(),pe=A.a+x.a*(1-A.a);return new V({r:(A.r*A.a+x.r*x.a*(1-A.a))/pe,g:(A.g*A.a+x.g*x.a*(1-A.a))/pe,b:(A.b*A.a+x.b*x.a*(1-A.a))/pe,a:pe})},V.prototype.triad=function(){return this.polyad(3)},V.prototype.tetrad=function(){return this.polyad(4)},V.prototype.polyad=function(O){for(var A=this.toHsl(),x=A.h,pe=[this],de=360/O,W=1;W{let Q=W.clone();return Q=ve?.(Q)||Q,Q.toRgbString()},pe=(W,ve)=>{const Q=new P(W),ae=(0,w.R_)(Q.toRgbString());A[`${ve}-color`]=x(Q),A[`${ve}-color-disabled`]=ae[1],A[`${ve}-color-hover`]=ae[4],A[`${ve}-color-active`]=ae[7],A[`${ve}-color-outline`]=Q.clone().setAlpha(.2).toRgbString(),A[`${ve}-color-deprecated-bg`]=ae[1],A[`${ve}-color-deprecated-border`]=ae[3]};if(O.primaryColor){pe(O.primaryColor,"primary");const W=new P(O.primaryColor),ve=(0,w.R_)(W.toRgbString());ve.forEach((ae,fe)=>{A[`primary-${fe+1}`]=ae}),A["primary-color-deprecated-l-35"]=x(W,ae=>ae.lighten(35)),A["primary-color-deprecated-l-20"]=x(W,ae=>ae.lighten(20)),A["primary-color-deprecated-t-20"]=x(W,ae=>ae.tint(20)),A["primary-color-deprecated-t-50"]=x(W,ae=>ae.tint(50)),A["primary-color-deprecated-f-12"]=x(W,ae=>ae.setAlpha(.12*ae.getAlpha()));const Q=new P(ve[0]);A["primary-color-active-deprecated-f-30"]=x(Q,ae=>ae.setAlpha(.3*ae.getAlpha())),A["primary-color-active-deprecated-d-02"]=x(Q,ae=>ae.darken(2))}return O.successColor&&pe(O.successColor,"success"),O.warningColor&&pe(O.warningColor,"warning"),O.errorColor&&pe(O.errorColor,"error"),O.infoColor&&pe(O.infoColor,"info"),`\n :root {\n ${Object.keys(A).map(W=>`--${V}-${W}: ${A[W]};`).join("\n")}\n }\n `.trim()}(V,O);(0,Y.J8)()?(0,Y.hq)(A,`${e}-dynamic-theme`):(0,L.ZK)("NzConfigService: SSR do not support dynamic theme with css variables.")}const ge=function(V){return void 0!==V};let K=(()=>{class V{constructor(A){this.configUpdated$=new i.x,this.config=A||{},this.config.theme&&R(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme)}getConfig(){return this.config}getConfigForComponent(A){return this.config[A]}getConfigChangeEventForComponent(A){return this.configUpdated$.pipe((0,v.h)(x=>x===A),(0,d.h)(void 0))}set(A,x){this.config[A]={...this.config[A],...x},"theme"===A&&this.config.theme&&R(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme),this.configUpdated$.next(A)}}return V.\u0275fac=function(A){return new(A||V)(t.LFG(M,8))},V.\u0275prov=t.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();function N(){return function(O,A,x){const pe=`$$__zorroConfigDecorator__${A}`;return Object.defineProperty(O,pe,{configurable:!0,writable:!0,enumerable:!1}),{get(){const de=x?.get?x.get.bind(this)():this[pe],W=(this.propertyAssignCounter?.[A]||0)>1,ve=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[A];return W&&ge(de)?de:ge(ve)?ve:de},set(de){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[A]=(this.propertyAssignCounter[A]||0)+1,x?.set?x.set.bind(this)(de):this[pe]=de},configurable:!0,enumerable:!0}}}},883:(xt,Se,a)=>{a.d(Se,{kH:()=>G,mJ:()=>w,w_:()=>S,yW:()=>U});var t=a(5879),i=a(7328),v=a(5619),d=a(6814),s=a(551);function k(L,Y){if(1&L&&t._UZ(0,"span",1),2&L){const M=t.oxw();t.Q6J("nzType",M.iconType)}}let G=(()=>{class L{constructor(){this.formStatusChanges=new i.t(1)}}return L.\u0275fac=function(M){return new(M||L)},L.\u0275prov=t.Yz7({token:L,factory:L.\u0275fac}),L})(),U=(()=>{class L{constructor(){this.noFormStatus=new v.X(!1)}}return L.\u0275fac=function(M){return new(M||L)},L.\u0275prov=t.Yz7({token:L,factory:L.\u0275fac}),L})();const P={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let S=(()=>{class L{constructor(M){this.cdr=M,this.status="",this.iconType=null}ngOnChanges(M){this.updateIcon()}updateIcon(){this.iconType=this.status?P[this.status]:null,this.cdr.markForCheck()}}return L.\u0275fac=function(M){return new(M||L)(t.Y36(t.sBO))},L.\u0275cmp=t.Xpm({type:L,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(M,e){2&M&&t.ekj("ant-form-item-feedback-icon-error","error"===e.status)("ant-form-item-feedback-icon-warning","warning"===e.status)("ant-form-item-feedback-icon-success","success"===e.status)("ant-form-item-feedback-icon-validating","validating"===e.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[t.TTD],decls:1,vars:1,consts:[["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(M,e){1&M&&t.YNc(0,k,1,1,"span",0),2&M&&t.Q6J("ngIf",e.iconType)},dependencies:[d.O5,s.Ls],encapsulation:2,changeDetection:0}),L})(),w=(()=>{class L{}return L.\u0275fac=function(M){return new(M||L)},L.\u0275mod=t.oAB({type:L}),L.\u0275inj=t.cJS({imports:[d.ez,s.PV]}),L})()},7032:(xt,Se,a)=>{a.d(Se,{Bq:()=>d,ZK:()=>G});var t=a(5879);const v={},d="[NG-ZORRO]:";const G=(...S)=>function k(S,...w){(0,t.X6Q)()&&function s(...S){const w=S.reduce((L,Y)=>L+Y.toString(),"");return!v[w]&&(v[w]=!0,!0)}(...w)&&S(...w)}((...w)=>console.warn(d,...w),...S)},331:(xt,Se,a)=>{a.d(Se,{P:()=>G,g:()=>U});var t=a(6814),i=a(5879),v=a(655),d=a(2495),s=a(7754);const k="nz-animate-disabled";let G=(()=>{class P{constructor(w,L,Y){this.element=w,this.renderer=L,this.animationType=Y,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const w=(0,d.fI)(this.element);w&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(w,k):this.renderer.removeClass(w,k))}}return P.\u0275fac=function(w){return new(w||P)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.QbO,8))},P.\u0275dir=i.lG2({type:P,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[i.TTD]}),(0,v.gn)([(0,s.yF)()],P.prototype,"nzNoAnimation",void 0),P})(),U=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275mod=i.oAB({type:P}),P.\u0275inj=i.cJS({imports:[t.ez]}),P})()},8324:(xt,Se,a)=>{a.d(Se,{T:()=>s,f:()=>v});var t=a(6814),i=a(5879);let v=(()=>{class k{static ngTemplateContextGuard(U,P){return!0}recreateView(){this.viewContainer.clear();const U=this.nzStringTemplateOutlet instanceof i.Rgc;this.embeddedViewRef=this.viewContainer.createEmbeddedView(U?this.nzStringTemplateOutlet:this.templateRef,U?this.nzStringTemplateOutletContext:this.context)}updateContext(){const P=this.nzStringTemplateOutlet instanceof i.Rgc?this.nzStringTemplateOutletContext:this.context,S=this.embeddedViewRef.context;if(P)for(const w of Object.keys(P))S[w]=P[w]}constructor(U,P){this.viewContainer=U,this.templateRef=P,this.embeddedViewRef=null,this.context=new d,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}ngOnChanges(U){const{nzStringTemplateOutletContext:P,nzStringTemplateOutlet:S}=U;S&&(this.context.$implicit=S.currentValue),(()=>{let Y=!1;return S&&(Y=!!S.firstChange||(S.previousValue instanceof i.Rgc||S.currentValue instanceof i.Rgc)),P&&(F=>{const R=Object.keys(F.previousValue||{}),ge=Object.keys(F.currentValue||{});if(R.length===ge.length){for(const ze of ge)if(-1===R.indexOf(ze))return!0;return!1}return!0})(P)||Y})()?this.recreateView():this.updateContext()}}return k.\u0275fac=function(U){return new(U||k)(i.Y36(i.s_b),i.Y36(i.Rgc))},k.\u0275dir=i.lG2({type:k,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[i.TTD]}),k})();class d{}let s=(()=>{class k{}return k.\u0275fac=function(U){return new(U||k)},k.\u0275mod=i.oAB({type:k}),k.\u0275inj=i.cJS({imports:[t.ez]}),k})()},5448:(xt,Se,a)=>{a.d(Se,{A7:()=>S,Ek:()=>U,d_:()=>L,e4:()=>F,fG:()=>w,hQ:()=>e,yW:()=>G});var t=a(655),i=a(9594),v=a(5879),d=a(9773),s=a(9087),k=a(7754);const G={top:new i.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new i.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new i.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new i.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new i.tR({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new i.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new i.tR({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new i.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new i.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new i.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new i.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new i.tR({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new i.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new i.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},U=[G.top,G.right,G.bottom,G.left],S=[new i.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new i.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],w=[G.bottomLeft,new i.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function L(R){for(const ge in G)if(R.connectionPair.originX===G[ge].originX&&R.connectionPair.originY===G[ge].originY&&R.connectionPair.overlayX===G[ge].overlayX&&R.connectionPair.overlayY===G[ge].overlayY)return ge}new i.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),new i.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),new i.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),new i.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2);let e=(()=>{class R{constructor(ze,K){this.cdkConnectedOverlay=ze,this.nzDestroyService=K,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe((0,d.R)(this.nzDestroyService)).subscribe(N=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(N)})}updateArrowPosition(ze){const K=this.getOriginRect(),N=L(ze);let V=0,O=0;"topLeft"===N||"bottomLeft"===N?V=K.width/2-14:"topRight"===N||"bottomRight"===N?V=-(K.width/2-14):"leftTop"===N||"rightTop"===N?O=K.height/2-10:("leftBottom"===N||"rightBottom"===N)&&(O=-(K.height/2-10)),(this.cdkConnectedOverlay.offsetX!==V||this.cdkConnectedOverlay.offsetY!==O)&&(this.cdkConnectedOverlay.offsetY=O,this.cdkConnectedOverlay.offsetX=V,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof i.xu?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const ze=this.getFlexibleConnectedPositionStrategyOrigin();if(ze instanceof v.SBq)return ze.nativeElement.getBoundingClientRect();if(ze instanceof Element)return ze.getBoundingClientRect();const K=ze.width||0,N=ze.height||0;return{top:ze.y,bottom:ze.y+N,left:ze.x,right:ze.x+K,height:N,width:K}}}return R.\u0275fac=function(ze){return new(ze||R)(v.Y36(i.pI),v.Y36(s.kn))},R.\u0275dir=v.lG2({type:R,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[v._Bn([s.kn])]}),(0,t.gn)([(0,k.yF)()],R.prototype,"nzArrowPointAtCenter",void 0),R})(),F=(()=>{class R{}return R.\u0275fac=function(ze){return new(ze||R)},R.\u0275mod=v.oAB({type:R}),R.\u0275inj=v.cJS({}),R})()},6879:(xt,Se,a)=>{a.d(Se,{e:()=>s,h:()=>d});const t=["moz","ms","webkit"];function d(k){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(k);const G=t.filter(U=>`${U}CancelAnimationFrame`in window||`${U}CancelRequestAnimationFrame`in window)[0];return G?(window[`${G}CancelAnimationFrame`]||window[`${G}CancelRequestAnimationFrame`]).call(this,k):clearTimeout(k)}const s=function v(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const k=t.filter(G=>`${G}RequestAnimationFrame`in window)[0];return k?window[`${k}RequestAnimationFrame`]:function i(){let k=0;return function(G){const U=(new Date).getTime(),P=Math.max(0,16-(U-k)),S=setTimeout(()=>{G(U+P)},P);return k=U+P,S}}()}()},9087:(xt,Se,a)=>{a.d(Se,{G_:()=>V,MF:()=>N,Ml:()=>ze,WV:()=>O,kn:()=>pe,ow:()=>A,r3:()=>x,rI:()=>e});var t=a(5879),i=a(8645),v=a(9028),d=a(4716),s=a(7398),k=a(2181),G=a(9773),U=a(7921),P=a(3997),S=a(7754),w=a(6814),L=a(6879),Y=a(1088);const M=()=>{};let e=(()=>{class W{constructor(Q,ae){this.ngZone=Q,this.rendererFactory2=ae,this.resizeSource$=new i.x,this.listeners=0,this.disposeHandle=M,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=M}subscribe(){return this.registerListener(),this.resizeSource$.pipe((0,v.e)(16),(0,d.x)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=M)}}return W.\u0275fac=function(Q){return new(Q||W)(t.LFG(t.R0b),t.LFG(t.FYo))},W.\u0275prov=t.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),ze=(()=>{class W{constructor(Q){this.draggingThreshold=5,this.currentDraggingSequence=null,this.currentStartingPoint=null,this.handleRegistry=new Set,this.renderer=Q.createRenderer(null,null)}requestDraggingSequence(Q){return this.handleRegistry.size||this.registerDraggingHandler((0,S.z6)(Q)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=function ge(W){const ve=(0,S.wv)(W);return{x:ve.pageX,y:ve.pageY}}(Q),this.currentDraggingSequence=new i.x,this.currentDraggingSequence.pipe((0,s.U)(ae=>({x:ae.pageX-this.currentStartingPoint.x,y:ae.pageY-this.currentStartingPoint.y})),(0,k.h)(ae=>Math.abs(ae.x)>this.draggingThreshold||Math.abs(ae.y)>this.draggingThreshold),(0,d.x)(()=>this.teardownDraggingSequence()))}registerDraggingHandler(Q){Q?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",ae=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(ae.touches[0]||ae.changedTouches[0])})}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",ae=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(ae)})}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})}))}teardownDraggingSequence(){this.currentDraggingSequence=null}}return W.\u0275fac=function(Q){return new(Q||W)(t.LFG(t.FYo))},W.\u0275prov=t.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();function K(W,ve,Q,ae){const fe=Q-ve;let be=W/(ae/2);return be<1?fe/2*be*be*be+ve:fe/2*((be-=2)*be*be+2)+ve}let N=(()=>{class W{constructor(Q,ae){this.ngZone=Q,this.doc=ae}setScrollTop(Q,ae=0){Q===window?(this.doc.body.scrollTop=ae,this.doc.documentElement.scrollTop=ae):Q.scrollTop=ae}getOffset(Q){const ae={top:0,left:0};if(!Q||!Q.getClientRects().length)return ae;const fe=Q.getBoundingClientRect();if(fe.width||fe.height){const be=Q.ownerDocument.documentElement;ae.top=fe.top-be.clientTop,ae.left=fe.left-be.clientLeft}else ae.top=fe.top,ae.left=fe.left;return ae}getScroll(Q,ae=!0){if(typeof window>"u")return 0;const fe=ae?"scrollTop":"scrollLeft";let be=0;return this.isWindow(Q)?be=Q[ae?"pageYOffset":"pageXOffset"]:Q instanceof Document?be=Q.documentElement[fe]:Q&&(be=Q[fe]),Q&&!this.isWindow(Q)&&"number"!=typeof be&&(be=(Q.ownerDocument||Q).documentElement[fe]),be}isWindow(Q){return null!=Q&&Q===Q.window}scrollTo(Q,ae=0,fe={}){const be=Q||window,Ft=this.getScroll(be),Dt=Date.now(),{easing:nn,callback:Et,duration:Ht=450}=fe,tn=()=>{const In=Date.now()-Dt,Xe=(nn||K)(In>Ht?Ht:In,Ft,ae,Ht);this.isWindow(be)?be.scrollTo(window.pageXOffset,Xe):be instanceof HTMLDocument||"HTMLDocument"===be.constructor.name?be.documentElement.scrollTop=Xe:be.scrollTop=Xe,In(0,L.e)(tn))}}return W.\u0275fac=function(Q){return new(Q||W)(t.LFG(t.R0b),t.LFG(w.K0))},W.\u0275prov=t.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();var V=(()=>((V=V||{}).xxl="xxl",V.xl="xl",V.lg="lg",V.md="md",V.sm="sm",V.xs="xs",V))();const O={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},A={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"};let x=(()=>{class W{constructor(Q,ae){this.resizeService=Q,this.mediaMatcher=ae,this.destroy$=new i.x,this.resizeService.subscribe().pipe((0,G.R)(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(Q,ae){if(ae){const fe=()=>this.matchMedia(Q,!0);return this.resizeService.subscribe().pipe((0,s.U)(fe),(0,U.O)(fe()),(0,P.x)((be,Ft)=>be[0]===Ft[0]),(0,s.U)(be=>be[1]))}{const fe=()=>this.matchMedia(Q);return this.resizeService.subscribe().pipe((0,s.U)(fe),(0,U.O)(fe()),(0,P.x)())}}matchMedia(Q,ae){let fe=V.md;const be={};return Object.keys(Q).map(Ft=>{const Dt=Ft,nn=this.mediaMatcher.matchMedia(O[Dt]).matches;be[Ft]=nn,nn&&(fe=Dt)}),ae?[fe,be]:fe}}return W.\u0275fac=function(Q){return new(Q||W)(t.LFG(e),t.LFG(Y.vx))},W.\u0275prov=t.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),pe=(()=>{class W extends i.x{ngOnDestroy(){this.next(),this.complete()}}return W.\u0275fac=function(){let ve;return function(ae){return(ve||(ve=t.n5z(W)))(ae||W)}}(),W.\u0275prov=t.Yz7({token:W,factory:W.\u0275fac}),W})()},855:(xt,Se,a)=>{a.d(Se,{a:()=>d,w:()=>v});var t=a(2831),i=a(5879);let v=(()=>{class s{setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(G,U){this.elementRef=G,this.renderer=U,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return s.\u0275fac=function(G){return new(G||s)(i.Y36(i.SBq),i.Y36(i.Qsj))},s.\u0275dir=i.lG2({type:s,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[i.TTD]}),s})(),d=(()=>{class s{}return s.\u0275fac=function(G){return new(G||s)},s.\u0275mod=i.oAB({type:s}),s.\u0275inj=i.cJS({imports:[t.ud]}),s})()},7754:(xt,Se,a)=>{a.d(Se,{D8:()=>Ge,DX:()=>w,GL:()=>qt,GM:()=>vn,He:()=>R,J8:()=>st,L8:()=>we,Ly:()=>je,Rn:()=>O,Sm:()=>tn,WX:()=>ge,YM:()=>Ht,Zu:()=>I,cO:()=>P,hq:()=>J,kK:()=>L,lN:()=>_n,ov:()=>rn,pW:()=>x,qR:()=>ve,sw:()=>F,tI:()=>be,ui:()=>Et,wU:()=>Y,wv:()=>de,yF:()=>N,z6:()=>pe});var t=a(2495),i=a(7032),v=a(8645),d=a(2664),s=a(9666),k=a(2096),G=a(8180);function P(q,Me){if(!q||!Me||q.length!==Me.length)return!1;const _t=q.length;for(let tt=0;tt<_t;tt++)if(q[tt]!==Me[tt])return!1;return!0}function w(q){return typeof q<"u"&&null!==q}function L(q){return typeof q>"u"||null===q}function Y(q,Me){if(q===Me)return!0;if("object"!=typeof q||!q||"object"!=typeof Me||!Me)return!1;const _t=Object.keys(q),tt=Object.keys(Me);if(_t.length!==tt.length)return!1;const Je=Object.prototype.hasOwnProperty.bind(Me);for(let rt=0;rt<_t.length;rt++){const Nt=_t[rt];if(!Je(Nt)||q[Nt]!==Me[Nt])return!1}return!0}function F(q){return(0,t.Ig)(q)}function R(q,Me=0){return(0,t.t6)(q)?Number(q):Me}function ge(q){return(0,t.HM)(q)}function K(q,Me){return function _t(tt,Je,rt){const Nt=`$$__zorroPropDecorator__${Je}`;return Object.prototype.hasOwnProperty.call(tt,Nt)&&(0,i.ZK)(`The prop "${Nt}" is already exist, it will be overrided by ${q} decorator.`),Object.defineProperty(tt,Nt,{configurable:!0,writable:!0}),{get(){return rt&&rt.get?rt.get.bind(this)():this[Nt]},set(Tt){rt&&rt.set&&rt.set.bind(this)(Me(Tt)),this[Nt]=Me(Tt)}}}}function N(){return K("InputBoolean",F)}function O(q){return K("InputNumber",Me=>R(Me,q))}function x(q){if(!q.getClientRects().length)return{top:0,left:0};const Me=q.getBoundingClientRect(),_t=q.ownerDocument.defaultView;return{top:Me.top+_t.pageYOffset,left:Me.left+_t.pageXOffset}}function pe(q){return q.type.startsWith("touch")}function de(q){return pe(q)?q.touches[0]||q.changedTouches[0]:q}function ve(q,Me="@"){if("string"!=typeof q)return[];const _t=function W(q){const Me=Array.isArray(q)?q:[q];let _t=Me.join("").replace(/(\$|\^)/g,"\\$1");return Me.length>1&&(_t=`[${_t}]`),new RegExp(`(\\s|^)(${_t})[^\\s]*`,"g")}(Me),tt=q.match(_t);return null!==tt?tt.map(Je=>Je.trim()):[]}function be(q){return!!q&&"function"==typeof q.then&&"function"==typeof q.catch}function Et(q){return"number"==typeof q&&isFinite(q)}function Ht(q,Me){return Math.round(q*Math.pow(10,Me))/Math.pow(10,Me)}function tn(q,Me=0){return q.reduce((_t,tt)=>_t+tt,Me)}const In=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],Xe=typeof window<"u",Re=Xe&&null!=window.mozInnerScreenX,Ct=q=>parseInt(q,10);function je(q,Me,_t){if(!Xe)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");const tt=_t&&_t.debug||!1;if(tt){const ut=document.querySelector("#input-textarea-caret-position-mirror-div");ut&&ut.parentNode.removeChild(ut)}const Je=document.createElement("div");Je.id="input-textarea-caret-position-mirror-div",document.body.appendChild(Je);const rt=Je.style,Nt=window.getComputedStyle?window.getComputedStyle(q):q.currentStyle,Tt="INPUT"===q.nodeName;rt.whiteSpace="pre-wrap",Tt||(rt.wordWrap="break-word"),rt.position="absolute",tt||(rt.visibility="hidden"),In.forEach(ut=>{Tt&&"lineHeight"===ut?rt.lineHeight=Nt.height:rt[ut]=Nt[ut]}),Re?q.scrollHeight>Ct(Nt.height)&&(rt.overflowY="scroll"):rt.overflow="hidden",Je.textContent=q.value.substring(0,Me),Tt&&(Je.textContent=Je.textContent.replace(/\s/g,"\xa0"));const mn=document.createElement("span");mn.textContent=q.value.substring(Me)||".",Je.appendChild(mn);const Ze={top:mn.offsetTop+Ct(Nt.borderTopWidth),left:mn.offsetLeft+Ct(Nt.borderLeftWidth),height:Ct(Nt.lineHeight)};return tt?(mn.style.backgroundColor="#eee",function Yt(q,Me){const _t=getComputedStyle(q).getPropertyValue("font-size"),tt=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(tt),tt.id="DEBUG",tt.style.position="absolute",tt.style.backgroundColor="red",tt.style.height=_t,tt.style.width="1px",tt.style.top=`${q.getBoundingClientRect().top-q.scrollTop+window.pageYOffset+Me.top}px`,tt.style.left=`${q.getBoundingClientRect().left-q.scrollLeft+window.pageXOffset+Me.left}px`}(q,Ze)):document.body.removeChild(Je),Ze}function qt(q){if(typeof window<"u"&&window.document&&window.document.documentElement){const Me=Array.isArray(q)?q:[q],{documentElement:_t}=window.document;return Me.some(tt=>tt in _t.style)}return!1}function vn(q){return q?Object.keys(q).map(Me=>{const _t=q[Me];return`${Me}:${"string"==typeof _t?_t:`${_t}px`}`}).join(";"):""}const Dn=1,Wt=3,It=8;let $e;const Ve={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function Pe(q){if(!q)return 0;const Me=q.match(/^\d*(\.\d*)?/);return Me?Number(Me[0]):0}function we(q,Me,_t,tt,Je,rt=""){$e||($e=document.createElement("div"),$e.setAttribute("aria-hidden","true"),document.body.appendChild($e));const Nt=window.getComputedStyle(q),Tt=function We(q){return Array.prototype.slice.apply(q).map(_t=>`${_t}: ${q.getPropertyValue(_t)};`).join("")}(Nt),mn=Pe(Nt.lineHeight),Ze=Math.round(mn*(Me+1)+Pe(Nt.paddingTop)+Pe(Nt.paddingBottom));$e.setAttribute("style",Tt),$e.style.position="fixed",$e.style.left="0",$e.style.height="auto",$e.style.minHeight="auto",$e.style.maxHeight="auto",$e.style.top="-999999px",$e.style.zIndex="-1000",$e.style.textOverflow="clip",$e.style.whiteSpace="normal",$e.style.webkitLineClamp="none";const ut=function He(q){const Me=[];return q.forEach(_t=>{const tt=Me[Me.length-1];tt&&_t.nodeType===Wt&&tt.nodeType===Wt?tt.data+=_t.data:Me.push(_t)}),Me}(_t),le=document.createElement("div"),ye=document.createElement("span"),mt=document.createTextNode(rt),Ae=document.createElement("span");function at(){return $e.offsetHeight{ye.appendChild(yt)}),ye.appendChild(mt),tt.forEach(yt=>{Ae.appendChild(yt.cloneNode(!0))}),le.appendChild(ye),le.appendChild(Ae),$e.appendChild(le),at()){const yt=$e.innerHTML;return $e.removeChild(le),{contentNodes:_t,text:yt,ellipsis:!1}}const Bt=Array.prototype.slice.apply($e.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:yt})=>yt!==It),ln=Array.prototype.slice.apply($e.childNodes[0].childNodes[1].cloneNode(!0).childNodes);$e.removeChild(le),$e.innerHTML="";const At=document.createElement("span");$e.appendChild(At);const dt=document.createTextNode(Je+rt);function ne(yt,Kt,Zt=0,On=Kt.length,zn=0){const Wn=Math.floor((Zt+On)/2);if(yt.textContent=Kt.slice(0,Wn),Zt>=On-1)for(let bo=On;bo>=Zt;bo-=1){const To=Kt.slice(0,bo);if(yt.textContent=To,at()||!To)return bo===Kt.length?{finished:!1,node:document.createTextNode(Kt)}:{finished:!0,node:document.createTextNode(To)}}return at()?ne(yt,Kt,Wn,On,Wn):ne(yt,Kt,Zt,Wn,zn)}function B(yt,Kt){const Zt=yt.nodeType;if(Zt===Dn)return at()?{finished:!1,node:ut[Kt]}:(At.removeChild(yt),{finished:!0,node:null});if(Zt===Wt){const On=yt.textContent||"",zn=document.createTextNode(On);return function ft(yt){At.insertBefore(yt,dt)}(zn),ne(zn,On)}return{finished:!1,node:null}}At.appendChild(dt),ln.forEach(yt=>{$e.appendChild(yt)});const Te=[];Bt.some((yt,Kt)=>{const{finished:Zt,node:On}=B(yt,Kt);return On&&Te.push(On),Zt});const Ye={contentNodes:Te,text:$e.innerHTML,ellipsis:!0};for(;$e.firstChild;)$e.removeChild($e.firstChild);return Ye}let te,ce;const De={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function Ge(q="vertical",Me="ant"){if(typeof document>"u"||typeof window>"u")return 0;const _t="vertical"===q;if(_t&&te)return te;if(!_t&&ce)return ce;const tt=document.createElement("div");Object.keys(De).forEach(rt=>{tt.style[rt]=De[rt]}),tt.className=`${Me}-hide-scrollbar scroll-div-append-to-body`,_t?tt.style.overflowY="scroll":tt.style.overflowX="scroll",document.body.appendChild(tt);let Je=0;return _t?(Je=tt.offsetWidth-tt.clientWidth,te=Je):(Je=tt.offsetHeight-tt.clientHeight,ce=Je),document.body.removeChild(tt),Je}function rn(){const q=new v.x;return Promise.resolve().then(()=>q.next()),q.pipe((0,G.q)(1))}function _n(q){return(0,d.b)(q)?q:be(q)?(0,s.D)(Promise.resolve(q)):(0,k.of)(q)}function st(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const it="rc-util-key";function lt({mark:q}={}){return q?q.startsWith("data-")?q:`data-${q}`:it}function wt(q){return q.attachTo?q.attachTo:document.querySelector("head")||document.body}function Ot(q,Me={}){if(!st())return null;const _t=document.createElement("style");Me.csp?.nonce&&(_t.nonce=Me.csp?.nonce),_t.innerHTML=q;const tt=wt(Me),{firstChild:Je}=tt;return Me.prepend&&tt.prepend?tt.prepend(_t):Me.prepend&&Je?tt.insertBefore(_t,Je):tt.appendChild(_t),_t}const Lt=new Map;function J(q,Me,_t={}){const tt=wt(_t);if(!Lt.has(tt)){const Nt=Ot("",_t),{parentNode:Tt}=Nt;Lt.set(tt,Tt),Tt.removeChild(Nt)}const Je=function Gt(q,Me={}){const _t=wt(Me);return Array.from(Lt.get(_t)?.children||[]).find(tt=>"STYLE"===tt.tagName&&tt.getAttribute(lt(Me))===q)}(Me,_t);if(Je)return _t.csp?.nonce&&Je.nonce!==_t.csp?.nonce&&(Je.nonce=_t.csp?.nonce),Je.innerHTML!==q&&(Je.innerHTML=q),Je;const rt=Ot(q,_t);return rt?.setAttribute(lt(_t),Me),rt}function I(q,Me,_t){return{[`${q}-status-success`]:"success"===Me,[`${q}-status-warning`]:"warning"===Me,[`${q}-status-error`]:"error"===Me,[`${q}-status-validating`]:"validating"===Me,[`${q}-has-feedback`]:_t}}},1958:(xt,Se,a)=>{a.d(Se,{dQ:()=>G,vG:()=>U});var t=a(2831),i=a(5879);class v{get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(S,w,L,Y){this.triggerElement=S,this.ngZone=w,this.insertExtraNode=L,this.platformId=Y,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=M=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===M.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new t.t4(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const S=this.triggerElement,w=this.getWaveColor(S);S.setAttribute(this.waveAttributeName,"true"),!(Date.now(){S.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(S){return!!S&&"#ffffff"!==S&&"rgb(255, 255, 255)"!==S&&this.isNotGrey(S)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(S)&&"transparent"!==S}isNotGrey(S){const w=S.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(w&&w[1]&&w[2]&&w[3]&&w[1]===w[2]&&w[2]===w[3])}getWaveColor(S){const w=getComputedStyle(S);return w.getPropertyValue("border-top-color")||w.getPropertyValue("border-color")||w.getPropertyValue("background-color")}runTimeoutOutsideZone(S,w){this.ngZone.runOutsideAngular(()=>setTimeout(S,w))}}const d={disabled:!1},s=new i.OlP("nz-wave-global-options",{providedIn:"root",factory:function k(){return d}});let G=(()=>{class P{get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}constructor(w,L,Y,M,e){this.ngZone=w,this.elementRef=L,this.config=Y,this.animationType=M,this.platformId=e,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let w=!1;return this.config&&"boolean"==typeof this.config.disabled&&(w=this.config.disabled),"NoopAnimations"===this.animationType&&(w=!0),w}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new v(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return P.\u0275fac=function(w){return new(w||P)(i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(s,8),i.Y36(i.QbO,8),i.Y36(i.Lbi))},P.\u0275dir=i.lG2({type:P,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),P})(),U=(()=>{class P{}return P.\u0275fac=function(w){return new(w||P)},P.\u0275mod=i.oAB({type:P}),P.\u0275inj=i.cJS({imports:[t.ud]}),P})()},8125:(xt,Se,a)=>{a.d(Se,{R7:()=>Wt,q6:()=>It,uj:()=>qt});var t=a(9388),i=a(2831),v=a(6814),d=a(5879),s=a(8324),k=a(655),G=a(8645),U=a(3019),P=a(7754),S=a(9773),w=a(7921),L=a(4664),Y=a(9028),M=a(9397),e=a(874),F=a(7032),R=a(9087);function ge($e,Ve){1&$e&&d.Hsn(0)}const ze=["*"];function K($e,Ve){if(1&$e&&(d.ynx(0),d._uU(1),d.BQk()),2&$e){const Pe=d.oxw(3);d.xp6(1),d.Oqu(Pe.nzTitle)}}function N($e,Ve){if(1&$e&&(d.TgZ(0,"div",6),d.YNc(1,K,2,1,"ng-container",7),d.qZA()),2&$e){const Pe=d.oxw(2);d.xp6(1),d.Q6J("nzStringTemplateOutlet",Pe.nzTitle)}}function V($e,Ve){if(1&$e&&(d.ynx(0),d._uU(1),d.BQk()),2&$e){const Pe=d.oxw(3);d.xp6(1),d.Oqu(Pe.nzExtra)}}function O($e,Ve){if(1&$e&&(d.TgZ(0,"div",8),d.YNc(1,V,2,1,"ng-container",7),d.qZA()),2&$e){const Pe=d.oxw(2);d.xp6(1),d.Q6J("nzStringTemplateOutlet",Pe.nzExtra)}}function A($e,Ve){if(1&$e&&(d.TgZ(0,"div",3),d.YNc(1,N,2,1,"div",4),d.YNc(2,O,2,1,"div",5),d.qZA()),2&$e){const Pe=d.oxw();d.xp6(1),d.Q6J("ngIf",Pe.nzTitle),d.xp6(1),d.Q6J("ngIf",Pe.nzExtra)}}function x($e,Ve){if(1&$e&&(d.ynx(0),d._uU(1),d.BQk()),2&$e){const Pe=d.oxw(2).$implicit;d.xp6(1),d.hij(" ",Pe.title," ")}}function pe($e,Ve){}function de($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"td",12)(2,"div",13)(3,"span",14),d.YNc(4,x,2,1,"ng-container",7),d.qZA(),d.TgZ(5,"span",15),d.YNc(6,pe,0,0,"ng-template",16),d.qZA()()(),d.BQk()),2&$e){const Pe=d.oxw().$implicit,We=d.oxw(3);d.xp6(1),d.Q6J("colSpan",Pe.span),d.xp6(2),d.ekj("ant-descriptions-item-no-colon",!We.nzColon),d.xp6(1),d.Q6J("nzStringTemplateOutlet",Pe.title),d.xp6(2),d.Q6J("ngTemplateOutlet",Pe.content)}}function W($e,Ve){if(1&$e&&(d.ynx(0),d._uU(1),d.BQk()),2&$e){const Pe=d.oxw(2).$implicit;d.xp6(1),d.hij(" ",Pe.title," ")}}function ve($e,Ve){}function Q($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"td",14),d.YNc(2,W,2,1,"ng-container",7),d.qZA(),d.TgZ(3,"td",17),d.YNc(4,ve,0,0,"ng-template",16),d.qZA(),d.BQk()),2&$e){const Pe=d.oxw().$implicit;d.xp6(2),d.Q6J("nzStringTemplateOutlet",Pe.title),d.xp6(1),d.Q6J("colSpan",2*Pe.span-1),d.xp6(1),d.Q6J("ngTemplateOutlet",Pe.content)}}function ae($e,Ve){if(1&$e&&(d.ynx(0),d.YNc(1,de,7,5,"ng-container",2),d.YNc(2,Q,5,3,"ng-container",2),d.BQk()),2&$e){const Pe=d.oxw(3);d.xp6(1),d.Q6J("ngIf",!Pe.nzBordered),d.xp6(1),d.Q6J("ngIf",Pe.nzBordered)}}function fe($e,Ve){if(1&$e&&(d.TgZ(0,"tr",10),d.YNc(1,ae,3,2,"ng-container",11),d.qZA()),2&$e){const Pe=Ve.$implicit;d.xp6(1),d.Q6J("ngForOf",Pe)}}function be($e,Ve){if(1&$e&&(d.ynx(0),d.YNc(1,fe,2,1,"tr",9),d.BQk()),2&$e){const Pe=d.oxw();d.xp6(1),d.Q6J("ngForOf",Pe.itemMatrix)}}function Ft($e,Ve){if(1&$e&&(d.ynx(0),d._uU(1),d.BQk()),2&$e){const Pe=d.oxw().$implicit;d.xp6(1),d.hij(" ",Pe.title," ")}}function Dt($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"td",12)(2,"div",13)(3,"span",14),d.YNc(4,Ft,2,1,"ng-container",7),d.qZA()()(),d.BQk()),2&$e){const Pe=Ve.$implicit,We=d.oxw(4);d.xp6(1),d.Q6J("colSpan",Pe.span),d.xp6(2),d.ekj("ant-descriptions-item-no-colon",!We.nzColon),d.xp6(1),d.Q6J("nzStringTemplateOutlet",Pe.title)}}function nn($e,Ve){}function Et($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"td",12)(2,"div",13)(3,"span",15),d.YNc(4,nn,0,0,"ng-template",16),d.qZA()()(),d.BQk()),2&$e){const Pe=Ve.$implicit;d.xp6(1),d.Q6J("colSpan",Pe.span),d.xp6(3),d.Q6J("ngTemplateOutlet",Pe.content)}}function Ht($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"tr",10),d.YNc(2,Dt,5,4,"ng-container",11),d.qZA(),d.TgZ(3,"tr",10),d.YNc(4,Et,5,2,"ng-container",11),d.qZA(),d.BQk()),2&$e){const Pe=Ve.$implicit;d.xp6(2),d.Q6J("ngForOf",Pe),d.xp6(2),d.Q6J("ngForOf",Pe)}}function tn($e,Ve){if(1&$e&&(d.ynx(0),d.YNc(1,Ht,5,2,"ng-container",11),d.BQk()),2&$e){const Pe=d.oxw(2);d.xp6(1),d.Q6J("ngForOf",Pe.itemMatrix)}}function un($e,Ve){if(1&$e&&(d.ynx(0),d._uU(1),d.BQk()),2&$e){const Pe=d.oxw().$implicit;d.xp6(1),d.hij(" ",Pe.title," ")}}function In($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"td",18),d.YNc(2,un,2,1,"ng-container",7),d.qZA(),d.BQk()),2&$e){const Pe=Ve.$implicit;d.xp6(1),d.Q6J("colSpan",Pe.span),d.xp6(1),d.Q6J("nzStringTemplateOutlet",Pe.title)}}function Xe($e,Ve){}function Re($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"td",17),d.YNc(2,Xe,0,0,"ng-template",16),d.qZA(),d.BQk()),2&$e){const Pe=Ve.$implicit;d.xp6(1),d.Q6J("colSpan",Pe.span),d.xp6(1),d.Q6J("ngTemplateOutlet",Pe.content)}}function Ct($e,Ve){if(1&$e&&(d.ynx(0),d.TgZ(1,"tr",10),d.YNc(2,In,3,2,"ng-container",11),d.qZA(),d.TgZ(3,"tr",10),d.YNc(4,Re,3,2,"ng-container",11),d.qZA(),d.BQk()),2&$e){const Pe=Ve.$implicit;d.xp6(2),d.Q6J("ngForOf",Pe),d.xp6(2),d.Q6J("ngForOf",Pe)}}function je($e,Ve){if(1&$e&&(d.ynx(0),d.YNc(1,Ct,5,2,"ng-container",11),d.BQk()),2&$e){const Pe=d.oxw(2);d.xp6(1),d.Q6J("ngForOf",Pe.itemMatrix)}}function Yt($e,Ve){if(1&$e&&(d.ynx(0),d.YNc(1,tn,2,1,"ng-container",2),d.YNc(2,je,2,1,"ng-container",2),d.BQk()),2&$e){const Pe=d.oxw();d.xp6(1),d.Q6J("ngIf",!Pe.nzBordered),d.xp6(1),d.Q6J("ngIf",Pe.nzBordered)}}let qt=(()=>{class $e{constructor(){this.nzSpan=1,this.nzTitle="",this.inputChange$=new G.x}ngOnChanges(){this.inputChange$.next()}ngOnDestroy(){this.inputChange$.complete()}}return $e.\u0275fac=function(Pe){return new(Pe||$e)},$e.\u0275cmp=d.Xpm({type:$e,selectors:[["nz-descriptions-item"]],viewQuery:function(Pe,We){if(1&Pe&&d.Gf(d.Rgc,7),2&Pe){let He;d.iGM(He=d.CRH())&&(We.content=He.first)}},inputs:{nzSpan:"nzSpan",nzTitle:"nzTitle"},exportAs:["nzDescriptionsItem"],features:[d.TTD],ngContentSelectors:ze,decls:1,vars:0,template:function(Pe,We){1&Pe&&(d.F$t(),d.YNc(0,ge,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),(0,k.gn)([(0,P.Rn)()],$e.prototype,"nzSpan",void 0),$e})();const Dn={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};let Wt=(()=>{class $e{constructor(Pe,We,He,we){this.nzConfigService=Pe,this.cdr=We,this.breakpointService=He,this.directionality=we,this._nzModuleName="descriptions",this.nzBordered=!1,this.nzLayout="horizontal",this.nzColumn=Dn,this.nzSize="default",this.nzTitle="",this.nzColon=!0,this.itemMatrix=[],this.realColumn=3,this.dir="ltr",this.breakpoint=R.G_.md,this.destroy$=new G.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,S.R)(this.destroy$)).subscribe(Pe=>{this.dir=Pe})}ngOnChanges(Pe){Pe.nzColumn&&this.prepareMatrix()}ngAfterContentInit(){const Pe=this.items.changes.pipe((0,w.O)(this.items),(0,S.R)(this.destroy$));(0,U.T)(Pe,Pe.pipe((0,L.w)(()=>(0,U.T)(...this.items.map(We=>We.inputChange$)).pipe((0,Y.e)(16)))),this.breakpointService.subscribe(R.WV).pipe((0,M.b)(We=>this.breakpoint=We))).pipe((0,S.R)(this.destroy$)).subscribe(()=>{this.prepareMatrix(),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}prepareMatrix(){if(!this.items)return;let Pe=[],We=0;const He=this.realColumn=this.getColumn(),we=this.items.toArray(),te=we.length,ce=[],De=()=>{ce.push(Pe),Pe=[],We=0};for(let Ge=0;Ge=He?(We>He&&(0,F.ZK)(`"nzColumn" is ${He} but we have row length ${We}`),Pe.push({title:rn,content:_n,span:He-(We-st)}),De()):Ge===te-1?(Pe.push({title:rn,content:_n,span:He-(We-st)}),De()):Pe.push({title:rn,content:_n,span:st})}this.itemMatrix=ce}getColumn(){return"number"!=typeof this.nzColumn?this.nzColumn[this.breakpoint]:this.nzColumn}}return $e.\u0275fac=function(Pe){return new(Pe||$e)(d.Y36(e.jY),d.Y36(d.sBO),d.Y36(R.r3),d.Y36(t.Is,8))},$e.\u0275cmp=d.Xpm({type:$e,selectors:[["nz-descriptions"]],contentQueries:function(Pe,We,He){if(1&Pe&&d.Suo(He,qt,4),2&Pe){let we;d.iGM(we=d.CRH())&&(We.items=we)}},hostAttrs:[1,"ant-descriptions"],hostVars:8,hostBindings:function(Pe,We){2&Pe&&d.ekj("ant-descriptions-bordered",We.nzBordered)("ant-descriptions-middle","middle"===We.nzSize)("ant-descriptions-small","small"===We.nzSize)("ant-descriptions-rtl","rtl"===We.dir)},inputs:{nzBordered:"nzBordered",nzLayout:"nzLayout",nzColumn:"nzColumn",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra",nzColon:"nzColon"},exportAs:["nzDescriptions"],features:[d.TTD],decls:6,vars:3,consts:[["class","ant-descriptions-header",4,"ngIf"],[1,"ant-descriptions-view"],[4,"ngIf"],[1,"ant-descriptions-header"],["class","ant-descriptions-title",4,"ngIf"],["class","ant-descriptions-extra",4,"ngIf"],[1,"ant-descriptions-title"],[4,"nzStringTemplateOutlet"],[1,"ant-descriptions-extra"],["class","ant-descriptions-row",4,"ngFor","ngForOf"],[1,"ant-descriptions-row"],[4,"ngFor","ngForOf"],[1,"ant-descriptions-item",3,"colSpan"],[1,"ant-descriptions-item-container"],[1,"ant-descriptions-item-label"],[1,"ant-descriptions-item-content"],[3,"ngTemplateOutlet"],[1,"ant-descriptions-item-content",3,"colSpan"],[1,"ant-descriptions-item-label",3,"colSpan"]],template:function(Pe,We){1&Pe&&(d.YNc(0,A,3,2,"div",0),d.TgZ(1,"div",1)(2,"table")(3,"tbody"),d.YNc(4,be,2,1,"ng-container",2),d.YNc(5,Yt,3,2,"ng-container",2),d.qZA()()()),2&Pe&&(d.Q6J("ngIf",We.nzTitle||We.nzExtra),d.xp6(4),d.Q6J("ngIf","horizontal"===We.nzLayout),d.xp6(1),d.Q6J("ngIf","vertical"===We.nzLayout))},dependencies:[v.sg,v.O5,v.tP,s.f],encapsulation:2,changeDetection:0}),(0,k.gn)([(0,P.yF)(),(0,e.oS)()],$e.prototype,"nzBordered",void 0),(0,k.gn)([(0,e.oS)()],$e.prototype,"nzColumn",void 0),(0,k.gn)([(0,e.oS)()],$e.prototype,"nzSize",void 0),(0,k.gn)([(0,e.oS)(),(0,P.yF)()],$e.prototype,"nzColon",void 0),$e})(),It=(()=>{class $e{}return $e.\u0275fac=function(Pe){return new(Pe||$e)},$e.\u0275mod=d.oAB({type:$e}),$e.\u0275inj=d.cJS({imports:[t.vT,v.ez,s.T,i.ud]}),$e})()},6987:(xt,Se,a)=>{a.d(Se,{S:()=>S,g:()=>P});var t=a(655),i=a(5879),v=a(7754),d=a(6814),s=a(8324),k=a(9388);function G(w,L){if(1&w&&(i.ynx(0),i._uU(1),i.BQk()),2&w){const Y=i.oxw(2);i.xp6(1),i.Oqu(Y.nzText)}}function U(w,L){if(1&w&&(i.TgZ(0,"span",1),i.YNc(1,G,2,1,"ng-container",2),i.qZA()),2&w){const Y=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",Y.nzText)}}let P=(()=>{class w{constructor(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1,this.nzPlain=!1}}return w.\u0275fac=function(Y){return new(Y||w)},w.\u0275cmp=i.Xpm({type:w,selectors:[["nz-divider"]],hostAttrs:[1,"ant-divider"],hostVars:16,hostBindings:function(Y,M){2&Y&&i.ekj("ant-divider-horizontal","horizontal"===M.nzType)("ant-divider-vertical","vertical"===M.nzType)("ant-divider-with-text",M.nzText)("ant-divider-plain",M.nzPlain)("ant-divider-with-text-left",M.nzText&&"left"===M.nzOrientation)("ant-divider-with-text-right",M.nzText&&"right"===M.nzOrientation)("ant-divider-with-text-center",M.nzText&&"center"===M.nzOrientation)("ant-divider-dashed",M.nzDashed)},inputs:{nzText:"nzText",nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzPlain:"nzPlain"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(Y,M){1&Y&&i.YNc(0,U,2,1,"span",0),2&Y&&i.Q6J("ngIf",M.nzText)},dependencies:[d.O5,s.f],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,v.yF)()],w.prototype,"nzDashed",void 0),(0,t.gn)([(0,v.yF)()],w.prototype,"nzPlain",void 0),w})(),S=(()=>{class w{}return w.\u0275fac=function(Y){return new(Y||w)},w.\u0275mod=i.oAB({type:w}),w.\u0275inj=i.cJS({imports:[k.vT,d.ez,s.T]}),w})()},2787:(xt,Se,a)=>{a.d(Se,{RR:()=>tn,b1:()=>un,cm:()=>Dt,wA:()=>Ht});var t=a(655),i=a(6028),v=a(8484),d=a(5879),s=a(8645),k=a(5619),G=a(3019),U=a(2438),P=a(6232),S=a(2572),w=a(975),L=a(7398),Y=a(4664),M=a(2181),e=a(9028),F=a(3997),R=a(9773),ge=a(874),ze=a(5448),K=a(7754),N=a(9594),V=a(2831),O=a(9388),A=a(6814),x=a(2840),pe=a(331),de=a(8324),W=a(551),ve=a(3460),Q=a(4194);function ae(Re,Ct){if(1&Re){const je=d.EpF();d.TgZ(0,"div",0),d.NdJ("@slideMotion.done",function(qt){d.CHM(je);const vn=d.oxw();return d.KtG(vn.onAnimationEvent(qt))})("mouseenter",function(){d.CHM(je);const qt=d.oxw();return d.KtG(qt.setMouseState(!0))})("mouseleave",function(){d.CHM(je);const qt=d.oxw();return d.KtG(qt.setMouseState(!1))}),d.Hsn(1),d.qZA()}if(2&Re){const je=d.oxw();d.ekj("ant-dropdown-rtl","rtl"===je.dir),d.Q6J("ngClass",je.nzOverlayClassName)("ngStyle",je.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",!(null==je.noAnimation||!je.noAnimation.nzNoAnimation))("nzNoAnimation",null==je.noAnimation?null:je.noAnimation.nzNoAnimation)}}const fe=["*"],Ft=[ze.yW.bottomLeft,ze.yW.bottomRight,ze.yW.topRight,ze.yW.topLeft];let Dt=(()=>{class Re{setDropdownMenuValue(je,Yt){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(je,Yt)}constructor(je,Yt,qt,vn,Dn,Wt){this.nzConfigService=je,this.elementRef=Yt,this.overlay=qt,this.renderer=vn,this.viewContainerRef=Dn,this.platform=Wt,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new s.x,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new k.X(!1),this.nzTrigger$=new k.X("hover"),this.overlayClose$=new s.x,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new d.vpe}ngAfterViewInit(){if(this.nzDropdownMenu){const je=this.elementRef.nativeElement,Yt=(0,G.T)((0,U.R)(je,"mouseenter").pipe((0,w.h)(!0)),(0,U.R)(je,"mouseleave").pipe((0,w.h)(!1))),vn=(0,G.T)(this.nzDropdownMenu.mouseState$,Yt),Dn=(0,U.R)(je,"click").pipe((0,L.U)(()=>!this.nzVisible)),Wt=this.nzTrigger$.pipe((0,Y.w)(Pe=>"hover"===Pe?vn:"click"===Pe?Dn:P.E)),It=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,M.h)(()=>this.nzClickHide),(0,w.h)(!1)),$e=(0,G.T)(Wt,It,this.overlayClose$).pipe((0,M.h)(()=>!this.nzDisabled)),Ve=(0,G.T)(this.inputVisible$,$e);(0,S.a)([Ve,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,L.U)(([Pe,We])=>Pe||We),(0,e.e)(150),(0,F.x)(),(0,M.h)(()=>this.platform.isBrowser),(0,R.R)(this.destroy$)).subscribe(Pe=>{const He=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:je).getBoundingClientRect().width;this.nzVisible!==Pe&&this.nzVisibleChange.emit(Pe),this.nzVisible=Pe,Pe?(this.overlayRef?this.overlayRef.getConfig().minWidth=He:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:He,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,G.T)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,M.h)(we=>!this.elementRef.nativeElement.contains(we.target))),this.overlayRef.keydownEvents().pipe((0,M.h)(we=>we.keyCode===i.hY&&!(0,i.Vb)(we)))).pipe((0,R.R)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([ze.yW[this.nzPlacement],...Ft]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new v.UE(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,R.R)(this.destroy$)).subscribe(Pe=>{"void"===Pe.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(je){const{nzVisible:Yt,nzDisabled:qt,nzOverlayClassName:vn,nzOverlayStyle:Dn,nzTrigger:Wt}=je;if(Wt&&this.nzTrigger$.next(this.nzTrigger),Yt&&this.inputVisible$.next(this.nzVisible),qt){const It=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(It,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(It,"disabled")}vn&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),Dn&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}}return Re.\u0275fac=function(je){return new(je||Re)(d.Y36(ge.jY),d.Y36(d.SBq),d.Y36(N.aV),d.Y36(d.Qsj),d.Y36(d.s_b),d.Y36(V.t4))},Re.\u0275dir=d.lG2({type:Re,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[d.TTD]}),(0,t.gn)([(0,ge.oS)(),(0,K.yF)()],Re.prototype,"nzBackdrop",void 0),(0,t.gn)([(0,K.yF)()],Re.prototype,"nzClickHide",void 0),(0,t.gn)([(0,K.yF)()],Re.prototype,"nzDisabled",void 0),(0,t.gn)([(0,K.yF)()],Re.prototype,"nzVisible",void 0),Re})(),nn=(()=>{class Re{}return Re.\u0275fac=function(je){return new(je||Re)},Re.\u0275mod=d.oAB({type:Re}),Re.\u0275inj=d.cJS({}),Re})(),Ht=(()=>{class Re{constructor(je,Yt,qt){this.renderer=je,this.nzButtonGroupComponent=Yt,this.elementRef=qt}ngAfterViewInit(){const je=this.renderer.parentNode(this.elementRef.nativeElement);this.nzButtonGroupComponent&&je&&this.renderer.addClass(je,"ant-dropdown-button")}}return Re.\u0275fac=function(je){return new(je||Re)(d.Y36(d.Qsj),d.Y36(x.fY,9),d.Y36(d.SBq))},Re.\u0275dir=d.lG2({type:Re,selectors:[["","nz-button","","nz-dropdown",""]]}),Re})(),tn=(()=>{class Re{onAnimationEvent(je){this.animationStateChange$.emit(je)}setMouseState(je){this.mouseState$.next(je)}setValue(je,Yt){this[je]=Yt,this.cdr.markForCheck()}constructor(je,Yt,qt,vn,Dn,Wt,It){this.cdr=je,this.elementRef=Yt,this.renderer=qt,this.viewContainerRef=vn,this.nzMenuService=Dn,this.directionality=Wt,this.noAnimation=It,this.mouseState$=new k.X(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new d.vpe,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new s.x}ngOnInit(){this.directionality.change?.pipe((0,R.R)(this.destroy$)).subscribe(je=>{this.dir=je,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Re.\u0275fac=function(je){return new(je||Re)(d.Y36(d.sBO),d.Y36(d.SBq),d.Y36(d.Qsj),d.Y36(d.s_b),d.Y36(ve.hl),d.Y36(O.Is,8),d.Y36(pe.P,9))},Re.\u0275cmp=d.Xpm({type:Re,selectors:[["nz-dropdown-menu"]],viewQuery:function(je,Yt){if(1&je&&d.Gf(d.Rgc,7),2&je){let qt;d.iGM(qt=d.CRH())&&(Yt.templateRef=qt.first)}},exportAs:["nzDropdownMenu"],features:[d._Bn([ve.hl,{provide:ve.Cc,useValue:!0}])],ngContentSelectors:fe,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(je,Yt){1&je&&(d.F$t(),d.YNc(0,ae,2,7,"ng-template"))},dependencies:[A.mk,A.PC,pe.P],encapsulation:2,data:{animation:[Q.mF]},changeDetection:0}),Re})(),un=(()=>{class Re{}return Re.\u0275fac=function(je){return new(je||Re)},Re.\u0275mod=d.oAB({type:Re}),Re.\u0275inj=d.cJS({imports:[O.vT,A.ez,N.U8,x.sL,ve.ip,W.PV,pe.g,V.ud,ze.e4,nn,de.T,ve.ip]}),Re})();new N.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new N.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new N.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new N.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})},804:(xt,Se,a)=>{a.d(Se,{Xo:()=>Ft,gB:()=>be,p9:()=>ae});var t=a(8484),i=a(5879),v=a(8645),d=a(9773),s=a(7921),k=a(874),G=a(6814),U=a(1752),P=a(8324),S=a(9388);function w(Dt,nn){if(1&Dt&&(i.ynx(0),i._UZ(1,"img",5),i.BQk()),2&Dt){const Et=i.oxw(2);i.xp6(1),i.Q6J("src",Et.nzNotFoundImage,i.LSH)("alt",Et.isContentString?Et.nzNotFoundContent:"empty")}}function L(Dt,nn){if(1&Dt&&(i.ynx(0),i.YNc(1,w,2,2,"ng-container",4),i.BQk()),2&Dt){const Et=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",Et.nzNotFoundImage)}}function Y(Dt,nn){1&Dt&&i._UZ(0,"nz-empty-default")}function M(Dt,nn){1&Dt&&i._UZ(0,"nz-empty-simple")}function e(Dt,nn){if(1&Dt&&(i.ynx(0),i._uU(1),i.BQk()),2&Dt){const Et=i.oxw(2);i.xp6(1),i.hij(" ",Et.isContentString?Et.nzNotFoundContent:Et.locale.description," ")}}function F(Dt,nn){if(1&Dt&&(i.TgZ(0,"p",6),i.YNc(1,e,2,1,"ng-container",4),i.qZA()),2&Dt){const Et=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",Et.nzNotFoundContent)}}function R(Dt,nn){if(1&Dt&&(i.ynx(0),i._uU(1),i.BQk()),2&Dt){const Et=i.oxw(2);i.xp6(1),i.hij(" ",Et.nzNotFoundFooter," ")}}function ge(Dt,nn){if(1&Dt&&(i.TgZ(0,"div",7),i.YNc(1,R,2,1,"ng-container",4),i.qZA()),2&Dt){const Et=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",Et.nzNotFoundFooter)}}function ze(Dt,nn){1&Dt&&i._UZ(0,"nz-empty",6),2&Dt&&i.Q6J("nzNotFoundImage","simple")}function K(Dt,nn){1&Dt&&i._UZ(0,"nz-empty",7),2&Dt&&i.Q6J("nzNotFoundImage","simple")}function N(Dt,nn){1&Dt&&i._UZ(0,"nz-empty")}function V(Dt,nn){if(1&Dt&&(i.ynx(0,2),i.YNc(1,ze,1,1,"nz-empty",3),i.YNc(2,K,1,1,"nz-empty",4),i.YNc(3,N,1,0,"nz-empty",5),i.BQk()),2&Dt){const Et=i.oxw();i.Q6J("ngSwitch",Et.size),i.xp6(1),i.Q6J("ngSwitchCase","normal"),i.xp6(1),i.Q6J("ngSwitchCase","small")}}function O(Dt,nn){}function A(Dt,nn){if(1&Dt&&i.YNc(0,O,0,0,"ng-template",8),2&Dt){const Et=i.oxw(2);i.Q6J("cdkPortalOutlet",Et.contentPortal)}}function x(Dt,nn){if(1&Dt&&(i.ynx(0),i._uU(1),i.BQk()),2&Dt){const Et=i.oxw(2);i.xp6(1),i.hij(" ",Et.content," ")}}function pe(Dt,nn){if(1&Dt&&(i.ynx(0),i.YNc(1,A,1,1,null,1),i.YNc(2,x,2,1,"ng-container",1),i.BQk()),2&Dt){const Et=i.oxw();i.xp6(1),i.Q6J("ngIf","string"!==Et.contentType),i.xp6(1),i.Q6J("ngIf","string"===Et.contentType)}}const de=new i.OlP("nz-empty-component-name");let W=(()=>{class Dt{}return Dt.\u0275fac=function(Et){return new(Et||Dt)},Dt.\u0275cmp=i.Xpm({type:Dt,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(Et,Ht){1&Et&&(i.O4$(),i.TgZ(0,"svg",0)(1,"g",1)(2,"g",2),i._UZ(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),i.qZA(),i._UZ(8,"path",8),i.TgZ(9,"g",9),i._UZ(10,"ellipse",10)(11,"path",11),i.qZA()()())},encapsulation:2,changeDetection:0}),Dt})(),ve=(()=>{class Dt{}return Dt.\u0275fac=function(Et){return new(Et||Dt)},Dt.\u0275cmp=i.Xpm({type:Dt,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(Et,Ht){1&Et&&(i.O4$(),i.TgZ(0,"svg",0)(1,"g",1),i._UZ(2,"ellipse",2),i.TgZ(3,"g",3),i._UZ(4,"path",4)(5,"path",5),i.qZA()()())},encapsulation:2,changeDetection:0}),Dt})();const Q=["default","simple"];let ae=(()=>{class Dt{constructor(Et,Ht){this.i18n=Et,this.cdr=Ht,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new v.x}ngOnChanges(Et){const{nzNotFoundContent:Ht,nzNotFoundImage:tn}=Et;if(Ht&&(this.isContentString="string"==typeof Ht.currentValue),tn){const un=tn.currentValue||"default";this.isImageBuildIn=Q.findIndex(In=>In===un)>-1}}ngOnInit(){this.i18n.localeChange.pipe((0,d.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Dt.\u0275fac=function(Et){return new(Et||Dt)(i.Y36(U.wi),i.Y36(i.sBO))},Dt.\u0275cmp=i.Xpm({type:Dt,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[i.TTD],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(Et,Ht){1&Et&&(i.TgZ(0,"div",0),i.YNc(1,L,2,1,"ng-container",1),i.YNc(2,Y,1,0,"nz-empty-default",1),i.YNc(3,M,1,0,"nz-empty-simple",1),i.qZA(),i.YNc(4,F,2,1,"p",2),i.YNc(5,ge,2,1,"div",3)),2&Et&&(i.xp6(1),i.Q6J("ngIf",!Ht.isImageBuildIn),i.xp6(1),i.Q6J("ngIf",Ht.isImageBuildIn&&"simple"!==Ht.nzNotFoundImage),i.xp6(1),i.Q6J("ngIf",Ht.isImageBuildIn&&"simple"===Ht.nzNotFoundImage),i.xp6(1),i.Q6J("ngIf",null!==Ht.nzNotFoundContent),i.xp6(1),i.Q6J("ngIf",Ht.nzNotFoundFooter))},dependencies:[G.O5,P.f,W,ve],encapsulation:2,changeDetection:0}),Dt})(),be=(()=>{class Dt{constructor(Et,Ht,tn,un){this.configService=Et,this.viewContainerRef=Ht,this.cdr=tn,this.injector=un,this.contentType="string",this.size="",this.destroy$=new v.x}ngOnChanges(Et){Et.nzComponentName&&(this.size=function fe(Dt){switch(Dt){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(Et.nzComponentName.currentValue)),Et.specificContent&&!Et.specificContent.isFirstChange()&&(this.content=Et.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const Et=this.content;if("string"==typeof Et)this.contentType="string";else if(Et instanceof i.Rgc){const Ht={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new t.UE(Et,this.viewContainerRef,Ht)}else if(Et instanceof i.DyG){const Ht=i.zs3.create({parent:this.injector,providers:[{provide:de,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new t.C5(Et,this.viewContainerRef,Ht)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe((0,s.O)(!0),(0,d.R)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return Dt.\u0275fac=function(Et){return new(Et||Dt)(i.Y36(k.jY),i.Y36(i.s_b),i.Y36(i.sBO),i.Y36(i.zs3))},Dt.\u0275cmp=i.Xpm({type:Dt,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[i.TTD],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(Et,Ht){1&Et&&(i.YNc(0,V,4,3,"ng-container",0),i.YNc(1,pe,3,2,"ng-container",1)),2&Et&&(i.Q6J("ngIf",!Ht.content&&null!==Ht.specificContent),i.xp6(1),i.Q6J("ngIf",Ht.content))},dependencies:[G.O5,G.RF,G.n9,G.ED,t.Pl,ae],encapsulation:2,changeDetection:0}),Dt})(),Ft=(()=>{class Dt{}return Dt.\u0275fac=function(Et){return new(Et||Dt)},Dt.\u0275mod=i.oAB({type:Dt}),Dt.\u0275inj=i.cJS({imports:[S.vT,G.ez,t.eL,P.T,U.YI]}),Dt})()},3599:(xt,Se,a)=>{a.d(Se,{Fd:()=>Et,Lr:()=>nn,Nx:()=>be,U5:()=>Xe,iK:()=>tn});var t=a(9388),i=a(1088),v=a(2831),d=a(6814),s=a(5879),k=a(8324),G=a(95),U=a(551),P=a(6109),S=a(6223),w=a(8645),L=a(7394),Y=a(2181),M=a(7398),e=a(9773),F=a(7921),R=a(9397),ge=a(4194),ze=a(883),K=a(7754),N=a(1752),V=a(655),O=a(874);const A=["*"];function x(Re,Ct){if(1&Re&&(s.ynx(0),s._uU(1),s.BQk()),2&Re){const je=s.oxw(2);s.xp6(1),s.Oqu(je.innerTip)}}const pe=function(Re){return[Re]},de=function(Re){return{$implicit:Re}};function W(Re,Ct){if(1&Re&&(s.TgZ(0,"div",4)(1,"div",5),s.YNc(2,x,2,1,"ng-container",6),s.qZA()()),2&Re){const je=s.oxw();s.Q6J("@helpMotion",void 0),s.xp6(1),s.Q6J("ngClass",s.VKq(4,pe,"ant-form-item-explain-"+je.status)),s.xp6(1),s.Q6J("nzStringTemplateOutlet",je.innerTip)("nzStringTemplateOutletContext",s.VKq(6,de,je.validateControl))}}function ve(Re,Ct){if(1&Re&&(s.ynx(0),s._uU(1),s.BQk()),2&Re){const je=s.oxw(2);s.xp6(1),s.Oqu(je.nzExtra)}}function Q(Re,Ct){if(1&Re&&(s.TgZ(0,"div",7),s.YNc(1,ve,2,1,"ng-container",8),s.qZA()),2&Re){const je=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",je.nzExtra)}}function ae(Re,Ct){if(1&Re&&(s.ynx(0),s._UZ(1,"span",3),s.BQk()),2&Re){const je=Ct.$implicit,Yt=s.oxw(2);s.xp6(1),s.Q6J("nzType",je)("nzTheme",Yt.tooltipIcon.theme)}}function fe(Re,Ct){if(1&Re&&(s.TgZ(0,"span",1),s.YNc(1,ae,2,2,"ng-container",2),s.qZA()),2&Re){const je=s.oxw();s.Q6J("nzTooltipTitle",je.nzTooltipTitle),s.xp6(1),s.Q6J("nzStringTemplateOutlet",je.tooltipIcon.type)}}let be=(()=>{class Re{setWithHelpViaTips(je){this.withHelpClass=je,this.cdr.markForCheck()}setStatus(je){this.status=je,this.cdr.markForCheck()}setHasFeedback(je){this.hasFeedback=je,this.cdr.markForCheck()}constructor(je){this.cdr=je,this.status="",this.hasFeedback=!1,this.withHelpClass=!1,this.destroy$=new w.x}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Re.\u0275fac=function(je){return new(je||Re)(s.Y36(s.sBO))},Re.\u0275cmp=s.Xpm({type:Re,selectors:[["nz-form-item"]],hostAttrs:[1,"ant-form-item"],hostVars:12,hostBindings:function(je,Yt){2&je&&s.ekj("ant-form-item-has-success","success"===Yt.status)("ant-form-item-has-warning","warning"===Yt.status)("ant-form-item-has-error","error"===Yt.status)("ant-form-item-is-validating","validating"===Yt.status)("ant-form-item-has-feedback",Yt.hasFeedback&&Yt.status)("ant-form-item-with-help",Yt.withHelpClass)},exportAs:["nzFormItem"],ngContentSelectors:A,decls:1,vars:0,template:function(je,Yt){1&je&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),Re})();const Dt={type:"question-circle",theme:"outline"};let nn=(()=>{class Re{getInputObservable(je){return this.inputChanges$.pipe((0,Y.h)(Yt=>je in Yt),(0,M.U)(Yt=>Yt[je]))}constructor(je,Yt){this.nzConfigService=je,this.directionality=Yt,this._nzModuleName="form",this.nzLayout="horizontal",this.nzNoColon=!1,this.nzAutoTips={},this.nzDisableAutoTips=!1,this.nzTooltipIcon=Dt,this.nzLabelAlign="right",this.nzLabelWrap=!1,this.dir="ltr",this.destroy$=new w.x,this.inputChanges$=new w.x,this.dir=this.directionality.value,this.directionality.change?.pipe((0,e.R)(this.destroy$)).subscribe(qt=>{this.dir=qt})}ngOnChanges(je){this.inputChanges$.next(je)}ngOnDestroy(){this.inputChanges$.complete(),this.destroy$.next(!0),this.destroy$.complete()}}return Re.\u0275fac=function(je){return new(je||Re)(s.Y36(O.jY),s.Y36(t.Is,8))},Re.\u0275dir=s.lG2({type:Re,selectors:[["","nz-form",""]],hostAttrs:[1,"ant-form"],hostVars:8,hostBindings:function(je,Yt){2&je&&s.ekj("ant-form-horizontal","horizontal"===Yt.nzLayout)("ant-form-vertical","vertical"===Yt.nzLayout)("ant-form-inline","inline"===Yt.nzLayout)("ant-form-rtl","rtl"===Yt.dir)},inputs:{nzLayout:"nzLayout",nzNoColon:"nzNoColon",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzTooltipIcon:"nzTooltipIcon",nzLabelAlign:"nzLabelAlign",nzLabelWrap:"nzLabelWrap"},exportAs:["nzForm"],features:[s.TTD]}),(0,V.gn)([(0,O.oS)(),(0,K.yF)()],Re.prototype,"nzNoColon",void 0),(0,V.gn)([(0,O.oS)()],Re.prototype,"nzAutoTips",void 0),(0,V.gn)([(0,K.yF)()],Re.prototype,"nzDisableAutoTips",void 0),(0,V.gn)([(0,O.oS)()],Re.prototype,"nzTooltipIcon",void 0),(0,V.gn)([(0,O.oS)(),(0,K.yF)()],Re.prototype,"nzLabelWrap",void 0),Re})(),Et=(()=>{class Re{get disableAutoTips(){return"default"!==this.nzDisableAutoTips?(0,K.sw)(this.nzDisableAutoTips):this.nzFormDirective?.nzDisableAutoTips}set nzHasFeedback(je){this._hasFeedback=(0,K.sw)(je),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this._hasFeedback}),this.nzFormItemComponent&&this.nzFormItemComponent.setHasFeedback(this._hasFeedback)}get nzHasFeedback(){return this._hasFeedback}set nzValidateStatus(je){je instanceof S.TO||je instanceof S.On?(this.validateControl=je,this.validateString=null,this.watchControl()):je instanceof S.u?(this.validateControl=je.control,this.validateString=null,this.watchControl()):(this.validateString=je,this.validateControl=null,this.setStatus())}watchControl(){this.validateChanges.unsubscribe(),this.validateControl&&this.validateControl.statusChanges&&(this.validateChanges=this.validateControl.statusChanges.pipe((0,F.O)(null),(0,e.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck()}))}setStatus(){this.status=this.getControlStatus(this.validateString),this.innerTip=this.getInnerTip(this.status),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this.nzHasFeedback}),this.nzFormItemComponent&&(this.nzFormItemComponent.setWithHelpViaTips(!!this.innerTip),this.nzFormItemComponent.setStatus(this.status))}getControlStatus(je){let Yt;return Yt="warning"===je||this.validateControlStatus("INVALID","warning")?"warning":"error"===je||this.validateControlStatus("INVALID")?"error":"validating"===je||"pending"===je||this.validateControlStatus("PENDING")?"validating":"success"===je||this.validateControlStatus("VALID")?"success":"",Yt}validateControlStatus(je,Yt){if(this.validateControl){const{dirty:qt,touched:vn,status:Dn}=this.validateControl;return(!!qt||!!vn)&&(Yt?this.validateControl.hasError(Yt):Dn===je)}return!1}getInnerTip(je){switch(je){case"error":return!this.disableAutoTips&&this.autoErrorTip||this.nzErrorTip||null;case"validating":return this.nzValidatingTip||null;case"success":return this.nzSuccessTip||null;case"warning":return this.nzWarningTip||null;default:return null}}updateAutoErrorTip(){if(this.validateControl){const je=this.validateControl.errors||{};let Yt="";for(const qt in je)if(je.hasOwnProperty(qt)&&(Yt=je[qt]?.[this.localeId]??this.nzAutoTips?.[this.localeId]?.[qt]??this.nzAutoTips.default?.[qt]??this.nzFormDirective?.nzAutoTips?.[this.localeId]?.[qt]??this.nzFormDirective?.nzAutoTips.default?.[qt]),Yt)break;this.autoErrorTip=Yt}}subscribeAutoTips(je){je?.pipe((0,e.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||(this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck())})}constructor(je,Yt,qt,vn,Dn){this.nzFormItemComponent=je,this.cdr=Yt,this.nzFormDirective=vn,this.nzFormStatusService=Dn,this._hasFeedback=!1,this.validateChanges=L.w0.EMPTY,this.validateString=null,this.destroyed$=new w.x,this.status="",this.validateControl=null,this.innerTip=null,this.nzAutoTips={},this.nzDisableAutoTips="default",this.subscribeAutoTips(qt.localeChange.pipe((0,R.b)(Wt=>this.localeId=Wt.locale))),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzAutoTips")),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzDisableAutoTips").pipe((0,Y.h)(()=>"default"===this.nzDisableAutoTips)))}ngOnChanges(je){const{nzDisableAutoTips:Yt,nzAutoTips:qt,nzSuccessTip:vn,nzWarningTip:Dn,nzErrorTip:Wt,nzValidatingTip:It}=je;Yt||qt?(this.updateAutoErrorTip(),this.setStatus()):(vn||Dn||Wt||It)&&this.setStatus()}ngOnInit(){this.setStatus()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}ngAfterContentInit(){!this.validateControl&&!this.validateString&&(this.nzValidateStatus=this.defaultValidateControl instanceof S.oH?this.defaultValidateControl.control:this.defaultValidateControl)}}return Re.\u0275fac=function(je){return new(je||Re)(s.Y36(be,9),s.Y36(s.sBO),s.Y36(N.wi),s.Y36(nn,8),s.Y36(ze.kH))},Re.\u0275cmp=s.Xpm({type:Re,selectors:[["nz-form-control"]],contentQueries:function(je,Yt,qt){if(1&je&&s.Suo(qt,S.a5,5),2&je){let vn;s.iGM(vn=s.CRH())&&(Yt.defaultValidateControl=vn.first)}},hostAttrs:[1,"ant-form-item-control"],inputs:{nzSuccessTip:"nzSuccessTip",nzWarningTip:"nzWarningTip",nzErrorTip:"nzErrorTip",nzValidatingTip:"nzValidatingTip",nzExtra:"nzExtra",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzHasFeedback:"nzHasFeedback",nzValidateStatus:"nzValidateStatus"},exportAs:["nzFormControl"],features:[s._Bn([ze.kH]),s.TTD],ngContentSelectors:A,decls:5,vars:2,consts:[[1,"ant-form-item-control-input"],[1,"ant-form-item-control-input-content"],["class","ant-form-item-explain ant-form-item-explain-connected",4,"ngIf"],["class","ant-form-item-extra",4,"ngIf"],[1,"ant-form-item-explain","ant-form-item-explain-connected"],["role","alert",3,"ngClass"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-form-item-extra"],[4,"nzStringTemplateOutlet"]],template:function(je,Yt){1&je&&(s.F$t(),s.TgZ(0,"div",0)(1,"div",1),s.Hsn(2),s.qZA()(),s.YNc(3,W,3,8,"div",2),s.YNc(4,Q,2,1,"div",3)),2&je&&(s.xp6(3),s.Q6J("ngIf",Yt.innerTip),s.xp6(1),s.Q6J("ngIf",Yt.nzExtra))},dependencies:[d.mk,d.O5,k.f],encapsulation:2,data:{animation:[ge.c8]},changeDetection:0}),Re})();function Ht(Re){return{...Dt,..."string"==typeof Re?{type:Re}:Re}}let tn=(()=>{class Re{set nzNoColon(je){this.noColon=(0,K.sw)(je)}get nzNoColon(){return"default"!==this.noColon?this.noColon:this.nzFormDirective?.nzNoColon}set nzTooltipIcon(je){this._tooltipIcon=Ht(je)}get tooltipIcon(){return"default"!==this._tooltipIcon?this._tooltipIcon:Ht(this.nzFormDirective?.nzTooltipIcon||Dt)}set nzLabelAlign(je){this.labelAlign=je}get nzLabelAlign(){return"default"!==this.labelAlign?this.labelAlign:this.nzFormDirective?.nzLabelAlign||"right"}set nzLabelWrap(je){this.labelWrap=(0,K.sw)(je)}get nzLabelWrap(){return"default"!==this.labelWrap?this.labelWrap:this.nzFormDirective?.nzLabelWrap}constructor(je,Yt){this.cdr=je,this.nzFormDirective=Yt,this.nzRequired=!1,this.noColon="default",this._tooltipIcon="default",this.labelAlign="default",this.labelWrap="default",this.destroy$=new w.x,this.nzFormDirective&&(this.nzFormDirective.getInputObservable("nzNoColon").pipe((0,Y.h)(()=>"default"===this.noColon),(0,e.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzTooltipIcon").pipe((0,Y.h)(()=>"default"===this._tooltipIcon),(0,e.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzLabelAlign").pipe((0,Y.h)(()=>"default"===this.labelAlign),(0,e.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzLabelWrap").pipe((0,Y.h)(()=>"default"===this.labelWrap),(0,e.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Re.\u0275fac=function(je){return new(je||Re)(s.Y36(s.sBO),s.Y36(nn,12))},Re.\u0275cmp=s.Xpm({type:Re,selectors:[["nz-form-label"]],hostAttrs:[1,"ant-form-item-label"],hostVars:4,hostBindings:function(je,Yt){2&je&&s.ekj("ant-form-item-label-left","left"===Yt.nzLabelAlign)("ant-form-item-label-wrap",Yt.nzLabelWrap)},inputs:{nzFor:"nzFor",nzRequired:"nzRequired",nzNoColon:"nzNoColon",nzTooltipTitle:"nzTooltipTitle",nzTooltipIcon:"nzTooltipIcon",nzLabelAlign:"nzLabelAlign",nzLabelWrap:"nzLabelWrap"},exportAs:["nzFormLabel"],ngContentSelectors:A,decls:3,vars:6,consts:[["class","ant-form-item-tooltip","nz-tooltip","",3,"nzTooltipTitle",4,"ngIf"],["nz-tooltip","",1,"ant-form-item-tooltip",3,"nzTooltipTitle"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"]],template:function(je,Yt){1&je&&(s.F$t(),s.TgZ(0,"label"),s.Hsn(1),s.YNc(2,fe,2,2,"span",0),s.qZA()),2&je&&(s.ekj("ant-form-item-no-colon",Yt.nzNoColon)("ant-form-item-required",Yt.nzRequired),s.uIk("for",Yt.nzFor),s.xp6(2),s.Q6J("ngIf",Yt.nzTooltipTitle))},dependencies:[d.O5,U.Ls,P.SY,k.f],encapsulation:2,changeDetection:0}),(0,V.gn)([(0,K.yF)()],Re.prototype,"nzRequired",void 0),Re})(),Xe=(()=>{class Re{}return Re.\u0275fac=function(je){return new(je||Re)},Re.\u0275mod=s.oAB({type:Re}),Re.\u0275inj=s.cJS({imports:[t.vT,d.ez,G.Jb,U.PV,P.cg,i.xu,v.ud,k.T,G.Jb]}),Re})()},95:(xt,Se,a)=>{a.d(Se,{Jb:()=>Y,SK:()=>w,t3:()=>L});var t=a(5879),i=a(7328),v=a(8645),d=a(9773),s=a(9087),k=a(1088),G=a(2831),U=a(9388),P=a(7754),S=a(6814);let w=(()=>{class M{getGutter(){const F=[null,null],R=this.nzGutter||0;return(Array.isArray(R)?R:[R,null]).forEach((ze,K)=>{"object"==typeof ze&&null!==ze?(F[K]=null,Object.keys(s.WV).map(N=>{const V=N;this.mediaMatcher.matchMedia(s.WV[V]).matches&&ze[V]&&(F[K]=ze[V])})):F[K]=Number(ze)||null}),F}setGutterStyle(){const[F,R]=this.getGutter();this.actualGutter$.next([F,R]);const ge=(ze,K)=>{null!==K&&this.renderer.setStyle(this.elementRef.nativeElement,ze,`-${K/2}px`)};ge("margin-left",F),ge("margin-right",F),ge("margin-top",R),ge("margin-bottom",R)}constructor(F,R,ge,ze,K,N,V){this.elementRef=F,this.renderer=R,this.mediaMatcher=ge,this.ngZone=ze,this.platform=K,this.breakpointService=N,this.directionality=V,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new i.t(1),this.dir="ltr",this.destroy$=new v.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,d.R)(this.destroy$)).subscribe(F=>{this.dir=F}),this.setGutterStyle()}ngOnChanges(F){F.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(s.WV).pipe((0,d.R)(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return M.\u0275fac=function(F){return new(F||M)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(k.vx),t.Y36(t.R0b),t.Y36(G.t4),t.Y36(s.r3),t.Y36(U.Is,8))},M.\u0275dir=t.lG2({type:M,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(F,R){2&F&&t.ekj("ant-row-top","top"===R.nzAlign)("ant-row-middle","middle"===R.nzAlign)("ant-row-bottom","bottom"===R.nzAlign)("ant-row-start","start"===R.nzJustify)("ant-row-end","end"===R.nzJustify)("ant-row-center","center"===R.nzJustify)("ant-row-space-around","space-around"===R.nzJustify)("ant-row-space-between","space-between"===R.nzJustify)("ant-row-space-evenly","space-evenly"===R.nzJustify)("ant-row-rtl","rtl"===R.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[t.TTD]}),M})(),L=(()=>{class M{setHostClassMap(){const F={"ant-col":!0,[`ant-col-${this.nzSpan}`]:(0,P.DX)(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:(0,P.DX)(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:(0,P.DX)(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:(0,P.DX)(this.nzPull),[`ant-col-push-${this.nzPush}`]:(0,P.DX)(this.nzPush),"ant-col-rtl":"rtl"===this.dir,...this.generateClass()};for(const R in this.classMap)this.classMap.hasOwnProperty(R)&&this.renderer.removeClass(this.elementRef.nativeElement,R);this.classMap={...F};for(const R in this.classMap)this.classMap.hasOwnProperty(R)&&this.classMap[R]&&this.renderer.addClass(this.elementRef.nativeElement,R)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(F){return"number"==typeof F?`${F} ${F} auto`:"string"==typeof F&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(F)?`0 0 ${F}`:F}generateClass(){const R={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(ge=>{const ze=ge.replace("nz","").toLowerCase();if((0,P.DX)(this[ge]))if("number"==typeof this[ge]||"string"==typeof this[ge])R[`ant-col-${ze}-${this[ge]}`]=!0;else{const K=this[ge];["span","pull","push","offset","order"].forEach(V=>{R[`ant-col-${ze}${"span"===V?"-":`-${V}-`}${K[V]}`]=K&&(0,P.DX)(K[V])})}}),R}constructor(F,R,ge,ze){this.elementRef=F,this.nzRowDirective=R,this.renderer=ge,this.directionality=ze,this.classMap={},this.destroy$=new v.x,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,d.R)(this.destroy$)).subscribe(F=>{this.dir=F,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(F){this.setHostClassMap();const{nzFlex:R}=F;R&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe((0,d.R)(this.destroy$)).subscribe(([F,R])=>{const ge=(ze,K)=>{null!==K&&this.renderer.setStyle(this.elementRef.nativeElement,ze,K/2+"px")};ge("padding-left",F),ge("padding-right",F),ge("padding-top",R),ge("padding-bottom",R)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return M.\u0275fac=function(F){return new(F||M)(t.Y36(t.SBq),t.Y36(w,9),t.Y36(t.Qsj),t.Y36(U.Is,8))},M.\u0275dir=t.lG2({type:M,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(F,R){2&F&&t.Udp("flex",R.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[t.TTD]}),M})(),Y=(()=>{class M{}return M.\u0275fac=function(F){return new(F||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({imports:[U.vT,S.ez,k.xu,G.ud]}),M})()},1752:(xt,Se,a)=>{a.d(Se,{YI:()=>S,iF:()=>d,u7:()=>k,wi:()=>U});var t=a(5879),i=a(5619),v=a(7032),d={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week",secondError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",minuteError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",hourError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-23Allowable range

",dayError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-31Allowable range

",monthError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-12Allowable range

",weekError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

? Not specify

0-7Allowable range (0 represents Sunday, 1-7 are Monday to Sunday)

"},QRCode:{expired:"QR code expired",refresh:"Refresh"}},s={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468",secondError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",minuteError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",hourError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

0-23 \u5141\u8bb8\u8303\u56f4

",dayError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-31 \u5141\u8bb8\u8303\u56f4

",monthError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-12 \u5141\u8bb8\u8303\u56f4

",weekError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

? \u4e0d\u6307\u5b9a

0-7 \u5141\u8bb8\u8303\u56f4\uff080\u4ee3\u8868\u5468\u65e5\uff0c1-7\u4f9d\u6b21\u4e3a\u5468\u4e00\u5230\u5468\u65e5\uff09

"},QRCode:{expired:"\u4e8c\u7ef4\u7801\u8fc7\u671f",refresh:"\u70b9\u51fb\u5237\u65b0"}};const k=new t.OlP("nz-i18n"),G=new t.OlP("nz-date-locale");let U=(()=>{class Nt{get localeChange(){return this._change.asObservable()}constructor(mn,Ze){this._change=new i.X(this._locale),this.setLocale(mn||s),this.setDateLocale(Ze||null)}translate(mn,Ze){let ut=this._getObjectPath(this._locale,mn);return"string"==typeof ut?(Ze&&Object.keys(Ze).forEach(le=>ut=ut.replace(new RegExp(`%${le}%`,"g"),Ze[le])),ut):mn}setLocale(mn){this._locale&&this._locale.locale===mn.locale||(this._locale=mn,this._change.next(mn))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(mn){this.dateLocale=mn}getDateLocale(){return this.dateLocale}getLocaleData(mn,Ze){const ut=mn?this._getObjectPath(this._locale,mn):this._locale;return!ut&&!Ze&&(0,v.ZK)(`Missing translations for "${mn}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),ut||Ze||this._getObjectPath(d,mn)||{}}_getObjectPath(mn,Ze){let ut=mn;const le=Ze.split("."),ye=le.length;let mt=0;for(;ut&&mt{class Nt{}return Nt.\u0275fac=function(mn){return new(mn||Nt)},Nt.\u0275mod=t.oAB({type:Nt}),Nt.\u0275inj=t.cJS({}),Nt})();new t.OlP("date-config")},551:(xt,Se,a)=>{a.d(Se,{Ls:()=>Bt,PV:()=>ln,H5:()=>mt});var t=a(2831),i=a(5879),v=a(655),d=a(8645),s=a(9666),k=a(9773),G=a(4265),U=a(6379),P=2,S=.16,w=.05,L=.05,Y=.15,M=5,e=4,F=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function R(At){var B=(0,G.py)(At.r,At.g,At.b);return{h:360*B.h,s:B.s,v:B.v}}function ge(At){return"#".concat((0,G.vq)(At.r,At.g,At.b,!1))}function K(At,dt,ft){var ne;return(ne=Math.round(At.h)>=60&&Math.round(At.h)<=240?ft?Math.round(At.h)-P*dt:Math.round(At.h)+P*dt:ft?Math.round(At.h)+P*dt:Math.round(At.h)-P*dt)<0?ne+=360:ne>=360&&(ne-=360),ne}function N(At,dt,ft){return 0===At.h&&0===At.s?At.s:((ne=ft?At.s-S*dt:dt===e?At.s+S:At.s+w*dt)>1&&(ne=1),ft&&dt===M&&ne>.1&&(ne=.1),ne<.06&&(ne=.06),Number(ne.toFixed(2)));var ne}function V(At,dt,ft){var ne;return(ne=ft?At.v+L*dt:At.v-Y*dt)>1&&(ne=1),Number(ne.toFixed(2))}function O(At){for(var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ft=[],ne=(0,U.uA)(At),B=M;B>0;B-=1){var Te=R(ne),Ye=ge((0,U.uA)({h:K(Te,B,!0),s:N(Te,B,!0),v:V(Te,B,!0)}));ft.push(Ye)}ft.push(ge(ne));for(var yt=1;yt<=e;yt+=1){var Kt=R(ne),Zt=ge((0,U.uA)({h:K(Kt,yt),s:N(Kt,yt),v:V(Kt,yt)}));ft.push(Zt)}return"dark"===dt.theme?F.map(function(On){var zn=On.index,Wn=On.opacity,bo=ge(function ze(At,dt,ft){var ne=ft/100;return{r:(dt.r-At.r)*ne+At.r,g:(dt.g-At.g)*ne+At.g,b:(dt.b-At.b)*ne+At.b}}((0,U.uA)(dt.backgroundColor||"#141414"),(0,U.uA)(ft[zn]),100*Wn));return bo}):ft}var A={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},x={},pe={};Object.keys(A).forEach(function(At){x[At]=O(A[At]),x[At].primary=x[At][5],pe[At]=O(A[At],{theme:"dark",backgroundColor:"#141414"}),pe[At].primary=pe[At][5]});var In=a(6814),Xe=a(9862),Re=a(2096),Ct=a(5592),je=a(7398),Yt=a(9397),qt=a(4716),vn=a(6306),Dn=a(3020),Wt=a(2181),It=a(8180),$e=a(6593);const Ve="[@ant-design/icons-angular]:";function We(At){(0,i.X6Q)()&&console.warn(`${Ve} ${At}.`)}function He(At){return O(At)[0]}function we(At,dt){switch(dt){case"fill":return`${At}-fill`;case"outline":return`${At}-o`;case"twotone":return`${At}-twotone`;case void 0:return At;default:throw new Error(`${Ve}Theme "${dt}" is not a recognized theme!`)}}function Ge(At){return"object"==typeof At&&"string"==typeof At.name&&("string"==typeof At.theme||void 0===At.theme)&&"string"==typeof At.icon}function st(At){const dt=At.split(":");switch(dt.length){case 1:return[At,""];case 2:return[dt[1],dt[0]];default:throw new Error(`${Ve}The icon type ${At} is not valid!`)}}function wt(At){return new Error(`${Ve}the icon ${At} does not exist or is not registered.`)}function Gt(){return new Error(`${Ve} tag not found.`)}const I=new i.OlP("ant_icons");let q=(()=>{class At{set twoToneColor({primaryColor:ft,secondaryColor:ne}){this._twoToneColorPalette.primaryColor=ft,this._twoToneColorPalette.secondaryColor=ne||He(ft)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}constructor(ft,ne,B,Te,Ye){this._rendererFactory=ft,this._handler=ne,this._document=B,this.sanitizer=Te,this._antIcons=Ye,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new d.x,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new Xe.eN(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?We("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=ft=>{this._jsonpIconLoad$.next(ft)})}changeAssetsSource(ft){this._assetsUrlRoot=ft.endsWith("/")?ft:ft+"/"}addIcon(...ft){ft.forEach(ne=>{this._svgDefinitions.set(we(ne.name,ne.theme),ne)})}addIconLiteral(ft,ne){const[B,Te]=st(ft);if(!Te)throw function lt(){return new Error(`${Ve}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:ft,icon:ne})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(ft,ne){const B=Ge(ft)?ft:this._svgDefinitions.get(ft)||null;if(!B&&this._disableDynamicLoading)throw wt(ft);return(B?(0,Re.of)(B):this._loadIconDynamically(ft)).pipe((0,je.U)(Ye=>{if(!Ye)throw wt(ft);return this._loadSVGFromCacheOrCreateNew(Ye,ne)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(ft){if(!this._http&&!this._enableJsonpLoading)return(0,Re.of)(function Ot(){return function Pe(At){console.error(`${Ve} ${At}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let ne=this._inProgressFetches.get(ft);if(!ne){const[B,Te]=st(ft),Ye=Te?{name:ft,icon:""}:function vt(At){const dt=At.split("-"),ft=function ce(At){return"o"===At?"outline":At}(dt.splice(dt.length-1,1)[0]);return{name:dt.join("-"),theme:ft,icon:""}}(B),Kt=(Te?`${this._assetsUrlRoot}assets/${Te}/${B}`:`${this._assetsUrlRoot}assets/${Ye.theme}/${Ye.name}`)+(this._enableJsonpLoading?".js":".svg"),Zt=this.sanitizer.sanitize(i.q3G.URL,Kt);if(!Zt)throw function Lt(At){return new Error(`${Ve}The url "${At}" is unsafe.`)}(Kt);ne=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(Ye,Zt):this._http.get(Zt,{responseType:"text"}).pipe((0,je.U)(zn=>({...Ye,icon:zn})))).pipe((0,Yt.b)(zn=>this.addIcon(zn)),(0,qt.x)(()=>this._inProgressFetches.delete(ft)),(0,vn.K)(()=>(0,Re.of)(null)),(0,Dn.B)()),this._inProgressFetches.set(ft,ne)}return ne}_loadIconDynamicallyWithJsonp(ft,ne){return new Ct.y(B=>{const Te=this._document.createElement("script"),Ye=setTimeout(()=>{yt(),B.error(function Ke(){return new Error(`${Ve}Importing timeout error.`)}())},6e3);function yt(){Te.parentNode.removeChild(Te),clearTimeout(Ye)}Te.src=ne,this._document.body.appendChild(Te),this._jsonpIconLoad$.pipe((0,Wt.h)(Kt=>Kt.name===ft.name&&Kt.theme===ft.theme),(0,It.q)(1)).subscribe(Kt=>{B.next(Kt),yt()})})}_loadSVGFromCacheOrCreateNew(ft,ne){let B;const Te=ne||this._twoToneColorPalette.primaryColor,Ye=He(Te)||this._twoToneColorPalette.secondaryColor,yt="twotone"===ft.theme?function te(At,dt,ft,ne){return`${we(At,dt)}-${ft}-${ne}`}(ft.name,ft.theme,Te,Ye):void 0===ft.theme?ft.name:we(ft.name,ft.theme),Kt=this._svgRenderedDefinitions.get(yt);return Kt?B=Kt.icon:(B=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function it(At){return""!==st(At)[1]}(ft.name)?ft.icon:function _n(At){return At.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(ft.icon)),"twotone"===ft.theme,Te,Ye)),this._svgRenderedDefinitions.set(yt,{...ft,icon:B})),function rn(At){return At.cloneNode(!0)}(B)}_createSVGElementFromString(ft){const ne=this._document.createElement("div");ne.innerHTML=ft;const B=ne.querySelector("svg");if(!B)throw Gt;return B}_setSVGAttribute(ft){return this._renderer.setAttribute(ft,"width","1em"),this._renderer.setAttribute(ft,"height","1em"),ft}_colorizeSVGIcon(ft,ne,B,Te){if(ne){const Ye=ft.childNodes,yt=Ye.length;for(let Kt=0;Kt{class At{constructor(ft,ne,B){this._iconService=ft,this._elementRef=ne,this._renderer=B}ngOnChanges(ft){(ft.type||ft.theme||ft.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(ft=>{if(!this.type)return this._clearSVGElement(),void ft(null);const ne=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(B=>{const Te=this._getSelfRenderMeta();!function Me(At,dt){return At.type===dt.type&&At.theme===dt.theme&&At.twoToneColor===dt.twoToneColor}(ne,Te)?ft(null):(this._setSVGElement(B),ft(B))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(ft,ne){if(Ge(ft))return ft;{const[B,Te]=st(ft);return Te?ft:function De(At){return At.endsWith("-fill")||At.endsWith("-o")||At.endsWith("-twotone")}(B)?(ne&&We(`'type' ${B} already gets a theme inside so 'theme' ${ne} would be ignored`),B):we(B,ne||this._iconService.defaultTheme)}}_setSVGElement(ft){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,ft)}_clearSVGElement(){const ft=this._elementRef.nativeElement,ne=ft.childNodes;for(let Te=ne.length-1;Te>=0;Te--){const Ye=ne[Te];"svg"===Ye.tagName?.toLowerCase()&&this._renderer.removeChild(ft,Ye)}}}return At.\u0275fac=function(ft){return new(ft||At)(i.Y36(q),i.Y36(i.SBq),i.Y36(i.Qsj))},At.\u0275dir=i.lG2({type:At,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[i.TTD]}),At})();var rt=a(7032),Nt=a(7754),Tt=a(4715),mn=a(874);const Ze=[Tt.V65,Tt.ud1,Tt.bBn,Tt.BOg,Tt.Hkd,Tt.XuQ,Tt.Rfq,Tt.yQU,Tt.U2Q,Tt.UKj,Tt.OYp,Tt.BXH,Tt.eLU,Tt.x0x,Tt.vkb,Tt.VWu,Tt.rMt,Tt.vEg,Tt.RIp,Tt.RU0,Tt.M8e,Tt.ssy,Tt.Z5F,Tt.iUK,Tt.LJh,Tt.NFG,Tt.UTl,Tt.nrZ,Tt.gvV,Tt.d2H,Tt.eFY,Tt.sZJ,Tt.np6,Tt.w1L,Tt.UY$,Tt.v6v,Tt.rHg,Tt.v6v,Tt.s_U,Tt.TSL,Tt.FsU,Tt.cN2,Tt.uIz,Tt.d_$],ut=new i.OlP("nz_icons"),ye=(new i.OlP("nz_icon_default_twotone_color"),"#1890ff");let mt=(()=>{class At extends q{get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(ft){ft.getAttribute("viewBox")||this._renderer.setAttribute(ft,"viewBox","0 0 1024 1024"),(!ft.getAttribute("width")||!ft.getAttribute("height"))&&(this._renderer.setAttribute(ft,"width","1em"),this._renderer.setAttribute(ft,"height","1em")),ft.getAttribute("fill")||this._renderer.setAttribute(ft,"fill","currentColor")}fetchFromIconfont(ft){const{scriptUrl:ne}=ft;if(this._document&&!this.iconfontCache.has(ne)){const B=this._renderer.createElement("script");this._renderer.setAttribute(B,"src",ne),this._renderer.setAttribute(B,"data-namespace",ne.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,B),this.iconfontCache.add(ne)}}createIconfontIcon(ft){return this._createSVGElementFromString(``)}constructor(ft,ne,B,Te,Ye,yt,Kt){super(ft,Ye,yt,ne,[...Ze,...Kt||[]]),this.nzConfigService=B,this.platform=Te,this.configUpdated$=new d.x,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const ft=this.getConfig();this.defaultTheme=ft.nzTheme||"outline"}configDefaultTwotoneColor(){const ne=this.getConfig().nzTwotoneColor||ye;let B=ye;ne&&(ne.startsWith("#")?B=ne:(0,rt.ZK)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:B}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return At.\u0275fac=function(ft){return new(ft||At)(i.LFG(i.FYo),i.LFG($e.H7),i.LFG(mn.jY),i.LFG(t.t4),i.LFG(Xe.jN,8),i.LFG(In.K0,8),i.LFG(ut,8))},At.\u0275prov=i.Yz7({token:At,factory:At.\u0275fac,providedIn:"root"}),At})();const Ae=new i.OlP("nz_icons_patch");let at=(()=>{class At{constructor(ft,ne){this.extraIcons=ft,this.rootIconService=ne,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(ft=>this.rootIconService.addIcon(ft)),this.patched=!0)}}return At.\u0275fac=function(ft){return new(ft||At)(i.LFG(Ae,2),i.LFG(mt))},At.\u0275prov=i.Yz7({token:At,factory:At.\u0275fac}),At})(),Bt=(()=>{class At extends _t{set nzSpin(ft){this.spin=ft}set nzType(ft){this.type=ft}set nzTheme(ft){this.theme=ft}set nzTwotoneColor(ft){this.twoToneColor=ft}set nzIconfont(ft){this.iconfont=ft}constructor(ft,ne,B,Te,Ye,yt){super(Te,B,Ye),this.ngZone=ft,this.changeDetectorRef=ne,this.iconService=Te,this.renderer=Ye,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new d.x,yt&&yt.doPatch(),this.el=B.nativeElement}ngOnChanges(ft){const{nzType:ne,nzTwotoneColor:B,nzSpin:Te,nzTheme:Ye,nzRotate:yt}=ft;ne||B||Te||Ye?this.changeIcon2():yt?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const ft=this.el.children;let ne=ft.length;if(!this.type&&ft.length)for(;ne--;){const B=ft[ne];"svg"===B.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(B)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{(0,s.D)(this._changeIcon()).pipe((0,k.R)(this.destroy$)).subscribe({next:ft=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),ft&&(this.setSVGData(ft),this.handleSpin(ft),this.handleRotate(ft))})},error:rt.ZK})})}handleSpin(ft){this.spin||"loading"===this.type?this.renderer.addClass(ft,"anticon-spin"):this.renderer.removeClass(ft,"anticon-spin")}handleRotate(ft){this.nzRotate?this.renderer.setAttribute(ft,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(ft,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(ft){this.renderer.setAttribute(ft,"data-icon",this.type),this.renderer.setAttribute(ft,"aria-hidden","true")}}return At.\u0275fac=function(ft){return new(ft||At)(i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(mt),i.Y36(i.Qsj),i.Y36(at,8))},At.\u0275dir=i.lG2({type:At,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(ft,ne){2&ft&&i.ekj("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[i.qOj,i.TTD]}),(0,v.gn)([(0,Nt.yF)()],At.prototype,"nzSpin",null),At})(),ln=(()=>{class At{static forRoot(ft){return{ngModule:At,providers:[{provide:ut,useValue:ft}]}}static forChild(ft){return{ngModule:At,providers:[at,{provide:Ae,useValue:ft}]}}}return At.\u0275fac=function(ft){return new(ft||At)},At.\u0275mod=i.oAB({type:At}),At.\u0275inj=i.cJS({imports:[t.ud]}),At})()},8373:(xt,Se,a)=>{a.d(Se,{Rb:()=>Dn,Zf:()=>Wt,_V:()=>Yt});var t=a(655),i=a(6028),v=a(5879),d=a(6223),s=a(8645),k=a(2438),G=a(3019),U=a(3997),P=a(9773),S=a(7921),w=a(4664),L=a(1631),Y=a(7398),M=a(9087),e=a(7754),F=a(4300),R=a(9388),ge=a(883),ze=a(6814),K=a(551),N=a(8324);const V=["upHandler"],O=["downHandler"],A=["inputElement"];function x(It,$e){if(1&It&&v._UZ(0,"nz-form-item-feedback-icon",11),2&It){const Ve=v.oxw();v.Q6J("status",Ve.status)}}const pe=["nz-input-number-group-slot",""];function de(It,$e){if(1&It&&v._UZ(0,"span",2),2&It){const Ve=v.oxw();v.Q6J("nzType",Ve.icon)}}function W(It,$e){if(1&It&&(v.ynx(0),v._uU(1),v.BQk()),2&It){const Ve=v.oxw();v.xp6(1),v.Oqu(Ve.template)}}const ve=["*"];function Q(It,$e){if(1&It&&v._UZ(0,"div",7),2&It){const Ve=v.oxw(2);v.Q6J("icon",Ve.nzAddOnBeforeIcon)("template",Ve.nzAddOnBefore)}}function ae(It,$e){}function fe(It,$e){if(1&It&&(v.TgZ(0,"div",8),v.YNc(1,ae,0,0,"ng-template",9),v.qZA()),2&It){const Ve=v.oxw(2),Pe=v.MAs(4);v.ekj("ant-input-number-affix-wrapper-disabled",Ve.disabled)("ant-input-number-affix-wrapper-sm",Ve.isSmall)("ant-input-number-affix-wrapper-lg",Ve.isLarge)("ant-input-number-affix-wrapper-focused",Ve.focused),v.Q6J("ngClass",Ve.affixInGroupStatusCls),v.xp6(1),v.Q6J("ngTemplateOutlet",Pe)}}function be(It,$e){if(1&It&&v._UZ(0,"span",7),2&It){const Ve=v.oxw(2);v.Q6J("icon",Ve.nzAddOnAfterIcon)("template",Ve.nzAddOnAfter)}}function Ft(It,$e){if(1&It&&(v.TgZ(0,"span",4),v.YNc(1,Q,1,2,"div",5),v.YNc(2,fe,2,10,"div",6),v.YNc(3,be,1,2,"span",5),v.qZA()),2&It){const Ve=v.oxw(),Pe=v.MAs(6);v.xp6(1),v.Q6J("ngIf",Ve.nzAddOnBefore||Ve.nzAddOnBeforeIcon),v.xp6(1),v.Q6J("ngIf",Ve.isAffix||Ve.hasFeedback)("ngIfElse",Pe),v.xp6(1),v.Q6J("ngIf",Ve.nzAddOnAfter||Ve.nzAddOnAfterIcon)}}function Dt(It,$e){}function nn(It,$e){if(1&It&&v.YNc(0,Dt,0,0,"ng-template",9),2&It){v.oxw(2);const Ve=v.MAs(4);v.Q6J("ngTemplateOutlet",Ve)}}function Et(It,$e){if(1&It&&v.YNc(0,nn,1,1,"ng-template",10),2&It){const Ve=v.oxw(),Pe=v.MAs(6);v.Q6J("ngIf",Ve.isAffix)("ngIfElse",Pe)}}function Ht(It,$e){if(1&It&&v._UZ(0,"span",13),2&It){const Ve=v.oxw(2);v.Q6J("icon",Ve.nzPrefixIcon)("template",Ve.nzPrefix)}}function tn(It,$e){}function un(It,$e){if(1&It&&v._UZ(0,"nz-form-item-feedback-icon",16),2&It){const Ve=v.oxw(3);v.Q6J("status",Ve.status)}}function In(It,$e){if(1&It&&(v.TgZ(0,"span",14),v.YNc(1,un,1,1,"nz-form-item-feedback-icon",15),v.qZA()),2&It){const Ve=v.oxw(2);v.Q6J("icon",Ve.nzSuffixIcon)("template",Ve.nzSuffix),v.xp6(1),v.Q6J("ngIf",Ve.isFeedback)}}function Xe(It,$e){if(1&It&&(v.YNc(0,Ht,1,2,"span",11),v.YNc(1,tn,0,0,"ng-template",9),v.YNc(2,In,2,3,"span",12)),2&It){const Ve=v.oxw(),Pe=v.MAs(6);v.Q6J("ngIf",Ve.nzPrefix||Ve.nzPrefixIcon),v.xp6(1),v.Q6J("ngTemplateOutlet",Pe),v.xp6(1),v.Q6J("ngIf",Ve.nzSuffix||Ve.nzSuffixIcon||Ve.isFeedback)}}function Re(It,$e){if(1&It&&v._UZ(0,"nz-form-item-feedback-icon",16),2&It){const Ve=v.oxw(3);v.Q6J("status",Ve.status)}}function Ct(It,$e){if(1&It&&(v.TgZ(0,"span",18),v.YNc(1,Re,1,1,"nz-form-item-feedback-icon",15),v.qZA()),2&It){const Ve=v.oxw(2);v.xp6(1),v.Q6J("ngIf",Ve.isFeedback)}}function je(It,$e){if(1&It&&(v.Hsn(0),v.YNc(1,Ct,2,1,"span",17)),2&It){const Ve=v.oxw();v.xp6(1),v.Q6J("ngIf",!Ve.isAddOn&&!Ve.isAffix&&Ve.isFeedback)}}let Yt=(()=>{class It{onModelChange(Ve){this.parsedValue=this.nzParser(Ve),this.inputElement.nativeElement.value=`${this.parsedValue}`;const Pe=this.getCurrentValidValue(this.parsedValue);this.setValue(Pe)}getCurrentValidValue(Ve){let Pe=Ve;return Pe=""===Pe?"":this.isNotCompleteNumber(Pe)?this.value:`${this.getValidValue(Pe)}`,this.toNumber(Pe)}isNotCompleteNumber(Ve){return isNaN(Ve)||""===Ve||null===Ve||!(!Ve||Ve.toString().indexOf(".")!==Ve.toString().length-1)}getValidValue(Ve){let Pe=parseFloat(Ve);return isNaN(Pe)?Ve:(Pethis.nzMax&&(Pe=this.nzMax),Pe)}toNumber(Ve){if(this.isNotCompleteNumber(Ve))return Ve;const Pe=String(Ve);if(Pe.indexOf(".")>=0&&(0,e.DX)(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode(Ve,this.nzPrecision);if("cut"===this.nzPrecisionMode){const We=Pe.split(".");return We[1]=We[1].slice(0,this.nzPrecision),Number(We.join("."))}return Number(Number(Ve).toFixed(this.nzPrecision))}return Number(Ve)}getRatio(Ve){let Pe=1;return Ve.metaKey||Ve.ctrlKey?Pe=.1:Ve.shiftKey&&(Pe=10),Pe}down(Ve,Pe){this.isFocused||this.focus(),this.step("down",Ve,Pe)}up(Ve,Pe){this.isFocused||this.focus(),this.step("up",Ve,Pe)}getPrecision(Ve){const Pe=Ve.toString();if(Pe.indexOf("e-")>=0)return parseInt(Pe.slice(Pe.indexOf("e-")+2),10);let We=0;return Pe.indexOf(".")>=0&&(We=Pe.length-Pe.indexOf(".")-1),We}getMaxPrecision(Ve,Pe){if((0,e.DX)(this.nzPrecision))return this.nzPrecision;const We=this.getPrecision(Pe),He=this.getPrecision(this.nzStep),we=this.getPrecision(Ve);return Ve?Math.max(we,We+He):We+He}getPrecisionFactor(Ve,Pe){const We=this.getMaxPrecision(Ve,Pe);return Math.pow(10,We)}upStep(Ve,Pe){const We=this.getPrecisionFactor(Ve,Pe),He=Math.abs(this.getMaxPrecision(Ve,Pe));let we;return we="number"==typeof Ve?((We*Ve+We*this.nzStep*Pe)/We).toFixed(He):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(we)}downStep(Ve,Pe){const We=this.getPrecisionFactor(Ve,Pe),He=Math.abs(this.getMaxPrecision(Ve,Pe));let we;return we="number"==typeof Ve?((We*Ve-We*this.nzStep*Pe)/We).toFixed(He):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(we)}step(Ve,Pe,We=1){if(this.stop(),Pe.preventDefault(),this.nzDisabled)return;const He=this.getCurrentValidValue(this.parsedValue)||0;let we=0;"up"===Ve?we=this.upStep(He,We):"down"===Ve&&(we=this.downStep(He,We));const te=we>this.nzMax||wethis.nzMax?we=this.nzMax:we{this[Ve](Pe,We)},300))}stop(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)}setValue(Ve){if(`${this.value}`!=`${Ve}`&&this.onChange(Ve),this.value=Ve,this.parsedValue=Ve,this.disabledUp=this.disabledDown=!1,Ve||0===Ve){const Pe=Number(Ve);Pe>=this.nzMax&&(this.disabledUp=!0),Pe<=this.nzMin&&(this.disabledDown=!0)}}updateDisplayValue(Ve){const Pe=(0,e.DX)(this.nzFormatter(Ve))?this.nzFormatter(Ve):"";this.displayValue=Pe,this.inputElement.nativeElement.value=`${Pe}`}writeValue(Ve){this.value=Ve,this.setValue(Ve),this.updateDisplayValue(Ve),this.cdr.markForCheck()}registerOnChange(Ve){this.onChange=Ve}registerOnTouched(Ve){this.onTouched=Ve}setDisabledState(Ve){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||Ve,this.isNzDisableFirstChange=!1,this.disabled$.next(this.nzDisabled),this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(Ve,Pe,We,He,we,te,ce,De,Ge){this.ngZone=Ve,this.elementRef=Pe,this.cdr=We,this.focusMonitor=He,this.renderer=we,this.directionality=te,this.destroy$=ce,this.nzFormStatusService=De,this.nzFormNoStatusService=Ge,this.isNzDisableFirstChange=!0,this.isFocused=!1,this.disabled$=new s.x,this.disabledUp=!1,this.disabledDown=!1,this.dir="ltr",this.prefixCls="ant-input-number",this.status="",this.statusCls={},this.hasFeedback=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzBlur=new v.vpe,this.nzFocus=new v.vpe,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=vt=>vt.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,""),this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStatus="",this.nzStep=1,this.nzInputMode="decimal",this.nzId=null,this.nzDisabled=!1,this.nzReadOnly=!1,this.nzAutoFocus=!1,this.nzBorderless=!1,this.nzFormatter=vt=>vt}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,U.x)((Ve,Pe)=>Ve.status===Pe.status&&Ve.hasFeedback===Pe.hasFeedback),(0,P.R)(this.destroy$)).subscribe(({status:Ve,hasFeedback:Pe})=>{this.setStatusStyles(Ve,Pe)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,P.R)(this.destroy$)).subscribe(Ve=>{Ve?(this.isFocused=!0,this.nzFocus.emit()):(this.isFocused=!1,this.updateDisplayValue(this.value),this.nzBlur.emit(),Promise.resolve().then(()=>this.onTouched()))}),this.dir=this.directionality.value,this.directionality.change.pipe((0,P.R)(this.destroy$)).subscribe(Ve=>{this.dir=Ve}),this.setupHandlersListeners(),this.ngZone.runOutsideAngular(()=>{(0,k.R)(this.inputElement.nativeElement,"keyup").pipe((0,P.R)(this.destroy$)).subscribe(()=>this.stop()),(0,k.R)(this.inputElement.nativeElement,"keydown").pipe((0,P.R)(this.destroy$)).subscribe(Ve=>{const{keyCode:Pe}=Ve;Pe!==i.LH&&Pe!==i.JH&&Pe!==i.K5||this.ngZone.run(()=>{if(Pe===i.LH){const We=this.getRatio(Ve);this.up(Ve,We),this.stop()}else if(Pe===i.JH){const We=this.getRatio(Ve);this.down(Ve,We),this.stop()}else this.updateDisplayValue(this.value);this.cdr.markForCheck()})})})}ngOnChanges(Ve){const{nzStatus:Pe,nzDisabled:We}=Ve;if(Ve.nzFormatter&&!Ve.nzFormatter.isFirstChange()){const He=this.getCurrentValidValue(this.parsedValue);this.setValue(He),this.updateDisplayValue(He)}We&&this.disabled$.next(this.nzDisabled),Pe&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef)}setupHandlersListeners(){this.ngZone.runOutsideAngular(()=>{(0,G.T)((0,k.R)(this.upHandler.nativeElement,"mouseup"),(0,k.R)(this.upHandler.nativeElement,"mouseleave"),(0,k.R)(this.downHandler.nativeElement,"mouseup"),(0,k.R)(this.downHandler.nativeElement,"mouseleave")).pipe((0,P.R)(this.destroy$)).subscribe(()=>this.stop())})}setStatusStyles(Ve,Pe){this.status=Ve,this.hasFeedback=Pe,this.cdr.markForCheck(),this.statusCls=(0,e.Zu)(this.prefixCls,Ve,Pe),Object.keys(this.statusCls).forEach(We=>{this.statusCls[We]?this.renderer.addClass(this.elementRef.nativeElement,We):this.renderer.removeClass(this.elementRef.nativeElement,We)})}}return It.\u0275fac=function(Ve){return new(Ve||It)(v.Y36(v.R0b),v.Y36(v.SBq),v.Y36(v.sBO),v.Y36(F.tE),v.Y36(v.Qsj),v.Y36(R.Is,8),v.Y36(M.kn),v.Y36(ge.kH,8),v.Y36(ge.yW,8))},It.\u0275cmp=v.Xpm({type:It,selectors:[["nz-input-number"]],viewQuery:function(Ve,Pe){if(1&Ve&&(v.Gf(V,7),v.Gf(O,7),v.Gf(A,7)),2&Ve){let We;v.iGM(We=v.CRH())&&(Pe.upHandler=We.first),v.iGM(We=v.CRH())&&(Pe.downHandler=We.first),v.iGM(We=v.CRH())&&(Pe.inputElement=We.first)}},hostAttrs:[1,"ant-input-number"],hostVars:16,hostBindings:function(Ve,Pe){2&Ve&&v.ekj("ant-input-number-in-form-item",!!Pe.nzFormStatusService)("ant-input-number-focused",Pe.isFocused)("ant-input-number-lg","large"===Pe.nzSize)("ant-input-number-sm","small"===Pe.nzSize)("ant-input-number-disabled",Pe.nzDisabled)("ant-input-number-readonly",Pe.nzReadOnly)("ant-input-number-rtl","rtl"===Pe.dir)("ant-input-number-borderless",Pe.nzBorderless)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecision:"nzPrecision",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStatus:"nzStatus",nzStep:"nzStep",nzInputMode:"nzInputMode",nzId:"nzId",nzDisabled:"nzDisabled",nzReadOnly:"nzReadOnly",nzAutoFocus:"nzAutoFocus",nzBorderless:"nzBorderless",nzFormatter:"nzFormatter"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[v._Bn([{provide:d.JU,useExisting:(0,v.Gpc)(()=>It),multi:!0},M.kn]),v.TTD],decls:11,vars:15,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown"],["upHandler",""],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown"],["downHandler",""],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","readOnly","ngModel","ngModelChange"],["inputElement",""],["class","ant-input-number-suffix",3,"status",4,"ngIf"],[1,"ant-input-number-suffix",3,"status"]],template:function(Ve,Pe){1&Ve&&(v.TgZ(0,"div",0)(1,"span",1,2),v.NdJ("mousedown",function(He){return Pe.up(He)}),v._UZ(3,"span",3),v.qZA(),v.TgZ(4,"span",4,5),v.NdJ("mousedown",function(He){return Pe.down(He)}),v._UZ(6,"span",6),v.qZA()(),v.TgZ(7,"div",7)(8,"input",8,9),v.NdJ("ngModelChange",function(He){return Pe.onModelChange(He)}),v.qZA()(),v.YNc(10,x,1,1,"nz-form-item-feedback-icon",10)),2&Ve&&(v.xp6(1),v.ekj("ant-input-number-handler-up-disabled",Pe.disabledUp),v.xp6(3),v.ekj("ant-input-number-handler-down-disabled",Pe.disabledDown),v.xp6(4),v.Q6J("disabled",Pe.nzDisabled)("placeholder",Pe.nzPlaceHolder)("readOnly",Pe.nzReadOnly)("ngModel",Pe.displayValue),v.uIk("id",Pe.nzId)("autofocus",Pe.nzAutoFocus?"autofocus":null)("min",Pe.nzMin)("max",Pe.nzMax)("step",Pe.nzStep)("inputmode",Pe.nzInputMode),v.xp6(2),v.Q6J("ngIf",Pe.hasFeedback&&!!Pe.status&&!Pe.nzFormNoStatusService))},dependencies:[ze.O5,d.Fj,d.JJ,d.On,K.Ls,ge.w_],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,e.yF)()],It.prototype,"nzDisabled",void 0),(0,t.gn)([(0,e.yF)()],It.prototype,"nzReadOnly",void 0),(0,t.gn)([(0,e.yF)()],It.prototype,"nzAutoFocus",void 0),(0,t.gn)([(0,e.yF)()],It.prototype,"nzBorderless",void 0),It})(),qt=(()=>{class It{constructor(){this.icon=null,this.type=null,this.template=null}}return It.\u0275fac=function(Ve){return new(Ve||It)},It.\u0275cmp=v.Xpm({type:It,selectors:[["","nz-input-number-group-slot",""]],hostVars:6,hostBindings:function(Ve,Pe){2&Ve&&v.ekj("ant-input-number-group-addon","addon"===Pe.type)("ant-input-number-prefix","prefix"===Pe.type)("ant-input-number-suffix","suffix"===Pe.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:pe,ngContentSelectors:ve,decls:3,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(Ve,Pe){1&Ve&&(v.F$t(),v.YNc(0,de,1,1,"span",0),v.YNc(1,W,2,1,"ng-container",1),v.Hsn(2)),2&Ve&&(v.Q6J("ngIf",Pe.icon),v.xp6(1),v.Q6J("nzStringTemplateOutlet",Pe.template))},dependencies:[ze.O5,N.f,K.Ls],encapsulation:2,changeDetection:0}),It})(),Dn=(()=>{class It{constructor(Ve,Pe,We,He,we,te,ce){this.focusMonitor=Ve,this.elementRef=Pe,this.renderer=We,this.cdr=He,this.directionality=we,this.nzFormStatusService=te,this.nzFormNoStatusService=ce,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzStatus="",this.nzSize="default",this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.isFeedback=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.prefixCls="ant-input-number",this.affixStatusCls={},this.groupStatusCls={},this.affixInGroupStatusCls={},this.status="",this.hasFeedback=!1,this.destroy$=new s.x}updateChildrenInputSize(){this.listOfNzInputNumberComponent&&this.listOfNzInputNumberComponent.forEach(Ve=>Ve.nzSize=this.nzSize)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,U.x)((Ve,Pe)=>Ve.status===Pe.status&&Ve.hasFeedback===Pe.hasFeedback),(0,P.R)(this.destroy$)).subscribe(({status:Ve,hasFeedback:Pe})=>{this.setStatusStyles(Ve,Pe)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,P.R)(this.destroy$)).subscribe(Ve=>{this.focused=!!Ve,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,P.R)(this.destroy$)).subscribe(Ve=>{this.dir=Ve})}ngAfterContentInit(){this.updateChildrenInputSize();const Ve=this.listOfNzInputNumberComponent.changes.pipe((0,S.O)(this.listOfNzInputNumberComponent));Ve.pipe((0,w.w)(Pe=>(0,G.T)(Ve,...Pe.map(We=>We.disabled$))),(0,L.z)(()=>Ve),(0,Y.U)(Pe=>Pe.some(We=>We.nzDisabled)),(0,P.R)(this.destroy$)).subscribe(Pe=>{this.disabled=Pe,this.cdr.markForCheck()})}ngOnChanges(Ve){const{nzSize:Pe,nzSuffix:We,nzPrefix:He,nzPrefixIcon:we,nzSuffixIcon:te,nzAddOnAfter:ce,nzAddOnBefore:De,nzAddOnAfterIcon:Ge,nzAddOnBeforeIcon:vt,nzStatus:rn}=Ve;Pe&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),(We||He||we||te)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(ce||De||Ge||vt)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),rn&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}setStatusStyles(Ve,Pe){this.status=Ve,this.hasFeedback=Pe,this.isFeedback=!!Ve&&Pe,this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)||!this.isAddOn&&Pe,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=(0,e.Zu)(`${this.prefixCls}-affix-wrapper`,Ve,Pe):{},this.cdr.markForCheck(),this.affixStatusCls=(0,e.Zu)(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":Ve,!this.isAddOn&&Pe),this.groupStatusCls=(0,e.Zu)(`${this.prefixCls}-group-wrapper`,this.isAddOn?Ve:"",!!this.isAddOn&&Pe);const He={...this.affixStatusCls,...this.groupStatusCls};Object.keys(He).forEach(we=>{He[we]?this.renderer.addClass(this.elementRef.nativeElement,we):this.renderer.removeClass(this.elementRef.nativeElement,we)})}}return It.\u0275fac=function(Ve){return new(Ve||It)(v.Y36(F.tE),v.Y36(v.SBq),v.Y36(v.Qsj),v.Y36(v.sBO),v.Y36(R.Is,8),v.Y36(ge.kH,8),v.Y36(ge.yW,8))},It.\u0275cmp=v.Xpm({type:It,selectors:[["nz-input-number-group"]],contentQueries:function(Ve,Pe,We){if(1&Ve&&v.Suo(We,Yt,5),2&Ve){let He;v.iGM(He=v.CRH())&&(Pe.listOfNzInputNumberComponent=He)}},hostVars:24,hostBindings:function(Ve,Pe){2&Ve&&v.ekj("ant-input-number-group",Pe.nzCompact)("ant-input-number-group-compact",Pe.nzCompact)("ant-input-number-group-wrapper",Pe.isAddOn)("ant-input-number-group-wrapper-rtl",Pe.isAddOn&&"rtl"===Pe.dir)("ant-input-number-group-wrapper-lg",Pe.isAddOn&&Pe.isLarge)("ant-input-number-group-wrapper-sm",Pe.isAddOn&&Pe.isSmall)("ant-input-number-affix-wrapper",!Pe.isAddOn&&Pe.isAffix)("ant-input-number-affix-wrapper-rtl",!Pe.isAddOn&&"rtl"===Pe.dir)("ant-input-number-affix-wrapper-focused",!Pe.isAddOn&&Pe.isAffix&&Pe.focused)("ant-input-number-affix-wrapper-disabled",!Pe.isAddOn&&Pe.isAffix&&Pe.disabled)("ant-input-number-affix-wrapper-lg",!Pe.isAddOn&&Pe.isAffix&&Pe.isLarge)("ant-input-number-affix-wrapper-sm",!Pe.isAddOn&&Pe.isAffix&&Pe.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzCompact:"nzCompact"},exportAs:["nzInputNumberGroup"],features:[v._Bn([ge.yW]),v.TTD],ngContentSelectors:ve,decls:7,vars:2,consts:[["class","ant-input-number-wrapper ant-input-number-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-number-wrapper","ant-input-number-group"],["nz-input-number-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-number-affix-wrapper",3,"ant-input-number-affix-wrapper-disabled","ant-input-number-affix-wrapper-sm","ant-input-number-affix-wrapper-lg","ant-input-number-affix-wrapper-focused","ngClass",4,"ngIf","ngIfElse"],["nz-input-number-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-number-affix-wrapper",3,"ngClass"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-number-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-number-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-number-group-slot","","type","prefix",3,"icon","template"],["nz-input-number-group-slot","","type","suffix",3,"icon","template"],[3,"status",4,"ngIf"],[3,"status"],["nz-input-number-group-slot","","type","suffix",4,"ngIf"],["nz-input-number-group-slot","","type","suffix"]],template:function(Ve,Pe){if(1&Ve&&(v.F$t(),v.YNc(0,Ft,4,4,"span",0),v.YNc(1,Et,1,2,"ng-template",null,1,v.W1O),v.YNc(3,Xe,3,3,"ng-template",null,2,v.W1O),v.YNc(5,je,2,1,"ng-template",null,3,v.W1O)),2&Ve){const We=v.MAs(2);v.Q6J("ngIf",Pe.isAddOn)("ngIfElse",We)}},dependencies:[ze.mk,ze.O5,ze.tP,ge.w_,qt],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,e.yF)()],It.prototype,"nzCompact",void 0),It})(),Wt=(()=>{class It{}return It.\u0275fac=function(Ve){return new(Ve||It)},It.\u0275mod=v.oAB({type:It}),It.\u0275inj=v.cJS({imports:[R.vT,ze.ez,d.u5,N.T,K.PV,ge.mJ]}),It})()},824:(xt,Se,a)=>{a.d(Se,{Zp:()=>Re,gB:()=>Yt,ke:()=>je,o7:()=>Dn,rh:()=>qt});var t=a(655),i=a(5879),v=a(8645),d=a(3019),s=a(3997),k=a(9773),G=a(2181),U=a(7921),P=a(4664),S=a(1631),w=a(7398),L=a(883),Y=a(7754),M=a(6223),e=a(9388),F=a(4300),R=a(6814),ge=a(551),ze=a(8324),K=a(2831),N=a(9087);const V=["nz-input-group-slot",""];function O(Wt,It){if(1&Wt&&i._UZ(0,"span",2),2&Wt){const $e=i.oxw();i.Q6J("nzType",$e.icon)}}function A(Wt,It){if(1&Wt&&(i.ynx(0),i._uU(1),i.BQk()),2&Wt){const $e=i.oxw();i.xp6(1),i.Oqu($e.template)}}const x=["*"];function pe(Wt,It){if(1&Wt&&i._UZ(0,"span",7),2&Wt){const $e=i.oxw(2);i.Q6J("icon",$e.nzAddOnBeforeIcon)("template",$e.nzAddOnBefore)}}function de(Wt,It){}function W(Wt,It){if(1&Wt&&(i.TgZ(0,"span",8),i.YNc(1,de,0,0,"ng-template",9),i.qZA()),2&Wt){const $e=i.oxw(2),Ve=i.MAs(4);i.ekj("ant-input-affix-wrapper-disabled",$e.disabled)("ant-input-affix-wrapper-sm",$e.isSmall)("ant-input-affix-wrapper-lg",$e.isLarge)("ant-input-affix-wrapper-focused",$e.focused),i.Q6J("ngClass",$e.affixInGroupStatusCls),i.xp6(1),i.Q6J("ngTemplateOutlet",Ve)}}function ve(Wt,It){if(1&Wt&&i._UZ(0,"span",7),2&Wt){const $e=i.oxw(2);i.Q6J("icon",$e.nzAddOnAfterIcon)("template",$e.nzAddOnAfter)}}function Q(Wt,It){if(1&Wt&&(i.TgZ(0,"span",4),i.YNc(1,pe,1,2,"span",5),i.YNc(2,W,2,10,"span",6),i.YNc(3,ve,1,2,"span",5),i.qZA()),2&Wt){const $e=i.oxw(),Ve=i.MAs(6);i.xp6(1),i.Q6J("ngIf",$e.nzAddOnBefore||$e.nzAddOnBeforeIcon),i.xp6(1),i.Q6J("ngIf",$e.isAffix||$e.hasFeedback)("ngIfElse",Ve),i.xp6(1),i.Q6J("ngIf",$e.nzAddOnAfter||$e.nzAddOnAfterIcon)}}function ae(Wt,It){}function fe(Wt,It){if(1&Wt&&i.YNc(0,ae,0,0,"ng-template",9),2&Wt){i.oxw(2);const $e=i.MAs(4);i.Q6J("ngTemplateOutlet",$e)}}function be(Wt,It){if(1&Wt&&i.YNc(0,fe,1,1,"ng-template",10),2&Wt){const $e=i.oxw(),Ve=i.MAs(6);i.Q6J("ngIf",$e.isAffix)("ngIfElse",Ve)}}function Ft(Wt,It){if(1&Wt&&i._UZ(0,"span",13),2&Wt){const $e=i.oxw(2);i.Q6J("icon",$e.nzPrefixIcon)("template",$e.nzPrefix)}}function Dt(Wt,It){}function nn(Wt,It){if(1&Wt&&i._UZ(0,"nz-form-item-feedback-icon",16),2&Wt){const $e=i.oxw(3);i.Q6J("status",$e.status)}}function Et(Wt,It){if(1&Wt&&(i.TgZ(0,"span",14),i.YNc(1,nn,1,1,"nz-form-item-feedback-icon",15),i.qZA()),2&Wt){const $e=i.oxw(2);i.Q6J("icon",$e.nzSuffixIcon)("template",$e.nzSuffix),i.xp6(1),i.Q6J("ngIf",$e.isFeedback)}}function Ht(Wt,It){if(1&Wt&&(i.YNc(0,Ft,1,2,"span",11),i.YNc(1,Dt,0,0,"ng-template",9),i.YNc(2,Et,2,3,"span",12)),2&Wt){const $e=i.oxw(),Ve=i.MAs(6);i.Q6J("ngIf",$e.nzPrefix||$e.nzPrefixIcon),i.xp6(1),i.Q6J("ngTemplateOutlet",Ve),i.xp6(1),i.Q6J("ngIf",$e.nzSuffix||$e.nzSuffixIcon||$e.isFeedback)}}function tn(Wt,It){if(1&Wt&&(i.TgZ(0,"span",18),i._UZ(1,"nz-form-item-feedback-icon",16),i.qZA()),2&Wt){const $e=i.oxw(2);i.xp6(1),i.Q6J("status",$e.status)}}function un(Wt,It){if(1&Wt&&(i.Hsn(0),i.YNc(1,tn,2,1,"span",17)),2&Wt){const $e=i.oxw();i.xp6(1),i.Q6J("ngIf",!$e.isAddOn&&!$e.isAffix&&$e.isFeedback)}}let Re=(()=>{class Wt{get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled($e){this._disabled=null!=$e&&"false"!=`${$e}`}constructor($e,Ve,Pe,We,He,we,te){this.ngControl=$e,this.renderer=Ve,this.elementRef=Pe,this.hostView=We,this.directionality=He,this.nzFormStatusService=we,this.nzFormNoStatusService=te,this.nzBorderless=!1,this.nzSize="default",this.nzStatus="",this._disabled=!1,this.disabled$=new v.x,this.dir="ltr",this.prefixCls="ant-input",this.status="",this.statusCls={},this.hasFeedback=!1,this.feedbackRef=null,this.components=[],this.destroy$=new v.x}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,s.x)(($e,Ve)=>$e.status===Ve.status&&$e.hasFeedback===Ve.hasFeedback),(0,k.R)(this.destroy$)).subscribe(({status:$e,hasFeedback:Ve})=>{this.setStatusStyles($e,Ve)}),this.ngControl&&this.ngControl.statusChanges?.pipe((0,G.h)(()=>null!==this.ngControl.disabled),(0,k.R)(this.destroy$)).subscribe(()=>{this.disabled$.next(this.ngControl.disabled)}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,k.R)(this.destroy$)).subscribe($e=>{this.dir=$e})}ngOnChanges($e){const{disabled:Ve,nzStatus:Pe}=$e;Ve&&this.disabled$.next(this.disabled),Pe&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setStatusStyles($e,Ve){this.status=$e,this.hasFeedback=Ve,this.renderFeedbackIcon(),this.statusCls=(0,Y.Zu)(this.prefixCls,$e,Ve),Object.keys(this.statusCls).forEach(Pe=>{this.statusCls[Pe]?this.renderer.addClass(this.elementRef.nativeElement,Pe):this.renderer.removeClass(this.elementRef.nativeElement,Pe)})}renderFeedbackIcon(){if(!this.status||!this.hasFeedback||this.nzFormNoStatusService)return this.hostView.clear(),void(this.feedbackRef=null);this.feedbackRef=this.feedbackRef||this.hostView.createComponent(L.w_),this.feedbackRef.location.nativeElement.classList.add("ant-input-suffix"),this.feedbackRef.instance.status=this.status,this.feedbackRef.instance.updateIcon()}}return Wt.\u0275fac=function($e){return new($e||Wt)(i.Y36(M.a5,10),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(e.Is,8),i.Y36(L.kH,8),i.Y36(L.yW,8))},Wt.\u0275dir=i.lG2({type:Wt,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostAttrs:[1,"ant-input"],hostVars:11,hostBindings:function($e,Ve){2&$e&&(i.uIk("disabled",Ve.disabled||null),i.ekj("ant-input-disabled",Ve.disabled)("ant-input-borderless",Ve.nzBorderless)("ant-input-lg","large"===Ve.nzSize)("ant-input-sm","small"===Ve.nzSize)("ant-input-rtl","rtl"===Ve.dir))},inputs:{nzBorderless:"nzBorderless",nzSize:"nzSize",nzStatus:"nzStatus",disabled:"disabled"},exportAs:["nzInput"],features:[i.TTD]}),(0,t.gn)([(0,Y.yF)()],Wt.prototype,"nzBorderless",void 0),Wt})(),Ct=(()=>{class Wt{constructor(){this.icon=null,this.type=null,this.template=null}}return Wt.\u0275fac=function($e){return new($e||Wt)},Wt.\u0275cmp=i.Xpm({type:Wt,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function($e,Ve){2&$e&&i.ekj("ant-input-group-addon","addon"===Ve.type)("ant-input-prefix","prefix"===Ve.type)("ant-input-suffix","suffix"===Ve.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:V,ngContentSelectors:x,decls:3,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function($e,Ve){1&$e&&(i.F$t(),i.YNc(0,O,1,1,"span",0),i.YNc(1,A,2,1,"ng-container",1),i.Hsn(2)),2&$e&&(i.Q6J("ngIf",Ve.icon),i.xp6(1),i.Q6J("nzStringTemplateOutlet",Ve.template))},dependencies:[R.O5,ge.Ls,ze.f],encapsulation:2,changeDetection:0}),Wt})(),je=(()=>{class Wt{constructor($e){this.elementRef=$e}}return Wt.\u0275fac=function($e){return new($e||Wt)(i.Y36(i.SBq))},Wt.\u0275dir=i.lG2({type:Wt,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]}),Wt})(),Yt=(()=>{class Wt{constructor($e,Ve,Pe,We,He,we,te){this.focusMonitor=$e,this.elementRef=Ve,this.renderer=Pe,this.cdr=We,this.directionality=He,this.nzFormStatusService=we,this.nzFormNoStatusService=te,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzStatus="",this.nzSize="default",this.nzSearch=!1,this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.isFeedback=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.prefixCls="ant-input",this.affixStatusCls={},this.groupStatusCls={},this.affixInGroupStatusCls={},this.status="",this.hasFeedback=!1,this.destroy$=new v.x}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach($e=>$e.nzSize=this.nzSize)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,s.x)(($e,Ve)=>$e.status===Ve.status&&$e.hasFeedback===Ve.hasFeedback),(0,k.R)(this.destroy$)).subscribe(({status:$e,hasFeedback:Ve})=>{this.setStatusStyles($e,Ve)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,k.R)(this.destroy$)).subscribe($e=>{this.focused=!!$e,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,k.R)(this.destroy$)).subscribe($e=>{this.dir=$e})}ngAfterContentInit(){this.updateChildrenInputSize();const $e=this.listOfNzInputDirective.changes.pipe((0,U.O)(this.listOfNzInputDirective));$e.pipe((0,P.w)(Ve=>(0,d.T)($e,...Ve.map(Pe=>Pe.disabled$))),(0,S.z)(()=>$e),(0,w.U)(Ve=>Ve.some(Pe=>Pe.disabled)),(0,k.R)(this.destroy$)).subscribe(Ve=>{this.disabled=Ve,this.cdr.markForCheck()})}ngOnChanges($e){const{nzSize:Ve,nzSuffix:Pe,nzPrefix:We,nzPrefixIcon:He,nzSuffixIcon:we,nzAddOnAfter:te,nzAddOnBefore:ce,nzAddOnAfterIcon:De,nzAddOnBeforeIcon:Ge,nzStatus:vt}=$e;Ve&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),(Pe||We||He||we)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(te||ce||De||Ge)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),vt&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}setStatusStyles($e,Ve){this.status=$e,this.hasFeedback=Ve,this.isFeedback=!!$e&&Ve,this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)||!this.isAddOn&&Ve,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=(0,Y.Zu)(`${this.prefixCls}-affix-wrapper`,$e,Ve):{},this.cdr.markForCheck(),this.affixStatusCls=(0,Y.Zu)(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":$e,!this.isAddOn&&Ve),this.groupStatusCls=(0,Y.Zu)(`${this.prefixCls}-group-wrapper`,this.isAddOn?$e:"",!!this.isAddOn&&Ve);const We={...this.affixStatusCls,...this.groupStatusCls};Object.keys(We).forEach(He=>{We[He]?this.renderer.addClass(this.elementRef.nativeElement,He):this.renderer.removeClass(this.elementRef.nativeElement,He)})}}return Wt.\u0275fac=function($e){return new($e||Wt)(i.Y36(F.tE),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(e.Is,8),i.Y36(L.kH,8),i.Y36(L.yW,8))},Wt.\u0275cmp=i.Xpm({type:Wt,selectors:[["nz-input-group"]],contentQueries:function($e,Ve,Pe){if(1&$e&&i.Suo(Pe,Re,4),2&$e){let We;i.iGM(We=i.CRH())&&(Ve.listOfNzInputDirective=We)}},hostVars:40,hostBindings:function($e,Ve){2&$e&&i.ekj("ant-input-group-compact",Ve.nzCompact)("ant-input-search-enter-button",Ve.nzSearch)("ant-input-search",Ve.nzSearch)("ant-input-search-rtl","rtl"===Ve.dir)("ant-input-search-sm",Ve.nzSearch&&Ve.isSmall)("ant-input-search-large",Ve.nzSearch&&Ve.isLarge)("ant-input-group-wrapper",Ve.isAddOn)("ant-input-group-wrapper-rtl","rtl"===Ve.dir)("ant-input-group-wrapper-lg",Ve.isAddOn&&Ve.isLarge)("ant-input-group-wrapper-sm",Ve.isAddOn&&Ve.isSmall)("ant-input-affix-wrapper",Ve.isAffix&&!Ve.isAddOn)("ant-input-affix-wrapper-rtl","rtl"===Ve.dir)("ant-input-affix-wrapper-focused",Ve.isAffix&&Ve.focused)("ant-input-affix-wrapper-disabled",Ve.isAffix&&Ve.disabled)("ant-input-affix-wrapper-lg",Ve.isAffix&&!Ve.isAddOn&&Ve.isLarge)("ant-input-affix-wrapper-sm",Ve.isAffix&&!Ve.isAddOn&&Ve.isSmall)("ant-input-group",!Ve.isAffix&&!Ve.isAddOn)("ant-input-group-rtl","rtl"===Ve.dir)("ant-input-group-lg",!Ve.isAffix&&!Ve.isAddOn&&Ve.isLarge)("ant-input-group-sm",!Ve.isAffix&&!Ve.isAddOn&&Ve.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzSearch:"nzSearch",nzCompact:"nzCompact"},exportAs:["nzInputGroup"],features:[i._Bn([L.yW]),i.TTD],ngContentSelectors:x,decls:7,vars:2,consts:[["class","ant-input-wrapper ant-input-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-affix-wrapper",3,"ant-input-affix-wrapper-disabled","ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg","ant-input-affix-wrapper-focused","ngClass",4,"ngIf","ngIfElse"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper",3,"ngClass"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"],[3,"status",4,"ngIf"],[3,"status"],["nz-input-group-slot","","type","suffix",4,"ngIf"],["nz-input-group-slot","","type","suffix"]],template:function($e,Ve){if(1&$e&&(i.F$t(),i.YNc(0,Q,4,4,"span",0),i.YNc(1,be,1,2,"ng-template",null,1,i.W1O),i.YNc(3,Ht,3,3,"ng-template",null,2,i.W1O),i.YNc(5,un,2,1,"ng-template",null,3,i.W1O)),2&$e){const Pe=i.MAs(2);i.Q6J("ngIf",Ve.isAddOn)("ngIfElse",Pe)}},dependencies:[R.mk,R.O5,R.tP,L.w_,Ct],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,Y.yF)()],Wt.prototype,"nzSearch",void 0),(0,t.gn)([(0,Y.yF)()],Wt.prototype,"nzCompact",void 0),Wt})(),qt=(()=>{class Wt{set nzAutosize($e){var Pe;"string"==typeof $e||!0===$e?this.autosize=!0:"string"!=typeof(Pe=$e)&&"boolean"!=typeof Pe&&(Pe.maxRows||Pe.minRows)&&(this.autosize=!0,this.minRows=$e.minRows,this.maxRows=$e.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent($e=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;const Ve=this.el,Pe=Ve.value;if(!$e&&this.minRows===this.previousMinRows&&Pe===this.previousValue)return;const We=Ve.placeholder;Ve.classList.add("nz-textarea-autosize-measuring"),Ve.placeholder="";let He=Math.round((Ve.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;null!==this.maxHeight&&He>this.maxHeight&&(He=this.maxHeight),null!==this.minHeight&&HerequestAnimationFrame(()=>{const{selectionStart:we,selectionEnd:te}=Ve;!this.destroy$.isStopped&&document.activeElement===Ve&&Ve.setSelectionRange(we,te)})),this.previousValue=Pe,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;const $e=this.el.cloneNode(!1);$e.rows=1,$e.style.position="absolute",$e.style.visibility="hidden",$e.style.border="none",$e.style.padding="0",$e.style.height="",$e.style.minHeight="",$e.style.maxHeight="",$e.style.overflow="hidden",this.el.parentNode.appendChild($e),this.cachedLineHeight=$e.clientHeight-this.inputGap,this.el.parentNode.removeChild($e),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){const $e=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return null!==$e&&(this.el.style.minHeight=`${$e}px`),$e}setMaxHeight(){const $e=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return null!==$e&&(this.el.style.maxHeight=`${$e}px`),$e}noopInputHandler(){}constructor($e,Ve,Pe,We){this.elementRef=$e,this.ngZone=Ve,this.platform=Pe,this.resizeService=We,this.autosize=!1,this.el=this.elementRef.nativeElement,this.maxHeight=null,this.minHeight=null,this.destroy$=new v.x,this.inputGap=10}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.subscribe().pipe((0,k.R)(this.destroy$)).subscribe(()=>this.resizeToFitContent(!0)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}}return Wt.\u0275fac=function($e){return new($e||Wt)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(K.t4),i.Y36(N.rI))},Wt.\u0275dir=i.lG2({type:Wt,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function($e,Ve){1&$e&&i.NdJ("input",function(){return Ve.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]}),Wt})(),Dn=(()=>{class Wt{}return Wt.\u0275fac=function($e){return new($e||Wt)},Wt.\u0275mod=i.oAB({type:Wt}),Wt.\u0275inj=i.cJS({imports:[e.vT,R.ez,ge.PV,K.ud,ze.T,L.mJ]}),Wt})()},6976:(xt,Se,a)=>{a.d(Se,{n_:()=>At,I2:()=>ye,t4:()=>mt,KC:()=>ut,nk:()=>le,AA:()=>dt,yw:()=>Ze,yi:()=>mn,Pb:()=>Nt,IO:()=>rt,Ph:()=>ne});var t=a(5879),i=a(6814),v=a(6928),d=a(8324),s=a(655),k=a(7754),G=a(8645),U=a(4911),P=a(2096),S=a(3019),w=a(5592),L=a(5619),Y=a(8180),M=a(7398),e=a(4829),F=a(9360),R=a(8251);function ge(B,Te){return Te?Ye=>Ye.pipe(ge((yt,Kt)=>(0,e.Xf)(B(yt,Kt)).pipe((0,M.U)((Zt,On)=>Te(yt,Zt,Kt,On))))):(0,F.e)((Ye,yt)=>{let Kt=0,Zt=null,On=!1;Ye.subscribe((0,R.x)(yt,zn=>{Zt||(Zt=(0,R.x)(yt,void 0,()=>{Zt=null,On&&yt.complete()}),(0,e.Xf)(B(zn,Kt++)).subscribe(Zt))},()=>{On=!0,!Zt&&yt.complete()}))})}var ze=a(7921),K=a(9773),N=a(9087),V=a(804),O=a(9388),A=a(2669),x=a(95);const pe=["*"];function de(B,Te){if(1&B&&t._UZ(0,"nz-avatar",3),2&B){const Ye=t.oxw();t.Q6J("nzSrc",Ye.nzSrc)}}function W(B,Te){1&B&&t.Hsn(0,0,["*ngIf","!nzSrc"])}function ve(B,Te){if(1&B&&t._UZ(0,"nz-list-item-meta-avatar",3),2&B){const Ye=t.oxw();t.Q6J("nzSrc",Ye.avatarStr)}}function Q(B,Te){if(1&B&&(t.TgZ(0,"nz-list-item-meta-avatar"),t.GkF(1,4),t.qZA()),2&B){const Ye=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",Ye.avatarTpl)}}function ae(B,Te){if(1&B&&(t.ynx(0),t._uU(1),t.BQk()),2&B){const Ye=t.oxw(3);t.xp6(1),t.Oqu(Ye.nzTitle)}}function fe(B,Te){if(1&B&&(t.TgZ(0,"nz-list-item-meta-title"),t.YNc(1,ae,2,1,"ng-container",6),t.qZA()),2&B){const Ye=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",Ye.nzTitle)}}function be(B,Te){if(1&B&&(t.ynx(0),t._uU(1),t.BQk()),2&B){const Ye=t.oxw(3);t.xp6(1),t.Oqu(Ye.nzDescription)}}function Ft(B,Te){if(1&B&&(t.TgZ(0,"nz-list-item-meta-description"),t.YNc(1,be,2,1,"ng-container",6),t.qZA()),2&B){const Ye=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",Ye.nzDescription)}}function Dt(B,Te){if(1&B&&(t.TgZ(0,"div",5),t.YNc(1,fe,2,1,"nz-list-item-meta-title",1),t.YNc(2,Ft,2,1,"nz-list-item-meta-description",1),t.Hsn(3,1),t.Hsn(4,2),t.qZA()),2&B){const Ye=t.oxw();t.xp6(1),t.Q6J("ngIf",Ye.nzTitle&&!Ye.titleComponent),t.xp6(1),t.Q6J("ngIf",Ye.nzDescription&&!Ye.descriptionComponent)}}const nn=[[["nz-list-item-meta-avatar"]],[["nz-list-item-meta-title"]],[["nz-list-item-meta-description"]]],Et=["nz-list-item-meta-avatar","nz-list-item-meta-title","nz-list-item-meta-description"];function Ht(B,Te){1&B&&t.Hsn(0)}const tn=["nz-list-item-actions",""];function un(B,Te){}function In(B,Te){1&B&&t._UZ(0,"em",3)}function Xe(B,Te){if(1&B&&(t.TgZ(0,"li"),t.YNc(1,un,0,0,"ng-template",1),t.YNc(2,In,1,0,"em",2),t.qZA()),2&B){const Ye=Te.$implicit,yt=Te.last;t.xp6(1),t.Q6J("ngTemplateOutlet",Ye),t.xp6(1),t.Q6J("ngIf",!yt)}}function Re(B,Te){}const Ct=function(B,Te){return{$implicit:B,index:Te}};function je(B,Te){if(1&B&&(t.ynx(0),t.YNc(1,Re,0,0,"ng-template",9),t.BQk()),2&B){const Ye=Te.$implicit,yt=Te.index,Kt=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",Kt.nzRenderItem)("ngTemplateOutletContext",t.WLB(2,Ct,Ye,yt))}}function Yt(B,Te){if(1&B&&(t.TgZ(0,"div",7),t.YNc(1,je,2,5,"ng-container",8),t.Hsn(2,4),t.qZA()),2&B){const Ye=t.oxw();t.xp6(1),t.Q6J("ngForOf",Ye.nzDataSource)}}function qt(B,Te){if(1&B&&(t.ynx(0),t._uU(1),t.BQk()),2&B){const Ye=t.oxw(2);t.xp6(1),t.Oqu(Ye.nzHeader)}}function vn(B,Te){if(1&B&&(t.TgZ(0,"nz-list-header"),t.YNc(1,qt,2,1,"ng-container",10),t.qZA()),2&B){const Ye=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",Ye.nzHeader)}}function Dn(B,Te){1&B&&t._UZ(0,"div"),2&B&&t.Udp("min-height",53,"px")}function Wt(B,Te){}function It(B,Te){if(1&B&&(t.TgZ(0,"div",13),t.YNc(1,Wt,0,0,"ng-template",9),t.qZA()),2&B){const Ye=Te.$implicit,yt=Te.index,Kt=t.oxw(2);t.Q6J("nzSpan",Kt.nzGrid.span||null)("nzXs",Kt.nzGrid.xs||null)("nzSm",Kt.nzGrid.sm||null)("nzMd",Kt.nzGrid.md||null)("nzLg",Kt.nzGrid.lg||null)("nzXl",Kt.nzGrid.xl||null)("nzXXl",Kt.nzGrid.xxl||null),t.xp6(1),t.Q6J("ngTemplateOutlet",Kt.nzRenderItem)("ngTemplateOutletContext",t.WLB(9,Ct,Ye,yt))}}function $e(B,Te){if(1&B&&(t.TgZ(0,"div",11),t.YNc(1,It,2,12,"div",12),t.qZA()),2&B){const Ye=t.oxw();t.Q6J("nzGutter",Ye.nzGrid.gutter||null),t.xp6(1),t.Q6J("ngForOf",Ye.nzDataSource)}}function Ve(B,Te){if(1&B&&t._UZ(0,"nz-list-empty",14),2&B){const Ye=t.oxw();t.Q6J("nzNoResult",Ye.nzNoResult)}}function Pe(B,Te){if(1&B&&(t.ynx(0),t._uU(1),t.BQk()),2&B){const Ye=t.oxw(2);t.xp6(1),t.Oqu(Ye.nzFooter)}}function We(B,Te){if(1&B&&(t.TgZ(0,"nz-list-footer"),t.YNc(1,Pe,2,1,"ng-container",10),t.qZA()),2&B){const Ye=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",Ye.nzFooter)}}function He(B,Te){}function we(B,Te){}function te(B,Te){if(1&B&&(t.TgZ(0,"nz-list-pagination"),t.YNc(1,we,0,0,"ng-template",6),t.qZA()),2&B){const Ye=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",Ye.nzPagination)}}const ce=[[["nz-list-header"]],[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],"*"],De=["nz-list-header","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","*"];function Ge(B,Te){if(1&B&&t._UZ(0,"ul",6),2&B){const Ye=t.oxw(2);t.Q6J("nzActions",Ye.nzActions)}}function vt(B,Te){if(1&B&&(t.YNc(0,Ge,1,1,"ul",5),t.Hsn(1)),2&B){const Ye=t.oxw();t.Q6J("ngIf",Ye.nzActions&&Ye.nzActions.length>0)}}function rn(B,Te){if(1&B&&(t.ynx(0),t._uU(1),t.BQk()),2&B){const Ye=t.oxw(3);t.xp6(1),t.Oqu(Ye.nzContent)}}function _n(B,Te){if(1&B&&(t.ynx(0),t.YNc(1,rn,2,1,"ng-container",8),t.BQk()),2&B){const Ye=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",Ye.nzContent)}}function st(B,Te){if(1&B&&(t.Hsn(0,1),t.Hsn(1,2),t.YNc(2,_n,2,1,"ng-container",7)),2&B){const Ye=t.oxw();t.xp6(2),t.Q6J("ngIf",Ye.nzContent)}}function it(B,Te){1&B&&t.Hsn(0,3)}function lt(B,Te){}function wt(B,Te){}function Ot(B,Te){}function Lt(B,Te){}function Gt(B,Te){if(1&B&&(t.YNc(0,lt,0,0,"ng-template",9),t.YNc(1,wt,0,0,"ng-template",9),t.YNc(2,Ot,0,0,"ng-template",9),t.YNc(3,Lt,0,0,"ng-template",9)),2&B){const Ye=t.oxw(),yt=t.MAs(3),Kt=t.MAs(5),Zt=t.MAs(1);t.Q6J("ngTemplateOutlet",yt),t.xp6(1),t.Q6J("ngTemplateOutlet",Ye.nzExtra),t.xp6(1),t.Q6J("ngTemplateOutlet",Kt),t.xp6(1),t.Q6J("ngTemplateOutlet",Zt)}}function Ke(B,Te){}function J(B,Te){}function I(B,Te){}function q(B,Te){if(1&B&&(t.TgZ(0,"nz-list-item-extra"),t.YNc(1,I,0,0,"ng-template",9),t.qZA()),2&B){const Ye=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",Ye.nzExtra)}}function Me(B,Te){}function _t(B,Te){if(1&B&&(t.ynx(0),t.TgZ(1,"div",10),t.YNc(2,Ke,0,0,"ng-template",9),t.YNc(3,J,0,0,"ng-template",9),t.qZA(),t.YNc(4,q,2,1,"nz-list-item-extra",7),t.YNc(5,Me,0,0,"ng-template",9),t.BQk()),2&B){const Ye=t.oxw(),yt=t.MAs(3),Kt=t.MAs(1),Zt=t.MAs(5);t.xp6(2),t.Q6J("ngTemplateOutlet",yt),t.xp6(1),t.Q6J("ngTemplateOutlet",Kt),t.xp6(1),t.Q6J("ngIf",Ye.nzExtra),t.xp6(1),t.Q6J("ngTemplateOutlet",Zt)}}const tt=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],Je=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"];let rt=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-item-meta-title"]],exportAs:["nzListItemMetaTitle"],ngContentSelectors:pe,decls:2,vars:0,consts:[[1,"ant-list-item-meta-title"]],template:function(Ye,yt){1&Ye&&(t.F$t(),t.TgZ(0,"h4",0),t.Hsn(1),t.qZA())},encapsulation:2,changeDetection:0}),B})(),Nt=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-item-meta-description"]],exportAs:["nzListItemMetaDescription"],ngContentSelectors:pe,decls:2,vars:0,consts:[[1,"ant-list-item-meta-description"]],template:function(Ye,yt){1&Ye&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},encapsulation:2,changeDetection:0}),B})(),Tt=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-item-meta-avatar"]],inputs:{nzSrc:"nzSrc"},exportAs:["nzListItemMetaAvatar"],ngContentSelectors:pe,decls:3,vars:2,consts:[[1,"ant-list-item-meta-avatar"],[3,"nzSrc",4,"ngIf"],[4,"ngIf"],[3,"nzSrc"]],template:function(Ye,yt){1&Ye&&(t.F$t(),t.TgZ(0,"div",0),t.YNc(1,de,1,1,"nz-avatar",1),t.YNc(2,W,1,0,"ng-content",2),t.qZA()),2&Ye&&(t.xp6(1),t.Q6J("ngIf",yt.nzSrc),t.xp6(1),t.Q6J("ngIf",!yt.nzSrc))},dependencies:[i.O5,v.Dz],encapsulation:2,changeDetection:0}),B})(),mn=(()=>{class B{set nzAvatar(Ye){Ye instanceof t.Rgc?(this.avatarStr="",this.avatarTpl=Ye):this.avatarStr=Ye}constructor(Ye){this.elementRef=Ye,this.avatarStr=""}}return B.\u0275fac=function(Ye){return new(Ye||B)(t.Y36(t.SBq))},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-item-meta"],["","nz-list-item-meta",""]],contentQueries:function(Ye,yt,Kt){if(1&Ye&&(t.Suo(Kt,Nt,5),t.Suo(Kt,rt,5)),2&Ye){let Zt;t.iGM(Zt=t.CRH())&&(yt.descriptionComponent=Zt.first),t.iGM(Zt=t.CRH())&&(yt.titleComponent=Zt.first)}},hostAttrs:[1,"ant-list-item-meta"],inputs:{nzAvatar:"nzAvatar",nzTitle:"nzTitle",nzDescription:"nzDescription"},exportAs:["nzListItemMeta"],ngContentSelectors:Et,decls:4,vars:3,consts:[[3,"nzSrc",4,"ngIf"],[4,"ngIf"],["class","ant-list-item-meta-content",4,"ngIf"],[3,"nzSrc"],[3,"ngTemplateOutlet"],[1,"ant-list-item-meta-content"],[4,"nzStringTemplateOutlet"]],template:function(Ye,yt){1&Ye&&(t.F$t(nn),t.YNc(0,ve,1,1,"nz-list-item-meta-avatar",0),t.YNc(1,Q,2,1,"nz-list-item-meta-avatar",1),t.Hsn(2),t.YNc(3,Dt,5,2,"div",2)),2&Ye&&(t.Q6J("ngIf",yt.avatarStr),t.xp6(1),t.Q6J("ngIf",yt.avatarTpl),t.xp6(2),t.Q6J("ngIf",yt.nzTitle||yt.nzDescription||yt.descriptionComponent||yt.titleComponent))},dependencies:[i.O5,i.tP,d.f,rt,Nt,Tt],encapsulation:2,changeDetection:0}),B})(),Ze=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:pe,decls:1,vars:0,template:function(Ye,yt){1&Ye&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),B})(),ut=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-item-action"]],viewQuery:function(Ye,yt){if(1&Ye&&t.Gf(t.Rgc,5),2&Ye){let Kt;t.iGM(Kt=t.CRH())&&(yt.templateRef=Kt.first)}},exportAs:["nzListItemAction"],ngContentSelectors:pe,decls:1,vars:0,template:function(Ye,yt){1&Ye&&(t.F$t(),t.YNc(0,Ht,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),B})(),le=(()=>{class B{constructor(Ye,yt,Kt){this.ngZone=Ye,this.nzActions=[],this.actions=[],this.inputActionChanges$=new G.x,this.contentChildrenChanges$=(0,U.P)(()=>this.nzListItemActions?(0,P.of)(null):this.ngZone.onStable.pipe((0,Y.q)(1),this.enterZone(),ge(()=>this.nzListItemActions.changes.pipe((0,ze.O)(this.nzListItemActions))))),(0,S.T)(this.contentChildrenChanges$,this.inputActionChanges$).pipe((0,K.R)(Kt)).subscribe(()=>{this.actions=this.nzActions.length?this.nzActions:this.nzListItemActions.map(Zt=>Zt.templateRef),yt.detectChanges()})}ngOnChanges(){this.inputActionChanges$.next(null)}enterZone(){return Ye=>new w.y(yt=>Ye.subscribe({next:Kt=>this.ngZone.run(()=>yt.next(Kt))}))}}return B.\u0275fac=function(Ye){return new(Ye||B)(t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(N.kn))},B.\u0275cmp=t.Xpm({type:B,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(Ye,yt,Kt){if(1&Ye&&t.Suo(Kt,ut,4),2&Ye){let Zt;t.iGM(Zt=t.CRH())&&(yt.nzListItemActions=Zt)}},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[t._Bn([N.kn]),t.TTD],attrs:tn,decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(Ye,yt){1&Ye&&t.YNc(0,Xe,3,2,"li",0),2&Ye&&t.Q6J("ngForOf",yt.actions)},dependencies:[i.sg,i.O5,i.tP],encapsulation:2,changeDetection:0}),B})(),ye=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:1,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(Ye,yt){1&Ye&&t._UZ(0,"nz-embed-empty",0),2&Ye&&t.Q6J("nzComponentName","list")("specificContent",yt.nzNoResult)},dependencies:[V.gB],encapsulation:2,changeDetection:0}),B})(),mt=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:pe,decls:1,vars:0,template:function(Ye,yt){1&Ye&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),B})(),Ae=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:pe,decls:1,vars:0,template:function(Ye,yt){1&Ye&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),B})(),at=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:pe,decls:1,vars:0,template:function(Ye,yt){1&Ye&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),B})(),Bt=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275dir=t.lG2({type:B,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]}),B})(),At=(()=>{class B{get itemLayoutNotify$(){return this.itemLayoutNotifySource.asObservable()}constructor(Ye){this.directionality=Ye,this.nzBordered=!1,this.nzGrid="",this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.dir="ltr",this.itemLayoutNotifySource=new L.X(this.nzItemLayout),this.destroy$=new G.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,K.R)(this.destroy$)).subscribe(Ye=>{this.dir=Ye})}getSomethingAfterLastItem(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)}ngOnChanges(Ye){Ye.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)}ngOnDestroy(){this.itemLayoutNotifySource.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()}}return B.\u0275fac=function(Ye){return new(Ye||B)(t.Y36(O.Is,8))},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(Ye,yt,Kt){if(1&Ye&&(t.Suo(Kt,Ae,5),t.Suo(Kt,at,5),t.Suo(Kt,Bt,5)),2&Ye){let Zt;t.iGM(Zt=t.CRH())&&(yt.nzListFooterComponent=Zt.first),t.iGM(Zt=t.CRH())&&(yt.nzListPaginationComponent=Zt.first),t.iGM(Zt=t.CRH())&&(yt.nzListLoadMoreDirective=Zt.first)}},hostAttrs:[1,"ant-list"],hostVars:16,hostBindings:function(Ye,yt){2&Ye&&t.ekj("ant-list-rtl","rtl"===yt.dir)("ant-list-vertical","vertical"===yt.nzItemLayout)("ant-list-lg","large"===yt.nzSize)("ant-list-sm","small"===yt.nzSize)("ant-list-split",yt.nzSplit)("ant-list-bordered",yt.nzBordered)("ant-list-loading",yt.nzLoading)("ant-list-something-after-last-item",yt.hasSomethingAfterLastItem)},inputs:{nzDataSource:"nzDataSource",nzBordered:"nzBordered",nzGrid:"nzGrid",nzHeader:"nzHeader",nzFooter:"nzFooter",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzPagination:"nzPagination",nzSize:"nzSize",nzSplit:"nzSplit",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[t.TTD],ngContentSelectors:De,decls:15,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(Ye,yt){if(1&Ye&&(t.F$t(ce),t.YNc(0,Yt,3,1,"ng-template",null,0,t.W1O),t.YNc(2,vn,2,1,"nz-list-header",1),t.Hsn(3),t.TgZ(4,"nz-spin",2),t.ynx(5),t.YNc(6,Dn,1,2,"div",3),t.YNc(7,$e,2,2,"div",4),t.YNc(8,Ve,1,1,"nz-list-empty",5),t.BQk(),t.qZA(),t.YNc(9,We,2,1,"nz-list-footer",1),t.Hsn(10,1),t.YNc(11,He,0,0,"ng-template",6),t.Hsn(12,2),t.YNc(13,te,2,1,"nz-list-pagination",1),t.Hsn(14,3)),2&Ye){const Kt=t.MAs(1);t.xp6(2),t.Q6J("ngIf",yt.nzHeader),t.xp6(2),t.Q6J("nzSpinning",yt.nzLoading),t.xp6(2),t.Q6J("ngIf",yt.nzLoading&&yt.nzDataSource&&0===yt.nzDataSource.length),t.xp6(1),t.Q6J("ngIf",yt.nzGrid&&yt.nzDataSource)("ngIfElse",Kt),t.xp6(1),t.Q6J("ngIf",!yt.nzLoading&&yt.nzDataSource&&0===yt.nzDataSource.length),t.xp6(1),t.Q6J("ngIf",yt.nzFooter),t.xp6(2),t.Q6J("ngTemplateOutlet",yt.nzLoadMore),t.xp6(2),t.Q6J("ngIf",yt.nzPagination)}},dependencies:[i.sg,i.O5,i.tP,A.W,x.t3,x.SK,d.f,mt,Ae,at,ye],encapsulation:2,changeDetection:0}),(0,s.gn)([(0,k.yF)()],B.prototype,"nzBordered",void 0),(0,s.gn)([(0,k.yF)()],B.prototype,"nzLoading",void 0),(0,s.gn)([(0,k.yF)()],B.prototype,"nzSplit",void 0),B})(),dt=(()=>{class B{get isVerticalAndExtra(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)}constructor(Ye,yt){this.parentComp=Ye,this.cdr=yt,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1}ngAfterViewInit(){this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe(Ye=>{this.itemLayout=Ye,this.cdr.detectChanges()})}ngOnDestroy(){this.itemLayout$&&this.itemLayout$.unsubscribe()}}return B.\u0275fac=function(Ye){return new(Ye||B)(t.Y36(At),t.Y36(t.sBO))},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(Ye,yt,Kt){if(1&Ye&&t.Suo(Kt,Ze,5),2&Ye){let Zt;t.iGM(Zt=t.CRH())&&(yt.listItemExtraDirective=Zt.first)}},hostAttrs:[1,"ant-list-item"],hostVars:2,hostBindings:function(Ye,yt){2&Ye&&t.ekj("ant-list-item-no-flex",yt.nzNoFlex)},inputs:{nzActions:"nzActions",nzContent:"nzContent",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex"},exportAs:["nzListItem"],ngContentSelectors:Je,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(Ye,yt){if(1&Ye&&(t.F$t(tt),t.YNc(0,vt,2,1,"ng-template",null,0,t.W1O),t.YNc(2,st,3,1,"ng-template",null,1,t.W1O),t.YNc(4,it,1,0,"ng-template",null,2,t.W1O),t.YNc(6,Gt,4,4,"ng-template",null,3,t.W1O),t.YNc(8,_t,6,4,"ng-container",4)),2&Ye){const Kt=t.MAs(7);t.xp6(8),t.Q6J("ngIf",yt.isVerticalAndExtra)("ngIfElse",Kt)}},dependencies:[i.O5,i.tP,d.f,le,Ze],encapsulation:2,changeDetection:0}),(0,s.gn)([(0,k.yF)()],B.prototype,"nzNoFlex",void 0),B})(),ne=(()=>{class B{}return B.\u0275fac=function(Ye){return new(Ye||B)},B.\u0275mod=t.oAB({type:B}),B.\u0275inj=t.cJS({imports:[O.vT,i.ez,A.j,x.Jb,v.Rt,d.T,V.Xo]}),B})()},3460:(xt,Se,a)=>{a.d(Se,{Cc:()=>Ve,YV:()=>Ot,hl:()=>We,ip:()=>Lt,r9:()=>we,uA:()=>wt,wO:()=>it});var t=a(655),i=a(5879),v=a(8645),d=a(5619),s=a(3019),k=a(2572),G=a(7398),U=a(1631),P=a(2181),S=a(975),w=a(9028),L=a(3997),Y=a(9773),M=a(7921),e=a(4664),F=a(7754),R=a(4190),ge=a(9388),ze=a(9594),K=a(5448),N=a(2831),V=a(331),O=a(6814),A=a(551),x=a(8324),pe=a(4194);const de=["nz-submenu-title",""];function W(Gt,Ke){if(1&Gt&&i._UZ(0,"span",4),2&Gt){const J=i.oxw();i.Q6J("nzType",J.nzIcon)}}function ve(Gt,Ke){if(1&Gt&&(i.ynx(0),i.TgZ(1,"span"),i._uU(2),i.qZA(),i.BQk()),2&Gt){const J=i.oxw();i.xp6(2),i.Oqu(J.nzTitle)}}function Q(Gt,Ke){1&Gt&&i._UZ(0,"span",8)}function ae(Gt,Ke){1&Gt&&i._UZ(0,"span",9)}function fe(Gt,Ke){if(1&Gt&&(i.TgZ(0,"span",5),i.YNc(1,Q,1,0,"span",6),i.YNc(2,ae,1,0,"span",7),i.qZA()),2&Gt){const J=i.oxw();i.Q6J("ngSwitch",J.dir),i.xp6(1),i.Q6J("ngSwitchCase","rtl")}}function be(Gt,Ke){1&Gt&&i._UZ(0,"span",10)}const Ft=["*"],Dt=["nz-submenu-inline-child",""];function nn(Gt,Ke){}const Et=["nz-submenu-none-inline-child",""];function Ht(Gt,Ke){}const tn=["nz-submenu",""];function un(Gt,Ke){1&Gt&&i.Hsn(0,0,["*ngIf","!nzTitle"])}function In(Gt,Ke){if(1&Gt&&i._UZ(0,"div",6),2&Gt){const J=i.oxw(),I=i.MAs(7);i.Q6J("mode",J.mode)("nzOpen",J.nzOpen)("@.disabled",!(null==J.noAnimation||!J.noAnimation.nzNoAnimation))("nzNoAnimation",null==J.noAnimation?null:J.noAnimation.nzNoAnimation)("menuClass",J.nzMenuClassName)("templateOutlet",I)}}function Xe(Gt,Ke){if(1&Gt){const J=i.EpF();i.TgZ(0,"div",8),i.NdJ("subMenuMouseState",function(q){i.CHM(J);const Me=i.oxw(2);return i.KtG(Me.setMouseEnterState(q))}),i.qZA()}if(2&Gt){const J=i.oxw(2),I=i.MAs(7);i.Q6J("theme",J.theme)("mode",J.mode)("nzOpen",J.nzOpen)("position",J.position)("nzDisabled",J.nzDisabled)("isMenuInsideDropDown",J.isMenuInsideDropDown)("templateOutlet",I)("menuClass",J.nzMenuClassName)("@.disabled",!(null==J.noAnimation||!J.noAnimation.nzNoAnimation))("nzNoAnimation",null==J.noAnimation?null:J.noAnimation.nzNoAnimation)}}function Re(Gt,Ke){if(1&Gt){const J=i.EpF();i.YNc(0,Xe,1,10,"ng-template",7),i.NdJ("positionChange",function(q){i.CHM(J);const Me=i.oxw();return i.KtG(Me.onPositionChange(q))})}if(2&Gt){const J=i.oxw(),I=i.MAs(1);i.Q6J("cdkConnectedOverlayPositions",J.overlayPositions)("cdkConnectedOverlayOrigin",I)("cdkConnectedOverlayWidth",J.triggerWidth)("cdkConnectedOverlayOpen",J.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function Ct(Gt,Ke){1&Gt&&i.Hsn(0,1)}const je=[[["","title",""]],"*"],Yt=["[title]","*"],qt=["titleElement"],vn=["nz-menu-group",""];function Dn(Gt,Ke){if(1&Gt&&(i.ynx(0),i._uU(1),i.BQk()),2&Gt){const J=i.oxw();i.xp6(1),i.Oqu(J.nzTitle)}}function Wt(Gt,Ke){1&Gt&&i.Hsn(0,1,["*ngIf","!nzTitle"])}const It=["*",[["","title",""]]],$e=["*","[title]"],Ve=new i.OlP("NzIsInDropDownMenuToken"),Pe=new i.OlP("NzMenuServiceLocalToken");let We=(()=>{class Gt{constructor(){this.descendantMenuItemClick$=new v.x,this.childMenuItemClick$=new v.x,this.theme$=new d.X("light"),this.mode$=new d.X("vertical"),this.inlineIndent$=new d.X(24),this.isChildSubMenuOpen$=new d.X(!1)}onDescendantMenuItemClick(J){this.descendantMenuItemClick$.next(J)}onChildMenuItemClick(J){this.childMenuItemClick$.next(J)}setMode(J){this.mode$.next(J)}setTheme(J){this.theme$.next(J)}setInlineIndent(J){this.inlineIndent$.next(J)}}return Gt.\u0275fac=function(J){return new(J||Gt)},Gt.\u0275prov=i.Yz7({token:Gt,factory:Gt.\u0275fac}),Gt})(),He=(()=>{class Gt{onChildMenuItemClick(J){this.childMenuItemClick$.next(J)}setOpenStateWithoutDebounce(J){this.isCurrentSubMenuOpen$.next(J)}setMouseEnterTitleOrOverlayState(J){this.isMouseEnterTitleOrOverlay$.next(J)}constructor(J,I,q){this.nzHostSubmenuService=J,this.nzMenuService=I,this.isMenuInsideDropDown=q,this.mode$=this.nzMenuService.mode$.pipe((0,G.U)(Je=>"inline"===Je?"inline":"vertical"===Je||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new d.X(!1),this.isChildSubMenuOpen$=new d.X(!1),this.isMouseEnterTitleOrOverlay$=new v.x,this.childMenuItemClick$=new v.x,this.destroy$=new v.x,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const Me=this.childMenuItemClick$.pipe((0,U.z)(()=>this.mode$),(0,P.h)(Je=>"inline"!==Je||this.isMenuInsideDropDown),(0,S.h)(!1)),_t=(0,s.T)(this.isMouseEnterTitleOrOverlay$,Me);(0,k.a)([this.isChildSubMenuOpen$,_t]).pipe((0,G.U)(([Je,rt])=>Je||rt),(0,w.e)(150),(0,L.x)(),(0,Y.R)(this.destroy$)).pipe((0,L.x)()).subscribe(Je=>{this.setOpenStateWithoutDebounce(Je),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(Je):this.nzMenuService.isChildSubMenuOpen$.next(Je)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.LFG(Gt,12),i.LFG(We),i.LFG(Ve))},Gt.\u0275prov=i.Yz7({token:Gt,factory:Gt.\u0275fac}),Gt})(),we=(()=>{class Gt{clickMenuItem(J){this.nzDisabled?(J.preventDefault(),J.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(J){this.nzSelected=J,this.selected$.next(J)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const J=this.hasActiveLinks();this.nzSelected!==J&&(this.nzSelected=J,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const J=this.isLinkActive(this.router);return this.routerLink&&J(this.routerLink)||this.listOfRouterLink.some(J)}isLinkActive(J){return I=>J.isActive(I.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}constructor(J,I,q,Me,_t,tt,Je){this.nzMenuService=J,this.cdr=I,this.nzSubmenuService=q,this.isMenuInsideDropDown=Me,this.directionality=_t,this.routerLink=tt,this.router=Je,this.destroy$=new v.x,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new v.x,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,Je&&this.router.events.pipe((0,Y.R)(this.destroy$),(0,P.h)(rt=>rt instanceof R.m2)).subscribe(()=>{this.updateRouterActive()})}ngOnInit(){(0,k.a)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,Y.R)(this.destroy$)).subscribe(([J,I])=>{this.inlinePaddingLeft="inline"===J?this.level*I:null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.dir=J})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,Y.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(J){J.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(We),i.Y36(i.sBO),i.Y36(He,8),i.Y36(Ve),i.Y36(ge.Is,8),i.Y36(R.rH,8),i.Y36(R.F0,8))},Gt.\u0275dir=i.lG2({type:Gt,selectors:[["","nz-menu-item",""]],contentQueries:function(J,I,q){if(1&J&&i.Suo(q,R.rH,5),2&J){let Me;i.iGM(Me=i.CRH())&&(I.listOfRouterLink=Me)}},hostVars:20,hostBindings:function(J,I){1&J&&i.NdJ("click",function(Me){return I.clickMenuItem(Me)}),2&J&&(i.Udp("padding-left","rtl"===I.dir?null:I.nzPaddingLeft||I.inlinePaddingLeft,"px")("padding-right","rtl"===I.dir?I.nzPaddingLeft||I.inlinePaddingLeft:null,"px"),i.ekj("ant-dropdown-menu-item",I.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",I.isMenuInsideDropDown&&I.nzSelected)("ant-dropdown-menu-item-danger",I.isMenuInsideDropDown&&I.nzDanger)("ant-dropdown-menu-item-disabled",I.isMenuInsideDropDown&&I.nzDisabled)("ant-menu-item",!I.isMenuInsideDropDown)("ant-menu-item-selected",!I.isMenuInsideDropDown&&I.nzSelected)("ant-menu-item-danger",!I.isMenuInsideDropDown&&I.nzDanger)("ant-menu-item-disabled",!I.isMenuInsideDropDown&&I.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[i.TTD]}),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzDisabled",void 0),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzSelected",void 0),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzDanger",void 0),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzMatchRouterExact",void 0),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzMatchRouter",void 0),Gt})(),te=(()=>{class Gt{constructor(J,I){this.cdr=J,this.directionality=I,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new i.vpe,this.subMenuMouseState=new i.vpe,this.dir="ltr",this.destroy$=new v.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.dir=J,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(J){this.nzDisabled||this.subMenuMouseState.next(J)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(i.sBO),i.Y36(ge.Is,8))},Gt.\u0275cmp=i.Xpm({type:Gt,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(J,I){1&J&&i.NdJ("click",function(){return I.clickTitle()})("mouseenter",function(){return I.setMouseState(!0)})("mouseleave",function(){return I.setMouseState(!1)}),2&J&&(i.Udp("padding-left","rtl"===I.dir?null:I.paddingLeft,"px")("padding-right","rtl"===I.dir?I.paddingLeft:null,"px"),i.ekj("ant-dropdown-menu-submenu-title",I.isMenuInsideDropDown)("ant-menu-submenu-title",!I.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:de,ngContentSelectors:Ft,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(J,I){if(1&J&&(i.F$t(),i.YNc(0,W,1,1,"span",0),i.YNc(1,ve,3,1,"ng-container",1),i.Hsn(2),i.YNc(3,fe,3,2,"span",2),i.YNc(4,be,1,0,"ng-template",null,3,i.W1O)),2&J){const q=i.MAs(5);i.Q6J("ngIf",I.nzIcon),i.xp6(1),i.Q6J("nzStringTemplateOutlet",I.nzTitle),i.xp6(2),i.Q6J("ngIf",I.isMenuInsideDropDown)("ngIfElse",q)}},dependencies:[O.O5,O.RF,O.n9,O.ED,A.Ls,x.f],encapsulation:2,changeDetection:0}),Gt})(),ce=(()=>{class Gt{constructor(J,I,q){this.elementRef=J,this.renderer=I,this.directionality=q,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new v.x}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.dir=J})}ngOnChanges(J){const{mode:I,nzOpen:q,menuClass:Me}=J;(I||q)&&this.calcMotionState(),Me&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(_t=>!!_t).forEach(_t=>{this.renderer.removeClass(this.elementRef.nativeElement,_t)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(_t=>!!_t).forEach(_t=>{this.renderer.addClass(this.elementRef.nativeElement,_t)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(ge.Is,8))},Gt.\u0275cmp=i.Xpm({type:Gt,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(J,I){2&J&&(i.d8E("@collapseMotion",I.expandState),i.ekj("ant-menu-rtl","rtl"===I.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[i.TTD],attrs:Dt,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(J,I){1&J&&i.YNc(0,nn,0,0,"ng-template",0),2&J&&i.Q6J("ngTemplateOutlet",I.templateOutlet)},dependencies:[O.tP],encapsulation:2,data:{animation:[pe.J_]},changeDetection:0}),Gt})(),De=(()=>{class Gt{constructor(J){this.directionality=J,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new i.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new v.x}setMouseState(J){this.nzDisabled||this.subMenuMouseState.next(J)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.dir=J})}ngOnChanges(J){const{mode:I,nzOpen:q}=J;(I||q)&&this.calcMotionState()}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(ge.Is,8))},Gt.\u0275cmp=i.Xpm({type:Gt,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(J,I){1&J&&i.NdJ("mouseenter",function(){return I.setMouseState(!0)})("mouseleave",function(){return I.setMouseState(!1)}),2&J&&(i.d8E("@slideMotion",I.expandState)("@zoomBigMotion",I.expandState),i.ekj("ant-menu-light","light"===I.theme)("ant-menu-dark","dark"===I.theme)("ant-menu-submenu-placement-bottom","horizontal"===I.mode)("ant-menu-submenu-placement-right","vertical"===I.mode&&"right"===I.position)("ant-menu-submenu-placement-left","vertical"===I.mode&&"left"===I.position)("ant-menu-submenu-rtl","rtl"===I.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[i.TTD],attrs:Et,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(J,I){1&J&&(i.TgZ(0,"div",0),i.YNc(1,Ht,0,0,"ng-template",1),i.qZA()),2&J&&(i.ekj("ant-dropdown-menu",I.isMenuInsideDropDown)("ant-menu",!I.isMenuInsideDropDown)("ant-dropdown-menu-vertical",I.isMenuInsideDropDown)("ant-menu-vertical",!I.isMenuInsideDropDown)("ant-dropdown-menu-sub",I.isMenuInsideDropDown)("ant-menu-sub",!I.isMenuInsideDropDown)("ant-menu-rtl","rtl"===I.dir),i.Q6J("ngClass",I.menuClass),i.xp6(1),i.Q6J("ngTemplateOutlet",I.templateOutlet))},dependencies:[O.mk,O.tP],encapsulation:2,data:{animation:[pe.$C,pe.mF]},changeDetection:0}),Gt})();const Ge=[K.yW.rightTop,K.yW.right,K.yW.rightBottom,K.yW.leftTop,K.yW.left,K.yW.leftBottom],vt=[K.yW.bottomLeft,K.yW.bottomRight,K.yW.topRight,K.yW.topLeft];let rn=(()=>{class Gt{setOpenStateWithoutDebounce(J){this.nzSubmenuService.setOpenStateWithoutDebounce(J)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(J){this.isActive=J,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(J)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(J){const I=(0,K.d_)(J);"rightTop"===I||"rightBottom"===I||"right"===I?this.position="right":("leftTop"===I||"leftBottom"===I||"left"===I)&&(this.position="left")}constructor(J,I,q,Me,_t,tt,Je){this.nzMenuService=J,this.cdr=I,this.nzSubmenuService=q,this.platform=Me,this.isMenuInsideDropDown=_t,this.directionality=tt,this.noAnimation=Je,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new i.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new v.x,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=Ge,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}ngOnInit(){this.nzMenuService.theme$.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.theme=J,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.mode=J,"horizontal"===J?this.overlayPositions=[K.yW[this.nzPlacement],...vt]:"vertical"===J&&(this.overlayPositions=Ge),this.cdr.markForCheck()}),(0,k.a)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,Y.R)(this.destroy$)).subscribe(([J,I])=>{this.inlinePaddingLeft="inline"===J?this.level*I:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.isActive=J,J!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=J,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.dir=J,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const J=this.listOfNzMenuItemDirective,I=J.changes,q=(0,s.T)(I,...J.map(Me=>Me.selected$));I.pipe((0,M.O)(J),(0,e.w)(()=>q),(0,M.O)(!0),(0,G.U)(()=>J.some(Me=>Me.nzSelected)),(0,Y.R)(this.destroy$)).subscribe(Me=>{this.isSelected=Me,this.cdr.markForCheck()})}ngOnChanges(J){const{nzOpen:I}=J;I&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(We),i.Y36(i.sBO),i.Y36(He),i.Y36(N.t4),i.Y36(Ve),i.Y36(ge.Is,8),i.Y36(V.P,9))},Gt.\u0275cmp=i.Xpm({type:Gt,selectors:[["","nz-submenu",""]],contentQueries:function(J,I,q){if(1&J&&(i.Suo(q,Gt,5),i.Suo(q,we,5)),2&J){let Me;i.iGM(Me=i.CRH())&&(I.listOfNzSubMenuComponent=Me),i.iGM(Me=i.CRH())&&(I.listOfNzMenuItemDirective=Me)}},viewQuery:function(J,I){if(1&J&&i.Gf(ze.xu,7,i.SBq),2&J){let q;i.iGM(q=i.CRH())&&(I.cdkOverlayOrigin=q.first)}},hostVars:34,hostBindings:function(J,I){2&J&&i.ekj("ant-dropdown-menu-submenu",I.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",I.isMenuInsideDropDown&&I.nzDisabled)("ant-dropdown-menu-submenu-open",I.isMenuInsideDropDown&&I.nzOpen)("ant-dropdown-menu-submenu-selected",I.isMenuInsideDropDown&&I.isSelected)("ant-dropdown-menu-submenu-vertical",I.isMenuInsideDropDown&&"vertical"===I.mode)("ant-dropdown-menu-submenu-horizontal",I.isMenuInsideDropDown&&"horizontal"===I.mode)("ant-dropdown-menu-submenu-inline",I.isMenuInsideDropDown&&"inline"===I.mode)("ant-dropdown-menu-submenu-active",I.isMenuInsideDropDown&&I.isActive)("ant-menu-submenu",!I.isMenuInsideDropDown)("ant-menu-submenu-disabled",!I.isMenuInsideDropDown&&I.nzDisabled)("ant-menu-submenu-open",!I.isMenuInsideDropDown&&I.nzOpen)("ant-menu-submenu-selected",!I.isMenuInsideDropDown&&I.isSelected)("ant-menu-submenu-vertical",!I.isMenuInsideDropDown&&"vertical"===I.mode)("ant-menu-submenu-horizontal",!I.isMenuInsideDropDown&&"horizontal"===I.mode)("ant-menu-submenu-inline",!I.isMenuInsideDropDown&&"inline"===I.mode)("ant-menu-submenu-active",!I.isMenuInsideDropDown&&I.isActive)("ant-menu-submenu-rtl","rtl"===I.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled",nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[i._Bn([He]),i.TTD],attrs:tn,ngContentSelectors:Yt,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(J,I){if(1&J&&(i.F$t(je),i.TgZ(0,"div",0,1),i.NdJ("subMenuMouseState",function(Me){return I.setMouseEnterState(Me)})("toggleSubMenu",function(){return I.toggleSubMenu()}),i.YNc(2,un,1,0,"ng-content",2),i.qZA(),i.YNc(3,In,1,6,"div",3),i.YNc(4,Re,1,5,"ng-template",null,4,i.W1O),i.YNc(6,Ct,1,0,"ng-template",null,5,i.W1O)),2&J){const q=i.MAs(5);i.Q6J("nzIcon",I.nzIcon)("nzTitle",I.nzTitle)("mode",I.mode)("nzDisabled",I.nzDisabled)("isMenuInsideDropDown",I.isMenuInsideDropDown)("paddingLeft",I.nzPaddingLeft||I.inlinePaddingLeft),i.xp6(2),i.Q6J("ngIf",!I.nzTitle),i.xp6(1),i.Q6J("ngIf","inline"===I.mode)("ngIfElse",q)}},dependencies:[O.O5,ze.pI,ze.xu,V.P,te,ce,De],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzOpen",void 0),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzDisabled",void 0),Gt})();function _n(Gt,Ke){return Gt||Ke}function st(Gt){return Gt||!1}let it=(()=>{class Gt{setInlineCollapsed(J){this.nzInlineCollapsed=J,this.inlineCollapsed$.next(J)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(J=>J.nzOpen),this.listOfNzSubMenuComponent.forEach(J=>J.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(J=>J.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}constructor(J,I,q,Me){this.nzMenuService=J,this.isMenuInsideDropDown=I,this.cdr=q,this.directionality=Me,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new i.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new d.X(this.nzInlineCollapsed),this.mode$=new d.X(this.nzMode),this.destroy$=new v.x,this.listOfOpenedNzSubMenuComponent=[]}ngOnInit(){(0,k.a)([this.inlineCollapsed$,this.mode$]).pipe((0,Y.R)(this.destroy$)).subscribe(([J,I])=>{this.actualMode=J?"vertical":I,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.nzClick.emit(J),this.nzSelectable&&!J.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(I=>I.setSelectedState(I===J))}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,Y.R)(this.destroy$)).subscribe(J=>{this.dir=J,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,Y.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(J){const{nzInlineCollapsed:I,nzInlineIndent:q,nzTheme:Me,nzMode:_t}=J;I&&this.inlineCollapsed$.next(this.nzInlineCollapsed),q&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),Me&&this.nzMenuService.setTheme(this.nzTheme),_t&&(this.mode$.next(this.nzMode),!J.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(tt=>tt.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(We),i.Y36(Ve),i.Y36(i.sBO),i.Y36(ge.Is,8))},Gt.\u0275dir=i.lG2({type:Gt,selectors:[["","nz-menu",""]],contentQueries:function(J,I,q){if(1&J&&(i.Suo(q,we,5),i.Suo(q,rn,5)),2&J){let Me;i.iGM(Me=i.CRH())&&(I.listOfNzMenuItemDirective=Me),i.iGM(Me=i.CRH())&&(I.listOfNzSubMenuComponent=Me)}},hostVars:34,hostBindings:function(J,I){2&J&&i.ekj("ant-dropdown-menu",I.isMenuInsideDropDown)("ant-dropdown-menu-root",I.isMenuInsideDropDown)("ant-dropdown-menu-light",I.isMenuInsideDropDown&&"light"===I.nzTheme)("ant-dropdown-menu-dark",I.isMenuInsideDropDown&&"dark"===I.nzTheme)("ant-dropdown-menu-vertical",I.isMenuInsideDropDown&&"vertical"===I.actualMode)("ant-dropdown-menu-horizontal",I.isMenuInsideDropDown&&"horizontal"===I.actualMode)("ant-dropdown-menu-inline",I.isMenuInsideDropDown&&"inline"===I.actualMode)("ant-dropdown-menu-inline-collapsed",I.isMenuInsideDropDown&&I.nzInlineCollapsed)("ant-menu",!I.isMenuInsideDropDown)("ant-menu-root",!I.isMenuInsideDropDown)("ant-menu-light",!I.isMenuInsideDropDown&&"light"===I.nzTheme)("ant-menu-dark",!I.isMenuInsideDropDown&&"dark"===I.nzTheme)("ant-menu-vertical",!I.isMenuInsideDropDown&&"vertical"===I.actualMode)("ant-menu-horizontal",!I.isMenuInsideDropDown&&"horizontal"===I.actualMode)("ant-menu-inline",!I.isMenuInsideDropDown&&"inline"===I.actualMode)("ant-menu-inline-collapsed",!I.isMenuInsideDropDown&&I.nzInlineCollapsed)("ant-menu-rtl","rtl"===I.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[i._Bn([{provide:Pe,useClass:We},{provide:We,useFactory:_n,deps:[[new i.tp0,new i.FiY,We],Pe]},{provide:Ve,useFactory:st,deps:[[new i.tp0,new i.FiY,Ve]]}]),i.TTD]}),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzInlineCollapsed",void 0),(0,t.gn)([(0,F.yF)()],Gt.prototype,"nzSelectable",void 0),Gt})();function lt(Gt){return Gt||!1}let wt=(()=>{class Gt{constructor(J,I,q){this.elementRef=J,this.renderer=I,this.isMenuInsideDropDown=q,this.renderer.addClass(J.nativeElement,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group":"ant-menu-item-group")}ngAfterViewInit(){const J=this.titleElement.nativeElement.nextElementSibling;J&&this.renderer.addClass(J,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Ve))},Gt.\u0275cmp=i.Xpm({type:Gt,selectors:[["","nz-menu-group",""]],viewQuery:function(J,I){if(1&J&&i.Gf(qt,5),2&J){let q;i.iGM(q=i.CRH())&&(I.titleElement=q.first)}},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[i._Bn([{provide:Ve,useFactory:lt,deps:[[new i.tp0,new i.FiY,Ve]]}])],attrs:vn,ngContentSelectors:$e,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"],[4,"ngIf"]],template:function(J,I){1&J&&(i.F$t(It),i.TgZ(0,"div",null,0),i.YNc(2,Dn,2,1,"ng-container",1),i.YNc(3,Wt,1,0,"ng-content",2),i.qZA(),i.Hsn(4)),2&J&&(i.ekj("ant-menu-item-group-title",!I.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",I.isMenuInsideDropDown),i.xp6(2),i.Q6J("nzStringTemplateOutlet",I.nzTitle),i.xp6(1),i.Q6J("ngIf",!I.nzTitle))},dependencies:[O.O5,x.f],encapsulation:2,changeDetection:0}),Gt})(),Ot=(()=>{class Gt{constructor(J){this.elementRef=J}}return Gt.\u0275fac=function(J){return new(J||Gt)(i.Y36(i.SBq))},Gt.\u0275dir=i.lG2({type:Gt,selectors:[["","nz-menu-divider",""]],hostAttrs:[1,"ant-dropdown-menu-item-divider"],exportAs:["nzMenuDivider"]}),Gt})(),Lt=(()=>{class Gt{}return Gt.\u0275fac=function(J){return new(J||Gt)},Gt.\u0275mod=i.oAB({type:Gt}),Gt.\u0275inj=i.cJS({imports:[ge.vT,O.ez,N.ud,ze.U8,A.PV,V.g,x.T]}),Gt})()},67:(xt,Se,a)=>{function t(Ze,ut,le,ye,mt,Ae,at){try{var Bt=Ze[Ae](at),ln=Bt.value}catch(At){return void le(At)}Bt.done?ut(ln):Promise.resolve(ln).then(ye,mt)}a.d(Se,{du:()=>Nt,Hf:()=>tt,Qp:()=>Tt,Sf:()=>_t});var v=a(9594),d=a(8484),s=a(5879),k=a(8645),G=a(2438),U=a(4911),P=a(9773),S=a(2181),w=a(8180),L=a(7921),Y=a(7032),M=a(7754),e=a(6814),F=a(6825),R=a(6879),ge=a(4300),ze=a(874),K=a(1752),N=a(8324),V=a(2840),O=a(855),A=a(1958),x=a(551),pe=a(6192),de=a(6028),W=a(9388),ve=a(655),Q=a(331);const ae=["nz-modal-close",""];function fe(Ze,ut){if(1&Ze&&(s.ynx(0),s._UZ(1,"span",2),s.BQk()),2&Ze){const le=ut.$implicit;s.xp6(1),s.Q6J("nzType",le)}}const be=["modalElement"];function Ft(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){s.CHM(le);const mt=s.oxw();return s.KtG(mt.onCloseClick())}),s.qZA()}}function Dt(Ze,ut){if(1&Ze&&(s.ynx(0),s._UZ(1,"span",17),s.BQk()),2&Ze){const le=s.oxw();s.xp6(1),s.Q6J("innerHTML",le.config.nzTitle,s.oJD)}}function nn(Ze,ut){}function Et(Ze,ut){if(1&Ze&&s._UZ(0,"div",17),2&Ze){const le=s.oxw();s.Q6J("innerHTML",le.config.nzContent,s.oJD)}}function Ht(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"button",18),s.NdJ("click",function(){s.CHM(le);const mt=s.oxw();return s.KtG(mt.onCancel())}),s._uU(1),s.qZA()}if(2&Ze){const le=s.oxw();s.Q6J("nzLoading",!!le.config.nzCancelLoading)("disabled",le.config.nzCancelDisabled),s.uIk("cdkFocusInitial","cancel"===le.config.nzAutofocus||null),s.xp6(1),s.hij(" ",le.config.nzCancelText||le.locale.cancelText," ")}}function tn(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"button",19),s.NdJ("click",function(){s.CHM(le);const mt=s.oxw();return s.KtG(mt.onOk())}),s._uU(1),s.qZA()}if(2&Ze){const le=s.oxw();s.Q6J("nzType",le.config.nzOkType)("nzLoading",!!le.config.nzOkLoading)("disabled",le.config.nzOkDisabled)("nzDanger",le.config.nzOkDanger),s.uIk("cdkFocusInitial","ok"===le.config.nzAutofocus||null),s.xp6(1),s.hij(" ",le.config.nzOkText||le.locale.okText," ")}}const un=["nz-modal-footer",""];function In(Ze,ut){if(1&Ze&&s._UZ(0,"div",5),2&Ze){const le=s.oxw(3);s.Q6J("innerHTML",le.config.nzFooter,s.oJD)}}function Xe(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){const Ae=s.CHM(le).$implicit,at=s.oxw(4);return s.KtG(at.onButtonClick(Ae))}),s._uU(1),s.qZA()}if(2&Ze){const le=ut.$implicit,ye=s.oxw(4);s.Q6J("hidden",!ye.getButtonCallableProp(le,"show"))("nzLoading",ye.getButtonCallableProp(le,"loading"))("disabled",ye.getButtonCallableProp(le,"disabled"))("nzType",le.type)("nzDanger",le.danger)("nzShape",le.shape)("nzSize",le.size)("nzGhost",le.ghost),s.xp6(1),s.hij(" ",le.label," ")}}function Re(Ze,ut){if(1&Ze&&(s.ynx(0),s.YNc(1,Xe,2,9,"button",6),s.BQk()),2&Ze){const le=s.oxw(3);s.xp6(1),s.Q6J("ngForOf",le.buttons)}}function Ct(Ze,ut){if(1&Ze&&(s.ynx(0),s.YNc(1,In,1,1,"div",3),s.YNc(2,Re,2,1,"ng-container",4),s.BQk()),2&Ze){const le=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!le.buttonsFooter),s.xp6(1),s.Q6J("ngIf",le.buttonsFooter)}}const je=function(Ze,ut){return{$implicit:Ze,modalRef:ut}};function Yt(Ze,ut){if(1&Ze&&(s.ynx(0),s.YNc(1,Ct,3,2,"ng-container",2),s.BQk()),2&Ze){const le=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",le.config.nzFooter)("nzStringTemplateOutletContext",s.WLB(2,je,le.config.nzData,le.modalRef))}}function qt(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){s.CHM(le);const mt=s.oxw(2);return s.KtG(mt.onCancel())}),s._uU(1),s.qZA()}if(2&Ze){const le=s.oxw(2);s.Q6J("nzLoading",!!le.config.nzCancelLoading)("disabled",le.config.nzCancelDisabled),s.uIk("cdkFocusInitial","cancel"===le.config.nzAutofocus||null),s.xp6(1),s.hij(" ",le.config.nzCancelText||le.locale.cancelText," ")}}function vn(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"button",11),s.NdJ("click",function(){s.CHM(le);const mt=s.oxw(2);return s.KtG(mt.onOk())}),s._uU(1),s.qZA()}if(2&Ze){const le=s.oxw(2);s.Q6J("nzType",le.config.nzOkType)("nzDanger",le.config.nzOkDanger)("nzLoading",!!le.config.nzOkLoading)("disabled",le.config.nzOkDisabled),s.uIk("cdkFocusInitial","ok"===le.config.nzAutofocus||null),s.xp6(1),s.hij(" ",le.config.nzOkText||le.locale.okText," ")}}function Dn(Ze,ut){if(1&Ze&&(s.YNc(0,qt,2,4,"button",8),s.YNc(1,vn,2,6,"button",9)),2&Ze){const le=s.oxw();s.Q6J("ngIf",null!==le.config.nzCancelText),s.xp6(1),s.Q6J("ngIf",null!==le.config.nzOkText)}}const Wt=["nz-modal-title",""];function It(Ze,ut){if(1&Ze&&(s.ynx(0),s._UZ(1,"div",2),s.BQk()),2&Ze){const le=s.oxw();s.xp6(1),s.Q6J("innerHTML",le.config.nzTitle,s.oJD)}}function $e(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){s.CHM(le);const mt=s.oxw();return s.KtG(mt.onCloseClick())}),s.qZA()}}function Ve(Ze,ut){1&Ze&&s._UZ(0,"div",10)}function Pe(Ze,ut){}function We(Ze,ut){if(1&Ze&&s._UZ(0,"div",11),2&Ze){const le=s.oxw();s.Q6J("innerHTML",le.config.nzContent,s.oJD)}}function He(Ze,ut){if(1&Ze){const le=s.EpF();s.TgZ(0,"div",12),s.NdJ("cancelTriggered",function(){s.CHM(le);const mt=s.oxw();return s.KtG(mt.onCloseClick())})("okTriggered",function(){s.CHM(le);const mt=s.oxw();return s.KtG(mt.onOkClick())}),s.qZA()}if(2&Ze){const le=s.oxw();s.Q6J("modalRef",le.modalRef)}}const we=()=>{};class te{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=we,this.nzOnOk=we,this.nzIconType="question-circle"}}const Ge="ant-modal-mask",vt="modal",rn=new s.OlP("NZ_MODAL_DATA"),_n={modalContainer:(0,F.X$)("modalContainer",[(0,F.SB)("void, exit",(0,F.oB)({})),(0,F.SB)("enter",(0,F.oB)({})),(0,F.eR)("* => enter",(0,F.jt)(".24s",(0,F.oB)({}))),(0,F.eR)("* => void, * => exit",(0,F.jt)(".2s",(0,F.oB)({})))])};function it(Ze,ut,le){return typeof Ze>"u"?typeof ut>"u"?le:ut:Ze}function lt(Ze){const{nzCentered:ut,nzMask:le,nzMaskClosable:ye,nzClosable:mt,nzOkLoading:Ae,nzOkDisabled:at,nzCancelDisabled:Bt,nzCancelLoading:ln,nzKeyboard:At,nzNoAnimation:dt,nzContent:ft,nzFooter:ne,nzZIndex:B,nzWidth:Te,nzWrapClassName:Ye,nzClassName:yt,nzStyle:Kt,nzTitle:Zt,nzCloseIcon:On,nzMaskStyle:zn,nzBodyStyle:Wn,nzOkText:bo,nzCancelText:To,nzOkType:$o,nzOkDanger:Ko,nzIconType:Ro,nzModalType:Eo,nzOnOk:Xn,nzOnCancel:Jo,nzAfterOpen:ko,nzAfterClose:Mo,nzCloseOnNavigation:vo,nzAutofocus:ui}=Ze;return{nzCentered:ut,nzMask:le,nzMaskClosable:ye,nzClosable:mt,nzOkLoading:Ae,nzOkDisabled:at,nzCancelDisabled:Bt,nzCancelLoading:ln,nzKeyboard:At,nzNoAnimation:dt,nzContent:ft,nzFooter:ne,nzZIndex:B,nzWidth:Te,nzWrapClassName:Ye,nzClassName:yt,nzStyle:Kt,nzTitle:Zt,nzCloseIcon:On,nzMaskStyle:zn,nzBodyStyle:Wn,nzOkText:bo,nzCancelText:To,nzOkType:$o,nzOkDanger:Ko,nzIconType:Ro,nzModalType:Eo,nzOnOk:Xn,nzOnCancel:Jo,nzAfterOpen:ko,nzAfterClose:Mo,nzCloseOnNavigation:vo,nzAutofocus:ui}}function wt(){throw Error("Attempting to attach modal content after content is already attached")}let Ot=(()=>{class Ze extends d.en{get showMask(){const le=this.nzConfigService.getConfigForComponent(vt)||{};return!!it(this.config.nzMask,le.nzMask,!0)}get maskClosable(){const le=this.nzConfigService.getConfigForComponent(vt)||{};return!!it(this.config.nzMaskClosable,le.nzMaskClosable,!0)}constructor(le,ye,mt,Ae,at,Bt,ln,At,dt,ft){super(),this.ngZone=le,this.host=ye,this.focusTrapFactory=mt,this.cdr=Ae,this.render=at,this.overlayRef=Bt,this.nzConfigService=ln,this.config=At,this.animationType=ft,this.animationStateChanged=new s.vpe,this.containerClick=new s.vpe,this.cancelTriggered=new s.vpe,this.okTriggered=new s.vpe,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new k.x,this.document=dt,this.dir=Bt.getDirection(),this.isStringContent="string"==typeof At.nzContent,this.nzConfigService.getConfigChangeEventForComponent(vt).pipe((0,P.R)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}onContainerClick(le){le.target===le.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(le){return this.portalOutlet.hasAttached()&&wt(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(le)}attachTemplatePortal(le){return this.portalOutlet.hasAttached()&&wt(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(le)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const le=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const ye=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),mt=(0,M.pW)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(le,"transform-origin",`${mt.left+ye.width/2-le.offsetLeft}px ${mt.top+ye.height/2-le.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>(0,R.e)(()=>this.host.nativeElement.focus())))}trapFocus(){const le=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const ye=this.document.activeElement;ye!==le&&!le.contains(ye)&&le.focus()}}restoreFocus(){const le=this.elementFocusedBeforeModalWasOpened;if(le&&"function"==typeof le.focus){const ye=this.document.activeElement,mt=this.host.nativeElement;(!ye||ye===this.document.body||ye===mt||mt.contains(ye))&&le.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const le=this.modalElementRef.nativeElement,ye=this.overlayRef.backdropElement;le.classList.add("ant-zoom-enter"),le.classList.add("ant-zoom-enter-active"),ye&&(ye.classList.add("ant-fade-enter"),ye.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const le=this.modalElementRef.nativeElement;le.classList.add("ant-zoom-leave"),le.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(le=!1){const ye=this.overlayRef.backdropElement;if(ye){if(this.animationDisabled()||le)return void ye.classList.remove(Ge);ye.classList.add("ant-fade-leave"),ye.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const le=this.overlayRef.backdropElement,ye=this.modalElementRef.nativeElement;le&&(le.classList.remove("ant-fade-enter"),le.classList.remove("ant-fade-enter-active")),ye.classList.remove("ant-zoom-enter"),ye.classList.remove("ant-zoom-enter-active"),ye.classList.remove("ant-zoom-leave"),ye.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const le=this.overlayRef.backdropElement;le&&(0,M.DX)(this.config.nzZIndex)&&this.render.setStyle(le,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const le=this.overlayRef.backdropElement;if(le&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(mt=>{this.render.removeStyle(le,mt)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const ye={...this.config.nzMaskStyle};Object.keys(ye).forEach(mt=>{this.render.setStyle(le,mt,ye[mt])}),this.oldMaskStyle=ye}}updateMaskClassname(){const le=this.overlayRef.backdropElement;le&&(this.showMask?le.classList.add(Ge):le.classList.remove(Ge))}onAnimationDone(le){"enter"===le.toState?this.trapFocus():"exit"===le.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(le)}onAnimationStart(le){"enter"===le.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===le.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(le)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(!0),this.destroy$.complete()}setupMouseListeners(le){this.ngZone.runOutsideAngular(()=>{(0,G.R)(this.host.nativeElement,"mouseup").pipe((0,P.R)(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),(0,G.R)(le.nativeElement,"mousedown").pipe((0,P.R)(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}}return Ze.\u0275fac=function(le){s.$Z()},Ze.\u0275dir=s.lG2({type:Ze,features:[s.qOj]}),Ze})(),Lt=(()=>{class Ze{constructor(le){this.config=le}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(te))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:ae,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(le,ye){1&le&&(s.TgZ(0,"span",0),s.YNc(1,fe,2,1,"ng-container",1),s.qZA()),2&le&&(s.xp6(1),s.Q6J("nzStringTemplateOutlet",ye.config.nzCloseIcon))},dependencies:[N.f,O.w,x.Ls],encapsulation:2,changeDetection:0}),Ze})(),Gt=(()=>{class Ze extends Ot{constructor(le,ye,mt,Ae,at,Bt,ln,At,dt,ft,ne){super(le,mt,Ae,at,Bt,ln,At,dt,ft,ne),this.i18n=ye,this.config=dt,this.cancelTriggered=new s.vpe,this.okTriggered=new s.vpe,this.i18n.localeChange.pipe((0,P.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(s.R0b),s.Y36(K.wi),s.Y36(s.SBq),s.Y36(ge.qV),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(v.Iu),s.Y36(ze.jY),s.Y36(te),s.Y36(e.K0,8),s.Y36(s.QbO,8))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["nz-modal-confirm-container"]],viewQuery:function(le,ye){if(1&le&&(s.Gf(d.Pl,7),s.Gf(be,7)),2&le){let mt;s.iGM(mt=s.CRH())&&(ye.portalOutlet=mt.first),s.iGM(mt=s.CRH())&&(ye.modalElementRef=mt.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(le,ye){1&le&&(s.WFA("@modalContainer.start",function(Ae){return ye.onAnimationStart(Ae)})("@modalContainer.done",function(Ae){return ye.onAnimationDone(Ae)}),s.NdJ("click",function(Ae){return ye.onContainerClick(Ae)})),2&le&&(s.d8E("@.disabled",ye.config.nzNoAnimation)("@modalContainer",ye.state),s.Tol(ye.config.nzWrapClassName?"ant-modal-wrap "+ye.config.nzWrapClassName:"ant-modal-wrap"),s.Udp("z-index",ye.config.nzZIndex),s.ekj("ant-modal-wrap-rtl","rtl"===ye.dir)("ant-modal-centered",ye.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[s.qOj],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(le,ye){1&le&&(s.TgZ(0,"div",0,1),s.ALo(2,"nzToCssUnit"),s.TgZ(3,"div",2),s.YNc(4,Ft,1,0,"button",3),s.TgZ(5,"div",4)(6,"div",5)(7,"div",6),s._UZ(8,"span",7),s.TgZ(9,"span",8),s.YNc(10,Dt,2,1,"ng-container",9),s.qZA(),s.TgZ(11,"div",10),s.YNc(12,nn,0,0,"ng-template",11),s.YNc(13,Et,1,1,"div",12),s.qZA()(),s.TgZ(14,"div",13),s.YNc(15,Ht,2,4,"button",14),s.YNc(16,tn,2,6,"button",15),s.qZA()()()()()),2&le&&(s.Udp("width",s.lcZ(2,11,null==ye.config?null:ye.config.nzWidth)),s.Q6J("ngClass",ye.config.nzClassName)("ngStyle",ye.config.nzStyle),s.xp6(4),s.Q6J("ngIf",ye.config.nzClosable),s.xp6(1),s.Q6J("ngStyle",ye.config.nzBodyStyle),s.xp6(3),s.Q6J("nzType",ye.config.nzIconType),s.xp6(2),s.Q6J("nzStringTemplateOutlet",ye.config.nzTitle),s.xp6(3),s.Q6J("ngIf",ye.isStringContent),s.xp6(2),s.Q6J("ngIf",null!==ye.config.nzCancelText),s.xp6(1),s.Q6J("ngIf",null!==ye.config.nzOkText))},dependencies:[e.mk,e.O5,e.PC,N.f,d.Pl,V.ix,O.w,A.dQ,x.Ls,Lt,pe.ku],encapsulation:2,data:{animation:[_n.modalContainer]}}),Ze})(),Ke=(()=>{class Ze{constructor(le,ye){this.i18n=le,this.config=ye,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new s.vpe,this.okTriggered=new s.vpe,this.destroy$=new k.x,Array.isArray(ye.nzFooter)&&(this.buttonsFooter=!0,this.buttons=ye.nzFooter.map(J)),this.i18n.localeChange.pipe((0,P.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(le,ye){const mt=le[ye],Ae=this.modalRef.getContentComponent();return"function"==typeof mt?mt.apply(le,Ae&&[Ae]):mt}onButtonClick(le){if(!this.getButtonCallableProp(le,"loading")){const mt=this.getButtonCallableProp(le,"onClick");le.autoLoading&&(0,M.tI)(mt)&&(le.loading=!0,mt.then(()=>le.loading=!1).catch(Ae=>{throw le.loading=!1,Ae}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(K.wi),s.Y36(te))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:un,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(le,ye){if(1&le&&(s.YNc(0,Yt,2,5,"ng-container",0),s.YNc(1,Dn,2,2,"ng-template",null,1,s.W1O)),2&le){const mt=s.MAs(2);s.Q6J("ngIf",ye.config.nzFooter)("ngIfElse",mt)}},dependencies:[e.sg,e.O5,N.f,V.ix,O.w,A.dQ],encapsulation:2}),Ze})();function J(Ze){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...Ze}}let I=(()=>{class Ze{constructor(le){this.config=le}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(te))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:Wt,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(le,ye){1&le&&(s.TgZ(0,"div",0),s.YNc(1,It,2,1,"ng-container",1),s.qZA()),2&le&&(s.xp6(1),s.Q6J("nzStringTemplateOutlet",ye.config.nzTitle))},dependencies:[N.f],encapsulation:2,changeDetection:0}),Ze})(),q=(()=>{class Ze extends Ot{constructor(le,ye,mt,Ae,at,Bt,ln,At,dt,ft){super(le,ye,mt,Ae,at,Bt,ln,At,dt,ft),this.config=At}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(ge.qV),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(v.Iu),s.Y36(ze.jY),s.Y36(te),s.Y36(e.K0,8),s.Y36(s.QbO,8))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["nz-modal-container"]],viewQuery:function(le,ye){if(1&le&&(s.Gf(d.Pl,7),s.Gf(be,7)),2&le){let mt;s.iGM(mt=s.CRH())&&(ye.portalOutlet=mt.first),s.iGM(mt=s.CRH())&&(ye.modalElementRef=mt.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(le,ye){1&le&&(s.WFA("@modalContainer.start",function(Ae){return ye.onAnimationStart(Ae)})("@modalContainer.done",function(Ae){return ye.onAnimationDone(Ae)}),s.NdJ("click",function(Ae){return ye.onContainerClick(Ae)})),2&le&&(s.d8E("@.disabled",ye.config.nzNoAnimation)("@modalContainer",ye.state),s.Tol(ye.config.nzWrapClassName?"ant-modal-wrap "+ye.config.nzWrapClassName:"ant-modal-wrap"),s.Udp("z-index",ye.config.nzZIndex),s.ekj("ant-modal-wrap-rtl","rtl"===ye.dir)("ant-modal-centered",ye.config.nzCentered))},exportAs:["nzModalContainer"],features:[s.qOj],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(le,ye){1&le&&(s.TgZ(0,"div",0,1),s.ALo(2,"nzToCssUnit"),s.TgZ(3,"div",2),s.YNc(4,$e,1,0,"button",3),s.YNc(5,Ve,1,0,"div",4),s.TgZ(6,"div",5),s.YNc(7,Pe,0,0,"ng-template",6),s.YNc(8,We,1,1,"div",7),s.qZA(),s.YNc(9,He,1,1,"div",8),s.qZA()()),2&le&&(s.Udp("width",s.lcZ(2,9,null==ye.config?null:ye.config.nzWidth)),s.Q6J("ngClass",ye.config.nzClassName)("ngStyle",ye.config.nzStyle),s.xp6(4),s.Q6J("ngIf",ye.config.nzClosable),s.xp6(1),s.Q6J("ngIf",ye.config.nzTitle),s.xp6(1),s.Q6J("ngStyle",ye.config.nzBodyStyle),s.xp6(2),s.Q6J("ngIf",ye.isStringContent),s.xp6(1),s.Q6J("ngIf",null!==ye.config.nzFooter))},dependencies:[e.mk,e.O5,e.PC,d.Pl,Lt,Ke,I,pe.ku],encapsulation:2,data:{animation:[_n.modalContainer]}}),Ze})();class Me{constructor(ut,le,ye){this.overlayRef=ut,this.config=le,this.containerInstance=ye,this.componentInstance=null,this.state=0,this.afterClose=new k.x,this.afterOpen=new k.x,this.destroy$=new k.x,ye.animationStateChanged.pipe((0,S.h)(mt=>"done"===mt.phaseName&&"enter"===mt.toState),(0,w.q)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),le.nzAfterOpen instanceof s.vpe&&le.nzAfterOpen.emit()}),ye.animationStateChanged.pipe((0,S.h)(mt=>"done"===mt.phaseName&&"exit"===mt.toState),(0,w.q)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),ye.containerClick.pipe((0,w.q)(1),(0,P.R)(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),ut.keydownEvents().pipe((0,S.h)(mt=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&mt.keyCode===de.hY&&!(0,de.Vb)(mt))).subscribe(mt=>{mt.preventDefault(),this.trigger("cancel")}),ye.cancelTriggered.pipe((0,P.R)(this.destroy$)).subscribe(()=>this.trigger("cancel")),ye.okTriggered.pipe((0,P.R)(this.destroy$)).subscribe(()=>this.trigger("ok")),ut.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),le.nzAfterClose instanceof s.vpe&&le.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(ut){this.close(ut)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(ut){0===this.state&&(this.result=ut,this.containerInstance.animationStateChanged.pipe((0,S.h)(le=>"start"===le.phaseName),(0,w.q)(1)).subscribe(le=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},le.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(ut){Object.assign(this.config,ut),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(ut){var le=this;return function i(Ze){return function(){var ut=this,le=arguments;return new Promise(function(ye,mt){var Ae=Ze.apply(ut,le);function at(ln){t(Ae,ye,mt,at,Bt,"next",ln)}function Bt(ln){t(Ae,ye,mt,at,Bt,"throw",ln)}at(void 0)})}}(function*(){if(1===le.state)return;const ye={ok:le.config.nzOnOk,cancel:le.config.nzOnCancel}[ut],mt={ok:"nzOkLoading",cancel:"nzCancelLoading"}[ut];if(!le.config[mt])if(ye instanceof s.vpe)ye.emit(le.getContentComponent());else if("function"==typeof ye){const at=ye(le.getContentComponent());if((0,M.tI)(at)){le.config[mt]=!0;let Bt=!1;try{Bt=yield at}finally{le.config[mt]=!1,le.closeWhitResult(Bt)}}else le.closeWhitResult(at)}})()}closeWhitResult(ut){!1!==ut&&this.close(ut)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let _t=(()=>{class Ze{get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const le=this.parentModal;return le?le._afterAllClosed:this.afterAllClosedAtThisLevel}constructor(le,ye,mt,Ae,at){this.overlay=le,this.injector=ye,this.nzConfigService=mt,this.parentModal=Ae,this.directionality=at,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new k.x,this.afterAllClose=(0,U.P)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe((0,L.O)(void 0)))}create(le){return this.open(le.nzContent,le)}closeAll(){this.closeModals(this.openModals)}confirm(le={},ye="confirm"){return"nzFooter"in le&&(0,Y.ZK)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in le||(le.nzWidth=416),"nzMaskClosable"in le||(le.nzMaskClosable=!1),le.nzModalType="confirm",le.nzClassName=`ant-modal-confirm ant-modal-confirm-${ye} ${le.nzClassName||""}`,this.create(le)}info(le={}){return this.confirmFactory(le,"info")}success(le={}){return this.confirmFactory(le,"success")}error(le={}){return this.confirmFactory(le,"error")}warning(le={}){return this.confirmFactory(le,"warning")}open(le,ye){const mt=function st(Ze,ut){return{...ut,...Ze}}(ye||{},new te),Ae=this.createOverlay(mt),at=this.attachModalContainer(Ae,mt),Bt=this.attachModalContent(le,at,Ae,mt);return at.modalRef=Bt,this.openModals.push(Bt),Bt.afterClose.subscribe(()=>this.removeOpenModal(Bt)),Bt}removeOpenModal(le){const ye=this.openModals.indexOf(le);ye>-1&&(this.openModals.splice(ye,1),this.openModals.length||this._afterAllClosed.next())}closeModals(le){let ye=le.length;for(;ye--;)le[ye].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(le){const ye=this.nzConfigService.getConfigForComponent(vt)||{},mt=new v.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:it(le.nzCloseOnNavigation,ye.nzCloseOnNavigation,!0),direction:it(le.nzDirection,ye.nzDirection,this.directionality.value)});return it(le.nzMask,ye.nzMask,!0)&&(mt.backdropClass=Ge),this.overlay.create(mt)}attachModalContainer(le,ye){const Ae=s.zs3.create({parent:ye&&ye.nzViewContainerRef&&ye.nzViewContainerRef.injector||this.injector,providers:[{provide:v.Iu,useValue:le},{provide:te,useValue:ye}]}),Bt=new d.C5("confirm"===ye.nzModalType?Gt:q,ye.nzViewContainerRef,Ae);return le.attach(Bt).instance}attachModalContent(le,ye,mt,Ae){const at=new Me(mt,Ae,ye);if(le instanceof s.Rgc)ye.attachTemplatePortal(new d.UE(le,null,{$implicit:Ae.nzData,modalRef:at}));else if((0,M.DX)(le)&&"string"!=typeof le){const Bt=this.createInjector(at,Ae),ln=ye.attachComponentPortal(new d.C5(le,Ae.nzViewContainerRef,Bt));at.componentInstance=ln.instance}else ye.attachStringContent();return at}createInjector(le,ye){return s.zs3.create({parent:ye&&ye.nzViewContainerRef&&ye.nzViewContainerRef.injector||this.injector,providers:[{provide:Me,useValue:le},{provide:rn,useValue:ye.nzData}]})}confirmFactory(le={},ye){return"nzIconType"in le||(le.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[ye]),"nzCancelText"in le||(le.nzCancelText=null),this.confirm(le,ye)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.LFG(v.aV),s.LFG(s.zs3),s.LFG(ze.jY),s.LFG(Ze,12),s.LFG(W.Is,8))},Ze.\u0275prov=s.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),tt=(()=>{class Ze{constructor(le){this.templateRef=le}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(s.Rgc))},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),Ze})(),Je=(()=>{class Ze{constructor(le,ye){this.nzModalRef=le,this.templateRef=ye,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(Me,8),s.Y36(s.Rgc))},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),Ze})(),rt=(()=>{class Ze{constructor(le,ye){this.nzModalRef=le,this.templateRef=ye,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(Me,8),s.Y36(s.Rgc))},Ze.\u0275dir=s.lG2({type:Ze,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),Ze})(),Nt=(()=>{class Ze{set modalTitle(le){le&&this.setTitleWithTemplate(le)}set modalFooter(le){le&&this.setFooterWithTemplate(le)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}constructor(le,ye,mt){this.cdr=le,this.modal=ye,this.viewContainerRef=mt,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new s.vpe,this.nzOnCancel=new s.vpe,this.nzAfterOpen=new s.vpe,this.nzAfterClose=new s.vpe,this.nzVisibleChange=new s.vpe,this.modalRef=null,this.destroy$=new k.x}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const le=this.getConfig();this.modalRef=this.modal.create(le),this.modalRef.afterClose.asObservable().pipe((0,P.R)(this.destroy$)).subscribe(()=>{this.close()})}}close(le){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(le),this.modalRef=null)}destroy(le){this.close(le)}triggerOk(){this.modalRef?.triggerOk()}triggerCancel(){this.modalRef?.triggerCancel()}getContentComponent(){return this.modalRef?.getContentComponent()}getElement(){return this.modalRef?.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(le){this.nzTitle=le,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(le){this.nzFooter=le,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const le=lt(this);return le.nzViewContainerRef=this.viewContainerRef,le.nzContent=this.nzContent||this.contentFromContentChild,le}ngOnChanges(le){const{nzVisible:ye,...mt}=le;Object.keys(mt).length&&this.modalRef&&this.modalRef.updateConfig(lt(this)),ye&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){this.modalRef?._finishDialogClose(),this.destroy$.next(),this.destroy$.complete()}}return Ze.\u0275fac=function(le){return new(le||Ze)(s.Y36(s.sBO),s.Y36(_t),s.Y36(s.s_b))},Ze.\u0275cmp=s.Xpm({type:Ze,selectors:[["nz-modal"]],contentQueries:function(le,ye,mt){if(1&le&&(s.Suo(mt,rt,7,s.Rgc),s.Suo(mt,tt,7,s.Rgc),s.Suo(mt,Je,7,s.Rgc)),2&le){let Ae;s.iGM(Ae=s.CRH())&&(ye.modalTitle=Ae.first),s.iGM(Ae=s.CRH())&&(ye.contentFromContentChild=Ae.first),s.iGM(Ae=s.CRH())&&(ye.modalFooter=Ae.first)}},inputs:{nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzContent:"nzContent",nzFooter:"nzFooter",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzCloseIcon:"nzCloseIcon",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[s.TTD],decls:0,vars:0,template:function(le,ye){},encapsulation:2,changeDetection:0}),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzMask",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzMaskClosable",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzCloseOnNavigation",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzVisible",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzClosable",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzOkLoading",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzOkDisabled",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzCancelDisabled",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzCancelLoading",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzKeyboard",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzNoAnimation",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzCentered",void 0),(0,ve.gn)([(0,M.yF)()],Ze.prototype,"nzOkDanger",void 0),Ze})(),Tt=(()=>{class Ze{}return Ze.\u0275fac=function(le){return new(le||Ze)},Ze.\u0275mod=s.oAB({type:Ze}),Ze.\u0275inj=s.cJS({providers:[_t],imports:[e.ez,W.vT,v.U8,N.T,d.eL,K.YI,V.sL,x.PV,pe.YS,Q.g,pe.YS]}),Ze})()},6192:(xt,Se,a)=>{a.d(Se,{YS:()=>Y,ku:()=>G});var t=a(6814),i=a(5879),v=a(7754);a(6593);class k{transform(e,F=0,R="B",ge){if(!((0,v.ui)(e)&&(0,v.ui)(F)&&F%1==0&&F>=0))return e;let ze=e,K=R;for(;"B"!==K;)ze*=1024,K=k.formats[K].prev;if(ge){const V=(0,v.YM)(k.calculateResult(k.formats[ge],ze),F);return k.formatResult(V,ge)}for(const N in k.formats)if(k.formats.hasOwnProperty(N)){const V=k.formats[N];if(ze{class M{transform(F,R="px"){let V="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(O=>O===R)&&(V=R),"number"==typeof F?`${F}${V}`:`${F}`}}return M.\u0275fac=function(F){return new(F||M)},M.\u0275pipe=i.Yjl({name:"nzToCssUnit",type:M,pure:!0}),M})(),Y=(()=>{class M{}return M.\u0275fac=function(F){return new(F||M)},M.\u0275mod=i.oAB({type:M}),M.\u0275inj=i.cJS({imports:[t.ez]}),M})()},7417:(xt,Se,a)=>{a.d(Se,{$6:()=>K,lU:()=>ge});var t=a(655),i=a(5879),v=a(4194),d=a(874),s=a(7754),k=a(6109),G=a(331),U=a(9388),P=a(6814),S=a(9594),w=a(8324),L=a(5448);function Y(N,V){if(1&N&&(i.ynx(0),i._uU(1),i.BQk()),2&N){const O=i.oxw(3);i.xp6(1),i.Oqu(O.nzTitle)}}function M(N,V){if(1&N&&(i.TgZ(0,"div",10),i.YNc(1,Y,2,1,"ng-container",9),i.qZA()),2&N){const O=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",O.nzTitle)}}function e(N,V){if(1&N&&(i.ynx(0),i._uU(1),i.BQk()),2&N){const O=i.oxw(2);i.xp6(1),i.Oqu(O.nzContent)}}function F(N,V){if(1&N&&(i.TgZ(0,"div",2)(1,"div",3)(2,"div",4),i._UZ(3,"span",5),i.qZA(),i.TgZ(4,"div",6)(5,"div"),i.YNc(6,M,2,1,"div",7),i.TgZ(7,"div",8),i.YNc(8,e,2,1,"ng-container",9),i.qZA()()()()()),2&N){const O=i.oxw();i.ekj("ant-popover-rtl","rtl"===O.dir),i.Q6J("ngClass",O._classMap)("ngStyle",O.nzOverlayStyle)("@.disabled",!(null==O.noAnimation||!O.noAnimation.nzNoAnimation))("nzNoAnimation",null==O.noAnimation?null:O.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),i.xp6(6),i.Q6J("ngIf",O.nzTitle),i.xp6(2),i.Q6J("nzStringTemplateOutlet",O.nzContent)}}let ge=(()=>{class N extends k.Mg{getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],...super.getProxyPropertyMap()}}constructor(O,A,x,pe,de,W){super(O,A,x,pe,de,W),this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new i.vpe,this.componentRef=this.hostView.createComponent(ze)}}return N.\u0275fac=function(O){return new(O||N)(i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(i._Vd),i.Y36(i.Qsj),i.Y36(G.P,9),i.Y36(d.jY))},N.\u0275dir=i.lG2({type:N,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(O,A){2&O&&i.ekj("ant-popover-open",A.visible)},inputs:{arrowPointAtCenter:["nzPopoverArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[i.qOj]}),(0,t.gn)([(0,s.yF)()],N.prototype,"arrowPointAtCenter",void 0),(0,t.gn)([(0,d.oS)()],N.prototype,"nzPopoverBackdrop",void 0),N})(),ze=(()=>{class N extends k.XK{constructor(O,A,x){super(O,A,x),this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return(0,k.pu)(this.nzTitle)&&(0,k.pu)(this.nzContent)}}return N.\u0275fac=function(O){return new(O||N)(i.Y36(i.sBO),i.Y36(U.Is,8),i.Y36(G.P,9))},N.\u0275cmp=i.Xpm({type:N,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[i.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(O,A){1&O&&(i.YNc(0,F,9,9,"ng-template",0,1,i.W1O),i.NdJ("overlayOutsideClick",function(pe){return A.onClickOutside(pe)})("detach",function(){return A.hide()})("positionChange",function(pe){return A.onPositionChange(pe)})),2&O&&i.Q6J("cdkConnectedOverlayHasBackdrop",A.hasBackdrop)("cdkConnectedOverlayOrigin",A.origin)("cdkConnectedOverlayPositions",A._positions)("cdkConnectedOverlayOpen",A._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",A.nzArrowPointAtCenter)},dependencies:[P.mk,P.O5,P.PC,S.pI,w.f,L.hQ,G.P],encapsulation:2,data:{animation:[v.$C]},changeDetection:0}),N})(),K=(()=>{class N{}return N.\u0275fac=function(O){return new(O||N)},N.\u0275mod=i.oAB({type:N}),N.\u0275inj=i.cJS({imports:[U.vT,P.ez,S.U8,w.T,L.e4,G.g,k.cg]}),N})()},7907:(xt,Se,a)=>{a.d(Se,{Bq:()=>F,Dg:()=>ge,Of:()=>ze,aF:()=>K});var t=a(5879),i=a(655),v=a(6223),d=a(7328),s=a(8645),k=a(2438),G=a(9773),U=a(7754),P=a(9388),S=a(4300),w=a(883),L=a(6814);const Y=["*"],M=["inputElement"],e=["nz-radio",""];let F=(()=>{class N{}return N.\u0275fac=function(O){return new(O||N)},N.\u0275dir=t.lG2({type:N,selectors:[["","nz-radio-button",""]]}),N})(),R=(()=>{class N{constructor(){this.selected$=new d.t(1),this.touched$=new s.x,this.disabled$=new d.t(1),this.name$=new d.t(1)}touch(){this.touched$.next()}select(O){this.selected$.next(O)}setDisabled(O){this.disabled$.next(O)}setName(O){this.name$.next(O)}}return N.\u0275fac=function(O){return new(O||N)},N.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac}),N})(),ge=(()=>{class N{constructor(O,A,x){this.cdr=O,this.nzRadioService=A,this.directionality=x,this.value=null,this.destroy$=new s.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,G.R)(this.destroy$)).subscribe(O=>{this.value!==O&&(this.value=O,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,G.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,G.R)(this.destroy$)).subscribe(O=>{this.dir=O,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(O){const{nzDisabled:A,nzName:x}=O;A&&this.nzRadioService.setDisabled(this.nzDisabled),x&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}writeValue(O){this.value=O,this.nzRadioService.select(O),this.cdr.markForCheck()}registerOnChange(O){this.onChange=O}registerOnTouched(O){this.onTouched=O}setDisabledState(O){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||O,this.isNzDisableFirstChange=!1,this.nzRadioService.setDisabled(this.nzDisabled),this.cdr.markForCheck()}}return N.\u0275fac=function(O){return new(O||N)(t.Y36(t.sBO),t.Y36(R),t.Y36(P.Is,8))},N.\u0275cmp=t.Xpm({type:N,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(O,A){2&O&&t.ekj("ant-radio-group-large","large"===A.nzSize)("ant-radio-group-small","small"===A.nzSize)("ant-radio-group-solid","solid"===A.nzButtonStyle)("ant-radio-group-rtl","rtl"===A.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[t._Bn([R,{provide:v.JU,useExisting:(0,t.Gpc)(()=>N),multi:!0}]),t.TTD],ngContentSelectors:Y,decls:1,vars:0,template:function(O,A){1&O&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),(0,i.gn)([(0,U.yF)()],N.prototype,"nzDisabled",void 0),N})(),ze=(()=>{class N{focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(O,A,x,pe,de,W,ve,Q){this.ngZone=O,this.elementRef=A,this.cdr=x,this.focusMonitor=pe,this.directionality=de,this.nzRadioService=W,this.nzRadioButtonDirective=ve,this.nzFormStatusService=Q,this.isNgModel=!1,this.destroy$=new s.x,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}setDisabledState(O){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||O,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(O){this.isChecked=O,this.cdr.markForCheck()}registerOnChange(O){this.isNgModel=!0,this.onChange=O}registerOnTouched(O){this.onTouched=O}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,G.R)(this.destroy$)).subscribe(O=>{this.name=O,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,G.R)(this.destroy$)).subscribe(O=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||O,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,G.R)(this.destroy$)).subscribe(O=>{const A=this.isChecked;this.isChecked=this.nzValue===O,this.isNgModel&&A!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,G.R)(this.destroy$)).subscribe(O=>{O||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,G.R)(this.destroy$)).subscribe(O=>{this.dir=O,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,k.R)(this.elementRef.nativeElement,"click").pipe((0,G.R)(this.destroy$)).subscribe(O=>{O.stopPropagation(),O.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}}return N.\u0275fac=function(O){return new(O||N)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(S.tE),t.Y36(P.Is,8),t.Y36(R,8),t.Y36(F,8),t.Y36(w.kH,8))},N.\u0275cmp=t.Xpm({type:N,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(O,A){if(1&O&&t.Gf(M,7),2&O){let x;t.iGM(x=t.CRH())&&(A.inputElement=x.first)}},hostVars:18,hostBindings:function(O,A){2&O&&t.ekj("ant-radio-wrapper-in-form-item",!!A.nzFormStatusService)("ant-radio-wrapper",!A.isRadioButton)("ant-radio-button-wrapper",A.isRadioButton)("ant-radio-wrapper-checked",A.isChecked&&!A.isRadioButton)("ant-radio-button-wrapper-checked",A.isChecked&&A.isRadioButton)("ant-radio-wrapper-disabled",A.nzDisabled&&!A.isRadioButton)("ant-radio-button-wrapper-disabled",A.nzDisabled&&A.isRadioButton)("ant-radio-wrapper-rtl",!A.isRadioButton&&"rtl"===A.dir)("ant-radio-button-wrapper-rtl",A.isRadioButton&&"rtl"===A.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[t._Bn([{provide:v.JU,useExisting:(0,t.Gpc)(()=>N),multi:!0}])],attrs:e,ngContentSelectors:Y,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(O,A){1&O&&(t.F$t(),t.TgZ(0,"span"),t._UZ(1,"input",0,1)(3,"span"),t.qZA(),t.TgZ(4,"span"),t.Hsn(5),t.qZA()),2&O&&(t.ekj("ant-radio",!A.isRadioButton)("ant-radio-checked",A.isChecked&&!A.isRadioButton)("ant-radio-disabled",A.nzDisabled&&!A.isRadioButton)("ant-radio-button",A.isRadioButton)("ant-radio-button-checked",A.isChecked&&A.isRadioButton)("ant-radio-button-disabled",A.nzDisabled&&A.isRadioButton),t.xp6(1),t.ekj("ant-radio-input",!A.isRadioButton)("ant-radio-button-input",A.isRadioButton),t.Q6J("disabled",A.nzDisabled)("checked",A.isChecked),t.uIk("autofocus",A.nzAutoFocus?"autofocus":null)("name",A.name),t.xp6(2),t.ekj("ant-radio-inner",!A.isRadioButton)("ant-radio-button-inner",A.isRadioButton))},encapsulation:2,changeDetection:0}),(0,i.gn)([(0,U.yF)()],N.prototype,"nzDisabled",void 0),(0,i.gn)([(0,U.yF)()],N.prototype,"nzAutoFocus",void 0),N})(),K=(()=>{class N{}return N.\u0275fac=function(O){return new(O||N)},N.\u0275mod=t.oAB({type:N}),N.\u0275inj=t.cJS({imports:[P.vT,L.ez,v.u5]}),N})()},9691:(xt,Se,a)=>{a.d(Se,{Ip:()=>mn,LV:()=>At,Vq:()=>ln,Yy:()=>Je});var t=a(5879),i=a(8645),v=a(2438),d=a(5619),s=a(2096),k=a(2572),G=a(3019),U=a(532),P=a(6814),S=a(804),w=a(9773),L=a(7921),Y=a(3997),M=a(2460),e=a(7398),F=a(4664),R=a(9087),ge=a(551),ze=a(855),K=a(8324),N=a(655),V=a(7754),O=a(6028),A=a(9594),x=a(6223),pe=a(4194),de=a(874),W=a(5448),ve=a(6879),Q=a(4300),ae=a(331),fe=a(2831),be=a(9388),Ft=a(883),Dt=a(1752);const nn=["*"];function Et(dt,ft){}function Ht(dt,ft){if(1&dt&&t.YNc(0,Et,0,0,"ng-template",4),2&dt){const ne=t.oxw();t.Q6J("ngTemplateOutlet",ne.template)}}function tn(dt,ft){if(1&dt&&t._uU(0),2&dt){const ne=t.oxw();t.Oqu(ne.label)}}function un(dt,ft){1&dt&&t._UZ(0,"span",7)}function In(dt,ft){if(1&dt&&(t.TgZ(0,"div",5),t.YNc(1,un,1,0,"span",6),t.qZA()),2&dt){const ne=t.oxw();t.xp6(1),t.Q6J("ngIf",!ne.icon)("ngIfElse",ne.icon)}}function Xe(dt,ft){if(1&dt&&(t.ynx(0),t._uU(1),t.BQk()),2&dt){const ne=t.oxw();t.xp6(1),t.Oqu(ne.nzLabel)}}function Re(dt,ft){if(1&dt&&(t.TgZ(0,"div",4),t._UZ(1,"nz-embed-empty",5),t.qZA()),2&dt){const ne=t.oxw();t.xp6(1),t.Q6J("specificContent",ne.notFoundContent)}}function Ct(dt,ft){if(1&dt&&t._UZ(0,"nz-option-item-group",9),2&dt){const ne=t.oxw().$implicit;t.Q6J("nzLabel",ne.groupLabel)}}function je(dt,ft){if(1&dt){const ne=t.EpF();t.TgZ(0,"nz-option-item",10),t.NdJ("itemHover",function(Te){t.CHM(ne);const Ye=t.oxw(2);return t.KtG(Ye.onItemHover(Te))})("itemClick",function(Te){t.CHM(ne);const Ye=t.oxw(2);return t.KtG(Ye.onItemClick(Te))}),t.qZA()}if(2&dt){const ne=t.oxw().$implicit,B=t.oxw();t.Q6J("icon",B.menuItemSelectedIcon)("customContent",ne.nzCustomContent)("template",ne.template)("grouped",!!ne.groupLabel)("disabled",ne.nzDisabled)("showState","tags"===B.mode||"multiple"===B.mode)("label",ne.nzLabel)("compareWith",B.compareWith)("activatedValue",B.activatedValue)("listOfSelectedValue",B.listOfSelectedValue)("value",ne.nzValue)}}function Yt(dt,ft){1&dt&&(t.ynx(0,6),t.YNc(1,Ct,1,1,"nz-option-item-group",7),t.YNc(2,je,1,11,"nz-option-item",8),t.BQk()),2&dt&&(t.Q6J("ngSwitch",ft.$implicit.type),t.xp6(1),t.Q6J("ngSwitchCase","group"),t.xp6(1),t.Q6J("ngSwitchCase","item"))}function qt(dt,ft){}function vn(dt,ft){1&dt&&t.Hsn(0)}const Dn=["inputElement"],Wt=["mirrorElement"];function It(dt,ft){1&dt&&t._UZ(0,"span",3,4)}function $e(dt,ft){if(1&dt&&(t.TgZ(0,"div",4),t._uU(1),t.qZA()),2&dt){const ne=t.oxw(2);t.xp6(1),t.Oqu(ne.label)}}function Ve(dt,ft){if(1&dt&&t._uU(0),2&dt){const ne=t.oxw(2);t.Oqu(ne.label)}}function Pe(dt,ft){if(1&dt&&(t.ynx(0),t.YNc(1,$e,2,1,"div",2),t.YNc(2,Ve,1,1,"ng-template",null,3,t.W1O),t.BQk()),2&dt){const ne=t.MAs(3),B=t.oxw();t.xp6(1),t.Q6J("ngIf",B.deletable)("ngIfElse",ne)}}function We(dt,ft){1&dt&&t._UZ(0,"span",7)}function He(dt,ft){if(1&dt){const ne=t.EpF();t.TgZ(0,"span",5),t.NdJ("click",function(Te){t.CHM(ne);const Ye=t.oxw();return t.KtG(Ye.onDelete(Te))}),t.YNc(1,We,1,0,"span",6),t.qZA()}if(2&dt){const ne=t.oxw();t.xp6(1),t.Q6J("ngIf",!ne.removeIcon)("ngIfElse",ne.removeIcon)}}const we=function(dt){return{$implicit:dt}};function te(dt,ft){if(1&dt&&(t.ynx(0),t._uU(1),t.BQk()),2&dt){const ne=t.oxw();t.xp6(1),t.hij(" ",ne.placeholder," ")}}function ce(dt,ft){if(1&dt&&t._UZ(0,"nz-select-item",6),2&dt){const ne=t.oxw(2);t.Q6J("deletable",!1)("disabled",!1)("removeIcon",ne.removeIcon)("label",ne.listOfTopItem[0].nzLabel)("contentTemplateOutlet",ne.customTemplate)("contentTemplateOutletContext",ne.listOfTopItem[0])}}function De(dt,ft){if(1&dt){const ne=t.EpF();t.ynx(0),t.TgZ(1,"nz-select-search",4),t.NdJ("isComposingChange",function(Te){t.CHM(ne);const Ye=t.oxw();return t.KtG(Ye.isComposingChange(Te))})("valueChange",function(Te){t.CHM(ne);const Ye=t.oxw();return t.KtG(Ye.onInputValueChange(Te))}),t.qZA(),t.YNc(2,ce,1,6,"nz-select-item",5),t.BQk()}if(2&dt){const ne=t.oxw();t.xp6(1),t.Q6J("nzId",ne.nzId)("disabled",ne.disabled)("value",ne.inputValue)("showInput",ne.showSearch)("mirrorSync",!1)("autofocus",ne.autofocus)("focusTrigger",ne.open),t.xp6(1),t.Q6J("ngIf",ne.isShowSingleLabel)}}function Ge(dt,ft){if(1&dt){const ne=t.EpF();t.TgZ(0,"nz-select-item",9),t.NdJ("delete",function(){const Ye=t.CHM(ne).$implicit,yt=t.oxw(2);return t.KtG(yt.onDeleteItem(Ye.contentTemplateOutletContext))}),t.qZA()}if(2&dt){const ne=ft.$implicit,B=t.oxw(2);t.Q6J("removeIcon",B.removeIcon)("label",ne.nzLabel)("disabled",ne.nzDisabled||B.disabled)("contentTemplateOutlet",ne.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",ne.contentTemplateOutletContext)}}function vt(dt,ft){if(1&dt){const ne=t.EpF();t.ynx(0),t.YNc(1,Ge,1,6,"nz-select-item",7),t.TgZ(2,"nz-select-search",8),t.NdJ("isComposingChange",function(Te){t.CHM(ne);const Ye=t.oxw();return t.KtG(Ye.isComposingChange(Te))})("valueChange",function(Te){t.CHM(ne);const Ye=t.oxw();return t.KtG(Ye.onInputValueChange(Te))}),t.qZA(),t.BQk()}if(2&dt){const ne=t.oxw();t.xp6(1),t.Q6J("ngForOf",ne.listOfSlicedItem)("ngForTrackBy",ne.trackValue),t.xp6(1),t.Q6J("nzId",ne.nzId)("disabled",ne.disabled)("value",ne.inputValue)("autofocus",ne.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",ne.open)}}function rn(dt,ft){if(1&dt&&t._UZ(0,"nz-select-placeholder",10),2&dt){const ne=t.oxw();t.Q6J("placeholder",ne.placeHolder)}}function _n(dt,ft){1&dt&&t._UZ(0,"span",1)}function st(dt,ft){1&dt&&t._UZ(0,"span",3)}function it(dt,ft){1&dt&&t._UZ(0,"span",8)}function lt(dt,ft){1&dt&&t._UZ(0,"span",9)}function wt(dt,ft){if(1&dt&&(t.ynx(0),t.YNc(1,it,1,0,"span",6),t.YNc(2,lt,1,0,"span",7),t.BQk()),2&dt){const ne=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!ne.search),t.xp6(1),t.Q6J("ngIf",ne.search)}}function Ot(dt,ft){if(1&dt&&t._UZ(0,"span",11),2&dt){const ne=t.oxw().$implicit;t.Q6J("nzType",ne)}}function Lt(dt,ft){if(1&dt&&(t.ynx(0),t.YNc(1,Ot,1,1,"span",10),t.BQk()),2&dt){const ne=ft.$implicit;t.xp6(1),t.Q6J("ngIf",ne)}}function Gt(dt,ft){if(1&dt&&t.YNc(0,Lt,2,1,"ng-container",2),2&dt){const ne=t.oxw(2);t.Q6J("nzStringTemplateOutlet",ne.suffixIcon)}}function Ke(dt,ft){if(1&dt&&(t.YNc(0,wt,3,2,"ng-container",4),t.YNc(1,Gt,1,1,"ng-template",null,5,t.W1O)),2&dt){const ne=t.MAs(2),B=t.oxw();t.Q6J("ngIf",B.showArrow&&!B.suffixIcon)("ngIfElse",ne)}}function J(dt,ft){if(1&dt&&(t.ynx(0),t._uU(1),t.BQk()),2&dt){const ne=t.oxw();t.xp6(1),t.Oqu(ne.feedbackIcon)}}function I(dt,ft){if(1&dt&&t._UZ(0,"nz-form-item-feedback-icon",8),2&dt){const ne=t.oxw(3);t.Q6J("status",ne.status)}}function q(dt,ft){if(1&dt&&t.YNc(0,I,1,1,"nz-form-item-feedback-icon",7),2&dt){const ne=t.oxw(2);t.Q6J("ngIf",ne.hasFeedback&&!!ne.status)}}function Me(dt,ft){if(1&dt&&(t.TgZ(0,"nz-select-arrow",5),t.YNc(1,q,1,1,"ng-template",null,6,t.W1O),t.qZA()),2&dt){const ne=t.MAs(2),B=t.oxw();t.Q6J("showArrow",B.nzShowArrow)("loading",B.nzLoading)("search",B.nzOpen&&B.nzShowSearch)("suffixIcon",B.nzSuffixIcon)("feedbackIcon",ne)}}function _t(dt,ft){if(1&dt){const ne=t.EpF();t.TgZ(0,"nz-select-clear",9),t.NdJ("clear",function(){t.CHM(ne);const Te=t.oxw();return t.KtG(Te.onClearSelection())}),t.qZA()}if(2&dt){const ne=t.oxw();t.Q6J("clearIcon",ne.nzClearIcon)}}function tt(dt,ft){if(1&dt){const ne=t.EpF();t.TgZ(0,"nz-option-container",10),t.NdJ("keydown",function(Te){t.CHM(ne);const Ye=t.oxw();return t.KtG(Ye.onKeyDown(Te))})("itemClick",function(Te){t.CHM(ne);const Ye=t.oxw();return t.KtG(Ye.onItemClick(Te))})("scrollToBottom",function(){t.CHM(ne);const Te=t.oxw();return t.KtG(Te.nzScrollToBottom.emit())}),t.qZA()}if(2&dt){const ne=t.oxw();t.ekj("ant-select-dropdown-placement-bottomLeft","bottomLeft"===ne.dropDownPosition)("ant-select-dropdown-placement-topLeft","topLeft"===ne.dropDownPosition)("ant-select-dropdown-placement-bottomRight","bottomRight"===ne.dropDownPosition)("ant-select-dropdown-placement-topRight","topRight"===ne.dropDownPosition),t.Q6J("ngStyle",ne.nzDropdownStyle)("itemSize",ne.nzOptionHeightPx)("maxItemLength",ne.nzOptionOverflowSize)("matchWidth",ne.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",!(null==ne.noAnimation||!ne.noAnimation.nzNoAnimation))("nzNoAnimation",null==ne.noAnimation?null:ne.noAnimation.nzNoAnimation)("listOfContainerItem",ne.listOfContainerItem)("menuItemSelectedIcon",ne.nzMenuItemSelectedIcon)("notFoundContent",ne.nzNotFoundContent)("activatedValue",ne.activatedValue)("listOfSelectedValue",ne.listOfValue)("dropdownRender",ne.nzDropdownRender)("compareWith",ne.compareWith)("mode",ne.nzMode)}}let Je=(()=>{class dt{constructor(){this.nzLabel=null,this.changes=new i.x}ngOnChanges(){this.changes.next()}}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[t.TTD],ngContentSelectors:nn,decls:1,vars:0,template:function(ne,B){1&ne&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),dt})(),rt=(()=>{class dt{constructor(ne,B,Te){this.elementRef=ne,this.ngZone=B,this.destroy$=Te,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new t.vpe,this.itemHover=new t.vpe}ngOnChanges(ne){const{value:B,activatedValue:Te,listOfSelectedValue:Ye}=ne;(B||Ye)&&(this.selected=this.listOfSelectedValue.some(yt=>this.compareWith(yt,this.value))),(B||Te)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,v.R)(this.elementRef.nativeElement,"click").pipe((0,w.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),(0,v.R)(this.elementRef.nativeElement,"mouseenter").pipe((0,w.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})})}}return dt.\u0275fac=function(ne){return new(ne||dt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(R.kn))},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(ne,B){2&ne&&(t.uIk("title",B.label),t.ekj("ant-select-item-option-grouped",B.grouped)("ant-select-item-option-selected",B.selected&&!B.disabled)("ant-select-item-option-disabled",B.disabled)("ant-select-item-option-active",B.activated&&!B.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[t._Bn([R.kn]),t.TTD],decls:5,vars:3,consts:[[1,"ant-select-item-option-content"],[3,"ngIf","ngIfElse"],["noCustomContent",""],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(ne,B){if(1&ne&&(t.TgZ(0,"div",0),t.YNc(1,Ht,1,1,"ng-template",1),t.YNc(2,tn,1,1,"ng-template",null,2,t.W1O),t.qZA(),t.YNc(4,In,2,2,"div",3)),2&ne){const Te=t.MAs(3);t.xp6(1),t.Q6J("ngIf",B.customContent)("ngIfElse",Te),t.xp6(3),t.Q6J("ngIf",B.showState&&B.selected)}},dependencies:[P.O5,P.tP,ge.Ls,ze.w],encapsulation:2,changeDetection:0}),dt})(),Nt=(()=>{class dt{constructor(){this.nzLabel=null}}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(ne,B){1&ne&&t.YNc(0,Xe,2,1,"ng-container",0),2&ne&&t.Q6J("nzStringTemplateOutlet",B.nzLabel)},dependencies:[K.f],encapsulation:2,changeDetection:0}),dt})(),Tt=(()=>{class dt{constructor(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new t.vpe,this.scrollToBottom=new t.vpe,this.scrolledIndex=0}onItemClick(ne){this.itemClick.emit(ne)}onItemHover(ne){this.activatedValue=ne}trackValue(ne,B){return B.key}onScrolledIndexChange(ne){this.scrolledIndex=ne,ne===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const ne=this.listOfContainerItem.findIndex(B=>this.compareWith(B.key,this.activatedValue));(ne=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(ne||0)}ngOnChanges(ne){const{listOfContainerItem:B,activatedValue:Te}=ne;(B||Te)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-option-container"]],viewQuery:function(ne,B){if(1&ne&&t.Gf(U.N7,7),2&ne){let Te;t.iGM(Te=t.CRH())&&(B.cdkVirtualScrollViewport=Te.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[t.TTD],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(ne,B){1&ne&&(t.TgZ(0,"div"),t.YNc(1,Re,2,1,"div",0),t.TgZ(2,"cdk-virtual-scroll-viewport",1),t.NdJ("scrolledIndexChange",function(Ye){return B.onScrolledIndexChange(Ye)}),t.YNc(3,Yt,3,3,"ng-template",2),t.qZA(),t.YNc(4,qt,0,0,"ng-template",3),t.qZA()),2&ne&&(t.xp6(1),t.Q6J("ngIf",0===B.listOfContainerItem.length),t.xp6(1),t.Udp("height",B.listOfContainerItem.length*B.itemSize,"px")("max-height",B.itemSize*B.maxItemLength,"px"),t.ekj("full-width",!B.matchWidth),t.Q6J("itemSize",B.itemSize)("maxBufferPx",B.itemSize*B.maxItemLength)("minBufferPx",B.itemSize*B.maxItemLength),t.xp6(1),t.Q6J("cdkVirtualForOf",B.listOfContainerItem)("cdkVirtualForTrackBy",B.trackValue)("cdkVirtualForTemplateCacheSize",0),t.xp6(1),t.Q6J("ngTemplateOutlet",B.dropdownRender))},dependencies:[P.O5,P.tP,P.RF,P.n9,U.xd,U.x0,U.N7,S.gB,rt,Nt],encapsulation:2,changeDetection:0}),dt})(),mn=(()=>{class dt{constructor(ne,B){this.nzOptionGroupComponent=ne,this.destroy$=B,this.changes=new i.x,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe((0,L.O)(!0),(0,w.R)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}}return dt.\u0275fac=function(ne){return new(ne||dt)(t.Y36(Je,8),t.Y36(R.kn))},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-option"]],viewQuery:function(ne,B){if(1&ne&&t.Gf(t.Rgc,7),2&ne){let Te;t.iGM(Te=t.CRH())&&(B.template=Te.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[t._Bn([R.kn]),t.TTD],ngContentSelectors:nn,decls:1,vars:0,template:function(ne,B){1&ne&&(t.F$t(),t.YNc(0,vn,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzDisabled",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzHide",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzCustomContent",void 0),dt})(),Ze=(()=>{class dt{setCompositionState(ne){this.isComposingChange.next(ne)}onValueChange(ne){this.value=ne,this.valueChange.next(ne),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const ne=this.mirrorElement.nativeElement,B=this.elementRef.nativeElement,Te=this.inputElement.nativeElement;this.renderer.removeStyle(B,"width"),this.renderer.setProperty(ne,"textContent",`${Te.value}\xa0`),this.renderer.setStyle(B,"width",`${ne.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}constructor(ne,B,Te){this.elementRef=ne,this.renderer=B,this.focusMonitor=Te,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new t.vpe,this.isComposingChange=new t.vpe}ngOnChanges(ne){const B=this.inputElement.nativeElement,{focusTrigger:Te,showInput:Ye}=ne;Ye&&(this.showInput?this.renderer.removeAttribute(B,"readonly"):this.renderer.setAttribute(B,"readonly","readonly")),Te&&!0===Te.currentValue&&!1===Te.previousValue&&B.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return dt.\u0275fac=function(ne){return new(ne||dt)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(Q.tE))},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-select-search"]],viewQuery:function(ne,B){if(1&ne&&(t.Gf(Dn,7),t.Gf(Wt,5)),2&ne){let Te;t.iGM(Te=t.CRH())&&(B.inputElement=Te.first),t.iGM(Te=t.CRH())&&(B.mirrorElement=Te.first)}},hostAttrs:[1,"ant-select-selection-search"],inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[t._Bn([{provide:x.ve,useValue:!1}]),t.TTD],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(ne,B){1&ne&&(t.TgZ(0,"input",0,1),t.NdJ("ngModelChange",function(Ye){return B.onValueChange(Ye)})("compositionstart",function(){return B.setCompositionState(!0)})("compositionend",function(){return B.setCompositionState(!1)}),t.qZA(),t.YNc(2,It,2,0,"span",2)),2&ne&&(t.Udp("opacity",B.showInput?null:0),t.Q6J("ngModel",B.value)("disabled",B.disabled),t.uIk("id",B.nzId)("autofocus",B.autofocus?"autofocus":null),t.xp6(2),t.Q6J("ngIf",B.mirrorSync))},dependencies:[P.O5,x.Fj,x.JJ,x.On],encapsulation:2,changeDetection:0}),dt})(),ut=(()=>{class dt{constructor(){this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new t.vpe}onDelete(ne){ne.preventDefault(),ne.stopPropagation(),this.disabled||this.delete.next(ne)}}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(ne,B){2&ne&&(t.uIk("title",B.label),t.ekj("ant-select-selection-item-disabled",B.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(ne,B){1&ne&&(t.YNc(0,Pe,4,2,"ng-container",0),t.YNc(1,He,2,2,"span",1)),2&ne&&(t.Q6J("nzStringTemplateOutlet",B.contentTemplateOutlet)("nzStringTemplateOutletContext",t.VKq(3,we,B.contentTemplateOutletContext)),t.xp6(1),t.Q6J("ngIf",B.deletable&&!B.disabled))},dependencies:[P.O5,ge.Ls,K.f,ze.w],encapsulation:2,changeDetection:0}),dt})(),le=(()=>{class dt{constructor(){this.placeholder=null}}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(ne,B){1&ne&&t.YNc(0,te,2,1,"ng-container",0),2&ne&&t.Q6J("nzStringTemplateOutlet",B.placeholder)},dependencies:[K.f],encapsulation:2,changeDetection:0}),dt})(),ye=(()=>{class dt{updateTemplateVariable(){const ne=0===this.listOfTopItem.length;this.isShowPlaceholder=ne&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!ne&&!this.isComposing&&!this.inputValue}isComposingChange(ne){this.isComposing=ne,this.updateTemplateVariable()}onInputValueChange(ne){ne!==this.inputValue&&(this.inputValue=ne,this.updateTemplateVariable(),this.inputValueChange.emit(ne),this.tokenSeparate(ne,this.tokenSeparators))}tokenSeparate(ne,B){if(ne&&ne.length&&B.length&&"default"!==this.mode&&((yt,Kt)=>{for(let Zt=0;Zt0)return!0;return!1})(ne,B)){const yt=((yt,Kt)=>{const Zt=new RegExp(`[${Kt.join()}]`),On=yt.split(Zt).filter(zn=>zn);return[...new Set(On)]})(ne,B);this.tokenize.next(yt)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(ne,B){return B.nzValue}onDeleteItem(ne){!this.disabled&&!ne.nzDisabled&&this.deleteItem.next(ne)}constructor(ne,B,Te){this.elementRef=ne,this.ngZone=B,this.noAnimation=Te,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new t.vpe,this.inputValueChange=new t.vpe,this.deleteItem=new t.vpe,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new i.x}ngOnChanges(ne){const{listOfTopItem:B,maxTagCount:Te,customTemplate:Ye,maxTagPlaceholder:yt}=ne;if(B&&this.updateTemplateVariable(),B||Te||Ye||yt){const Kt=this.listOfTopItem.slice(0,this.maxTagCount).map(Zt=>({nzLabel:Zt.nzLabel,nzValue:Zt.nzValue,nzDisabled:Zt.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:Zt}));if(this.listOfTopItem.length>this.maxTagCount){const Zt=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,On=this.listOfTopItem.map(Wn=>Wn.nzValue),zn={nzLabel:Zt,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:On.slice(this.maxTagCount)};Kt.push(zn)}this.listOfSlicedItem=Kt}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,v.R)(this.elementRef.nativeElement,"click").pipe((0,w.R)(this.destroy$)).subscribe(ne=>{ne.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),(0,v.R)(this.elementRef.nativeElement,"keydown").pipe((0,w.R)(this.destroy$)).subscribe(ne=>{ne.target instanceof HTMLInputElement&&ne.keyCode===O.ZH&&"default"!==this.mode&&!ne.target.value&&this.listOfTopItem.length>0&&(ne.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))})})}ngOnDestroy(){this.destroy$.next()}}return dt.\u0275fac=function(ne){return new(ne||dt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(ae.P,9))},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-select-top-control"]],viewQuery:function(ne,B){if(1&ne&&t.Gf(Ze,5),2&ne){let Te;t.iGM(Te=t.CRH())&&(B.nzSelectSearchComponent=Te.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[t.TTD],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(ne,B){1&ne&&(t.ynx(0,0),t.YNc(1,De,3,8,"ng-container",1),t.YNc(2,vt,3,9,"ng-container",2),t.BQk(),t.YNc(3,rn,1,1,"nz-select-placeholder",3)),2&ne&&(t.Q6J("ngSwitch",B.mode),t.xp6(1),t.Q6J("ngSwitchCase","default"),t.xp6(2),t.Q6J("ngIf",B.isShowPlaceholder))},dependencies:[P.sg,P.O5,P.RF,P.n9,P.ED,ze.w,Ze,ut,le],encapsulation:2,changeDetection:0}),dt})(),mt=(()=>{class dt{constructor(){this.clearIcon=null,this.clear=new t.vpe}onClick(ne){ne.preventDefault(),ne.stopPropagation(),this.clear.emit(ne)}}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(ne,B){1&ne&&t.NdJ("click",function(Ye){return B.onClick(Ye)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(ne,B){1&ne&&t.YNc(0,_n,1,0,"span",0),2&ne&&t.Q6J("ngIf",!B.clearIcon)("ngIfElse",B.clearIcon)},dependencies:[P.O5,ge.Ls,ze.w],encapsulation:2,changeDetection:0}),dt})(),Ae=(()=>{class dt{constructor(){this.loading=!1,this.search=!1,this.showArrow=!1,this.suffixIcon=null,this.feedbackIcon=null}}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(ne,B){2&ne&&t.ekj("ant-select-arrow-loading",B.loading)},inputs:{loading:"loading",search:"search",showArrow:"showArrow",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon"},decls:4,vars:3,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(ne,B){if(1&ne&&(t.YNc(0,st,1,0,"span",0),t.YNc(1,Ke,3,2,"ng-template",null,1,t.W1O),t.YNc(3,J,2,1,"ng-container",2)),2&ne){const Te=t.MAs(2);t.Q6J("ngIf",B.loading)("ngIfElse",Te),t.xp6(3),t.Q6J("nzStringTemplateOutlet",B.feedbackIcon)}},dependencies:[P.O5,ge.Ls,K.f,ze.w],encapsulation:2,changeDetection:0}),dt})();const at=(dt,ft)=>!(!ft||!ft.nzLabel)&&ft.nzLabel.toString().toLowerCase().indexOf(dt.toLowerCase())>-1;let ln=(()=>{class dt{set nzShowArrow(ne){this._nzShowArrow=ne}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(ne){return{nzValue:ne,nzLabel:ne,type:"item"}}onItemClick(ne){if(this.activatedValue=ne,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],ne))&&this.updateListOfValue([ne]),this.setOpenState(!1);else{const B=this.listOfValue.findIndex(Te=>this.compareWith(Te,ne));if(-1!==B){const Te=this.listOfValue.filter((Ye,yt)=>yt!==B);this.updateListOfValue(Te)}else if(this.listOfValue.length!this.compareWith(Te,ne.nzValue));this.updateListOfValue(B),this.clearInput()}updateListOfContainerItem(){let ne=this.listOfTagAndTemplateItem.filter(Ye=>!Ye.nzHide).filter(Ye=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,Ye));if("tags"===this.nzMode&&this.searchValue){const Ye=this.listOfTagAndTemplateItem.find(yt=>yt.nzLabel===this.searchValue);if(Ye)this.activatedValue=Ye.nzValue;else{const yt=this.generateTagItem(this.searchValue);ne=[yt,...ne],this.activatedValue=yt.nzValue}}const B=ne.find(Ye=>Ye.nzLabel===this.searchValue)||ne.find(Ye=>this.compareWith(Ye.nzValue,this.activatedValue))||ne.find(Ye=>this.compareWith(Ye.nzValue,this.listOfValue[0]))||ne[0];this.activatedValue=B&&B.nzValue||null;let Te=[];this.isReactiveDriven?Te=[...new Set(this.nzOptions.filter(Ye=>Ye.groupLabel).map(Ye=>Ye.groupLabel))]:this.listOfNzOptionGroupComponent&&(Te=this.listOfNzOptionGroupComponent.map(Ye=>Ye.nzLabel)),Te.forEach(Ye=>{const yt=ne.findIndex(Kt=>Ye===Kt.groupLabel);yt>-1&&ne.splice(yt,0,{groupLabel:Ye,type:"group",key:Ye})}),this.listOfContainerItem=[...ne],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(ne){const Te=((Ye,yt)=>"default"===this.nzMode?Ye.length>0?Ye[0]:null:Ye)(ne);this.value!==Te&&(this.listOfValue=ne,this.listOfValue$.next(ne),this.value=Te,this.onChange(this.value))}onTokenSeparate(ne){const B=this.listOfTagAndTemplateItem.filter(Te=>-1!==ne.findIndex(Ye=>Ye===Te.nzLabel)).map(Te=>Te.nzValue).filter(Te=>-1===this.listOfValue.findIndex(Ye=>this.compareWith(Ye,Te)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...B]);else if("tags"===this.nzMode){const Te=ne.filter(Ye=>-1===this.listOfTagAndTemplateItem.findIndex(yt=>yt.nzLabel===Ye));this.updateListOfValue([...this.listOfValue,...B,...Te])}this.clearInput()}onKeyDown(ne){if(this.nzDisabled)return;const B=this.listOfContainerItem.filter(Ye=>"item"===Ye.type).filter(Ye=>!Ye.nzDisabled),Te=B.findIndex(Ye=>this.compareWith(Ye.nzValue,this.activatedValue));switch(ne.keyCode){case O.LH:ne.preventDefault(),this.nzOpen&&B.length>0&&(this.activatedValue=B[Te>0?Te-1:B.length-1].nzValue);break;case O.JH:ne.preventDefault(),this.nzOpen&&B.length>0?this.activatedValue=B[Te{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,ne!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){(0,ve.e)(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}constructor(ne,B,Te,Ye,yt,Kt,Zt,On,zn,Wn,bo,To){this.ngZone=ne,this.destroy$=B,this.nzConfigService=Te,this.cdr=Ye,this.host=yt,this.renderer=Kt,this.platform=Zt,this.focusMonitor=On,this.directionality=zn,this.noAnimation=Wn,this.nzFormStatusService=bo,this.nzFormNoStatusService=To,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzStatus="",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzPlacement=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=at,this.compareWith=($o,Ko)=>$o===Ko,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzSelectOnTab=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new t.vpe,this.nzScrollToBottom=new t.vpe,this.nzOpenChange=new t.vpe,this.nzBlur=new t.vpe,this.nzFocus=new t.vpe,this.listOfValue$=new d.X([]),this.listOfTemplateItem$=new d.X([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottomLeft",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.positions=[],this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1}writeValue(ne){if(this.value!==ne){this.value=ne;const Te=((Ye,yt)=>null==Ye?[]:"default"===this.nzMode?[Ye]:Ye)(ne);this.listOfValue=Te,this.listOfValue$.next(Te),this.cdr.markForCheck()}}registerOnChange(ne){this.onChange=ne}registerOnTouched(ne){this.onTouched=ne}setDisabledState(ne){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||ne,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(ne){const{nzOpen:B,nzDisabled:Te,nzOptions:Ye,nzStatus:yt,nzPlacement:Kt}=ne;if(B&&this.onOpenChange(),Te&&this.nzDisabled&&this.setOpenState(!1),Ye){this.isReactiveDriven=!0;const On=(this.nzOptions||[]).map(zn=>({template:zn.label instanceof t.Rgc?zn.label:null,nzLabel:"string"==typeof zn.label||"number"==typeof zn.label?zn.label:null,nzValue:zn.value,nzDisabled:zn.disabled||!1,nzHide:zn.hide||!1,nzCustomContent:zn.label instanceof t.Rgc,groupLabel:zn.groupLabel||null,type:"item",key:zn.value}));this.listOfTemplateItem$.next(On)}if(yt&&this.setStatusStyles(this.nzStatus,this.hasFeedback),Kt){const{currentValue:Zt}=Kt;this.dropDownPosition=Zt;const On=["bottomLeft","topLeft","bottomRight","topRight"];this.positions=Zt&&On.includes(Zt)?[W.yW[Zt]]:On.map(zn=>W.yW[zn])}}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,Y.x)((ne,B)=>ne.status===B.status&&ne.hasFeedback===B.hasFeedback),(0,M.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,s.of)(!1)),(0,e.U)(([{status:ne,hasFeedback:B},Te])=>({status:Te?"":ne,hasFeedback:B})),(0,w.R)(this.destroy$)).subscribe(({status:ne,hasFeedback:B})=>{this.setStatusStyles(ne,B)}),this.focusMonitor.monitor(this.host,!0).pipe((0,w.R)(this.destroy$)).subscribe(ne=>{ne?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),(0,k.a)([this.listOfValue$,this.listOfTemplateItem$]).pipe((0,w.R)(this.destroy$)).subscribe(([ne,B])=>{const Te=ne.filter(()=>"tags"===this.nzMode).filter(Ye=>-1===B.findIndex(yt=>this.compareWith(yt.nzValue,Ye))).map(Ye=>this.listOfTopItem.find(yt=>this.compareWith(yt.nzValue,Ye))||this.generateTagItem(Ye));this.listOfTagAndTemplateItem=[...B,...Te],this.listOfTopItem=this.listOfValue.map(Ye=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(yt=>this.compareWith(Ye,yt.nzValue))).filter(Ye=>!!Ye),this.updateListOfContainerItem()}),this.directionality.change?.pipe((0,w.R)(this.destroy$)).subscribe(ne=>{this.dir=ne,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe((0,w.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>(0,v.R)(this.host.nativeElement,"click").pipe((0,w.R)(this.destroy$)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))})),this.cdkConnectedOverlay.overlayKeydown.pipe((0,w.R)(this.destroy$)).subscribe(ne=>{ne.keyCode===O.hY&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||(0,G.T)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe((0,L.O)(!0),(0,F.w)(()=>(0,G.T)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(ne=>ne.changes),...this.listOfNzOptionGroupComponent.map(ne=>ne.changes)).pipe((0,L.O)(!0))),(0,w.R)(this.destroy$)).subscribe(()=>{const ne=this.listOfNzOptionComponent.toArray().map(B=>{const{template:Te,nzLabel:Ye,nzValue:yt,nzDisabled:Kt,nzHide:Zt,nzCustomContent:On,groupLabel:zn}=B;return{template:Te,nzLabel:Ye,nzValue:yt,nzDisabled:Kt,nzHide:Zt,nzCustomContent:On,groupLabel:zn,type:"item",key:yt}});this.listOfTemplateItem$.next(ne),this.cdr.markForCheck()})}ngOnDestroy(){(0,ve.h)(this.requestId),this.focusMonitor.stopMonitoring(this.host)}setStatusStyles(ne,B){this.status=ne,this.hasFeedback=B,this.cdr.markForCheck(),this.statusCls=(0,V.Zu)(this.prefixCls,ne,B),Object.keys(this.statusCls).forEach(Te=>{this.statusCls[Te]?this.renderer.addClass(this.host.nativeElement,Te):this.renderer.removeClass(this.host.nativeElement,Te)})}}return dt.\u0275fac=function(ne){return new(ne||dt)(t.Y36(t.R0b),t.Y36(R.kn),t.Y36(de.jY),t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(fe.t4),t.Y36(Q.tE),t.Y36(be.Is,8),t.Y36(ae.P,9),t.Y36(Ft.kH,8),t.Y36(Ft.yW,8))},dt.\u0275cmp=t.Xpm({type:dt,selectors:[["nz-select"]],contentQueries:function(ne,B,Te){if(1&ne&&(t.Suo(Te,mn,5),t.Suo(Te,Je,5)),2&ne){let Ye;t.iGM(Ye=t.CRH())&&(B.listOfNzOptionComponent=Ye),t.iGM(Ye=t.CRH())&&(B.listOfNzOptionGroupComponent=Ye)}},viewQuery:function(ne,B){if(1&ne&&(t.Gf(A.xu,7,t.SBq),t.Gf(A.pI,7),t.Gf(ye,7),t.Gf(Je,7,t.SBq),t.Gf(ye,7,t.SBq)),2&ne){let Te;t.iGM(Te=t.CRH())&&(B.originElement=Te.first),t.iGM(Te=t.CRH())&&(B.cdkConnectedOverlay=Te.first),t.iGM(Te=t.CRH())&&(B.nzSelectTopControlComponent=Te.first),t.iGM(Te=t.CRH())&&(B.nzOptionGroupComponentElement=Te.first),t.iGM(Te=t.CRH())&&(B.nzSelectTopControlComponentElement=Te.first)}},hostAttrs:[1,"ant-select"],hostVars:26,hostBindings:function(ne,B){2&ne&&t.ekj("ant-select-in-form-item",!!B.nzFormStatusService)("ant-select-lg","large"===B.nzSize)("ant-select-sm","small"===B.nzSize)("ant-select-show-arrow",B.nzShowArrow)("ant-select-disabled",B.nzDisabled)("ant-select-show-search",(B.nzShowSearch||"default"!==B.nzMode)&&!B.nzDisabled)("ant-select-allow-clear",B.nzAllowClear)("ant-select-borderless",B.nzBorderless)("ant-select-open",B.nzOpen)("ant-select-focused",B.nzOpen||B.focused)("ant-select-single","default"===B.nzMode)("ant-select-multiple","default"!==B.nzMode)("ant-select-rtl","rtl"===B.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzSelectOnTab:"nzSelectOnTab",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[t._Bn([R.kn,{provide:x.JU,useExisting:(0,t.Gpc)(()=>dt),multi:!0}]),t.TTD],decls:5,vars:25,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","overlayOutsideClick","detach","positionChange"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(ne,B){if(1&ne&&(t.TgZ(0,"nz-select-top-control",0,1),t.NdJ("inputValueChange",function(Ye){return B.onInputValueChange(Ye)})("tokenize",function(Ye){return B.onTokenSeparate(Ye)})("deleteItem",function(Ye){return B.onItemDelete(Ye)})("keydown",function(Ye){return B.onKeyDown(Ye)}),t.qZA(),t.YNc(2,Me,3,5,"nz-select-arrow",2),t.YNc(3,_t,1,1,"nz-select-clear",3),t.YNc(4,tt,1,23,"ng-template",4),t.NdJ("overlayOutsideClick",function(Ye){return B.onClickOutside(Ye)})("detach",function(){return B.setOpenState(!1)})("positionChange",function(Ye){return B.onPositionChange(Ye)})),2&ne){const Te=t.MAs(1);t.Q6J("nzId",B.nzId)("open",B.nzOpen)("disabled",B.nzDisabled)("mode",B.nzMode)("@.disabled",!(null==B.noAnimation||!B.noAnimation.nzNoAnimation))("nzNoAnimation",null==B.noAnimation?null:B.noAnimation.nzNoAnimation)("maxTagPlaceholder",B.nzMaxTagPlaceholder)("removeIcon",B.nzRemoveIcon)("placeHolder",B.nzPlaceHolder)("maxTagCount",B.nzMaxTagCount)("customTemplate",B.nzCustomTemplate)("tokenSeparators",B.nzTokenSeparators)("showSearch",B.nzShowSearch)("autofocus",B.nzAutoFocus)("listOfTopItem",B.listOfTopItem),t.xp6(2),t.Q6J("ngIf",B.nzShowArrow||B.hasFeedback&&!!B.status),t.xp6(1),t.Q6J("ngIf",B.nzAllowClear&&!B.nzDisabled&&B.listOfValue.length),t.xp6(1),t.Q6J("cdkConnectedOverlayHasBackdrop",B.nzBackdrop)("cdkConnectedOverlayMinWidth",B.nzDropdownMatchSelectWidth?null:B.triggerWidth)("cdkConnectedOverlayWidth",B.nzDropdownMatchSelectWidth?B.triggerWidth:null)("cdkConnectedOverlayOrigin",Te)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",B.nzDropdownClassName)("cdkConnectedOverlayOpen",B.nzOpen)("cdkConnectedOverlayPositions",B.positions)}},dependencies:[P.O5,P.PC,A.pI,A.xu,W.hQ,ae.P,ze.w,Ft.w_,Tt,ye,mt,Ae],encapsulation:2,data:{animation:[pe.mF]},changeDetection:0}),(0,N.gn)([(0,de.oS)()],dt.prototype,"nzSuffixIcon",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzAllowClear",void 0),(0,N.gn)([(0,de.oS)(),(0,V.yF)()],dt.prototype,"nzBorderless",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzShowSearch",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzLoading",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzAutoFocus",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzAutoClearSearchValue",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzServerSearch",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzDisabled",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzOpen",void 0),(0,N.gn)([(0,V.yF)()],dt.prototype,"nzSelectOnTab",void 0),(0,N.gn)([(0,de.oS)(),(0,V.yF)()],dt.prototype,"nzBackdrop",void 0),dt})(),At=(()=>{class dt{}return dt.\u0275fac=function(ne){return new(ne||dt)},dt.\u0275mod=t.oAB({type:dt}),dt.\u0275inj=t.cJS({imports:[be.vT,P.ez,Dt.YI,x.u5,fe.ud,A.U8,ge.PV,K.T,S.Xo,W.e4,ae.g,ze.a,Ft.mJ,U.Cl,Q.rt]}),dt})()},2574:(xt,Se,a)=>{a.d(Se,{$1:()=>M,NU:()=>R,zf:()=>ge});var t=a(9388),i=a(6814),v=a(5879),d=a(655),s=a(8645),k=a(9773),G=a(874),U=a(7754);function P(ze,K){}const S=function(ze){return{$implicit:ze}};function w(ze,K){if(1&ze&&(v.TgZ(0,"span",4),v.YNc(1,P,0,0,"ng-template",5),v.qZA()),2&ze){const N=v.oxw(),V=N.last,O=N.index,A=v.oxw();v.Udp("margin-bottom","vertical"===A.nzDirection?V?null:A.spaceSize:null,"px")("margin-right","horizontal"===A.nzDirection?V?null:A.spaceSize:null,"px"),v.xp6(1),v.Q6J("ngTemplateOutlet",A.nzSplit)("ngTemplateOutletContext",v.VKq(6,S,O))}}function L(ze,K){if(1&ze&&(v.TgZ(0,"div",1),v.GkF(1,2),v.qZA(),v.YNc(2,w,2,8,"span",3)),2&ze){const N=K.$implicit,V=K.last,O=v.oxw();v.Udp("margin-bottom","vertical"===O.nzDirection?V?null:O.spaceSize:null,"px")("margin-right","horizontal"===O.nzDirection?V?null:O.spaceSize:null,"px"),v.xp6(1),v.Q6J("ngTemplateOutlet",N),v.xp6(1),v.Q6J("ngIf",O.nzSplit&&!V)}}const Y=["*"];let M=(()=>{class ze{constructor(){}}return ze.\u0275fac=function(N){return new(N||ze)},ze.\u0275dir=v.lG2({type:ze,selectors:[["","nzSpaceItem",""]]}),ze})();const F={small:8,middle:16,large:24};let R=(()=>{class ze{constructor(N,V){this.nzConfigService=N,this.cdr=V,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=F.small,this.destroy$=new s.x}updateSpaceItems(){this.spaceSize=("string"==typeof this.nzSize?F[this.nzSize]:this.nzSize)/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe((0,k.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}}return ze.\u0275fac=function(N){return new(N||ze)(v.Y36(G.jY),v.Y36(v.sBO))},ze.\u0275cmp=v.Xpm({type:ze,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(N,V,O){if(1&N&&v.Suo(O,M,4,v.Rgc),2&N){let A;v.iGM(A=v.CRH())&&(V.items=A)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(N,V){2&N&&(v.Udp("flex-wrap",V.nzWrap?"wrap":null),v.ekj("ant-space-horizontal","horizontal"===V.nzDirection)("ant-space-vertical","vertical"===V.nzDirection)("ant-space-align-start","start"===V.mergedAlign)("ant-space-align-end","end"===V.mergedAlign)("ant-space-align-center","center"===V.mergedAlign)("ant-space-align-baseline","baseline"===V.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize"},exportAs:["NzSpace"],features:[v.TTD],ngContentSelectors:Y,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],[1,"ant-space-item"],[3,"ngTemplateOutlet"],["class","ant-space-split",3,"margin-bottom","margin-right",4,"ngIf"],[1,"ant-space-split"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(N,V){1&N&&(v.F$t(),v.Hsn(0),v.YNc(1,L,3,6,"ng-template",0)),2&N&&(v.xp6(1),v.Q6J("ngForOf",V.items))},dependencies:[i.sg,i.O5,i.tP],encapsulation:2,changeDetection:0}),(0,d.gn)([(0,U.yF)()],ze.prototype,"nzWrap",void 0),(0,d.gn)([(0,G.oS)()],ze.prototype,"nzSize",void 0),ze})(),ge=(()=>{class ze{}return ze.\u0275fac=function(N){return new(N||ze)},ze.\u0275mod=v.oAB({type:ze}),ze.\u0275inj=v.cJS({imports:[t.vT,i.ez]}),ze})()},2669:(xt,Se,a)=>{a.d(Se,{W:()=>W,j:()=>ve});var t=a(655),i=a(5879),v=a(8645),d=a(5619),s=a(7328),k=a(4825),G=a(7921),U=a(3997),P=a(4664),S=a(9360),w=a(2420),L=a(8251),Y=a(4829),e=a(9773),F=a(874),R=a(7754),ge=a(9388),ze=a(6814),K=a(7131);function N(Q,ae){1&Q&&(i.TgZ(0,"span",3),i._UZ(1,"i",4)(2,"i",4)(3,"i",4)(4,"i",4),i.qZA())}function V(Q,ae){}function O(Q,ae){if(1&Q&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&Q){const fe=i.oxw(2);i.xp6(1),i.Oqu(fe.nzTip)}}function A(Q,ae){if(1&Q&&(i.TgZ(0,"div")(1,"div",5),i.YNc(2,V,0,0,"ng-template",6),i.YNc(3,O,2,1,"div",7),i.qZA()()),2&Q){const fe=i.oxw(),be=i.MAs(1);i.xp6(1),i.ekj("ant-spin-rtl","rtl"===fe.dir)("ant-spin-spinning",fe.isLoading)("ant-spin-lg","large"===fe.nzSize)("ant-spin-sm","small"===fe.nzSize)("ant-spin-show-text",fe.nzTip),i.xp6(1),i.Q6J("ngTemplateOutlet",fe.nzIndicator||be),i.xp6(1),i.Q6J("ngIf",fe.nzTip)}}function x(Q,ae){if(1&Q&&(i.TgZ(0,"div",9),i.Hsn(1),i.qZA()),2&Q){const fe=i.oxw();i.ekj("ant-spin-blur",fe.isLoading)}}const pe=["*"];let W=(()=>{class Q{constructor(fe,be,Ft){this.nzConfigService=fe,this.cdr=be,this.directionality=Ft,this._nzModuleName="spin",this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new v.x,this.spinning$=new d.X(this.nzSpinning),this.delay$=new s.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe((0,G.O)(this.nzDelay),(0,U.x)(),(0,P.w)(be=>0===be?this.spinning$:this.spinning$.pipe(function M(Q){return(0,S.e)((ae,fe)=>{let be=!1,Ft=null,Dt=null;const nn=()=>{if(Dt?.unsubscribe(),Dt=null,be){be=!1;const Et=Ft;Ft=null,fe.next(Et)}};ae.subscribe((0,L.x)(fe,Et=>{Dt?.unsubscribe(),be=!0,Ft=Et,Dt=(0,L.x)(fe,nn,w.Z),(0,Y.Xf)(Q(Et)).subscribe(Dt)},()=>{nn(),fe.complete()},void 0,()=>{Ft=Dt=null}))})}(Ft=>(0,k.H)(Ft?be:0)))),(0,e.R)(this.destroy$)).subscribe(be=>{this.isLoading=be,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent("spin").pipe((0,e.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe((0,e.R)(this.destroy$)).subscribe(be=>{this.dir=be,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(fe){const{nzSpinning:be,nzDelay:Ft}=fe;be&&this.spinning$.next(this.nzSpinning),Ft&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Q.\u0275fac=function(fe){return new(fe||Q)(i.Y36(F.jY),i.Y36(i.sBO),i.Y36(ge.Is,8))},Q.\u0275cmp=i.Xpm({type:Q,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(fe,be){2&fe&&i.ekj("ant-spin-nested-loading",!be.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[i.TTD],ngContentSelectors:pe,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(fe,be){1&fe&&(i.F$t(),i.YNc(0,N,5,0,"ng-template",null,0,i.W1O),i.YNc(2,A,4,12,"div",1),i.YNc(3,x,2,2,"div",2)),2&fe&&(i.xp6(2),i.Q6J("ngIf",be.isLoading),i.xp6(1),i.Q6J("ngIf",!be.nzSimple))},dependencies:[ze.O5,ze.tP],encapsulation:2}),(0,t.gn)([(0,F.oS)()],Q.prototype,"nzIndicator",void 0),(0,t.gn)([(0,R.Rn)()],Q.prototype,"nzDelay",void 0),(0,t.gn)([(0,R.yF)()],Q.prototype,"nzSimple",void 0),(0,t.gn)([(0,R.yF)()],Q.prototype,"nzSpinning",void 0),Q})(),ve=(()=>{class Q{}return Q.\u0275fac=function(fe){return new(fe||Q)},Q.\u0275mod=i.oAB({type:Q}),Q.\u0275inj=i.cJS({imports:[ge.vT,ze.ez,K.Q8]}),Q})()},3740:(xt,Se,a)=>{a.d(Se,{UX:()=>Oo,qn:()=>dn,Ql:()=>en,Uo:()=>Gn,N8:()=>mi,HQ:()=>pi,zu:()=>Fo,p0:()=>vi,h7:()=>Ln,qD:()=>ho,_C:()=>eo,g6:()=>co,Om:()=>Fi,$Z:()=>Ji});var t=a(9388),i=a(2831),v=a(532),d=a(6814),s=a(5879),k=a(6223),G=a(2840),U=a(8802),P=a(2612),S=a(8324),w=a(2787),L=a(804),Y=a(1752),M=a(551),e=a(3460),F=a(655),R=a(8645),ge=a(7328),ze=a(9773),K=a(874),N=a(9087),V=a(7754),O=a(9691);const A=["nz-pagination-item",""];function x(Le,Rt){if(1&Le&&(s.TgZ(0,"a"),s._uU(1),s.qZA()),2&Le){const Z=s.oxw().page;s.xp6(1),s.Oqu(Z)}}function pe(Le,Rt){1&Le&&s._UZ(0,"span",9)}function de(Le,Rt){1&Le&&s._UZ(0,"span",10)}function W(Le,Rt){if(1&Le&&(s.TgZ(0,"button",6),s.ynx(1,2),s.YNc(2,pe,1,0,"span",7),s.YNc(3,de,1,0,"span",8),s.BQk(),s.qZA()),2&Le){const Z=s.oxw(2);s.Q6J("disabled",Z.disabled),s.xp6(1),s.Q6J("ngSwitch",Z.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function ve(Le,Rt){1&Le&&s._UZ(0,"span",10)}function Q(Le,Rt){1&Le&&s._UZ(0,"span",9)}function ae(Le,Rt){if(1&Le&&(s.TgZ(0,"button",6),s.ynx(1,2),s.YNc(2,ve,1,0,"span",11),s.YNc(3,Q,1,0,"span",12),s.BQk(),s.qZA()),2&Le){const Z=s.oxw(2);s.Q6J("disabled",Z.disabled),s.xp6(1),s.Q6J("ngSwitch",Z.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function fe(Le,Rt){1&Le&&s._UZ(0,"span",20)}function be(Le,Rt){1&Le&&s._UZ(0,"span",21)}function Ft(Le,Rt){if(1&Le&&(s.ynx(0,2),s.YNc(1,fe,1,0,"span",18),s.YNc(2,be,1,0,"span",19),s.BQk()),2&Le){const Z=s.oxw(4);s.Q6J("ngSwitch",Z.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function Dt(Le,Rt){1&Le&&s._UZ(0,"span",21)}function nn(Le,Rt){1&Le&&s._UZ(0,"span",20)}function Et(Le,Rt){if(1&Le&&(s.ynx(0,2),s.YNc(1,Dt,1,0,"span",22),s.YNc(2,nn,1,0,"span",23),s.BQk()),2&Le){const Z=s.oxw(4);s.Q6J("ngSwitch",Z.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function Ht(Le,Rt){if(1&Le&&(s.TgZ(0,"div",15),s.ynx(1,2),s.YNc(2,Ft,3,2,"ng-container",16),s.YNc(3,Et,3,2,"ng-container",16),s.BQk(),s.TgZ(4,"span",17),s._uU(5,"\u2022\u2022\u2022"),s.qZA()()),2&Le){const Z=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngSwitch",Z),s.xp6(1),s.Q6J("ngSwitchCase","prev_5"),s.xp6(1),s.Q6J("ngSwitchCase","next_5")}}function tn(Le,Rt){if(1&Le&&(s.ynx(0),s.TgZ(1,"a",13),s.YNc(2,Ht,6,3,"div",14),s.qZA(),s.BQk()),2&Le){const Z=s.oxw().$implicit;s.xp6(1),s.Q6J("ngSwitch",Z)}}function un(Le,Rt){1&Le&&(s.ynx(0,2),s.YNc(1,x,2,1,"a",3),s.YNc(2,W,4,3,"button",4),s.YNc(3,ae,4,3,"button",4),s.YNc(4,tn,3,1,"ng-container",5),s.BQk()),2&Le&&(s.Q6J("ngSwitch",Rt.$implicit),s.xp6(1),s.Q6J("ngSwitchCase","page"),s.xp6(1),s.Q6J("ngSwitchCase","prev"),s.xp6(1),s.Q6J("ngSwitchCase","next"))}function In(Le,Rt){}const Xe=function(Le,Rt){return{$implicit:Le,page:Rt}},Re=["containerTemplate"];function Ct(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"ul")(1,"li",1),s.NdJ("click",function(){s.CHM(Z);const $t=s.oxw();return s.KtG($t.prePage())}),s.qZA(),s.TgZ(2,"li",2)(3,"input",3),s.NdJ("keydown.enter",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.jumpToPageViaInput($t))}),s.qZA(),s.TgZ(4,"span",4),s._uU(5,"/"),s.qZA(),s._uU(6),s.qZA(),s.TgZ(7,"li",5),s.NdJ("click",function(){s.CHM(Z);const $t=s.oxw();return s.KtG($t.nextPage())}),s.qZA()()}if(2&Le){const Z=s.oxw();s.xp6(1),s.Q6J("disabled",Z.isFirstIndex)("direction",Z.dir)("itemRender",Z.itemRender),s.uIk("title",Z.locale.prev_page),s.xp6(1),s.uIk("title",Z.pageIndex+"/"+Z.lastIndex),s.xp6(1),s.Q6J("disabled",Z.disabled)("value",Z.pageIndex),s.xp6(3),s.hij(" ",Z.lastIndex," "),s.xp6(1),s.Q6J("disabled",Z.isLastIndex)("direction",Z.dir)("itemRender",Z.itemRender),s.uIk("title",null==Z.locale?null:Z.locale.next_page)}}const je=["nz-pagination-options",""];function Yt(Le,Rt){if(1&Le&&s._UZ(0,"nz-option",4),2&Le){const Z=Rt.$implicit;s.Q6J("nzLabel",Z.label)("nzValue",Z.value)}}function qt(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"nz-select",2),s.NdJ("ngModelChange",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.onPageSizeChange($t))}),s.YNc(1,Yt,1,2,"nz-option",3),s.qZA()}if(2&Le){const Z=s.oxw();s.Q6J("nzDisabled",Z.disabled)("nzSize",Z.nzSize)("ngModel",Z.pageSize),s.xp6(1),s.Q6J("ngForOf",Z.listOfPageSizeOption)("ngForTrackBy",Z.trackByOption)}}function vn(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"div",5),s._uU(1),s.TgZ(2,"input",6),s.NdJ("keydown.enter",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.jumpToPageViaInput($t))}),s.qZA(),s._uU(3),s.qZA()}if(2&Le){const Z=s.oxw();s.xp6(1),s.hij(" ",Z.locale.jump_to," "),s.xp6(1),s.Q6J("disabled",Z.disabled),s.xp6(1),s.hij(" ",Z.locale.page," ")}}function Dn(Le,Rt){}const Wt=function(Le,Rt){return{$implicit:Le,range:Rt}};function It(Le,Rt){if(1&Le&&(s.TgZ(0,"li",4),s.YNc(1,Dn,0,0,"ng-template",5),s.qZA()),2&Le){const Z=s.oxw(2);s.xp6(1),s.Q6J("ngTemplateOutlet",Z.showTotal)("ngTemplateOutletContext",s.WLB(2,Wt,Z.total,Z.ranges))}}function $e(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"li",6),s.NdJ("gotoIndex",function($t){s.CHM(Z);const sn=s.oxw(2);return s.KtG(sn.jumpPage($t))})("diffIndex",function($t){s.CHM(Z);const sn=s.oxw(2);return s.KtG(sn.jumpDiff($t))}),s.qZA()}if(2&Le){const Z=Rt.$implicit,ke=s.oxw(2);s.Q6J("locale",ke.locale)("type",Z.type)("index",Z.index)("disabled",!!Z.disabled)("itemRender",ke.itemRender)("active",ke.pageIndex===Z.index)("direction",ke.dir)}}function Ve(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"li",7),s.NdJ("pageIndexChange",function($t){s.CHM(Z);const sn=s.oxw(2);return s.KtG(sn.onPageIndexChange($t))})("pageSizeChange",function($t){s.CHM(Z);const sn=s.oxw(2);return s.KtG(sn.onPageSizeChange($t))}),s.qZA()}if(2&Le){const Z=s.oxw(2);s.Q6J("total",Z.total)("locale",Z.locale)("disabled",Z.disabled)("nzSize",Z.nzSize)("showSizeChanger",Z.showSizeChanger)("showQuickJumper",Z.showQuickJumper)("pageIndex",Z.pageIndex)("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)}}function Pe(Le,Rt){if(1&Le&&(s.TgZ(0,"ul"),s.YNc(1,It,2,5,"li",1),s.YNc(2,$e,1,7,"li",2),s.YNc(3,Ve,1,9,"li",3),s.qZA()),2&Le){const Z=s.oxw();s.xp6(1),s.Q6J("ngIf",Z.showTotal),s.xp6(1),s.Q6J("ngForOf",Z.listOfPageItem)("ngForTrackBy",Z.trackByPageItem),s.xp6(1),s.Q6J("ngIf",Z.showQuickJumper||Z.showSizeChanger)}}function We(Le,Rt){}function He(Le,Rt){if(1&Le&&(s.ynx(0),s.YNc(1,We,0,0,"ng-template",6),s.BQk()),2&Le){s.oxw(2);const Z=s.MAs(2);s.xp6(1),s.Q6J("ngTemplateOutlet",Z.template)}}function we(Le,Rt){if(1&Le&&(s.ynx(0),s.YNc(1,He,2,1,"ng-container",5),s.BQk()),2&Le){const Z=s.oxw(),ke=s.MAs(4);s.xp6(1),s.Q6J("ngIf",Z.nzSimple)("ngIfElse",ke.template)}}let te=(()=>{class Le{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new s.vpe,this.gotoIndex=new s.vpe,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(Z){const{locale:ke,index:$t,type:sn}=Z;(ke||$t||sn)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type])}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(Z,ke){1&Z&&s.NdJ("click",function(){return ke.clickItem()}),2&Z&&(s.uIk("title",ke.title),s.ekj("ant-pagination-prev","prev"===ke.type)("ant-pagination-next","next"===ke.type)("ant-pagination-item","page"===ke.type)("ant-pagination-jump-prev","prev_5"===ke.type)("ant-pagination-jump-prev-custom-icon","prev_5"===ke.type)("ant-pagination-jump-next","next_5"===ke.type)("ant-pagination-jump-next-custom-icon","next_5"===ke.type)("ant-pagination-disabled",ke.disabled)("ant-pagination-item-active",ke.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[s.TTD],attrs:A,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["type","button",1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(Z,ke){if(1&Z&&(s.YNc(0,un,5,4,"ng-template",null,0,s.W1O),s.YNc(2,In,0,0,"ng-template",1)),2&Z){const $t=s.MAs(1);s.xp6(2),s.Q6J("ngTemplateOutlet",ke.itemRender||$t)("ngTemplateOutletContext",s.WLB(2,Xe,ke.type,ke.index))}},dependencies:[d.tP,d.RF,d.n9,d.ED,M.Ls],encapsulation:2,changeDetection:0}),Le})(),ce=(()=>{class Le{constructor(Z,ke,$t,sn){this.cdr=Z,this.renderer=ke,this.elementRef=$t,this.directionality=sn,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new s.vpe,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new R.x,ke.removeChild(ke.parentNode($t.nativeElement),$t.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{this.dir=Z,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(Z){const ke=Z.target,$t=(0,V.He)(ke.value,this.pageIndex);this.onPageIndexChange($t),ke.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(Z){this.pageIndexChange.next(Z)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(Z){const{pageIndex:ke,total:$t,pageSize:sn}=Z;(ke||$t||sn)&&this.updateBindingValue()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(t.Is,8))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-pagination-simple"]],viewQuery:function(Z,ke){if(1&Z&&s.Gf(Re,7),2&Z){let $t;s.iGM($t=s.CRH())&&(ke.template=$t.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[s.TTD],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(Z,ke){1&Z&&s.YNc(0,Ct,8,12,"ng-template",null,0,s.W1O)},dependencies:[te],encapsulation:2,changeDetection:0}),Le})(),De=(()=>{class Le{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new s.vpe,this.pageSizeChange=new s.vpe,this.listOfPageSizeOption=[]}onPageSizeChange(Z){this.pageSize!==Z&&this.pageSizeChange.next(Z)}jumpToPageViaInput(Z){const ke=Z.target,$t=Math.floor((0,V.He)(ke.value,this.pageIndex));this.pageIndexChange.next($t),ke.value=""}trackByOption(Z,ke){return ke.value}ngOnChanges(Z){const{pageSize:ke,pageSizeOptions:$t,locale:sn}=Z;(ke||$t||sn)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(Yn=>({value:Yn,label:`${Yn} ${this.locale.items_per_page}`})))}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["li","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[s.TTD],attrs:je,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(Z,ke){1&Z&&(s.YNc(0,qt,2,5,"nz-select",0),s.YNc(1,vn,4,3,"div",1)),2&Z&&(s.Q6J("ngIf",ke.showSizeChanger),s.xp6(1),s.Q6J("ngIf",ke.showQuickJumper))},dependencies:[d.sg,d.O5,k.JJ,k.On,O.Ip,O.Vq],encapsulation:2,changeDetection:0}),Le})(),Ge=(()=>{class Le{constructor(Z,ke,$t,sn){this.cdr=Z,this.renderer=ke,this.elementRef=$t,this.directionality=sn,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new s.vpe,this.pageSizeChange=new s.vpe,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new R.x,ke.removeChild(ke.parentNode($t.nativeElement),$t.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{this.dir=Z,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(Z){this.onPageIndexChange(Z)}jumpDiff(Z){this.jumpPage(this.pageIndex+Z)}trackByPageItem(Z,ke){return`${ke.type}-${ke.index}`}onPageIndexChange(Z){this.pageIndexChange.next(Z)}onPageSizeChange(Z){this.pageSizeChange.next(Z)}getLastIndex(Z,ke){return Math.ceil(Z/ke)}buildIndexes(){const Z=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,Z)}getListOfPageItem(Z,ke){const sn=(Yn,uo)=>{const po=[];for(let Yo=Yn;Yo<=uo;Yo++)po.push({index:Yo,type:"page"});return po};return Yn=ke<=9?sn(1,ke):((uo,po)=>{let Yo=[];const ei={type:"prev_5"},lo={type:"next_5"},Vi=sn(1,1),Ni=sn(ke,ke);return Yo=uo<5?[...sn(2,4===uo?6:5),lo]:uo{class Le{validatePageIndex(Z,ke){return Z>ke?ke:Z<1?1:Z}onPageIndexChange(Z){const ke=this.getLastIndex(this.nzTotal,this.nzPageSize),$t=this.validatePageIndex(Z,ke);$t!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=$t,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(Z){this.nzPageSize=Z,this.nzPageSizeChange.emit(Z);const ke=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>ke&&this.onPageIndexChange(ke)}onTotalChange(Z){const ke=this.getLastIndex(Z,this.nzPageSize);this.nzPageIndex>ke&&Promise.resolve().then(()=>{this.onPageIndexChange(ke),this.cdr.markForCheck()})}getLastIndex(Z,ke){return Math.ceil(Z/ke)}constructor(Z,ke,$t,sn,Yn){this.i18n=Z,this.cdr=ke,this.breakpointService=$t,this.nzConfigService=sn,this.directionality=Yn,this._nzModuleName="pagination",this.nzPageSizeChange=new s.vpe,this.nzPageIndexChange=new s.vpe,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new R.x,this.total$=new ge.t(1)}ngOnInit(){this.i18n.localeChange.pipe((0,ze.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{this.onTotalChange(Z)}),this.breakpointService.subscribe(N.WV).pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{this.nzResponsive&&(this.size=Z===N.G_.xs?"small":"default",this.cdr.markForCheck())}),this.directionality.change?.pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{this.dir=Z,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(Z){const{nzHideOnSinglePage:ke,nzTotal:$t,nzPageSize:sn,nzSize:Yn}=Z;$t&&this.total$.next(this.nzTotal),(ke||$t||sn)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),Yn&&(this.size=Yn.currentValue)}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(Y.wi),s.Y36(s.sBO),s.Y36(N.r3),s.Y36(K.jY),s.Y36(t.Is,8))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:8,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-pagination-simple",ke.nzSimple)("ant-pagination-disabled",ke.nzDisabled)("mini",!ke.nzSimple&&"small"===ke.size)("ant-pagination-rtl","rtl"===ke.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[s.TTD],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(Z,ke){1&Z&&(s.YNc(0,we,2,2,"ng-container",0),s.TgZ(1,"nz-pagination-simple",1,2),s.NdJ("pageIndexChange",function(sn){return ke.onPageIndexChange(sn)}),s.qZA(),s.TgZ(3,"nz-pagination-default",3,4),s.NdJ("pageIndexChange",function(sn){return ke.onPageIndexChange(sn)})("pageSizeChange",function(sn){return ke.onPageSizeChange(sn)}),s.qZA()),2&Z&&(s.Q6J("ngIf",ke.showPagination),s.xp6(1),s.Q6J("disabled",ke.nzDisabled)("itemRender",ke.nzItemRender)("locale",ke.locale)("pageSize",ke.nzPageSize)("total",ke.nzTotal)("pageIndex",ke.nzPageIndex),s.xp6(2),s.Q6J("nzSize",ke.size)("itemRender",ke.nzItemRender)("showTotal",ke.nzShowTotal)("disabled",ke.nzDisabled)("locale",ke.locale)("showSizeChanger",ke.nzShowSizeChanger)("showQuickJumper",ke.nzShowQuickJumper)("total",ke.nzTotal)("pageIndex",ke.nzPageIndex)("pageSize",ke.nzPageSize)("pageSizeOptions",ke.nzPageSizeOptions))},dependencies:[d.O5,d.tP,ce,Ge],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,K.oS)()],Le.prototype,"nzSize",void 0),(0,F.gn)([(0,K.oS)()],Le.prototype,"nzPageSizeOptions",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzShowSizeChanger",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzShowQuickJumper",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzSimple",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzDisabled",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzResponsive",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzHideOnSinglePage",void 0),(0,F.gn)([(0,V.Rn)()],Le.prototype,"nzTotal",void 0),(0,F.gn)([(0,V.Rn)()],Le.prototype,"nzPageIndex",void 0),(0,F.gn)([(0,V.Rn)()],Le.prototype,"nzPageSize",void 0),Le})(),_n=(()=>{class Le{}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275mod=s.oAB({type:Le}),Le.\u0275inj=s.cJS({imports:[t.vT,d.ez,k.u5,O.LV,Y.YI,M.PV]}),Le})();var st=a(7907),it=a(2669),lt=a(2438),wt=a(5619),Ot=a(2572),Lt=a(3019),Gt=a(6232),Ke=a(2096),J=a(7398),I=a(3997),q=a(3620),Me=a(836),_t=a(2181),tt=a(4664),Je=a(7921),rt=a(5177),Nt=a(1631),Tt=a(855),mn=a(1958);const Ze=["*"];function ut(Le,Rt){}function le(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"label",15),s.NdJ("ngModelChange",function(){s.CHM(Z);const $t=s.oxw().$implicit,sn=s.oxw(2);return s.KtG(sn.check($t))}),s.qZA()}if(2&Le){const Z=s.oxw().$implicit;s.Q6J("ngModel",Z.checked)}}function ye(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"label",16),s.NdJ("ngModelChange",function(){s.CHM(Z);const $t=s.oxw().$implicit,sn=s.oxw(2);return s.KtG(sn.check($t))}),s.qZA()}if(2&Le){const Z=s.oxw().$implicit;s.Q6J("ngModel",Z.checked)}}function mt(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"li",12),s.NdJ("click",function(){const sn=s.CHM(Z).$implicit,Yn=s.oxw(2);return s.KtG(Yn.check(sn))}),s.YNc(1,le,1,1,"label",13),s.YNc(2,ye,1,1,"label",14),s.TgZ(3,"span"),s._uU(4),s.qZA()()}if(2&Le){const Z=Rt.$implicit,ke=s.oxw(2);s.Q6J("nzSelected",Z.checked),s.xp6(1),s.Q6J("ngIf",!ke.filterMultiple),s.xp6(1),s.Q6J("ngIf",ke.filterMultiple),s.xp6(2),s.Oqu(Z.text)}}function Ae(Le,Rt){if(1&Le){const Z=s.EpF();s.ynx(0),s.TgZ(1,"nz-filter-trigger",3),s.NdJ("nzVisibleChange",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.onVisibleChange($t))}),s._UZ(2,"span",4),s.qZA(),s.TgZ(3,"nz-dropdown-menu",null,5)(5,"div",6)(6,"ul",7),s.YNc(7,mt,5,4,"li",8),s.qZA(),s.TgZ(8,"div",9)(9,"button",10),s.NdJ("click",function(){s.CHM(Z);const $t=s.oxw();return s.KtG($t.reset())}),s._uU(10),s.qZA(),s.TgZ(11,"button",11),s.NdJ("click",function(){s.CHM(Z);const $t=s.oxw();return s.KtG($t.confirm())}),s._uU(12),s.qZA()()()(),s.BQk()}if(2&Le){const Z=s.MAs(4),ke=s.oxw();s.xp6(1),s.Q6J("nzVisible",ke.isVisible)("nzActive",ke.isChecked)("nzDropdownMenu",Z),s.xp6(6),s.Q6J("ngForOf",ke.listOfParsedFilter)("ngForTrackBy",ke.trackByValue),s.xp6(2),s.Q6J("disabled",!ke.isChecked),s.xp6(1),s.hij(" ",ke.locale.filterReset," "),s.xp6(2),s.Oqu(ke.locale.filterConfirm)}}function at(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"label",2),s.NdJ("ngModelChange",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.onCheckedChange($t))}),s.qZA()}if(2&Le){const Z=s.oxw();s.ekj("ant-table-selection-select-all-custom",Z.showRowSelection),s.Q6J("ngModel",Z.checked)("nzDisabled",Z.disabled)("nzIndeterminate",Z.indeterminate)}}function Bt(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"li",9),s.NdJ("click",function(){const sn=s.CHM(Z).$implicit;return s.KtG(sn.onSelect())}),s._uU(1),s.qZA()}if(2&Le){const Z=Rt.$implicit;s.xp6(1),s.hij(" ",Z.text," ")}}function ln(Le,Rt){if(1&Le&&(s.TgZ(0,"div",3)(1,"span",4),s._UZ(2,"span",5),s.qZA(),s.TgZ(3,"nz-dropdown-menu",null,6)(5,"ul",7),s.YNc(6,Bt,2,1,"li",8),s.qZA()()()),2&Le){const Z=s.MAs(4),ke=s.oxw();s.xp6(1),s.Q6J("nzDropdownMenu",Z),s.xp6(5),s.Q6J("ngForOf",ke.listOfSelections)}}function At(Le,Rt){}function dt(Le,Rt){if(1&Le&&s._UZ(0,"span",6),2&Le){const Z=s.oxw();s.ekj("active","ascend"===Z.sortOrder)}}function ft(Le,Rt){if(1&Le&&s._UZ(0,"span",7),2&Le){const Z=s.oxw();s.ekj("active","descend"===Z.sortOrder)}}const ne=["nzChecked",""];function B(Le,Rt){if(1&Le){const Z=s.EpF();s.ynx(0),s._UZ(1,"nz-row-indent",2),s.TgZ(2,"button",3),s.NdJ("expandChange",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.onExpandChange($t))}),s.qZA(),s.BQk()}if(2&Le){const Z=s.oxw();s.xp6(1),s.Q6J("indentSize",Z.nzIndentSize),s.xp6(1),s.Q6J("expand",Z.nzExpand)("spaceMode",!Z.nzShowExpand)}}function Te(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"label",4),s.NdJ("ngModelChange",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.onCheckedChange($t))}),s.qZA()}if(2&Le){const Z=s.oxw();s.Q6J("nzDisabled",Z.nzDisabled)("ngModel",Z.nzChecked)("nzIndeterminate",Z.nzIndeterminate)}}const Ye=["nzColumnKey",""];function yt(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"nz-table-filter",5),s.NdJ("filterChange",function($t){s.CHM(Z);const sn=s.oxw();return s.KtG(sn.onFilterValueChange($t))}),s.qZA()}if(2&Le){const Z=s.oxw(),ke=s.MAs(2),$t=s.MAs(4);s.Q6J("contentTemplate",ke)("extraTemplate",$t)("customFilter",Z.nzCustomFilter)("filterMultiple",Z.nzFilterMultiple)("listOfFilter",Z.nzFilters)}}function Kt(Le,Rt){}function Zt(Le,Rt){if(1&Le&&s.YNc(0,Kt,0,0,"ng-template",6),2&Le){const Z=s.oxw(),ke=s.MAs(6),$t=s.MAs(8);s.Q6J("ngTemplateOutlet",Z.nzShowSort?ke:$t)}}function On(Le,Rt){1&Le&&(s.Hsn(0),s.Hsn(1,1))}function zn(Le,Rt){if(1&Le&&s._UZ(0,"nz-table-sorters",7),2&Le){const Z=s.oxw(),ke=s.MAs(8);s.Q6J("sortOrder",Z.sortOrder)("sortDirections",Z.sortDirections)("contentTemplate",ke)}}function Wn(Le,Rt){1&Le&&s.Hsn(0,2)}const bo=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],To=["[nz-th-extra]","nz-filter-trigger","*"],$o=["nzSelections",""],Ko=["nz-table-content",""];function Ro(Le,Rt){if(1&Le&&s._UZ(0,"col"),2&Le){const Z=Rt.$implicit;s.Udp("width",Z)("min-width",Z)}}function Eo(Le,Rt){}function Xn(Le,Rt){if(1&Le&&(s.TgZ(0,"thead",3),s.YNc(1,Eo,0,0,"ng-template",2),s.qZA()),2&Le){const Z=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",Z.theadTemplate)}}function Jo(Le,Rt){}const ko=["tdElement"],Mo=["nz-table-fixed-row",""];function vo(Le,Rt){}function ui(Le,Rt){if(1&Le&&(s.TgZ(0,"div",4),s.ALo(1,"async"),s.YNc(2,vo,0,0,"ng-template",5),s.qZA()),2&Le){const Z=s.oxw(),ke=s.MAs(5);s.Udp("width",s.lcZ(1,3,Z.hostWidth$),"px"),s.xp6(2),s.Q6J("ngTemplateOutlet",ke)}}function oi(Le,Rt){1&Le&&s.Hsn(0)}const Di=["nz-table-measure-row",""];function Nn(Le,Rt){1&Le&&s._UZ(0,"td",1,2)}function Oi(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"tr",3),s.NdJ("listOfAutoWidth",function($t){s.CHM(Z);const sn=s.oxw(2);return s.KtG(sn.onListOfAutoWidthChange($t))}),s.qZA()}if(2&Le){const Z=s.oxw().ngIf;s.Q6J("listOfMeasureColumn",Z)}}function Ai(Le,Rt){if(1&Le&&(s.ynx(0),s.YNc(1,Oi,1,1,"tr",2),s.BQk()),2&Le){const Z=Rt.ngIf,ke=s.oxw();s.xp6(1),s.Q6J("ngIf",ke.isInsideTable&&Z.length)}}function wi(Le,Rt){if(1&Le&&(s.TgZ(0,"tr",4),s._UZ(1,"nz-embed-empty",5),s.ALo(2,"async"),s.qZA()),2&Le){const Z=s.oxw();s.xp6(1),s.Q6J("specificContent",s.lcZ(2,1,Z.noResult$))}}const Ri=["tableHeaderElement"],Sr=["tableBodyElement"];function Er(Le,Rt){if(1&Le&&(s.TgZ(0,"div",7,8),s._UZ(2,"table",9),s.qZA()),2&Le){const Z=s.oxw(2);s.Q6J("ngStyle",Z.bodyStyleMap),s.xp6(2),s.Q6J("scrollX",Z.scrollX)("listOfColWidth",Z.listOfColWidth)("contentTemplate",Z.contentTemplate)}}function Mi(Le,Rt){}const _r=function(Le,Rt){return{$implicit:Le,index:Rt}};function Ki(Le,Rt){if(1&Le&&(s.ynx(0),s.YNc(1,Mi,0,0,"ng-template",13),s.BQk()),2&Le){const Z=Rt.$implicit,ke=Rt.index,$t=s.oxw(3);s.xp6(1),s.Q6J("ngTemplateOutlet",$t.virtualTemplate)("ngTemplateOutletContext",s.WLB(2,_r,Z,ke))}}function ur(Le,Rt){if(1&Le&&(s.TgZ(0,"cdk-virtual-scroll-viewport",10,8)(2,"table",11)(3,"tbody"),s.YNc(4,Ki,2,5,"ng-container",12),s.qZA()()()),2&Le){const Z=s.oxw(2);s.Udp("height",Z.data.length?Z.scrollY:Z.noDateVirtualHeight),s.Q6J("itemSize",Z.virtualItemSize)("maxBufferPx",Z.virtualMaxBufferPx)("minBufferPx",Z.virtualMinBufferPx),s.xp6(2),s.Q6J("scrollX",Z.scrollX)("listOfColWidth",Z.listOfColWidth),s.xp6(2),s.Q6J("cdkVirtualForOf",Z.data)("cdkVirtualForTrackBy",Z.virtualForTrackBy)}}function nr(Le,Rt){if(1&Le&&(s.ynx(0),s.TgZ(1,"div",2,3),s._UZ(3,"table",4),s.qZA(),s.YNc(4,Er,3,4,"div",5),s.YNc(5,ur,5,9,"cdk-virtual-scroll-viewport",6),s.BQk()),2&Le){const Z=s.oxw();s.xp6(1),s.Q6J("ngStyle",Z.headerStyleMap),s.xp6(2),s.Q6J("scrollX",Z.scrollX)("listOfColWidth",Z.listOfColWidth)("theadTemplate",Z.theadTemplate),s.xp6(1),s.Q6J("ngIf",!Z.virtualTemplate),s.xp6(1),s.Q6J("ngIf",Z.virtualTemplate)}}function Kn(Le,Rt){if(1&Le&&(s.TgZ(0,"div",14,8),s._UZ(2,"table",15),s.qZA()),2&Le){const Z=s.oxw();s.Q6J("ngStyle",Z.bodyStyleMap),s.xp6(2),s.Q6J("scrollX",Z.scrollX)("listOfColWidth",Z.listOfColWidth)("theadTemplate",Z.theadTemplate)("contentTemplate",Z.contentTemplate)}}function xo(Le,Rt){if(1&Le&&(s.ynx(0),s._uU(1),s.BQk()),2&Le){const Z=s.oxw();s.xp6(1),s.Oqu(Z.title)}}function Uo(Le,Rt){if(1&Le&&(s.ynx(0),s._uU(1),s.BQk()),2&Le){const Z=s.oxw();s.xp6(1),s.Oqu(Z.footer)}}function ni(Le,Rt){}function yo(Le,Rt){if(1&Le&&(s.ynx(0),s.YNc(1,ni,0,0,"ng-template",10),s.BQk()),2&Le){s.oxw();const Z=s.MAs(11);s.xp6(1),s.Q6J("ngTemplateOutlet",Z)}}function Xo(Le,Rt){if(1&Le&&s._UZ(0,"nz-table-title-footer",11),2&Le){const Z=s.oxw();s.Q6J("title",Z.nzTitle)}}function bi(Le,Rt){if(1&Le&&s._UZ(0,"nz-table-inner-scroll",12),2&Le){const Z=s.oxw(),ke=s.MAs(13),$t=s.MAs(3);s.Q6J("data",Z.data)("scrollX",Z.scrollX)("scrollY",Z.scrollY)("contentTemplate",ke)("listOfColWidth",Z.listOfAutoColWidth)("theadTemplate",Z.theadTemplate)("verticalScrollBarWidth",Z.verticalScrollBarWidth)("virtualTemplate",Z.nzVirtualScrollDirective?Z.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",Z.nzVirtualItemSize)("virtualMaxBufferPx",Z.nzVirtualMaxBufferPx)("virtualMinBufferPx",Z.nzVirtualMinBufferPx)("tableMainElement",$t)("virtualForTrackBy",Z.nzVirtualForTrackBy)}}function Si(Le,Rt){if(1&Le&&s._UZ(0,"nz-table-inner-default",13),2&Le){const Z=s.oxw(),ke=s.MAs(13);s.Q6J("tableLayout",Z.nzTableLayout)("listOfColWidth",Z.listOfManualColWidth)("theadTemplate",Z.theadTemplate)("contentTemplate",ke)}}function yr(Le,Rt){if(1&Le&&s._UZ(0,"nz-table-title-footer",14),2&Le){const Z=s.oxw();s.Q6J("footer",Z.nzFooter)}}function Qi(Le,Rt){}function qo(Le,Rt){if(1&Le&&(s.ynx(0),s.YNc(1,Qi,0,0,"ng-template",10),s.BQk()),2&Le){s.oxw();const Z=s.MAs(11);s.xp6(1),s.Q6J("ngTemplateOutlet",Z)}}function jn(Le,Rt){if(1&Le){const Z=s.EpF();s.TgZ(0,"nz-pagination",16),s.NdJ("nzPageSizeChange",function($t){s.CHM(Z);const sn=s.oxw(2);return s.KtG(sn.onPageSizeChange($t))})("nzPageIndexChange",function($t){s.CHM(Z);const sn=s.oxw(2);return s.KtG(sn.onPageIndexChange($t))}),s.qZA()}if(2&Le){const Z=s.oxw(2);s.Q6J("hidden",!Z.showPagination)("nzShowSizeChanger",Z.nzShowSizeChanger)("nzPageSizeOptions",Z.nzPageSizeOptions)("nzItemRender",Z.nzItemRender)("nzShowQuickJumper",Z.nzShowQuickJumper)("nzHideOnSinglePage",Z.nzHideOnSinglePage)("nzShowTotal",Z.nzShowTotal)("nzSize","small"===Z.nzPaginationType?"small":"default"===Z.nzSize?"default":"small")("nzPageSize",Z.nzPageSize)("nzTotal",Z.nzTotal)("nzSimple",Z.nzSimple)("nzPageIndex",Z.nzPageIndex)}}function ao(Le,Rt){if(1&Le&&s.YNc(0,jn,1,12,"nz-pagination",15),2&Le){const Z=s.oxw();s.Q6J("ngIf",Z.nzShowPagination&&Z.data.length)}}function Ue(Le,Rt){1&Le&&s.Hsn(0)}const re=["contentTemplate"];function Oe(Le,Rt){1&Le&&s.Hsn(0)}function Qe(Le,Rt){}function zt(Le,Rt){if(1&Le&&(s.ynx(0),s.YNc(1,Qe,0,0,"ng-template",2),s.BQk()),2&Le){s.oxw();const Z=s.MAs(1);s.xp6(1),s.Q6J("ngTemplateOutlet",Z)}}let en=(()=>{class Le{onVisibleChange(Z){this.nzVisible=Z,this.nzVisibleChange.next(Z)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}constructor(Z,ke,$t,sn){this.nzConfigService=Z,this.ngZone=ke,this.cdr=$t,this.destroy$=sn,this._nzModuleName="filterTrigger",this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new s.vpe}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,lt.R)(this.nzDropdown.nativeElement,"click").pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{Z.stopPropagation()})})}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(K.jY),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(N.kn))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-filter-trigger"]],viewQuery:function(Z,ke){if(1&Z&&s.Gf(w.cm,7,s.SBq),2&Z){let $t;s.iGM($t=s.CRH())&&(ke.nzDropdown=$t.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],features:[s._Bn([N.kn])],ngContentSelectors:Ze,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange"]],template:function(Z,ke){1&Z&&(s.F$t(),s.TgZ(0,"span",0),s.NdJ("nzVisibleChange",function(sn){return ke.onVisibleChange(sn)}),s.Hsn(1),s.qZA()),2&Z&&(s.ekj("active",ke.nzActive)("ant-table-filter-open",ke.nzVisible),s.Q6J("nzBackdrop",ke.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",ke.nzDropdownMenu)("nzVisible",ke.nzVisible))},dependencies:[w.cm],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzBackdrop",void 0),Le})(),hn=(()=>{class Le{trackByValue(Z,ke){return ke.value}check(Z){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(ke=>ke===Z?{...ke,checked:!Z.checked}:ke),Z.checked=!Z.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(ke=>({...ke,checked:ke===Z})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(Z){this.isVisible=Z,Z?this.listOfChecked=this.listOfParsedFilter.filter(ke=>ke.checked).map(ke=>ke.value):this.emitFilterData()}emitFilterData(){const Z=this.listOfParsedFilter.filter(ke=>ke.checked).map(ke=>ke.value);(0,V.cO)(this.listOfChecked,Z)||this.filterChange.emit(this.filterMultiple?Z:Z.length>0?Z[0]:null)}parseListOfFilter(Z,ke){return Z.map($t=>({text:$t.text,value:$t.value,checked:!ke&&!!$t.byDefault}))}getCheckedStatus(Z){return Z.some(ke=>ke.checked)}constructor(Z,ke){this.cdr=Z,this.i18n=ke,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new s.vpe,this.destroy$=new R.x,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}ngOnInit(){this.i18n.localeChange.pipe((0,ze.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(Z){const{listOfFilter:ke}=Z;ke&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.sBO),s.Y36(Y.wi))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[s.TTD],decls:3,vars:3,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(Z,ke){1&Z&&(s.TgZ(0,"span",0),s.YNc(1,ut,0,0,"ng-template",1),s.qZA(),s.YNc(2,Ae,13,8,"ng-container",2)),2&Z&&(s.xp6(1),s.Q6J("ngTemplateOutlet",ke.contentTemplate),s.xp6(1),s.Q6J("ngIf",!ke.customFilter)("ngIfElse",ke.extraTemplate))},dependencies:[e.wO,e.r9,k.JJ,k.On,st.Of,P.Ie,w.RR,G.ix,Tt.w,mn.dQ,d.sg,d.O5,d.tP,M.Ls,en],encapsulation:2,changeDetection:0}),Le})(),Jt=(()=>{class Le{constructor(){this.expand=!1,this.spaceMode=!1,this.expandChange=new s.vpe}onHostClick(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand))}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275dir=s.lG2({type:Le,selectors:[["button","nz-row-expand-button",""]],hostAttrs:[1,"ant-table-row-expand-icon"],hostVars:7,hostBindings:function(Z,ke){1&Z&&s.NdJ("click",function(){return ke.onHostClick()}),2&Z&&(s.Ikx("type","button"),s.ekj("ant-table-row-expand-icon-expanded",!ke.spaceMode&&!0===ke.expand)("ant-table-row-expand-icon-collapsed",!ke.spaceMode&&!1===ke.expand)("ant-table-row-expand-icon-spaced",ke.spaceMode))},inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"}}),Le})(),yn=(()=>{class Le{constructor(){this.indentSize=0}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275dir=s.lG2({type:Le,selectors:[["nz-row-indent"]],hostAttrs:[1,"ant-table-row-indent"],hostVars:2,hostBindings:function(Z,ke){2&Z&&s.Udp("padding-left",ke.indentSize,"px")},inputs:{indentSize:"indentSize"}}),Le})(),Rn=(()=>{class Le{constructor(){this.listOfSelections=[],this.checked=!1,this.disabled=!1,this.indeterminate=!1,this.showCheckbox=!1,this.showRowSelection=!1,this.checkedChange=new s.vpe}onCheckedChange(Z){this.checked=Z,this.checkedChange.emit(Z)}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-table-selection"]],hostAttrs:[1,"ant-table-selection"],inputs:{listOfSelections:"listOfSelections",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",showCheckbox:"showCheckbox",showRowSelection:"showRowSelection"},outputs:{checkedChange:"checkedChange"},decls:2,vars:2,consts:[["nz-checkbox","",3,"ant-table-selection-select-all-custom","ngModel","nzDisabled","nzIndeterminate","ngModelChange",4,"ngIf"],["class","ant-table-selection-extra",4,"ngIf"],["nz-checkbox","",3,"ngModel","nzDisabled","nzIndeterminate","ngModelChange"],[1,"ant-table-selection-extra"],["nz-dropdown","","nzPlacement","bottomLeft",1,"ant-table-selection-down",3,"nzDropdownMenu"],["nz-icon","","nzType","down"],["selectionMenu","nzDropdownMenu"],["nz-menu","",1,"ant-table-selection-menu"],["nz-menu-item","",3,"click",4,"ngFor","ngForOf"],["nz-menu-item","",3,"click"]],template:function(Z,ke){1&Z&&(s.YNc(0,at,1,5,"label",0),s.YNc(1,ln,7,2,"div",1)),2&Z&&(s.Q6J("ngIf",ke.showCheckbox),s.xp6(1),s.Q6J("ngIf",ke.showRowSelection))},dependencies:[e.wO,e.r9,k.JJ,k.On,P.Ie,w.cm,w.RR,Tt.w,d.sg,d.O5,M.Ls],encapsulation:2,changeDetection:0}),Le})(),Mn=(()=>{class Le{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges(Z){const{sortDirections:ke}=Z;ke&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[s.TTD],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(Z,ke){1&Z&&(s.TgZ(0,"span",0),s.YNc(1,At,0,0,"ng-template",1),s.qZA(),s.TgZ(2,"span",2)(3,"span",3),s.YNc(4,dt,1,2,"span",4),s.YNc(5,ft,1,2,"span",5),s.qZA()()),2&Z&&(s.xp6(1),s.Q6J("ngTemplateOutlet",ke.contentTemplate),s.xp6(1),s.ekj("ant-table-column-sorter-full",ke.isDown&&ke.isUp),s.xp6(2),s.Q6J("ngIf",ke.isUp),s.xp6(1),s.Q6J("ngIf",ke.isDown))},dependencies:[Tt.w,d.O5,d.tP,M.Ls],encapsulation:2,changeDetection:0}),Le})(),dn=(()=>{class Le{setAutoLeftWidth(Z){this.renderer.setStyle(this.elementRef.nativeElement,"left",Z)}setAutoRightWidth(Z){this.renderer.setStyle(this.elementRef.nativeElement,"right",Z)}setIsFirstRight(Z){this.setFixClass(Z,"ant-table-cell-fix-right-first")}setIsLastLeft(Z){this.setFixClass(Z,"ant-table-cell-fix-left-last")}setFixClass(Z,ke){this.renderer.removeClass(this.elementRef.nativeElement,ke),Z&&this.renderer.addClass(this.elementRef.nativeElement,ke)}constructor(Z,ke){this.renderer=Z,this.elementRef=ke,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new R.x,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const Z=ke=>"string"==typeof ke&&""!==ke?ke:null;this.setAutoLeftWidth(Z(this.nzLeft)),this.setAutoRightWidth(Z(this.nzRight)),this.changes$.next()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.Qsj),s.Y36(s.SBq))},Le.\u0275dir=s.lG2({type:Le,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(Z,ke){2&Z&&(s.Udp("position",ke.isFixed?"sticky":null),s.ekj("ant-table-cell-fix-right",ke.isFixedRight)("ant-table-cell-fix-left",ke.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[s.TTD]}),Le})(),En=(()=>{class Le{setTheadTemplate(Z){this.theadTemplate$.next(Z)}setHasFixLeft(Z){this.hasFixLeft$.next(Z)}setHasFixRight(Z){this.hasFixRight$.next(Z)}setTableWidthConfig(Z){this.tableWidthConfigPx$.next(Z)}setListOfTh(Z){let ke=0;Z.forEach(sn=>{ke+=sn.colspan&&+sn.colspan||sn.colSpan&&+sn.colSpan||1});const $t=Z.map(sn=>sn.nzWidth);this.columnCount$.next(ke),this.listOfThWidthConfigPx$.next($t)}setListOfMeasureColumn(Z){const ke=[];Z.forEach($t=>{const sn=$t.colspan&&+$t.colspan||$t.colSpan&&+$t.colSpan||1;for(let Yn=0;Yn`${ke}px`))}setShowEmpty(Z){this.showEmpty$.next(Z)}setNoResult(Z){this.noResult$.next(Z)}setScroll(Z,ke){const $t=!(!Z&&!ke);$t||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next($t)}constructor(){this.theadTemplate$=new ge.t(1),this.hasFixLeft$=new ge.t(1),this.hasFixRight$=new ge.t(1),this.hostWidth$=new ge.t(1),this.columnCount$=new ge.t(1),this.showEmpty$=new ge.t(1),this.noResult$=new ge.t(1),this.listOfThWidthConfigPx$=new wt.X([]),this.tableWidthConfigPx$=new wt.X([]),this.manualWidthConfigPx$=(0,Ot.a)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe((0,J.U)(([Z,ke])=>Z.length?Z:ke)),this.listOfAutoWidthPx$=new ge.t(1),this.listOfListOfThWidthPx$=(0,Lt.T)(this.manualWidthConfigPx$,(0,Ot.a)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe((0,J.U)(([Z,ke])=>Z.length===ke.length?Z.map(($t,sn)=>"0px"===$t?ke[sn]||null:ke[sn]||$t):ke))),this.listOfMeasureColumn$=new ge.t(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe((0,J.U)(Z=>Z.map(ke=>parseInt(ke,10)))),this.enableAutoMeasure$=new ge.t(1)}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac}),Le})(),Gn=(()=>{class Le{constructor(Z){this.isInsideTable=!1,this.isInsideTable=!!Z}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(En,8))},Le.\u0275dir=s.lG2({type:Le,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-table-cell",ke.isInsideTable)}}),Le})(),Fn=(()=>{class Le{updatePageSize(Z){this.pageSize$.next(Z)}updateFrontPagination(Z){this.frontPagination$.next(Z)}updatePageIndex(Z){this.pageIndex$.next(Z)}updateListOfData(Z){this.listOfData$.next(Z)}updateListOfCustomColumn(Z){this.listOfCustomColumn$.next(Z)}constructor(){this.destroy$=new R.x,this.pageIndex$=new wt.X(1),this.frontPagination$=new wt.X(!0),this.pageSize$=new wt.X(10),this.listOfData$=new wt.X([]),this.listOfCustomColumn$=new wt.X([]),this.pageIndexDistinct$=this.pageIndex$.pipe((0,I.x)()),this.pageSizeDistinct$=this.pageSize$.pipe((0,I.x)()),this.listOfCalcOperator$=new wt.X([]),this.queryParams$=(0,Ot.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe((0,q.b)(0),(0,Me.T)(1),(0,J.U)(([Z,ke,$t])=>({pageIndex:Z,pageSize:ke,sort:$t.filter(sn=>sn.sortFn).map(sn=>({key:sn.key,value:sn.sortOrder})),filter:$t.filter(sn=>sn.filterFn).map(sn=>({key:sn.key,value:sn.filterValue}))}))),this.listOfDataAfterCalc$=(0,Ot.a)([this.listOfData$,this.listOfCalcOperator$]).pipe((0,J.U)(([Z,ke])=>{let $t=[...Z];const sn=ke.filter(uo=>{const{filterValue:po,filterFn:Yo}=uo;return!(null==po||Array.isArray(po)&&0===po.length)&&"function"==typeof Yo});for(const uo of sn){const{filterFn:po,filterValue:Yo}=uo;$t=$t.filter(ei=>po(Yo,ei))}const Yn=ke.filter(uo=>null!==uo.sortOrder&&"function"==typeof uo.sortFn).sort((uo,po)=>+po.sortPriority-+uo.sortPriority);return ke.length&&$t.sort((uo,po)=>{for(const Yo of Yn){const{sortFn:ei,sortOrder:lo}=Yo;if(ei&&lo){const Vi=ei(uo,po,lo);if(0!==Vi)return"ascend"===lo?Vi:-Vi}}return 0}),$t})),this.listOfFrontEndCurrentPageData$=(0,Ot.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe((0,ze.R)(this.destroy$),(0,_t.h)(Z=>{const[ke,$t,sn]=Z;return ke<=(Math.ceil(sn.length/$t)||1)}),(0,J.U)(([Z,ke,$t])=>$t.slice((Z-1)*ke,Z*ke))),this.listOfCurrentPageData$=this.frontPagination$.pipe((0,tt.w)(Z=>Z?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe((0,tt.w)(Z=>Z?this.listOfDataAfterCalc$:this.listOfData$),(0,J.U)(Z=>Z.length),(0,I.x)())}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275prov=s.Yz7({token:Le,factory:Le.\u0275fac}),Le})(),Ln=(()=>{class Le{constructor(){this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzIndentSize=0,this.nzShowExpand=!1,this.nzShowCheckbox=!1,this.nzExpand=!1,this.nzCheckedChange=new s.vpe,this.nzExpandChange=new s.vpe,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange(Z){this.nzChecked=Z,this.nzCheckedChange.emit(Z)}onExpandChange(Z){this.nzExpand=Z,this.nzExpandChange.emit(Z)}ngOnChanges(Z){const ke=po=>po&&po.firstChange&&void 0!==po.currentValue,{nzExpand:$t,nzChecked:sn,nzShowExpand:Yn,nzShowCheckbox:uo}=Z;Yn&&(this.isNzShowExpandChanged=!0),uo&&(this.isNzShowCheckboxChanged=!0),ke($t)&&!this.isNzShowExpandChanged&&(this.nzShowExpand=!0),ke(sn)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["td","nzChecked",""],["td","nzDisabled",""],["td","nzIndeterminate",""],["td","nzIndentSize",""],["td","nzExpand",""],["td","nzShowExpand",""],["td","nzShowCheckbox",""]],hostVars:4,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-table-cell-with-append",ke.nzShowExpand||ke.nzIndentSize>0)("ant-table-selection-column",ke.nzShowCheckbox)},inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzIndentSize:"nzIndentSize",nzShowExpand:"nzShowExpand",nzShowCheckbox:"nzShowCheckbox",nzExpand:"nzExpand"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},features:[s.TTD],attrs:ne,ngContentSelectors:Ze,decls:3,vars:2,consts:[[4,"ngIf"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange",4,"ngIf"],[3,"indentSize"],["nz-row-expand-button","",3,"expand","spaceMode","expandChange"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange"]],template:function(Z,ke){1&Z&&(s.F$t(),s.YNc(0,B,3,3,"ng-container",0),s.YNc(1,Te,1,3,"label",1),s.Hsn(2)),2&Z&&(s.Q6J("ngIf",ke.nzShowExpand||ke.nzIndentSize>0),s.xp6(1),s.Q6J("ngIf",ke.nzShowCheckbox))},dependencies:[k.JJ,k.On,P.Ie,d.O5,yn,Jt],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzShowExpand",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzShowCheckbox",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzExpand",void 0),Le})(),ho=(()=>{class Le{getNextSortDirection(Z,ke){const $t=Z.indexOf(ke);return $t===Z.length-1?Z[0]:Z[$t+1]}setSortOrder(Z){this.sortOrderChange$.next(Z)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange(Z){this.nzFilterChange.emit(Z),this.nzFilterValue=Z,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}constructor(Z,ke,$t,sn){this.host=Z,this.cdr=ke,this.ngZone=$t,this.destroy$=sn,this.manualClickOrder$=new R.x,this.calcOperatorChange$=new R.x,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new R.x,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new s.vpe,this.nzSortOrderChange=new s.vpe,this.nzFilterChange=new s.vpe}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,lt.R)(this.host.nativeElement,"click").pipe((0,_t.h)(()=>this.nzShowSort),(0,ze.R)(this.destroy$)).subscribe(()=>{const Z=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder(Z),this.manualClickOrder$.next(this)})})),this.sortOrderChange$.pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{this.sortOrder!==Z&&(this.sortOrder=Z,this.nzSortOrderChange.emit(Z)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(Z){const{nzSortDirections:ke,nzFilters:$t,nzSortOrder:sn,nzSortFn:Yn,nzFilterFn:uo,nzSortPriority:po,nzFilterMultiple:Yo,nzShowSort:ei,nzShowFilter:lo}=Z;ke&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),sn&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),ei&&(this.isNzShowSortChanged=!0),lo&&(this.isNzShowFilterChanged=!0);const Vi=Ni=>Ni&&Ni.firstChange&&void 0!==Ni.currentValue;if((Vi(sn)||Vi(Yn))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),Vi($t)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),($t||Yo)&&this.nzShowFilter){const Ni=this.nzFilters.filter(Cr=>Cr.byDefault).map(Cr=>Cr.value);this.nzFilterValue=this.nzFilterMultiple?Ni:Ni[0]||null}(Yn||uo||po||$t)&&this.updateCalcOperator()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(N.kn))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-table-column-has-sorters",ke.nzShowSort)("ant-table-column-sort","descend"===ke.sortOrder||"ascend"===ke.sortOrder)},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[s._Bn([N.kn]),s.TTD],attrs:Ye,ngContentSelectors:To,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(Z,ke){if(1&Z&&(s.F$t(bo),s.YNc(0,yt,1,5,"nz-table-filter",0),s.YNc(1,Zt,1,1,"ng-template",null,1,s.W1O),s.YNc(3,On,2,0,"ng-template",null,2,s.W1O),s.YNc(5,zn,1,3,"ng-template",null,3,s.W1O),s.YNc(7,Wn,1,0,"ng-template",null,4,s.W1O)),2&Z){const $t=s.MAs(2);s.Q6J("ngIf",ke.nzShowFilter||ke.nzCustomFilter)("ngIfElse",$t)}},dependencies:[d.O5,d.tP,Mn,hn],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzShowSort",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzShowFilter",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzCustomFilter",void 0),Le})(),eo=(()=>{class Le{constructor(Z,ke){this.renderer=Z,this.elementRef=ke,this.changes$=new R.x,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(Z){const{nzWidth:ke,colspan:$t,rowspan:sn,colSpan:Yn,rowSpan:uo}=Z;if($t||Yn){const po=this.colspan||this.colSpan;(0,V.kK)(po)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${po}`)}if(sn||uo){const po=this.rowspan||this.rowSpan;(0,V.kK)(po)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${po}`)}(ke||$t)&&this.changes$.next()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.Qsj),s.Y36(s.SBq))},Le.\u0275dir=s.lG2({type:Le,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[s.TTD]}),Le})(),co=(()=>{class Le{constructor(){this.nzSelections=[],this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzShowCheckbox=!1,this.nzShowRowSelection=!1,this.nzCheckedChange=new s.vpe,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange(Z){this.nzChecked=Z,this.nzCheckedChange.emit(Z)}ngOnChanges(Z){const ke=po=>po&&po.firstChange&&void 0!==po.currentValue,{nzChecked:$t,nzSelections:sn,nzShowExpand:Yn,nzShowCheckbox:uo}=Z;Yn&&(this.isNzShowExpandChanged=!0),uo&&(this.isNzShowCheckboxChanged=!0),ke(sn)&&!this.isNzShowExpandChanged&&(this.nzShowRowSelection=!0),ke($t)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["th","nzSelections",""],["th","nzChecked",""],["th","nzShowCheckbox",""],["th","nzShowRowSelection",""]],hostAttrs:[1,"ant-table-selection-column"],inputs:{nzSelections:"nzSelections",nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzShowCheckbox:"nzShowCheckbox",nzShowRowSelection:"nzShowRowSelection"},outputs:{nzCheckedChange:"nzCheckedChange"},features:[s.TTD],attrs:$o,ngContentSelectors:Ze,decls:2,vars:6,consts:[[3,"checked","disabled","indeterminate","listOfSelections","showCheckbox","showRowSelection","checkedChange"]],template:function(Z,ke){1&Z&&(s.F$t(),s.TgZ(0,"nz-table-selection",0),s.NdJ("checkedChange",function(sn){return ke.onCheckedChange(sn)}),s.qZA(),s.Hsn(1)),2&Z&&s.Q6J("checked",ke.nzChecked)("disabled",ke.nzDisabled)("indeterminate",ke.nzIndeterminate)("listOfSelections",ke.nzSelections)("showCheckbox",ke.nzShowCheckbox)("showRowSelection",ke.nzShowRowSelection)},dependencies:[Rn],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzShowCheckbox",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzShowRowSelection",void 0),Le})(),Oo=(()=>{class Le{constructor(){this.nzAlign=null}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275dir=s.lG2({type:Le,selectors:[["th","nzAlign",""],["td","nzAlign",""]],hostVars:2,hostBindings:function(Z,ke){2&Z&&s.Udp("text-align",ke.nzAlign)},inputs:{nzAlign:"nzAlign"}}),Le})(),Ao=(()=>{class Le{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(Z,ke){2&Z&&(s.Udp("table-layout",ke.tableLayout)("width",ke.scrollX)("min-width",ke.scrollX?"100%":null),s.ekj("ant-table-fixed",ke.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:Ko,ngContentSelectors:Ze,decls:4,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(Z,ke){1&Z&&(s.F$t(),s.YNc(0,Ro,1,4,"col",0),s.YNc(1,Xn,2,1,"thead",1),s.YNc(2,Jo,0,0,"ng-template",2),s.Hsn(3)),2&Z&&(s.Q6J("ngForOf",ke.listOfColWidth),s.xp6(1),s.Q6J("ngIf",ke.theadTemplate),s.xp6(1),s.Q6J("ngTemplateOutlet",ke.contentTemplate))},dependencies:[d.sg,d.O5,d.tP],encapsulation:2,changeDetection:0}),Le})(),Go=(()=>{class Le{constructor(Z,ke){this.nzTableStyleService=Z,this.renderer=ke,this.hostWidth$=new wt.X(null),this.enableAutoMeasure$=new wt.X(!1),this.destroy$=new R.x}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:Z,hostWidth$:ke}=this.nzTableStyleService;Z.pipe((0,ze.R)(this.destroy$)).subscribe(this.enableAutoMeasure$),ke.pipe((0,ze.R)(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe((0,ze.R)(this.destroy$)).subscribe(Z=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${Z}`)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(En),s.Y36(s.Qsj))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(Z,ke){if(1&Z&&s.Gf(ko,7),2&Z){let $t;s.iGM($t=s.CRH())&&(ke.tdElement=$t.first)}},attrs:Mo,ngContentSelectors:Ze,decls:6,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(Z,ke){if(1&Z&&(s.F$t(),s.TgZ(0,"td",0,1),s.YNc(2,ui,3,5,"div",2),s.ALo(3,"async"),s.qZA(),s.YNc(4,oi,1,0,"ng-template",null,3,s.W1O)),2&Z){const $t=s.MAs(5);s.xp6(2),s.Q6J("ngIf",s.lcZ(3,2,ke.enableAutoMeasure$))("ngIfElse",$t)}},dependencies:[d.O5,d.tP,d.Ov],encapsulation:2,changeDetection:0}),Le})(),Co=(()=>{class Le{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:2,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(Z,ke){1&Z&&(s.TgZ(0,"div",0),s._UZ(1,"table",1),s.qZA()),2&Z&&(s.xp6(1),s.Q6J("contentTemplate",ke.contentTemplate)("tableLayout",ke.tableLayout)("listOfColWidth",ke.listOfColWidth)("theadTemplate",ke.theadTemplate))},dependencies:[Ao],encapsulation:2,changeDetection:0}),Le})(),di=(()=>{class Le{constructor(Z,ke){this.nzResizeObserver=Z,this.ngZone=ke,this.listOfMeasureColumn=[],this.listOfAutoWidth=new s.vpe,this.destroy$=new R.x}trackByFunc(Z,ke){return ke}ngAfterViewInit(){this.listOfTdElement.changes.pipe((0,Je.O)(this.listOfTdElement)).pipe((0,tt.w)(Z=>(0,Ot.a)(Z.toArray().map(ke=>this.nzResizeObserver.observe(ke).pipe((0,J.U)(([$t])=>{const{width:sn}=$t.target.getBoundingClientRect();return Math.floor(sn)}))))),(0,q.b)(16),(0,ze.R)(this.destroy$)).subscribe(Z=>{this.ngZone instanceof s.R0b&&s.R0b.isInAngularZone()?this.listOfAutoWidth.next(Z):this.ngZone.run(()=>this.listOfAutoWidth.next(Z))})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(U.D3),s.Y36(s.R0b))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(Z,ke){if(1&Z&&s.Gf(ko,5),2&Z){let $t;s.iGM($t=s.CRH())&&(ke.listOfTdElement=$t)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:Di,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(Z,ke){1&Z&&s.YNc(0,Nn,2,0,"td",0),2&Z&&s.Q6J("ngForOf",ke.listOfMeasureColumn)("ngForTrackBy",ke.trackByFunc)},dependencies:[d.sg],encapsulation:2,changeDetection:0}),Le})(),vi=(()=>{class Le{constructor(Z){if(this.nzTableStyleService=Z,this.isInsideTable=!1,this.showEmpty$=new wt.X(!1),this.noResult$=new wt.X(void 0),this.listOfMeasureColumn$=new wt.X([]),this.destroy$=new R.x,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:ke,noResult$:$t,listOfMeasureColumn$:sn}=this.nzTableStyleService;$t.pipe((0,ze.R)(this.destroy$)).subscribe(this.noResult$),sn.pipe((0,ze.R)(this.destroy$)).subscribe(this.listOfMeasureColumn$),ke.pipe((0,ze.R)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(Z){this.nzTableStyleService.setListOfAutoWidth(Z)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(En,8))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["tbody"]],hostVars:2,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-table-tbody",ke.isInsideTable)},ngContentSelectors:Ze,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(Z,ke){1&Z&&(s.F$t(),s.YNc(0,Ai,2,1,"ng-container",0),s.ALo(1,"async"),s.Hsn(2),s.YNc(3,wi,3,3,"tr",1),s.ALo(4,"async")),2&Z&&(s.Q6J("ngIf",s.lcZ(1,2,ke.listOfMeasureColumn$)),s.xp6(3),s.Q6J("ngIf",s.lcZ(4,4,ke.showEmpty$)))},dependencies:[d.O5,L.gB,di,Go,d.Ov],encapsulation:2,changeDetection:0}),Le})(),Io=(()=>{class Le{setScrollPositionClassName(Z=!1){const{scrollWidth:ke,scrollLeft:$t,clientWidth:sn}=this.tableBodyElement.nativeElement,Yn="ant-table-ping-left",uo="ant-table-ping-right";ke===sn&&0!==ke||Z?(this.renderer.removeClass(this.tableMainElement,Yn),this.renderer.removeClass(this.tableMainElement,uo)):0===$t?(this.renderer.removeClass(this.tableMainElement,Yn),this.renderer.addClass(this.tableMainElement,uo)):ke===$t+sn?(this.renderer.removeClass(this.tableMainElement,uo),this.renderer.addClass(this.tableMainElement,Yn)):(this.renderer.addClass(this.tableMainElement,Yn),this.renderer.addClass(this.tableMainElement,uo))}constructor(Z,ke,$t,sn){this.renderer=Z,this.ngZone=ke,this.platform=$t,this.resizeService=sn,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=Yn=>Yn,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new R.x,this.scroll$=new R.x,this.destroy$=new R.x}ngOnChanges(Z){const{scrollX:ke,scrollY:$t,data:sn}=Z;(ke||$t)&&(this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&0!==this.verticalScrollBarWidth?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next())),sn&&this.ngZone.runOutsideAngular(()=>this.data$.next())}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const Z=this.scroll$.pipe((0,Je.O)(null),(0,rt.g)(0),(0,tt.w)(()=>(0,lt.R)(this.tableBodyElement.nativeElement,"scroll").pipe((0,Je.O)(!0))),(0,ze.R)(this.destroy$)),ke=this.resizeService.subscribe().pipe((0,ze.R)(this.destroy$)),$t=this.data$.pipe((0,ze.R)(this.destroy$));(0,Lt.T)(Z,ke,$t,this.scroll$).pipe((0,Je.O)(!0),(0,rt.g)(0),(0,ze.R)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),Z.pipe((0,_t.h)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.Qsj),s.Y36(s.R0b),s.Y36(i.t4),s.Y36(N.rI))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-table-inner-scroll"]],viewQuery:function(Z,ke){if(1&Z&&(s.Gf(Ri,5,s.SBq),s.Gf(Sr,5,s.SBq),s.Gf(v.N7,5,v.N7)),2&Z){let $t;s.iGM($t=s.CRH())&&(ke.tableHeaderElement=$t.first),s.iGM($t=s.CRH())&&(ke.tableBodyElement=$t.first),s.iGM($t=s.CRH())&&(ke.cdkVirtualScrollViewport=$t.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},features:[s.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function(Z,ke){1&Z&&(s.YNc(0,nr,6,6,"ng-container",0),s.YNc(1,Kn,3,5,"div",1)),2&Z&&(s.Q6J("ngIf",ke.scrollY),s.xp6(1),s.Q6J("ngIf",!ke.scrollY))},dependencies:[d.O5,d.tP,d.PC,v.xd,v.x0,v.N7,vi,Ao],encapsulation:2,changeDetection:0}),Le})(),Fo=(()=>{class Le{constructor(Z){this.templateRef=Z}static ngTemplateContextGuard(Z,ke){return!0}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.Rgc))},Le.\u0275dir=s.lG2({type:Le,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]}),Le})(),Hi=(()=>{class Le{constructor(){this.title=null,this.footer=null}}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-table-title",null!==ke.title)("ant-table-footer",null!==ke.footer)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(Z,ke){1&Z&&(s.YNc(0,xo,2,1,"ng-container",0),s.YNc(1,Uo,2,1,"ng-container",0)),2&Z&&(s.Q6J("nzStringTemplateOutlet",ke.title),s.xp6(1),s.Q6J("nzStringTemplateOutlet",ke.footer))},dependencies:[S.f],encapsulation:2,changeDetection:0}),Le})(),mi=(()=>{class Le{onPageSizeChange(Z){this.nzTableDataService.updatePageSize(Z)}onPageIndexChange(Z){this.nzTableDataService.updatePageIndex(Z)}constructor(Z,ke,$t,sn,Yn,uo,po){this.elementRef=Z,this.nzResizeObserver=ke,this.nzConfigService=$t,this.cdr=sn,this.nzTableStyleService=Yn,this.nzTableDataService=uo,this.directionality=po,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=Yo=>Yo,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzCustomColumn=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new s.vpe,this.nzPageIndexChange=new s.vpe,this.nzQueryParams=new s.vpe,this.nzCurrentPageDataChange=new s.vpe,this.nzCustomColumnChange=new s.vpe,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new R.x,this.templateMode$=new wt.X(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe((0,ze.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){const{pageIndexDistinct$:Z,pageSizeDistinct$:ke,listOfCurrentPageData$:$t,total$:sn,queryParams$:Yn,listOfCustomColumn$:uo}=this.nzTableDataService,{theadTemplate$:po,hasFixLeft$:Yo,hasFixRight$:ei}=this.nzTableStyleService;this.dir=this.directionality.value,this.directionality.change?.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.dir=lo,this.cdr.detectChanges()}),Yn.pipe((0,ze.R)(this.destroy$)).subscribe(this.nzQueryParams),Z.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{lo!==this.nzPageIndex&&(this.nzPageIndex=lo,this.nzPageIndexChange.next(lo))}),ke.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{lo!==this.nzPageSize&&(this.nzPageSize=lo,this.nzPageSizeChange.next(lo))}),sn.pipe((0,ze.R)(this.destroy$),(0,_t.h)(()=>this.nzFrontPagination)).subscribe(lo=>{lo!==this.nzTotal&&(this.nzTotal=lo,this.cdr.markForCheck())}),$t.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.data=lo,this.nzCurrentPageDataChange.next(lo),this.cdr.markForCheck()}),uo.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.nzCustomColumn=lo,this.nzCustomColumnChange.next(lo),this.cdr.markForCheck()}),po.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.theadTemplate=lo,this.cdr.markForCheck()}),Yo.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.hasFixLeft=lo,this.cdr.markForCheck()}),ei.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.hasFixRight=lo,this.cdr.markForCheck()}),(0,Ot.a)([sn,this.templateMode$]).pipe((0,J.U)(([lo,Vi])=>0===lo&&!Vi),(0,ze.R)(this.destroy$)).subscribe(lo=>{this.nzTableStyleService.setShowEmpty(lo)}),this.verticalScrollBarWidth=(0,V.D8)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.listOfAutoColWidth=lo,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe((0,ze.R)(this.destroy$)).subscribe(lo=>{this.listOfManualColWidth=lo,this.cdr.markForCheck()})}ngOnChanges(Z){const{nzScroll:ke,nzPageIndex:$t,nzPageSize:sn,nzFrontPagination:Yn,nzData:uo,nzCustomColumn:po,nzWidthConfig:Yo,nzNoResult:ei,nzTemplateMode:lo}=Z;$t&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),sn&&this.nzTableDataService.updatePageSize(this.nzPageSize),uo&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),po&&(this.nzCustomColumn=this.nzCustomColumn||[],this.nzTableDataService.updateListOfCustomColumn(this.nzCustomColumn)),Yn&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),ke&&this.setScrollOnChanges(),Yo&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),lo&&this.templateMode$.next(this.nzTemplateMode),ei&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,J.U)(([Z])=>{const{width:ke}=Z.target.getBoundingClientRect();return Math.floor(ke-(this.scrollY?this.verticalScrollBarWidth:0))}),(0,ze.R)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.SBq),s.Y36(U.D3),s.Y36(K.jY),s.Y36(s.sBO),s.Y36(En),s.Y36(Fn),s.Y36(t.Is,8))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["nz-table"]],contentQueries:function(Z,ke,$t){if(1&Z&&s.Suo($t,Fo,5),2&Z){let sn;s.iGM(sn=s.CRH())&&(ke.nzVirtualScrollDirective=sn.first)}},viewQuery:function(Z,ke){if(1&Z&&s.Gf(Io,5),2&Z){let $t;s.iGM($t=s.CRH())&&(ke.nzTableInnerScrollComponent=$t.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:4,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-table-wrapper-rtl","rtl"===ke.dir)("ant-table-custom-column",ke.nzCustomColumn.length)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzCustomColumn:"nzCustomColumn",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange",nzCustomColumnChange:"nzCustomColumnChange"},exportAs:["nzTable"],features:[s._Bn([En,Fn]),s.TTD],ngContentSelectors:Ze,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(Z,ke){if(1&Z&&(s.F$t(),s.TgZ(0,"nz-spin",0),s.YNc(1,yo,2,1,"ng-container",1),s.TgZ(2,"div",2,3),s.YNc(4,Xo,1,1,"nz-table-title-footer",4),s.YNc(5,bi,1,13,"nz-table-inner-scroll",5),s.YNc(6,Si,1,4,"ng-template",null,6,s.W1O),s.YNc(8,yr,1,1,"nz-table-title-footer",7),s.qZA(),s.YNc(9,qo,2,1,"ng-container",1),s.qZA(),s.YNc(10,ao,1,1,"ng-template",null,8,s.W1O),s.YNc(12,Ue,1,0,"ng-template",null,9,s.W1O)),2&Z){const $t=s.MAs(7);s.Q6J("nzDelay",ke.nzLoadingDelay)("nzSpinning",ke.nzLoading)("nzIndicator",ke.nzLoadingIndicator),s.xp6(1),s.Q6J("ngIf","both"===ke.nzPaginationPosition||"top"===ke.nzPaginationPosition),s.xp6(1),s.ekj("ant-table-rtl","rtl"===ke.dir)("ant-table-fixed-header",ke.nzData.length&&ke.scrollY)("ant-table-fixed-column",ke.scrollX)("ant-table-has-fix-left",ke.hasFixLeft)("ant-table-has-fix-right",ke.hasFixRight)("ant-table-bordered",ke.nzBordered)("nz-table-out-bordered",ke.nzOuterBordered&&!ke.nzBordered)("ant-table-middle","middle"===ke.nzSize)("ant-table-small","small"===ke.nzSize),s.xp6(2),s.Q6J("ngIf",ke.nzTitle),s.xp6(1),s.Q6J("ngIf",ke.scrollY||ke.scrollX)("ngIfElse",$t),s.xp6(3),s.Q6J("ngIf",ke.nzFooter),s.xp6(1),s.Q6J("ngIf","both"===ke.nzPaginationPosition||"bottom"===ke.nzPaginationPosition)}},dependencies:[d.O5,d.tP,rn,it.W,Hi,Co,Io],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzFrontPagination",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzTemplateMode",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzShowPagination",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzLoading",void 0),(0,F.gn)([(0,V.yF)()],Le.prototype,"nzOuterBordered",void 0),(0,F.gn)([(0,K.oS)()],Le.prototype,"nzLoadingIndicator",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzBordered",void 0),(0,F.gn)([(0,K.oS)()],Le.prototype,"nzSize",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzShowSizeChanger",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzHideOnSinglePage",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzShowQuickJumper",void 0),(0,F.gn)([(0,K.oS)(),(0,V.yF)()],Le.prototype,"nzSimple",void 0),Le})(),Ji=(()=>{class Le{constructor(Z){this.nzTableStyleService=Z,this.destroy$=new R.x,this.listOfFixedColumns$=new ge.t(1),this.listOfColumns$=new ge.t(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe((0,tt.w)(ke=>(0,Lt.T)(this.listOfFixedColumns$,...ke.map($t=>$t.changes$)).pipe((0,Nt.z)(()=>this.listOfFixedColumns$))),(0,ze.R)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,J.U)(ke=>ke.filter($t=>!1!==$t.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,J.U)(ke=>ke.filter($t=>!1!==$t.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe((0,tt.w)(ke=>(0,Lt.T)(this.listOfColumns$,...ke.map($t=>$t.changes$)).pipe((0,Nt.z)(()=>this.listOfColumns$))),(0,ze.R)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!Z}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe((0,Je.O)(this.listOfCellFixedDirective),(0,ze.R)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe((0,Je.O)(this.listOfNzThDirective),(0,ze.R)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(Z=>{Z.forEach(ke=>ke.setIsLastLeft(ke===Z[Z.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(Z=>{Z.forEach(ke=>ke.setIsFirstRight(ke===Z[0]))}),(0,Ot.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe((0,ze.R)(this.destroy$)).subscribe(([Z,ke])=>{ke.forEach(($t,sn)=>{if($t.isAutoLeft){const uo=ke.slice(0,sn).reduce((Yo,ei)=>Yo+(ei.colspan||ei.colSpan||1),0),po=Z.slice(0,uo).reduce((Yo,ei)=>Yo+ei,0);$t.setAutoLeftWidth(`${po}px`)}})}),(0,Ot.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe((0,ze.R)(this.destroy$)).subscribe(([Z,ke])=>{ke.forEach(($t,sn)=>{const Yn=ke[ke.length-sn-1];if(Yn.isAutoRight){const po=ke.slice(ke.length-sn,ke.length).reduce((ei,lo)=>ei+(lo.colspan||lo.colSpan||1),0),Yo=Z.slice(Z.length-po,Z.length).reduce((ei,lo)=>ei+lo,0);Yn.setAutoRightWidth(`${Yo}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(En,8))},Le.\u0275dir=s.lG2({type:Le,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(Z,ke,$t){if(1&Z&&(s.Suo($t,eo,4),s.Suo($t,dn,4)),2&Z){let sn;s.iGM(sn=s.CRH())&&(ke.listOfNzThDirective=sn),s.iGM(sn=s.CRH())&&(ke.listOfCellFixedDirective=sn)}},hostVars:2,hostBindings:function(Z,ke){2&Z&&s.ekj("ant-table-row",ke.isInsideTable)}}),Le})(),Fi=(()=>{class Le{constructor(Z,ke,$t,sn){this.elementRef=Z,this.renderer=ke,this.nzTableStyleService=$t,this.nzTableDataService=sn,this.destroy$=new R.x,this.isInsideTable=!1,this.nzSortOrderChange=new s.vpe,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const Z=this.listOfNzTrDirective.changes.pipe((0,Je.O)(this.listOfNzTrDirective),(0,J.U)(Yn=>Yn&&Yn.first)),ke=Z.pipe((0,tt.w)(Yn=>Yn?Yn.listOfColumnsChanges$:Gt.E),(0,ze.R)(this.destroy$));ke.subscribe(Yn=>this.nzTableStyleService.setListOfTh(Yn)),this.nzTableStyleService.enableAutoMeasure$.pipe((0,tt.w)(Yn=>Yn?ke:(0,Ke.of)([]))).pipe((0,ze.R)(this.destroy$)).subscribe(Yn=>this.nzTableStyleService.setListOfMeasureColumn(Yn));const $t=Z.pipe((0,tt.w)(Yn=>Yn?Yn.listOfFixedLeftColumnChanges$:Gt.E),(0,ze.R)(this.destroy$)),sn=Z.pipe((0,tt.w)(Yn=>Yn?Yn.listOfFixedRightColumnChanges$:Gt.E),(0,ze.R)(this.destroy$));$t.subscribe(Yn=>{this.nzTableStyleService.setHasFixLeft(0!==Yn.length)}),sn.subscribe(Yn=>{this.nzTableStyleService.setHasFixRight(0!==Yn.length)})}if(this.nzTableDataService){const Z=this.listOfNzThAddOnComponent.changes.pipe((0,Je.O)(this.listOfNzThAddOnComponent));Z.pipe((0,tt.w)(()=>(0,Lt.T)(...this.listOfNzThAddOnComponent.map(sn=>sn.manualClickOrder$))),(0,ze.R)(this.destroy$)).subscribe(sn=>{this.nzSortOrderChange.emit({key:sn.nzColumnKey,value:sn.sortOrder}),sn.nzSortFn&&!1===sn.nzSortPriority&&this.listOfNzThAddOnComponent.filter(uo=>uo!==sn).forEach(uo=>uo.clearSortOrder())}),Z.pipe((0,tt.w)(sn=>(0,Lt.T)(Z,...sn.map(Yn=>Yn.calcOperatorChange$)).pipe((0,Nt.z)(()=>Z))),(0,J.U)(sn=>sn.filter(Yn=>!!Yn.nzSortFn||!!Yn.nzFilterFn).map(Yn=>{const{nzSortFn:uo,sortOrder:po,nzFilterFn:Yo,nzFilterValue:ei,nzSortPriority:lo,nzColumnKey:Vi}=Yn;return{key:Vi,sortFn:uo,sortPriority:lo,sortOrder:po,filterFn:Yo,filterValue:ei}})),(0,rt.g)(0),(0,ze.R)(this.destroy$)).subscribe(sn=>{this.nzTableDataService.listOfCalcOperator$.next(sn)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Le.\u0275fac=function(Z){return new(Z||Le)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(En,8),s.Y36(Fn,8))},Le.\u0275cmp=s.Xpm({type:Le,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(Z,ke,$t){if(1&Z&&(s.Suo($t,Ji,5),s.Suo($t,ho,5)),2&Z){let sn;s.iGM(sn=s.CRH())&&(ke.listOfNzTrDirective=sn),s.iGM(sn=s.CRH())&&(ke.listOfNzThAddOnComponent=sn)}},viewQuery:function(Z,ke){if(1&Z&&s.Gf(re,7),2&Z){let $t;s.iGM($t=s.CRH())&&(ke.templateRef=$t.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:Ze,decls:3,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(Z,ke){1&Z&&(s.F$t(),s.YNc(0,Oe,1,0,"ng-template",null,0,s.W1O),s.YNc(2,zt,2,1,"ng-container",1)),2&Z&&(s.xp6(2),s.Q6J("ngIf",!ke.isInsideTable))},dependencies:[d.O5,d.tP],encapsulation:2,changeDetection:0}),Le})(),pi=(()=>{class Le{}return Le.\u0275fac=function(Z){return new(Z||Le)},Le.\u0275mod=s.oAB({type:Le}),Le.\u0275inj=s.cJS({imports:[t.vT,e.ip,k.u5,S.T,st.aF,P.Wr,w.b1,G.sL,d.ez,i.ud,_n,U.y7,it.j,Y.YI,M.PV,L.Xo,v.Cl]}),Le})()},9382:(xt,Se,a)=>{a.d(Se,{Ao:()=>_t,Fx:()=>Me,we:()=>le,xH:()=>Ze,xw:()=>rt});var t=a(5879),i=a(551),v=a(8324),d=a(6879),s=a(4300),k=a(2495),G=a(6028),U=a(2438),P=a(7394),S=a(927),w=a(6410),L=a(8645),Y=a(2096),M=a(3019),e=a(9773),F=a(9028),R=a(7921),ge=a(1374),ze=a(2181),K=a(5177),N=a(6814),V=a(3460),O=a(2787),A=a(532),x=a(8802),pe=a(9388),de=a(655),W=a(7754),ve=a(4190),Q=a(7131),ae=a(2831),fe=a(874),be=a(7032);function Ft(ye,mt){if(1&ye&&(t.ynx(0),t._UZ(1,"span",1),t.BQk()),2&ye){const Ae=mt.$implicit;t.xp6(1),t.Q6J("nzType",Ae)}}function Dt(ye,mt){if(1&ye&&(t.ynx(0),t._uU(1),t.BQk()),2&ye){const Ae=t.oxw().$implicit;t.xp6(1),t.hij(" ",Ae.tab.label," ")}}const nn=function(){return{visible:!1}};function Et(ye,mt){if(1&ye){const Ae=t.EpF();t.TgZ(0,"li",8),t.NdJ("click",function(){const ln=t.CHM(Ae).$implicit,At=t.oxw(2);return t.KtG(At.onSelect(ln))})("contextmenu",function(Bt){const At=t.CHM(Ae).$implicit,dt=t.oxw(2);return t.KtG(dt.onContextmenu(At,Bt))}),t.YNc(1,Dt,2,1,"ng-container",9),t.qZA()}if(2&ye){const Ae=mt.$implicit;t.ekj("ant-tabs-dropdown-menu-item-disabled",Ae.disabled),t.Q6J("nzSelected",Ae.active)("nzDisabled",Ae.disabled),t.xp6(1),t.Q6J("nzStringTemplateOutlet",Ae.tab.label)("nzStringTemplateOutletContext",t.DdM(6,nn))}}function Ht(ye,mt){if(1&ye&&(t.TgZ(0,"ul",6),t.YNc(1,Et,2,7,"li",7),t.qZA()),2&ye){const Ae=t.oxw();t.xp6(1),t.Q6J("ngForOf",Ae.items)}}function tn(ye,mt){if(1&ye){const Ae=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){t.CHM(Ae);const Bt=t.oxw();return t.KtG(Bt.addClicked.emit())}),t.qZA()}if(2&ye){const Ae=t.oxw();t.Q6J("addIcon",Ae.addIcon)}}const un=function(){return{minWidth:"46px"}},In=["navWarp"],Xe=["navList"];function Re(ye,mt){if(1&ye){const Ae=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){t.CHM(Ae);const Bt=t.oxw();return t.KtG(Bt.addClicked.emit())}),t.qZA()}if(2&ye){const Ae=t.oxw();t.Q6J("addIcon",Ae.addIcon)}}function Ct(ye,mt){}function je(ye,mt){if(1&ye&&(t.TgZ(0,"div",9),t.YNc(1,Ct,0,0,"ng-template",10),t.qZA()),2&ye){const Ae=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",Ae.extraTemplate)}}const Yt=["*"],qt=["nz-tab-body",""];function vn(ye,mt){}function Dn(ye,mt){if(1&ye&&(t.ynx(0),t.YNc(1,vn,0,0,"ng-template",1),t.BQk()),2&ye){const Ae=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",Ae.content)}}function Wt(ye,mt){if(1&ye&&(t.ynx(0),t._UZ(1,"span",1),t.BQk()),2&ye){const Ae=mt.$implicit;t.xp6(1),t.Q6J("nzType",Ae)}}const It=["contentTemplate"];function $e(ye,mt){1&ye&&t.Hsn(0)}function Ve(ye,mt){1&ye&&t.Hsn(0,1)}const Pe=[[["","nz-tab-link",""]],"*"],We=["[nz-tab-link]","*"];function He(ye,mt){if(1&ye&&(t.ynx(0),t._uU(1),t.BQk()),2&ye){const Ae=t.oxw().$implicit;t.xp6(1),t.Oqu(Ae.label)}}function we(ye,mt){if(1&ye){const Ae=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(Bt){t.CHM(Ae);const ln=t.oxw().index,At=t.oxw(2);return t.KtG(At.onClose(ln,Bt))}),t.qZA()}if(2&ye){const Ae=t.oxw().$implicit;t.Q6J("closeIcon",Ae.nzCloseIcon)}}const te=function(){return{visible:!0}};function ce(ye,mt){if(1&ye){const Ae=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(Bt){const ln=t.CHM(Ae),At=ln.$implicit,dt=ln.index,ft=t.oxw(2);return t.KtG(ft.clickNavItem(At,dt,Bt))})("contextmenu",function(Bt){const At=t.CHM(Ae).$implicit,dt=t.oxw(2);return t.KtG(dt.contextmenuNavItem(At,Bt))}),t.TgZ(1,"div",7),t.YNc(2,He,2,1,"ng-container",8),t.YNc(3,we,1,1,"button",9),t.qZA()()}if(2&ye){const Ae=mt.$implicit,at=mt.index,Bt=t.oxw(2);t.Udp("margin-right","horizontal"===Bt.position?Bt.nzTabBarGutter:null,"px")("margin-bottom","vertical"===Bt.position?Bt.nzTabBarGutter:null,"px"),t.ekj("ant-tabs-tab-active",Bt.nzSelectedIndex===at)("ant-tabs-tab-disabled",Ae.nzDisabled),t.xp6(1),t.Q6J("disabled",Ae.nzDisabled)("tab",Ae)("active",Bt.nzSelectedIndex===at),t.uIk("tabIndex",Bt.getTabIndex(Ae,at))("aria-disabled",Ae.nzDisabled)("aria-selected",Bt.nzSelectedIndex===at&&!Bt.nzHideAll)("aria-controls",Bt.getTabContentId(at)),t.xp6(1),t.Q6J("nzStringTemplateOutlet",Ae.label)("nzStringTemplateOutletContext",t.DdM(18,te)),t.xp6(1),t.Q6J("ngIf",Ae.nzClosable&&Bt.closable&&!Ae.nzDisabled)}}function De(ye,mt){if(1&ye){const Ae=t.EpF();t.TgZ(0,"nz-tabs-nav",4),t.NdJ("tabScroll",function(Bt){t.CHM(Ae);const ln=t.oxw();return t.KtG(ln.nzTabListScroll.emit(Bt))})("selectFocusedIndex",function(Bt){t.CHM(Ae);const ln=t.oxw();return t.KtG(ln.setSelectedIndex(Bt))})("addClicked",function(){t.CHM(Ae);const Bt=t.oxw();return t.KtG(Bt.onAdd())}),t.YNc(1,ce,4,19,"div",5),t.qZA()}if(2&ye){const Ae=t.oxw();t.Q6J("ngStyle",Ae.nzTabBarStyle)("selectedIndex",Ae.nzSelectedIndex||0)("inkBarAnimated",Ae.inkBarAnimated)("addable",Ae.addable)("addIcon",Ae.nzAddIcon)("hideBar",Ae.nzHideAll)("position",Ae.position)("extraTemplate",Ae.nzTabBarExtraContent),t.xp6(1),t.Q6J("ngForOf",Ae.tabs)}}function Ge(ye,mt){if(1&ye&&t._UZ(0,"div",11),2&ye){const Ae=mt.$implicit,at=mt.index,Bt=t.oxw();t.Q6J("active",Bt.nzSelectedIndex===at&&!Bt.nzHideAll)("content",Ae.content)("forceRender",Ae.nzForceRender)("tabPaneAnimated",Bt.tabPaneAnimated)}}let vt=(()=>{class ye{constructor(Ae){this.elementRef=Ae,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(t.SBq))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(Ae,at){1&Ae&&t.YNc(0,Ft,2,1,"ng-container",0),2&Ae&&t.Q6J("nzStringTemplateOutlet",at.addIcon)},dependencies:[i.Ls,v.f],encapsulation:2}),ye})(),rn=(()=>{class ye{get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}constructor(Ae,at,Bt){this.elementRef=Ae,this.ngZone=at,this.animationMode=Bt,this.position="horizontal",this.animated=!0}alignToElement(Ae){this.ngZone.runOutsideAngular(()=>{(0,d.e)(()=>this.setStyles(Ae))})}setStyles(Ae){const at=this.elementRef.nativeElement;"horizontal"===this.position?(at.style.top="",at.style.height="",at.style.left=this.getLeftPosition(Ae),at.style.width=this.getElementWidth(Ae)):(at.style.left="",at.style.width="",at.style.top=this.getTopPosition(Ae),at.style.height=this.getElementHeight(Ae))}getLeftPosition(Ae){return Ae?`${Ae.offsetLeft||0}px`:"0"}getElementWidth(Ae){return Ae?`${Ae.offsetWidth||0}px`:"0"}getTopPosition(Ae){return Ae?`${Ae.offsetTop||0}px`:"0"}getElementHeight(Ae){return Ae?`${Ae.offsetHeight||0}px`:"0"}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.QbO,8))},ye.\u0275dir=t.lG2({type:ye,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(Ae,at){2&Ae&&t.ekj("ant-tabs-ink-bar-animated",at._animated)},inputs:{position:"position",animated:"animated"}}),ye})(),_n=(()=>{class ye{constructor(Ae){this.elementRef=Ae,this.disabled=!1,this.active=!1,this.el=Ae.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(t.SBq))},ye.\u0275dir=t.lG2({type:ye,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",tab:"tab",active:"active"}}),ye})(),st=(()=>{class ye{constructor(Ae,at){this.cdr=Ae,this.elementRef=at,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new t.vpe,this.selected=new t.vpe,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(Ae){Ae.disabled||(Ae.tab.nzClick.emit(),this.selected.emit(Ae))}onContextmenu(Ae,at){Ae.disabled||Ae.tab.nzContextmenu.emit(at)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(Ae){Ae||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(t.sBO),t.Y36(t.SBq))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(Ae,at){2&Ae&&t.ekj("ant-tabs-nav-operations-hidden",0===at.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(Ae,at){if(1&Ae&&(t.TgZ(0,"button",0,1),t.NdJ("nzVisibleChange",function(ln){return at.menuVisChange(ln)})("mouseenter",function(){return at.showItems()}),t._UZ(2,"span",2),t.qZA(),t.TgZ(3,"nz-dropdown-menu",null,3),t.YNc(5,Ht,2,1,"ul",4),t.qZA(),t.YNc(6,tn,1,1,"button",5)),2&Ae){const Bt=t.MAs(4);t.Q6J("nzDropdownMenu",Bt)("nzOverlayStyle",t.DdM(5,un))("nzMatchWidthElement",null),t.xp6(5),t.Q6J("ngIf",at.menuOpened),t.xp6(1),t.Q6J("ngIf",at.addable)}},dependencies:[N.sg,N.O5,i.Ls,v.f,V.wO,V.r9,O.cm,O.RR,vt],encapsulation:2,changeDetection:0}),ye})();const Ot=.995**20;let Lt=(()=>{class ye{constructor(Ae,at){this.ngZone=Ae,this.elementRef=at,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new t.vpe,this.tabScroll=new t.vpe,this.onTouchEnd=Bt=>{if(!this.touchPosition)return;const ln=this.lastOffset,At=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,ln){const dt=ln.x/At,ft=ln.y/At,ne=Math.abs(dt),B=Math.abs(ft);if(Math.max(ne,B)<.1)return;let Te=dt,Ye=ft;this.motion=window.setInterval(()=>{Math.abs(Te)<.01&&Math.abs(Ye)<.01?window.clearInterval(this.motion):(Te*=Ot,Ye*=Ot,this.onOffset(20*Te,20*Ye,Bt))},20)}},this.onTouchMove=Bt=>{if(!this.touchPosition)return;Bt.preventDefault();const{screenX:ln,screenY:At}=Bt.touches[0],dt=ln-this.touchPosition.x,ft=At-this.touchPosition.y;this.onOffset(dt,ft,Bt);const ne=Date.now();this.lastTimeDiff=ne-this.lastTimestamp,this.lastTimestamp=ne,this.lastOffset={x:dt,y:ft},this.touchPosition={x:ln,y:At}},this.onTouchStart=Bt=>{const{screenX:ln,screenY:At}=Bt.touches[0];this.touchPosition={x:ln,y:At},window.clearInterval(this.motion)},this.onWheel=Bt=>{const{deltaX:ln,deltaY:At}=Bt;let dt;const ft=Math.abs(ln),ne=Math.abs(At);ft===ne?dt="x"===this.lastWheelDirection?ln:At:ft>ne?(dt=ln,this.lastWheelDirection="x"):(dt=At,this.lastWheelDirection="y");const B=Date.now(),Te=Math.abs(dt);(B-this.lastWheelTimestamp>100||Te-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-dt,-dt,Bt),(Bt.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=B,this.lastMixedWheel=Te}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular(()=>{const Ae=this.elementRef.nativeElement,at=(0,U.R)(Ae,"wheel"),Bt=(0,U.R)(Ae,"touchstart"),ln=(0,U.R)(Ae,"touchmove"),At=(0,U.R)(Ae,"touchend"),dt=new P.w0;return dt.add(this.subscribeWrap("wheel",at,this.onWheel)),dt.add(this.subscribeWrap("touchstart",Bt,this.onTouchStart)),dt.add(this.subscribeWrap("touchmove",ln,this.onTouchMove)),dt.add(this.subscribeWrap("touchend",At,this.onTouchEnd)),()=>{dt.unsubscribe()}})}subscribeWrap(Ae,at,Bt){return at.subscribe(ln=>{this.tabScroll.emit({type:Ae,event:ln}),ln.defaultPrevented||Bt(ln)})}onOffset(Ae,at,Bt){this.ngZone.run(()=>{this.offsetChange.emit({x:Ae,y:at,event:Bt})})}ngOnDestroy(){this.unsubscribe()}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(t.R0b),t.Y36(t.SBq))},ye.\u0275dir=t.lG2({type:ye,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}}),ye})();const Gt=typeof requestAnimationFrame<"u"?S.Z:w.E;let J=(()=>{class ye{get selectedIndex(){return this._selectedIndex}set selectedIndex(Ae){const at=(0,k.su)(Ae);this._selectedIndex!==at&&(this._selectedIndex=Ae,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(Ae))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(Ae){!this.isValidIndex(Ae)||this.focusIndex===Ae||!this.keyManager||this.keyManager.setActiveItem(Ae)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}constructor(Ae,at,Bt,ln,At){this.cdr=Ae,this.ngZone=at,this.viewportRuler=Bt,this.nzResizeObserver=ln,this.dir=At,this.indexFocused=new t.vpe,this.selectFocusedIndex=new t.vpe,this.addClicked=new t.vpe,this.tabScroll=new t.vpe,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new L.x,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}ngAfterViewInit(){const Ae=this.dir?this.dir.change.asObservable():(0,Y.of)(null),at=this.viewportRuler.change(150),Bt=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new s.Em(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),(0,d.e)(Bt),(0,M.T)(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe((0,e.R)(this.destroy$),(0,F.e)(16,Gt)).subscribe(()=>{Bt()}),(0,M.T)(Ae,at,this.items.changes).pipe((0,e.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(Bt),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe((0,e.R)(this.destroy$)).subscribe(ln=>{this.indexFocused.emit(ln),this.setTabFocus(ln),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(Ae){const at=this.items.toArray().findIndex(Bt=>Bt===Ae);-1!==at&&(this.keyManager.updateActiveItem(at),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(Ae)))}onOffsetChange(Ae){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId&&(this.transformX>=0&&Ae.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&Ae.x<0))return;Ae.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+Ae.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId&&(this.transformY>=0&&Ae.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&Ae.y<0))return;Ae.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+Ae.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(Ae){const at=this.navWarpRef.nativeElement.contains(Ae.target);if(!(0,G.Vb)(Ae)&&at)switch(Ae.keyCode){case G.oh:case G.LH:case G.SV:case G.JH:this.lockAnimation(),this.keyManager.onKeydown(Ae);break;case G.K5:case G.L_:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(Ae)}}isValidIndex(Ae){if(!this.items)return!0;const at=this.items?this.items.toArray()[Ae]:null;return!!at&&!at.disabled}scrollToTab(Ae){if(!this.items.find(Bt=>Bt===Ae))return;const at=this.items.toArray();if("horizontal"===this.position){let Bt=this.transformX;if("rtl"===this.getLayoutDirection()){const ln=at[0].left+at[0].width-Ae.left-Ae.width;lnthis.transformX+this.wrapperWidth&&(Bt=ln+Ae.width-this.wrapperWidth)}else Ae.left<-this.transformX?Bt=-Ae.left:Ae.left+Ae.width>-this.transformX+this.wrapperWidth&&(Bt=-(Ae.left+Ae.width-this.wrapperWidth));this.transformX=Bt,this.transformY=0,this.setTransform(Bt,0)}else{let Bt=this.transformY;Ae.top<-this.transformY?Bt=-Ae.top:Ae.top+Ae.height>-this.transformY+this.wrapperHeight&&(Bt=-(Ae.top+Ae.height-this.wrapperHeight)),this.transformY=Bt,this.transformX=0,this.setTransform(0,Bt)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1},150)})}setTransform(Ae,at){this.navListRef.nativeElement.style.transform=`translate(${Ae}px, ${at}px)`}clampTransformX(Ae){const at=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(at,Ae),0):Math.min(Math.max(at,Ae),0)}clampTransformY(Ae){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,Ae),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const Ae=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,at=Ae?Ae.elementRef.nativeElement:null;at&&this.inkBar.alignToElement(at.parentElement)}setPingStatus(){const Ae={top:!1,right:!1,bottom:!1,left:!1},at=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(Ae.right=this.transformX>0,Ae.left=this.transformX+this.wrapperWidth{const ln=`ant-tabs-nav-wrap-ping-${Bt}`;Ae[Bt]?at.classList.add(ln):at.classList.remove(ln)})}setVisibleRange(){let Ae,at,Bt,ln,At,dt;const ft=this.items.toArray(),ne={width:0,height:0,left:0,top:0,right:0},B=zn=>{let Wn;return Wn="right"===at?ft[0].left+ft[0].width-ft[zn].left-ft[zn].width:(ft[zn]||ne)[at],Wn};"horizontal"===this.position?(Ae="width",ln=this.wrapperWidth,At=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),dt=this.addButtonWidth,Bt=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(at="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthln&&(Te=ln-dt),!ft.length)return this.hiddenItems=[],void this.cdr.markForCheck();const Ye=ft.length;let yt=Ye;for(let zn=0;znBt+Te){yt=zn-1;break}let Kt=0;for(let zn=Ye-1;zn>=0;zn-=1)if(B(zn){class ye{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(Ae,at){2&Ae&&(t.uIk("tabindex",at.active?0:-1)("aria-hidden",!at.active),t.Udp("visibility",at.tabPaneAnimated?at.active?null:"hidden":null)("height",at.tabPaneAnimated?at.active?null:0:null)("overflow-y",at.tabPaneAnimated?at.active?null:"none":null)("display",at.tabPaneAnimated||at.active?null:"none"),t.ekj("ant-tabs-tabpane-active",at.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:qt,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(Ae,at){1&Ae&&t.YNc(0,Dn,2,1,"ng-container",0),2&Ae&&t.Q6J("ngIf",at.active||at.forceRender)},dependencies:[N.O5,N.tP],encapsulation:2,changeDetection:0}),ye})(),q=(()=>{class ye{constructor(){this.closeIcon="close"}}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(Ae,at){1&Ae&&t.YNc(0,Wt,2,1,"ng-container",0),2&Ae&&t.Q6J("nzStringTemplateOutlet",at.closeIcon)},dependencies:[i.Ls,v.f],encapsulation:2}),ye})(),Me=(()=>{class ye{constructor(Ae){this.templateRef=Ae}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(t.Rgc,1))},ye.\u0275dir=t.lG2({type:ye,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]}),ye})(),_t=(()=>{class ye{constructor(Ae,at){this.elementRef=Ae,this.routerLink=at}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(t.SBq),t.Y36(ve.rH,10))},ye.\u0275dir=t.lG2({type:ye,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]}),ye})(),tt=(()=>{class ye{}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275dir=t.lG2({type:ye,selectors:[["","nz-tab",""]],exportAs:["nzTab"]}),ye})();const Je=new t.OlP("NZ_TAB_SET");let rt=(()=>{class ye{get content(){return this.template||this.contentTemplate}get label(){return this.nzTitle||this.nzTabLinkTemplateDirective?.templateRef}constructor(Ae){this.closestTabSet=Ae,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new t.vpe,this.nzDeselect=new t.vpe,this.nzClick=new t.vpe,this.nzContextmenu=new t.vpe,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new L.x}ngOnChanges(Ae){const{nzTitle:at,nzDisabled:Bt,nzForceRender:ln}=Ae;(at||Bt||ln)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(Je))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["nz-tab"]],contentQueries:function(Ae,at,Bt){if(1&Ae&&(t.Suo(Bt,Me,5),t.Suo(Bt,tt,5,t.Rgc),t.Suo(Bt,_t,5)),2&Ae){let ln;t.iGM(ln=t.CRH())&&(at.nzTabLinkTemplateDirective=ln.first),t.iGM(ln=t.CRH())&&(at.template=ln.first),t.iGM(ln=t.CRH())&&(at.linkDirective=ln.first)}},viewQuery:function(Ae,at){if(1&Ae&&t.Gf(It,7),2&Ae){let Bt;t.iGM(Bt=t.CRH())&&(at.contentTemplate=Bt.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[t.TTD],ngContentSelectors:We,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(Ae,at){1&Ae&&(t.F$t(Pe),t.YNc(0,$e,1,0,"ng-template",null,0,t.W1O),t.YNc(2,Ve,1,0,"ng-template",null,1,t.W1O))},encapsulation:2,changeDetection:0}),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzClosable",void 0),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzDisabled",void 0),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzForceRender",void 0),ye})();class Nt{}let mn=0,Ze=(()=>{class ye{get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(Ae){this.indexToSelect=(0,k.su)(Ae,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}constructor(Ae,at,Bt,ln,At){this.nzConfigService=Ae,this.ngZone=at,this.cdr=Bt,this.directionality=ln,this.router=At,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new t.vpe(!0),this.nzSelectedIndexChange=new t.vpe,this.nzTabListScroll=new t.vpe,this.nzClose=new t.vpe,this.nzAdd=new t.vpe,this.allTabs=new t.n_E,this.tabs=new t.n_E,this.dir="ltr",this.destroy$=new L.x,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=P.w0.EMPTY,this.tabsSubscription=P.w0.EMPTY,this.canDeactivateSubscription=P.w0.EMPTY,this.tabSetId=mn++}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,e.R)(this.destroy$)).subscribe(Ae=>{this.dir=Ae,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this.setUpRouter())}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const at=this.tabs.toArray();for(let Bt=0;Bt{this.tabs.forEach((Bt,ln)=>Bt.isActive=ln===Ae),at||this.nzSelectedIndexChange.emit(Ae)})}this.tabs.forEach((at,Bt)=>{at.position=Bt-Ae,null!=this.selectedIndex&&0===at.position&&!at.origin&&(at.origin=Ae-this.selectedIndex)}),this.selectedIndex!==Ae&&(this.selectedIndex=Ae,this.cdr.markForCheck())}onClose(Ae,at){at.preventDefault(),at.stopPropagation(),this.nzClose.emit({index:Ae})}onAdd(){this.nzAdd.emit()}clampTabIndex(Ae){return Math.min(this.tabs.length-1,Math.max(Ae||0,0))}createChangeEvent(Ae){const at=new Nt;return at.index=Ae,this.tabs&&this.tabs.length&&(at.tab=this.tabs.toArray()[Ae],this.tabs.forEach((Bt,ln)=>{ln!==Ae&&Bt.nzDeselect.emit()}),at.tab.nzSelect.emit()),at}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=(0,M.T)(...this.tabs.map(Ae=>Ae.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe((0,R.O)(this.allTabs)).subscribe(Ae=>{this.tabs.reset(Ae.filter(at=>at.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(Ae,at){return"function"==typeof this.nzCanDeactivate?(0,W.lN)(this.nzCanDeactivate(Ae,at)).pipe((0,ge.P)(),(0,e.R)(this.destroy$)):(0,Y.of)(!0)}clickNavItem(Ae,at,Bt){Ae.nzDisabled||(Ae.nzClick.emit(),this.isRouterLinkClickEvent(at,Bt)||this.setSelectedIndex(at))}isRouterLinkClickEvent(Ae,at){const Bt=at.target;return!!this.nzLinkRouter&&!!this.tabs.toArray()[Ae]?.linkDirective?.elementRef.nativeElement.contains(Bt)}contextmenuNavItem(Ae,at){Ae.nzDisabled||Ae.nzContextmenu.emit(at)}setSelectedIndex(Ae){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,Ae).subscribe(at=>{at&&(this.nzSelectedIndex=Ae,this.tabNavBarRef.focusIndex=Ae,this.cdr.markForCheck())})}getTabIndex(Ae,at){return Ae.nzDisabled?null:this.selectedIndex===at?0:-1}getTabContentId(Ae){return`nz-tabs-${this.tabSetId}-tab-${Ae}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${be.Bq} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);this.router.events.pipe((0,e.R)(this.destroy$),(0,ze.h)(Ae=>Ae instanceof ve.m2),(0,R.O)(!0),(0,K.g)(0)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router.navigated){const Ae=this.findShouldActiveTabIndex();Ae!==this.selectedIndex&&this.setSelectedIndex(Ae),this.nzHideAll=-1===Ae}}findShouldActiveTabIndex(){const Ae=this.tabs.toArray(),at=this.isLinkActive(this.router);return Ae.findIndex(Bt=>{const ln=Bt.linkDirective;return!!ln&&at(ln.routerLink)})}isLinkActive(Ae){return at=>!!at&&Ae.isActive(at.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?`${this.getTabContentMarginValue()}%`:""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?`${this.getTabContentMarginValue()}%`:""}}return ye.\u0275fac=function(Ae){return new(Ae||ye)(t.Y36(fe.jY),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(pe.Is,8),t.Y36(ve.F0,8))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["nz-tabset"]],contentQueries:function(Ae,at,Bt){if(1&Ae&&t.Suo(Bt,rt,5),2&Ae){let ln;t.iGM(ln=t.CRH())&&(at.allTabs=ln)}},viewQuery:function(Ae,at){if(1&Ae&&t.Gf(J,5),2&Ae){let Bt;t.iGM(Bt=t.CRH())&&(at.tabNavBarRef=Bt.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(Ae,at){2&Ae&&t.ekj("ant-tabs-card","card"===at.nzType||"editable-card"===at.nzType)("ant-tabs-editable","editable-card"===at.nzType)("ant-tabs-editable-card","editable-card"===at.nzType)("ant-tabs-centered",at.nzCentered)("ant-tabs-rtl","rtl"===at.dir)("ant-tabs-top","top"===at.nzTabPosition)("ant-tabs-bottom","bottom"===at.nzTabPosition)("ant-tabs-left","left"===at.nzTabPosition)("ant-tabs-right","right"===at.nzTabPosition)("ant-tabs-default","default"===at.nzSize)("ant-tabs-small","small"===at.nzSize)("ant-tabs-large","large"===at.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[t._Bn([{provide:Je,useExisting:ye}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(Ae,at){1&Ae&&(t.YNc(0,De,2,9,"nz-tabs-nav",0),t.TgZ(1,"div",1)(2,"div",2),t.YNc(3,Ge,1,4,"div",3),t.qZA()()),2&Ae&&(t.Q6J("ngIf",at.tabs.length||at.addable),t.xp6(2),t.Udp("margin-left",at.getTabContentMarginLeft())("margin-right",at.getTabContentMarginRight()),t.ekj("ant-tabs-content-top","top"===at.nzTabPosition)("ant-tabs-content-bottom","bottom"===at.nzTabPosition)("ant-tabs-content-left","left"===at.nzTabPosition)("ant-tabs-content-right","right"===at.nzTabPosition)("ant-tabs-content-animated",at.tabPaneAnimated),t.xp6(1),t.Q6J("ngForOf",at.tabs))},dependencies:[N.sg,N.O5,N.PC,v.f,s.kH,J,_n,q,I],encapsulation:2}),(0,de.gn)([(0,fe.oS)()],ye.prototype,"nzType",void 0),(0,de.gn)([(0,fe.oS)()],ye.prototype,"nzSize",void 0),(0,de.gn)([(0,fe.oS)()],ye.prototype,"nzAnimated",void 0),(0,de.gn)([(0,fe.oS)()],ye.prototype,"nzTabBarGutter",void 0),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzHideAdd",void 0),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzCentered",void 0),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzHideAll",void 0),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzLinkRouter",void 0),(0,de.gn)([(0,W.yF)()],ye.prototype,"nzLinkExact",void 0),ye})(),le=(()=>{class ye{}return ye.\u0275fac=function(Ae){return new(Ae||ye)},ye.\u0275mod=t.oAB({type:ye}),ye.\u0275inj=t.cJS({imports:[pe.vT,N.ez,Q.Q8,i.PV,v.T,ae.ud,s.rt,A.ZD,O.b1]}),ye})()},5695:(xt,Se,a)=>{a.d(Se,{X:()=>M,j:()=>Y});var t=a(655),i=a(5879),v=a(8645),d=a(9773),s=a(3324),k=a(7754),G=a(9388),U=a(6814),P=a(551),S=a(6223);function w(e,F){if(1&e){const R=i.EpF();i.TgZ(0,"span",1),i.NdJ("click",function(ze){i.CHM(R);const K=i.oxw();return i.KtG(K.closeTag(ze))}),i.qZA()}}const L=["*"];let Y=(()=>{class e{constructor(R,ge,ze,K){this.cdr=R,this.renderer=ge,this.elementRef=ze,this.directionality=K,this.isPresetColor=!1,this.nzMode="default",this.nzChecked=!1,this.nzOnClose=new i.vpe,this.nzCheckedChange=new i.vpe,this.dir="ltr",this.destroy$=new v.x}updateCheckedStatus(){"checkable"===this.nzMode&&(this.nzChecked=!this.nzChecked,this.nzCheckedChange.emit(this.nzChecked))}closeTag(R){this.nzOnClose.emit(R),R.defaultPrevented||this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}clearPresetColor(){const R=this.elementRef.nativeElement,ge=new RegExp(`(ant-tag-(?:${[...s.uf,...s.Bh].join("|")}))`,"g"),ze=R.classList.toString(),K=[];let N=ge.exec(ze);for(;null!==N;)K.push(N[1]),N=ge.exec(ze);R.classList.remove(...K)}setPresetColor(){const R=this.elementRef.nativeElement;this.clearPresetColor(),this.isPresetColor=!!this.nzColor&&((0,s.o2)(this.nzColor)||(0,s.M8)(this.nzColor)),this.isPresetColor&&R.classList.add(`ant-tag-${this.nzColor}`)}ngOnInit(){this.directionality.change?.pipe((0,d.R)(this.destroy$)).subscribe(R=>{this.dir=R,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(R){const{nzColor:ge}=R;ge&&this.setPresetColor()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(R){return new(R||e)(i.Y36(i.sBO),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(G.Is,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["nz-tag"]],hostAttrs:[1,"ant-tag"],hostVars:10,hostBindings:function(R,ge){1&R&&i.NdJ("click",function(){return ge.updateCheckedStatus()}),2&R&&(i.Udp("background-color",ge.isPresetColor?"":ge.nzColor),i.ekj("ant-tag-has-color",ge.nzColor&&!ge.isPresetColor)("ant-tag-checkable","checkable"===ge.nzMode)("ant-tag-checkable-checked",ge.nzChecked)("ant-tag-rtl","rtl"===ge.dir))},inputs:{nzMode:"nzMode",nzColor:"nzColor",nzChecked:"nzChecked"},outputs:{nzOnClose:"nzOnClose",nzCheckedChange:"nzCheckedChange"},exportAs:["nzTag"],features:[i.TTD],ngContentSelectors:L,decls:2,vars:1,consts:[["nz-icon","","nzType","close","class","ant-tag-close-icon","tabindex","-1",3,"click",4,"ngIf"],["nz-icon","","nzType","close","tabindex","-1",1,"ant-tag-close-icon",3,"click"]],template:function(R,ge){1&R&&(i.F$t(),i.Hsn(0),i.YNc(1,w,1,0,"span",0)),2&R&&(i.xp6(1),i.Q6J("ngIf","closeable"===ge.nzMode))},dependencies:[U.O5,P.Ls],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,k.yF)()],e.prototype,"nzChecked",void 0),e})(),M=(()=>{class e{}return e.\u0275fac=function(R){return new(R||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[G.vT,U.ez,S.u5,P.PV]}),e})()},6109:(xt,Se,a)=>{a.d(Se,{Mg:()=>V,SY:()=>x,XK:()=>pe,cg:()=>de,pu:()=>A});var t=a(655),i=a(5879),v=a(4194),d=a(3324),s=a(7754),k=a(8645),G=a(6410),U=a(3997),P=a(9773),S=a(2181),w=a(5177),L=a(5448),Y=a(331),M=a(874),e=a(9388),F=a(6814),R=a(9594),ge=a(8324);const ze=["overlay"];function K(W,ve){if(1&W&&(i.ynx(0),i._uU(1),i.BQk()),2&W){const Q=i.oxw(2);i.xp6(1),i.Oqu(Q.nzTitle)}}function N(W,ve){if(1&W&&(i.TgZ(0,"div",2)(1,"div",3)(2,"div",4),i._UZ(3,"span",5),i.qZA(),i.TgZ(4,"div",6),i.YNc(5,K,2,1,"ng-container",7),i.qZA()()()),2&W){const Q=i.oxw();i.ekj("ant-tooltip-rtl","rtl"===Q.dir),i.Q6J("ngClass",Q._classMap)("ngStyle",Q.nzOverlayStyle)("@.disabled",!(null==Q.noAnimation||!Q.noAnimation.nzNoAnimation))("nzNoAnimation",null==Q.noAnimation?null:Q.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),i.xp6(3),i.Q6J("ngStyle",Q._contentStyleMap),i.xp6(1),i.Q6J("ngStyle",Q._contentStyleMap),i.xp6(1),i.Q6J("nzStringTemplateOutlet",Q.nzTitle)("nzStringTemplateOutletContext",Q.nzTitleContext)}}let V=(()=>{class W{get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const Q=this.placement;return Array.isArray(Q)&&Q.length>0?Q:"string"==typeof Q&&Q?[Q]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}constructor(Q,ae,fe,be,Ft,Dt){this.elementRef=Q,this.hostView=ae,this.resolver=fe,this.renderer=be,this.noAnimation=Ft,this.nzConfigService=Dt,this.visibleChange=new i.vpe,this.internalVisible=!1,this.destroy$=new k.x,this.triggerDisposables=[]}ngOnChanges(Q){const{trigger:ae}=Q;ae&&!ae.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(Q)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const Q=this.componentRef;this.component=Q.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),Q.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const ae=this.component.nzVisibleChange.pipe((0,U.x)());ae.pipe((0,P.R)(this.destroy$)).subscribe(fe=>{this.internalVisible=fe,this.visibleChange.emit(fe)}),ae.pipe((0,S.h)(fe=>fe),(0,w.g)(0,G.E),(0,S.h)(()=>!!this.component?.overlay?.overlayRef),(0,P.R)(this.destroy$)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const Q=this.elementRef.nativeElement,ae=this.trigger;if(this.removeTriggerListeners(),"hover"===ae){let fe;this.triggerDisposables.push(this.renderer.listen(Q,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(Q,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!fe&&(fe=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(fe,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(fe,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===ae?(this.triggerDisposables.push(this.renderer.listen(Q,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(Q,"focusout",()=>this.hide()))):"click"===ae&&this.triggerDisposables.push(this.renderer.listen(Q,"click",fe=>{fe.preventDefault(),this.show()}))}updatePropertiesByChanges(Q){this.updatePropertiesByKeys(Object.keys(Q))}updatePropertiesByKeys(Q){const ae={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],...this.getProxyPropertyMap()};(Q||Object.keys(ae).filter(fe=>!fe.startsWith("directive"))).forEach(fe=>{if(ae[fe]){const[be,Ft]=ae[fe];this.updateComponentValue(be,Ft())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(Q,ae){typeof ae<"u"&&(this.component[Q]=ae)}delayEnterLeave(Q,ae,fe=-1){this.delayTimer?this.clearTogglingTimer():fe>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,ae?this.show():this.hide()},1e3*fe):ae&&Q?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(Q=>Q()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}}return W.\u0275fac=function(Q){return new(Q||W)(i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(i._Vd),i.Y36(i.Qsj),i.Y36(Y.P),i.Y36(M.jY))},W.\u0275dir=i.lG2({type:W,features:[i.TTD]}),W})(),O=(()=>{class W{set nzVisible(Q){const ae=(0,s.sw)(Q);this._visible!==ae&&(this._visible=ae,this.nzVisibleChange.next(ae))}get nzVisible(){return this._visible}set nzTrigger(Q){this._trigger=Q}get nzTrigger(){return this._trigger}set nzPlacement(Q){const ae=Q.map(fe=>L.yW[fe]);this._positions=[...ae,...L.Ek]}constructor(Q,ae,fe){this.cdr=Q,this.directionality=ae,this.noAnimation=fe,this.nzTitle=null,this.nzContent=null,this.nzArrowPointAtCenter=!1,this.nzOverlayStyle={},this.nzBackdrop=!1,this.nzVisibleChange=new k.x,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...L.Ek],this.destroy$=new k.x}ngOnInit(){this.directionality.change?.pipe((0,P.R)(this.destroy$)).subscribe(Q=>{this.dir=Q,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(Q){this.preferredPlacement=(0,L.d_)(Q),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(Q){this.origin=Q,this.cdr.markForCheck()}onClickOutside(Q){!this.origin.nativeElement.contains(Q.target)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}}return W.\u0275fac=function(Q){return new(Q||W)(i.Y36(i.sBO),i.Y36(e.Is,8),i.Y36(Y.P))},W.\u0275dir=i.lG2({type:W,viewQuery:function(Q,ae){if(1&Q&&i.Gf(ze,5),2&Q){let fe;i.iGM(fe=i.CRH())&&(ae.overlay=fe.first)}}}),W})();function A(W){return!(W instanceof i.Rgc||""!==W&&(0,s.DX)(W))}let x=(()=>{class W extends V{constructor(Q,ae,fe,be,Ft){super(Q,ae,fe,be,Ft),this.titleContext=null,this.trigger="hover",this.placement="top",this.visibleChange=new i.vpe,this.componentRef=this.hostView.createComponent(pe)}getProxyPropertyMap(){return{...super.getProxyPropertyMap(),nzTooltipColor:["nzColor",()=>this.nzTooltipColor],nzTooltipTitleContext:["nzTitleContext",()=>this.titleContext]}}}return W.\u0275fac=function(Q){return new(Q||W)(i.Y36(i.SBq),i.Y36(i.s_b),i.Y36(i._Vd),i.Y36(i.Qsj),i.Y36(Y.P,9))},W.\u0275dir=i.lG2({type:W,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(Q,ae){2&Q&&i.ekj("ant-tooltip-open",ae.visible)},inputs:{title:["nzTooltipTitle","title"],titleContext:["nzTooltipTitleContext","titleContext"],directiveTitle:["nz-tooltip","directiveTitle"],trigger:["nzTooltipTrigger","trigger"],placement:["nzTooltipPlacement","placement"],origin:["nzTooltipOrigin","origin"],visible:["nzTooltipVisible","visible"],mouseEnterDelay:["nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzTooltipOverlayClassName","overlayClassName"],overlayStyle:["nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:["nzTooltipArrowPointAtCenter","arrowPointAtCenter"],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[i.qOj]}),(0,t.gn)([(0,s.yF)()],W.prototype,"arrowPointAtCenter",void 0),W})(),pe=(()=>{class W extends O{constructor(Q,ae,fe){super(Q,ae,fe),this.nzTitle=null,this.nzTitleContext=null,this._contentStyleMap={}}isEmpty(){return A(this.nzTitle)}updateStyles(){const Q=this.nzColor&&(0,d.o2)(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:Q},this._contentStyleMap={backgroundColor:this.nzColor&&!Q?this.nzColor:null}}}return W.\u0275fac=function(Q){return new(Q||W)(i.Y36(i.sBO),i.Y36(e.Is,8),i.Y36(Y.P,9))},W.\u0275cmp=i.Xpm({type:W,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[i.qOj],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(Q,ae){1&Q&&(i.YNc(0,N,6,11,"ng-template",0,1,i.W1O),i.NdJ("overlayOutsideClick",function(be){return ae.onClickOutside(be)})("detach",function(){return ae.hide()})("positionChange",function(be){return ae.onPositionChange(be)})),2&Q&&i.Q6J("cdkConnectedOverlayOrigin",ae.origin)("cdkConnectedOverlayOpen",ae._visible)("cdkConnectedOverlayPositions",ae._positions)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",ae.nzArrowPointAtCenter)},dependencies:[F.mk,F.PC,R.pI,ge.f,L.hQ,Y.P],encapsulation:2,data:{animation:[v.$C]},changeDetection:0}),W})(),de=(()=>{class W{}return W.\u0275fac=function(Q){return new(Q||W)},W.\u0275mod=i.oAB({type:W}),W.\u0275inj=i.cJS({imports:[e.vT,F.ez,R.U8,ge.T,L.e4,Y.g]}),W})()},2392:(xt,Se,a)=>{a.d(Se,{ZU:()=>He,ZJ:()=>we});var t=a(9388),i=a(342),v=a(2831),d=a(6814),s=a(5879),k=a(8324);let G=(()=>{class te{}return te.\u0275fac=function(De){return new(De||te)},te.\u0275dir=s.lG2({type:te,selectors:[["button","nz-trans-button",""]],hostVars:8,hostBindings:function(De,Ge){2&De&&s.Udp("border","0")("background","transparent")("padding","0")("line-height","inherit")}}),te})(),U=(()=>{class te{}return te.\u0275fac=function(De){return new(De||te)},te.\u0275mod=s.oAB({type:te}),te.\u0275inj=s.cJS({imports:[d.ez]}),te})();var P=a(1752),S=a(551),w=a(824),L=a(6109),Y=a(8645),M=a(5619),e=a(5592),F=a(2438),R=a(6232),ge=a(9666),ze=a(7394),K=a(9773),N=a(4664),V=a(8180),O=a(2460),A=a(6028),x=a(9087),pe=a(655),de=a(874),W=a(6879),ve=a(7754);function Q(te,ce){if(1&te&&(s.ynx(0),s._UZ(1,"span",2),s.BQk()),2&te){const De=ce.$implicit;s.xp6(1),s.Q6J("nzType",De)}}const ae=["textarea"];function fe(te,ce){if(1&te){const De=s.EpF();s.TgZ(0,"textarea",2,3),s.NdJ("blur",function(){s.CHM(De);const vt=s.oxw();return s.KtG(vt.confirm())}),s.qZA(),s.TgZ(2,"button",4),s.NdJ("click",function(){s.CHM(De);const vt=s.oxw();return s.KtG(vt.confirm())}),s._UZ(3,"span",5),s.qZA()}}function be(te,ce){if(1&te&&(s.ynx(0),s._UZ(1,"span",8),s.BQk()),2&te){const De=ce.$implicit;s.xp6(1),s.Q6J("nzType",De)}}function Ft(te,ce){if(1&te){const De=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){s.CHM(De);const vt=s.oxw();return s.KtG(vt.onClick())}),s.YNc(1,be,2,1,"ng-container",7),s.qZA()}if(2&te){const De=s.oxw();s.Q6J("nzTooltipTitle",null===De.tooltip?null:De.tooltip||(null==De.locale?null:De.locale.edit)),s.xp6(1),s.Q6J("nzStringTemplateOutlet",De.icon)}}const Dt=["ellipsisContainer"],nn=["expandable"],Et=["contentTemplate"];function Ht(te,ce){1&te&&s.Hsn(0,0,["*ngIf","!content"])}function tn(te,ce){if(1&te&&(s.YNc(0,Ht,1,0,"ng-content",1),s._uU(1)),2&te){const De=ce.content;s.Q6J("ngIf",!De),s.xp6(1),s.hij(" ",De," ")}}function un(te,ce){}function In(te,ce){if(1&te&&(s.ynx(0),s._uU(1),s.BQk()),2&te){const De=s.oxw(3);s.xp6(1),s.Oqu(De.nzSuffix)}}const Xe=function(te){return{content:te}};function Re(te,ce){if(1&te&&(s.ynx(0),s.YNc(1,un,0,0,"ng-template",6),s.YNc(2,In,2,1,"ng-container",1),s.BQk()),2&te){const De=s.oxw(2),Ge=s.MAs(1);s.xp6(1),s.Q6J("ngTemplateOutlet",Ge)("ngTemplateOutletContext",s.VKq(3,Xe,De.nzContent)),s.xp6(1),s.Q6J("ngIf",De.nzSuffix)}}function Ct(te,ce){if(1&te&&(s.ynx(0),s._uU(1),s.BQk()),2&te){const De=s.oxw(3);s.xp6(1),s.Oqu(De.ellipsisStr)}}function je(te,ce){if(1&te&&(s.ynx(0),s._uU(1),s.BQk()),2&te){const De=s.oxw(3);s.xp6(1),s.Oqu(De.nzSuffix)}}function Yt(te,ce){if(1&te){const De=s.EpF();s.TgZ(0,"a",9,10),s.NdJ("click",function(){s.CHM(De);const vt=s.oxw(3);return s.KtG(vt.onExpand())}),s._uU(2),s.qZA()}if(2&te){const De=s.oxw(3);s.xp6(2),s.hij(" ",null==De.locale?null:De.locale.expand," ")}}function qt(te,ce){if(1&te&&(s._UZ(0,"span",null,7),s.YNc(2,Ct,2,1,"ng-container",1),s.YNc(3,je,2,1,"ng-container",1),s.YNc(4,Yt,3,1,"a",8)),2&te){const De=s.oxw(2);s.xp6(2),s.Q6J("ngIf",De.isEllipsis),s.xp6(1),s.Q6J("ngIf",De.nzSuffix),s.xp6(1),s.Q6J("ngIf",De.nzExpandable&&De.isEllipsis)}}function vn(te,ce){if(1&te&&(s.ynx(0),s.YNc(1,Re,3,5,"ng-container",4),s.YNc(2,qt,5,3,"ng-template",null,5,s.W1O),s.BQk()),2&te){const De=s.MAs(3),Ge=s.oxw();s.xp6(1),s.Q6J("ngIf",Ge.expanded||!Ge.hasOperationsWithEllipsis&&1===Ge.nzEllipsisRows&&!Ge.hasEllipsisObservers||Ge.canCssEllipsis||Ge.nzSuffix&&Ge.expanded)("ngIfElse",De)}}function Dn(te,ce){if(1&te){const De=s.EpF();s.TgZ(0,"nz-text-edit",11),s.NdJ("endEditing",function(vt){s.CHM(De);const rn=s.oxw();return s.KtG(rn.onEndEditing(vt))})("startEditing",function(){s.CHM(De);const vt=s.oxw();return s.KtG(vt.onStartEditing())}),s.qZA()}if(2&te){const De=s.oxw();s.Q6J("text",De.nzContent)("icon",De.nzEditIcon)("tooltip",De.nzEditTooltip)}}function Wt(te,ce){if(1&te){const De=s.EpF();s.TgZ(0,"nz-text-copy",12),s.NdJ("textCopy",function(vt){s.CHM(De);const rn=s.oxw();return s.KtG(rn.onTextCopy(vt))}),s.qZA()}if(2&te){const De=s.oxw();s.Q6J("text",De.copyText)("tooltips",De.nzCopyTooltips)("icons",De.nzCopyIcons)}}const It=["*"];let $e=(()=>{class te{constructor(De,Ge,vt,rn){this.host=De,this.cdr=Ge,this.clipboard=vt,this.i18n=rn,this.copied=!1,this.copyId=-1,this.nativeElement=this.host.nativeElement,this.copyTooltip=null,this.copedTooltip=null,this.copyIcon="copy",this.copedIcon="check",this.destroy$=new Y.x,this.icons=["copy","check"],this.textCopy=new s.vpe}ngOnInit(){this.i18n.localeChange.pipe((0,K.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.updateTooltips(),this.cdr.markForCheck()})}ngOnChanges(De){const{tooltips:Ge,icons:vt}=De;Ge&&this.updateTooltips(),vt&&this.updateIcons()}ngOnDestroy(){clearTimeout(this.copyId),this.destroy$.next(!0),this.destroy$.complete()}onClick(){if(this.copied)return;this.copied=!0,this.cdr.detectChanges();const De=this.text;this.textCopy.emit(De),this.clipboard.copy(De),this.onCopied()}onCopied(){clearTimeout(this.copyId),this.copyId=setTimeout(()=>{this.copied=!1,this.cdr.detectChanges()},3e3)}updateTooltips(){if(null===this.tooltips)this.copedTooltip=null,this.copyTooltip=null;else if(Array.isArray(this.tooltips)){const[De,Ge]=this.tooltips;this.copyTooltip=De||this.locale?.copy,this.copedTooltip=Ge||this.locale?.copied}else this.copyTooltip=this.locale?.copy,this.copedTooltip=this.locale?.copied;this.cdr.markForCheck()}updateIcons(){const[De,Ge]=this.icons;this.copyIcon=De,this.copedIcon=Ge,this.cdr.markForCheck()}}return te.\u0275fac=function(De){return new(De||te)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(i.TU),s.Y36(P.wi))},te.\u0275cmp=s.Xpm({type:te,selectors:[["nz-text-copy"]],inputs:{text:"text",tooltips:"tooltips",icons:"icons"},outputs:{textCopy:"textCopy"},exportAs:["nzTextCopy"],features:[s.TTD],decls:2,vars:4,consts:[["type","button","nz-tooltip","","nz-trans-button","",1,"ant-typography-copy",3,"nzTooltipTitle","click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(De,Ge){1&De&&(s.TgZ(0,"button",0),s.NdJ("click",function(){return Ge.onClick()}),s.YNc(1,Q,2,1,"ng-container",1),s.qZA()),2&De&&(s.ekj("ant-typography-copy-success",Ge.copied),s.Q6J("nzTooltipTitle",Ge.copied?Ge.copedTooltip:Ge.copyTooltip),s.xp6(1),s.Q6J("nzStringTemplateOutlet",Ge.copied?Ge.copedIcon:Ge.copyIcon))},dependencies:[S.Ls,L.SY,G,k.f],encapsulation:2,changeDetection:0}),te})(),Ve=(()=>{class te{set textarea(De){this.textarea$.next(De)}constructor(De,Ge,vt,rn,_n){this.ngZone=De,this.host=Ge,this.cdr=vt,this.i18n=rn,this.destroy$=_n,this.editing=!1,this.icon="edit",this.startEditing=new s.vpe,this.endEditing=new s.vpe(!0),this.nativeElement=this.host.nativeElement,this.textarea$=new M.X(null)}ngOnInit(){this.i18n.localeChange.pipe((0,K.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.cdr.markForCheck()}),this.textarea$.pipe((0,N.w)(De=>De?new e.y(Ge=>this.ngZone.runOutsideAngular(()=>(0,F.R)(De.nativeElement,"keydown").subscribe(Ge))):R.E),(0,K.R)(this.destroy$)).subscribe(De=>{De.keyCode!==A.hY&&De.keyCode!==A.K5||this.ngZone.run(()=>{De.keyCode===A.hY?this.onCancel():this.onEnter(De),this.cdr.markForCheck()})}),this.textarea$.pipe((0,N.w)(De=>De?new e.y(Ge=>this.ngZone.runOutsideAngular(()=>(0,F.R)(De.nativeElement,"input").subscribe(Ge))):R.E),(0,K.R)(this.destroy$)).subscribe(De=>{this.currentText=De.target.value})}onClick(){this.beforeText=this.text,this.currentText=this.beforeText,this.editing=!0,this.startEditing.emit(),this.focusAndSetValue()}confirm(){this.editing=!1,this.endEditing.emit(this.currentText)}onEnter(De){De.stopPropagation(),De.preventDefault(),this.confirm()}onCancel(){this.currentText=this.beforeText,this.confirm()}focusAndSetValue(){const De=this.ngZone.isStable?(0,ge.D)(Promise.resolve()):this.ngZone.onStable.pipe((0,V.q)(1));this.ngZone.runOutsideAngular(()=>{De.pipe((0,O.M)(this.textarea$),(0,K.R)(this.destroy$)).subscribe(([,Ge])=>{Ge&&(Ge.nativeElement.focus(),Ge.nativeElement.value=this.currentText||"",this.autosizeDirective.resizeToFitContent(),this.cdr.markForCheck())})})}}return te.\u0275fac=function(De){return new(De||te)(s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(P.wi),s.Y36(x.kn))},te.\u0275cmp=s.Xpm({type:te,selectors:[["nz-text-edit"]],viewQuery:function(De,Ge){if(1&De&&(s.Gf(ae,5),s.Gf(w.rh,5)),2&De){let vt;s.iGM(vt=s.CRH())&&(Ge.textarea=vt.first),s.iGM(vt=s.CRH())&&(Ge.autosizeDirective=vt.first)}},inputs:{text:"text",icon:"icon",tooltip:"tooltip"},outputs:{startEditing:"startEditing",endEditing:"endEditing"},exportAs:["nzTextEdit"],features:[s._Bn([x.kn])],decls:3,vars:2,consts:[[3,"ngIf","ngIfElse"],["notEditing",""],["nz-input","","nzAutosize","",3,"blur"],["textarea",""],["nz-trans-button","",1,"ant-typography-edit-content-confirm",3,"click"],["nz-icon","","nzType","enter"],["nz-tooltip","","nz-trans-button","",1,"ant-typography-edit",3,"nzTooltipTitle","click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(De,Ge){if(1&De&&(s.YNc(0,fe,4,0,"ng-template",0),s.YNc(1,Ft,2,2,"ng-template",null,1,s.W1O)),2&De){const vt=s.MAs(2);s.Q6J("ngIf",Ge.editing)("ngIfElse",vt)}},dependencies:[d.O5,S.Ls,L.SY,w.Zp,w.rh,G,k.f],encapsulation:2,changeDetection:0}),te})(),He=(()=>{class te{get hasEllipsisObservers(){return this.nzOnEllipsis.observers.length>0}get canCssEllipsis(){return this.nzEllipsis&&this.cssEllipsis&&!this.expanded&&!this.hasEllipsisObservers}get hasOperationsWithEllipsis(){return(this.nzCopyable||this.nzEditable||this.nzExpandable)&&this.nzEllipsis}get copyText(){return"string"==typeof this.nzCopyText?this.nzCopyText:this.nzContent}constructor(De,Ge,vt,rn,_n,st,it,lt,wt,Ot){this.nzConfigService=De,this.host=Ge,this.cdr=vt,this.viewContainerRef=rn,this.renderer=_n,this.platform=st,this.i18n=it,this.resizeService=wt,this.directionality=Ot,this._nzModuleName="typography",this.nzCopyable=!1,this.nzEditable=!1,this.nzDisabled=!1,this.nzExpandable=!1,this.nzEllipsis=!1,this.nzCopyTooltips=void 0,this.nzCopyIcons=["copy","check"],this.nzEditTooltip=void 0,this.nzEditIcon="edit",this.nzEllipsisRows=1,this.nzContentChange=new s.vpe,this.nzCopy=new s.vpe,this.nzExpandChange=new s.vpe,this.nzOnEllipsis=new s.vpe,this.expandableBtnElementCache=null,this.editing=!1,this.cssEllipsis=!1,this.isEllipsis=!0,this.expanded=!1,this.ellipsisStr="...",this.dir="ltr",this.viewInit=!1,this.rfaId=-1,this.destroy$=new Y.x,this.windowResizeSubscription=ze.w0.EMPTY,this.document=lt}onTextCopy(De){this.nzCopy.emit(De)}onStartEditing(){this.editing=!0}onEndEditing(De){this.editing=!1,this.nzContentChange.emit(De),this.nzContent===De&&this.renderOnNextFrame(),this.cdr.markForCheck()}onExpand(){this.isEllipsis=!1,this.expanded=!0,this.nzExpandChange.emit(),this.nzOnEllipsis.emit(!1)}canUseCSSEllipsis(){return!(this.nzEditable||this.nzCopyable||this.nzExpandable||this.nzSuffix||this.hasEllipsisObservers)&&(0,ve.GL)(1===this.nzEllipsisRows?"textOverflow":"webkitLineClamp")}renderOnNextFrame(){(0,W.h)(this.rfaId),this.viewInit&&this.nzEllipsis&&!(this.nzEllipsisRows<0)&&!this.expanded&&this.platform.isBrowser&&(this.rfaId=(0,W.e)(()=>{this.syncEllipsis()}))}getOriginContentViewRef(){const De=this.viewContainerRef.createEmbeddedView(this.contentTemplate,{content:this.nzContent});return De.detectChanges(),{viewRef:De,removeView:()=>{this.viewContainerRef.remove(this.viewContainerRef.indexOf(De))}}}syncEllipsis(){if(this.cssEllipsis)return;const{viewRef:De,removeView:Ge}=this.getOriginContentViewRef(),vt=[this.textCopyRef,this.textEditRef].filter(wt=>wt&&wt.nativeElement).map(wt=>wt.nativeElement),rn=this.getExpandableBtnElement();rn&&vt.push(rn);const{contentNodes:_n,text:st,ellipsis:it}=(0,ve.L8)(this.host.nativeElement,this.nzEllipsisRows,De.rootNodes,vt,this.ellipsisStr,this.nzSuffix);Ge(),this.ellipsisText=st,it!==this.isEllipsis&&(this.isEllipsis=it,this.nzOnEllipsis.emit(it));const lt=this.ellipsisContainer.nativeElement;for(;lt.firstChild;)this.renderer.removeChild(lt,lt.firstChild);_n.forEach(wt=>{this.renderer.appendChild(lt,wt.cloneNode(!0))}),this.cdr.markForCheck()}getExpandableBtnElement(){if(this.nzExpandable){const De=this.locale?this.locale.expand:"",Ge=this.expandableBtnElementCache;if(!Ge||Ge.innerText===De){const vt=this.document.createElement("a");vt.className="ant-typography-expand",vt.innerText=De,this.expandableBtnElementCache=vt}return this.expandableBtnElementCache}return this.expandableBtnElementCache=null,null}renderAndSubscribeWindowResize(){this.platform.isBrowser&&(this.windowResizeSubscription.unsubscribe(),this.cssEllipsis=this.canUseCSSEllipsis(),this.renderOnNextFrame(),this.windowResizeSubscription=this.resizeService.subscribe().pipe((0,K.R)(this.destroy$)).subscribe(()=>this.renderOnNextFrame()))}ngOnInit(){this.i18n.localeChange.pipe((0,K.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.cdr.markForCheck()}),this.directionality.change?.pipe((0,K.R)(this.destroy$)).subscribe(De=>{this.dir=De,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.viewInit=!0,this.renderAndSubscribeWindowResize()}ngOnChanges(De){const{nzCopyable:Ge,nzEditable:vt,nzExpandable:rn,nzEllipsis:_n,nzContent:st,nzEllipsisRows:it,nzSuffix:lt}=De;(Ge||vt||rn||_n||st||it||lt)&&this.nzEllipsis&&(this.expanded?this.windowResizeSubscription.unsubscribe():this.renderAndSubscribeWindowResize())}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.expandableBtnElementCache=null,this.windowResizeSubscription.unsubscribe()}}return te.\u0275fac=function(De){return new(De||te)(s.Y36(de.jY),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.s_b),s.Y36(s.Qsj),s.Y36(v.t4),s.Y36(P.wi),s.Y36(d.K0),s.Y36(x.rI),s.Y36(t.Is,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["nz-typography"],["","nz-typography",""],["p","nz-paragraph",""],["span","nz-text",""],["h1","nz-title",""],["h2","nz-title",""],["h3","nz-title",""],["h4","nz-title",""]],viewQuery:function(De,Ge){if(1&De&&(s.Gf(Ve,5),s.Gf($e,5),s.Gf(Dt,5),s.Gf(nn,5),s.Gf(Et,5)),2&De){let vt;s.iGM(vt=s.CRH())&&(Ge.textEditRef=vt.first),s.iGM(vt=s.CRH())&&(Ge.textCopyRef=vt.first),s.iGM(vt=s.CRH())&&(Ge.ellipsisContainer=vt.first),s.iGM(vt=s.CRH())&&(Ge.expandableBtn=vt.first),s.iGM(vt=s.CRH())&&(Ge.contentTemplate=vt.first)}},hostVars:26,hostBindings:function(De,Ge){2&De&&(s.Udp("-webkit-line-clamp",Ge.canCssEllipsis&&Ge.nzEllipsisRows>1?Ge.nzEllipsisRows:null),s.ekj("ant-typography",!Ge.editing)("ant-typography-rtl","rtl"===Ge.dir)("ant-typography-edit-content",Ge.editing)("ant-typography-secondary","secondary"===Ge.nzType)("ant-typography-warning","warning"===Ge.nzType)("ant-typography-danger","danger"===Ge.nzType)("ant-typography-success","success"===Ge.nzType)("ant-typography-disabled",Ge.nzDisabled)("ant-typography-ellipsis",Ge.nzEllipsis&&!Ge.expanded)("ant-typography-single-line",Ge.nzEllipsis&&1===Ge.nzEllipsisRows)("ant-typography-ellipsis-single-line",Ge.canCssEllipsis&&1===Ge.nzEllipsisRows)("ant-typography-ellipsis-multiple-line",Ge.canCssEllipsis&&Ge.nzEllipsisRows>1))},inputs:{nzCopyable:"nzCopyable",nzEditable:"nzEditable",nzDisabled:"nzDisabled",nzExpandable:"nzExpandable",nzEllipsis:"nzEllipsis",nzCopyTooltips:"nzCopyTooltips",nzCopyIcons:"nzCopyIcons",nzEditTooltip:"nzEditTooltip",nzEditIcon:"nzEditIcon",nzContent:"nzContent",nzEllipsisRows:"nzEllipsisRows",nzType:"nzType",nzCopyText:"nzCopyText",nzSuffix:"nzSuffix"},outputs:{nzContentChange:"nzContentChange",nzCopy:"nzCopy",nzExpandChange:"nzExpandChange",nzOnEllipsis:"nzOnEllipsis"},exportAs:["nzTypography"],features:[s.TTD],ngContentSelectors:It,decls:5,vars:3,consts:[["contentTemplate",""],[4,"ngIf"],[3,"text","icon","tooltip","endEditing","startEditing",4,"ngIf"],[3,"text","tooltips","icons","textCopy",4,"ngIf"],[4,"ngIf","ngIfElse"],["jsEllipsis",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ellipsisContainer",""],["class","ant-typography-expand",3,"click",4,"ngIf"],[1,"ant-typography-expand",3,"click"],["expandable",""],[3,"text","icon","tooltip","endEditing","startEditing"],[3,"text","tooltips","icons","textCopy"]],template:function(De,Ge){1&De&&(s.F$t(),s.YNc(0,tn,2,2,"ng-template",null,0,s.W1O),s.YNc(2,vn,4,2,"ng-container",1),s.YNc(3,Dn,1,3,"nz-text-edit",2),s.YNc(4,Wt,1,3,"nz-text-copy",3)),2&De&&(s.xp6(2),s.Q6J("ngIf",!Ge.editing),s.xp6(1),s.Q6J("ngIf",Ge.nzEditable),s.xp6(1),s.Q6J("ngIf",Ge.nzCopyable&&!Ge.editing))},dependencies:[d.O5,d.tP,$e,Ve],encapsulation:2,changeDetection:0}),(0,pe.gn)([(0,ve.yF)()],te.prototype,"nzCopyable",void 0),(0,pe.gn)([(0,ve.yF)()],te.prototype,"nzEditable",void 0),(0,pe.gn)([(0,ve.yF)()],te.prototype,"nzDisabled",void 0),(0,pe.gn)([(0,ve.yF)()],te.prototype,"nzExpandable",void 0),(0,pe.gn)([(0,ve.yF)()],te.prototype,"nzEllipsis",void 0),(0,pe.gn)([(0,de.oS)()],te.prototype,"nzCopyTooltips",void 0),(0,pe.gn)([(0,de.oS)()],te.prototype,"nzCopyIcons",void 0),(0,pe.gn)([(0,de.oS)()],te.prototype,"nzEditTooltip",void 0),(0,pe.gn)([(0,de.oS)()],te.prototype,"nzEditIcon",void 0),(0,pe.gn)([(0,de.oS)(),(0,ve.Rn)()],te.prototype,"nzEllipsisRows",void 0),te})(),we=(()=>{class te{}return te.\u0275fac=function(De){return new(De||te)},te.\u0275mod=s.oAB({type:te}),te.\u0275inj=s.cJS({imports:[t.vT,d.ez,S.PV,L.cg,w.o7,P.YI,U,i.Iq,k.T,v.ud]}),te})()},459:(xt,Se,a)=>{a.d(Se,{N:()=>v});var t=a(5879),i=a(6814);let v=(()=>{class d{constructor(k,G){this.document=k,this.platformId=G,this.documentIsAccessible=(0,i.NF)(this.platformId)}static getCookieRegExp(k){const G=k.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+G+"|;\\s*"+G+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(k){try{return decodeURIComponent(k)}catch{return k}}check(k){return!!this.documentIsAccessible&&(k=encodeURIComponent(k),d.getCookieRegExp(k).test(this.document.cookie))}get(k){if(this.documentIsAccessible&&this.check(k)){k=encodeURIComponent(k);const U=d.getCookieRegExp(k).exec(this.document.cookie);return U[1]?d.safeDecodeURIComponent(U[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const k={},G=this.document;return G.cookie&&""!==G.cookie&&G.cookie.split(";").forEach(U=>{const[P,S]=U.split("=");k[d.safeDecodeURIComponent(P.replace(/^ /,""))]=d.safeDecodeURIComponent(S)}),k}set(k,G,U,P,S,w,L){if(!this.documentIsAccessible)return;if("number"==typeof U||U instanceof Date||P||S||w||L)return void this.set(k,G,{expires:U,path:P,domain:S,secure:w,sameSite:L||"Lax"});let Y=encodeURIComponent(k)+"="+encodeURIComponent(G)+";";const M=U||{};M.expires&&(Y+="number"==typeof M.expires?"expires="+new Date((new Date).getTime()+1e3*M.expires*60*60*24).toUTCString()+";":"expires="+M.expires.toUTCString()+";"),M.path&&(Y+="path="+M.path+";"),M.domain&&(Y+="domain="+M.domain+";"),!1===M.secure&&"None"===M.sameSite&&(M.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${k} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),M.secure&&(Y+="secure;"),M.sameSite||(M.sameSite="Lax"),Y+="sameSite="+M.sameSite+";",this.document.cookie=Y}delete(k,G,U,P,S="Lax"){this.documentIsAccessible&&this.set(k,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:G,domain:U,secure:P,sameSite:S})}deleteAll(k,G,U,P="Lax"){if(!this.documentIsAccessible)return;const S=this.getAll();for(const w in S)S.hasOwnProperty(w)&&this.delete(w,k,G,U,P)}}return d.\u0275fac=function(k){return new(k||d)(t.LFG(i.K0),t.LFG(t.Lbi))},d.\u0275prov=t.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},279:(xt,Se,a)=>{a.d(Se,{Y:()=>P,s:()=>S});var t=a(5879),i=a(6814);function v(w,L){1&w&&t._UZ(0,"div",9)}function d(w,L){if(1&w&&(t.TgZ(0,"span",10),t._uU(1),t.qZA()),2&w){const Y=t.oxw().$implicit;t.xp6(1),t.Oqu(Y.description)}}function s(w,L){if(1&w&&(t.TgZ(0,"section",11),t._UZ(1,"ngx-json-viewer",12),t.qZA()),2&w){const Y=t.oxw().$implicit,M=t.oxw();t.xp6(1),t.Q6J("json",Y.value)("expanded",M.expanded)("depth",M.depth)("_currentDepth",M._currentDepth+1)}}const k=function(w){return["segment",w]},G=function(w,L){return{"segment-main":!0,expandable:w,expanded:L}};function U(w,L){if(1&w){const Y=t.EpF();t.TgZ(0,"section",2)(1,"section",3),t.NdJ("click",function(){const F=t.CHM(Y).$implicit,R=t.oxw();return t.KtG(R.toggle(F))}),t.YNc(2,v,1,0,"div",4),t.TgZ(3,"span",5),t._uU(4),t.qZA(),t.TgZ(5,"span",6),t._uU(6,": "),t.qZA(),t.YNc(7,d,2,1,"span",7),t.qZA(),t.YNc(8,s,2,4,"section",8),t.qZA()}if(2&w){const Y=L.$implicit,M=t.oxw();t.Q6J("ngClass",t.VKq(6,k,"segment-type-"+Y.type)),t.xp6(1),t.Q6J("ngClass",t.WLB(8,G,M.isExpandable(Y),Y.expanded)),t.xp6(1),t.Q6J("ngIf",M.isExpandable(Y)),t.xp6(2),t.Oqu(Y.key),t.xp6(3),t.Q6J("ngIf",!Y.expanded||!M.isExpandable(Y)),t.xp6(1),t.Q6J("ngIf",Y.expanded&&M.isExpandable(Y))}}let P=(()=>{class w{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(Y=>{this.segments.push(this.parseKeyValue(Y,this.json[Y]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(Y){return"object"===Y.type||"array"===Y.type}toggle(Y){this.isExpandable(Y)&&(Y.expanded=!Y.expanded)}parseKeyValue(Y,M){const e={key:Y,value:M,type:void 0,description:""+M,expanded:this.isExpanded()};switch(typeof e.value){case"number":e.type="number";break;case"boolean":e.type="boolean";break;case"function":e.type="function";break;case"string":e.type="string",e.description='"'+e.value+'"';break;case"undefined":e.type="undefined",e.description="undefined";break;case"object":null===e.value?(e.type="null",e.description="null"):Array.isArray(e.value)?(e.type="array",e.description="Array["+e.value.length+"] "+JSON.stringify(e.value)):e.value instanceof Date?e.type="date":(e.type="object",e.description="Object "+JSON.stringify(e.value))}return e}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(Y){const M=new WeakMap;return function e(F,R){let ge,ze;return"object"!=typeof F||null===F||F instanceof Boolean||F instanceof Date||F instanceof Number||F instanceof RegExp||F instanceof String?F:(ge=M.get(F),void 0!==ge?{$ref:ge}:(M.set(F,R),Array.isArray(F)?(ze=[],F.forEach(function(K,N){ze[N]=e(K,R+"["+N+"]")})):(ze={},Object.keys(F).forEach(function(K){ze[K]=e(F[K],R+"["+JSON.stringify(K)+"]")})),ze))}(Y,"$")}}return w.\u0275fac=function(Y){return new(Y||w)},w.\u0275cmp=t.Xpm({type:w,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[t.TTD],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(Y,M){1&Y&&(t.TgZ(0,"section",0),t.YNc(1,U,9,11,"section",1),t.qZA()),2&Y&&(t.xp6(1),t.Q6J("ngForOf",M.segments))},dependencies:[i.mk,i.sg,i.O5,w],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),w})(),S=(()=>{class w{}return w.\u0275fac=function(Y){return new(Y||w)},w.\u0275mod=t.oAB({type:w}),w.\u0275inj=t.cJS({imports:[i.ez]}),w})()},7619:(xt,Se,a)=>{function v(x,pe){(null==pe||pe>x.length)&&(pe=x.length);for(var de=0,W=new Array(pe);deA});var k=function(){return"function"==typeof Symbol},G=function(x){return k()&&!!Symbol[x]},U=function(x){return G(x)?Symbol[x]:"@@"+x};k()&&!G("observable")&&(Symbol.observable=Symbol("observable"));var P=U("iterator"),S=U("observable"),w=U("species");function L(x,pe){var de=x[pe];if(null!=de){if("function"!=typeof de)throw new TypeError(de+" is not a function");return de}}function Y(x){var pe=x.constructor;return void 0!==pe&&null===(pe=pe[w])&&(pe=void 0),void 0!==pe?pe:A}function e(x){e.log?e.log(x):setTimeout(function(){throw x})}function F(x){Promise.resolve().then(function(){try{x()}catch(pe){e(pe)}})}function R(x){var pe=x._cleanup;if(void 0!==pe&&(x._cleanup=void 0,pe))try{if("function"==typeof pe)pe();else{var de=L(pe,"unsubscribe");de&&de.call(pe)}}catch(W){e(W)}}function ge(x){x._observer=void 0,x._queue=void 0,x._state="closed"}function K(x,pe,de){x._state="running";var W=x._observer;try{var ve=L(W,pe);switch(pe){case"next":ve&&ve.call(W,de);break;case"error":if(ge(x),!ve)throw de;ve.call(W,de);break;case"complete":ge(x),ve&&ve.call(W)}}catch(Q){e(Q)}"closed"===x._state?R(x):"running"===x._state&&(x._state="ready")}function N(x,pe,de){if("closed"!==x._state){if("buffering"===x._state)return void x._queue.push({type:pe,value:de});if("ready"!==x._state)return x._state="buffering",x._queue=[{type:pe,value:de}],void F(function(){return function ze(x){var pe=x._queue;if(pe){x._queue=void 0,x._state="ready";for(var de=0;de1,fe=!1,Ft=arguments[1];return new Q(function(Dt){return ve.subscribe({next:function(nn){var Et=!fe;if(fe=!0,!Et||ae)try{Ft=W(Ft,nn)}catch(Ht){return Dt.error(Ht)}else Ft=nn},error:function(nn){Dt.error(nn)},complete:function(){if(!fe&&!ae)return Dt.error(new TypeError("Cannot reduce an empty sequence"));Dt.next(Ft),Dt.complete()}})})},pe.concat=function(){for(var W=this,ve=arguments.length,Q=new Array(ve),ae=0;ae=0&&fe.splice(Et,1),Ft()}});fe.push(nn)},error:function(Dt){ae.error(Dt)},complete:function(){Ft()}});function Ft(){be.closed&&0===fe.length&&ae.complete()}return function(){fe.forEach(function(Dt){return Dt.unsubscribe()}),be.unsubscribe()}})},pe[S]=function(){return this},x.from=function(W){var ve="function"==typeof this?this:x;if(null==W)throw new TypeError(W+" is not an object");var Q=L(W,S);if(Q){var ae=Q.call(W);if(Object(ae)!==ae)throw new TypeError(ae+" is not an object");return function M(x){return x instanceof A}(ae)&&ae.constructor===ve?ae:new ve(function(fe){return ae.subscribe(fe)})}if(G("iterator")&&(Q=L(W,P)))return new ve(function(fe){F(function(){if(!fe.closed){for(var Ft,be=function t(x,pe){var de=typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(de)return(de=de.call(x)).next.bind(de);if(Array.isArray(x)||(de=function i(x,pe){if(x){if("string"==typeof x)return v(x,pe);var de=Object.prototype.toString.call(x).slice(8,-1);if("Object"===de&&x.constructor&&(de=x.constructor.name),"Map"===de||"Set"===de)return Array.from(x);if("Arguments"===de||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de))return v(x,pe)}}(x))||pe&&x&&"number"==typeof x.length){de&&(x=de);var W=0;return function(){return W>=x.length?{done:!0}:{done:!1,value:x[W++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Q.call(W));!(Ft=be()).done;)if(fe.next(Ft.value),fe.closed)return;fe.complete()}})});if(Array.isArray(W))return new ve(function(fe){F(function(){if(!fe.closed){for(var be=0;be{xt(xt.s=7568)}]); \ No newline at end of file diff --git a/server/public/main.fe4c7af9fb7c3137.js b/server/public/main.fe4c7af9fb7c3137.js deleted file mode 100644 index f410a9049..000000000 --- a/server/public/main.fe4c7af9fb7c3137.js +++ /dev/null @@ -1,4766 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[179],{8809:(Et,Me,a)=>{a.d(Me,{T6:()=>F,VD:()=>V,WE:()=>R,Yt:()=>S,lC:()=>g,py:()=>L,rW:()=>o,s:()=>M,ve:()=>s,vq:()=>T});var t=a(2567);function o(e,I,w){return{r:255*(0,t.sh)(e,255),g:255*(0,t.sh)(I,255),b:255*(0,t.sh)(w,255)}}function g(e,I,w){e=(0,t.sh)(e,255),I=(0,t.sh)(I,255),w=(0,t.sh)(w,255);var pe=Math.max(e,I,w),ae=Math.min(e,I,w),Z=0,U=0,N=(pe+ae)/2;if(pe===ae)U=0,Z=0;else{var q=pe-ae;switch(U=N>.5?q/(2-pe-ae):q/(pe+ae),pe){case e:Z=(I-w)/q+(I1&&(w-=1),w<1/6?e+6*w*(I-e):w<.5?I:w<2/3?e+(I-e)*(2/3-w)*6:e}function s(e,I,w){var pe,ae,Z;if(e=(0,t.sh)(e,360),I=(0,t.sh)(I,100),w=(0,t.sh)(w,100),0===I)ae=w,Z=w,pe=w;else{var U=w<.5?w*(1+I):w+I-w*I,N=2*w-U;pe=l(N,U,e+1/3),ae=l(N,U,e),Z=l(N,U,e-1/3)}return{r:255*pe,g:255*ae,b:255*Z}}function L(e,I,w){e=(0,t.sh)(e,255),I=(0,t.sh)(I,255),w=(0,t.sh)(w,255);var pe=Math.max(e,I,w),ae=Math.min(e,I,w),Z=0,U=pe,N=pe-ae,q=0===pe?0:N/pe;if(pe===ae)Z=0;else{switch(pe){case e:Z=(I-w)/N+(I>16,g:(65280&e)>>8,b:255&e}}},3487:(Et,Me,a)=>{a.d(Me,{R:()=>t});var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},7952:(Et,Me,a)=>{a.d(Me,{uA:()=>l});var t=a(8809),o=a(3487),g=a(2567);function l(V){var S={r:0,g:0,b:0},e=1,I=null,w=null,pe=null,ae=!1,Z=!1;return"string"==typeof V&&(V=function O(V){if(0===(V=V.trim().toLowerCase()).length)return!1;var S=!1;if(o.R[V])V=o.R[V],S=!0;else if("transparent"===V)return{r:0,g:0,b:0,a:0,format:"name"};var e=E.rgb.exec(V);return e?{r:e[1],g:e[2],b:e[3]}:(e=E.rgba.exec(V))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=E.hsl.exec(V))?{h:e[1],s:e[2],l:e[3]}:(e=E.hsla.exec(V))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=E.hsv.exec(V))?{h:e[1],s:e[2],v:e[3]}:(e=E.hsva.exec(V))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=E.hex8.exec(V))?{r:(0,t.VD)(e[1]),g:(0,t.VD)(e[2]),b:(0,t.VD)(e[3]),a:(0,t.T6)(e[4]),format:S?"name":"hex8"}:(e=E.hex6.exec(V))?{r:(0,t.VD)(e[1]),g:(0,t.VD)(e[2]),b:(0,t.VD)(e[3]),format:S?"name":"hex"}:(e=E.hex4.exec(V))?{r:(0,t.VD)(e[1]+e[1]),g:(0,t.VD)(e[2]+e[2]),b:(0,t.VD)(e[3]+e[3]),a:(0,t.T6)(e[4]+e[4]),format:S?"name":"hex8"}:!!(e=E.hex3.exec(V))&&{r:(0,t.VD)(e[1]+e[1]),g:(0,t.VD)(e[2]+e[2]),b:(0,t.VD)(e[3]+e[3]),format:S?"name":"hex"}}(V)),"object"==typeof V&&(F(V.r)&&F(V.g)&&F(V.b)?(S=(0,t.rW)(V.r,V.g,V.b),ae=!0,Z="%"===String(V.r).substr(-1)?"prgb":"rgb"):F(V.h)&&F(V.s)&&F(V.v)?(I=(0,g.JX)(V.s),w=(0,g.JX)(V.v),S=(0,t.WE)(V.h,I,w),ae=!0,Z="hsv"):F(V.h)&&F(V.s)&&F(V.l)&&(I=(0,g.JX)(V.s),pe=(0,g.JX)(V.l),S=(0,t.ve)(V.h,I,pe),ae=!0,Z="hsl"),Object.prototype.hasOwnProperty.call(V,"a")&&(e=V.a)),e=(0,g.Yq)(e),{ok:ae,format:V.format||Z,r:Math.min(255,Math.max(S.r,0)),g:Math.min(255,Math.max(S.g,0)),b:Math.min(255,Math.max(S.b,0)),a:e}}var R="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),T="[\\s|\\(]+(".concat(R,")[,|\\s]+(").concat(R,")[,|\\s]+(").concat(R,")\\s*\\)?"),M="[\\s|\\(]+(".concat(R,")[,|\\s]+(").concat(R,")[,|\\s]+(").concat(R,")[,|\\s]+(").concat(R,")\\s*\\)?"),E={CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+T),rgba:new RegExp("rgba"+M),hsl:new RegExp("hsl"+T),hsla:new RegExp("hsla"+M),hsv:new RegExp("hsv"+T),hsva:new RegExp("hsva"+M),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function F(V){return Boolean(E.CSS_UNIT.exec(String(V)))}},5192:(Et,Me,a)=>{a.d(Me,{C:()=>s});var t=a(8809),o=a(3487),g=a(7952),l=a(2567),s=function(){function R(T,M){var E;if(void 0===T&&(T=""),void 0===M&&(M={}),T instanceof R)return T;"number"==typeof T&&(T=(0,t.Yt)(T)),this.originalInput=T;var O=(0,g.uA)(T);this.originalInput=T,this.r=O.r,this.g=O.g,this.b=O.b,this.a=O.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(E=M.format)&&void 0!==E?E:O.format,this.gradientType=M.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=O.ok}return R.prototype.isDark=function(){return this.getBrightness()<128},R.prototype.isLight=function(){return!this.isDark()},R.prototype.getBrightness=function(){var T=this.toRgb();return(299*T.r+587*T.g+114*T.b)/1e3},R.prototype.getLuminance=function(){var T=this.toRgb(),F=T.r/255,V=T.g/255,S=T.b/255;return.2126*(F<=.03928?F/12.92:Math.pow((F+.055)/1.055,2.4))+.7152*(V<=.03928?V/12.92:Math.pow((V+.055)/1.055,2.4))+.0722*(S<=.03928?S/12.92:Math.pow((S+.055)/1.055,2.4))},R.prototype.getAlpha=function(){return this.a},R.prototype.setAlpha=function(T){return this.a=(0,l.Yq)(T),this.roundA=Math.round(100*this.a)/100,this},R.prototype.isMonochrome=function(){return 0===this.toHsl().s},R.prototype.toHsv=function(){var T=(0,t.py)(this.r,this.g,this.b);return{h:360*T.h,s:T.s,v:T.v,a:this.a}},R.prototype.toHsvString=function(){var T=(0,t.py)(this.r,this.g,this.b),M=Math.round(360*T.h),E=Math.round(100*T.s),O=Math.round(100*T.v);return 1===this.a?"hsv(".concat(M,", ").concat(E,"%, ").concat(O,"%)"):"hsva(".concat(M,", ").concat(E,"%, ").concat(O,"%, ").concat(this.roundA,")")},R.prototype.toHsl=function(){var T=(0,t.lC)(this.r,this.g,this.b);return{h:360*T.h,s:T.s,l:T.l,a:this.a}},R.prototype.toHslString=function(){var T=(0,t.lC)(this.r,this.g,this.b),M=Math.round(360*T.h),E=Math.round(100*T.s),O=Math.round(100*T.l);return 1===this.a?"hsl(".concat(M,", ").concat(E,"%, ").concat(O,"%)"):"hsla(".concat(M,", ").concat(E,"%, ").concat(O,"%, ").concat(this.roundA,")")},R.prototype.toHex=function(T){return void 0===T&&(T=!1),(0,t.vq)(this.r,this.g,this.b,T)},R.prototype.toHexString=function(T){return void 0===T&&(T=!1),"#"+this.toHex(T)},R.prototype.toHex8=function(T){return void 0===T&&(T=!1),(0,t.s)(this.r,this.g,this.b,this.a,T)},R.prototype.toHex8String=function(T){return void 0===T&&(T=!1),"#"+this.toHex8(T)},R.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},R.prototype.toRgbString=function(){var T=Math.round(this.r),M=Math.round(this.g),E=Math.round(this.b);return 1===this.a?"rgb(".concat(T,", ").concat(M,", ").concat(E,")"):"rgba(".concat(T,", ").concat(M,", ").concat(E,", ").concat(this.roundA,")")},R.prototype.toPercentageRgb=function(){var T=function(M){return"".concat(Math.round(100*(0,l.sh)(M,255)),"%")};return{r:T(this.r),g:T(this.g),b:T(this.b),a:this.a}},R.prototype.toPercentageRgbString=function(){var T=function(M){return Math.round(100*(0,l.sh)(M,255))};return 1===this.a?"rgb(".concat(T(this.r),"%, ").concat(T(this.g),"%, ").concat(T(this.b),"%)"):"rgba(".concat(T(this.r),"%, ").concat(T(this.g),"%, ").concat(T(this.b),"%, ").concat(this.roundA,")")},R.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var T="#"+(0,t.vq)(this.r,this.g,this.b,!1),M=0,E=Object.entries(o.R);M=0&&(T.startsWith("hex")||"name"===T)?"name"===T&&0===this.a?this.toName():this.toRgbString():("rgb"===T&&(E=this.toRgbString()),"prgb"===T&&(E=this.toPercentageRgbString()),("hex"===T||"hex6"===T)&&(E=this.toHexString()),"hex3"===T&&(E=this.toHexString(!0)),"hex4"===T&&(E=this.toHex8String(!0)),"hex8"===T&&(E=this.toHex8String()),"name"===T&&(E=this.toName()),"hsl"===T&&(E=this.toHslString()),"hsv"===T&&(E=this.toHsvString()),E||this.toHexString())},R.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},R.prototype.clone=function(){return new R(this.toString())},R.prototype.lighten=function(T){void 0===T&&(T=10);var M=this.toHsl();return M.l+=T/100,M.l=(0,l.V2)(M.l),new R(M)},R.prototype.brighten=function(T){void 0===T&&(T=10);var M=this.toRgb();return M.r=Math.max(0,Math.min(255,M.r-Math.round(-T/100*255))),M.g=Math.max(0,Math.min(255,M.g-Math.round(-T/100*255))),M.b=Math.max(0,Math.min(255,M.b-Math.round(-T/100*255))),new R(M)},R.prototype.darken=function(T){void 0===T&&(T=10);var M=this.toHsl();return M.l-=T/100,M.l=(0,l.V2)(M.l),new R(M)},R.prototype.tint=function(T){return void 0===T&&(T=10),this.mix("white",T)},R.prototype.shade=function(T){return void 0===T&&(T=10),this.mix("black",T)},R.prototype.desaturate=function(T){void 0===T&&(T=10);var M=this.toHsl();return M.s-=T/100,M.s=(0,l.V2)(M.s),new R(M)},R.prototype.saturate=function(T){void 0===T&&(T=10);var M=this.toHsl();return M.s+=T/100,M.s=(0,l.V2)(M.s),new R(M)},R.prototype.greyscale=function(){return this.desaturate(100)},R.prototype.spin=function(T){var M=this.toHsl(),E=(M.h+T)%360;return M.h=E<0?360+E:E,new R(M)},R.prototype.mix=function(T,M){void 0===M&&(M=50);var E=this.toRgb(),O=new R(T).toRgb(),F=M/100;return new R({r:(O.r-E.r)*F+E.r,g:(O.g-E.g)*F+E.g,b:(O.b-E.b)*F+E.b,a:(O.a-E.a)*F+E.a})},R.prototype.analogous=function(T,M){void 0===T&&(T=6),void 0===M&&(M=30);var E=this.toHsl(),O=360/M,F=[this];for(E.h=(E.h-(O*T>>1)+720)%360;--T;)E.h=(E.h+O)%360,F.push(new R(E));return F},R.prototype.complement=function(){var T=this.toHsl();return T.h=(T.h+180)%360,new R(T)},R.prototype.monochromatic=function(T){void 0===T&&(T=6);for(var M=this.toHsv(),E=M.h,O=M.s,F=M.v,V=[],S=1/T;T--;)V.push(new R({h:E,s:O,v:F})),F=(F+S)%1;return V},R.prototype.splitcomplement=function(){var T=this.toHsl(),M=T.h;return[this,new R({h:(M+72)%360,s:T.s,l:T.l}),new R({h:(M+216)%360,s:T.s,l:T.l})]},R.prototype.onBackground=function(T){var M=this.toRgb(),E=new R(T).toRgb();return new R({r:E.r+(M.r-E.r)*M.a,g:E.g+(M.g-E.g)*M.a,b:E.b+(M.b-E.b)*M.a})},R.prototype.triad=function(){return this.polyad(3)},R.prototype.tetrad=function(){return this.polyad(4)},R.prototype.polyad=function(T){for(var M=this.toHsl(),E=M.h,O=[this],F=360/T,V=1;V{function t(T,M){(function g(T){return"string"==typeof T&&-1!==T.indexOf(".")&&1===parseFloat(T)})(T)&&(T="100%");var E=function l(T){return"string"==typeof T&&-1!==T.indexOf("%")}(T);return T=360===M?T:Math.min(M,Math.max(0,parseFloat(T))),E&&(T=parseInt(String(T*M),10)/100),Math.abs(T-M)<1e-6?1:T=360===M?(T<0?T%M+M:T%M)/parseFloat(String(M)):T%M/parseFloat(String(M))}function o(T){return Math.min(1,Math.max(0,T))}function s(T){return T=parseFloat(T),(isNaN(T)||T<0||T>1)&&(T=1),T}function L(T){return T<=1?"".concat(100*Number(T),"%"):T}function R(T){return 1===T.length?"0"+T:String(T)}a.d(Me,{FZ:()=>R,JX:()=>L,V2:()=>o,Yq:()=>s,sh:()=>t})},4049:(Et,Me,a)=>{a.d(Me,{G:()=>te});var t=a(4650),o=a(6895),g=a(9116),l=a(1102),s=a(6672),L=a(6581),R=a(3240),T=a(4004),M=a(9300),E=a(7630),O=a(1971),F=a(9194),V=a(6550),S=a(2635),e=a(160);function I(ye,H){if(1&ye&&(t._UZ(0,"i",9),t.ALo(1,"entityColor"),t._uU(2)),2&ye){const X=t.oxw().ngIf;t.Q6J("nzTwotoneColor",t.lcZ(1,2,"ClinicalTrial")),t.xp6(2),t.hij(" ",X.nctId," ")}}function w(ye,H){if(1&ye&&(t.TgZ(0,"cvc-link-tag",10),t._uU(1," View on clinicaltrials.gov "),t.qZA()),2&ye){const X=t.oxw().ngIf;t.Q6J("href",X.url)}}function pe(ye,H){if(1&ye&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,I,3,4,"ng-template",null,3,t.W1O),t.YNc(4,w,2,1,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),t._uU(8),t.qZA(),t.TgZ(9,"nz-descriptions-item",7),t._uU(10),t.qZA(),t.TgZ(11,"nz-descriptions-item",8),t._uU(12),t.qZA()()(),t.BQk()),2&ye){const X=H.ngIf,ve=t.MAs(3),Se=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",ve)("nzExtra",Se),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(2),t.hij(" ",X.name," "),t.xp6(2),t.hij(" ",X.sourceCount," "),t.xp6(2),t.hij(" ",X.evidenceCount," ")}}class ae{constructor(H){this.gql=H}ngOnInit(){if(null==this.clinicalTrialId)throw new Error("cvc-clinical-trial-popover requires valid clinicalTrialId input.");this.clinicalTrial$=this.gql.watch({clinicalTrialId:this.clinicalTrialId}).valueChanges.pipe((0,T.U)(({data:H})=>H?.clinicalTrials.edges[0]?.node),(0,M.h)(R.ep))}}function Z(ye,H){}function U(ye,H){if(1&ye&&(t.ynx(0),t.TgZ(1,"a",4),t.YNc(2,Z,0,0,"ng-template",5),t.qZA(),t.BQk()),2&ye){const X=t.oxw(),ve=t.MAs(2);t.xp6(1),t.Q6J("routerLink",X.clinicalTrial.link),t.xp6(1),t.Q6J("ngTemplateOutlet",ve)}}function N(ye,H){}function q(ye,H){if(1&ye&&t._UZ(0,"cvc-clinical-trial-popover",8),2&ye){const X=t.oxw(2);t.Q6J("clinicalTrialId",X.clinicalTrial.id)}}function Y(ye,H){if(1&ye&&(t.TgZ(0,"nz-tag",6),t.YNc(1,N,0,0,"ng-template",5),t.qZA(),t.YNc(2,q,1,1,"ng-template",null,7,t.W1O)),2&ye){const X=t.MAs(3),ve=t.oxw(),Se=t.MAs(6);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",X)("nzPopoverTrigger",ve.enablePopover?"hover":null),t.xp6(1),t.Q6J("ngTemplateOutlet",Se)}}function k(ye,H){}function me(ye,H){if(1&ye&&t.YNc(0,k,0,0,"ng-template",5),2&ye){t.oxw();const X=t.MAs(2);t.Q6J("ngTemplateOutlet",X)}}function fe(ye,H){if(1&ye&&(t._UZ(0,"i",9),t.ALo(1,"entityColor"),t._uU(2)),2&ye){const X=t.oxw();t.Q6J("nzTwotoneColor",t.lcZ(1,2,"ClinicalTrial")),t.xp6(2),t.hij(" ",X.clinicalTrial.nctId,"\n")}}ae.\u0275fac=function(H){return new(H||ae)(t.Y36(E.UIR))},ae.\u0275cmp=t.Xpm({type:ae,selectors:[["cvc-clinical-trial-popover"]],inputs:{clinicalTrialId:"clinicalTrialId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2"],["nzTitle","Sources","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"],[3,"href"]],template:function(H,X){1&H&&(t.TgZ(0,"div",0),t.YNc(1,pe,13,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&H&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,X.clinicalTrial$)))},dependencies:[o.O5,O.bd,l.Ls,F.R7,F.uj,V.l,S.fM,e.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]});class te{set clinicalTrial(H){if(!H)throw new Error("clinical-trial-tag clinicalTrial Input requires LinkableClinicalTrial.");this._clinicalTrial=H}get clinicalTrial(){return this._clinicalTrial}constructor(){this.linked=!0,this.enablePopover=!0}}te.\u0275fac=function(H){return new(H||te)},te.\u0275cmp=t.Xpm({type:te,selectors:[["cvc-clinical-trial-tag"]],inputs:{clinicalTrial:"clinicalTrial",linked:"linked",enablePopover:"enablePopover"},decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger"],["clinicalTrialPopover",""],[3,"clinicalTrialId"],["nz-icon","","nzTheme","twotone","nzType","civic-clinicaltrial",3,"nzTwotoneColor"]],template:function(H,X){if(1&H&&(t.YNc(0,U,3,2,"ng-container",0),t.YNc(1,Y,4,4,"ng-template",null,1,t.W1O),t.YNc(3,me,1,1,"ng-template",null,2,t.W1O),t.YNc(5,fe,3,4,"ng-template",null,3,t.W1O)),2&H){const ve=t.MAs(4);t.Q6J("ngIf",X.linked)("ngIfElse",ve)}},dependencies:[o.O5,o.tP,g.rH,l.Ls,s.j,L.lU,ae,e.a],styles:["[_nghost-%COMP%]{display:block}"]})},5453:(Et,Me,a)=>{a.d(Me,{N:()=>V});var t=a(6895),o=a(9116),g=a(6672),l=a(6581),s=a(4989),L=a(9444),R=a(2635),T=a(1971),M=a(9194),E=a(1102),O=a(4650);class F{}F.\u0275fac=function(e){return new(e||F)},F.\u0275mod=O.oAB({type:F}),F.\u0275inj=O.cJS({imports:[t.ez,R._N,R.pP,T.vh,E.PV,M.q6,s.X,L.s]});class V{}V.\u0275fac=function(e){return new(e||V)},V.\u0275mod=O.oAB({type:V}),V.\u0275inj=O.cJS({imports:[t.ez,o.Bz,E.PV,g.X,l.$6,F,L.s]})},2925:(Et,Me,a)=>{a.d(Me,{I:()=>U});var t=a(3240),o=a(4004),g=a(9300),l=a(4650),s=a(7630),L=a(6895),R=a(1971),T=a(9194),M=a(1102),E=a(8823),O=a(6550),F=a(2635),V=a(4557);function S(N,q){if(1&N&&(l._UZ(0,"i",12),l._uU(1),l.ALo(2,"truncate")),2&N){const Y=l.oxw().ngIf;l.xp6(1),l.hij(" ",l.xi3(2,1,Y.name,50)," ")}}function e(N,q){if(1&N&&(l.TgZ(0,"cvc-link-tag",14),l._uU(1),l.qZA()),2&N){const Y=l.oxw(2).ngIf;l.Q6J("href",Y.diseaseUrl),l.xp6(1),l.hij(" DOID: ",Y.doid," ")}}function I(N,q){if(1&N&&l.YNc(0,e,2,2,"cvc-link-tag",13),2&N){const Y=l.oxw().ngIf,k=l.MAs(7);l.Q6J("ngIf",Y.doid)("ngIfElse",k)}}function w(N,q){1&N&&(l.TgZ(0,"span",15),l._uU(1,"No DOID"),l.qZA())}function pe(N,q){if(1&N&&(l.TgZ(0,"nz-descriptions-item",16),l._uU(1),l.qZA()),2&N){const Y=l.oxw().ngIf;l.xp6(1),l.hij(" ",Y.name," ")}}function ae(N,q){if(1&N&&(l.TgZ(0,"nz-descriptions-item",17),l._uU(1),l.qZA()),2&N){const Y=l.oxw().ngIf;l.xp6(1),l.hij(" ",Y.diseaseAliases.join(", ")," ")}}function Z(N,q){if(1&N&&(l.ynx(0),l.TgZ(1,"nz-card",2),l.YNc(2,S,3,4,"ng-template",null,3,l.W1O),l.YNc(4,I,1,2,"ng-template",null,4,l.W1O),l.YNc(6,w,2,0,"ng-template",null,5,l.W1O),l.TgZ(8,"nz-descriptions",6),l.YNc(9,pe,2,1,"nz-descriptions-item",7),l.YNc(10,ae,2,1,"nz-descriptions-item",8),l.TgZ(11,"nz-descriptions-item",9),l._uU(12),l.qZA(),l.TgZ(13,"nz-descriptions-item",10),l._uU(14),l.qZA(),l.TgZ(15,"nz-descriptions-item",11),l._uU(16),l.qZA()()(),l.BQk()),2&N){const Y=q.ngIf,k=l.MAs(3),me=l.MAs(5);l.xp6(1),l.Q6J("nzTitle",k)("nzExtra",me),l.xp6(7),l.Q6J("nzColumn",1),l.xp6(1),l.Q6J("ngIf",Y.name.length>50),l.xp6(1),l.Q6J("ngIf",Y.diseaseAliases.length>0),l.xp6(2),l.hij(" ",Y.assertionCount," "),l.xp6(2),l.hij(" ",Y.evidenceItemCount," "),l.xp6(2),l.hij(" ",Y.molecularProfileCount," ")}}class U{constructor(q){this.gql=q}ngOnInit(){if(null==this.diseaseId)throw new Error("cvc-disease-popover requires valid diseaseId input.");this.disease$=this.gql.watch({diseaseId:this.diseaseId}).valueChanges.pipe((0,o.U)(({data:q})=>q?.diseasePopover),(0,g.h)(t.ep))}}U.\u0275fac=function(q){return new(q||U)(l.Y36(s.k7O))},U.\u0275cmp=l.Xpm({type:U,selectors:[["cvc-disease-popover"]],inputs:{diseaseId:"diseaseId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noDoid",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","1"],["nzTitle","Evidence","nzSpan","1"],["nzTitle","Molecular Profiles","nzSpan","1"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on disease-ontology.org",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"]],template:function(q,Y){1&q&&(l.TgZ(0,"div",0),l.YNc(1,Z,17,8,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA()),2&q&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,Y.disease$)))},dependencies:[L.O5,R.bd,T.R7,T.uj,M.Ls,E.ZU,O.l,F.fM,V.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},3638:(Et,Me,a)=>{a.d(Me,{t:()=>E});var t=a(6895),o=a(1971),g=a(9194),l=a(1102),s=a(4989),L=a(2635),R=a(8823),T=a(9444),M=a(4650);class E{}E.\u0275fac=function(F){return new(F||E)},E.\u0275mod=M.oAB({type:E}),E.\u0275inj=M.cJS({imports:[t.ez,L._N,L.pP,o.vh,g.q6,l.PV,R.ZJ,T.s,s.X]})},7491:(Et,Me,a)=>{a.d(Me,{n:()=>Z});var t=a(6654),o=a(4650),g=a(6895),l=a(9116),s=a(6672),L=a(6581),R=a(1102),T=a(2925),M=a(4557);function E(U,N){}function O(U,N){if(1&U&&(o.ynx(0),o.TgZ(1,"a",4),o.YNc(2,E,0,0,"ng-template",5),o.qZA(),o.BQk()),2&U){const q=o.oxw(),Y=o.MAs(2);o.xp6(1),o.Q6J("routerLink",q.disease.link),o.xp6(1),o.Q6J("ngTemplateOutlet",Y)}}function F(U,N){}function V(U,N){if(1&U&&o._UZ(0,"cvc-disease-popover",8),2&U){const q=o.oxw(2);o.Q6J("diseaseId",q.disease.id)}}function S(U,N){if(1&U){const q=o.EpF();o.TgZ(0,"nz-tag",6),o.NdJ("nzOnClose",function(k){o.CHM(q);const me=o.oxw();return o.KtG(me.itemClosed(k))}),o.YNc(1,F,0,0,"ng-template",5),o.qZA(),o.YNc(2,V,1,1,"ng-template",null,7,o.W1O)}if(2&U){const q=o.MAs(3),Y=o.oxw(),k=o.MAs(6);o.Q6J("nzPopoverMouseEnterDelay",Y.onCloseClicked?0:.5)("nzPopoverContent",q)("nzPopoverTrigger",Y.enablePopover?"hover":null)("nzMode",Y.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",k)}}function e(U,N){}function I(U,N){if(1&U&&o.YNc(0,e,0,0,"ng-template",5),2&U){o.oxw();const q=o.MAs(2);o.Q6J("ngTemplateOutlet",q)}}function w(U,N){if(1&U&&(o.ynx(0),o._uU(1),o.ALo(2,"truncate"),o.BQk()),2&U){const q=o.oxw(2);o.xp6(1),o.hij(" ",o.xi3(2,1,q.disease.name,27)," ")}}function pe(U,N){if(1&U&&o._uU(0),2&U){const q=o.oxw(2);o.hij(" ",q.disease.name," ")}}function ae(U,N){if(1&U&&(o._UZ(0,"i",9),o.YNc(1,w,3,4,"ng-container",0),o.YNc(2,pe,1,1,"ng-template",null,10,o.W1O)),2&U){const q=o.MAs(3),Y=o.oxw();o.xp6(1),o.Q6J("ngIf",Y.truncateLongName)("ngIfElse",q)}}class Z extends t.a{constructor(){super(...arguments),this.enablePopover=!0,this.truncateLongName=!1}set disease(N){if(!N)throw new Error("disease-tag disease Input requires LinkableDisease.");this._disease=N}get disease(){return this._disease}idFunction(){return this.disease.id}}Z.\u0275fac=function(){let U;return function(q){return(U||(U=o.n5z(Z)))(q||Z)}}(),Z.\u0275cmp=o.Xpm({type:Z,selectors:[["cvc-disease-tag"]],inputs:{disease:"disease",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[o.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["diseasePopover",""],[3,"diseaseId"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["fullName",""]],template:function(N,q){if(1&N&&(o.YNc(0,O,3,2,"ng-container",0),o.YNc(1,S,4,5,"ng-template",null,1,o.W1O),o.YNc(3,I,1,1,"ng-template",null,2,o.W1O),o.YNc(5,ae,4,2,"ng-template",null,3,o.W1O)),2&N){const Y=o.MAs(4);o.Q6J("ngIf",q.linked)("ngIfElse",Y)}},dependencies:[g.O5,g.tP,l.rH,s.j,L.lU,R.Ls,T.I,M.W],encapsulation:2,changeDetection:0})},8845:(Et,Me,a)=>{a.d(Me,{Q:()=>M});var t=a(6895),o=a(9116),g=a(6672),l=a(6581),s=a(1102),L=a(3638),R=a(9444),T=a(4650);class M{}M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=T.oAB({type:M}),M.\u0275inj=T.cJS({imports:[t.ez,o.Bz,g.X,l.$6,s.PV,R.s,L.t]})},285:(Et,Me,a)=>{a.d(Me,{_:()=>Xt});var t=a(4004),o=a(9300),g=a(3240),l=a(4650),s=a(7630),L=a(6895),R=a(9116),T=a(1102),M=a(1971),E=a(3679),O=a(9194),F=a(6672),V=a(6903),S=a(8823),e=a(5797),I=a(7491),w=a(3172),pe=a(783),ae=a(4590),Z=a(5105),U=a(7230),N=a(2635),q=a(4110),Y=a(160);function k(ct,Rt){if(1&ct&&(l.ynx(0),l._UZ(1,"i",17),l.ALo(2,"entityColor"),l._uU(3),l.BQk()),2&ct){const sn=l.oxw(2).ngIf;l.xp6(1),l.Q6J("nzTwotoneColor",l.lcZ(2,2,"EvidenceItem")),l.xp6(2),l.hij(" ",sn.name," ")}}function me(ct,Rt){if(1&ct&&l._UZ(0,"cvc-status-tag",18),2&ct){const sn=l.oxw(2).ngIf;l.Q6J("status",sn.status)}}function fe(ct,Rt){1&ct&&(l.TgZ(0,"nz-space"),l.YNc(1,k,4,4,"ng-container",15),l.YNc(2,me,1,1,"cvc-status-tag",16),l.qZA())}function te(ct,Rt){if(1&ct&&l._UZ(0,"cvc-molecular-profile-tag",19),2&ct){const sn=l.oxw().ngIf;l.Q6J("molecularProfile",sn.molecularProfile)("enablePopover",!1)("truncateLongName",!0)}}function ye(ct,Rt){if(1&ct&&(l.ynx(0),l._uU(1),l.BQk()),2&ct){const sn=Rt.ngIf;l.xp6(1),l.hij(" ",sn," ")}}function H(ct,Rt){if(1&ct&&(l.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",21),l._UZ(2,"cvc-mp-tag-name",22),l.qZA(),l.TgZ(3,"nz-descriptions-item",23),l._UZ(4,"cvc-source-tag",24),l.qZA()()),2&ct){const sn=l.oxw().ngIf;l.Q6J("nzColumn",1),l.xp6(2),l.Q6J("nameSegments",sn.molecularProfile.parsedName)("enablePopover",!1),l.xp6(2),l.Q6J("source",sn.source)("enablePopover",!1)}}function X(ct,Rt){if(1&ct&&(l.ynx(0),l._UZ(1,"cvc-disease-tag",35),l.BQk()),2&ct){const sn=l.oxw(2).ngIf;l.xp6(1),l.Q6J("enablePopover",!1)("disease",sn.disease)("truncateLongName",!0)}}function ve(ct,Rt){1&ct&&l._uU(0," N/A ")}function Se(ct,Rt){if(1&ct&&(l.TgZ(0,"span"),l._UZ(1,"cvc-therapy-tag",38),l.qZA()),2&ct){const sn=Rt.$implicit;l.xp6(1),l.Q6J("enablePopover",!1)("therapy",sn)("truncateLongName",!0)}}function wt(ct,Rt){if(1&ct&&(l.ynx(0),l._uU(1),l.ALo(2,"titlecase"),l.BQk()),2&ct){const sn=l.oxw(3).ngIf;l.xp6(1),l.hij(" ",l.lcZ(2,1,sn.therapyInteractionType)," ")}}function St(ct,Rt){if(1&ct&&(l.TgZ(0,"nz-descriptions-item",36),l.YNc(1,Se,2,3,"span",37),l.YNc(2,wt,3,3,"ng-container",1),l.qZA()),2&ct){const sn=l.oxw(2).ngIf;l.xp6(1),l.Q6J("ngForOf",sn.therapies),l.xp6(1),l.Q6J("ngIf",sn.therapies.length>1)}}function rn(ct,Rt){if(1&ct&&(l.TgZ(0,"span"),l._UZ(1,"cvc-phenotype-tag",40),l.qZA()),2&ct){const sn=Rt.$implicit;l.xp6(1),l.Q6J("enablePopover",!1)("phenotype",sn)}}function ot(ct,Rt){if(1&ct&&(l.TgZ(0,"nz-descriptions-item",39),l.YNc(1,rn,2,2,"span",37),l.qZA()),2&ct){const sn=l.oxw(2).ngIf;l.xp6(1),l.Q6J("ngForOf",sn.phenotypes)}}function gt(ct,Rt){if(1&ct&&(l.TgZ(0,"nz-descriptions",20)(1,"nz-descriptions-item",25),l._uU(2),l.qZA(),l.TgZ(3,"nz-descriptions-item",26),l._uU(4),l.ALo(5,"evidenceEnumDisplay"),l.qZA(),l.TgZ(6,"nz-descriptions-item",27),l._uU(7),l.ALo(8,"evidenceEnumDisplay"),l.qZA(),l.TgZ(9,"nz-descriptions-item",28),l._uU(10),l.ALo(11,"evidenceEnumDisplay"),l.qZA(),l.TgZ(12,"nz-descriptions-item",29),l._uU(13),l._UZ(14,"i",30),l.qZA(),l.TgZ(15,"nz-descriptions-item",31),l.YNc(16,X,2,3,"ng-container",9),l.YNc(17,ve,1,0,"ng-template",null,32,l.W1O),l.qZA(),l.YNc(19,St,3,2,"nz-descriptions-item",33),l.YNc(20,ot,2,1,"nz-descriptions-item",34),l.qZA()),2&ct){const sn=l.MAs(18),Dn=l.oxw().ngIf;l.Q6J("nzColumn",2),l.xp6(2),l.hij(" ",Dn.evidenceLevel," "),l.xp6(2),l.hij(" ",l.lcZ(5,10,Dn.evidenceType)," "),l.xp6(3),l.hij(" ",l.lcZ(8,12,Dn.evidenceDirection)," "),l.xp6(3),l.hij(" ",l.lcZ(11,14,Dn.significance)," "),l.xp6(3),l.hij(" ",Dn.evidenceRating,""),l.xp6(3),l.Q6J("ngIf",Dn.disease)("ngIfElse",sn),l.xp6(3),l.Q6J("ngIf",Dn.therapies.length>0),l.xp6(1),l.Q6J("ngIf",Dn.phenotypes.length>0)}}function Dt(ct,Rt){if(1&ct&&(l.TgZ(0,"a",41)(1,"nz-tag",42),l._UZ(2,"i",43),l._uU(3),l.qZA()()),2&ct){const sn=l.oxw().ngIf;l.MGl("routerLink","/evidence/",sn.id,"/flags"),l.xp6(3),l.hij(" Flags (",sn.flags.totalCount,") ")}}function Wt(ct,Rt){if(1&ct&&(l.TgZ(0,"a",41)(1,"nz-tag",44),l._UZ(2,"i",45),l._uU(3),l.qZA()()),2&ct){const sn=l.oxw().ngIf;l.MGl("routerLink","/evidence/",sn.id,"/revisions"),l.xp6(3),l.hij(" Revisions (",sn.revisions.totalCount,") ")}}function mn(ct,Rt){if(1&ct&&(l.TgZ(0,"a",41)(1,"nz-tag",46),l._UZ(2,"i",47),l._uU(3),l.qZA()()),2&ct){const sn=l.oxw().ngIf;l.MGl("routerLink","/evidence/",sn.id,"/comments"),l.xp6(3),l.hij(" Comments (",sn.comments.totalCount,") ")}}function At(ct,Rt){if(1&ct&&(l.ynx(0),l.TgZ(1,"nz-card",3),l.YNc(2,fe,3,0,"ng-template",null,4,l.W1O),l.YNc(4,te,1,3,"ng-template",null,5,l.W1O),l.TgZ(6,"nz-row")(7,"nz-col",6)(8,"div",7)(9,"p",8),l.YNc(10,ye,2,1,"ng-container",9),l.qZA()()()(),l.TgZ(11,"nz-space",10),l.YNc(12,H,5,5,"nz-descriptions",11),l.YNc(13,gt,21,16,"nz-descriptions",11),l.qZA(),l.TgZ(14,"nz-row",12)(15,"nz-col",6)(16,"nz-space",13),l.YNc(17,Dt,4,2,"a",14),l.YNc(18,Wt,4,2,"a",14),l.YNc(19,mn,4,2,"a",14),l.qZA()()()(),l.BQk()),2&ct){const sn=Rt.ngIf,Dn=l.MAs(3),zn=l.MAs(5);l.oxw();const Yt=l.MAs(4);l.xp6(1),l.Q6J("nzTitle",Dn)("nzExtra",zn),l.xp6(8),l.Q6J("nzEllipsisRows",4),l.xp6(1),l.Q6J("ngIf",sn.description)("ngIfElse",Yt)}}function _t(ct,Rt){1&ct&&l._uU(0," Evidence item has not been provided a description.\n")}class Xt{constructor(Rt){this.gql=Rt}ngOnInit(){if(null==this.evidenceId)throw new Error("cvc-evidence-popover requires valid evidenceId input.");this.evidence$=this.gql.watch({evidenceId:this.evidenceId}).valueChanges.pipe((0,t.U)(({data:Rt})=>Rt?.evidenceItem),(0,o.h)(g.ep))}}Xt.\u0275fac=function(Rt){return new(Rt||Xt)(l.Y36(s.Ybm))},Xt.\u0275cmp=l.Xpm({type:Xt,selectors:[["cvc-evidence-popover"]],inputs:{evidenceId:"evidenceId"},decls:5,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDescription",""],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["molecularProfile",""],["nzSpan","24"],[1,"popover-text"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],[4,"ngIf","ngIfElse"],["nzDirection","vertical","nzSize","small"],["nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["id","entity-child-counts"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],[4,"nzSpaceItem"],["style","font-weight: normal",3,"status",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-evidence",3,"nzTwotoneColor"],[2,"font-weight","normal",3,"status"],[3,"molecularProfile","enablePopover","truncateLongName"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","MP Expression"],[3,"nameSegments","enablePopover"],["nzTitle","Source","nzSpan","2"],[3,"source","enablePopover"],["nzTitle","Level"],["nzTitle","Type"],["nzTitle","Direction"],["nzTitle","Clinical Significance","nzSpan","2"],["nzTitle","Rating"],["nz-icon","","nzType","star","nzTheme","fill"],["nzTitle","Disease"],["noDisease",""],["nzTitle","Therapies","nzSpan","2",4,"ngIf"],["nzTitle","Phenotypes","nzSpan","2",4,"ngIf"],[3,"enablePopover","disease","truncateLongName"],["nzTitle","Therapies","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"enablePopover","therapy","truncateLongName"],["nzTitle","Phenotypes","nzSpan","2"],[3,"enablePopover","phenotype"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(Rt,sn){1&Rt&&(l.TgZ(0,"div",0),l.YNc(1,At,20,5,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA(),l.YNc(3,_t,1,0,"ng-template",null,2,l.W1O)),2&Rt&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,sn.evidence$)))},dependencies:[L.sg,L.O5,R.rH,T.Ls,M.bd,E.t3,E.SK,O.R7,O.uj,F.j,V.NU,V.$1,S.ZU,e.T,I.n,w.i,pe.T,ae.h,Z.p,U.C,L.rS,N.fM,q.Do,Y.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},1698:(Et,Me,a)=>{a.d(Me,{f:()=>Z});var t=a(6895),o=a(1971),g=a(3679),l=a(9194),s=a(9116),L=a(6672),R=a(8845),T=a(3973),M=a(2635),E=a(6903),O=a(1102),F=a(9444),V=a(2811),S=a(592),e=a(8823),I=a(3309),w=a(4126),pe=a(701),ae=a(4650);class Z{}Z.\u0275fac=function(N){return new(N||Z)},Z.\u0275mod=ae.oAB({type:Z}),Z.\u0275inj=ae.cJS({imports:[t.ez,s.Bz,M._N,M.pP,O.PV,o.vh,g.Jb,l.q6,L.X,E.zf,e.ZJ,F.s,pe.N,R.Q,T.y,V.s,S.x,w.u,I.r]})},4281:(Et,Me,a)=>{a.d(Me,{Q:()=>q});var t=a(3240),o=a(4004),g=a(9300),l=a(4650),s=a(7630),L=a(6895),R=a(9116),T=a(1971),M=a(3679),E=a(9194),O=a(6672),F=a(1102),V=a(6903),S=a(2635),e=a(160);function I(Y,k){if(1&Y&&(l._UZ(0,"i",11),l.ALo(1,"entityColor"),l._uU(2)),2&Y){const me=l.oxw().ngIf;l.Q6J("nzTwotoneColor",l.lcZ(1,2,"Gene")),l.xp6(2),l.hij(" ",me.officialName," ")}}function w(Y,k){if(1&Y&&(l.TgZ(0,"nz-tag"),l._uU(1),l.qZA()),2&Y){const me=k.$implicit;l.xp6(1),l.Oqu(me)}}function pe(Y,k){if(1&Y&&(l.TgZ(0,"nz-descriptions-item",12),l.YNc(1,w,2,1,"nz-tag",13),l.qZA()),2&Y){const me=l.oxw().ngIf;l.xp6(1),l.Q6J("ngForOf",me.geneAliases)}}function ae(Y,k){if(1&Y&&(l.TgZ(0,"a",14)(1,"nz-tag",15),l._UZ(2,"i",16),l._uU(3),l.qZA()()),2&Y){const me=l.oxw().ngIf;l.MGl("routerLink","/genes/",me.id,"/flags"),l.xp6(3),l.hij(" Flags (",me.flags.totalCount,") ")}}function Z(Y,k){if(1&Y&&(l.TgZ(0,"a",14)(1,"nz-tag",17),l._UZ(2,"i",18),l._uU(3),l.qZA()()),2&Y){const me=l.oxw().ngIf;l.MGl("routerLink","/genes/",me.id,"/revisions"),l.xp6(3),l.hij(" Revisions (",me.revisions.totalCount,") ")}}function U(Y,k){if(1&Y&&(l.TgZ(0,"a",14)(1,"nz-tag",19),l._UZ(2,"i",20),l._uU(3),l.qZA()()),2&Y){const me=l.oxw().ngIf;l.MGl("routerLink","/genes/",me.id,"/comments"),l.xp6(3),l.hij(" Comments (",me.comments.totalCount,") ")}}function N(Y,k){if(1&Y&&(l.ynx(0),l.TgZ(1,"nz-card",2),l.YNc(2,I,3,4,"ng-template",null,3,l.W1O),l.TgZ(4,"nz-descriptions",4),l.YNc(5,pe,2,1,"nz-descriptions-item",5),l.TgZ(6,"nz-descriptions-item",6),l._uU(7),l.qZA()(),l.TgZ(8,"nz-row",7)(9,"nz-col",8)(10,"nz-space",9),l.YNc(11,ae,4,2,"a",10),l.YNc(12,Z,4,2,"a",10),l.YNc(13,U,4,2,"a",10),l.qZA()()()(),l.BQk()),2&Y){const me=k.ngIf,fe=l.MAs(3);l.xp6(1),l.Q6J("nzTitle",fe),l.xp6(3),l.Q6J("nzColumn",2),l.xp6(1),l.Q6J("ngIf",me.geneAliases.length>0),l.xp6(2),l.hij(" ",me.variants.totalCount," ")}}class q{constructor(k){this.gql=k}ngOnInit(){if(null==this.geneId)throw new Error("cvc-gene-popover requires valid geneId input.");this.gene$=this.gql.watch({geneId:this.geneId}).valueChanges.pipe((0,o.U)(({data:k})=>k?.gene),(0,g.h)(t.ep))}}q.\u0275fac=function(k){return new(k||q)(l.Y36(s.rJ8))},q.\u0275cmp=l.Xpm({type:q,selectors:[["cvc-gene-popover"]],inputs:{geneId:"geneId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Variants"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-gene",3,"nzTwotoneColor"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(k,me){1&k&&(l.TgZ(0,"div",0),l.YNc(1,N,14,4,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA()),2&k&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,me.gene$)))},dependencies:[L.sg,L.O5,R.rH,T.bd,M.t3,M.SK,E.R7,E.uj,O.j,F.Ls,V.NU,V.$1,S.fM,e.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},6292:(Et,Me,a)=>{a.d(Me,{w:()=>F});var t=a(6895),o=a(9116),g=a(9444),l=a(2635),s=a(1971),L=a(9194),R=a(3679),T=a(1102),M=a(6903),E=a(6672),O=a(4650);class F{}F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=O.oAB({type:F}),F.\u0275inj=O.cJS({imports:[t.ez,o.Bz,l._N,l.pP,s.vh,R.Jb,L.q6,E.X,T.PV,M.zf,g.s]})},3965:(Et,Me,a)=>{a.d(Me,{H:()=>q});var t=a(6654),o=a(9771),g=a(4650),l=a(6895),s=a(9116),L=a(6672),R=a(6581),T=a(1102),M=a(4281),E=a(1730),O=a(4557),F=a(160);function V(Y,k){}function S(Y,k){if(1&Y&&(g.ynx(0),g.TgZ(1,"a",4),g.YNc(2,V,0,0,"ng-template",5),g.qZA(),g.BQk()),2&Y){const me=g.oxw(),fe=g.MAs(2);g.xp6(1),g.Q6J("routerLink",me.gene.link),g.xp6(1),g.Q6J("ngTemplateOutlet",fe)}}function e(Y,k){}function I(Y,k){if(1&Y&&g._UZ(0,"cvc-gene-popover",8),2&Y){const me=g.oxw(2);g.Q6J("geneId",me.gene.id)}}function w(Y,k){if(1&Y){const me=g.EpF();g.TgZ(0,"nz-tag",6),g.NdJ("nzOnClose",function(te){g.CHM(me);const ye=g.oxw();return g.KtG(ye.itemClosed(te))}),g.YNc(1,e,0,0,"ng-template",5),g.qZA(),g.YNc(2,I,1,1,"ng-template",null,7,g.W1O)}if(2&Y){const me=g.MAs(3),fe=g.oxw(),te=g.MAs(6);g.Q6J("nzPopoverMouseEnterDelay",fe.onCloseClicked?0:.5)("nzPopoverContent",me)("nzPopoverTrigger",fe.enablePopover?"hover":null)("nzMode",fe.onCloseClicked?"closeable":"default"),g.xp6(1),g.Q6J("ngTemplateOutlet",te)}}function pe(Y,k){}function ae(Y,k){if(1&Y&&g.YNc(0,pe,0,0,"ng-template",5),2&Y){g.oxw();const me=g.MAs(2);g.Q6J("ngTemplateOutlet",me)}}function Z(Y,k){if(1&Y&&(g.ynx(0),g._uU(1),g.ALo(2,"truncate"),g.BQk()),2&Y){const me=g.oxw(2);g.xp6(1),g.hij(" ",g.xi3(2,1,me.gene.name,12)," ")}}function U(Y,k){if(1&Y&&g._uU(0),2&Y){const me=g.oxw(2);g.hij(" ",me.gene.name," ")}}function N(Y,k){if(1&Y&&(g.TgZ(0,"cvc-icon-badges",9),g._UZ(1,"i",10),g.ALo(2,"entityColor"),g.qZA(),g.YNc(3,Z,3,4,"ng-container",0),g.YNc(4,U,1,1,"ng-template",null,11,g.W1O)),2&Y){const me=g.MAs(5),fe=g.oxw();g.Q6J("flagged",fe.gene.flagged)("entityColor",fe.iconColor),g.xp6(1),g.Q6J("nzTwotoneColor",g.lcZ(2,5,"Gene")),g.xp6(2),g.Q6J("ngIf",fe.truncateLongName)("ngIfElse",me)}}class q extends t.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1,this.iconColor=(0,o.f)("Gene")}idFunction(){return this.gene.id}ngOnInit(){if(super.ngOnInit(),void 0===this.gene)throw new Error("cvc-gene-tag requires LinkableGene input, none supplied.")}}q.\u0275fac=function(k){return new(k||q)},q.\u0275cmp=g.Xpm({type:q,selectors:[["cvc-gene-tag"]],inputs:{gene:"gene",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[g.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["genePopover",""],[3,"geneId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-gene","nzTheme","twotone",3,"nzTwotoneColor"],["fullName",""]],template:function(k,me){if(1&k&&(g.YNc(0,S,3,2,"ng-container",0),g.YNc(1,w,4,5,"ng-template",null,1,g.W1O),g.YNc(3,ae,1,1,"ng-template",null,2,g.W1O),g.YNc(5,N,6,7,"ng-template",null,3,g.W1O)),2&k){const fe=g.MAs(4);g.Q6J("ngIf",me.linked)("ngIfElse",fe)}},dependencies:[l.O5,l.tP,s.rH,L.j,R.lU,T.Ls,M.Q,E.b,O.W,F.a],encapsulation:2,changeDetection:0})},1229:(Et,Me,a)=>{a.d(Me,{U:()=>O});var t=a(6895),o=a(9116),g=a(6672),l=a(1102),s=a(6581),L=a(6292),R=a(9444),T=a(48),M=a(6429),E=a(4650);class O{}O.\u0275fac=function(V){return new(V||O)},O.\u0275mod=E.oAB({type:O}),O.\u0275inj=E.cJS({imports:[t.ez,o.Bz,g.X,s.$6,l.PV,T.mS,R.s,L.w,M.C]})},3314:(Et,Me,a)=>{a.d(Me,{_:()=>fe});var t=a(3240),o=a(4004),g=a(9300),l=a(4650),s=a(7630),L=a(6895),R=a(9116),T=a(1971),M=a(3679),E=a(9194),O=a(6672),F=a(1102),V=a(6903),S=a(6715),e=a(7230),I=a(2635);function w(te,ye){if(1&te&&(l._UZ(0,"i",16),l._uU(1)),2&te){const H=l.oxw().ngIf;l.xp6(1),l.hij(" ",H.name," ")}}function pe(te,ye){if(1&te&&(l.TgZ(0,"nz-descriptions-item",17),l._uU(1),l.qZA()),2&te){const H=l.oxw().ngIf;l.xp6(1),l.hij(" ",H.evidenceItems.totalCount," ")}}function ae(te,ye){if(1&te&&(l.TgZ(0,"nz-descriptions-item",18),l._uU(1),l.qZA()),2&te){const H=l.oxw().ngIf;l.xp6(1),l.hij(" ",H.assertions.totalCount," ")}}function Z(te,ye){if(1&te&&(l.TgZ(0,"nz-tag"),l._uU(1),l.qZA()),2&te){const H=ye.$implicit;l.xp6(1),l.Oqu(H)}}function U(te,ye){if(1&te&&(l.ynx(0),l.TgZ(1,"cvc-tag-list"),l.YNc(2,Z,2,1,"nz-tag",19),l.qZA(),l.BQk()),2&te){const H=l.oxw().ngIf;l.xp6(2),l.Q6J("ngForOf",H.molecularProfileAliases)}}function N(te,ye){1&te&&(l.TgZ(0,"span",20),l._uU(1,"None specified"),l.qZA())}function q(te,ye){if(1&te&&(l.TgZ(0,"a",21)(1,"nz-tag",22),l._UZ(2,"i",23),l._uU(3),l.qZA()()),2&te){const H=l.oxw().ngIf;l.MGl("routerLink","/molecular-profiles/",H.id,"/flags"),l.xp6(3),l.hij(" Flags (",H.flags.totalCount,") ")}}function Y(te,ye){if(1&te&&(l.TgZ(0,"a",21)(1,"nz-tag",24),l._UZ(2,"i",25),l._uU(3),l.qZA()()),2&te){const H=l.oxw().ngIf;l.MGl("routerLink","/molecular-profiles/",H.id,"/revisions"),l.xp6(3),l.hij(" Revisions (",H.revisions.totalCount,") ")}}function k(te,ye){if(1&te&&(l.TgZ(0,"a",21)(1,"nz-tag",26),l._UZ(2,"i",27),l._uU(3),l.qZA()()),2&te){const H=l.oxw().ngIf;l.MGl("routerLink","/molecular-profiles/",H.id,"/comments"),l.xp6(3),l.hij(" Comments (",H.comments.totalCount,") ")}}function me(te,ye){if(1&te&&(l.ynx(0),l.TgZ(1,"nz-card",2),l.YNc(2,w,2,1,"ng-template",null,3,l.W1O),l.TgZ(4,"nz-descriptions",4)(5,"nz-descriptions-item",5),l._UZ(6,"cvc-mp-tag-name",6),l.qZA(),l.YNc(7,pe,2,1,"nz-descriptions-item",7),l.YNc(8,ae,2,1,"nz-descriptions-item",8),l.TgZ(9,"nz-descriptions-item",9),l.YNc(10,U,3,1,"ng-container",10),l.YNc(11,N,2,0,"ng-template",null,11,l.W1O),l.qZA()(),l.TgZ(13,"nz-row",12)(14,"nz-col",13)(15,"nz-space",14),l.YNc(16,q,4,2,"a",15),l.YNc(17,Y,4,2,"a",15),l.YNc(18,k,4,2,"a",15),l.qZA()()()(),l.BQk()),2&te){const H=ye.ngIf,X=l.MAs(3),ve=l.MAs(12);l.xp6(1),l.Q6J("nzTitle",X),l.xp6(3),l.Q6J("nzColumn",2),l.xp6(2),l.Q6J("nameSegments",H.parsedName)("enablePopover",!1),l.xp6(1),l.Q6J("ngIf",H.evidenceItems.totalCount>0),l.xp6(1),l.Q6J("ngIf",H.assertions.totalCount>0),l.xp6(2),l.Q6J("ngIf",H.molecularProfileAliases.length>0)("ngIfElse",ve)}}class fe{constructor(ye){this.gql=ye}ngOnInit(){if(void 0===this.molecularProfileId)throw new Error("Must pass a molecular profile ID into the molecular profile popover component.");this.molecularProfile$=this.gql.watch({molecularProfileId:this.molecularProfileId}).valueChanges.pipe((0,o.U)(({data:ye})=>ye?.molecularProfile),(0,g.h)(t.ep))}}fe.\u0275fac=function(ye){return new(ye||fe)(l.Y36(s.DkJ))},fe.\u0275cmp=l.Xpm({type:fe,selectors:[["cvc-molecular-profile-popover"]],inputs:{molecularProfileId:"molecularProfileId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","MP Expression","nzSpan","2"],[3,"nameSegments","enablePopover"],["nzTitle","Evidence Items","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","2",4,"ngIf"],["nzTitle","Aliases"],[4,"ngIf","ngIfElse"],["noAliases",""],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:molecularprofile"],["nzTitle","Evidence Items","nzSpan","2"],["nzTitle","Assertions","nzSpan","2"],[4,"ngFor","ngForOf"],["nz-typography","","nzType","secondary"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(ye,H){1&ye&&(l.TgZ(0,"div",0),l.YNc(1,me,19,8,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA()),2&ye&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,H.molecularProfile$)))},dependencies:[L.sg,L.O5,R.rH,T.bd,M.t3,M.SK,E.R7,E.uj,O.j,F.Ls,V.NU,V.$1,S.$,e.C,I.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},4398:(Et,Me,a)=>{a.d(Me,{_:()=>e});var t=a(6895),o=a(9116),g=a(2635),l=a(1971),s=a(3679),L=a(9194),R=a(6672),T=a(1102),M=a(6903),E=a(1229),O=a(4989),F=a(3309),V=a(897),S=a(4650);class e{}e.\u0275fac=function(w){return new(w||e)},e.\u0275mod=S.oAB({type:e}),e.\u0275inj=S.cJS({imports:[t.ez,o.Bz,g._N,g.pP,l.vh,s.Jb,L.q6,R.X,T.PV,M.zf,E.U,O.X,V.$,F.r]})},7230:(Et,Me,a)=>{a.d(Me,{C:()=>V});var t=a(4650),o=a(6895),g=a(5457),l=a(3965);class L{constructor(){}}function R(S,e){if(1&S&&t._UZ(0,"span",3),2&S){const I=t.oxw().$implicit;t.Q6J("innerHtml",I.text,t.oJD)}}function T(S,e){if(1&S&&t._UZ(0,"cvc-gene-tag",6),2&S){const I=t.oxw().$implicit,w=t.oxw(3);t.Q6J("gene",I)("enablePopover",w.enablePopover)}}function M(S,e){if(1&S&&(t.ynx(0),t.YNc(1,T,1,2,"cvc-gene-tag",5),t.BQk()),2&S){const I=e.$implicit;t.xp6(1),t.Q6J("ngIf","Gene"==I.__typename)}}L.\u0275fac=function(e){return new(e||L)},L.\u0275cmp=t.Xpm({type:L,selectors:[["cvc-tag-group"]],ngContentSelectors:["*"],decls:1,vars:0,template:function(e,I){1&e&&(t.F$t(),t.Hsn(0))},styles:["[_nghost-%COMP%] >*:first-child nz-tag{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}[_nghost-%COMP%] >*:last-child nz-tag{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px;border-left-color:#e9e9e9}"]});const E=function(S){return[S]};function O(S,e){if(1&S&&(t.ynx(0),t.TgZ(1,"cvc-tag-group"),t.YNc(2,M,2,1,"ng-container",0),t._UZ(3,"cvc-variant-tag",4),t.qZA(),t.BQk()),2&S){const I=t.oxw(),w=I.index,pe=I.$implicit,ae=t.oxw();t.xp6(2),t.Q6J("ngForOf",t.VKq(3,E,ae.nameSegments[w-1])),t.xp6(1),t.Q6J("variant",pe)("enablePopover",ae.enablePopover)}}function F(S,e){if(1&S&&(t.ynx(0),t.YNc(1,R,1,1,"span",1),t.YNc(2,O,4,5,"ng-container",2),t.BQk()),2&S){const I=e.$implicit;t.xp6(1),t.Q6J("ngIf","MolecularProfileTextSegment"==I.__typename),t.xp6(1),t.Q6J("ngIf","Variant"==I.__typename)}}class V{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.nameSegments)throw new Error("Must pass a list of molecular profile name segments into mp name component.")}}V.\u0275fac=function(e){return new(e||V)},V.\u0275cmp=t.Xpm({type:V,selectors:[["cvc-mp-tag-name"]],inputs:{nameSegments:"nameSegments",enablePopover:"enablePopover"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["class","text-segment",3,"innerHtml",4,"ngIf"],[4,"ngIf"],[1,"text-segment",3,"innerHtml"],[3,"variant","enablePopover"],[3,"gene","enablePopover",4,"ngIf"],[3,"gene","enablePopover"]],template:function(e,I){1&e&&t.YNc(0,F,3,2,"ng-container",0),2&e&&t.Q6J("ngForOf",I.nameSegments)},dependencies:[o.sg,o.O5,g.I,l.H,L],styles:[".text-segment[_ngcontent-%COMP%]{display:inline-block;margin-right:8px;font-weight:700;color:#0009;font-size:14px;line-height:12px}"]})},3309:(Et,Me,a)=>{a.d(Me,{r:()=>T});var t=a(6895),o=a(7043),g=a(1229),l=a(6672),s=a(1102),L=a(4650);class R{}R.\u0275fac=function(E){return new(E||R)},R.\u0275mod=L.oAB({type:R}),R.\u0275inj=L.cJS({imports:[t.ez]});class T{}T.\u0275fac=function(E){return new(E||T)},T.\u0275mod=L.oAB({type:T}),T.\u0275inj=L.cJS({imports:[t.ez,l.X,s.PV,o.Q,g.U,R]})},5105:(Et,Me,a)=>{a.d(Me,{p:()=>me});var t=a(6654),o=a(9771),g=a(4650),l=a(6895),s=a(9116),L=a(6672),R=a(6581),T=a(1102),M=a(3314),E=a(4557);function O(fe,te){}function F(fe,te){if(1&fe&&(g.ynx(0),g.TgZ(1,"a",5),g.YNc(2,O,0,0,"ng-template",6),g.qZA(),g.BQk()),2&fe){const ye=g.oxw(),H=g.MAs(2);g.xp6(1),g.Q6J("routerLink",ye.molecularProfile.link),g.xp6(1),g.Q6J("ngTemplateOutlet",H)}}function V(fe,te){}const S=function(fe){return{deprecated:fe}};function e(fe,te){if(1&fe){const ye=g.EpF();g.TgZ(0,"nz-tag",9),g.NdJ("nzOnClose",function(X){g.CHM(ye);const ve=g.oxw(2);return g.KtG(ve.itemClosed(X))}),g.YNc(1,V,0,0,"ng-template",6),g.qZA()}if(2&fe){g.oxw();const ye=g.MAs(2),H=g.oxw(),X=g.MAs(8);g.Q6J("ngClass",g.VKq(5,S,H.molecularProfile.deprecated))("nzPopoverMouseEnterDelay",H.onCloseClicked?0:.5)("nzPopoverContent",ye)("nzMode",H.onCloseClicked?"closeable":"default"),g.xp6(1),g.Q6J("ngTemplateOutlet",X)}}function I(fe,te){if(1&fe&&g._UZ(0,"cvc-molecular-profile-popover",11),2&fe){const ye=g.oxw(3);g.Q6J("molecularProfileId",ye.molecularProfile.id)}}function w(fe,te){if(1&fe&&g.YNc(0,I,1,1,"cvc-molecular-profile-popover",10),2&fe){const ye=g.oxw(2);g.Q6J("ngIf",ye.enablePopover)}}function pe(fe,te){if(1&fe&&(g.YNc(0,e,2,7,"nz-tag",7),g.YNc(1,w,1,1,"ng-template",null,8,g.W1O)),2&fe){const ye=g.oxw(),H=g.MAs(4);g.Q6J("ngIf",ye.enablePopover)("ngIfElse",H)}}function ae(fe,te){}function Z(fe,te){if(1&fe){const ye=g.EpF();g.TgZ(0,"nz-tag",12),g.NdJ("nzOnClose",function(X){g.CHM(ye);const ve=g.oxw();return g.KtG(ve.itemClosed(X))}),g.YNc(1,ae,0,0,"ng-template",6),g.qZA()}if(2&fe){const ye=g.oxw(),H=g.MAs(8);g.Q6J("nzMode",ye.onCloseClicked?"closeable":"default")("ngClass",g.VKq(3,S,ye.molecularProfile.deprecated)),g.xp6(1),g.Q6J("ngTemplateOutlet",H)}}function U(fe,te){}function N(fe,te){if(1&fe&&g.YNc(0,U,0,0,"ng-template",6),2&fe){g.oxw();const ye=g.MAs(2);g.Q6J("ngTemplateOutlet",ye)}}function q(fe,te){if(1&fe&&(g.ynx(0),g._uU(1),g.ALo(2,"truncate"),g.BQk()),2&fe){const ye=g.oxw(2);g.xp6(1),g.hij(" ",g.xi3(2,1,ye.molecularProfile.name,ye.truncationLength)," ")}}function Y(fe,te){if(1&fe&&g._uU(0),2&fe){const ye=g.oxw(2);g.hij(" ",ye.molecularProfile.name," ")}}function k(fe,te){if(1&fe&&(g._UZ(0,"i",13),g.YNc(1,q,3,4,"ng-container",0),g.YNc(2,Y,1,1,"ng-template",null,14,g.W1O)),2&fe){const ye=g.MAs(3),H=g.oxw();g.Q6J("nzTwotoneColor",H.iconColor),g.xp6(1),g.Q6J("ngIf",H.truncateLongName)("ngIfElse",ye)}}class me extends t.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1,this.truncationLength=20,this.iconColor=(0,o.f)("MolecularProfile")}idFunction(){return this.molecularProfile.id}ngOnInit(){if(super.ngOnInit(),void 0===this.molecularProfile)throw new Error("cvc-molecular-profile-tag requires LinkableMolecularProfile input, none supplied.");"number"==typeof this.truncateLongName&&(this.truncationLength=this.truncateLongName),"segments"in this.molecularProfile&&(this.molecularProfile.name=this.molecularProfile.segments.map(te=>"text"in te?te.text:te.name).join(" "))}}me.\u0275fac=function(te){return new(te||me)},me.\u0275cmp=g.Xpm({type:me,selectors:[["cvc-molecular-profile-tag"]],inputs:{molecularProfile:"molecularProfile",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[g.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"molecularProfileId",4,"ngIf"],[3,"molecularProfileId"],[3,"nzMode","ngClass","nzOnClose"],["nz-icon","","nzType","civic-molecularprofile","nzTheme","twotone",3,"nzTwotoneColor"],["fullName",""]],template:function(te,ye){if(1&te&&(g.YNc(0,F,3,2,"ng-container",0),g.YNc(1,pe,3,2,"ng-template",null,1,g.W1O),g.YNc(3,Z,2,5,"ng-template",null,2,g.W1O),g.YNc(5,N,1,1,"ng-template",null,3,g.W1O),g.YNc(7,k,4,3,"ng-template",null,4,g.W1O)),2&te){const H=g.MAs(6);g.Q6J("ngIf",ye.linked)("ngIfElse",H)}},dependencies:[l.mk,l.O5,l.tP,s.rH,L.j,R.lU,T.Ls,M._,E.W],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})},4126:(Et,Me,a)=>{a.d(Me,{u:()=>M});var t=a(6895),o=a(9116),g=a(6672),l=a(1102),s=a(6581),L=a(9444),R=a(4398),T=a(4650);class M{}M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=T.oAB({type:M}),M.\u0275inj=T.cJS({imports:[t.ez,o.Bz,g.X,s.$6,l.PV,L.s,R._]})},8305:(Et,Me,a)=>{a.d(Me,{S:()=>e});var t=a(3240),o=a(4004),g=a(9300),l=a(4650),s=a(7630),L=a(6895),R=a(1102),T=a(1971),M=a(6550),E=a(9194),O=a(2635);function F(I,w){if(1&I&&(l._UZ(0,"i",9),l._uU(1)),2&I){const pe=l.oxw().ngIf;l.xp6(1),l.hij(" ",pe.name," ")}}function V(I,w){if(1&I&&(l.TgZ(0,"cvc-link-tag",10),l._uU(1),l.qZA()),2&I){const pe=l.oxw().ngIf;l.Q6J("href",pe.url),l.xp6(1),l.hij(" ",pe.hpoId," ")}}function S(I,w){if(1&I&&(l.ynx(0),l.TgZ(1,"nz-card",2),l.YNc(2,F,2,1,"ng-template",null,3,l.W1O),l.YNc(4,V,2,2,"ng-template",null,4,l.W1O),l.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),l._uU(8),l.qZA(),l.TgZ(9,"nz-descriptions-item",7),l._uU(10),l.qZA(),l.TgZ(11,"nz-descriptions-item",8),l._uU(12),l.qZA()()(),l.BQk()),2&I){const pe=w.ngIf,ae=l.MAs(3),Z=l.MAs(5);l.xp6(1),l.Q6J("nzTitle",ae)("nzExtra",Z),l.xp6(5),l.Q6J("nzColumn",2),l.xp6(2),l.hij(" ",pe.assertionCount," "),l.xp6(2),l.hij(" ",pe.evidenceItemCount," "),l.xp6(2),l.hij(" ",pe.molecularProfileCount," ")}}class e{constructor(w){this.gql=w}ngOnInit(){if(null==this.phenotypeId)throw new Error("cvc-phenotype-popover requires valid phenotypeId input.");this.phenotype$=this.gql.watch({phenotypeId:this.phenotypeId}).valueChanges.pipe((0,o.U)(({data:w})=>w?.phenotypePopover),(0,g.h)(t.ep))}}e.\u0275fac=function(w){return new(w||e)(l.Y36(s.OHm))},e.\u0275cmp=l.Xpm({type:e,selectors:[["cvc-phenotype-popover"]],inputs:{phenotypeId:"phenotypeId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Assertions","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nzTitle","Molecular Profiles","nzSpan","2"],["nz-icon","","nzType","civic-phenotype","nzTheme","twotone","nzTwotoneColor","#2A63B6"],["tooltip","View in the Human Phenotype Ontology",3,"href"]],template:function(w,pe){1&w&&(l.TgZ(0,"div",0),l.YNc(1,S,13,6,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA()),2&w&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,pe.phenotype$)))},dependencies:[L.O5,R.Ls,T.bd,M.l,E.R7,E.uj,O.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},1028:(Et,Me,a)=>{a.d(Me,{I:()=>T});var t=a(6895),o=a(2635),g=a(1971),l=a(4989),s=a(9194),L=a(1102),R=a(4650);class T{}T.\u0275fac=function(E){return new(E||T)},T.\u0275mod=R.oAB({type:T}),T.\u0275inj=R.cJS({imports:[t.ez,o._N,o.pP,L.PV,g.vh,l.X,s.q6]})},3172:(Et,Me,a)=>{a.d(Me,{i:()=>Z});var t=a(6654),o=a(4650),g=a(6895),l=a(9116),s=a(6672),L=a(6581),R=a(1102),T=a(8305),M=a(160);function E(U,N){}function O(U,N){if(1&U&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,E,0,0,"ng-template",6),o.qZA(),o.BQk()),2&U){const q=o.oxw(),Y=o.MAs(2);o.xp6(1),o.Q6J("routerLink",q.phenotype.link),o.xp6(1),o.Q6J("ngTemplateOutlet",Y)}}function F(U,N){}function V(U,N){if(1&U&&o._UZ(0,"cvc-phenotype-popover",9),2&U){const q=o.oxw(2);o.Q6J("phenotypeId",q.phenotype.id)}}function S(U,N){if(1&U){const q=o.EpF();o.TgZ(0,"nz-tag",7),o.NdJ("nzOnClose",function(k){o.CHM(q);const me=o.oxw();return o.KtG(me.itemClosed(k))}),o.YNc(1,F,0,0,"ng-template",6),o.qZA(),o.YNc(2,V,1,1,"ng-template",null,8,o.W1O)}if(2&U){const q=o.MAs(3),Y=o.oxw(),k=o.MAs(8);o.Q6J("nzPopoverMouseEnterDelay",Y.onCloseClicked?0:.5)("nzPopoverContent",q)("nzPopoverTrigger",Y.enablePopover?"hover":null)("nzMode",Y.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",k)}}function e(U,N){}function I(U,N){if(1&U){const q=o.EpF();o.TgZ(0,"nz-tag",10),o.NdJ("nzOnClose",function(k){o.CHM(q);const me=o.oxw();return o.KtG(me.itemClosed(k))}),o.YNc(1,e,0,0,"ng-template",6),o.qZA()}if(2&U){const q=o.oxw(),Y=o.MAs(8);o.Q6J("nzMode",q.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",Y)}}function w(U,N){}function pe(U,N){if(1&U&&o.YNc(0,w,0,0,"ng-template",6),2&U){o.oxw();const q=o.MAs(2);o.Q6J("ngTemplateOutlet",q)}}function ae(U,N){if(1&U&&(o._UZ(0,"i",11),o.ALo(1,"entityColor"),o._uU(2)),2&U){const q=o.oxw();o.Q6J("nzTwotoneColor",o.lcZ(1,2,"Phenotype")),o.xp6(2),o.hij(" ",q.phenotype.name,"\n")}}class Z extends t.a{constructor(){super(...arguments),this.enablePopover=!0}set phenotype(N){if(!N)throw new Error("phenotype-tag phentype input requires LinkablePhenotype.");this._phenotype=N}get phenotype(){return this._phenotype}idFunction(){return this.phenotype.id}}Z.\u0275fac=function(){let U;return function(q){return(U||(U=o.n5z(Z)))(q||Z)}}(),Z.\u0275cmp=o.Xpm({type:Z,selectors:[["cvc-phenotype-tag"]],inputs:{phenotype:"phenotype",enablePopover:"enablePopover"},features:[o.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["phenotypePopover",""],[3,"phenotypeId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzTheme","twotone","nzType","civic-phenotype",3,"nzTwotoneColor"]],template:function(N,q){if(1&N&&(o.YNc(0,O,3,2,"ng-container",0),o.YNc(1,S,4,5,"ng-template",null,1,o.W1O),o.YNc(3,I,2,2,"ng-template",null,2,o.W1O),o.YNc(5,pe,1,1,"ng-template",null,3,o.W1O),o.YNc(7,ae,3,4,"ng-template",null,4,o.W1O)),2&N){const Y=o.MAs(6);o.Q6J("ngIf",q.linked)("ngIfElse",Y)}},dependencies:[g.O5,g.tP,l.rH,s.j,L.lU,R.Ls,T.S,M.a],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})},3973:(Et,Me,a)=>{a.d(Me,{y:()=>M});var t=a(6895),o=a(9116),g=a(9444),l=a(1102),s=a(6581),L=a(6672),R=a(1028),T=a(4650);class M{}M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=T.oAB({type:M}),M.\u0275inj=T.cJS({imports:[t.ez,o.Bz,L.X,s.$6,l.PV,R.I,g.s]})},1730:(Et,Me,a)=>{a.d(Me,{b:()=>M});var t=a(9771),o=a(4650),g=a(6895);const l=function(E){return{background:E}};function s(E,O){if(1&E&&o._UZ(0,"div",3),2&E){const F=o.oxw();o.Q6J("ngStyle",o.VKq(1,l,F.flagColor))}}function L(E,O){if(1&E&&o._UZ(0,"div",4),2&E){const F=o.oxw();o.Q6J("ngStyle",o.VKq(1,l,F.entityColor))}}function R(E,O){if(1&E&&o._UZ(0,"div",5),2&E){const F=o.oxw();o.Q6J("ngStyle",o.VKq(1,l,F.entityColor))}}class M{constructor(){this.hasRevisions=!1,this.flagged=!1,this.hasComments=!1,this.entityColor="#AAA",this.flagColor=(0,t.f)("Flag")}}M.\u0275fac=function(O){return new(O||M)},M.\u0275cmp=o.Xpm({type:M,selectors:[["cvc-icon-badges"]],inputs:{hasRevisions:"hasRevisions",flagged:"flagged",hasComments:"hasComments",entityColor:"entityColor"},ngContentSelectors:["*"],decls:4,vars:3,consts:[["class","cvc-badge badge-flags",3,"ngStyle",4,"ngIf"],["class","cvc-badge badge-revisions",3,"ngStyle",4,"ngIf"],["class","cvc-badge badge-comments",3,"ngStyle",4,"ngIf"],[1,"cvc-badge","badge-flags",3,"ngStyle"],[1,"cvc-badge","badge-revisions",3,"ngStyle"],[1,"cvc-badge","badge-comments",3,"ngStyle"]],template:function(O,F){1&O&&(o.F$t(),o.Hsn(0),o.YNc(1,s,1,3,"div",0),o.YNc(2,L,1,3,"div",1),o.YNc(3,R,1,3,"div",2)),2&O&&(o.xp6(1),o.Q6J("ngIf",F.flagged),o.xp6(1),o.Q6J("ngIf",F.hasRevisions),o.xp6(1),o.Q6J("ngIf",F.hasComments))},dependencies:[g.O5,g.PC],styles:["[_nghost-%COMP%]{display:inline-block;position:relative;line-height:1}.cvc-badge[_ngcontent-%COMP%]{position:absolute;z-index:auto;width:4px;min-width:4px;height:4px;border-radius:100%;box-shadow:0 0 0 1px #fff;background:#aaa}.cvc-badge.badge-revisions[_ngcontent-%COMP%]{top:.5px;right:.5px;transform:translate(50%,-50%)}.cvc-badge.badge-flags[_ngcontent-%COMP%]{top:.5px;left:.5px;transform:translate(-50%,-50%)}.cvc-badge.badge-comments[_ngcontent-%COMP%]{bottom:.5px;right:.5px;transform:translate(50%,50%)}"],changeDetection:0})},6429:(Et,Me,a)=>{a.d(Me,{C:()=>l});var t=a(6895),o=a(9444),g=a(4650);class l{}l.\u0275fac=function(L){return new(L||l)},l.\u0275mod=g.oAB({type:l}),l.\u0275inj=g.cJS({imports:[t.ez,o.s]})},6550:(Et,Me,a)=>{a.d(Me,{l:()=>L});var t=a(4650),o=a(7570),g=a(6672),l=a(1102);class L{set href(T){if(!T)throw new Error("link-tag link Input requires string.");this._href=T}get href(){return this._href?this._href:""}}L.\u0275fac=function(T){return new(T||L)},L.\u0275cmp=t.Xpm({type:L,selectors:[["cvc-link-tag"]],inputs:{href:"href",tooltip:"tooltip",iconName:"iconName"},ngContentSelectors:["*"],decls:4,vars:4,consts:[["target","_blank",3,"href"],["nzColor","default","nz-tooltip","",3,"nzTooltipTitle","nzTooltipTrigger"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(T,M){1&T&&(t.F$t(),t.TgZ(0,"a",0)(1,"nz-tag",1),t._UZ(2,"i",2),t.Hsn(3),t.qZA()()),2&T&&(t.Q6J("href",M.href,t.LSH),t.xp6(1),t.Q6J("nzTooltipTitle",M.tooltip)("nzTooltipTrigger",M.tooltip?"hover":null),t.xp6(1),t.Q6J("nzType",M.iconName?M.iconName:"link"))},dependencies:[o.SY,g.j,l.Ls],encapsulation:2})},4989:(Et,Me,a)=>{a.d(Me,{X:()=>L});var t=a(6895),o=a(7570),g=a(6672),l=a(1102),s=a(4650);class L{}L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({imports:[t.ez,o.cg,g.X,l.PV]})},2994:(Et,Me,a)=>{a.d(Me,{y:()=>L});var t=a(6895),o=a(2635),g=a(1102),l=a(6672),s=a(4650);class L{}L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=s.oAB({type:L}),L.\u0275inj=s.cJS({imports:[t.ez,o._N,o.pP,l.X,g.PV]})},3388:(Et,Me,a)=>{a.d(Me,{H:()=>E});var t=a(1135),o=a(7445),g=a(590),l=a(4650),s=a(6895),L=a(6672),R=a(1102),T=a(2635);function M(O,F){1&O&&(l.TgZ(0,"nz-tag",1),l._UZ(1,"i",2),l.TgZ(2,"span"),l._uU(3,"End of results reached"),l.qZA()())}class E{set cvcShowTag(F){void 0!==F&&F&&this.showTag()}constructor(F){this.cdr=F,this.showTag$=new t.X(!1)}showTag(){!1===this.showTag$.getValue()&&(this.showTag$.next(!0),(0,o.F)(3e3).pipe((0,g.P)()).subscribe(()=>{this.showTag$.next(!1),this.cdr.detectChanges()}))}}E.\u0275fac=function(F){return new(F||E)(l.Y36(l.sBO))},E.\u0275cmp=l.Xpm({type:E,selectors:[["cvc-no-more-rows"]],inputs:{cvcShowTag:"cvcShowTag"},decls:2,vars:3,consts:[["nzColor","warning",4,"ngIf"],["nzColor","warning"],["nz-icon","","nzType","exclamation-circle"]],template:function(F,V){1&F&&(l.YNc(0,M,4,0,"nz-tag",0),l.ALo(1,"ngrxPush")),2&F&&l.Q6J("ngIf",l.lcZ(1,1,V.showTag$))},dependencies:[s.O5,L.j,R.Ls,T.fM],encapsulation:2,changeDetection:0})},4590:(Et,Me,a)=>{a.d(Me,{h:()=>O});var t=a(4650),o=a(6895),g=a(6672),l=a(1102);function s(F,V){1&F&&t._UZ(0,"i",7)}function L(F,V){1&F&&t._UZ(0,"i",8)}function R(F,V){1&F&&t._UZ(0,"i",9)}function T(F,V){1&F&&t._UZ(0,"i",10)}function M(F,V){1&F&&t._UZ(0,"i",10)}function E(F,V){if(1&F&&(t.TgZ(0,"nz-tag",1),t.ynx(1,2),t.YNc(2,s,1,0,"i",3),t.YNc(3,L,1,0,"i",4),t.YNc(4,R,1,0,"i",5),t.YNc(5,T,1,0,"i",6),t.YNc(6,M,1,0,"i",6),t.BQk(),t._uU(7),t.ALo(8,"titlecase"),t.qZA()),2&F){const S=t.oxw();t.Q6J("nzColor",S.tagStatus),t.xp6(1),t.Q6J("ngSwitch",S.tagStatus),t.xp6(1),t.Q6J("ngSwitchCase","success"),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","warning"),t.xp6(1),t.Q6J("ngSwitchCase","processing"),t.xp6(1),t.Q6J("ngSwitchCase","default"),t.xp6(1),t.hij(" ",t.lcZ(8,8,S.status),"\n")}}class O{constructor(){this.statusColorMap={ACCEPTED:"success",REJECTED:"error",SUBMITTED:"warning",NEW:"processing",SUPERSEDED:"default",OPEN:"error",RESOLVED:"default"}}set status(V){this._status=V,V&&(this.tagStatus=this.statusColorMap[V])}get status(){return this._status}ngOnInit(){if(void 0===this.status)throw new Error("Must pass a valid EvidenceStatus or RevisionStatus to cvc-status-tag component")}}O.\u0275fac=function(V){return new(V||O)},O.\u0275cmp=t.Xpm({type:O,selectors:[["cvc-status-tag"]],inputs:{status:"status"},decls:1,vars:1,consts:[[3,"nzColor",4,"ngIf"],[3,"nzColor"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","",4,"ngSwitchCase"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon",""]],template:function(V,S){1&V&&t.YNc(0,E,9,10,"nz-tag",0),2&V&&t.Q6J("ngIf",S.tagStatus)},dependencies:[o.O5,o.RF,o.n9,g.j,l.Ls,o.rS],encapsulation:2})},592:(Et,Me,a)=>{a.d(Me,{x:()=>s});var t=a(6895),o=a(6672),g=a(1102),l=a(4650);class s{}s.\u0275fac=function(R){return new(R||s)},s.\u0275mod=l.oAB({type:s}),s.\u0275inj=l.cJS({imports:[t.ez,o.X,g.PV]})},6715:(Et,Me,a)=>{a.d(Me,{$:()=>g});var t=a(4650);class g{constructor(){}ngOnInit(){}}g.\u0275fac=function(s){return new(s||g)},g.\u0275cmp=t.Xpm({type:g,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(s,L){2&s&&t.ekj("xs","xs"===L.size||!L.size)("sm","sm"===L.size)},inputs:{size:"size"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"tag-list"]],template:function(s,L){1&s&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"],changeDetection:0})},897:(Et,Me,a)=>{a.d(Me,{$:()=>g});var t=a(6895),o=a(4650);class g{}g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[t.ez]})},2614:(Et,Me,a)=>{a.d(Me,{p:()=>Z});var t=a(3240),o=a(4004),g=a(9300),l=a(4650),s=a(7630),L=a(6895),R=a(1102),T=a(1971),M=a(9194),E=a(6550),O=a(6715),F=a(4049),V=a(2635);function S(U,N){if(1&U&&(l._UZ(0,"i",11),l._uU(1)),2&U){const q=l.oxw().ngIf;l.xp6(1),l.AsE(" ",q.displayType,":\xa0",q.citation," ")}}function e(U,N){if(1&U&&(l.TgZ(0,"cvc-link-tag",12),l._uU(1),l.qZA()),2&U){const q=l.oxw().ngIf;l.Q6J("href",q.sourceUrl)("tooltip","View on "+q.displayType),l.xp6(1),l.hij(" ",q.displayType+":"+q.citationId," ")}}function I(U,N){1&U&&l._UZ(0,"cvc-clinical-trial-tag",14),2&U&&l.Q6J("clinicalTrial",N.$implicit)("enablePopover",!1)}function w(U,N){if(1&U&&(l.ynx(0),l.TgZ(1,"cvc-tag-list"),l.YNc(2,I,1,2,"cvc-clinical-trial-tag",13),l.qZA(),l.BQk()),2&U){const q=l.oxw().ngIf;l.xp6(2),l.Q6J("ngForOf",q.clinicalTrials)}}function pe(U,N){1&U&&l._uU(0," -- ")}function ae(U,N){if(1&U&&(l.ynx(0),l.TgZ(1,"nz-card",2),l.YNc(2,S,2,2,"ng-template",null,3,l.W1O),l.YNc(4,e,2,3,"ng-template",null,4,l.W1O),l.TgZ(6,"nz-descriptions",5)(7,"nz-descriptions-item",6),l._uU(8),l.qZA(),l.TgZ(9,"nz-descriptions-item",7),l._uU(10),l.qZA(),l.TgZ(11,"nz-descriptions-item",8),l.YNc(12,w,3,1,"ng-container",9),l.YNc(13,pe,1,0,"ng-template",null,10,l.W1O),l.qZA()()(),l.BQk()),2&U){const q=N.ngIf,Y=l.MAs(3),k=l.MAs(5),me=l.MAs(14);l.xp6(1),l.Q6J("nzTitle",Y)("nzExtra",k),l.xp6(5),l.Q6J("nzColumn",2),l.xp6(2),l.hij(" ",q.name," "),l.xp6(2),l.hij(" ",q.evidenceItemCount," "),l.xp6(2),l.Q6J("ngIf",q.clinicalTrials&&q.clinicalTrials.length>0)("ngIfElse",me)}}class Z{constructor(N){this.gql=N}ngOnInit(){if(null==this.sourceId)throw new Error("cvc-source-popover requires valid sourceId input.");this.source$=this.gql.watch({sourceId:this.sourceId}).valueChanges.pipe((0,o.U)(({data:N})=>N?.sourcePopover),(0,g.h)(t.ep))}}Z.\u0275fac=function(N){return new(N||Z)(l.Y36(s.TiL))},Z.\u0275cmp=l.Xpm({type:Z,selectors:[["cvc-source-popover"]],inputs:{sourceId:"sourceId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Title","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nzTitle","Clinical Trials:","nzSpan","2"],[4,"ngIf","ngIfElse"],["noTrials",""],["nz-icon","","nzType","civic-source","nzTheme","twotone","nzTwotoneColor","#F9BA45"],[3,"href","tooltip"],[3,"clinicalTrial","enablePopover",4,"ngFor","ngForOf"],[3,"clinicalTrial","enablePopover"]],template:function(N,q){1&N&&(l.TgZ(0,"div",0),l.YNc(1,ae,15,7,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA()),2&N&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,q.source$)))},dependencies:[L.sg,L.O5,R.Ls,T.bd,M.R7,M.uj,E.l,O.$,F.G,V.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},9736:(Et,Me,a)=>{a.d(Me,{n:()=>E});var t=a(6895),o=a(1971),g=a(4989),l=a(9194),s=a(897),L=a(2635),R=a(5453),T=a(1102),M=a(4650);class E{}E.\u0275fac=function(F){return new(F||E)},E.\u0275mod=M.oAB({type:E}),E.\u0275inj=M.cJS({imports:[t.ez,L._N,L.pP,T.PV,o.vh,l.q6,g.X,s.$,R.N]})},783:(Et,Me,a)=>{a.d(Me,{T:()=>Y});var t=a(6654),o=a(4650),g=a(7742),l=a(6895),s=a(9116),L=a(1102),R=a(6581),T=a(6672),M=a(2614),E=a(4557),O=a(160);function F(k,me){}function V(k,me){if(1&k&&(o.ynx(0),o.TgZ(1,"a",4),o.YNc(2,F,0,0,"ng-template",5),o.qZA(),o.BQk()),2&k){const fe=o.oxw(),te=o.MAs(2);o.xp6(1),o.Q6J("routerLink",fe.source.link),o.xp6(1),o.Q6J("ngTemplateOutlet",te)}}function S(k,me){}function e(k,me){if(1&k&&o._UZ(0,"cvc-source-popover",8),2&k){const fe=o.oxw(2);o.Q6J("sourceId",fe.source.id)}}function I(k,me){if(1&k){const fe=o.EpF();o.TgZ(0,"nz-tag",6),o.NdJ("nzPopoverVisibleChange",function(ye){o.CHM(fe);const H=o.oxw();return o.KtG(H.popoverVisible=ye)})("nzOnClose",function(ye){o.CHM(fe);const H=o.oxw();return o.KtG(H.itemClosed(ye))}),o.YNc(1,S,0,0,"ng-template",5),o.qZA(),o.YNc(2,e,1,1,"ng-template",null,7,o.W1O)}if(2&k){const fe=o.MAs(3),te=o.oxw(),ye=o.MAs(6);o.Q6J("nzPopoverMouseEnterDelay",te.onCloseClicked?0:.5)("nzPopoverContent",fe)("nzPopoverTrigger",te.enablePopover?"hover":null)("nzPopoverVisible",te.popoverVisible)("nzMode",te.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",ye)}}function w(k,me){}function pe(k,me){if(1&k&&o.YNc(0,w,0,0,"ng-template",5),2&k){o.oxw();const fe=o.MAs(2);o.Q6J("ngTemplateOutlet",fe)}}function ae(k,me){if(1&k&&(o.ynx(0),o._uU(1),o.ALo(2,"truncate"),o.BQk()),2&k){const fe=o.oxw(3);o.xp6(1),o.hij(" ",o.xi3(2,1,fe.displayName,50)," ")}}function Z(k,me){if(1&k&&(o.ynx(0),o._uU(1),o.BQk()),2&k){const fe=o.oxw(3);o.xp6(1),o.hij(" ",fe.displayName," ")}}function U(k,me){if(1&k&&(o.ynx(0),o.YNc(1,ae,3,4,"ng-container",11),o.YNc(2,Z,2,1,"ng-container",11),o.BQk()),2&k){const fe=o.oxw(2);o.xp6(1),o.Q6J("ngIf",fe.truncateLongName),o.xp6(1),o.Q6J("ngIf",!fe.truncateLongName)}}function N(k,me){if(1&k&&o._uU(0),2&k){const fe=o.oxw(2);o.hij(" SID:",fe.source.id," ")}}function q(k,me){if(1&k&&(o._UZ(0,"i",9),o.ALo(1,"entityColor"),o.YNc(2,U,3,2,"ng-container",0),o.YNc(3,N,1,1,"ng-template",null,10,o.W1O)),2&k){const fe=o.MAs(4),te=o.oxw();o.Q6J("nzTwotoneColor",o.lcZ(1,3,"Source")),o.xp6(2),o.Q6J("ngIf","normal"===te.mode)("ngIfElse",fe)}}class Y extends t.a{set source(me){if(!me)throw new Error("source-tag source input requires SourceWithDisplayName or SourceWithCitation.");this._source=me,this.displayName="displayName"in this.source?this.source.displayName:this.sourceTypeDisplay.transform(this.source.sourceType)+": "+this.source.citation}get source(){return this._source}constructor(me){super(),this.sourceTypeDisplay=me,this.enablePopover=!0,this.linked=!0,this.mode="normal",this.truncateLongName=!1}idFunction(){return this.source.id}}Y.\u0275fac=function(me){return new(me||Y)(o.Y36(g.l))},Y.\u0275cmp=o.Xpm({type:Y,selectors:[["cvc-source-tag"]],inputs:{source:"source",enablePopover:"enablePopover",linked:"linked",mode:"mode",truncateLongName:"truncateLongName"},features:[o.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzPopoverVisible","nzMode","nzPopoverVisibleChange","nzOnClose"],["sourcePopover",""],[3,"sourceId"],["nz-icon","","nzTheme","twotone","nzType","civic-source",3,"nzTwotoneColor"],["concise",""],[4,"ngIf"]],template:function(me,fe){if(1&me&&(o.YNc(0,V,3,2,"ng-container",0),o.YNc(1,I,4,6,"ng-template",null,1,o.W1O),o.YNc(3,pe,1,1,"ng-template",null,2,o.W1O),o.YNc(5,q,5,5,"ng-template",null,3,o.W1O)),2&me){const te=o.MAs(4);o.Q6J("ngIf",fe.linked)("ngIfElse",te)}},dependencies:[l.O5,l.tP,s.rH,L.Ls,R.lU,T.j,M.p,E.W,O.a],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})},2811:(Et,Me,a)=>{a.d(Me,{s:()=>M});var t=a(6895),o=a(6581),g=a(9116),l=a(9736),s=a(6672),L=a(1102),R=a(9444),T=a(4650);class M{}M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=T.oAB({type:M}),M.\u0275inj=T.cJS({imports:[t.ez,g.Bz,L.PV,o.$6,s.X,l.n,R.s]})},6818:(Et,Me,a)=>{a.d(Me,{a:()=>Y});var t=a(4004),o=a(9300),g=a(3240),l=a(4650),s=a(7630),L=a(6895),R=a(1971),T=a(9194),M=a(1102),E=a(8823),O=a(6672),F=a(7570),V=a(6550),S=a(2635),e=a(4557);function I(k,me){if(1&k&&(l._UZ(0,"i",12),l._uU(1),l.ALo(2,"truncate")),2&k){const fe=l.oxw().ngIf;l.xp6(1),l.hij(" ",l.xi3(2,1,fe.name,50)," ")}}function w(k,me){if(1&k&&(l.TgZ(0,"cvc-link-tag",14),l._uU(1),l.qZA()),2&k){const fe=l.oxw(2).ngIf;l.Q6J("href",fe.therapyUrl),l.xp6(1),l.hij(" ",fe.ncitId," ")}}function pe(k,me){if(1&k&&l.YNc(0,w,2,2,"cvc-link-tag",13),2&k){const fe=l.oxw().ngIf,te=l.MAs(7);l.Q6J("ngIf",fe.ncitId)("ngIfElse",te)}}function ae(k,me){1&k&&(l.TgZ(0,"span",15),l._uU(1,"No NCIt ID"),l.qZA())}function Z(k,me){if(1&k&&(l.TgZ(0,"nz-descriptions-item",16),l._uU(1),l.qZA()),2&k){const fe=l.oxw().ngIf;l.xp6(1),l.hij(" ",fe.name," ")}}function U(k,me){if(1&k&&(l.TgZ(0,"nz-tag",19),l._uU(1),l.ALo(2,"truncate"),l.qZA()),2&k){const fe=me.$implicit;l.Q6J("nzTooltipTitle",fe),l.xp6(1),l.Oqu(l.lcZ(2,2,fe))}}function N(k,me){if(1&k&&(l.TgZ(0,"nz-descriptions-item",17),l.YNc(1,U,3,4,"nz-tag",18),l.qZA()),2&k){const fe=l.oxw().ngIf;l.xp6(1),l.Q6J("ngForOf",fe.therapyAliases)}}function q(k,me){if(1&k&&(l.ynx(0),l.TgZ(1,"nz-card",2),l.YNc(2,I,3,4,"ng-template",null,3,l.W1O),l.YNc(4,pe,1,2,"ng-template",null,4,l.W1O),l.YNc(6,ae,2,0,"ng-template",null,5,l.W1O),l.TgZ(8,"nz-descriptions",6),l.YNc(9,Z,2,1,"nz-descriptions-item",7),l.YNc(10,N,2,1,"nz-descriptions-item",8),l.TgZ(11,"nz-descriptions-item",9),l._uU(12),l.qZA(),l.TgZ(13,"nz-descriptions-item",10),l._uU(14),l.qZA(),l.TgZ(15,"nz-descriptions-item",11),l._uU(16),l.qZA()()(),l.BQk()),2&k){const fe=me.ngIf,te=l.MAs(3),ye=l.MAs(5);l.xp6(1),l.Q6J("nzTitle",te)("nzExtra",ye),l.xp6(7),l.Q6J("nzColumn",2),l.xp6(1),l.Q6J("ngIf",fe.name.length>50),l.xp6(1),l.Q6J("ngIf",fe.therapyAliases.length>0),l.xp6(2),l.hij(" ",fe.assertionCount," "),l.xp6(2),l.hij(" ",fe.evidenceItemCount," "),l.xp6(2),l.hij(" ",fe.molecularProfileCount," ")}}class Y{constructor(me){this.gql=me}ngOnInit(){if(null==this.therapyId)throw new Error("cvc-therapy-popover requires valid therapyId input.");this.therapy$=this.gql.watch({therapyId:this.therapyId}).valueChanges.pipe((0,t.U)(({data:me})=>me?.therapyPopover),(0,o.h)(g.ep))}}Y.\u0275fac=function(me){return new(me||Y)(l.Y36(s.L8L))},Y.\u0275cmp=l.Xpm({type:Y,selectors:[["cvc-therapy-popover"]],inputs:{therapyId:"therapyId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noNcitId",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nzTitle","Molecular Profiles","nzSpan","2"],["nz-icon","","nzType","civic-therapy","nzTheme","twotone","nzTwotoneColor","#AC3996"],["tooltip","View on NCI Thesaurus",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on NCI Thesaurus",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"]],template:function(me,fe){1&me&&(l.TgZ(0,"div",0),l.YNc(1,q,17,8,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA()),2&me&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,fe.therapy$)))},dependencies:[L.sg,L.O5,R.bd,T.R7,T.uj,M.Ls,E.ZU,O.j,F.SY,V.l,S.fM,e.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},8974:(Et,Me,a)=>{a.d(Me,{s:()=>V});var t=a(6895),o=a(9116),g=a(1971),l=a(9194),s=a(2635),L=a(4989),R=a(1102),T=a(8823),M=a(9444),E=a(6672),O=a(7570),F=a(4650);class V{}V.\u0275fac=function(e){return new(e||V)},V.\u0275mod=F.oAB({type:V}),V.\u0275inj=F.cJS({imports:[t.ez,o.Bz,s._N,s.pP,g.vh,l.q6,R.PV,T.ZJ,E.X,O.cg,L.X,M.s]})},5797:(Et,Me,a)=>{a.d(Me,{T:()=>Z});var t=a(6654),o=a(4650),g=a(6895),l=a(9116),s=a(6672),L=a(6581),R=a(1102),T=a(6818),M=a(4557);function E(U,N){}function O(U,N){if(1&U&&(o.ynx(0),o.TgZ(1,"a",4),o.YNc(2,E,0,0,"ng-template",5),o.qZA(),o.BQk()),2&U){const q=o.oxw(),Y=o.MAs(2);o.xp6(1),o.Q6J("routerLink",q.therapy.link),o.xp6(1),o.Q6J("ngTemplateOutlet",Y)}}function F(U,N){}function V(U,N){if(1&U&&o._UZ(0,"cvc-therapy-popover",8),2&U){const q=o.oxw(2);o.Q6J("therapyId",q.therapy.id)}}function S(U,N){if(1&U){const q=o.EpF();o.TgZ(0,"nz-tag",6),o.NdJ("nzOnClose",function(k){o.CHM(q);const me=o.oxw();return o.KtG(me.itemClosed(k))}),o.YNc(1,F,0,0,"ng-template",5),o.qZA(),o.YNc(2,V,1,1,"ng-template",null,7,o.W1O)}if(2&U){const q=o.MAs(3),Y=o.oxw(),k=o.MAs(6);o.Q6J("nzPopoverMouseEnterDelay",Y.onCloseClicked?0:.5)("nzPopoverContent",q)("nzPopoverTrigger",Y.enablePopover?"hover":null)("nzMode",Y.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",k)}}function e(U,N){}function I(U,N){if(1&U&&o.YNc(0,e,0,0,"ng-template",5),2&U){o.oxw();const q=o.MAs(2);o.Q6J("ngTemplateOutlet",q)}}function w(U,N){if(1&U&&(o.ynx(0),o._uU(1),o.ALo(2,"truncate"),o.BQk()),2&U){const q=o.oxw(2);o.xp6(1),o.hij(" ",o.xi3(2,1,q.therapy.name,21)," ")}}function pe(U,N){if(1&U&&o._uU(0),2&U){const q=o.oxw(2);o.hij(" ",q.therapy.name," ")}}function ae(U,N){if(1&U&&(o._UZ(0,"i",9),o.YNc(1,w,3,4,"ng-container",0),o.YNc(2,pe,1,1,"ng-template",null,10,o.W1O)),2&U){const q=o.MAs(3),Y=o.oxw();o.xp6(1),o.Q6J("ngIf",Y.truncateLongName)("ngIfElse",q)}}class Z extends t.a{constructor(){super(...arguments),this.enablePopover=!0,this.truncateLongName=!1}set therapy(N){if(!N)throw new Error("therapy-tag Input requires LinkableTherapy.");this._therapy=N}get therapy(){return this._therapy}idFunction(){return this.therapy.id}}Z.\u0275fac=function(){let U;return function(q){return(U||(U=o.n5z(Z)))(q||Z)}}(),Z.\u0275cmp=o.Xpm({type:Z,selectors:[["cvc-therapy-tag"]],inputs:{therapy:"therapy",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[o.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["therapyPopover",""],[3,"therapyId"],["nz-icon","","nzType","civic-therapy","nzTheme","twotone","nzTwotoneColor","#AC3996"],["fullName",""]],template:function(N,q){if(1&N&&(o.YNc(0,O,3,2,"ng-container",0),o.YNc(1,S,4,5,"ng-template",null,1,o.W1O),o.YNc(3,I,1,1,"ng-template",null,2,o.W1O),o.YNc(5,ae,4,2,"ng-template",null,3,o.W1O)),2&N){const Y=o.MAs(4);o.Q6J("ngIf",q.linked)("ngIfElse",Y)}},dependencies:[g.O5,g.tP,l.rH,s.j,L.lU,R.Ls,T.a,M.W],encapsulation:2,changeDetection:0})},701:(Et,Me,a)=>{a.d(Me,{N:()=>M});var t=a(6895),o=a(9116),g=a(6672),l=a(6581),s=a(1102),L=a(9444),R=a(8974),T=a(4650);class M{}M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=T.oAB({type:M}),M.\u0275inj=T.cJS({imports:[t.ez,o.Bz,g.X,l.$6,s.PV,L.s,R.s]})},403:(Et,Me,a)=>{a.d(Me,{m:()=>fe});var t=a(3240),o=a(4004),g=a(9300),l=a(4650),s=a(7630),L=a(6895),R=a(9116),T=a(1971),M=a(3679),E=a(9194),O=a(6672),F=a(1102),V=a(6903),S=a(3965),e=a(6550),I=a(2635),w=a(160);function pe(te,ye){if(1&te&&(l._UZ(0,"i",13),l.ALo(1,"entityColor"),l._uU(2)),2&te){const H=l.oxw().ngIf;l.Q6J("nzTwotoneColor",l.lcZ(1,2,"Variant")),l.xp6(2),l.hij(" ",H.name," ")}}function ae(te,ye){if(1&te&&l._UZ(0,"cvc-gene-tag",14),2&te){const H=l.oxw().ngIf;l.Q6J("enablePopover",!1)("gene",H.gene)}}function Z(te,ye){if(1&te&&(l.TgZ(0,"nz-tag"),l._uU(1),l.qZA()),2&te){const H=ye.$implicit;l.xp6(1),l.Oqu(H)}}function U(te,ye){if(1&te&&(l.TgZ(0,"nz-descriptions-item",15),l.YNc(1,Z,2,1,"nz-tag",16),l.qZA()),2&te){const H=l.oxw().ngIf;l.xp6(1),l.Q6J("ngForOf",H.variantAliases)}}function N(te,ye){if(1&te&&(l.TgZ(0,"nz-descriptions-item",17)(1,"cvc-link-tag",18),l._uU(2),l.qZA()()),2&te){const H=l.oxw().ngIf;l.xp6(1),l.MGl("href","https://reg.genome.network/allele/",H.alleleRegistryId,".html"),l.xp6(1),l.hij(" ",H.alleleRegistryId," ")}}function q(te,ye){if(1&te&&(l.TgZ(0,"a",19)(1,"nz-tag",20),l._UZ(2,"i",21),l._uU(3),l.qZA()()),2&te){const H=l.oxw().ngIf;l.MGl("routerLink","/variants/",H.id,"/flags"),l.xp6(3),l.hij(" Flags (",H.flags.totalCount,") ")}}function Y(te,ye){if(1&te&&(l.TgZ(0,"a",19)(1,"nz-tag",22),l._UZ(2,"i",23),l._uU(3),l.qZA()()),2&te){const H=l.oxw().ngIf;l.MGl("routerLink","/variants/",H.id,"/revisions"),l.xp6(3),l.hij(" Revisions (",H.revisions.totalCount,") ")}}function k(te,ye){if(1&te&&(l.TgZ(0,"a",19)(1,"nz-tag",24),l._UZ(2,"i",25),l._uU(3),l.qZA()()),2&te){const H=l.oxw().ngIf;l.MGl("routerLink","/variants/",H.id,"/comments"),l.xp6(3),l.hij(" Comments (",H.comments.totalCount,") ")}}function me(te,ye){if(1&te&&(l.ynx(0),l.TgZ(1,"nz-card",2),l.YNc(2,pe,3,4,"ng-template",null,3,l.W1O),l.YNc(4,ae,1,2,"ng-template",null,4,l.W1O),l.TgZ(6,"nz-descriptions",5),l.YNc(7,U,2,1,"nz-descriptions-item",6),l.YNc(8,N,3,2,"nz-descriptions-item",7),l.TgZ(9,"nz-descriptions-item",8),l._uU(10),l.qZA()(),l.TgZ(11,"nz-row",9)(12,"nz-col",10)(13,"nz-space",11),l.YNc(14,q,4,2,"a",12),l.YNc(15,Y,4,2,"a",12),l.YNc(16,k,4,2,"a",12),l.qZA()()()(),l.BQk()),2&te){const H=ye.ngIf,X=l.MAs(3),ve=l.MAs(5);l.xp6(1),l.Q6J("nzTitle",X)("nzExtra",ve),l.xp6(5),l.Q6J("nzColumn",2),l.xp6(1),l.Q6J("ngIf",H.variantAliases.length>0),l.xp6(1),l.Q6J("ngIf",H.alleleRegistryId&&"unregistered"!=H.alleleRegistryId),l.xp6(2),l.hij(" ",H.molecularProfiles.totalCount," ")}}class fe{constructor(ye){this.gql=ye}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,o.U)(({data:ye})=>ye?.variant),(0,g.h)(t.ep))}}fe.\u0275fac=function(ye){return new(ye||fe)(l.Y36(s.ZYZ))},fe.\u0275cmp=l.Xpm({type:fe,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Molecular Profiles","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzTheme","twotone","nzType","civic-variant",3,"nzTwotoneColor"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(ye,H){1&ye&&(l.TgZ(0,"div",0),l.YNc(1,me,17,6,"ng-container",1),l.ALo(2,"ngrxPush"),l.qZA()),2&ye&&(l.xp6(1),l.Q6J("ngIf",l.lcZ(2,1,H.variant$)))},dependencies:[L.sg,L.O5,R.rH,T.bd,M.t3,M.SK,E.R7,E.uj,O.j,F.Ls,V.NU,V.$1,S.H,e.l,I.fM,w.a],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]})},2767:(Et,Me,a)=>{a.d(Me,{k:()=>S});var t=a(6895),o=a(9116),g=a(2635),l=a(1971),s=a(3679),L=a(9194),R=a(6672),T=a(1102),M=a(6903),E=a(1229),O=a(4989),F=a(9444),V=a(4650);class S{}S.\u0275fac=function(I){return new(I||S)},S.\u0275mod=V.oAB({type:S}),S.\u0275inj=V.cJS({imports:[t.ez,o.Bz,g._N,g.pP,l.vh,s.Jb,L.q6,R.X,T.PV,M.zf,F.s,E.U,O.X]})},5457:(Et,Me,a)=>{a.d(Me,{I:()=>Y});var t=a(6654),o=a(9771),g=a(4650),l=a(6895),s=a(9116),L=a(6672),R=a(6581),T=a(1102),M=a(403),E=a(1730),O=a(4557);function F(k,me){}function V(k,me){if(1&k&&(g.ynx(0),g.TgZ(1,"a",4),g.YNc(2,F,0,0,"ng-template",5),g.qZA(),g.BQk()),2&k){const fe=g.oxw(),te=g.MAs(2);g.xp6(1),g.Q6J("routerLink",fe.variant.link),g.xp6(1),g.Q6J("ngTemplateOutlet",te)}}function S(k,me){}function e(k,me){if(1&k&&g._UZ(0,"cvc-variant-popover",9),2&k){const fe=g.oxw(3);g.Q6J("variantId",fe.variant.id)}}function I(k,me){if(1&k&&g.YNc(0,e,1,1,"cvc-variant-popover",8),2&k){const fe=g.oxw(2);g.Q6J("ngIf",fe.enablePopover)}}const w=function(k){return{deprecated:k}};function pe(k,me){if(1&k){const fe=g.EpF();g.TgZ(0,"nz-tag",6),g.NdJ("nzOnClose",function(ye){g.CHM(fe);const H=g.oxw();return g.KtG(H.itemClosed(ye))}),g.YNc(1,S,0,0,"ng-template",5),g.qZA(),g.YNc(2,I,1,1,"ng-template",null,7,g.W1O)}if(2&k){const fe=g.MAs(3),te=g.oxw(),ye=g.MAs(6);g.Q6J("ngClass",g.VKq(6,w,te.variant.deprecated))("nzPopoverMouseEnterDelay",te.onCloseClicked?0:.5)("nzPopoverContent",fe)("nzPopoverTrigger",te.enablePopover?"hover":null)("nzMode",te.onCloseClicked?"closeable":"default"),g.xp6(1),g.Q6J("ngTemplateOutlet",ye)}}function ae(k,me){}function Z(k,me){if(1&k&&g.YNc(0,ae,0,0,"ng-template",5),2&k){g.oxw();const fe=g.MAs(2);g.Q6J("ngTemplateOutlet",fe)}}function U(k,me){if(1&k&&(g.ynx(0),g._uU(1),g.ALo(2,"truncate"),g.BQk()),2&k){const fe=g.oxw(2);g.xp6(1),g.hij(" ",g.xi3(2,1,fe.variant.name,20)," ")}}function N(k,me){if(1&k&&g._uU(0),2&k){const fe=g.oxw(2);g.hij(" ",fe.variant.name," ")}}function q(k,me){if(1&k&&(g.TgZ(0,"cvc-icon-badges",10),g._UZ(1,"i",11),g.qZA(),g.YNc(2,U,3,4,"ng-container",0),g.YNc(3,N,1,1,"ng-template",null,12,g.W1O)),2&k){const fe=g.MAs(4),te=g.oxw();g.Q6J("flagged",te.variant.flagged)("entityColor",te.iconColor),g.xp6(1),g.Q6J("nzTwotoneColor",te.iconColor),g.xp6(1),g.Q6J("ngIf",te.truncateLongName)("ngIfElse",fe)}}class Y extends t.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1,this.iconColor=(0,o.f)("Variant")}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}Y.\u0275fac=function(me){return new(me||Y)},Y.\u0275cmp=g.Xpm({type:Y,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[g.qOj],decls:7,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"ngClass","nzPopoverMouseEnterDelay","nzPopoverContent","nzPopoverTrigger","nzMode","nzOnClose"],["popoverContent",""],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"flagged","entityColor"],["nz-icon","","nzType","civic-variant","nzTheme","twotone",3,"nzTwotoneColor"],["fullName",""]],template:function(me,fe){if(1&me&&(g.YNc(0,V,3,2,"ng-container",0),g.YNc(1,pe,4,8,"ng-template",null,1,g.W1O),g.YNc(3,Z,1,1,"ng-template",null,2,g.W1O),g.YNc(5,q,5,5,"ng-template",null,3,g.W1O)),2&me){const te=g.MAs(4);g.Q6J("ngIf",fe.linked)("ngIfElse",te)}},dependencies:[l.mk,l.O5,l.tP,s.rH,L.j,R.lU,T.Ls,M.m,E.b,O.W],styles:["[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.submitted, [_nghost-%COMP%] nz-tag.accepted, [_nghost-%COMP%] nz-tag.deprecated{border-right-width:2px}[_nghost-%COMP%] nz-tag.rejected, [_nghost-%COMP%] nz-tag.deprecated{border-color:#e6e6e6;background-color:#fff;color:#999999d9}[_nghost-%COMP%] nz-tag.submitted{border-color:#ffe58f}[_nghost-%COMP%] nz-tag.accepted{border-color:#b7eb8f}[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})},7043:(Et,Me,a)=>{a.d(Me,{Q:()=>E});var t=a(6895),o=a(9116),g=a(6672),l=a(1102),s=a(6581),L=a(2767),R=a(9444),T=a(6429),M=a(4650);class E{}E.\u0275fac=function(F){return new(F||E)},E.\u0275mod=M.oAB({type:E}),E.\u0275inj=M.cJS({imports:[t.ez,o.Bz,g.X,s.$6,l.PV,R.s,L.k,T.C]})},9657:(Et,Me,a)=>{a.d(Me,{t:()=>o});var t=a(4650);class o{transform(l,s){return l?"verbose"==s?"TIER_I_LEVEL_A"===l?"Tier I - Level A":"TIER_I_LEVEL_B"===l?"Tier I - Level B":"TIER_II_LEVEL_C"===l?"Tier II - Level C":"TIER_II_LEVEL_D"===l?"Tier II - Level D":"TIER_III"===l?"Tier III":"TIER_IV"===l?"Tier IV":"Not Applicable":l.toUpperCase().replace("TIER","").replace("LEVEL","").replace(/ /g,"").replace(/_/g,""):""}}o.\u0275fac=function(l){return new(l||o)},o.\u0275pipe=t.Yjl({name:"formatAmp",type:o,pure:!0})},160:(Et,Me,a)=>{a.d(Me,{a:()=>g});var t=a(9771),o=a(4650);class g{transform(s){return(0,t.f)(s)}}g.\u0275fac=function(s){return new(s||g)},g.\u0275pipe=o.Yjl({name:"entityColor",type:g,pure:!0})},4110:(Et,Me,a)=>{a.d(Me,{Do:()=>L});var t=a(7630),o=a(915),g=a(4650);const l=new Map([[t.Sx0.A,"Validated association"],[t.Sx0.B,"Clinical evidence"],[t.Sx0.C,"Case study"],[t.Sx0.D,"Preclinical evidence"],[t.Sx0.E,"Inferential association"]]),s=new Map([[1,"One Star"],[2,"Two Stars"],[3,"Three Stars"],[4,"Four Stars"],[5,"Five Stars"]]);class L{transform(T,M="display-string"){return null==T?"":"short-string"===M&&1===T.toString().length?"string"==typeof T?T:T.toString():"icon-name"===M?"number"==typeof T?`civic-rating${T}`:1===T.length?`civic-level${T.toLowerCase()}`:`civic-${T.replace(/_/g,"").toLowerCase()}`:"number"==typeof T?s.get(T)||T.toString():1===T.length?l.get(T)||T:(0,o.E)(T)}}L.\u0275fac=function(T){return new(T||L)},L.\u0275pipe=g.Yjl({name:"evidenceEnumDisplay",type:L,pure:!0})},6204:(Et,Me,a)=>{a.d(Me,{v:()=>L});var t=a(7630);const o={evidenceType:{[t.kqt.Diagnostic]:"Evidence pertains to a variant's impact on patient diagnosis (cancer subtype)",[t.kqt.Functional]:"Evidence pertains to a variant that alters biological function from the reference state",[t.kqt.Oncogenic]:"Evidence pertains to a somatic variant's involvement in tumor pathogenesis as described by the Hallmarks of Cancer",[t.kqt.Predictive]:"Evidence pertains to a variant's effect on therapeutic response",[t.kqt.Predisposing]:"Evidence pertains to a germline variant's role in conferring susceptibility to disease (including pathogenicity evaluations)",[t.kqt.Prognostic]:"Evidence pertains to a variant's impact on disease progression, severity, or patient survival"},assertionType:{[t.uBv.Diagnostic]:"Assertion pertains to a variant's impact on patient diagnosis (cancer subtype)",[t.uBv.Predictive]:"Assertion pertains to a variant's effect on therapeutic response",[t.uBv.Predisposing]:"Assertion pertains to a germline variant's role in conferring susceptibility to disease (including pathogenicity evaluations)",[t.uBv.Prognostic]:"Assertion pertains to a variant's impact on disease progression, severity, or patient survival",[t.uBv.Oncogenic]:"Assertion pertains to a somatic variant's role in driving tumor formation, growth, and other processes related to the Hallmarks of Cancer"},variantOrigin:{[t.huM.Somatic]:"Variant is a mutation, found only in tumor cells, having arisen in a specific tissue (non-germ cell), and is not expected to be inherited or passed to offspring",[t.huM.RareGermline]:"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in less than 1% of the population relevant to this evidence item",[t.huM.CommonGermline]:"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in at least 1% of the population relevant to this evidence item",[t.huM.Unknown]:"The variant origin is uncertain based on the available evidence",[t.huM.Na]:"The variant type (e.g., expression) is not compatible (or easily classified) with the CIViC concept of variant origin",[t.huM.Combined]:"Variants in the Molecular Profile span multiple Origin types."},evidenceLevel:{[t.Sx0.A]:"Proven/consensus association in human medicine",[t.Sx0.B]:"Clinical trial or other primary patient data supports association",[t.Sx0.C]:"Individual case reports from clinical journals",[t.Sx0.D]:"In vivo or in vitro models support association",[t.Sx0.E]:"Indirect evidence"},evidenceLevelBrief:{[t.Sx0.A]:"Validated association",[t.Sx0.B]:"Clinical evidence",[t.Sx0.C]:"Case Study",[t.Sx0.D]:"Preclinical evidence",[t.Sx0.E]:"Inferential association"},therapyInteractionType:{[t.wkr.Combination]:"The therapies listed were used as part of a combination therapy approach",[t.wkr.Sequential]:"The therapies listed were used at separate timepoints in the same treatment plan",[t.wkr.Substitutes]:"The therapies listed are often considered to be of the same family, or behave similarly in a treatment setting"},evidenceRating:{1:"Poor - Claim is not supported well by experimental evidence. Results are not reproducible, or have very small sample size. No follow-up is done to validate novel claims",2:"Adequate - Evidence is not well supported by experimental data, and little follow-up data is available. Experiments may lack proper controls, have small sample size, or are not statistically convincing",3:"Average - Evidence is convincing, but not supported by a breadth of experiments. May be smaller scale projects, or novel results without many follow-up experiments. Discrepancies from expected results are explained and not concerning",4:"Strong - Well supported evidence. Experiments are well controlled, and results are convincing. Any discrepancies from expected results are well-explained and not concerning",5:"Excellent - Solid, well supported evidence from a lab or journal with respected academic standing. Experiments are well controlled, and results are clean and reproducible across multiple replicates. Evidence confirmed using separate methods"}},g={significance:{PREDICTIVE:{ADVERSE_RESPONSE:{EvidenceItem:"Associated with an adverse response to theraputic treatment",Assertion:"Associated with an adverse response to theraputic treatment"},REDUCED_SENSITIVITY:{EvidenceItem:"Response to treatment is lower than seen in other treatment contexts",Assertion:"Response to treatment is lower than seen in other treatment contexts"},RESISTANCE:{EvidenceItem:"Associated with clinical or preclinical resistance to treatment",Assertion:"Associated with clinical or preclinical resistance to treatment"},SENSITIVITYRESPONSE:{EvidenceItem:"Associated with clinical or preclinical response to treatment",Assertion:"Associated with a clinical or preclinical response to treatment"},NA:{EvidenceItem:"Clinical Significance is not applicable",Assertion:"Clinical Significance is not applicable"}},DIAGNOSTIC:{POSITIVE:{EvidenceItem:"Associated with diagnosis of disease or subtype",Assertion:"Associated with diagnosis of disease or subtype"},NEGATIVE:{EvidenceItem:"Associated with lack of disease or subtype",Assertion:"Associated with lack of disease or subtype"}},PROGNOSTIC:{BETTER_OUTCOME:{EvidenceItem:"Demonstrates better than expected clinical outcome",Assertion:"Demonstrates better than expected clinical outcome"},POOR_OUTCOME:{EvidenceItem:"Demonstrates worse than expected clinical outcome",Assertion:"Demonstrates worse than expected clinical outcome"},Na:{EvidenceItem:"Clinical Significance is not applicable",Assertion:"Clinical Significance is not applicable"}},PREDISPOSING:{PATHOGENIC:{Assertion:"Very strong evidence the variant is pathogenic"},LIKELY_PATHOGENIC:{Assertion:"Strong evidence (>90% certainty) the variant is pathogenic"},BENIGN:{Assertion:"Very strong evidence the variant is benign"},LIKELY_BENIGN:{Assertion:"Not expected to have a major effect on disease"},UNCERTAIN_SIGNIFICANCE:{Assertion:"Does not meet the ACMG/AMP criteria for pathogenic/benign, or the evidence is conflicting"},Na:{EvidenceItem:"Clinical Significance is not applicable"},PREDISPOSITION:{EvidenceItem:"Germline variant has predisposing potential for cancer, and may meet ACMG/AMP criteria supporting pathogenic or benign classification."},PROTECTIVENESS:{EvidenceItem:"Germline variant has properties that protect individuals from acquiring cancer."}},ONCOGENIC:{ONCOGENICITY:{EvidenceItem:"Somatic variant has oncogenic potential for driving cancer, and may meet ClinGen/CGC/VICC criteria supporting pathogenic or benign classification."},PROTECTIVENESS:{EvidenceItem:"Somatic variant has a protective role and minimizes co-occuring driver variants, tumor malignancy, or other oncogenic tumor properties."},ONCOGENIC:{Assertion:"Very strong evidence the variant is oncogenic."},LIKELY_ONCOGENIC:{Assertion:"Strong evidence the variant is oncogenic."},BENIGN:{Assertion:"Very strong evidence the variant does not have oncogenic properties."},LIKELY_BENIGN:{Assertion:"Strong evidence the variant does not have oncogenic properties."},UNCERTAIN_SIGNIFICANCE:{Assertion:"Does not meet guideline criteria for oncogenic/benign, or the evidence is conflicting."}}},evidenceDirection:{PREDICTIVE:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant's response to a therapy"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support, or was inconclusive of an interaction between this variant and a therapy"}},DIAGNOSTIC:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant's impact on the diagnosis of disease or subtype"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support this variant's impact on diagnosis of disease or subtype"}},PROGNOSTIC:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant's impact on prognostic outcome"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support a prognostic association between variant and outcome"}},PREDISPOSING:{Na:{EvidenceItem:"Evidence Direction is not applicable"},SUPPORTS:{EvidenceItem:"The evidence supports a pathogenic or a protective role for a germline variant in cancer."},DOES_NOT_SUPPORT:{EvidenceItem:"The evidence supports a benign (if Clinical Significance is Predisposition) or lack or protective (if Clinical Significance is Protectiveness) role for a germline variant in cancer."}},FUNCTIONAL:{SUPPORTS:{EvidenceItem:"The experiment or study supports this variant causing alteration or non-alteration of the gene product function"},DOES_NOT_SUPPORT:{EvidenceItem:"The experiment or study does not support this variant causing alteration or non-alteration of the gene product function"}},ONCOGENIC:{NA:{EvidenceItem:"Evidence Direction is not applicable for Oncogenic Evidence Type"},SUPPORTS:{EvidenceItem:"The evidence supports an oncogenic or protective role for a somatic variant"},DOES_NOT_SUPPORT:{EvidenceItem:"The evidence does not support an oncogenic or protective role for a somatic variant"}}},assertionDirection:{PREDICTIVE:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant's response to a therapy"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support, or was inconclusive of an interaction between this variant and a therapy"}},DIAGNOSTIC:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant's impact on the diagnosis of disease or subtype"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support this variant's impact on diagnosis of disease or subtype"}},PROGNOSTIC:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant's impact on prognostic outcome"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support a prognostic association between variant and outcome"}},PREDISPOSING:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support a variant's impact on predisposing outcome"}},FUNCTIONAL:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support this variant causing alteration or non-alteration of the gene product function"},DOES_NOT_SUPPORT:{Assertion:"The Assertion and associated evidence does not support this variant causing alteration or non-alteration of the gene product function"}},ONCOGENIC:{SUPPORTS:{Assertion:"The Assertion and associated Evidence Items support a variant's oncogenic, benign, or uncertain significance"}}}};var s=a(4650);class L{transform(T,M,E,O){return M&&T?function l(R,T,M,E){let O;return O=M&&E?g[R][M][T][E]:o[R][T],O||""}(M,T,E,O):""}}L.\u0275fac=function(T){return new(T||L)},L.\u0275pipe=s.Yjl({name:"enumTooltip",type:L,pure:!0})},8926:(Et,Me,a)=>{a.d(Me,{A:()=>g});var t=a(4650),o=a(1481);class g{constructor(s){this.sanitizer=s}transform(s,L){if(!L||""==L)return s;const R=new RegExp(L,"gi"),T=s.match(R);if(!T)return s;let M=s.replace(R,`${T[0]}`);return this.sanitizer.bypassSecurityTrustHtml(M)}}g.\u0275fac=function(s){return new(s||g)(t.Y36(o.H7,16))},g.\u0275pipe=t.Yjl({name:"highlightTypeahead",type:g,pure:!0})},9444:(Et,Me,a)=>{a.d(Me,{s:()=>l});var t=a(6895),o=a(7742),g=a(4650);class l{}l.\u0275fac=function(L){return new(L||l)},l.\u0275mod=g.oAB({type:l}),l.\u0275inj=g.cJS({providers:[o.l],imports:[t.ez]})},7742:(Et,Me,a)=>{a.d(Me,{l:()=>g});var t=a(6530),o=a(4650);class g{transform(s){return s?(0,t.c)(s):""}}g.\u0275fac=function(s){return new(s||g)},g.\u0275pipe=o.Yjl({name:"sourceTypeDisplay",type:g,pure:!0})},4557:(Et,Me,a)=>{a.d(Me,{W:()=>o});var t=a(4650);class o{constructor(){}transform(l,s=25){if(l.length>s){let R=l.slice(0,s);var L=R.lastIndexOf(" ");return R.slice(0,L)+"\u2026"}return l}}o.\u0275fac=function(l){return new(l||o)},o.\u0275pipe=t.Yjl({name:"truncate",type:o,pure:!0})},320:(Et,Me,a)=>{a.d(Me,{Z:()=>o});var t=a(4650);class o{transform(l){return l?`civic-${l.replace(/_/g,"").toLowerCase()}`:""}}o.\u0275fac=function(l){return new(l||o)},o.\u0275pipe=t.Yjl({name:"typenameToIcon",type:o,pure:!0})},9169:(Et,Me,a)=>{a.d(Me,{Y:()=>g});var t=a(1135),o=a(4650);class g{constructor(){this.networkError$=new t.X(void 0)}clearErrors(){this.networkError$.next(void 0)}}g.\u0275fac=function(s){return new(s||g)},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"})},9350:(Et,Me,a)=>{a.d(Me,{a:()=>O});var E,t=a(655),o=a(7630),g=a(9933),l=a(4004),s=a(8675),L=a(4782),R=a(6579),T=a(4650),M=a(529);let O=((E=class{constructor(V,S){function e(U){return!(!U||U.role!==o.i44.Admin)}function I(U){return!(!U||U.role!==o.i44.Editor&&U.role!==o.i44.Admin)}function w(U){return!(!U||U.role!==o.i44.Curator)}function pe(U){return!(!U||U.role!==o.i44.Curator&&U.role!==o.i44.Editor&&U.role!==o.i44.Admin)}function ae(U){return!(!U||U.role!==o.i44.Editor&&U.role!==o.i44.Admin||!U.mostRecentConflictOfInterestStatement||U.mostRecentConflictOfInterestStatement?.coiStatus!=o.Mgx.Conflict&&U.mostRecentConflictOfInterestStatement?.coiStatus!=o.Mgx.Valid)}function Z(U){if(U.mostRecentOrganizationId)return U.organizations.find(N=>N.id===U.mostRecentOrganizationId)}this.viewerBaseGQL=V,this.http=S,this.initialViewer={mostRecentOrg:void 0,signedIn:!1,isAdmin:!1,isEditor:!1,isCurator:!1,canCurate:!1,canModerate:!1,invalidCoi:!0},this.queryRef=this.viewerBaseGQL.watch(void 0,{notifyOnNetworkStatusChange:!1}),this.viewer$=this.queryRef.valueChanges.pipe((0,R.j)("data","viewer"),(0,l.U)(U=>({...U,signedIn:null!=U,signedOut:null==U,canCurate:pe(U),canModerate:ae(U),isAdmin:e(U),isEditor:I(U),isCurator:w(U),organizations:null==U?[]:U.organizations,mostRecentOrg:null==U?void 0:Z(U),invalidCoi:I(U)&&(!U.mostRecentConflictOfInterestStatement||U.mostRecentConflictOfInterestStatement.coiStatus===o.Mgx.Expired||U.mostRecentConflictOfInterestStatement.coiStatus===o.Mgx.Missing)})),(0,s.O)(this.initialViewer),(0,L.d)(1)),this.signedIn$=this.viewer$.pipe((0,l.U)(U=>U.signedIn)),this.signedOut$=this.viewer$.pipe((0,l.U)(U=>U.signedOut)),this.isAdmin$=this.viewer$.pipe((0,l.U)(U=>e(U))),this.isEditor$=this.viewer$.pipe((0,l.U)(U=>I(U))),this.isCurator$=this.viewer$.pipe((0,l.U)(U=>w(U))),this.canCurate$=this.viewer$.pipe((0,l.U)(U=>pe(U))),this.canModerate$=this.viewer$.pipe((0,l.U)(U=>ae(U)))}signOut(){this.http.get("/api/sign_out").pipe((0,g.t)(this)).subscribe(()=>this.queryRef.refetch())}refetch(){this.queryRef.refetch()}}).\u0275fac=function(V){return new(V||E)(T.LFG(o.Tt7),T.LFG(M.eN))},E.\u0275prov=T.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E);O=(0,t.gn)([(0,g.c)()],O)},6654:(Et,Me,a)=>{a.d(Me,{a:()=>o});var t=a(4650);class o{constructor(){this.linked=!0,this.popoverVisible=!1}ngOnInit(){this.onCloseClicked&&(this.linked=!1)}itemClosed(l){this.popoverVisible=!1,this.onCloseClicked&&this.onCloseClicked(this.idFunction())}}o.\u0275fac=function(l){return new(l||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],inputs:{onCloseClicked:"onCloseClicked",linked:"linked"},decls:0,vars:0,template:function(l,s){},encapsulation:2})},915:(Et,Me,a)=>{function t(o){if("number"==typeof o||"boolean"==typeof o)return o;let g;if("NA"===o)g=["Not Applicable"];else if("SENSITIVITYRESPONSE"===o)g=["Sensitivity","/","Response"];else{g=o.toLowerCase().replace(/_/g," ").split(" ");for(var l=0;lt})},6530:(Et,Me,a)=>{function t(o){switch(o){case"ASCO":return"ASCO";case"PUBMED":return"PubMed";case"ASH":return"ASH";default:return o}}a.d(Me,{c:()=>t})},9771:(Et,Me,a)=>{a.d(Me,{f:()=>o});const t=new Map([["Assertion","#7243b5"],["ClinicalTrial","#ac3996"],["CoordinateSystem","#f68f37"],["Disease","#e62f76"],["Event","#1db8a9"],["EvidenceItem","#2a63b6"],["Gene","#07aff0"],["Therapy","#ac3996"],["MolecularProfile","#33b358"],["Phenotype","#1db8a9"],["Source","#f9ba45"],["Variant","#74d34c"],["VariantGroup","#74d34c"],["VariantType","#74d34c"],["Comment","#44d8ef"],["Event","#ffdb00"],["Flag","#e24759"],["Queue","#666699"],["Revision","#f0673a"],["Curator","#a0d8f5"],["Editor","#58a0c4"],["Admin","#58a0c4"],["Organization","#3d7b99"],["Rejected","#BBBBBB"],["Greyscale","#999999"]]);function o(g){let l="#AAAAAA";if(g){const s=t.get(g);s&&(l=s)}return l}},6123:(Et,Me,a)=>{a.d(Me,{U:()=>s});var t=a(7579),o=a(1135),g=a(2722),l=a(8746);class s{constructor(R){this.networkErrorService=R}mutate(R,T,M,E){let O=new t.x,F={isSubmitting$:new o.X(!1),submitSuccess$:new o.X(!1),submitError$:new o.X([]),cleanup:()=>{O.next(),O.complete()}};return F.isSubmitting$.next(!0),R.mutate(T,M).pipe((0,g.R)(O),(0,l.x)(()=>{F.isSubmitting$.next(!1)})).subscribe({next:V=>{V.data&&E&&E(V.data)},error:V=>{V.graphQLErrors.length>0?F.submitError$.next(V.graphQLErrors.map(S=>S.message)):V.networkError&&this.networkErrorService.networkError$.next(V.networkError),F.cleanup()},complete:()=>{F.submitError$.next([]),F.submitSuccess$.next(!0),this.networkErrorService.networkError$.next(void 0),F.cleanup()}}),F}}},9241:(Et,Me,a)=>{a.d(Me,{h:()=>g});var t=a(6895),o=a(4650);class g{}g.\u0275fac=function(s){return new(s||g)},g.\u0275mod=o.oAB({type:g}),g.\u0275inj=o.cJS({imports:[t.ez]})},6814:(Et,Me,a)=>{a.d(Me,{P:()=>V});var t=a(4650),o=a(6895),g=a(7570);function l(S,e){1&S&&(t.ynx(0),t._uU(1," N/A "),t.BQk())}function s(S,e){1&S&&(t.ynx(0),t._uU(1," Not applicable "),t.BQk())}function L(S,e){if(1&S&&(t.TgZ(0,"span",4),t.ynx(1,0),t.YNc(2,l,2,0,"ng-container",5),t.YNc(3,s,2,0,"ng-container",6),t.BQk(),t.qZA()),2&S){const I=t.oxw();t.xp6(1),t.Q6J("ngSwitch",I.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function R(S,e){1&S&&(t.ynx(0),t._uU(1," \u2013\xa0\u2013 "),t.BQk())}function T(S,e){1&S&&(t.ynx(0),t._uU(1,"Not specified"),t.BQk())}function M(S,e){if(1&S&&(t.TgZ(0,"span",7),t.ynx(1,0),t.YNc(2,R,2,0,"ng-container",5),t.YNc(3,T,2,0,"ng-container",6),t.BQk(),t.qZA()),2&S){const I=t.oxw();t.xp6(1),t.Q6J("ngSwitch",I.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}function E(S,e){1&S&&(t.ynx(0),t._uU(1,"!?"),t.BQk())}function O(S,e){1&S&&(t.ynx(0),t._uU(1,"Unspecified"),t.BQk())}function F(S,e){if(1&S&&(t.TgZ(0,"span",8),t.ynx(1,0),t.YNc(2,E,2,0,"ng-container",5),t.YNc(3,O,2,0,"ng-container",6),t.BQk(),t.qZA()),2&S){const I=t.oxw();t.xp6(1),t.Q6J("ngSwitch",I.cvcDisplayMode),t.xp6(1),t.Q6J("ngSwitchCase","small")}}class V{constructor(){this.cvcEmptyCategory="not-applicable",this.cvcDisplayMode="default"}}V.\u0275fac=function(e){return new(e||V)},V.\u0275cmp=t.Xpm({type:V,selectors:[["cvc-empty-value"]],inputs:{cvcEmptyCategory:"cvcEmptyCategory",cvcDisplayMode:"cvcDisplayMode"},decls:4,vars:4,consts:[[3,"ngSwitch"],["class","empty-symbol not-applicable","nz-tooltip","","nzTooltipTitle","Value is not applicable",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Unspecified","class","empty-symbol unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","INVALID","class","empty-symbol invalid","nz-tooltip","","nzTooltipTitle","Error: value requires specification",4,"ngSwitchCase"],["nz-tooltip","","nzTooltipTitle","Value is not applicable",1,"empty-symbol","not-applicable"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["nz-tooltip","","nzTooltipTitle","Unspecified","nz-tooltip","","nzTooltipTitle","Value is unspecified",1,"empty-symbol","unspecified"],["nz-tooltip","","nzTooltipTitle","INVALID","nz-tooltip","","nzTooltipTitle","Error: value requires specification",1,"empty-symbol","invalid"]],template:function(e,I){1&e&&(t.ynx(0,0),t.YNc(1,L,4,2,"span",1),t.YNc(2,M,4,2,"span",2),t.YNc(3,F,4,2,"span",3),t.BQk()),2&e&&(t.Q6J("ngSwitch",I.cvcEmptyCategory),t.xp6(1),t.Q6J("ngSwitchCase","not-applicable"),t.xp6(1),t.Q6J("ngSwitchCase","unspecified"),t.xp6(1),t.Q6J("ngSwitchCase","invalid"))},dependencies:[o.RF,o.n9,o.ED,g.SY],styles:[".empty-symbol[_ngcontent-%COMP%]{font-style:oblique;display:inline-block;white-space:no-wrap}.empty-symbol.not-applicable[_ngcontent-%COMP%]{color:#ccc;font-weight:500}.empty-symbol.unspecified[_ngcontent-%COMP%]{display:inline-block;color:#ccc;font-weight:500;padding:0 3px}.empty-symbol.invalid[_ngcontent-%COMP%]{display:inline-block;color:#ff4d4f;font-weight:700}"]})},1371:(Et,Me,a)=>{a.d(Me,{M:()=>s});var t=a(6895),o=a(1102),g=a(7570),l=a(4650);class s{}s.\u0275fac=function(R){return new(R||s)},s.\u0275mod=l.oAB({type:s}),s.\u0275inj=l.cJS({imports:[t.ez,g.cg,o.PV]})},8699:(Et,Me,a)=>{a.d(Me,{J:()=>Ae});var t=a(4650),o=a(3595),g=a(6895),l=a(3314),s=a(2925),L=a(2614),R=a(6818),T=a(8305),M=a(285),E=a(4281),O=a(403);function F(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-molecular-profile-popover",9),2&Ze){const J=t.oxw();t.Q6J("molecularProfileId",J.entity.entityId)}}function V(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-disease-popover",10),2&Ze){const J=t.oxw();t.Q6J("diseaseId",J.entity.entityId)}}function S(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-therapy-popover",11),2&Ze){const J=t.oxw();t.Q6J("therapyId",J.entity.entityId)}}function e(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-source-popover",12),2&Ze){const J=t.oxw();t.Q6J("sourceId",J.entity.entityId)}}function I(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-phenotype-popover",13),2&Ze){const J=t.oxw();t.Q6J("phenotypeId",J.entity.entityId)}}function w(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-evidence-popover",14),2&Ze){const J=t.oxw();t.Q6J("evidenceId",J.entity.entityId)}}function pe(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-gene-popover",15),2&Ze){const J=t.oxw();t.Q6J("geneId",J.entity.entityId)}}function ae(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-variant-popover",16),2&Ze){const J=t.oxw();t.Q6J("variantId",J.entity.entityId)}}const Z=["MolecularProfile","Disease","Therapy","Phenotype","Source","Gene","Variant","EvidenceItem"];class U{ngOnInit(){if(null==this.entity)throw new Error("entity input is required for CvcEntityTagPopoverComponent")}}U.\u0275fac=function(oe){return new(oe||U)},U.\u0275cmp=t.Xpm({type:U,selectors:[["cvc-entity-tag-popover"]],inputs:{entity:"entity"},decls:9,vars:9,consts:[[3,"ngSwitch"],[3,"molecularProfileId",4,"ngSwitchCase"],[3,"diseaseId",4,"ngSwitchCase"],[3,"therapyId",4,"ngSwitchCase"],[3,"sourceId",4,"ngSwitchCase"],[3,"phenotypeId",4,"ngSwitchCase"],[3,"evidenceId",4,"ngSwitchCase"],[3,"geneId",4,"ngSwitchCase"],[3,"variantId",4,"ngSwitchCase"],[3,"molecularProfileId"],[3,"diseaseId"],[3,"therapyId"],[3,"sourceId"],[3,"phenotypeId"],[3,"evidenceId"],[3,"geneId"],[3,"variantId"]],template:function(oe,J){1&oe&&(t.ynx(0,0),t.YNc(1,F,1,1,"cvc-molecular-profile-popover",1),t.YNc(2,V,1,1,"cvc-disease-popover",2),t.YNc(3,S,1,1,"cvc-therapy-popover",3),t.YNc(4,e,1,1,"cvc-source-popover",4),t.YNc(5,I,1,1,"cvc-phenotype-popover",5),t.YNc(6,w,1,1,"cvc-evidence-popover",6),t.YNc(7,pe,1,1,"cvc-gene-popover",7),t.YNc(8,ae,1,1,"cvc-variant-popover",8),t.BQk()),2&oe&&(t.Q6J("ngSwitch",J.entity.entityType),t.xp6(1),t.Q6J("ngSwitchCase","MolecularProfile"),t.xp6(1),t.Q6J("ngSwitchCase","Disease"),t.xp6(1),t.Q6J("ngSwitchCase","Therapy"),t.xp6(1),t.Q6J("ngSwitchCase","Source"),t.xp6(1),t.Q6J("ngSwitchCase","Phenotype"),t.xp6(1),t.Q6J("ngSwitchCase","EvidenceItem"),t.xp6(1),t.Q6J("ngSwitchCase","Gene"),t.xp6(1),t.Q6J("ngSwitchCase","Variant"))},dependencies:[g.RF,g.n9,l._,s.I,L.p,R.a,T.S,M._,E.Q,O.m],encapsulation:2,changeDetection:0});var N=a(9116),q=a(1102),Y=a(6672),k=a(7570),me=a(6581),fe=a(8926),te=a(160),ye=a(320);function H(Ze,oe){}function X(Ze,oe){if(1&Ze){const J=t.EpF();t.TgZ(0,"span",6)(1,"nz-tag",7),t.NdJ("nzCheckedChange",function(){t.CHM(J);const Pe=t.oxw();return t.KtG(Pe.cvcTagCheckedChange)})("nzOnClose",function(Pe){t.CHM(J);const Ge=t.oxw();return t.KtG(Ge.cvcOnClose.next(Pe))}),t.TgZ(2,"span",8),t.YNc(3,H,0,0,"ng-template",9),t.qZA()()()}if(2&Ze){const J=t.oxw(),Te=t.MAs(6),Pe=t.MAs(8);t.xp6(1),t.Q6J("nzMode",J.cvcMode)("nzChecked",J.cvcTagChecked),t.xp6(1),t.Q6J("nzPopoverContent",J.cvcShowPopover&&J.popoverInput?Te:void 0),t.xp6(1),t.Q6J("ngTemplateOutlet",Pe)}}function ve(Ze,oe){}function Se(Ze,oe){if(1&Ze&&(t.TgZ(0,"span",13),t.YNc(1,ve,0,0,"ng-template",9),t.qZA()),2&Ze){const J=t.oxw(2),Te=t.MAs(8);t.Q6J("nzTooltipTitle",J.entity.tooltip),t.xp6(1),t.Q6J("ngTemplateOutlet",Te)}}function wt(Ze,oe){if(1&Ze){const J=t.EpF();t.TgZ(0,"span",10)(1,"nz-tag",11),t.NdJ("nzOnClose",function(Pe){t.CHM(J);const Ge=t.oxw();return t.KtG(Ge.cvcOnClose.next(Pe))}),t.YNc(2,Se,2,2,"span",12),t.qZA()()}if(2&Ze){const J=t.oxw(),Te=t.MAs(4);t.xp6(1),t.Q6J("nzMode","closeable"),t.xp6(1),t.Q6J("ngIf",J.entity&&J.entity.tooltip)("ngIfElse",Te)}}function St(Ze,oe){}function rn(Ze,oe){if(1&Ze&&(t.TgZ(0,"span",13),t.YNc(1,St,0,0,"ng-template",9),t.qZA()),2&Ze){const J=t.oxw(2),Te=t.MAs(8);t.Q6J("nzTooltipTitle",J.entity.tooltip),t.xp6(1),t.Q6J("ngTemplateOutlet",Te)}}function ot(Ze,oe){if(1&Ze&&(t.TgZ(0,"span",14),t.YNc(1,rn,2,2,"span",12),t.qZA()),2&Ze){const J=t.oxw(),Te=t.MAs(4);t.xp6(1),t.Q6J("ngIf",J.entity&&J.entity.tooltip)("ngIfElse",Te)}}function gt(Ze,oe){}function Dt(Ze,oe){if(1&Ze&&(t.TgZ(0,"span",8),t.YNc(1,gt,0,0,"ng-template",9),t.qZA()),2&Ze){const J=t.oxw(),Te=t.MAs(6),Pe=t.MAs(8);t.Q6J("nzPopoverContent",J.popoverInput?Te:void 0),t.xp6(1),t.Q6J("ngTemplateOutlet",Pe)}}function Wt(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-entity-tag-popover",16),2&Ze){const J=t.oxw(2);t.Q6J("entity",J.popoverInput)}}function mn(Ze,oe){if(1&Ze&&t.YNc(0,Wt,1,1,"cvc-entity-tag-popover",15),2&Ze){const J=t.oxw();t.Q6J("ngIf",J.popoverInput)}}function At(Ze,oe){if(1&Ze&&(t.TgZ(0,"span"),t.GkF(1,9),t.qZA()),2&Ze){t.oxw();const J=t.MAs(4);t.xp6(1),t.Q6J("ngTemplateOutlet",J)}}function _t(Ze,oe){if(1&Ze&&(t.TgZ(0,"a",23),t.GkF(1,9),t.qZA()),2&Ze){t.oxw();const J=t.MAs(4),Te=t.oxw(2);t.Q6J("routerLink",Te.entity.link),t.xp6(1),t.Q6J("ngTemplateOutlet",J)}}function Xt(Ze,oe){if(1&Ze&&(t._UZ(0,"span",26),t.ALo(1,"typenameToIcon"),t.ALo(2,"entityColor")),2&Ze){const J=t.oxw(4);t.Q6J("nzType",t.lcZ(1,2,J.typename))("nzTwotoneColor",t.lcZ(2,4,J.typename))}}function ct(Ze,oe){if(1&Ze&&(t.YNc(0,Xt,3,6,"span",24),t._UZ(1,"span",25),t.ALo(2,"highlightTypeahead")),2&Ze){t.oxw(2);const J=t.MAs(4),Te=t.oxw();t.Q6J("ngIf",Te.typename)("ngIfElse",J),t.xp6(1),t.Q6J("innerHtml",t.xi3(2,3,Te.entity.name,Te.cvcEmphasize),t.oJD)}}function Rt(Ze,oe){if(1&Ze&&(t.ynx(0),t.YNc(1,At,2,1,"span",20),t.YNc(2,_t,2,2,"a",21),t.YNc(3,ct,3,6,"ng-template",null,22,t.W1O),t.BQk()),2&Ze){const J=t.oxw(2);t.xp6(1),t.Q6J("ngIf",J.cvcDisableLink),t.xp6(1),t.Q6J("ngIf",!J.cvcDisableLink)}}function sn(Ze,oe){}function Dn(Ze,oe){if(1&Ze&&(t.YNc(0,sn,0,0,"ng-template",9),t._uU(1)),2&Ze){t.oxw();const J=t.MAs(4),Te=t.oxw();t.Q6J("ngTemplateOutlet",J),t.xp6(1),t.hij(" CACHE-MISS (",Te.cvcCacheId,") ")}}function zn(Ze,oe){1&Ze&&t._UZ(0,"span",27)}function Yt(Ze,oe){if(1&Ze&&(t.YNc(0,Rt,5,2,"ng-container",17),t.YNc(1,Dn,2,2,"ng-template",null,18,t.W1O),t.YNc(3,zn,1,0,"ng-template",null,19,t.W1O)),2&Ze){const J=t.MAs(2),Te=t.oxw();t.Q6J("ngIf",Te.entity)("ngIfElse",J)}}function xt(Ze,oe){if(1&Ze&&t._UZ(0,"cvc-entity-tag-popover",16),2&Ze){const J=t.oxw(2);t.Q6J("entity",J.popoverInput)}}function Ye(Ze,oe){if(1&Ze&&t.YNc(0,xt,1,1,"cvc-entity-tag-popover",15),2&Ze){const J=t.oxw();t.Q6J("ngIf",J.popoverInput)}}const $e=Ze=>void 0!==Ze&&Ze.__typename&&Ze.id&&void 0!==Ze.name;class Ae{set cvcLinkableEntity(oe){oe&&this.setLinkableEntity(oe)}set cvcCacheId(oe){oe&&this.setCachedLinkableEntity(oe)}constructor(oe){this.apollo=oe,this.cvcContext="default",this.cvcMode="default",this.cvcDisableLink=!0,this.cvcTagChecked=!1,this.cvcHasTooltip=!1,this.cvcFullWidth=!1,this.cvcShowPopover=!1,this.cvcTagCheckedChange=new t.vpe,this.cvcOnClose=new t.vpe}hasPopover(oe){return Z.includes(oe)}setLinkableEntity(oe){$e(oe)&&(this.typename=oe.__typename,this.id=oe.id,this.entity=oe,this.setPopoverInput(oe))}setCachedLinkableEntity(oe){const[J,Te]=oe.split(":");if(this.typename=J,this.id=+Te,!this.typename||!this.id)return void console.error(`entity-tag received an invalid cacheId: ${oe}. Cache IDs must be in the format 'TYPENAME:ID'.`);let Pe;Pe=this.cvcDisableLink?this.cvcHasTooltip?{id:`${J}:${Te}`,fragment:o.Ps` - fragment Linkable${J}Entity on ${J} { - id - name - tooltip - } - `}:{id:`${J}:${Te}`,fragment:o.Ps` - fragment Linkable${J}Entity on ${J} { - id - name - } - `}:{id:`${J}:${Te}`,fragment:o.Ps` - fragment Linkable${J}Entity on ${J} { - id - name - link - } - `};const Ge=this.apollo.client.readFragment(Pe);$e(Ge)?(this.setPopoverInput(Ge),this.entity=Ge):console.error(`entity-tag could not find cached entity ${oe}`)}setPopoverInput(oe){$e(oe)&&this.hasPopover(oe.__typename)&&(this.popoverInput={entityId:oe.id,entityType:oe.__typename})}ngOnChanges(oe){oe.cvcMode&&"checkable"===oe.cvcMode.currentValue&&(this.cvcDisableLink=!0),oe.cvcContext&&"default"!==oe.cvcContext.currentValue&&(this.cvcDisableLink=!0)}}Ae.\u0275fac=function(oe){return new(oe||Ae)(t.Y36(o._M))},Ae.\u0275cmp=t.Xpm({type:Ae,selectors:[["cvc-entity-tag"]],hostVars:40,hostBindings:function(oe,J){2&oe&&t.ekj("full-width",!0===J.cvcFullWidth)("label-max",void 0!==J.cvcTruncateLabel)("label-max-50","50px"===J.cvcTruncateLabel)("label-max-75","75px"===J.cvcTruncateLabel)("label-max-100","100px"===J.cvcTruncateLabel)("label-max-125","125px"===J.cvcTruncateLabel)("label-max-150","150px"===J.cvcTruncateLabel)("label-max-175","175px"===J.cvcTruncateLabel)("label-max-200","200px"===J.cvcTruncateLabel)("label-max-250","250px"===J.cvcTruncateLabel)("label-max-300","300px"===J.cvcTruncateLabel)("label-max-350","350px"===J.cvcTruncateLabel)("label-max-400","400px"===J.cvcTruncateLabel)("label-max-450","450px"===J.cvcTruncateLabel)("label-max-500","500px"===J.cvcTruncateLabel)("rejected","REJECTED"===J.cvcStatus)("accepted","ACCEPTED"===J.cvcStatus)("submitted","SUBMITTED"===J.cvcStatus)("new","NEW"===J.cvcStatus)("superseded","SUPERSEDED"===J.cvcStatus)},inputs:{cvcLinkableEntity:"cvcLinkableEntity",cvcCacheId:"cvcCacheId",cvcStatus:"cvcStatus",cvcContext:"cvcContext",cvcMode:"cvcMode",cvcEmphasize:"cvcEmphasize",cvcDisableLink:"cvcDisableLink",cvcTagChecked:"cvcTagChecked",cvcHasTooltip:"cvcHasTooltip",cvcFullWidth:"cvcFullWidth",cvcShowPopover:"cvcShowPopover",cvcTruncateLabel:"cvcTruncateLabel"},outputs:{cvcTagCheckedChange:"cvcTagCheckedChange",cvcOnClose:"cvcOnClose"},features:[t.TTD],decls:11,vars:3,consts:[["class","default",4,"ngIf"],["class","select-item",4,"ngIf"],["class","multi-select-item",4,"ngIf"],["noTooltip",""],["popoverContent",""],["tagContent",""],[1,"default"],[3,"nzMode","nzChecked","nzCheckedChange","nzOnClose"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverContent"],[3,"ngTemplateOutlet"],[1,"select-item"],[3,"nzMode","nzOnClose"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngIf","ngIfElse"],["nz-tooltip","",3,"nzTooltipTitle"],[1,"multi-select-item"],[3,"entity",4,"ngIf"],[3,"entity"],[4,"ngIf","ngIfElse"],["cacheMiss",""],["noIcon",""],[4,"ngIf"],[3,"routerLink",4,"ngIf"],["tagLabel",""],[3,"routerLink"],["nz-icon","","nzTheme","twotone","class","tag-icon",3,"nzType","nzTwotoneColor",4,"ngIf","ngIfElse"],[1,"tag-label",3,"innerHtml"],["nz-icon","","nzTheme","twotone",1,"tag-icon",3,"nzType","nzTwotoneColor"],["nz-icon","","nzType","question-circle","nzTheme","outline",1,"tag-icon"]],template:function(oe,J){1&oe&&(t.YNc(0,X,4,4,"span",0),t.YNc(1,wt,3,3,"span",1),t.YNc(2,ot,2,2,"span",2),t.YNc(3,Dt,2,2,"ng-template",null,3,t.W1O),t.YNc(5,mn,1,1,"ng-template",null,4,t.W1O),t.YNc(7,Yt,5,2,"ng-template",null,5,t.W1O),t.YNc(9,Ye,1,1,"ng-template",null,4,t.W1O)),2&oe&&(t.Q6J("ngIf","default"===J.cvcContext),t.xp6(1),t.Q6J("ngIf","select-item"===J.cvcContext),t.xp6(1),t.Q6J("ngIf","multi-select-item"===J.cvcContext))},dependencies:[g.O5,g.tP,N.rH,q.Ls,Y.j,k.SY,me.lU,U,fe.A,te.a,ye.Z],styles:['.label-max-50[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:50px;overflow:hidden;text-overflow:ellipsis}.label-max-75[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:75px;overflow:hidden;text-overflow:ellipsis}.label-max-100[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:100px;overflow:hidden;text-overflow:ellipsis}.label-max-125[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:125px;overflow:hidden;text-overflow:ellipsis}.label-max-150[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:150px;overflow:hidden;text-overflow:ellipsis}.label-max-175[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:175px;overflow:hidden;text-overflow:ellipsis}.label-max-200[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:200px;overflow:hidden;text-overflow:ellipsis}.label-max-250[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:250px;overflow:hidden;text-overflow:ellipsis}.label-max-300[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:300px;overflow:hidden;text-overflow:ellipsis}.label-max-350[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:350px;overflow:hidden;text-overflow:ellipsis}.label-max-400[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:400px;overflow:hidden;text-overflow:ellipsis}.label-max-450[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:450px;overflow:hidden;text-overflow:ellipsis}.label-max-500[_nghost-%COMP%] .tag-label[_ngcontent-%COMP%]{max-width:500px;overflow:hidden;text-overflow:ellipsis}.rejected[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .submitted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .accepted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .deprecated[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-right-width:2px}.rejected[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%], .deprecated[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-color:#e6e6e6;background-color:#fff;color:#999999d9}.submitted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-color:#ffe58f}.accepted[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{border-color:#b7eb8f}.full-width[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%]{width:100%}.full-width[_nghost-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{width:100%}nz-tag[_ngcontent-%COMP%]{margin-right:0;margin-inline-end:4px} -checkable{background-color:transparent;cursor:pointer} -checkable:not( -checkable-checked):hover{color:#1890ff} -checkable:active, -checkable-checked{color:#fff} -checkable-checked{background-color:#1890ff} -checkable:active{background-color:#096dd9}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{margin:0;padding:0 2px 0 0;margin-inline-end:4px;max-width:100%}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]{display:inline-block;padding:3px 2px 3px 4px;margin:-3px 0}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{display:inline-block;font-weight:400;margin:-3px 0 -4px;padding:3px 3px 3px 2px;line-height:1}.default[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] i.ant-tag-close-icon.anticon-close{transition:none;margin-left:3px}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]{margin:0;padding:0 2px 0 0;margin-inline-end:4px;max-width:100%}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]{display:inline-block;padding:3px 2px 3px 4px;margin:-3px 0}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{display:inline-block;font-weight:400;margin:-3px 0 -4px;padding:3px 3px 3px 2px;line-height:1}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] i.ant-tag-close-icon.anticon-close{transition:none;margin-left:3px}.select-item[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%] .tag-label[_ngcontent-%COMP%]{padding-right:0}.multi-select-item[_ngcontent-%COMP%]{display:inline-block;margin-top:-3px;margin-bottom:-3px;margin-left:-4px;padding-left:4px}.multi-select-item[_ngcontent-%COMP%] .tag-icon[_ngcontent-%COMP%]:after{content:" "}.typeahead-match[_ngcontent-%COMP%]{font-weight:700}a.disabled[_ngcontent-%COMP%]{pointer-events:none}'],changeDetection:0})},3258:(Et,Me,a)=>{a.d(Me,{x:()=>ae});var t=a(6895),o=a(1102),g=a(6672),l=a(9444),s=a(7570),L=a(9116),R=a(4650);class T{}T.\u0275fac=function(U){return new(U||T)},T.\u0275mod=R.oAB({type:T}),T.\u0275inj=R.cJS({imports:[t.ez]});var M=a(6581),E=a(3638),O=a(1698),F=a(6292),V=a(4398),S=a(1028),e=a(9736),I=a(8974),w=a(2767);class pe{}pe.\u0275fac=function(U){return new(U||pe)},pe.\u0275mod=R.oAB({type:pe}),pe.\u0275inj=R.cJS({imports:[t.ez,V._,E.t,e.n,I.s,S.I,O.f,F.w,w.k]});class ae{}ae.\u0275fac=function(U){return new(U||ae)},ae.\u0275mod=R.oAB({type:ae}),ae.\u0275inj=R.cJS({imports:[t.ez,L.Bz,o.PV,g.X,s.cg,M.$6,T,l.s,pe,T]})},7830:(Et,Me,a)=>{a.d(Me,{F:()=>w});var M,t=a(655),o=a(9933),g=a(4650),l=a(9116),s=a(6895),L=a(5681),R=a(9597),T=a(2635);function E(pe,ae){if(1&pe&&g._UZ(0,"nz-alert",6),2&pe){g.oxw();const Z=g.MAs(3),U=g.oxw();g.MGl("nzMessage","Error Submitting ",U.entityType,""),g.Q6J("nzDescription",Z)}}function O(pe,ae){if(1&pe&&(g.TgZ(0,"li"),g._uU(1),g.qZA()),2&pe){const Z=ae.$implicit;g.xp6(1),g.hij(" ",Z," ")}}function F(pe,ae){if(1&pe&&(g.TgZ(0,"ul"),g.YNc(1,O,2,1,"li",7),g.qZA()),2&pe){const Z=g.oxw().ngIf;g.xp6(1),g.Q6J("ngForOf",Z)}}function V(pe,ae){if(1&pe&&(g.ynx(0),g.YNc(1,E,1,2,"nz-alert",4),g.YNc(2,F,2,1,"ng-template",null,5,g.W1O),g.BQk()),2&pe){const Z=ae.ngIf;g.xp6(1),g.Q6J("ngIf",Z.length>0)}}function S(pe,ae){if(1&pe&&(g.ynx(0),g._UZ(1,"nz-alert",8),g.BQk()),2&pe){const Z=g.oxw();g.xp6(1),g.MGl("nzMessage","",Z.entityType," Submitted"),g.Q6J("nzDescription",Z.successMessage?Z.successMessage:null)}}function e(pe,ae){1&pe&&g.Hsn(0)}let w=((M=class{set mutationState(ae){this._mutationState=ae,this.currentTimer&&clearTimeout(this.currentTimer),ae&&ae.submitSuccess$.pipe((0,o.t)(this)).subscribe(Z=>{Z&&(this.currentTimer=setTimeout(()=>{this.redirectUrl&&this.router.navigateByUrl(this.redirectUrl)},2500))})}get mutationState(){return this._mutationState}constructor(ae){this.router=ae}ngOnInit(){}}).\u0275fac=function(ae){return new(ae||M)(g.Y36(l.F0))},M.\u0275cmp=g.Xpm({type:M,selectors:[["cvc-form-submission-status-display"]],inputs:{mutationState:"mutationState",entityType:"entityType",successMessage:"successMessage",redirectUrl:"redirectUrl"},ngContentSelectors:["*"],decls:8,vars:10,consts:[[3,"nzSpinning"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["form",""],["nzType","error","nzShowIcon","",3,"nzMessage","nzDescription",4,"ngIf"],["errorList",""],["nzType","error","nzShowIcon","",3,"nzMessage","nzDescription"],[4,"ngFor","ngForOf"],["nzType","success","nzShowIcon","",3,"nzMessage","nzDescription"]],template:function(ae,Z){if(1&ae&&(g.F$t(),g.TgZ(0,"nz-spin",0),g.ALo(1,"ngrxPush"),g.YNc(2,V,4,1,"ng-container",1),g.ALo(3,"ngrxPush"),g.YNc(4,S,2,2,"ng-container",2),g.ALo(5,"ngrxPush"),g.YNc(6,e,1,0,"ng-template",null,3,g.W1O),g.qZA()),2&ae){const U=g.MAs(7);g.Q6J("nzSpinning",g.lcZ(1,4,null==Z.mutationState?null:Z.mutationState.isSubmitting$)),g.xp6(2),g.Q6J("ngIf",g.lcZ(3,6,null==Z.mutationState?null:Z.mutationState.submitError$)),g.xp6(2),g.Q6J("ngIf",g.lcZ(5,8,null==Z.mutationState?null:Z.mutationState.submitSuccess$))("ngIfElse",U)}},dependencies:[s.sg,s.O5,L.W,R.r,T.fM],encapsulation:2,changeDetection:0}),M);w=(0,t.gn)([(0,o.c)()],w)},9676:(Et,Me,a)=>{a.d(Me,{g:()=>R});var t=a(6895),o=a(2635),g=a(9597),l=a(6903),s=a(5681),L=a(4650);class R{}R.\u0275fac=function(M){return new(M||R)},R.\u0275mod=L.oAB({type:R}),R.\u0275inj=L.cJS({imports:[t.ez,o.pP,s.j,g.L,l.zf]})},5106:(Et,Me,a)=>{a.d(Me,{S:()=>ip});var t=a(4006),o=a(9116),g=a(6212),l=a(4697),s=a(6704),L=a(317),R=a(5910);const T={paramKey:!0};class M{constructor(d){this.route=d}postPopulate(d){if(d.fieldGroup||d.fieldArray||!1===(d.props||{...T}).paramKey||(this.paramKey=this.getParamKey(d),!this.paramKey))return;const y=this.getRouteSub(this.route,d),ie=d.hooks?.onDestroy;y&&ie&&(d.hooks={...d.hooks,onDestroy:ht=>{y.unsubscribe(),ie(ht)}})}getParamKey(d){const c=d.props;if("string"==typeof c.paramKey)return c.paramKey;if(d.key){if("string"==typeof d.key)return d.key;console.warn(`observe-query-param cannot use field key ${JSON.stringify(d.key)} of type ${typeof d.key} to observe a query param. Use prop.paramKey to specify a query param string, or define a string field.key.`)}}getRouteSub(d,c){const y=d.queryParams.pipe((0,R.g)(this.paramKey)).subscribe(ie=>{const ht=c.formControl,It=ie[this.paramKey];if(!It)return void y.unsubscribe();let Mn;try{Mn=JSON.parse(It)}catch(Rn){return console.warn(`observe-query-param failed to parse query param ${this.paramKey} for field ${c.id}: ${Rn}`),console.warn("Note: Query values are parsed as JSON, therefore enum strings must be enclosed in double-quotes, and numeric entity IDs must be bare, unquoted."),void y.unsubscribe()}if(Mn){if(Object.keys(Mn).length>0&&Mn.constructor===Object)return console.warn(`observe-query-param may only set primitive types or arrays of primitive types, param ${this.paramKey} is an object: ${JSON.stringify(Mn)}`),void y.unsubscribe();ht.setValue(Mn)}});return y}}var S=a(6895),e=a(4650),I=a(2635),w=a(3679),pe=a(8823);function ae(f,d){if(1&f&&(e.TgZ(0,"div",9),e.GkF(1,10),e.qZA()),2&f){e.oxw();const c=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function Z(f,d){if(1&f&&(e.TgZ(0,"div",11),e.GkF(1,10),e.qZA()),2&f){e.oxw();const c=e.MAs(9);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function U(f,d){if(1&f&&(e.TgZ(0,"div",12),e.GkF(1,10),e.qZA()),2&f){e.oxw();const c=e.MAs(7);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function N(f,d){if(1&f&&(e.TgZ(0,"nz-form-label",17),e._UZ(1,"span",18),e.qZA()),2&f){const c=d.ngrxLet,y=e.oxw(3);e.Q6J("nzRequired",y.props.required)("nzFor",y.id)("nzNoColon",!0)("nzTooltipTitle",y.props.tooltip)("nzSpan",c.span?c.span:null),e.xp6(1),e.Q6J("nzContent",y.props.label)}}function q(f,d){if(1&f&&(e.ynx(0),e.YNc(1,N,2,6,"nz-form-label",16),e.BQk()),2&f){const c=e.oxw(2);e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.label)}}function Y(f,d){if(1&f&&(e.TgZ(0,"nz-form-control",19),e.GkF(1,null,20),e.qZA()),2&f){const c=d.ngrxLet,y=e.oxw(2),ie=e.MAs(11),ht=e.MAs(13);e.Q6J("nzExtra",y.wrapper.showExtra&&!y.showError?ie:void 0)("nzValidateStatus",y.errorState)("nzErrorTip",ht)("nzSpan",y.props.hideLabel?24:c.span?c.span:null)}}const k=function(f,d,c,y){return{disabled:f,error:d,required:c,valid:y}};function me(f,d){if(1&f&&(e.TgZ(0,"nz-form-item",13),e.YNc(1,q,2,1,"ng-container",14),e.YNc(2,Y,3,4,"nz-form-control",15),e.qZA()),2&f){const c=e.oxw();e.Q6J("nzGutter",c.wrapper.layout.item.gutter)("ngClass",e.l5B(4,k,c.props.disabled,c.showError,c.props.required,"VALID"===c.field.formControl.status)),e.xp6(1),e.Q6J("ngIf",c.props.label&&!0!==c.props.hideLabel),e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.control)}}const fe=function(f,d){return{disabled:f,error:d}};function te(f,d){if(1&f&&(e.TgZ(0,"nz-form-label",24),e._UZ(1,"span",25),e.qZA()),2&f){const c=e.oxw(3);e.Q6J("ngClass",e.WLB(6,fe,c.props.disabled,c.showError))("nzRequired",c.props.required)("nzFor",c.id)("nzTooltipTitle",c.props.tooltip)("nzNoColon",!0),e.xp6(1),e.Q6J("nzContent",c.props.label)}}function ye(f,d){if(1&f&&(e.ynx(0),e.YNc(1,te,2,9,"nz-form-label",23),e.BQk()),2&f){const c=e.oxw(2);e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.label)}}function H(f,d){if(1&f&&(e.TgZ(0,"nz-form-control",26),e.GkF(1,null,20),e.qZA()),2&f){const c=e.oxw(2),y=e.MAs(11),ie=e.MAs(13);e.Q6J("nzExtra",c.wrapper.showExtra&&!c.showError?y:void 0)("nzValidateStatus",c.errorState)("nzErrorTip",ie)}}function X(f,d){if(1&f&&(e.TgZ(0,"nz-form-item",21),e.YNc(1,ye,2,1,"ng-container",14),e.YNc(2,H,3,3,"nz-form-control",22),e.qZA()),2&f){const c=e.oxw();e.Q6J("ngClass",e.l5B(3,k,c.props.disabled,c.showError,c.props.required,"VALID"===c.field.formControl.status)),e.xp6(1),e.Q6J("ngIf",c.props.label&&!0!==c.props.hideLabel),e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.control)}}function ve(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"nz-form-label",28),e._UZ(2,"span",25),e.qZA(),e.BQk()),2&f){const c=e.oxw(2);e.xp6(1),e.Q6J("nzRequired",c.props.required)("nzTooltipTitle",c.props.tooltip)("nzFor",c.id)("nzNoColon",!0),e.xp6(1),e.Q6J("nzContent",c.props.label)}}function Se(f,d){if(1&f&&e._UZ(0,"formly-validation-message",29),2&f){const c=e.oxw(3);e.Q6J("field",c.field)}}function wt(f,d){if(1&f&&(e.TgZ(0,"nz-form-control",26),e.GkF(1,null,20),e.YNc(3,Se,1,1,"ng-template",null,8,e.W1O),e.qZA()),2&f){const c=e.MAs(4),y=e.oxw(2),ie=e.MAs(11);e.Q6J("nzExtra",y.wrapper.showExtra&&!y.showError?ie:void 0)("nzValidateStatus",y.errorState)("nzErrorTip",c)}}function St(f,d){if(1&f&&(e.TgZ(0,"nz-form-item",27),e.YNc(1,ve,3,5,"ng-container",14),e.YNc(2,wt,5,3,"nz-form-control",22),e.qZA()),2&f){const c=e.oxw();e.Q6J("ngClass",e.l5B(3,k,c.props.disabled,c.showError,c.props.required,"VALID"===c.field.formControl.status)),e.xp6(1),e.Q6J("ngIf",c.props.label&&!0!==c.props.hideLabel),e.xp6(1),e.Q6J("ngrxLet",c.wrapper.layout.control)}}function rn(f,d){if(1&f&&e._UZ(0,"span",34),2&f){const c=e.oxw(2);e.Q6J("innerHTML",c.props.description,e.oJD)}}function ot(f,d){if(1&f&&e._UZ(0,"span",35),2&f){const c=e.oxw(2);e.Q6J("innerHTML",c.props.description,e.oJD)}}function gt(f,d){if(1&f&&e._UZ(0,"span",36),2&f){const c=e.oxw(2);e.Q6J("innerHTML",c.props.description,e.oJD)}}function Dt(f,d){if(1&f&&(e.TgZ(0,"div",30),e.ynx(1,0),e.YNc(2,rn,1,1,"span",31),e.YNc(3,ot,1,1,"span",32),e.YNc(4,gt,1,1,"span",33),e.BQk(),e.qZA()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngSwitch",c.props.extraType),e.xp6(1),e.Q6J("ngSwitchCase","prompt"),e.xp6(1),e.Q6J("ngSwitchCase","description")}}function Wt(f,d){if(1&f&&(e.TgZ(0,"div",37),e._UZ(1,"formly-validation-message",29),e.qZA()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("field",c.field)}}class mn extends g.n2{get errorState(){return this.showError?"error":""}constructor(){super(),this.formLayout="vertical"}ngOnInit(){try{this.wrapper={layout:{item:{gutter:[6,12],...this.props.layout?.item?this.props.layout.item:void 0},label:{span:4,...this.props.layout?.label?this.props.layout.label:void 0},control:{span:20,...this.props.layout?.control?this.props.layout?.control:void 0}},showExtra:void 0===this.props.layout?.showExtra||this.props.layout.showExtra}}catch(d){console.error(d)}this.options.formState.formLayout&&(this.formLayout=this.options.formState.formLayout)}ngAfterViewInit(){this.options.formState.formLayout&&(this.formLayout=this.options.formState.formLayout)}}mn.\u0275fac=function(d){return new(d||mn)},mn.\u0275cmp=e.Xpm({type:mn,selectors:[["cvc-form-field-wrapper"]],features:[e.qOj],decls:14,vars:4,consts:[[3,"ngSwitch"],["class","layout-horizontal",4,"ngSwitchCase"],["class","layout-inline",4,"ngSwitchCase"],["class","layout-vertical",4,"ngSwitchCase"],["horizontalFieldWrapper",""],["verticalFieldWrapper",""],["inlineFieldWrapper",""],["descriptionTpl",""],["errorTpl",""],[1,"layout-horizontal"],[3,"ngTemplateOutlet"],[1,"layout-inline"],[1,"layout-vertical"],[1,"layout-horizontal",3,"nzGutter","ngClass"],[4,"ngIf"],[3,"nzExtra","nzValidateStatus","nzErrorTip","nzSpan",4,"ngrxLet"],[3,"nzRequired","nzFor","nzNoColon","nzTooltipTitle","nzSpan",4,"ngrxLet"],[3,"nzRequired","nzFor","nzNoColon","nzTooltipTitle","nzSpan"],["nz-typography","","nzEllipsis","",3,"nzContent"],[3,"nzExtra","nzValidateStatus","nzErrorTip","nzSpan"],["fieldComponent",""],[1,"layout-vertical",3,"ngClass"],[3,"nzExtra","nzValidateStatus","nzErrorTip",4,"ngrxLet"],[3,"ngClass","nzRequired","nzFor","nzTooltipTitle","nzNoColon",4,"ngrxLet"],[3,"ngClass","nzRequired","nzFor","nzTooltipTitle","nzNoColon"],["nz-typography","","nzEllipsis","",1,"label",3,"nzContent"],[3,"nzExtra","nzValidateStatus","nzErrorTip"],[1,"layout-inline",3,"ngClass"],[3,"nzRequired","nzTooltipTitle","nzFor","nzNoColon"],[3,"field"],[1,"form-field-description"],["class","extra-prompt",3,"innerHTML",4,"ngSwitchCase"],["class","extra-description",3,"innerHTML",4,"ngSwitchCase"],[3,"innerHTML",4,"ngSwitchDefault"],[1,"extra-prompt",3,"innerHTML"],[1,"extra-description",3,"innerHTML"],[3,"innerHTML"],[1,"cvc-form-field-validation"]],template:function(d,c){1&d&&(e.ynx(0,0),e.YNc(1,ae,2,1,"div",1),e.YNc(2,Z,2,1,"div",2),e.YNc(3,U,2,1,"div",3),e.BQk(),e.YNc(4,me,3,9,"ng-template",null,4,e.W1O),e.YNc(6,X,3,8,"ng-template",null,5,e.W1O),e.YNc(8,St,3,8,"ng-template",null,6,e.W1O),e.YNc(10,Dt,5,3,"ng-template",null,7,e.W1O),e.YNc(12,Wt,2,1,"ng-template",null,8,e.W1O)),2&d&&(e.Q6J("ngSwitch",c.formLayout),e.xp6(1),e.Q6J("ngSwitchCase","horizontal"),e.xp6(1),e.Q6J("ngSwitchCase","inline"),e.xp6(1),e.Q6J("ngSwitchCase","vertical"))},dependencies:[S.mk,S.O5,S.tP,S.RF,S.n9,S.ED,I.eJ,w.t3,w.SK,s.Nx,s.iK,s.Fd,pe.ZU,g.M2],styles:['.typeahead-match[_ngcontent-%COMP%]{font-weight:700}.layout-vertical[_ngcontent-%COMP%] nz-form-item:first-of-type{flex-wrap:nowrap;flex-direction:column}.layout-horizontal[_ngcontent-%COMP%] nz-form-item:first-of-type{flex-direction:inherit}.layout-horizontal[_ngcontent-%COMP%] nz-form-item:first-of-type nz-form-label{text-align:right;line-height:28px;white-space:inherit;padding:inherit}.layout-inline[_ngcontent-%COMP%] nz-form-item:first-of-type{flex-direction:inherit}.layout-inline[_ngcontent-%COMP%] nz-form-item:first-of-type nz-form-label{height:28px;line-height:28px;white-space:inherit;padding:inherit}.cvc-form-field-validation[_ngcontent-%COMP%], .form-field-description[_ngcontent-%COMP%]{min-height:16px;line-height:1.2;margin-top:4px}.cvc-form-field-validation[_ngcontent-%COMP%] .extra-prompt[_ngcontent-%COMP%], .form-field-description[_ngcontent-%COMP%] .extra-prompt[_ngcontent-%COMP%]{font-weight:400}.cvc-form-field-validation[_ngcontent-%COMP%] .extra-description[_ngcontent-%COMP%], .form-field-description[_ngcontent-%COMP%] .extra-description[_ngcontent-%COMP%]{font-style:oblique}.cvc-form-field-validation[_ngcontent-%COMP%]{font-weight:600}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required{font-weight:500}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required:before{border:1px solid #ff4d4f;height:1em;content:""}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type span.label{padding-right:4px}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type.disabled label span.label{color:#00000073}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type.error label span.label{color:#ff4d4f}nz-form-item.layout-horizontal[_ngcontent-%COMP%] nz-form-label:first-of-type.valid label span.label{color:#ff4d4f}nz-form-item.layout-vertical[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #d9d9d9;padding:4px 8px;border-radius:6px;margin-bottom:16px}nz-form-item.layout-vertical.disabled[_ngcontent-%COMP%]{border:1px solid #f5f5f5;background-color:#f5f5f5}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required{font-weight:500}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required:before{border:1px solid #ff4d4f;height:1em;content:""}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type span.label{padding-right:4px}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type.disabled label span.label{color:#00000073}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type.error label span.label{color:#ff4d4f}nz-form-item.layout-vertical[_ngcontent-%COMP%] nz-form-label:first-of-type.valid label span.label{color:#ff4d4f}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type{text-align:right;margin-right:6px}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required{font-weight:500}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type label.ant-form-item-required:before{border:1px solid #ff4d4f;height:1em;content:""}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type span.label{padding-right:4px}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type.disabled label span.label{color:#00000073}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type.error label span.label{color:#ff4d4f}nz-form-item.layout-inline[_ngcontent-%COMP%] nz-form-label:first-of-type.valid label span.label{color:#ff4d4f}'],changeDetection:0});var At=a(7570),_t=a(1102);const Xt={wrappers:[{name:"form-field",component:mn}]};class ct{}ct.\u0275fac=function(d){return new(d||ct)},ct.\u0275mod=e.oAB({type:ct}),ct.\u0275inj=e.cJS({imports:[S.ez,I._N,I.pP,t.UX,s.U5,w.Jb,_t.PV,At.cg,pe.ZJ,g.X0.forChild(Xt)]});var Rt=a(8213);class sn extends g.fS{constructor(){super(...arguments),this.defaultOptions={props:{indeterminate:!0,hideLabel:!0}}}ngAfterViewInit(){console.log(this.props)}}sn.\u0275fac=function(){let f;return function(c){return(f||(f=e.n5z(sn)))(c||sn)}}(),sn.\u0275cmp=e.Xpm({type:sn,selectors:[["cvc-checkbox"]],features:[e.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(d,c){1&d&&(e.TgZ(0,"label",0),e.NdJ("ngModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e._uU(1),e.qZA()),2&d&&(e.Q6J("nzIndeterminate",c.props.indeterminate&&null==c.formControl.value)("formControl",c.formControl)("formlyAttributes",c.field),e.xp6(1),e.hij(" ",c.props.label,"\n"))},dependencies:[t.JJ,t.oH,Rt.Ie,g.JD],changeDetection:0});const Dn={types:[{name:"checkbox",wrappers:["form-field"],component:sn}]};class zn{}zn.\u0275fac=function(d){return new(d||zn)},zn.\u0275mod=e.oAB({type:zn}),zn.\u0275inj=e.cJS({imports:[S.ez,t.UX,Rt.Wr,g.X0.forChild(Dn),ct]});var Yt=a(6672),xt=a(9444);class Ye{}Ye.\u0275fac=function(d){return new(d||Ye)},Ye.\u0275mod=e.oAB({type:Ye}),Ye.\u0275inj=e.cJS({imports:[S.ez,Yt.X,_t.PV,At.cg,xt.s]});var $e=a(7221),Ae=a(5635),Ze=a(8231);class oe{}oe.\u0275fac=function(d){return new(d||oe)},oe.\u0275mod=e.oAB({type:oe}),oe.\u0275inj=e.cJS({imports:[S.ez,t.UX,g.X0.forChild(),$e.F,_t.PV,s.U5,Ze.LV,Ae.o7,xt.s]});var J=a(915),Te=a(655),Pe=a(9933),Ge=a(9300),it=a(1135),yt=a(4004),Ut=a(6579);function $t(){var f;let d=((f=class extends g.fS{constructor(){super()}configureBaseField(){this.field?.options?.fieldChanges?(this.onModelChange$=this.field.options.fieldChanges.pipe((0,Ge.h)(y=>y.field.id===this.field.id),(0,Ut.j)("value")),this.onValueChange$=new it.X(this.formControl.value?this.formControl.value:void 0),this.onModelChange$.pipe((0,Pe.t)(this)).subscribe(y=>{this.onValueChange$.next(y)}),this.field.options?.formState&&this.field.options.formState.fields&&(this.state=this.field.options.formState,this.autoConfigureStateValueChanges())):console.error(`${this.field.id} could not find its fieldChanges Observable, ensure configureBaseField() is called in this field's AfterViewInit hook.`)}autoConfigureStateValueChanges(){!this.field.key&&"string"==typeof this.field.key&&console.warn(`${this.field.id} cannot auto-configure state value changes, as its field key is not a string. field.key: `,this.field.key);const y=`${this.field.key}$`;this.state&&this.state.fields[y]?(this.stateValueChange$=this.state.fields[y],this.onValueChange$.pipe((0,yt.U)(ie=>null===ie?void 0:ie),(0,Pe.t)(this)).subscribe(ie=>{this.stateValueChange$&&this.stateValueChange$.next(ie)})):console.warn(`${this.field.id} could not find state field ${y} on form state. State: `,this.state)}}).\u0275fac=function(y){return new(y||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["ng-component"]],features:[e.qOj],decls:0,vars:0,template:function(y,ie){},encapsulation:2}),f);return d=(0,Te.gn)([(0,Pe.c)()],d),d}var Je=a(7579),et=a(1365);function pt(){return function(d){class c extends d{configureEnumSelectField(ie){this.selectOption$=new it.X([]),this.onTagClose$=new Je.x,this.optionEnum$=ie.optionEnum$,this.changeDetectorRef=ie.changeDetectorRef,this.optionTemplate$=ie.optionTemplate$?ie.optionTemplate$:new it.X([]),this.optionTemplate$.pipe((0,et.M)(this.optionEnum$),(0,Pe.t)(this)).subscribe(ht=>{this.emitSelectOptions(ht)}),this.onTagClose$.pipe((0,Pe.t)(this)).subscribe(ht=>{this.resetField()})}emitSelectOptions([ie,ht]){this.selectOption$.next(ht.map((It,Mn)=>({label:ie[Mn]||It,value:It}))),this.changeDetectorRef?this.changeDetectorRef.detectChanges():console.error(`${this.field.id}'s configureEnumTagField() requires valid ChangeDetectorRef option, none detected.`)}resetField(){this.formControl.setValue(this.props.isMultiSelect?[]:void 0)}}return c.\u0275fac=function(){let y;return function(ht){return(y||(y=e.n5z(c)))(ht||c)}}(),c.\u0275prov=e.Yz7({token:c,factory:c.\u0275fac}),c}}var Vt=a(5684);const jt=function zt(f){for(var d=arguments.length,c=new Array(d>1?d-1:0),y=1;y`${c} Direction`,required:!0,isMultiSelect:!1,placeholder:"Select Entity Direction",placeholderFn:(c,y)=>`Select ${y?y+" ":""}${c} Direction`,requireTypePromptFn:c=>`Select ${c} Type to select its Direction`,formMode:"add"}},this.directionEnum$=new it.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.directionEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){if(!this.state)return console.error(`${this.field.id} requires a form state to populate its options, none was found.`),void(this.placeholder$=new it.X("ERROR: Form state not found"));if(this.props.label=this.props.labelFn(this.state.entityName),this.props.tooltip=`An indicator of whether the ${this.state.entityName} statement supports or refutes the clinical significance of an event.`,this.placeholder$=new it.X(this.props.placeholderFn(this.state.entityName)),!this.state.enums.direction$)return void console.error(`${this.field.id} could not find form state's direction$ to populate select.`);this.state.enums.direction$.pipe((0,Pe.t)(this)).subscribe(c=>{this.directionEnum$.next(c)}),this.optionTemplates||console.info(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(c=>c.map(y=>y)));const d=`${this.state.entityName.toLowerCase()}Type$`;this.state.fields[d]?(this.onEntityType$=this.state.fields[d],this.onEntityType$.pipe((0,Vt.T)("add"===this.props.formMode?0:1),(0,Pe.t)(this)).subscribe(c=>{c?(this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0,this.placeholder$.next(this.props.placeholderFn(this.state.entityName,(0,J.E)(c)))):(this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName),this.props.extraType="prompt"),this.formControl.value&&this.formControl.setValue(void 0)}),this.onValueChange$.pipe((0,et.M)(this.onEntityType$),(0,Pe.t)(this)).subscribe(([c,y])=>{!y||!c||!this.state||(this.props.extraType="description",this.props.description=he[this.state.entityName][y][c])})):console.error(`${this.field.id} could not find form state's ${d} to populate Direction options.`)}}ce.\u0275fac=function(d){return new(d||ce)(e.Y36(e.sBO))},ce.\u0275cmp=e.Xpm({type:ce,selectors:[["cvc-direction-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(ft,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,He,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,Ie,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(6);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,c.placeholder$))("cvcCustomTemplate",y)("cvcOptions",e.lcZ(2,11,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,c.directionEnum$))}},dependencies:[S.sg,We,Qe,I.fM],changeDetection:0});const nt={types:[{name:"direction-select",wrappers:["form-field"],component:ce}]};class be{}be.\u0275fac=function(d){return new(d||be)},be.\u0275mod=e.oAB({type:be}),be.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(nt),ct,oe,Ye]});var rt=a(2383),Zt=a(3258),nn=a(6903),Sn=a(9597);class jn{}jn.\u0275fac=function(d){return new(d||jn)},jn.\u0275mod=e.oAB({type:jn}),jn.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(),Sn.L,_t.PV,Ze.LV,Ae.o7,s.U5,pe.ZJ,rt.ic,nn.zf,Zt.x,xt.s]});var Un=a(9676),$n=a(6616),Yn=a(6960),co=a(6581),Wo=a(4707),ko=a(9751),po=a(9646),Go=a(3900),Po=a(1884),ui=a(457),Ro=a(8382),Ko=a(9770),Fn=a(8505),Wn=a(3240),ro=a(9841);function ni(...f){let d=f[0],c=f[1];if(0===d.length)return(0,po.of)(c?c([]):[]);const y=d.slice();return c&&y.push((...ie)=>c(ie)),ro.a.apply(null,y)}function To(){return function(d){class c extends d{configureEntitySelectField(ie){if(this.typeaheadQuery=ie.typeaheadQuery,this.tagQuery=ie.tagQuery,this.getTypeaheadVars=ie.getTypeaheadVarsFn,this.getTypeahedResults=ie.getTypeaheadResultsFn,this.getTagQueryVars=ie.getTagQueryVarsFn,this.getTagQueryResults=ie.getTagQueryResultsFn,this.getSelectedItemOption=ie.getSelectedItemOptionFn,this.getSelectOptions=ie.getSelectOptionsFn,this.typeaheadParam$=ie.typeaheadParam$,this.typeaheadParamName$=ie.typeaheadParamName$,this.selectOpen$=ie.selectOpen$||new Wo.t,this.selectComponent=ie.selectComponent,this.minSearchStrLength=ie.minSearchStrLength||0,this.cdr=ie.changeDetectorRef,this.onSearch$=new it.X(void 0),this.isLoading$=new ko.y,this.result$=new it.X([]),this.onPopulate$=new Je.x,this.onTagClose$=new Je.x,this.onOpenChange$=new Je.x,this.onCreate$=new Je.x,this.selectOption$=new it.X(void 0),this.response$=this.onSearch$.pipe((0,Vt.T)(1),(0,Ge.h)(Wn.ep),(0,Ge.h)(ht=>0===this.minSearchStrLength||ht.length>=this.minSearchStrLength),(0,et.M)(void 0!==this.typeaheadParam$?this.typeaheadParam$:(0,po.of)(void 0)),(0,Go.w)(([ht,It])=>{const Mn=this.getTypeaheadVars(ht,It),Rn=Bi=>(this.queryRef=this.typeaheadQuery.watch(Bi),this.isLoading$=this.queryRef.valueChanges.pipe((0,Ut.j)("loading"),(0,Po.x)()),this.queryRef.valueChanges),jo=Bi=>(0,ui.D)(this.queryRef.refetch(Bi));return(0,Ro.s)(()=>void 0===this.queryRef,(0,Ko.P)(()=>Rn(Mn)),(0,Ko.P)(()=>jo(Mn)))})),this.onOpenChange$.subscribe(ht=>{ht&&this.onSearch$.next("")}),this.response$.pipe((0,Ge.h)(ht=>void 0!==ht.data),(0,yt.U)(ht=>this.getTypeahedResults(ht)),(0,Pe.t)(this)).subscribe(ht=>{this.result$.next(ht),0===ht.length&&this.selectOption$.next([]),this.cdr.detectChanges()}),this.optionTemplates?this.optionTemplates.changes.pipe((0,et.M)(this.result$),(0,Pe.t)(this)).subscribe(([ht,It])=>{const Mn=this.getSelectOptions(It,ht);this.selectOption$.next(Mn),this.cdr.detectChanges()}):(console.warn(`${this.field.id} could not find reference to optionTemplates ViewChildren, options will only show entity name text.`),this.result$.pipe((0,Pe.t)(this)).subscribe(ht=>{this.selectOption$.next(ht.map(It=>({label:It.name,value:It.id})))})),this.onPopulate$.pipe((0,Ge.h)(Wn.ep),(0,Go.w)(ht=>ni(this.getTagQueries(ht))),(0,yt.U)(ht=>ht.map(It=>this.getTagQueryResults(It))),(0,Fn.b)(ht=>{this.result$.next(ht)}),(0,Pe.t)(this)).subscribe(ht=>{let It;if(this.field.props&&this.field.props.isMultiSelect){const Mn=[];ht.forEach(Rn=>Mn.push(Rn?.id||void 0)),It=Mn}else It=ht[0].id;this.formControl.setValue(It),this.selectOpen$.next(!1)}),this.formControl.value){const ht=this.formControl.value;if(Object.keys(ht).length>0&&ht.constructor===Object)return void console.error(`${this.field.id} prepopulated value must be a primitive or array of primitives, value is an object:`,ht);this.onPopulate$.next(ht)}this.onTagClose$.pipe((0,Pe.t)(this)).subscribe(ht=>{this.resetField()})}getTagQueries(ie){return"number"==typeof ie&&(ie=[ie]),ie.map(It=>this.tagQuery.fetch(this.getTagQueryVars(It),{fetchPolicy:"cache-first"}).pipe((0,Ge.h)(Mn=>!!Mn.data)))}resetField(){this.formControl.setValue(void 0),this.result$&&this.result$.next([])}}return c.\u0275fac=function(){let y;return function(ht){return(y||(y=e.n5z(c)))(ht||c)}}(),c.\u0275prov=e.Yz7({token:c,factory:c.\u0275fac}),c}}var oo,Do=a(5698),bn=a(7630),Co=a(9468),pi=a(4986),Fi=a(4782);function Zi(f,d){1&f&&e._UZ(0,"span",5),2&f&&e.Q6J("nzType","loading")}function Ji(f,d){if(1&f&&(e.ynx(0),e._uU(1),e.BQk()),2&f){const c=e.oxw(2);e.xp6(1),e.hij(" ",c.notFoundDisplay.message," ")}}const Ei=function(f,d,c){return{$implicit:f,createMsg:d,model:c}};function jr(f,d){if(1&f&&e.GkF(0,6),2&f){const c=e.oxw(2);e.Q6J("ngTemplateOutlet",c.cvcAddEntity)("ngTemplateOutletContext",e.kEZ(2,Ei,c.notFoundDisplay.searchStr,c.notFoundDisplay.message,c.cvcAddEntityModel))}}function qe(f,d){if(1&f&&(e.YNc(0,Zi,1,1,"span",2),e.YNc(1,Ji,2,1,"ng-container",3),e.YNc(2,jr,1,6,"ng-container",4)),2&f){const c=e.oxw();e.Q6J("ngIf",c.notFoundDisplay.showSpinner),e.xp6(1),e.Q6J("ngIf",!c.notFoundDisplay.showAddForm),e.xp6(1),e.Q6J("ngIf",c.notFoundDisplay.showAddForm)}}const se=function(){return[]},Fe={search:(f,d,c)=>`Searching ${f} matching "${d}"...`,searchAll:(f,d,c)=>`Listing all ${f}...`,searchParam:(f,d,c)=>`Searching ${c} ${f} matching "${d}"...`,searchParamAll:(f,d,c)=>`Listing all ${c} ${f}...`,searchEnterQuery:(f,d,c,y)=>`Enter at least ${y} characters to search ${c} ${f}`,searchEnterQueryAll:(f,d,c,y)=>`Enter at least least ${y} characters to search ${f}`,empty:(f,d,c)=>`No ${f} found matching "${d}"`,emptyAll:(f,d,c)=>`No ${f} found.`,emptyParam:(f,d,c)=>`No ${c} ${f} found matching "${d}"`,emptyParamAll:(f,d,c)=>`No ${c} ${f} found`};let Ue=((oo=class{constructor(d){this.cdr=d,this.cvcEntityName={singular:"Entity",plural:"Entities"},this.cvcSelectMode="default",this.cvcLoading=!1,this.cvcOptions=void 0,this.cvcShowError=!1,this.cvcDisabled=!1,this.cvcAllowClear=!0,this.cvcBorderless=!1,this.cvcShowArrow=!1,this.cvcAutoClearSearchValue=!0,this.cvcSuffixIcon="search",this.cvcCustomTemplate=null,this.cvcDropdownExtra=null,this.cvcAddEntity=null,this.cvcMinSearchStrLength=0,this.cvcOnOpenChange=new e.vpe,this.cvcOnSearch=(new e.vpe).pipe((0,Co.p)(300,pi.z,{leading:!1,trailing:!0}),(0,Fi.d)(1)),this.cvcOnModelChange=new e.vpe,this.cvcSelectComponent=new e.vpe,this.messageOptions=Fe,this.onParamName$=new it.X(void 0),this.onOption$=new it.X([]),this.onOpenChange$=new it.X(!1),this.onLoading$=new it.X(!1),this.previousIsOpen=!1}ngAfterViewInit(){this.cvcSelectMessages&&(this.messageOptions={...this.messageOptions,...this.cvcSelectMessages}),this.nzSelectComponent?(this.cvcSelectComponent.next(this.nzSelectComponent),this.notFoundDisplay={searchStr:"",showSpinner:!0,showAddForm:!1,message:`Searching ${this.cvcEntityName.plural}...`},this.onOpenChange$.pipe((0,Pe.t)(this)).subscribe(d=>{this.cvcOnOpenChange.next(d)}),(0,ro.a)([this.onOpenChange$,this.cvcOnSearch,this.onParamName$,this.onOption$,this.onLoading$.pipe((0,Po.x)())]).pipe((0,yt.U)(([d,c,y,ie,ht])=>{const It=this.cvcEntityName.plural,Mn=this.cvcMinSearchStrLength,Rn=null!==this.cvcAddEntity,jo=!1===this.previousIsOpen&&!0===d;return this.previousIsOpen=d,jo?this.getSelectInitDisplay(It,Mn,y):ht&&c.length>=Mn?this.getSelectSearchingDisplay(c,It,Mn,y):d&&!ht&&c.length>=Mn&&0===ie.length?this.getSelectEmptyDisplay(c,It,y,Rn):{searchStr:"",showSpinner:!1,showAddForm:!1,message:""}}),(0,Fn.b)(d=>{this.notFoundDisplay=d}),(0,Pe.t)(this)).subscribe()):console.error(`${this.cvcEntityName.singular} entity-select could not gain reference to its nzSelectComponent, aborting AfterViewInit()`)}getSelectInitDisplay(d,c,y){let ie=this.messageOptions.searchAll,ht=!1;return 0==c?(ht=!0,ie=void 0===y?this.messageOptions.searchAll:this.messageOptions.searchParamAll):c>0&&(ht=!1,ie=void 0===y?this.messageOptions.searchEnterQueryAll:this.messageOptions.searchEnterQuery),{message:ie(d,"",y,c),showSpinner:ht,showAddForm:!1,searchStr:""}}getSelectSearchingDisplay(d,c,y,ie){let ht=this.messageOptions.searchAll;return ht=void 0===ie?d.length>0?this.messageOptions.search:this.messageOptions.searchAll:d.length>0?this.messageOptions.searchParam:this.messageOptions.searchParamAll,{message:ht(c,d,ie),showSpinner:!0,showAddForm:!1,searchStr:d}}getSelectEmptyDisplay(d,c,y,ie){let ht=this.messageOptions.empty;return ht=void 0===y?d.length>0?this.messageOptions.empty:this.messageOptions.emptyAll:d.length>0?this.messageOptions.emptyParam:this.messageOptions.emptyParamAll,{message:ht(c,d,y),showSpinner:!1,showAddForm:ie,searchStr:d}}ngOnChanges(d){if(d.cvcParamName&&this.onParamName$.next(d.cvcParamName.currentValue),d.cvcOptions){const c=d.cvcOptions.currentValue;void 0!==c&&this.onOption$.next(c)}if(d.cvcLoading){const c=d.cvcLoading.currentValue;void 0!==c&&this.onLoading$.next(c)}}}).\u0275fac=function(d){return new(d||oo)(e.Y36(e.sBO))},oo.\u0275cmp=e.Xpm({type:oo,selectors:[["cvc-entity-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Ze.Vq,5),2&d){let y;e.iGM(y=e.CRH())&&(c.nzSelectComponent=y.first)}},inputs:{cvcFormControl:"cvcFormControl",cvcFormlyAttributes:"cvcFormlyAttributes",cvcEntityName:"cvcEntityName",cvcSelectMessages:"cvcSelectMessages",cvcSelectMode:"cvcSelectMode",cvcPlaceholder:"cvcPlaceholder",cvcLoading:"cvcLoading",cvcOptions:"cvcOptions",cvcResults:"cvcResults",cvcShowError:"cvcShowError",cvcDisabled:"cvcDisabled",cvcAllowClear:"cvcAllowClear",cvcBorderless:"cvcBorderless",cvcShowArrow:"cvcShowArrow",cvcAutoClearSearchValue:"cvcAutoClearSearchValue",cvcSuffixIcon:"cvcSuffixIcon",cvcCustomTemplate:"cvcCustomTemplate",cvcDropdownExtra:"cvcDropdownExtra",cvcParamName:"cvcParamName",cvcAddEntity:"cvcAddEntity",cvcAddEntityModel:"cvcAddEntityModel",cvcSelectOpen:"cvcSelectOpen",cvcMinSearchStrLength:"cvcMinSearchStrLength"},outputs:{cvcOnOpenChange:"cvcOnOpenChange",cvcOnSearch:"cvcOnSearch",cvcOnModelChange:"cvcOnModelChange",cvcSelectComponent:"cvcSelectComponent"},features:[e.TTD],decls:3,vars:21,consts:[["nzShowSearch","","nzServerSearch","","nzAllowClear","",3,"nzDropdownMatchSelectWidth","formControl","formlyAttributes","nzMode","nzPlaceHolder","nzCustomTemplate","nzOptionHeightPx","nzDisabled","nzLoading","nzAllowClear","nzBorderless","nzSuffixIcon","nzShowArrow","nzAutoClearSearchValue","nzOptions","nzDropdownRender","nzNotFoundContent","nzOpen","nzOpenChange","nzOnSearch","ngModelChange"],["searchMessages",""],["nz-icon","",3,"nzType",4,"ngIf"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-select",0),e.NdJ("nzOpenChange",function(ie){return c.onOpenChange$.next(ie)})("nzOnSearch",function(ie){return c.cvcOnSearch.next(ie)})("ngModelChange",function(ie){return c.cvcOnModelChange.next(ie)}),e.qZA(),e.YNc(1,qe,3,3,"ng-template",null,1,e.W1O)),2&d){const y=e.MAs(2);e.ekj("ng-dirty",c.cvcShowError),e.Q6J("nzDropdownMatchSelectWidth",!0)("formControl",c.cvcFormControl)("formlyAttributes",c.cvcFormlyAttributes)("nzMode",c.cvcSelectMode)("nzPlaceHolder",c.cvcPlaceholder||"Search "+c.cvcEntityName.plural)("nzCustomTemplate",c.cvcCustomTemplate||null)("nzOptionHeightPx",30)("nzDisabled",c.cvcDisabled)("nzLoading",c.cvcLoading)("nzAllowClear",c.cvcAllowClear)("nzBorderless",c.cvcBorderless)("nzSuffixIcon",c.cvcSuffixIcon)("nzShowArrow",c.cvcShowArrow)("nzAutoClearSearchValue",c.cvcAutoClearSearchValue)("nzOptions",c.cvcOptions||e.DdM(20,se))("nzDropdownRender",c.cvcDropdownExtra||null)("nzNotFoundContent",y)("nzOpen",c.cvcSelectOpen)}},dependencies:[S.O5,S.tP,t.JJ,t.oH,g.JD,_t.Ls,Ze.Vq],changeDetection:0}),oo);Ue=(0,Te.gn)([(0,Pe.c)({arrayName:"stateSubscriptions"})],Ue);var On,Tt=a(8699),Ft=a(6123),Gt=a(9169),un=a(7044),pn=a(1664),fn=a(7830);function Tn(f,d){if(1&f&&e._uU(0),2&f){const c=e.oxw();e.Oqu(c.successMessage)}}function En(f,d){if(1&f&&(e.ynx(0),e._uU(1),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.hij(' "',c.model.name,'" ')}}const Pn=function(){return[0,0]};let Xn=((On=class{set cvcSearchString(d){d&&this.searchString$.next(d)}constructor(d,c){this.query=d,this.errors=c,this.cvcOnCreate=new e.vpe,this.form=new t.nJ({}),this.model={name:""},this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.onSubmit$=new Je.x,this.searchString$=new it.X(void 0),this.addDiseaseMutator=new Ft.U(this.errors),this.fields=[{key:"doid",type:"input",props:{label:"DOID",keydown:(y,ie)=>{"Tab"===ie.code&&ie.stopPropagation()}}},{key:"name",props:{hidden:!0,required:!0}}],this.searchString$.pipe((0,Pe.t)(this)).subscribe(y=>{y&&(this.model.name=y)}),this.onSubmit$.pipe((0,Pe.t)(this)).subscribe(y=>{console.log("disease-quick-add form model submitted.",y),this.submitDisease(y)})}submitDisease(d){d.name?this.mutationState=this.addDiseaseMutator.mutate(this.query,this.model,{},c=>{console.log("disease-quick-add submit data callback",c),c.addDisease&&(this.successMessage=c.addDisease.new?`New Disease ${c.addDisease.disease.name} added.`:`Existing Disease ${c.addDisease.disease.name} with DOID ${c.addDisease.disease.doid} found. `,setTimeout(()=>{c&&c.addDisease&&this.cvcOnCreate.next(c.addDisease.disease.id)},1e3))}):console.error("disease-quick-add form submitDisease requires model with valid name.")}}).\u0275fac=function(d){return new(d||On)(e.Y36(bn.MPi),e.Y36(Gt.Y))},On.\u0275cmp=e.Xpm({type:On,selectors:[["cvc-disease-quick-add-form"]],inputs:{cvcSearchString:"cvcSearchString"},outputs:{cvcOnCreate:"cvcOnCreate"},decls:11,vars:11,consts:[["entityType","Disease",3,"mutationState","successMessage"],["success",""],["nz-form","","nzLayout","horizontal",3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"],[4,"ngIf"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-form-submission-status-display",0),e.YNc(1,Tn,1,1,"ng-template",null,1,e.W1O),e.TgZ(3,"form",2),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(4,"nz-row",3)(5,"nz-col",4)(6,"formly-form",5),e.NdJ("modelChange",function(ie){return c.model=ie}),e.qZA()(),e.TgZ(7,"nz-col",4)(8,"button",6),e._uU(9," Add Disease\xa0 "),e.YNc(10,En,2,1,"ng-container",7),e.qZA()()()()()),2&d){const y=e.MAs(2);e.Q6J("mutationState",c.mutationState)("successMessage",y),e.xp6(3),e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(10,Pn)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("disabled",!c.form.valid),e.xp6(2),e.Q6J("ngIf",c.model.name)}},dependencies:[S.O5,t._Y,t.JL,t.sg,g.T7,$n.ix,un.w,pn.dQ,w.t3,w.SK,s.Lr,fn.F],encapsulation:2,changeDetection:0}),On);Xn=(0,Te.gn)([(0,Pe.c)()],Xn);const xn=["addDisease"],Vn=["optionTemplates"];function Zn(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"strong"),e._uU(2,"DOID:"),e.qZA(),e._UZ(3,"span",9),e.ALo(4,"highlightTypeahead"),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(3),e.Q6J("innerHtml",e.xi3(4,1,c.doid,y),e.oJD)}}function ho(f,d){if(1&f&&(e.ynx(0),e._uU(1," \xa0 "),e.TgZ(2,"strong"),e._uU(3,"Aliases: "),e.qZA(),e.TgZ(4,"em"),e._UZ(5,"span",10),e.ALo(6,"highlightTypeahead"),e.qZA(),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(5),e.Q6J("nzTooltipTitle",c.diseaseAliases.join(", "))("innerHtml",e.xi3(6,2,c.diseaseAliases.join(", "),y),e.oJD)}}function uo(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",6),e.TgZ(1,"span",7),e.YNc(2,Zn,5,4,"ng-container",8),e.YNc(3,ho,7,5,"ng-container",8),e._uU(4),e.qZA()),2&f){const c=e.oxw().$implicit,y=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",y),e.xp6(2),e.Q6J("ngIf",c.doid),e.xp6(1),e.Q6J("ngIf",c.diseaseAliases.length>0),e.xp6(1),e.hij(" ",y," ")}}function fo(f,d){1&f&&(e.ynx(0),e.YNc(1,uo,5,6,"ng-template",null,5,e.W1O),e.BQk())}function Zo(f,d){if(1&f&&(e.ynx(0),e.YNc(1,fo,3,0,"ng-container",4),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function $o(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",11)(1,"cvc-entity-tag",12),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Disease:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}function bo(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-disease-quick-add-form",13),e.NdJ("cvcOnCreate",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onPopulate$.next(ie))}),e.qZA()}2&f&&e.Q6J("cvcSearchString",d.$implicit)}const _o=jt($t(),To());class Bo extends _o{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.defaultOptions={props:{entityName:{singular:"Disease",plural:"Diseases"},tooltip:"Cancer or cancer subtype that is a result of the described variant",isMultiSelect:!1,requireType:!0,placeholder:"Search Diseases",requireTypePromptFn:(ie,ht)=>`Select an ${ie} Type to select an associated Disease${ht?"(s)":""}`,addFormTitle:"Add a New Disease"}},this.placeholder$=new it.X(void 0),this.selectOpen$=new Wo.t}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,Ge.h)(d=>d),(0,Do.q)(1),(0,Pe.t)(this)).subscribe(d=>{this.configureField()}):this.configureField(),this.addForm&&(this.field.props.addFormContent=this.addForm)}configureField(){this.placeholder$.next(this.props.placeholder),this.configureStateConnections()}configureStateConnections(){if(this.state){if(this.state.requires.requiresDisease$?this.onRequiresDisease$=this.state.requires.requiresDisease$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresDisease$ subject to attach.`),this.props.requireType){const d=`${this.state.entityName.toLowerCase()}Type$`;this.state.fields[d]?this.onEntityType$=this.state.fields[d]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${d}.`)}!this.onRequiresDisease$||!this.onEntityType$||(0,ro.a)([this.onRequiresDisease$,this.onEntityType$,this.onValueChange$]).pipe((0,Pe.t)(this)).subscribe(([d,c,y])=>{this.onStateUpdates(d,c,y)})}}onStateUpdates(d,c,y){!d&&c&&(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,J.E)(c)} ${this.state.entityName} does not include associated diseases`,this.props.extraType="prompt",this.cdr.markForCheck()),this.props.requireType&&!c&&(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"),d&&(this.props.required=!0,this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0),(!d&&void 0!==y||this.props.requireType&&!c&&this.formControl.value)&&this.resetField()}getTypeaheadVarsFn(d){return{name:d}}getTypeaheadResultsFn(d){return d.data.diseaseTypeahead}getTagQueryVarsFn(d){return{id:d}}getTagQueryResultsFn(d){return d.data.disease}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}Bo.\u0275fac=function(d){return new(d||Bo)(e.Y36(bn.RYL),e.Y36(bn.QVn),e.Y36(e.sBO))},Bo.\u0275cmp=e.Xpm({type:Bo,selectors:[["cvc-disease-select"]],viewQuery:function(d,c){if(1&d&&(e.Gf(xn,7),e.Gf(Vn,5,e.Rgc)),2&d){let y;e.iGM(y=e.CRH())&&(c.addForm=y.first),e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:12,vars:26,consts:[[3,"cvcAddEntity","cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcSelectOpen","cvcOnSearch","cvcOnOpenChange","cvcSelectComponent","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],["addDisease",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],[3,"innerHtml"],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcSearchString","cvcOnCreate"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcSelectComponent",function(ie){return c.selectComponent=ie})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.qZA(),e.YNc(7,Zo,3,3,"ng-container",1),e.YNc(8,$o,2,3,"ng-template",null,2,e.W1O),e.YNc(10,bo,1,1,"ng-template",null,3,e.W1O)),2&d){const y=e.MAs(9),ie=e.MAs(11);e.Q6J("cvcAddEntity",ie)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",e.lcZ(1,14,c.placeholder$))("cvcResults",e.lcZ(2,16,c.result$))("cvcOptions",e.lcZ(3,18,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.onRequiresDisease$&&!e.lcZ(4,20,c.onRequiresDisease$))("cvcLoading",e.lcZ(5,22,c.isLoading$))("cvcSelectOpen",e.lcZ(6,24,c.selectOpen$)),e.xp6(7),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,I.eJ,At.SY,pe.ZU,Ue,Tt.J,Xn,I.fM,P.A],changeDetection:0});const ii={types:[{name:"disease-select",wrappers:["form-field"],component:Bo,defaultOptions:{props:{label:"Disease"}}},{name:"disease-multi-select",wrappers:["form-field"],component:Bo,defaultOptions:{props:{isMultiSelect:!0,label:"Diseases"}}}]};class oi{}oi.\u0275fac=function(d){return new(d||oi)},oi.\u0275mod=e.oAB({type:oi}),oi.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(ii),Sn.L,$n.sL,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,Yt.X,Un.g,ct,jn,xt.s,Zt.x]});var Io=a(2994);class Vo{}Vo.\u0275fac=function(d){return new(d||Vo)},Vo.\u0275mod=e.oAB({type:Vo}),Vo.\u0275inj=e.cJS({imports:[S.ez,I._N,I.pP,pe.ZJ]});var Qo=a(1971),Si=a(9562),Ni=a(7096),Oo=a(6675),ri=a(5026),Ki=a(8372),si=a(3595),qi=a(2856),gr=a(6451),xi=a(444);const vr={isSelectCol:f=>"select"===f.type,isEntityTagCol:f=>"entity-tag"===f.type,isEnumTagCol:f=>"enum-tag"===f.type,isTextTagCol:f=>"text-tag"===f.type},Ar=f=>void 0!==f.sort,js=f=>void 0!==f.filter,Yi={description:bn.Cp0.Description,disease:bn.Cp0.DiseaseName,evidenceDirection:bn.Cp0.EvidenceDirection,evidenceLevel:bn.Cp0.EvidenceLevel,evidenceRating:bn.Cp0.EvidenceRating,evidenceType:bn.Cp0.EvidenceType,id:bn.Cp0.Id,significance:bn.Cp0.Significance,status:bn.Cp0.Status,therapies:bn.Cp0.TherapyName,variantOrigin:bn.Cp0.VariantOrigin},Gs={molecularProfile:"molecularProfileName",disease:"diseaseName",therapies:"therapyName",evidenceItem:"id"},_r=["selected","id"];class Be{constructor(){this.sortStreams=[],this.filterStreams=[],this.config=this.configureColumnStreams([{key:"selected",label:"Select",type:"select",width:"25px",align:"center",fixedLeft:!0,checkbox:{th:{showCheckbox:!1},td:{showCheckbox:!0}}},{hidden:!0,key:"id",label:"ID",type:"default",width:"30px"},{hidden:!0,key:"status",label:"Status",type:"default",width:"50px"},{key:"id",label:"Evidence",type:"entity-tag",width:"95px",context:"evidenceItem",fixedLeft:!0,showStatus:!0,tag:{fullWidth:!0},sort:{default:"ascend"},filter:{inputType:"default",options:[{key:"EID",value:null}],transform:d=>d?+d.toString().replace(/EID/i,""):null}},{key:"molecularProfile",label:"Molecular Profile",type:"entity-tag",width:"240px",sort:{},tag:{truncateLabel:"200px"},filter:{inputType:"default",typename:"MolecularProfile",options:[{key:"Filter Therapy Names",value:null}]}},{key:"disease",type:"entity-tag",label:"Disease",width:"240px",sort:{},tag:{truncateLabel:"200px"},filter:{inputType:"default",typename:"Disease",options:[{key:"Filter Disease Names",value:null}]}},{key:"therapies",label:"Therapies",type:"entity-tag",width:"275px",sort:{},tag:{maxTags:2,truncateLabel:"150px"},filter:{inputType:"default",typename:"Therapy",options:[{key:"Filter Therapy Names",value:null}]}},{key:"therapyInteractionType",label:"INT",tooltip:"Therapy Interaction Type",type:"enum-tag",width:"40px",align:"center",emptyValueCategory:"not-applicable",sort:{},filter:{options:this.getAttributeFilters((0,xi.o6)(bn.wkr))}},{key:"description",label:"DSC",tooltip:"Evidence Description",type:"text-tag",width:"40px",align:"center",fixedRight:!0,emptyValueCategory:"unspecified",sort:{},filter:{inputType:"default",options:[{key:"Search Descriptions",value:null}]}},{key:"evidenceType",label:"ET",tooltip:"Evidence Type",type:"enum-tag",width:"40px",align:"center",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,xi.o6)(bn.kqt))}},{key:"evidenceLevel",label:"EL",tooltip:"Evidence Level",type:"enum-tag",width:"40px",align:"center",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,xi.o6)(bn.Sx0))}},{key:"evidenceDirection",label:"ED",tooltip:"Evidence Direction",type:"enum-tag",width:"40px",align:"center",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,xi.o6)(bn.tI1))}},{key:"significance",label:"SI",tooltip:"Significance",type:"enum-tag",align:"center",width:"40px",fixedRight:!0,sort:{},filter:{options:this.getAttributeFilters((0,xi.o6)(bn.y1h))}},{key:"evidenceRating",label:"ER",tooltip:"Evidence Rating",type:"enum-tag",width:"45px",align:"center",fixedRight:!0,tag:{showLabel:"short-string"},sort:{},filter:{options:[1,2,3,4,5].map(d=>({value:d,text:`${d} stars`}))}}])}get(){return this.config}getSortStreams(){return this.sortStreams}getFilterStreams(){return this.filterStreams}getAttributeFilters(d,c){return d.getValues().map(ie=>({text:(0,J.E)(ie),value:ie,byDefault:c===ie}))}configureColumnStreams(d){return d.forEach(c=>{const y=c;if(Ar(y)&&(y.sort.changes=new it.X({key:y.key,value:y.sort.default??null}),this.sortStreams.push(y.sort.changes)),js(y)){const ie=y.filter.options.find(ht=>ht.byDefault)?.value;y.filter.changes=new it.X({key:y.key,value:ie??null}),this.filterStreams.push(y.filter.changes)}}),d}}var $,kt=a(6814);function Ne(f,d){1&f&&e.GkF(0)}const Lt=function(f,d,c){return{$implicit:f,config:d,emphasize:c}};function on(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"span",1),e.YNc(2,Ne,1,0,"ng-container",2),e.qZA(),e.BQk()),2&f){const c=d.$implicit,y=e.oxw();e.xp6(2),e.Q6J("ngTemplateOutlet",y.cvcTagTemplate)("ngTemplateOutletContext",e.kEZ(2,Lt,c,y.config,null==y.config?null:y.config.emphasize))}}let wn=(($=class{set cvcTagListConfig(d){!d||!d.tagList||!d.tag||(this.config=d,this.setEntities(d.tagList,d.tag))}constructor(){this.entities=[]}setEntities(d,c){this.entities=d&&0!==d.length&&0!==c.maxTags?d:[]}}).\u0275fac=function(d){return new(d||$)},$.\u0275cmp=e.Xpm({type:$,selectors:[["cvc-entity-tag-list"]],inputs:{cvcTagListConfig:"cvcTagListConfig",cvcTagTemplate:"cvcTagTemplate"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"tag-container"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(d,c){1&d&&e.YNc(0,on,3,6,"ng-container",0),2&d&&e.Q6J("ngForOf",c.entities)},dependencies:[S.sg,S.tP],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]{display:inline-block;margin-bottom:-4px}.tag-container[_ngcontent-%COMP%]{display:inline-block;margin-bottom:4px}"],changeDetection:0}),$);wn=(0,Te.gn)([(0,Pe.c)()],wn);var no=a(160),to=a(320);function yo(f,d){if(1&f&&(e._UZ(0,"span",6),e.ALo(1,"typenameToIcon"),e.ALo(2,"entityColor")),2&f){const c=d.$implicit;e.Q6J("nzType",e.lcZ(1,2,c.__typename))("nzTwotoneColor",e.lcZ(2,4,c.__typename))}}function Jn(f,d){if(1&f&&(e.ynx(0),e.YNc(1,yo,3,6,"span",5),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",c.entities)}}function Uo(f,d){if(1&f&&(e.TgZ(0,"span",7)(1,"strong"),e._uU(2),e.qZA()(),e._UZ(3,"span",6),e.ALo(4,"typenameToIcon"),e.ALo(5,"entityColor")),2&f){const c=e.oxw();e.xp6(2),e.Oqu(c.entities.length),e.xp6(1),e.Q6J("nzType",e.lcZ(4,3,c.entities[0].__typename))("nzTwotoneColor",e.lcZ(5,5,c.entities[0].__typename))}}const hi=function(f,d,c,y,ie){return{tagList:f,tag:d,showPopover:c,status:y,emphasize:ie}};function Di(f,d){if(1&f&&e._UZ(0,"cvc-entity-tag-list",11),2&f){const c=e.oxw(2);e.Q6J("cvcTagTemplate",c.cvcTagTemplate)("cvcTagListConfig",e.qbA(2,hi,c.entities,c.config.tag,c.config.showPopover,c.config.status,c.config.emphasize))}}function Oi(f,d){1&f&&e._uU(0," Invalid config specified for entity-tag-list. ")}function $i(f,d){if(1&f&&(e.TgZ(0,"div",8),e.YNc(1,Di,1,8,"cvc-entity-tag-list",9),e.qZA(),e.YNc(2,Oi,1,0,"ng-template",null,10,e.W1O)),2&f){const c=e.MAs(3),y=e.oxw();e.xp6(1),e.Q6J("ngIf",y.config)("ngIfElse",c)}}class fi{set cvcCollectionTagConfig(d){!d||!d.tagList||!d.tag||(this.setConfig(d),this.setEntities(d.tagList))}constructor(){this.cvcShowMaxIcons=5,this.cvcShowFullLabels=!0,this.entities=[]}setConfig(d){this.config=this.cvcShowFullLabels?{...d,tag:{...d.tag,truncateLabel:void 0}}:d}setEntities(d){this.entities=d&&0!==d.length?d:[]}}fi.\u0275fac=function(d){return new(d||fi)},fi.\u0275cmp=e.Xpm({type:fi,selectors:[["cvc-entity-collection-tag"]],inputs:{cvcCollectionTagConfig:"cvcCollectionTagConfig",cvcTagTemplate:"cvcTagTemplate",cvcShowMaxIcons:"cvcShowMaxIcons",cvcShowFullLabels:"cvcShowFullLabels"},decls:9,vars:3,consts:[["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverContent"],["nz-typography","","nzType","secondary",1,"plus-sign"],[4,"ngIf","ngIfElse"],["showCount",""],["tagListPopover",""],["class","entity-icon","nz-icon","","nzTheme","twotone",3,"nzType","nzTwotoneColor",4,"ngFor","ngForOf"],["nz-icon","","nzTheme","twotone",1,"entity-icon",3,"nzType","nzTwotoneColor"],["nz-typography","","nzType","secondary",1,"entity-count"],[1,"popover-container"],[3,"cvcTagTemplate","cvcTagListConfig",4,"ngIf","ngIfElse"],["noConfig",""],[3,"cvcTagTemplate","cvcTagListConfig"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-tag",0)(1,"span",1)(2,"strong"),e._uU(3,"+"),e.qZA()(),e.YNc(4,Jn,2,1,"ng-container",2),e.YNc(5,Uo,6,7,"ng-template",null,3,e.W1O),e.qZA(),e.YNc(7,$i,4,2,"ng-template",null,4,e.W1O)),2&d){const y=e.MAs(6),ie=e.MAs(8);e.Q6J("nzPopoverContent",ie),e.xp6(4),e.Q6J("ngIf",c.entities.length<=c.cvcShowMaxIcons)("ngIfElse",y)}},dependencies:[S.sg,S.O5,Yt.j,pe.ZU,co.lU,_t.Ls,wn,no.a,to.Z],styles:["[_nghost-%COMP%]{display:inline-block}.popover-container[_ngcontent-%COMP%]{max-width:300px}nz-tag[_ngcontent-%COMP%]{margin:0;padding:0;margin-inline-end:4px}nz-tag[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}nz-tag[_ngcontent-%COMP%] .plus-sign[_ngcontent-%COMP%]{padding:3px 3px 3px 4px;margin:-3px 0;line-height:1}nz-tag[_ngcontent-%COMP%] .entity-icon[_ngcontent-%COMP%]:first-child{padding-left:2px}nz-tag[_ngcontent-%COMP%] .entity-icon[_ngcontent-%COMP%]{margin:-3px 1px -4px -1px;padding:3px 0;line-height:1}nz-tag[_ngcontent-%COMP%] .entity-icon[_ngcontent-%COMP%]:last-child{padding-right:3px}nz-tag[_ngcontent-%COMP%] .entity-count[_ngcontent-%COMP%]{margin-left:-2px;padding-right:4px}"],changeDetection:0});var lo=a(3388);function Qs(f,d){if(1&f&&(e.TgZ(0,"span",1),e._uU(1),e.ALo(2,"number"),e.ALo(3,"number"),e.qZA()),2&f){const c=d.ngIf;e.xp6(1),e.AsE(" ",e.lcZ(2,2,c.edgeCount)," of ",e.lcZ(3,4,c.filteredCount)," displayed\n")}}class Ee{ngOnInit(){this.tableCountsInfo$=this.cvcTableCountsConnection.pipe((0,Ge.h)(d=>null!=d.totalCount||null!=d.filteredCount),(0,yt.U)(d=>{const c=d.filteredCount,y=d.totalCount,ie=d.edges;return null==c&&null==y&&console.log("Need to provide either filtered count or total count in the table counts component"),{edgeCount:ie.length,filteredCount:c??y}}))}}Ee.\u0275fac=function(d){return new(d||Ee)},Ee.\u0275cmp=e.Xpm({type:Ee,selectors:[["cvc-table-counts"]],inputs:{cvcTableCountsConnection:"cvcTableCountsConnection"},decls:2,vars:3,consts:[["class","table-counts","nz-typography","","nzType","secondary",4,"ngIf"],["nz-typography","","nzType","secondary",1,"table-counts"]],template:function(d,c){1&d&&(e.YNc(0,Qs,4,6,"span",0),e.ALo(1,"ngrxPush")),2&d&&e.Q6J("ngIf",e.lcZ(1,1,c.tableCountsInfo$))},dependencies:[S.O5,pe.ZU,S.JJ,I.fM],styles:[":[_nghost-%COMP%]{border:1px solid red}.table-counts[_ngcontent-%COMP%]{display:inline-block}"],changeDetection:0});var lt,Ce=a(590),de=a(1520);let hn=((lt=class{set cvcTableScrollerToIndex(d){void 0!==d&&this.scrollToIndex(d)}set cvcTableScrollerToOffset(d){void 0!==d&&this.scrollToIndex(d)}constructor(d){this.host=d,this.cvcTableScrollerOnScroll=new e.vpe,this.cvcTableScrollerOnFetch=new e.vpe,this.cvcTableScrollerTargetHeight=140,this.cvcTableScrollerFetchCount=50,this.onLoadThrottleTime=500,this.onScrollThrottleTime=250,this.onScrollDebounceTime=300}ngAfterViewInit(){if(!this.host||!this.host.cdkVirtualScrollViewport)throw new Error("cvcTableScroller directive could not obtain reference to host cdkVirtualScrollViewport.");this.viewport=this.host.cdkVirtualScrollViewport,this.scrolled$=this.viewport.elementScrolled(),this.rendered$=this.viewport.renderedRangeStream,this.rendered$.pipe((0,Ce.P)()).subscribe(()=>this.viewport.checkViewportSize()),this.scrolled$.pipe((0,Co.p)(this.onScrollThrottleTime,pi.z,{leading:!0,trailing:!0}),(0,Fn.b)(d=>this.cvcTableScrollerOnScroll.next("scroll")),(0,Ki.b)(this.onScrollDebounceTime),(0,Pe.t)(this)).subscribe(d=>{this.cvcTableScrollerOnScroll.next("stop")}),this.scrolled$.pipe((0,yt.U)(d=>this.viewport.measureScrollOffset("bottom")),(0,de.G)(),(0,Ge.h)(([d,c])=>c{this.cvcTableScrollerOnScroll.next("bottom");try{this.loadMore(this.cvcTableScrollerPageInfo)}catch(c){console.error(c)}})}loadMore(d){const c=this.cvcTableScrollerQueryRef;if(!d&&c)throw new Error("table-scroll directive requires PageInfo to use provided QueryRef.");if(d&&!c)throw new Error("table-scroll directive requires valid QueryRef when PageInfo provided.");if(d&&c){const[y,ie,ht]=[this.cvcTableScrollerFetchCount,d.hasNextPage,d.endCursor];if(!y||!ht)throw new Error("table-scroll PageInfo invalid.");if(!ie)return;this.cvcTableScrollerOnFetch.next({first:y,after:ht})}}scrollToIndex(d){const[c,y]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!y)throw new Error("table-scroll scrollToIndex() cannot find host viewport.");y.scrollToIndex(d)}scrollToOffset(d){const[c,y]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!y)throw new Error("table-scroll scrollToOffset() cannot find host viewport.");y.scrollToOffset(d)}}).\u0275fac=function(d){return new(d||lt)(e.Y36(Oo.N8))},lt.\u0275dir=e.lG2({type:lt,selectors:[["","cvcTableScroller",""]],inputs:{cvcTableScrollerTargetHeight:"cvcTableScrollerTargetHeight",cvcTableScrollerQueryRef:"cvcTableScrollerQueryRef",cvcTableScrollerPageInfo:"cvcTableScrollerPageInfo",cvcTableScrollerFetchCount:"cvcTableScrollerFetchCount",cvcTableScrollerToIndex:"cvcTableScrollerToIndex",cvcTableScrollerToOffset:"cvcTableScrollerToOffset"},outputs:{cvcTableScrollerOnScroll:"cvcTableScrollerOnScroll",cvcTableScrollerOnFetch:"cvcTableScrollerOnFetch"}}),lt);function Gn(f,d){1&f&&e._UZ(0,"span",8)}function qo(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"span",9),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const ie=e.MAs(3),ht=e.oxw();return ie.value="",e.KtG(ht.cvcModelChange.next(null))}),e.qZA()}}function gn(f,d){if(1&f&&(e.YNc(0,Gn,1,0,"span",6),e.YNc(1,qo,1,0,"span",7)),2&f){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function mo(f,d){if(1&f){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",2)(2,"input",3,4),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.cvcModelChange.next(ie))}),e.qZA()(),e.YNc(4,gn,2,2,"ng-template",null,5,e.W1O),e.BQk()}if(2&f){const c=e.MAs(5),y=e.oxw();e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",y.cvcPlaceholder)("ngModel",y.cvcModel)}}function pa(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-input-number-group",10)(1,"nz-input-number",11,4),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.cvcModelChange.next(""===ie?null:ie))}),e.qZA()()}if(2&f){const c=e.oxw();let y;e.xp6(1),e.Q6J("nzPlaceHolder",null!==(y=c.cvcPlaceholder)&&void 0!==y?y:"")("ngModel",c.cvcModel)("nzMin",1)("nzStep",1)}}hn=(0,Te.gn)([(0,Pe.c)()],hn);class wi{constructor(){this.cvcModel=null,this.cvcModelChange=new e.vpe,this.cvcInputType="default"}}wi.\u0275fac=function(d){return new(d||wi)},wi.\u0275cmp=e.Xpm({type:wi,selectors:[["cvc-table-filter-input"]],inputs:{cvcModel:"cvcModel",cvcInputType:"cvcInputType",cvcPlaceholder:"cvcPlaceholder"},outputs:{cvcModelChange:"cvcModelChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","ngModelChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"]],template:function(d,c){if(1&d&&(e.YNc(0,mo,6,3,"ng-container",0),e.YNc(1,pa,3,4,"ng-template",null,1,e.W1O)),2&d){const y=e.MAs(2);e.Q6J("ngIf","default"===c.cvcInputType)("ngIfElse",y)}},dependencies:[S.O5,t.Fj,t.JJ,t.On,un.w,_t.Ls,Ae.Zp,Ae.gB,Ae.ke,Ni._V,Ni.Rb],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700} nz-input-group{border-color:#d9d9d9!important}"]});var Pi,ai=a(3325);function _s(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"li",5),e.NdJ("click",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.cvcOptionChange.next({key:It.cvcColumnKey,value:ht.value}))}),e._UZ(1,"cvc-attribute-tag",6),e.qZA()}if(2&f){const c=d.$implicit,y=e.oxw();e.Q6J("nzSelected",(null==y.cvcOption?null:y.cvcOption.value)===c.value),e.xp6(1),e.Q6J("cvcFullWidth",!0)("cvcChecked",(null==y.cvcOption?null:y.cvcOption.value)===c.value)("cvcAttrValue",c.value)}}class ns{constructor(){this.cvcOptionChange=new e.vpe}}ns.\u0275fac=function(d){return new(d||ns)},ns.\u0275cmp=e.Xpm({type:ns,selectors:[["cvc-enum-filter-menu"]],inputs:{cvcColumnKey:"cvcColumnKey",cvcFilterOptions:"cvcFilterOptions",cvcOption:"cvcOption"},outputs:{cvcOptionChange:"cvcOptionChange"},decls:6,vars:2,consts:[["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[2,"padding","3px"],["nz-button","","nzType","default","nzBlock","","nzSize","small",3,"disabled","click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-menu-item","",3,"nzSelected","click"],["cvcContext","menu-item",3,"cvcFullWidth","cvcChecked","cvcAttrValue"]],template:function(d,c){1&d&&(e.TgZ(0,"ul",0),e.YNc(1,_s,2,4,"li",1),e.TgZ(2,"li",2)(3,"button",3),e.NdJ("click",function(){return c.cvcOptionChange.next({key:c.cvcColumnKey,value:null})}),e._UZ(4,"span",4),e._uU(5," Reset "),e.qZA()()()),2&d&&(e.xp6(1),e.Q6J("ngForOf",c.cvcFilterOptions),e.xp6(2),e.Q6J("disabled",null===(null==c.cvcOption?null:c.cvcOption.value)))},dependencies:[S.sg,Qe,$n.ix,un.w,pn.dQ,ai.wO,ai.r9,_t.Ls],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] ul li:hover{background-color:#e6f7ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected{background-color:#1890ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected:active{background-color:#096dd9}"],changeDetection:0});class gi{transform(d){return null!=d&&Array.isArray(d)}}gi.\u0275fac=function(d){return new(d||gi)},gi.\u0275pipe=e.Yjl({name:"isArray",type:gi,pure:!0});class os{transform(d,c){return c(d)?d:void 0}}function Hl(f,d){if(1&f&&e._UZ(0,"th",14),2&f){const c=d.ngIf;let y;e.Q6J("nzShowCheckbox",c.checkbox.th.showCheckbox||!1)("nzWidth",c.width)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function ys(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"th",15),e.NdJ("nzSortOrderChange",function(ie){const It=e.CHM(c).ngIf;return e.KtG(It.sort.changes.next({key:It.key,value:ie}))}),e.ALo(1,"ngrxPush"),e.TgZ(2,"span",16),e._uU(3),e.qZA()()}if(2&f){const c=d.ngIf;let y,ie;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",void 0!==c.sort)("nzSortFn",!0)("nzSortOrder",(null==(ie=e.lcZ(1,10,c.sort.changes))?null:ie.value)||null),e.xp6(2),e.Q6J("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function Ws(f,d){if(1&f&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function ei(f,d){if(1&f&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function Fr(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Hl,1,5,"th",11),e.ALo(2,"guardType"),e.YNc(3,ys,4,12,"th",12),e.ALo(4,"guardType"),e.YNc(5,Ws,2,7,"th",13),e.ALo(6,"guardType"),e.YNc(7,ei,2,7,"th",13),e.ALo(8,"guardType"),e.BQk()),2&f){const c=e.oxw().$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,4,c,y.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,7,c,y.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,10,c,y.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,13,c,y.colGuards.isTextTagCol))}}function is(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Fr,9,16,"ng-container",10),e.BQk()),2&f){const c=d.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function cr(f,d){if(1&f&&(e.TgZ(0,"th",22),e._uU(1," \xa0 "),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function _i(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-table-filter-input",25),e.NdJ("cvcModelChange",function(ie){const It=e.CHM(c).ngIf,Mn=e.oxw().ngIf;return e.KtG(It.changes.next(It.transform?{key:Mn.key,value:It.transform(ie)}:{key:Mn.key,value:ie}))}),e.qZA()}if(2&f){const c=e.oxw().ngIf;e.Q6J("cvcInputType",c.filter.inputType)("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function cc(f,d){if(1&f&&(e.TgZ(0,"th",23),e.YNc(1,_i,1,3,"cvc-table-filter-input",24),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.filter)}}function Qr(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"th",26,27),e.NdJ("nzSortOrderChange",function(ie){const It=e.CHM(c).ngIf;return e.KtG(It.sort.changes.next({key:It.key,value:ie}))}),e.ALo(2,"ngrxPush"),e.TgZ(3,"nz-filter-trigger",28,29),e.ALo(5,"ngrxPush"),e._UZ(6,"span",30),e.qZA(),e.TgZ(7,"nz-dropdown-menu",null,31)(9,"cvc-enum-filter-menu",32),e.NdJ("cvcOptionChange",function(ie){const It=e.CHM(c).ngIf,Mn=e.MAs(4);return It.filter.changes.next(ie),e.KtG(Mn.nzVisible=!1)}),e.ALo(10,"ngrxPush"),e.qZA()()()}if(2&f){const c=d.ngIf,y=e.MAs(8);let ie,ht,It;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(ie=c.align)&&void 0!==ie?ie:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",!0)("nzSortFn",!0)("nzSortOrder",(null==(ht=e.lcZ(2,15,c.sort.changes))?null:ht.value)||null)("nzShowFilter",void 0!==c.filter)("nzFilterFn",!0),e.xp6(3),e.Q6J("nzDropdownMenu",y)("nzActive",null!==(null==(It=e.lcZ(5,17,c.filter.changes))?null:It.value)),e.xp6(6),e.Q6J("cvcColumnKey",c.key)("cvcFilterOptions",c.filter.options)("cvcOption",e.lcZ(10,19,c.filter.changes))}}function Wc(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"th",33,27)(2,"nz-filter-trigger",28),e.ALo(3,"ngrxPush"),e._UZ(4,"span",34),e.qZA(),e.TgZ(5,"nz-dropdown-menu",null,35)(7,"div",36)(8,"div",37)(9,"cvc-table-filter-input",38),e.NdJ("cvcModelChange",function(ie){const It=e.CHM(c).ngIf;return e.KtG(It.filter.changes.next({key:It.key,value:ie}))}),e.qZA()()()()()}if(2&f){const c=d.ngIf,y=e.MAs(6);let ie,ht;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(ie=c.align)&&void 0!==ie?ie:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzFilterFn",!0),e.xp6(2),e.Q6J("nzDropdownMenu",y)("nzActive",null!==(null==(ht=e.lcZ(3,10,c.filter.changes))?null:ht.value)),e.xp6(7),e.Q6J("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function lr(f,d){if(1&f&&(e.ynx(0),e.YNc(1,cr,2,5,"th",18),e.ALo(2,"guardType"),e.YNc(3,cc,2,6,"th",19),e.ALo(4,"guardType"),e.YNc(5,Qr,11,21,"th",20),e.ALo(6,"guardType"),e.YNc(7,Wc,10,12,"th",21),e.ALo(8,"guardType"),e.BQk()),2&f){const c=e.oxw().$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,4,c,y.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,7,c,y.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,10,c,y.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,13,c,y.colGuards.isTextTagCol))}}function yr(f,d){if(1&f&&(e.ynx(0),e.YNc(1,lr,9,16,"ng-container",10),e.BQk()),2&f){const c=d.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function Nr(f,d){if(1&f&&(e.TgZ(0,"thead")(1,"tr",7),e.YNc(2,is,2,1,"ng-container",8),e.qZA(),e.TgZ(3,"tr",9),e.YNc(4,yr,2,1,"ng-container",8),e.qZA()()),2&f){const c=d.ngrxLet;e.xp6(2),e.Q6J("ngForOf",c),e.xp6(2),e.Q6J("ngForOf",c)}}function Cs(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"td",43),e.NdJ("nzCheckedChange",function(ie){e.CHM(c);const ht=e.oxw(3).$implicit,It=e.oxw(2);return e.KtG(It.onRowSelected$.next({id:ht.id,selected:ie}))}),e.qZA()}if(2&f){const c=d.ngIf,y=e.oxw(3).$implicit;let ie;e.Q6J("nzChecked",y.selected)("nzAlign",null!==(ie=c.align)&&void 0!==ie?ie:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function Lr(f,d){1&f&&e.GkF(0)}os.\u0275fac=function(d){return new(d||os)},os.\u0275pipe=e.Yjl({name:"guardType",type:os,pure:!0});const Zs=function(f,d,c){return{$implicit:f,config:d,emphasize:c}};function Cr(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Lr,1,0,"ng-container",49),e.ALo(2,"isArray"),e.ALo(3,"ngrxPush"),e.BQk()),2&f){const c=e.oxw().ngIf,y=e.oxw().ngIf,ie=e.MAs(3),ht=e.MAs(5),It=e.oxw(3).$implicit;let Mn;e.xp6(1),e.Q6J("ngTemplateOutlet",e.lcZ(2,2,It[c])?ie:ht)("ngTemplateOutletContext",e.kEZ(6,Zs,It[c],y,null==(Mn=e.lcZ(3,4,y.filter.changes))?null:Mn.value))}}function lc(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Cr,4,10,"ng-container",48),e.BQk()),2&f){const c=d.ngIf;e.oxw();const y=e.MAs(7),ie=e.oxw(3).$implicit;e.xp6(1),e.Q6J("ngIf",ie[c])("ngIfElse",y)}}const rs=function(f,d,c,y,ie){return{tagList:f,tag:d,showPopover:c,status:y,emphasize:ie}};function ss(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"cvc-entity-collection-tag",51),e.BQk()),2&f){const c=e.oxw(2),y=c.config,ie=c.$implicit,ht=c.emphasize;e.oxw();const It=e.MAs(5),Mn=e.oxw(5);e.xp6(1),e.Q6J("cvcCollectionTagConfig",e.qbA(3,rs,ie.slice(y.tag.maxTags,ie.length),y.tag,!Mn.isScrolling,!0===y.showStatus?ie.status:void 0,ht))("cvcTagTemplate",It)("cvcShowFullLabels",!0)}}function zs(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"cvc-entity-tag-list",50),e.YNc(2,ss,2,9,"ng-container",10),e.BQk()),2&f){const c=e.oxw(),y=c.config,ie=c.$implicit,ht=c.emphasize;e.oxw();const It=e.MAs(5),Mn=e.oxw(5);e.xp6(1),e.Q6J("cvcTagTemplate",It)("cvcTagListConfig",e.qbA(3,rs,ie.slice(0,y.tag.maxTags),y.tag,!Mn.isScrolling,!0===y.showStatus?ie.status:void 0,ht)),e.xp6(1),e.Q6J("ngIf",ie.slice(y.tag.maxTags,ie.length).length>0)}}function uc(f,d){if(1&f&&e.YNc(0,zs,3,9,"ng-container",48),2&f){const c=d.$implicit;e.oxw();const y=e.MAs(7);e.Q6J("ngIf",c.length>0)("ngIfElse",y)}}function ki(f,d){if(1&f&&e._UZ(0,"cvc-entity-tag",52),2&f){const c=d.$implicit,y=d.config,ie=d.emphasize,ht=e.oxw(6);let It;e.Q6J("cvcTruncateLabel",null==y.tag?null:y.tag.truncateLabel)("cvcLinkableEntity",c)("cvcEmphasize",ie)("cvcShowPopover",!ht.isScrolling)("cvcStatus",!0===y.showStatus?c.status:void 0)("cvcFullWidth",null!==(It=null==y.tag?null:y.tag.fullWidth)&&void 0!==It&&It)}}function as(f,d){if(1&f&&e._UZ(0,"cvc-empty-value",53),2&f){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"not-applicable")}}function zr(f,d){if(1&f&&(e.TgZ(0,"td",44),e.YNc(1,lc,2,2,"ng-container",10),e.YNc(2,uc,1,2,"ng-template",null,45,e.W1O),e.YNc(4,ki,1,6,"ng-template",null,46,e.W1O),e.YNc(6,as,1,1,"ng-template",null,47,e.W1O),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.context||c.key)}}function Ui(f,d){if(1&f&&(e._UZ(0,"cvc-attribute-tag",56),e.ALo(1,"evidenceEnumDisplay")),2&f){const c=e.oxw().ngIf,y=e.oxw(3).$implicit,ie=e.oxw(2);e.Q6J("cvcFullWidth",!0)("cvcAttrValue",y[c.key])("cvcTooltip",e.lcZ(1,3,!ie.isScrolling&&y[c.key]))}}function er(f,d){if(1&f&&e._UZ(0,"cvc-empty-value",57),2&f){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function ci(f,d){if(1&f&&(e.TgZ(0,"td",44),e.YNc(1,Ui,2,5,"cvc-attribute-tag",54),e.YNc(2,er,1,1,"ng-template",null,55,e.W1O),e.qZA()),2&f){const c=d.ngIf,y=e.MAs(3),ie=e.oxw(3).$implicit;let ht;e.Q6J("nzAlign",null!==(ht=c.align)&&void 0!==ht?ht:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",ie[c.key])("ngIfElse",y)}}function kr(f,d){if(1&f&&(e.TgZ(0,"nz-tag",60),e._UZ(1,"span",61),e.qZA()),2&f){const c=e.oxw().ngIf,y=e.oxw(3).$implicit;e.Q6J("nzTooltipTitle",y[c.key])}}function dc(f,d){if(1&f&&e._UZ(0,"cvc-empty-value",53),2&f){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function ha(f,d){if(1&f&&(e.TgZ(0,"td",44),e.YNc(1,kr,2,1,"nz-tag",58),e.YNc(2,dc,1,1,"ng-template",null,59,e.W1O),e.qZA()),2&f){const c=d.ngIf,y=e.MAs(3),ie=e.oxw(3).$implicit;let ht;e.Q6J("nzAlign",null!==(ht=c.align)&&void 0!==ht?ht:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",ie[c.key])("ngIfElse",y)}}function Pa(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Cs,1,4,"td",41),e.ALo(2,"guardType"),e.YNc(3,zr,8,4,"td",42),e.ALo(4,"guardType"),e.YNc(5,ci,4,5,"td",42),e.ALo(6,"guardType"),e.YNc(7,ha,4,5,"td",42),e.ALo(8,"guardType"),e.BQk()),2&f){const c=e.oxw().$implicit,y=e.oxw(3);e.xp6(1),e.Q6J("ngIf",e.xi3(2,4,c,y.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,7,c,y.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,10,c,y.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,13,c,y.colGuards.isTextTagCol))}}function fa(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Pa,9,16,"ng-container",10),e.BQk()),2&f){const c=d.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function ne(f,d){if(1&f&&(e.TgZ(0,"tr",40),e.YNc(1,fa,2,1,"ng-container",8),e.qZA()),2&f){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngForOf",c)}}function Ve(f,d){1&f&&(e.TgZ(0,"tbody"),e.YNc(1,ne,2,1,"ng-template",39),e.qZA())}function le(f,d){1&f&&e._UZ(0,"span",69)}function Ke(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"span",70),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const ie=e.MAs(3),ht=e.oxw().filter;return ie.value="",e.KtG(ht.changes.next({key:ht.key,value:null}))}),e.qZA()}}function Pt(f,d){if(1&f&&(e.YNc(0,le,1,0,"span",67),e.YNc(1,Ke,1,0,"span",68)),2&f){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function ln(f,d){if(1&f){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",63)(2,"input",64,65),e.NdJ("nzFilterChange",function(ie){e.CHM(c);const ht=e.oxw().filter;return e.KtG(ht.changes.next({key:ht.key,value:ie}))}),e.qZA()(),e.YNc(4,Pt,2,2,"ng-template",null,66,e.W1O),e.BQk()}if(2&f){const c=e.MAs(5),y=e.oxw().filter;e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",y.placeholder)("ngModel",y.defaultValue)}}function yn(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-input-number-group",71)(1,"nz-input-number",72,65),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw().filter;return e.KtG(ht.changes.next({key:ht.key,value:ie}))}),e.qZA()()}if(2&f){const c=e.oxw().filter;e.xp6(1),e.Q6J("nzPlaceHolder",c.placeholder)("ngModel",c.defaultValue)("nzMin",1)("nzStep",1)}}function Qn(f,d){if(1&f&&(e.YNc(0,ln,6,3,"ng-container",48),e.YNc(1,yn,3,4,"ng-template",null,62,e.W1O)),2&f){const c=d.filter,y=e.MAs(2);e.Q6J("ngIf",void 0===c.inputType||"default"===c.inputType)("ngIfElse",y)}}const Ao=function(){return[6,6]};function Fo(f,d){1&f&&(e.TgZ(0,"nz-row",73)(1,"nz-col")(2,"span"),e._uU(3,"Use checkboxes to select or deselect EIDs"),e.qZA()()()),2&f&&e.Q6J("nzGutter",e.DdM(1,Ao))}function Xo(f,d){1&f&&(e.TgZ(0,"nz-tag",84),e._UZ(1,"i",85),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}const go=function(f){return{$implicit:f}};function mi(f,d){if(1&f&&(e.TgZ(0,"nz-tag",88),e._UZ(1,"span",89),e.TgZ(2,"span",90),e._uU(3),e.qZA()()),2&f){e.oxw();const c=e.MAs(4),y=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,go,y.query)),e.xp6(1),e.hij(" Query Error",y.query.length>1?"s":""," ")}}function Ho(f,d){if(1&f&&(e.TgZ(0,"nz-tag",88)(1,"span",90)(2,"span",91)(3,"strong"),e._uU(4),e.qZA()()()()),2&f){e.oxw();const c=e.MAs(4),y=e.oxw().ngrxLet;e.xp6(1),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,go,y.network)),e.xp6(3),e.hij(" Network Error",y.query.length>1?"s":""," ")}}function yi(f,d){if(1&f&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&f){const c=d.$implicit;e.xp6(1),e.hij(" ",c.message," ")}}function vi(f,d){1&f&&e.YNc(0,yi,2,1,"div",8),2&f&&e.Q6J("ngForOf",d.$implicit)}function ji(f,d){if(1&f&&(e.ynx(0),e.YNc(1,mi,4,5,"nz-tag",86),e.YNc(2,Ho,5,5,"nz-tag",86),e.YNc(3,vi,1,1,"ng-template",null,87,e.W1O),e.BQk()),2&f){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",c.query),e.xp6(1),e.Q6J("ngIf",c.network)}}function Ri(f,d){if(1&f&&(e.ynx(0),e.YNc(1,ji,5,2,"ng-container",10),e.BQk()),2&f){const c=d.ngrxLet;e.xp6(1),e.Q6J("ngIf",c)}}function Tr(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",92)(1,"nz-checkbox-group",93),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.onPreferenceChange$.next(ie))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&f){const c=e.oxw(2);e.xp6(1),e.Q6J("ngModel",e.lcZ(2,1,c.setPreference$))}}function tr(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-row",73)(1,"nz-col",74),e.YNc(2,Xo,4,0,"nz-tag",75),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e._UZ(5,"cvc-no-more-rows",76),e.ALo(6,"ngrxPush"),e.qZA(),e.TgZ(7,"nz-col",74),e.YNc(8,Ri,2,1,"ng-container",3),e.qZA(),e.TgZ(9,"nz-col",74),e._UZ(10,"cvc-table-counts",77),e.qZA(),e.TgZ(11,"nz-col",78)(12,"nz-button-group")(13,"button",79),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw();return e.KtG(ie.onResetFilter$.next())}),e._UZ(14,"span",80),e.qZA(),e.TgZ(15,"button",81),e._UZ(16,"span",82),e.qZA()(),e.YNc(17,Tr,3,3,"ng-template",null,83,e.W1O),e.qZA()()}if(2&f){const c=e.MAs(18),y=e.oxw();e.Q6J("nzGutter",8),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,y.loading$)&&e.lcZ(4,9,y.isFetchMore$)),e.xp6(3),e.Q6J("cvcShowTag",e.lcZ(6,11,y.noMoreRows$)),e.xp6(3),e.Q6J("ngrxLet",y.queryError$),e.xp6(2),e.Q6J("cvcTableCountsConnection",y.connection$),e.xp6(5),e.Q6J("nzPopoverContent",c)("nzPopoverTrigger","click")}}const ur=function(){return[]},Mr=function(){return{x:"800px",y:"200px"}};let pc=((Pi=class{constructor(d,c,y){this.queryGQL=d,this.apollo=c,this.cdr=y,this.cvcSelectedIdsChange=new e.vpe,this.isScrolling=!1,this.colGuards=vr,this.onFetchMore$=new Je.x,this.onPreferenceChange$=new it.X([]),this.onResetFilter$=new Je.x,this.onRowSelected$=new Je.x,this.onScroll$=new it.X("stop"),this.onSetSelectedRow$=new it.X(new Set),this.queryError$=new Je.x,this.queryRequest$=new Je.x,this.queryResult$=new Wo.t(1),this.isFetchMore$=new it.X(!1),this.noMoreRows$=new it.X(!1),this.scrollToIndex$=new Je.x,this.tableConfig=new Be;const ie=(0,ro.a)(this.tableConfig.getFilterStreams()),ht=(0,ro.a)(this.tableConfig.getSortStreams()).pipe((0,Ge.h)(It=>It.filter(Mn=>null!==Mn.value).length<=1));this.refetch$=(0,ro.a)([ht,ie]).pipe((0,yt.U)(([It,Mn])=>({query:"refetch",sort:It,filter:Mn}))),this.fetchMore$=this.onFetchMore$.pipe((0,yt.U)(It=>({query:"fetchMore",fetchMore:{...It}}))),(0,gr.T)(this.refetch$,this.fetchMore$).pipe((0,Ki.b)(50),(0,Pe.t)(this)).subscribe(It=>{const Mn=this.getQueryVars(It);this.queryRef?(this.queryError$.next({}),"refetch"===It.query?(this.isFetchMore$.next(!1),this.queryRef.refetch(Mn).then(Rn=>{(Rn.error||Rn.errors)&&this.queryError$.next(this.getRequestErrors(Rn))}).then(()=>{this.scrollToIndex$.next(0)})):(this.isFetchMore$.next(!0),this.queryRef.fetchMore({variables:Mn}).then(Rn=>{(Rn.error||Rn.errors)&&this.queryError$.next(this.getRequestErrors(Rn))}))):(this.isFetchMore$.next(!1),this.queryError$.next({}),this.queryRef=this.queryGQL.watch(Mn),this.queryRef.valueChanges.pipe((0,Pe.t)(this)).subscribe(Rn=>{this.queryResult$.next(Rn),(Rn.error||Rn.errors)&&this.queryError$.next(this.getRequestErrors(Rn))}))}),this.loading$=this.queryResult$.pipe((0,Ut.j)("loading"),(0,Po.x)()),this.connection$=this.queryResult$.pipe((0,Ut.j)("data","evidenceItems"),(0,Ge.h)(Wn.ep)),this.pageInfo$=this.connection$.pipe((0,Ut.j)("pageInfo"),(0,Ge.h)(Wn.ep)),this.row$=(0,ro.a)([this.connection$.pipe((0,Ut.j)("edges"),(0,Ge.h)(Wn.ep),(0,yt.U)(It=>It.map(Mn=>Mn.node))),this.onSetSelectedRow$]).pipe((0,yt.U)(([It,Mn])=>It.map(Rn=>{if(Rn)return{...Rn,evidenceItem:{__typename:"EvidenceItem",id:Rn.id,name:Rn.name,link:Rn.link,status:Rn.status},selected:Mn.has(Rn.id)}}))),this.col$=new it.X(this.tableConfig.get()),this.setPreference$=this.col$.pipe((0,yt.U)(It=>this.getColPrefsFromTableConfig(It))),this.onPreferenceChange$.pipe((0,et.M)(this.col$),(0,yt.U)(([It,Mn])=>this.getTableConfigFromColPrefs(It,Mn)),(0,Pe.t)(this)).subscribe(It=>{this.col$.next(It)}),this.onSetTableFilter$=new it.X([]),this.onSetTableFilter$.pipe((0,Pe.t)(this)).subscribe(It=>{const Mn=this.col$.getValue();It.forEach(Rn=>{const jo=Mn.find(Bi=>Bi.key===Rn.key);if(void 0!==jo.filter.inputType){const Bi=jo.filter.options[0];if(null===Rn.value)return jo.filter.options=[{...Bi,value:null}],void jo.filter.changes.next(Rn);if(Array.isArray(Rn.value)&&0===Rn.value.length)return jo.filter.options=[{...Bi,value:null}],void jo.filter.changes.next({...Rn,value:null});let ts;Array.isArray(Rn.value)?Rn.value.length>0&&(ts=Rn.value[0]):ts=Rn.value;const Eu=jo.filter.typename;if(!Eu||!ts)return void console.error(`evidence-manager requires column config '${jo.key}' provide a typename for cvcTablePrefs Input to set its filter`);const Vl=this.getEntityName(Eu,ts);if(!Vl)return;jo.filter.options=[{...Bi,value:Vl}],jo.filter.changes.next({...Rn,value:Vl})}else js(jo)&&jo.filter.changes.next(Rn)})}),this.onSetTablePref$=new it.X([]),this.onSetTablePref$.pipe((0,et.M)(this.setPreference$),(0,yt.U)(([It,Mn])=>{const Rn=[];return It.forEach(jo=>{let Bi=Mn.find(ts=>ts.value===jo.value);Bi?Rn.push({...Bi,...jo}):console.warn(`evidence-manager onSetTablePref$ received updated preferences for column '${jo.value}', but a column with that key could not be found.`)}),Rn}),(0,Pe.t)(this)).subscribe(It=>{this.onPreferenceChange$.next(It)}),this.onRowSelected$.pipe((0,et.M)(this.onSetSelectedRow$),(0,Pe.t)(this)).subscribe(([It,Mn])=>{It.selected?Mn.add(It.id):Mn.delete(It.id),this.onSetSelectedRow$.next(Mn),this.cvcSelectedIdsChange.next(Array.from(Mn))}),this.onScroll$.pipe((0,yt.U)(It=>"stop"!==It),(0,Po.x)(),(0,Pe.t)(this)).subscribe(It=>{this.isScrolling=It,this.cdr.detectChanges()}),this.onScroll$.pipe((0,Ge.h)(It=>"bottom"===It),(0,et.M)(this.pageInfo$),(0,yt.U)(([It,Mn])=>Mn),(0,Pe.t)(this)).subscribe(It=>{It.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}ngAfterViewInit(){this.onResetFilter$.pipe((0,et.M)((0,po.of)(this.tableConfig.get())),(0,Pe.t)(this)).subscribe(([d,c])=>{const y=[];c.forEach(ie=>{if(Ar(ie)&&ie.sort.changes&&ie.sort.changes.next({key:ie.key,value:ie.sort.default??null}),js(ie)){const ht=ie.filter.options.find(It=>1==It.byDefault)?.value;ie.filter.changes&&ie.filter.changes.next({key:ie.key,value:ht||null})}y.push(ie)}),this.col$.next(y)})}getQueryVars(d){const c=this.getQueryFilterParams(d);return{...this.getQuerySortParams(d),...c,...d.fetchMore}}getQuerySortParams(d){if(!d.sort)return;const y=d.sort.find(ht=>null!==ht.value);return y?{sortBy:{column:this.getSortColumnFromColKey(y.key),direction:"ascend"===y.value?bn.SrV.Asc:bn.SrV.Desc||void 0}}:void 0}getQueryFilterParams(d){let c={};return d.filter&&d.filter.forEach(y=>{c[Gs[y.key]||y.key]=null===y.value||""===y.value?void 0:y.value}),c}getRequestErrors(d){return{query:d.errors,network:d.error}}getTableConfigFromColPrefs(d,c){return c.forEach(y=>{if(_r.find(ht=>ht===y.key))return;const ie=d.find(ht=>ht.value===y.key);ie&&(y.hidden=!ie?.checked)}),[...c]}getColPrefsFromTableConfig(d){let c=[];return d.forEach(y=>{_r.find(ie=>ie===y.key)||c.push({label:y.tooltip||y.label,value:y.key,checked:!y.hidden})}),c}getSortColumnFromColKey(d){return Yi[d]}getEntityName(d,c){const y={id:`${d}:${c}`,fragment:qi.Ps` - fragment Linkable${d}Entity on ${d} { - id - name - link - }`},ie=this.apollo.client.readFragment(y);if(ie)return ie.name;console.error(`evidence-manager onSetTableFilter$ could not find cached entity ${d}:${c} to populate input filter`)}trackByIndex(d,c){return c?.id}ngOnChanges(d){if(d.cvcTableSettings){const c=d.cvcTableSettings.currentValue;void 0!==c&&this.onSetTableFilter$.next(c.filters)}if(d.cvcSelectedIds){const c=d.cvcSelectedIds.currentValue,y=new Set;void 0!==c&&c.forEach(ie=>y.add(ie)),this.onSetSelectedRow$.next(y)}}}).\u0275fac=function(d){return new(d||Pi)(e.Y36(bn.EH_),e.Y36(si._M),e.Y36(e.sBO))},Pi.\u0275cmp=e.Xpm({type:Pi,selectors:[["cvc-evidence-manager"]],inputs:{cvcTableSettings:"cvcTableSettings",cvcSelectedIds:"cvcSelectedIds"},outputs:{cvcSelectedIdsChange:"cvcSelectedIdsChange"},features:[e.TTD],decls:16,vars:27,consts:[["nzSize","small",3,"nzTitle","nzExtra"],["cvcTableScroller","",3,"nzData","cvcTableScrollerQueryRef","cvcTableScrollerPageInfo","cvcTableScrollerToIndex","nzScroll","nzVirtualForTrackBy","nzVirtualItemSize","nzSize","nzFrontPagination","nzShowPagination","nzLoading","cvcTableScrollerOnScroll","cvcTableScrollerOnFetch"],["virtualTable",""],[4,"ngrxLet"],["columnFilterInput",""],["cardTitle",""],["extraTemplate",""],[1,"col-header-row"],[4,"ngFor","ngForOf"],[1,"filter-row"],[4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange",4,"ngIf"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle",4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange"],["nz-tooltip","",1,"col-header-label",3,"nzTooltipTitle"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange",4,"ngIf"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange"],["enumTableFilter",""],[3,"nzDropdownMenu","nzActive"],["enumTagFilterTrigger",""],["nz-icon","","nzType","filter","nzTheme","fill"],["enumFilterMenu","nzDropdownMenu"],[3,"cvcColumnKey","cvcFilterOptions","cvcOption","cvcOptionChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn"],["nz-icon","","nzType","search"],["textTagFilterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],[1,"custom-input-dropdown"],[3,"cvcPlaceholder","cvcModel","cvcModelChange"],["nz-virtual-scroll",""],[1,"data-row"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange",4,"ngIf"],[3,"nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange"],[3,"nzAlign","nzLeft","nzRight"],["entityTagList",""],["entityTag",""],["emptyEntityTagCell",""],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"cvcTagTemplate","cvcTagListConfig"],[3,"cvcCollectionTagConfig","cvcTagTemplate","cvcShowFullLabels"],[3,"cvcTruncateLabel","cvcLinkableEntity","cvcEmphasize","cvcShowPopover","cvcStatus","cvcFullWidth"],[3,"cvcEmptyCategory"],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip",4,"ngIf","ngIfElse"],["emptyEnumTagCell",""],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip"],["cvcDisplayMode","small",3,"cvcEmptyCategory"],["nz-tooltip","","style","width: 100%; cursor: help; color: #595959",3,"nzTooltipTitle",4,"ngIf","ngIfElse"],["emptyTextTagCell",""],["nz-tooltip","",2,"width","100%","cursor","help","color","#595959",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left","nzTheme","outline"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","nzFilterChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"],[3,"nzGutter"],["nzFlex","auto"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],[3,"cvcTableCountsConnection"],["nzFlex","35px"],["nz-button","","type","button","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-button","","nz-popover","","nzPopoverTitle","Visible Columns","type","button","nzType","default","nzSize","small",3,"nzPopoverContent","nzPopoverTrigger"],["nz-icon","","nzType","setting","nzTheme","outline"],["prefsPopover",""],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""],["nzColor","error","style","margin-left: 12px",4,"ngIf"],["queryError",""],["nzColor","error",2,"margin-left","12px"],["nz-icon","","nzType","question-circle","nzTheme","outline"],["nz-tooltip","",2,"cursor","help",3,"nzTooltipTitle","nzTooltipTitleContext"],["nz-typography",""],[1,"prefs-popover"],[3,"ngModel","ngModelChange"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-card",0)(1,"nz-table",1,2),e.NdJ("cvcTableScrollerOnScroll",function(ie){return c.onScroll$.next(ie)})("cvcTableScrollerOnFetch",function(ie){return c.onFetchMore$.next(ie)}),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.YNc(8,Nr,5,2,"thead",3),e.YNc(9,Ve,2,0,"tbody",3),e.qZA()(),e.YNc(10,Qn,3,2,"ng-template",null,4,e.W1O),e.YNc(12,Fo,4,2,"ng-template",null,5,e.W1O),e.YNc(14,tr,19,13,"ng-template",null,6,e.W1O)),2&d){const y=e.MAs(13),ie=e.MAs(15);e.Q6J("nzTitle",y)("nzExtra",ie),e.xp6(1),e.Q6J("nzData",e.lcZ(3,15,c.row$)||e.DdM(25,ur))("cvcTableScrollerQueryRef",c.queryRef)("cvcTableScrollerPageInfo",e.lcZ(4,17,c.pageInfo$))("cvcTableScrollerToIndex",e.lcZ(5,19,c.scrollToIndex$))("nzScroll",e.DdM(26,Mr))("nzVirtualForTrackBy",c.trackByIndex)("nzVirtualItemSize",28)("nzSize","small")("nzFrontPagination",!1)("nzShowPagination",!1)("nzLoading",e.lcZ(6,21,c.loading$)&&!e.lcZ(7,23,c.isFetchMore$)),e.xp6(7),e.Q6J("ngrxLet",c.col$),e.xp6(1),e.Q6J("ngrxLet",c.col$)}},dependencies:[S.sg,S.O5,S.tP,Qe,kt.P,fi,wn,Tt.J,lo.H,Ee,t.Fj,t.JJ,t.On,I.eJ,$n.ix,$n.fY,un.w,pn.dQ,Qo.bd,Rt.ub,Si.RR,w.t3,w.SK,_t.Ls,Ae.Zp,Ae.gB,Ae.ke,Ni._V,Ni.Rb,co.lU,Oo.N8,Oo.qD,Oo.Uo,Oo._C,Oo.h7,Oo.Om,Oo.p0,Oo.$Z,Oo.zu,Oo.qn,Oo.Ql,Oo.UX,Oo.g6,Yt.j,At.SY,pe.ZU,hn,wi,ns,gi,j.Do,os,I.fM],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-left:6px}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type cvc-entity-tag[_ngcontent-%COMP%]{margin-left:6px}.ant-table-filter-dropdown[_ngcontent-%COMP%]{padding:8px}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label{display:block}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label span{display:inline-block}"],changeDetection:0}),Pi);pc=(0,Te.gn)([(0,Pe.c)()],pc);const Ts=["optionTemplates"];function wu(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-col",9)(1,"cvc-evidence-manager",10),e.NdJ("cvcSelectedIdsChange",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onPopulate$.next(ie))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.qZA()()}if(2&f){const c=e.oxw();e.xp6(1),e.Q6J("cvcSelectedIds",e.lcZ(2,2,c.onEid$))("cvcTableSettings",e.lcZ(3,4,c.tableSettingsChange$))}}function Ms(f,d){if(1&f&&e._UZ(0,"cvc-entity-tag",13),2&f){const c=e.oxw().$implicit,y=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",y)}}function Zc(f,d){1&f&&(e.ynx(0),e.YNc(1,Ms,1,3,"ng-template",null,12,e.W1O),e.BQk())}function bs(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Zc,3,0,"ng-container",11),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Es(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",14)(1,"cvc-entity-tag",15),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","EvidenceItem:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const Ss=function(){return[6,6]},Jc=function(f,d){return{show:f,hide:d}},cs=jt($t(),To());class nr extends cs{constructor(d,c,y,ie){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.apollo=ie,this.synchronizedFields$=[],this.synchronizedRequired$=[],this.defaultOptions={props:{label:"Evidence Items",placeholder:"Select Evidence Items",isMultiSelect:!0,description:"Select Evidence by ID, or use the manager to select with filtering",entityName:{singular:"Evidence Item",plural:"Evidence Items"},minSearchStrLength:1}},this.synchronizedFieldToColMap=new Map([["molecularProfileId","molecularProfile"],["diseaseId","disease"],["therapyIds","therapies"]]),this.requiredFieldToColMap=new Map([["disease","requiresDisease$"],["therapies","requiresTherapy$"]]),this.onEid$=new Wo.t,this.onShowMgrClick$=new Je.x,this.showMgr$=this.onShowMgrClick$.pipe((0,ri.R)((ht,It)=>!ht,!1))}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.onEid$.pipe((0,Pe.t)(this)).subscribe(),this.onEid$.next(this.formControl.value),this.onValueChange$.pipe((0,et.M)(this.onEid$),(0,Pe.t)(this)).subscribe(([d,c])=>{Array.isArray(d)&&this.onEid$.next(d)})}configureStateConnections(){this.state&&(this.synchronizedFieldToColMap.forEach((d,c)=>{const y=this.state.fields[`${c}$`];y&&this.synchronizedFields$.push(y.pipe((0,yt.U)(ie=>({key:c,value:ie??null}))))}),this.requiredFieldToColMap.forEach((d,c)=>{const y=this.state.requires[d];y&&this.synchronizedRequired$.push(y.pipe((0,yt.U)(ie=>({key:c,required:ie}))))}),this.onFieldsChange$=(0,ro.a)(this.synchronizedFields$).pipe((0,yt.U)(d=>{const c=[];return d.forEach(y=>{const ie=this.synchronizedFieldToColMap.get(y.key);ie&&c.push({key:ie,value:y.value})}),c})),this.onRequiredChange$=(0,ro.a)(this.synchronizedRequired$).pipe((0,yt.U)(d=>{const c=[];return d.forEach(y=>{c.push({value:y.key,checked:y.required})}),c})),this.tableSettingsChange$=(0,ro.a)([this.onFieldsChange$,this.onRequiredChange$]).pipe((0,yt.U)(([d,c])=>({filters:d,preferences:c})),(0,Ki.b)(100),(0,Fi.d)(1)))}getTypeaheadVarsFn(d,c){return{eid:+d.replace(/EID/i,"")}}getTypeaheadResultsFn(d){return d.data.evidenceItems.nodes}getTagQueryVarsFn(d){return{eid:d}}getTagQueryResultsFn(d){return d.data.evidenceItem}getSelectedItemOptionFn(d){return{value:d.id,label:`EID${d.id}`}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||`EID${y.id}`,value:y.id}))}}nr.\u0275fac=function(d){return new(d||nr)(e.Y36(bn.olA),e.Y36(bn.EFm),e.Y36(e.sBO),e.Y36(si._M))},nr.\u0275cmp=e.Xpm({type:nr,selectors:[["cvc-evidence-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Ts,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:18,vars:36,consts:[[3,"nzGutter"],["nzFlex","auto"],[3,"cvcSelectMode","cvcMinSearchStrLength","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcSelectOpen","cvcOnSearch","cvcOnOpenChange","cvcSelectComponent","cvcOnModelChange"],["nzFlex","50px"],["type","button","nz-button","","nzBlock","",1,"manager-button",3,"click"],["nz-icon","",3,"ngClass","nzType"],["nzSpan","24","class","manager-drawer",4,"ngIf"],[4,"ngrxLet"],["selectedTemplate",""],["nzSpan","24",1,"manager-drawer"],[3,"cvcSelectedIds","cvcTableSettings","cvcSelectedIdsChange"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"cvc-entity-select",2),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcSelectComponent",function(ie){return c.selectComponent=ie})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.qZA()(),e.TgZ(7,"nz-col",3)(8,"button",4),e.NdJ("click",function(){return c.onShowMgrClick$.next()}),e._UZ(9,"span",5),e.ALo(10,"ngrxPush"),e.ALo(11,"ngrxPush"),e._uU(12," Manager "),e.qZA()(),e.YNc(13,wu,4,6,"nz-col",6),e.ALo(14,"ngrxPush"),e.qZA(),e.YNc(15,bs,3,3,"ng-container",7),e.YNc(16,Es,2,3,"ng-template",null,8,e.W1O)),2&d){const y=e.MAs(17);e.Q6J("nzGutter",e.DdM(32,Ss)),e.xp6(2),e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcMinSearchStrLength",c.props.minSearchStrLength)("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",c.props.placeholder)("cvcResults",e.lcZ(3,18,c.result$))("cvcOptions",e.lcZ(4,20,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled)("cvcLoading",e.lcZ(5,22,c.isLoading$))("cvcSelectOpen",e.lcZ(6,24,c.selectOpen$)),e.xp6(7),e.Q6J("ngClass",e.WLB(33,Jc,e.lcZ(10,26,c.showMgr$),!e.lcZ(11,28,c.showMgr$)))("nzType","caret-right"),e.xp6(4),e.Q6J("ngIf",e.lcZ(14,30,c.showMgr$)),e.xp6(2),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.mk,S.sg,S.O5,Ue,Tt.J,I.eJ,$n.ix,un.w,pn.dQ,w.t3,w.SK,_t.Ls,pc,I.fM],styles:[".manager-button[_ngcontent-%COMP%] span.hide[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .2s linear}.manager-button[_ngcontent-%COMP%] span.show[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .2s linear}"],changeDetection:0});var ma=a(1371);class Rr{}Rr.\u0275fac=function(d){return new(d||Rr)},Rr.\u0275mod=e.oAB({type:Rr}),Rr.\u0275inj=e.cJS({imports:[S.ez,_t.PV,Yt.X,At.cg,pe.ZJ,xt.s,Zt.x]});class dr{}dr.\u0275fac=function(d){return new(d||dr)},dr.\u0275mod=e.oAB({type:dr}),dr.\u0275inj=e.cJS({imports:[S.ez,Yt.X,pe.ZJ,co.$6,_t.PV,At.cg,xt.s,Rr]});const or={types:[{name:"evidence-select",wrappers:["form-field"],component:nr},{name:"evidence-multi-select",wrappers:["form-field"],component:nr,defaultOptions:{props:{label:"Evidence Items",isMultiSelect:!0}}}]};class ir{}ir.\u0275fac=function(d){return new(d||ir)},ir.\u0275mod=e.oAB({type:ir}),ir.\u0275inj=e.cJS({imports:[S.ez,Ye,ma.M,dr,jn,Rr,Zt.x,Io.y,xt.s,Vo,g.X0.forChild(or),t.u5,I._N,$n.sL,Qo.vh,Rt.Wr,Si.b1,s.U5,w.Jb,_t.PV,Ae.o7,Ni.Zf,co.$6,Oo.HQ,Yt.X,At.cg,pe.ZJ,I.pP]});const Ia=["optionTemplates"];function xs(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",9),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c.geneAliases.join(", "))("innerHtml",e.xi3(3,2,c.geneAliases.join(", "),y),e.oJD)}}function Kc(f,d){1&f&&e._uU(0,"--")}function ls(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",5),e.TgZ(1,"span",6),e.YNc(2,xs,4,5,"ng-container",7),e.YNc(3,Kc,1,0,"ng-template",null,8,e.W1O),e.qZA()),2&f){const c=e.MAs(4),y=e.oxw().$implicit,ie=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",y.__typename+":"+y.id)("cvcEmphasize",ie),e.xp6(2),e.Q6J("ngIf",y.geneAliases.length>0)("ngIfElse",c)}}function Pu(f,d){1&f&&(e.ynx(0),e.YNc(1,ls,5,5,"ng-template",null,4,e.W1O),e.BQk())}function Aa(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Pu,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Iu(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",10)(1,"cvc-entity-tag",11),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Gene:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const Ds=jt($t(),To());class rr extends Ds{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.defaultOptions={props:{label:"Gene",placeholder:"Search Genes",isMultiSelect:!1,entityName:{singular:"Gene",plural:"Genes"},description:"Entrez Gene Symbol"}}}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent})}getTypeaheadVarsFn(d){return{entrezSymbol:d}}getTypeaheadResultsFn(d){return d.data.geneTypeahead}getTagQueryVarsFn(d){return{geneId:d}}getTagQueryResultsFn(d){return d.data.gene}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}rr.\u0275fac=function(d){return new(d||rr)(e.Y36(bn.czh),e.Y36(bn.HwR),e.Y36(e.sBO))},rr.\u0275cmp=e.Xpm({type:rr,selectors:[["cvc-gene-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Ia,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:7,vars:17,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcPlaceholder","cvcEntityName","cvcResults","cvcOptions","cvcShowError","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcSelectComponent","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf","ngIfElse"],["noAliases",""],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcSelectComponent",function(ie){return c.selectComponent=ie})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.qZA(),e.YNc(4,Aa,3,3,"ng-container",1),e.YNc(5,Iu,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(6);e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcPlaceholder",c.props.placeholder)("cvcEntityName",c.props.entityName)("cvcResults",e.lcZ(1,11,c.result$))("cvcOptions",e.lcZ(2,13,c.selectOption$))("cvcShowError",c.showError)("cvcLoading",e.lcZ(3,15,c.isLoading$)),e.xp6(4),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,I.eJ,At.SY,pe.ZU,Ue,Tt.J,I.fM,P.A],changeDetection:0});const Os={types:[{name:"gene-select",wrappers:["form-field"],component:rr},{name:"gene-multi-select",wrappers:["form-field"],component:rr,defaultOptions:{props:{label:"Genes",isMultiSelect:!0}}}]};class Fa{}Fa.\u0275fac=function(d){return new(d||Fa)},Fa.\u0275mod=e.oAB({type:Fa}),Fa.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(Os),Sn.L,$n.sL,Ze.LV,_t.PV,Ae.o7,At.cg,s.U5,rt.ic,pe.ZJ,Yt.X,ct,jn,xt.s,Zt.x]});const ga=["optionTemplates"];function br(f,d){if(1&f&&e._UZ(0,"cvc-attribute-tag",4),2&f){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function ws(f,d){1&f&&(e.ynx(0),e.YNc(1,br,1,1,"ng-template",null,3,e.W1O),e.BQk())}function _l(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onTagClose$.next(ie))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const Na={COMBINATION:"Therapies specified were used as part of a combination therapy approach",SEQUENTIAL:"Therapies specified were used at separate timepoints in the same treatment plan",SUBSTITUTES:"Therapies specified are often considered to be of the same family, or behave similarly in a treatment setting"},y1=jt($t(),pt());class Wr extends y1{constructor(d){super(),this.cdr=d,this.defaultOptions={props:{label:"Therapy Interaction",placeholder:"Select Therapy Interaction",requireMultipleTherapies:!0,requireMultipleTherapiesPromptFn:()=>"A single associated therapy does not have an Interaction type",tooltip:"Characterizes the interaction of a multi-therapy treatment",extraType:"prompt"}},this.interactionEnum$=new it.X([]),this.placeholder$=new it.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.interactionEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){if(!this.state)return console.error(`${this.field.id} requires a form state to populate its options, none was found.`),void this.placeholder$.next("ERROR: Form state not found");this.placeholder$.next(this.props.placeholder),this.state.enums.interaction$?(this.state.enums.interaction$.pipe((0,Pe.t)(this)).subscribe(d=>{this.interactionEnum$.next(d)}),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(d=>d.map(c=>c))),this.onTherapies$=this.state.fields.therapyIds$,this.optionTemplates||console.warn(`${this.field.id} could not find state's fields.therapyIds$ to handle its required & disabled states.`),this.onTherapies$.pipe((0,Pe.t)(this)).subscribe(d=>{d&&0!=d.length?1==d.length?(this.props.description="A single associated therapy does not have an Interaction type",this.props.disabled=!0,this.props.required=!1,void 0!==this.formControl.value&&this.formControl.setValue(void 0)):(this.props.description="Select an Interaction Type",this.props.disabled=!1,this.props.required=!0):(this.props.disabled=!0,this.props.required=!1,this.props.description="Interaction type is not applicable when no therapies are selected.",void 0!==this.formControl.value&&this.formControl.setValue(void 0)),this.cdr.markForCheck()}),this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{d?(this.props.description=Na[d],this.props.extraType="description"):this.props.extraType="prompt"})):console.error(`${this.field.id} could not find form state's interaction$ to populate select.`)}}Wr.\u0275fac=function(d){return new(d||Wr)(e.Y36(e.sBO))},Wr.\u0275cmp=e.Xpm({type:Wr,selectors:[["cvc-interaction-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(ga,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,ws,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,_l,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(6);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,c.placeholder$))("cvcCustomTemplate",y)("cvcOptions",e.lcZ(2,11,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,c.interactionEnum$))}},dependencies:[S.sg,We,Qe,I.fM]});const qc={types:[{name:"interaction-select",wrappers:["form-field"],component:Wr}]};class Vi{}Vi.\u0275fac=function(d){return new(d||Vi)},Vi.\u0275mod=e.oAB({type:Vi}),Vi.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(qc),ct,oe,Ye]});var La=a(6204);const us=["optionTemplates"];function yl(f,d){if(1&f&&(e.TgZ(0,"nz-tag")(1,"strong"),e._uU(2),e.qZA(),e._uU(3),e.ALo(4,"enumTooltip"),e.qZA()),2&f){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c),e.xp6(1),e.hij(" - ",e.xi3(4,2,c,"evidenceLevelBrief")," ")}}function Js(f,d){1&f&&(e.ynx(0),e.YNc(1,yl,5,5,"ng-template",null,3,e.W1O),e.BQk())}function ka(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-tag",7),e.NdJ("nzOnClose",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.onTagClose$.next(ie))}),e.TgZ(1,"strong"),e._uU(2),e.qZA(),e._uU(3),e.ALo(4,"enumTooltip"),e.qZA()}if(2&f){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c.nzValue),e.xp6(1),e.hij(" - ",e.xi3(4,2,c.nzValue,"evidenceLevelBrief")," ")}}function Xc(f,d){if(1&f&&(e.ynx(0),e._uU(1),e.ALo(2,"enumTooltip"),e.BQk()),2&f){const c=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,c.nzValue,"evidenceLevelBrief")," ")}}function C1(f,d){if(1&f&&(e.TgZ(0,"div",4),e.YNc(1,ka,5,5,"nz-tag",5),e.YNc(2,Xc,3,4,"ng-container",6),e.qZA()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!c.props.isMultiSelect),e.xp6(1),e.Q6J("ngIf",c.props.isMultiSelect)}}const No=new Map([[bn.Sx0.A,"Evidence shows consensus association in human medicine"],[bn.Sx0.B,"Evidence supports association using clinical trial or other primary patient data"],[bn.Sx0.C,"Evidence supports association using individual case reports from clinical journals"],[bn.Sx0.D,"Evidence supports association using in vivo or in vitro models"],[bn.Sx0.E,"Evidential association is inferential or indirect"]]),zd=jt($t(),pt());class ds extends zd{constructor(d){super(),this.cdr=d,this.defaultOptions={props:{label:"Evidence Level",required:!1,isMultiSelect:!1,placeholder:"Select Evidence Level"}},this.levelEnum$=new it.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.levelEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){this.props.tooltip="Type of study performed to produce the evidence statement",this.placeholder$=new it.X(this.props.placeholder),this.levelEnum$.next((0,xi.o6)(bn.Sx0).map(d=>d)),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(d=>d.map(c=>c))),this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{this.props.description=d?No.get(d):void 0})}}ds.\u0275fac=function(d){return new(d||ds)(e.Y36(e.sBO))},ds.\u0275cmp=e.Xpm({type:ds,selectors:[["cvc-level-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(us,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[1,"ant-select-selection-item-content"],["nzMode","closeable",3,"nzOnClose",4,"ngIf"],[4,"ngIf"],["nzMode","closeable",3,"nzOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,Js,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,C1,3,2,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(6);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,c.placeholder$))("cvcCustomTemplate",y)("cvcOptions",e.lcZ(2,11,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,c.levelEnum$))}},dependencies:[S.sg,S.O5,Yt.j,We,I.fM,La.v]});const z1={types:[{name:"level-select",wrappers:["form-field"],component:ds},{name:"level-multi-select",wrappers:["form-field"],component:ds,defaultOptions:{props:{label:"Levels",isMultiSelect:!0}}}]};class Ps{}Ps.\u0275fac=function(d){return new(d||Ps)},Ps.\u0275mod=e.oAB({type:Ps}),Ps.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(z1),Yt.X,xt.s,ct,oe]});var Is,Cl=a(4383);let sr=((Is=class{constructor(d){this.el=d,this.domChange=new e.vpe,this.changes=new MutationObserver(c=>{(0,ui.D)(c).pipe((0,yt.U)(y=>{const ie=y.target;return"class"===y.attributeName?{type:"class",change:ie.classList.value,key:`${y.attributeName}:${ie.classList.value}`}:"disabled"===y.attributeName?{type:"disabled",change:ie.disabled,key:`${y.attributeName}:${ie.disabled}`}:"hidden"===y.attributeName?{type:"hidden",change:ie.hidden,key:`${y.attributeName}:${ie.hidden}`}:{type:y.attributeName,change:"unknown change type",key:`${y.attributeName}:unknown-change-type`}}),(0,R.g)("key"),(0,Pe.t)(this)).subscribe(y=>{this.domChange.emit(y)})}),this.changes.observe(this.el.nativeElement,{attributeFilter:["class","disabled","hidden"],attributes:!0,childList:!1,subtree:!1})}ngAfterViewInit(){this.initialClass=this.el.nativeElement.classList.value}ngOnDestroy(){this.changes.disconnect()}}).\u0275fac=function(d){return new(d||Is)(e.Y36(e.SBq))},Is.\u0275dir=e.lG2({type:Is,selectors:[["button","cvcOrgSubmitButton",""]],outputs:{domChange:"domChange"}}),Is);sr=(0,Te.gn)([(0,Pe.c)()],sr);var As,Zr=a(9350);function va(f,d){if(1&f&&(e.TgZ(0,"button",3),e._uU(1),e.qZA()),2&f){const c=e.oxw();e.Q6J("disabled",!c.form.valid),e.xp6(1),e.hij(" ",c.props.submitLabel," ")}}function Ci(f,d){1&f&&e.GkF(0)}function Fs(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Ci,1,0,"ng-container",7),e.BQk()),2&f){e.oxw(2);const c=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function Ra(f,d){1&f&&e.GkF(0)}function A(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"nz-avatar",11),e.BQk()),2&f){const c=d.ngrxLet;e.xp6(1),e.Q6J("nzSrc",c.profileImagePath)("nzSize",16)("nzShape","square")}}function B(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"nz-button-group"),e.YNc(2,Ra,1,0,"ng-container",7),e.TgZ(3,"button",8),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.TgZ(7,"span"),e._uU(8,"for"),e.qZA(),e.YNc(9,A,2,3,"ng-container",9),e._UZ(10,"i",10),e.qZA()(),e.BQk()),2&f){e.oxw();const c=e.MAs(4),y=e.oxw(),ie=e.MAs(2);e.xp6(2),e.Q6J("ngTemplateOutlet",ie),e.xp6(1),e.Q6J("ngClass",e.lcZ(4,6,y.buttonClass$))("hidden",e.lcZ(5,8,y.isHidden$))("disabled",e.lcZ(6,10,y.isDisabled$))("nzDropdownMenu",c),e.xp6(6),e.Q6J("ngrxLet",y.mostRecentOrg$)}}function b(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"li",12),e.NdJ("click",function(){const ht=e.CHM(c).$implicit,It=e.oxw(2);return e.KtG(It.menuSelection$.next(ht.id))}),e._UZ(1,"nz-avatar",11),e._uU(2),e.qZA()}if(2&f){const c=d.$implicit;e.xp6(1),e.Q6J("nzSrc",null==c?null:c.profileImagePath)("nzSize",10)("nzShape","square"),e.xp6(1),e.hij(" ",c.name," ")}}function re(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Fs,2,1,"ng-container",2),e.YNc(2,B,11,12,"ng-container",2),e.TgZ(3,"nz-dropdown-menu",null,4)(5,"ul",5),e.YNc(6,b,3,4,"li",6),e.qZA()(),e.BQk()),2&f){const c=d.ngIf;e.xp6(1),e.Q6J("ngIf",c.length<=1),e.xp6(1),e.Q6J("ngIf",c.length>1),e.xp6(4),e.Q6J("ngForOf",c)}}let De=((As=class extends g.fS{constructor(d,c,y){super(),this.viewerService=d,this.cdr=c,this.apollo=y,this.menuSelection$=new Je.x,this.baseButtonClass="org-dropdown-btn",this.defaultOptions={props:{submitLabel:"Submit"}},this.viewer$=this.viewerService.viewer$,this.organizations$=this.viewer$.pipe((0,Ut.j)("organizations")),this.mostRecentOrg$=this.viewer$.pipe((0,Ut.j)("mostRecentOrg")),this.isDisabled$=new Je.x,this.isHidden$=new Je.x,this.buttonClass$=new it.X(this.baseButtonClass),this.subscriptions=[]}ngOnInit(){this.menuSelection$.pipe((0,et.M)(this.viewer$)).subscribe(([ie,ht])=>{const It={id:`User:${ht.id}`,fragment:si.Ps` - fragment UserMostRecentOrgId on User { - mostRecentOrganizationId - } - `,data:{mostRecentOrganizationId:ie}};this.apollo.client.writeFragment(It)}),this.formUpdate$=new it.X(this.form.status);const d=this.form.statusChanges.subscribe(ie=>this.formUpdate$.next(ie)),c=this.formUpdate$.subscribe(ie=>this.cdr.detectChanges()),y=this.mostRecentOrg$.pipe((0,Ut.j)("id"),(0,Ge.h)(Wn.ep)).subscribe(ie=>{this.formControl.setValue(ie)});this.subscriptions=this.subscriptions.concat([d,c,y])}ngAfterViewInit(){if(this.button&&this.button.domChange){const d=this.button.domChange.subscribe(c=>{"class"===c.type&&"string"==typeof c.change?this.buttonClass$.next(`${this.baseButtonClass} ${c.change}`):"disabled"===c.type&&"boolean"==typeof c.change?this.isDisabled$.next(c.change):"hidden"===c.type&&"boolean"==typeof c.change&&this.isHidden$.next(c.change)});this.subscriptions.push(d)}}}).\u0275fac=function(d){return new(d||As)(e.Y36(Zr.a),e.Y36(e.sBO),e.Y36(si._M))},As.\u0275cmp=e.Xpm({type:As,selectors:[["cvc-org-submit-button"]],viewQuery:function(d,c){if(1&d&&e.Gf(sr,5),2&d){let y;e.iGM(y=e.CRH())&&(c.button=y.first)}},features:[e.qOj],decls:5,vars:5,consts:[["type","hidden",3,"formControl","formlyAttributes"],["submitButton",""],[4,"ngIf"],["cvcOrgSubmitButton","","type","submit","nz-button","","nzType","primary",3,"disabled","nzDanger"],["orgMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],["type","button","nz-button","","nz-dropdown","","nzTrigger","click",3,"ngClass","hidden","disabled","nzDropdownMenu"],[4,"ngrxLet"],["nz-icon","","nzType","down"],[3,"nzSrc","nzSize","nzShape"],["nz-menu-item","",3,"click"]],template:function(d,c){1&d&&(e._UZ(0,"input",0),e.YNc(1,va,2,2,"ng-template",null,1,e.W1O),e.YNc(3,re,7,3,"ng-container",2),e.ALo(4,"ngrxPush")),2&d&&(e.Q6J("formControl",c.formControl)("formlyAttributes",c.field),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,3,c.organizations$)))},dependencies:[S.mk,S.sg,S.O5,S.tP,t.Fj,t.JJ,t.oH,I.eJ,g.JD,_t.Ls,Cl.Dz,$n.ix,$n.fY,un.w,pn.dQ,ai.wO,ai.r9,Si.cm,Si.RR,Si.wA,sr,I.fM],styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:first-child:not(:last-child){border-right-color:#ff4d4f}[_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:hover, [_nghost-%COMP%] .ant-btn-dangerous.ant-btn-primary:focus{border-right-color:#fd7978}.org-dropdown-btn[_ngcontent-%COMP%] nz-avatar[_ngcontent-%COMP%]{margin:-2px 6px 0;border:1px solid rgba(255,255,255,.3);background-color:#ffffffe6}.org-dropdown-btn.ant-btn-dangerous[_ngcontent-%COMP%]:last-child:not(:first-child), .org-dropdown-btn[_ngcontent-%COMP%] .ant-btn-dangerous[_ngcontent-%COMP%] + .ant-btn-dangerous[_ngcontent-%COMP%]{border-left-color:#fd7978}"],changeDetection:0}),As);De=(0,Te.gn)([(0,Pe.c)({arrayName:"subscriptions"})],De);const tt={types:[{name:"org-submit-button",component:De}]};class at{}at.\u0275fac=function(d){return new(d||at)},at.\u0275mod=e.oAB({type:at}),at.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(tt),_t.PV,Cl.Rt,$n.sL,Si.b1]});const Kt=["optionTemplates"];function vn(f,d){if(1&f&&e._UZ(0,"cvc-attribute-tag",4),2&f){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function qn(f,d){1&f&&(e.ynx(0),e.YNc(1,vn,1,1,"ng-template",null,3,e.W1O),e.BQk())}function Bn(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onTagClose$.next(ie))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const Yo=new Map([[bn.huM.Somatic,"Variant is a mutation, found only in tumor cells, having arisen in a specific tissue (non-germ cell), and is not expected to be inherited or passed to offspring."],[bn.huM.RareGermline,"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in less than 1% of the population relevant to this evidence item."],[bn.huM.CommonGermline,"Variant is found in every cell (not restricted to tumor/diseased cells) and is thought to exist in at least 1% of the population relevant to this evidence item."],[bn.huM.Combined," Variants in the corresponding Complex Molecular Profile have heterogeneous origins."],[bn.huM.Unknown,"The variant origin is uncertain based on the available evidence."],[bn.huM.Na,"The variant type (e.g., expression) is not compatible (or easily classified) with the CIViC concept of variant origin."]]),ti=jt($t(),pt());class Er extends ti{constructor(d){super(),this.cdr=d,this.defaultOptions={props:{label:"Variant Origin",required:!1,isMultiSelect:!1,placeholder:"Select Variant Origin",tooltip:"Identifies whether the variant is inherited (germline mutation) or acquired (somatic mutation) in the context of the study"}},this.originEnum$=new it.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.originEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr}),this.originEnum$.next(Array.from(Yo.keys()))}configureStateConnections(){this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(d=>d.map(c=>c))),this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{this.props.description=d?Yo.get(d):void 0})}}Er.\u0275fac=function(d){return new(d||Er)(e.Y36(e.sBO))},Er.\u0275cmp=e.Xpm({type:Er,selectors:[["cvc-origin-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Kt,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:6,vars:13,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.YNc(2,qn,3,0,"ng-container",1),e.ALo(3,"ngrxPush"),e.YNc(4,Bn,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(5);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",c.props.placeholder)("cvcCustomTemplate",y)("cvcOptions",e.lcZ(1,9,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(2),e.Q6J("ngForOf",e.lcZ(3,11,c.originEnum$))}},dependencies:[S.sg,We,Qe,I.fM]});const Ii={types:[{name:"origin-select",wrappers:["form-field"],component:Er},{name:"origin-multi-select",wrappers:["form-field"],component:Er,defaultOptions:{props:{label:"Variant Origins",isMultiSelect:!0}}}]};class Vr{}Vr.\u0275fac=function(d){return new(d||Vr)},Vr.\u0275mod=e.oAB({type:Vr}),Vr.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(Ii),ct,oe,Ye]});const Gi=["optionTemplates"];function Yl(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",8),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(2),e.Q6J("innerHtml",e.xi3(3,1,c.hpoId,y),e.oJD)}}function Ks(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",5),e.TgZ(1,"span",6),e.YNc(2,Yl,4,4,"ng-container",7),e.qZA()),2&f){const c=e.oxw().$implicit,y=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",y),e.xp6(2),e.Q6J("ngIf",c.hpoId)}}function $l(f,d){1&f&&(e.ynx(0),e.YNc(1,Ks,3,4,"ng-template",null,4,e.W1O),e.BQk())}function el(f,d){if(1&f&&(e.ynx(0),e.YNc(1,$l,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Au(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",9)(1,"cvc-entity-tag",10),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Phenotype:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const _a=jt($t(),To());class ya extends _a{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.defaultOptions={props:{entityName:{singular:"Phenotype",plural:"Phenotypes"},isMultiSelect:!1,requireType:!0,tooltip:"Phenotype or phenotype combination which interacts with the specified variant",placeholders:{default:"Search Phenotypes",multiDefault:"Select Phenotype(s) (max MULTI_MAX)",requireTypePrompt:"Select an ENTITY_NAME Type to search Phenotypes"},description:'Please provide any HPO phenotypes, including age of onset.',extraType:"description"}},this.placeholder$=new it.X(this.defaultOptions.props.placeholders.default)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){}configurePlaceholders(){}getTypeaheadVarsFn(d){return{name:d}}getTypeaheadResultsFn(d){return d.data.phenotypeTypeahead}getTagQueryVarsFn(d){return{id:d}}getTagQueryResultsFn(d){return d.data.phenotype}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}ya.\u0275fac=function(d){return new(d||ya)(e.Y36(bn.zOE),e.Y36(bn.z_7),e.Y36(e.sBO))},ya.\u0275cmp=e.Xpm({type:ya,selectors:[["cvc-phenotype-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Gi,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:9,vars:22,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.qZA(),e.YNc(6,el,3,3,"ng-container",1),e.YNc(7,Au,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(8);e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",e.lcZ(1,12,c.placeholder$))("cvcResults",e.lcZ(2,14,c.result$))("cvcOptions",e.lcZ(3,16,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.onRequiresPhenotype$&&!e.lcZ(4,18,c.onRequiresPhenotype$))("cvcLoading",e.lcZ(5,20,c.isLoading$)),e.xp6(6),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,I.eJ,pe.ZU,Ue,Tt.J,I.fM,P.A],changeDetection:0});const Ns={types:[{name:"phenotype-select",wrappers:["form-field"],component:ya,defaultOptions:{props:{label:"Phenotype"}}},{name:"phenotype-multi-select",wrappers:["form-field"],component:ya,defaultOptions:{props:{isMultiSelect:!0,label:"Phenotypes"}}}]};class qs{}qs.\u0275fac=function(d){return new(d||qs)},qs.\u0275mod=e.oAB({type:qs}),qs.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(Ns),Sn.L,$n.sL,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,Yt.X,ct,jn,xt.s,Zt.x]});var Ls=a(9521),T1=a(4968),ks=a(2722),hc=a(2536),Xs=a(3303),fc=a(3187),mc=a(445);const Td=["nz-rate-item",""];function Rs(f,d){}function tl(f,d){}function Va(f,d){1&f&&e._UZ(0,"span",4)}const M1=function(f){return{$implicit:f}},gc=["ulElement"];function ap(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"li",3)(1,"div",4),e.NdJ("itemHover",function(ie){const It=e.CHM(c).index,Mn=e.oxw();return e.KtG(Mn.onItemHover(It,ie))})("itemClick",function(ie){const It=e.CHM(c).index,Mn=e.oxw();return e.KtG(Mn.onItemClick(It,ie))}),e.qZA()()}if(2&f){const c=d.index,y=e.oxw();e.Q6J("ngClass",y.starStyleArray[c]||"")("nzTooltipTitle",y.nzTooltips[c]),e.xp6(1),e.Q6J("allowHalf",y.nzAllowHalf)("character",y.nzCharacter)("index",c)}}let Fu=(()=>{class f{constructor(){this.index=0,this.allowHalf=!1,this.itemHover=new e.vpe,this.itemClick=new e.vpe}hoverRate(c){this.itemHover.next(c&&this.allowHalf)}clickRate(c){this.itemClick.next(c&&this.allowHalf)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["","nz-rate-item",""]],inputs:{character:"character",index:"index",allowHalf:"allowHalf"},outputs:{itemHover:"itemHover",itemClick:"itemClick"},exportAs:["nzRateItem"],attrs:Td,decls:6,vars:8,consts:[[1,"ant-rate-star-second",3,"mouseover","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-rate-star-first",3,"mouseover","click"],["defaultCharacter",""],["nz-icon","","nzType","star","nzTheme","fill"]],template:function(c,y){if(1&c&&(e.TgZ(0,"div",0),e.NdJ("mouseover",function(ht){return y.hoverRate(!1),ht.stopPropagation()})("click",function(){return y.clickRate(!1)}),e.YNc(1,Rs,0,0,"ng-template",1),e.qZA(),e.TgZ(2,"div",2),e.NdJ("mouseover",function(ht){return y.hoverRate(!0),ht.stopPropagation()})("click",function(){return y.clickRate(!0)}),e.YNc(3,tl,0,0,"ng-template",1),e.qZA(),e.YNc(4,Va,1,0,"ng-template",null,3,e.W1O)),2&c){const ie=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",y.character||ie)("ngTemplateOutletContext",e.VKq(4,M1,y.index)),e.xp6(2),e.Q6J("ngTemplateOutlet",y.character||ie)("ngTemplateOutletContext",e.VKq(6,M1,y.index))}},dependencies:[S.tP,_t.Ls],encapsulation:2,changeDetection:0}),(0,Te.gn)([(0,fc.yF)()],f.prototype,"allowHalf",void 0),f})(),Ca=(()=>{class f{constructor(c,y,ie,ht,It,Mn){this.nzConfigService=c,this.ngZone=y,this.renderer=ie,this.cdr=ht,this.directionality=It,this.destroy$=Mn,this._nzModuleName="rate",this.nzAllowClear=!0,this.nzAllowHalf=!1,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzCount=5,this.nzTooltips=[],this.nzOnBlur=new e.vpe,this.nzOnFocus=new e.vpe,this.nzOnHoverChange=new e.vpe,this.nzOnKeyDown=new e.vpe,this.classMap={},this.starArray=[],this.starStyleArray=[],this.dir="ltr",this.hasHalf=!1,this.hoverValue=0,this.isFocused=!1,this._value=0,this.isNzDisableFirstChange=!0,this.onChange=()=>null,this.onTouched=()=>null}get nzValue(){return this._value}set nzValue(c){this._value!==c&&(this._value=c,this.hasHalf=!Number.isInteger(c),this.hoverValue=Math.ceil(c))}ngOnChanges(c){const{nzAutoFocus:y,nzCount:ie,nzValue:ht}=c;if(y&&!y.isFirstChange()){const It=this.ulElement.nativeElement;this.nzAutoFocus&&!this.nzDisabled?this.renderer.setAttribute(It,"autofocus","autofocus"):this.renderer.removeAttribute(It,"autofocus")}ie&&this.updateStarArray(),ht&&this.updateStarStyle()}ngOnInit(){this.nzConfigService.getConfigChangeEventForComponent("rate").pipe((0,ks.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change.pipe((0,ks.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,T1.R)(this.ulElement.nativeElement,"focus").pipe((0,ks.R)(this.destroy$)).subscribe(c=>{this.isFocused=!0,this.nzOnFocus.observers.length&&this.ngZone.run(()=>this.nzOnFocus.emit(c))}),(0,T1.R)(this.ulElement.nativeElement,"blur").pipe((0,ks.R)(this.destroy$)).subscribe(c=>{this.isFocused=!1,this.nzOnBlur.observers.length&&this.ngZone.run(()=>this.nzOnBlur.emit(c))})})}onItemClick(c,y){if(this.nzDisabled)return;this.hoverValue=c+1;const ie=y?c+.5:c+1;this.nzValue===ie?this.nzAllowClear&&(this.nzValue=0,this.onChange(this.nzValue)):(this.nzValue=ie,this.onChange(this.nzValue)),this.updateStarStyle()}onItemHover(c,y){this.nzDisabled||this.hoverValue===c+1&&y===this.hasHalf||(this.hoverValue=c+1,this.hasHalf=y,this.nzOnHoverChange.emit(this.hoverValue),this.updateStarStyle())}onRateLeave(){this.hasHalf=!Number.isInteger(this.nzValue),this.hoverValue=Math.ceil(this.nzValue),this.updateStarStyle()}focus(){this.ulElement.nativeElement.focus()}blur(){this.ulElement.nativeElement.blur()}onKeyDown(c){const y=this.nzValue;c.keyCode===Ls.SV&&this.nzValue0&&(this.nzValue-=this.nzAllowHalf?.5:1),y!==this.nzValue&&(this.onChange(this.nzValue),this.nzOnKeyDown.emit(c),this.updateStarStyle(),this.cdr.markForCheck())}updateStarArray(){this.starArray=Array(this.nzCount).fill(0).map((c,y)=>y),this.updateStarStyle()}updateStarStyle(){this.starStyleArray=this.starArray.map(c=>{const y="ant-rate-star",ie=c+1;return{[`${y}-full`]:iethis.hoverValue,[`${y}-focused`]:this.hasHalf&&ie===this.hoverValue&&this.isFocused}})}writeValue(c){this.nzValue=c||0,this.updateStarArray(),this.cdr.markForCheck()}setDisabledState(c){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||c,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}}return f.\u0275fac=function(c){return new(c||f)(e.Y36(hc.jY),e.Y36(e.R0b),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(mc.Is,8),e.Y36(Xs.kn))},f.\u0275cmp=e.Xpm({type:f,selectors:[["nz-rate"]],viewQuery:function(c,y){if(1&c&&e.Gf(gc,7),2&c){let ie;e.iGM(ie=e.CRH())&&(y.ulElement=ie.first)}},inputs:{nzAllowClear:"nzAllowClear",nzAllowHalf:"nzAllowHalf",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzCharacter:"nzCharacter",nzCount:"nzCount",nzTooltips:"nzTooltips"},outputs:{nzOnBlur:"nzOnBlur",nzOnFocus:"nzOnFocus",nzOnHoverChange:"nzOnHoverChange",nzOnKeyDown:"nzOnKeyDown"},exportAs:["nzRate"],features:[e._Bn([Xs.kn,{provide:t.JU,useExisting:(0,e.Gpc)(()=>f),multi:!0}]),e.TTD],decls:3,vars:7,consts:[[1,"ant-rate",3,"ngClass","tabindex","keydown","mouseleave"],["ulElement",""],["class","ant-rate-star","nz-tooltip","",3,"ngClass","nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",1,"ant-rate-star",3,"ngClass","nzTooltipTitle"],["nz-rate-item","",3,"allowHalf","character","index","itemHover","itemClick"]],template:function(c,y){1&c&&(e.TgZ(0,"ul",0,1),e.NdJ("keydown",function(ht){return y.onKeyDown(ht),ht.preventDefault()})("mouseleave",function(ht){return y.onRateLeave(),ht.stopPropagation()}),e.YNc(2,ap,2,5,"li",2),e.qZA()),2&c&&(e.ekj("ant-rate-disabled",y.nzDisabled)("ant-rate-rtl","rtl"===y.dir),e.Q6J("ngClass",y.classMap)("tabindex",y.nzDisabled?-1:1),e.xp6(2),e.Q6J("ngForOf",y.starArray))},dependencies:[S.mk,S.sg,At.SY,Fu],encapsulation:2,changeDetection:0}),(0,Te.gn)([(0,hc.oS)(),(0,fc.yF)()],f.prototype,"nzAllowClear",void 0),(0,Te.gn)([(0,hc.oS)(),(0,fc.yF)()],f.prototype,"nzAllowHalf",void 0),(0,Te.gn)([(0,fc.yF)()],f.prototype,"nzDisabled",void 0),(0,Te.gn)([(0,fc.yF)()],f.prototype,"nzAutoFocus",void 0),(0,Te.gn)([(0,fc.Rn)()],f.prototype,"nzCount",void 0),f})(),bd=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275mod=e.oAB({type:f}),f.\u0275inj=e.cJS({imports:[mc.vT,S.ez,_t.PV,At.cg]}),f})();const Br={1:"Poor - Claim is not supported well by experimental evidence. Results are not reproducible, or have very small sample size. No follow-up is done to validate novel claims.",2:"Adequate - Evidence is not well supported by experimental data, and little follow-up data is available. Experiments may lack proper controls, have small sample size, or are not statistically convincing.",3:"Average - Evidence is convincing, but not supported by a breadth of experiments. May be smaller scale projects, or novel results without many follow-up experiments. Discrepancies from expected results are explained and not concerning.",4:"Strong - Well supported evidence. Experiments are well controlled, and results are convincing. Any discrepancies from expected results are well-explained and not concerning.",5:"Excellent - Solid, well supported evidence from a lab or journal with respected academic standing. Experiments are well controlled, and results are clean and reproducible across multiple replicates. Evidence confirmed using separate methods."},b1=jt($t(),pt());class Jr extends b1{constructor(){super(),this.defaultOptions={props:{label:"Evidence Rating",count:5,tooltip:"A representation of the curator's confidence in the quality of the summarized evidence",hoverText:[]}},this.rating$=new it.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.formControl.value&&this.rating$.next(this.formControl.value),Object.entries(Br).map(([d,c])=>{this.props.hoverText.push(c)}),this.rating$.pipe((0,Pe.t)(this)).subscribe(d=>{this.formControl.setValue(d)}),this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{this.props.description=d?Br[d]:void 0})}configureStateConnections(){}}Jr.\u0275fac=function(d){return new(d||Jr)},Jr.\u0275cmp=e.Xpm({type:Jr,selectors:[["cvc-rating"]],features:[e.qOj],decls:2,vars:5,consts:[["type","hidden",3,"formControl","formlyAttributes"],[3,"ngModel","nzCount","nzTooltips","ngModelChange"]],template:function(d,c){1&d&&(e._UZ(0,"input",0),e.TgZ(1,"nz-rate",1),e.NdJ("ngModelChange",function(ie){return c.rating$.next(ie)}),e.qZA()),2&d&&(e.Q6J("formControl",c.formControl)("formlyAttributes",c.field),e.xp6(1),e.Q6J("ngModel",c.formControl.value)("nzCount",c.props.count)("nzTooltips",c.props.hoverText))},dependencies:[t.Fj,t.JJ,t.oH,t.On,g.JD,Ca],styles:["[_nghost-%COMP%] nz-rate .anticon{font-size:160%}"],changeDetection:0});const Nu={types:[{name:"rating",wrappers:["form-field"],component:Jr}]};class ea{}ea.\u0275fac=function(d){return new(d||ea)},ea.\u0275mod=e.oAB({type:ea}),ea.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,t.u5,g.X0.forChild(Nu),bd,xt.s,ct,oe]});const Lu=["optionTemplates"];function zl(f,d){if(1&f&&e._UZ(0,"cvc-attribute-tag",4),2&f){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function E1(f,d){1&f&&(e.ynx(0),e.YNc(1,zl,1,1,"ng-template",null,3,e.W1O),e.BQk())}function vc(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onTagClose$.next(ie))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const Ul={Evidence:{PREDICTIVE:{SENSITIVITYRESPONSE:"Associated with a clinical or preclinical response to treatment",RESISTANCE:"Associated with clinical or preclinical resistance to treatment",ADVERSE_RESPONSE:"Associated with an adverse response to drug treatment",REDUCED_SENSITIVITY:"Response to treatment is lower than seen in other treatment contexts",NA:"Clinical Significance is not applicable."},DIAGNOSTIC:{POSITIVE:"Associated with diagnosis of disease or subtype",NEGATIVE:"Associated with lack of disease or subtype"},PROGNOSTIC:{BETTER_OUTCOME:"Demonstrates better than expected clinical outcome",POOR_OUTCOME:"Demonstrates worse than expected clinical outcome",NA:"Clinical Significance is not applicable."},PREDISPOSING:{PREDISPOSITION:"Germline variant has predisposing potential for cancer, and may meet select ACMG/AMP criteria supporting pathogenic or benign classification.",PROTECTIVENESS:"Germline variant has properties that protect individuals from acquiring cancer."},FUNCTIONAL:{GAIN_OF_FUNCTION:"Sequence variant confers an increase in normal gene function",LOSS_OF_FUNCTION:"Sequence variant confers a diminished or abolished function",UNALTERED_FUNCTION:"Gene product of sequence variant is unchanged",NEOMORPHIC:"Sequence variant creates a novel function",DOMINANT_NEGATIVE:"Sequence variant abrogates function of wildtype allele gene product",UNKNOWN:"Sequence variant that cannot be precisely defined by the other listed categories"},ONCOGENIC:{ONCOGENICITY:"Somatic variant has oncogenic potential for driving cancer, and may meet select ClinGen/CGC/VICC criteria supporting pathogenic or benign classification.",PROTECTIVENESS:"Somatic variant has a protective role against cancer."}},Assertion:{PREDICTIVE:{SENSITIVITYRESPONSE:"Associated with a clinical or preclinical response to treatment",RESISTANCE:"Associated with clinical or preclinical resistance to treatment",ADVERSE_RESPONSE:"Associated with an adverse response to drug treatment",REDUCED_SENSITIVITY:"Response to treatment is lower than seen in other treatment contexts",NA:"Clinical Significance is not applicable."},DIAGNOSTIC:{POSITIVE:"Associated with diagnosis of disease or subtype",NEGATIVE:"Associated with lack of disease or subtype"},PROGNOSTIC:{BETTER_OUTCOME:"Demonstrates better than expected clinical outcome",POOR_OUTCOME:"Demonstrates worse than expected clinical outcome",NA:"Clinical Significance is not applicable."},PREDISPOSING:{PATHOGENIC:"Very strong evidence the variant is pathogenic",LIKELY_PATHOGENIC:"Strong evidence (>90% certainty) the variant is pathogenic.",BENIGN:"Very strong evidence the variant is benign",LIKELY_BENIGN:"Not expected to have a major effect on disease",UNCERTAIN_SIGNIFICANCE:"Does not meet the ACMG/AMP criteria for pathogenic/benign, or the evidence is conflicting"},ONCOGENIC:{ONCOGENIC:"Very strong evidence the variant is oncogenic.",LIKELY_ONCOGENIC:"Strong evidence the variant is oncogenic.",BENIGN:"Very strong evidence the variant does not have oncogenic properties.",LIKELY_BENIGN:"Strong evidence the variant does not have oncogenic properties.",UNCERTAIN_SIGNIFICANCE:"Does not meet guideline criteria for oncogenic/benign, or the evidence is conflicting."}}},nl=jt($t(),pt());class Tl extends nl{constructor(d){super(),this.cdr=d,this.defaultOptions={props:{label:"Significance",required:!0,isMultiSelect:!1,placeholder:"Select Significance",placeholderFn:c=>`Select ${c?c+" ":""} Significance`,requireTypePromptFn:c=>`Select ${c} Type to select its Significance`,tooltip:"Clinical impact of the variant",formMode:"add"}},this.significanceEnum$=new it.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.significanceEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){if(!this.state)return console.error(`${this.field.id} requires a form state to populate its options, none was found.`),void(this.placeholder$=new it.X("ERROR: Form state not found"));if(this.placeholder$=new it.X(this.props.placeholderFn(this.state.entityName)),!this.state.enums.significance$)return void console.error(`${this.field.id} could not find form state's enums.significance$ to populate select.`);this.state.enums.significance$.pipe((0,Pe.t)(this)).subscribe(c=>{this.significanceEnum$.next(c)}),this.optionTemplates||console.warn(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(c=>c.map(y=>y)));const d=`${this.state.entityName.toLowerCase()}Type$`;this.state.fields[d]?(this.onTypeSelect$=this.state.fields[d],this.onTypeSelect$.pipe((0,Vt.T)("add"===this.props.formMode?0:1),(0,Pe.t)(this)).subscribe(c=>{c?(this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0,this.placeholder$.next(this.props.placeholderFn(this.state.entityName))):(this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName),this.props.extraType="prompt"),this.formControl.value&&this.formControl.setValue(void 0)}),this.onValueChange$.pipe((0,et.M)(this.onTypeSelect$),(0,Pe.t)(this)).subscribe(([c,y])=>{!y||!c||!this.state||(this.props.description=void 0,this.props.extraType="description",this.props.description=Ul[this.state.entityName][y][c])})):console.error(`${this.field.id} could not find form state's ${d} to populate Significance options.`)}}Tl.\u0275fac=function(d){return new(d||Tl)(e.Y36(e.sBO))},Tl.\u0275cmp=e.Xpm({type:Tl,selectors:[["cvc-significance-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Lu,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,E1,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,vc,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(6);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,c.placeholder$))("cvcCustomTemplate",y)("cvcOptions",e.lcZ(2,11,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,c.significanceEnum$))}},dependencies:[S.sg,We,Qe,I.fM]});const za={types:[{name:"significance-select",wrappers:["form-field"],component:Tl}]};class ol{}ol.\u0275fac=function(d){return new(d||ol)},ol.\u0275mod=e.oAB({type:ol}),ol.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(za),ct,oe,Ye]});var ps,il=a(2577),Ed=a(8521),ta=a(6530),Sd=a(8675);function ku(f,d){1&f&&e._UZ(0,"span",9),2&f&&e.Q6J("nzType","loading")}function Ba(f,d){if(1&f&&(e.ynx(0),e.YNc(1,ku,1,1,"span",8),e._uU(2,"\xa0 "),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.BQk()),2&f){const c=d.ngrxLet;e.xp6(1),e.Q6J("ngIf",c.showSpinner),e.xp6(3),e.Oqu(c.message)}}function Ru(f,d){if(1&f&&e._uU(0),2&f){const c=e.oxw();e.Oqu(c.successMessage)}}function Ha(f,d){1&f&&(e.TgZ(0,"button",10),e._uU(1," Add Source "),e.qZA()),2&f&&e.Q6J("disabled",null===d.ngrxLet.citation)}const Vu=function(){return[0,0]};let Qi=((ps=class{constructor(d,c,y,ie,ht){this.checkCitation=d,this.addRemoteCitation=c,this.errors=y,this.apollo=ie,this.cdr=ht,this.cvcOnCreate=new e.vpe,this.messageOptions={empty:(It,Mn)=>`No ${Mn} Source with a citation ID of "${It}"`,searchCitation:(It,Mn)=>`Searching ${Mn} for a citation ID of "${It}"`,foundCitation:(It,Mn,Rn)=>`Found ${Mn} citation "${Rn}" with ID ${It}`,noCitation:(It,Mn)=>`No ${Mn} Source with a citation ID of "${It}" was found`},this.form=new t.nJ({}),this.model={citationId:"",sourceType:bn.yic.Pubmed},this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.onSubmit$=new Je.x,this.citationId$=new it.X(""),this.sourceType$=new it.X(bn.yic.Pubmed),this.addSourceStubMutator=new Ft.U(this.errors),this.fields=[{key:"citationId",props:{hidden:!0}},{key:"sourceType",props:{hidden:!0}}],this.onSubmit$.pipe((0,Pe.t)(this)).subscribe(It=>{console.log("disease-quick-add form model submitted.",It),this.submitSourceStub()})}ngOnInit(){void 0!==this.model.citationId&&void 0!==this.model.sourceType?(this.queryRef=this.checkCitation.watch({citationId:this.model.citationId,sourceType:this.model.sourceType}),this.checkResult$=this.queryRef.valueChanges.pipe((0,yt.U)(d=>({loading:d.loading,citation:d.data?d.data.remoteCitation:null,model:this.model})),(0,Fn.b)(d=>{this.citationString=d.citation?d.citation:void 0})),this.citationId$.pipe((0,Pe.t)(this)).subscribe(d=>{this.model.sourceType&&this.queryRef.refetch({citationId:d,sourceType:this.model.sourceType})}),this.formMessageDisplay$=this.checkResult$.pipe((0,yt.U)(d=>{const c=d.loading,y=d.citation,ie=d.model;return c?{message:this.messageOptions.searchCitation(ie.citationId,ie.sourceType),showSpinner:!0}:c||null===y?c||null!==y?{message:"UNHANDLED MESSAGE STATE",showSpinner:!1}:{message:this.messageOptions.noCitation(ie.citationId,ie.sourceType),showSpinner:!1}:{message:this.messageOptions.foundCitation(ie.citationId,(0,ta.c)(ie.sourceType),y),showSpinner:!1}}),(0,Sd.O)({message:this.messageOptions.searchCitation(this.model.citationId,this.model.sourceType),showSpinner:!0}))):console.error("source-quick-add provided invalid initial model")}submitSourceStub(){void 0!==this.model.citationId&&void 0!==this.model.sourceType&&(this.mutationState=this.addSourceStubMutator.mutate(this.addRemoteCitation,{input:{citationId:this.model.citationId,sourceType:this.model.sourceType}},{},d=>{if(console.log("source-quick-add submit data callback",d),d.addRemoteCitation){this.successMessage=`New Source "${this.citationString}" added.`;const c=d.addRemoteCitation.newSource,y=(0,ta.c)(this.model.sourceType),ie=this.citationString?this.citationString:"NO CITATION",ht={query:si.Ps` - query WriteLocalSource($id: Int!) { - source(id: $id) { - id - name - link - citation - citationId - sourceType - } - } - `,data:{source:{__typename:"Source",id:c.id,name:`${y}: ${ie}`,link:`sources/${c.id}`,citation:ie,citationId:this.model.citationId,sourceType:this.model.sourceType}},variables:{id:c.id}};this.apollo.client.cache.writeQuery(ht)||console.error("source-quick-add.form Source writeQuery failed.",ht),setTimeout(()=>{const Mn={id:`Source:${c.id}`,fragment:si.Ps` - fragment LinkableSource on Source { - id - name - link - } - `},Rn=this.apollo.client.cache.readFragment(Mn);null!==Rn&&this.cvcOnCreate.next(Rn.id)},1e3)}}))}ngOnChanges(d){if(d.cvcSourceType){const c=d.cvcSourceType.currentValue;this.sourceType$.next(c),this.model={...this.model,sourceType:c}}if(d.cvcCitationId){const c=d.cvcCitationId.currentValue;this.citationId$.next(c),this.model={...this.model,citationId:c}}}}).\u0275fac=function(d){return new(d||ps)(e.Y36(bn.qgP),e.Y36(bn.LHC),e.Y36(Gt.Y),e.Y36(si._M),e.Y36(e.sBO))},ps.\u0275cmp=e.Xpm({type:ps,selectors:[["cvc-source-quick-add"]],inputs:{cvcSourceType:"cvcSourceType",cvcCitationId:"cvcCitationId"},outputs:{cvcOnCreate:"cvcOnCreate"},features:[e.TTD],decls:10,vars:11,consts:[[4,"ngrxLet"],["entityType","Source",3,"mutationState","successMessage"],["success",""],["nz-form","","nzLayout","horizontal",3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled",4,"ngrxLet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"]],template:function(d,c){if(1&d&&(e.YNc(0,Ba,5,2,"ng-container",0),e.TgZ(1,"cvc-form-submission-status-display",1),e.YNc(2,Ru,1,1,"ng-template",null,2,e.W1O),e.TgZ(4,"form",3),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(5,"nz-row",4)(6,"nz-col",5)(7,"formly-form",6),e.NdJ("modelChange",function(ie){return c.model=ie}),e.qZA()(),e.TgZ(8,"nz-col",5),e.YNc(9,Ha,2,1,"button",7),e.qZA()()()()),2&d){const y=e.MAs(3);e.Q6J("ngrxLet",c.formMessageDisplay$),e.xp6(1),e.Q6J("mutationState",c.mutationState)("successMessage",y),e.xp6(3),e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(10,Vu)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("ngrxLet",c.checkResult$)}},dependencies:[S.O5,t._Y,t.JL,t.sg,I.eJ,g.T7,$n.ix,un.w,pn.dQ,_t.Ls,w.t3,w.SK,s.Lr,fn.F],changeDetection:0}),ps);Qi=(0,Te.gn)([(0,Pe.c)()],Qi);const S1=["optionTemplates"];function _c(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-col",9)(1,"nz-select",10),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.sourceType$.next(ie))}),e.ALo(2,"ngrxPush"),e._UZ(3,"nz-option",11)(4,"nz-option",12)(5,"nz-option",13),e.qZA()()}if(2&f){const c=e.oxw();e.xp6(1),e.Q6J("nzOptionHeightPx",28)("ngModel",e.lcZ(2,2,c.sourceType$))}}function x1(f,d){1&f&&(e.TgZ(0,"div"),e._uU(1,"PMID:"),e.qZA())}function Ya(f,d){1&f&&(e.TgZ(0,"div"),e._uU(1,"ID:"),e.qZA())}function Ml(f,d){1&f&&(e.TgZ(0,"div"),e._uU(1,"doi.org/"),e.qZA())}function yc(f,d){if(1&f&&(e.TgZ(0,"nz-col",14),e.ynx(1,15),e.ALo(2,"ngrxPush"),e.YNc(3,x1,2,0,"div",16),e.YNc(4,Ya,2,0,"div",16),e.YNc(5,Ml,2,0,"div",16),e.BQk(),e.qZA()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngSwitch",e.lcZ(2,4,c.sourceType$)),e.xp6(2),e.Q6J("ngSwitchCase","PUBMED"),e.xp6(1),e.Q6J("ngSwitchCase","ASCO"),e.xp6(1),e.Q6J("ngSwitchCase","ASH")}}function D1(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",19),e.TgZ(1,"span",20),e._uU(2," ID: "),e._UZ(3,"span",21),e.ALo(4,"highlightTypeahead"),e.qZA()),2&f){const c=e.oxw().$implicit,y=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",y),e.xp6(3),e.Q6J("innerHtml",e.xi3(4,4,c.citationId.toString(),y),e.oJD)}}function Cc(f,d){1&f&&(e.ynx(0),e.YNc(1,D1,5,7,"ng-template",null,18,e.W1O),e.BQk())}function Bu(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Cc,3,0,"ng-container",17),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function zc(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",22)(1,"cvc-entity-tag",23),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Source:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}function O1(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-source-quick-add",24),e.NdJ("cvcOnCreate",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onPopulate$.next(ie))}),e.qZA()}if(2&f){const c=d.model;e.Q6J("cvcCitationId",c.citationId)("cvcSourceType",c.sourceType)}}function Mi(f,d){1&f&&(e.TgZ(0,"button",25),e._uU(1,"Add a New Source"),e.qZA())}const jl=function(){return[6,6]},Gl=jt($t(),To());class li extends Gl{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.onModel$=new ko.y,this.defaultSourceType=bn.yic.Pubmed,this.defaultOptions={props:{entityName:{singular:"Source",plural:"Sources"},isMultiSelect:!1,minSearchStrLength:2,tooltip:"PubMed, ASCO, or ASH Abstract Source(s) that support items, statements or descriptions.",placeholders:{default:"Search PubMed, ASCO, and ASH Sources",contextualFn:ie=>`Search ${ie} Sources`},extraType:"prompt"}},this.sourceType$=new it.X(this.defaultSourceType),this.sourceTypeName$=new it.X((0,ta.c)(this.defaultSourceType)),this.placeholder$=new it.X(this.defaultOptions.props.placeholders.contextualFn((0,ta.c)(this.defaultSourceType))),this.showTypeSelect$=new ko.y}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:this.sourceType$,typeaheadParamName$:this.sourceTypeName$||void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent,minSearchStrLength:this.field.props.minSearchStrLength}),this.showTypeSelect$=this.onValueChange$.pipe((0,yt.U)(d=>!!(!d||d&&Array.isArray(d)))),this.sourceType$.pipe((0,Pe.t)(this)).subscribe(d=>{const c=(0,ta.c)(d);this.sourceTypeName$.next(c),this.placeholder$.next(this.props.placeholders.contextualFn(c))}),this.onModel$=(0,ro.a)([this.sourceType$,this.onSearch$]).pipe((0,yt.U)(([d,c])=>({citationId:c,sourceType:d})))}getTypeaheadVarsFn(d,c=bn.yic.Pubmed){return{partialCitationId:d,sourceType:c}}getTypeaheadResultsFn(d){return d.data.sourceTypeahead}getTagQueryVarsFn(d){return{id:d}}getTagQueryResultsFn(d){return d.data.source}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}li.\u0275fac=function(d){return new(d||li)(e.Y36(bn.aC3),e.Y36(bn.BYO),e.Y36(e.sBO))},li.\u0275cmp=e.Xpm({type:li,selectors:[["cvc-source-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(S1,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:21,vars:39,consts:[[3,"nzGutter"],["nzFlex","80px",4,"ngIf"],["nzFlex","60px","class","prefix",4,"ngIf"],["nzFlex","auto"],[3,"cvcMinSearchStrLength","cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcParamName","cvcShowError","cvcDisabled","cvcLoading","cvcAddEntity","cvcAddEntityModel","cvcSelectOpen","cvcOnSearch","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],["addSource",""],["addSourceBtn",""],["nzFlex","80px"],["nzSize","default","nzBlock","",3,"nzOptionHeightPx","ngModel","ngModelChange"],["nzValue","PUBMED","nzLabel","PubMed"],["nzValue","ASCO","nzLabel","ASCO"],["nzValue","ASH","nzLabel","ASH"],["nzFlex","60px",1,"prefix"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcCitationId","cvcSourceType","cvcOnCreate"],["type","button"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-row",0),e.YNc(1,_c,6,4,"nz-col",1),e.ALo(2,"ngrxPush"),e.YNc(3,yc,6,6,"nz-col",2),e.ALo(4,"ngrxPush"),e.TgZ(5,"nz-col",3)(6,"cvc-entity-select",4),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(7,"ngrxPush"),e.ALo(8,"ngrxPush"),e.ALo(9,"ngrxPush"),e.ALo(10,"ngrxPush"),e.ALo(11,"ngrxPush"),e.ALo(12,"ngrxPush"),e.ALo(13,"ngrxPush"),e.qZA()()(),e.YNc(14,Bu,3,3,"ng-container",5),e.YNc(15,zc,2,3,"ng-template",null,6,e.W1O),e.YNc(17,O1,1,2,"ng-template",null,7,e.W1O),e.YNc(19,Mi,2,0,"ng-template",null,8,e.W1O)),2&d){const y=e.MAs(16),ie=e.MAs(18);e.Q6J("nzGutter",e.DdM(38,jl)),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,20,c.showTypeSelect$)),e.xp6(2),e.Q6J("ngIf",e.lcZ(4,22,c.showTypeSelect$)),e.xp6(3),e.Q6J("cvcMinSearchStrLength",c.props.minSearchStrLength)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",e.lcZ(7,24,c.placeholder$))("cvcResults",e.lcZ(8,26,c.result$))("cvcOptions",e.lcZ(9,28,c.selectOption$))("cvcParamName",e.lcZ(10,30,c.sourceTypeName$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled)("cvcLoading",e.lcZ(11,32,c.isLoading$))("cvcAddEntity",ie)("cvcAddEntityModel",e.lcZ(12,34,c.onModel$))("cvcSelectOpen",e.lcZ(13,36,c.selectOpen$)),e.xp6(8),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,S.RF,S.n9,t.JJ,t.On,I.eJ,Ze.Ip,Ze.Vq,w.t3,w.SK,pe.ZU,Ue,Tt.J,Qi,I.fM,P.A],styles:[".prefix[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:right;line-height:28px;color:#999}"],changeDetection:0});const rl={types:[{name:"source-select",wrappers:["form-field"],component:li,defaultOptions:{props:{label:"Source"}}},{name:"source-multi-select",wrappers:["form-field"],component:li,defaultOptions:{props:{label:"Sources",isMultiSelect:!0}}}]};class Kr{}function Ql(f){class d extends f{configureStringTagField(){this.onValueChange$?(this.tagLabel$=new Je.x,this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(y=>{this.tagLabel$.next(y?y.toString():void 0)}),this.onTagClose$=new Je.x,this.onTagClose$.pipe((0,Pe.t)(this)).subscribe(y=>{this.formControl.setValue(void 0),this.tagLabel$.next(void 0)})):console.error(`${this.field.id} cannot find onValueChange$ Subject, ensure configureBaseField() has been called before configureDisplayStringTag in its AfterViewInit hook.`)}}return d.\u0275fac=function(){let c;return function(ie){return(c||(c=e.n5z(d)))(ie||d)}}(),d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d}function Mc(f,d){}function Hu(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"span",4)(1,"nz-tag",5),e.NdJ("nzOnClose",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.cvcOnClose.next(ie))}),e.YNc(2,Mc,0,0,"ng-template",6),e.qZA()()}if(2&f){const c=e.oxw(),y=e.MAs(4);e.xp6(1),e.Q6J("nzMode",c.cvcMode),e.xp6(1),e.Q6J("ngTemplateOutlet",y)}}function $a(f,d){}function Yu(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"span",7)(1,"nz-tag",5),e.NdJ("nzOnClose",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.cvcOnClose.next(ie))}),e.YNc(2,$a,0,0,"ng-template",6),e.qZA()()}if(2&f){e.oxw();const c=e.MAs(4);e.xp6(1),e.Q6J("nzMode","closeable"),e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function sl(f,d){}function $u(f,d){if(1&f&&(e.TgZ(0,"span",8),e.YNc(1,sl,0,0,"ng-template",6),e.qZA()),2&f){e.oxw();const c=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",c)}}function bc(f,d){1&f&&e._UZ(0,"i",11)}function w1(f,d){if(1&f&&(e.YNc(0,bc,1,0,"i",9),e._UZ(1,"span",10),e.ALo(2,"highlightTypeahead")),2&f){const c=e.oxw();e.Q6J("ngIf",!c.cvcLabel),e.xp6(1),e.Q6J("innerHtml",c.cvcLabel?e.xi3(2,2,c.cvcLabel,c.cvcEmphasize):"?STRING?",e.oJD)}}Kr.\u0275fac=function(d){return new(d||Kr)},Kr.\u0275mod=e.oAB({type:Kr}),Kr.\u0275inj=e.cJS({imports:[S.ez,t.u5,t.UX,I._N,I.pP,g.X0.forChild(rl),Sn.L,$n.sL,Ed.aF,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,il.S,Yt.X,Un.g,ct,jn,xt.s,Zt.x]});class Sr{constructor(){this.cvcMode="default",this.cvcContext="default",this.cvcOnClose=new e.vpe}}function Wl(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-string-tag",3),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.tagClosed(ht))}),e.qZA()}if(2&f){const c=d.$implicit;e.Q6J("cvcMode","closeable")("cvcLabel",c)}}Sr.\u0275fac=function(d){return new(d||Sr)},Sr.\u0275cmp=e.Xpm({type:Sr,selectors:[["cvc-string-tag"]],inputs:{cvcLabel:"cvcLabel",cvcEmphasize:"cvcEmphasize",cvcMode:"cvcMode",cvcContext:"cvcContext"},outputs:{cvcOnClose:"cvcOnClose"},decls:5,vars:3,consts:[["class","default",4,"ngIf"],["class","select-item",4,"ngIf"],["class","multi-select-item",4,"ngIf"],["tagContent",""],[1,"default"],[3,"nzMode","nzOnClose"],[3,"ngTemplateOutlet"],[1,"select-item"],[1,"multi-select-item"],["nz-icon","","nzType","question-circle","nzTheme","outline",4,"ngIf"],[3,"innerHtml"],["nz-icon","","nzType","question-circle","nzTheme","outline"]],template:function(d,c){1&d&&(e.YNc(0,Hu,3,2,"span",0),e.YNc(1,Yu,3,2,"span",1),e.YNc(2,$u,2,1,"span",2),e.YNc(3,w1,3,5,"ng-template",null,3,e.W1O)),2&d&&(e.Q6J("ngIf","default"===c.cvcContext),e.xp6(1),e.Q6J("ngIf","select-item"===c.cvcContext),e.xp6(1),e.Q6J("ngIf","multi-select-item"===c.cvcContext))},dependencies:[S.O5,S.tP,_t.Ls,Yt.j,P.A]});const Ec=jt($t(),Ql);class Vs extends Ec{constructor(d){super(),this.cdr=d,this.defaultOptions={modelOptions:{updateOn:"blur"},props:{label:"Enter value",placeholder:"Enter value and hit Return"}},this.tags$=new Je.x,this.values=new Set}onEnter(d){let c=d.target;c.value&&(this.values.add(c.value),c.value="");let y=Array.from(this.values);this.tags$.next(y),this.formControl.setValue(y)}tagClosed(d){this.values.delete(d);let c=Array.from(this.values);this.tags$.next(c),this.formControl.setValue(c),this.tags$.next(c)}ngAfterViewInit(){this.configureBaseField(),this.configureStringTagField(),this.formControl.value&&Array.isArray(this.formControl.value)&&(this.formControl.value.forEach(d=>this.values.add(d)),this.tags$.next(this.formControl.value),this.cdr.detectChanges())}}Vs.\u0275fac=function(d){return new(d||Vs)(e.Y36(e.sBO))},Vs.\u0275cmp=e.Xpm({type:Vs,selectors:[["cvc-tag-input"]],features:[e.qOj],decls:5,vars:6,consts:[[3,"cvcMode","cvcLabel","cvcOnClose",4,"ngFor","ngForOf"],["nz-input","",3,"placeholder","keydown.enter"],["hidden","","nz-input","",3,"formControl","formlyAttributes"],[3,"cvcMode","cvcLabel","cvcOnClose"]],template:function(d,c){1&d&&(e.TgZ(0,"div"),e.YNc(1,Wl,1,2,"cvc-string-tag",0),e.ALo(2,"ngrxPush"),e.TgZ(3,"input",1),e.NdJ("keydown.enter",function(ie){return c.onEnter(ie)}),e.qZA()(),e._UZ(4,"input",2)),2&d&&(e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,4,c.tags$)),e.xp6(2),e.Q6J("placeholder",c.props.placeholder),e.xp6(1),e.Q6J("formControl",c.formControl)("formlyAttributes",c.field))},dependencies:[S.sg,t.Fj,t.JJ,t.oH,g.JD,Ae.Zp,Sr,I.fM],changeDetection:0});class pr{}pr.\u0275fac=function(d){return new(d||pr)},pr.\u0275mod=e.oAB({type:pr}),pr.\u0275inj=e.cJS({imports:[S.ez,_t.PV,Yt.X,xt.s]});const P1={types:[{name:"tag-input",wrappers:["form-field"],component:Vs},{name:"tag-multi-input",wrappers:["form-field"],component:Vs,defaultOptions:{props:{isRepeatItem:!0}}}]};class Hr{}Hr.\u0275fac=function(d){return new(d||Hr)},Hr.\u0275mod=e.oAB({type:Hr}),Hr.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(P1),$e.F,Ae.o7,s.U5,pr]});const Zl=jt($t());class qr extends Zl{constructor(){super(...arguments),this.defaultOptions={props:{label:"TEXTAREA!"}}}}qr.\u0275fac=function(){let f;return function(c){return(f||(f=e.n5z(qr)))(c||qr)}}(),qr.\u0275cmp=e.Xpm({type:qr,selectors:[["formly-field-nz-textarea"]],features:[e.qOj],decls:1,vars:3,consts:[["nz-input","",3,"rows","formControl","formlyAttributes"]],template:function(d,c){1&d&&e._UZ(0,"textarea",0),2&d&&e.Q6J("rows",c.props.rows?c.props.rows:2)("formControl",c.formControl)("formlyAttributes",c.field)},dependencies:[t.Fj,t.JJ,t.oH,g.JD,Ae.Zp],encapsulation:2,changeDetection:0});const Sc={types:[{name:"textarea",component:qr,wrappers:["form-field"]}]};class Yr{}var Ua;function xc(f,d){1&f&&e._UZ(0,"span",7)}function Jl(f,d){1&f&&e._UZ(0,"span",8)}Yr.\u0275fac=function(d){return new(d||Yr)},Yr.\u0275mod=e.oAB({type:Yr}),Yr.\u0275inj=e.cJS({imports:[S.ez,t.UX,g.X0.forChild(Sc),Ae.o7,ct]});const Dc=function(){return[0,0]},I1={name:void 0};let Ta=((Ua=class{set cvcSearchString(d){d&&this.searchString$.next(d)}constructor(d,c){this.query=d,this.errors=c,this.cvcOnCreate=new e.vpe,this.model=I1,this.form=new t.nJ({}),this.options={},this.onSubmit$=new Je.x,this.searchString$=new it.X(void 0),this.queryMutator=new Ft.U(this.errors),this.isSubmitting$=new it.X(!1),this.submitSuccess$=new it.X(!1),this.submitError$=new it.X([]),this.addTherapyMutator=new Ft.U(this.errors),this.fields=[{key:"name",props:{hidden:!0,required:!0}}],this.searchString$.pipe((0,Pe.t)(this)).subscribe(y=>{this.model.name=y}),this.onSubmit$.pipe((0,Pe.t)(this)).subscribe(y=>{console.log("therapy-quick-add form model submitted.",y),this.submitTherapy(y)})}submitTherapy(d){if(!d.name)return void console.error("therapy-quick-add form submitTherapy requires model with valid name.");let c=this.addTherapyMutator.mutate(this.query,{name:d.name},{},y=>{console.log("therapy-quick-add submit data callback",y),y.addTherapy&&this.cvcOnCreate.next(y.addTherapy.therapy.id)});c.submitSuccess$.pipe((0,Pe.t)(this)).subscribe(y=>{console.log("therapy-quick-add submitSuccess$",y),this.submitSuccess$.next(y)}),c.submitError$.pipe((0,Pe.t)(this)).subscribe(y=>{console.log("therapy-quick-add submitError$",y),this.submitError$.next(y)}),c.isSubmitting$.pipe((0,Pe.t)(this)).subscribe(y=>{this.isSubmitting$.next(y)})}}).\u0275fac=function(d){return new(d||Ua)(e.Y36(bn.Y_K),e.Y36(Gt.Y))},Ua.\u0275cmp=e.Xpm({type:Ua,selectors:[["cvc-therapy-quick-add-form"]],inputs:{cvcSearchString:"cvcSearchString"},outputs:{cvcOnCreate:"cvcOnCreate"},decls:14,vars:17,consts:[[3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"],["nz-icon","","nzType","plus-circle","nzTheme","outline",4,"ngIf"],["nz-icon","","nzType","loading","nzTheme","outline",4,"ngIf"],["nz-icon","","nzType","plus-circle","nzTheme","outline"],["nz-icon","","nzType","loading","nzTheme","outline"]],template:function(d,c){1&d&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(1,"nz-row",1)(2,"nz-col",2)(3,"formly-form",3),e.NdJ("modelChange",function(ie){return c.model=ie}),e.qZA()(),e.TgZ(4,"nz-col",2)(5,"button",4),e.YNc(6,xc,1,0,"span",5),e.ALo(7,"ngrxPush"),e.YNc(8,Jl,1,0,"span",6),e.ALo(9,"ngrxPush"),e._uU(10," Create Therapy\xa0"),e.TgZ(11,"i"),e._uU(12),e.ALo(13,"ngrxPush"),e.qZA()()()()()),2&d&&(e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(16,Dc)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("disabled",!c.form.valid),e.xp6(1),e.Q6J("ngIf",!e.lcZ(7,10,c.isSubmitting$)),e.xp6(2),e.Q6J("ngIf",e.lcZ(9,12,c.isSubmitting$)),e.xp6(4),e.Oqu(e.lcZ(13,14,c.searchString$)))},dependencies:[S.O5,t._Y,t.JL,t.sg,g.T7,$n.ix,un.w,pn.dQ,_t.Ls,w.t3,w.SK,I.fM],encapsulation:2,changeDetection:0}),Ua);Ta=(0,Te.gn)([(0,Pe.c)()],Ta);const A1=["optionTemplates"];function Oc(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"strong"),e._uU(2,"NCIt ID:"),e.qZA(),e._UZ(3,"span",9),e.ALo(4,"highlightTypeahead"),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(3),e.Q6J("innerHtml",e.xi3(4,1,c.ncitId,y),e.oJD)}}function F1(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"strong"),e._uU(2,"Aliases: "),e.qZA(),e.TgZ(3,"em"),e._UZ(4,"span",10),e.ALo(5,"highlightTypeahead"),e.qZA(),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(4),e.Q6J("nzTooltipTitle",c.therapyAliases.join(", "))("innerHtml",e.xi3(5,2,c.therapyAliases.join(", "),y),e.oJD)}}function ja(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",6),e.TgZ(1,"span",7),e.YNc(2,Oc,5,4,"ng-container",8),e.YNc(3,F1,6,5,"ng-container",8),e.qZA()),2&f){const c=e.oxw().$implicit,y=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",y),e.xp6(2),e.Q6J("ngIf",c.ncitId),e.xp6(1),e.Q6J("ngIf",c.therapyAliases.length>0)}}function Kl(f,d){1&f&&(e.ynx(0),e.YNc(1,ja,4,5,"ng-template",null,5,e.W1O),e.BQk())}function Ga(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Kl,3,0,"ng-container",4),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function ql(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",11)(1,"cvc-entity-tag",12),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Therapy:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}function wc(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-therapy-quick-add-form",13),e.NdJ("cvcOnCreate",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onPopulate$.next(ie))}),e.qZA()}2&f&&e.Q6J("cvcSearchString",d.$implicit)}const N1=jt($t(),To());class Xr extends N1{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.defaultOptions={props:{entityName:{singular:"Therapy",plural:"Therapies"},isMultiSelect:!1,requireType:!0,tooltip:"Therapy or therapy combination which interacts with the specified variant",placeholder:"Search Therapies",requireTypePromptFn:(ie,ht)=>`Select an ${ie} Type to search associated Therapies`}},this.placeholder$=new it.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){if(this.state&&(this.stateEntityName=this.state.entityName,this.state.requires.requiresTherapy$?this.onRequiresTherapy$=this.state.requires.requiresTherapy$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresTherapy$ subject to attach.`),this.props.requireType)){const d=`${this.stateEntityName.toLowerCase()}Type$`;this.state.fields[d]?this.onEntityType$=this.state.fields[d]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${d}.`)}}configurePlaceholders(){this.placeholder$.next(this.props.placeholder),this.onRequiresTherapy$&&this.onEntityType$&&(0,ro.a)([this.onRequiresTherapy$,this.onEntityType$]).pipe((0,Po.x)(),(0,Pe.t)(this)).subscribe(([d,c])=>{!d&&c?(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,J.E)(c)} ${this.state.entityName} does not include associated therapies`,this.props.extraType="prompt",this.resetField(),this.cdr.markForCheck()):this.props.requireType&&!c?(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"):d?(this.props.required=!0,this.props.disabled=!1,this.props.description=void 0,this.props.extraType=void 0):(!d&&this.formControl.value||this.props.requireType&&!c&&this.formControl.value)&&(this.resetField(),console.log("HERE2"))})}getTypeaheadVarsFn(d){return{name:d}}getTypeaheadResultsFn(d){return d.data.therapyTypeahead}getTagQueryVarsFn(d){return{id:d}}getTagQueryResultsFn(d){return d.data.therapy}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}Xr.\u0275fac=function(d){return new(d||Xr)(e.Y36(bn.cIw),e.Y36(bn.sjj),e.Y36(e.sBO))},Xr.\u0275cmp=e.Xpm({type:Xr,selectors:[["cvc-therapy-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(A1,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:12,vars:26,consts:[[3,"cvcAddEntity","cvcCustomTemplate","cvcDisabled","cvcEntityName","cvcFormControl","cvcFormlyAttributes","cvcLoading","cvcOptions","cvcPlaceholder","cvcResults","cvcSelectMode","cvcShowError","cvcSelectOpen","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],["addTherapy",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],[3,"innerHtml"],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcSearchString","cvcOnCreate"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.qZA(),e.YNc(7,Ga,3,3,"ng-container",1),e.YNc(8,ql,2,3,"ng-template",null,2,e.W1O),e.YNc(10,wc,1,1,"ng-template",null,3,e.W1O)),2&d){const y=e.MAs(9),ie=e.MAs(11);e.Q6J("cvcAddEntity",ie)("cvcCustomTemplate",y)("cvcDisabled",c.onRequiresTherapy$&&!e.lcZ(1,14,c.onRequiresTherapy$))("cvcEntityName",c.props.entityName)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcLoading",e.lcZ(2,16,c.isLoading$))("cvcOptions",e.lcZ(3,18,c.selectOption$))("cvcPlaceholder",e.lcZ(4,20,c.placeholder$))("cvcResults",e.lcZ(5,22,c.result$))("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcShowError",c.showError)("cvcSelectOpen",e.lcZ(6,24,c.selectOpen$)),e.xp6(7),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,I.eJ,At.SY,pe.ZU,Ue,Tt.J,Ta,I.fM,P.A],changeDetection:0});const Uu={types:[{name:"therapy-select",wrappers:["form-field"],component:Xr,defaultOptions:{props:{label:"Therapy"}}},{name:"therapy-multi-select",wrappers:["form-field"],component:Xr,defaultOptions:{props:{label:"Therapies",isMultiSelect:!0}}}]};class Wi{}Wi.\u0275fac=function(d){return new(d||Wi)},Wi.\u0275mod=e.oAB({type:Wi}),Wi.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(Uu),Sn.L,$n.sL,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,Yt.X,ct,jn,xt.s,Zt.x]});const ju=["optionTemplates"];function Qa(f,d){if(1&f&&e._UZ(0,"cvc-attribute-tag",4),2&f){const c=e.oxw().$implicit;e.Q6J("cvcAttrValue",c)}}function L1(f,d){1&f&&(e.ynx(0),e.YNc(1,Qa,1,1,"ng-template",null,3,e.W1O),e.BQk())}function al(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",5)(1,"cvc-attribute-tag",6),e.NdJ("cvcOnClose",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onTagClose$.next(ie))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcAttrValue",c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const bl={DIAGNOSTIC:"Evidence pertains to a variant's impact on patient diagnosis (cancer subtype).",PREDICTIVE:"Evidence pertains to a variant's effect on therapeutic response.",PROGNOSTIC:"Evidence pertains to a variant's impact on disease progression, severity, or patient survival.",PREDISPOSING:"Evidence pertains to a germline variant's role in conferring susceptibility to disease (including pathogenicity evaluations).",ONCOGENIC:"Evidence pertains to a somatic variant's involvement in tumor pathogenesis as described by the Hallmarks of Cancer.",FUNCTIONAL:"Evidence pertains to a variant that alters biological function from the reference state."},Pc=jt($t(),pt());class Ic extends Pc{constructor(d){super(),this.cdr=d,this.defaultOptions={props:{label:"ENTITY_NAME Type",entityName:{singular:"Entity",plural:"Entities"},placeholder:"Select an ENTITY_NAME Type",isMultiSelect:!1}},this.typeEnums$=new it.X([])}ngAfterViewInit(){this.configureBaseField(),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,Ge.h)(d=>d),(0,Do.q)(1),(0,Pe.t)(this)).subscribe(d=>{this.configureField()}):this.configureField()}configureField(){this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{d?(this.props.description=bl[d],this.props.extraType="description"):(this.props.description=void 0,this.props.extraType=void 0)}),this.state?(this.props.placeholder=this.props.placeholder.replace("ENTITY_NAME",this.state.entityName),this.props.label=this.props.label.replace("ENTITY_NAME",this.state.entityName),this.props.tooltip=`Type of clinical outcome associated with the ${this.state.entityName} statement.`,this.state.enums.entityType$?(this.state.enums.entityType$.pipe((0,Pe.t)(this)).subscribe(d=>{this.typeEnums$.next(d)}),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(d=>d.map(c=>c))),this.configureEnumSelect()):console.error(`${this.field.id} could not find state's enums.inputEnum$ to populate its select options.`)):console.error(`${this.field.id} requires a form state to configure itself, none was found.`)}configureEnumSelect(){this.configureEnumSelectField({optionEnum$:this.typeEnums$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}}Ic.\u0275fac=function(d){return new(d||Ic)(e.Y36(e.sBO))},Ic.\u0275cmp=e.Xpm({type:Ic,selectors:[["cvc-type-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(ju,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:6,vars:13,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[3,"cvcAttrValue"],[1,"ant-select-selection-item-content"],[3,"cvcAttrValue","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.YNc(2,L1,3,0,"ng-container",1),e.ALo(3,"ngrxPush"),e.YNc(4,al,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(5);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",c.props.placeholder)("cvcCustomTemplate",y)("cvcOptions",e.lcZ(1,9,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(2),e.Q6J("ngForOf",e.lcZ(3,11,c.typeEnums$))}},dependencies:[S.sg,Qe,We,I.fM],changeDetection:0});const Wa={types:[{name:"type-select",wrappers:["form-field"],component:Ic}]};class Ma{}Ma.\u0275fac=function(d){return new(d||Ma)},Ma.\u0275mod=e.oAB({type:Ma}),Ma.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(Wa),ct,Ye,oe]});var ba=a(6805);function Xl(f,d){const c="object"==typeof d;return new Promise((y,ie)=>{let It,ht=!1;f.subscribe({next:Mn=>{It=Mn,ht=!0},error:ie,complete:()=>{ht?y(It):c?y(d.defaultValue):ie(new ba.K)}})})}const Bs={isDefaultCol:f=>"default"===f.type,isSelectCol:f=>"select"===f.type,isEntityTagCol:f=>"entity-tag"===f.type,isEnumTagCol:f=>"enum-tag"===f.type,isTextTagCol:f=>"text-tag"===f.type},Wu=f=>void 0!==f.sort,Hs=f=>void 0!==f.filter,R1={diseases:bn.pP7.DiseaseName,gene:bn.pP7.EntrezSymbol,therapies:bn.pP7.TherapyName,variant:bn.pP7.VariantName},Ja={diseases:"diseaseName",therapies:"therapyName",variant:"variantName",gene:"entrezSymbol",aliases:"variantAlias"},tu=["selected","id"];class oa{constructor(){this.sortStreams=[],this.filterStreams=[],this.config=this.configureColumnStreams([{key:"selected",label:"Select",type:"select",width:"25px",align:"center",fixedLeft:!0,checkbox:{th:{showCheckbox:!1},td:{showCheckbox:!0}}},{key:"id",label:"ID",hidden:!0,type:"hidden",width:"0px"},{key:"variant",label:"Variant",type:"entity-tag",width:"215px",context:"variant",fixedLeft:!0,showStatus:!0,tag:{fullWidth:!0,truncateLabel:"200px"},sort:{default:"ascend"},filter:{inputType:"default",options:[{key:"Filter Variant Name",value:null}]}},{key:"aliases",label:"Aliases",type:"default",width:"150px",objectKey:"name",sort:{},filter:{inputType:"default",options:[{key:"Filter Aliases",value:null}]}},{key:"gene",label:"Gene",type:"entity-tag",width:"135px",tag:{truncateLabel:"125px"},sort:{},filter:{inputType:"default",options:[{key:"Filter Gene Name",value:null}]}},{key:"diseases",label:"Diseases",type:"entity-tag",width:"250px",sort:{},tag:{maxTags:1,truncateLabel:"175px"},filter:{inputType:"default",typename:"Therapy",options:[{key:"Filter Therapy Names",value:null}]}},{key:"therapies",label:"Therapies",type:"entity-tag",width:"275px",sort:{},tag:{maxTags:2,truncateLabel:"150px"},filter:{inputType:"default",typename:"Therapy",options:[{key:"Filter Therapy Names",value:null}]}}])}get(){return this.config}getSortStreams(){return this.sortStreams}getFilterStreams(){return this.filterStreams}getAttributeFilters(d,c){return d.getValues().map(ie=>({text:(0,J.E)(ie),value:ie,byDefault:c===ie}))}configureColumnStreams(d){return d.forEach(c=>{const y=c;if(Wu(y)&&(y.sort.changes=new it.X({key:y.key,value:y.sort.default??null}),this.sortStreams.push(y.sort.changes)),Hs(y)){const ie=y.filter.options.find(ht=>ht.byDefault)?.value;y.filter.changes=new it.X({key:y.key,value:ie??null}),this.filterStreams.push(y.filter.changes)}}),d}}var Ea;let xr=((Ea=class{set cvcTableScrollerToIndex(d){void 0!==d&&this.scrollToIndex(d)}set cvcTableScrollerToOffset(d){void 0!==d&&this.scrollToIndex(d)}constructor(d){this.host=d,this.cvcTableScrollerOnScroll=new e.vpe,this.cvcTableScrollerOnFetch=new e.vpe,this.cvcTableScrollerTargetHeight=140,this.cvcTableScrollerFetchCount=50,this.onLoadThrottleTime=500,this.onScrollThrottleTime=250,this.onScrollDebounceTime=300}ngAfterViewInit(){if(!this.host||!this.host.cdkVirtualScrollViewport)throw new Error("cvcTableScroller directive could not obtain reference to host cdkVirtualScrollViewport.");this.viewport=this.host.cdkVirtualScrollViewport,this.scrolled$=this.viewport.elementScrolled(),this.rendered$=this.viewport.renderedRangeStream,this.rendered$.pipe((0,Ce.P)()).subscribe(()=>this.viewport.checkViewportSize()),this.scrolled$.pipe((0,Co.p)(this.onScrollThrottleTime,pi.z,{leading:!0,trailing:!0}),(0,Fn.b)(d=>this.cvcTableScrollerOnScroll.next("scroll")),(0,Ki.b)(this.onScrollDebounceTime),(0,Pe.t)(this)).subscribe(d=>{this.cvcTableScrollerOnScroll.next("stop")}),this.scrolled$.pipe((0,yt.U)(d=>this.viewport.measureScrollOffset("bottom")),(0,de.G)(),(0,Ge.h)(([d,c])=>c{this.cvcTableScrollerOnScroll.next("bottom");try{this.loadMore(this.cvcTableScrollerPageInfo)}catch(c){console.error(c)}})}loadMore(d){const c=this.cvcTableScrollerQueryRef;if(!d&&c)throw new Error("table-scroll directive requires PageInfo to use provided QueryRef.");if(d&&!c)throw new Error("table-scroll directive requires valid QueryRef when PageInfo provided.");if(d&&c){const[y,ie,ht]=[this.cvcTableScrollerFetchCount,d.hasNextPage,d.endCursor];if(!y||!ht)throw new Error("table-scroll PageInfo invalid.");if(!ie)return;this.cvcTableScrollerOnFetch.next({first:y,after:ht})}}scrollToIndex(d){const[c,y]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!y)throw new Error("table-scroll scrollToIndex() cannot find host viewport.");y.scrollToIndex(d)}scrollToOffset(d){const[c,y]=[this.host,this.host.cdkVirtualScrollViewport];if(!c||!y)throw new Error("table-scroll scrollToOffset() cannot find host viewport.");y.scrollToOffset(d)}}).\u0275fac=function(d){return new(d||Ea)(e.Y36(Oo.N8))},Ea.\u0275dir=e.lG2({type:Ea,selectors:[["","cvcTableScroller",""]],inputs:{cvcTableScrollerTargetHeight:"cvcTableScrollerTargetHeight",cvcTableScrollerQueryRef:"cvcTableScrollerQueryRef",cvcTableScrollerPageInfo:"cvcTableScrollerPageInfo",cvcTableScrollerFetchCount:"cvcTableScrollerFetchCount",cvcTableScrollerToIndex:"cvcTableScrollerToIndex",cvcTableScrollerToOffset:"cvcTableScrollerToOffset"},outputs:{cvcTableScrollerOnScroll:"cvcTableScrollerOnScroll",cvcTableScrollerOnFetch:"cvcTableScrollerOnFetch"}}),Ea);function V1(f,d){1&f&&e._UZ(0,"span",8)}function Fc(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"span",9),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const ie=e.MAs(3),ht=e.oxw();return ie.value="",e.KtG(ht.cvcModelChange.next(null))}),e.qZA()}}function xd(f,d){if(1&f&&(e.YNc(0,V1,1,0,"span",6),e.YNc(1,Fc,1,0,"span",7)),2&f){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function Nc(f,d){if(1&f){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",2)(2,"input",3,4),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.cvcModelChange.next(ie))}),e.qZA()(),e.YNc(4,xd,2,2,"ng-template",null,5,e.W1O),e.BQk()}if(2&f){const c=e.MAs(5),y=e.oxw();e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",y.cvcPlaceholder)("ngModel",y.cvcModel)}}function nu(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-input-number-group",10)(1,"nz-input-number",11,4),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.cvcModelChange.next(""===ie?null:ie))}),e.qZA()()}if(2&f){const c=e.oxw();let y;e.xp6(1),e.Q6J("nzPlaceHolder",null!==(y=c.cvcPlaceholder)&&void 0!==y?y:"")("ngModel",c.cvcModel)("nzMin",1)("nzStep",1)}}xr=(0,Te.gn)([(0,Pe.c)()],xr);class Ys{constructor(){this.cvcModel=null,this.cvcModelChange=new e.vpe,this.cvcInputType="default"}}function Zu(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"li",5),e.NdJ("click",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.cvcOptionChange.next({key:It.cvcColumnKey,value:ht.value}))}),e._UZ(1,"cvc-attribute-tag",6),e.qZA()}if(2&f){const c=d.$implicit,y=e.oxw();e.Q6J("nzSelected",(null==y.cvcOption?null:y.cvcOption.value)===c.value),e.xp6(1),e.Q6J("cvcFullWidth",!0)("cvcChecked",(null==y.cvcOption?null:y.cvcOption.value)===c.value)("cvcAttrValue",c.value)}}Ys.\u0275fac=function(d){return new(d||Ys)},Ys.\u0275cmp=e.Xpm({type:Ys,selectors:[["cvc-table-filter-input"]],inputs:{cvcModel:"cvcModel",cvcInputType:"cvcInputType",cvcPlaceholder:"cvcPlaceholder"},outputs:{cvcModelChange:"cvcModelChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","ngModelChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"]],template:function(d,c){if(1&d&&(e.YNc(0,Nc,6,3,"ng-container",0),e.YNc(1,nu,3,4,"ng-template",null,1,e.W1O)),2&d){const y=e.MAs(2);e.Q6J("ngIf","default"===c.cvcInputType)("ngIfElse",y)}},dependencies:[S.O5,t.Fj,t.JJ,t.On,un.w,_t.Ls,Ae.Zp,Ae.gB,Ae.ke,Ni._V,Ni.Rb]});class $r{constructor(){this.cvcOptionChange=new e.vpe}}var Sa;function xa(f,d){if(1&f&&e._UZ(0,"th",14),2&f){const c=d.ngIf;let y;e.Q6J("nzShowCheckbox",c.checkbox.th.showCheckbox||!1)("nzWidth",c.width)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function Ju(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"th",15),e.NdJ("nzSortOrderChange",function(ie){const It=e.CHM(c).ngIf;return e.KtG(It.sort.changes.next({key:It.key,value:ie}))}),e.ALo(1,"ngrxPush"),e.TgZ(2,"span",16),e._uU(3),e.qZA()()}if(2&f){const c=d.ngIf;let y,ie;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",void 0!==c.sort)("nzSortFn",!0)("nzSortOrder",(null==(ie=e.lcZ(1,10,c.sort.changes))?null:ie.value)||null),e.xp6(2),e.Q6J("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function Ka(f,d){if(1&f&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function qa(f,d){if(1&f&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function Lc(f,d){if(1&f&&(e.TgZ(0,"th",17),e._uU(1),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzTooltipTitle",c.tooltip),e.xp6(1),e.hij(" ",c.label," ")}}function B1(f,d){if(1&f&&(e.ynx(0),e.YNc(1,xa,1,5,"th",11),e.ALo(2,"guardType"),e.YNc(3,Ju,4,12,"th",12),e.ALo(4,"guardType"),e.YNc(5,Ka,2,7,"th",13),e.ALo(6,"guardType"),e.YNc(7,qa,2,7,"th",13),e.ALo(8,"guardType"),e.YNc(9,Lc,2,7,"th",13),e.ALo(10,"guardType"),e.BQk()),2&f){const c=e.oxw().$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,5,c,y.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,8,c,y.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,11,c,y.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,14,c,y.colGuards.isTextTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(10,17,c,y.colGuards.isDefaultCol))}}function kc(f,d){if(1&f&&(e.ynx(0),e.YNc(1,B1,11,20,"ng-container",10),e.BQk()),2&f){const c=d.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function H1(f,d){if(1&f&&(e.TgZ(0,"th",22),e._uU(1," \xa0 "),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzWidth",c.width)("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function Xa(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-table-filter-input",25),e.NdJ("cvcModelChange",function(ie){const It=e.CHM(c).ngIf,Mn=e.oxw().ngIf;return e.KtG(It.changes.next({key:Mn.key,value:ie}))}),e.qZA()}if(2&f){const c=e.oxw().ngIf;e.Q6J("cvcInputType",c.filter.inputType)("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function ec(f,d){if(1&f&&(e.TgZ(0,"th",23),e.YNc(1,Xa,1,3,"cvc-table-filter-input",24),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.filter)}}function ia(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"th",26,27),e.NdJ("nzSortOrderChange",function(ie){const It=e.CHM(c).ngIf;return e.KtG(It.sort.changes.next({key:It.key,value:ie}))}),e.ALo(2,"ngrxPush"),e.TgZ(3,"nz-filter-trigger",28,29),e.ALo(5,"ngrxPush"),e._UZ(6,"span",30),e.qZA(),e.TgZ(7,"nz-dropdown-menu",null,31)(9,"cvc-enum-filter-menu",32),e.NdJ("cvcOptionChange",function(ie){const It=e.CHM(c).ngIf,Mn=e.MAs(4);return It.filter.changes.next(ie),e.KtG(Mn.nzVisible=!1)}),e.ALo(10,"ngrxPush"),e.qZA()()()}if(2&f){const c=d.ngIf,y=e.MAs(8);let ie,ht,It;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(ie=c.align)&&void 0!==ie?ie:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzShowSort",!0)("nzSortFn",!0)("nzSortOrder",(null==(ht=e.lcZ(2,15,c.sort.changes))?null:ht.value)||null)("nzShowFilter",void 0!==c.filter)("nzFilterFn",!0),e.xp6(3),e.Q6J("nzDropdownMenu",y)("nzActive",null!==(null==(It=e.lcZ(5,17,c.filter.changes))?null:It.value)),e.xp6(6),e.Q6J("cvcColumnKey",c.key)("cvcFilterOptions",c.filter.options)("cvcOption",e.lcZ(10,19,c.filter.changes))}}function Dd(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"th",33,27)(2,"nz-filter-trigger",28),e.ALo(3,"ngrxPush"),e._UZ(4,"span",34),e.qZA(),e.TgZ(5,"nz-dropdown-menu",null,35)(7,"div",36)(8,"div",37)(9,"cvc-table-filter-input",38),e.NdJ("cvcModelChange",function(ie){const It=e.CHM(c).ngIf;return e.KtG(It.filter.changes.next({key:It.key,value:ie}))}),e.qZA()()()()()}if(2&f){const c=d.ngIf,y=e.MAs(6);let ie,ht;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(ie=c.align)&&void 0!==ie?ie:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)("nzFilterFn",!0),e.xp6(2),e.Q6J("nzDropdownMenu",y)("nzActive",null!==(null==(ht=e.lcZ(3,10,c.filter.changes))?null:ht.value)),e.xp6(7),e.Q6J("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function ll(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-table-filter-input",38),e.NdJ("cvcModelChange",function(ie){const It=e.CHM(c).ngIf,Mn=e.oxw().ngIf;return e.KtG(It.changes.next({key:Mn.key,value:ie}))}),e.qZA()}if(2&f){const c=e.oxw().ngIf;e.Q6J("cvcPlaceholder",c.filter.options[0].key)("cvcModel",c.filter.options[0].value)}}function Od(f,d){if(1&f&&(e.TgZ(0,"th",23),e.YNc(1,ll,1,2,"cvc-table-filter-input",39),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzColumnKey",c.key)("nzWidth",c.width)("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.filter)}}function ul(f,d){if(1&f&&(e.ynx(0),e.YNc(1,H1,2,5,"th",18),e.ALo(2,"guardType"),e.YNc(3,ec,2,6,"th",19),e.ALo(4,"guardType"),e.YNc(5,ia,11,21,"th",20),e.ALo(6,"guardType"),e.YNc(7,Dd,10,12,"th",21),e.ALo(8,"guardType"),e.YNc(9,Od,2,6,"th",19),e.ALo(10,"guardType"),e.BQk()),2&f){const c=e.oxw().$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,5,c,y.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,8,c,y.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,11,c,y.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,14,c,y.colGuards.isTextTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(10,17,c,y.colGuards.isDefaultCol))}}function El(f,d){if(1&f&&(e.ynx(0),e.YNc(1,ul,11,20,"ng-container",10),e.BQk()),2&f){const c=d.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function dl(f,d){if(1&f&&(e.TgZ(0,"thead")(1,"tr",7),e.YNc(2,kc,2,1,"ng-container",8),e.qZA(),e.TgZ(3,"tr",9),e.YNc(4,El,2,1,"ng-container",8),e.qZA()()),2&f){const c=d.ngrxLet;e.xp6(2),e.Q6J("ngForOf",c),e.xp6(2),e.Q6J("ngForOf",c)}}function Y1(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"td",45),e.NdJ("nzCheckedChange",function(ie){e.CHM(c);const ht=e.oxw(3).$implicit,It=e.oxw(2);return e.KtG(It.onRowSelected$.next({id:ht.id,selected:ie}))}),e.qZA()}if(2&f){const c=d.ngIf,y=e.oxw(3).$implicit;let ie;e.Q6J("nzChecked",y.selected)("nzAlign",null!==(ie=c.align)&&void 0!==ie?ie:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1)}}function pl(f,d){1&f&&e.GkF(0)}$r.\u0275fac=function(d){return new(d||$r)},$r.\u0275cmp=e.Xpm({type:$r,selectors:[["cvc-enum-filter-menu"]],inputs:{cvcColumnKey:"cvcColumnKey",cvcFilterOptions:"cvcFilterOptions",cvcOption:"cvcOption"},outputs:{cvcOptionChange:"cvcOptionChange"},decls:6,vars:2,consts:[["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[2,"padding","3px"],["nz-button","","nzType","default","nzBlock","","nzSize","small",3,"disabled","click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-menu-item","",3,"nzSelected","click"],["cvcContext","menu-item",3,"cvcFullWidth","cvcChecked","cvcAttrValue"]],template:function(d,c){1&d&&(e.TgZ(0,"ul",0),e.YNc(1,Zu,2,4,"li",1),e.TgZ(2,"li",2)(3,"button",3),e.NdJ("click",function(){return c.cvcOptionChange.next({key:c.cvcColumnKey,value:null})}),e._UZ(4,"span",4),e._uU(5," Reset "),e.qZA()()()),2&d&&(e.xp6(1),e.Q6J("ngForOf",c.cvcFilterOptions),e.xp6(2),e.Q6J("disabled",null===(null==c.cvcOption?null:c.cvcOption.value)))},dependencies:[S.sg,Qe,$n.ix,un.w,pn.dQ,_t.Ls,ai.wO,ai.r9],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] ul li:hover{background-color:#e6f7ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected{background-color:#1890ff}[_nghost-%COMP%] ul li.ant-dropdown-menu-item-selected:active{background-color:#096dd9}"],changeDetection:0});const wd=function(f,d,c){return{$implicit:f,config:d,emphasize:c}};function Rc(f,d){if(1&f&&(e.ynx(0),e.YNc(1,pl,1,0,"ng-container",51),e.ALo(2,"isArray"),e.ALo(3,"ngrxPush"),e.BQk()),2&f){const c=e.oxw().ngIf,y=e.oxw().ngIf,ie=e.MAs(3),ht=e.MAs(5),It=e.oxw(3).$implicit;let Mn;e.xp6(1),e.Q6J("ngTemplateOutlet",e.lcZ(2,2,It[c])?ie:ht)("ngTemplateOutletContext",e.kEZ(6,wd,It[c],y,null==(Mn=e.lcZ(3,4,y.filter.changes))?null:Mn.value))}}function Sl(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Rc,4,10,"ng-container",50),e.BQk()),2&f){const c=d.ngIf;e.oxw();const y=e.MAs(7),ie=e.oxw(3).$implicit;e.xp6(1),e.Q6J("ngIf",ie[c])("ngIfElse",y)}}const ra=function(f,d,c,y,ie){return{tagList:f,tag:d,showPopover:c,status:y,emphasize:ie}};function Da(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"cvc-entity-collection-tag",53),e.BQk()),2&f){const c=e.oxw(2),y=c.config,ie=c.$implicit,ht=c.emphasize;e.oxw();const It=e.MAs(5),Mn=e.oxw(5);e.xp6(1),e.Q6J("cvcCollectionTagConfig",e.qbA(3,ra,ie.slice(y.tag.maxTags,ie.length),y.tag,!Mn.isScrolling,!0===y.showStatus?ie.status:void 0,ht))("cvcTagTemplate",It)("cvcShowFullLabels",!0)}}function Dr(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"cvc-entity-tag-list",52),e.YNc(2,Da,2,9,"ng-container",10),e.BQk()),2&f){const c=e.oxw(),y=c.config,ie=c.$implicit,ht=c.emphasize;e.oxw();const It=e.MAs(5),Mn=e.oxw(5);e.xp6(1),e.Q6J("cvcTagTemplate",It)("cvcTagListConfig",e.qbA(3,ra,ie.slice(0,y.tag.maxTags),y.tag,!Mn.isScrolling,!0===y.showStatus?ie.status:void 0,ht)),e.xp6(1),e.Q6J("ngIf",ie.slice(y.tag.maxTags,ie.length).length>0)}}function Ku(f,d){if(1&f&&e.YNc(0,Dr,3,9,"ng-container",50),2&f){const c=d.$implicit;e.oxw();const y=e.MAs(7);e.Q6J("ngIf",c.length>0)("ngIfElse",y)}}function Vc(f,d){if(1&f&&e._UZ(0,"cvc-entity-tag",54),2&f){const c=d.$implicit,y=d.config,ie=d.emphasize,ht=e.oxw(6);let It;e.Q6J("cvcTruncateLabel",null==y.tag?null:y.tag.truncateLabel)("cvcLinkableEntity",c)("cvcEmphasize",ie)("cvcShowPopover",!ht.isScrolling)("cvcStatus",!0===y.showStatus?c.status:void 0)("cvcFullWidth",null!==(It=null==y.tag?null:y.tag.fullWidth)&&void 0!==It&&It)}}function qu(f,d){if(1&f&&e._UZ(0,"cvc-empty-value",55),2&f){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function xl(f,d){if(1&f&&(e.TgZ(0,"td",46),e.YNc(1,Sl,2,2,"ng-container",10),e.YNc(2,Ku,1,2,"ng-template",null,47,e.W1O),e.YNc(4,Vc,1,6,"ng-template",null,48,e.W1O),e.YNc(6,qu,1,1,"ng-template",null,49,e.W1O),e.qZA()),2&f){const c=d.ngIf;let y;e.Q6J("nzAlign",null!==(y=c.align)&&void 0!==y?y:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",c.context||c.key)}}function Pd(f,d){if(1&f&&(e._UZ(0,"cvc-attribute-tag",58),e.ALo(1,"evidenceEnumDisplay")),2&f){const c=e.oxw().ngIf,y=e.oxw(3).$implicit,ie=e.oxw(2);e.Q6J("cvcFullWidth",!0)("cvcAttrValue",y[c.key])("cvcTooltip",e.lcZ(1,3,!ie.isScrolling&&y[c.key]))}}function Dl(f,d){if(1&f&&e._UZ(0,"cvc-empty-value",55),2&f){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function Xu(f,d){if(1&f&&(e.TgZ(0,"td",46),e.YNc(1,Pd,2,5,"cvc-attribute-tag",56),e.YNc(2,Dl,1,1,"ng-template",null,57,e.W1O),e.qZA()),2&f){const c=d.ngIf,y=e.MAs(3),ie=e.oxw(3).$implicit;let ht;e.Q6J("nzAlign",null!==(ht=c.align)&&void 0!==ht?ht:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",ie[c.key])("ngIfElse",y)}}function tc(f,d){if(1&f&&(e.TgZ(0,"nz-tag",61),e._UZ(1,"span",62),e.qZA()),2&f){const c=e.oxw().ngIf,y=e.oxw(3).$implicit;e.Q6J("nzTooltipTitle",y[c.key])}}function cp(f,d){if(1&f&&e._UZ(0,"cvc-empty-value",55),2&f){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function Ol(f,d){if(1&f&&(e.TgZ(0,"td",46),e.YNc(1,tc,2,1,"nz-tag",59),e.YNc(2,cp,1,1,"ng-template",null,60,e.W1O),e.qZA()),2&f){const c=d.ngIf,y=e.MAs(3),ie=e.oxw(3).$implicit;let ht;e.Q6J("nzAlign",null!==(ht=c.align)&&void 0!==ht?ht:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",ie[c.key])("ngIfElse",y)}}function $1(f,d){1&f&&e.GkF(0)}const Bc=function(f,d){return{$implicit:f,emphasize:d}};function Id(f,d){if(1&f&&(e.ynx(0),e.YNc(1,$1,1,0,"ng-container",51),e.ALo(2,"isArray"),e.ALo(3,"ngrxPush"),e.BQk()),2&f){const c=d.ngIf,y=e.oxw().ngIf,ie=e.MAs(3),ht=e.MAs(5);let It;e.xp6(1),e.Q6J("ngTemplateOutlet",e.lcZ(2,2,c)?ie:ht)("ngTemplateOutletContext",e.WLB(6,Bc,c,null==(It=e.lcZ(3,4,y.filter.changes))?null:It.value))}}function hl(f,d){1&f&&e.GkF(0)}function ee(f,d){1&f&&(e.ynx(0),e._uU(1,", "),e.BQk())}function G(f,d){if(1&f&&(e.ynx(0),e.YNc(1,hl,1,0,"ng-container",51),e.YNc(2,ee,2,0,"ng-container",10),e.BQk()),2&f){const c=d.$implicit,y=d.last,ie=e.oxw(2).emphasize;e.oxw();const ht=e.MAs(5);e.xp6(1),e.Q6J("ngTemplateOutlet",ht)("ngTemplateOutletContext",e.WLB(3,Bc,c,ie)),e.xp6(1),e.Q6J("ngIf",!y)}}function U1(f,d){if(1&f&&(e.ynx(0),e.YNc(1,G,3,6,"ng-container",8),e.BQk()),2&f){const c=e.oxw().$implicit;e.xp6(1),e.Q6J("ngForOf",c)}}function ou(f,d){if(1&f&&e.YNc(0,U1,2,1,"ng-container",50),2&f){const c=d.$implicit;e.oxw();const y=e.MAs(7);e.Q6J("ngIf",c.length>0)("ngIfElse",y)}}function wl(f,d){if(1&f&&(e._UZ(0,"span",67),e.ALo(1,"highlightTypeahead")),2&f){const c=d.$implicit,y=d.emphasize,ie=e.oxw().ngIf;e.Q6J("innerHtml",e.xi3(1,1,ie.objectKey?c[ie.objectKey]:c,y),e.oJD)}}function lp(f,d){if(1&f&&e._UZ(0,"cvc-empty-value",55),2&f){const c=e.oxw().ngIf;e.Q6J("cvcEmptyCategory",c.emptyValueCategory||"unspecified")}}function kn(f,d){if(1&f&&(e.TgZ(0,"td",63),e.YNc(1,Id,4,9,"ng-container",50),e.YNc(2,ou,1,2,"ng-template",null,64,e.W1O),e.YNc(4,wl,2,4,"ng-template",null,65,e.W1O),e.YNc(6,lp,1,1,"ng-template",null,66,e.W1O),e.qZA()),2&f){const c=d.ngIf,y=e.MAs(7),ie=e.oxw(3).$implicit;let ht;e.Q6J("nzAlign",null!==(ht=c.align)&&void 0!==ht?ht:"left")("nzLeft",c.fixedLeft||!1)("nzRight",c.fixedRight||!1),e.xp6(1),e.Q6J("ngIf",ie[c.key])("ngIfElse",y)}}function bi(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Y1,1,4,"td",42),e.ALo(2,"guardType"),e.YNc(3,xl,8,4,"td",43),e.ALo(4,"guardType"),e.YNc(5,Xu,4,5,"td",43),e.ALo(6,"guardType"),e.YNc(7,Ol,4,5,"td",43),e.ALo(8,"guardType"),e.YNc(9,kn,8,5,"td",44),e.ALo(10,"guardType"),e.BQk()),2&f){const c=e.oxw().$implicit,y=e.oxw(3);e.xp6(1),e.Q6J("ngIf",e.xi3(2,5,c,y.colGuards.isSelectCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(4,8,c,y.colGuards.isEntityTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(6,11,c,y.colGuards.isEnumTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(8,14,c,y.colGuards.isTextTagCol)),e.xp6(2),e.Q6J("ngIf",e.xi3(10,17,c,y.colGuards.isDefaultCol))}}function iu(f,d){if(1&f&&(e.ynx(0),e.YNc(1,bi,11,20,"ng-container",10),e.BQk()),2&f){const c=d.$implicit;e.xp6(1),e.Q6J("ngIf",!c.hidden)}}function ru(f,d){if(1&f&&(e.TgZ(0,"tr",41),e.YNc(1,iu,2,1,"ng-container",8),e.qZA()),2&f){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngForOf",c)}}function j1(f,d){1&f&&(e.TgZ(0,"tbody"),e.YNc(1,ru,2,1,"ng-template",40),e.qZA())}function Rp(f,d){1&f&&e._UZ(0,"span",75)}function up(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"span",76),e.NdJ("click",function(){e.CHM(c),e.oxw(2);const ie=e.MAs(3),ht=e.oxw().filter;return ie.value="",e.KtG(ht.changes.next({key:ht.key,value:null}))}),e.qZA()}}function So(f,d){if(1&f&&(e.YNc(0,Rp,1,0,"span",73),e.YNc(1,up,1,0,"span",74)),2&f){e.oxw();const c=e.MAs(3);e.Q6J("ngIf",!c.value),e.xp6(1),e.Q6J("ngIf",c.value)}}function Ad(f,d){if(1&f){const c=e.EpF();e.ynx(0),e.TgZ(1,"nz-input-group",69)(2,"input",70,71),e.NdJ("nzFilterChange",function(ie){e.CHM(c);const ht=e.oxw().filter;return e.KtG(ht.changes.next({key:ht.key,value:ie}))}),e.qZA()(),e.YNc(4,So,2,2,"ng-template",null,72,e.W1O),e.BQk()}if(2&f){const c=e.MAs(5),y=e.oxw().filter;e.xp6(1),e.Q6J("nzSuffix",c),e.xp6(1),e.Q6J("placeholder",y.placeholder)("ngModel",y.defaultValue)}}function Fd(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-input-number-group",77)(1,"nz-input-number",78,71),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw().filter;return e.KtG(ht.changes.next({key:ht.key,value:ie}))}),e.qZA()()}if(2&f){const c=e.oxw().filter;e.xp6(1),e.Q6J("nzPlaceHolder",c.placeholder)("ngModel",c.defaultValue)("nzMin",1)("nzStep",1)}}function dp(f,d){if(1&f&&(e.YNc(0,Ad,6,3,"ng-container",50),e.YNc(1,Fd,3,4,"ng-template",null,68,e.W1O)),2&f){const c=d.filter,y=e.MAs(2);e.Q6J("ngIf",void 0===c.inputType||"default"===c.inputType)("ngIfElse",y)}}const zh=function(){return[6,6]};function Hc(f,d){1&f&&(e.TgZ(0,"nz-row",79)(1,"nz-col")(2,"span"),e._uU(3,"Use checkboxes to select or deselect EIDs"),e.qZA()()()),2&f&&e.Q6J("nzGutter",e.DdM(1,zh))}function Yc(f,d){1&f&&(e.TgZ(0,"nz-tag",90),e._UZ(1,"i",91),e.TgZ(2,"span"),e._uU(3,"Loading\u2026"),e.qZA()())}const G1=function(f){return{$implicit:f}};function $c(f,d){if(1&f&&(e.TgZ(0,"nz-tag",94),e._UZ(1,"span",95),e.TgZ(2,"span",96),e._uU(3),e.qZA()()),2&f){e.oxw();const c=e.MAs(4),y=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,G1,y.query)),e.xp6(1),e.hij(" Query Error",y.query.length>1?"s":""," ")}}function pp(f,d){if(1&f&&(e.TgZ(0,"nz-tag",94)(1,"span",96)(2,"span",97)(3,"strong"),e._uU(4),e.qZA()()()()),2&f){e.oxw();const c=e.MAs(4),y=e.oxw().ngrxLet;e.xp6(1),e.Q6J("nzTooltipTitle",c)("nzTooltipTitleContext",e.VKq(3,G1,y.network)),e.xp6(3),e.hij(" Network Error",y.query.length>1?"s":""," ")}}function Vp(f,d){if(1&f&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&f){const c=d.$implicit;e.xp6(1),e.hij(" ",c.message," ")}}function Nd(f,d){1&f&&e.YNc(0,Vp,2,1,"div",8),2&f&&e.Q6J("ngForOf",d.$implicit)}function Q1(f,d){if(1&f&&(e.ynx(0),e.YNc(1,$c,4,5,"nz-tag",92),e.YNc(2,pp,5,5,"nz-tag",92),e.YNc(3,Nd,1,1,"ng-template",null,93,e.W1O),e.BQk()),2&f){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",c.query),e.xp6(1),e.Q6J("ngIf",c.network)}}function so(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Q1,5,2,"ng-container",10),e.BQk()),2&f){const c=d.ngrxLet;e.xp6(1),e.Q6J("ngIf",c)}}function su(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",98)(1,"nz-checkbox-group",99),e.NdJ("ngModelChange",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.onPreferenceChange$.next(ie))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&f){const c=e.oxw(2);e.xp6(1),e.Q6J("ngModel",e.lcZ(2,1,c.setPreference$))}}function hp(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-row",79)(1,"nz-col",80),e.YNc(2,Yc,4,0,"nz-tag",81),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e._UZ(5,"cvc-no-more-rows",82),e.ALo(6,"ngrxPush"),e.qZA(),e.TgZ(7,"nz-col",80),e.YNc(8,so,2,1,"ng-container",3),e.qZA(),e.TgZ(9,"nz-col",80),e._UZ(10,"cvc-table-counts",83),e.qZA(),e.TgZ(11,"nz-col",84)(12,"nz-button-group")(13,"button",85),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw();return e.KtG(ie.onResetFilter$.next())}),e._UZ(14,"span",86),e.qZA(),e.TgZ(15,"button",87),e._UZ(16,"span",88),e.qZA()(),e.YNc(17,su,3,3,"ng-template",null,89,e.W1O),e.qZA()()}if(2&f){const c=e.MAs(18),y=e.oxw();e.Q6J("nzGutter",8),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,y.loading$)&&e.lcZ(4,9,y.isFetchMore$)),e.xp6(3),e.Q6J("cvcShowTag",e.lcZ(6,11,y.noMoreRows$)),e.xp6(3),e.Q6J("ngrxLet",y.queryError$),e.xp6(2),e.Q6J("cvcTableCountsConnection",y.connection$),e.xp6(5),e.Q6J("nzPopoverContent",c)("nzPopoverTrigger","click")}}const W1=function(){return[]},e1=function(){return{x:"800px",y:"200px"}};let au=((Sa=class{constructor(d,c,y){this.queryGQL=d,this.apollo=c,this.cdr=y,this.cvcSelectedIdsChange=new e.vpe,this.isScrolling=!1,this.colGuards=Bs,this.onFetchMore$=new Je.x,this.onPreferenceChange$=new it.X([]),this.onResetFilter$=new Je.x,this.onRowSelected$=new Je.x,this.onScroll$=new it.X("stop"),this.onSetSelectedRow$=new it.X(new Set),this.queryError$=new Je.x,this.queryRequest$=new Je.x,this.queryResult$=new Wo.t(1),this.isFetchMore$=new it.X(!1),this.noMoreRows$=new it.X(!1),this.scrollToIndex$=new Je.x,this.tableConfig=new oa;const ie=(0,ro.a)(this.tableConfig.getFilterStreams()),ht=(0,ro.a)(this.tableConfig.getSortStreams()).pipe((0,Ge.h)(It=>It.filter(Mn=>null!==Mn.value).length<=1));this.refetch$=(0,ro.a)([ht,ie]).pipe((0,yt.U)(([It,Mn])=>({query:"refetch",sort:It,filter:Mn}))),this.fetchMore$=this.onFetchMore$.pipe((0,yt.U)(It=>({query:"fetchMore",fetchMore:{...It}}))),(0,gr.T)(this.refetch$,this.fetchMore$).pipe((0,Ki.b)(50),(0,Pe.t)(this)).subscribe(It=>{const Mn=this.getQueryVars(It);this.queryRef?(this.queryError$.next({}),"refetch"===It.query?(this.isFetchMore$.next(!1),this.queryRef.refetch(Mn).then(Rn=>{(Rn.error||Rn.errors)&&this.queryError$.next(this.getRequestErrors(Rn))}).then(()=>{this.scrollToIndex$.next(0)})):(this.isFetchMore$.next(!0),this.queryRef.fetchMore({variables:Mn}).then(Rn=>{(Rn.error||Rn.errors)&&this.queryError$.next(this.getRequestErrors(Rn))}))):(this.isFetchMore$.next(!1),this.queryError$.next({}),this.queryRef=this.queryGQL.watch(Mn),this.queryRef.valueChanges.pipe((0,Pe.t)(this)).subscribe(Rn=>{this.queryResult$.next(Rn),(Rn.error||Rn.errors)&&this.queryError$.next(this.getRequestErrors(Rn))}))}),this.loading$=this.queryResult$.pipe((0,Ut.j)("loading"),(0,Po.x)()),this.connection$=this.queryResult$.pipe((0,Ut.j)("data","browseVariants"),(0,Ge.h)(Wn.ep)),this.pageInfo$=this.connection$.pipe((0,Ut.j)("pageInfo"),(0,Ge.h)(Wn.ep)),this.row$=(0,ro.a)([this.connection$.pipe((0,Ut.j)("edges"),(0,Ge.h)(Wn.ep),(0,yt.U)(It=>It.map(Mn=>Mn.node))),this.onSetSelectedRow$]).pipe((0,yt.U)(([It,Mn])=>It.map(Rn=>{if(Rn)return{...Rn,variant:{__typename:"Variant",id:Rn.id,name:Rn.name,link:Rn.link},gene:{__typename:"Gene",id:Rn.geneId,name:Rn.geneName,link:Rn.geneLink},selected:Mn.has(Rn.id)}}))),this.col$=new it.X(this.tableConfig.get()),this.setPreference$=this.col$.pipe((0,yt.U)(It=>this.getColPrefsFromTableConfig(It))),this.onPreferenceChange$.pipe((0,et.M)(this.col$),(0,yt.U)(([It,Mn])=>this.getTableConfigFromColPrefs(It,Mn)),(0,Pe.t)(this)).subscribe(It=>{this.col$.next(It)}),this.onSetTableFilter$=new it.X([]),this.onSetTableFilter$.pipe((0,Pe.t)(this)).subscribe(It=>{const Mn=this.col$.getValue();It.forEach(Rn=>{const jo=Mn.find(Bi=>Bi.key===Rn.key);if(void 0!==jo.filter.inputType){const Bi=jo.filter.options[0];if(null===Rn.value)return jo.filter.options=[{...Bi,value:null}],void jo.filter.changes.next(Rn);if(Array.isArray(Rn.value)&&0===Rn.value.length)return jo.filter.options=[{...Bi,value:null}],void jo.filter.changes.next({...Rn,value:null});let ts;Array.isArray(Rn.value)?Rn.value.length>0&&(ts=Rn.value[0]):ts=Rn.value;const Eu=jo.filter.typename;if(!Eu||!ts)return void console.error(`variant-manager requires column config '${jo.key}' provide a typename for cvcTablePrefs Input to set its filter`);const Vl=this.getEntityName(Eu,ts);if(!Vl)return;jo.filter.options=[{...Bi,value:Vl}],jo.filter.changes.next({...Rn,value:Vl})}else Hs(jo)&&jo.filter.changes.next(Rn)})}),this.onSetTablePref$=new it.X([]),this.onSetTablePref$.pipe((0,et.M)(this.setPreference$),(0,yt.U)(([It,Mn])=>{const Rn=[];return It.forEach(jo=>{let Bi=Mn.find(ts=>ts.value===jo.value);Bi?Rn.push({...Bi,...jo}):console.warn(`variant-manager onSetTablePref$ received updated preferences for column '${jo.value}', but a column with that key could not be found.`)}),Rn}),(0,Pe.t)(this)).subscribe(It=>{this.onPreferenceChange$.next(It)}),this.onRowSelected$.pipe((0,et.M)(this.onSetSelectedRow$),(0,Pe.t)(this)).subscribe(([It,Mn])=>{It.selected?Mn.add(It.id):Mn.delete(It.id),this.onSetSelectedRow$.next(Mn),this.cvcSelectedIdsChange.next(Array.from(Mn))}),this.onScroll$.pipe((0,yt.U)(It=>"stop"!==It),(0,Po.x)(),(0,Pe.t)(this)).subscribe(It=>{this.isScrolling=It,this.cdr.detectChanges()}),this.onScroll$.pipe((0,Ge.h)(It=>"bottom"===It),(0,et.M)(this.pageInfo$),(0,yt.U)(([It,Mn])=>Mn),(0,Pe.t)(this)).subscribe(It=>{It.hasNextPage||(this.noMoreRows$.next(!0),this.cdr.detectChanges(),setInterval(()=>this.noMoreRows$.next(!1)))})}ngAfterViewInit(){this.onResetFilter$.pipe((0,et.M)((0,po.of)(this.tableConfig.get())),(0,Pe.t)(this)).subscribe(([d,c])=>{const y=[];c.forEach(ie=>{if(Wu(ie)&&ie.sort.changes&&ie.sort.changes.next({key:ie.key,value:ie.sort.default??null}),Hs(ie)){const ht=ie.filter.options.find(It=>1==It.byDefault)?.value;ie.filter.changes&&ie.filter.changes.next({key:ie.key,value:ht||null})}y.push(ie)}),this.col$.next(y)})}getQueryVars(d){const c=this.getQueryFilterParams(d);return{...this.getQuerySortParams(d),...c,...d.fetchMore}}getQuerySortParams(d){if(!d.sort)return;const y=d.sort.find(ht=>null!==ht.value);return y?{sortBy:{column:this.getSortColumnFromColKey(y.key),direction:"ascend"===y.value?bn.SrV.Asc:bn.SrV.Desc||void 0}}:void 0}getQueryFilterParams(d){let c={};return d.filter&&d.filter.forEach(y=>{c[Ja[y.key]||y.key]=null===y.value||""===y.value?void 0:y.value}),c}getRequestErrors(d){return{query:d.errors,network:d.error}}getTableConfigFromColPrefs(d,c){return c.forEach(y=>{if(tu.find(ht=>ht===y.key))return;const ie=d.find(ht=>ht.value===y.key);ie&&(y.hidden=!ie?.checked)}),[...c]}getColPrefsFromTableConfig(d){let c=[];return d.forEach(y=>{tu.find(ie=>ie===y.key)||c.push({label:y.tooltip||y.label,value:y.key,checked:!y.hidden})}),c}getSortColumnFromColKey(d){return R1[d]}getEntityName(d,c){const y={id:`${d}:${c}`,fragment:qi.Ps` - fragment Linkable${d}Entity on ${d} { - id - name - link - }`},ie=this.apollo.client.readFragment(y);if(ie)return ie.name;console.error(`variant-manager onSetTableFilter$ could not find cached entity ${d}:${c} to populate input filter`)}trackByIndex(d,c){return c?.id}ngOnChanges(d){if(d.cvcTableSettings){const c=d.cvcTableSettings.currentValue;void 0!==c&&this.onSetTableFilter$.next(c.filters)}if(d.cvcSelectedIds){const c=d.cvcSelectedIds.currentValue,y=new Set;void 0!==c&&c.forEach(ie=>y.add(ie)),this.onSetSelectedRow$.next(y)}}}).\u0275fac=function(d){return new(d||Sa)(e.Y36(bn.XQi),e.Y36(si._M),e.Y36(e.sBO))},Sa.\u0275cmp=e.Xpm({type:Sa,selectors:[["cvc-variant-manager"]],inputs:{cvcTableSettings:"cvcTableSettings",cvcSelectedIds:"cvcSelectedIds"},outputs:{cvcSelectedIdsChange:"cvcSelectedIdsChange"},features:[e.TTD],decls:16,vars:27,consts:[["nzSize","small",3,"nzTitle","nzExtra"],["cvcTableScroller","",3,"nzData","cvcTableScrollerQueryRef","cvcTableScrollerPageInfo","cvcTableScrollerToIndex","nzScroll","nzVirtualForTrackBy","nzVirtualItemSize","nzSize","nzFrontPagination","nzShowPagination","nzLoading","cvcTableScrollerOnScroll","cvcTableScrollerOnFetch"],["virtualTable",""],[4,"ngrxLet"],["columnFilterInput",""],["cardTitle",""],["extraTemplate",""],[1,"col-header-row"],[4,"ngFor","ngForOf"],[1,"filter-row"],[4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange",4,"ngIf"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle",4,"ngIf"],[3,"nzShowCheckbox","nzWidth","nzAlign","nzLeft","nzRight"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzSortOrderChange"],["nz-tooltip","",1,"col-header-label",3,"nzTooltipTitle"],["nz-tooltip","",3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight","nzTooltipTitle"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight",4,"ngIf"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange",4,"ngIf"],["class","attribute-filter","nzCustomFilter","",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn",4,"ngIf"],[3,"nzColumnKey","nzAlign","nzWidth","nzLeft","nzRight"],[3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange",4,"ngIf"],[3,"cvcInputType","cvcPlaceholder","cvcModel","cvcModelChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzShowSort","nzSortFn","nzSortOrder","nzShowFilter","nzFilterFn","nzSortOrderChange"],["enumTableFilter",""],[3,"nzDropdownMenu","nzActive"],["enumTagFilterTrigger",""],["nz-icon","","nzType","filter","nzTheme","fill"],["enumFilterMenu","nzDropdownMenu"],[3,"cvcColumnKey","cvcFilterOptions","cvcOption","cvcOptionChange"],["nzCustomFilter","",1,"attribute-filter",3,"nzColumnKey","nzWidth","nzAlign","nzLeft","nzRight","nzFilterFn"],["nz-icon","","nzType","search"],["textTagFilterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],[1,"custom-input-dropdown"],[3,"cvcPlaceholder","cvcModel","cvcModelChange"],[3,"cvcPlaceholder","cvcModel","cvcModelChange",4,"ngIf"],["nz-virtual-scroll",""],[1,"data-row"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange",4,"ngIf"],[3,"nzAlign","nzLeft","nzRight",4,"ngIf"],["class","default-col-type",3,"nzAlign","nzLeft","nzRight",4,"ngIf"],[3,"nzChecked","nzAlign","nzLeft","nzRight","nzCheckedChange"],[3,"nzAlign","nzLeft","nzRight"],["entityTagList",""],["entityTag",""],["emptyEntityTagCell",""],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"cvcTagTemplate","cvcTagListConfig"],[3,"cvcCollectionTagConfig","cvcTagTemplate","cvcShowFullLabels"],[3,"cvcTruncateLabel","cvcLinkableEntity","cvcEmphasize","cvcShowPopover","cvcStatus","cvcFullWidth"],[3,"cvcEmptyCategory"],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip",4,"ngIf","ngIfElse"],["emptyEnumTagCell",""],["cvcContext","compact",3,"cvcFullWidth","cvcAttrValue","cvcTooltip"],["nz-tooltip","","style","width: 100%; cursor: help; color: #595959",3,"nzTooltipTitle",4,"ngIf","ngIfElse"],["emptyTextTagCell",""],["nz-tooltip","",2,"width","100%","cursor","help","color","#595959",3,"nzTooltipTitle"],["nz-icon","","nzType","align-left","nzTheme","outline"],[1,"default-col-type",3,"nzAlign","nzLeft","nzRight"],["staticList",""],["staticValue",""],["emptyDefaultCell",""],[3,"innerHtml"],["numericInput",""],["nzSize","small",3,"nzSuffix"],["nz-input","",3,"placeholder","ngModel","nzFilterChange"],["filterInput",""],["suffixIcon",""],["nz-icon","","nzType","search","style","color: #ddd",4,"ngIf"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzType","search",2,"color","#ddd"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],["nzSize","small"],[2,"width","100%",3,"nzPlaceHolder","ngModel","nzMin","nzStep","ngModelChange"],[3,"nzGutter"],["nzFlex","auto"],["nzColor","processing",4,"ngIf"],[3,"cvcShowTag"],[3,"cvcTableCountsConnection"],["nzFlex","35px"],["nz-button","","type","button","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","retweet","nzTheme","outline"],["nz-button","","nz-popover","","nzPopoverTitle","Visible Columns","type","button","nzType","default","nzSize","small",3,"nzPopoverContent","nzPopoverTrigger"],["nz-icon","","nzType","setting","nzTheme","outline"],["prefsPopover",""],["nzColor","processing"],["nz-icon","","nzType","sync","nzSpin",""],["nzColor","error","style","margin-left: 12px",4,"ngIf"],["queryError",""],["nzColor","error",2,"margin-left","12px"],["nz-icon","","nzType","question-circle","nzTheme","outline"],["nz-tooltip","",2,"cursor","help",3,"nzTooltipTitle","nzTooltipTitleContext"],["nz-typography",""],[1,"prefs-popover"],[3,"ngModel","ngModelChange"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-card",0)(1,"nz-table",1,2),e.NdJ("cvcTableScrollerOnScroll",function(ie){return c.onScroll$.next(ie)})("cvcTableScrollerOnFetch",function(ie){return c.onFetchMore$.next(ie)}),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.YNc(8,dl,5,2,"thead",3),e.YNc(9,j1,2,0,"tbody",3),e.qZA()(),e.YNc(10,dp,3,2,"ng-template",null,4,e.W1O),e.YNc(12,Hc,4,2,"ng-template",null,5,e.W1O),e.YNc(14,hp,19,13,"ng-template",null,6,e.W1O)),2&d){const y=e.MAs(13),ie=e.MAs(15);e.Q6J("nzTitle",y)("nzExtra",ie),e.xp6(1),e.Q6J("nzData",e.lcZ(3,15,c.row$)||e.DdM(25,W1))("cvcTableScrollerQueryRef",c.queryRef)("cvcTableScrollerPageInfo",e.lcZ(4,17,c.pageInfo$))("cvcTableScrollerToIndex",e.lcZ(5,19,c.scrollToIndex$))("nzScroll",e.DdM(26,e1))("nzVirtualForTrackBy",c.trackByIndex)("nzVirtualItemSize",28)("nzSize","small")("nzFrontPagination",!1)("nzShowPagination",!1)("nzLoading",e.lcZ(6,21,c.loading$)&&!e.lcZ(7,23,c.isFetchMore$)),e.xp6(7),e.Q6J("ngrxLet",c.col$),e.xp6(1),e.Q6J("ngrxLet",c.col$)}},dependencies:[S.sg,S.O5,S.tP,Tt.J,Ee,wn,Qe,fi,kt.P,lo.H,t.Fj,t.JJ,t.On,I.eJ,$n.ix,$n.fY,un.w,pn.dQ,w.t3,w.SK,_t.Ls,Ae.Zp,Ae.gB,Ae.ke,pe.ZU,Qo.bd,Rt.ub,Si.RR,Ni._V,Ni.Rb,co.lU,Oo.N8,Oo.qD,Oo.Uo,Oo._C,Oo.h7,Oo.Om,Oo.p0,Oo.$Z,Oo.zu,Oo.qn,Oo.Ql,Oo.UX,Oo.g6,Yt.j,At.SY,xr,Ys,$r,gi,j.Do,P.A,os,I.fM],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}.table-info[_ngcontent-%COMP%]{margin-left:.5rem}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell.align-right[_ngcontent-%COMP%] .ant-table-column-title{text-align:right}tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%]{padding:3px 4px}tr.filter-row[_ngcontent-%COMP%] th[_ngcontent-%COMP%] nz-filter-trigger[_ngcontent-%COMP%] span.ant-dropdown-trigger{margin-left:0;padding-right:12px}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%]{white-space:nowrap}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .anticon.attribute-icon[_ngcontent-%COMP%]{color:#595959}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.overflow-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}tr.data-row[_ngcontent-%COMP%] td.ant-table-cell.button-cell[_ngcontent-%COMP%]{padding:0}tr.data-row[_ngcontent-%COMP%] td.align-right[_ngcontent-%COMP%], tr.col-header-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.data-row[_ngcontent-%COMP%] td.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%], tr.filter-row[_ngcontent-%COMP%] th.ant-table-cell[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{text-align:right}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-left:6px}tr.data-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type cvc-entity-tag[_ngcontent-%COMP%]{margin-left:6px}td.default-col-type[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.ant-table-filter-dropdown[_ngcontent-%COMP%]{padding:8px}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label{display:block}.prefs-popover[_ngcontent-%COMP%] nz-checkbox-group:first-of-type label span{display:inline-block}"],changeDetection:0}),Sa);var nc;function Ld(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"span"),e._uU(2),e.qZA(),e.BQk()),2&f){const c=d.ngrxLet;e.xp6(2),e.Oqu(c.message)}}function hs(f,d){if(1&f&&e._uU(0),2&f){const c=e.oxw();e.Oqu(c.successMessage)}}au=(0,Te.gn)([(0,Pe.c)()],au);const Bp=function(){return[0,0]};let t1=((nc=class{set cvcGeneId(d){d&&this.geneId$.next(d)}set cvcGeneName(d){d&&this.geneName$.next(d)}set cvcSearchString(d){d&&this.searchString$.next(d)}constructor(d,c){this.query=d,this.errors=c,this.cvcOnCreate=new e.vpe,this.form=new t.nJ({}),this.model={name:""},this.formLayout="horizontal",this.options={formState:{formLayout:this.formLayout}},this.onSubmit$=new Je.x,this.searchString$=new it.X(void 0),this.geneName$=new it.X(void 0),this.geneId$=new it.X(void 0),this.formMessageDisplay$=new it.X({message:"Variant does not exist, create it?"}),this.queryMutator=new Ft.U(this.errors),this.addVariantMutator=new Ft.U(this.errors),this.minNameLength=3,this.fields=[{key:"geneId",hide:!0,props:{required:!0}},{key:"name",hide:!0,props:{minLength:this.minNameLength,required:!0}}],this.geneId$.pipe((0,Pe.t)(this)).subscribe(y=>{this.model.geneId=y}),this.searchString$.pipe((0,Pe.t)(this)).subscribe(y=>{this.model.name=y,this.formMessageDisplay$.next(void 0!==y&&y.length{console.log("variant-quick-add form model submitted.",y),this.submitVariant(y)})}submitVariant(d){d.name&&d.geneId?this.mutationState=this.addVariantMutator.mutate(this.query,{name:d.name,geneId:d.geneId},{},c=>{console.log("variant-quick-add submit data callback",c),c.addVariant&&(this.formMessageDisplay$.next({message:void 0}),setTimeout(()=>{c&&c.addVariant&&this.cvcOnCreate.next(c.addVariant.variant.id)},1e3))}):console.error("variant-quick-add form submitVariant requires model with valid name and geneId.")}ngOnChanges(d){if(d.cvcGeneId){const c=d.cvcGeneId.currentValue;this.geneId$.next(c),this.model={...this.model,geneId:c}}d.cvcGeneName&&this.geneName$.next(d.cvcGeneName.currentValue),d.cvcSearchString&&(this.model={...this.model,name:d.cvcSearchString.currentValue})}}).\u0275fac=function(d){return new(d||nc)(e.Y36(bn.MCG),e.Y36(Gt.Y))},nc.\u0275cmp=e.Xpm({type:nc,selectors:[["cvc-variant-quick-add-form"]],inputs:{cvcGeneId:"cvcGeneId",cvcGeneName:"cvcGeneName",cvcSearchString:"cvcSearchString"},outputs:{cvcOnCreate:"cvcOnCreate"},features:[e.TTD],decls:18,vars:17,consts:[[4,"ngrxLet"],["entityType","Variant",3,"mutationState","successMessage"],["success",""],[3,"formGroup","ngSubmit"],[3,"nzGutter"],["nzSpan","24"],[3,"form","fields","model","options","modelChange"],["nz-button","","nzType","primary","nzBlock","",3,"disabled"]],template:function(d,c){if(1&d&&(e.YNc(0,Ld,3,1,"ng-container",0),e.TgZ(1,"cvc-form-submission-status-display",1),e.YNc(2,hs,1,1,"ng-template",null,2,e.W1O),e.TgZ(4,"form",3),e.NdJ("ngSubmit",function(){return c.onSubmit$.next(c.model)}),e.TgZ(5,"nz-row",4)(6,"nz-col",5)(7,"formly-form",6),e.NdJ("modelChange",function(ie){return c.model=ie}),e.qZA()(),e.TgZ(8,"nz-col",5)(9,"button",7),e._uU(10," Add\xa0 "),e.TgZ(11,"strong"),e._uU(12),e.ALo(13,"ngrxPush"),e.qZA(),e._uU(14," \xa0Variant\xa0"),e.TgZ(15,"i"),e._uU(16),e.ALo(17,"ngrxPush"),e.qZA()()()()()()),2&d){const y=e.MAs(3);e.Q6J("ngrxLet",c.formMessageDisplay$),e.xp6(1),e.Q6J("mutationState",c.mutationState)("successMessage",y),e.xp6(3),e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("nzGutter",e.DdM(16,Bp)),e.xp6(2),e.Q6J("form",c.form)("fields",c.fields)("model",c.model)("options",c.options),e.xp6(2),e.Q6J("disabled",!c.form.valid),e.xp6(3),e.Oqu(e.lcZ(13,12,c.geneName$)),e.xp6(4),e.Oqu(e.lcZ(17,14,c.searchString$))}},dependencies:[fn.F,g.T7,t._Y,t.JL,I.eJ,$n.ix,un.w,pn.dQ,w.t3,w.SK,t.sg,I.fM],encapsulation:2,changeDetection:0}),nc);t1=(0,Te.gn)([(0,Pe.c)()],t1);const fl=["optionTemplates"],ml=function(f,d){return{show:f,hide:d}};function Z1(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-col",9)(1,"button",10),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw();return e.KtG(ie.onShowMgrClick$.next())}),e._UZ(2,"span",11),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e._uU(5," Manager "),e.qZA()()}if(2&f){const c=e.oxw();e.xp6(2),e.Q6J("ngClass",e.WLB(6,ml,e.lcZ(3,2,c.showMgr$),!e.lcZ(4,4,c.showMgr$)))("nzType","caret-right")}}function J1(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-col",12)(1,"cvc-variant-manager",13),e.NdJ("cvcSelectedIdsChange",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onPopulate$.next(ie))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&f){const c=e.oxw();e.xp6(1),e.Q6J("cvcSelectedIds",e.lcZ(2,1,c.onVid$))}}function Pl(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",20),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(2),e.Q6J("nzTooltipTitle",c.variantAliases.join(", "))("innerHtml",e.xi3(3,2,c.variantAliases.join(", "),y),e.oJD)}}function fp(f,d){1&f&&e._uU(0,"--")}function kd(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",16),e.TgZ(1,"span",17)(2,"strong"),e._uU(3,"Aliases:"),e.qZA(),e.YNc(4,Pl,4,5,"ng-container",18),e.YNc(5,fp,1,0,"ng-template",null,19,e.W1O),e.qZA()),2&f){const c=e.MAs(6),y=e.oxw().$implicit,ie=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",y.__typename+":"+y.id)("cvcEmphasize",ie),e.xp6(4),e.Q6J("ngIf",y.variantAliases.length>0)("ngIfElse",c)}}function mp(f,d){1&f&&(e.ynx(0),e.YNc(1,kd,7,5,"ng-template",null,15,e.W1O),e.BQk())}function Hp(f,d){if(1&f&&(e.ynx(0),e.YNc(1,mp,3,0,"ng-container",14),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function gp(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",21)(1,"cvc-entity-tag",22),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","Variant:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}function oc(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-variant-quick-add-form",23),e.NdJ("cvcOnCreate",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onPopulate$.next(ie))}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.qZA()}if(2&f){const c=d.$implicit,y=e.oxw();e.Q6J("cvcSearchString",c)("cvcGeneId",e.lcZ(1,3,y.onGeneId$))("cvcGeneName",e.lcZ(2,5,y.onGeneName$))}}const vp=function(){return[6,6]},Rd=jt($t(),To());class Il extends Rd{constructor(d,c,y,ie){super(),this.taq=d,this.tq=c,this.geneQuery=y,this.changeDetectorRef=ie,this.onModel$=new ko.y,this.defaultOptions={props:{label:"Variant",placeholder:"Search Variants",requireGene:!0,requireGenePlaceholderFn:ht=>`Search ${ht} Variants`,requireGenePrompt:"Select a Gene to search its Variants",isMultiSelect:!1,entityName:{singular:"Variant",plural:"Variants"},showManagerBtn:!1}},this.onGeneName$=new it.X(void 0),this.onVid$=new Wo.t,this.onShowMgrClick$=new Je.x,this.showMgr$=this.onShowMgrClick$.pipe((0,ri.R)((ht,It)=>!ht,!1))}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,Ge.h)(d=>d),(0,Do.q)(1),(0,Pe.t)(this)).subscribe(d=>{this.configureField()}):this.configureField()}configureField(){this.configureStateConnections(),this.onVid$.pipe((0,Pe.t)(this)).subscribe(),this.onVid$.next(this.formControl.value),this.onModel$=(0,ro.a)([this.onGeneId$,this.onSearch$]).pipe((0,yt.U)(([d,c])=>({geneId:d,name:c}))),this.onValueChange$.pipe((0,et.M)(this.onVid$),(0,Pe.t)(this)).subscribe(([d,c])=>{Array.isArray(d)&&this.onVid$.next(d)})}configureStateConnections(){if(this.state&&this.props.requireGene){if(!this.state?.fields.geneId$)return void console.error(`${this.field.id} requireGene is set, but no geneId$ subject found on state.`);this.onGeneId$=this.state.fields.geneId$,this.onGeneId$.pipe((0,Pe.t)(this)).subscribe(d=>{this.onGeneId(d)})}}getTypeaheadVarsFn(d){return{name:d,geneId:this.selectedGeneId}}getTypeaheadResultsFn(d){return d.data.variants.nodes}getTagQueryVarsFn(d){return{variantId:d}}getTagQueryResultsFn(d){return d.data.variant}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}onGeneId(d){this.selectedGeneId=d,!d&&this.props.requireGene?(this.resetField(),this.props.description=this.props.requireGenePrompt,this.props.placeholder="Select a Variant",this.props.extraType="prompt",this.onGeneName$.next(void 0)):d&&(this.props.description=void 0,this.props.extraType=void 0,Xl(this.geneQuery.fetch({geneId:d},{fetchPolicy:"cache-first"})).then(({data:c})=>{c?.gene?.name?(this.props.placeholder=this.props.requireGene?this.props.requireGenePlaceholderFn(c.gene.name):this.props.placeholder,this.onGeneName$.next(c.gene.name)):console.error(`${this.field.id} could not fetch gene name for Gene:${d}.`)}))}}Il.\u0275fac=function(d){return new(d||Il)(e.Y36(bn.nSb),e.Y36(bn.dDn),e.Y36(bn.DzV),e.Y36(e.sBO))},Il.\u0275cmp=e.Xpm({type:Il,selectors:[["ng-component"]],viewQuery:function(d,c){if(1&d&&e.Gf(fl,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:20,vars:39,consts:[[3,"nzGutter"],["nzFlex","auto"],["nz-tooltip","","nzTooltipTitle","Select a Gene to enable field.",3,"nzTooltipTrigger"],[3,"cvcAddEntity","cvcAddEntityModel","cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcDisabled","cvcOptions","cvcSelectOpen","cvcShowError","cvcLoading","cvcParamName","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],["nzFlex","50px",4,"ngIf"],["nzSpan","24","class","manager-drawer",4,"ngIf"],[4,"ngrxLet"],["selectedTemplate",""],["addVariant",""],["nzFlex","50px"],["type","button","nz-button","","nzBlock","",1,"manager-button",3,"click"],["nz-icon","",3,"ngClass","nzType"],["nzSpan","24",1,"manager-drawer"],[3,"cvcSelectedIds","cvcSelectedIdsChange"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf","ngIfElse"],["noAliases",""],["nz-typography","","nzType","secondary","nz-tooltip","",3,"nzTooltipTitle","innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"],[3,"cvcSearchString","cvcGeneId","cvcGeneName","cvcOnCreate"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1)(2,"span",2),e.ALo(3,"ngrxPush"),e.TgZ(4,"cvc-entity-select",3),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(5,"ngrxPush"),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.ALo(8,"ngrxPush"),e.ALo(9,"ngrxPush"),e.ALo(10,"ngrxPush"),e.ALo(11,"ngrxPush"),e.qZA()()(),e.YNc(12,Z1,6,9,"nz-col",4),e.YNc(13,J1,3,3,"nz-col",5),e.ALo(14,"ngrxPush"),e.qZA(),e.YNc(15,Hp,3,3,"ng-container",6),e.YNc(16,gp,2,3,"ng-template",null,7,e.W1O),e.YNc(18,oc,3,7,"ng-template",null,8,e.W1O)),2&d){const y=e.MAs(17),ie=e.MAs(19);e.Q6J("nzGutter",e.DdM(38,vp)),e.xp6(2),e.Q6J("nzTooltipTrigger",c.props.requireGene&&!e.lcZ(3,20,c.onGeneId$)?"hover":null),e.xp6(2),e.Q6J("cvcAddEntity",ie)("cvcAddEntityModel",e.lcZ(5,22,c.onModel$))("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",c.props.placeholder)("cvcResults",e.lcZ(6,24,c.result$))("cvcDisabled",c.props.requireGene&&!e.lcZ(7,26,c.onGeneId$))("cvcOptions",e.lcZ(8,28,c.selectOption$))("cvcSelectOpen",e.lcZ(9,30,c.selectOpen$))("cvcShowError",c.showError)("cvcLoading",e.lcZ(10,32,c.isLoading$))("cvcParamName",e.lcZ(11,34,c.onGeneName$)),e.xp6(8),e.Q6J("ngIf",c.props.showManagerBtn),e.xp6(1),e.Q6J("ngIf",e.lcZ(14,36,c.showMgr$)),e.xp6(2),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.mk,S.sg,S.O5,Ue,Tt.J,I.eJ,$n.ix,un.w,pn.dQ,w.t3,w.SK,_t.Ls,pe.ZU,At.SY,au,t1,P.A,I.fM],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700} nz-input-group{border-color:#d9d9d9!important}"],changeDetection:0});const K1={types:[{name:"variant-select",wrappers:["form-field"],component:Il},{name:"variant-multi-select",wrappers:["form-field"],component:Il,defaultOptions:{props:{label:"Variants",isMultiSelect:!0}}}]};class ic{}ic.\u0275fac=function(d){return new(d||ic)},ic.\u0275mod=e.oAB({type:ic}),ic.\u0275inj=e.cJS({imports:[S.ez,jn,Zt.x,ct,Un.g,xt.s,Vo,Rr,Ye,dr,ma.M,Io.y,g.X0.forChild(K1),t.u5,I._N,Sn.L,rt.ic,$n.sL,s.U5,w.Jb,_t.PV,Ae.o7,Yn.Qp,Ze.LV,pe.ZJ,$n.sL,Qo.vh,Rt.Wr,Si.b1,s.U5,w.Jb,_t.PV,Ae.o7,Ni.Zf,co.$6,Oo.HQ,Yt.X,At.cg,pe.ZJ,I.pP,t.UX]});var Vd=a(3309),Or=a(6152),gl=a(2539);const Yp=/\(/g,Bd=/\)/g,cu=/AND|OR/i,_p=/^(?NOT\s)?\s*#VID(?\d+)$/i,Al=/\s+/;function yp(f){return q1(f.replace(Yp," ( ").replace(Bd," ) "))}function q1(f){let c,d=f.split(Al),y=0,ie=[],ht=[],It=[];for(let ms of d)if("("==ms)0!=y&&ie.push(ms),y+=1;else if(")"==ms)if(y-=1,0==y){let ua=q1(ie.join(" "));if("errorMessage"in ua)return ua;It.push(ua),ht.push("EXPR"),ie=[]}else ie.push(ms);else y>0?ie.push(ms):ht.push(ms);const Mn={errorType:"trailingBoolean",errorMessage:"Expressions may not end with AND / OR boolean operators."},Rn={errorType:"initialBoolean",errorMessage:"Expressions may not start with AND / OR boolean operators."},jo={errorType:"multipleBoolean",errorMessage:"Multiple boolean operators found."},Bi={errorType:"incompleteExpression",errorMessage:"Ensure that parenthetical clauses are closed."};let ts=0;for(let ms of ht){let ua=cu.test(ms);if(ua&&0==ts)return Rn;if(ua&&ts===d.length-1)return Mn;if(ua&&!c)c=X1(ms);else if(ua&&c&&X1(ms)!==c)return jo;ts++}let Eu=[],Vl=ht.join(" ").split(cu);for(let ms of Vl.map(ua=>ua.trim())){let ua=_p.exec(ms);if(null===ua){if(0===ms.length)return Bi;if("NOT"===ms||"NOT"===ms.split(" ").pop())return{errorType:"incompleteNOT",errorMessage:"NOT operator must be followed by a valid #VID."};if("EXPR"!==ms)return{errorType:"invalidToken",errorMessage:`Token '${ms}' does not match the expected format.`}}else Eu.push({not:!!ua[1],variantId:parseInt(ua[2])})}return{booleanOperator:c,variantComponents:Eu,complexComponents:It}}function X1(f){return"AND"==f.toUpperCase()?bn._Wm.And:bn._Wm.Or}var uu,Cp=a(7230);class vl{constructor(d){this.apollo=d,this.cvcOnSelect=new e.vpe,this.cvcOnVariantSelect=new e.vpe,this.modelChange$=new it.X(void 0),this.layout="horizontal",this.finderState={formLayout:this.layout,fields:{geneId$:new it.X(void 0),variantId$:new it.X(void 0),variantMolecularProfile$:new it.X(void 0)}},this.form=new t.nJ({}),this.model={geneId:void 0,variantId:void 0},this.options={formState:this.finderState},this.config=[{wrappers:["field-grid"],props:{grid:{cols:2}},fieldGroup:[{key:"geneId",type:"gene-select",props:{placeholder:"Select MP Gene",hideLabel:!0,layout:{showExtra:!1}}},{key:"variantId",type:"variant-select",props:{placeholder:"Select MP Variant",requireGene:!0,layout:{showExtra:!1},hideLabel:!0}}]}]}modelChange(d){if(!d?.variantId)return;const c=this.getSelectedVariant(d.variantId);c&&(this.model={geneId:void 0,variantId:void 0},this.cvcOnSelect.next(c.singleVariantMolecularProfile),this.cvcOnVariantSelect.next(c))}getSelectedVariant(d){if(!d)return;const c={id:`Variant:${d}`,fragment:si.Ps` - fragment VariantSelectQuery on Variant { - id - name - link - variantAliases - singleVariantMolecularProfileId - singleVariantMolecularProfile { - id - name - link - molecularProfileAliases - } - } - `};let y;try{y=this.apollo.client.readFragment(c)}catch(ie){console.error(ie)}if(y)return y;console.error("MpFinderForm could not resolve its Variant from the cache")}}function zp(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," The expression contains open parentheses. Please ensure that all parenthetical expressions are closed. "),e.qZA(),e.BQk())}function Tp(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," Complete the expression by appending a "),e.TgZ(3,"strong"),e._uU(4,"#VID"),e.qZA(),e._uU(5," token to the incomplete boolean expression. "),e.qZA(),e.BQk())}function n1(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," MP Expressions may not begin with an "),e.TgZ(3,"strong"),e._uU(4,"AND"),e.qZA(),e._uU(5," or "),e.TgZ(6,"strong"),e._uU(7,"OR"),e.qZA(),e._uU(8," boolean. Ensure the expression begins with a "),e.TgZ(9,"strong"),e._uU(10,"#VID"),e.qZA(),e._uU(11," or "),e.TgZ(12,"strong"),e._uU(13,"NOT #VID"),e.qZA(),e._uU(14," token. "),e.qZA(),e.BQk())}function o1(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," Molecular Profile expressions use a simple domain-specific language to specify complex MPs using boolean expressions to combine variants. These expressions may contain: "),e.qZA(),e.TgZ(3,"ul")(4,"li"),e._uU(5," Variant Tokens - "),e.TgZ(6,"strong"),e._uU(7,"#VID"),e.qZA(),e._uU(8," or "),e.TgZ(9,"strong"),e._uU(10,"NOT #VID"),e.qZA(),e._uU(11,'followed by a valid Variant ID, e.g. "#VID123" '),e.qZA(),e.TgZ(12,"li"),e._uU(13,"Boolean Tokens - "),e.TgZ(14,"strong"),e._uU(15,"AND"),e.qZA(),e._uU(16,", "),e.TgZ(17,"strong"),e._uU(18,"OR"),e.qZA()(),e.TgZ(19,"li"),e._uU(20," Parentheses - "),e.TgZ(21,"strong"),e._uU(22,"("),e.qZA(),e._uU(23," or "),e.TgZ(24,"strong"),e._uU(25,")"),e.qZA(),e._uU(26,", for grouping tokens into nested expressions "),e.qZA()(),e.TgZ(27,"p")(28,"strong"),e._uU(29,"Invalid Token"),e.qZA(),e._uU(30," errors occur if the parser encounters any text or token that does not match those listed above. "),e.qZA(),e.BQk())}function ed(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," A single expression may not include more than one "),e.TgZ(3,"strong"),e._uU(4,"AND"),e.qZA(),e._uU(5," or "),e.TgZ(6,"strong"),e._uU(7,"OR"),e.qZA(),e._uU(8," boolean operator. To construct complex expressions, use parentheses. "),e.qZA(),e.TgZ(9,"p"),e._uU(10," For example, the expression "),e.TgZ(11,"strong"),e._uU(12,"#VID12 AND #VID2220 OR #VID456"),e.qZA(),e._uU(13," is invalid, but the expression "),e.TgZ(14,"strong"),e._uU(15,"#VID12 AND (#VID2220 OR #VID456)"),e.qZA(),e._uU(16," is valid. The parentheses create a nested expression independent of the outer expression. "),e.qZA(),e.BQk())}function td(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," Complete the expression by appending a "),e.TgZ(3,"strong"),e._uU(4,"#VID"),e.qZA(),e._uU(5," token to the incomplete boolean expression. "),e.qZA(),e.BQk())}function lu(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," The expression contains a Variant ID that cannot be matched to any Variant in the CIViC database. Please re-check the Variant ID, or create a new one by following these steps: "),e.qZA(),e.TgZ(3,"ol")(4,"li"),e._uU(5,"click the 'Variant' button,"),e.qZA(),e.TgZ(6,"li"),e._uU(7,"enter a Gene name, then select a Gene"),e.qZA(),e.TgZ(8,"li"),e._uU(9,"enter the Variant name"),e.qZA(),e.TgZ(10,"li"),e._uU(11," click the 'Create Variant' button that will appear if name does not match any CIViC Variants "),e.qZA()(),e.BQk())}function $p(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," An expression may not contain multiple instances of the same Variant. Either remove the variant or change the expression. For example, "),e.TgZ(3,"strong"),e._uU(4,"(#VID123 AND #VID456) OR (#VID123 AND #VID789)"),e.qZA(),e._uU(5,", which is invalid, is logically identical to the valid MP expression "),e.TgZ(6,"strong"),e._uU(7,"#VID123 AND (#VID456 OR #VID789)"),e.qZA(),e._uU(8,". "),e.qZA(),e.BQk())}function Up(f,d){1&f&&(e.ynx(0),e.TgZ(1,"p"),e._uU(2," The Molecular Profile editor allows the selection or creation of complex Molecular Profiles by writing Molecular Profile Expressions. These expressions are composed with a simple language consisting of Variant tokens, boolean operators, and parentheses. For example: "),e.qZA(),e.TgZ(3,"blockquote")(4,"strong"),e._uU(5,"#VID12 AND #VID2220"),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"strong"),e._uU(8,"#VID12 OR #VID2220"),e.qZA(),e._UZ(9,"br"),e.TgZ(10,"strong"),e._uU(11,"#VID12 AND NOT #VID2220"),e.qZA(),e._UZ(12,"br"),e.TgZ(13,"strong"),e._uU(14,"#VID12 AND #VID2220 AND (#VID456 OR #VID123)"),e.qZA(),e._UZ(15,"br"),e.TgZ(16,"strong"),e._uU(17,"#VID12 OR #VID2220 OR (NOT #VID456 AND #VID123)"),e.qZA(),e._UZ(18,"br"),e.qZA(),e.TgZ(19,"p")(20,"strong"),e._uU(21,"Variant Tokens"),e.qZA(),e._UZ(22,"br"),e._uU(23," Variant tokens are composed of a CIViC Variant ID prepended with "),e.TgZ(24,"strong"),e._uU(25,"#VID"),e.qZA(),e._uU(26,", and refer to specific CIViC Variants. For example, "),e.TgZ(27,"strong"),e._uU(28,"#VID12"),e.qZA(),e._uU(29," refers to "),e.TgZ(30,"strong"),e._uU(31,"BRAF V600E"),e.qZA(),e._uU(32,"; "),e.TgZ(33,"strong"),e._uU(34,"#VID2220"),e.qZA(),e._uU(35," refers to "),e.TgZ(36,"strong"),e._uU(37,"ALK FUSION"),e.qZA(),e._uU(38,". If you don\u2019t know the CIViC ID of a Variant, you can search for Variants by name using the \u2018Variant\u2019 or \u2018NOT Variant\u2019 buttons below. These interfaces can also be used to add a Variant that\u2019s not yet in CIViC. "),e.qZA(),e.TgZ(39,"p")(40,"strong"),e._uU(41,"Boolean Operators"),e.qZA(),e._UZ(42,"br"),e._uU(43," MP Expressions with more than a single variant must include boolean operators - "),e.TgZ(44,"strong"),e._uU(45,"AND"),e.qZA(),e._uU(46,", "),e.TgZ(47,"strong"),e._uU(48,"OR"),e.qZA(),e._uU(49,", and "),e.TgZ(50,"strong"),e._uU(51,"NOT"),e.qZA(),e._uU(52," - indicating their relationship. For example, the expression "),e.TgZ(53,"strong"),e._uU(54,"#VID12 AND #VID2220"),e.qZA(),e._uU(55," describes a MP that includes both "),e.TgZ(56,"strong"),e._uU(57,"BRAF V600E"),e.qZA(),e._uU(58," and "),e.TgZ(59,"strong"),e._uU(60,"ALK FUSION"),e.qZA(),e._uU(61,". "),e.qZA(),e.TgZ(62,"p")(63,"strong"),e._uU(64,"Parentheses"),e.qZA(),e._UZ(65,"br"),e._uU(66," Expressions cannot have both "),e.TgZ(67,"strong"),e._uU(68,"AND"),e.qZA(),e._uU(69," and "),e.TgZ(70,"strong"),e._uU(71,"OR"),e.qZA(),e._uU(72," operators within the same expression. To construct complex MPs that require multiple operators, one must use parentheses to create embedded expressions. "),e.qZA(),e.TgZ(73,"p")(74,"strong"),e._uU(75,"NOTE:"),e.qZA(),e._uU(76," Be sure to read the help text provided along with every alert message by hovering over 'Syntax Assistance'. "),e.qZA(),e.BQk())}vl.\u0275fac=function(d){return new(d||vl)(e.Y36(si._M))},vl.\u0275cmp=e.Xpm({type:vl,selectors:[["cvc-mp-finder"]],outputs:{cvcOnSelect:"cvcOnSelect",cvcOnVariantSelect:"cvcOnVariantSelect"},decls:2,vars:6,consts:[["nz-form","",3,"nzLayout","formGroup"],[3,"form","fields","model","options","modelChange"]],template:function(d,c){1&d&&(e.TgZ(0,"form",0)(1,"formly-form",1),e.NdJ("modelChange",function(ie){return c.modelChange(ie)}),e.qZA()()),2&d&&(e.Q6J("nzLayout",c.layout)("formGroup",c.form),e.xp6(1),e.Q6J("form",c.form)("fields",c.config)("model",c.model)("options",c.options))},dependencies:[t._Y,t.JL,t.sg,g.T7,s.Lr],styles:["[_nghost-%COMP%]{display:block;width:100%}"],changeDetection:0});class r1{}r1.\u0275fac=function(d){return new(d||r1)},r1.\u0275cmp=e.Xpm({type:r1,selectors:[["cvc-mp-editor-popover-help"]],inputs:{cvcErrorType:"cvcErrorType"},decls:11,vars:9,consts:[[1,"help-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(d,c){1&d&&(e.TgZ(0,"div",0),e.ynx(1,1),e.YNc(2,zp,3,0,"ng-container",2),e.YNc(3,Tp,6,0,"ng-container",2),e.YNc(4,n1,15,0,"ng-container",2),e.YNc(5,o1,31,0,"ng-container",2),e.YNc(6,ed,17,0,"ng-container",2),e.YNc(7,td,6,0,"ng-container",2),e.YNc(8,lu,12,0,"ng-container",2),e.YNc(9,$p,9,0,"ng-container",2),e.YNc(10,Up,77,0,"ng-container",3),e.BQk(),e.qZA()),2&d&&(e.xp6(1),e.Q6J("ngSwitch",c.cvcErrorType),e.xp6(1),e.Q6J("ngSwitchCase","incompleteExpression"),e.xp6(1),e.Q6J("ngSwitchCase","incompleteNOT"),e.xp6(1),e.Q6J("ngSwitchCase","initialBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","invalidToken"),e.xp6(1),e.Q6J("ngSwitchCase","multipleBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","trailingBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","unknownVariant"),e.xp6(1),e.Q6J("ngSwitchCase","identicalVariants"))},dependencies:[S.RF,S.n9,S.ED],styles:[".help-content[_ngcontent-%COMP%]{max-width:500px}blockquote[_ngcontent-%COMP%]{margin-left:1em}"]});const nd=["expressionEditor"];function jp(f,d){1&f&&e._uU(0,"Added new Molecular Profile")}function Gp(f,d){if(1&f&&e._UZ(0,"cvc-mp-tag-name",24),2&f){const c=e.oxw().ngrxLet;e.Q6J("nameSegments",c)}}function Nl(f,d){1&f&&(e.TgZ(0,"span",25),e._uU(1," Valid Molecular Profile expressions will be previewed here. "),e.qZA())}function rc(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Gp,1,1,"cvc-mp-tag-name",22),e.YNc(2,Nl,2,0,"span",23),e.BQk()),2&f){const c=d.ngrxLet;e.xp6(1),e.Q6J("ngIf",c),e.xp6(1),e.Q6J("ngIf",!c)}}function Ll(f,d){1&f&&e._UZ(0,"cvc-mp-editor-popover-help")}function Mp(f,d){if(1&f&&(e.TgZ(0,"button",28),e._UZ(1,"span",29),e._uU(2," GETTING STARTED "),e.qZA(),e.YNc(3,Ll,1,0,"ng-template",null,30,e.W1O)),2&f){const c=e.MAs(4);e.Q6J("nzPopoverContent",c)}}function Th(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"nz-alert",26),e.YNc(2,Mp,5,1,"ng-template",null,27,e.W1O),e.BQk()),2&f){const c=d.ngIf,y=e.MAs(3);e.xp6(1),e.Q6J("nzMessage",c)("nzAction",y)}}function Mh(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw(3).ngrxLet,ht=e.oxw();return e.KtG(ht.cvcOnSelect.next(ie))}),e._uU(1," Select this MP "),e.qZA()}}function du(f,d){if(1&f&&(e._uU(0," Molecular Profile "),e.TgZ(1,"strong"),e._uU(2),e.qZA(),e._uU(3," found. ")),2&f){const c=e.oxw(3).ngrxLet;e.xp6(2),e.Oqu(c.name)}}function qh(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"nz-alert",31),e.YNc(2,Mh,2,0,"ng-template",null,32,e.W1O),e.YNc(4,du,4,1,"ng-template",null,33,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.MAs(5);e.xp6(1),e.Q6J("nzMessage",y)("nzAction",c)}}function Qp(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"button",37),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw(4);return e.KtG(ie.onCreateNewMp$.next())}),e._uU(1," Create New MP "),e.qZA()}}function Wp(f,d){1&f&&e._uU(0," Molecular Profile not found, create it? ")}function bh(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"nz-alert",31),e.YNc(2,Qp,2,0,"ng-template",null,35,e.W1O),e.YNc(4,Wp,1,0,"ng-template",null,36,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.MAs(5);e.xp6(1),e.Q6J("nzMessage",y)("nzAction",c)}}function di(f,d){if(1&f&&(e.ynx(0),e.YNc(1,qh,6,2,"ng-container",6),e.YNc(2,bh,6,2,"ng-container",6),e.BQk()),2&f){const c=e.oxw().ngrxLet;e.xp6(1),e.Q6J("ngIf",void 0!==c),e.xp6(1),e.Q6J("ngIf",void 0===c)}}function Hd(f,d){if(1&f&&(e.ynx(0),e.YNc(1,di,3,2,"ng-container",6),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!e.lcZ(2,1,c.expressionError$)&&!e.lcZ(3,3,c.expressionMessage$))}}function Zp(f,d){if(1&f&&(e.TgZ(0,"button",40),e._UZ(1,"span",29),e._uU(2," SYNTAX ASSISTANCE "),e.qZA()),2&f){const c=e.oxw().helpContent;e.Q6J("nzPopoverContent",c)}}function Oa(f,d){if(1&f&&(e._UZ(0,"nz-alert",38),e.YNc(1,Zp,3,1,"ng-template",null,39,e.W1O)),2&f){const c=d.$implicit,y=e.MAs(2);e.Q6J("nzMessage",c.errorMessage)("nzAction",y)}}function Jp(f,d){1&f&&e.GkF(0)}function bp(f,d){1&f&&e._UZ(0,"cvc-mp-editor-popover-help",46)}const kl=function(f,d){return{$implicit:f,helpContent:d}};function Kp(f,d){if(1&f&&(e.ynx(0),e.YNc(1,Jp,1,0,"ng-container",44),e.YNc(2,bp,1,0,"ng-template",null,45,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.oxw().ngIf;e.oxw();const ie=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",e.WLB(2,kl,y,c))}}function qp(f,d){1&f&&e.GkF(0)}function pu(f,d){1&f&&e._UZ(0,"cvc-mp-editor-popover-help",48)}function Ep(f,d){if(1&f&&(e.ynx(0),e.YNc(1,qp,1,0,"ng-container",44),e.YNc(2,pu,1,0,"ng-template",null,47,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.oxw().ngIf;e.oxw();const ie=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",e.WLB(2,kl,y,c))}}function hu(f,d){1&f&&e.GkF(0)}function fu(f,d){1&f&&e._UZ(0,"cvc-mp-editor-popover-help",50)}function Xp(f,d){if(1&f&&(e.ynx(0),e.YNc(1,hu,1,0,"ng-container",44),e.YNc(2,fu,1,0,"ng-template",null,49,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.oxw().ngIf;e.oxw();const ie=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",e.WLB(2,kl,y,c))}}function wo(f,d){1&f&&e.GkF(0)}function Rl(f,d){1&f&&e._UZ(0,"cvc-mp-editor-popover-help",52)}function z(f,d){if(1&f&&(e.ynx(0),e.YNc(1,wo,1,0,"ng-container",44),e.YNc(2,Rl,1,0,"ng-template",null,51,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.oxw().ngIf;e.oxw();const ie=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",e.WLB(2,kl,y,c))}}function p(f,d){1&f&&e.GkF(0)}function h(f,d){1&f&&e._UZ(0,"cvc-mp-editor-popover-help",54)}function v(f,d){if(1&f&&(e.ynx(0),e.YNc(1,p,1,0,"ng-container",44),e.YNc(2,h,1,0,"ng-template",null,53,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.oxw().ngIf;e.oxw();const ie=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",e.WLB(2,kl,y,c))}}function C(f,d){1&f&&e.GkF(0)}function D(f,d){1&f&&e._UZ(0,"cvc-mp-editor-popover-help",56)}function W(f,d){if(1&f&&(e.ynx(0),e.YNc(1,C,1,0,"ng-container",44),e.YNc(2,D,1,0,"ng-template",null,55,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.oxw().ngIf;e.oxw();const ie=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",e.WLB(2,kl,y,c))}}function _e(f,d){1&f&&e.GkF(0)}function Oe(f,d){1&f&&(e.ynx(0),e._UZ(1,"cvc-mp-editor-popover-help",58),e.BQk())}function Xe(f,d){1&f&&(e.ynx(0),e._UZ(1,"cvc-mp-editor-popover-help",59),e.BQk())}function mt(f,d){if(1&f&&(e.YNc(0,Oe,2,0,"ng-container",6),e.YNc(1,Xe,2,0,"ng-container",6)),2&f){const c=e.oxw(2).ngIf;e.Q6J("ngIf",c.errorMessage.split(" ").includes("multiple")),e.xp6(1),e.Q6J("ngIf",c.errorMessage.split(" ").includes("found."))}}function Mt(f,d){if(1&f&&(e.ynx(0),e.YNc(1,_e,1,0,"ng-container",44),e.YNc(2,mt,2,2,"ng-template",null,57,e.W1O),e.BQk()),2&f){const c=e.MAs(3),y=e.oxw().ngIf;e.oxw();const ie=e.MAs(14);e.xp6(1),e.Q6J("ngTemplateOutlet",ie)("ngTemplateOutletContext",e.WLB(2,kl,y,c))}}function Ot(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"pre"),e._uU(2),e.ALo(3,"json"),e.qZA(),e.BQk()),2&f){const c=e.oxw().ngIf;e.xp6(2),e.hij(" ",e.lcZ(3,1,c),"\n ")}}function Ht(f,d){if(1&f&&(e.ynx(0)(1,41),e.YNc(2,Kp,4,5,"ng-container",42),e.YNc(3,Ep,4,5,"ng-container",42),e.YNc(4,Xp,4,5,"ng-container",42),e.YNc(5,z,4,5,"ng-container",42),e.YNc(6,v,4,5,"ng-container",42),e.YNc(7,W,4,5,"ng-container",42),e.YNc(8,Mt,4,5,"ng-container",42),e.YNc(9,Ot,4,3,"ng-container",43),e.BQk()()),2&f){const c=d.ngIf;e.xp6(1),e.Q6J("ngSwitch",c.errorType),e.xp6(1),e.Q6J("ngSwitchCase","invalidToken"),e.xp6(1),e.Q6J("ngSwitchCase","trailingBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","initialBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","multipleBoolean"),e.xp6(1),e.Q6J("ngSwitchCase","incompleteExpression"),e.xp6(1),e.Q6J("ngSwitchCase","incompleteNOT"),e.xp6(1),e.Q6J("ngSwitchCase","queryError")}}function Qt(f,d){1&f&&(e.TgZ(0,"span",25),e._uU(1," Append: "),e.qZA())}function Bt(f,d){if(1&f&&(e.TgZ(0,"button",60)(1,"strong"),e._uU(2,"Variant"),e.qZA()()),2&f){e.oxw();const c=e.MAs(37);e.Q6J("nzPopoverContent",c)}}function an(f,d){if(1&f&&(e.TgZ(0,"button",61)(1,"strong"),e._uU(2,"NOT Variant"),e.qZA()()),2&f){e.oxw();const c=e.MAs(39);e.Q6J("nzPopoverContent",c)}}function _n(f,d){1&f&&(e.TgZ(0,"span",62),e._uU(1," | "),e.qZA())}function Ln(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw();return e.KtG(ie.onAppendInput$.next("AND"))}),e.TgZ(1,"strong"),e._uU(2,"AND"),e.qZA()()}}function en(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw();return e.KtG(ie.onAppendInput$.next("OR"))}),e.TgZ(1,"strong"),e._uU(2,"OR"),e.qZA()()}}function dn(f,d){1&f&&(e.TgZ(0,"span",62),e._uU(1," | "),e.qZA())}function Nn(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw();return e.KtG(ie.onAppendInput$.next("("))}),e.TgZ(1,"strong"),e._uU(2,"("),e.qZA()()}}function In(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"button",63),e.NdJ("click",function(){e.CHM(c);const ie=e.oxw();return e.KtG(ie.onAppendInput$.next(")"))}),e.TgZ(1,"strong"),e._uU(2,")"),e.qZA()()}}const eo=function(){return[6,8]};function Mo(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",64)(1,"nz-row",2)(2,"nz-col",3)(3,"p",65),e._uU(4," Select a Gene and Variant to append its #VID. "),e.qZA()(),e.TgZ(5,"nz-col",3)(6,"cvc-mp-finder",66),e.NdJ("cvcOnVariantSelect",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onVariantSelect$.next({variant:ie,prependNot:!1}))}),e.qZA()()()()}2&f&&(e.xp6(1),e.Q6J("nzGutter",e.DdM(1,eo)))}function zi(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",64)(1,"nz-row",2)(2,"nz-col",3)(3,"p",65),e._uU(4," Select a Gene and Variant to append its #VID, prepended with NOT boolean. "),e.qZA()(),e.TgZ(5,"nz-col",3)(6,"cvc-mp-finder",66),e.NdJ("cvcOnVariantSelect",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onVariantSelect$.next({variant:ie,prependNot:!0}))}),e.qZA()()()()}2&f&&(e.xp6(1),e.Q6J("nzGutter",e.DdM(1,eo)))}function Ti(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-list-item")(1,"nz-list-item-meta")(2,"nz-list-item-meta-title"),e._UZ(3,"cvc-entity-tag",70),e.qZA(),e.TgZ(4,"nz-list-item-meta-description"),e._uU(5),e.qZA()(),e.TgZ(6,"ul",71)(7,"nz-list-item-action")(8,"button",72),e.NdJ("click",function(){const ht=e.CHM(c).$implicit,It=e.oxw(2);return e.KtG(It.onSelectExample$.next(ht))}),e._uU(9," Select "),e.qZA()()()()}if(2&f){const c=d.$implicit;e.xp6(3),e.Q6J("cvcLinkableEntity",c.mp),e.xp6(2),e.hij(" ",c.description," ")}}function sa(f,d){if(1&f&&(e.TgZ(0,"div",67)(1,"nz-list",68),e.YNc(2,Ti,10,2,"nz-list-item",69),e.qZA()()),2&f){const c=e.oxw();e.xp6(2),e.Q6J("ngForOf",c.exampleExpressions)}}const wr=function(f){return{active:f}};let Pr=((uu=class{constructor(d,c,y,ie){this.previewMpGql=d,this.createMolecularProfileGql=c,this.mpEditorPrepopulate=y,this.networkErrorService=ie,this.cvcOnSelect=new e.vpe,this.expressionMessages={initial:"Use the editor below to construct a molecular profile."},this.exampleExpressions=[{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E AND EGFR L858R AND EGFR T790M"},expression:"#VID12 AND #VID33 AND #VID34",description:"BRAF V600E, EGFR L858R, and EGFR T790M must all be observed."},{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E AND NOT EGFR L858R"},expression:"#VID12 AND NOT #VID33",description:"BRAF V600E must be observed and EGFR L858R must be absent."},{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E OR EGFR L858R OR EGFR T790M"},expression:"#VID12 OR #VID33 OR #VID34",description:"Either BRAF V600E, or EGFR L858R, or EGFR T790M must be observed."},{mp:{__typename:"MolecularProfile",id:9999,name:"BRAF V600E AND EGFR L858R OR EGFR T790M"},expression:"#VID12 AND (#VID33 OR #VID34)",description:"BRAF V600E must be observed and either EGFR L858R or EGFR T790M must be observed."},{mp:{__typename:"MolecularProfile",id:9999,name:"NOT KIT D816V"},expression:"NOT #VID4353",description:"KIT D816V must be absent."}],this.createMolecularProfileMutator=new Ft.U(this.networkErrorService),this.onInputChange$=new it.X(void 0),this.onAppendInput$=new Je.x,this.onVariantSelect$=new Je.x,this.onCreateNewMp$=new Je.x,this.onSelectExample$=new Je.x,this.inputValue$=new it.X(""),this.expressionError$=new it.X(void 0),this.expressionHelp$=new it.X(void 0),this.expressionMessage$=new it.X(this.expressionMessages.initial),this.expressionSegment$=new Je.x,this.existingMp$=new Je.x}ngAfterViewInit(){this.onInputChange$.pipe((0,Ki.b)(250),(0,Fn.b)(d=>{d||this.expressionSegment$.next(void 0)}),(0,Ge.h)(Wn.ep),(0,Fn.b)(d=>{0===d.length&&(this.expressionMessage$.next(this.expressionMessages.initial),this.expressionError$.next(void 0))}),(0,Ge.h)(d=>d.length>0),(0,Ge.h)(d=>" "!==d[d.length-1]),(0,yt.U)(d=>{let c=yp(d);return"errorMessage"in c?c:this.previewQueryRef.refetch({mpStructure:c})}),(0,Pe.t)(this)).subscribe(d=>{if(this.isMpParseError(d)){const c=d;this.expressionMessage$.next(void 0),this.expressionError$.next(c),this.expressionSegment$.next(void 0)}else d.then(({data:y,errors:ie})=>{if(ie)this.expressionMessage$.next(void 0),this.expressionError$.next({errorType:"queryError",errorMessage:ie.map(ht=>ht.message).join("\n")}),this.expressionSegment$.next(void 0);else{this.expressionSegment$.next(y.previewMolecularProfileName.segments),this.expressionMessage$.next(void 0),this.expressionError$.next(void 0);this.existingMp$.next(y.previewMolecularProfileName.existingMolecularProfile||void 0)}})}),this.onAppendInput$.pipe((0,Pe.t)(this)).subscribe(d=>{if(this.expressionEditor){const c=this.expressionEditor.nativeElement,ie=`${c.value}${/\s+$/.test(d)?d:" "+d}`;c.value=ie,this.inputValue$.next(ie),this.onInputChange$.next(ie)}}),this.onSelectExample$.pipe((0,Pe.t)(this)).subscribe(d=>{this.expressionEditor&&(this.expressionEditor.nativeElement.value=d.expression,this.inputValue$.next(d.expression),this.onInputChange$.next(d.expression))}),this.onVariantSelect$.pipe((0,et.M)(this.onInputChange$),(0,yt.U)(([d,c])=>{const y=`${d.prependNot?"NOT ":""}#VID${d.variant.id}`;return c&&0!=c.trim().length?`${c.trim()} ${y}`:y}),(0,Pe.t)(this)).subscribe(d=>{this.inputValue$.next(d),this.onInputChange$.next(d)}),this.previewQueryRef=this.previewMpGql.watch({}),this.previewMpName$=this.previewQueryRef.valueChanges.pipe((0,Ut.j)("data","previewMolecularProfileName"),(0,Ge.h)(Wn.ep),(0,yt.U)(d=>d.segments),(0,Pe.t)(this)),this.previewMpAlreadyExists$=this.previewQueryRef.valueChanges.pipe((0,Ut.j)("data","previewMolecularProfileName"),(0,Ge.h)(Wn.ep),(0,yt.U)(d=>d.existingMolecularProfile),(0,Pe.t)(this)),this.previewDeprecatedVariants$=this.previewQueryRef.valueChanges.pipe((0,Ut.j)("data","previewMolecularProfileName"),(0,Ge.h)(Wn.ep),(0,yt.U)(d=>d.deprecatedVariants),(0,Pe.t)(this)),this.onCreateNewMp$.pipe((0,et.M)(this.onInputChange$),(0,Pe.t)(this)).subscribe(([d,c])=>{if(!c||0===c.length)return;let y=yp(c);"errorMessage"in y||(this.state=this.createMolecularProfileMutator.mutate(this.createMolecularProfileGql,{mpStructure:y},{},ie=>{setTimeout(()=>{ie.createMolecularProfile&&this.cvcOnSelect.next(ie.createMolecularProfile.molecularProfile)},1e3)}))})}isMpParseError(d){return void 0!==d.errorMessage}prepopulateMp(d){if(!d)return this.expressionSegment$.next(void 0),this.expressionMessage$.next(this.expressionMessages.initial),void this.inputValue$.next("");Xl(this.mpEditorPrepopulate.fetch({mpId:d},{fetchPolicy:"cache-first"})).then(({data:c})=>{if(!c?.molecularProfile?.id)return void console.error(`MpExpressionEditor could not fetch MolecularProfile:${d} to prepolate editor fields.`);const y=c.molecularProfile.rawName.replace(/#GID(\d+)/g,"").trim();this.inputValue$.next(y),this.onInputChange$.next(y)})}ngOnChanges(d){d.cvcPrepopulateWithId&&this.prepopulateMp(d.cvcPrepopulateWithId.currentValue)}}).\u0275fac=function(d){return new(d||uu)(e.Y36(bn.mki),e.Y36(bn.zpu),e.Y36(bn.vjc),e.Y36(Gt.Y))},uu.\u0275cmp=e.Xpm({type:uu,selectors:[["cvc-mp-expression-editor"]],viewQuery:function(d,c){if(1&d&&e.Gf(nd,5),2&d){let y;e.iGM(y=e.CRH())&&(c.expressionEditor=y.first)}},inputs:{cvcPrepopulateWithId:"cvcPrepopulateWithId"},outputs:{cvcOnSelect:"cvcOnSelect"},features:[e.TTD],decls:42,vars:23,consts:[["entityType","Molecular Profile",3,"mutationState","successMessage"],["success",""],[3,"nzGutter"],["nzSpan","24"],[1,"expression-preview",3,"ngClass"],[4,"ngrxLet"],[4,"ngIf"],["errorAlert",""],["nz-input","","rows","1","placeholder","Enter or edit a Molecular Expression here.",2,"width","100%",3,"ngModel","ngModelChange"],["expressionEditor",""],[1,"btn-row"],["nzFlex","80px"],["nzBlock","","nz-button","","nzType","primary","nzShape","round","nzSize","small","nz-popover","","nzPopoverTitle","Select a Profile to view its expression","nzPopoverTrigger","click","nzPopoverPlacement","bottomLeft",3,"nzPopoverContent"],["nzFlex","auto",2,"text-align","right"],["nz-typography","","nzType","secondary",4,"nzSpaceItem"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent",4,"nzSpaceItem"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant NOT #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent",4,"nzSpaceItem"],["class","btn-divider",4,"nzSpaceItem"],["type","button","nz-button","","nzType","primary","nzSize","small","nzShape","round",3,"click",4,"nzSpaceItem"],["appendVariant",""],["appendNotVariant",""],["expressionExamples",""],[3,"nameSegments",4,"ngIf"],["nz-typography","","nzType","secondary",4,"ngIf"],[3,"nameSegments"],["nz-typography","","nzType","secondary"],["nzType","info","nzShowIcon","",3,"nzMessage","nzAction"],["messageAction",""],["type","button","nz-button","","nzType","dashed","nzSize","small","nzShape","round","nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverContent"],["nz-icon","","nzType","question-circle","nzTheme","fill"],["gettingStartedHelp",""],["nzType","success","nzShowIcon","",3,"nzMessage","nzAction"],["selectAction",""],["foundMessage",""],["type","button","nz-button","","nzType","primary","nzSize","small","nzBlock","",3,"click"],["createAction",""],["createMessage",""],["type","button","nz-button","","nzSize","small","nzType","primary","nzBlock","",3,"click"],["nzType","error","nzShowIcon","",3,"nzMessage","nzAction"],["errorAction",""],["nz-button","","nzDanger","","nzType","text","nzSize","small","nzShape","round","nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverContent"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["invalidTokenHelp",""],["cvcErrorType","invalidToken"],["trailingBooleanHelp",""],["cvcErrorType","trailingBoolean"],["initialBooleanHelp",""],["cvcErrorType","initialBoolean"],["multipleBooleanHelp",""],["cvcErrorType","multipleBoolean"],["incompleteExpressionHelp",""],["cvcErrorType","incompleteExpression"],["incompleteNOTHelp",""],["cvcErrorType","incompleteNOT"],["queryErrorHelp",""],["cvcErrorType","identicalVariants"],["cvcErrorType","unknownVariant"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent"],["type","button","nz-button","","nz-popover","","nzPopoverTitle","Append Variant NOT #VID","nzPopoverTrigger","click","nzSize","small","nzShape","round","nzType","primary","nzPopoverPlacement","bottom",3,"nzPopoverContent"],[1,"btn-divider"],["type","button","nz-button","","nzType","primary","nzSize","small","nzShape","round",3,"click"],[1,"append-popover-contents"],["nz-typography","","nzType","secondary",2,"margin","0","padding-bottom","2px"],[3,"cvcOnVariantSelect"],[2,"min-width","525px","margin","-8px -12px"],["nzSize","small","nzItemLayout","horizontal"],[4,"ngFor","ngForOf"],[3,"cvcLinkableEntity"],["nz-list-item-actions",""],["type","button","nz-button","","nzType","primary","nzSize","small",3,"click"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-form-submission-status-display",0),e.YNc(1,jp,1,0,"ng-template",null,1,e.W1O),e.TgZ(3,"nz-row",2)(4,"nz-col",3)(5,"div",4),e.ALo(6,"ngrxPush"),e.YNc(7,rc,3,2,"ng-container",5),e.ALo(8,"ngrxPush"),e.qZA()(),e.TgZ(9,"nz-col",3),e.YNc(10,Th,4,2,"ng-container",6),e.ALo(11,"ngrxPush"),e.YNc(12,Hd,4,5,"ng-container",5),e.YNc(13,Oa,3,2,"ng-template",null,7,e.W1O),e.YNc(15,Ht,10,8,"ng-container",6),e.ALo(16,"ngrxPush"),e.qZA(),e.TgZ(17,"nz-col",3)(18,"textarea",8,9),e.NdJ("ngModelChange",function(ie){return c.onInputChange$.next(ie)}),e.ALo(20,"ngrxPush"),e.qZA()()(),e.TgZ(21,"nz-row",10)(22,"nz-col",11)(23,"button",12),e._uU(24," Examples "),e.qZA()(),e.TgZ(25,"nz-col",13)(26,"nz-space"),e.YNc(27,Qt,2,0,"span",14),e.YNc(28,Bt,3,1,"button",15),e.YNc(29,an,3,1,"button",16),e.YNc(30,_n,2,0,"span",17),e.YNc(31,Ln,3,0,"button",18),e.YNc(32,en,3,0,"button",18),e.YNc(33,dn,2,0,"span",17),e.YNc(34,Nn,3,0,"button",18),e.YNc(35,In,3,0,"button",18),e.qZA()(),e.YNc(36,Mo,7,2,"ng-template",null,19,e.W1O),e.YNc(38,zi,7,2,"ng-template",null,20,e.W1O),e.YNc(40,sa,3,1,"ng-template",null,21,e.W1O),e.qZA()()),2&d){const y=e.MAs(2),ie=e.MAs(41);e.Q6J("mutationState",c.state)("successMessage",y),e.xp6(3),e.Q6J("nzGutter",e.DdM(20,eo)),e.xp6(2),e.Q6J("ngClass",e.VKq(21,wr,void 0!==e.lcZ(6,10,c.expressionSegment$))),e.xp6(2),e.Q6J("ngrxLet",e.lcZ(8,12,c.expressionSegment$)),e.xp6(3),e.Q6J("ngIf",e.lcZ(11,14,c.expressionMessage$)),e.xp6(2),e.Q6J("ngrxLet",c.existingMp$),e.xp6(3),e.Q6J("ngIf",e.lcZ(16,16,c.expressionError$)),e.xp6(3),e.Q6J("ngModel",e.lcZ(20,18,c.inputValue$)),e.xp6(5),e.Q6J("nzPopoverContent",ie)}},dependencies:[S.mk,S.sg,S.O5,S.tP,S.RF,S.n9,S.ED,t.Fj,t.JJ,t.On,I.eJ,Sn.r,$n.ix,un.w,pn.dQ,_t.Ls,Ae.Zp,w.t3,w.SK,nn.NU,nn.$1,pe.ZU,co.lU,Or.n_,Or.AA,Or.yi,Or.IO,Or.Pb,Or.nk,Or.KC,fn.F,Cp.C,Tt.J,vl,r1,S.Ts,I.fM],styles:["[_nghost-%COMP%]{display:block;background-color:#f6f6f6;border:1px solid #dedede;border-radius:4px;padding:8px}.expression-preview[_ngcontent-%COMP%]{width:100%;padding:8px;border:1px solid #dedede;border-radius:4px}.expression-preview.active[_ngcontent-%COMP%]{background-color:#fff}.append-popover-contents[_ngcontent-%COMP%]{min-width:450px}.help-content[_ngcontent-%COMP%]{max-width:500px}.btn-row[_ngcontent-%COMP%]{margin-top:10px;flex-wrap:nowrap}.btn-row[_ngcontent-%COMP%] .btn-divider[_ngcontent-%COMP%]{color:#aaa}"],changeDetection:0}),uu);Pr=(0,Te.gn)([(0,Pe.c)()],Pr);const Sp=["optionTemplates"];function xp(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-mp-finder",11),e.NdJ("cvcOnSelect",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.onMpSelect$.next(ie))}),e.qZA()}}function io(f,d){1&f&&(e.TgZ(0,"div",12),e._uU(1," \xa0 "),e.TgZ(2,"span",13)(3,"i"),e._uU(4,"Select or create a Molecular Profile with the expression editor "),e.qZA()()())}function vo(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",14)(1,"cvc-entity-select",15),e.NdJ("cvcOnSearch",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.onSearch$.next(ie))})("cvcOnModelChange",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.props.change&&ht.props.change(ht.field,ie))}),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.qZA()()}if(2&f){const c=e.oxw(2),y=e.MAs(13);e.xp6(1),e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",c.props.placeholder)("cvcResults",e.lcZ(2,15,c.result$))("cvcDisabled",c.props.disabled)("cvcAllowClear",!1)("cvcOptions",e.lcZ(3,17,c.selectOption$))("cvcShowError",c.showError)("cvcLoading",e.lcZ(4,19,c.isLoading$))("cvcBorderless",!0)("cvcSuffixIcon",null)("cvcShowArrow",!1)}}function zo(f,d){if(1&f&&(e.ynx(0),e.YNc(1,xp,1,0,"cvc-mp-finder",8),e.YNc(2,io,5,0,"div",9),e.YNc(3,vo,5,21,"div",10),e.BQk()),2&f){const c=d.ngrxLet,y=e.oxw();e.xp6(1),e.Q6J("ngIf",c.showFinder&&!y.editorOpen),e.xp6(1),e.Q6J("ngIf",y.editorOpen),e.xp6(1),e.Q6J("ngIf",c.showSelect&&!y.editorOpen)}}function Jo(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-col",16)(1,"cvc-mp-expression-editor",17),e.NdJ("cvcOnSelect",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onMpSelect$.next(ie))}),e.ALo(2,"ngrxPush"),e.qZA()()}if(2&f){const c=e.oxw();e.xp6(1),e.Q6J("cvcPrepopulateWithId",e.lcZ(2,1,c.onMpId$))}}function hr(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",24),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(2),e.Q6J("innerHtml",e.xi3(3,1,c.molecularProfileAliases.join(", "),y),e.oJD)}}function aa(f,d){1&f&&e._uU(0,"--")}function fs(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",20),e.TgZ(1,"span",21),e._uU(2," Aliases: "),e.YNc(3,hr,4,4,"ng-container",22),e.YNc(4,aa,1,0,"ng-template",null,23,e.W1O),e.qZA()),2&f){const c=e.MAs(5),y=e.oxw().$implicit,ie=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",y.__typename+":"+y.id)("cvcEmphasize",ie),e.xp6(3),e.Q6J("ngIf",y.molecularProfileAliases.length>0)("ngIfElse",c)}}function sc(f,d){1&f&&(e.ynx(0),e.YNc(1,fs,6,5,"ng-template",null,19,e.W1O),e.BQk())}function Ai(f,d){if(1&f&&(e.ynx(0),e.YNc(1,sc,3,0,"ng-container",18),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function od(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",25)(1,"cvc-entity-tag",26),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","MolecularProfile:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const eh=function(){return[8,12]},es=function(f,d){return{show:f,hide:d}},ca=jt($t(),To());class fr extends ca{constructor(d,c,y,ie){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.apollo=ie,this.editorOpen=!1,this.defaultOptions={props:{label:"Molecular Profile",placeholder:"Search Molecular Profiles",isMultiSelect:!1,description:"Select a Gene and Variant to specify a simple Molecular Profile.",extraType:"prompt",entityName:{singular:"Molecular Profile",plural:"Molecular Profiles"},minSearchStrLength:1}},this.onMpSelect$=new it.X(void 0),this.onMpId$=new Wo.t,this.onShowExpClick$=new Je.x,this.showExp$=this.onShowExpClick$.pipe((0,ri.R)((ht,It)=>!ht,!1),(0,Fn.b)(ht=>this.editorOpen=ht)),this.selectDisplay$=new it.X({showFinder:!0,showSelect:!1})}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.initialDescription=this.props.description,this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{const c=void 0!==d;this.selectDisplay$.next({showFinder:!c,showSelect:c}),this.onMpId$.next(d),this.props.description=d?void 0:this.initialDescription}),this.onMpSelect$.pipe((0,Pe.t)(this)).subscribe(d=>{d?(this.selectOption$.next([{label:d.name,value:d.id}]),this.editorOpen&&this.onShowExpClick$.next(),this.cdr.detectChanges(),this.field.formControl.setValue(d.id)):this.selectDisplay$.next({showFinder:!0,showSelect:!1})})}configureStateConnections(){}getTypeaheadVarsFn(d,c){return{name:d,geneId:c}}getTypeaheadResultsFn(d){return d.data.molecularProfiles.nodes}getTagQueryVarsFn(d){return{molecularProfileId:d}}getTagQueryResultsFn(d){return d.data.molecularProfile}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}fr.\u0275fac=function(d){return new(d||fr)(e.Y36(bn.F4e),e.Y36(bn.dGO),e.Y36(e.sBO),e.Y36(si._M))},fr.\u0275cmp=e.Xpm({type:fr,selectors:[["ng-component"]],viewQuery:function(d,c){if(1&d&&e.Gf(Sp,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:14,vars:16,consts:[[3,"nzGutter"],["nzFlex","auto"],[4,"ngrxLet"],["nzFlex","50px"],["type","button","nz-button","","nzBlock","","nz-tooltip","","nzTooltipTitle","Add/Edit Complex MP Expression",1,"expression-button",3,"click"],["nz-icon","",3,"ngClass","nzType"],["nzSpan","24","class","editor-drawer",4,"ngIf"],["selectedTemplate",""],[3,"cvcOnSelect",4,"ngIf"],["class","editor-message",4,"ngIf"],["style","display: inline-block",4,"ngIf"],[3,"cvcOnSelect"],[1,"editor-message"],["nz-typography","","nzEllipsis","","nzType","secondary"],[2,"display","inline-block"],[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcDisabled","cvcAllowClear","cvcOptions","cvcShowError","cvcLoading","cvcBorderless","cvcSuffixIcon","cvcShowArrow","cvcOnSearch","cvcOnModelChange"],["nzSpan","24",1,"editor-drawer"],[3,"cvcPrepopulateWithId","cvcOnSelect"],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf","ngIfElse"],["noAliases",""],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){1&d&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.YNc(2,zo,4,3,"ng-container",2),e.qZA(),e.TgZ(3,"nz-col",3)(4,"button",4),e.NdJ("click",function(){return c.onShowExpClick$.next()}),e._UZ(5,"span",5),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e._uU(8,"Editor "),e.qZA()(),e.YNc(9,Jo,3,3,"nz-col",6),e.ALo(10,"ngrxPush"),e.qZA(),e.YNc(11,Ai,3,3,"ng-container",2),e.YNc(12,od,2,3,"ng-template",null,7,e.W1O)),2&d&&(e.Q6J("nzGutter",e.DdM(12,eh)),e.xp6(2),e.Q6J("ngrxLet",c.selectDisplay$),e.xp6(3),e.Q6J("ngClass",e.WLB(13,es,e.lcZ(6,6,c.showExp$),!e.lcZ(7,8,c.showExp$)))("nzType","caret-right"),e.xp6(4),e.Q6J("ngIf",e.lcZ(10,10,c.showExp$)),e.xp6(2),e.Q6J("ngrxLet",c.onSearch$))},dependencies:[S.mk,S.sg,S.O5,I.eJ,$n.ix,un.w,pn.dQ,_t.Ls,w.t3,w.SK,pe.ZU,At.SY,Ue,Tt.J,Pr,vl,I.fM,P.A],styles:["form[_ngcontent-%COMP%] span.hide[_ngcontent-%COMP%], .expression-button[_ngcontent-%COMP%] span.hide[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .2s linear}form[_ngcontent-%COMP%] span.show[_ngcontent-%COMP%], .expression-button[_ngcontent-%COMP%] span.show[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .2s linear}.editor-message[_ngcontent-%COMP%]{padding:3px;background-color:#f5f5f5;cursor:default;border-radius:2px}"],data:{animation:[gl.mF,gl.MC]},changeDetection:0});const id={types:[{name:"molecular-profile-select",wrappers:["form-field"],component:fr},{name:"molecular-profile-multi-select",wrappers:["form-field"],component:fr,defaultOptions:{props:{label:"Molecular Profiles",isMultiSelect:!0}}}]};class Uc{}Uc.\u0275fac=function(d){return new(d||Uc)},Uc.\u0275mod=e.oAB({type:Uc}),Uc.\u0275inj=e.cJS({imports:[S.ez,t.u5,t.UX,I._N,I.pP,g.X0.forChild(id),Sn.L,$n.sL,Ze.LV,Yn.Qp,_t.PV,Ae.o7,w.Jb,nn.zf,s.U5,rt.ic,pe.ZJ,At.cg,co.$6,nn.zf,Rt.Wr,Or.Ph,Un.g,Vd.r,ct,jn,xt.s,Zt.x]});var Xh=a(9657);const e4=["optionTemplates"];function Dp(f,d){if(1&f&&(e.TgZ(0,"nz-tag")(1,"strong"),e._uU(2),e.ALo(3,"formatAmp"),e.qZA()(),e.TgZ(4,"span",4),e._uU(5),e.qZA()),2&f){const c=e.oxw().$implicit,y=e.oxw();e.xp6(2),e.Oqu(e.xi3(3,2,c,"verbose")),e.xp6(3),e.Oqu(y.descriptionForCategory(c))}}function rd(f,d){1&f&&(e.ynx(0),e.YNc(1,Dp,6,5,"ng-template",null,3,e.W1O),e.BQk())}function th(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-tag",8),e.NdJ("nzOnClose",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.onTagClose$.next(ie))}),e.TgZ(1,"strong"),e._uU(2),e.ALo(3,"formatAmp"),e.qZA()()}if(2&f){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(e.xi3(3,1,c.nzValue,"verbose"))}}function Yd(f,d){if(1&f&&(e.ynx(0),e._uU(1),e.ALo(2,"formatAmp"),e.BQk()),2&f){const c=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.xi3(2,1,c.nzValue,"verbose")," ")}}function nh(f,d){if(1&f&&(e.TgZ(0,"div",5),e.YNc(1,th,4,4,"nz-tag",6),e.YNc(2,Yd,3,4,"ng-container",7),e.qZA()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!c.props.isMultiSelect),e.xp6(1),e.Q6J("ngIf",c.props.isMultiSelect)}}const $d=new Map([[bn.iwm.Na,"Not Applicable"],[bn.iwm.TierILevelA,"Biomarkers showing therapeutic response to FDA-approved therapy, or therapy included in professional guidelines."],[bn.iwm.TierILevelB,"Biomarkers showing therapeutic response based on well-powered studies with consensus from experts in the field."],[bn.iwm.TierIiLevelC,"FDA-approved therapies for different tumor types or investigational therapies, or multiple small published studies with some consensus."],[bn.iwm.TierIiLevelD,"Biomarkers that show plausible therapeutic significance based on preclinical studies."],[bn.iwm.TierIii,"Somatic variants in cancer genes reported in the same or different cancer types with unknown clinical significance and variants in cancer genes that have not been reported in any cancers."],[bn.iwm.TierIv,"Benign or likely benign germline variants observed at significant allele frequencies in the general population or specific subpopulation."]]),Eh=jt($t(),pt());class mu extends Eh{constructor(d){super(),this.cdr=d,this.defaultOptions={props:{label:"AMP/ASCO/CAP Category",required:!1,isMultiSelect:!1,placeholder:"Select AMP/ASCO/CAP Category"}},this.ampCategoryEnum$=new it.X([])}descriptionForCategory(d){return $d.get(d)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.ampCategoryEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr}),this.configurePlaceholder()}configureStateConnections(){this.props.tooltip="If applicable, please provide the AMP/ASCO/CAP somatic variant classification.",this.ampCategoryEnum$.next((0,xi.o6)(bn.iwm).map(d=>d)),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(d=>d.map(c=>c))),this.state&&(this.state.requires.requiresAmpLevel$?this.onRequiresAmpCategory$=this.state.requires.requiresAmpLevel$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresAmpLevel$ subject to attach.`),this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{d?(this.props.extraType=void 0,this.props.description=$d.get(d)):this.props.description="Select an Assertion Type to select its AMP Category"}))}configurePlaceholder(){this.placeholder$=new it.X(this.props.placeholder),this.onRequiresAmpCategory$&&this.onRequiresAmpCategory$.pipe((0,Po.x)(),(0,Pe.t)(this)).subscribe(d=>{this.props.extraType=void 0,d?(this.formControl.value||(this.props.extraType="description",this.props.description='Please provide the AMP/ASCO/CAP somatic variant classification.'),this.props.required=!0,this.props.disabled=!1):(this.props.required=!1,this.props.disabled=!0,this.resetField()),this.cdr.markForCheck()})}}mu.\u0275fac=function(d){return new(d||mu)(e.Y36(e.sBO))},mu.\u0275cmp=e.Xpm({type:mu,selectors:[["cvc-amp-category-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(e4,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],["nz-typography","","nzType","secondary"],[1,"ant-select-selection-item-content"],["nzMode","closeable",3,"nzOnClose",4,"ngIf"],[4,"ngIf"],["nzMode","closeable",3,"nzOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,rd,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,nh,3,2,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(6);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,c.placeholder$))("cvcCustomTemplate",y)("cvcOptions",e.lcZ(2,11,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,c.ampCategoryEnum$))}},dependencies:[S.sg,S.O5,Yt.j,pe.ZU,We,I.fM,Xh.t]});const oh={types:[{name:"amp-category-select",wrappers:["form-field"],component:mu},{name:"amp-category-multi-select",wrappers:["form-field"],component:mu,defaultOptions:{props:{label:"AMP/ASCO/CAP Categories",isMultiSelect:!0}}}]};class gu{}gu.\u0275fac=function(d){return new(d||gu)},gu.\u0275mod=e.oAB({type:gu}),gu.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(oh),Yt.X,pe.ZJ,xt.s,ct,oe]});const Sh=["optionTemplates"];function ih(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"em")(2,"span",6),e._uU(3),e.qZA()(),e.BQk()),2&f){const c=e.oxw(2).$implicit;e.xp6(3),e.Oqu(c.description)}}function t4(f,d){if(1&f&&(e.TgZ(0,"nz-tag",5),e._uU(1),e.qZA(),e.TgZ(2,"span",6),e.YNc(3,ih,4,1,"ng-container",7),e.qZA()),2&f){const c=e.oxw().$implicit;e.xp6(1),e.Oqu(c.code),e.xp6(2),e.Q6J("ngIf",c.description)}}function n4(f,d){1&f&&(e.ynx(0),e.YNc(1,t4,4,2,"ng-template",null,4,e.W1O),e.BQk())}function xh(f,d){if(1&f&&(e.ynx(0),e.YNc(1,n4,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function o4(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",8)(1,"cvc-entity-tag",9),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcDisableLink",!0)("cvcHasTooltip",!0)("cvcCacheId","AcmgCode:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const Dh=jt($t(),To());class s1 extends Dh{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.defaultOptions={props:{entityName:{singular:"ACMG/AMP Code",plural:"ACMG/AMP Codes"},isMultiSelect:!1,requireType:!0,tooltip:"If applicable, please provide evidence criteria from the standards and guidelines for interpretation of sequence variants from ACMG/AMP.",placeholder:"Search ACMG/AMP Codes",requireTypePromptFn:(ie,ht)=>`Select an ${ie} Type to search associated ACMG Code(s)`}},this.placeholder$=new it.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){if(this.state&&(this.stateEntityName=this.state.entityName,this.state.requires.requiresAcmgCodes$?this.onRequiresAcmgCode$=this.state.requires.requiresAcmgCodes$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresAcmgCodes$ subject to attach.`),this.props.requireType)){const d=`${this.stateEntityName.toLowerCase()}Type$`;this.state.fields[d]?this.onEntityType$=this.state.fields[d]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${d}.`)}}configurePlaceholders(){this.placeholder$.next(this.props.placeholders),this.onRequiresAcmgCode$&&this.onEntityType$&&(0,ro.a)([this.onRequiresAcmgCode$,this.onEntityType$]).pipe((0,Po.x)(),(0,Pe.t)(this)).subscribe(([d,c])=>{!d&&c?(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,J.E)(c)} ${this.state.entityName} does not include associated ACMG/AMP Code(s)`,this.props.extraType="prompt",this.resetField(),this.cdr.markForCheck()):this.props.requireType&&!c?(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"):d?(this.props.required=!0,this.props.disabled=!1,this.props.description='Please provide evidence criteria from the standards and guidelines for interpretation of sequence variants from ACMG/AMP in Richards et. al. 2015.',this.props.extraType="description"):(!d&&this.formControl.value||this.props.requireType&&!c&&this.formControl.value)&&this.resetField()})}getTypeaheadVarsFn(d){return{code:d}}getTypeaheadResultsFn(d){return d.data.acmgCodesTypeahead}getTagQueryResultsFn(d){return d.data.acmgCode}getTagQueryVarsFn(d){return{id:d}}getSelectedItemOptionFn(d){return{value:d.id,label:d.code}}getSelectOptionsFn(d,c){return d.map((y,ie)=>(console.log(y),{label:c.get(ie)||y.code,value:y.id}))}}s1.\u0275fac=function(d){return new(d||s1)(e.Y36(bn.O2u),e.Y36(bn.AIY),e.Y36(e.sBO))},s1.\u0275cmp=e.Xpm({type:s1,selectors:[["cvc-acmg-code-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Sh,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:9,vars:22,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],["nz-tooltip",""],["nz-typography","","nzType","secondary"],[4,"ngIf"],[1,"ant-select-selection-item-content"],[3,"cvcDisableLink","cvcHasTooltip","cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.qZA(),e.YNc(6,xh,3,3,"ng-container",1),e.YNc(7,o4,2,5,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(8);e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",e.lcZ(1,12,c.placeholder$))("cvcResults",e.lcZ(2,14,c.result$))("cvcOptions",e.lcZ(3,16,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.onRequiresAcmgCode$&&!e.lcZ(4,18,c.onRequiresAcmgCode$))("cvcLoading",e.lcZ(5,20,c.isLoading$)),e.xp6(6),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,I.eJ,At.SY,pe.ZU,Yt.j,Ue,Tt.J,I.fM],changeDetection:0});const r4={types:[{name:"acmg-code-select",wrappers:["form-field"],component:s1,defaultOptions:{props:{label:"ACMG/AMP Code"}}},{name:"acmg-code-multi-select",wrappers:["form-field"],component:s1,defaultOptions:{props:{isMultiSelect:!0,label:"ACMG/AMP Code(s)"}}}]};class sd{}sd.\u0275fac=function(d){return new(d||sd)},sd.\u0275mod=e.oAB({type:sd}),sd.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(r4),Sn.L,$n.sL,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,Yt.X,ct,jn,xt.s,Zt.x,pr]});const wa=["optionTemplates"];function Oh(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"em")(2,"span",6),e._uU(3),e.qZA()(),e.BQk()),2&f){const c=e.oxw(2).$implicit;e.xp6(3),e.Oqu(c.description)}}function s4(f,d){if(1&f&&(e.TgZ(0,"nz-tag",5),e._uU(1),e.qZA(),e.TgZ(2,"span",6),e.YNc(3,Oh,4,1,"ng-container",7),e.qZA()),2&f){const c=e.oxw().$implicit;e.xp6(1),e.Oqu(c.code),e.xp6(2),e.Q6J("ngIf",c.description)}}function t2(f,d){1&f&&(e.ynx(0),e.YNc(1,s4,4,2,"ng-template",null,4,e.W1O),e.BQk())}function rh(f,d){if(1&f&&(e.ynx(0),e.YNc(1,t2,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function wh(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",8)(1,"cvc-entity-tag",9),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcDisableLink",!0)("cvcHasTooltip",!0)("cvcCacheId","ClingenCode:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const a4=jt($t(),To());class ad extends a4{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.exclusiveCodes=new Set,this.exclusiveSelected=!1,this.defaultOptions={props:{entityName:{singular:"ClinGen/CGC/VICC Code",plural:"ClinGen/CGC/VICC Codes"},isMultiSelect:!1,requireType:!0,tooltip:"If applicable, please provide evidence classifications from the Standards for the classification of pathogenicity of somatic variants in cancer (oncogenicity).",placeholder:"Search ClinGen/CGC/VICC Codes",requireTypePromptFn:(ie,ht)=>`Select an ${ie} Type to search associated ClinGen Code(s)`}},this.placeholder$=new it.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectComponent:this.selectComponent}),this.configurePlaceholders(),this.onValueChange$.pipe((0,Pe.t)(this)).subscribe(d=>{if(d&&Array.isArray(d)&&d.length>1){const c=d.find(y=>this.exclusiveCodes.has(y));c?(this.previousDescription=this.props.description,this.previousDescriptionType=this.props.extraType,this.props.description="You have selected N/A which precludes selecting any other codes. Please remove it if you wish to select additional codes.",this.exclusiveSelected=!0,this.formControl.setValue([c])):this.exclusiveSelected=!1}this.previousDescription&&!this.exclusiveSelected&&(this.props.description=this.previousDescription,this.props.extraType=this.previousDescriptionType),this.cdr.detectChanges()})}configureStateConnections(){if(this.state&&(this.stateEntityName=this.state.entityName,this.state.requires.requiresClingenCodes$?this.onRequiresClingenCode$=this.state.requires.requiresClingenCodes$:console.warn(`${this.field.id} field's form provides a state, but could not find requiresClingenCodes$ subject to attach.`),this.props.requireType)){const d=`${this.stateEntityName.toLowerCase()}Type$`;this.state.fields[d]?this.onEntityType$=this.state.fields[d]:console.error(`${this.field.id} requireType is true, however form state does not provide Subject ${d}.`)}}configurePlaceholders(){this.placeholder$.next(this.props.placeholders),this.onRequiresClingenCode$&&this.onEntityType$&&(0,ro.a)([this.onRequiresClingenCode$,this.onEntityType$]).pipe((0,Po.x)(),(0,Pe.t)(this)).subscribe(([d,c])=>{!d&&c?(this.props.required=!1,this.props.disabled=!0,this.props.description=`${(0,J.E)(c)} ${this.state.entityName} does not include associated ClinGen/CGC/VICC Code(s)`,this.props.extraType="prompt",this.resetField(),this.cdr.markForCheck()):this.props.requireType&&!c?(this.props.required=!1,this.props.disabled=!0,this.props.description=this.props.requireTypePromptFn(this.state.entityName,this.props.isMultiSelect),this.props.extraType="prompt"):d?(this.props.required=!0,this.props.disabled=!1,this.props.description='Please provide the evidence classifications from the Standards for the classification of pathogenicity of somatic variants in cancer (oncogenicity) in Horak et. al. 2022..',this.props.extraType="description"):(!d&&this.formControl.value||this.props.requireType&&!c&&this.formControl.value)&&this.resetField()})}getTypeaheadVarsFn(d){return{code:d}}getTypeaheadResultsFn(d){return d.data.clingenCodesTypeahead.forEach(c=>{c.exclusive&&this.exclusiveCodes.add(c.id)}),d.data.clingenCodesTypeahead}getTagQueryResultsFn(d){return d.data.clingenCode}getTagQueryVarsFn(d){return{id:d}}getSelectedItemOptionFn(d){return{value:d.id,label:d.code}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.code,value:y.id}))}}ad.\u0275fac=function(d){return new(d||ad)(e.Y36(bn.E2B),e.Y36(bn.R8F),e.Y36(e.sBO))},ad.\u0275cmp=e.Xpm({type:ad,selectors:[["cvc-clingen-code-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(wa,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:9,vars:22,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],["nz-tooltip",""],["nz-typography","","nzType","secondary"],[4,"ngIf"],[1,"ant-select-selection-item-content"],[3,"cvcDisableLink","cvcHasTooltip","cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.ALo(5,"ngrxPush"),e.qZA(),e.YNc(6,rh,3,3,"ng-container",1),e.YNc(7,wh,2,5,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(8);e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",e.lcZ(1,12,c.placeholder$))("cvcResults",e.lcZ(2,14,c.result$))("cvcOptions",e.lcZ(3,16,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.onRequiresClingenCode$&&!e.lcZ(4,18,c.onRequiresClingenCode$))("cvcLoading",e.lcZ(5,20,c.isLoading$)),e.xp6(6),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,I.eJ,At.SY,pe.ZU,Yt.j,Ue,Tt.J,I.fM],changeDetection:0});const c4={types:[{name:"clingen-code-select",wrappers:["form-field"],component:ad,defaultOptions:{props:{label:"ClinGen/CGC/VICC Code"}}},{name:"clingen-code-multi-select",wrappers:["form-field"],component:ad,defaultOptions:{props:{isMultiSelect:!0,label:"ClinGen/CGC/VICC Code(s)"}}}]};class a1{}a1.\u0275fac=function(d){return new(d||a1)},a1.\u0275mod=e.oAB({type:a1}),a1.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(c4),Sn.L,$n.sL,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,Yt.X,ct,jn,xt.s,Zt.x,pr]});const l4=["optionTemplates"];function u4(f,d){if(1&f&&(e.TgZ(0,"nz-tag",5),e._uU(1),e.qZA()),2&f){const c=e.oxw().$implicit;e.xp6(1),e.Oqu(c.name)}}function sh(f,d){1&f&&(e.ynx(0),e.YNc(1,u4,2,1,"ng-template",null,4,e.W1O),e.BQk())}function d4(f,d){if(1&f&&(e.ynx(0),e.YNc(1,sh,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function p4(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",6)(1,"cvc-entity-tag",7),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcDisableLink",!0)("cvcCacheId","NccnGuideline:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const h4=jt($t(),To());class cd extends h4{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.defaultOptions={props:{entityName:{singular:"NCCN Guideline",plural:"NCCN Guidelines"},isMultiSelect:!1,requireType:!1,tooltip:"If applicable, please provide cancer (e.g., Breast Cancer) for the appropriate NCCN guideline.",placeholder:"Search NCCN Guidelines"}},this.placeholder$=new it.X(void 0)}ngAfterViewInit(){this.configureBaseField(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectComponent:this.selectComponent})}getTypeaheadVarsFn(d){return{name:d}}getTypeaheadResultsFn(d){return d.data.nccnGuidelinesTypeahead}getTagQueryResultsFn(d){return d.data.nccnGuideline}getTagQueryVarsFn(d){return{id:d}}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}cd.\u0275fac=function(d){return new(d||cd)(e.Y36(bn.sA8),e.Y36(bn.N$2),e.Y36(e.sBO))},cd.\u0275cmp=e.Xpm({type:cd,selectors:[["cvc-nccn-guideline-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(l4,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:8,vars:20,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcDisabled","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],["nz-tooltip",""],[1,"ant-select-selection-item-content"],[3,"cvcDisableLink","cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.qZA(),e.YNc(5,d4,3,3,"ng-container",1),e.YNc(6,p4,2,4,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(7);e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",e.lcZ(1,12,c.placeholder$))("cvcResults",e.lcZ(2,14,c.result$))("cvcOptions",e.lcZ(3,16,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",!1)("cvcLoading",e.lcZ(4,18,c.isLoading$)),e.xp6(5),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,I.eJ,At.SY,Yt.j,Ue,Tt.J,I.fM],changeDetection:0});const f4={types:[{name:"nccn-guideline-select",wrappers:["form-field"],component:cd,defaultOptions:{props:{label:"NCCN Guideline"}}},{name:"nccn-guideline-multi-select",wrappers:["form-field"],component:cd,defaultOptions:{props:{isMultiSelect:!0,label:"NCCN Guideline(s)"}}}]};class $s{}$s.\u0275fac=function(d){return new(d||$s)},$s.\u0275mod=e.oAB({type:$s}),$s.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(f4),Sn.L,$n.sL,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,Yt.X,ct,jn,xt.s,Zt.x,pr]});const ah=jt($t());class ld extends ah{constructor(d){super(),this.cdr=d,this.defaultDescription="Please enter the version of the NCCN guideline you're referencing in the format Version.Year",this.defaultOptions={validators:{nccnVersionNumber:{expression:c=>{if(c.value){if(/^\d{1,2}\.\d{4}$/.test(c.value)){let y=+c.value.split(".")[1];return y>=2e3&&y<=(new Date).getFullYear()+1}return!1}return!0},message:(c,y)=>`"${y.formControl?.value}" does not fit the format Version.Year`}},props:{label:"NCCN Guideline Version",extraType:"description",description:this.defaultDescription}}}ngAfterViewInit(){this.configureBaseField(),this.state&&this.state.formReady$?this.state.formReady$.pipe((0,Ge.h)(d=>d),(0,Do.q)(1),(0,Pe.t)(this)).subscribe(d=>{this.configureField()}):this.configureField()}configureField(){this.state?.fields.nccnGuidelineId$.pipe((0,Pe.t)(this)).subscribe(d=>{d?(this.props.disabled=!1,this.props.required=!0,this.props.extraType="description",this.props.description=this.defaultDescription):(this.props.disabled=!0,this.props.required=!1,this.props.extraType="prompt",this.props.description="NCCN Guideline Version is only required when NCCN Guideline is specified.",this.formControl.setValue(void 0))})}}ld.\u0275fac=function(d){return new(d||ld)(e.Y36(e.sBO))},ld.\u0275cmp=e.Xpm({type:ld,selectors:[["cvc-nccn-guideline-version-input"]],features:[e.qOj],decls:1,vars:2,consts:[["nz-input","","placeholder","ex: 1.2023",3,"formControl","formlyAttributes"]],template:function(d,c){1&d&&e._UZ(0,"input",0),2&d&&e.Q6J("formControl",c.formControl)("formlyAttributes",c.field)},dependencies:[t.Fj,t.JJ,t.oH,g.JD,Ae.Zp],encapsulation:2,changeDetection:0});const Ph={types:[{name:"nccn-guideline-version-input",component:ld,wrappers:["form-field"]}]};class c1{}c1.\u0275fac=function(d){return new(d||c1)},c1.\u0275mod=e.oAB({type:c1}),c1.\u0275inj=e.cJS({imports:[S.ez,t.UX,g.X0.forChild(Ph),Ae.o7,ct]});const m4=jt($t());class ud extends m4{constructor(){super(...arguments),this.defaultDescription="Check this if the referenced therapy is approved for use by the FDA in the specific disease associated with the Assertion (as in a listing here.)",this.defaultOptions={props:{hideLabel:!1,label:"FDA Regulatory Approval",description:this.defaultDescription}}}ngAfterViewInit(){this.configureBaseField(),this.state&&(this.state.formReady$?this.state.formReady$.pipe((0,Ge.h)(d=>d),(0,Do.q)(1),(0,Pe.t)(this)).subscribe(d=>{this.configureField()}):this.configureField())}configureField(){this.state?.requires.allowsFdaApproval$.pipe((0,Pe.t)(this)).subscribe(d=>{d?(this.props.disabled=!1,this.props.extraType="description",this.props.description=this.defaultDescription,void 0===this.formControl.value&&this.formControl.setValue(!1)):(this.props.disabled=!0,this.props.description="FDA Regulatory Approval does not apply to this Assertion Type",this.formControl.setValue(void 0))})}}ud.\u0275fac=function(){let f;return function(c){return(f||(f=e.n5z(ud)))(c||ud)}}(),ud.\u0275cmp=e.Xpm({type:ud,selectors:[["cvc-fda-regulatory-approval-checkbox"]],features:[e.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(d,c){1&d&&(e.TgZ(0,"label",0),e.NdJ("ngModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e._uU(1),e.qZA()),2&d&&(e.Q6J("nzIndeterminate",c.props.indeterminate&&null==c.formControl.value)("formControl",c.formControl)("formlyAttributes",c.field),e.xp6(1),e.hij(" ",c.props.label,"\n"))},dependencies:[t.JJ,t.oH,Rt.Ie,g.JD],changeDetection:0});const g4={types:[{name:"fda-regulatory-approval-checkbox",wrappers:["form-field"],component:ud}]};class vu{}vu.\u0275fac=function(d){return new(d||vu)},vu.\u0275mod=e.oAB({type:vu}),vu.\u0275inj=e.cJS({imports:[S.ez,t.UX,Rt.Wr,g.X0.forChild(g4),ct]});const v4=jt($t());class dd extends v4{constructor(){super(...arguments),this.defaultDescription='Select Yes if an FDA approved companion test exists for the variant and therapy associated with the Assertion (such as tests listed here).',this.defaultOptions={props:{hideLabel:!1,label:"FDA Companion Test",description:this.defaultDescription}}}ngAfterViewInit(){this.configureBaseField(),this.state&&(this.state.formReady$?this.state.formReady$.pipe((0,Ge.h)(d=>d),(0,Do.q)(1),(0,Pe.t)(this)).subscribe(d=>{this.configureField()}):this.configureField())}configureField(){this.state?.fields.fdaRegulatoryApproval$.pipe((0,Pe.t)(this)).subscribe(d=>{d?(this.props.disabled=!1,this.props.extraType="description",this.props.description=this.defaultDescription,void 0===this.formControl.value&&this.formControl.setValue(!1)):(this.props.disabled=!0,this.props.description="FDA Companion Test only applies when Regulatory Approval is selected",this.formControl.setValue(void 0))})}}dd.\u0275fac=function(){let f;return function(c){return(f||(f=e.n5z(dd)))(c||dd)}}(),dd.\u0275cmp=e.Xpm({type:dd,selectors:[["cvc-fda-companion-test-checkbox"]],features:[e.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(d,c){1&d&&(e.TgZ(0,"label",0),e.NdJ("ngModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e._uU(1),e.qZA()),2&d&&(e.Q6J("nzIndeterminate",c.props.indeterminate&&null==c.formControl.value)("formControl",c.formControl)("formlyAttributes",c.field),e.xp6(1),e.hij(" ",c.props.label,"\n"))},dependencies:[t.JJ,t.oH,Rt.Ie,g.JD],changeDetection:0});const Op={types:[{name:"fda-companion-test-checkbox",wrappers:["form-field"],component:dd}]};class _u{}_u.\u0275fac=function(d){return new(d||_u)},_u.\u0275mod=e.oAB({type:_u}),_u.\u0275inj=e.cJS({imports:[S.ez,t.UX,Rt.Wr,g.X0.forChild(Op),ct]});const wp=["optionTemplates"];function n2(f,d){if(1&f&&(e.TgZ(0,"nz-tag")(1,"strong"),e._uU(2),e.qZA()()),2&f){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c)}}function ch(f,d){1&f&&(e.ynx(0),e.YNc(1,n2,3,1,"ng-template",null,3,e.W1O),e.BQk())}function o2(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"nz-tag",7),e.NdJ("nzOnClose",function(ie){e.CHM(c);const ht=e.oxw(2);return e.KtG(ht.onTagClose$.next(ie))}),e.TgZ(1,"strong"),e._uU(2),e.qZA()()}if(2&f){const c=e.oxw().$implicit;e.xp6(2),e.Oqu(c.nzValue)}}function Ih(f,d){if(1&f&&(e.ynx(0),e._uU(1),e.BQk()),2&f){const c=e.oxw().$implicit;e.xp6(1),e.hij(" ",c.nzValue," ")}}function Ah(f,d){if(1&f&&(e.TgZ(0,"div",4),e.YNc(1,o2,3,1,"nz-tag",5),e.YNc(2,Ih,2,1,"ng-container",6),e.qZA()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngIf",!c.props.isMultiSelect),e.xp6(1),e.Q6J("ngIf",c.props.isMultiSelect)}}const Fh=jt($t(),pt());class l1 extends Fh{constructor(d){super(),this.cdr=d,this.defaultOptions={props:{label:"Reference Build",required:!1,isMultiSelect:!1,description:"Select the human genome reference sequence from which these coordinates are obtained",placeholder:"Select Reference Build"}},this.buildEnum$=new it.X([])}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEnumSelectField({optionEnum$:this.buildEnum$,optionTemplate$:this.optionTemplate$,changeDetectorRef:this.cdr})}configureStateConnections(){this.placeholder$=new it.X(this.props.placeholder),this.buildEnum$.next((0,xi.o6)(bn.JDX).map(d=>d)),this.optionTemplates||console.error(`${this.field.id} could not find its optionTemplates QueryList to populate its select options, so simple text labels will be displayed.`),this.optionTemplate$=this.optionTemplates?.changes.pipe((0,yt.U)(d=>d.map(c=>c)))}}l1.\u0275fac=function(d){return new(d||l1)(e.Y36(e.sBO))},l1.\u0275cmp=e.Xpm({type:l1,selectors:[["cvc-reference-build-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(wp,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:7,vars:15,consts:[[3,"cvcFormControl","cvcFormlyAttributes","cvcSelectMode","cvcPlaceholder","cvcCustomTemplate","cvcOptions","cvcShowError","cvcDisabled"],[4,"ngFor","ngForOf"],["selectedTemplate",""],["optionTemplates",""],[1,"ant-select-selection-item-content"],["nzMode","closeable",3,"nzOnClose",4,"ngIf"],[4,"ngIf"],["nzMode","closeable",3,"nzOnClose"]],template:function(d,c){if(1&d&&(e._UZ(0,"cvc-enum-select",0),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.YNc(3,ch,3,0,"ng-container",1),e.ALo(4,"ngrxPush"),e.YNc(5,Ah,3,2,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(6);e.Q6J("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcPlaceholder",e.lcZ(1,9,c.placeholder$))("cvcCustomTemplate",y)("cvcOptions",e.lcZ(2,11,c.selectOption$))("cvcShowError",c.showError)("cvcDisabled",c.props.disabled),e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,13,c.buildEnum$))}},dependencies:[S.sg,S.O5,Yt.j,We,I.fM]});const lh={types:[{name:"reference-build-select",wrappers:["form-field"],component:l1},{name:"reference-build-multi-select",wrappers:["form-field"],component:l1,defaultOptions:{props:{label:"Levels",isMultiSelect:!0}}}]};class la{}la.\u0275fac=function(d){return new(d||la)},la.\u0275mod=e.oAB({type:la}),la.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(lh),Yt.X,xt.s,ct,oe]});const Pp=["optionTemplates"];function Ip(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"em"),e._UZ(2,"span",8),e.ALo(3,"highlightTypeahead"),e.qZA(),e.BQk()),2&f){const c=e.oxw(2).$implicit,y=e.oxw().ngrxLet;e.xp6(2),e.Q6J("innerHtml",e.xi3(3,1,c.soid,y),e.oJD)}}function Ud(f,d){if(1&f&&(e._UZ(0,"cvc-entity-tag",5),e.TgZ(1,"span",6),e.YNc(2,Ip,4,4,"ng-container",7),e.qZA()),2&f){const c=e.oxw().$implicit,y=e.oxw().ngrxLet;e.Q6J("cvcDisableLink",!0)("cvcCacheId",c.__typename+":"+c.id)("cvcEmphasize",y),e.xp6(2),e.Q6J("ngIf",c.soid)}}function _4(f,d){1&f&&(e.ynx(0),e.YNc(1,Ud,3,4,"ng-template",null,4,e.W1O),e.BQk())}function Nh(f,d){if(1&f&&(e.ynx(0),e.YNc(1,_4,3,0,"ng-container",3),e.ALo(2,"ngrxPush"),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,c.result$))}}function Lh(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div",9)(1,"cvc-entity-tag",10),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw();return e.KtG(It.onTagClose$.next(ht.nzValue))}),e.qZA()()}if(2&f){const c=d.$implicit,y=e.oxw();e.xp6(1),e.Q6J("cvcCacheId","VariantType:"+c.nzValue)("cvcContext",y.props.isMultiSelect?"multi-select-item":"select-item")("cvcMode",y.props.isMultiSelect?"default":"closeable")}}const y4=jt($t(),To());class u1 extends y4{constructor(d,c,y){super(),this.taq=d,this.tq=c,this.changeDetectorRef=y,this.defaultOptions={props:{entityName:{singular:"VariantType",plural:"VariantTypes"},isMultiSelect:!1,placeholders:{default:"Search Variant Types",multiDefault:"Select VariantType(s)"},description:'Add one or more variant types from the Sequence Ontology (e.g., missense, loss-of-function). Be specific as possible, avoid the addition of root concepts, and use the sequence_variant tree of the sequence ontology.',extraType:"prompt"}},this.placeholder$=new it.X(this.defaultOptions.props.placeholders.default)}ngAfterViewInit(){this.configureBaseField(),this.configureStateConnections(),this.configureEntitySelectField({typeaheadQuery:this.taq,typeaheadParam$:void 0,tagQuery:this.tq,getTypeaheadVarsFn:this.getTypeaheadVarsFn,getTypeaheadResultsFn:this.getTypeaheadResultsFn,getTagQueryVarsFn:this.getTagQueryVarsFn,getTagQueryResultsFn:this.getTagQueryResultsFn,getSelectedItemOptionFn:this.getSelectedItemOptionFn,getSelectOptionsFn:this.getSelectOptionsFn,changeDetectorRef:this.changeDetectorRef,selectOpen$:this.selectOpen$,selectComponent:this.selectComponent}),this.configurePlaceholders()}configureStateConnections(){}configurePlaceholders(){}getTypeaheadVarsFn(d){return{name:d}}getTypeaheadResultsFn(d){return d.data.variantTypeTypeahead}getTagQueryVarsFn(d){return{id:d}}getTagQueryResultsFn(d){return d.data.variantType}getSelectedItemOptionFn(d){return{value:d.id,label:d.name}}getSelectOptionsFn(d,c){return d.map((y,ie)=>({label:c.get(ie)||y.name,value:y.id}))}}u1.\u0275fac=function(d){return new(d||u1)(e.Y36(bn.jmY),e.Y36(bn._nE),e.Y36(e.sBO))},u1.\u0275cmp=e.Xpm({type:u1,selectors:[["cvc-variant-type-select"]],viewQuery:function(d,c){if(1&d&&e.Gf(Pp,5,e.Rgc),2&d){let y;e.iGM(y=e.CRH())&&(c.optionTemplates=y)}},features:[e.qOj],decls:8,vars:19,consts:[[3,"cvcSelectMode","cvcCustomTemplate","cvcFormControl","cvcFormlyAttributes","cvcEntityName","cvcPlaceholder","cvcResults","cvcOptions","cvcShowError","cvcLoading","cvcOnSearch","cvcOnOpenChange","cvcOnModelChange"],[4,"ngrxLet"],["selectedTemplate",""],[4,"ngFor","ngForOf"],["optionTemplates",""],[3,"cvcDisableLink","cvcCacheId","cvcEmphasize"],["nz-typography","","nzType","secondary"],[4,"ngIf"],["nz-typography","","nzType","secondary",3,"innerHtml"],[1,"ant-select-selection-item-content"],[3,"cvcCacheId","cvcContext","cvcMode","cvcOnClose"]],template:function(d,c){if(1&d&&(e.TgZ(0,"cvc-entity-select",0),e.NdJ("cvcOnSearch",function(ie){return c.onSearch$.next(ie)})("cvcOnOpenChange",function(ie){return c.onOpenChange$.next(ie)})("cvcOnModelChange",function(ie){return c.props.change&&c.props.change(c.field,ie)}),e.ALo(1,"ngrxPush"),e.ALo(2,"ngrxPush"),e.ALo(3,"ngrxPush"),e.ALo(4,"ngrxPush"),e.qZA(),e.YNc(5,Nh,3,3,"ng-container",1),e.YNc(6,Lh,2,3,"ng-template",null,2,e.W1O)),2&d){const y=e.MAs(7);e.Q6J("cvcSelectMode",c.props.isMultiSelect?"multiple":"default")("cvcCustomTemplate",y)("cvcFormControl",c.formControl)("cvcFormlyAttributes",c.field)("cvcEntityName",c.props.entityName)("cvcPlaceholder",e.lcZ(1,11,c.placeholder$))("cvcResults",e.lcZ(2,13,c.result$))("cvcOptions",e.lcZ(3,15,c.selectOption$))("cvcShowError",c.showError)("cvcLoading",e.lcZ(4,17,c.isLoading$)),e.xp6(5),e.Q6J("ngrxLet",c.onSearch$)}},dependencies:[S.sg,S.O5,I.eJ,pe.ZU,Ue,Tt.J,I.fM,P.A],changeDetection:0});const jd={types:[{name:"variant-type-select",wrappers:["form-field"],component:u1,defaultOptions:{props:{label:"Variant Type"}}},{name:"variant-type-multi-select",wrappers:["form-field"],component:u1,defaultOptions:{props:{isMultiSelect:!0,label:"Variant Types"}}}]};class pd{}pd.\u0275fac=function(d){return new(d||pd)},pd.\u0275mod=e.oAB({type:pd}),pd.\u0275inj=e.cJS({imports:[S.ez,t.UX,I._N,I.pP,g.X0.forChild(jd),Sn.L,$n.sL,Ze.LV,co.$6,Yn.Qp,_t.PV,Ae.o7,w.Jb,At.cg,nn.zf,s.U5,rt.ic,pe.ZJ,Yt.X,ct,jn,xt.s,Zt.x]});var yu=a(9289);function C4(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"cvc-string-tag",5),e.NdJ("cvcOnClose",function(){const ht=e.CHM(c).$implicit,It=e.oxw(2);return e.KtG(It.tagClosed(ht))}),e.qZA()}if(2&f){const c=d.$implicit;e.Q6J("cvcMode","closeable")("cvcLabel",c)}}function z4(f,d){if(1&f){const c=e.EpF();e.TgZ(0,"div"),e.YNc(1,C4,1,2,"cvc-string-tag",3),e.ALo(2,"ngrxPush"),e.TgZ(3,"input",4),e.NdJ("keydown.enter",function(ie){e.CHM(c);const ht=e.oxw();return e.KtG(ht.onEnter(ie))}),e.qZA()()}if(2&f){const c=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,2,c.clinvarIds$)),e.xp6(2),e.Q6J("placeholder",c.props.placeholder)}}const T4=jt($t(),Ql);class hd extends T4{constructor(d){super(),this.cdr=d,this.defaultOptions={modelOptions:{updateOn:"blur"},props:{label:"Enter value",placeholder:"Enter value and hit Return"}},this.clinvarIds$=new it.X([]),this.values=new Set,this.showClinvarIdEntry$=new it.X(!1),this.selectModel=void 0,this.selectOptions=[{value:yu.li.NotApplicable,label:"Clinvar IDs not applicable for this variant"},{value:yu.li.NoneFound,label:"Clinvar IDs do not exist for this variant"},{value:yu.li.Found,label:"Clinvar IDs were found for this variant"},{value:void 0,label:""}]}optionSelected(d){const c=d;this.values.clear(),this.clinvarIds$.next([]),null!=c?c==yu.li.Found?(this.showClinvarIdEntry$.next(!0),this.formControl.setValue([])):c==yu.li.NoneFound?(this.showClinvarIdEntry$.next(!1),this.formControl.setValue(["NONE FOUND"])):c==yu.li.NotApplicable&&(console.log("HERE"),this.showClinvarIdEntry$.next(!1),this.formControl.setValue(["NA"])):(this.showClinvarIdEntry$.next(!1),this.formControl.setValue([]),this.clinvarIds$.next([]))}onEnter(d){let c=d.target;c.value&&(this.values.add(c.value),c.value="");let y=Array.from(this.values);this.clinvarIds$.next(y),this.formControl.setValue(y)}tagClosed(d){this.values.delete(d);let c=Array.from(this.values);this.clinvarIds$.next(c),this.formControl.setValue(c),this.clinvarIds$.next(c)}ngAfterViewInit(){this.configureBaseField(),this.configureStringTagField();const d=this.formControl.value;d&&Array.isArray(d)&&("NONE FOUND"==d[0]?this.selectModel=yu.li.NoneFound:"N/A"==d[0]?this.selectModel=yu.li.NotApplicable:(this.selectModel=yu.li.Found,d.forEach(c=>this.values.add(c)),this.showClinvarIdEntry$.next(!0)),this.clinvarIds$.next(d),this.cdr.detectChanges())}}hd.\u0275fac=function(d){return new(d||hd)(e.Y36(e.sBO))},hd.\u0275cmp=e.Xpm({type:hd,selectors:[["cvc-clinvar-input"]],features:[e.qOj],decls:4,vars:7,consts:[["nzAllowClear","",3,"nzOptions","ngModel","ngModelChange"],[4,"ngIf"],["hidden","","nz-input","",3,"formControl","formlyAttributes"],[3,"cvcMode","cvcLabel","cvcOnClose",4,"ngFor","ngForOf"],["nz-input","",3,"placeholder","keydown.enter"],[3,"cvcMode","cvcLabel","cvcOnClose"]],template:function(d,c){1&d&&(e.TgZ(0,"nz-select",0),e.NdJ("ngModelChange",function(ie){return c.optionSelected(ie)}),e.qZA(),e.YNc(1,z4,4,4,"div",1),e.ALo(2,"ngrxPush"),e._UZ(3,"input",2)),2&d&&(e.Q6J("nzOptions",c.selectOptions)("ngModel",c.selectModel),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,5,c.showClinvarIdEntry$)),e.xp6(2),e.Q6J("formControl",c.formControl)("formlyAttributes",c.field))},dependencies:[S.sg,S.O5,t.Fj,t.JJ,t.oH,t.On,g.JD,Ae.Zp,Ze.Vq,Sr,I.fM],changeDetection:0});const M4={types:[{name:"clinvar-input",wrappers:["form-field"],component:hd},{name:"clinvar-multi-input",wrappers:["form-field"],component:hd,defaultOptions:{props:{isRepeatItem:!0}}}]};class fd{}fd.\u0275fac=function(d){return new(d||fd)},fd.\u0275mod=e.oAB({type:fd}),fd.\u0275inj=e.cJS({imports:[S.ez,t.UX,t.u5,I._N,I.pP,g.X0.forChild(M4),$e.F,Ae.o7,s.U5,Ze.LV,pr]});class Gd extends g.fS{constructor(d){super(),this.location=d}cancelClicked(){this.location.back()}}Gd.\u0275fac=function(d){return new(d||Gd)(e.Y36(S.Ye))},Gd.\u0275cmp=e.Xpm({type:Gd,selectors:[["cvc-cancel-button"]],features:[e.qOj],decls:2,vars:0,consts:[["nz-button","","type","button","nzType","default","nzDanger","",1,"cancel-button",3,"click"]],template:function(d,c){1&d&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return c.cancelClicked()}),e._uU(1," Cancel\n"),e.qZA())},dependencies:[$n.ix,un.w,pn.dQ],styles:[".cancel-button[_ngcontent-%COMP%]{margin-right:10px}"],changeDetection:0});const kh={types:[{name:"cvc-cancel-button",component:Gd}]};class Cu{}Cu.\u0275fac=function(d){return new(d||Cu)},Cu.\u0275mod=e.oAB({type:Cu}),Cu.\u0275inj=e.cJS({imports:[S.ez,t.UX,g.X0.forChild(kh),$n.sL]});class md{}var zu;function b4(f,d){if(1&f&&e._uU(0),2&f){const c=e.oxw();e.hij(" ",c.props.addFormTitle,"\n")}}md.\u0275fac=function(d){return new(d||md)},md.\u0275mod=e.oAB({type:md}),md.\u0275inj=e.cJS({imports:[S.ez,at,Wi,Ma,Fa,ic,ol,be,oi,Vi,zn,Ps,ea,Vr,Kr,Yr,Hr,qs,Uc,ir,gu,sd,a1,$s,c1,vu,_u,la,pd,fd,Cu]});const E4=function(){return[6,6]};let uh=((zu=class extends g.n2{constructor(){super(),this.contentTemplate$=new Wo.t}ngAfterViewInit(){this.field.props&&this.field.props.addFormContent?this.contentTemplate$.next(this.field.props.addFormContent):console.error(`${this.field.id} add-entity-form wrapper failed to find parent field's props.addFormContent TemplateRef.`)}}).\u0275fac=function(d){return new(d||zu)},zu.\u0275cmp=e.Xpm({type:zu,selectors:[["cvc-add-entity-form-wrapper"]],features:[e.qOj],decls:10,vars:7,consts:[[3,"nzGutter"],["nzFlex","auto"],["fieldComponent",""],["nzFlex","20px"],["type","button","nz-button","","nzType","primary","nzSize","default","nzShape","circle","nz-popover","",3,"disabled","nzPopoverTitle","nzPopoverContent"],["nz-icon","","nzType","plus-circle","nzTheme","outline"],["titleTemplate",""]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.GkF(2,null,2),e.qZA(),e.TgZ(4,"nz-col",3)(5,"button",4),e.ALo(6,"ngrxPush"),e._UZ(7,"span",5),e.qZA()()(),e.YNc(8,b4,1,1,"ng-template",null,6,e.W1O)),2&d){const y=e.MAs(9);e.Q6J("nzGutter",e.DdM(6,E4)),e.xp6(5),e.Q6J("disabled",null==c.field.props?null:c.field.props.disabled)("nzPopoverTitle",y)("nzPopoverContent",e.lcZ(6,4,c.contentTemplate$))}},dependencies:[$n.ix,un.w,pn.dQ,co.lU,_t.Ls,w.t3,w.SK,I.fM],styles:[".add-button[_ngcontent-%COMP%]{font-size:24px;color:#cfcfdf}"],changeDetection:0}),zu);uh=(0,Te.gn)([(0,Pe.c)()],uh);const S4={wrappers:[{name:"add-entity-form",component:uh}]};class gd{}gd.\u0275fac=function(d){return new(d||gd)},gd.\u0275mod=e.oAB({type:gd}),gd.\u0275inj=e.cJS({imports:[S.ez,I.pP,g.X0.forChild(S4),$n.sL,co.$6,_t.PV,w.Jb]});class vd extends g.n2{get errorState(){return this.showError?"error":""}ngOnInit(){this.props.grid={cols:2,...this.props.grid?this.props.grid:void 0}}}vd.\u0275fac=function(){let f;return function(c){return(f||(f=e.n5z(vd)))(c||vd)}}(),vd.\u0275cmp=e.Xpm({type:vd,selectors:[["cvc-field-grid"]],features:[e.qOj],decls:3,vars:1,consts:[[1,"field-grid",3,"ngClass"],["fieldComponent",""]],template:function(d,c){1&d&&(e.TgZ(0,"div",0),e.GkF(1,null,1),e.qZA()),2&d&&e.Q6J("ngClass","cols-"+c.props.grid.cols)},dependencies:[S.mk],styles:[".field-grid.cols-2[_ngcontent-%COMP%] formly-group:first-of-type{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.field-grid.cols-3[_ngcontent-%COMP%] formly-group:first-of-type{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.field-grid.cols-4[_ngcontent-%COMP%] formly-group:first-of-type{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}"],changeDetection:0});const Rh={wrappers:[{name:"field-grid",component:vd}]};class d1{}function Vh(f,d){if(1&f&&(e.TgZ(0,"nz-col",4),e._UZ(1,"formly-field",5),e.qZA()),2&f){const c=d.$implicit;e.Q6J("nzSpan",(null==c.props?null:c.props.colSpan)||12),e.xp6(1),e.Q6J("field",c)}}function x4(f,d){}d1.\u0275fac=function(d){return new(d||d1)},d1.\u0275mod=e.oAB({type:d1}),d1.\u0275inj=e.cJS({imports:[S.ez,t.UX,s.U5,w.Jb,g.X0.forChild(Rh)]});const r2=function(){return[6,6]};class Tu extends g.n2{get errorState(){return this.showError?"error":""}constructor(){super()}ngOnInit(){this.props.gutterHorizontal=this.props.gutterHorizontal||8,this.props.gutterVertical=this.props.gutterVertical||8}}Tu.\u0275fac=function(d){return new(d||Tu)},Tu.\u0275cmp=e.Xpm({type:Tu,selectors:[["cvc-form-card"]],features:[e.qOj],decls:5,vars:5,consts:[[3,"nzTitle","nzExtra"],[3,"nzGutter"],[3,"nzSpan",4,"ngFor","ngForOf"],["cardExtra",""],[3,"nzSpan"],[3,"field"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-card",0)(1,"nz-row",1),e.YNc(2,Vh,2,2,"nz-col",2),e.qZA()(),e.YNc(3,x4,0,0,"ng-template",null,3,e.W1O)),2&d){const y=e.MAs(4);e.Q6J("nzTitle",c.props.title)("nzExtra",y),e.xp6(1),e.Q6J("nzGutter",e.DdM(4,r2)),e.xp6(1),e.Q6J("ngForOf",c.field.fieldGroup)}},dependencies:[S.sg,g.cw,w.t3,w.SK,Qo.bd]});const p1={wrappers:[{name:"form-card",component:Tu}]};class Qd{}Qd.\u0275fac=function(d){return new(d||Qd)},Qd.\u0275mod=e.oAB({type:Qd}),Qd.\u0275inj=e.cJS({imports:[S.ez,t.u5,g.X0.forChild(p1),w.Jb,Qo.vh,Rt.Wr]});class h1 extends g.n2{ngOnInit(){}}h1.\u0275fac=function(){let f;return function(c){return(f||(f=e.n5z(h1)))(c||h1)}}(),h1.\u0275cmp=e.Xpm({type:h1,selectors:[["cvc-form-footer"]],features:[e.qOj],decls:4,vars:0,consts:[[1,"form-footer"],["nzSpan","24",1,"submit-col"],["fieldComponent",""]],template:function(d,c){1&d&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.GkF(2,null,2),e.qZA()())},dependencies:[w.t3,w.SK],styles:[".form-footer[_ngcontent-%COMP%]{margin-top:1em;border-radius:8px;background-color:#f0f0f0;padding:1em}.submit-col[_ngcontent-%COMP%]{text-align:right}"],changeDetection:0});const s2={wrappers:[{name:"form-footer",component:h1}]};class f1{}f1.\u0275fac=function(d){return new(d||f1)},f1.\u0275mod=e.oAB({type:f1}),f1.\u0275inj=e.cJS({imports:[S.ez,w.Jb,g.X0.forChild(s2)]});var a2=a(9241),jc=a(9194),m1=a(3513);class mr{}mr.\u0275fac=function(d){return new(d||mr)},mr.\u0275mod=e.oAB({type:mr}),mr.\u0275inj=e.cJS({imports:[S.ez,I._N,I.pP,_t.PV,w.Jb,Qo.vh,m1.we,jc.q6,Or.Ph,Yt.X,pe.ZJ,L.s]});class Gc{}Gc.\u0275fac=function(d){return new(d||Gc)},Gc.\u0275mod=e.oAB({type:Gc}),Gc.\u0275inj=e.cJS({imports:[S.ez,I._N,I.pP,$n.sL,Cl.Rt,Si.b1]});var ph=a(2340);const Qc={VALID:"success",INVALID:"error",PENDING:"processing",DISABLED:"default"};class g1{constructor(){this.tagColor="default"}set cvcFormControlStatus(d){this._status=d,this.tagColor=d?Qc[d]:"default"}get cvcFormControlStatus(){return this._status}}function Wd(f,d){if(1&f&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&f){const c=e.oxw(2).ctrl;e.xp6(1),e.hij(" ",c.value," ")}}function Zd(f,d){1&f&&(e.TgZ(0,"span",8),e._uU(1," undefined "),e.qZA())}function Jd(f,d){if(1&f&&(e.TgZ(0,"nz-list-item")(1,"nz-list-item-meta")(2,"nz-list-item-meta-title"),e._uU(3),e.qZA(),e.TgZ(4,"nz-list-item-meta-description"),e.YNc(5,Wd,2,1,"span",5),e.YNc(6,Zd,2,0,"span",6),e.qZA()(),e.TgZ(7,"nz-list-item-extra"),e._UZ(8,"cvc-form-status-tag",7),e.qZA()()),2&f){const c=e.oxw(),y=c.key,ie=c.ctrl;e.xp6(3),e.hij(" ",y," "),e.xp6(2),e.Q6J("ngIf",ie.value),e.xp6(1),e.Q6J("ngIf",!ie.value),e.xp6(2),e.Q6J("cvcFormControlStatus",ie.status)}}function Kd(f,d){}g1.\u0275fac=function(d){return new(d||g1)},g1.\u0275cmp=e.Xpm({type:g1,selectors:[["cvc-form-status-tag"]],inputs:{cvcFormControlStatus:"cvcFormControlStatus"},decls:3,vars:4,consts:[[3,"nzColor"]],template:function(d,c){1&d&&(e.TgZ(0,"nz-tag",0),e._uU(1),e.ALo(2,"lowercase"),e.qZA()),2&d&&(e.Q6J("nzColor",c.tagColor),e.xp6(1),e.hij(" ",c.cvcFormControlStatus?e.lcZ(2,2,c.cvcFormControlStatus):"UNKNOWN","\n"))},dependencies:[Yt.j,S.i8]});const _d=function(f,d){return{key:f,ctrl:d}};function qd(f,d){if(1&f&&e.YNc(0,Kd,0,0,"ng-template",12),2&f){const c=d.$implicit;e.oxw(3);const y=e.MAs(3);e.Q6J("ngTemplateOutlet",y)("ngTemplateOutletContext",e.WLB(2,_d,c.key,c.value))}}function Xd(f,d){if(1&f&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&f){const c=e.oxw(2).key;e.xp6(1),e.Oqu(c)}}function ep(f,d){if(1&f&&(e.TgZ(0,"nz-list-item")(1,"nz-card",9)(2,"nz-list",10),e.YNc(3,qd,1,5,null,4),e.ALo(4,"keyvalue"),e.qZA()(),e.YNc(5,Xd,2,1,"ng-template",null,11,e.W1O),e.qZA()),2&f){const c=e.oxw(),y=c.key,ie=c.ctrl;e.xp6(1),e.Q6J("nzTitle",y),e.xp6(2),e.Q6J("ngForOf",e.lcZ(4,2,ie.controls))}}function tp(f,d){if(1&f&&(e.YNc(0,Jd,9,4,"nz-list-item",5),e.YNc(1,ep,7,4,"nz-list-item",5)),2&f){const c=d.ctrl;e.Q6J("ngIf",!c.controls),e.xp6(1),e.Q6J("ngIf",c.controls)}}function D4(f,d){}function O4(f,d){if(1&f&&e.YNc(0,D4,0,0,"ng-template",12),2&f){const c=d.$implicit;e.oxw();const y=e.MAs(3);e.Q6J("ngTemplateOutlet",y)("ngTemplateOutletContext",e.WLB(2,_d,c.key,c.value))}}function w4(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"nz-list",2),e.YNc(2,tp,2,2,"ng-template",null,3,e.W1O),e.qZA(),e.YNc(4,O4,1,5,null,4),e.ALo(5,"keyvalue"),e.BQk()),2&f){const c=d.ngIf;e.xp6(4),e.Q6J("ngForOf",e.lcZ(5,1,c.controls))}}function P4(f,d){1&f&&e._uU(0," No AbstractFormControl provided. ")}class np{set cvcAbstractControl(d){if(!d)throw new Error("cvc-form-debug-field-list requires valid cvcFormControl Input.");this._cvcFormControl=d,this.formControl=d}get cvcFormControl(){return this._cvcFormControl}constructor(){}ngOnInit(){}}var yd;function I4(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"ngx-json-viewer",9),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("json",c.watchModel)}}function A4(f,d){if(1&f&&(e.ynx(0),e.TgZ(1,"nz-descriptions",10)(2,"nz-descriptions-item",11),e._UZ(3,"cvc-form-status-tag",12),e.qZA(),e.TgZ(4,"nz-descriptions-item",13),e._uU(5),e.qZA(),e.TgZ(6,"nz-descriptions-item",14),e._uU(7),e.qZA(),e.TgZ(8,"nz-descriptions-item",15),e._uU(9),e.qZA(),e.TgZ(10,"nz-descriptions-item",16),e._uU(11),e.qZA(),e.TgZ(12,"nz-descriptions-item",17),e._uU(13),e.qZA()(),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("nzColumn",1),e.xp6(2),e.Q6J("cvcFormControlStatus",null==c.cvcForm?null:c.cvcForm.status),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.pending," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.touched," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.valid," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.dirty," "),e.xp6(2),e.hij(" ",null==c.cvcForm?null:c.cvcForm.enabled," ")}}function F4(f,d){if(1&f&&(e.ynx(0),e._UZ(1,"cvc-form-debug-field-list",18),e.BQk()),2&f){const c=e.oxw();e.xp6(1),e.Q6J("cvcAbstractControl",c.cvcForm)}}function c2(f,d){1&f&&(e.ynx(0),e._uU(1," State Content "),e.BQk())}function l2(f,d){if(1&f&&(e.TgZ(0,"nz-row")(1,"nz-col",19),e._uU(2," Form Details "),e.qZA(),e.TgZ(3,"nz-col",20),e._UZ(4,"cvc-form-status-tag",12),e.qZA()()),2&f){const c=e.oxw();e.xp6(4),e.Q6J("cvcFormControlStatus",null==c.cvcForm?null:c.cvcForm.status)}}np.\u0275fac=function(d){return new(d||np)},np.\u0275cmp=e.Xpm({type:np,selectors:[["cvc-form-debug-field-list"]],inputs:{cvcAbstractControl:"cvcAbstractControl"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noFormControl",""],["nzSize","small"],["ctrlTemplateRef",""],[4,"ngFor","ngForOf"],[4,"ngIf"],["style","padding: 0px 4px; color: white; background-color: #ccc",4,"ngIf"],[3,"cvcFormControlStatus"],[2,"padding","0px 4px","color","white","background-color","#ccc"],["nzSize","small",2,"width","100%",3,"nzTitle"],["nzSize","small",2,"padding","0"],["cardExtra",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(d,c){if(1&d&&(e.YNc(0,w4,6,3,"ng-container",0),e.YNc(1,P4,1,0,"ng-template",null,1,e.W1O)),2&d){const y=e.MAs(2);e.Q6J("ngIf",c.formControl)("ngIfElse",y)}},dependencies:[S.sg,S.O5,S.tP,Qo.bd,Or.n_,Or.AA,Or.yi,Or.IO,Or.Pb,Or.yw,g1,S.Nd],styles:["[_nghost-%COMP%] nz-card .ant-card-body{padding:6px 0}"]});let hh=((yd=class{constructor(d){this.cdr=d,this.selectedIndex=0}ngOnInit(){if(!this.cvcForm)throw new Error("cvc-form-debug requires valid cvcForm Input.");this.valueChange$=new it.X(this.cvcForm.value),this.statusChange$=new it.X(this.cvcForm.status),this.formChange$=ni([this.statusChange$,this.valueChange$]),this.watchModel=this.cvcModel,this.subscriptions=[this.cvcForm.valueChanges.subscribe(d=>{this.watchModel={...this.cvcModel},this.valueChange$.next(d)}),this.cvcForm.statusChanges.subscribe(d=>{this.statusChange$.next(d)}),this.formChange$.subscribe(d=>{this.cdr.detectChanges()})]}}).\u0275fac=function(d){return new(d||yd)(e.Y36(e.sBO))},yd.\u0275cmp=e.Xpm({type:yd,selectors:[["cvc-form-debug"]],inputs:{cvcForm:"cvcForm",cvcModel:"cvcModel"},decls:14,vars:7,consts:[["nzSize","small","nzBordered","true",3,"nzTitle"],["nzSize","small",3,"nzSelectedIndex","nzSelectedIndexChange"],["nzTitle","Model"],["nzTitle","Controls"],["nzTitle","State"],["nzTitle","Form Status"],[3,"ngSwitch"],[4,"ngSwitchCase"],["cardTitle",""],[3,"json"],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","status"],[3,"cvcFormControlStatus"],["nzTitle","pending"],["nzTitle","touched"],["nzTitle","valid"],["nzTitle","dirty"],["nzTitle","enabled"],[3,"cvcAbstractControl"],["nzFlex","2"],["nzFlex","3",1,"form-status-col"]],template:function(d,c){if(1&d&&(e.TgZ(0,"nz-card",0)(1,"nz-card-tab")(2,"nz-tabset",1),e.NdJ("nzSelectedIndexChange",function(ie){return c.selectedIndex=ie}),e._UZ(3,"nz-tab",2)(4,"nz-tab",3)(5,"nz-tab",4)(6,"nz-tab",5),e.qZA()(),e.ynx(7,6),e.YNc(8,I4,2,1,"ng-container",7),e.YNc(9,A4,14,7,"ng-container",7),e.YNc(10,F4,2,1,"ng-container",7),e.YNc(11,c2,2,0,"ng-container",7),e.BQk(),e.qZA(),e.YNc(12,l2,5,1,"ng-template",null,8,e.W1O)),2&d){const y=e.MAs(13);e.Q6J("nzTitle",y),e.xp6(2),e.Q6J("nzSelectedIndex",c.selectedIndex),e.xp6(5),e.Q6J("ngSwitch",c.selectedIndex),e.xp6(1),e.Q6J("ngSwitchCase",0),e.xp6(1),e.Q6J("ngSwitchCase",3),e.xp6(1),e.Q6J("ngSwitchCase",1),e.xp6(1),e.Q6J("ngSwitchCase",2)}},dependencies:[S.RF,S.n9,w.t3,w.SK,Qo.bd,Qo._i,m1.xH,m1.xw,jc.R7,jc.uj,L.Y,np,g1],styles:["[_nghost-%COMP%]{display:block}.form-status-col[_ngcontent-%COMP%]{text-align:right}.form-status-col[_ngcontent-%COMP%] nz-tag[_ngcontent-%COMP%]:last-child{margin-right:0}"],changeDetection:0}),yd);var op;function N4(f,d){if(1&f&&(e.TgZ(0,"nz-col",4),e._UZ(1,"cvc-form-debug",5),e.qZA()),2&f){const c=e.oxw();e.Q6J("nzSpan",8),e.xp6(1),e.Q6J("cvcForm",c.form)("cvcModel",c.model)}}hh=(0,Te.gn)([(0,Pe.c)({arrayName:"subscriptions"})],hh);const Bh=function(){return[8,8]};let Hh=((op=class extends g.n2{constructor(d){super()}get errorState(){return this.showError?"error":""}ngOnInit(){this.props.title=this.props.title||"Form Card",this.props.submitLabel=this.props.submitLabel||"Submit",this.props.showDevPanel=!ph.N.production&&(this.props.showDevPanel||false)}}).\u0275fac=function(d){return new(d||op)(e.Y36(e.sBO))},op.\u0275cmp=e.Xpm({type:op,selectors:[["cvc-form-layout-wrapper"]],features:[e.qOj],decls:5,vars:4,consts:[[3,"nzGutter"],[1,"form-col",3,"nzSpan"],["fieldComponent",""],["class","status-col",3,"nzSpan",4,"ngIf"],[1,"status-col",3,"nzSpan"],[3,"cvcForm","cvcModel"]],template:function(d,c){1&d&&(e.TgZ(0,"nz-row",0)(1,"nz-col",1),e.GkF(2,null,2),e.qZA(),e.YNc(4,N4,2,3,"nz-col",3),e.qZA()),2&d&&(e.Q6J("nzGutter",e.DdM(3,Bh)),e.xp6(1),e.Q6J("nzSpan",c.props.showDevPanel?16:24),e.xp6(3),e.Q6J("ngIf",c.props.showDevPanel))},dependencies:[S.O5,w.t3,w.SK,hh],changeDetection:0}),op);Hh=(0,Te.gn)([(0,Pe.c)({arrayName:"subscriptions"})],Hh);const fh={wrappers:[{name:"form-layout",component:Hh}]};class Mu{}Mu.\u0275fac=function(d){return new(d||Mu)},Mu.\u0275mod=e.oAB({type:Mu}),Mu.\u0275inj=e.cJS({imports:[S.ez,g.X0.forChild(fh),$n.sL,Qo.vh,_t.PV,Yt.X,m1.we,co.$6,Or.Ph,w.Jb,a2.h,Gc,mr,L.s]});class bu{}bu.\u0275fac=function(d){return new(d||bu)},bu.\u0275mod=e.oAB({type:bu}),bu.\u0275inj=e.cJS({imports:[S.ez,Mu,Qd,f1,ct,d1,gd]});class ip{}ip.\u0275fac=function(d){return new(d||ip)},ip.\u0275mod=e.oAB({type:ip}),ip.\u0275inj=e.cJS({providers:[{provide:g.l7,multi:!0,useFactory:function E(f){return{extensions:[{name:"observeQueryParam",extension:new M(f)}]}},deps:[o.gz]}],imports:[g.X0.forRoot({extras:{immutable:!1,lazyRender:!0},validationMessages:[{name:"required",message:"This field is required."},{name:"minLength",message:(f,d)=>`This field has a minimum length of ${d.templateOptions?.minLength}.`},{name:"maxLength",message:(f,d)=>`This field has a maximum length of ${d.templateOptions?.maxLength}.`},{name:"min",message:(f,d)=>`This field has a minimum value of ${d.templateOptions?.min}.`},{name:"max",message:(f,d)=>`This field has a maximum value of ${d.templateOptions?.max}.`},{name:"pattern",message:(f,d)=>`This field's value must fit the pattern ${d.templateOptions?.pattern}.`},{name:"integer",message:(f,d)=>"Value must be an integer."},{name:"nucleotide",message:(f,d)=>"Value must only contain A, C, T, G, and/or /."},{name:"clinvar",message:(f,d)=>"Value must be an integer."}],validators:[{name:"integer",validation:(f,d)=>""===f.value||null==f.value||/^\d+$/.test(f.value)?null:{integer:!0}},{name:"nucleotide",validation:(f,d)=>""===f.value||null==f.value||/^[ACTG\/]+$/.test(f.value)?null:{nucleotide:!0}},{name:"clinvar",validation:(f,d)=>{for(var c of f.value)if(""!==c&&null!=c&&!/^\d+$/.test(c))return{clinvar:!0};return null}}]}),t.UX,s.U5,l.u,bu,L.s,t.UX,g.X0,l.u,s.U5,bu,md]})},9289:(Et,Me,a)=>{function t(M){let E={value:void 0,unset:void 0};return M&&M.trim().length>0?E.value=M.trim():E.unset=!0,E}function o(M){let E={value:void 0,unset:void 0};return void 0!==M?E.value=M:E.unset=!0,E}a.d(Me,{aP:()=>T,li:()=>g,uP:()=>o,xt:()=>t});var g=(()=>{return(M=g||(g={}))[M.NotApplicable=0]="NotApplicable",M[M.NoneFound=1]="NoneFound",M[M.Found=2]="Found",g;var M})();const T=[{value:void 0,label:""},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"},{value:"5",label:"5"},{value:"6",label:"6"},{value:"7",label:"7"},{value:"8",label:"8"},{value:"9",label:"9"},{value:"10",label:"10"},{value:"11",label:"11"},{value:"12",label:"12"},{value:"13",label:"13"},{value:"14",label:"14"},{value:"15",label:"15"},{value:"16",label:"16"},{value:"17",label:"17"},{value:"18",label:"18"},{value:"19",label:"19"},{value:"20",label:"20"},{value:"21",label:"21"},{value:"22",label:"22"},{value:"X",label:"X"},{value:"Y",label:"Y"},{value:"MT",label:"MT"}]},7630:(Et,Me,a)=>{a.d(Me,{A4J:()=>Nr,A94:()=>Ac,AIY:()=>Ya,AMF:()=>Ys,AO2:()=>I,B0s:()=>Ii,B97:()=>Pi,BQZ:()=>k,BTF:()=>no,BYO:()=>Ga,Bk6:()=>ia,Bo4:()=>hl,Cp0:()=>U,D9L:()=>el,Del:()=>Lc,DkJ:()=>hn,DzV:()=>Jr,E1C:()=>gc,E2B:()=>yc,E8d:()=>E,EFm:()=>Mc,EH_:()=>li,EwB:()=>Gi,F1Y:()=>nl,F3s:()=>mn,F4e:()=>bc,FB1:()=>xt,FJi:()=>ot,FNv:()=>X,FOU:()=>Ks,Fvz:()=>fe,GYx:()=>ir,Gbq:()=>Li,Gnp:()=>dl,HUC:()=>Dn,Hmr:()=>go,HwR:()=>sl,IP1:()=>Xs,IRu:()=>Yt,IZ6:()=>er,JDX:()=>rn,Kk:()=>_r,Kmw:()=>Ts,L5n:()=>Qr,L8L:()=>kr,LHC:()=>Oc,LLl:()=>Ss,LUc:()=>Fs,LiH:()=>ra,Lr0:()=>Ka,MCG:()=>al,MNv:()=>Ja,MPi:()=>zc,MYm:()=>Lr,Mgx:()=>O,MsG:()=>H,N$2:()=>Yr,NQC:()=>St,O2u:()=>_c,OHm:()=>gi,OIL:()=>$i,OfU:()=>F,P_b:()=>Xi,Q4m:()=>Na,QVn:()=>Tc,Qtd:()=>xl,Qzn:()=>is,R8F:()=>Cc,R8w:()=>e,RTy:()=>N,RYL:()=>Mi,Rdc:()=>tr,SrV:()=>Dt,Sx0:()=>ae,T1I:()=>Ns,TNk:()=>Fc,Tg0:()=>$r,TiL:()=>zr,Tq1:()=>Ne,Tt7:()=>Mr,UIR:()=>Ar,UWf:()=>rs,VZq:()=>ei,WFw:()=>ti,WGV:()=>kc,WOS:()=>xa,WRV:()=>zs,X5f:()=>wi,XQi:()=>Qa,Xft:()=>ps,Y6e:()=>Ba,YMi:()=>on,Y_K:()=>wc,Ybm:()=>yo,ZYZ:()=>Ho,Zo2:()=>Ke,_3P:()=>L,_Wm:()=>M,_eC:()=>va,_jb:()=>Cr,_nE:()=>na,aC3:()=>ja,bgg:()=>Ms,c$m:()=>bs,cCu:()=>Nc,cEv:()=>fa,cIw:()=>Xr,cMj:()=>Bs,czh:()=>$a,d4o:()=>Ye,dDn:()=>Wa,dGO:()=>Sr,db2:()=>Xa,eDl:()=>Qi,eJ3:()=>Ha,eY8:()=>Uo,ejK:()=>Za,fow:()=>ve,fwG:()=>Fo,g0X:()=>ll,ghc:()=>de,h01:()=>V,hVB:()=>ul,h_Y:()=>vc,huM:()=>$e,i44:()=>zn,iGM:()=>cs,iJT:()=>Bc,iST:()=>Yi,io:()=>_s,iwm:()=>g,jMx:()=>Vc,jmY:()=>ba,jw9:()=>At,k7O:()=>kt,kQf:()=>lr,kQl:()=>_t,kqt:()=>Y,l$X:()=>Ri,l4w:()=>Rs,lYz:()=>wt,lcA:()=>mo,m$d:()=>Dr,m55:()=>q,mII:()=>ma,mdl:()=>s,mki:()=>Ec,mpB:()=>Rt,nSb:()=>Pc,nnL:()=>ta,o71:()=>ct,oRL:()=>ye,olA:()=>Kr,otH:()=>_i,pHu:()=>oa,pP7:()=>Ze,pR8:()=>_a,q1D:()=>tc,q8c:()=>Ee,q9q:()=>qo,qf4:()=>ln,qgP:()=>Ta,rJ8:()=>lo,rZD:()=>gt,rzy:()=>Di,sA8:()=>qr,sBY:()=>xr,sLD:()=>pl,sfv:()=>me,sjj:()=>Wi,tI1:()=>pe,tJ6:()=>Ve,tWC:()=>il,td:()=>Hi,ti:()=>ys,tji:()=>Br,tw_:()=>Qn,u4i:()=>R,uBv:()=>T,ubO:()=>Ol,vMt:()=>dr,vjc:()=>pr,vv6:()=>Va,vxe:()=>za,vz2:()=>ha,wJ2:()=>w,wRZ:()=>ks,wbP:()=>mc,wg3:()=>cl,wkr:()=>sn,wpb:()=>Ae,xlL:()=>Se,y1h:()=>Z,yic:()=>Wt,yqR:()=>Rc,z8D:()=>Hs,zOE:()=>xc,z_7:()=>Dc,zpu:()=>Hr,zwS:()=>vi});var t=a(3595),o=a(4650),g=(()=>{return(ee=g||(g={})).Na="NA",ee.TierIii="TIER_III",ee.TierIiLevelC="TIER_II_LEVEL_C",ee.TierIiLevelD="TIER_II_LEVEL_D",ee.TierIv="TIER_IV",ee.TierILevelA="TIER_I_LEVEL_A",ee.TierILevelB="TIER_I_LEVEL_B",g;var ee})(),s=(()=>{return(ee=s||(s={})).DoesNotSupport="DOES_NOT_SUPPORT",ee.Supports="SUPPORTS",s;var ee})(),L=(()=>{return(ee=L||(L={})).AdverseResponse="ADVERSE_RESPONSE",ee.Benign="BENIGN",ee.BetterOutcome="BETTER_OUTCOME",ee.LikelyBenign="LIKELY_BENIGN",ee.LikelyOncogenic="LIKELY_ONCOGENIC",ee.LikelyPathogenic="LIKELY_PATHOGENIC",ee.Na="NA",ee.Negative="NEGATIVE",ee.Oncogenic="ONCOGENIC",ee.Pathogenic="PATHOGENIC",ee.PoorOutcome="POOR_OUTCOME",ee.Positive="POSITIVE",ee.ReducedSensitivity="REDUCED_SENSITIVITY",ee.Resistance="RESISTANCE",ee.Sensitivityresponse="SENSITIVITYRESPONSE",ee.UncertainSignificance="UNCERTAIN_SIGNIFICANCE",L;var ee})(),R=(()=>{return(ee=R||(R={})).AmpLevel="AMP_LEVEL",ee.AssertionDirection="ASSERTION_DIRECTION",ee.AssertionType="ASSERTION_TYPE",ee.DiseaseName="DISEASE_NAME",ee.EvidenceItemsCount="EVIDENCE_ITEMS_COUNT",ee.Id="ID",ee.Significance="SIGNIFICANCE",ee.Status="STATUS",ee.Summary="SUMMARY",ee.TherapyName="THERAPY_NAME",R;var ee})(),T=(()=>{return(ee=T||(T={})).Diagnostic="DIAGNOSTIC",ee.Oncogenic="ONCOGENIC",ee.Predictive="PREDICTIVE",ee.Predisposing="PREDISPOSING",ee.Prognostic="PROGNOSTIC",T;var ee})(),M=(()=>{return(ee=M||(M={})).And="AND",ee.Or="OR",M;var ee})(),E=(()=>{return(ee=E||(E={})).EvidenceItemCount="EVIDENCE_ITEM_COUNT",ee.Name="NAME",ee.NctId="NCT_ID",ee.SourceCount="SOURCE_COUNT",E;var ee})(),O=(()=>{return(ee=O||(O={})).Conflict="CONFLICT",ee.Expired="EXPIRED",ee.Missing="MISSING",ee.Valid="VALID",O;var ee})(),F=(()=>{return(ee=F||(F={})).Assertion="ASSERTION",ee.EvidenceItem="EVIDENCE_ITEM",ee.Gene="GENE",ee.MolecularProfile="MOLECULAR_PROFILE",ee.Source="SOURCE",ee.Variant="VARIANT",ee.VariantGroup="VARIANT_GROUP",F;var ee})(),V=(()=>{return(ee=V||(V={})).Created="CREATED",ee.LastModified="LAST_MODIFIED",V;var ee})(),e=(()=>{return(ee=e||(e={})).AssertionCount="ASSERTION_COUNT",ee.Doid="DOID",ee.EvidenceItemCount="EVIDENCE_ITEM_COUNT",ee.GeneCount="GENE_COUNT",ee.Name="NAME",ee.VariantCount="VARIANT_COUNT",e;var ee})(),I=(()=>{return(ee=I||(I={})).Accepted="ACCEPTED",ee.AssertionAccepted="ASSERTION_ACCEPTED",ee.AssertionRejected="ASSERTION_REJECTED",ee.AssertionReverted="ASSERTION_REVERTED",ee.AssertionSubmitted="ASSERTION_SUBMITTED",ee.Commented="COMMENTED",ee.CuratedSourceSuggestion="CURATED_SOURCE_SUGGESTION",ee.DeprecatedMolecularProfile="DEPRECATED_MOLECULAR_PROFILE",ee.DeprecatedVariant="DEPRECATED_VARIANT",ee.Flagged="FLAGGED",ee.FlagResolved="FLAG_RESOLVED",ee.PublicationSuggested="PUBLICATION_SUGGESTED",ee.Rejected="REJECTED",ee.RejectedSourceSuggestion="REJECTED_SOURCE_SUGGESTION",ee.RequeuedSourceSuggestion="REQUEUED_SOURCE_SUGGESTION",ee.Reverted="REVERTED",ee.RevisionAccepted="REVISION_ACCEPTED",ee.RevisionRejected="REVISION_REJECTED",ee.RevisionSuggested="REVISION_SUGGESTED",ee.RevisionSuperseded="REVISION_SUPERSEDED",ee.Submitted="SUBMITTED",I;var ee})(),w=(()=>{return(ee=w||(w={})).Organization="ORGANIZATION",ee.Subject="SUBJECT",ee.Unscoped="UNSCOPED",ee.User="USER",w;var ee})(),pe=(()=>{return(ee=pe||(pe={})).DoesNotSupport="DOES_NOT_SUPPORT",ee.Na="NA",ee.Supports="SUPPORTS",pe;var ee})(),ae=(()=>{return(ee=ae||(ae={})).A="A",ee.B="B",ee.C="C",ee.D="D",ee.E="E",ae;var ee})(),Z=(()=>{return(ee=Z||(Z={})).AdverseResponse="ADVERSE_RESPONSE",ee.Benign="BENIGN",ee.BetterOutcome="BETTER_OUTCOME",ee.DominantNegative="DOMINANT_NEGATIVE",ee.GainOfFunction="GAIN_OF_FUNCTION",ee.LikelyBenign="LIKELY_BENIGN",ee.LikelyPathogenic="LIKELY_PATHOGENIC",ee.LossOfFunction="LOSS_OF_FUNCTION",ee.Na="NA",ee.Negative="NEGATIVE",ee.Neomorphic="NEOMORPHIC",ee.Oncogenicity="ONCOGENICITY",ee.Pathogenic="PATHOGENIC",ee.PoorOutcome="POOR_OUTCOME",ee.Positive="POSITIVE",ee.Predisposition="PREDISPOSITION",ee.Protectiveness="PROTECTIVENESS",ee.ReducedSensitivity="REDUCED_SENSITIVITY",ee.Resistance="RESISTANCE",ee.Sensitivityresponse="SENSITIVITYRESPONSE",ee.UnalteredFunction="UNALTERED_FUNCTION",ee.UncertainSignificance="UNCERTAIN_SIGNIFICANCE",ee.Unknown="UNKNOWN",Z;var ee})(),U=(()=>{return(ee=U||(U={})).Description="DESCRIPTION",ee.DiseaseName="DISEASE_NAME",ee.EvidenceDirection="EVIDENCE_DIRECTION",ee.EvidenceLevel="EVIDENCE_LEVEL",ee.EvidenceRating="EVIDENCE_RATING",ee.EvidenceType="EVIDENCE_TYPE",ee.Id="ID",ee.Significance="SIGNIFICANCE",ee.Status="STATUS",ee.TherapyName="THERAPY_NAME",ee.VariantOrigin="VARIANT_ORIGIN",U;var ee})(),N=(()=>{return(ee=N||(N={})).Accepted="ACCEPTED",ee.Rejected="REJECTED",ee.Submitted="SUBMITTED",N;var ee})(),q=(()=>{return(ee=q||(q={})).Accepted="ACCEPTED",ee.All="ALL",ee.Rejected="REJECTED",ee.Submitted="SUBMITTED",q;var ee})(),Y=(()=>{return(ee=Y||(Y={})).Diagnostic="DIAGNOSTIC",ee.Functional="FUNCTIONAL",ee.Oncogenic="ONCOGENIC",ee.Predictive="PREDICTIVE",ee.Predisposing="PREDISPOSING",ee.Prognostic="PROGNOSTIC",Y;var ee})(),k=(()=>{return(ee=k||(k={})).Open="OPEN",ee.Resolved="RESOLVED",k;var ee})(),me=(()=>{return(ee=me||(me={})).Assertion="ASSERTION",ee.EvidenceItem="EVIDENCE_ITEM",ee.Gene="GENE",ee.MolecularProfile="MOLECULAR_PROFILE",ee.Variant="VARIANT",ee.VariantGroup="VARIANT_GROUP",me;var ee})(),fe=(()=>{return(ee=fe||(fe={})).AssertionCount="assertionCount",ee.DiseaseName="diseaseName",ee.EntrezSymbol="entrezSymbol",ee.EvidenceItemCount="evidenceItemCount",ee.GeneAlias="geneAlias",ee.MolecularProfileCount="molecularProfileCount",ee.TherapyName="therapyName",ee.VariantCount="variantCount",fe;var ee})(),ye=(()=>{return(ee=ye||(ye={})).Assertion="ASSERTION",ee.EvidenceItem="EVIDENCE_ITEM",ee.Gene="GENE",ee.MolecularProfile="MOLECULAR_PROFILE",ee.Variant="VARIANT",ee.VariantGroup="VARIANT_GROUP",ye;var ee})(),H=(()=>{return(ee=H||(H={})).All="ALL",ee.WithAccepted="WITH_ACCEPTED",ee.WithAcceptedOrSubmitted="WITH_ACCEPTED_OR_SUBMITTED",ee.WithSubmitted="WITH_SUBMITTED",H;var ee})(),X=(()=>{return(ee=X||(X={})).AssertionCount="assertionCount",ee.EvidenceItemCount="evidenceItemCount",ee.MolecularProfileScore="molecularProfileScore",ee.VariantCount="variantCount",X;var ee})(),ve=(()=>{return(ee=ve||(ve={})).Mention="MENTION",ee.Subscription="SUBSCRIPTION",ve;var ee})(),Se=(()=>{return(ee=Se||(Se={})).Id="ID",ee.Name="NAME",Se;var ee})(),wt=(()=>{return(ee=wt||(wt={})).AssertionCount="ASSERTION_COUNT",ee.EvidenceItemCount="EVIDENCE_ITEM_COUNT",ee.HpoId="HPO_ID",ee.Name="NAME",wt;var ee})(),St=(()=>{return(ee=St||(St={})).Read="READ",ee.Unread="UNREAD",St;var ee})(),rn=(()=>{return(ee=rn||(rn={})).Grch37="GRCH37",ee.Grch38="GRCH38",ee.Ncbi36="NCBI36",rn;var ee})(),ot=(()=>{return(ee=ot||(ot={})).Accepted="ACCEPTED",ee.New="NEW",ee.Rejected="REJECTED",ee.Superseded="SUPERSEDED",ot;var ee})(),gt=(()=>{return(ee=gt||(gt={})).Assertion="ASSERTION",ee.EvidenceItem="EVIDENCE_ITEM",ee.Gene="GENE",ee.MolecularProfile="MOLECULAR_PROFILE",ee.Revision="REVISION",ee.Variant="VARIANT",ee.VariantGroup="VARIANT_GROUP",gt;var ee})(),Dt=(()=>{return(ee=Dt||(Dt={})).Asc="ASC",ee.Desc="DESC",Dt;var ee})(),Wt=(()=>{return(ee=Wt||(Wt={})).Asco="ASCO",ee.Ash="ASH",ee.Pubmed="PUBMED",Wt;var ee})(),mn=(()=>{return(ee=mn||(mn={})).Curated="CURATED",ee.New="NEW",ee.Rejected="REJECTED",mn;var ee})(),At=(()=>{return(ee=At||(At={})).Citation="CITATION",ee.CitationId="CITATION_ID",ee.CreatedAt="CREATED_AT",ee.DiseaseName="DISEASE_NAME",ee.SourceType="SOURCE_TYPE",ee.Submitter="SUBMITTER",At;var ee})(),_t=(()=>{return(ee=_t||(_t={})).Authors="AUTHORS",ee.CitationId="CITATION_ID",ee.EvidenceCount="EVIDENCE_COUNT",ee.Journal="JOURNAL",ee.Name="NAME",ee.SourceType="SOURCE_TYPE",ee.SuggestionCount="SUGGESTION_COUNT",ee.Year="YEAR",_t;var ee})(),ct=(()=>{return(ee=ct||(ct={})).Assertion="ASSERTION",ee.EvidenceItem="EVIDENCE_ITEM",ee.Gene="GENE",ee.MolecularProfile="MOLECULAR_PROFILE",ee.Revision="REVISION",ee.SourceSuggestion="SOURCE_SUGGESTION",ee.Variant="VARIANT",ee.VariantGroup="VARIANT_GROUP",ct;var ee})(),Rt=(()=>{return(ee=Rt||(Rt={})).Assertion="ASSERTION",ee.EvidenceItem="EVIDENCE_ITEM",ee.Gene="GENE",ee.MolecularProfile="MOLECULAR_PROFILE",ee.Revision="REVISION",ee.Role="ROLE",ee.Variant="VARIANT",ee.VariantGroup="VARIANT_GROUP",Rt;var ee})(),sn=(()=>{return(ee=sn||(sn={})).Combination="COMBINATION",ee.Sequential="SEQUENTIAL",ee.Substitutes="SUBSTITUTES",sn;var ee})(),Dn=(()=>{return(ee=Dn||(Dn={})).AssertionCount="ASSERTION_COUNT",ee.EvidenceItemCount="EVIDENCE_ITEM_COUNT",ee.Name="NAME",ee.NcitId="NCIT_ID",Dn;var ee})(),zn=(()=>{return(ee=zn||(zn={})).Admin="ADMIN",ee.Curator="CURATOR",ee.Editor="EDITOR",zn;var ee})(),Yt=(()=>{return(ee=Yt||(Yt={})).Id="ID",ee.LastAction="LAST_ACTION",ee.Name="NAME",ee.Role="ROLE",Yt;var ee})(),xt=(()=>{return(ee=xt||(xt={})).EvidenceItemCount="EVIDENCE_ITEM_COUNT",ee.GeneNames="GENE_NAMES",ee.Name="NAME",ee.VariantCount="VARIANT_COUNT",ee.VariantNames="VARIANT_NAMES",xt;var ee})(),Ye=(()=>{return(ee=Ye||(Ye={})).CoordinateEnd="COORDINATE_END",ee.CoordinateStart="COORDINATE_START",ee.Name="NAME",Ye;var ee})(),$e=(()=>{return(ee=$e||($e={})).Combined="COMBINED",ee.CommonGermline="COMMON_GERMLINE",ee.Na="NA",ee.RareGermline="RARE_GERMLINE",ee.Somatic="SOMATIC",ee.Unknown="UNKNOWN",$e;var ee})(),Ae=(()=>{return(ee=Ae||(Ae={})).Name="NAME",ee.Soid="SOID",ee.VariantCount="VARIANT_COUNT",Ae;var ee})(),Ze=(()=>{return(ee=Ze||(Ze={})).DiseaseName="diseaseName",ee.EntrezSymbol="entrezSymbol",ee.TherapyName="therapyName",ee.VariantName="variantName",Ze;var ee})();const oe=t.Ps` - fragment MolecularProfileParsedName on MolecularProfileSegment { - __typename - ... on MolecularProfileTextSegment { - text - } - ... on Gene { - id - name - link - } - ... on Variant { - id - name - link - deprecated - } -} - `,J=t.Ps` - fragment assertionPopover on Assertion { - id - name - status - summary - assertionType - assertionDirection - significance - variantOrigin - ampLevel - acmgCodes { - code - description - } - clingenCodes { - code - description - } - nccnGuideline { - id - name - } - regulatoryApproval - regulatoryApprovalLastUpdated - fdaCompanionTest - fdaCompanionTestLastUpdated - therapies { - id - name - link - } - therapyInteractionType - disease { - id - name - link - } - phenotypes { - id - name - link - } - molecularProfile { - id - name - link - parsedName { - ...MolecularProfileParsedName - } - } - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - ${oe}`,Te=t.Ps` - fragment AssertionBrowseFields on Assertion { - id - name - link - molecularProfile { - id - name - link - parsedName { - ...MolecularProfileParsedName - } - } - disease { - id - name - link - } - therapies { - id - name - link - } - therapyInteractionType - summary - assertionType - assertionDirection - significance - ampLevel - evidenceItemsCount - status - flagged -} - ${oe}`,Pe=t.Ps` - fragment clinicalTrialPopover on BrowseClinicalTrial { - id - name - nctId - url - sourceCount - evidenceCount -} - `,Ge=t.Ps` - fragment BrowseClinicalTrialsRowFields on BrowseClinicalTrial { - id - name - nctId - evidenceCount - sourceCount - link -} - `,it=t.Ps` - fragment commentPopover on Comment { - id - name - createdAt - title - comment - commenter { - id - displayName - role - } - commentable { - id - name - link - __typename - } -} - `,yt=t.Ps` - fragment BrowseDiseaseRowFields on BrowseDisease { - id - name - doid - diseaseUrl - geneNames - assertionCount - evidenceItemCount - variantCount - geneCount - link -} - `,Ut=t.Ps` - fragment eventFeedNode on Event { - id - action - createdAt - organization { - id - name - profileImagePath(size: 32) - } - originatingUser { - id - username - displayName - role - profileImagePath(size: 32) - } - subject { - name - id - link - ... on Source { - citation - sourceType - } - ... on EvidenceItem { - status - } - ... on Assertion { - status - } - ... on Revision { - revisionSetId - } - ... on Variant { - deprecated - } - ... on MolecularProfile { - deprecated - } - __typename - } - originatingObject { - id - name - link - __typename - ... on Revision { - id - revisionSetId - } - ... on Comment { - id - } - ... on Flag { - id - } - } -} - `,$t=t.Ps` - fragment eventFeed on EventConnection { - pageInfo { - startCursor - endCursor - hasNextPage - hasPreviousPage - } - eventTypes @include(if: $showFilters) - unfilteredCount - uniqueParticipants @include(if: $showFilters) { - id - displayName - role - profileImagePath(size: 32) - } - participatingOrganizations @include(if: $showFilters) { - id - name - profileImagePath(size: 32) - } - edges { - cursor - node { - ...eventFeedNode - } - } -} - ${Ut}`,Je=t.Ps` - fragment evidencePopover on EvidenceItem { - id - name - status - description - evidenceLevel - evidenceType - evidenceDirection - significance - variantOrigin - therapies { - id - name - link - } - therapyInteractionType - disease { - id - name - link - } - phenotypes { - id - name - link - } - evidenceRating - molecularProfile { - id - name - link - deprecated - parsedName { - ...MolecularProfileParsedName - } - } - source { - id - citation - sourceType - displayType - link - } - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - ${oe}`,et=t.Ps` - fragment EvidenceGridFields on EvidenceItem { - id - name - link - disease { - id - name - link - } - therapies { - id - name - link - } - molecularProfile { - id - name - link - parsedName { - ...MolecularProfileParsedName - } - } - status - flagged - therapyInteractionType - description - evidenceType - evidenceDirection - evidenceLevel - evidenceRating - significance - variantOrigin -} - ${oe}`,pt=t.Ps` - fragment flag on Flag { - id - state - createdAt - resolvedAt - flaggable { - id - name - link - } - flaggingUser { - id - displayName - role - profileImagePath(size: 32) - } - resolvingUser { - id - displayName - role - profileImagePath(size: 32) - } - openComment { - __typename - parsedComment { - __typename - ... on CommentTagSegment { - entityId - displayName - tagType - link - __typename - } - ... on CommentTextSegment { - text - } - ... on User { - id - displayName - role - } - } - } - resolutionComment { - __typename - parsedComment { - __typename - ... on CommentTagSegment { - entityId - displayName - tagType - link - __typename - } - ... on CommentTextSegment { - text - } - ... on User { - id - displayName - role - } - } - } -} - `,Vt=t.Ps` - fragment flagList on FlagConnection { - pageInfo { - startCursor - endCursor - hasNextPage - hasPreviousPage - } - totalCount - unfilteredCountForSubject - uniqueFlaggingUsers { - username - id - profileImagePath(size: 32) - } - uniqueResolvingUsers { - username - id - profileImagePath(size: 32) - } - edges { - node { - ...flag - } - } -} - ${pt}`,zt=t.Ps` - fragment flagPopover on Flag { - id - name - state - flaggingUser { - id - displayName - role - } - flaggable { - id - link - name - } - createdAt - openComment { - comment - } -} - `,jt=t.Ps` - fragment genePopover on Gene { - id - name - officialName - geneAliases - variants { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } - flags(state: OPEN) { - totalCount - } -} - `,Nt=t.Ps` - fragment BrowseGenesFields on BrowseGene { - id - entrezId - name - link - flagged - geneAliases - diseases { - name - id - link - } - therapies { - name - id - link - } - variantCount - evidenceItemCount - assertionCount - molecularProfileCount -} - `,We=t.Ps` - fragment QuicksearchResult on SearchResult { - id - resultType - name - matchingText -} - `,j=t.Ps` - fragment molecularProfilePopoverFields on MolecularProfile { - id - name - parsedName { - __typename - ... on MolecularProfileTextSegment { - text - } - ... on Gene { - id - name - link - } - ... on Variant { - id - name - deprecated - link - } - } - molecularProfileAliases - evidenceItems { - totalCount - } - assertions { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } - flags(state: OPEN) { - totalCount - } -} - `,P=t.Ps` - fragment BrowseMolecularProfilesFields on BrowseMolecularProfile { - id - name - evidenceItemCount - molecularProfileScore - assertionCount - variantCount - aliases { - name - } - genes { - id - name - link - } - variants { - id - name - link - } - therapies { - id - name - link - } - diseases { - id - name - link - } - link -} - `,K=t.Ps` - fragment menuMolecularProfile on MolecularProfile { - id - name - link - flagged -} - `,ze=t.Ps` - fragment orgPopover on Organization { - id - profileImagePath(size: 64) - name - description - url -} - `,dt=t.Ps` - fragment OrganizationBrowseTableRowFields on Organization { - id - name - description - url - memberCount - eventCount - subGroups { - name - id - } - mostRecentEvent { - createdAt - } -} - `,ke=t.Ps` - fragment PhenotypeBrowseTableRowFields on BrowsePhenotype { - id - name - hpoId - url - assertionCount - evidenceCount - link -} - `,ge=t.Ps` - fragment validationError on FieldValidationError { - fieldName - error -} - `,xe=t.Ps` - fragment revisionPopover on Revision { - id - name - link - status - revisor { - id - displayName - role - } - subject { - id - link - name - } - createdAt - linkoutData { - name - } - creationComment { - comment - } -} - `,ut=t.Ps` - fragment revision on Revision { - id - revisionSetId - createdAt - resolvedAt - fieldName - currentValue - suggestedValue - linkoutData { - name - diffValue { - ... on ObjectFieldDiff { - currentObjects { - id - displayName - displayType - entityType - link - deleted - } - addedObjects { - id - displayName - displayType - entityType - link - deleted - } - removedObjects { - id - displayName - displayType - entityType - link - deleted - } - keptObjects { - id - displayName - displayType - entityType - link - deleted - } - suggestedObjects { - id - displayName - displayType - entityType - link - deleted - } - } - ... on ScalarFieldDiff { - left - right - } - } - } - revisor { - id - displayName - role - } - resolver { - id - displayName - role - } - creationComment { - parsedComment { - __typename - ... on CommentTagSegment { - entityId - displayName - tagType - link - __typename - } - ... on CommentTextSegment { - text - } - ... on User { - id - displayName - role - } - } - } - resolutionComment { - parsedComment { - __typename - ... on CommentTagSegment { - entityId - displayName - tagType - link - __typename - } - ... on CommentTextSegment { - text - } - ... on User { - id - displayName - role - } - } - } - status -} - `,vt=t.Ps` - fragment ContributorFields on ContributingUser { - user { - id - profileImagePath(size: 12) - } - uniqueActions { - action - count - } - lastActionDate - totalActionCount -} - `,qt=t.Ps` - fragment subscriptionId on Subscription { - id - __typename -} - `,Ct=t.Ps` - fragment TimepointCount on TimePointCounts { - allTime - newThisMonth - newThisWeek - newThisYear -} - `,tn=t.Ps` - fragment BrowseSourceSuggestionRowFields on SourceSuggestion { - id - molecularProfile { - id - name - link - } - disease { - id - name - link - } - source { - link - id - citation - citationId - sourceType - sourceUrl - displayType - } - user { - id - displayName - role - profileImagePath(size: 32) - } - initialComment - status - reason - createdAt -} - `,je=t.Ps` - fragment sourcePopover on SourcePopover { - id - name - evidenceItemCount - citation - citationId - displayType - sourceUrl - clinicalTrials { - id - nctId - link - } -} - `,Qe=t.Ps` - fragment BrowseSourceRowFields on BrowseSource { - id - authors - citationId - evidenceItemCount - sourceSuggestionCount - journal - name - publicationYear - sourceType - citation - displayType - link - openAccess -} - `,ft=t.Ps` - fragment TherapyBrowseTableRowFields on BrowseTherapy { - id - name - ncitId - therapyUrl - assertionCount - evidenceCount - link -} - `,Re=t.Ps` - fragment popoverUser on User { - id - profileImagePath(size: 64) - displayName - bio - role - organizations { - id - name - } -} - `,He=t.Ps` - fragment UserBrowseTableRowFields on User { - id - name - displayName - organizations { - id - name - } - role - statsHash { - submittedEvidenceItems - revisions - } - mostRecentActionTimestamp -} - `,Ie=t.Ps` - fragment variantGroupPopoverFields on VariantGroup { - id - name - description - variants { - edges { - node { - id - name - link - } - } - } - sources { - id - citation - sourceType - link - } -} - `,he=t.Ps` - fragment BrowseVariantGroupRowFields on BrowseVariantGroup { - id - name - link - geneNames - variantNames - variantCount - evidenceItemCount -} - `,we=t.Ps` - fragment variantTypePopover on VariantTypePopover { - id - name - url - soid - variantCount -} - `,ce=t.Ps` - fragment VariantTypeBrowseTableRowFields on BrowseVariantType { - id - name - soid - url - variantCount - link -} - `,nt=t.Ps` - fragment CoordinatesCardFields on Variant { - id - name - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop - } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop - } - referenceBases - variantBases -} - `,be=t.Ps` - fragment variantPopoverFields on Variant { - id - name - variantAliases - alleleRegistryId - gene { - id - name - link - } - molecularProfiles { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } - flags(state: OPEN) { - totalCount - } -} - `,rt=t.Ps` - fragment menuVariantType on BrowseVariantType { - id - name - link -} - `,Zt=t.Ps` - fragment menuVariant on Variant { - id - name - link - flagged -} - `,nn=t.Ps` - fragment BrowseVariantsFields on BrowseVariant { - id - name - link - geneId - geneName - geneLink - diseases { - id - name - link - } - therapies { - id - name - link - } - aliases { - name - } - variantTypes { - id - name - link - } -} - `,Sn=t.Ps` - fragment RevisableAssertionFields on Assertion { - id - summary - description - molecularProfile { - id - name - link - } - variantOrigin - significance - disease { - id - doid - name - displayName - link - } - therapies { - id - ncitId - name - link - } - therapyInteractionType - assertionDirection - assertionType - phenotypes { - id - hpoId - name - } - ampLevel - acmgCodes { - id - name - code - description - tooltip - } - clingenCodes { - id - code - description - name - tooltip - exclusive - } - nccnGuideline { - id - name - } - nccnGuidelineVersion - regulatoryApproval - fdaCompanionTest - evidenceItems { - id - name - link - status - } -} - `,jn=t.Ps` - fragment previewComment on CommentBodySegment { - __typename - ... on CommentTagSegment { - entityId - displayName - tagType - link - status - deprecated - __typename - } - ... on CommentTextSegment { - text - __typename - } - ... on User { - id - displayName - role - __typename - } -} - `,Un=t.Ps` - fragment previewMpName on MolecularProfileSegment { - __typename - ... on MolecularProfileTextSegment { - text - } - ... on Gene { - id - name - link - } - ... on Variant { - id - name - link - } -} - `,$n=t.Ps` - fragment AddDiseaseFields on AddDiseasePayload { - new - disease { - id - name - displayName - } -} - `,Yn=t.Ps` - fragment GeneTypeaheadFields on Gene { - id - name - geneAliases - entrezId -} - `,co=t.Ps` - fragment SourceTypeaheadResult on Source { - id - name - citation - citationId - sourceType -} - `,Wo=t.Ps` - fragment SourceStubFields on SourceStub { - id - citationId - sourceType -} - `,po=(t.Ps` - fragment SourceTypeaheadFields on Source { - id - name - citation - citationId - sourceType -} - `,t.Ps` - fragment AddTherapyFields on AddTherapyPayload { - new - therapy { - id - ncitId - name - } -} - `),Go=t.Ps` - fragment VariantTypeaheadFields on Variant { - id - name - variantAliases - singleVariantMolecularProfileId - singleVariantMolecularProfile { - id - name - link - } -} - `,Po=t.Ps` - fragment AddVariantFields on AddVariantPayload { - clientMutationId - new - variant { - id - name - singleVariantMolecularProfileId - singleVariantMolecularProfile { - id - name - link - } - } -} - `,Ro=(t.Ps` - fragment VariantSelectFields on Variant { - id - name - variantAliases - singleVariantMolecularProfileId - singleVariantMolecularProfile { - id - name - link - } -} - `,t.Ps` - fragment MolecularProfileSelectTypeaheadFields on MolecularProfile { - id - name - link - molecularProfileAliases -} - `),Ko=t.Ps` - fragment DiseaseSelectTypeaheadFields on Disease { - id - name - link - displayName - doid - diseaseAliases -} - `,Fn=t.Ps` - fragment TherapySelectTypeaheadFields on Therapy { - id - name - link - ncitId - therapyAliases -} - `,Wn=t.Ps` - fragment PhenotypeSelectTypeaheadFields on Phenotype { - id - name - link - hpoId -} - `,ro=t.Ps` - fragment SourceSelectTypeaheadFields on Source { - id - name - link - citation - citationId - sourceType -} - `,ni=t.Ps` - fragment RevisableEvidenceFields on EvidenceItem { - id - molecularProfile { - ...MolecularProfileSelectTypeaheadFields - } - variantOrigin - description - significance - disease { - ...DiseaseSelectTypeaheadFields - } - therapies { - ...TherapySelectTypeaheadFields - } - therapyInteractionType - evidenceDirection - evidenceLevel - evidenceType - phenotypes { - ...PhenotypeSelectTypeaheadFields - } - evidenceRating - source { - ...SourceSelectTypeaheadFields - } -} - ${Ro} -${Ko} -${Fn} -${Wn} -${ro}`,To=t.Ps` - fragment SubmittableEvidenceFields on EvidenceItem { - id - description - variantOrigin - evidenceType - significance - evidenceLevel - evidenceDirection - evidenceRating - therapyInteractionType - source { - id - citation - sourceType - } - phenotypes { - id - name - } - therapies { - id - name - } - disease { - id - name - } -} - `,Do=t.Ps` - fragment RevisableGeneFields on Gene { - id - description - sources { - id - sourceType - citation - citationId - } -} - `,bn=t.Ps` - fragment RevisableMolecularProfileFields on MolecularProfile { - id - description - sources { - id - sourceType - citation - citationId - } - molecularProfileAliases -} - `,Co=t.Ps` - fragment SubmittableVariantGroupFields on VariantGroup { - id - name - description - variants(first: 50) { - nodes { - id - name - link - singleVariantMolecularProfile { - id - name - link - } - } - } - sources { - id - link - citation - sourceType - } -} - `,pi=t.Ps` - fragment RevisableEvidenceFields2 on EvidenceItem { - id - molecularProfile { - ...MolecularProfileSelectTypeaheadFields - } - variantOrigin - description - significance - disease { - ...DiseaseSelectTypeaheadFields - } - therapies { - ...TherapySelectTypeaheadFields - } - therapyInteractionType - evidenceDirection - evidenceLevel - evidenceType - phenotypes { - ...PhenotypeSelectTypeaheadFields - } - evidenceRating - source { - ...SourceSelectTypeaheadFields - } -} - ${Ro} -${Ko} -${Fn} -${Wn} -${ro}`,Fi=t.Ps` - fragment CoordinateFields on Coordinate { - chromosome - representativeTranscript - start - stop -} - `,oo=t.Ps` - fragment RevisableVariantFields on Variant { - id - name - gene { - id - name - } - variantAliases - alleleRegistryId - clinvarIds - ensemblVersion - hgvsDescriptions - referenceBuild - variantTypes { - id - name - soid - } - primaryCoordinates { - ...CoordinateFields - } - secondaryCoordinates { - ...CoordinateFields - } - referenceBases - variantBases -} - ${Fi}`,Zi=t.Ps` - fragment VariantGroupRevisableFields2 on VariantGroup { - id - name - description - variants { - totalCount - edges { - cursor - node { - id - name - link - } - } - nodes { - id - name - link - } - } - sources { - id - name - link - } -} - `,Ji=t.Ps` - fragment AcmgCodeSelectTypeaheadFields on AcmgCode { - id - code - name - description - tooltip -} - `,Ei=t.Ps` - fragment ClingenCodeSelectTypeaheadFields on ClingenCode { - id - code - name - description - tooltip - exclusive -} - `,jr=t.Ps` - fragment QuickAddDiseaseFields on AddDiseasePayload { - new - disease { - ...DiseaseSelectTypeaheadFields - } -} - ${Ko}`,qe=t.Ps` - fragment EvidenceManagerFields on EvidenceItem { - id - name - link - disease { - id - name - link - } - therapies { - id - name - link - } - molecularProfile { - id - name - link - parsedName { - ...MolecularProfileParsedName - } - } - status - flagged - therapyInteractionType - description - evidenceType - evidenceDirection - evidenceLevel - evidenceRating - significance - variantOrigin -} - ${oe}`,se=t.Ps` - fragment EvidenceSelectTypeaheadFields on EvidenceItem { - id - name - link - evidenceType - evidenceDirection - evidenceLevel - evidenceRating - significance - variantOrigin - status -} - `,Fe=t.Ps` - fragment GeneSelectTypeaheadFields on Gene { - id - entrezId - name - geneAliases - link -} - `,Ue=t.Ps` - fragment PreviewMpName2 on MolecularProfileSegment { - __typename - ... on MolecularProfileTextSegment { - text - } - ... on Gene { - id - name - link - } - ... on Variant { - id - name - link - } -} - `,Tt=t.Ps` - fragment NccnGuidelineSelectTypeaheadFields on NccnGuideline { - id - name -} - `,Ft=t.Ps` - fragment QuickAddTherapyFields on AddTherapyPayload { - new - therapy { - ...TherapySelectTypeaheadFields - } -} - ${Fn}`,un=(t.Ps` - fragment VariantManagerFields on BrowseVariant { - id - name - link - geneId - geneName - geneLink - diseases { - id - name - link - } - therapies { - id - name - link - } - aliases { - name - } -} - `,t.Ps` - fragment VariantSelectTypeaheadFields on Variant { - id - name - link - variantAliases - singleVariantMolecularProfileId - singleVariantMolecularProfile { - id - name - link - molecularProfileAliases - } -} - `),fn=(t.Ps` - fragment QuickAddVariantFields on AddVariantPayload { - clientMutationId - new - variant { - ...VariantSelectTypeaheadFields - } -} - ${un}`,t.Ps` - fragment VariantTypeSelectTypeaheadFields on VariantType { - id - name - link - soid -} - `),On=t.Ps` - fragment AssertionDetailFields on Assertion { - id - name - status - submissionEvent { - originatingUser { - id - } - } - molecularProfile { - id - name - link - } - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - `,Tn=t.Ps` - fragment AssertionSummaryFields on Assertion { - id - name - summary - description - status - variantOrigin - disease { - id - name - link - } - molecularProfile { - id - name - link - parsedName { - ...MolecularProfileParsedName - } - } - assertionType - assertionDirection - significance - therapies { - ncitId - name - link - id - } - phenotypes { - id - name - link - } - therapyInteractionType - ampLevel - acmgCodes { - code - description - } - clingenCodes { - id - code - description - } - nccnGuideline { - id - name - } - nccnGuidelineVersion - regulatoryApproval - regulatoryApprovalLastUpdated - fdaCompanionTest - fdaCompanionTestLastUpdated - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } - acceptanceEvent { - createdAt - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } - submissionEvent { - createdAt - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } - rejectionEvent { - createdAt - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } -} - ${oe}`,En=t.Ps` - fragment MyDiseaseInfoFields on MyDiseaseInfo { - diseaseOntologyExactSynonyms - diseaseOntologyRelatedSynonyms - mesh - icdo - icd10 - ncit - omim - doDef - doDefCitations - mondoDef -} - `,Pn=t.Ps` - fragment DiseasesSummaryFields on Disease { - id - name - doid - diseaseUrl - displayName - diseaseAliases - link - myDiseaseInfo { - ...MyDiseaseInfoFields - } -} - ${En}`,Xn=t.Ps` - fragment EvidenceDetailFields on EvidenceItem { - id - name - status - submissionEvent { - originatingUser { - id - } - } - molecularProfile { - id - name - link - } - assertions { - id - name - link - } - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - `,xn=t.Ps` - fragment EvidenceSummaryFields on EvidenceItem { - id - name - description - status - evidenceLevel - evidenceType - evidenceDirection - significance - variantOrigin - therapies { - id - name - link - } - therapyInteractionType - disease { - id - name - link - } - phenotypes { - id - name - link - } - source { - id - citation - citationId - sourceType - displayType - sourceUrl - ascoAbstractId - link - clinicalTrials { - nctId - id - link - } - } - evidenceRating - molecularProfile { - id - name - link - parsedName { - ...MolecularProfileParsedName - } - } - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } - acceptanceEvent { - createdAt - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } - submissionEvent { - createdAt - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } - rejectionEvent { - createdAt - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } -} - ${oe}`,Vn=t.Ps` - fragment GeneDetailFields on Gene { - id - name - officialName - entrezId - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - `,Zn=t.Ps` - fragment GeneSummaryFields on Gene { - description - entrezId - geneAliases - id - name - officialName - sources { - id - citation - link - sourceUrl - displayType - sourceType - } - variants { - edges { - node { - id - name - } - } - } - myGeneInfoDetails - lastSubmittedRevisionEvent { - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } - lastAcceptedRevisionEvent { - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } -} - `,ho=t.Ps` - fragment commentListNode on Comment { - id - title - comment - createdAt - commenter { - id - username - displayName - name - role - profileImagePath(size: 32) - organizations { - id - name - profileImagePath(size: 32) - } - } - parsedComment { - __typename - ... on CommentTagSegment { - entityId - displayName - tagType - status - deprecated - link - revisionSetId - __typename - } - ... on CommentTextSegment { - text - } - ... on User { - id - displayName - role - } - } -} - `,uo=t.Ps` - fragment MolecularProfileDetailFields on MolecularProfile { - id - name - deprecated - deprecatedVariants { - deprecationReason - deprecationComment { - ...commentListNode - } - id - deprecated - name - link - } - molecularProfileAliases - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - ${ho}`,fo=t.Ps` - fragment VariantMolecularProfileCardFields on Variant { - id - name - link - gene { - id - name - link - } - molecularProfiles(first: 3) { - totalCount - nodes { - id - link - name - deprecated - } - } - variantAliases - clinvarIds - alleleRegistryId - openCravatUrl - variantTypes { - id - link - soid - name - } - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop - } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop - } - referenceBases - variantBases - hgvsDescriptions -} - `,Zo=t.Ps` - fragment MolecularProfileSummaryFields on MolecularProfile { - id - name - description - molecularProfileAliases - molecularProfileScore - sources { - id - citation - link - sourceType - } - variants { - ...VariantMolecularProfileCardFields - } - parsedName { - ...MolecularProfileParsedName - } -} - ${fo} -${oe}`,$o=t.Ps` - fragment OrganizationDetailFields on Organization { - id - name - url - description - profileImagePath(size: 256) - subGroups { - id - name - profileImagePath(size: 12) - } - orgStatsHash { - comments - revisions - appliedRevisions - submittedEvidenceItems - acceptedEvidenceItems - suggestedSources - submittedAssertions - acceptedAssertions - } - orgAndSuborgsStatsHash { - comments - revisions - appliedRevisions - submittedEvidenceItems - acceptedEvidenceItems - suggestedSources - submittedAssertions - acceptedAssertions - } -} - `,bo=t.Ps` - fragment OrganizationGroupsFields on Organization { - id - name - url - description - profileImagePath(size: 12) - orgStatsHash { - comments - revisions - appliedRevisions - submittedEvidenceItems - acceptedEvidenceItems - suggestedSources - submittedAssertions - acceptedAssertions - } - orgAndSuborgsStatsHash { - comments - revisions - appliedRevisions - submittedEvidenceItems - acceptedEvidenceItems - suggestedSources - submittedAssertions - acceptedAssertions - } - subGroups { - id - name - url - profileImagePath(size: 12) - } -} - `,_o=t.Ps` - fragment OrganizationMembersFields on User { - id - name - displayName - username - profileImagePath(size: 32) - role - url - areaOfExpertise - orcid - twitterHandle - facebookProfile - linkedinProfile - organizations { - id - name - } -} - `,Bo=t.Ps` - fragment Release on DataRelease { - name - geneTsv { - filename - path - } - variantTsv { - filename - path - } - variantGroupTsv { - filename - path - } - evidenceTsv { - filename - path - } - molecularProfileTsv { - filename - path - } - assertionTsv { - filename - path - } - acceptedVariantsVcf { - filename - path - } - acceptedAndSubmittedVariantsVcf { - filename - path - } -} - `,ii=t.Ps` - fragment SourceDetailFields on Source { - id - citation - sourceUrl - displayType - citationId -} - `,oi=t.Ps` - fragment SourceSummaryFields on Source { - id - citation - displayType - sourceUrl - title - abstract - publicationDate - citationId - fullJournalTitle - pmcId - authorString - clinicalTrials { - nctId - id - link - } -} - `,Io=t.Ps` - fragment MyChemInfoFields on MyChemInfo { - chebiId - chebiDefinition - fdaEpcCodes { - code - description - } - fdaMoaCodes { - code - description - } - firstApproval - chemblMoleculeType - chemblId - pubchemCid - pharmgkbId - rxnorm - inchikey - drugbankId - indications -} - `,Vo=t.Ps` - fragment TherapiesSummaryFields on Therapy { - id - name - ncitId - therapyUrl - therapyAliases - link - myChemInfo { - ...MyChemInfoFields - } -} - ${Io}`,Qo=t.Ps` - fragment UserDetailFields on User { - id - name - displayName - username - email - profileImagePath(size: 128) - role - url - bio - areaOfExpertise - orcid - twitterHandle - facebookProfile - linkedinProfile - organizations { - id - name - } - country { - id - name - } - statsHash { - comments - revisions - appliedRevisions - submittedEvidenceItems - acceptedEvidenceItems - suggestedSources - submittedAssertions - acceptedAssertions - } - mostRecentConflictOfInterestStatement { - id - coiPresent - coiStatement - coiStatus - createdAt - expiresAt - } -} - `,Si=t.Ps` - fragment notificationOrganization on Organization { - id - name -} - `,Ni=t.Ps` - fragment notificationOriginatingUsers on User { - id - displayName -} - `,Oo=t.Ps` - fragment notificationFeedSubjects on EventSubjectWithCount { - subject { - id - __typename - name - } - occuranceCount -} - `,ri=t.Ps` - fragment notificationNode on Notification { - id - type - event { - ...eventFeedNode - } - seen - subscription { - id - subscribable { - id - name - __typename - } - } -} - ${Ut}`,Ki=t.Ps` - fragment subscribable on Subscribable { - id - entityType - __typename -} - `,si=t.Ps` - fragment VariantGroupDetailFields on VariantGroup { - id - name - variants { - totalCount - } - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - `,qi=t.Ps` - fragment VariantGroupSummaryFields on VariantGroup { - id - name - description - sources { - id - link - citation - sourceUrl - displayType - sourceType - } -} - `,gr=t.Ps` - fragment VariantDetailFields on Variant { - id - name - deprecated - deprecationReason - deprecationComment { - ...commentListNode - } - gene { - id - name - link - } - variantAliases - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } -} - ${ho}`,xi=t.Ps` - fragment MyVariantInfoFields on MyVariantInfo { - myVariantInfoId - caddConsequence - caddDetail - caddScore - caddPhred - clinvarClinicalSignificance - clinvarHgvsCoding - clinvarHgvsGenomic - clinvarHgvsNonCoding - clinvarHgvsProtein - clinvarId - clinvarOmim - cosmicId - dbnsfpInterproDomain - dbsnpRsid - eglClass - eglHgvs - eglProtein - eglTranscript - exacAlleleCount - exacAlleleFrequency - exacAlleleNumber - fathmmMklPrediction - fathmmMklScore - fathmmPrediction - fathmmScore - fitconsScore - gerp - gnomadExomeAlleleCount - gnomadExomeAlleleFrequency - gnomadExomeAlleleNumber - gnomadExomeFilter - gnomadGenomeAlleleCount - gnomadGenomeAlleleFrequency - gnomadGenomeAlleleNumber - gnomadGenomeFilter - lrtPrediction - lrtScore - metalrPrediction - metalrScore - metasvmPrediction - metasvmScore - mutationassessorPrediction - mutationassessorScore - mutationtasterPrediction - mutationtasterScore - phastcons100way - phastcons30way - phyloP100way - phyloP30way - polyphen2HdivPrediction - polyphen2HdivScore - polyphen2HvarPrediction - polyphen2HvarScore - proveanPrediction - proveanScore - revelScore - siftPrediction - siftScore - siphy - snpeffSnpEffect - snpeffSnpImpact -} - `,Us=t.Ps` - fragment VariantSummaryFields on Variant { - id - name - gene { - id - name - link - } - variantAliases - alleleRegistryId - openCravatUrl - maneSelectTranscript - variantTypes { - id - link - soid - name - } - hgvsDescriptions - clinvarIds - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop - } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop - } - referenceBases - variantBases - flags(state: OPEN) { - totalCount - } - revisions(status: NEW) { - totalCount - } - comments { - totalCount - } - myVariantInfo { - ...MyVariantInfoFields - } - lastSubmittedRevisionEvent { - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } - lastAcceptedRevisionEvent { - originatingUser { - id - displayName - role - profileImagePath(size: 32) - } - } -} - ${xi}`,Gr=t.Ps` - query AssertionPopover($assertionId: Int!) { - assertion(id: $assertionId) { - ...assertionPopover - } -} - ${J}`;class Li extends t.AE{constructor(G){super(G),this.document=Gr}}Li.\u0275fac=function(G){return new(G||Li)(o.LFG(t._M))},Li.\u0275prov=o.Yz7({token:Li,factory:Li.\u0275fac,providedIn:"root"});const vs=t.Ps` - query AssertionsBrowse($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $therapyName: String, $id: Int, $summary: String, $assertionDirection: EvidenceDirection, $significance: EvidenceSignificance, $assertionType: EvidenceType, $variantId: Int, $molecularProfileId: Int, $evidenceId: Int, $molecularProfileName: String, $sortBy: AssertionSort, $ampLevel: AmpLevel, $organizationId: Int, $userId: Int, $phenotypeId: Int, $diseaseId: Int, $therapyId: Int, $status: EvidenceStatusFilter) { - assertions( - first: $first - last: $last - before: $before - after: $after - diseaseName: $diseaseName - therapyName: $therapyName - id: $id - summary: $summary - assertionDirection: $assertionDirection - significance: $significance - assertionType: $assertionType - variantId: $variantId - molecularProfileId: $molecularProfileId - sortBy: $sortBy - ampLevel: $ampLevel - molecularProfileName: $molecularProfileName - evidenceId: $evidenceId - organizationId: $organizationId - userId: $userId - phenotypeId: $phenotypeId - therapyId: $therapyId - diseaseId: $diseaseId - status: $status - ) { - totalCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...AssertionBrowseFields - } - } - } -} - ${Te}`;class Hi extends t.AE{constructor(G){super(G),this.document=vs}}Hi.\u0275fac=function(G){return new(G||Hi)(o.LFG(t._M))},Hi.\u0275prov=o.Yz7({token:Hi,factory:Hi.\u0275fac,providedIn:"root"});const vr=t.Ps` - query ClinicalTrialPopover($clinicalTrialId: Int!) { - clinicalTrials(id: $clinicalTrialId) { - edges { - node { - ...clinicalTrialPopover - } - } - } -} - ${Pe}`;class Ar extends t.AE{constructor(G){super(G),this.document=vr}}Ar.\u0275fac=function(G){return new(G||Ar)(o.LFG(t._M))},Ar.\u0275prov=o.Yz7({token:Ar,factory:Ar.\u0275fac,providedIn:"root"});const js=t.Ps` - query ClinicalTrialsBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $nctId: String, $sortBy: ClinicalTrialSort) { - clinicalTrials( - first: $first - last: $last - before: $before - after: $after - name: $name - nctId: $nctId - sortBy: $sortBy - ) { - totalCount - filteredCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...BrowseClinicalTrialsRowFields - } - } - } -} - ${Ge}`;class Xi extends t.AE{constructor(G){super(G),this.document=js}}Xi.\u0275fac=function(G){return new(G||Xi)(o.LFG(t._M))},Xi.\u0275prov=o.Yz7({token:Xi,factory:Xi.\u0275fac,providedIn:"root"});const da=t.Ps` - query CommentList($first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $mentionedUserId: Int, $mentionedRole: UserRole, $mentionedEntity: TaggableEntityInput, $subject: CommentableInput, $sortBy: DateSort) { - comments( - first: $first - last: $last - before: $before - after: $after - originatingUserId: $originatingUserId - mentionedUserId: $mentionedUserId - mentionedRole: $mentionedRole - mentionedEntity: $mentionedEntity - subject: $subject - sortBy: $sortBy - ) { - totalCount - pageInfo { - startCursor - endCursor - hasPreviousPage - hasNextPage - } - uniqueCommenters { - id - displayName - role - profileImagePath(size: 32) - } - mentionedUsers { - id - displayName - role - profileImagePath(size: 32) - } - mentionedRoles { - displayName - entityId - tagType - link - } - mentionedEntities { - displayName - entityId - tagType - link - } - unfilteredCountForSubject - edges { - cursor - node { - ...commentListNode - } - } - } -} - ${ho}`;class Yi extends t.AE{constructor(G){super(G),this.document=da}}Yi.\u0275fac=function(G){return new(G||Yi)(o.LFG(t._M))},Yi.\u0275prov=o.Yz7({token:Yi,factory:Yi.\u0275fac,providedIn:"root"});const Gs=t.Ps` - query CommentPopover($commentId: Int!) { - comment(id: $commentId) { - ...commentPopover - } -} - ${it}`;class _r extends t.AE{constructor(G){super(G),this.document=Gs}}_r.\u0275fac=function(G){return new(G||_r)(o.LFG(t._M))},_r.\u0275prov=o.Yz7({token:_r,factory:_r.\u0275fac,providedIn:"root"});const Be=t.Ps` - query DiseasePopover($diseaseId: Int!) { - diseasePopover(id: $diseaseId) { - id - name - displayName - doid - diseaseUrl - diseaseAliases - assertionCount - evidenceItemCount - molecularProfileCount - link - } -} - `;class kt extends t.AE{constructor(G){super(G),this.document=Be}}kt.\u0275fac=function(G){return new(G||kt)(o.LFG(t._M))},kt.\u0275prov=o.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"});const $=t.Ps` - query BrowseDiseases($first: Int, $last: Int, $before: String, $after: String, $sortBy: DiseasesSort, $name: String, $doid: String, $geneNames: String) { - browseDiseases( - first: $first - last: $last - before: $before - after: $after - sortBy: $sortBy - name: $name - doid: $doid - geneNames: $geneNames - ) { - pageInfo { - endCursor - hasNextPage - hasPreviousPage - startCursor - } - totalCount - filteredCount - pageCount - edges { - cursor - node { - ...BrowseDiseaseRowFields - } - } - } -} - ${yt}`;class Ne extends t.AE{constructor(G){super(G),this.document=$}}Ne.\u0275fac=function(G){return new(G||Ne)(o.LFG(t._M))},Ne.\u0275prov=o.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"});const Lt=t.Ps` - query EventFeedCount($subject: SubscribableQueryInput, $first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $organizationId: Int, $eventType: EventAction, $includeAutomatedEvents: Boolean, $mode: EventFeedMode) { - events( - subject: $subject - first: $first - last: $last - before: $before - after: $after - originatingUserId: $originatingUserId - organizationId: $organizationId - eventType: $eventType - mode: $mode - includeAutomatedEvents: $includeAutomatedEvents - ) { - unfilteredCount - } -} - `;class on extends t.AE{constructor(G){super(G),this.document=Lt}}on.\u0275fac=function(G){return new(G||on)(o.LFG(t._M))},on.\u0275prov=o.Yz7({token:on,factory:on.\u0275fac,providedIn:"root"});const wn=t.Ps` - query EventFeed($subject: SubscribableQueryInput, $first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $organizationId: Int, $eventType: EventAction, $mode: EventFeedMode, $includeAutomatedEvents: Boolean = true, $showFilters: Boolean!) { - events( - subject: $subject - first: $first - last: $last - before: $before - after: $after - originatingUserId: $originatingUserId - organizationId: $organizationId - eventType: $eventType - includeAutomatedEvents: $includeAutomatedEvents - mode: $mode - ) { - ...eventFeed - } -} - ${$t}`;class no extends t.AE{constructor(G){super(G),this.document=wn}}no.\u0275fac=function(G){return new(G||no)(o.LFG(t._M))},no.\u0275prov=o.Yz7({token:no,factory:no.\u0275fac,providedIn:"root"});const to=t.Ps` - query EvidencePopover($evidenceId: Int!) { - evidenceItem(id: $evidenceId) { - ...evidencePopover - } -} - ${Je}`;class yo extends t.AE{constructor(G){super(G),this.document=to}}yo.\u0275fac=function(G){return new(G||yo)(o.LFG(t._M))},yo.\u0275prov=o.Yz7({token:yo,factory:yo.\u0275fac,providedIn:"root"});const Jn=t.Ps` - query EvidenceBrowse($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $therapyName: String, $id: Int, $description: String, $evidenceLevel: EvidenceLevel, $evidenceDirection: EvidenceDirection, $significance: EvidenceSignificance, $evidenceType: EvidenceType, $rating: Int, $variantOrigin: VariantOrigin, $variantId: Int, $molecularProfileId: Int, $assertionId: Int, $organizationId: Int, $userId: Int, $sortBy: EvidenceSort, $phenotypeId: Int, $diseaseId: Int, $therapyId: Int, $sourceId: Int, $clinicalTrialId: Int, $molecularProfileName: String, $status: EvidenceStatusFilter) { - evidenceItems( - first: $first - last: $last - before: $before - after: $after - diseaseName: $diseaseName - therapyName: $therapyName - id: $id - description: $description - evidenceLevel: $evidenceLevel - evidenceDirection: $evidenceDirection - significance: $significance - evidenceType: $evidenceType - evidenceRating: $rating - variantOrigin: $variantOrigin - variantId: $variantId - molecularProfileId: $molecularProfileId - assertionId: $assertionId - organizationId: $organizationId - userId: $userId - phenotypeId: $phenotypeId - diseaseId: $diseaseId - therapyId: $therapyId - sourceId: $sourceId - clinicalTrialId: $clinicalTrialId - molecularProfileName: $molecularProfileName - status: $status - sortBy: $sortBy - ) { - totalCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...EvidenceGridFields - } - } - } -} - ${et}`;class Uo extends t.AE{constructor(G){super(G),this.document=Jn}}Uo.\u0275fac=function(G){return new(G||Uo)(o.LFG(t._M))},Uo.\u0275prov=o.Yz7({token:Uo,factory:Uo.\u0275fac,providedIn:"root"});const hi=t.Ps` - query FlagList($flaggable: FlaggableInput, $flaggingUserId: Int, $resolvingUserId: Int, $state: FlagState, $sortBy: DateSort, $first: Int, $last: Int, $before: String, $after: String) { - flags( - flaggable: $flaggable - flaggingUserId: $flaggingUserId - resolvingUserId: $resolvingUserId - state: $state - sortBy: $sortBy - first: $first - last: $last - before: $before - after: $after - ) { - ...flagList - } -} - ${Vt}`;class Di extends t.AE{constructor(G){super(G),this.document=hi}}Di.\u0275fac=function(G){return new(G||Di)(o.LFG(t._M))},Di.\u0275prov=o.Yz7({token:Di,factory:Di.\u0275fac,providedIn:"root"});const Oi=t.Ps` - query FlagPopover($flagId: Int!) { - flag(id: $flagId) { - ...flagPopover - } -} - ${zt}`;class $i extends t.AE{constructor(G){super(G),this.document=Oi}}$i.\u0275fac=function(G){return new(G||$i)(o.LFG(t._M))},$i.\u0275prov=o.Yz7({token:$i,factory:$i.\u0275fac,providedIn:"root"});const fi=t.Ps` - query GenePopover($geneId: Int!) { - gene(id: $geneId) { - ...genePopover - } -} - ${jt}`;class lo extends t.AE{constructor(G){super(G),this.document=fi}}lo.\u0275fac=function(G){return new(G||lo)(o.LFG(t._M))},lo.\u0275prov=o.Yz7({token:lo,factory:lo.\u0275fac,providedIn:"root"});const Qs=t.Ps` - query BrowseGenes($entrezSymbol: String, $therapyName: String, $geneAlias: String, $diseaseName: String, $sortBy: GenesSort, $first: Int, $last: Int, $before: String, $after: String) { - browseGenes( - entrezSymbol: $entrezSymbol - therapyName: $therapyName - geneAlias: $geneAlias - diseaseName: $diseaseName - sortBy: $sortBy - first: $first - last: $last - before: $before - after: $after - ) { - edges { - cursor - node { - ...BrowseGenesFields - } - } - pageInfo { - startCursor - endCursor - hasPreviousPage - hasNextPage - } - totalCount - filteredCount - pageCount - } -} - ${Nt}`;class Ee extends t.AE{constructor(G){super(G),this.document=Qs}}Ee.\u0275fac=function(G){return new(G||Ee)(o.LFG(t._M))},Ee.\u0275prov=o.Yz7({token:Ee,factory:Ee.\u0275fac,providedIn:"root"});const Ce=t.Ps` - query Quicksearch($query: String!, $types: [SearchableEntities!], $highlightMatches: Boolean) { - search(query: $query, types: $types, highlightMatches: $highlightMatches) { - ...QuicksearchResult - } -} - ${We}`;class de extends t.AE{constructor(G){super(G),this.document=Ce}}de.\u0275fac=function(G){return new(G||de)(o.LFG(t._M))},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"});const lt=t.Ps` - query MolecularProfilePopover($molecularProfileId: Int!) { - molecularProfile(id: $molecularProfileId) { - ...molecularProfilePopoverFields - } -} - ${j}`;class hn extends t.AE{constructor(G){super(G),this.document=lt}}hn.\u0275fac=function(G){return new(G||hn)(o.LFG(t._M))},hn.\u0275prov=o.Yz7({token:hn,factory:hn.\u0275fac,providedIn:"root"});const Gn=t.Ps` - query BrowseMolecularProfiles($molecularProfileName: String, $variantName: String, $variantId: Int, $entrezSymbol: String, $diseaseName: String, $therapyName: String, $molecularProfileAlias: String, $sortBy: MolecularProfilesSort, $first: Int, $last: Int, $before: String, $after: String) { - browseMolecularProfiles( - molecularProfileName: $molecularProfileName - variantName: $variantName - variantId: $variantId - entrezSymbol: $entrezSymbol - diseaseName: $diseaseName - therapyName: $therapyName - molecularProfileAlias: $molecularProfileAlias - sortBy: $sortBy - first: $first - last: $last - before: $before - after: $after - ) { - pageInfo { - endCursor - hasNextPage - startCursor - hasPreviousPage - } - edges { - cursor - node { - ...BrowseMolecularProfilesFields - } - } - filteredCount - pageCount - } -} - ${P}`;class qo extends t.AE{constructor(G){super(G),this.document=Gn}}qo.\u0275fac=function(G){return new(G||qo)(o.LFG(t._M))},qo.\u0275prov=o.Yz7({token:qo,factory:qo.\u0275fac,providedIn:"root"});const gn=t.Ps` - query MolecularProfileMenu($geneId: Int, $mpName: String, $first: Int, $last: Int, $before: String, $after: String, $evidenceStatusFilter: MolecularProfileDisplayFilter) { - molecularProfiles( - geneId: $geneId - name: $mpName - evidenceStatusFilter: $evidenceStatusFilter - first: $first - last: $last - before: $before - after: $after - ) { - totalCount - pageInfo { - startCursor - endCursor - hasPreviousPage - hasNextPage - } - edges { - cursor - node { - ...menuMolecularProfile - } - } - } -} - ${K}`;class mo extends t.AE{constructor(G){super(G),this.document=gn}}mo.\u0275fac=function(G){return new(G||mo)(o.LFG(t._M))},mo.\u0275prov=o.Yz7({token:mo,factory:mo.\u0275fac,providedIn:"root"});const pa=t.Ps` - query OrgPopover($orgId: Int!) { - organization(id: $orgId) { - ...orgPopover - } -} - ${ze}`;class wi extends t.AE{constructor(G){super(G),this.document=pa}}wi.\u0275fac=function(G){return new(G||wi)(o.LFG(t._M))},wi.\u0275prov=o.Yz7({token:wi,factory:wi.\u0275fac,providedIn:"root"});const ai=t.Ps` - query OrganizationsBrowse($first: Int, $last: Int, $before: String, $after: String, $id: Int, $orgName: String, $sortBy: OrganizationSort) { - organizations( - first: $first - last: $last - before: $before - after: $after - name: $orgName - id: $id - sortBy: $sortBy - ) { - totalCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...OrganizationBrowseTableRowFields - } - } - } -} - ${dt}`;class _s extends t.AE{constructor(G){super(G),this.document=ai}}_s.\u0275fac=function(G){return new(G||_s)(o.LFG(t._M))},_s.\u0275prov=o.Yz7({token:_s,factory:_s.\u0275fac,providedIn:"root"});const ns=t.Ps` - query PhenotypePopover($phenotypeId: Int!) { - phenotypePopover(id: $phenotypeId) { - id - name - url - hpoId - assertionCount - evidenceItemCount - molecularProfileCount - link - } -} - `;class gi extends t.AE{constructor(G){super(G),this.document=ns}}gi.\u0275fac=function(G){return new(G||gi)(o.LFG(t._M))},gi.\u0275prov=o.Yz7({token:gi,factory:gi.\u0275fac,providedIn:"root"});const os=t.Ps` - query PhenotypesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $hpoId: String, $sortBy: PhenotypeSort) { - phenotypes( - first: $first - last: $last - before: $before - after: $after - name: $name - hpoId: $hpoId - sortBy: $sortBy - ) { - totalCount - filteredCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...PhenotypeBrowseTableRowFields - } - } - } -} - ${ke}`;class Pi extends t.AE{constructor(G){super(G),this.document=os}}Pi.\u0275fac=function(G){return new(G||Pi)(o.LFG(t._M))},Pi.\u0275prov=o.Yz7({token:Pi,factory:Pi.\u0275fac,providedIn:"root"});const Hl=t.Ps` - mutation AcceptRevision($input: AcceptRevisionsInput!) { - acceptRevisions(input: $input) { - revisions { - id - __typename - } - } -} - `;class ys extends t.mm{constructor(G){super(G),this.document=Hl}}ys.\u0275fac=function(G){return new(G||ys)(o.LFG(t._M))},ys.\u0275prov=o.Yz7({token:ys,factory:ys.\u0275fac,providedIn:"root"});const Ws=t.Ps` - mutation RejectRevision($input: RejectRevisionsInput!) { - rejectRevisions(input: $input) { - revisions { - id - __typename - } - } -} - `;class ei extends t.mm{constructor(G){super(G),this.document=Ws}}ei.\u0275fac=function(G){return new(G||ei)(o.LFG(t._M))},ei.\u0275prov=o.Yz7({token:ei,factory:ei.\u0275fac,providedIn:"root"});const Fr=t.Ps` - query ValidateRevisionsForAcceptance($ids: [Int!]!) { - validateRevisionsForAcceptance(revisionIds: $ids) { - genericErrors - validationErrors { - ...validationError - } - } -} - ${ge}`;class is extends t.AE{constructor(G){super(G),this.document=Fr}}is.\u0275fac=function(G){return new(G||is)(o.LFG(t._M))},is.\u0275prov=o.Yz7({token:is,factory:is.\u0275fac,providedIn:"root"});const cr=t.Ps` - query RevisionPopover($revisionId: Int!) { - revision(id: $revisionId) { - ...revisionPopover - } -} - ${xe}`;class _i extends t.AE{constructor(G){super(G),this.document=cr}}_i.\u0275fac=function(G){return new(G||_i)(o.LFG(t._M))},_i.\u0275prov=o.Yz7({token:_i,factory:_i.\u0275fac,providedIn:"root"});const cc=t.Ps` - query Revisions($subject: ModeratedInput, $first: Int, $last: Int, $before: String, $after: String, $fieldName: String, $originatingUserId: Int, $resolvingUserId: Int, $revisionSetId: Int, $status: RevisionStatus) { - revisions( - first: $first - last: $last - before: $before - after: $after - fieldName: $fieldName - originatingUserId: $originatingUserId - resolvingUserId: $resolvingUserId - subject: $subject - status: $status - revisionSetId: $revisionSetId - ) { - totalCount - unfilteredCountForSubject - uniqueRevisors { - username - id - profileImagePath(size: 32) - } - uniqueResolvers { - username - id - profileImagePath(size: 32) - } - revisedFieldNames { - name - displayName - } - pageInfo { - hasNextPage - hasPreviousPage - endCursor - startCursor - } - edges { - node { - ...revision - } - } - } -} - ${ut}`;class Qr extends t.AE{constructor(G){super(G),this.document=cc}}Qr.\u0275fac=function(G){return new(G||Qr)(o.LFG(t._M))},Qr.\u0275prov=o.Yz7({token:Qr,factory:Qr.\u0275fac,providedIn:"root"});const Wc=t.Ps` - query ContributorAvatars($subscribable: SubscribableInput!) { - contributors(subscribable: $subscribable) { - editors { - ...ContributorFields - } - curators { - ...ContributorFields - } - } -} - ${vt}`;class lr extends t.AE{constructor(G){super(G),this.document=Wc}}lr.\u0275fac=function(G){return new(G||lr)(o.LFG(t._M))},lr.\u0275prov=o.Yz7({token:lr,factory:lr.\u0275fac,providedIn:"root"});const yr=t.Ps` - query SubscriptionForEntity($subscribable: SubscribableInput!) { - subscriptionForEntity(subscribable: $subscribable) { - ...subscriptionId - } -} - ${qt}`;class Nr extends t.AE{constructor(G){super(G),this.document=yr}}Nr.\u0275fac=function(G){return new(G||Nr)(o.LFG(t._M))},Nr.\u0275prov=o.Yz7({token:Nr,factory:Nr.\u0275fac,providedIn:"root"});const Cs=t.Ps` - mutation ModerateEvidenceItem($input: ModerateEvidenceItemInput!) { - moderateEvidenceItem(input: $input) { - evidenceItem { - id - } - } -} - `;class Lr extends t.mm{constructor(G){super(G),this.document=Cs}}Lr.\u0275fac=function(G){return new(G||Lr)(o.LFG(t._M))},Lr.\u0275prov=o.Yz7({token:Lr,factory:Lr.\u0275fac,providedIn:"root"});const Zs=t.Ps` - mutation ModerateAssertion($input: ModerateAssertionInput!) { - moderateAssertion(input: $input) { - assertion { - id - } - } -} - `;class Cr extends t.mm{constructor(G){super(G),this.document=Zs}}Cr.\u0275fac=function(G){return new(G||Cr)(o.LFG(t._M))},Cr.\u0275prov=o.Yz7({token:Cr,factory:Cr.\u0275fac,providedIn:"root"});const lc=t.Ps` - query CivicStats { - timepointStats { - assertions { - ...TimepointCount - } - diseases { - ...TimepointCount - } - therapies { - ...TimepointCount - } - evidenceItems { - ...TimepointCount - } - genes { - ...TimepointCount - } - revisions { - ...TimepointCount - } - sources { - ...TimepointCount - } - users { - ...TimepointCount - } - variants { - ...TimepointCount - } - comments { - ...TimepointCount - } - molecularProfiles { - ...TimepointCount - } - } -} - ${Ct}`;class rs extends t.AE{constructor(G){super(G),this.document=lc}}rs.\u0275fac=function(G){return new(G||rs)(o.LFG(t._M))},rs.\u0275prov=o.Yz7({token:rs,factory:rs.\u0275fac,providedIn:"root"});const ss=t.Ps` - query BrowseSourceSuggestions($first: Int, $last: Int, $before: String, $after: String, $sortBy: SourceSuggestionsSort, $sourceType: SourceSource, $citationId: Int, $sourceId: Int, $molecularProfileName: String, $diseaseName: String, $comment: String, $submitter: String, $citation: String, $submitterId: Int, $status: SourceSuggestionStatus) { - sourceSuggestions( - first: $first - last: $last - before: $before - after: $after - sortBy: $sortBy - sourceType: $sourceType - citationId: $citationId - sourceId: $sourceId - molecularProfileName: $molecularProfileName - diseaseName: $diseaseName - comment: $comment - submitter: $submitter - citation: $citation - submitterId: $submitterId - status: $status - ) { - pageInfo { - endCursor - hasNextPage - startCursor - hasPreviousPage - } - totalCount - filteredCount - pageCount - edges { - cursor - node { - ...BrowseSourceSuggestionRowFields - } - } - } -} - ${tn}`;class zs extends t.AE{constructor(G){super(G),this.document=ss}}zs.\u0275fac=function(G){return new(G||zs)(o.LFG(t._M))},zs.\u0275prov=o.Yz7({token:zs,factory:zs.\u0275fac,providedIn:"root"});const uc=t.Ps` - mutation UpdateSourceSuggestionStatus($input: UpdateSourceSuggestionStatusInput!) { - updateSourceSuggestionStatus(input: $input) { - sourceSuggestion { - id - status - } - } -} - `;class ki extends t.mm{constructor(G){super(G),this.document=uc}}ki.\u0275fac=function(G){return new(G||ki)(o.LFG(t._M))},ki.\u0275prov=o.Yz7({token:ki,factory:ki.\u0275fac,providedIn:"root"});const as=t.Ps` - query SourcePopover($sourceId: Int!) { - sourcePopover(id: $sourceId) { - ...sourcePopover - } -} - ${je}`;class zr extends t.AE{constructor(G){super(G),this.document=as}}zr.\u0275fac=function(G){return new(G||zr)(o.LFG(t._M))},zr.\u0275prov=o.Yz7({token:zr,factory:zr.\u0275fac,providedIn:"root"});const Ui=t.Ps` - query BrowseSources($first: Int, $last: Int, $before: String, $after: String, $sortBy: SourcesSort, $name: String, $year: Int, $sourceType: SourceSource, $citationId: Int, $author: String, $journal: String, $clinicalTrialId: Int, $openAccess: Boolean) { - browseSources( - first: $first - last: $last - before: $before - after: $after - sortBy: $sortBy - name: $name - year: $year - sourceType: $sourceType - citationId: $citationId - author: $author - journal: $journal - clinicalTrialId: $clinicalTrialId - openAccess: $openAccess - ) { - pageInfo { - endCursor - hasNextPage - startCursor - hasPreviousPage - } - totalCount - filteredCount - pageCount - edges { - cursor - node { - ...BrowseSourceRowFields - } - } - } -} - ${Qe}`;class er extends t.AE{constructor(G){super(G),this.document=Ui}}er.\u0275fac=function(G){return new(G||er)(o.LFG(t._M))},er.\u0275prov=o.Yz7({token:er,factory:er.\u0275fac,providedIn:"root"});const ci=t.Ps` - query TherapyPopover($therapyId: Int!) { - therapyPopover(id: $therapyId) { - id - name - therapyUrl - ncitId - therapyAliases - assertionCount - evidenceItemCount - molecularProfileCount - link - } -} - `;class kr extends t.AE{constructor(G){super(G),this.document=ci}}kr.\u0275fac=function(G){return new(G||kr)(o.LFG(t._M))},kr.\u0275prov=o.Yz7({token:kr,factory:kr.\u0275fac,providedIn:"root"});const dc=t.Ps` - query TherapiesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $ncitId: String, $sortBy: TherapySort) { - therapies( - first: $first - last: $last - before: $before - after: $after - name: $name - ncitId: $ncitId - sortBy: $sortBy - ) { - totalCount - filteredCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...TherapyBrowseTableRowFields - } - } - } -} - ${ft}`;class ha extends t.AE{constructor(G){super(G),this.document=dc}}ha.\u0275fac=function(G){return new(G||ha)(o.LFG(t._M))},ha.\u0275prov=o.Yz7({token:ha,factory:ha.\u0275fac,providedIn:"root"});const Pa=t.Ps` - query UserPopover($userId: Int!) { - user(id: $userId) { - ...popoverUser - } -} - ${Re}`;class fa extends t.AE{constructor(G){super(G),this.document=Pa}}fa.\u0275fac=function(G){return new(G||fa)(o.LFG(t._M))},fa.\u0275prov=o.Yz7({token:fa,factory:fa.\u0275fac,providedIn:"root"});const ne=t.Ps` - query UsersBrowse($first: Int, $last: Int, $before: String, $after: String, $userName: String, $orgName: OrganizationFilter, $userRole: UserRole, $sortBy: UsersSort) { - users( - first: $first - last: $last - before: $before - after: $after - name: $userName - organization: $orgName - role: $userRole - sortBy: $sortBy - ) { - pageInfo { - endCursor - hasNextPage - hasPreviousPage - startCursor - } - totalCount - edges { - cursor - node { - ...UserBrowseTableRowFields - } - } - } -} - ${He}`;class Ve extends t.AE{constructor(G){super(G),this.document=ne}}Ve.\u0275fac=function(G){return new(G||Ve)(o.LFG(t._M))},Ve.\u0275prov=o.Yz7({token:Ve,factory:Ve.\u0275fac,providedIn:"root"});const le=t.Ps` - query VariantGroupPopover($variantGroupId: Int!) { - variantGroup(id: $variantGroupId) { - ...variantGroupPopoverFields - } -} - ${Ie}`;class Ke extends t.AE{constructor(G){super(G),this.document=le}}Ke.\u0275fac=function(G){return new(G||Ke)(o.LFG(t._M))},Ke.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"});const Pt=t.Ps` - query BrowseVariantGroups($first: Int, $last: Int, $before: String, $after: String, $sortBy: VariantGroupsSort, $name: String, $geneNames: String, $variantNames: String) { - browseVariantGroups( - first: $first - last: $last - before: $before - after: $after - sortBy: $sortBy - name: $name - geneNames: $geneNames - variantNames: $variantNames - ) { - pageInfo { - endCursor - hasNextPage - startCursor - hasPreviousPage - } - totalCount - filteredCount - pageCount - edges { - cursor - node { - ...BrowseVariantGroupRowFields - } - } - } -} - ${he}`;class ln extends t.AE{constructor(G){super(G),this.document=Pt}}ln.\u0275fac=function(G){return new(G||ln)(o.LFG(t._M))},ln.\u0275prov=o.Yz7({token:ln,factory:ln.\u0275fac,providedIn:"root"});const yn=t.Ps` - query VariantTypePopover($variantTypeId: Int!) { - variantTypePopover(id: $variantTypeId) { - ...variantTypePopover - } -} - ${we}`;class Qn extends t.AE{constructor(G){super(G),this.document=yn}}Qn.\u0275fac=function(G){return new(G||Qn)(o.LFG(t._M))},Qn.\u0275prov=o.Yz7({token:Qn,factory:Qn.\u0275fac,providedIn:"root"});const Ao=t.Ps` - query VariantTypesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $soid: String, $sortBy: VariantTypeSort) { - variantTypes( - first: $first - last: $last - before: $before - after: $after - name: $name - soid: $soid - sortBy: $sortBy - ) { - totalCount - filteredCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...VariantTypeBrowseTableRowFields - } - } - } -} - ${ce}`;class Fo extends t.AE{constructor(G){super(G),this.document=Ao}}Fo.\u0275fac=function(G){return new(G||Fo)(o.LFG(t._M))},Fo.\u0275prov=o.Yz7({token:Fo,factory:Fo.\u0275fac,providedIn:"root"});const Xo=t.Ps` - query CoordinatesCard($variantId: Int!) { - variant(id: $variantId) { - ...CoordinatesCardFields - } -} - ${nt}`;class go extends t.AE{constructor(G){super(G),this.document=Xo}}go.\u0275fac=function(G){return new(G||go)(o.LFG(t._M))},go.\u0275prov=o.Yz7({token:go,factory:go.\u0275fac,providedIn:"root"});const mi=t.Ps` - query VariantPopover($variantId: Int!) { - variant(id: $variantId) { - ...variantPopoverFields - } -} - ${be}`;class Ho extends t.AE{constructor(G){super(G),this.document=mi}}Ho.\u0275fac=function(G){return new(G||Ho)(o.LFG(t._M))},Ho.\u0275prov=o.Yz7({token:Ho,factory:Ho.\u0275fac,providedIn:"root"});const yi=t.Ps` - query VariantsMenu($geneId: Int, $variantName: String, $variantTypeIds: [Int!], $hasNoVariantType: Boolean, $first: Int, $last: Int, $before: String, $after: String, $sortBy: VariantMenuSort) { - variants( - geneId: $geneId - name: $variantName - variantTypeIds: $variantTypeIds - hasNoVariantType: $hasNoVariantType - first: $first - last: $last - before: $before - after: $after - sortBy: $sortBy - ) { - totalCount - pageInfo { - startCursor - endCursor - hasPreviousPage - hasNextPage - } - edges { - cursor - node { - ...menuVariant - } - } - } -} - ${Zt}`;class vi extends t.AE{constructor(G){super(G),this.document=yi}}vi.\u0275fac=function(G){return new(G||vi)(o.LFG(t._M))},vi.\u0275prov=o.Yz7({token:vi,factory:vi.\u0275fac,providedIn:"root"});const ji=t.Ps` - query VariantTypesForGene($geneId: Int) { - variantTypes(geneId: $geneId, first: 50) { - edges { - node { - ...menuVariantType - } - } - } -} - ${rt}`;class Ri extends t.AE{constructor(G){super(G),this.document=ji}}Ri.\u0275fac=function(G){return new(G||Ri)(o.LFG(t._M))},Ri.\u0275prov=o.Yz7({token:Ri,factory:Ri.\u0275fac,providedIn:"root"});const Tr=t.Ps` - query BrowseVariants($variantName: String, $entrezSymbol: String, $diseaseName: String, $therapyName: String, $variantAlias: String, $variantTypeId: Int, $variantGroupId: Int, $variantTypeName: String, $hasNoVariantType: Boolean, $sortBy: VariantsSort, $first: Int, $last: Int, $before: String, $after: String) { - browseVariants( - variantName: $variantName - entrezSymbol: $entrezSymbol - diseaseName: $diseaseName - therapyName: $therapyName - variantAlias: $variantAlias - variantTypeId: $variantTypeId - variantGroupId: $variantGroupId - variantTypeName: $variantTypeName - hasNoVariantType: $hasNoVariantType - sortBy: $sortBy - first: $first - last: $last - before: $before - after: $after - ) { - pageInfo { - endCursor - hasNextPage - startCursor - hasPreviousPage - } - edges { - cursor - node { - ...BrowseVariantsFields - } - } - totalCount - filteredCount - pageCount - } -} - ${nn}`;class tr extends t.AE{constructor(G){super(G),this.document=Tr}}tr.\u0275fac=function(G){return new(G||tr)(o.LFG(t._M))},tr.\u0275prov=o.Yz7({token:tr,factory:tr.\u0275fac,providedIn:"root"});const ur=t.Ps` - query ViewerBase { - viewer { - id - username - role - displayName - profileImagePath(size: 32) - organizations { - id - name - profileImagePath(size: 32) - } - mostRecentConflictOfInterestStatement { - coiStatus - } - mostRecentOrganizationId - } -} - `;class Mr extends t.AE{constructor(G){super(G),this.document=ur}}Mr.\u0275fac=function(G){return new(G||Mr)(o.LFG(t._M))},Mr.\u0275prov=o.Yz7({token:Mr,factory:Mr.\u0275fac,providedIn:"root"});const pc=t.Ps` - query ViewerNotificationCount { - notifications { - unreadCount - } -} - `;class Ts extends t.AE{constructor(G){super(G),this.document=pc}}Ts.\u0275fac=function(G){return new(G||Ts)(o.LFG(t._M))},Ts.\u0275prov=o.Yz7({token:Ts,factory:Ts.\u0275fac,providedIn:"root"});const wu=t.Ps` - query AssertionRevisableFields($assertionId: Int!) { - assertion(id: $assertionId) { - ...RevisableAssertionFields - } -} - ${Sn}`;class Ms extends t.AE{constructor(G){super(G),this.document=wu}}Ms.\u0275fac=function(G){return new(G||Ms)(o.LFG(t._M))},Ms.\u0275prov=o.Yz7({token:Ms,factory:Ms.\u0275fac,providedIn:"root"});const Zc=t.Ps` - mutation SuggestAssertionRevision($input: SuggestAssertionRevisionInput!) { - suggestAssertionRevision(input: $input) { - clientMutationId - assertion { - id - } - results { - newlyCreated - } - } -} - `;class bs extends t.mm{constructor(G){super(G),this.document=Zc}}bs.\u0275fac=function(G){return new(G||bs)(o.LFG(t._M))},bs.\u0275prov=o.Yz7({token:bs,factory:bs.\u0275fac,providedIn:"root"});const Es=t.Ps` - mutation SubmitAssertion($input: SubmitAssertionInput!) { - submitAssertion(input: $input) { - clientMutationId - assertion { - id - } - } -} - `;class Ss extends t.mm{constructor(G){super(G),this.document=Es}}Ss.\u0275fac=function(G){return new(G||Ss)(o.LFG(t._M))},Ss.\u0275prov=o.Yz7({token:Ss,factory:Ss.\u0275fac,providedIn:"root"});const Jc=t.Ps` - mutation AddComment($input: AddCommentInput!) { - addComment(input: $input) { - clientMutationId - comment { - ...commentListNode - } - } -} - ${ho}`;class cs extends t.mm{constructor(G){super(G),this.document=Jc}}cs.\u0275fac=function(G){return new(G||cs)(o.LFG(t._M))},cs.\u0275prov=o.Yz7({token:cs,factory:cs.\u0275fac,providedIn:"root"});const nr=t.Ps` - query previewComment($commentText: String!) { - previewCommentText(commentText: $commentText) { - ...previewComment - } -} - ${jn}`;class ma extends t.AE{constructor(G){super(G),this.document=nr}}ma.\u0275fac=function(G){return new(G||ma)(o.LFG(t._M))},ma.\u0275prov=o.Yz7({token:ma,factory:ma.\u0275fac,providedIn:"root"});const Rr=t.Ps` - query userTypeahead($queryTerm: String!) { - userTypeahead(queryTerm: $queryTerm) { - username - } -} - `;class dr extends t.AE{constructor(G){super(G),this.document=Rr}}dr.\u0275fac=function(G){return new(G||dr)(o.LFG(t._M))},dr.\u0275prov=o.Yz7({token:dr,factory:dr.\u0275fac,providedIn:"root"});const or=t.Ps` - query entityTypeahead($queryTerm: String!) { - entityTypeahead(queryTerm: $queryTerm) { - entityId - tagType - displayName - } -} - `;class ir extends t.AE{constructor(G){super(G),this.document=or}}ir.\u0275fac=function(G){return new(G||ir)(o.LFG(t._M))},ir.\u0275prov=o.Yz7({token:ir,factory:ir.\u0275fac,providedIn:"root"});const Ia=t.Ps` - query previewMolecularProfileName($mpStructure: MolecularProfileComponentInput) { - previewMolecularProfileName(structure: $mpStructure) { - existingMolecularProfile { - id - name - link - } - segments { - ...previewMpName - } - deprecatedVariants { - id - name - link - } - } -} - ${Un}`;class xs extends t.AE{constructor(G){super(G),this.document=Ia}}xs.\u0275fac=function(G){return new(G||xs)(o.LFG(t._M))},xs.\u0275prov=o.Yz7({token:xs,factory:xs.\u0275fac,providedIn:"root"});const Kc=t.Ps` - mutation createMolecularProfile($mpStructure: MolecularProfileComponentInput!) { - createMolecularProfile(input: {structure: $mpStructure}) { - molecularProfile { - id - name - link - } - } -} - `;class ls extends t.mm{constructor(G){super(G),this.document=Kc}}ls.\u0275fac=function(G){return new(G||ls)(o.LFG(t._M))},ls.\u0275prov=o.Yz7({token:ls,factory:ls.\u0275fac,providedIn:"root"});const Pu=t.Ps` - query AcmgCodeTypeahead($code: String!) { - acmgCodesTypeahead(queryTerm: $code) { - id - code - description - name - tooltip - } -} - `;class Aa extends t.AE{constructor(G){super(G),this.document=Pu}}Aa.\u0275fac=function(G){return new(G||Aa)(o.LFG(t._M))},Aa.\u0275prov=o.Yz7({token:Aa,factory:Aa.\u0275fac,providedIn:"root"});const Iu=t.Ps` - query ClingenCodeTypeahead($code: String!) { - clingenCodesTypeahead(queryTerm: $code) { - id - code - description - name - tooltip - exclusive - } -} - `;class Ds extends t.AE{constructor(G){super(G),this.document=Iu}}Ds.\u0275fac=function(G){return new(G||Ds)(o.LFG(t._M))},Ds.\u0275prov=o.Yz7({token:Ds,factory:Ds.\u0275fac,providedIn:"root"});const rr=t.Ps` - query DiseaseTypeahead($name: String!) { - diseaseTypeahead(queryTerm: $name) { - id - name - displayName - doid - diseaseAliases - } -} - `;class Os extends t.AE{constructor(G){super(G),this.document=rr}}Os.\u0275fac=function(G){return new(G||Os)(o.LFG(t._M))},Os.\u0275prov=o.Yz7({token:Os,factory:Os.\u0275fac,providedIn:"root"});const Fa=t.Ps` - mutation AddDisease($name: String!, $doid: String) { - addDisease(input: {name: $name, doid: $doid}) { - ...AddDiseaseFields - } -} - ${$n}`;class ga extends t.mm{constructor(G){super(G),this.document=Fa}}ga.\u0275fac=function(G){return new(G||ga)(o.LFG(t._M))},ga.\u0275prov=o.Yz7({token:ga,factory:ga.\u0275fac,providedIn:"root"});const br=t.Ps` - query EvidenceTypeahead($id: Int!) { - evidenceItem(id: $id) { - id - status - name - } -} - `;class ws extends t.AE{constructor(G){super(G),this.document=br}}ws.\u0275fac=function(G){return new(G||ws)(o.LFG(t._M))},ws.\u0275prov=o.Yz7({token:ws,factory:ws.\u0275fac,providedIn:"root"});const _l=t.Ps` - query GeneTypeahead($entrezSymbol: String!) { - geneTypeahead(queryTerm: $entrezSymbol) { - ...GeneTypeaheadFields - } -} - ${Yn}`;class Na extends t.AE{constructor(G){super(G),this.document=_l}}Na.\u0275fac=function(G){return new(G||Na)(o.LFG(t._M))},Na.\u0275prov=o.Yz7({token:Na,factory:Na.\u0275fac,providedIn:"root"});const y1=t.Ps` - query NccnGuidelineTypeahead($name: String!) { - nccnGuidelinesTypeahead(queryTerm: $name) { - id - name - } -} - `;class Wr extends t.AE{constructor(G){super(G),this.document=y1}}Wr.\u0275fac=function(G){return new(G||Wr)(o.LFG(t._M))},Wr.\u0275prov=o.Yz7({token:Wr,factory:Wr.\u0275fac,providedIn:"root"});const qc=t.Ps` - query PhenotypeTypeahead($name: String!) { - phenotypeTypeahead(queryTerm: $name) { - hpoId - id - name - } -} - `;class Vi extends t.AE{constructor(G){super(G),this.document=qc}}Vi.\u0275fac=function(G){return new(G||Vi)(o.LFG(t._M))},Vi.\u0275prov=o.Yz7({token:Vi,factory:Vi.\u0275fac,providedIn:"root"});const La=t.Ps` - query CitationExistenceCheck($sourceType: SourceSource!, $citationId: String!) { - remoteCitation(sourceType: $sourceType, citationId: $citationId) -} - `;class us extends t.AE{constructor(G){super(G),this.document=La}}us.\u0275fac=function(G){return new(G||us)(o.LFG(t._M))},us.\u0275prov=o.Yz7({token:us,factory:us.\u0275fac,providedIn:"root"});const yl=t.Ps` - mutation CreateSourceStub($input: AddRemoteCitationInput!) { - addRemoteCitation(input: $input) { - newSource { - id - citationId - sourceType - } - } -} - `;class Js extends t.mm{constructor(G){super(G),this.document=yl}}Js.\u0275fac=function(G){return new(G||Js)(o.LFG(t._M))},Js.\u0275prov=o.Yz7({token:Js,factory:Js.\u0275fac,providedIn:"root"});const ka=t.Ps` - query CitationTypeahead($partialCitationId: String!, $sourceType: SourceSource!) { - sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) { - ...SourceTypeaheadResult - } -} - ${co}`;class Xc extends t.AE{constructor(G){super(G),this.document=ka}}Xc.\u0275fac=function(G){return new(G||Xc)(o.LFG(t._M))},Xc.\u0275prov=o.Yz7({token:Xc,factory:Xc.\u0275fac,providedIn:"root"});const C1=t.Ps` - query CheckRemoteCitation($sourceType: SourceSource!, $citationId: String!) { - remoteCitation(sourceType: $sourceType, citationId: $citationId) -} - `;class No extends t.AE{constructor(G){super(G),this.document=C1}}No.\u0275fac=function(G){return new(G||No)(o.LFG(t._M))},No.\u0275prov=o.Yz7({token:No,factory:No.\u0275fac,providedIn:"root"});const zd=t.Ps` - mutation AddRemoteCitation($input: AddRemoteCitationInput!) { - addRemoteCitation(input: $input) { - newSource { - ...SourceStubFields - } - } -} - ${Wo}`;class ds extends t.mm{constructor(G){super(G),this.document=zd}}ds.\u0275fac=function(G){return new(G||ds)(o.LFG(t._M))},ds.\u0275prov=o.Yz7({token:ds,factory:ds.\u0275fac,providedIn:"root"});const z1=t.Ps` - query SourceTypeahead($partialCitationId: String!, $sourceType: SourceSource!) { - sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) { - ...SourceTypeaheadResult - } -} - ${co}`;class Ps extends t.AE{constructor(G){super(G),this.document=z1}}Ps.\u0275fac=function(G){return new(G||Ps)(o.LFG(t._M))},Ps.\u0275prov=o.Yz7({token:Ps,factory:Ps.\u0275fac,providedIn:"root"});const Cl=t.Ps` - query TherapyTypeahead($name: String!) { - therapyTypeahead(queryTerm: $name) { - id - name - ncitId - therapyAliases - } -} - `;class Is extends t.AE{constructor(G){super(G),this.document=Cl}}Is.\u0275fac=function(G){return new(G||Is)(o.LFG(t._M))},Is.\u0275prov=o.Yz7({token:Is,factory:Is.\u0275fac,providedIn:"root"});const sr=t.Ps` - mutation AddTherapy($name: String!, $ncitId: String) { - addTherapy(input: {name: $name, ncitId: $ncitId}) { - ...AddTherapyFields - } -} - ${po}`;class Zr extends t.mm{constructor(G){super(G),this.document=sr}}Zr.\u0275fac=function(G){return new(G||Zr)(o.LFG(t._M))},Zr.\u0275prov=o.Yz7({token:Zr,factory:Zr.\u0275fac,providedIn:"root"});const As=t.Ps` - query VariantTypeahead($name: String!, $geneId: Int) { - variants(name: $name, geneId: $geneId, first: 20) { - nodes { - ...VariantTypeaheadFields - } - } -} - ${Go}`;class va extends t.AE{constructor(G){super(G),this.document=As}}va.\u0275fac=function(G){return new(G||va)(o.LFG(t._M))},va.\u0275prov=o.Yz7({token:va,factory:va.\u0275fac,providedIn:"root"});const Ci=t.Ps` - mutation AddVariant($name: String!, $geneId: Int!) { - addVariant(input: {name: $name, geneId: $geneId}) { - ...AddVariantFields - } -} - ${Po}`;class Fs extends t.mm{constructor(G){super(G),this.document=Ci}}Fs.\u0275fac=function(G){return new(G||Fs)(o.LFG(t._M))},Fs.\u0275prov=o.Yz7({token:Fs,factory:Fs.\u0275fac,providedIn:"root"});const Ra=t.Ps` - query VariantSelect($name: String!, $geneId: Int) { - variants(name: $name, first: 20, geneId: $geneId) { - nodes { - ...VariantTypeaheadFields - } - } -} - ${Go}`;class A extends t.AE{constructor(G){super(G),this.document=Ra}}A.\u0275fac=function(G){return new(G||A)(o.LFG(t._M))},A.\u0275prov=o.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"});const B=t.Ps` - query VariantTypeTypeahead($name: String!) { - variantTypeTypeahead(queryTerm: $name) { - name - soid - id - } -} - `;class b extends t.AE{constructor(G){super(G),this.document=B}}b.\u0275fac=function(G){return new(G||b)(o.LFG(t._M))},b.\u0275prov=o.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"});const re=t.Ps` - query EvidenceItemRevisableFields($evidenceId: Int!) { - evidenceItem(id: $evidenceId) { - ...RevisableEvidenceFields - } -} - ${ni}`;class De extends t.AE{constructor(G){super(G),this.document=re}}De.\u0275fac=function(G){return new(G||De)(o.LFG(t._M))},De.\u0275prov=o.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"});const tt=t.Ps` - mutation SuggestEvidenceItemRevision($input: SuggestEvidenceItemRevisionInput!) { - suggestEvidenceItemRevision(input: $input) { - clientMutationId - evidenceItem { - id - } - results { - newlyCreated - } - } -} - `;class at extends t.mm{constructor(G){super(G),this.document=tt}}at.\u0275fac=function(G){return new(G||at)(o.LFG(t._M))},at.\u0275prov=o.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"});const Kt=t.Ps` - query EvidenceFieldsFromSourceSuggestion($sourceId: Int, $molecularProfileId: Int, $diseaseId: Int) { - sourceSuggestionValues( - molecularProfileId: $molecularProfileId - diseaseId: $diseaseId - sourceId: $sourceId - ) { - molecularProfile { - id - name - link - } - disease { - id - name - link - } - source { - id - sourceType - citationId - citation - link - } - } -} - `;class vn extends t.AE{constructor(G){super(G),this.document=Kt}}vn.\u0275fac=function(G){return new(G||vn)(o.LFG(t._M))},vn.\u0275prov=o.Yz7({token:vn,factory:vn.\u0275fac,providedIn:"root"});const qn=t.Ps` - query EvidenceSubmittableFields($evidenceId: Int!) { - evidenceItem(id: $evidenceId) { - ...SubmittableEvidenceFields - } -} - ${To}`;class Bn extends t.AE{constructor(G){super(G),this.document=qn}}Bn.\u0275fac=function(G){return new(G||Bn)(o.LFG(t._M))},Bn.\u0275prov=o.Yz7({token:Bn,factory:Bn.\u0275fac,providedIn:"root"});const Yo=t.Ps` - mutation SubmitEvidenceItem($input: SubmitEvidenceItemInput!) { - submitEvidence(input: $input) { - clientMutationId - evidenceItem { - id - } - } -} - `;class ti extends t.mm{constructor(G){super(G),this.document=Yo}}ti.\u0275fac=function(G){return new(G||ti)(o.LFG(t._M))},ti.\u0275prov=o.Yz7({token:ti,factory:ti.\u0275fac,providedIn:"root"});const Er=t.Ps` - mutation FlagEntity($input: FlagEntityInput!) { - flagEntity(input: $input) { - flag { - id - } - } -} - `;class Ii extends t.mm{constructor(G){super(G),this.document=Er}}Ii.\u0275fac=function(G){return new(G||Ii)(o.LFG(t._M))},Ii.\u0275prov=o.Yz7({token:Ii,factory:Ii.\u0275fac,providedIn:"root"});const Vr=t.Ps` - mutation ResolveFlag($input: ResolveFlagInput!) { - resolveFlag(input: $input) { - flag { - id - } - } -} - `;class Gi extends t.mm{constructor(G){super(G),this.document=Vr}}Gi.\u0275fac=function(G){return new(G||Gi)(o.LFG(t._M))},Gi.\u0275prov=o.Yz7({token:Gi,factory:Gi.\u0275fac,providedIn:"root"});const Yl=t.Ps` - query GeneRevisableFields($geneId: Int!) { - gene(id: $geneId) { - ...RevisableGeneFields - } -} - ${Do}`;class Ks extends t.AE{constructor(G){super(G),this.document=Yl}}Ks.\u0275fac=function(G){return new(G||Ks)(o.LFG(t._M))},Ks.\u0275prov=o.Yz7({token:Ks,factory:Ks.\u0275fac,providedIn:"root"});const $l=t.Ps` - mutation SuggestGeneRevision($input: SuggestGeneRevisionInput!) { - suggestGeneRevision(input: $input) { - clientMutationId - results { - newlyCreated - id - fieldName - } - } -} - `;class el extends t.mm{constructor(G){super(G),this.document=$l}}el.\u0275fac=function(G){return new(G||el)(o.LFG(t._M))},el.\u0275prov=o.Yz7({token:el,factory:el.\u0275fac,providedIn:"root"});const Au=t.Ps` - query MolecularProfileRevisableFields($molecularProfileId: Int!) { - molecularProfile(id: $molecularProfileId) { - ...RevisableMolecularProfileFields - } -} - ${bn}`;class _a extends t.AE{constructor(G){super(G),this.document=Au}}_a.\u0275fac=function(G){return new(G||_a)(o.LFG(t._M))},_a.\u0275prov=o.Yz7({token:_a,factory:_a.\u0275fac,providedIn:"root"});const ya=t.Ps` - mutation SuggestMolecularProfileRevision($input: SuggestMolecularProfileRevisionInput!) { - suggestMolecularProfileRevision(input: $input) { - clientMutationId - molecularProfile { - id - } - results { - newlyCreated - id - fieldName - } - } -} - `;class Ns extends t.mm{constructor(G){super(G),this.document=ya}}Ns.\u0275fac=function(G){return new(G||Ns)(o.LFG(t._M))},Ns.\u0275prov=o.Yz7({token:Ns,factory:Ns.\u0275fac,providedIn:"root"});const qs=t.Ps` - mutation SuggestSource($input: SuggestSourceInput!) { - suggestSource(input: $input) { - clientMutationId - sourceSuggestion { - id - } - } -} - `;class Ls extends t.mm{constructor(G){super(G),this.document=qs}}Ls.\u0275fac=function(G){return new(G||Ls)(o.LFG(t._M))},Ls.\u0275prov=o.Yz7({token:Ls,factory:Ls.\u0275fac,providedIn:"root"});const T1=t.Ps` - mutation UpdateSourceSuggestion($input: UpdateSourceSuggestionStatusInput!) { - updateSourceSuggestionStatus(input: $input) { - sourceSuggestion { - id - status - } - } -} - `;class ks extends t.mm{constructor(G){super(G),this.document=T1}}ks.\u0275fac=function(G){return new(G||ks)(o.LFG(t._M))},ks.\u0275prov=o.Yz7({token:ks,factory:ks.\u0275fac,providedIn:"root"});const hc=t.Ps` - mutation UpdateCoi($input: UpdateCoiInput!) { - updateCoi(input: $input) { - coiStatement { - coiPresent - coiStatus - createdAt - id - } - } -} - `;class Xs extends t.mm{constructor(G){super(G),this.document=hc}}Xs.\u0275fac=function(G){return new(G||Xs)(o.LFG(t._M))},Xs.\u0275prov=o.Yz7({token:Xs,factory:Xs.\u0275fac,providedIn:"root"});const fc=t.Ps` - mutation UpdateUserProfile($input: EditUserInput!) { - editUser(input: $input) { - user { - id - } - } -} - `;class mc extends t.mm{constructor(G){super(G),this.document=fc}}mc.\u0275fac=function(G){return new(G||mc)(o.LFG(t._M))},mc.\u0275prov=o.Yz7({token:mc,factory:mc.\u0275fac,providedIn:"root"});const Td=t.Ps` - query Countries { - countries { - id - name - } -} - `;class Rs extends t.AE{constructor(G){super(G),this.document=Td}}Rs.\u0275fac=function(G){return new(G||Rs)(o.LFG(t._M))},Rs.\u0275prov=o.Yz7({token:Rs,factory:Rs.\u0275fac,providedIn:"root"});const tl=t.Ps` - mutation DeprecateVariant($variantId: Int!, $deprecationReason: DeprecationReason!, $comment: String!, $organizationId: Int) { - deprecateVariant( - input: {variantId: $variantId, deprecationReason: $deprecationReason, comment: $comment, organizationId: $organizationId} - ) { - newlyDeprecatedMolecularProfiles { - id - } - variant { - id - name - } - } -} - `;class Va extends t.mm{constructor(G){super(G),this.document=tl}}Va.\u0275fac=function(G){return new(G||Va)(o.LFG(t._M))},Va.\u0275prov=o.Yz7({token:Va,factory:Va.\u0275fac,providedIn:"root"});const M1=t.Ps` - query MolecularProfilesForVariant($variantId: Int!) { - molecularProfiles(variantId: $variantId, first: 50) { - nodes { - id - name - link - evidenceCountsByStatus { - submittedCount - acceptedCount - } - } - } -} - `;class gc extends t.AE{constructor(G){super(G),this.document=M1}}gc.\u0275fac=function(G){return new(G||gc)(o.LFG(t._M))},gc.\u0275prov=o.Yz7({token:gc,factory:gc.\u0275fac,providedIn:"root"});const ap=t.Ps` - mutation SuggestVariantGroupRevision($input: SuggestVariantGroupRevisionInput!) { - suggestVariantGroupRevision(input: $input) { - clientMutationId - variantGroup { - id - } - results { - newlyCreated - id - fieldName - } - } -} - `;class Fu extends t.mm{constructor(G){super(G),this.document=ap}}Fu.\u0275fac=function(G){return new(G||Fu)(o.LFG(t._M))},Fu.\u0275prov=o.Yz7({token:Fu,factory:Fu.\u0275fac,providedIn:"root"});const Md=t.Ps` - query VariantGroupSubmittableFields($variantGroupId: Int!) { - variantGroup(id: $variantGroupId) { - ...SubmittableVariantGroupFields - } -} - ${Co}`;class Ca extends t.AE{constructor(G){super(G),this.document=Md}}Ca.\u0275fac=function(G){return new(G||Ca)(o.LFG(t._M))},Ca.\u0275prov=o.Yz7({token:Ca,factory:Ca.\u0275fac,providedIn:"root"});const bd=t.Ps` - mutation SubmitVariantGroup($input: SubmitVariantGroupInput!) { - submitVariantGroup(input: $input) { - clientMutationId - variantGroup { - id - } - } -} - `;class Br extends t.mm{constructor(G){super(G),this.document=bd}}Br.\u0275fac=function(G){return new(G||Br)(o.LFG(t._M))},Br.\u0275prov=o.Yz7({token:Br,factory:Br.\u0275fac,providedIn:"root"});const b1=t.Ps` - query LinkableGene($geneId: Int!) { - gene(id: $geneId) { - id - name - link - } -} - `;class Jr extends t.AE{constructor(G){super(G),this.document=b1}}Jr.\u0275fac=function(G){return new(G||Jr)(o.LFG(t._M))},Jr.\u0275prov=o.Yz7({token:Jr,factory:Jr.\u0275fac,providedIn:"root"});const Nu=t.Ps` - query LinkableVariant($variantId: Int!) { - variant(id: $variantId) { - id - name - link - } -} - `;class ea extends t.AE{constructor(G){super(G),this.document=Nu}}ea.\u0275fac=function(G){return new(G||ea)(o.LFG(t._M))},ea.\u0275prov=o.Yz7({token:ea,factory:ea.\u0275fac,providedIn:"root"});const Lu=t.Ps` - query LinkableTherapy($therapyId: Int!) { - therapy(id: $therapyId) { - id - name - link - } -} - `;class zl extends t.AE{constructor(G){super(G),this.document=Lu}}zl.\u0275fac=function(G){return new(G||zl)(o.LFG(t._M))},zl.\u0275prov=o.Yz7({token:zl,factory:zl.\u0275fac,providedIn:"root"});const E1=t.Ps` - query EvidenceItemRevisableFields2($evidenceId: Int!) { - evidenceItem(id: $evidenceId) { - ...RevisableEvidenceFields2 - } -} - ${pi}`;class vc extends t.AE{constructor(G){super(G),this.document=E1}}vc.\u0275fac=function(G){return new(G||vc)(o.LFG(t._M))},vc.\u0275prov=o.Yz7({token:vc,factory:vc.\u0275fac,providedIn:"root"});const Ul=t.Ps` - mutation SuggestEvidenceItemRevision2($input: SuggestEvidenceItemRevisionInput!) { - suggestEvidenceItemRevision(input: $input) { - clientMutationId - evidenceItem { - id - } - results { - newlyCreated - } - } -} - `;class nl extends t.mm{constructor(G){super(G),this.document=Ul}}nl.\u0275fac=function(G){return new(G||nl)(o.LFG(t._M))},nl.\u0275prov=o.Yz7({token:nl,factory:nl.\u0275fac,providedIn:"root"});const Tl=t.Ps` - query ExistingEvidenceCount($molecularProfileId: Int!, $sourceId: Int!) { - evidenceItems(molecularProfileId: $molecularProfileId, sourceId: $sourceId) { - totalCount - } -} - `;class za extends t.AE{constructor(G){super(G),this.document=Tl}}za.\u0275fac=function(G){return new(G||za)(o.LFG(t._M))},za.\u0275prov=o.Yz7({token:za,factory:za.\u0275fac,providedIn:"root"});const ol=t.Ps` - mutation SubmitSource($input: SuggestSourceInput!) { - suggestSource(input: $input) { - clientMutationId - sourceSuggestion { - id - } - } -} - `;class il extends t.mm{constructor(G){super(G),this.document=ol}}il.\u0275fac=function(G){return new(G||il)(o.LFG(t._M))},il.\u0275prov=o.Yz7({token:il,factory:il.\u0275fac,providedIn:"root"});const Ed=t.Ps` - query VariantRevisableFields($variantId: Int!) { - variant(id: $variantId) { - ...RevisableVariantFields - } -} - ${oo}`;class ta extends t.AE{constructor(G){super(G),this.document=Ed}}ta.\u0275fac=function(G){return new(G||ta)(o.LFG(t._M))},ta.\u0275prov=o.Yz7({token:ta,factory:ta.\u0275fac,providedIn:"root"});const Sd=t.Ps` - mutation SuggestVariantRevision($input: SuggestVariantRevisionInput!) { - suggestVariantRevision(input: $input) { - clientMutationId - variant { - id - } - results { - id - fieldName - newlyCreated - } - } -} - `;class ps extends t.mm{constructor(G){super(G),this.document=Sd}}ps.\u0275fac=function(G){return new(G||ps)(o.LFG(t._M))},ps.\u0275prov=o.Yz7({token:ps,factory:ps.\u0275fac,providedIn:"root"});const ku=t.Ps` - query VariantGroupRevisableFields2($variantGroupId: Int!) { - variantGroup(id: $variantGroupId) { - ...VariantGroupRevisableFields2 - } -} - ${Zi}`;class Ba extends t.AE{constructor(G){super(G),this.document=ku}}Ba.\u0275fac=function(G){return new(G||Ba)(o.LFG(t._M))},Ba.\u0275prov=o.Yz7({token:Ba,factory:Ba.\u0275fac,providedIn:"root"});const Ru=t.Ps` - mutation SuggestVariantGroupRevision2($input: SuggestVariantGroupRevisionInput!) { - suggestVariantGroupRevision(input: $input) { - clientMutationId - variantGroup { - id - } - results { - newlyCreated - id - fieldName - } - } -} - `;class Ha extends t.mm{constructor(G){super(G),this.document=Ru}}Ha.\u0275fac=function(G){return new(G||Ha)(o.LFG(t._M))},Ha.\u0275prov=o.Yz7({token:Ha,factory:Ha.\u0275fac,providedIn:"root"});const Vu=t.Ps` - query EntityTagsTest($molecularProfileId: Int!, $geneId: Int!, $variantId: Int!, $therapyId: Int!, $diseaseId: Int!, $eid: Int!) { - evidenceItem(id: $eid) { - id - name - link - } - molecularProfile(id: $molecularProfileId) { - id - name - link - } - gene(id: $geneId) { - id - name - link - } - variant(id: $variantId) { - id - name - link - } - therapy(id: $therapyId) { - id - name - link - } - disease(id: $diseaseId) { - id - name - link - } -} - `;class Qi extends t.AE{constructor(G){super(G),this.document=Vu}}Qi.\u0275fac=function(G){return new(G||Qi)(o.LFG(t._M))},Qi.\u0275prov=o.Yz7({token:Qi,factory:Qi.\u0275fac,providedIn:"root"});const S1=t.Ps` - query AcmgCodeSelectTypeahead($code: String!) { - acmgCodesTypeahead(queryTerm: $code) { - ...AcmgCodeSelectTypeaheadFields - } -} - ${Ji}`;class _c extends t.AE{constructor(G){super(G),this.document=S1}}_c.\u0275fac=function(G){return new(G||_c)(o.LFG(t._M))},_c.\u0275prov=o.Yz7({token:_c,factory:_c.\u0275fac,providedIn:"root"});const x1=t.Ps` - query AcmgCodeSelectTag($id: Int!) { - acmgCode(id: $id) { - ...AcmgCodeSelectTypeaheadFields - } -} - ${Ji}`;class Ya extends t.AE{constructor(G){super(G),this.document=x1}}Ya.\u0275fac=function(G){return new(G||Ya)(o.LFG(t._M))},Ya.\u0275prov=o.Yz7({token:Ya,factory:Ya.\u0275fac,providedIn:"root"});const Ml=t.Ps` - query ClingenCodeSelectTypeahead($code: String!) { - clingenCodesTypeahead(queryTerm: $code) { - ...ClingenCodeSelectTypeaheadFields - } -} - ${Ei}`;class yc extends t.AE{constructor(G){super(G),this.document=Ml}}yc.\u0275fac=function(G){return new(G||yc)(o.LFG(t._M))},yc.\u0275prov=o.Yz7({token:yc,factory:yc.\u0275fac,providedIn:"root"});const D1=t.Ps` - query ClingenCodeSelectTag($id: Int!) { - clingenCode(id: $id) { - ...ClingenCodeSelectTypeaheadFields - } -} - ${Ei}`;class Cc extends t.AE{constructor(G){super(G),this.document=D1}}Cc.\u0275fac=function(G){return new(G||Cc)(o.LFG(t._M))},Cc.\u0275prov=o.Yz7({token:Cc,factory:Cc.\u0275fac,providedIn:"root"});const Bu=t.Ps` - mutation QuickAddDisease($name: String!, $doid: String) { - addDisease(input: {name: $name, doid: $doid}) { - ...QuickAddDiseaseFields - } -} - ${jr}`;class zc extends t.mm{constructor(G){super(G),this.document=Bu}}zc.\u0275fac=function(G){return new(G||zc)(o.LFG(t._M))},zc.\u0275prov=o.Yz7({token:zc,factory:zc.\u0275fac,providedIn:"root"});const O1=t.Ps` - query DiseaseSelectTypeahead($name: String!) { - diseaseTypeahead(queryTerm: $name) { - ...DiseaseSelectTypeaheadFields - } -} - ${Ko}`;class Mi extends t.AE{constructor(G){super(G),this.document=O1}}Mi.\u0275fac=function(G){return new(G||Mi)(o.LFG(t._M))},Mi.\u0275prov=o.Yz7({token:Mi,factory:Mi.\u0275fac,providedIn:"root"});const jl=t.Ps` - query DiseaseSelectTag($id: Int!) { - disease(id: $id) { - ...DiseaseSelectTypeaheadFields - } -} - ${Ko}`;class Tc extends t.AE{constructor(G){super(G),this.document=jl}}Tc.\u0275fac=function(G){return new(G||Tc)(o.LFG(t._M))},Tc.\u0275prov=o.Yz7({token:Tc,factory:Tc.\u0275fac,providedIn:"root"});const Gl=t.Ps` - query EvidenceManager($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $therapyName: String, $id: Int, $description: String, $evidenceLevel: EvidenceLevel, $evidenceDirection: EvidenceDirection, $significance: EvidenceSignificance, $evidenceType: EvidenceType, $rating: Int, $variantOrigin: VariantOrigin, $variantId: Int, $molecularProfileId: Int, $assertionId: Int, $organizationId: Int, $userId: Int, $sortBy: EvidenceSort, $phenotypeId: Int, $diseaseId: Int, $therapyId: Int, $sourceId: Int, $clinicalTrialId: Int, $molecularProfileName: String, $status: EvidenceStatusFilter) { - evidenceItems( - first: $first - last: $last - before: $before - after: $after - diseaseName: $diseaseName - therapyName: $therapyName - id: $id - description: $description - evidenceLevel: $evidenceLevel - evidenceDirection: $evidenceDirection - significance: $significance - evidenceType: $evidenceType - evidenceRating: $rating - variantOrigin: $variantOrigin - variantId: $variantId - molecularProfileId: $molecularProfileId - assertionId: $assertionId - organizationId: $organizationId - userId: $userId - phenotypeId: $phenotypeId - diseaseId: $diseaseId - therapyId: $therapyId - sourceId: $sourceId - clinicalTrialId: $clinicalTrialId - molecularProfileName: $molecularProfileName - status: $status - sortBy: $sortBy - ) { - totalCount - pageCount - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...EvidenceManagerFields - } - } - nodes { - ...EvidenceManagerFields - } - } -} - ${qe}`;class li extends t.AE{constructor(G){super(G),this.document=Gl}}li.\u0275fac=function(G){return new(G||li)(o.LFG(t._M))},li.\u0275prov=o.Yz7({token:li,factory:li.\u0275fac,providedIn:"root"});const rl=t.Ps` - query EvidenceSelectTypeahead($eid: Int!) { - evidenceItems(id: $eid) { - nodes { - ...EvidenceSelectTypeaheadFields - } - } -} - ${se}`;class Kr extends t.AE{constructor(G){super(G),this.document=rl}}Kr.\u0275fac=function(G){return new(G||Kr)(o.LFG(t._M))},Kr.\u0275prov=o.Yz7({token:Kr,factory:Kr.\u0275fac,providedIn:"root"});const Ql=t.Ps` - query EvidenceSelectTag($eid: Int!) { - evidenceItem(id: $eid) { - ...EvidenceSelectTypeaheadFields - } -} - ${se}`;class Mc extends t.AE{constructor(G){super(G),this.document=Ql}}Mc.\u0275fac=function(G){return new(G||Mc)(o.LFG(t._M))},Mc.\u0275prov=o.Yz7({token:Mc,factory:Mc.\u0275fac,providedIn:"root"});const Hu=t.Ps` - query GeneSelectTypeahead($entrezSymbol: String!) { - geneTypeahead(queryTerm: $entrezSymbol) { - ...GeneSelectTypeaheadFields - } -} - ${Fe}`;class $a extends t.AE{constructor(G){super(G),this.document=Hu}}$a.\u0275fac=function(G){return new(G||$a)(o.LFG(t._M))},$a.\u0275prov=o.Yz7({token:$a,factory:$a.\u0275fac,providedIn:"root"});const Yu=t.Ps` - query GeneSelectTag($geneId: Int!) { - gene(id: $geneId) { - ...GeneSelectTypeaheadFields - } -} - ${Fe}`;class sl extends t.AE{constructor(G){super(G),this.document=Yu}}sl.\u0275fac=function(G){return new(G||sl)(o.LFG(t._M))},sl.\u0275prov=o.Yz7({token:sl,factory:sl.\u0275fac,providedIn:"root"});const $u=t.Ps` - query MolecularProfileSelectTypeahead($name: String!, $geneId: Int) { - molecularProfiles(name: $name, geneId: $geneId, first: 25) { - nodes { - ...MolecularProfileSelectTypeaheadFields - } - } -} - ${Ro}`;class bc extends t.AE{constructor(G){super(G),this.document=$u}}bc.\u0275fac=function(G){return new(G||bc)(o.LFG(t._M))},bc.\u0275prov=o.Yz7({token:bc,factory:bc.\u0275fac,providedIn:"root"});const w1=t.Ps` - query MolecularProfileSelectTag($molecularProfileId: Int!) { - molecularProfile(id: $molecularProfileId) { - ...MolecularProfileSelectTypeaheadFields - } -} - ${Ro}`;class Sr extends t.AE{constructor(G){super(G),this.document=w1}}Sr.\u0275fac=function(G){return new(G||Sr)(o.LFG(t._M))},Sr.\u0275prov=o.Yz7({token:Sr,factory:Sr.\u0275fac,providedIn:"root"});const Wl=t.Ps` - query PreviewMolecularProfileName2($mpStructure: MolecularProfileComponentInput) { - previewMolecularProfileName(structure: $mpStructure) { - existingMolecularProfile { - id - name - link - } - segments { - ...PreviewMpName2 - } - deprecatedVariants { - id - name - link - } - } -} - ${Ue}`;class Ec extends t.AE{constructor(G){super(G),this.document=Wl}}Ec.\u0275fac=function(G){return new(G||Ec)(o.LFG(t._M))},Ec.\u0275prov=o.Yz7({token:Ec,factory:Ec.\u0275fac,providedIn:"root"});const Vs=t.Ps` - query MpExpressionEditorPrepopulate($mpId: Int!) { - molecularProfile(id: $mpId) { - id - parsedName { - ...MolecularProfileParsedName - } - rawName - } -} - ${oe}`;class pr extends t.AE{constructor(G){super(G),this.document=Vs}}pr.\u0275fac=function(G){return new(G||pr)(o.LFG(t._M))},pr.\u0275prov=o.Yz7({token:pr,factory:pr.\u0275fac,providedIn:"root"});const P1=t.Ps` - mutation CreateMolecularProfile2($mpStructure: MolecularProfileComponentInput!) { - createMolecularProfile(input: {structure: $mpStructure}) { - molecularProfile { - id - name - link - } - } -} - `;class Hr extends t.mm{constructor(G){super(G),this.document=P1}}Hr.\u0275fac=function(G){return new(G||Hr)(o.LFG(t._M))},Hr.\u0275prov=o.Yz7({token:Hr,factory:Hr.\u0275fac,providedIn:"root"});const Zl=t.Ps` - query NccnGuidelineSelectTypeahead($name: String!) { - nccnGuidelinesTypeahead(queryTerm: $name) { - ...NccnGuidelineSelectTypeaheadFields - } -} - ${Tt}`;class qr extends t.AE{constructor(G){super(G),this.document=Zl}}qr.\u0275fac=function(G){return new(G||qr)(o.LFG(t._M))},qr.\u0275prov=o.Yz7({token:qr,factory:qr.\u0275fac,providedIn:"root"});const Sc=t.Ps` - query NccnGuidelineSelectTag($id: Int!) { - nccnGuideline(id: $id) { - ...NccnGuidelineSelectTypeaheadFields - } -} - ${Tt}`;class Yr extends t.AE{constructor(G){super(G),this.document=Sc}}Yr.\u0275fac=function(G){return new(G||Yr)(o.LFG(t._M))},Yr.\u0275prov=o.Yz7({token:Yr,factory:Yr.\u0275fac,providedIn:"root"});const Ua=t.Ps` - query PhenotypeSelectTypeahead($name: String!) { - phenotypeTypeahead(queryTerm: $name) { - ...PhenotypeSelectTypeaheadFields - } -} - ${Wn}`;class xc extends t.AE{constructor(G){super(G),this.document=Ua}}xc.\u0275fac=function(G){return new(G||xc)(o.LFG(t._M))},xc.\u0275prov=o.Yz7({token:xc,factory:xc.\u0275fac,providedIn:"root"});const Jl=t.Ps` - query PhenotypeSelectTag($id: Int!) { - phenotype(id: $id) { - ...PhenotypeSelectTypeaheadFields - } -} - ${Wn}`;class Dc extends t.AE{constructor(G){super(G),this.document=Jl}}Dc.\u0275fac=function(G){return new(G||Dc)(o.LFG(t._M))},Dc.\u0275prov=o.Yz7({token:Dc,factory:Dc.\u0275fac,providedIn:"root"});const I1=t.Ps` - query QuickAddSourceCheckCitation($sourceType: SourceSource!, $citationId: String!) { - remoteCitation(sourceType: $sourceType, citationId: $citationId) -} - `;class Ta extends t.AE{constructor(G){super(G),this.document=I1}}Ta.\u0275fac=function(G){return new(G||Ta)(o.LFG(t._M))},Ta.\u0275prov=o.Yz7({token:Ta,factory:Ta.\u0275fac,providedIn:"root"});const A1=t.Ps` - mutation QuickAddSourceRemoteCitation($input: AddRemoteCitationInput!) { - addRemoteCitation(input: $input) { - newSource { - id - citationId - sourceType - } - } -} - `;class Oc extends t.mm{constructor(G){super(G),this.document=A1}}Oc.\u0275fac=function(G){return new(G||Oc)(o.LFG(t._M))},Oc.\u0275prov=o.Yz7({token:Oc,factory:Oc.\u0275fac,providedIn:"root"});const F1=t.Ps` - query SourceSelectTypeahead($partialCitationId: String!, $sourceType: SourceSource!) { - sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) { - ...SourceSelectTypeaheadFields - } -} - ${ro}`;class ja extends t.AE{constructor(G){super(G),this.document=F1}}ja.\u0275fac=function(G){return new(G||ja)(o.LFG(t._M))},ja.\u0275prov=o.Yz7({token:ja,factory:ja.\u0275fac,providedIn:"root"});const Kl=t.Ps` - query SourceSelectTag($id: Int!) { - source(id: $id) { - ...SourceSelectTypeaheadFields - } -} - ${ro}`;class Ga extends t.AE{constructor(G){super(G),this.document=Kl}}Ga.\u0275fac=function(G){return new(G||Ga)(o.LFG(t._M))},Ga.\u0275prov=o.Yz7({token:Ga,factory:Ga.\u0275fac,providedIn:"root"});const ql=t.Ps` - mutation QuickAddTherapy($name: String!, $ncitId: String) { - addTherapy(input: {name: $name, ncitId: $ncitId}) { - ...QuickAddTherapyFields - } -} - ${Ft}`;class wc extends t.mm{constructor(G){super(G),this.document=ql}}wc.\u0275fac=function(G){return new(G||wc)(o.LFG(t._M))},wc.\u0275prov=o.Yz7({token:wc,factory:wc.\u0275fac,providedIn:"root"});const N1=t.Ps` - query TherapySelectTypeahead($name: String!) { - therapyTypeahead(queryTerm: $name) { - ...TherapySelectTypeaheadFields - } -} - ${Fn}`;class Xr extends t.AE{constructor(G){super(G),this.document=N1}}Xr.\u0275fac=function(G){return new(G||Xr)(o.LFG(t._M))},Xr.\u0275prov=o.Yz7({token:Xr,factory:Xr.\u0275fac,providedIn:"root"});const Uu=t.Ps` - query TherapySelectTag($id: Int!) { - therapy(id: $id) { - ...TherapySelectTypeaheadFields - } -} - ${Fn}`;class Wi extends t.AE{constructor(G){super(G),this.document=Uu}}Wi.\u0275fac=function(G){return new(G||Wi)(o.LFG(t._M))},Wi.\u0275prov=o.Yz7({token:Wi,factory:Wi.\u0275fac,providedIn:"root"});const ju=t.Ps` - query VariantManager($variantName: String, $entrezSymbol: String, $diseaseName: String, $therapyName: String, $variantAlias: String, $variantTypeId: Int, $variantGroupId: Int, $sortBy: VariantsSort, $first: Int, $last: Int, $before: String, $after: String) { - browseVariants( - variantName: $variantName - entrezSymbol: $entrezSymbol - diseaseName: $diseaseName - therapyName: $therapyName - variantAlias: $variantAlias - variantTypeId: $variantTypeId - variantGroupId: $variantGroupId - sortBy: $sortBy - first: $first - last: $last - before: $before - after: $after - ) { - pageInfo { - endCursor - hasNextPage - startCursor - hasPreviousPage - } - edges { - cursor - node { - ...BrowseVariantsFields - } - } - totalCount - filteredCount - pageCount - } -} - ${nn}`;class Qa extends t.AE{constructor(G){super(G),this.document=ju}}Qa.\u0275fac=function(G){return new(G||Qa)(o.LFG(t._M))},Qa.\u0275prov=o.Yz7({token:Qa,factory:Qa.\u0275fac,providedIn:"root"});const L1=t.Ps` - mutation QuickAddVariant($name: String!, $geneId: Int!) { - addVariant(input: {name: $name, geneId: $geneId}) { - ...AddVariantFields - } -} - ${Po}`;class al extends t.mm{constructor(G){super(G),this.document=L1}}al.\u0275fac=function(G){return new(G||al)(o.LFG(t._M))},al.\u0275prov=o.Yz7({token:al,factory:al.\u0275fac,providedIn:"root"});const bl=t.Ps` - query VariantSelectTypeahead($name: String!, $geneId: Int) { - variants(name: $name, geneId: $geneId, first: 50) { - totalCount - edges { - node { - ...VariantSelectTypeaheadFields - } - } - nodes { - ...VariantSelectTypeaheadFields - } - } -} - ${un}`;class Pc extends t.AE{constructor(G){super(G),this.document=bl}}Pc.\u0275fac=function(G){return new(G||Pc)(o.LFG(t._M))},Pc.\u0275prov=o.Yz7({token:Pc,factory:Pc.\u0275fac,providedIn:"root"});const Ic=t.Ps` - query VariantSelectTag($variantId: Int!) { - variant(id: $variantId) { - ...VariantSelectTypeaheadFields - } -} - ${un}`;class Wa extends t.AE{constructor(G){super(G),this.document=Ic}}Wa.\u0275fac=function(G){return new(G||Wa)(o.LFG(t._M))},Wa.\u0275prov=o.Yz7({token:Wa,factory:Wa.\u0275fac,providedIn:"root"});const Ma=t.Ps` - query VariantTypeSelectTypeahead($name: String!) { - variantTypeTypeahead(queryTerm: $name) { - ...VariantTypeSelectTypeaheadFields - } -} - ${fn}`;class ba extends t.AE{constructor(G){super(G),this.document=Ma}}ba.\u0275fac=function(G){return new(G||ba)(o.LFG(t._M))},ba.\u0275prov=o.Yz7({token:ba,factory:ba.\u0275fac,providedIn:"root"});const Xl=t.Ps` - query VariantTypeSelectTag($id: Int!) { - variantType(id: $id) { - ...VariantTypeSelectTypeaheadFields - } -} - ${fn}`;class na extends t.AE{constructor(G){super(G),this.document=Xl}}na.\u0275fac=function(G){return new(G||na)(o.LFG(t._M))},na.\u0275prov=o.Yz7({token:na,factory:na.\u0275fac,providedIn:"root"});const eu=t.Ps` - query AssertionDetail($assertionId: Int!) { - assertion(id: $assertionId) { - ...AssertionDetailFields - } -} - ${On}`;class Ac extends t.AE{constructor(G){super(G),this.document=eu}}Ac.\u0275fac=function(G){return new(G||Ac)(o.LFG(t._M))},Ac.\u0275prov=o.Yz7({token:Ac,factory:Ac.\u0275fac,providedIn:"root"});const Gu=t.Ps` - query AssertionSummary($assertionId: Int!) { - assertion(id: $assertionId) { - ...AssertionSummaryFields - } -} - ${Tn}`;class Za extends t.AE{constructor(G){super(G),this.document=Gu}}Za.\u0275fac=function(G){return new(G||Za)(o.LFG(t._M))},Za.\u0275prov=o.Yz7({token:Za,factory:Za.\u0275fac,providedIn:"root"});const Qu=t.Ps` - query ClinicalTrialDetail($clinicalTrialId: Int!) { - clinicalTrial(id: $clinicalTrialId) { - id - name - nctId - description - url - link - } -} - `;class Bs extends t.AE{constructor(G){super(G),this.document=Qu}}Bs.\u0275fac=function(G){return new(G||Bs)(o.LFG(t._M))},Bs.\u0275prov=o.Yz7({token:Bs,factory:Bs.\u0275fac,providedIn:"root"});const Wu=t.Ps` - query ClinicalTrialSummary($clinicalTrialId: Int!) { - clinicalTrial(id: $clinicalTrialId) { - id - name - nctId - description - url - link - } -} - `;class Hs extends t.AE{constructor(G){super(G),this.document=Wu}}Hs.\u0275fac=function(G){return new(G||Hs)(o.LFG(t._M))},Hs.\u0275prov=o.Yz7({token:Hs,factory:Hs.\u0275fac,providedIn:"root"});const k1=t.Ps` - query DiseaseDetail($diseaseId: Int!) { - disease(id: $diseaseId) { - id - name - doid - diseaseUrl - displayName - diseaseAliases - link - } -} - `;class cl extends t.AE{constructor(G){super(G),this.document=k1}}cl.\u0275fac=function(G){return new(G||cl)(o.LFG(t._M))},cl.\u0275prov=o.Yz7({token:cl,factory:cl.\u0275fac,providedIn:"root"});const R1=t.Ps` - query DiseasesSummary($diseaseId: Int!) { - disease(id: $diseaseId) { - ...DiseasesSummaryFields - } -} - ${Pn}`;class Ja extends t.AE{constructor(G){super(G),this.document=R1}}Ja.\u0275fac=function(G){return new(G||Ja)(o.LFG(t._M))},Ja.\u0275prov=o.Yz7({token:Ja,factory:Ja.\u0275fac,providedIn:"root"});const tu=t.Ps` - query EvidenceDetail($evidenceId: Int!) { - evidenceItem(id: $evidenceId) { - ...EvidenceDetailFields - } -} - ${Xn}`;class oa extends t.AE{constructor(G){super(G),this.document=tu}}oa.\u0275fac=function(G){return new(G||oa)(o.LFG(t._M))},oa.\u0275prov=o.Yz7({token:oa,factory:oa.\u0275fac,providedIn:"root"});const Ea=t.Ps` - query EvidenceSummary($evidenceId: Int!) { - evidenceItem(id: $evidenceId) { - ...EvidenceSummaryFields - } -} - ${xn}`;class xr extends t.AE{constructor(G){super(G),this.document=Ea}}xr.\u0275fac=function(G){return new(G||xr)(o.LFG(t._M))},xr.\u0275prov=o.Yz7({token:xr,factory:xr.\u0275fac,providedIn:"root"});const V1=t.Ps` - query GeneDetail($geneId: Int!) { - gene(id: $geneId) { - ...GeneDetailFields - } -} - ${Vn}`;class Fc extends t.AE{constructor(G){super(G),this.document=V1}}Fc.\u0275fac=function(G){return new(G||Fc)(o.LFG(t._M))},Fc.\u0275prov=o.Yz7({token:Fc,factory:Fc.\u0275fac,providedIn:"root"});const xd=t.Ps` - query GenesSummary($geneId: Int!) { - gene(id: $geneId) { - ...GeneSummaryFields - } -} - ${Zn}`;class Nc extends t.AE{constructor(G){super(G),this.document=xd}}Nc.\u0275fac=function(G){return new(G||Nc)(o.LFG(t._M))},Nc.\u0275prov=o.Yz7({token:Nc,factory:Nc.\u0275fac,providedIn:"root"});const nu=t.Ps` - query MolecularProfileDetail($mpId: Int!) { - molecularProfile(id: $mpId) { - ...MolecularProfileDetailFields - } -} - ${uo}`;class Ys extends t.AE{constructor(G){super(G),this.document=nu}}Ys.\u0275fac=function(G){return new(G||Ys)(o.LFG(t._M))},Ys.\u0275prov=o.Yz7({token:Ys,factory:Ys.\u0275fac,providedIn:"root"});const Zu=t.Ps` - query MolecularProfileSummary($mpId: Int!) { - molecularProfile(id: $mpId) { - ...MolecularProfileSummaryFields - } -} - ${Zo}`;class $r extends t.AE{constructor(G){super(G),this.document=Zu}}$r.\u0275fac=function(G){return new(G||$r)(o.LFG(t._M))},$r.\u0275prov=o.Yz7({token:$r,factory:$r.\u0275fac,providedIn:"root"});const Sa=t.Ps` - query OrganizationDetail($organizationId: Int!) { - organization(id: $organizationId) { - ...OrganizationDetailFields - } -} - ${$o}`;class xa extends t.AE{constructor(G){super(G),this.document=Sa}}xa.\u0275fac=function(G){return new(G||xa)(o.LFG(t._M))},xa.\u0275prov=o.Yz7({token:xa,factory:xa.\u0275fac,providedIn:"root"});const Ju=t.Ps` - query OrganizationGroups($organizationId: Int!) { - organization(id: $organizationId) { - id - name - url - description - profileImagePath(size: 256) - subGroups { - ...OrganizationGroupsFields - } - } -} - ${bo}`;class Ka extends t.AE{constructor(G){super(G),this.document=Ju}}Ka.\u0275fac=function(G){return new(G||Ka)(o.LFG(t._M))},Ka.\u0275prov=o.Yz7({token:Ka,factory:Ka.\u0275fac,providedIn:"root"});const qa=t.Ps` - query OrganizationMembers($organizationId: Int!, $first: Int, $last: Int, $before: String, $after: String) { - users( - organization: {id: $organizationId} - first: $first - last: $last - before: $before - after: $after - ) { - pageInfo { - hasNextPage - hasPreviousPage - startCursor - endCursor - } - edges { - cursor - node { - ...OrganizationMembersFields - } - } - } -} - ${_o}`;class Lc extends t.AE{constructor(G){super(G),this.document=qa}}Lc.\u0275fac=function(G){return new(G||Lc)(o.LFG(t._M))},Lc.\u0275prov=o.Yz7({token:Lc,factory:Lc.\u0275fac,providedIn:"root"});const B1=t.Ps` - query PhenotypeDetail($phenotypeId: Int!) { - phenotype(id: $phenotypeId) { - id - name - description - hpoId - url - link - } -} - `;class kc extends t.AE{constructor(G){super(G),this.document=B1}}kc.\u0275fac=function(G){return new(G||kc)(o.LFG(t._M))},kc.\u0275prov=o.Yz7({token:kc,factory:kc.\u0275fac,providedIn:"root"});const H1=t.Ps` - query DataReleases { - dataReleases { - ...Release - } -} - ${Bo}`;class Xa extends t.AE{constructor(G){super(G),this.document=H1}}Xa.\u0275fac=function(G){return new(G||Xa)(o.LFG(t._M))},Xa.\u0275prov=o.Yz7({token:Xa,factory:Xa.\u0275fac,providedIn:"root"});const ec=t.Ps` - query SourceDetail($sourceId: Int!) { - source(id: $sourceId) { - ...SourceDetailFields - } -} - ${ii}`;class ia extends t.AE{constructor(G){super(G),this.document=ec}}ia.\u0275fac=function(G){return new(G||ia)(o.LFG(t._M))},ia.\u0275prov=o.Yz7({token:ia,factory:ia.\u0275fac,providedIn:"root"});const Dd=t.Ps` - query SourceSummary($sourceId: Int!) { - source(id: $sourceId) { - ...SourceSummaryFields - } -} - ${oi}`;class ll extends t.AE{constructor(G){super(G),this.document=Dd}}ll.\u0275fac=function(G){return new(G||ll)(o.LFG(t._M))},ll.\u0275prov=o.Yz7({token:ll,factory:ll.\u0275fac,providedIn:"root"});const Od=t.Ps` - query TherapyDetail($therapyId: Int!) { - therapy(id: $therapyId) { - id - name - ncitId - therapyUrl - therapyAliases - link - } -} - `;class ul extends t.AE{constructor(G){super(G),this.document=Od}}ul.\u0275fac=function(G){return new(G||ul)(o.LFG(t._M))},ul.\u0275prov=o.Yz7({token:ul,factory:ul.\u0275fac,providedIn:"root"});const El=t.Ps` - query TherapiesSummary($therapyId: Int!) { - therapy(id: $therapyId) { - ...TherapiesSummaryFields - } -} - ${Vo}`;class dl extends t.AE{constructor(G){super(G),this.document=El}}dl.\u0275fac=function(G){return new(G||dl)(o.LFG(t._M))},dl.\u0275prov=o.Yz7({token:dl,factory:dl.\u0275fac,providedIn:"root"});const Y1=t.Ps` - query UserDetail($userId: Int!) { - user(id: $userId) { - ...UserDetailFields - } -} - ${Qo}`;class pl extends t.AE{constructor(G){super(G),this.document=Y1}}pl.\u0275fac=function(G){return new(G||pl)(o.LFG(t._M))},pl.\u0275prov=o.Yz7({token:pl,factory:pl.\u0275fac,providedIn:"root"});const wd=t.Ps` - query UserNotifications($first: Int, $last: Int, $before: String, $after: String, $notificationReason: NotificationReason, $subscriptionId: Int, $originatingObject: SubscribableInput, $eventType: EventAction, $originatingUserId: Int, $organizationId: Int, $includeRead: Boolean) { - notifications( - first: $first - last: $last - before: $before - after: $after - notificationReason: $notificationReason - subscriptionId: $subscriptionId - originatingObject: $originatingObject - eventType: $eventType - originatingUserId: $originatingUserId - organizationId: $organizationId - includeRead: $includeRead - ) { - pageInfo { - startCursor - endCursor - hasNextPage - hasPreviousPage - } - notificationSubjects { - ...notificationFeedSubjects - } - originatingUsers { - ...notificationOriginatingUsers - } - organizations { - ...notificationOrganization - } - eventTypes - edges { - node { - ...notificationNode - } - } - } -} - ${Oo} -${Ni} -${Si} -${ri}`;class Rc extends t.AE{constructor(G){super(G),this.document=wd}}Rc.\u0275fac=function(G){return new(G||Rc)(o.LFG(t._M))},Rc.\u0275prov=o.Yz7({token:Rc,factory:Rc.\u0275fac,providedIn:"root"});const Sl=t.Ps` - mutation UpdateNotificationStatus($input: UpdateNotificationStatusInput!) { - updateNotificationStatus(input: $input) { - notifications { - ...notificationNode - } - } -} - ${ri}`;class ra extends t.mm{constructor(G){super(G),this.document=Sl}}ra.\u0275fac=function(G){return new(G||ra)(o.LFG(t._M))},ra.\u0275prov=o.Yz7({token:ra,factory:ra.\u0275fac,providedIn:"root"});const Da=t.Ps` - mutation Unsubscribe($input: UnsubscribeInput!) { - unsubscribe(input: $input) { - unsubscribedEntities { - ...subscribable - } - } -} - ${Ki}`;class Dr extends t.mm{constructor(G){super(G),this.document=Da}}Dr.\u0275fac=function(G){return new(G||Dr)(o.LFG(t._M))},Dr.\u0275prov=o.Yz7({token:Dr,factory:Dr.\u0275fac,providedIn:"root"});const Ku=t.Ps` - mutation Subscribe($input: SubscribeInput!) { - subscribe(input: $input) { - subscriptions { - id - } - } -} - `;class Vc extends t.mm{constructor(G){super(G),this.document=Ku}}Vc.\u0275fac=function(G){return new(G||Vc)(o.LFG(t._M))},Vc.\u0275prov=o.Yz7({token:Vc,factory:Vc.\u0275fac,providedIn:"root"});const qu=t.Ps` - query VariantGroupDetail($variantGroupId: Int!) { - variantGroup(id: $variantGroupId) { - ...VariantGroupDetailFields - } -} - ${si}`;class xl extends t.AE{constructor(G){super(G),this.document=qu}}xl.\u0275fac=function(G){return new(G||xl)(o.LFG(t._M))},xl.\u0275prov=o.Yz7({token:xl,factory:xl.\u0275fac,providedIn:"root"});const Pd=t.Ps` - query VariantGroupRevisions($variantGroupId: Int!, $first: Int, $last: Int, $before: String, $after: String, $fieldName: String, $originatingUserId: Int) { - variantGroup(id: $variantGroupId) { - id - revisions( - first: $first - last: $last - before: $before - after: $after - fieldName: $fieldName - originatingUserId: $originatingUserId - ) { - totalCount - uniqueRevisors { - username - id - profileImagePath(size: 32) - } - revisedFieldNames { - name - displayName - } - edges { - node { - id - revisionSetId - createdAt - fieldName - currentValue - suggestedValue - linkoutData { - name - diffValue { - ... on ObjectFieldDiff { - addedObjects { - id - displayName - displayType - entityType - } - removedObjects { - id - displayName - displayType - entityType - } - keptObjects { - id - displayName - displayType - entityType - } - } - ... on ScalarFieldDiff { - left - right - } - } - } - revisor { - id - name - } - status - } - } - } - } -} - `;class Dl extends t.AE{constructor(G){super(G),this.document=Pd}}Dl.\u0275fac=function(G){return new(G||Dl)(o.LFG(t._M))},Dl.\u0275prov=o.Yz7({token:Dl,factory:Dl.\u0275fac,providedIn:"root"});const Xu=t.Ps` - query VariantGroupsSummary($variantGroupId: Int!) { - variantGroup(id: $variantGroupId) { - ...VariantGroupSummaryFields - } -} - ${qi}`;class tc extends t.AE{constructor(G){super(G),this.document=Xu}}tc.\u0275fac=function(G){return new(G||tc)(o.LFG(t._M))},tc.\u0275prov=o.Yz7({token:tc,factory:tc.\u0275fac,providedIn:"root"});const cp=t.Ps` - query VariantTypeDetail($variantTypeId: Int!) { - variantType(id: $variantTypeId) { - id - name - soid - description - url - link - } -} - `;class Ol extends t.AE{constructor(G){super(G),this.document=cp}}Ol.\u0275fac=function(G){return new(G||Ol)(o.LFG(t._M))},Ol.\u0275prov=o.Yz7({token:Ol,factory:Ol.\u0275fac,providedIn:"root"});const $1=t.Ps` - query VariantDetail($variantId: Int!) { - variant(id: $variantId) { - ...VariantDetailFields - } -} - ${gr}`;class Bc extends t.AE{constructor(G){super(G),this.document=$1}}Bc.\u0275fac=function(G){return new(G||Bc)(o.LFG(t._M))},Bc.\u0275prov=o.Yz7({token:Bc,factory:Bc.\u0275fac,providedIn:"root"});const Id=t.Ps` - query VariantSummary($variantId: Int!) { - variant(id: $variantId) { - ...VariantSummaryFields - } -} - ${Us}`;class hl extends t.AE{constructor(G){super(G),this.document=Id}}hl.\u0275fac=function(G){return new(G||hl)(o.LFG(t._M))},hl.\u0275prov=o.Yz7({token:hl,factory:hl.\u0275fac,providedIn:"root"})},2340:(Et,Me,a)=>{a.d(Me,{N:()=>t});const t={production:!0}},5231:(Et,Me,a)=>{var t=a(1481),o=a(4650),g=a(9751),l=a(930),s=a(9646),L=a(9770),R=a(6451),T=a(5032);const M=new g.y(T.Z);var O=a(7579),F=a(4128),V=a(1135),S=a(727),e=a(4782),I=a(515),w=a(2843),pe=a(576);class Z{constructor(p,h,v){this.kind=p,this.value=h,this.error=v,this.hasValue="N"===p}observe(p){return U(this,p)}do(p,h,v){const{kind:C,value:D,error:W}=this;return"N"===C?p?.(D):"E"===C?h?.(W):v?.()}accept(p,h,v){var C;return(0,pe.m)(null===(C=p)||void 0===C?void 0:C.next)?this.observe(p):this.do(p,h,v)}toObservable(){const{kind:p,value:h,error:v}=this,C="N"===p?(0,s.of)(h):"E"===p?(0,w._)(()=>v):"C"===p?I.E:0;if(!C)throw new TypeError(`Unexpected notification kind ${p}`);return C}static createNext(p){return new Z("N",p)}static createError(p){return new Z("E",void 0,p)}static createComplete(){return Z.completeNotification}}function U(z,p){var h,v,C;const{kind:D,value:W,error:_e}=z;if("string"!=typeof D)throw new TypeError('Invalid notification, missing "kind"');"N"===D?null===(h=p.next)||void 0===h||h.call(p,W):"E"===D?null===(v=p.error)||void 0===v||v.call(p,_e):null===(C=p.complete)||void 0===C||C.call(p)}Z.completeNotification=new Z("C");var N=a(4482),q=a(5403),me=a(9718),fe=function(){},te=fe;function ye(z){te(z)}function H(z){te=z||fe}var X=console;function ve(z){if(z.error&&z.group&&z.groupCollapsed&&z.groupEnd&&z.warn)return z;var h=0;return{error:function(D){for(var W=arguments.length,_e=new Array(W>1?W-1:0),Oe=1;Oe1?W-1:0),Oe=1;Oe1?W-1:0),Oe=1;Oe2?Oe-2:0),mt=2;mt"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var C,v=Ae(z);if(p){var D=Ae(this).constructor;C=Reflect.construct(v,arguments,D)}else C=v.apply(this,arguments);return Te(this,C)}}function it(z){return function yt(z){if(Array.isArray(z))return pt(z)}(z)||function $t(z){if(typeof Symbol<"u"&&null!=z[Symbol.iterator]||null!=z["@@iterator"])return Array.from(z)}(z)||et(z)||function Vt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(z,p){if(z){if("string"==typeof z)return pt(z,p);var h=Object.prototype.toString.call(z).slice(8,-1);if("Object"===h&&z.constructor&&(h=z.constructor.name),"Map"===h||"Set"===h)return Array.from(z);if("Arguments"===h||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return pt(z,p)}}function pt(z,p){(null==p||p>z.length)&&(p=z.length);for(var h=0,v=new Array(p);h-1&&(mt=mt.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var Mt=mt.replace(/^\s+/,"").replace(/\(eval code/g,"("),Ot=Mt.match(/ (\((.+):(\d+):(\d+)\)$)/),Ht=(Mt=Ot?Mt.replace(Ot[0],""):Mt).split(/\s+/).slice(1),Qt=this.extractLocation(Ot?Ot[1]:Ht.pop()),Bt=Ht.join(" ")||void 0,an=["eval",""].indexOf(Qt[0])>-1?void 0:Qt[0];return new v({functionName:Bt,fileName:an,lineNumber:Qt[1],columnNumber:Qt[2],source:mt})},this)},parseFFOrSafari:function(Oe){return Oe.stack.split("\n").filter(function(mt){return!mt.match(W)},this).map(function(mt){if(mt.indexOf(" > eval")>-1&&(mt=mt.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===mt.indexOf("@")&&-1===mt.indexOf(":"))return new v({functionName:mt});var Mt=/((.*".+"[^@]*)?[^@]*)(?:@)/,Ot=mt.match(Mt),Ht=Ot&&Ot[1]?Ot[1]:void 0,Qt=this.extractLocation(mt.replace(Mt,""));return new v({functionName:Ht,fileName:Qt[0],lineNumber:Qt[1],columnNumber:Qt[2],source:mt})},this)},parseOpera:function(Oe){return!Oe.stacktrace||Oe.message.indexOf("\n")>-1&&Oe.message.split("\n").length>Oe.stacktrace.split("\n").length?this.parseOpera9(Oe):Oe.stack?this.parseOpera11(Oe):this.parseOpera10(Oe)},parseOpera9:function(Oe){for(var Xe=/Line (\d+).*script (?:in )?(\S+)/i,mt=Oe.message.split("\n"),Mt=[],Ot=2,Ht=mt.length;Ot/,"$2").replace(/\([^)]*\)/g,"")||void 0;Ht.match(/\(([^)]*)\)/)&&(Bt=Ht.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var an=void 0===Bt||"[arguments not available]"===Bt?void 0:Bt.split(",");return new v({functionName:Qt,args:an,fileName:Ot[0],lineNumber:Ot[1],columnNumber:Ot[2],source:mt})},this)}})}),ze=We(function(z,p){p.getArg=function h(en,dn,Nn){if(dn in en)return en[dn];if(3===arguments.length)return Nn;throw new Error('"'+dn+'" is a required argument.')};var v=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,C=/^data:.+\,.+$/;function D(en){var dn=en.match(v);return dn?{scheme:dn[1],auth:dn[2],host:dn[3],port:dn[4],path:dn[5]}:null}function W(en){var dn="";return en.scheme&&(dn+=en.scheme+":"),dn+="//",en.auth&&(dn+=en.auth+"@"),en.host&&(dn+=en.host),en.port&&(dn+=":"+en.port),en.path&&(dn+=en.path),dn}function _e(en){var dn=en,Nn=D(en);if(Nn){if(!Nn.path)return en;dn=Nn.path}for(var Mo,In=p.isAbsolute(dn),eo=dn.split(/\/+/),zi=0,Ti=eo.length-1;Ti>=0;Ti--)"."===(Mo=eo[Ti])?eo.splice(Ti,1):".."===Mo?zi++:zi>0&&(""===Mo?(eo.splice(Ti+1,zi),zi=0):(eo.splice(Ti,2),zi--));return""===(dn=eo.join("/"))&&(dn=In?"/":"."),Nn?(Nn.path=dn,W(Nn)):dn}p.urlParse=D,p.urlGenerate=W,p.normalize=_e,p.join=function Oe(en,dn){""===en&&(en="."),""===dn&&(dn=".");var Nn=D(dn),In=D(en);if(In&&(en=In.path||"/"),Nn&&!Nn.scheme)return In&&(Nn.scheme=In.scheme),W(Nn);if(Nn||dn.match(C))return dn;if(In&&!In.host&&!In.path)return In.host=dn,W(In);var eo="/"===dn.charAt(0)?dn:_e(en.replace(/\/+$/,"")+"/"+dn);return In?(In.path=eo,W(In)):eo},p.isAbsolute=function(en){return"/"===en.charAt(0)||!!en.match(v)},p.relative=function Xe(en,dn){""===en&&(en="."),en=en.replace(/\/$/,"");for(var Nn=0;0!==dn.indexOf(en+"/");){var In=en.lastIndexOf("/");if(In<0||(en=en.slice(0,In)).match(/^([^\/]+:\/)?\/*$/))return dn;++Nn}return Array(Nn+1).join("../")+dn.substr(en.length+1)};var mt=!("__proto__"in Object.create(null));function Mt(en){return en}function Qt(en){if(!en)return!1;var dn=en.length;if(dn<9||95!==en.charCodeAt(dn-1)||95!==en.charCodeAt(dn-2)||111!==en.charCodeAt(dn-3)||116!==en.charCodeAt(dn-4)||111!==en.charCodeAt(dn-5)||114!==en.charCodeAt(dn-6)||112!==en.charCodeAt(dn-7)||95!==en.charCodeAt(dn-8)||95!==en.charCodeAt(dn-9))return!1;for(var Nn=dn-10;Nn>=0;Nn--)if(36!==en.charCodeAt(Nn))return!1;return!0}function _n(en,dn){return en===dn?0:en>dn?1:-1}p.toSetString=mt?Mt:function Ot(en){return Qt(en)?"$"+en:en},p.fromSetString=mt?Mt:function Ht(en){return Qt(en)?en.slice(1):en},p.compareByOriginalPositions=function Bt(en,dn,Nn){var In=en.source-dn.source;return 0!==In||0!=(In=en.originalLine-dn.originalLine)||0!=(In=en.originalColumn-dn.originalColumn)||Nn||0!=(In=en.generatedColumn-dn.generatedColumn)||0!=(In=en.generatedLine-dn.generatedLine)?In:en.name-dn.name},p.compareByGeneratedPositionsDeflated=function an(en,dn,Nn){var In=en.generatedLine-dn.generatedLine;return 0!==In||0!=(In=en.generatedColumn-dn.generatedColumn)||Nn||0!=(In=en.source-dn.source)||0!=(In=en.originalLine-dn.originalLine)||0!=(In=en.originalColumn-dn.originalColumn)?In:en.name-dn.name},p.compareByGeneratedPositionsInflated=function Ln(en,dn){var Nn=en.generatedLine-dn.generatedLine;return 0!==Nn||0!=(Nn=en.generatedColumn-dn.generatedColumn)||0!==(Nn=_n(en.source,dn.source))||0!=(Nn=en.originalLine-dn.originalLine)||0!=(Nn=en.originalColumn-dn.originalColumn)?Nn:_n(en.name,dn.name)}}),dt=We(function(z,p){function h(v,C,D,W,_e,Oe){var Xe=Math.floor((C-v)/2)+v,mt=_e(D,W[Xe],!0);return 0===mt?Xe:mt>0?C-Xe>1?h(Xe,C,D,W,_e,Oe):Oe==p.LEAST_UPPER_BOUND?C1?h(v,Xe,D,W,_e,Oe):Oe==p.LEAST_UPPER_BOUND?Xe:v<0?-1:v}p.GREATEST_LOWER_BOUND=1,p.LEAST_UPPER_BOUND=2,p.search=function(C,D,W,_e){if(0===D.length)return-1;var Oe=h(-1,D.length,C,D,W,_e||p.GREATEST_LOWER_BOUND);if(Oe<0)return-1;for(;Oe-1>=0&&0===W(D[Oe],D[Oe-1],!0);)--Oe;return Oe}}),ke=Object.prototype.hasOwnProperty;function ge(){this._array=[],this._set=Object.create(null)}ge.fromArray=function(p,h){for(var v=new ge,C=0,D=p.length;C=0&&p=C)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(Oe=tn_decode(p.charCodeAt(h++))))throw new Error("Invalid base64 digit: "+p.charAt(h-1));_e=!!(32&Oe),D+=(Oe&=31)<>1;return 1==(1&z)?-h:h}(D),v.rest=h};function nt(z,p,h){var v=z[p];z[p]=z[h],z[h]=v}function rt(z,p,h,v){if(h=0){var W=this._originalMappings[D];if(void 0===p.column)for(var _e=W.originalLine;W&&W.originalLine===_e;)C.push({line:ze.getArg(W,"generatedLine",null),column:ze.getArg(W,"generatedColumn",null),lastColumn:ze.getArg(W,"lastGeneratedColumn",null)}),W=this._originalMappings[++D];else for(var Oe=W.originalColumn;W&&W.originalLine===h&&W.originalColumn==Oe;)C.push({line:ze.getArg(W,"generatedLine",null),column:ze.getArg(W,"generatedColumn",null),lastColumn:ze.getArg(W,"lastGeneratedColumn",null)}),W=this._originalMappings[++D]}return C};var $n=Un;function Yn(z){var p=z;"string"==typeof z&&(p=JSON.parse(z.replace(/^\)\]\}'/,"")));var h=ze.getArg(p,"version"),v=ze.getArg(p,"sources"),C=ze.getArg(p,"names",[]),D=ze.getArg(p,"sourceRoot",null),W=ze.getArg(p,"sourcesContent",null),_e=ze.getArg(p,"mappings"),Oe=ze.getArg(p,"file",null);if(h!=this._version)throw new Error("Unsupported version: "+h);v=v.map(String).map(ze.normalize).map(function(Xe){return D&&ze.isAbsolute(D)&&ze.isAbsolute(Xe)?ze.relative(D,Xe):Xe}),this._names=Sn.fromArray(C.map(String),!0),this._sources=Sn.fromArray(v,!0),this.sourceRoot=D,this.sourcesContent=W,this._mappings=_e,this.file=Oe}function co(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}(Yn.prototype=Object.create(Un.prototype)).consumer=Un,Yn.fromSourceMap=function(p){var h=Object.create(Yn.prototype),v=h._names=Sn.fromArray(p._names.toArray(),!0),C=h._sources=Sn.fromArray(p._sources.toArray(),!0);h.sourceRoot=p._sourceRoot,h.sourcesContent=p._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=p._file;for(var D=p._mappings.toArray().slice(),W=h.__generatedMappings=[],_e=h.__originalMappings=[],Oe=0,Xe=D.length;Oe1&&(Bt.source=_e+_n[1],_e+=_n[1],Bt.originalLine=D+_n[2],D=Bt.originalLine,Bt.originalLine+=1,Bt.originalColumn=W+_n[3],W=Bt.originalColumn,_n.length>4&&(Bt.name=Oe+_n[4],Oe+=_n[4])),Qt.push(Bt),"number"==typeof Bt.originalLine&&Ht.push(Bt)}jn(Qt,ze.compareByGeneratedPositionsDeflated),this.__generatedMappings=Qt,jn(Ht,ze.compareByOriginalPositions),this.__originalMappings=Ht},Yn.prototype._findMapping=function(p,h,v,C,D,W){if(p[v]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+p[v]);if(p[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+p[C]);return dt.search(p,h,D,W)},Yn.prototype.computeColumnSpans=function(){for(var p=0;p=0){var C=this._generatedMappings[v];if(C.generatedLine===h.generatedLine){var D=ze.getArg(C,"source",null);null!==D&&(D=this._sources.at(D),null!=this.sourceRoot&&(D=ze.join(this.sourceRoot,D)));var W=ze.getArg(C,"name",null);return null!==W&&(W=this._names.at(W)),{source:D,line:ze.getArg(C,"originalLine",null),column:ze.getArg(C,"originalColumn",null),name:W}}}return{source:null,line:null,column:null,name:null}},Yn.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(p){return null==p})},Yn.prototype.sourceContentFor=function(p,h){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(p=ze.relative(this.sourceRoot,p)),this._sources.has(p))return this.sourcesContent[this._sources.indexOf(p)];var v;if(null!=this.sourceRoot&&(v=ze.urlParse(this.sourceRoot))){var C=p.replace(/^file:\/\//,"");if("file"==v.scheme&&this._sources.has(C))return this.sourcesContent[this._sources.indexOf(C)];if((!v.path||"/"==v.path)&&this._sources.has("/"+p))return this.sourcesContent[this._sources.indexOf("/"+p)]}if(h)return null;throw new Error('"'+p+'" is not in the SourceMap.')},Yn.prototype.generatedPositionFor=function(p){var h=ze.getArg(p,"source");if(null!=this.sourceRoot&&(h=ze.relative(this.sourceRoot,h)),!this._sources.has(h))return{line:null,column:null,lastColumn:null};var v={source:h=this._sources.indexOf(h),originalLine:ze.getArg(p,"line"),originalColumn:ze.getArg(p,"column")},C=this._findMapping(v,this._originalMappings,"originalLine","originalColumn",ze.compareByOriginalPositions,ze.getArg(p,"bias",Un.GREATEST_LOWER_BOUND));if(C>=0){var D=this._originalMappings[C];if(D.source===v.source)return{line:ze.getArg(D,"generatedLine",null),column:ze.getArg(D,"generatedColumn",null),lastColumn:ze.getArg(D,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var Wo=Yn;function ko(z){var p=z;"string"==typeof z&&(p=JSON.parse(z.replace(/^\)\]\}'/,"")));var h=ze.getArg(p,"version"),v=ze.getArg(p,"sections");if(h!=this._version)throw new Error("Unsupported version: "+h);this._sources=new Sn,this._names=new Sn;var C={line:-1,column:0};this._sections=v.map(function(D){if(D.url)throw new Error("Support for url field in sections not implemented.");var W=ze.getArg(D,"offset"),_e=ze.getArg(W,"line"),Oe=ze.getArg(W,"column");if(_e=200&&Bt.status<300||"file://"===Ot.substr(0,7)&&Bt.responseText?Ht(Bt.responseText):Qt(new Error("HTTP status: "+Bt.status+" retrieving "+Ot)))},Bt.send()})}function D(Ot){if(typeof window<"u"&&window.atob)return window.atob(Ot);throw new Error("You must supply a polyfill for window.atob in this environment")}function Xe(Ot){if("object"!==Dn(Ot))throw new TypeError("Given StackFrame is not an object");if("string"!=typeof Ot.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof Ot.lineNumber||Ot.lineNumber%1!=0||Ot.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof Ot.columnNumber||Ot.columnNumber%1!=0||Ot.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}return function Ot(Ht){if(!(this instanceof Ot))return new Ot(Ht);this.sourceCache=(Ht=Ht||{}).sourceCache||{},this.sourceMapConsumerCache=Ht.sourceMapConsumerCache||{},this.ajax=Ht.ajax||C,this._atob=Ht.atob||D,this._get=function(Bt){return new Promise(function(an,_n){var Ln="data:"===Bt.substr(0,5);if(this.sourceCache[Bt])an(this.sourceCache[Bt]);else if(Ht.offline&&!Ln)_n(new Error("Cannot make network requests in offline mode"));else if(Ln){var dn=Bt.match(/^data:application\/json;([\w=:"-]+;)*base64,/);if(dn){var In=Bt.substr(dn[0].length),eo=this._atob(In);this.sourceCache[Bt]=eo,an(eo)}else _n(new Error("The encoding of the inline sourcemap is not supported"))}else{var Mo=this.ajax(Bt,{method:"get"});this.sourceCache[Bt]=Mo,Mo.then(an,_n)}}.bind(this))},this._getSourceMapConsumer=function(Bt,an){return new Promise(function(_n){if(this.sourceMapConsumerCache[Bt])_n(this.sourceMapConsumerCache[Bt]);else{var Ln=new Promise(function(en,dn){return this._get(Bt).then(function(Nn){"string"==typeof Nn&&(Nn=function W(Ot){if(typeof JSON<"u"&&JSON.parse)return JSON.parse(Ot);throw new Error("You must supply a polyfill for JSON.parse in this environment")}(Nn.replace(/^\)\]\}'/,""))),typeof Nn.sourceRoot>"u"&&(Nn.sourceRoot=an),en(new h.SourceMapConsumer(Nn))},dn)}.bind(this));this.sourceMapConsumerCache[Bt]=Ln,_n(Ln)}}.bind(this))},this.pinpoint=function(Bt){return new Promise(function(an,_n){this.getMappedLocation(Bt).then(function(Ln){function en(){an(Ln)}this.findFunctionName(Ln).then(an,en).catch(en)}.bind(this),_n)}.bind(this))},this.findFunctionName=function(Bt){return new Promise(function(an,_n){Xe(Bt),this._get(Bt.fileName).then(function(en){var dn=Bt.lineNumber,Nn=Bt.columnNumber,In=function _e(Ot,Ht){for(var Qt=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],Bt=Ot.split("\n"),an="",_n=Math.min(Ht,20),Ln=0;Ln<_n;++Ln){var en=Bt[Ht-Ln-1],dn=en.indexOf("//");if(dn>=0&&(en=en.substr(0,dn)),en){an=en+an;for(var Nn=Qt.length,In=0;In0&&void 0!==arguments[0]?arguments[0]:{},D=C.sourceMaps,W=void 0!==D&&D;return zn(this,h),Ye(J(v=p.call(this,"stackTrace")),"sourceCache_",void 0),Ye(J(v),"sourceMaps_",void 0),v.sourceCache_={},v.sourceMaps_=W,v}return xt(h,[{key:"beforeSubscribe",value:function(C){var D=this,W=this.getStackFrames_();this.sourceMaps_&&typeof window<"u"&&"file:"!==window.location.protocol?bn(C,{mappedStackTrace:(0,L.P)(function(){var _e=new ui({sourceCache:D.sourceCache_});return Promise.all(W.map(function(Oe){return _e.pinpoint(Oe).catch(function(){return Oe})}))}).pipe((0,e.d)(1),Ro()),stackTrace:W}):bn(C,{mappedStackTrace:(0,s.of)(W).pipe(Ro()),stackTrace:W})}},{key:"teardown",value:function(){this.sourceCache_={}}},{key:"getStackFrames_",value:function(){try{throw new Error}catch(D){var C=!0;return K.parse(D).filter(function(W){var _e=!C;return/coreSubscribe_/.test(W.functionName||"")&&(C=!1),_e})}}}]),h}(jt),pi=Symbol("cycleDetected"),Fi=Symbol("cycleWarned"),oo=function(z){$e(h,z);var p=Pe(h);function h(v,C){var D;return zn(this,h),Ye(J(D=p.call(this,"cycle")),"logger_",void 0),Ye(J(D),"nexts_",[]),Ye(J(D),"spy_",void 0),D.logger_=ve(C),D.spy_=v,D}return xt(h,[{key:"afterNext",value:function(C,D){this.nexts_.pop()}},{key:"beforeNext",value:function(C,D){var W=this.logger_,_e=this.nexts_,Oe=this.spy_,Xe=C.observable,mt=C.subscription;if(-1!==_e.indexOf(C)&&!mt[pi]&&(mt[pi]=!0,-1===_e.findIndex(function(Qt){return Qt.subscription[Fi]}))){mt[Fi]=!0;var Mt=To(C);0===Mt.length&&Oe.warnOnce(console,"Stack tracing is not enabled; add the StackTracePlugin before the CyclePlugin.");var Ot=Mt.length?"; subscribed at\n".concat(Mt.join("\n")):"",Ht=gt(Xe);W.warn("Cyclic next detected; type = ".concat(Ht,"; value = ").concat(D).concat(Ot))}_e.push(C)}}]),h}(jt),Zi=function(z){$e(h,z);var p=Pe(h);function h(v,C){var D;return zn(this,h),Ye(J(D=p.call(this,"debug(".concat(ct(v),")"))),"notifications_",void 0),Ye(J(D),"matcher_",void 0),D.notifications_=C,D.matcher_=function(W,_e){return _t(W,v)&&-1!==D.notifications_.indexOf(_e)},D}return xt(h,[{key:"beforeComplete",value:function(C){(0,this.matcher_)(C,"complete")}},{key:"beforeError",value:function(C,D){(0,this.matcher_)(C,"error")}},{key:"beforeNext",value:function(C,D){(0,this.matcher_)(C,"next")}},{key:"beforeSubscribe",value:function(C){(0,this.matcher_)(C,"subscribe")}},{key:"beforeUnsubscribe",value:function(C){(0,this.matcher_)(C,"unsubscribe")}}]),h}(jt),Ji=Symbol("graphRef");function Ei(z){return z[Ji]}var qe=function(z){$e(h,z);var p=Pe(h);function h(){var v,C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},D=C.keptDuration,W=void 0===D?3e4:D;return zn(this,h),Ye(J(v=p.call(this,"graph")),"flushIntervalId_",void 0),Ye(J(v),"flushQueue_",void 0),Ye(J(v),"keptDuration_",void 0),Ye(J(v),"notifications_",void 0),Ye(J(v),"sentinel_",void 0),v.flushIntervalId_=void 0,v.flushQueue_=[],v.keptDuration_=W,v.notifications_=[],v.sentinel_={depth:0,flattened:!1,flattenings:[],flatteningsFlushed:0,link:void 0,rootSink:void 0,sentinel:void 0,sink:void 0,sources:[],sourcesFlushed:0},v.sentinel_.link=v.sentinel_,v.sentinel_.sentinel=v.sentinel_,v}return xt(h,[{key:"afterNext",value:function(C,D){this.notifications_.pop()}},{key:"afterSubscribe",value:function(C){this.notifications_.pop()}},{key:"afterUnsubscribe",value:function(C){this.notifications_.pop(),this.flush_(C)}},{key:"beforeNext",value:function(C,D){this.notifications_.push({notification:"next",ref:C})}},{key:"beforeSubscribe",value:function(C){var D=this.notifications_,W=this.sentinel_,_e=function jr(z,p){return z[Ji]=p,p}(C,{depth:1,flattened:!1,flattenings:[],flatteningsFlushed:0,link:W,rootSink:void 0,sentinel:W,sink:void 0,sources:[],sourcesFlushed:0}),Oe=D.length;if(Oe>0&&"next"===D[Oe-1].notification){var Xe=D[Oe-1].ref,mt=Ei(Xe);mt.flattenings.push(C),_e.link=mt,_e.flattened=!0,_e.rootSink=mt.rootSink||Xe,_e.sink=Xe}else for(var Mt=Oe-1;Mt>-1;--Mt)if("subscribe"===D[Mt].notification){var Ot=D[Oe-1].ref,Ht=Ei(Ot);Ht.sources.push(C),_e.depth=Ht.depth+1,_e.link=Ht,_e.rootSink=Ht.rootSink||Ot,_e.sink=Ot;break}_e.link===_e.sentinel&&_e.sentinel.sources.push(C),D.push({notification:"subscribe",ref:C})}},{key:"beforeUnsubscribe",value:function(C){this.notifications_.push({notification:"unsubscribe",ref:C})}},{key:"teardown",value:function(){void 0!==this.flushIntervalId_&&(clearInterval(this.flushIntervalId_),this.flushIntervalId_=void 0)}},{key:"flush_",value:function(C){var D=this,W=Ei(C),Oe=W.sources;if(C.unsubscribed&&W.flattenings.every(function(Ot){return Ot.unsubscribed})&&Oe.every(function(Ot){return Ot.unsubscribed})){var Xe=this.keptDuration_,mt=W.link,Mt=function(){var Ht=mt.flattenings,Qt=mt.sources,Bt=Ht.indexOf(C);-1!==Bt&&(Ht.splice(Bt,1),++mt.flatteningsFlushed);var an=Qt.indexOf(C);-1!==an&&(Qt.splice(an,1),++mt.sourcesFlushed)};0===Xe?Mt():Xe>0&&Xe<1/0&&(this.flushQueue_.push({due:Date.now()+Xe,flush:Mt}),void 0===this.flushIntervalId_&&(this.flushIntervalId_=setInterval(function(){var Ot=Date.now();D.flushQueue_=D.flushQueue_.filter(function(Ht){return Ht.due>Ot||(Ht.flush(),!1)}),0===D.flushQueue_.length&&(clearInterval(D.flushIntervalId_),D.flushIntervalId_=void 0)},Xe)))}}}]),h}(jt),se=function(z){$e(h,z);var p=Pe(h);function h(v,C){var D,W=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_e=W.complete,Oe=void 0===_e||_e;return zn(this,h),Ye(J(D=p.call(this,"let(".concat(ct(v),")"))),"match_",void 0),Ye(J(D),"select_",void 0),D.match_=v,D.select_=Oe?C:function(Xe){return(0,R.T)(M,C(Xe))},D}return xt(h,[{key:"select",value:function(C){var W=this.select_;if(_t(C,this.match_))return W}}]),h}(jt),Fe=function(z){$e(h,z);var p=Pe(h);function h(v,C){var D;zn(this,h),Ye(J(D=p.call(this,"log(".concat(ct(C),")"))),"auditor_",void 0),Ye(J(D),"logger_",void 0),Ye(J(D),"notificationMatch_",void 0),Ye(J(D),"tagMatch_",void 0),D.auditor_=v.auditor,D.tagMatch_=C;var W=/.+/;switch(arguments.length<=2?0:arguments.length-2){case 0:D.notificationMatch_=W,D.logger_=ve(X);break;case 1:"function"==typeof(arguments.length<=2?void 0:arguments[2])?(D.notificationMatch_=arguments.length<=2?void 0:arguments[2],D.logger_=ve(X)):(D.notificationMatch_=W,D.logger_=ve(arguments.length<=2?void 0:arguments[2]));break;default:D.notificationMatch_=arguments.length<=2?void 0:arguments[2],D.logger_=ve(arguments.length<=3?void 0:arguments[3])}return D}return xt(h,[{key:"beforeComplete",value:function(C){this.log_(C,"complete")}},{key:"beforeError",value:function(C,D){this.log_(C,"error",D)}},{key:"beforeNext",value:function(C,D){this.log_(C,"next",D)}},{key:"beforeSubscribe",value:function(C){this.log_(C,"subscribe")}},{key:"beforeUnsubscribe",value:function(C){this.log_(C,"unsubscribe")}},{key:"log_",value:function(C,D,W){var _e=this,Oe=this.auditor_,Xe=this.notificationMatch_,mt=this.tagMatch_;_t(C,mt)&&_t(C,Xe,D)&&Oe.audit(this,function(Mt){var Ot=_e.logger_,Ht=C.observable,Qt=Xt(Ht),Bt=gt(Ht),an="string"==typeof mt?"":"; matching ".concat(ct(mt)),_n=0===Mt?"":"; ignored ".concat(Mt),Ln=Qt?"Tag = ".concat(Qt,"; notification = ").concat(D).concat(an).concat(_n):"Type = ".concat(Bt,"; notification = ").concat(D).concat(an).concat(_n);switch(D){case"error":Ot.error("".concat(Ln,"; error ="),W);break;case"next":Ot.log("".concat(Ln,"; value ="),W);break;default:Ot.log(Ln)}})}}]),h}(jt),Ue=function(){function z(p){zn(this,z),Ye(this,"teardown",void 0),Ye(this,"match_",void 0),Ye(this,"paused_",!0),Ye(this,"states_",new Map),Ye(this,"stats_",void 0),this.match_=p,this.stats_=new O.x}return xt(z,[{key:"stats",get:function(){return this.stats_.asObservable()}},{key:"paused",get:function(){return this.paused_}},{key:"clear",value:function(){var h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};this.states_.forEach(function(v){v.notifications_=v.notifications_.filter(function(C){return!h(C)})}),this.broadcast_()}},{key:"log",value:function(){var h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X,v=ve(h);v.group("Deck matching ".concat(ct(this.match_))),v.log("Paused =",this.paused_),this.states_.forEach(function(C){v.group("Observable; tag = ".concat(C.tag_)),v.log("Notifications =",C.notifications_),v.groupEnd()}),v.groupEnd()}},{key:"pause",value:function(){this.paused_=!0,this.broadcast_()}},{key:"resume",value:function(){this.states_.forEach(function(h){for(;h.notifications_.length>0;)h.subject_.next(h.notifications_.shift())}),this.paused_=!1,this.broadcast_()}},{key:"select",value:function(h){var v=this,C=h.observable;return function(D){var W=v.states_.get(C);return W?W.subscription_.unsubscribe():(W={notifications_:[],subject_:new O.x,subscription_:void 0,tag_:Xt(C)},v.states_.set(C,W)),W.subscription_=D.pipe(function Y(){return(0,N.e)((z,p)=>{z.subscribe((0,q.x)(p,h=>{p.next(Z.createNext(h))},()=>{p.next(Z.createComplete()),p.complete()},h=>{p.next(Z.createError(h)),p.complete()}))})}(),Ro()).subscribe({next:function(Oe){v.paused_?W.notifications_.push(Oe):W.subject_.next(Oe),v.broadcast_()}}),v.broadcast_(),W.subject_.asObservable().pipe(function k(){return(0,N.e)((z,p)=>{z.subscribe((0,q.x)(p,h=>U(h,p)))})}())}}},{key:"skip",value:function(){this.states_.forEach(function(h){h.notifications_.length>0&&h.notifications_.shift()}),this.broadcast_()}},{key:"step",value:function(){this.states_.forEach(function(h){h.notifications_.length>0&&h.subject_.next(h.notifications_.shift())}),this.broadcast_()}},{key:"unsubscribe",value:function(){this.states_.forEach(function(h){h.subscription_&&(h.subscription_.unsubscribe(),h.subscription_=void 0)}),this.broadcast_()}},{key:"broadcast_",value:function(){var h=this.paused_,C=this.stats_,D=0;this.states_.forEach(function(W){return D+=W.notifications_.length}),C.next({notifications:D,paused:h})}}]),z}(),Tt=function(z){$e(h,z);var p=Pe(h);function h(v){var C;return zn(this,h),Ye(J(C=p.call(this,"pause(".concat(ct(v),")"))),"match_",void 0),Ye(J(C),"deck_",void 0),C.deck_=new Ue(v),C.match_=v,C}return xt(h,[{key:"deck",get:function(){return this.deck_}},{key:"match",get:function(){return this.match_}},{key:"select",value:function(C){var D=this.deck_;if(_t(C,this.match_))return D.select(C)}},{key:"teardown",value:function(){var C=this.deck_;C&&(C.resume(),C.unsubscribe())}}]),h}(jt),Ft=Symbol("snapshotRef");function Gt(z){return z[Ft]}function un(z){var p=[(0,s.of)(null)];return z.forEach(function(v){v.subscriptions?v.subscriptions.forEach(h):h(v)}),(0,F.D)(p).pipe((0,me.h)(void 0),Ro());function h(v){p.push(v.mappedStackTrace),v.rootSink&&p.push(v.rootSink.mappedStackTrace)}}var fn=function(z){$e(h,z);var p=Pe(h);function h(v){var C,D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},W=D.keptValues,_e=void 0===W?4:W;return zn(this,h),Ye(J(C=p.call(this,"snapshot")),"keptValues_",void 0),Ye(J(C),"sentinel_",void 0),Ye(J(C),"spy_",void 0),C.keptValues_=_e,C.sentinel_=void 0,C.spy_=v,C}return xt(h,[{key:"afterUnsubscribe",value:function(C){var D=Gt(C);D.tick=this.spy_.tick,D.unsubscribed=!0}},{key:"beforeComplete",value:function(C){var D=Gt(C);D.tick=this.spy_.tick,D.complete=!0}},{key:"beforeError",value:function(C,D){var W=Gt(C);W.tick=this.spy_.tick,W.error=D}},{key:"beforeNext",value:function(C,D){var W=this.spy_.tick,_e=Gt(C);_e.tick=W,_e.values.push({tick:W,timestamp:Date.now(),value:D});var Xe=_e.values.length-this.keptValues_;Xe>0&&(_e.values.splice(0,Xe),_e.valuesFlushed+=Xe)}},{key:"beforeSubscribe",value:function(C){!function pn(z,p){z[Ft]=p}(C,{complete:!1,error:void 0,tick:this.spy_.tick,timestamp:Date.now(),unsubscribed:!1,values:[],valuesFlushed:0});var D=Ei(C);D?this.sentinel_=D.sentinel:this.spy_.warnOnce(console,"Graphing is not enabled; add the GraphPlugin before the SnapshotPlugin.")}},{key:"snapshotAll",value:function(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},D=C.since,W=new Map,_e=new Map,Oe=new Map,Xe=this.getSubscriptionRefs_();return Xe.forEach(function(mt,Mt){var Ot,Ht=Mt.observable,Qt=Mt.subscriber,Bt=Mt.subscription,an=Ei(Mt),_n=an.flatteningsFlushed,Ln=an.sourcesFlushed,en=Gt(Mt),In=en.tick,eo=en.timestamp,Mo=en.unsubscribed,zi=en.values,Ti=en.valuesFlushed,sa={complete:en.complete,error:en.error,flattenings:new Map,flatteningsFlushed:_n,id:St(Mt),mappedStackTrace:ni(Mt),observable:Ht,rootSink:void 0,sink:void 0,sources:new Map,sourcesFlushed:Ln,stackTrace:To(Mt),subscriber:Qt,subscription:Bt,tick:In,timestamp:eo,unsubscribed:Mo};Oe.set(Bt,sa);var wr=_e.get(Qt);wr||(wr={id:St(Qt),subscriber:Qt,subscriptions:new Map,tick:In,values:[],valuesFlushed:0},_e.set(Qt,wr)),wr.subscriptions.set(Bt,sa),wr.tick=Math.max(wr.tick,In),(Ot=wr.values).push.apply(Ot,it(zi)),wr.valuesFlushed+=Ti;var Pr=W.get(Ht);Pr||(Pr={id:St(Ht),observable:Ht,path:ot(Ht),subscriptions:new Map,tag:Xt(Ht),tick:In,type:gt(Ht)},W.set(Ht,Pr)),Pr.subscriptions.set(Bt,sa),Pr.tick=Math.max(Pr.tick,In)}),Xe.forEach(function(mt,Mt){var Ot=Ei(Mt),Ht=Oe.get(Mt.subscription);Ot.sink&&(Ht.sink=Oe.get(Ot.sink.subscription)),Ot.rootSink&&(Ht.rootSink=Oe.get(Ot.rootSink.subscription)),Ot.flattenings.forEach(function(Qt){return Ht.flattenings.set(Qt.subscription,Oe.get(Qt.subscription))}),Ot.sources.forEach(function(Qt){return Ht.sources.set(Qt.subscription,Oe.get(Qt.subscription))})}),_e.forEach(function(mt){mt.values.sort(function(Mt,Ot){return Mt.tick-Ot.tick})}),void 0!==D&&(W.forEach(function(mt,Mt){mt.tick<=D.tick&&W.delete(Mt)}),_e.forEach(function(mt,Mt){mt.tick<=D.tick&&_e.delete(Mt)}),Oe.forEach(function(mt,Mt){mt.tick<=D.tick&&Oe.delete(Mt)})),{mapStackTraces:un,observables:W,subscribers:_e,subscriptions:Oe,tick:this.spy_.tick}}},{key:"snapshotObservable",value:function(C){return this.snapshotAll().observables.get(C.observable)}},{key:"snapshotSubscriber",value:function(C){return this.snapshotAll().subscribers.get(C.subscriber)}},{key:"addSubscriptionRefs_",value:function(C,D){var W=this;D.set(C,!0);var _e=Ei(C);_e.flattenings.forEach(function(Oe){return W.addSubscriptionRefs_(Oe,D)}),_e.sources.forEach(function(Oe){return W.addSubscriptionRefs_(Oe,D)})}},{key:"getSubscriptionRefs_",value:function(){var C=this,D=this.sentinel_,W=new Map;return D&&D.sources.forEach(function(_e){return C.addSubscriptionRefs_(_e,W)}),W}}]),h}(jt),On=function(z){$e(h,z);var p=Pe(h);function h(v){var C;return zn(this,h),Ye(J(C=p.call(this,"stats")),"spy_",void 0),Ye(J(C),"stats_",void 0),Ye(J(C),"time_",void 0),C.spy_=v,C.stats_={completes:0,errors:0,flattenedSubscribes:0,leafSubscribes:0,maxDepth:0,nexts:0,rootSubscribes:0,subscribes:0,tick:0,timespan:0,totalDepth:0,unsubscribes:0},C.time_=0,C}return xt(h,[{key:"afterSubscribe",value:function(C){var D=this.stats_,W=Ei(C);if(W){var _e=W.depth,Oe=W.flattened,Xe=W.flattenings,mt=W.flatteningsFlushed,Ot=W.sources,Ht=W.sourcesFlushed;W.rootSink||(D.rootSubscribes+=1),Oe&&(D.flattenedSubscribes+=1),Xe.length+mt+Ot.length+Ht===0&&(D.maxDepth<_e&&(D.maxDepth=_e),D.leafSubscribes+=1,D.totalDepth+=_e)}}},{key:"beforeComplete",value:function(C){++this.stats_.completes,this.all_()}},{key:"beforeError",value:function(C,D){++this.stats_.errors,this.all_()}},{key:"beforeNext",value:function(C,D){++this.stats_.nexts,this.all_()}},{key:"beforeSubscribe",value:function(C){++this.stats_.subscribes,this.all_()}},{key:"beforeUnsubscribe",value:function(C){++this.stats_.unsubscribes,this.all_()}},{key:"stats",get:function(){return function sn(z){for(var p=1;p0&&(this.timeoutId_=setTimeout(function(){for(var W=Date.now()-v;C.length>0&&C[0].timestamp<=W;){var _e=C.shift();_e.task(_e.ignored)}h.timeoutId_=void 0,h.wait_()},Math.max(0,C[0].timestamp+v-Date.now())))}}]),z}(),En=function(){function z(p){zn(this,z),Ye(this,"detectorRecords_",void 0),Ye(this,"snapshotPlugin_",void 0),Ye(this,"spy_",void 0),this.detectorRecords_=new Map,this.snapshotPlugin_=p.find(fn),this.spy_=p}return xt(z,[{key:"detect",value:function(h){var v=this.detectorRecords_,C=this.snapshotPlugin_,D=this.spy_;if(C){var W=v.get(h),_e=this.record_(C.snapshotAll());if(W?W.snapshotRecords.push(_e):v.set(h,W={snapshotRecords:[_e]}),W.snapshotRecords.length>2&&W.snapshotRecords.shift(),!(W.snapshotRecords.length<2)){var Oe=function Ge(z,p){return function Ut(z){if(Array.isArray(z))return z}(z)||function Je(z,p){var h=z&&(typeof Symbol<"u"&&z[Symbol.iterator]||z["@@iterator"]);if(null!=h){var W,_e,v=[],C=!0,D=!1;try{for(h=h.call(z);!(C=(W=h.next()).done)&&(v.push(W.value),!p||v.length!==p);C=!0);}catch(Oe){D=!0,_e=Oe}finally{try{!C&&null!=h.return&&h.return()}finally{if(D)throw _e}}return v}}(z,p)||et(z,p)||function zt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(W.snapshotRecords,2);return this.compare_(h,Oe[0],Oe[1])}}else D.warnOnce(console,"Snapshotting is not enabled.")}},{key:"compare_",value:function(h,v,C){var D=[],W=[],_e=[],Oe=[],Xe=v.rootSubscriptions,mt=C.rootSubscriptions;if(Xe.forEach(function(Mt,Ot){mt.has(Ot)||W.push(Mt)}),mt.forEach(function(Mt,Ot){var Ht=Xe.get(Ot);if(Ht){var Qt=Ht.flattenings,Bt=Mt.flattenings;Qt.forEach(function(an,_n){Bt.has(_n)||Oe.push(an)}),Bt.forEach(function(an,_n){Qt.has(_n)||_e.push(an)})}else D.push(Mt)}),0!==_e.length||0!==Oe.length||0!==D.length||0!==W.length)return{flatteningSubscriptions:_e,flatteningUnsubscriptions:Oe,subscriptions:D.map(function(Mt){return Mt.subscriptionSnapshot}),unsubscriptions:W.map(function(Mt){return Mt.subscriptionSnapshot})}}},{key:"findFlatteningSubscriptions_",value:function(h,v){var C=v.flattenings,D=v.subscriptionSnapshot;h.subscriptions.forEach(function(W){W.rootSink===D&&W.flattenings.forEach(function(_e){var Oe=_e.subscription;Oe.closed||C.set(Oe,_e)})})}},{key:"findRootSubscriptions_",value:function(h,v){var C=this;h.observables.forEach(function(D){D.subscriptions.forEach(function(W){var mt=W.subscription;if(!(W.complete||W.error||W.sink||mt.closed)){var Mt={flattenings:new Map,subscriptionSnapshot:W};C.findFlatteningSubscriptions_(h,Mt),v.set(mt,Mt)}})})}},{key:"record_",value:function(h){var v=new Map;return this.findRootSubscriptions_(h,v),{rootSubscriptions:v,snapshot:h}}}]),z}();function Pn(z){var p=z.operator;return Boolean(p&&p.hide)}function Xn(z){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return{deck:function(v){p();var C=z.findAll(Tt);if(void 0!==v){var W=C[v-1];return W?W.deck:void 0}var D=ve(X);D.group("".concat(C.length," Deck(s)")),C.forEach(function(_e,Oe){return D.log("".concat(Oe+1," pause(").concat(_e.name,")"))}),D.groupEnd()},debug:function(){p();for(var v=arguments.length,C=new Array(v),D=0;D0&&void 0!==arguments[0]?arguments[0]:"";p(),ye(v)},flush:function(){p(),z.flush()},inferPath:ot,inferType:gt,let:function(){p();for(var v=arguments.length,C=new Array(v),D=0;D0&&void 0!==arguments[0]?arguments[0]:{};if(zn(this,z),Ye(this,"auditor_",void 0),Ye(this,"defaultLogger_",void 0),Ye(this,"maxLogged_",20),Ye(this,"plugins_",void 0),Ye(this,"pluginsSubject_",void 0),Ye(this,"teardown_",void 0),Ye(this,"tick_",void 0),Ye(this,"undos_",void 0),Ye(this,"warned_",void 0),z.spy_)throw new Error("Already spying on Observable.prototype.subscribe.");h.warning&&console.warn("Spying on Observable.prototype.subscribe."),z.spy_=this,g.y.prototype.subscribe=z.coreSubscribe_,this.auditor_=new Tn(h.audit||0),this.defaultLogger_=h.defaultLogger||X,this.plugins_=!1===h.defaultPlugins?[]:[new Co(h),new qe(h),new fn(this,h),new oo(this,this.defaultLogger_),new On(this)],this.pluginsSubject_=new V.X(this.plugins_),this.tick_=0,this.undos_=[],this.warned_={};var v=new En(this);H(function(C){return p.detect_(C,v)}),typeof window<"u"&&[h.global||"spy","rxSpy"].forEach(function(C){window.hasOwnProperty(C)&&(p.defaultLogger_.log("Overwriting window.".concat(C)),Vn[C]=window[C]),window[C]=Xn(p,"rxSpy"===C?function(){return p.warnOnce(p.defaultLogger_,"window.".concat(C," is deprecated and has been renamed; use window.spy instead"))}:void 0)}),this.teardown_=function(){typeof window<"u"&&[h.global||"spy","rxSpy"].forEach(function(C){Vn.hasOwnProperty(C)?(p.defaultLogger_.log("Restoring window.".concat(C)),window[C]=Vn[C],delete Vn[C]):delete window[C]}),H(void 0),p.plugins_.forEach(function(C){return C.teardown()}),p.plugins_=[],p.pluginsSubject_.next(p.plugins_),p.undos_=[],z.spy_=void 0,g.y.prototype.subscribe=xn}}return xt(z,[{key:"auditor",get:function(){return this.auditor_}},{key:"tick",get:function(){return this.tick_}},{key:"undos",get:function(){return it(this.undos_)}},{key:"version",get:function(){return"8.0.2"}},{key:"debug",value:function(h){for(var v=arguments.length,C=new Array(v>1?v-1:0),D=1;Dmt?Xe.length-mt:0;Mt&&Xe.splice(mt,Mt),Oe.group("".concat(Xe.length+Mt," snapshot(s) found"));var Ot=Xe.length>3?"groupCollapsed":"group";Xe.forEach(function(Ht){var Qt=Ht.observable;Oe[Ot].call(Oe,Qt.tag?"Tag = ".concat(Qt.tag):"Type = ".concat(Qt.type)),Oe.log("Path =",Qt.path);var Bt=Ht.subs,an=Ht.subs.length>3?"groupCollapsed":"group";Oe.group("".concat(Bt.length," subscriber(s)")),Bt.forEach(function(_n){var Ln=_n.subscription,en=_n.subscriber,dn=en.values,Nn=en.valuesFlushed;Oe[an].call(Oe,"Subscriber"),Oe.log("Value count =",dn.length+Nn),dn.length>0&&Oe.log("Last value =",dn[dn.length-1].value),uo(Oe,Ln),Array.from(en.subscriptions.values()).filter(function(eo){return eo!==Ln}).forEach(function(eo){Oe.groupCollapsed("Other subscription"),uo(Oe,eo),Oe.groupEnd()}),Oe.groupEnd()}),Oe.groupEnd(),Oe.groupEnd()}),Mt&&Oe.log("... another ".concat(Mt," snapshot(s) not logged.")),Oe.groupEnd()})}else this.warnOnce(console,"Snapshotting is not enabled.")}},{key:"show",value:function(h,v){var C=/.+/;h?"function"==typeof h.log&&(v=h,h=C):h=C;var D=this.find(fn);if(D){var W=D.snapshotAll(),_e=Array.from(W.observables.values()).filter(function(Mt){return _t(Mt.observable,h)}),Oe=ve(v||this.defaultLogger_),Xe=this.maxLogged_,mt=_e.length>Xe?_e.length-Xe:0;mt&&_e.splice(Xe,mt),W.mapStackTraces(_e).subscribe(function(){Oe.group("".concat(_e.length+mt," snapshot(s) matching ").concat(ct(h)));var Mt=_e.length>3?"groupCollapsed":"group";_e.forEach(function(Ot){Oe[Mt].call(Oe,Ot.tag?"Tag = ".concat(Ot.tag):"Type = ".concat(Ot.type)),Oe.log("Path =",Ot.path);var Ht=Ot.subscriptions,Qt=Ht.size>3?"groupCollapsed":"group";Oe.group("".concat(Ht.size," subscriber(s)")),Ht.forEach(function(Bt){var an=W.subscribers.get(Bt.subscriber);if(an){var _n=an.values,Ln=an.valuesFlushed;Oe[Qt].call(Oe,"Subscriber"),Oe.log("Value count =",_n.length+Ln),_n.length>0&&Oe.log("Last value =",_n[_n.length-1].value),uo(Oe,Bt),Array.from(an.subscriptions.values()).filter(function(dn){return dn!==Bt}).forEach(function(dn){Oe.groupCollapsed("Other subscription"),uo(Oe,dn),Oe.groupEnd()}),Oe.groupEnd()}else Oe.warn("Cannot find subscriber snapshot")}),Oe.groupEnd(),Oe.groupEnd()}),mt&&Oe.log("... another ".concat(mt," snapshot(s) not logged.")),Oe.groupEnd()})}else this.warnOnce(console,"Snapshotting is not enabled.")}},{key:"stats",value:function(h){var v=this.find(On);if(v){var C=v.stats,D=C.leafSubscribes,W=C.maxDepth,_e=C.flattenedSubscribes,Oe=C.rootSubscribes,Xe=C.totalDepth,mt=ve(h||this.defaultLogger_);mt.group("Stats"),mt.log("Subscribes =",C.subscribes),Oe>0&&mt.log("Root subscribes =",Oe),D>0&&mt.log("Leaf subscribes =",D),_e>0&&mt.log("Flattened subscribes =",_e),mt.log("Unsubscribes =",C.unsubscribes),mt.log("Nexts =",C.nexts),mt.log("Errors =",C.errors),mt.log("Completes =",C.completes),W>0&&(mt.log("Max. depth =",W),mt.log("Avg. depth =",(Xe/D).toFixed(1))),mt.log("Tick =",C.tick),mt.log("Timespan =",C.timespan),mt.groupEnd()}else this.warnOnce(console,"Stats are not enabled.")}},{key:"teardown",value:function(){this.teardown_&&(this.teardown_(),this.teardown_=void 0)}},{key:"unplug",value:function(){for(var h=this,v=arguments.length,C=new Array(v),D=0;D2?C-2:0),W=2;W2?D-2:0),_e=2;_e0){this.preSelectSubject||(this.preSelectSubject=new O.x),this.postSelectSubscription&&this.postSelectSubscription.unsubscribe();var an=this.preSelectSubject.asObservable();Bt.forEach(function(_n){return an=_n(an)}),this.postSelectSubscription=an.pipe(Ro()).subscribe(Mt)}else this.postSelectSubscription&&(this.postSelectSubscription.unsubscribe(),this.postSelectSubscription=void 0,this.preSelectSubject=void 0)},next:function(Qt){this.preSelectSubject?this.preSelectSubject.next(Qt):this.postSelectObserver.next(Qt)},postSelectObserver:Mt,postSelectSubscription:void 0,preSelectSubject:void 0,unsubscribe:function(){this.unsubscribed||(this.unsubscribed=!0,!this.completed&&!this.errored&&this.postSelectSubscription&&(this.postSelectSubscription.unsubscribe(),this.postSelectSubscription=void 0))},unsubscribed:!1};return Oe.add(v.pluginsSubject_.pipe(Ro()).subscribe({next:function(Qt){return Ot.let(Qt)}})),_e(function(Ht){return Ht.beforeSubscribe(Xe)},function(){Oe.add(xn.call(h,Ot)),Oe.add(function(){return Ot.unsubscribe()})},function(Ht){return Ht.afterSubscribe(Xe)}),Oe}}]),z}();function uo(z,p){var v=p.error,C=p.unsubscribed;z.log("State =",p.complete?"complete":v?"error":"incomplete"),v&&z.error("Error =",v),C&&z.log("Unsubscribed =",!0),function ho(z,p){var v=p.rootSink;(v?v.mappedStackTrace:p.mappedStackTrace).subscribe(function(D){return z.log("Root subscribe",D)})}(z,p)}Ye(Zn,"spy_",void 0);var bo=a(6895);const _o=void 0,ii=["en",[["a","p"],["AM","PM"],_o],[["AM","PM"],_o,_o],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],_o,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],_o,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",_o,"{1} 'at' {0}",_o],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Bo(z){const h=Math.floor(Math.abs(z)),v=z.toString().replace(/^[^.]*\.?/,"").length;return 1===h&&0===v?1:5}];var oi=a(529),Io=a(7340);function Qo(z){return new o.vHH(3e3,!1)}function Oi(){return typeof window<"u"&&typeof window.document<"u"}function $i(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function fi(z){switch(z.length){case 0:return new Io.ZN;case 1:return z[0];default:return new Io.ZE(z)}}function lo(z,p,h,v,C=new Map,D=new Map){const W=[],_e=[];let Oe=-1,Xe=null;if(v.forEach(mt=>{const Mt=mt.get("offset"),Ot=Mt==Oe,Ht=Ot&&Xe||new Map;mt.forEach((Qt,Bt)=>{let an=Bt,_n=Qt;if("offset"!==Bt)switch(an=p.normalizePropertyName(an,W),_n){case Io.k1:_n=C.get(Bt);break;case Io.l3:_n=D.get(Bt);break;default:_n=p.normalizeStyleValue(Bt,an,_n,W)}Ht.set(an,_n)}),Ot||_e.push(Ht),Xe=Ht,Oe=Mt}),W.length)throw function kt(z){return new o.vHH(3502,!1)}();return _e}function Qs(z,p,h,v){switch(p){case"start":z.onStart(()=>v(h&&Ee(h,"start",z)));break;case"done":z.onDone(()=>v(h&&Ee(h,"done",z)));break;case"destroy":z.onDestroy(()=>v(h&&Ee(h,"destroy",z)))}}function Ee(z,p,h){const D=Ce(z.element,z.triggerName,z.fromState,z.toState,p||z.phaseName,h.totalTime??z.totalTime,!!h.disabled),W=z._data;return null!=W&&(D._data=W),D}function Ce(z,p,h,v,C="",D=0,W){return{element:z,triggerName:p,fromState:h,toState:v,phaseName:C,totalTime:D,disabled:!!W}}function de(z,p,h){let v=z.get(p);return v||z.set(p,v=h),v}function lt(z){const p=z.indexOf(":");return[z.substring(1,p),z.slice(p+1)]}let hn=(z,p)=>!1,Gn=(z,p,h)=>[],qo=null;function gn(z){const p=z.parentNode||z.host;return p===qo?null:p}($i()||typeof Element<"u")&&(Oi()?(qo=(()=>document.documentElement)(),hn=(z,p)=>{for(;p;){if(p===z)return!0;p=gn(p)}return!1}):hn=(z,p)=>z.contains(p),Gn=(z,p,h)=>{if(h)return Array.from(z.querySelectorAll(p));const v=z.querySelector(p);return v?[v]:[]});let wi=null,ai=!1;const os=hn,Pi=Gn;let ys=(()=>{class z{validateStyleProperty(h){return function _s(z){wi||(wi=function gi(){return typeof document<"u"?document.body:null}()||{},ai=!!wi.style&&"WebkitAppearance"in wi.style);let p=!0;return wi.style&&!function pa(z){return"ebkit"==z.substring(1,6)}(z)&&(p=z in wi.style,!p&&ai&&(p="Webkit"+z.charAt(0).toUpperCase()+z.slice(1)in wi.style)),p}(h)}matchesElement(h,v){return!1}containsElement(h,v){return os(h,v)}getParentElement(h){return gn(h)}query(h,v,C){return Pi(h,v,C)}computeStyle(h,v,C){return C||""}animate(h,v,C,D,W,_e=[],Oe){return new Io.ZN(C,D)}}return z.\u0275fac=function(h){return new(h||z)},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac}),z})(),Ws=(()=>{class z{}return z.NOOP=new ys,z})();const cr="ng-enter",_i="ng-leave",cc="ng-trigger",Qr=".ng-trigger",Wc="ng-animating",lr=".ng-animating";function yr(z){if("number"==typeof z)return z;const p=z.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:Nr(parseFloat(p[1]),p[2])}function Nr(z,p){return"s"===p?1e3*z:z}function Cs(z,p,h){return z.hasOwnProperty("duration")?z:function Lr(z,p,h){let C,D=0,W="";if("string"==typeof z){const _e=z.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===_e)return p.push(Qo()),{duration:0,delay:0,easing:""};C=Nr(parseFloat(_e[1]),_e[2]);const Oe=_e[3];null!=Oe&&(D=Nr(parseFloat(Oe),_e[4]));const Xe=_e[5];Xe&&(W=Xe)}else C=z;if(!h){let _e=!1,Oe=p.length;C<0&&(p.push(function Si(){return new o.vHH(3100,!1)}()),_e=!0),D<0&&(p.push(function Ni(){return new o.vHH(3101,!1)}()),_e=!0),_e&&p.splice(Oe,0,Qo())}return{duration:C,delay:D,easing:W}}(z,p,h)}function Zs(z,p={}){return Object.keys(z).forEach(h=>{p[h]=z[h]}),p}function Cr(z){const p=new Map;return Object.keys(z).forEach(h=>{p.set(h,z[h])}),p}function ss(z,p=new Map,h){if(h)for(let[v,C]of h)p.set(v,C);for(let[v,C]of z)p.set(v,C);return p}function zs(z,p,h){return h?p+":"+h+";":""}function uc(z){let p="";for(let h=0;h{const D=Pa(C);h&&!h.has(C)&&h.set(C,z.style[D]),z.style[D]=v}),$i()&&uc(z))}function as(z,p){z.style&&(p.forEach((h,v)=>{const C=Pa(v);z.style[C]=""}),$i()&&uc(z))}function zr(z){return Array.isArray(z)?1==z.length?z[0]:(0,Io.vP)(z):z}const er=new RegExp("{{\\s*(.+?)\\s*}}","g");function ci(z){let p=[];if("string"==typeof z){let h;for(;h=er.exec(z);)p.push(h[1]);er.lastIndex=0}return p}function kr(z,p,h){const v=z.toString(),C=v.replace(er,(D,W)=>{let _e=p[W];return null==_e&&(h.push(function ri(z){return new o.vHH(3003,!1)}()),_e=""),_e.toString()});return C==v?z:C}function dc(z){const p=[];let h=z.next();for(;!h.done;)p.push(h.value),h=z.next();return p}const ha=/-+([a-z0-9])/g;function Pa(z){return z.replace(ha,(...p)=>p[1].toUpperCase())}function fa(z){return z.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function le(z,p,h){switch(p.type){case 7:return z.visitTrigger(p,h);case 0:return z.visitState(p,h);case 1:return z.visitTransition(p,h);case 2:return z.visitSequence(p,h);case 3:return z.visitGroup(p,h);case 4:return z.visitAnimate(p,h);case 5:return z.visitKeyframes(p,h);case 6:return z.visitStyle(p,h);case 8:return z.visitReference(p,h);case 9:return z.visitAnimateChild(p,h);case 10:return z.visitAnimateRef(p,h);case 11:return z.visitQuery(p,h);case 12:return z.visitStagger(p,h);default:throw function Ki(z){return new o.vHH(3004,!1)}()}}function Ke(z,p){return window.getComputedStyle(z)[p]}function mi(z,p){const h=[];return"string"==typeof z?z.split(/\s*,\s*/).forEach(v=>function Ho(z,p,h){if(":"==z[0]){const Oe=function yi(z,p){switch(z){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,v)=>parseFloat(v)>parseFloat(h);case":decrement":return(h,v)=>parseFloat(v) *"}}(z,h);if("function"==typeof Oe)return void p.push(Oe);z=Oe}const v=z.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return h.push(function da(z){return new o.vHH(3015,!1)}()),p;const C=v[1],D=v[2],W=v[3];p.push(Ri(C,W));"<"==D[0]&&!("*"==C&&"*"==W)&&p.push(Ri(W,C))}(v,h,p)):h.push(z),h}const vi=new Set(["true","1"]),ji=new Set(["false","0"]);function Ri(z,p){const h=vi.has(z)||ji.has(z),v=vi.has(p)||ji.has(p);return(C,D)=>{let W="*"==z||z==C,_e="*"==p||p==D;return!W&&h&&"boolean"==typeof C&&(W=C?vi.has(z):ji.has(z)),!_e&&v&&"boolean"==typeof D&&(_e=D?vi.has(p):ji.has(p)),W&&_e}}const tr=new RegExp("s*:selfs*,?","g");function ur(z,p,h,v){return new pc(z).build(p,h,v)}class pc{constructor(p){this._driver=p}build(p,h,v){const C=new Ms(h);return this._resetContextStyleTimingState(C),le(this,zr(p),C)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,h){let v=h.queryCount=0,C=h.depCount=0;const D=[],W=[];return"@"==p.name.charAt(0)&&h.errors.push(function qi(){return new o.vHH(3006,!1)}()),p.definitions.forEach(_e=>{if(this._resetContextStyleTimingState(h),0==_e.type){const Oe=_e,Xe=Oe.name;Xe.toString().split(/\s*,\s*/).forEach(mt=>{Oe.name=mt,D.push(this.visitState(Oe,h))}),Oe.name=Xe}else if(1==_e.type){const Oe=this.visitTransition(_e,h);v+=Oe.queryCount,C+=Oe.depCount,W.push(Oe)}else h.errors.push(function gr(){return new o.vHH(3007,!1)}())}),{type:7,name:p.name,states:D,transitions:W,queryCount:v,depCount:C,options:null}}visitState(p,h){const v=this.visitStyle(p.styles,h),C=p.options&&p.options.params||null;if(v.containsDynamicStyles){const D=new Set,W=C||{};v.styles.forEach(_e=>{_e instanceof Map&&_e.forEach(Oe=>{ci(Oe).forEach(Xe=>{W.hasOwnProperty(Xe)||D.add(Xe)})})}),D.size&&(dc(D.values()),h.errors.push(function xi(z,p){return new o.vHH(3008,!1)}()))}return{type:0,name:p.name,style:v,options:C?{params:C}:null}}visitTransition(p,h){h.queryCount=0,h.depCount=0;const v=le(this,zr(p.animation),h);return{type:1,matchers:mi(p.expr,h.errors),animation:v,queryCount:h.queryCount,depCount:h.depCount,options:Es(p.options)}}visitSequence(p,h){return{type:2,steps:p.steps.map(v=>le(this,v,h)),options:Es(p.options)}}visitGroup(p,h){const v=h.currentTime;let C=0;const D=p.steps.map(W=>{h.currentTime=v;const _e=le(this,W,h);return C=Math.max(C,h.currentTime),_e});return h.currentTime=C,{type:3,steps:D,options:Es(p.options)}}visitAnimate(p,h){const v=function bs(z,p){if(z.hasOwnProperty("duration"))return z;if("number"==typeof z)return Ss(Cs(z,p).duration,0,"");const h=z;if(h.split(/\s+/).some(D=>"{"==D.charAt(0)&&"{"==D.charAt(1))){const D=Ss(0,0,"");return D.dynamic=!0,D.strValue=h,D}const C=Cs(h,p);return Ss(C.duration,C.delay,C.easing)}(p.timings,h.errors);h.currentAnimateTimings=v;let C,D=p.styles?p.styles:(0,Io.oB)({});if(5==D.type)C=this.visitKeyframes(D,h);else{let W=p.styles,_e=!1;if(!W){_e=!0;const Xe={};v.easing&&(Xe.easing=v.easing),W=(0,Io.oB)(Xe)}h.currentTime+=v.duration+v.delay;const Oe=this.visitStyle(W,h);Oe.isEmptyStep=_e,C=Oe}return h.currentAnimateTimings=null,{type:4,timings:v,style:C,options:null}}visitStyle(p,h){const v=this._makeStyleAst(p,h);return this._validateStyleAst(v,h),v}_makeStyleAst(p,h){const v=[],C=Array.isArray(p.styles)?p.styles:[p.styles];for(let _e of C)"string"==typeof _e?_e===Io.l3?v.push(_e):h.errors.push(new o.vHH(3002,!1)):v.push(Cr(_e));let D=!1,W=null;return v.forEach(_e=>{if(_e instanceof Map&&(_e.has("easing")&&(W=_e.get("easing"),_e.delete("easing")),!D))for(let Oe of _e.values())if(Oe.toString().indexOf("{{")>=0){D=!0;break}}),{type:6,styles:v,easing:W,offset:p.offset,containsDynamicStyles:D,options:null}}_validateStyleAst(p,h){const v=h.currentAnimateTimings;let C=h.currentTime,D=h.currentTime;v&&D>0&&(D-=v.duration+v.delay),p.styles.forEach(W=>{"string"!=typeof W&&W.forEach((_e,Oe)=>{const Xe=h.collectedStyles.get(h.currentQuerySelector),mt=Xe.get(Oe);let Mt=!0;mt&&(D!=C&&D>=mt.startTime&&C<=mt.endTime&&(h.errors.push(function Li(z,p,h,v,C){return new o.vHH(3010,!1)}()),Mt=!1),D=mt.startTime),Mt&&Xe.set(Oe,{startTime:D,endTime:C}),h.options&&function Ui(z,p,h){const v=p.params||{},C=ci(z);C.length&&C.forEach(D=>{v.hasOwnProperty(D)||h.push(function Oo(z){return new o.vHH(3001,!1)}())})}(_e,h.options,h.errors)})})}visitKeyframes(p,h){const v={type:5,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push(function vs(){return new o.vHH(3011,!1)}()),v;let D=0;const W=[];let _e=!1,Oe=!1,Xe=0;const mt=p.steps.map(_n=>{const Ln=this._makeStyleAst(_n,h);let en=null!=Ln.offset?Ln.offset:function Zc(z){if("string"==typeof z)return null;let p=null;if(Array.isArray(z))z.forEach(h=>{if(h instanceof Map&&h.has("offset")){const v=h;p=parseFloat(v.get("offset")),v.delete("offset")}});else if(z instanceof Map&&z.has("offset")){const h=z;p=parseFloat(h.get("offset")),h.delete("offset")}return p}(Ln.styles),dn=0;return null!=en&&(D++,dn=Ln.offset=en),Oe=Oe||dn<0||dn>1,_e=_e||dn0&&D{const en=Ot>0?Ln==Ht?1:Ot*Ln:W[Ln],dn=en*an;h.currentTime=Qt+Bt.delay+dn,Bt.duration=dn,this._validateStyleAst(_n,h),_n.offset=en,v.styles.push(_n)}),v}visitReference(p,h){return{type:8,animation:le(this,zr(p.animation),h),options:Es(p.options)}}visitAnimateChild(p,h){return h.depCount++,{type:9,options:Es(p.options)}}visitAnimateRef(p,h){return{type:10,animation:this.visitReference(p.animation,h),options:Es(p.options)}}visitQuery(p,h){const v=h.currentQuerySelector,C=p.options||{};h.queryCount++,h.currentQuery=p;const[D,W]=function Ts(z){const p=!!z.split(/\s*,\s*/).find(h=>":self"==h);return p&&(z=z.replace(tr,"")),z=z.replace(/@\*/g,Qr).replace(/@\w+/g,h=>Qr+"-"+h.slice(1)).replace(/:animating/g,lr),[z,p]}(p.selector);h.currentQuerySelector=v.length?v+" "+D:D,de(h.collectedStyles,h.currentQuerySelector,new Map);const _e=le(this,zr(p.animation),h);return h.currentQuery=null,h.currentQuerySelector=v,{type:11,selector:D,limit:C.limit||0,optional:!!C.optional,includeSelf:W,animation:_e,originalSelector:p.selector,options:Es(p.options)}}visitStagger(p,h){h.currentQuery||h.errors.push(function js(){return new o.vHH(3013,!1)}());const v="full"===p.timings?{duration:0,delay:0,easing:"full"}:Cs(p.timings,h.errors,!0);return{type:12,animation:le(this,zr(p.animation),h),timings:v,options:null}}}class Ms{constructor(p){this.errors=p,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 Es(z){return z?(z=Zs(z)).params&&(z.params=function wu(z){return z?Zs(z):null}(z.params)):z={},z}function Ss(z,p,h){return{duration:z,delay:p,easing:h}}function Jc(z,p,h,v,C,D,W=null,_e=!1){return{type:1,element:z,keyframes:p,preStyleProps:h,postStyleProps:v,duration:C,delay:D,totalTime:C+D,easing:W,subTimeline:_e}}class cs{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,h){let v=this._map.get(p);v||this._map.set(p,v=[]),v.push(...h)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const Rr=new RegExp(":enter","g"),or=new RegExp(":leave","g");function ir(z,p,h,v,C,D=new Map,W=new Map,_e,Oe,Xe=[]){return(new Ia).buildKeyframes(z,p,h,v,C,D,W,_e,Oe,Xe)}class Ia{buildKeyframes(p,h,v,C,D,W,_e,Oe,Xe,mt=[]){Xe=Xe||new cs;const Mt=new Kc(p,h,Xe,C,D,mt,[]);Mt.options=Oe;const Ot=Oe.delay?yr(Oe.delay):0;Mt.currentTimeline.delayNextStep(Ot),Mt.currentTimeline.setStyles([W],null,Mt.errors,Oe),le(this,v,Mt);const Ht=Mt.timelines.filter(Qt=>Qt.containsAnimation());if(Ht.length&&_e.size){let Qt;for(let Bt=Ht.length-1;Bt>=0;Bt--){const an=Ht[Bt];if(an.element===h){Qt=an;break}}Qt&&!Qt.allowOnlyTimelineStyles()&&Qt.setStyles([_e],null,Mt.errors,Oe)}return Ht.length?Ht.map(Qt=>Qt.buildKeyframes()):[Jc(h,[],[],[],0,Ot,"",!1)]}visitTrigger(p,h){}visitState(p,h){}visitTransition(p,h){}visitAnimateChild(p,h){const v=h.subInstructions.get(h.element);if(v){const C=h.createSubContext(p.options),D=h.currentTimeline.currentTime,W=this._visitSubInstructions(v,C,C.options);D!=W&&h.transformIntoNewTimeline(W)}h.previousNode=p}visitAnimateRef(p,h){const v=h.createSubContext(p.options);v.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],h,v),this.visitReference(p.animation,v),h.transformIntoNewTimeline(v.currentTimeline.currentTime),h.previousNode=p}_applyAnimationRefDelays(p,h,v){for(const C of p){const D=C?.delay;if(D){const W="number"==typeof D?D:yr(kr(D,C?.params??{},h.errors));v.delayNextStep(W)}}}_visitSubInstructions(p,h,v){let D=h.currentTimeline.currentTime;const W=null!=v.duration?yr(v.duration):null,_e=null!=v.delay?yr(v.delay):null;return 0!==W&&p.forEach(Oe=>{const Xe=h.appendInstructionToTimeline(Oe,W,_e);D=Math.max(D,Xe.duration+Xe.delay)}),D}visitReference(p,h){h.updateOptions(p.options,!0),le(this,p.animation,h),h.previousNode=p}visitSequence(p,h){const v=h.subContextCount;let C=h;const D=p.options;if(D&&(D.params||D.delay)&&(C=h.createSubContext(D),C.transformIntoNewTimeline(),null!=D.delay)){6==C.previousNode.type&&(C.currentTimeline.snapshotCurrentStyles(),C.previousNode=xs);const W=yr(D.delay);C.delayNextStep(W)}p.steps.length&&(p.steps.forEach(W=>le(this,W,C)),C.currentTimeline.applyStylesToKeyframe(),C.subContextCount>v&&C.transformIntoNewTimeline()),h.previousNode=p}visitGroup(p,h){const v=[];let C=h.currentTimeline.currentTime;const D=p.options&&p.options.delay?yr(p.options.delay):0;p.steps.forEach(W=>{const _e=h.createSubContext(p.options);D&&_e.delayNextStep(D),le(this,W,_e),C=Math.max(C,_e.currentTimeline.currentTime),v.push(_e.currentTimeline)}),v.forEach(W=>h.currentTimeline.mergeTimelineCollectedStyles(W)),h.transformIntoNewTimeline(C),h.previousNode=p}_visitTiming(p,h){if(p.dynamic){const v=p.strValue;return Cs(h.params?kr(v,h.params,h.errors):v,h.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,h){const v=h.currentAnimateTimings=this._visitTiming(p.timings,h),C=h.currentTimeline;v.delay&&(h.incrementTime(v.delay),C.snapshotCurrentStyles());const D=p.style;5==D.type?this.visitKeyframes(D,h):(h.incrementTime(v.duration),this.visitStyle(D,h),C.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=p}visitStyle(p,h){const v=h.currentTimeline,C=h.currentAnimateTimings;!C&&v.hasCurrentStyleProperties()&&v.forwardFrame();const D=C&&C.easing||p.easing;p.isEmptyStep?v.applyEmptyStep(D):v.setStyles(p.styles,D,h.errors,h.options),h.previousNode=p}visitKeyframes(p,h){const v=h.currentAnimateTimings,C=h.currentTimeline.duration,D=v.duration,_e=h.createSubContext().currentTimeline;_e.easing=v.easing,p.styles.forEach(Oe=>{_e.forwardTime((Oe.offset||0)*D),_e.setStyles(Oe.styles,Oe.easing,h.errors,h.options),_e.applyStylesToKeyframe()}),h.currentTimeline.mergeTimelineCollectedStyles(_e),h.transformIntoNewTimeline(C+D),h.previousNode=p}visitQuery(p,h){const v=h.currentTimeline.currentTime,C=p.options||{},D=C.delay?yr(C.delay):0;D&&(6===h.previousNode.type||0==v&&h.currentTimeline.hasCurrentStyleProperties())&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=xs);let W=v;const _e=h.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!C.optional,h.errors);h.currentQueryTotal=_e.length;let Oe=null;_e.forEach((Xe,mt)=>{h.currentQueryIndex=mt;const Mt=h.createSubContext(p.options,Xe);D&&Mt.delayNextStep(D),Xe===h.element&&(Oe=Mt.currentTimeline),le(this,p.animation,Mt),Mt.currentTimeline.applyStylesToKeyframe(),W=Math.max(W,Mt.currentTimeline.currentTime)}),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(W),Oe&&(h.currentTimeline.mergeTimelineCollectedStyles(Oe),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=p}visitStagger(p,h){const v=h.parentContext,C=h.currentTimeline,D=p.timings,W=Math.abs(D.duration),_e=W*(h.currentQueryTotal-1);let Oe=W*h.currentQueryIndex;switch(D.duration<0?"reverse":D.easing){case"reverse":Oe=_e-Oe;break;case"full":Oe=v.currentStaggerTime}const mt=h.currentTimeline;Oe&&mt.delayNextStep(Oe);const Mt=mt.currentTime;le(this,p.animation,h),h.previousNode=p,v.currentStaggerTime=C.currentTime-Mt+(C.startTime-v.currentTimeline.startTime)}}const xs={};class Kc{constructor(p,h,v,C,D,W,_e,Oe){this._driver=p,this.element=h,this.subInstructions=v,this._enterClassName=C,this._leaveClassName=D,this.errors=W,this.timelines=_e,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=xs,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Oe||new ls(this._driver,h,0),_e.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,h){if(!p)return;const v=p;let C=this.options;null!=v.duration&&(C.duration=yr(v.duration)),null!=v.delay&&(C.delay=yr(v.delay));const D=v.params;if(D){let W=C.params;W||(W=this.options.params={}),Object.keys(D).forEach(_e=>{(!h||!W.hasOwnProperty(_e))&&(W[_e]=kr(D[_e],W,this.errors))})}}_copyOptions(){const p={};if(this.options){const h=this.options.params;if(h){const v=p.params={};Object.keys(h).forEach(C=>{v[C]=h[C]})}}return p}createSubContext(p=null,h,v){const C=h||this.element,D=new Kc(this._driver,C,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(C,v||0));return D.previousNode=this.previousNode,D.currentAnimateTimings=this.currentAnimateTimings,D.options=this._copyOptions(),D.updateOptions(p),D.currentQueryIndex=this.currentQueryIndex,D.currentQueryTotal=this.currentQueryTotal,D.parentContext=this,this.subContextCount++,D}transformIntoNewTimeline(p){return this.previousNode=xs,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,h,v){const C={duration:h??p.duration,delay:this.currentTimeline.currentTime+(v??0)+p.delay,easing:""},D=new Pu(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,C,p.stretchStartingKeyframe);return this.timelines.push(D),C}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,h,v,C,D,W){let _e=[];if(C&&_e.push(this.element),p.length>0){p=(p=p.replace(Rr,"."+this._enterClassName)).replace(or,"."+this._leaveClassName);let Xe=this._driver.query(this.element,p,1!=v);0!==v&&(Xe=v<0?Xe.slice(Xe.length+v,Xe.length):Xe.slice(0,v)),_e.push(...Xe)}return!D&&0==_e.length&&W.push(function Xi(z){return new o.vHH(3014,!1)}()),_e}}class ls{constructor(p,h,v,C){this._driver=p,this.element=h,this.startTime=v,this._elementTimelineStylesLookup=C,this.duration=0,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(h),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(h,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(p){const h=1===this._keyframes.size&&this._pendingStyles.size;this.duration||h?(this.forwardTime(this.currentTime+p),h&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,h){return this.applyStylesToKeyframe(),new ls(this._driver,p,h||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+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,h){this._localTimelineStyles.set(p,h),this._globalTimelineStyles.set(p,h),this._styleSummary.set(p,{time:this.currentTime,value:h})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[h,v]of this._globalTimelineStyles)this._backFill.set(h,v||Io.l3),this._currentKeyframe.set(h,Io.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,h,v,C){h&&this._previousKeyframe.set("easing",h);const D=C&&C.params||{},W=function Iu(z,p){const h=new Map;let v;return z.forEach(C=>{if("*"===C){v=v||p.keys();for(let D of v)h.set(D,Io.l3)}else ss(C,h)}),h}(p,this._globalTimelineStyles);for(let[_e,Oe]of W){const Xe=kr(Oe,D,v);this._pendingStyles.set(_e,Xe),this._localTimelineStyles.has(_e)||this._backFill.set(_e,this._globalTimelineStyles.get(_e)??Io.l3),this._updateStyle(_e,Xe)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,h)=>{this._currentKeyframe.set(h,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,h)=>{this._currentKeyframe.has(h)||this._currentKeyframe.set(h,p)}))}snapshotCurrentStyles(){for(let[p,h]of this._localTimelineStyles)this._pendingStyles.set(p,h),this._updateStyle(p,h)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let h in this._currentKeyframe)p.push(h);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((h,v)=>{const C=this._styleSummary.get(v);(!C||h.time>C.time)&&this._updateStyle(v,h.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,h=new Set,v=1===this._keyframes.size&&0===this.duration;let C=[];this._keyframes.forEach((_e,Oe)=>{const Xe=ss(_e,new Map,this._backFill);Xe.forEach((mt,Mt)=>{mt===Io.k1?p.add(Mt):mt===Io.l3&&h.add(Mt)}),v||Xe.set("offset",Oe/this.duration),C.push(Xe)});const D=p.size?dc(p.values()):[],W=h.size?dc(h.values()):[];if(v){const _e=C[0],Oe=new Map(_e);_e.set("offset",0),Oe.set("offset",1),C=[_e,Oe]}return Jc(this.element,C,D,W,this.duration,this.startTime,this.easing,!1)}}class Pu extends ls{constructor(p,h,v,C,D,W,_e=!1){super(p,h,W.delay),this.keyframes=v,this.preStyleProps=C,this.postStyleProps=D,this._stretchStartingKeyframe=_e,this.timings={duration:W.duration,delay:W.delay,easing:W.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:h,duration:v,easing:C}=this.timings;if(this._stretchStartingKeyframe&&h){const D=[],W=v+h,_e=h/W,Oe=ss(p[0]);Oe.set("offset",0),D.push(Oe);const Xe=ss(p[0]);Xe.set("offset",Aa(_e)),D.push(Xe);const mt=p.length-1;for(let Mt=1;Mt<=mt;Mt++){let Ot=ss(p[Mt]);const Ht=Ot.get("offset");Ot.set("offset",Aa((h+Ht*v)/W)),D.push(Ot)}v=W,h=0,C="",p=D}return Jc(this.element,p,this.preStyleProps,this.postStyleProps,v,h,C,!0)}}function Aa(z,p=3){const h=Math.pow(10,p-1);return Math.round(z*h)/h}class rr{}const Fa=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"]);class ga extends rr{normalizePropertyName(p,h){return Pa(p)}normalizeStyleValue(p,h,v,C){let D="";const W=v.toString().trim();if(Fa.has(h)&&0!==v&&"0"!==v)if("number"==typeof v)D="px";else{const _e=v.match(/^[+-]?[\d\.]+([a-z]*)$/);_e&&0==_e[1].length&&C.push(function si(z,p){return new o.vHH(3005,!1)}())}return W+D}}function br(z,p,h,v,C,D,W,_e,Oe,Xe,mt,Mt,Ot){return{type:0,element:z,triggerName:p,isRemovalTransition:C,fromState:h,fromStyles:D,toState:v,toStyles:W,timelines:_e,queriedElements:Oe,preStyleProps:Xe,postStyleProps:mt,totalTime:Mt,errors:Ot}}const ws={};class _l{constructor(p,h,v){this._triggerName=p,this.ast=h,this._stateStyles=v}match(p,h,v,C){return function y1(z,p,h,v,C){return z.some(D=>D(p,h,v,C))}(this.ast.matchers,p,h,v,C)}buildStyles(p,h,v){let C=this._stateStyles.get("*");return void 0!==p&&(C=this._stateStyles.get(p?.toString())||C),C?C.buildStyles(h,v):new Map}build(p,h,v,C,D,W,_e,Oe,Xe,mt){const Mt=[],Ot=this.ast.options&&this.ast.options.params||ws,Qt=this.buildStyles(v,_e&&_e.params||ws,Mt),Bt=Oe&&Oe.params||ws,an=this.buildStyles(C,Bt,Mt),_n=new Set,Ln=new Map,en=new Map,dn="void"===C,Nn={params:Wr(Bt,Ot),delay:this.ast.options?.delay},In=mt?[]:ir(p,h,this.ast.animation,D,W,Qt,an,Nn,Xe,Mt);let eo=0;if(In.forEach(zi=>{eo=Math.max(zi.duration+zi.delay,eo)}),Mt.length)return br(h,this._triggerName,v,C,dn,Qt,an,[],[],Ln,en,eo,Mt);In.forEach(zi=>{const Ti=zi.element,sa=de(Ln,Ti,new Set);zi.preStyleProps.forEach(Pr=>sa.add(Pr));const wr=de(en,Ti,new Set);zi.postStyleProps.forEach(Pr=>wr.add(Pr)),Ti!==h&&_n.add(Ti)});const Mo=dc(_n.values());return br(h,this._triggerName,v,C,dn,Qt,an,In,Mo,Ln,en,eo)}}function Wr(z,p){const h=Zs(p);for(const v in z)z.hasOwnProperty(v)&&null!=z[v]&&(h[v]=z[v]);return h}class qc{constructor(p,h,v){this.styles=p,this.defaultParams=h,this.normalizer=v}buildStyles(p,h){const v=new Map,C=Zs(this.defaultParams);return Object.keys(p).forEach(D=>{const W=p[D];null!==W&&(C[D]=W)}),this.styles.styles.forEach(D=>{"string"!=typeof D&&D.forEach((W,_e)=>{W&&(W=kr(W,C,h));const Oe=this.normalizer.normalizePropertyName(_e,h);W=this.normalizer.normalizeStyleValue(_e,Oe,W,h),v.set(_e,W)})}),v}}class La{constructor(p,h,v){this.name=p,this.ast=h,this._normalizer=v,this.transitionFactories=[],this.states=new Map,h.states.forEach(C=>{this.states.set(C.name,new qc(C.style,C.options&&C.options.params||{},v))}),yl(this.states,"true","1"),yl(this.states,"false","0"),h.transitions.forEach(C=>{this.transitionFactories.push(new _l(p,C,this.states))}),this.fallbackTransition=function us(z,p,h){return new _l(z,{type:1,animation:{type:2,steps:[],options:null},matchers:[(W,_e)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,h,v,C){return this.transitionFactories.find(W=>W.match(p,h,v,C))||null}matchStyles(p,h,v){return this.fallbackTransition.buildStyles(p,h,v)}}function yl(z,p,h){z.has(p)?z.has(h)||z.set(h,z.get(p)):z.has(h)&&z.set(p,z.get(h))}const Js=new cs;class ka{constructor(p,h,v){this.bodyNode=p,this._driver=h,this._normalizer=v,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,h){const v=[],D=ur(this._driver,h,v,[]);if(v.length)throw function $(z){return new o.vHH(3503,!1)}();this._animations.set(p,D)}_buildPlayer(p,h,v){const C=p.element,D=lo(0,this._normalizer,0,p.keyframes,h,v);return this._driver.animate(C,D,p.duration,p.delay,p.easing,[],!0)}create(p,h,v={}){const C=[],D=this._animations.get(p);let W;const _e=new Map;if(D?(W=ir(this._driver,h,D,cr,_i,new Map,new Map,v,Js,C),W.forEach(mt=>{const Mt=de(_e,mt.element,new Map);mt.postStyleProps.forEach(Ot=>Mt.set(Ot,null))})):(C.push(function Ne(){return new o.vHH(3300,!1)}()),W=[]),C.length)throw function Lt(z){return new o.vHH(3504,!1)}();_e.forEach((mt,Mt)=>{mt.forEach((Ot,Ht)=>{mt.set(Ht,this._driver.computeStyle(Mt,Ht,Io.l3))})});const Xe=fi(W.map(mt=>{const Mt=_e.get(mt.element);return this._buildPlayer(mt,new Map,Mt)}));return this._playersById.set(p,Xe),Xe.onDestroy(()=>this.destroy(p)),this.players.push(Xe),Xe}destroy(p){const h=this._getPlayer(p);h.destroy(),this._playersById.delete(p);const v=this.players.indexOf(h);v>=0&&this.players.splice(v,1)}_getPlayer(p){const h=this._playersById.get(p);if(!h)throw function on(z){return new o.vHH(3301,!1)}();return h}listen(p,h,v,C){const D=Ce(h,"","","");return Qs(this._getPlayer(p),v,D,C),()=>{}}command(p,h,v,C){if("register"==v)return void this.register(p,C[0]);if("create"==v)return void this.create(p,h,C[0]||{});const D=this._getPlayer(p);switch(v){case"play":D.play();break;case"pause":D.pause();break;case"reset":D.reset();break;case"restart":D.restart();break;case"finish":D.finish();break;case"init":D.init();break;case"setPosition":D.setPosition(parseFloat(C[0]));break;case"destroy":this.destroy(p)}}}const Xc="ng-animate-queued",No="ng-animate-disabled",Ps=[],Cl={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Is={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},sr="__ng_removed";class Zr{get params(){return this.options.params}constructor(p,h=""){this.namespaceId=h;const v=p&&p.hasOwnProperty("value");if(this.value=function B(z){return z??null}(v?p.value:p),v){const D=Zs(p);delete D.value,this.options=D}else this.options={};this.options.params||(this.options.params={})}absorbOptions(p){const h=p.params;if(h){const v=this.options.params;Object.keys(h).forEach(C=>{null==v[C]&&(v[C]=h[C])})}}}const As="void",va=new Zr(As);class Ci{constructor(p,h,v){this.id=p,this.hostElement=h,this._engine=v,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,Kt(h,this._hostClassName)}listen(p,h,v,C){if(!this._triggers.has(h))throw function wn(z,p){return new o.vHH(3302,!1)}();if(null==v||0==v.length)throw function no(z){return new o.vHH(3303,!1)}();if(!function re(z){return"start"==z||"done"==z}(v))throw function to(z,p){return new o.vHH(3400,!1)}();const D=de(this._elementListeners,p,[]),W={name:h,phase:v,callback:C};D.push(W);const _e=de(this._engine.statesByElement,p,new Map);return _e.has(h)||(Kt(p,cc),Kt(p,cc+"-"+h),_e.set(h,va)),()=>{this._engine.afterFlush(()=>{const Oe=D.indexOf(W);Oe>=0&&D.splice(Oe,1),this._triggers.has(h)||_e.delete(h)})}}register(p,h){return!this._triggers.has(p)&&(this._triggers.set(p,h),!0)}_getTrigger(p){const h=this._triggers.get(p);if(!h)throw function yo(z){return new o.vHH(3401,!1)}();return h}trigger(p,h,v,C=!0){const D=this._getTrigger(h),W=new Ra(this.id,h,p);let _e=this._engine.statesByElement.get(p);_e||(Kt(p,cc),Kt(p,cc+"-"+h),this._engine.statesByElement.set(p,_e=new Map));let Oe=_e.get(h);const Xe=new Zr(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&Oe&&Xe.absorbOptions(Oe.options),_e.set(h,Xe),Oe||(Oe=va),Xe.value!==As&&Oe.value===Xe.value){if(!function ti(z,p){const h=Object.keys(z),v=Object.keys(p);if(h.length!=v.length)return!1;for(let C=0;C{as(p,an),ki(p,_n)})}return}const Ot=de(this._engine.playersByElement,p,[]);Ot.forEach(Bt=>{Bt.namespaceId==this.id&&Bt.triggerName==h&&Bt.queued&&Bt.destroy()});let Ht=D.matchTransition(Oe.value,Xe.value,p,Xe.params),Qt=!1;if(!Ht){if(!C)return;Ht=D.fallbackTransition,Qt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:h,transition:Ht,fromState:Oe,toState:Xe,player:W,isFallbackTransition:Qt}),Qt||(Kt(p,Xc),W.onStart(()=>{vn(p,Xc)})),W.onDone(()=>{let Bt=this.players.indexOf(W);Bt>=0&&this.players.splice(Bt,1);const an=this._engine.playersByElement.get(p);if(an){let _n=an.indexOf(W);_n>=0&&an.splice(_n,1)}}),this.players.push(W),Ot.push(W),W}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(h=>h.delete(p)),this._elementListeners.forEach((h,v)=>{this._elementListeners.set(v,h.filter(C=>C.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const h=this._engine.playersByElement.get(p);h&&(h.forEach(v=>v.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,h){const v=this._engine.driver.query(p,Qr,!0);v.forEach(C=>{if(C[sr])return;const D=this._engine.fetchNamespacesByElement(C);D.size?D.forEach(W=>W.triggerLeaveAnimation(C,h,!1,!0)):this.clearElementCache(C)}),this._engine.afterFlushAnimationsDone(()=>v.forEach(C=>this.clearElementCache(C)))}triggerLeaveAnimation(p,h,v,C){const D=this._engine.statesByElement.get(p),W=new Map;if(D){const _e=[];if(D.forEach((Oe,Xe)=>{if(W.set(Xe,Oe.value),this._triggers.has(Xe)){const mt=this.trigger(p,Xe,As,C);mt&&_e.push(mt)}}),_e.length)return this._engine.markElementAsRemoved(this.id,p,!0,h,W),v&&fi(_e).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const h=this._elementListeners.get(p),v=this._engine.statesByElement.get(p);if(h&&v){const C=new Set;h.forEach(D=>{const W=D.name;if(C.has(W))return;C.add(W);const Oe=this._triggers.get(W).fallbackTransition,Xe=v.get(W)||va,mt=new Zr(As),Mt=new Ra(this.id,W,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:W,transition:Oe,fromState:Xe,toState:mt,player:Mt,isFallbackTransition:!0})})}}removeNode(p,h){const v=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,h),this.triggerLeaveAnimation(p,h,!0))return;let C=!1;if(v.totalAnimations){const D=v.players.length?v.playersByQueriedElement.get(p):[];if(D&&D.length)C=!0;else{let W=p;for(;W=W.parentNode;)if(v.statesByElement.get(W)){C=!0;break}}}if(this.prepareLeaveAnimationListeners(p),C)v.markElementAsRemoved(this.id,p,!1,h);else{const D=p[sr];(!D||D===Cl)&&(v.afterFlush(()=>this.clearElementCache(p)),v.destroyInnerAnimations(p),v._onRemovalComplete(p,h))}}insertNode(p,h){Kt(p,this._hostClassName)}drainQueuedTransitions(p){const h=[];return this._queue.forEach(v=>{const C=v.player;if(C.destroyed)return;const D=v.element,W=this._elementListeners.get(D);W&&W.forEach(_e=>{if(_e.name==v.triggerName){const Oe=Ce(D,v.triggerName,v.fromState.value,v.toState.value);Oe._data=p,Qs(v.player,_e.phase,Oe,_e.callback)}}),C.markedForDestroy?this._engine.afterFlush(()=>{C.destroy()}):h.push(v)}),this._queue=[],h.sort((v,C)=>{const D=v.transition.ast.depCount,W=C.transition.ast.depCount;return 0==D||0==W?D-W:this._engine.driver.containsElement(v.element,C.element)?1:-1})}destroy(p){this.players.forEach(h=>h.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}elementContainsData(p){let h=!1;return this._elementListeners.has(p)&&(h=!0),h=!!this._queue.find(v=>v.element===p)||h,h}}class Fs{_onRemovalComplete(p,h){this.onRemovalComplete(p,h)}constructor(p,h,v){this.bodyNode=p,this.driver=h,this._normalizer=v,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=(C,D)=>{}}get queuedPlayers(){const p=[];return this._namespaceList.forEach(h=>{h.players.forEach(v=>{v.queued&&p.push(v)})}),p}createNamespace(p,h){const v=new Ci(p,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(v,h):(this.newHostElements.set(h,v),this.collectEnterElement(h)),this._namespaceLookup[p]=v}_balanceNamespaceList(p,h){const v=this._namespaceList,C=this.namespacesByHostElement;if(v.length-1>=0){let W=!1,_e=this.driver.getParentElement(h);for(;_e;){const Oe=C.get(_e);if(Oe){const Xe=v.indexOf(Oe);v.splice(Xe+1,0,p),W=!0;break}_e=this.driver.getParentElement(_e)}W||v.unshift(p)}else v.push(p);return C.set(h,p),p}register(p,h){let v=this._namespaceLookup[p];return v||(v=this.createNamespace(p,h)),v}registerTrigger(p,h,v){let C=this._namespaceLookup[p];C&&C.register(h,v)&&this.totalAnimations++}destroy(p,h){if(!p)return;const v=this._fetchNamespace(p);this.afterFlush(()=>{this.namespacesByHostElement.delete(v.hostElement),delete this._namespaceLookup[p];const C=this._namespaceList.indexOf(v);C>=0&&this._namespaceList.splice(C,1)}),this.afterFlushAnimationsDone(()=>v.destroy(h))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const h=new Set,v=this.statesByElement.get(p);if(v)for(let C of v.values())if(C.namespaceId){const D=this._fetchNamespace(C.namespaceId);D&&h.add(D)}return h}trigger(p,h,v,C){if(b(h)){const D=this._fetchNamespace(p);if(D)return D.trigger(h,v,C),!0}return!1}insertNode(p,h,v,C){if(!b(h))return;const D=h[sr];if(D&&D.setForRemoval){D.setForRemoval=!1,D.setForMove=!0;const W=this.collectedLeaveElements.indexOf(h);W>=0&&this.collectedLeaveElements.splice(W,1)}if(p){const W=this._fetchNamespace(p);W&&W.insertNode(h,v)}C&&this.collectEnterElement(h)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,h){h?this.disabledNodes.has(p)||(this.disabledNodes.add(p),Kt(p,No)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),vn(p,No))}removeNode(p,h,v,C){if(b(h)){const D=p?this._fetchNamespace(p):null;if(D?D.removeNode(h,C):this.markElementAsRemoved(p,h,!1,C),v){const W=this.namespacesByHostElement.get(h);W&&W.id!==p&&W.removeNode(h,C)}}else this._onRemovalComplete(h,C)}markElementAsRemoved(p,h,v,C,D){this.collectedLeaveElements.push(h),h[sr]={namespaceId:p,setForRemoval:C,hasAnimation:v,removedBeforeQueried:!1,previousTriggersValues:D}}listen(p,h,v,C,D){return b(h)?this._fetchNamespace(p).listen(h,v,C,D):()=>{}}_buildInstruction(p,h,v,C,D){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,v,C,p.fromState.options,p.toState.options,h,D)}destroyInnerAnimations(p){let h=this.driver.query(p,Qr,!0);h.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(h=this.driver.query(p,lr,!0),h.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(p){const h=this.playersByElement.get(p);h&&h.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(p){const h=this.playersByQueriedElement.get(p);h&&h.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return fi(this.players).onDone(()=>p());p()})}processLeaveNode(p){const h=p[sr];if(h&&h.setForRemoval){if(p[sr]=Cl,h.namespaceId){this.destroyInnerAnimations(p);const v=this._fetchNamespace(h.namespaceId);v&&v.clearElementCache(p)}this._onRemovalComplete(p,h.setForRemoval)}p.classList?.contains(No)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(v=>{this.markElementAsDisabled(v,!1)})}flush(p=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,C)=>this._balanceNamespaceList(v,C)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;vv()),this._flushFns=[],this._whenQuietFns.length){const v=this._whenQuietFns;this._whenQuietFns=[],h.length?fi(h).onDone(()=>{v.forEach(C=>C())}):v.forEach(C=>C())}}reportError(p){throw function Jn(z){return new o.vHH(3402,!1)}()}_flushAnimations(p,h){const v=new cs,C=[],D=new Map,W=[],_e=new Map,Oe=new Map,Xe=new Map,mt=new Set;this.disabledNodes.forEach(io=>{mt.add(io);const vo=this.driver.query(io,".ng-animate-queued",!0);for(let zo=0;zo{const zo=cr+Bt++;Qt.set(vo,zo),io.forEach(Jo=>Kt(Jo,zo))});const an=[],_n=new Set,Ln=new Set;for(let io=0;io_n.add(Jo)):Ln.add(vo))}const en=new Map,dn=at(Ot,Array.from(_n));dn.forEach((io,vo)=>{const zo=_i+Bt++;en.set(vo,zo),io.forEach(Jo=>Kt(Jo,zo))}),p.push(()=>{Ht.forEach((io,vo)=>{const zo=Qt.get(vo);io.forEach(Jo=>vn(Jo,zo))}),dn.forEach((io,vo)=>{const zo=en.get(vo);io.forEach(Jo=>vn(Jo,zo))}),an.forEach(io=>{this.processLeaveNode(io)})});const Nn=[],In=[];for(let io=this._namespaceList.length-1;io>=0;io--)this._namespaceList[io].drainQueuedTransitions(h).forEach(zo=>{const Jo=zo.player,hr=zo.element;if(Nn.push(Jo),this.collectedEnterElements.length){const es=hr[sr];if(es&&es.setForMove){if(es.previousTriggersValues&&es.previousTriggersValues.has(zo.triggerName)){const ca=es.previousTriggersValues.get(zo.triggerName),fr=this.statesByElement.get(zo.element);if(fr&&fr.has(zo.triggerName)){const id=fr.get(zo.triggerName);id.value=ca,fr.set(zo.triggerName,id)}}return void Jo.destroy()}}const aa=!Mt||!this.driver.containsElement(Mt,hr),fs=en.get(hr),sc=Qt.get(hr),Ai=this._buildInstruction(zo,v,sc,fs,aa);if(Ai.errors&&Ai.errors.length)return void In.push(Ai);if(aa)return Jo.onStart(()=>as(hr,Ai.fromStyles)),Jo.onDestroy(()=>ki(hr,Ai.toStyles)),void C.push(Jo);if(zo.isFallbackTransition)return Jo.onStart(()=>as(hr,Ai.fromStyles)),Jo.onDestroy(()=>ki(hr,Ai.toStyles)),void C.push(Jo);const od=[];Ai.timelines.forEach(es=>{es.stretchStartingKeyframe=!0,this.disabledNodes.has(es.element)||od.push(es)}),Ai.timelines=od,v.append(hr,Ai.timelines),W.push({instruction:Ai,player:Jo,element:hr}),Ai.queriedElements.forEach(es=>de(_e,es,[]).push(Jo)),Ai.preStyleProps.forEach((es,ca)=>{if(es.size){let fr=Oe.get(ca);fr||Oe.set(ca,fr=new Set),es.forEach((id,Uc)=>fr.add(Uc))}}),Ai.postStyleProps.forEach((es,ca)=>{let fr=Xe.get(ca);fr||Xe.set(ca,fr=new Set),es.forEach((id,Uc)=>fr.add(Uc))})});if(In.length){const io=[];In.forEach(vo=>{io.push(function hi(z,p){return new o.vHH(3505,!1)}())}),Nn.forEach(vo=>vo.destroy()),this.reportError(io)}const eo=new Map,Mo=new Map;W.forEach(io=>{const vo=io.element;v.has(vo)&&(Mo.set(vo,vo),this._beforeAnimationBuild(io.player.namespaceId,io.instruction,eo))}),C.forEach(io=>{const vo=io.element;this._getPreviousPlayers(vo,!1,io.namespaceId,io.triggerName,null).forEach(Jo=>{de(eo,vo,[]).push(Jo),Jo.destroy()})});const zi=an.filter(io=>Er(io,Oe,Xe)),Ti=new Map;tt(Ti,this.driver,Ln,Xe,Io.l3).forEach(io=>{Er(io,Oe,Xe)&&zi.push(io)});const wr=new Map;Ht.forEach((io,vo)=>{tt(wr,this.driver,new Set(io),Oe,Io.k1)}),zi.forEach(io=>{const vo=Ti.get(io),zo=wr.get(io);Ti.set(io,new Map([...Array.from(vo?.entries()??[]),...Array.from(zo?.entries()??[])]))});const Pr=[],Sp=[],xp={};W.forEach(io=>{const{element:vo,player:zo,instruction:Jo}=io;if(v.has(vo)){if(mt.has(vo))return zo.onDestroy(()=>ki(vo,Jo.toStyles)),zo.disabled=!0,zo.overrideTotalTime(Jo.totalTime),void C.push(zo);let hr=xp;if(Mo.size>1){let fs=vo;const sc=[];for(;fs=fs.parentNode;){const Ai=Mo.get(fs);if(Ai){hr=Ai;break}sc.push(fs)}sc.forEach(Ai=>Mo.set(Ai,hr))}const aa=this._buildAnimation(zo.namespaceId,Jo,eo,D,wr,Ti);if(zo.setRealPlayer(aa),hr===xp)Pr.push(zo);else{const fs=this.playersByElement.get(hr);fs&&fs.length&&(zo.parentPlayer=fi(fs)),C.push(zo)}}else as(vo,Jo.fromStyles),zo.onDestroy(()=>ki(vo,Jo.toStyles)),Sp.push(zo),mt.has(vo)&&C.push(zo)}),Sp.forEach(io=>{const vo=D.get(io.element);if(vo&&vo.length){const zo=fi(vo);io.setRealPlayer(zo)}}),C.forEach(io=>{io.parentPlayer?io.syncPlayerEvents(io.parentPlayer):io.destroy()});for(let io=0;io!aa.destroyed);hr.length?qn(this,vo,hr):this.processLeaveNode(vo)}return an.length=0,Pr.forEach(io=>{this.players.push(io),io.onDone(()=>{io.destroy();const vo=this.players.indexOf(io);this.players.splice(vo,1)}),io.play()}),Pr}elementContainsData(p,h){let v=!1;const C=h[sr];return C&&C.setForRemoval&&(v=!0),this.playersByElement.has(h)&&(v=!0),this.playersByQueriedElement.has(h)&&(v=!0),this.statesByElement.has(h)&&(v=!0),this._fetchNamespace(p).elementContainsData(h)||v}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,h,v,C,D){let W=[];if(h){const _e=this.playersByQueriedElement.get(p);_e&&(W=_e)}else{const _e=this.playersByElement.get(p);if(_e){const Oe=!D||D==As;_e.forEach(Xe=>{Xe.queued||!Oe&&Xe.triggerName!=C||W.push(Xe)})}}return(v||C)&&(W=W.filter(_e=>!(v&&v!=_e.namespaceId||C&&C!=_e.triggerName))),W}_beforeAnimationBuild(p,h,v){const D=h.element,W=h.isRemovalTransition?void 0:p,_e=h.isRemovalTransition?void 0:h.triggerName;for(const Oe of h.timelines){const Xe=Oe.element,mt=Xe!==D,Mt=de(v,Xe,[]);this._getPreviousPlayers(Xe,mt,W,_e,h.toState).forEach(Ht=>{const Qt=Ht.getRealPlayer();Qt.beforeDestroy&&Qt.beforeDestroy(),Ht.destroy(),Mt.push(Ht)})}as(D,h.fromStyles)}_buildAnimation(p,h,v,C,D,W){const _e=h.triggerName,Oe=h.element,Xe=[],mt=new Set,Mt=new Set,Ot=h.timelines.map(Qt=>{const Bt=Qt.element;mt.add(Bt);const an=Bt[sr];if(an&&an.removedBeforeQueried)return new Io.ZN(Qt.duration,Qt.delay);const _n=Bt!==Oe,Ln=function Bn(z){const p=[];return Yo(z,p),p}((v.get(Bt)||Ps).map(eo=>eo.getRealPlayer())).filter(eo=>!!eo.element&&eo.element===Bt),en=D.get(Bt),dn=W.get(Bt),Nn=lo(0,this._normalizer,0,Qt.keyframes,en,dn),In=this._buildPlayer(Qt,Nn,Ln);if(Qt.subTimeline&&C&&Mt.add(Bt),_n){const eo=new Ra(p,_e,Bt);eo.setRealPlayer(In),Xe.push(eo)}return In});Xe.forEach(Qt=>{de(this.playersByQueriedElement,Qt.element,[]).push(Qt),Qt.onDone(()=>function A(z,p,h){let v=z.get(p);if(v){if(v.length){const C=v.indexOf(h);v.splice(C,1)}0==v.length&&z.delete(p)}return v}(this.playersByQueriedElement,Qt.element,Qt))}),mt.forEach(Qt=>Kt(Qt,Wc));const Ht=fi(Ot);return Ht.onDestroy(()=>{mt.forEach(Qt=>vn(Qt,Wc)),ki(Oe,h.toStyles)}),Mt.forEach(Qt=>{de(C,Qt,[]).push(Ht)}),Ht}_buildPlayer(p,h,v){return h.length>0?this.driver.animate(p.element,h,p.duration,p.delay,p.easing,v):new Io.ZN(p.duration,p.delay)}}class Ra{constructor(p,h,v){this.namespaceId=p,this.triggerName=h,this.element=v,this._player=new Io.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((h,v)=>{h.forEach(C=>Qs(p,v,void 0,C))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const h=this._player;h.triggerCallback&&p.onStart(()=>h.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,h){de(this._queuedCallbacks,p,[]).push(h)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}init(){this._player.init()}hasStarted(){return!this.queued&&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(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const h=this._player;h.triggerCallback&&h.triggerCallback(p)}}function b(z){return z&&1===z.nodeType}function De(z,p){const h=z.style.display;return z.style.display=p??"none",h}function tt(z,p,h,v,C){const D=[];h.forEach(Oe=>D.push(De(Oe)));const W=[];v.forEach((Oe,Xe)=>{const mt=new Map;Oe.forEach(Mt=>{const Ot=p.computeStyle(Xe,Mt,C);mt.set(Mt,Ot),(!Ot||0==Ot.length)&&(Xe[sr]=Is,W.push(Xe))}),z.set(Xe,mt)});let _e=0;return h.forEach(Oe=>De(Oe,D[_e++])),W}function at(z,p){const h=new Map;if(z.forEach(_e=>h.set(_e,[])),0==p.length)return h;const C=new Set(p),D=new Map;function W(_e){if(!_e)return 1;let Oe=D.get(_e);if(Oe)return Oe;const Xe=_e.parentNode;return Oe=h.has(Xe)?Xe:C.has(Xe)?1:W(Xe),D.set(_e,Oe),Oe}return p.forEach(_e=>{const Oe=W(_e);1!==Oe&&h.get(Oe).push(_e)}),h}function Kt(z,p){z.classList?.add(p)}function vn(z,p){z.classList?.remove(p)}function qn(z,p,h){fi(h).onDone(()=>z.processLeaveNode(p))}function Yo(z,p){for(let h=0;hC.add(D)):p.set(z,v),h.delete(z),!0}class Ii{constructor(p,h,v){this.bodyNode=p,this._driver=h,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=(C,D)=>{},this._transitionEngine=new Fs(p,h,v),this._timelineEngine=new ka(p,h,v),this._transitionEngine.onRemovalComplete=(C,D)=>this.onRemovalComplete(C,D)}registerTrigger(p,h,v,C,D){const W=p+"-"+C;let _e=this._triggerCache[W];if(!_e){const Oe=[],mt=ur(this._driver,D,Oe,[]);if(Oe.length)throw function Be(z,p){return new o.vHH(3404,!1)}();_e=function Vi(z,p,h){return new La(z,p,h)}(C,mt,this._normalizer),this._triggerCache[W]=_e}this._transitionEngine.registerTrigger(h,C,_e)}register(p,h){this._transitionEngine.register(p,h)}destroy(p,h){this._transitionEngine.destroy(p,h)}onInsert(p,h,v,C){this._transitionEngine.insertNode(p,h,v,C)}onRemove(p,h,v,C){this._transitionEngine.removeNode(p,h,C||!1,v)}disableAnimations(p,h){this._transitionEngine.markElementAsDisabled(p,h)}process(p,h,v,C){if("@"==v.charAt(0)){const[D,W]=lt(v);this._timelineEngine.command(D,h,W,C)}else this._transitionEngine.trigger(p,h,v,C)}listen(p,h,v,C,D){if("@"==v.charAt(0)){const[W,_e]=lt(v);return this._timelineEngine.listen(W,h,_e,D)}return this._transitionEngine.listen(p,h,v,C,D)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Gi=(()=>{class z{constructor(h,v,C){this._element=h,this._startStyles=v,this._endStyles=C,this._state=0;let D=z.initialStylesByElement.get(h);D||z.initialStylesByElement.set(h,D=new Map),this._initialStyles=D}start(){this._state<1&&(this._startStyles&&ki(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ki(this._element,this._initialStyles),this._endStyles&&(ki(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(z.initialStylesByElement.delete(this._element),this._startStyles&&(as(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(as(this._element,this._endStyles),this._endStyles=null),ki(this._element,this._initialStyles),this._state=3)}}return z.initialStylesByElement=new WeakMap,z})();function Yl(z){let p=null;return z.forEach((h,v)=>{(function Ks(z){return"display"===z||"position"===z})(v)&&(p=p||new Map,p.set(v,h))}),p}class $l{constructor(p,h,v,C){this.element=p,this.keyframes=h,this.options=v,this._specialStyles=C,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=v.duration,this._delay=v.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const h=[];return p.forEach(v=>{h.push(Object.fromEntries(v))}),h}_triggerWebAnimation(p,h,v){return p.animate(this._convertKeyframesToObject(h),v)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),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(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((v,C)=>{"offset"!==C&&p.set(C,this._finished?v:Ke(this.element,C))}),this.currentSnapshot=p}triggerCallback(p){const h="start"===p?this._onStartFns:this._onDoneFns;h.forEach(v=>v()),h.length=0}}class el{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}matchesElement(p,h){return!1}containsElement(p,h){return os(p,h)}getParentElement(p){return gn(p)}query(p,h,v){return Pi(p,h,v)}computeStyle(p,h,v){return window.getComputedStyle(p)[h]}animate(p,h,v,C,D,W=[]){const Oe={duration:v,delay:C,fill:0==C?"both":"forwards"};D&&(Oe.easing=D);const Xe=new Map,mt=W.filter(Ht=>Ht instanceof $l);(function ne(z,p){return 0===z||0===p})(v,C)&&mt.forEach(Ht=>{Ht.currentSnapshot.forEach((Qt,Bt)=>Xe.set(Bt,Qt))});let Mt=function lc(z){return z.length?z[0]instanceof Map?z:z.map(p=>Cr(p)):[]}(h).map(Ht=>ss(Ht));Mt=function Ve(z,p,h){if(h.size&&p.length){let v=p[0],C=[];if(h.forEach((D,W)=>{v.has(W)||C.push(W),v.set(W,D)}),C.length)for(let D=1;DW.set(_e,Ke(z,_e)))}}return p}(p,Mt,Xe);const Ot=function Vr(z,p){let h=null,v=null;return Array.isArray(p)&&p.length?(h=Yl(p[0]),p.length>1&&(v=Yl(p[p.length-1]))):p instanceof Map&&(h=Yl(p)),h||v?new Gi(z,h,v):null}(p,Mt);return new $l(p,Mt,Oe,Ot)}}let Au=(()=>{class z extends Io._j{constructor(h,v){super(),this._nextAnimationId=0,this._renderer=h.createRenderer(v.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(h){const v=this._nextAnimationId.toString();this._nextAnimationId++;const C=Array.isArray(h)?(0,Io.vP)(h):h;return Ns(this._renderer,null,v,"register",[C]),new _a(v,this._renderer)}}return z.\u0275fac=function(h){return new(h||z)(o.LFG(o.FYo),o.LFG(bo.K0))},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac}),z})();class _a extends Io.LC{constructor(p,h){super(),this._id=p,this._renderer=h}create(p,h){return new ya(this._id,p,h||{},this._renderer)}}class ya{constructor(p,h,v,C){this.id=p,this.element=h,this._renderer=C,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(p,h){return this._renderer.listen(this.element,`@@${this.id}:${p}`,h)}_command(p,...h){return Ns(this._renderer,this.element,this.id,p,h)}onDone(p){this._listen("done",p)}onStart(p){this._listen("start",p)}onDestroy(p){this._listen("destroy",p)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(p){this._command("setPosition",p)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Ns(z,p,h,v,C){return z.setProperty(p,`@@${h}:${v}`,C)}const Ls="@.disabled";let T1=(()=>{class z{constructor(h,v,C){this.delegate=h,this.engine=v,this._zone=C,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),v.onRemovalComplete=(D,W)=>{const _e=W?.parentNode(D);_e&&W.removeChild(_e,D)}}createRenderer(h,v){const D=this.delegate.createRenderer(h,v);if(!(h&&v&&v.data&&v.data.animation)){let mt=this._rendererCache.get(D);return mt||(mt=new ks("",D,this.engine,()=>this._rendererCache.delete(D)),this._rendererCache.set(D,mt)),mt}const W=v.id,_e=v.id+"-"+this._currentId;this._currentId++,this.engine.register(_e,h);const Oe=mt=>{Array.isArray(mt)?mt.forEach(Oe):this.engine.registerTrigger(W,_e,h,mt.name,mt)};return v.data.animation.forEach(Oe),new hc(this,_e,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(h,v,C){h>=0&&hv(C)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(D=>{const[W,_e]=D;W(_e)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,C]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return z.\u0275fac=function(h){return new(h||z)(o.LFG(o.FYo),o.LFG(Ii),o.LFG(o.R0b))},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac}),z})();class ks{constructor(p,h,v,C){this.namespaceId=p,this.delegate=h,this.engine=v,this._onDestroy=C,this.destroyNode=this.delegate.destroyNode?D=>h.destroyNode(D):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(p,h){return this.delegate.createElement(p,h)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,h){this.delegate.appendChild(p,h),this.engine.onInsert(this.namespaceId,h,p,!1)}insertBefore(p,h,v,C=!0){this.delegate.insertBefore(p,h,v),this.engine.onInsert(this.namespaceId,h,p,C)}removeChild(p,h,v){this.engine.onRemove(this.namespaceId,h,this.delegate,v)}selectRootElement(p,h){return this.delegate.selectRootElement(p,h)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,h,v,C){this.delegate.setAttribute(p,h,v,C)}removeAttribute(p,h,v){this.delegate.removeAttribute(p,h,v)}addClass(p,h){this.delegate.addClass(p,h)}removeClass(p,h){this.delegate.removeClass(p,h)}setStyle(p,h,v,C){this.delegate.setStyle(p,h,v,C)}removeStyle(p,h,v){this.delegate.removeStyle(p,h,v)}setProperty(p,h,v){"@"==h.charAt(0)&&h==Ls?this.disableAnimations(p,!!v):this.delegate.setProperty(p,h,v)}setValue(p,h){this.delegate.setValue(p,h)}listen(p,h,v){return this.delegate.listen(p,h,v)}disableAnimations(p,h){this.engine.disableAnimations(p,h)}}class hc extends ks{constructor(p,h,v,C,D){super(h,v,C,D),this.factory=p,this.namespaceId=h}setProperty(p,h,v){"@"==h.charAt(0)?"."==h.charAt(1)&&h==Ls?this.disableAnimations(p,v=void 0===v||!!v):this.engine.process(this.namespaceId,p,h.slice(1),v):this.delegate.setProperty(p,h,v)}listen(p,h,v){if("@"==h.charAt(0)){const C=function Xs(z){switch(z){case"body":return document.body;case"document":return document;case"window":return window;default:return z}}(p);let D=h.slice(1),W="";return"@"!=D.charAt(0)&&([D,W]=function fc(z){const p=z.indexOf(".");return[z.substring(0,p),z.slice(p+1)]}(D)),this.engine.listen(this.namespaceId,C,D,W,_e=>{this.factory.scheduleListenerCallback(_e._data||-1,v,_e)})}return this.delegate.listen(p,h,v)}}let mc=(()=>{class z extends Ii{constructor(h,v,C,D){super(h.body,v,C)}ngOnDestroy(){this.flush()}}return z.\u0275fac=function(h){return new(h||z)(o.LFG(bo.K0),o.LFG(Ws),o.LFG(rr),o.LFG(o.z2F))},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac}),z})();const tl=[{provide:Io._j,useClass:Au},{provide:rr,useFactory:function Td(){return new ga}},{provide:Ii,useClass:mc},{provide:o.FYo,useFactory:function Rs(z,p,h){return new T1(z,p,h)},deps:[t.se,Ii,o.R0b]}],Va=[{provide:Ws,useFactory:()=>new el},{provide:o.QbO,useValue:"BrowserAnimations"},...tl],M1=[{provide:Ws,useClass:ys},{provide:o.QbO,useValue:"NoopAnimations"},...tl];let gc=(()=>{class z{static withConfig(h){return{ngModule:z,providers:h.disableAnimations?M1:Va}}}return z.\u0275fac=function(h){return new(h||z)},z.\u0275mod=o.oAB({type:z}),z.\u0275inj=o.cJS({providers:Va,imports:[t.b2]}),z})();var Ca=a(2635),bd=a(5657),Br=a(1102),Jr=a(1218);const Dd=[Jr.LBP,Jr._ry,Jr.Ej7,Jr.WH2],Od=[{name:"adminFullcolor",data:''},{name:"assertionFullcolor",data:''},{name:"clinicaltrialFullcolor",data:''},{name:"queueFullcolor",data:''},{name:"commentFullcolor",data:''},{name:"coordinatesystemFullcolor",data:''},{name:"curatorFullcolor",data:''},{name:"diseaseFullcolor",data:''},{name:"editorFullcolor",data:''},{name:"eventFullcolor",data:''},{name:"evidenceitemFullcolor",data:''},{name:"evidenceFullcolor",data:''},{name:"flagFullcolor",data:''},{name:"geneFullcolor",data:''},{name:"therapyFullcolor",data:''},{name:"molecularprofileFullcolor",data:''},{name:"organizationFullcolor",data:''},{name:"phenotypeFullcolor",data:''},{name:"revisionFullcolor",data:''},{name:"sourceFullcolor",data:''},{name:"userFullcolor",data:''},{name:"variant",data:''},{name:"variantgroupFullcolor",data:''},{name:"varianttypeFullcolor",data:''}],ul=function dl(z){const p=[];return z.forEach(h=>{const v={name:Y1(h.name),theme:pl(h.name),icon:h.data};p.push(v)}),p}([{name:"adminOutline",data:''},{name:"adminTwotone",data:''},{name:"adverseresponseOutline",data:''},{name:"assertionOutline",data:''},{name:"assertionTwotone",data:''},{name:"benignOutline",data:''},{name:"betteroutcomeOutline",data:''},{name:"clinicaltrialOutline",data:''},{name:"clinicaltrialTwotone",data:''},{name:"queueOutline",data:''},{name:"queueTwotone",data:''},{name:"combinationOutline",data:''},{name:"combinedOutline",data:''},{name:"commentOutline",data:''},{name:"commentTwotone",data:''},{name:"commongermlineOutline",data:''},{name:"coordinatesystemOutline",data:''},{name:"coordinatesystemTwotone",data:''},{name:"curatorOutline",data:''},{name:"curatorTwotone",data:''},{name:"diagnosticOutline",data:''},{name:"diseaseOutline",data:''},{name:"diseaseTwotone",data:''},{name:"doesnotsupportOutline",data:''},{name:"dominantnegativeOutline",data:''},{name:"editorOutline",data:''},{name:"editorTwotone",data:''},{name:"eventOutline",data:''},{name:"eventTwotone",data:''},{name:"evidenceOutline",data:''},{name:"evidenceTwotone",data:''},{name:"evidenceitemOutline",data:''},{name:"evidenceitemTwotone",data:''},{name:"flagOutline",data:''},{name:"flagTwotone",data:''},{name:"functionalOutline",data:''},{name:"gainoffunctionOutline",data:''},{name:"geneOutline",data:''},{name:"geneTwotone",data:''},{name:"levelaOutline",data:''},{name:"levelbOutline",data:''},{name:"levelcOutline",data:''},{name:"leveldOutline",data:''},{name:"leveleOutline",data:''},{name:"therapyOutline",data:''},{name:"therapyTwotone",data:''},{name:"likelybenignOutline",data:''},{name:"likelypathogenicOutline",data:''},{name:"lossoffunctionOutline",data:''},{name:"molecularprofileOutline",data:''},{name:"molecularprofileTwotone",data:''},{name:"naOutline",data:''},{name:"negativeOutline",data:''},{name:"neomorphicOutline",data:''},{name:"oncogenicOutline",data:''},{name:"oncogenictypeOutline",data:''},{name:"oncogenicsignificanceOutline",data:''},{name:"oncogenicityOutline",data:''},{name:"organizationOutline",data:''},{name:"organizationTwotone",data:''},{name:"pathogenicOutline",data:''},{name:"phenotypeOutline",data:''},{name:"phenotypeTwotone",data:''},{name:"pooroutcomeOutline",data:''},{name:"positiveOutline",data:''},{name:"predictiveOutline",data:''},{name:"predisposingOutline",data:''},{name:"predispositionOutline",data:''},{name:"prognosticOutline",data:''},{name:"protectivenessOutline",data:''},{name:"raregermlineOutline",data:''},{name:"rating1Outline",data:''},{name:"rating2Outline",data:''},{name:"rating3Outline",data:''},{name:"rating4Outline",data:''},{name:"rating5Outline",data:''},{name:"reducedsensitivityOutline",data:''},{name:"resistanceOutline",data:''},{name:"revisionOutline",data:''},{name:"revisionTwotone",data:''},{name:"sensitivityresponseOutline",data:''},{name:"sequentialOutline",data:''},{name:"somaticOutline",data:''},{name:"sourceOutline",data:''},{name:"sourceTwotone",data:''},{name:"substitutesOutline",data:''},{name:"supportsOutline",data:''},{name:"unalteredfunctionOutline",data:''},{name:"uncertainsignificanceOutline",data:''},{name:"unknownOutline",data:''},{name:"userOutline",data:''},{name:"userTwotone",data:''},{name:"variantOutline",data:''},{name:"variantTwotone",data:''},{name:"variantgroupOutline",data:''},{name:"variantgroupTwotone",data:''},{name:"varianttypeOutline",data:''},{name:"varianttypeTwotone",data:''}]);class El{}function Y1(z){return"civic-"+function b1(z){return z.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}(z.replace(/Outline|Fill|TwoTone/i,""))}function pl(z){return z.includes("Twotone")?"twotone":z.includes("Outline")?"outline":z.includes("Fill")?"fill":void 0}El.\u0275fac=function(p){return new(p||El)},El.\u0275mod=o.oAB({type:El}),El.\u0275inj=o.cJS({providers:[{provide:Br.sV,useValue:Dd}],imports:[Br.PV,Br.PV]});var wd=a(317),Rc=a(1811),Sl=a(9116);const ra=[{path:"",loadChildren:()=>a.e(1806).then(a.bind(a,1806)).then(z=>z.LayoutModule)}];class Dr{}Dr.\u0275fac=function(p){return new(p||Dr)},Dr.\u0275mod=o.oAB({type:Dr}),Dr.\u0275inj=o.cJS({imports:[Sl.Bz.forRoot(ra,{paramsInheritanceStrategy:"always",anchorScrolling:"enabled",scrollOffset:[0,64],onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"}),Sl.Bz]});var Ku=a(2340),Vc=a(9169),qu=a(6960),xl=a(4425),Pd=a(9597),Dl=a(6616),Xu=a(7044),tc=a(1664);function cp(z,p){if(1&z&&o._uU(0),2&z){const h=o.oxw().ngIf;o.AsE(" ",h.name," ",h.message," ")}}function Ol(z,p){1&z&&o.GkF(0)}const $1=function(z){return{error:z}};function Bc(z,p){if(1&z&&o.YNc(0,Ol,1,0,"ng-container",8),2&z){const h=o.oxw().ngIf,v=o.MAs(7);o.Q6J("ngTemplateOutlet",v)("ngTemplateOutletContext",o.VKq(2,$1,h))}}function Id(z,p){if(1&z){const h=o.EpF();o.TgZ(0,"button",10),o.NdJ("click",function(){o.CHM(h);const C=o.oxw().error;o.oxw();const D=o.MAs(11),W=o.MAs(9),_e=o.oxw();return o.KtG(_e.showModal("Backtrace for '"+C.message+"'",C.backtrace,D,W))}),o._uU(1," View Backtrace "),o.qZA()}}function hl(z,p){if(1&z&&(o._uU(0),o.YNc(1,Id,2,0,"button",9)),2&z){const h=p.error;o.hij(" ",h.message," "),o.xp6(1),o.Q6J("ngIf",h.backtrace.length>0)}}function ee(z,p){if(1&z&&(o.TgZ(0,"pre",11),o._uU(1),o.qZA()),2&z){const h=p.$implicit;o.xp6(1),o.Oqu(h.backtrace)}}function G(z,p){if(1&z){const h=o.EpF();o.TgZ(0,"button",12),o.NdJ("click",function(){o.CHM(h);const C=o.oxw(2);return o.KtG(C.copyToClipboard())}),o._uU(1," Copy to Clipboard "),o.qZA(),o.TgZ(2,"button",13),o.NdJ("click",function(){const D=o.CHM(h).modalRef,W=o.oxw(2);return o.KtG(W.hideModal(D))}),o._uU(3," OK "),o.qZA()}}function U1(z,p){if(1&z){const h=o.EpF();o.TgZ(0,"div",1)(1,"nz-alert",2),o.NdJ("nzOnClose",function(){o.CHM(h);const C=o.oxw();return o.KtG(C.onClose())}),o.qZA(),o.YNc(2,cp,1,2,"ng-template",null,3,o.W1O),o.YNc(4,Bc,1,4,"ng-template",null,4,o.W1O),o.YNc(6,hl,2,2,"ng-template",null,5,o.W1O),o.YNc(8,ee,2,1,"ng-template",null,6,o.W1O),o.YNc(10,G,4,0,"ng-template",null,7,o.W1O),o.qZA()}if(2&z){const h=o.MAs(3),v=o.MAs(5);o.xp6(1),o.Q6J("nzMessage",h)("nzDescription",v)}}class ou{constructor(p,h,v){this.modal=h,this.clipboard=v,this.modalVisible=!1,this.errors=p}showModal(p,h,v,C){this.modalContent=h.join("\n"),this.modal.create({nzTitle:p,nzFooter:v,nzContent:C,nzWidth:800,nzBodyStyle:{"max-height":"500px",overflow:"hidden","overflow-y":"scroll"},nzClosable:!0,nzOkDisabled:!0,nzCancelDisabled:!0,nzComponentParams:{backtrace:this.modalContent}})}hideModal(p){p.destroy()}onClose(){this.errors.clearErrors()}copyToClipboard(){this.clipboard.copy(this.modalContent)}}ou.\u0275fac=function(p){return new(p||ou)(o.Y36(Vc.Y),o.Y36(qu.Sf),o.Y36(xl.TU))},ou.\u0275cmp=o.Xpm({type:ou,selectors:[["cvc-network-error-alert"]],decls:2,vars:3,consts:[["class","alert-container",4,"ngIf"],[1,"alert-container"],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzDescription","nzOnClose"],["alertMessage",""],["alertDescription",""],["errorDisplay",""],["modalContent",""],["modalFooter",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzSize","small","nzType","link",3,"click",4,"ngIf"],["nz-button","","nzSize","small","nzType","link",3,"click"],[2,"white-space","pre-wrap","font-size","80%"],["nz-button","","nzType","default",3,"click"],["nz-button","","nzType","primary",3,"click"]],template:function(p,h){1&p&&(o.YNc(0,U1,12,2,"div",0),o.ALo(1,"ngrxPush")),2&p&&o.Q6J("ngIf",o.lcZ(1,1,h.errors.networkError$))},dependencies:[bo.O5,bo.tP,Pd.r,Dl.ix,Xu.w,tc.dQ,Ca.fM],styles:["[_nghost-%COMP%]{display:block}.alert-container[_ngcontent-%COMP%]{display:block;width:100%;padding:12px 24px}[_nghost-%COMP%] nz-alert .ant-alert-banner{border-radius:8px;border:2px solid #cf1322}.error-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 2em}"],changeDetection:0});class wl{constructor(p,h){this.iconService=p,this.router=h,this.addIcons(Od),Ku.N.production&&this.router.events.subscribe(v=>{v instanceof Sl.m2&>ag("config","UA-60119642-1",{page_path:v.urlAfterRedirects})})}addIcons(p){p.forEach(h=>{const C="civic:"+h.name.replace(/Fullcolor/i,"");this.iconService.addIconLiteral(C,h.data)})}}wl.\u0275fac=function(p){return new(p||wl)(o.Y36(Br.H5),o.Y36(Sl.F0))},wl.\u0275cmp=o.Xpm({type:wl,selectors:[["app-root"]],decls:4,vars:0,consts:[[1,"alert-container"],[1,"app-container"]],template:function(p,h){1&p&&(o.TgZ(0,"div",0),o._UZ(1,"cvc-network-error-alert"),o.qZA(),o.TgZ(2,"div",1),o._UZ(3,"router-outlet"),o.qZA())},dependencies:[Sl.lC,ou],styles:[".alert-container[_ngcontent-%COMP%]{position:absolute;z-index:100;width:100%}.app-container[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;z-index:0;overflow-y:auto}"]});var lp=a(484),kn=a(655),bi=a(7509),iu=a(9769),ru=a(7883),j1=a(9661),Rp=function(){function z(){this.getFragmentDoc=(0,iu.re)(j1.Yk)}return z.prototype.batch=function(p){var C,h=this;return this.performTransaction(function(){return C=p.update(h)},"string"==typeof p.optimistic?p.optimistic:!1===p.optimistic?null:void 0),C},z.prototype.recordOptimisticTransaction=function(p,h){this.performTransaction(p,h)},z.prototype.transformDocument=function(p){return p},z.prototype.transformForLink=function(p){return p},z.prototype.identify=function(p){},z.prototype.gc=function(){return[]},z.prototype.modify=function(p){return!1},z.prototype.readQuery=function(p,h){return void 0===h&&(h=!!p.optimistic),this.read((0,kn.pi)((0,kn.pi)({},p),{rootId:p.id||"ROOT_QUERY",optimistic:h}))},z.prototype.readFragment=function(p,h){return void 0===h&&(h=!!p.optimistic),this.read((0,kn.pi)((0,kn.pi)({},p),{query:this.getFragmentDoc(p.fragment,p.fragmentName),rootId:p.id,optimistic:h}))},z.prototype.writeQuery=function(p){var h=p.id,v=p.data,C=(0,kn._T)(p,["id","data"]);return this.write(Object.assign(C,{dataId:h||"ROOT_QUERY",result:v}))},z.prototype.writeFragment=function(p){var h=p.id,v=p.data,C=p.fragment,D=p.fragmentName,W=(0,kn._T)(p,["id","data","fragment","fragmentName"]);return this.write(Object.assign(W,{query:this.getFragmentDoc(C,D),dataId:h,result:v}))},z.prototype.updateQuery=function(p,h){return this.batch({update:function(v){var C=v.readQuery(p),D=h(C);return null==D?C:(v.writeQuery((0,kn.pi)((0,kn.pi)({},p),{data:D})),D)}})},z.prototype.updateFragment=function(p,h){return this.batch({update:function(v){var C=v.readFragment(p),D=h(C);return null==D?C:(v.writeFragment((0,kn.pi)((0,kn.pi)({},p),{data:D})),D)}})},z}(),up=function(z){function p(h,v,C,D){var W,_e=z.call(this,h)||this;if(_e.message=h,_e.path=v,_e.query=C,_e.variables=D,Array.isArray(_e.path)){_e.missing=_e.message;for(var Oe=_e.path.length-1;Oe>=0;--Oe)_e.missing=((W={})[_e.path[Oe]]=_e.missing,W)}else _e.missing=_e.path;return _e.__proto__=p.prototype,_e}return(0,kn.ZT)(p,z),p}(Error),So=a(7634),Ad=a(3291),Fd=a(9558),dp=a(9545),zh=a(3950),Hc=a(591),Yc=a(7773),G1=a(9722),$c=a(7062);function Nd(z){return __DEV__&&function pp(z){var p=new Set([z]);return p.forEach(function(h){(0,$c.s)(h)&&function Vp(z){if(__DEV__&&!Object.isFrozen(z))try{Object.freeze(z)}catch(p){if(p instanceof TypeError)return null;throw p}return z}(h)===h&&Object.getOwnPropertyNames(h).forEach(function(v){(0,$c.s)(h[v])&&p.add(h[v])})}),z}(z),z}var z,p,Q1=a(9428),so=a(5355),su=Object.create(null),hp=function(){return su},W1=Object.create(null),e1=function(){function z(p,h){var v=this;this.policies=p,this.group=h,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(C,D){return Nd((0,So.Yk)(C)?v.get(C.__ref,D):C&&C[D])},this.canRead=function(C){return(0,So.Yk)(C)?v.has(C.__ref):"object"==typeof C},this.toReference=function(C,D){if("string"==typeof C)return(0,So.kQ)(C);if((0,So.Yk)(C))return C;var W=v.policies.identify(C)[0];if(W){var _e=(0,So.kQ)(W);return D&&v.merge(W,C),_e}}}return z.prototype.toObject=function(){return(0,kn.pi)({},this.data)},z.prototype.has=function(p){return void 0!==this.lookup(p,!0)},z.prototype.get=function(p,h){if(this.group.depend(p,h),so.RI.call(this.data,p)){var v=this.data[p];if(v&&so.RI.call(v,h))return v[h]}return"__typename"===h&&so.RI.call(this.policies.rootTypenamesById,p)?this.policies.rootTypenamesById[p]:this instanceof hs?this.parent.get(p,h):void 0},z.prototype.lookup=function(p,h){return h&&this.group.depend(p,"__exists"),so.RI.call(this.data,p)?this.data[p]:this instanceof hs?this.parent.lookup(p,h):this.policies.rootTypenamesById[p]?Object.create(null):void 0},z.prototype.merge=function(p,h){var C,v=this;(0,So.Yk)(p)&&(p=p.__ref),(0,So.Yk)(h)&&(h=h.__ref);var D="string"==typeof p?this.lookup(C=p):p,W="string"==typeof h?this.lookup(C=h):h;if(W){__DEV__?(0,bi.kG)("string"==typeof C,"store.merge expects a string ID"):(0,bi.kG)("string"==typeof C,1);var _e=new Yc.w0(t1).merge(D,W);if(this.data[C]=_e,_e!==D&&(delete this.refs[C],this.group.caching)){var Oe=Object.create(null);D||(Oe.__exists=1),Object.keys(W).forEach(function(Xe){if(!D||D[Xe]!==_e[Xe]){Oe[Xe]=1;var mt=(0,so.E_)(Xe);mt!==Xe&&!v.policies.hasKeyArgs(_e.__typename,mt)&&(Oe[mt]=1),void 0===_e[Xe]&&!(v instanceof hs)&&delete _e[Xe]}}),Oe.__typename&&!(D&&D.__typename)&&this.policies.rootTypenamesById[C]===_e.__typename&&delete Oe.__typename,Object.keys(Oe).forEach(function(Xe){return v.group.dirty(C,Xe)})}}},z.prototype.modify=function(p,h){var v=this,C=this.lookup(p);if(C){var D=Object.create(null),W=!1,_e=!0,Oe={DELETE:su,INVALIDATE:W1,isReference:So.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(Xe,mt){return v.policies.readField("string"==typeof Xe?{fieldName:Xe,from:mt||(0,So.kQ)(p)}:Xe,{store:v})}};if(Object.keys(C).forEach(function(Xe){var mt=(0,so.E_)(Xe),Mt=C[Xe];if(void 0!==Mt){var Ot="function"==typeof h?h:h[Xe]||h[mt];if(Ot){var Ht=Ot===hp?su:Ot(Nd(Mt),(0,kn.pi)((0,kn.pi)({},Oe),{fieldName:mt,storeFieldName:Xe,storage:v.getStorage(p,Xe)}));Ht===W1?v.group.dirty(p,Xe):(Ht===su&&(Ht=void 0),Ht!==Mt&&(D[Xe]=Ht,W=!0,Mt=Ht))}void 0!==Mt&&(_e=!1)}}),W)return this.merge(p,D),_e&&(this instanceof hs?this.data[p]=void 0:delete this.data[p],this.group.dirty(p,"__exists")),!0}return!1},z.prototype.delete=function(p,h,v){var C,D=this.lookup(p);if(D){var W=this.getFieldValue(D,"__typename"),_e=h&&v?this.policies.getStoreFieldName({typename:W,fieldName:h,args:v}):h;return this.modify(p,_e?((C={})[_e]=hp,C):hp)}return!1},z.prototype.evict=function(p,h){var v=!1;return p.id&&(so.RI.call(this.data,p.id)&&(v=this.delete(p.id,p.fieldName,p.args)),this instanceof hs&&this!==h&&(v=this.parent.evict(p,h)||v),(p.fieldName||v)&&this.group.dirty(p.id,p.fieldName||"__exists")),v},z.prototype.clear=function(){this.replace(null)},z.prototype.extract=function(){var p=this,h=this.toObject(),v=[];return this.getRootIdSet().forEach(function(C){so.RI.call(p.policies.rootTypenamesById,C)||v.push(C)}),v.length&&(h.__META={extraRootIds:v.sort()}),h},z.prototype.replace=function(p){var h=this;if(Object.keys(this.data).forEach(function(D){p&&so.RI.call(p,D)||h.delete(D)}),p){var v=p.__META,C=(0,kn._T)(p,["__META"]);Object.keys(C).forEach(function(D){h.merge(D,C[D])}),v&&v.extraRootIds.forEach(this.retain,this)}},z.prototype.retain=function(p){return this.rootIds[p]=(this.rootIds[p]||0)+1},z.prototype.release=function(p){if(this.rootIds[p]>0){var h=--this.rootIds[p];return h||delete this.rootIds[p],h}return 0},z.prototype.getRootIdSet=function(p){return void 0===p&&(p=new Set),Object.keys(this.rootIds).forEach(p.add,p),this instanceof hs?this.parent.getRootIdSet(p):Object.keys(this.policies.rootTypenamesById).forEach(p.add,p),p},z.prototype.gc=function(){var p=this,h=this.getRootIdSet(),v=this.toObject();h.forEach(function(W){so.RI.call(v,W)&&(Object.keys(p.findChildRefIds(W)).forEach(h.add,h),delete v[W])});var C=Object.keys(v);if(C.length){for(var D=this;D instanceof hs;)D=D.parent;C.forEach(function(W){return D.delete(W)})}return C},z.prototype.findChildRefIds=function(p){if(!so.RI.call(this.refs,p)){var h=this.refs[p]=Object.create(null),v=this.data[p];if(!v)return h;var C=new Set([v]);C.forEach(function(D){(0,So.Yk)(D)&&(h[D.__ref]=!0),(0,$c.s)(D)&&Object.keys(D).forEach(function(W){var _e=D[W];(0,$c.s)(_e)&&C.add(_e)})})}return this.refs[p]},z.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},z}(),au=function(){function z(p,h){void 0===h&&(h=null),this.caching=p,this.parent=h,this.d=null,this.resetCaching()}return z.prototype.resetCaching=function(){this.d=this.caching?(0,iu.dP)():null,this.keyMaker=new Q1.B(dp.mr)},z.prototype.depend=function(p,h){if(this.d){this.d(nc(p,h));var v=(0,so.E_)(h);v!==h&&this.d(nc(p,v)),this.parent&&this.parent.depend(p,h)}},z.prototype.dirty=function(p,h){this.d&&this.d.dirty(nc(p,h),"__exists"===h?"forget":"setDirty")},z}();function nc(z,p){return p+"#"+z}function Ld(z,p){fl(z)&&z.group.depend(p,"__exists")}p=function(h){function v(C){var W=C.resultCaching,Oe=C.seed,Xe=h.call(this,C.policies,new au(void 0===W||W))||this;return Xe.stump=new Bp(Xe),Xe.storageTrie=new Q1.B(dp.mr),Oe&&Xe.replace(Oe),Xe}return(0,kn.ZT)(v,h),v.prototype.addLayer=function(C,D){return this.stump.addLayer(C,D)},v.prototype.removeLayer=function(){return this},v.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},v}(z=e1||(e1={})),z.Root=p;var hs=function(z){function p(h,v,C,D){var W=z.call(this,v.policies,D)||this;return W.id=h,W.parent=v,W.replay=C,W.group=D,C(W),W}return(0,kn.ZT)(p,z),p.prototype.addLayer=function(h,v){return new p(h,this,v,this.group)},p.prototype.removeLayer=function(h){var v=this,C=this.parent.removeLayer(h);return h===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(D){var W=v.data[D],_e=C.lookup(D);_e?W?W!==_e&&Object.keys(W).forEach(function(Oe){(0,ru.D)(W[Oe],_e[Oe])||v.group.dirty(D,Oe)}):(v.group.dirty(D,"__exists"),Object.keys(_e).forEach(function(Oe){v.group.dirty(D,Oe)})):v.delete(D)}),C):C===this.parent?this:C.addLayer(this.id,this.replay)},p.prototype.toObject=function(){return(0,kn.pi)((0,kn.pi)({},this.parent.toObject()),this.data)},p.prototype.findChildRefIds=function(h){var v=this.parent.findChildRefIds(h);return so.RI.call(this.data,h)?(0,kn.pi)((0,kn.pi)({},v),z.prototype.findChildRefIds.call(this,h)):v},p.prototype.getStorage=function(){for(var h=this.parent;h.parent;)h=h.parent;return h.getStorage.apply(h,arguments)},p}(e1),Bp=function(z){function p(h){return z.call(this,"EntityStore.Stump",h,function(){},new au(h.group.caching,h.group))||this}return(0,kn.ZT)(p,z),p.prototype.removeLayer=function(){return this},p.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},p}(hs);function t1(z,p,h){var v=z[h],C=p[h];return(0,ru.D)(v,C)?v:C}function fl(z){return!!(z instanceof e1&&z.group.caching)}var ml=a(3750);function Z1(z){return[z.selectionSet,z.objectOrReference,z.context,z.context.canonizeResults]}var J1=function(){function z(p){var h=this;this.knownResults=new(dp.mr?WeakMap:Map),this.config=(0,zh.o)(p,{addTypename:!1!==p.addTypename,canonizeResults:(0,so.lg)(p)}),this.canon=p.canon||new ml.h,this.executeSelectionSet=(0,iu.re)(function(v){var C,D=v.context.canonizeResults,W=Z1(v);W[3]=!D;var _e=(C=h.executeSelectionSet).peek.apply(C,W);return _e?D?(0,kn.pi)((0,kn.pi)({},_e),{result:h.canon.admit(_e.result)}):_e:(Ld(v.context.store,v.enclosingRef.__ref),h.execSelectionSetImpl(v))},{max:this.config.resultCacheMaxSize,keyArgs:Z1,makeCacheKey:function(v,C,D,W){if(fl(D.store))return D.store.makeCacheKey(v,(0,So.Yk)(C)?C.__ref:C,D.varString,W)}}),this.executeSubSelectedArray=(0,iu.re)(function(v){return Ld(v.context.store,v.enclosingRef.__ref),h.execSubSelectedArrayImpl(v)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(v){var C=v.field,D=v.array,W=v.context;if(fl(W.store))return W.store.makeCacheKey(C,D,W.varString)}})}return z.prototype.resetCanon=function(){this.canon=new ml.h},z.prototype.diffQueryAgainstStore=function(p){var h=p.store,v=p.query,C=p.rootId,D=void 0===C?"ROOT_QUERY":C,W=p.variables,_e=p.returnPartialData,Oe=void 0===_e||_e,Xe=p.canonizeResults,mt=void 0===Xe?this.config.canonizeResults:Xe,Mt=this.config.cache.policies;W=(0,kn.pi)((0,kn.pi)({},(0,Hc.O4)((0,Hc.iW)(v))),W);var Qt,Ot=(0,So.kQ)(D),Ht=this.executeSelectionSet({selectionSet:(0,Hc.p$)(v).selectionSet,objectOrReference:Ot,enclosingRef:Ot,context:(0,kn.pi)({store:h,query:v,policies:Mt,variables:W,varString:(0,ml.B)(W),canonizeResults:mt},(0,so.Is)(v,this.config.fragments))});if(Ht.missing&&(Qt=[new up(Pl(Ht.missing),Ht.missing,v,W)],!Oe))throw Qt[0];return{result:Ht.result,complete:!Qt,missing:Qt}},z.prototype.isFresh=function(p,h,v,C){if(fl(C.store)&&this.knownResults.get(p)===v){var D=this.executeSelectionSet.peek(v,h,C,this.canon.isKnown(p));if(D&&p===D.result)return!0}return!1},z.prototype.execSelectionSetImpl=function(p){var h=this,v=p.selectionSet,C=p.objectOrReference,D=p.enclosingRef,W=p.context;if((0,So.Yk)(C)&&!W.policies.rootTypenamesById[C.__ref]&&!W.store.has(C.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(C.__ref," object")};var Ot,_e=W.variables,Oe=W.policies,mt=W.store.getFieldValue(C,"__typename"),Mt=[],Ht=new Yc.w0;function Qt(en,dn){var Nn;return en.missing&&(Ot=Ht.merge(Ot,((Nn={})[dn]=en.missing,Nn))),en.result}this.config.addTypename&&"string"==typeof mt&&!Oe.rootIdsByTypename[mt]&&Mt.push({__typename:mt});var Bt=new Set(v.selections);Bt.forEach(function(en){var dn,Nn;if((0,G1.LZ)(en,_e))if((0,So.My)(en)){var In=Oe.readField({fieldName:en.name.value,field:en,variables:W.variables,from:C},W),eo=(0,So.u2)(en);void 0===In?Ad.Gw.added(en)||(Ot=Ht.merge(Ot,((dn={})[eo]="Can't find field '".concat(en.name.value,"' on ").concat((0,So.Yk)(C)?C.__ref+" object":"object "+JSON.stringify(C,null,2)),dn))):(0,so.kJ)(In)?In=Qt(h.executeSubSelectedArray({field:en,array:In,enclosingRef:D,context:W}),eo):en.selectionSet?null!=In&&(In=Qt(h.executeSelectionSet({selectionSet:en.selectionSet,objectOrReference:In,enclosingRef:(0,So.Yk)(In)?In:D,context:W}),eo)):W.canonizeResults&&(In=h.canon.pass(In)),void 0!==In&&Mt.push(((Nn={})[eo]=In,Nn))}else{var Mo=(0,j1.hi)(en,W.lookupFragment);if(!Mo&&en.kind===Fd.h.FRAGMENT_SPREAD)throw __DEV__?new bi.ej("No fragment named ".concat(en.name.value)):new bi.ej(5);Mo&&Oe.fragmentMatches(Mo,mt)&&Mo.selectionSet.selections.forEach(Bt.add,Bt)}});var _n={result:(0,Yc.bw)(Mt),missing:Ot},Ln=W.canonizeResults?this.canon.admit(_n):Nd(_n);return Ln.result&&this.knownResults.set(Ln.result,v),Ln},z.prototype.execSubSelectedArrayImpl=function(p){var _e,h=this,v=p.field,C=p.array,D=p.enclosingRef,W=p.context,Oe=new Yc.w0;function Xe(mt,Mt){var Ot;return mt.missing&&(_e=Oe.merge(_e,((Ot={})[Mt]=mt.missing,Ot))),mt.result}return v.selectionSet&&(C=C.filter(W.store.canRead)),C=C.map(function(mt,Mt){return null===mt?null:(0,so.kJ)(mt)?Xe(h.executeSubSelectedArray({field:v,array:mt,enclosingRef:D,context:W}),Mt):v.selectionSet?Xe(h.executeSelectionSet({selectionSet:v.selectionSet,objectOrReference:mt,enclosingRef:(0,So.Yk)(mt)?mt:D,context:W}),Mt):(__DEV__&&function fp(z,p,h){if(!p.selectionSet){var v=new Set([h]);v.forEach(function(C){(0,$c.s)(C)&&(__DEV__?(0,bi.kG)(!(0,So.Yk)(C),"Missing selection set for object of type ".concat((0,so.jp)(z,C)," returned for query field ").concat(p.name.value)):(0,bi.kG)(!(0,So.Yk)(C),6),Object.values(C).forEach(v.add,v))})}}(W.store,v,mt),mt)}),{result:W.canonizeResults?this.canon.admit(C):C,missing:_e}},z}();function Pl(z){try{JSON.stringify(z,function(p,h){if("string"==typeof h)throw h;return h})}catch(p){return p}}var kd=a(396),mp=a(3445),Hp=a(8561),oc=a(6430),vp=Object.create(null);function Rd(z){var p=JSON.stringify(z);return vp[p]||(vp[p]=Object.create(null))}function Il(z){var p=Rd(z);return p.keyFieldsFn||(p.keyFieldsFn=function(h,v){var C=function(W,_e){return v.readField(_e,W)},D=v.keyObject=ic(z,function(W){var _e=gl(v.storeObject,W,C);return void 0===_e&&h!==v.storeObject&&so.RI.call(h,W[0])&&(_e=gl(h,W,Or)),__DEV__?(0,bi.kG)(void 0!==_e,"Missing field '".concat(W.join("."),"' while extracting keyFields from ").concat(JSON.stringify(h))):(0,bi.kG)(void 0!==_e,2),_e});return"".concat(v.typename,":").concat(JSON.stringify(D))})}function K1(z){var p=Rd(z);return p.keyArgsFn||(p.keyArgsFn=function(h,v){var C=v.field,D=v.variables,W=v.fieldName,_e=ic(z,function(Xe){var mt=Xe[0],Mt=mt.charAt(0);if("@"!==Mt)if("$"!==Mt){if(h)return gl(h,Xe)}else{var Bt=mt.slice(1);if(D&&so.RI.call(D,Bt)){var an=Xe.slice(0);return an[0]=Bt,gl(D,an)}}else if(C&&(0,mp.O)(C.directives)){var Ot=mt.slice(1),Ht=C.directives.find(function(_n){return _n.name.value===Ot}),Qt=Ht&&(0,So.NC)(Ht,D);return Qt&&gl(Qt,Xe.slice(1))}}),Oe=JSON.stringify(_e);return(h||"{}"!==Oe)&&(W+=":"+Oe),W})}function ic(z,p){var h=new Yc.w0;return Vd(z).reduce(function(v,C){var D,W=p(C);if(void 0!==W){for(var _e=C.length-1;_e>=0;--_e)(D={})[C[_e]]=W,W=D;v=h.merge(v,W)}return v},Object.create(null))}function Vd(z){var p=Rd(z);if(!p.paths){var h=p.paths=[],v=[];z.forEach(function(C,D){(0,so.kJ)(C)?(Vd(C).forEach(function(W){return h.push(v.concat(W))}),v.length=0):(v.push(C),(0,so.kJ)(z[D+1])||(h.push(v.slice(0)),v.length=0))})}return p.paths}function Or(z,p){return z[p]}function gl(z,p,h){return h=h||Or,Yp(p.reduce(function v(C,D){return(0,so.kJ)(C)?C.map(function(W){return v(W,D)}):C&&h(C,D)},z))}function Yp(z){return(0,$c.s)(z)?(0,so.kJ)(z)?z.map(Yp):ic(Object.keys(z).sort(),function(p){return gl(z,p)}):z}function Bd(z){return void 0!==z.args?z.args:z.field?(0,So.NC)(z.field,z.variables):null}So.PT.setStringify(ml.B);var cu=function(){},_p=function(z,p){return p.fieldName},Al=function(z,p,h){return(0,h.mergeObjects)(z,p)},Fl=function(z,p){return p},yp=function(){function z(p){this.config=p,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,kn.pi)({dataIdFromObject:so.uG},p),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),p.possibleTypes&&this.addPossibleTypes(p.possibleTypes),p.typePolicies&&this.addTypePolicies(p.typePolicies)}return z.prototype.identify=function(p,h){var v,C=this,D=h&&(h.typename||(null===(v=h.storeObject)||void 0===v?void 0:v.__typename))||p.__typename;if(D===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var Oe,W=h&&h.storeObject||p,_e=(0,kn.pi)((0,kn.pi)({},h),{typename:D,storeObject:W,readField:h&&h.readField||function(){var Ot=X1(arguments,W);return C.readField(Ot,{store:C.cache.data,variables:Ot.variables})}}),Xe=D&&this.getTypePolicy(D),mt=Xe&&Xe.keyFn||this.config.dataIdFromObject;mt;){var Mt=mt(p,_e);if(!(0,so.kJ)(Mt)){Oe=Mt;break}mt=Il(Mt)}return Oe=Oe?String(Oe):void 0,_e.keyObject?[Oe,_e.keyObject]:[Oe]},z.prototype.addTypePolicies=function(p){var h=this;Object.keys(p).forEach(function(v){var C=p[v],D=C.queryType,W=C.mutationType,_e=C.subscriptionType,Oe=(0,kn._T)(C,["queryType","mutationType","subscriptionType"]);D&&h.setRootTypename("Query",v),W&&h.setRootTypename("Mutation",v),_e&&h.setRootTypename("Subscription",v),so.RI.call(h.toBeAdded,v)?h.toBeAdded[v].push(Oe):h.toBeAdded[v]=[Oe]})},z.prototype.updateTypePolicy=function(p,h){var v=this,C=this.getTypePolicy(p),D=h.keyFields,W=h.fields;function _e(Oe,Xe){Oe.merge="function"==typeof Xe?Xe:!0===Xe?Al:!1===Xe?Fl:Oe.merge}_e(C,h.merge),C.keyFn=!1===D?cu:(0,so.kJ)(D)?Il(D):"function"==typeof D?D:C.keyFn,W&&Object.keys(W).forEach(function(Oe){var Xe=v.getFieldPolicy(p,Oe,!0),mt=W[Oe];if("function"==typeof mt)Xe.read=mt;else{var Mt=mt.keyArgs,Ot=mt.read,Ht=mt.merge;Xe.keyFn=!1===Mt?_p:(0,so.kJ)(Mt)?K1(Mt):"function"==typeof Mt?Mt:Xe.keyFn,"function"==typeof Ot&&(Xe.read=Ot),_e(Xe,Ht)}Xe.read&&Xe.merge&&(Xe.keyFn=Xe.keyFn||_p)})},z.prototype.setRootTypename=function(p,h){void 0===h&&(h=p);var v="ROOT_"+p.toUpperCase(),C=this.rootTypenamesById[v];h!==C&&(__DEV__?(0,bi.kG)(!C||C===p,"Cannot change root ".concat(p," __typename more than once")):(0,bi.kG)(!C||C===p,3),C&&delete this.rootIdsByTypename[C],this.rootIdsByTypename[h]=v,this.rootTypenamesById[v]=h)},z.prototype.addPossibleTypes=function(p){var h=this;this.usingPossibleTypes=!0,Object.keys(p).forEach(function(v){h.getSupertypeSet(v,!0),p[v].forEach(function(C){h.getSupertypeSet(C,!0).add(v);var D=C.match(so.$O);(!D||D[0]!==C)&&h.fuzzySubtypes.set(C,new RegExp(C))})})},z.prototype.getTypePolicy=function(p){var h=this;if(!so.RI.call(this.typePolicies,p)){var v=this.typePolicies[p]=Object.create(null);v.fields=Object.create(null);var C=this.supertypeMap.get(p);C&&C.size&&C.forEach(function(W){var _e=h.getTypePolicy(W),Oe=_e.fields,Xe=(0,kn._T)(_e,["fields"]);Object.assign(v,Xe),Object.assign(v.fields,Oe)})}var D=this.toBeAdded[p];return D&&D.length&&D.splice(0).forEach(function(W){h.updateTypePolicy(p,W)}),this.typePolicies[p]},z.prototype.getFieldPolicy=function(p,h,v){if(p){var C=this.getTypePolicy(p).fields;return C[h]||v&&(C[h]=Object.create(null))}},z.prototype.getSupertypeSet=function(p,h){var v=this.supertypeMap.get(p);return!v&&h&&this.supertypeMap.set(p,v=new Set),v},z.prototype.fragmentMatches=function(p,h,v,C){var D=this;if(!p.typeCondition)return!0;if(!h)return!1;var W=p.typeCondition.name.value;if(h===W)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(W))for(var _e=this.getSupertypeSet(h,!0),Oe=[_e],Xe=function(Qt){var Bt=D.getSupertypeSet(Qt,!1);Bt&&Bt.size&&Oe.indexOf(Bt)<0&&Oe.push(Bt)},mt=!(!v||!this.fuzzySubtypes.size),Mt=!1,Ot=0;Ot1?z[1]:p}:(W=(0,kn.pi)({},v),so.RI.call(W,"from")||(W.from=p)),__DEV__&&void 0===W.from&&__DEV__&&bi.kG.warn("Undefined 'from' passed to readField with arguments ".concat(function gp(z){var p=(0,Hp.X)("stringifyForDisplay");return JSON.stringify(z,function(h,v){return void 0===v?p:v}).split(JSON.stringify(p)).join("")}(Array.from(z)))),void 0===W.variables&&(W.variables=h),W}function Cp(z){return function(h,v){if((0,so.kJ)(h)||(0,so.kJ)(v))throw __DEV__?new bi.ej("Cannot automatically merge arrays"):new bi.ej(4);if((0,$c.s)(h)&&(0,$c.s)(v)){var C=z.getFieldValue(h,"__typename"),D=z.getFieldValue(v,"__typename");if(C&&D&&C!==D)return v;if((0,So.Yk)(h)&&(0,so.j)(v))return z.merge(h.__ref,v),h;if((0,so.j)(h)&&(0,So.Yk)(v))return z.merge(h,v.__ref),v;if((0,so.j)(h)&&(0,so.j)(v))return(0,kn.pi)((0,kn.pi)({},h),v)}return v}}function vl(z,p,h){var v="".concat(p).concat(h),C=z.flavors.get(v);return C||z.flavors.set(v,C=z.clientOnly===p&&z.deferred===h?z:(0,kn.pi)((0,kn.pi)({},z),{clientOnly:p,deferred:h})),C}var zp=function(){function z(p,h,v){this.cache=p,this.reader=h,this.fragments=v}return z.prototype.writeToStore=function(p,h){var v=this,C=h.query,D=h.result,W=h.dataId,_e=h.variables,Oe=h.overwrite,Xe=(0,Hc.$H)(C),mt=(0,so.ig)();_e=(0,kn.pi)((0,kn.pi)({},(0,Hc.O4)(Xe)),_e);var Mt=(0,kn.pi)((0,kn.pi)({store:p,written:Object.create(null),merge:function(Ht,Qt){return mt.merge(Ht,Qt)},variables:_e,varString:(0,ml.B)(_e)},(0,so.Is)(C,this.fragments)),{overwrite:!!Oe,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),Ot=this.processSelectionSet({result:D||Object.create(null),dataId:W,selectionSet:Xe.selectionSet,mergeTree:{map:new Map},context:Mt});if(!(0,So.Yk)(Ot))throw __DEV__?new bi.ej("Could not identify object ".concat(JSON.stringify(D))):new bi.ej(7);return Mt.incomingById.forEach(function(Ht,Qt){var Bt=Ht.storeObject,an=Ht.mergeTree,_n=Ht.fieldNodeSet,Ln=(0,So.kQ)(Qt);if(an&&an.map.size){var en=v.applyMerges(an,Ln,Bt,Mt);if((0,So.Yk)(en))return;Bt=en}if(__DEV__&&!Mt.overwrite){var dn=Object.create(null);_n.forEach(function(eo){eo.selectionSet&&(dn[eo.name.value]=!0)}),Object.keys(Bt).forEach(function(eo){(function(eo){return!0===dn[(0,so.E_)(eo)]})(eo)&&!function(eo){var Mo=an&&an.map.get(eo);return Boolean(Mo&&Mo.info&&Mo.info.merge)}(eo)&&function $p(z,p,h,v){var C=function(Mt){var Ot=v.getFieldValue(Mt,h);return"object"==typeof Ot&&Ot},D=C(z);if(D){var W=C(p);if(W&&!(0,So.Yk)(D)&&!(0,ru.D)(D,W)&&!Object.keys(D).every(function(Mt){return void 0!==v.getFieldValue(W,Mt)})){var _e=v.getFieldValue(z,"__typename")||v.getFieldValue(p,"__typename"),Oe=(0,so.E_)(h),Xe="".concat(_e,".").concat(Oe);if(!lu.has(Xe)){lu.add(Xe);var mt=[];!(0,so.kJ)(D)&&!(0,so.kJ)(W)&&[D,W].forEach(function(Mt){var Ot=v.getFieldValue(Mt,"__typename");"string"==typeof Ot&&!mt.includes(Ot)&&mt.push(Ot)}),__DEV__&&bi.kG.warn("Cache data may be lost when replacing the ".concat(Oe," field of a ").concat(_e," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(mt.length?"either ensure all objects of type "+mt.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(Xe," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(D).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(W).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(Ln,Bt,eo,Mt.store)})}p.merge(Qt,Bt)}),p.retain(Ot.__ref),Ot},z.prototype.processSelectionSet=function(p){var h=this,v=p.dataId,C=p.result,D=p.selectionSet,W=p.context,_e=p.mergeTree,Oe=this.cache.policies,Xe=Object.create(null),mt=v&&Oe.rootTypenamesById[v]||(0,So.qw)(C,D,W.fragmentMap)||v&&W.store.get(v,"__typename");"string"==typeof mt&&(Xe.__typename=mt);var Mt=function(){var en=X1(arguments,Xe,W.variables);if((0,So.Yk)(en.from)){var dn=W.incomingById.get(en.from.__ref);if(dn){var Nn=Oe.readField((0,kn.pi)((0,kn.pi)({},en),{from:dn.storeObject}),W);if(void 0!==Nn)return Nn}}return Oe.readField(en,W)},Ot=new Set;this.flattenFields(D,C,W,mt).forEach(function(en,dn){var Nn,In=(0,So.u2)(dn),eo=C[In];if(Ot.add(dn),void 0!==eo){var Mo=Oe.getStoreFieldName({typename:mt,fieldName:dn.name.value,field:dn,variables:en.variables}),zi=n1(_e,Mo),Ti=h.processFieldValue(eo,dn,dn.selectionSet?vl(en,!1,!1):en,zi),sa=void 0;dn.selectionSet&&((0,So.Yk)(Ti)||(0,so.j)(Ti))&&(sa=Mt("__typename",Ti));var wr=Oe.getMergeFunction(mt,dn.name.value,sa);wr?zi.info={field:dn,typename:mt,merge:wr}:td(_e,Mo),Xe=en.merge(Xe,((Nn={})[Mo]=Ti,Nn))}else __DEV__&&!en.clientOnly&&!en.deferred&&!Ad.Gw.added(dn)&&!Oe.getReadFunction(mt,dn.name.value)&&__DEV__&&bi.kG.error("Missing field '".concat((0,So.u2)(dn),"' while writing result ").concat(JSON.stringify(C,null,2)).substring(0,1e3))});try{var Ht=Oe.identify(C,{typename:mt,selectionSet:D,fragmentMap:W.fragmentMap,storeObject:Xe,readField:Mt}),Bt=Ht[1];v=v||Ht[0],Bt&&(Xe=W.merge(Xe,Bt))}catch(en){if(!v)throw en}if("string"==typeof v){var an=(0,So.kQ)(v),_n=W.written[v]||(W.written[v]=[]);if(_n.indexOf(D)>=0||(_n.push(D),this.reader&&this.reader.isFresh(C,an,D,W)))return an;var Ln=W.incomingById.get(v);return Ln?(Ln.storeObject=W.merge(Ln.storeObject,Xe),Ln.mergeTree=o1(Ln.mergeTree,_e),Ot.forEach(function(en){return Ln.fieldNodeSet.add(en)})):W.incomingById.set(v,{storeObject:Xe,mergeTree:ed(_e)?void 0:_e,fieldNodeSet:Ot}),an}return Xe},z.prototype.processFieldValue=function(p,h,v,C){var D=this;return h.selectionSet&&null!==p?(0,so.kJ)(p)?p.map(function(W,_e){var Oe=D.processFieldValue(W,h,v,n1(C,_e));return td(C,_e),Oe}):this.processSelectionSet({result:p,selectionSet:h.selectionSet,context:v,mergeTree:C}):__DEV__?(0,kd.X)(p):p},z.prototype.flattenFields=function(p,h,v,C){void 0===C&&(C=(0,So.qw)(h,p,v.fragmentMap));var D=new Map,W=this.cache.policies,_e=new Q1.B(!1);return function Oe(Xe,mt){var Mt=_e.lookup(Xe,mt.clientOnly,mt.deferred);Mt.visited||(Mt.visited=!0,Xe.selections.forEach(function(Ot){if((0,G1.LZ)(Ot,v.variables)){var Ht=mt.clientOnly,Qt=mt.deferred;if(!(Ht&&Qt)&&(0,mp.O)(Ot.directives)&&Ot.directives.forEach(function(_n){var Ln=_n.name.value;if("client"===Ln&&(Ht=!0),"defer"===Ln){var en=(0,So.NC)(_n,v.variables);(!en||!1!==en.if)&&(Qt=!0)}}),(0,So.My)(Ot)){var Bt=D.get(Ot);Bt&&(Ht=Ht&&Bt.clientOnly,Qt=Qt&&Bt.deferred),D.set(Ot,vl(v,Ht,Qt))}else{var an=(0,j1.hi)(Ot,v.lookupFragment);if(!an&&Ot.kind===Fd.h.FRAGMENT_SPREAD)throw __DEV__?new bi.ej("No fragment named ".concat(Ot.name.value)):new bi.ej(8);an&&W.fragmentMatches(an,C,h,v.variables)&&Oe(an.selectionSet,vl(v,Ht,Qt))}}}))}(p,v),D},z.prototype.applyMerges=function(p,h,v,C,D){var W,_e=this;if(p.map.size&&!(0,So.Yk)(v)){var Oe=(0,so.kJ)(v)||!(0,So.Yk)(h)&&!(0,so.j)(h)?void 0:h,Xe=v;Oe&&!D&&(D=[(0,So.Yk)(Oe)?Oe.__ref:Oe]);var mt,Mt=function(Ot,Ht){return(0,so.kJ)(Ot)?"number"==typeof Ht?Ot[Ht]:void 0:C.store.getFieldValue(Ot,String(Ht))};p.map.forEach(function(Ot,Ht){var Qt=Mt(Oe,Ht),Bt=Mt(Xe,Ht);if(void 0!==Bt){D&&D.push(Ht);var an=_e.applyMerges(Ot,Qt,Bt,C,D);an!==Bt&&(mt=mt||new Map).set(Ht,an),D&&(0,bi.kG)(D.pop()===Ht)}}),mt&&(v=(0,so.kJ)(Xe)?Xe.slice(0):(0,kn.pi)({},Xe),mt.forEach(function(Ot,Ht){v[Ht]=Ot}))}return p.info?this.cache.policies.runMergeFunction(h,v,p.info,C,D&&(W=C.store).getStorage.apply(W,D)):v},z}(),Tp=[];function n1(z,p){var h=z.map;return h.has(p)||h.set(p,Tp.pop()||{map:new Map}),h.get(p)}function o1(z,p){if(z===p||!p||ed(p))return z;if(!z||ed(z))return p;var h=z.info&&p.info?(0,kn.pi)((0,kn.pi)({},z.info),p.info):z.info||p.info,v=z.map.size&&p.map.size,D={info:h,map:v?new Map:z.map.size?z.map:p.map};if(v){var W=new Set(p.map.keys());z.map.forEach(function(_e,Oe){D.map.set(Oe,o1(_e,p.map.get(Oe))),W.delete(Oe)}),W.forEach(function(_e){D.map.set(_e,o1(p.map.get(_e),z.map.get(_e)))})}return D}function ed(z){return!z||!(z.info||z.map.size)}function td(z,p){var h=z.map,v=h.get(p);v&&ed(v)&&(Tp.push(v),h.delete(p))}var lu=new Set,Up=function(z){function p(h){void 0===h&&(h={});var v=z.call(this)||this;return v.watches=new Set,v.typenameDocumentCache=new Map,v.makeVar=oc.QS,v.txCount=0,v.config=(0,so.jS)(h),v.addTypename=!!v.config.addTypename,v.policies=new yp({cache:v,dataIdFromObject:v.config.dataIdFromObject,possibleTypes:v.config.possibleTypes,typePolicies:v.config.typePolicies}),v.init(),v}return(0,kn.ZT)(p,z),p.prototype.init=function(){var h=this.data=new e1.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=h.stump,this.resetResultCache()},p.prototype.resetResultCache=function(h){var v=this,C=this.storeReader,D=this.config.fragments;this.storeWriter=new zp(this,this.storeReader=new J1({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,so.lg)(this.config),canon:h?void 0:C&&C.canon,fragments:D}),D),this.maybeBroadcastWatch=(0,iu.re)(function(W,_e){return v.broadcastWatch(W,_e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(W){var _e=W.optimistic?v.optimisticData:v.data;if(fl(_e))return _e.makeCacheKey(W.query,W.callback,(0,ml.B)({optimistic:W.optimistic,id:W.id,variables:W.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(W){return W.resetCaching()})},p.prototype.restore=function(h){return this.init(),h&&this.data.replace(h),this},p.prototype.extract=function(h){return void 0===h&&(h=!1),(h?this.optimisticData:this.data).extract()},p.prototype.read=function(h){var v=h.returnPartialData,C=void 0!==v&&v;try{return this.storeReader.diffQueryAgainstStore((0,kn.pi)((0,kn.pi)({},h),{store:h.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:C})).result||null}catch(D){if(D instanceof up)return null;throw D}},p.prototype.write=function(h){try{return++this.txCount,this.storeWriter.writeToStore(this.data,h)}finally{!--this.txCount&&!1!==h.broadcast&&this.broadcastWatches()}},p.prototype.modify=function(h){if(so.RI.call(h,"id")&&!h.id)return!1;var v=h.optimistic?this.optimisticData:this.data;try{return++this.txCount,v.modify(h.id||"ROOT_QUERY",h.fields)}finally{!--this.txCount&&!1!==h.broadcast&&this.broadcastWatches()}},p.prototype.diff=function(h){return this.storeReader.diffQueryAgainstStore((0,kn.pi)((0,kn.pi)({},h),{store:h.optimistic?this.optimisticData:this.data,rootId:h.id||"ROOT_QUERY",config:this.config}))},p.prototype.watch=function(h){var v=this;return this.watches.size||(0,oc._v)(this),this.watches.add(h),h.immediate&&this.maybeBroadcastWatch(h),function(){v.watches.delete(h)&&!v.watches.size&&(0,oc.li)(v),v.maybeBroadcastWatch.forget(h)}},p.prototype.gc=function(h){ml.B.reset();var v=this.optimisticData.gc();return h&&!this.txCount&&(h.resetResultCache?this.resetResultCache(h.resetResultIdentities):h.resetResultIdentities&&this.storeReader.resetCanon()),v},p.prototype.retain=function(h,v){return(v?this.optimisticData:this.data).retain(h)},p.prototype.release=function(h,v){return(v?this.optimisticData:this.data).release(h)},p.prototype.identify=function(h){if((0,So.Yk)(h))return h.__ref;try{return this.policies.identify(h)[0]}catch(v){__DEV__&&bi.kG.warn(v)}},p.prototype.evict=function(h){if(!h.id){if(so.RI.call(h,"id"))return!1;h=(0,kn.pi)((0,kn.pi)({},h),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(h,this.data)}finally{!--this.txCount&&!1!==h.broadcast&&this.broadcastWatches()}},p.prototype.reset=function(h){var v=this;return this.init(),ml.B.reset(),h&&h.discardWatches?(this.watches.forEach(function(C){return v.maybeBroadcastWatch.forget(C)}),this.watches.clear(),(0,oc.li)(this)):this.broadcastWatches(),Promise.resolve()},p.prototype.removeOptimistic=function(h){var v=this.optimisticData.removeLayer(h);v!==this.optimisticData&&(this.optimisticData=v,this.broadcastWatches())},p.prototype.batch=function(h){var Xe,v=this,C=h.update,D=h.optimistic,W=void 0===D||D,_e=h.removeOptimistic,Oe=h.onWatchUpdated,mt=function(Ot){var Qt=v.data,Bt=v.optimisticData;++v.txCount,Ot&&(v.data=v.optimisticData=Ot);try{return Xe=C(v)}finally{--v.txCount,v.data=Qt,v.optimisticData=Bt}},Mt=new Set;return Oe&&!this.txCount&&this.broadcastWatches((0,kn.pi)((0,kn.pi)({},h),{onWatchUpdated:function(Ot){return Mt.add(Ot),!1}})),"string"==typeof W?this.optimisticData=this.optimisticData.addLayer(W,mt):!1===W?mt(this.data):mt(),"string"==typeof _e&&(this.optimisticData=this.optimisticData.removeLayer(_e)),Oe&&Mt.size?(this.broadcastWatches((0,kn.pi)((0,kn.pi)({},h),{onWatchUpdated:function(Ot,Ht){var Qt=Oe.call(this,Ot,Ht);return!1!==Qt&&Mt.delete(Ot),Qt}})),Mt.size&&Mt.forEach(function(Ot){return v.maybeBroadcastWatch.dirty(Ot)})):this.broadcastWatches(h),Xe},p.prototype.performTransaction=function(h,v){return this.batch({update:h,optimistic:v||null!==v})},p.prototype.transformDocument=function(h){if(this.addTypename){var v=this.typenameDocumentCache.get(h);return v||(v=(0,Ad.Gw)(h),this.typenameDocumentCache.set(h,v),this.typenameDocumentCache.set(v,v)),v}return h},p.prototype.transformForLink=function(h){var v=this.config.fragments;return v?v.transform(h):h},p.prototype.broadcastWatches=function(h){var v=this;this.txCount||this.watches.forEach(function(C){return v.maybeBroadcastWatch(C,h)})},p.prototype.broadcastWatch=function(h,v){var C=h.lastDiff,D=this.diff(h);v&&(h.optimistic&&"string"==typeof v.optimistic&&(D.fromOptimisticTransaction=!0),v.onWatchUpdated&&!1===v.onWatchUpdated.call(this,h,D,C))||(!C||!(0,ru.D)(C.result,D.result))&&h.callback(h.lastDiff=D,C)},p}(Rp);const uu={possibleTypes:{CommentBodySegment:["CommentTagSegment","CommentTextSegment","User"],Commentable:["Assertion","EvidenceItem","Flag","Gene","MolecularProfile","Revision","Source","SourcePopover","Variant","VariantGroup"],EventOriginObject:["Assertion","Comment","EvidenceItem","Flag","MolecularProfile","Revision","SourceSuggestion","Variant"],EventSubject:["Assertion","EvidenceItem","Gene","MolecularProfile","Revision","Source","SourcePopover","SourceSuggestion","Variant","VariantGroup"],Flaggable:["Assertion","BrowseGene","EvidenceItem","Gene","MolecularProfile","Variant","VariantGroup"],ModeratedField:["ObjectField","ScalarField"],ModeratedFieldDiff:["ObjectFieldDiff","ScalarFieldDiff"],MolecularProfileComponent:["Gene","Variant"],MolecularProfileSegment:["Gene","MolecularProfileTextSegment","Variant"],WithRevisions:["Assertion","EvidenceItem","Gene","MolecularProfile","Variant","VariantGroup"]}};var nd=a(3595),jp=a(4302),Gp=a(2465);class Th extends lp.i{constructor(p,h){super(),this.httpClient=p,this.options=h,this.print=Gp.S,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=v=>new jp.y(C=>{const D=v.getContext(),W=(Ln,en)=>function Ll(...z){const p=z.find(h=>typeof h<"u");return typeof p>"u"?z[z.length-1]:p}(D[Ln],this.options[Ln],en);let _e=W("method","POST");const Oe=W("includeQuery",!0),Xe=W("includeExtensions",!1),mt=W("uri","graphql"),Mt=W("withCredentials"),Ot=W("useMultipart"),Ht=!0===this.options.useGETForQueries,Qt=v.query.definitions.some(Ln=>"OperationDefinition"===Ln.kind&&"query"===Ln.operation);Ht&&Qt&&(_e="GET");const Bt={method:_e,url:"function"==typeof mt?mt(v):mt,body:{operationName:v.operationName,variables:v.variables},options:{withCredentials:Mt,useMultipart:Ot,headers:this.options.headers}};Xe&&(Bt.body.extensions=v.extensions),Oe&&(Bt.body.query=this.print(v.query));const an=function Mp(z){let p=z.headers&&z.headers instanceof oi.WM?z.headers:new oi.WM(z.headers);if(z.clientAwareness){const{name:h,version:v}=z.clientAwareness;h&&!p.has("apollographql-client-name")&&(p=p.set("apollographql-client-name",h)),v&&!p.has("apollographql-client-version")&&(p=p.set("apollographql-client-version",v))}return p}(D);Bt.options.headers=((z,p)=>z&&p?p.keys().reduce((v,C)=>v.set(C,p.getAll(C)),z):p||z)(Bt.options.headers,an);const _n=((z,p,h)=>{const v=-1!==["POST","PUT","PATCH"].indexOf(z.method.toUpperCase()),D=z.body.length;let _e,W=z.options&&z.options.useMultipart;if(W){if(D)return new g.y(Xe=>Xe.error(new Error("File upload is not available when combined with Batching")));if(!v)return new g.y(Xe=>Xe.error(new Error("File upload is not available when GET is used")));if(!h)return new g.y(Xe=>Xe.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));_e=h(z.body),W=!!_e.files.size}let Oe={};if(D){if(!v)return new g.y(Xe=>Xe.error(new Error("Batching is not available for GET requests")));Oe={body:z.body}}else Oe=v?{body:W?_e.clone:z.body}:{params:Object.keys(z.body).reduce((Mt,Ot)=>{const Ht=z.body[Ot];return Mt[Ot]=-1!==["variables","extensions"].indexOf(Ot.toLowerCase())?JSON.stringify(Ht):Ht,Mt},{})};if(W&&v){const Xe=new FormData;Xe.append("operations",JSON.stringify(Oe.body));const mt={},Mt=_e.files;let Ot=0;Mt.forEach(Ht=>{mt[++Ot]=Ht}),Xe.append("map",JSON.stringify(mt)),Ot=0,Mt.forEach((Ht,Qt)=>{Xe.append(++Ot+"",Qt,Qt.name)}),Oe.body=Xe}return p.request(z.method,z.url,{observe:"response",responseType:"json",reportProgress:!1,...Oe,...z.options})})(Bt,this.httpClient,this.options.extractFiles).subscribe({next:Ln=>{v.setContext({response:Ln}),C.next(Ln.body)},error:Ln=>C.error(Ln),complete:()=>C.complete()});return()=>{_n.closed||_n.unsubscribe()}})}request(p){return this.requester(p)}}let Mh=(()=>{class z{constructor(h){this.httpClient=h}create(h){return new Th(this.httpClient,h)}}return z.\u0275fac=function(h){return new(h||z)(o.LFG(oi.eN))},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();function di(z){return void 0===z&&(z=!1),{keyArgs:z,read:function(p,h){var v=h.canRead,C=h.readField;if(!p)return p;var D=[],W="",_e="";p.edges.forEach(function(Mt){v(C("node",Mt))&&(D.push(Mt),Mt.cursor&&(W=W||Mt.cursor||"",_e=Mt.cursor||_e))});var Oe=p.pageInfo||{},Xe=Oe.startCursor,mt=Oe.endCursor;return(0,kn.pi)((0,kn.pi)({},Hd(p)),{edges:D,pageInfo:(0,kn.pi)((0,kn.pi)({},p.pageInfo),{startCursor:Xe||W,endCursor:mt||_e})})},merge:function(p,h,v){var C=v.args,D=v.isReference,W=v.readField;if(p||(p={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!h)return p;var _e=h.edges?h.edges.map(function(Mo){return D(Mo=(0,kn.pi)({},Mo))&&(Mo.cursor=W("cursor",Mo)),Mo}):[];if(h.pageInfo){var Oe=h.pageInfo,Xe=Oe.startCursor,mt=Oe.endCursor,Mt=_e[0],Ot=_e[_e.length-1];Mt&&Xe&&(Mt.cursor=Xe),Ot&&mt&&(Ot.cursor=mt);var Ht=Mt&&Mt.cursor;Ht&&!Xe&&(h=(0,Yc.Ee)(h,{pageInfo:{startCursor:Ht}}));var Qt=Ot&&Ot.cursor;Qt&&!mt&&(h=(0,Yc.Ee)(h,{pageInfo:{endCursor:Qt}}))}var Bt=p.edges,an=[];if(C&&C.after)(_n=Bt.findIndex(function(Mo){return Mo.cursor===C.after}))>=0&&(Bt=Bt.slice(0,_n+1));else if(C&&C.before){var _n;an=(_n=Bt.findIndex(function(zi){return zi.cursor===C.before}))<0?Bt:Bt.slice(_n),Bt=[]}else h.edges&&(Bt=[]);var Ln=(0,kn.ev)((0,kn.ev)((0,kn.ev)([],Bt,!0),_e,!0),an,!0),en=(0,kn.pi)((0,kn.pi)({},h.pageInfo),p.pageInfo);if(h.pageInfo){var dn=h.pageInfo,Nn=dn.hasPreviousPage,In=dn.hasNextPage,eo=(Xe=dn.startCursor,mt=dn.endCursor,(0,kn._T)(dn,["hasPreviousPage","hasNextPage","startCursor","endCursor"]));Object.assign(en,eo),Bt.length||(void 0!==Nn&&(en.hasPreviousPage=Nn),void 0!==Xe&&(en.startCursor=Xe)),an.length||(void 0!==In&&(en.hasNextPage=In),void 0!==mt&&(en.endCursor=mt))}return(0,kn.pi)((0,kn.pi)((0,kn.pi)({},Hd(p)),Hd(h)),{edges:Ln,pageInfo:en})}}}var Hd=function(z){return(0,kn._T)(z,Zp)},Zp=["edges","pageInfo"];const bp={Gene:{fields:{comments:di(),revisions:di(),events:di(),variants:di()}},Query:{fields:{browseGenes:di(["entrezSymbol","therapayName","geneAlias","diseaseName"]),browseVariants:di(["variantName","entrezSymbol","diseaseName","therapayName","variantTypeId","variantGroupId"]),browseMolecularProfiles:di(["variantName","entrezSymbol","diseaseName","therapyName","molecularProfileScore","molecularProfileAlias","variantId"]),browseVariantGroups:di(["name","geneNames","variantNames","variantId"]),browseSources:di(["name","year","sourceType","citationId","author","journal","clinicalTrialId","id","openAccess"]),sourceSuggestions:di(["sourceType","citationId","sourceId","molecularProfileName","diseaseName","comment","submitter","citation","status","submitterId"]),browseDiseases:di(["name","doid","geneNames","id"]),events:di(["subject","organizationId","originatingUserId","eventType"]),variants:di(["geneId","name"]),molecularProfiles:di(["geneId","name","evidenceStatusFilter"]),comments:di(["originatingUserId","subject"]),evidenceItems:di(["diseaseName","therapayName","id","description","evidenceLevel","evidenceDirection","significance","evidenceType","evidenceRating","variantOrigin","variantId","molecularProfileId","assertionId","organizationId","userId","phenotypeId","diseaseId","therapayId","sourceId","geneSymbol","variantName","status","clinicalTrialId"]),assertions:di(["diseaseName","therapayName","id","name","summary","assertionDirection","significance","assertionType","variantId","molecularProfileId","ampLevel","geneName","variantName","evidenceId","organizationId","userId","phenotypeId","diseaseId","therapayId","status"]),organizations:di(["name","id"]),flags:di(["flaggable","flaggingUserId","resolvingUserId","state"]),phenotypes:di(["hpoId","name","id"]),variantTypes:di(["soid","name","id"]),therapies:di(["ncitId","name","id"]),clinicalTrials:di(["nctId","name","id"]),notifications:di(["notificationReason","subscriptionId","originatingObject","eventType","originatingUserId","organizationId","includeRead"]),revisions:di(["subject","status","originatingUserId","fieldName","revisionsetId"]),users:di(["userName","orgName","userRole"])}},User:{fields:{mostRecentOrg:{read:(z,{readField:p})=>{const h=p("mostRecentOrganizationId"),v=p("organizations");if(h&&v)return v.find(C=>C.__ref===`Organization:${h}`)}}}}},Kp=bp;class pu{}pu.\u0275fac=function(p){return new(p||pu)},pu.\u0275mod=o.oAB({type:pu}),pu.\u0275inj=o.cJS({providers:[{provide:nd.BV,useValue:{useInitialLoading:!0}},{provide:nd.zu,useFactory:function qp(z){let p=z.create({uri:"/api/graphql",withCredentials:!0});return{link:new lp.i((v,C)=>(v.setContext({headers:{"Civic-Client-Name":"civic-frontend"}}),C(v))).concat(p),cache:new Up({possibleTypes:uu.possibleTypes,typePolicies:Kp}),defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",errorPolicy:"all",notifyOnNetworkStatusChange:!0}}}},deps:[Mh]}],imports:[nd.VG]});var Ep=a(8823);class hu{}hu.\u0275fac=function(p){return new(p||hu)},hu.\u0275mod=o.oAB({type:hu}),hu.\u0275inj=o.cJS({imports:[bo.ez,Ca._N,Ca.pP,Pd.L,Dl.sL,qu.Qp,Ep.ZJ]});class fu{handleError(p){/Loading chunk [\d]+ failed/.test(p.message)&&confirm("There is an updated version of CiVIC available. Click OK to reload.")&&window.location.reload()}}fu.\u0275fac=function(p){return new(p||fu)},fu.\u0275prov=o.Yz7({token:fu,factory:fu.\u0275fac});var Xp=a(5106);(0,bo.qS)(ii);class Rl{}if(Rl.\u0275fac=function(p){return new(p||Rl)},Rl.\u0275mod=o.oAB({type:Rl,bootstrap:[wl]}),Rl.\u0275inj=o.cJS({providers:[bd.N,{provide:o.qLn,useClass:fu},{provide:Rc.u7,useValue:Rc.iF},{provide:o.ip1,useFactory:function wo(z){return()=>z.get("/api/status")},deps:[oi.eN],multi:!0}],imports:[Dr,gc,t.b2,pu,oi.JF,oi.PD,oi.Ed,wd.s,Br.PV.forRoot(ul),Xp.S,Ca._N,Ca.pP,hu]}),Ku.N.production)(0,o.G48)();else{const z=function fo(){var z=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Zn(z)}();z.unplug(z.find(oo)),z.show(),z.log()}t.q6().bootstrapModule(Rl).catch(z=>console.error(z))},3119:(Et,Me,a)=>{a.d(Me,{g7:()=>M});var t=null,o={},g=1;function s(w){try{return w()}catch{}}var L="@wry/context:Slot",T=s(function(){return globalThis})||s(function(){return global})||Object.create(null),M=T[L]||Array[L]||function(w){try{Object.defineProperty(T,L,{value:w,enumerable:!1,writable:!1,configurable:!0})}finally{return w}}(function(){function w(){this.id=["slot",g++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return w.prototype.hasValue=function(){for(var pe=t;pe;pe=pe.parent)if(this.id in pe.slots){var ae=pe.slots[this.id];if(ae===o)break;return pe!==t&&(t.slots[this.id]=ae),!0}return t&&(t.slots[this.id]=o),!1},w.prototype.getValue=function(){if(this.hasValue())return t.slots[this.id]},w.prototype.withValue=function(pe,ae,Z,U){var N,q=((N={__proto__:null})[this.id]=pe,N),Y=t;t={parent:Y,slots:q};try{return ae.apply(U,Z)}finally{t=Y}},w.bind=function(pe){var ae=t;return function(){var Z=t;try{return t=ae,pe.apply(this,arguments)}finally{t=Z}}},w.noContext=function(pe,ae,Z){if(!t)return pe.apply(Z,ae);var U=t;try{return t=null,pe.apply(Z,ae)}finally{t=U}},w}())},7883:(Et,Me,a)=>{a.d(Me,{D:()=>L});var t=Object.prototype,o=t.toString,g=t.hasOwnProperty,l=Function.prototype.toString,s=new Map;function L(V,S){try{return R(V,S)}finally{s.clear()}}function R(V,S){if(V===S)return!0;var e=o.call(V);if(e!==o.call(S))return!1;switch(e){case"[object Array]":if(V.length!==S.length)return!1;case"[object Object]":if(F(V,S))return!0;var w=T(V),pe=T(S),ae=w.length;if(ae!==pe.length)return!1;for(var Z=0;Z=0&&V.indexOf(S,e)===e}(ye,E)}return!1}function T(V){return Object.keys(V).filter(M,V)}function M(V){return void 0!==this[V]}var E="{ [native code] }";function F(V,S){var e=s.get(V);if(e){if(e.has(S))return!0}else s.set(V,e=new Set);return e.add(S),!1}},9428:(Et,Me,a)=>{a.d(Me,{B:()=>s});var t=function(){return Object.create(null)},o=Array.prototype,g=o.forEach,l=o.slice,s=function(){function R(T,M){void 0===T&&(T=!0),void 0===M&&(M=t),this.weakness=T,this.makeData=M}return R.prototype.lookup=function(){for(var T=[],M=0;M{a.d(Me,{Ps:()=>Te});var t=a(655);function g(Je,et){if(!Boolean(Je))throw new Error(et??"Unexpected invariant triggered.")}const l=/\r\n|[\n\r]/g;function s(Je,et){let pt=0,Vt=1;for(const zt of Je.body.matchAll(l)){if("number"==typeof zt.index||g(!1),zt.index>=et)break;pt=zt.index+zt[0].length,Vt+=1}return{line:Vt,column:et+1-pt}}function R(Je,et){const pt=Je.locationOffset.column-1,Vt="".padStart(pt)+Je.body,zt=et.line-1,Nt=et.line+(Je.locationOffset.line-1),j=et.column+(1===et.line?pt:0),P=`${Je.name}:${Nt}:${j}\n`,K=Vt.split(/\r\n|[\n\r]/g),ze=K[zt];if(ze.length>120){const dt=Math.floor(j/80),ke=j%80,ge=[];for(let xe=0;xe["|",xe]),["|","^".padStart(ke)],["|",ge[dt+1]]])}return P+T([[Nt-1+" |",K[zt-1]],[`${Nt} |`,ze],["|","^".padStart(j)],[`${Nt+1} |`,K[zt+1]]])}function T(Je){const et=Je.filter(([Vt,zt])=>void 0!==zt),pt=Math.max(...et.map(([Vt])=>Vt.length));return et.map(([Vt,zt])=>Vt.padStart(pt)+(zt?" "+zt:"")).join("\n")}class E extends Error{constructor(et,...pt){var Vt,zt,jt;const{nodes:Nt,source:We,positions:j,path:P,originalError:K,extensions:ze}=function M(Je){const et=Je[0];return null==et||"kind"in et||"length"in et?{nodes:et,source:Je[1],positions:Je[2],path:Je[3],originalError:Je[4],extensions:Je[5]}:et}(pt);super(et),this.name="GraphQLError",this.path=P??void 0,this.originalError=K??void 0,this.nodes=O(Array.isArray(Nt)?Nt:Nt?[Nt]:void 0);const dt=O(null===(Vt=this.nodes)||void 0===Vt?void 0:Vt.map(ge=>ge.loc).filter(ge=>null!=ge));this.source=We??(null==dt||null===(zt=dt[0])||void 0===zt?void 0:zt.source),this.positions=j??dt?.map(ge=>ge.start),this.locations=j&&We?j.map(ge=>s(We,ge)):dt?.map(ge=>s(ge.source,ge.start));const ke=function o(Je){return"object"==typeof Je&&null!==Je}(K?.extensions)?K?.extensions:void 0;this.extensions=null!==(jt=ze??ke)&&void 0!==jt?jt:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=K&&K.stack?Object.defineProperty(this,"stack",{value:K.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,E):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let et=this.message;if(this.nodes)for(const pt of this.nodes)pt.loc&&(et+="\n\n"+R((Je=pt.loc).source,s(Je.source,Je.start)));else if(this.source&&this.locations)for(const pt of this.locations)et+="\n\n"+R(this.source,pt);var Je;return et}toJSON(){const et={message:this.message};return null!=this.locations&&(et.locations=this.locations),null!=this.path&&(et.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(et.extensions=this.extensions),et}}function O(Je){return void 0===Je||0===Je.length?void 0:Je}function S(Je,et,pt){return new E(`Syntax Error: ${pt}`,{source:Je,positions:[et]})}var e=a(6298),I=(()=>{return(Je=I||(I={})).QUERY="QUERY",Je.MUTATION="MUTATION",Je.SUBSCRIPTION="SUBSCRIPTION",Je.FIELD="FIELD",Je.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",Je.FRAGMENT_SPREAD="FRAGMENT_SPREAD",Je.INLINE_FRAGMENT="INLINE_FRAGMENT",Je.VARIABLE_DEFINITION="VARIABLE_DEFINITION",Je.SCHEMA="SCHEMA",Je.SCALAR="SCALAR",Je.OBJECT="OBJECT",Je.FIELD_DEFINITION="FIELD_DEFINITION",Je.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",Je.INTERFACE="INTERFACE",Je.UNION="UNION",Je.ENUM="ENUM",Je.ENUM_VALUE="ENUM_VALUE",Je.INPUT_OBJECT="INPUT_OBJECT",Je.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",I;var Je})(),w=a(9558),pe=a(2032),ae=a(6009),Z=(()=>{return(Je=Z||(Z={})).SOF="",Je.EOF="",Je.BANG="!",Je.DOLLAR="$",Je.AMP="&",Je.PAREN_L="(",Je.PAREN_R=")",Je.SPREAD="...",Je.COLON=":",Je.EQUALS="=",Je.AT="@",Je.BRACKET_L="[",Je.BRACKET_R="]",Je.BRACE_L="{",Je.PIPE="|",Je.BRACE_R="}",Je.NAME="Name",Je.INT="Int",Je.FLOAT="Float",Je.STRING="String",Je.BLOCK_STRING="BlockString",Je.COMMENT="Comment",Z;var Je})();class U{constructor(et){const pt=new e.WU(Z.SOF,0,0,0,0);this.source=et,this.lastToken=pt,this.token=pt,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let et=this.token;if(et.kind!==Z.EOF)do{if(et.next)et=et.next;else{const pt=ye(this,et.end);et.next=pt,pt.prev=et,et=pt}}while(et.kind===Z.COMMENT);return et}}function q(Je){return Je>=0&&Je<=55295||Je>=57344&&Je<=1114111}function Y(Je,et){return k(Je.charCodeAt(et))&&me(Je.charCodeAt(et+1))}function k(Je){return Je>=55296&&Je<=56319}function me(Je){return Je>=56320&&Je<=57343}function fe(Je,et){const pt=Je.source.body.codePointAt(et);if(void 0===pt)return Z.EOF;if(pt>=32&&pt<=126){const Vt=String.fromCodePoint(pt);return'"'===Vt?"'\"'":`"${Vt}"`}return"U+"+pt.toString(16).toUpperCase().padStart(4,"0")}function te(Je,et,pt,Vt,zt){return new e.WU(et,pt,Vt,Je.line,1+pt-Je.lineStart,zt)}function ye(Je,et){const pt=Je.source.body,Vt=pt.length;let zt=et;for(;zt=48&&Je<=57?Je-48:Je>=65&&Je<=70?Je-55:Je>=97&&Je<=102?Je-87:-1}function gt(Je,et){const pt=Je.source.body;switch(pt.charCodeAt(et+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw S(Je.source,et,`Invalid character escape sequence: "${pt.slice(et,et+2)}".`)}function Dt(Je,et){const pt=Je.source.body,Vt=pt.length;let zt=Je.lineStart,jt=et+3,Nt=jt,We="";const j=[];for(;jtthis.parseValueLiteral(et),Z.BRACKET_R)})}parseObject(et){return this.node(this._lexer.token,{kind:w.h.OBJECT,fields:this.any(Z.BRACE_L,()=>this.parseObjectField(et),Z.BRACE_R)})}parseObjectField(et){const pt=this._lexer.token,Vt=this.parseName();return this.expectToken(Z.COLON),this.node(pt,{kind:w.h.OBJECT_FIELD,name:Vt,value:this.parseValueLiteral(et)})}parseDirectives(et){const pt=[];for(;this.peek(Z.AT);)pt.push(this.parseDirective(et));return pt}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(et){const pt=this._lexer.token;return this.expectToken(Z.AT),this.node(pt,{kind:w.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(et)})}parseTypeReference(){const et=this._lexer.token;let pt;if(this.expectOptionalToken(Z.BRACKET_L)){const Vt=this.parseTypeReference();this.expectToken(Z.BRACKET_R),pt=this.node(et,{kind:w.h.LIST_TYPE,type:Vt})}else pt=this.parseNamedType();return this.expectOptionalToken(Z.BANG)?this.node(et,{kind:w.h.NON_NULL_TYPE,type:pt}):pt}parseNamedType(){return this.node(this._lexer.token,{kind:w.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Z.STRING)||this.peek(Z.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("schema");const Vt=this.parseConstDirectives(),zt=this.many(Z.BRACE_L,this.parseOperationTypeDefinition,Z.BRACE_R);return this.node(et,{kind:w.h.SCHEMA_DEFINITION,description:pt,directives:Vt,operationTypes:zt})}parseOperationTypeDefinition(){const et=this._lexer.token,pt=this.parseOperationType();this.expectToken(Z.COLON);const Vt=this.parseNamedType();return this.node(et,{kind:w.h.OPERATION_TYPE_DEFINITION,operation:pt,type:Vt})}parseScalarTypeDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("scalar");const Vt=this.parseName(),zt=this.parseConstDirectives();return this.node(et,{kind:w.h.SCALAR_TYPE_DEFINITION,description:pt,name:Vt,directives:zt})}parseObjectTypeDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("type");const Vt=this.parseName(),zt=this.parseImplementsInterfaces(),jt=this.parseConstDirectives(),Nt=this.parseFieldsDefinition();return this.node(et,{kind:w.h.OBJECT_TYPE_DEFINITION,description:pt,name:Vt,interfaces:zt,directives:jt,fields:Nt})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Z.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Z.BRACE_L,this.parseFieldDefinition,Z.BRACE_R)}parseFieldDefinition(){const et=this._lexer.token,pt=this.parseDescription(),Vt=this.parseName(),zt=this.parseArgumentDefs();this.expectToken(Z.COLON);const jt=this.parseTypeReference(),Nt=this.parseConstDirectives();return this.node(et,{kind:w.h.FIELD_DEFINITION,description:pt,name:Vt,arguments:zt,type:jt,directives:Nt})}parseArgumentDefs(){return this.optionalMany(Z.PAREN_L,this.parseInputValueDef,Z.PAREN_R)}parseInputValueDef(){const et=this._lexer.token,pt=this.parseDescription(),Vt=this.parseName();this.expectToken(Z.COLON);const zt=this.parseTypeReference();let jt;this.expectOptionalToken(Z.EQUALS)&&(jt=this.parseConstValueLiteral());const Nt=this.parseConstDirectives();return this.node(et,{kind:w.h.INPUT_VALUE_DEFINITION,description:pt,name:Vt,type:zt,defaultValue:jt,directives:Nt})}parseInterfaceTypeDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("interface");const Vt=this.parseName(),zt=this.parseImplementsInterfaces(),jt=this.parseConstDirectives(),Nt=this.parseFieldsDefinition();return this.node(et,{kind:w.h.INTERFACE_TYPE_DEFINITION,description:pt,name:Vt,interfaces:zt,directives:jt,fields:Nt})}parseUnionTypeDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("union");const Vt=this.parseName(),zt=this.parseConstDirectives(),jt=this.parseUnionMemberTypes();return this.node(et,{kind:w.h.UNION_TYPE_DEFINITION,description:pt,name:Vt,directives:zt,types:jt})}parseUnionMemberTypes(){return this.expectOptionalToken(Z.EQUALS)?this.delimitedMany(Z.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("enum");const Vt=this.parseName(),zt=this.parseConstDirectives(),jt=this.parseEnumValuesDefinition();return this.node(et,{kind:w.h.ENUM_TYPE_DEFINITION,description:pt,name:Vt,directives:zt,values:jt})}parseEnumValuesDefinition(){return this.optionalMany(Z.BRACE_L,this.parseEnumValueDefinition,Z.BRACE_R)}parseEnumValueDefinition(){const et=this._lexer.token,pt=this.parseDescription(),Vt=this.parseEnumValueName(),zt=this.parseConstDirectives();return this.node(et,{kind:w.h.ENUM_VALUE_DEFINITION,description:pt,name:Vt,directives:zt})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw S(this._lexer.source,this._lexer.token.start,`${sn(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("input");const Vt=this.parseName(),zt=this.parseConstDirectives(),jt=this.parseInputFieldsDefinition();return this.node(et,{kind:w.h.INPUT_OBJECT_TYPE_DEFINITION,description:pt,name:Vt,directives:zt,fields:jt})}parseInputFieldsDefinition(){return this.optionalMany(Z.BRACE_L,this.parseInputValueDef,Z.BRACE_R)}parseTypeSystemExtension(){const et=this._lexer.lookahead();if(et.kind===Z.NAME)switch(et.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(et)}parseSchemaExtension(){const et=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const pt=this.parseConstDirectives(),Vt=this.optionalMany(Z.BRACE_L,this.parseOperationTypeDefinition,Z.BRACE_R);if(0===pt.length&&0===Vt.length)throw this.unexpected();return this.node(et,{kind:w.h.SCHEMA_EXTENSION,directives:pt,operationTypes:Vt})}parseScalarTypeExtension(){const et=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const pt=this.parseName(),Vt=this.parseConstDirectives();if(0===Vt.length)throw this.unexpected();return this.node(et,{kind:w.h.SCALAR_TYPE_EXTENSION,name:pt,directives:Vt})}parseObjectTypeExtension(){const et=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const pt=this.parseName(),Vt=this.parseImplementsInterfaces(),zt=this.parseConstDirectives(),jt=this.parseFieldsDefinition();if(0===Vt.length&&0===zt.length&&0===jt.length)throw this.unexpected();return this.node(et,{kind:w.h.OBJECT_TYPE_EXTENSION,name:pt,interfaces:Vt,directives:zt,fields:jt})}parseInterfaceTypeExtension(){const et=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const pt=this.parseName(),Vt=this.parseImplementsInterfaces(),zt=this.parseConstDirectives(),jt=this.parseFieldsDefinition();if(0===Vt.length&&0===zt.length&&0===jt.length)throw this.unexpected();return this.node(et,{kind:w.h.INTERFACE_TYPE_EXTENSION,name:pt,interfaces:Vt,directives:zt,fields:jt})}parseUnionTypeExtension(){const et=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const pt=this.parseName(),Vt=this.parseConstDirectives(),zt=this.parseUnionMemberTypes();if(0===Vt.length&&0===zt.length)throw this.unexpected();return this.node(et,{kind:w.h.UNION_TYPE_EXTENSION,name:pt,directives:Vt,types:zt})}parseEnumTypeExtension(){const et=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const pt=this.parseName(),Vt=this.parseConstDirectives(),zt=this.parseEnumValuesDefinition();if(0===Vt.length&&0===zt.length)throw this.unexpected();return this.node(et,{kind:w.h.ENUM_TYPE_EXTENSION,name:pt,directives:Vt,values:zt})}parseInputObjectTypeExtension(){const et=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const pt=this.parseName(),Vt=this.parseConstDirectives(),zt=this.parseInputFieldsDefinition();if(0===Vt.length&&0===zt.length)throw this.unexpected();return this.node(et,{kind:w.h.INPUT_OBJECT_TYPE_EXTENSION,name:pt,directives:Vt,fields:zt})}parseDirectiveDefinition(){const et=this._lexer.token,pt=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Z.AT);const Vt=this.parseName(),zt=this.parseArgumentDefs(),jt=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const Nt=this.parseDirectiveLocations();return this.node(et,{kind:w.h.DIRECTIVE_DEFINITION,description:pt,name:Vt,arguments:zt,repeatable:jt,locations:Nt})}parseDirectiveLocations(){return this.delimitedMany(Z.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const et=this._lexer.token,pt=this.parseName();if(Object.prototype.hasOwnProperty.call(I,pt.value))return pt;throw this.unexpected(et)}node(et,pt){return!0!==this._options.noLocation&&(pt.loc=new e.Ye(et,this._lexer.lastToken,this._lexer.source)),pt}peek(et){return this._lexer.token.kind===et}expectToken(et){const pt=this._lexer.token;if(pt.kind===et)return this.advanceLexer(),pt;throw S(this._lexer.source,pt.start,`Expected ${Dn(et)}, found ${sn(pt)}.`)}expectOptionalToken(et){return this._lexer.token.kind===et&&(this.advanceLexer(),!0)}expectKeyword(et){const pt=this._lexer.token;if(pt.kind!==Z.NAME||pt.value!==et)throw S(this._lexer.source,pt.start,`Expected "${et}", found ${sn(pt)}.`);this.advanceLexer()}expectOptionalKeyword(et){const pt=this._lexer.token;return pt.kind===Z.NAME&&pt.value===et&&(this.advanceLexer(),!0)}unexpected(et){const pt=et??this._lexer.token;return S(this._lexer.source,pt.start,`Unexpected ${sn(pt)}.`)}any(et,pt,Vt){this.expectToken(et);const zt=[];for(;!this.expectOptionalToken(Vt);)zt.push(pt.call(this));return zt}optionalMany(et,pt,Vt){if(this.expectOptionalToken(et)){const zt=[];do{zt.push(pt.call(this))}while(!this.expectOptionalToken(Vt));return zt}return[]}many(et,pt,Vt){this.expectToken(et);const zt=[];do{zt.push(pt.call(this))}while(!this.expectOptionalToken(Vt));return zt}delimitedMany(et,pt){this.expectOptionalToken(et);const Vt=[];do{Vt.push(pt.call(this))}while(this.expectOptionalToken(et));return Vt}advanceLexer(){const{maxTokens:et}=this._options,pt=this._lexer.advance();if(void 0!==et&&pt.kind!==Z.EOF&&(++this._tokenCounter,this._tokenCounter>et))throw S(this._lexer.source,pt.start,`Document contains more that ${et} tokens. Parsing aborted.`)}}function sn(Je){const et=Je.value;return Dn(Je.kind)+(null!=et?` "${et}"`:"")}function Dn(Je){return function N(Je){return Je===Z.BANG||Je===Z.DOLLAR||Je===Z.AMP||Je===Z.PAREN_L||Je===Z.PAREN_R||Je===Z.SPREAD||Je===Z.COLON||Je===Z.EQUALS||Je===Z.AT||Je===Z.BRACKET_L||Je===Z.BRACKET_R||Je===Z.BRACE_L||Je===Z.PIPE||Je===Z.BRACE_R}(Je)?`"${Je}"`:Je}var zn=new Map,Yt=new Map,xt=!0,Ye=!1;function $e(Je){return Je.replace(/[\s,]+/g," ").trim()}function J(Je){var et=$e(Je);if(!zn.has(et)){var pt=function At(Je,et){return new Rt(Je,et).parseDocument()}(Je,{experimentalFragmentVariables:Ye,allowLegacyFragmentVariables:Ye});if(!pt||"Document"!==pt.kind)throw new Error("Not a valid GraphQL document.");zn.set(et,function oe(Je){var et=new Set(Je.definitions);et.forEach(function(Vt){Vt.loc&&delete Vt.loc,Object.keys(Vt).forEach(function(zt){var jt=Vt[zt];jt&&"object"==typeof jt&&et.add(jt)})});var pt=Je.loc;return pt&&(delete pt.startToken,delete pt.endToken),Je}(function Ze(Je){var et=new Set,pt=[];return Je.definitions.forEach(function(Vt){if("FragmentDefinition"===Vt.kind){var zt=Vt.name.value,jt=function Ae(Je){return $e(Je.source.body.substring(Je.start,Je.end))}(Vt.loc),Nt=Yt.get(zt);Nt&&!Nt.has(jt)?xt&&console.warn("Warning: fragment with name "+zt+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):Nt||Yt.set(zt,Nt=new Set),Nt.add(jt),et.has(jt)||(et.add(jt),pt.push(Vt))}else pt.push(Vt)}),(0,t.pi)((0,t.pi)({},Je),{definitions:pt})}(pt)))}return zn.get(et)}function Te(Je){for(var et=[],pt=1;pt{a.d(Me,{dP:()=>ve,re:()=>rn});var t=a(9428),o=a(3119);function g(){}var L,l=function(){function ot(gt,Dt){void 0===gt&&(gt=1/0),void 0===Dt&&(Dt=g),this.max=gt,this.dispose=Dt,this.map=new Map,this.newest=null,this.oldest=null}return ot.prototype.has=function(gt){return this.map.has(gt)},ot.prototype.get=function(gt){var Dt=this.getNode(gt);return Dt&&Dt.value},ot.prototype.getNode=function(gt){var Dt=this.map.get(gt);if(Dt&&Dt!==this.newest){var Wt=Dt.older,mn=Dt.newer;mn&&(mn.older=Wt),Wt&&(Wt.newer=mn),Dt.older=this.newest,Dt.older.newer=Dt,Dt.newer=null,this.newest=Dt,Dt===this.oldest&&(this.oldest=mn)}return Dt},ot.prototype.set=function(gt,Dt){var Wt=this.getNode(gt);return Wt?Wt.value=Dt:(Wt={key:gt,value:Dt,newer:null,older:this.newest},this.newest&&(this.newest.newer=Wt),this.newest=Wt,this.oldest=this.oldest||Wt,this.map.set(gt,Wt),Wt.value)},ot.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},ot.prototype.delete=function(gt){var Dt=this.map.get(gt);return!!Dt&&(Dt===this.newest&&(this.newest=Dt.older),Dt===this.oldest&&(this.oldest=Dt.newer),Dt.newer&&(Dt.newer.older=Dt.older),Dt.older&&(Dt.older.newer=Dt.newer),this.map.delete(gt),this.dispose(Dt.value,gt),!0)},ot}(),s=new o.g7,R=Object.prototype.hasOwnProperty,T=void 0===(L=Array.from)?function(ot){var gt=[];return ot.forEach(function(Dt){return gt.push(Dt)}),gt}:L;function M(ot){var gt=ot.unsubscribe;"function"==typeof gt&&(ot.unsubscribe=void 0,gt())}var E=[];function F(ot,gt){if(!ot)throw new Error(gt||"assertion failure")}function S(ot){switch(ot.length){case 0:throw new Error("unknown value");case 1:return ot[0];case 2:throw ot[1]}}var I=function(){function ot(gt){this.fn=gt,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++ot.count}return ot.prototype.peek=function(){if(1===this.value.length&&!Z(this))return w(this),this.value[0]},ot.prototype.recompute=function(gt){return F(!this.recomputing,"already recomputing"),w(this),Z(this)?function pe(ot,gt){return te(ot),s.withValue(ot,ae,[ot,gt]),function H(ot,gt){if("function"==typeof ot.subscribe)try{M(ot),ot.unsubscribe=ot.subscribe.apply(null,gt)}catch{return ot.setDirty(),!1}return!0}(ot,gt)&&function U(ot){ot.dirty=!1,!Z(ot)&&q(ot)}(ot),S(ot.value)}(this,gt):S(this.value)},ot.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,N(this),M(this))},ot.prototype.dispose=function(){var gt=this;this.setDirty(),te(this),Y(this,function(Dt,Wt){Dt.setDirty(),ye(Dt,gt)})},ot.prototype.forget=function(){this.dispose()},ot.prototype.dependOn=function(gt){gt.add(this),this.deps||(this.deps=E.pop()||new Set),this.deps.add(gt)},ot.prototype.forgetDeps=function(){var gt=this;this.deps&&(T(this.deps).forEach(function(Dt){return Dt.delete(gt)}),this.deps.clear(),E.push(this.deps),this.deps=null)},ot.count=0,ot}();function w(ot){var gt=s.getValue();if(gt)return ot.parents.add(gt),gt.childValues.has(ot)||gt.childValues.set(ot,[]),Z(ot)?k(gt,ot):me(gt,ot),gt}function ae(ot,gt){ot.recomputing=!0,ot.value.length=0;try{ot.value[0]=ot.fn.apply(null,gt)}catch(Dt){ot.value[1]=Dt}ot.recomputing=!1}function Z(ot){return ot.dirty||!(!ot.dirtyChildren||!ot.dirtyChildren.size)}function N(ot){Y(ot,k)}function q(ot){Y(ot,me)}function Y(ot,gt){var Dt=ot.parents.size;if(Dt)for(var Wt=T(ot.parents),mn=0;mn0&&Dt===gt.length&&ot[Dt-1]===gt[Dt-1]}(Dt,gt.value)||ot.setDirty(),fe(ot,gt),!Z(ot)&&q(ot)}function fe(ot,gt){var Dt=ot.dirtyChildren;Dt&&(Dt.delete(gt),0===Dt.size&&(E.length<100&&E.push(Dt),ot.dirtyChildren=null))}function te(ot){ot.childValues.size>0&&ot.childValues.forEach(function(gt,Dt){ye(ot,Dt)}),ot.forgetDeps(),F(null===ot.dirtyChildren)}function ye(ot,gt){gt.parents.delete(ot),ot.childValues.delete(gt),fe(ot,gt)}var X={setDirty:!0,dispose:!0,forget:!0};function ve(ot){var gt=new Map,Dt=ot&&ot.subscribe;function Wt(mn){var At=s.getValue();if(At){var _t=gt.get(mn);_t||gt.set(mn,_t=new Set),At.dependOn(_t),"function"==typeof Dt&&(M(_t),_t.unsubscribe=Dt(mn))}}return Wt.dirty=function(At,_t){var Xt=gt.get(At);if(Xt){var ct=_t&&R.call(X,_t)?_t:"setDirty";T(Xt).forEach(function(Rt){return Rt[ct]()}),gt.delete(At),M(Xt)}},Wt}function Se(){var ot=new t.B("function"==typeof WeakMap);return function(){return ot.lookupArray(arguments)}}Se();var St=new Set;function rn(ot,gt){void 0===gt&&(gt=Object.create(null));var Dt=new l(gt.max||Math.pow(2,16),function(Rt){return Rt.dispose()}),Wt=gt.keyArgs,mn=gt.makeCacheKey||Se(),At=function(){var Rt=mn.apply(null,Wt?Wt.apply(null,arguments):arguments);if(void 0===Rt)return ot.apply(null,arguments);var sn=Dt.get(Rt);sn||(Dt.set(Rt,sn=new I(ot)),sn.subscribe=gt.subscribe,sn.forget=function(){return Dt.delete(Rt)});var Dn=sn.recompute(Array.prototype.slice.call(arguments));return Dt.set(Rt,sn),St.add(Dt),s.hasValue()||(St.forEach(function(zn){return zn.clean()}),St.clear()),Dn};function _t(Rt){var sn=Dt.get(Rt);sn&&sn.setDirty()}function Xt(Rt){var sn=Dt.get(Rt);if(sn)return sn.peek()}function ct(Rt){return Dt.delete(Rt)}return Object.defineProperty(At,"size",{get:function(){return Dt.map.size},configurable:!1,enumerable:!1}),At.dirtyKey=_t,At.dirty=function(){_t(mn.apply(null,arguments))},At.peekKey=Xt,At.peek=function(){return Xt(mn.apply(null,arguments))},At.forgetKey=ct,At.forget=function(){return ct(mn.apply(null,arguments))},At.makeCacheKey=mn,At.getKey=Wt?function(){return mn.apply(null,Wt.apply(null,arguments))}:mn,Object.freeze(At)}},6579:(Et,Me,a)=>{a.d(Me,{j:()=>o});var t=a(4813);function o(...g){return l=>(0,t.j)(...g)(l)}},3240:(Et,Me,a)=>{function t(R){return null!=R}a.d(Me,{ep:()=>t,lm:()=>o});const o=t},1135:(Et,Me,a)=>{a.d(Me,{X:()=>o});var t=a(7579);class o extends t.x{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const s=super._subscribe(l);return!s.closed&&l.next(this._value),s}getValue(){const{hasError:l,thrownError:s,_value:L}=this;if(l)throw s;return this._throwIfClosed(),L}next(l){super.next(this._value=l)}}},9751:(Et,Me,a)=>{a.d(Me,{y:()=>T});var t=a(930),o=a(727),g=a(8822),l=a(9635),s=a(2416),L=a(576),R=a(2806);let T=(()=>{class F{constructor(S){S&&(this._subscribe=S)}lift(S){const e=new F;return e.source=this,e.operator=S,e}subscribe(S,e,I){const w=function O(F){return F&&F instanceof t.Lv||function E(F){return F&&(0,L.m)(F.next)&&(0,L.m)(F.error)&&(0,L.m)(F.complete)}(F)&&(0,o.Nn)(F)}(S)?S:new t.Hp(S,e,I);return(0,R.x)(()=>{const{operator:pe,source:ae}=this;w.add(pe?pe.call(w,ae):ae?this._subscribe(w):this._trySubscribe(w))}),w}_trySubscribe(S){try{return this._subscribe(S)}catch(e){S.error(e)}}forEach(S,e){return new(e=M(e))((I,w)=>{const pe=new t.Hp({next:ae=>{try{S(ae)}catch(Z){w(Z),pe.unsubscribe()}},error:w,complete:I});this.subscribe(pe)})}_subscribe(S){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(S)}[g.L](){return this}pipe(...S){return(0,l.U)(S)(this)}toPromise(S){return new(S=M(S))((e,I)=>{let w;this.subscribe(pe=>w=pe,pe=>I(pe),()=>e(w))})}}return F.create=V=>new F(V),F})();function M(F){var V;return null!==(V=F??s.v.Promise)&&void 0!==V?V:Promise}},4707:(Et,Me,a)=>{a.d(Me,{t:()=>g});var t=a(7579),o=a(6063);class g extends t.x{constructor(s=1/0,L=1/0,R=o.l){super(),this._bufferSize=s,this._windowTime=L,this._timestampProvider=R,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=L===1/0,this._bufferSize=Math.max(1,s),this._windowTime=Math.max(1,L)}next(s){const{isStopped:L,_buffer:R,_infiniteTimeWindow:T,_timestampProvider:M,_windowTime:E}=this;L||(R.push(s),!T&&R.push(M.now()+E)),this._trimBuffer(),super.next(s)}_subscribe(s){this._throwIfClosed(),this._trimBuffer();const L=this._innerSubscribe(s),{_infiniteTimeWindow:R,_buffer:T}=this,M=T.slice();for(let E=0;E{a.d(Me,{x:()=>R});var t=a(9751),o=a(727);const l=(0,a(3888).d)(M=>function(){M(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=a(8737),L=a(2806);let R=(()=>{class M extends t.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(O){const F=new T(this,this);return F.operator=O,F}_throwIfClosed(){if(this.closed)throw new l}next(O){(0,L.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const F of this.currentObservers)F.next(O)}})}error(O){(0,L.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=O;const{observers:F}=this;for(;F.length;)F.shift().error(O)}})}complete(){(0,L.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:O}=this;for(;O.length;)O.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var O;return(null===(O=this.observers)||void 0===O?void 0:O.length)>0}_trySubscribe(O){return this._throwIfClosed(),super._trySubscribe(O)}_subscribe(O){return this._throwIfClosed(),this._checkFinalizedStatuses(O),this._innerSubscribe(O)}_innerSubscribe(O){const{hasError:F,isStopped:V,observers:S}=this;return F||V?o.Lc:(this.currentObservers=null,S.push(O),new o.w0(()=>{this.currentObservers=null,(0,s.P)(S,O)}))}_checkFinalizedStatuses(O){const{hasError:F,thrownError:V,isStopped:S}=this;F?O.error(V):S&&O.complete()}asObservable(){const O=new t.y;return O.source=this,O}}return M.create=(E,O)=>new T(E,O),M})();class T extends R{constructor(E,O){super(),this.destination=E,this.source=O}next(E){var O,F;null===(F=null===(O=this.destination)||void 0===O?void 0:O.next)||void 0===F||F.call(O,E)}error(E){var O,F;null===(F=null===(O=this.destination)||void 0===O?void 0:O.error)||void 0===F||F.call(O,E)}complete(){var E,O;null===(O=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===O||O.call(E)}_subscribe(E){var O,F;return null!==(F=null===(O=this.source)||void 0===O?void 0:O.subscribe(E))&&void 0!==F?F:o.Lc}}},930:(Et,Me,a)=>{a.d(Me,{Hp:()=>I,Lv:()=>F});var t=a(576),o=a(727),g=a(2416),l=a(7849),s=a(5032);const L=M("C",void 0,void 0);function M(U,N,q){return{kind:U,value:N,error:q}}var E=a(3410),O=a(2806);class F extends o.w0{constructor(N){super(),this.isStopped=!1,N?(this.destination=N,(0,o.Nn)(N)&&N.add(this)):this.destination=Z}static create(N,q,Y){return new I(N,q,Y)}next(N){this.isStopped?ae(function T(U){return M("N",U,void 0)}(N),this):this._next(N)}error(N){this.isStopped?ae(function R(U){return M("E",void 0,U)}(N),this):(this.isStopped=!0,this._error(N))}complete(){this.isStopped?ae(L,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(N){this.destination.next(N)}_error(N){try{this.destination.error(N)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const V=Function.prototype.bind;function S(U,N){return V.call(U,N)}class e{constructor(N){this.partialObserver=N}next(N){const{partialObserver:q}=this;if(q.next)try{q.next(N)}catch(Y){w(Y)}}error(N){const{partialObserver:q}=this;if(q.error)try{q.error(N)}catch(Y){w(Y)}else w(N)}complete(){const{partialObserver:N}=this;if(N.complete)try{N.complete()}catch(q){w(q)}}}class I extends F{constructor(N,q,Y){let k;if(super(),(0,t.m)(N)||!N)k={next:N??void 0,error:q??void 0,complete:Y??void 0};else{let me;this&&g.v.useDeprecatedNextContext?(me=Object.create(N),me.unsubscribe=()=>this.unsubscribe(),k={next:N.next&&S(N.next,me),error:N.error&&S(N.error,me),complete:N.complete&&S(N.complete,me)}):k=N}this.destination=new e(k)}}function w(U){g.v.useDeprecatedSynchronousErrorHandling?(0,O.O)(U):(0,l.h)(U)}function ae(U,N){const{onStoppedNotification:q}=g.v;q&&E.z.setTimeout(()=>q(U,N))}const Z={closed:!0,next:s.Z,error:function pe(U){throw U},complete:s.Z}},727:(Et,Me,a)=>{a.d(Me,{Lc:()=>L,w0:()=>s,Nn:()=>R});var t=a(576);const g=(0,a(3888).d)(M=>function(O){M(this),this.message=O?`${O.length} errors occurred during unsubscription:\n${O.map((F,V)=>`${V+1}) ${F.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=O});var l=a(8737);class s{constructor(E){this.initialTeardown=E,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let E;if(!this.closed){this.closed=!0;const{_parentage:O}=this;if(O)if(this._parentage=null,Array.isArray(O))for(const S of O)S.remove(this);else O.remove(this);const{initialTeardown:F}=this;if((0,t.m)(F))try{F()}catch(S){E=S instanceof g?S.errors:[S]}const{_finalizers:V}=this;if(V){this._finalizers=null;for(const S of V)try{T(S)}catch(e){E=E??[],e instanceof g?E=[...E,...e.errors]:E.push(e)}}if(E)throw new g(E)}}add(E){var O;if(E&&E!==this)if(this.closed)T(E);else{if(E instanceof s){if(E.closed||E._hasParent(this))return;E._addParent(this)}(this._finalizers=null!==(O=this._finalizers)&&void 0!==O?O:[]).push(E)}}_hasParent(E){const{_parentage:O}=this;return O===E||Array.isArray(O)&&O.includes(E)}_addParent(E){const{_parentage:O}=this;this._parentage=Array.isArray(O)?(O.push(E),O):O?[O,E]:E}_removeParent(E){const{_parentage:O}=this;O===E?this._parentage=null:Array.isArray(O)&&(0,l.P)(O,E)}remove(E){const{_finalizers:O}=this;O&&(0,l.P)(O,E),E instanceof s&&E._removeParent(this)}}s.EMPTY=(()=>{const M=new s;return M.closed=!0,M})();const L=s.EMPTY;function R(M){return M instanceof s||M&&"closed"in M&&(0,t.m)(M.remove)&&(0,t.m)(M.add)&&(0,t.m)(M.unsubscribe)}function T(M){(0,t.m)(M)?M():M.unsubscribe()}},2416:(Et,Me,a)=>{a.d(Me,{v:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Et,Me,a)=>{a.d(Me,{c:()=>L});var t=a(9751),o=a(727),g=a(8343),l=a(5403),s=a(4482);class L extends t.y{constructor(T,M){super(),this.source=T,this.subjectFactory=M,this._subject=null,this._refCount=0,this._connection=null,(0,s.A)(T)&&(this.lift=T.lift)}_subscribe(T){return this.getSubject().subscribe(T)}getSubject(){const T=this._subject;return(!T||T.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:T}=this;this._subject=this._connection=null,T?.unsubscribe()}connect(){let T=this._connection;if(!T){T=this._connection=new o.w0;const M=this.getSubject();T.add(this.source.subscribe((0,l.x)(M,void 0,()=>{this._teardown(),M.complete()},E=>{this._teardown(),M.error(E)},()=>this._teardown()))),T.closed&&(this._connection=null,T=o.w0.EMPTY)}return T}refCount(){return(0,g.x)()(this)}}},9841:(Et,Me,a)=>{a.d(Me,{a:()=>E});var t=a(9751),o=a(4742),g=a(457),l=a(4671),s=a(3268),L=a(3269),R=a(1810),T=a(5403),M=a(9672);function E(...V){const S=(0,L.yG)(V),e=(0,L.jO)(V),{args:I,keys:w}=(0,o.D)(V);if(0===I.length)return(0,g.D)([],S);const pe=new t.y(function O(V,S,e=l.y){return I=>{F(S,()=>{const{length:w}=V,pe=new Array(w);let ae=w,Z=w;for(let U=0;U{const N=(0,g.D)(V[U],S);let q=!1;N.subscribe((0,T.x)(I,Y=>{pe[U]=Y,q||(q=!0,Z--),Z||I.next(e(pe.slice()))},()=>{--ae||I.complete()}))},I)},I)}}(I,S,w?ae=>(0,R.n)(w,ae):l.y));return e?pe.pipe((0,s.Z)(e)):pe}function F(V,S,e){V?(0,M.f)(e,V,S):S()}},7272:(Et,Me,a)=>{a.d(Me,{z:()=>s});var t=a(8189),g=a(3269),l=a(457);function s(...L){return function o(){return(0,t.J)(1)}()((0,l.D)(L,(0,g.yG)(L)))}},9770:(Et,Me,a)=>{a.d(Me,{P:()=>g});var t=a(9751),o=a(8421);function g(l){return new t.y(s=>{(0,o.Xf)(l()).subscribe(s)})}},515:(Et,Me,a)=>{a.d(Me,{E:()=>o});const o=new(a(9751).y)(s=>s.complete())},4128:(Et,Me,a)=>{a.d(Me,{D:()=>T});var t=a(9751),o=a(4742),g=a(8421),l=a(3269),s=a(5403),L=a(3268),R=a(1810);function T(...M){const E=(0,l.jO)(M),{args:O,keys:F}=(0,o.D)(M),V=new t.y(S=>{const{length:e}=O;if(!e)return void S.complete();const I=new Array(e);let w=e,pe=e;for(let ae=0;ae{Z||(Z=!0,pe--),I[ae]=U},()=>w--,void 0,()=>{(!w||!Z)&&(pe||S.next(F?(0,R.n)(F,I):I),S.complete())}))}});return E?V.pipe((0,L.Z)(E)):V}},457:(Et,Me,a)=>{a.d(Me,{D:()=>q});var t=a(8421),o=a(5363),g=a(4482);function l(Y,k=0){return(0,g.e)((me,fe)=>{fe.add(Y.schedule(()=>me.subscribe(fe),k))})}var R=a(9751),M=a(2202),E=a(576),O=a(9672);function V(Y,k){if(!Y)throw new Error("Iterable cannot be null");return new R.y(me=>{(0,O.f)(me,k,()=>{const fe=Y[Symbol.asyncIterator]();(0,O.f)(me,k,()=>{fe.next().then(te=>{te.done?me.complete():me.next(te.value)})},0,!0)})})}var S=a(3670),e=a(8239),I=a(1144),w=a(6495),pe=a(2206),ae=a(4532),Z=a(3260);function q(Y,k){return k?function N(Y,k){if(null!=Y){if((0,S.c)(Y))return function s(Y,k){return(0,t.Xf)(Y).pipe(l(k),(0,o.Q)(k))}(Y,k);if((0,I.z)(Y))return function T(Y,k){return new R.y(me=>{let fe=0;return k.schedule(function(){fe===Y.length?me.complete():(me.next(Y[fe++]),me.closed||this.schedule())})})}(Y,k);if((0,e.t)(Y))return function L(Y,k){return(0,t.Xf)(Y).pipe(l(k),(0,o.Q)(k))}(Y,k);if((0,pe.D)(Y))return V(Y,k);if((0,w.T)(Y))return function F(Y,k){return new R.y(me=>{let fe;return(0,O.f)(me,k,()=>{fe=Y[M.h](),(0,O.f)(me,k,()=>{let te,ye;try{({value:te,done:ye}=fe.next())}catch(H){return void me.error(H)}ye?me.complete():me.next(te)},0,!0)}),()=>(0,E.m)(fe?.return)&&fe.return()})}(Y,k);if((0,Z.L)(Y))return function U(Y,k){return V((0,Z.Q)(Y),k)}(Y,k)}throw(0,ae.z)(Y)}(Y,k):(0,t.Xf)(Y)}},4968:(Et,Me,a)=>{a.d(Me,{R:()=>E});var t=a(8421),o=a(9751),g=a(5577),l=a(1144),s=a(576),L=a(3268);const R=["addListener","removeListener"],T=["addEventListener","removeEventListener"],M=["on","off"];function E(e,I,w,pe){if((0,s.m)(w)&&(pe=w,w=void 0),pe)return E(e,I,w).pipe((0,L.Z)(pe));const[ae,Z]=function S(e){return(0,s.m)(e.addEventListener)&&(0,s.m)(e.removeEventListener)}(e)?T.map(U=>N=>e[U](I,N,w)):function F(e){return(0,s.m)(e.addListener)&&(0,s.m)(e.removeListener)}(e)?R.map(O(e,I)):function V(e){return(0,s.m)(e.on)&&(0,s.m)(e.off)}(e)?M.map(O(e,I)):[];if(!ae&&(0,l.z)(e))return(0,g.z)(U=>E(U,I,w))((0,t.Xf)(e));if(!ae)throw new TypeError("Invalid event target");return new o.y(U=>{const N=(...q)=>U.next(1Z(N)})}function O(e,I){return w=>pe=>e[w](I,pe)}},8382:(Et,Me,a)=>{a.d(Me,{s:()=>o});var t=a(9770);function o(g,l,s){return(0,t.P)(()=>g()?l:s)}},8421:(Et,Me,a)=>{a.d(Me,{Xf:()=>V});var t=a(655),o=a(1144),g=a(8239),l=a(9751),s=a(3670),L=a(2206),R=a(4532),T=a(6495),M=a(3260),E=a(576),O=a(7849),F=a(8822);function V(U){if(U instanceof l.y)return U;if(null!=U){if((0,s.c)(U))return function S(U){return new l.y(N=>{const q=U[F.L]();if((0,E.m)(q.subscribe))return q.subscribe(N);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(U);if((0,o.z)(U))return function e(U){return new l.y(N=>{for(let q=0;q{U.then(q=>{N.closed||(N.next(q),N.complete())},q=>N.error(q)).then(null,O.h)})}(U);if((0,L.D)(U))return pe(U);if((0,T.T)(U))return function w(U){return new l.y(N=>{for(const q of U)if(N.next(q),N.closed)return;N.complete()})}(U);if((0,M.L)(U))return function ae(U){return pe((0,M.Q)(U))}(U)}throw(0,R.z)(U)}function pe(U){return new l.y(N=>{(function Z(U,N){var q,Y,k,me;return(0,t.mG)(this,void 0,void 0,function*(){try{for(q=(0,t.KL)(U);!(Y=yield q.next()).done;)if(N.next(Y.value),N.closed)return}catch(fe){k={error:fe}}finally{try{Y&&!Y.done&&(me=q.return)&&(yield me.call(q))}finally{if(k)throw k.error}}N.complete()})})(U,N).catch(q=>N.error(q))})}},7445:(Et,Me,a)=>{a.d(Me,{F:()=>g});var t=a(4986),o=a(5963);function g(l=0,s=t.z){return l<0&&(l=0),(0,o.H)(l,l,s)}},6451:(Et,Me,a)=>{a.d(Me,{T:()=>L});var t=a(8189),o=a(8421),g=a(515),l=a(3269),s=a(457);function L(...R){const T=(0,l.yG)(R),M=(0,l._6)(R,1/0),E=R;return E.length?1===E.length?(0,o.Xf)(E[0]):(0,t.J)(M)((0,s.D)(E,T)):g.E}},9646:(Et,Me,a)=>{a.d(Me,{of:()=>g});var t=a(3269),o=a(457);function g(...l){const s=(0,t.yG)(l);return(0,o.D)(l,s)}},2843:(Et,Me,a)=>{a.d(Me,{_:()=>g});var t=a(9751),o=a(576);function g(l,s){const L=(0,o.m)(l)?l:()=>l,R=T=>T.error(L());return new t.y(s?T=>s.schedule(R,0,T):R)}},5963:(Et,Me,a)=>{a.d(Me,{H:()=>s});var t=a(9751),o=a(4986),g=a(3532);function s(L=0,R,T=o.P){let M=-1;return null!=R&&((0,g.K)(R)?T=R:M=R),new t.y(E=>{let O=function l(L){return L instanceof Date&&!isNaN(L)}(L)?+L-T.now():L;O<0&&(O=0);let F=0;return T.schedule(function(){E.closed||(E.next(F++),0<=M?this.schedule(void 0,M):E.complete())},O)})}},5403:(Et,Me,a)=>{a.d(Me,{x:()=>o});var t=a(930);function o(l,s,L,R,T){return new g(l,s,L,R,T)}class g extends t.Lv{constructor(s,L,R,T,M,E){super(s),this.onFinalize=M,this.shouldUnsubscribe=E,this._next=L?function(O){try{L(O)}catch(F){s.error(F)}}:super._next,this._error=T?function(O){try{T(O)}catch(F){s.error(F)}finally{this.unsubscribe()}}:super._error,this._complete=R?function(){try{R()}catch(O){s.error(O)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var s;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:L}=this;super.unsubscribe(),!L&&(null===(s=this.onFinalize)||void 0===s||s.call(this))}}}},3601:(Et,Me,a)=>{a.d(Me,{e:()=>R});var t=a(4986),o=a(4482),g=a(8421),l=a(5403),L=a(5963);function R(T,M=t.z){return function s(T){return(0,o.e)((M,E)=>{let O=!1,F=null,V=null,S=!1;const e=()=>{if(V?.unsubscribe(),V=null,O){O=!1;const w=F;F=null,E.next(w)}S&&E.complete()},I=()=>{V=null,S&&E.complete()};M.subscribe((0,l.x)(E,w=>{O=!0,F=w,V||(0,g.Xf)(T(w)).subscribe(V=(0,l.x)(E,e,I))},()=>{S=!0,(!O||!V||V.closed)&&E.complete()}))})}(()=>(0,L.H)(T,M))}},262:(Et,Me,a)=>{a.d(Me,{K:()=>l});var t=a(8421),o=a(5403),g=a(4482);function l(s){return(0,g.e)((L,R)=>{let E,T=null,M=!1;T=L.subscribe((0,o.x)(R,void 0,void 0,O=>{E=(0,t.Xf)(s(O,l(s)(L))),T?(T.unsubscribe(),T=null,E.subscribe(R)):M=!0})),M&&(T.unsubscribe(),T=null,E.subscribe(R))})}},4351:(Et,Me,a)=>{a.d(Me,{b:()=>g});var t=a(5577),o=a(576);function g(l,s){return(0,o.m)(s)?(0,t.z)(l,s,1):(0,t.z)(l,1)}},8372:(Et,Me,a)=>{a.d(Me,{b:()=>l});var t=a(4986),o=a(4482),g=a(5403);function l(s,L=t.z){return(0,o.e)((R,T)=>{let M=null,E=null,O=null;const F=()=>{if(M){M.unsubscribe(),M=null;const S=E;E=null,T.next(S)}};function V(){const S=O+s,e=L.now();if(e{E=S,O=L.now(),M||(M=L.schedule(V,s),T.add(M))},()=>{F(),T.complete()},void 0,()=>{E=M=null}))})}},6590:(Et,Me,a)=>{a.d(Me,{d:()=>g});var t=a(4482),o=a(5403);function g(l){return(0,t.e)((s,L)=>{let R=!1;s.subscribe((0,o.x)(L,T=>{R=!0,L.next(T)},()=>{R||L.next(l),L.complete()}))})}},1005:(Et,Me,a)=>{a.d(Me,{g:()=>V});var t=a(4986),o=a(7272),g=a(5698),l=a(4482),s=a(5403),L=a(5032),T=a(9718),M=a(5577),E=a(8421);function O(S,e){return e?I=>(0,o.z)(e.pipe((0,g.q)(1),function R(){return(0,l.e)((S,e)=>{S.subscribe((0,s.x)(e,L.Z))})}()),I.pipe(O(S))):(0,M.z)((I,w)=>(0,E.Xf)(S(I,w)).pipe((0,g.q)(1),(0,T.h)(I)))}var F=a(5963);function V(S,e=t.z){const I=(0,F.H)(S,e);return O(()=>I)}},1884:(Et,Me,a)=>{a.d(Me,{x:()=>l});var t=a(4671),o=a(4482),g=a(5403);function l(L,R=t.y){return L=L??s,(0,o.e)((T,M)=>{let E,O=!0;T.subscribe((0,g.x)(M,F=>{const V=R(F);(O||!L(E,V))&&(O=!1,E=V,M.next(F))}))})}function s(L,R){return L===R}},5910:(Et,Me,a)=>{a.d(Me,{g:()=>o});var t=a(1884);function o(g,l){return(0,t.x)((s,L)=>l?l(s[g],L[g]):s[g]===L[g])}},9300:(Et,Me,a)=>{a.d(Me,{h:()=>g});var t=a(4482),o=a(5403);function g(l,s){return(0,t.e)((L,R)=>{let T=0;L.subscribe((0,o.x)(R,M=>l.call(s,M,T++)&&R.next(M)))})}},8746:(Et,Me,a)=>{a.d(Me,{x:()=>o});var t=a(4482);function o(g){return(0,t.e)((l,s)=>{try{l.subscribe(s)}finally{s.add(g)}})}},590:(Et,Me,a)=>{a.d(Me,{P:()=>R});var t=a(6805),o=a(9300),g=a(5698),l=a(6590),s=a(8068),L=a(4671);function R(T,M){const E=arguments.length>=2;return O=>O.pipe(T?(0,o.h)((F,V)=>T(F,V,O)):L.y,(0,g.q)(1),E?(0,l.d)(M):(0,s.T)(()=>new t.K))}},4004:(Et,Me,a)=>{a.d(Me,{U:()=>g});var t=a(4482),o=a(5403);function g(l,s){return(0,t.e)((L,R)=>{let T=0;L.subscribe((0,o.x)(R,M=>{R.next(l.call(s,M,T++))}))})}},9718:(Et,Me,a)=>{a.d(Me,{h:()=>o});var t=a(4004);function o(g){return(0,t.U)(()=>g)}},8189:(Et,Me,a)=>{a.d(Me,{J:()=>g});var t=a(5577),o=a(4671);function g(l=1/0){return(0,t.z)(o.y,l)}},5577:(Et,Me,a)=>{a.d(Me,{z:()=>T});var t=a(4004),o=a(8421),g=a(4482),l=a(9672),s=a(5403),R=a(576);function T(M,E,O=1/0){return(0,R.m)(E)?T((F,V)=>(0,t.U)((S,e)=>E(F,S,V,e))((0,o.Xf)(M(F,V))),O):("number"==typeof E&&(O=E),(0,g.e)((F,V)=>function L(M,E,O,F,V,S,e,I){const w=[];let pe=0,ae=0,Z=!1;const U=()=>{Z&&!w.length&&!pe&&E.complete()},N=Y=>pe{S&&E.next(Y),pe++;let k=!1;(0,o.Xf)(O(Y,ae++)).subscribe((0,s.x)(E,me=>{V?.(me),S?N(me):E.next(me)},()=>{k=!0},void 0,()=>{if(k)try{for(pe--;w.length&&peq(me)):q(me)}U()}catch(me){E.error(me)}}))};return M.subscribe((0,s.x)(E,N,()=>{Z=!0,U()})),()=>{I?.()}}(F,V,M,O)))}},5363:(Et,Me,a)=>{a.d(Me,{Q:()=>l});var t=a(9672),o=a(4482),g=a(5403);function l(s,L=0){return(0,o.e)((R,T)=>{R.subscribe((0,g.x)(T,M=>(0,t.f)(T,s,()=>T.next(M),L),()=>(0,t.f)(T,s,()=>T.complete(),L),M=>(0,t.f)(T,s,()=>T.error(M),L)))})}},1520:(Et,Me,a)=>{a.d(Me,{G:()=>g});var t=a(4482),o=a(5403);function g(){return(0,t.e)((l,s)=>{let L,R=!1;l.subscribe((0,o.x)(s,T=>{const M=L;L=T,R&&s.next([M,T]),R=!0}))})}},4813:(Et,Me,a)=>{a.d(Me,{j:()=>o});var t=a(4004);function o(...g){const l=g.length;if(0===l)throw new Error("list of properties cannot be empty.");return(0,t.U)(s=>{let L=s;for(let R=0;R{a.d(Me,{x:()=>g});var t=a(4482),o=a(5403);function g(){return(0,t.e)((l,s)=>{let L=null;l._refCount++;const R=(0,o.x)(s,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(L=null);const T=l._connection,M=L;L=null,T&&(!M||T===M)&&T.unsubscribe(),s.unsubscribe()});l.subscribe(R),R.closed||(L=l.connect())})}},5026:(Et,Me,a)=>{a.d(Me,{R:()=>l});var t=a(4482),o=a(5403);function g(s,L,R,T,M){return(E,O)=>{let F=R,V=L,S=0;E.subscribe((0,o.x)(O,e=>{const I=S++;V=F?s(V,e,I):(F=!0,e),T&&O.next(V)},M&&(()=>{F&&O.next(V),O.complete()})))}}function l(s,L){return(0,t.e)(g(s,L,arguments.length>=2,!0))}},3099:(Et,Me,a)=>{a.d(Me,{B:()=>s});var t=a(8421),o=a(7579),g=a(930),l=a(4482);function s(R={}){const{connector:T=(()=>new o.x),resetOnError:M=!0,resetOnComplete:E=!0,resetOnRefCountZero:O=!0}=R;return F=>{let V,S,e,I=0,w=!1,pe=!1;const ae=()=>{S?.unsubscribe(),S=void 0},Z=()=>{ae(),V=e=void 0,w=pe=!1},U=()=>{const N=V;Z(),N?.unsubscribe()};return(0,l.e)((N,q)=>{I++,!pe&&!w&&ae();const Y=e=e??T();q.add(()=>{I--,0===I&&!pe&&!w&&(S=L(U,O))}),Y.subscribe(q),!V&&I>0&&(V=new g.Hp({next:k=>Y.next(k),error:k=>{pe=!0,ae(),S=L(Z,M,k),Y.error(k)},complete:()=>{w=!0,ae(),S=L(Z,E),Y.complete()}}),(0,t.Xf)(N).subscribe(V))})(F)}}function L(R,T,...M){if(!0===T)return void R();if(!1===T)return;const E=new g.Hp({next:()=>{E.unsubscribe(),R()}});return(0,t.Xf)(T(...M)).subscribe(E)}},4782:(Et,Me,a)=>{a.d(Me,{d:()=>g});var t=a(4707),o=a(3099);function g(l,s,L){let R,T=!1;return l&&"object"==typeof l?({bufferSize:R=1/0,windowTime:s=1/0,refCount:T=!1,scheduler:L}=l):R=l??1/0,(0,o.B)({connector:()=>new t.t(R,s,L),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:T})}},5684:(Et,Me,a)=>{a.d(Me,{T:()=>o});var t=a(9300);function o(g){return(0,t.h)((l,s)=>g<=s)}},8675:(Et,Me,a)=>{a.d(Me,{O:()=>l});var t=a(7272),o=a(3269),g=a(4482);function l(...s){const L=(0,o.yG)(s);return(0,g.e)((R,T)=>{(L?(0,t.z)(s,R,L):(0,t.z)(s,R)).subscribe(T)})}},3900:(Et,Me,a)=>{a.d(Me,{w:()=>l});var t=a(8421),o=a(4482),g=a(5403);function l(s,L){return(0,o.e)((R,T)=>{let M=null,E=0,O=!1;const F=()=>O&&!M&&T.complete();R.subscribe((0,g.x)(T,V=>{M?.unsubscribe();let S=0;const e=E++;(0,t.Xf)(s(V,e)).subscribe(M=(0,g.x)(T,I=>T.next(L?L(V,I,e,S++):I),()=>{M=null,F()}))},()=>{O=!0,F()}))})}},5698:(Et,Me,a)=>{a.d(Me,{q:()=>l});var t=a(515),o=a(4482),g=a(5403);function l(s){return s<=0?()=>t.E:(0,o.e)((L,R)=>{let T=0;L.subscribe((0,g.x)(R,M=>{++T<=s&&(R.next(M),s<=T&&R.complete())}))})}},2722:(Et,Me,a)=>{a.d(Me,{R:()=>s});var t=a(4482),o=a(5403),g=a(8421),l=a(5032);function s(L){return(0,t.e)((R,T)=>{(0,g.Xf)(L).subscribe((0,o.x)(T,()=>T.complete(),l.Z)),!T.closed&&R.subscribe(T)})}},2529:(Et,Me,a)=>{a.d(Me,{o:()=>g});var t=a(4482),o=a(5403);function g(l,s=!1){return(0,t.e)((L,R)=>{let T=0;L.subscribe((0,o.x)(R,M=>{const E=l(M,T++);(E||s)&&R.next(M),!E&&R.complete()}))})}},8505:(Et,Me,a)=>{a.d(Me,{b:()=>s});var t=a(576),o=a(4482),g=a(5403),l=a(4671);function s(L,R,T){const M=(0,t.m)(L)||R||T?{next:L,error:R,complete:T}:L;return M?(0,o.e)((E,O)=>{var F;null===(F=M.subscribe)||void 0===F||F.call(M);let V=!0;E.subscribe((0,g.x)(O,S=>{var e;null===(e=M.next)||void 0===e||e.call(M,S),O.next(S)},()=>{var S;V=!1,null===(S=M.complete)||void 0===S||S.call(M),O.complete()},S=>{var e;V=!1,null===(e=M.error)||void 0===e||e.call(M,S),O.error(S)},()=>{var S,e;V&&(null===(S=M.unsubscribe)||void 0===S||S.call(M)),null===(e=M.finalize)||void 0===e||e.call(M)}))}):l.y}},9468:(Et,Me,a)=>{a.d(Me,{p:()=>T});var t=a(4986),o=a(4482),g=a(5403),l=a(8421);const s={leading:!0,trailing:!1};var R=a(5963);function T(M,E=t.z,O=s){const F=(0,R.H)(M,E);return function L(M,E=s){return(0,o.e)((O,F)=>{const{leading:V,trailing:S}=E;let e=!1,I=null,w=null,pe=!1;const ae=()=>{w?.unsubscribe(),w=null,S&&(N(),pe&&F.complete())},Z=()=>{w=null,pe&&F.complete()},U=q=>w=(0,l.Xf)(M(q)).subscribe((0,g.x)(F,ae,Z)),N=()=>{if(e){e=!1;const q=I;I=null,F.next(q),!pe&&U(q)}};O.subscribe((0,g.x)(F,q=>{e=!0,I=q,(!w||w.closed)&&(V?N():U(q))},()=>{pe=!0,(!(S&&e&&w)||w.closed)&&F.complete()}))})}(()=>F,O)}},8068:(Et,Me,a)=>{a.d(Me,{T:()=>l});var t=a(6805),o=a(4482),g=a(5403);function l(L=s){return(0,o.e)((R,T)=>{let M=!1;R.subscribe((0,g.x)(T,E=>{M=!0,T.next(E)},()=>M?T.complete():T.error(L())))})}function s(){return new t.K}},1365:(Et,Me,a)=>{a.d(Me,{M:()=>R});var t=a(4482),o=a(5403),g=a(8421),l=a(4671),s=a(5032),L=a(3269);function R(...T){const M=(0,L.jO)(T);return(0,t.e)((E,O)=>{const F=T.length,V=new Array(F);let S=T.map(()=>!1),e=!1;for(let I=0;I{V[I]=w,!e&&!S[I]&&(S[I]=!0,(e=S.every(l.y))&&(S=null))},s.Z));E.subscribe((0,o.x)(O,I=>{if(e){const w=[I,...V];O.next(M?M(...w):w)}}))})}},4408:(Et,Me,a)=>{a.d(Me,{o:()=>s});var t=a(727);class o extends t.w0{constructor(R,T){super()}schedule(R,T=0){return this}}const g={setInterval(L,R,...T){const{delegate:M}=g;return M?.setInterval?M.setInterval(L,R,...T):setInterval(L,R,...T)},clearInterval(L){const{delegate:R}=g;return(R?.clearInterval||clearInterval)(L)},delegate:void 0};var l=a(8737);class s extends o{constructor(R,T){super(R,T),this.scheduler=R,this.work=T,this.pending=!1}schedule(R,T=0){var M;if(this.closed)return this;this.state=R;const E=this.id,O=this.scheduler;return null!=E&&(this.id=this.recycleAsyncId(O,E,T)),this.pending=!0,this.delay=T,this.id=null!==(M=this.id)&&void 0!==M?M:this.requestAsyncId(O,this.id,T),this}requestAsyncId(R,T,M=0){return g.setInterval(R.flush.bind(R,this),M)}recycleAsyncId(R,T,M=0){if(null!=M&&this.delay===M&&!1===this.pending)return T;null!=T&&g.clearInterval(T)}execute(R,T){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const M=this._execute(R,T);if(M)return M;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(R,T){let E,M=!1;try{this.work(R)}catch(O){M=!0,E=O||new Error("Scheduled action threw falsy error")}if(M)return this.unsubscribe(),E}unsubscribe(){if(!this.closed){const{id:R,scheduler:T}=this,{actions:M}=T;this.work=this.state=this.scheduler=null,this.pending=!1,(0,l.P)(M,this),null!=R&&(this.id=this.recycleAsyncId(T,R,null)),this.delay=null,super.unsubscribe()}}}},7565:(Et,Me,a)=>{a.d(Me,{v:()=>g});var t=a(6063);class o{constructor(s,L=o.now){this.schedulerActionCtor=s,this.now=L}schedule(s,L=0,R){return new this.schedulerActionCtor(this,s).schedule(R,L)}}o.now=t.l.now;class g extends o{constructor(s,L=o.now){super(s,L),this.actions=[],this._active=!1}flush(s){const{actions:L}=this;if(this._active)return void L.push(s);let R;this._active=!0;do{if(R=s.execute(s.state,s.delay))break}while(s=L.shift());if(this._active=!1,R){for(;s=L.shift();)s.unsubscribe();throw R}}}},6406:(Et,Me,a)=>{a.d(Me,{Z:()=>R});var t=a(4408),o=a(727);const g={schedule(M){let E=requestAnimationFrame,O=cancelAnimationFrame;const{delegate:F}=g;F&&(E=F.requestAnimationFrame,O=F.cancelAnimationFrame);const V=E(S=>{O=void 0,M(S)});return new o.w0(()=>O?.(V))},requestAnimationFrame(...M){const{delegate:E}=g;return(E?.requestAnimationFrame||requestAnimationFrame)(...M)},cancelAnimationFrame(...M){const{delegate:E}=g;return(E?.cancelAnimationFrame||cancelAnimationFrame)(...M)},delegate:void 0};var s=a(7565);const R=new class L extends s.v{flush(E){this._active=!0;const O=this._scheduled;this._scheduled=void 0;const{actions:F}=this;let V;E=E||F.shift();do{if(V=E.execute(E.state,E.delay))break}while((E=F[0])&&E.id===O&&F.shift());if(this._active=!1,V){for(;(E=F[0])&&E.id===O&&F.shift();)E.unsubscribe();throw V}}}(class l extends t.o{constructor(E,O){super(E,O),this.scheduler=E,this.work=O}requestAsyncId(E,O,F=0){return null!==F&&F>0?super.requestAsyncId(E,O,F):(E.actions.push(this),E._scheduled||(E._scheduled=g.requestAnimationFrame(()=>E.flush(void 0))))}recycleAsyncId(E,O,F=0){var V;if(null!=F?F>0:this.delay>0)return super.recycleAsyncId(E,O,F);const{actions:S}=E;null!=O&&(null===(V=S[S.length-1])||void 0===V?void 0:V.id)!==O&&(g.cancelAnimationFrame(O),E._scheduled=void 0)}})},3101:(Et,Me,a)=>{a.d(Me,{E:()=>S});var t=a(4408);let g,o=1;const l={};function s(I){return I in l&&(delete l[I],!0)}const L={setImmediate(I){const w=o++;return l[w]=!0,g||(g=Promise.resolve()),g.then(()=>s(w)&&I()),w},clearImmediate(I){s(I)}},{setImmediate:T,clearImmediate:M}=L,E={setImmediate(...I){const{delegate:w}=E;return(w?.setImmediate||T)(...I)},clearImmediate(I){const{delegate:w}=E;return(w?.clearImmediate||M)(I)},delegate:void 0};var F=a(7565);const S=new class V extends F.v{flush(w){this._active=!0;const pe=this._scheduled;this._scheduled=void 0;const{actions:ae}=this;let Z;w=w||ae.shift();do{if(Z=w.execute(w.state,w.delay))break}while((w=ae[0])&&w.id===pe&&ae.shift());if(this._active=!1,Z){for(;(w=ae[0])&&w.id===pe&&ae.shift();)w.unsubscribe();throw Z}}}(class O extends t.o{constructor(w,pe){super(w,pe),this.scheduler=w,this.work=pe}requestAsyncId(w,pe,ae=0){return null!==ae&&ae>0?super.requestAsyncId(w,pe,ae):(w.actions.push(this),w._scheduled||(w._scheduled=E.setImmediate(w.flush.bind(w,void 0))))}recycleAsyncId(w,pe,ae=0){var Z;if(null!=ae?ae>0:this.delay>0)return super.recycleAsyncId(w,pe,ae);const{actions:U}=w;null!=pe&&(null===(Z=U[U.length-1])||void 0===Z?void 0:Z.id)!==pe&&(E.clearImmediate(pe),w._scheduled=void 0)}})},4986:(Et,Me,a)=>{a.d(Me,{P:()=>l,z:()=>g});var t=a(4408);const g=new(a(7565).v)(t.o),l=g},6063:(Et,Me,a)=>{a.d(Me,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},3410:(Et,Me,a)=>{a.d(Me,{z:()=>t});const t={setTimeout(o,g,...l){const{delegate:s}=t;return s?.setTimeout?s.setTimeout(o,g,...l):setTimeout(o,g,...l)},clearTimeout(o){const{delegate:g}=t;return(g?.clearTimeout||clearTimeout)(o)},delegate:void 0}},2202:(Et,Me,a)=>{a.d(Me,{h:()=>o});const o=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Et,Me,a)=>{a.d(Me,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Et,Me,a)=>{a.d(Me,{K:()=>o});const o=(0,a(3888).d)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Et,Me,a)=>{a.d(Me,{_6:()=>L,jO:()=>l,yG:()=>s});var t=a(576),o=a(3532);function g(R){return R[R.length-1]}function l(R){return(0,t.m)(g(R))?R.pop():void 0}function s(R){return(0,o.K)(g(R))?R.pop():void 0}function L(R,T){return"number"==typeof g(R)?R.pop():T}},4742:(Et,Me,a)=>{a.d(Me,{D:()=>s});const{isArray:t}=Array,{getPrototypeOf:o,prototype:g,keys:l}=Object;function s(R){if(1===R.length){const T=R[0];if(t(T))return{args:T,keys:null};if(function L(R){return R&&"object"==typeof R&&o(R)===g}(T)){const M=l(T);return{args:M.map(E=>T[E]),keys:M}}}return{args:R,keys:null}}},8737:(Et,Me,a)=>{function t(o,g){if(o){const l=o.indexOf(g);0<=l&&o.splice(l,1)}}a.d(Me,{P:()=>t})},3888:(Et,Me,a)=>{function t(o){const l=o(s=>{Error.call(s),s.stack=(new Error).stack});return l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l}a.d(Me,{d:()=>t})},1810:(Et,Me,a)=>{function t(o,g){return o.reduce((l,s,L)=>(l[s]=g[L],l),{})}a.d(Me,{n:()=>t})},2806:(Et,Me,a)=>{a.d(Me,{O:()=>l,x:()=>g});var t=a(2416);let o=null;function g(s){if(t.v.useDeprecatedSynchronousErrorHandling){const L=!o;if(L&&(o={errorThrown:!1,error:null}),s(),L){const{errorThrown:R,error:T}=o;if(o=null,R)throw T}}else s()}function l(s){t.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=s)}},9672:(Et,Me,a)=>{function t(o,g,l,s=0,L=!1){const R=g.schedule(function(){l(),L?o.add(this.schedule(null,s)):this.unsubscribe()},s);if(o.add(R),!L)return R}a.d(Me,{f:()=>t})},4671:(Et,Me,a)=>{function t(o){return o}a.d(Me,{y:()=>t})},1144:(Et,Me,a)=>{a.d(Me,{z:()=>t});const t=o=>o&&"number"==typeof o.length&&"function"!=typeof o},2206:(Et,Me,a)=>{a.d(Me,{D:()=>o});var t=a(576);function o(g){return Symbol.asyncIterator&&(0,t.m)(g?.[Symbol.asyncIterator])}},576:(Et,Me,a)=>{function t(o){return"function"==typeof o}a.d(Me,{m:()=>t})},3670:(Et,Me,a)=>{a.d(Me,{c:()=>g});var t=a(8822),o=a(576);function g(l){return(0,o.m)(l[t.L])}},6495:(Et,Me,a)=>{a.d(Me,{T:()=>g});var t=a(2202),o=a(576);function g(l){return(0,o.m)(l?.[t.h])}},5191:(Et,Me,a)=>{a.d(Me,{b:()=>g});var t=a(9751),o=a(576);function g(l){return!!l&&(l instanceof t.y||(0,o.m)(l.lift)&&(0,o.m)(l.subscribe))}},8239:(Et,Me,a)=>{a.d(Me,{t:()=>o});var t=a(576);function o(g){return(0,t.m)(g?.then)}},3260:(Et,Me,a)=>{a.d(Me,{L:()=>l,Q:()=>g});var t=a(655),o=a(576);function g(s){return(0,t.FC)(this,arguments,function*(){const R=s.getReader();try{for(;;){const{value:T,done:M}=yield(0,t.qq)(R.read());if(M)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(T)}}finally{R.releaseLock()}})}function l(s){return(0,o.m)(s?.getReader)}},3532:(Et,Me,a)=>{a.d(Me,{K:()=>o});var t=a(576);function o(g){return g&&(0,t.m)(g.schedule)}},4482:(Et,Me,a)=>{a.d(Me,{A:()=>o,e:()=>g});var t=a(576);function o(l){return(0,t.m)(l?.lift)}function g(l){return s=>{if(o(s))return s.lift(function(L){try{return l(L,this)}catch(R){this.error(R)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Et,Me,a)=>{a.d(Me,{Z:()=>l});var t=a(4004);const{isArray:o}=Array;function l(s){return(0,t.U)(L=>function g(s,L){return o(L)?s(...L):s(L)}(s,L))}},5032:(Et,Me,a)=>{function t(){}a.d(Me,{Z:()=>t})},9635:(Et,Me,a)=>{a.d(Me,{U:()=>g,z:()=>o});var t=a(4671);function o(...l){return g(l)}function g(l){return 0===l.length?t.y:1===l.length?l[0]:function(L){return l.reduce((R,T)=>T(R),L)}}},7849:(Et,Me,a)=>{a.d(Me,{h:()=>g});var t=a(2416),o=a(3410);function g(l){o.z.setTimeout(()=>{const{onUnhandledError:s}=t.v;if(!s)throw l;s(l)})}},4532:(Et,Me,a)=>{function t(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(Me,{z:()=>t})},444:(Et,Me,a)=>{function t(Y){return Y!==String(parseFloat(Y))}a.d(Me,{o6:()=>q});var s=Object.getOwnPropertyNames?function o(Y){return Object.getOwnPropertyNames(Y).filter(function(k){return Y.propertyIsEnumerable(k)&&t(k)})}:Object.keys?function g(Y){return Object.keys(Y).filter(t)}:function l(Y){var k=[];for(var me in Y)Y.hasOwnProperty(me)&&Y.propertyIsEnumerable(me)&&t(me)&&k.push(me);return k},L=function(){function Y(k){this.enumObj=k,this.keysList=Object.freeze(s(k));for(var me=this.keysList.length,fe=new Array(me),te=new Map,ye=0;ye=me.length,value:me.keysList[fe]};return++fe,ye}})[Symbol.iterator]=function(){return this},k},Y.prototype.values=function(){var k,me=this,fe=0;return(k={next:function(){var ye={done:fe>=me.length,value:me.valuesList[fe]};return++fe,ye}})[Symbol.iterator]=function(){return this},k},Y.prototype.entries=function(){var k,me=this,fe=0;return(k={next:function(){var ye={done:fe>=me.length,value:me[fe]};return++fe,ye}})[Symbol.iterator]=function(){return this},k},Y.prototype[Symbol.iterator]=function(){return this.entries()},Y.prototype.forEach=function(k,me){for(var fe=this.length,te=0;te{a.d(Me,{FC:()=>pe,Jh:()=>M,KL:()=>Z,ZT:()=>o,_T:()=>l,ev:()=>I,gn:()=>s,mG:()=>T,pi:()=>g,qq:()=>w});var t=function(te,ye){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,X){H.__proto__=X}||function(H,X){for(var ve in X)Object.prototype.hasOwnProperty.call(X,ve)&&(H[ve]=X[ve])})(te,ye)};function o(te,ye){if("function"!=typeof ye&&null!==ye)throw new TypeError("Class extends value "+String(ye)+" is not a constructor or null");function H(){this.constructor=te}t(te,ye),te.prototype=null===ye?Object.create(ye):(H.prototype=ye.prototype,new H)}var g=function(){return g=Object.assign||function(ye){for(var H,X=1,ve=arguments.length;X=0;St--)(wt=te[St])&&(Se=(ve<3?wt(Se):ve>3?wt(ye,H,Se):wt(ye,H))||Se);return ve>3&&Se&&Object.defineProperty(ye,H,Se),Se}function T(te,ye,H,X){return new(H||(H=Promise))(function(Se,wt){function St(gt){try{ot(X.next(gt))}catch(Dt){wt(Dt)}}function rn(gt){try{ot(X.throw(gt))}catch(Dt){wt(Dt)}}function ot(gt){gt.done?Se(gt.value):function ve(Se){return Se instanceof H?Se:new H(function(wt){wt(Se)})}(gt.value).then(St,rn)}ot((X=X.apply(te,ye||[])).next())})}function M(te,ye){var X,ve,Se,wt,H={label:0,sent:function(){if(1&Se[0])throw Se[1];return Se[1]},trys:[],ops:[]};return wt={next:St(0),throw:St(1),return:St(2)},"function"==typeof Symbol&&(wt[Symbol.iterator]=function(){return this}),wt;function St(ot){return function(gt){return function rn(ot){if(X)throw new TypeError("Generator is already executing.");for(;wt&&(wt=0,ot[0]&&(H=0)),H;)try{if(X=1,ve&&(Se=2&ot[0]?ve.return:ot[0]?ve.throw||((Se=ve.return)&&Se.call(ve),0):ve.next)&&!(Se=Se.call(ve,ot[1])).done)return Se;switch(ve=0,Se&&(ot=[2&ot[0],Se.value]),ot[0]){case 0:case 1:Se=ot;break;case 4:return H.label++,{value:ot[1],done:!1};case 5:H.label++,ve=ot[1],ot=[0];continue;case 7:ot=H.ops.pop(),H.trys.pop();continue;default:if(!(Se=(Se=H.trys).length>0&&Se[Se.length-1])&&(6===ot[0]||2===ot[0])){H=0;continue}if(3===ot[0]&&(!Se||ot[1]>Se[0]&&ot[1]1||St(Wt,mn)})})}function St(Wt,mn){try{!function rn(Wt){Wt.value instanceof w?Promise.resolve(Wt.value.v).then(ot,gt):Dt(Se[0][2],Wt)}(X[Wt](mn))}catch(At){Dt(Se[0][3],At)}}function ot(Wt){St("next",Wt)}function gt(Wt){St("throw",Wt)}function Dt(Wt,mn){Wt(mn),Se.shift(),Se.length&&St(Se[0][0],Se[0][1])}}function Z(te){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,ye=te[Symbol.asyncIterator];return ye?ye.call(te):(te=function F(te){var ye="function"==typeof Symbol&&Symbol.iterator,H=ye&&te[ye],X=0;if(H)return H.call(te);if(te&&"number"==typeof te.length)return{next:function(){return te&&X>=te.length&&(te=void 0),{value:te&&te[X++],done:!te}}};throw new TypeError(ye?"Object is not iterable.":"Symbol.iterator is not defined.")}(te),H={},X("next"),X("throw"),X("return"),H[Symbol.asyncIterator]=function(){return this},H);function X(Se){H[Se]=te[Se]&&function(wt){return new Promise(function(St,rn){!function ve(Se,wt,St,rn){Promise.resolve(rn).then(function(ot){Se({value:ot,done:St})},wt)}(St,rn,(wt=te[Se](wt)).done,wt.value)})}}}},7340:(Et,Me,a)=>{a.d(Me,{EY:()=>I,IO:()=>e,LC:()=>o,SB:()=>M,X$:()=>l,ZE:()=>ae,ZN:()=>pe,_j:()=>t,eR:()=>O,jt:()=>s,k1:()=>Z,l3:()=>g,oB:()=>T,vP:()=>R});class t{}class o{}const g="*";function l(U,N){return{type:7,name:U,definitions:N,options:{}}}function s(U,N=null){return{type:4,styles:N,timings:U}}function R(U,N=null){return{type:2,steps:U,options:N}}function T(U){return{type:6,styles:U,offset:null}}function M(U,N,q){return{type:0,name:U,styles:N,options:q}}function O(U,N,q=null){return{type:1,expr:U,animation:N,options:q}}function e(U,N,q=null){return{type:11,selector:U,animation:N,options:q}}function I(U,N){return{type:12,timings:U,animation:N}}function w(U){Promise.resolve().then(U)}class pe{constructor(N=0,q=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=N+q}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}onStart(N){this._originalOnStartFns.push(N),this._onStartFns.push(N)}onDone(N){this._originalOnDoneFns.push(N),this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){w(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(N=>N()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(N){this._position=this.totalTime?N*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(N){const q="start"==N?this._onStartFns:this._onDoneFns;q.forEach(Y=>Y()),q.length=0}}class ae{constructor(N){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=N;let q=0,Y=0,k=0;const me=this.players.length;0==me?w(()=>this._onFinish()):this.players.forEach(fe=>{fe.onDone(()=>{++q==me&&this._onFinish()}),fe.onDestroy(()=>{++Y==me&&this._onDestroy()}),fe.onStart(()=>{++k==me&&this._onStart()})}),this.totalTime=this.players.reduce((fe,te)=>Math.max(fe,te.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this.players.forEach(N=>N.init())}onStart(N){this._onStartFns.push(N)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(N=>N()),this._onStartFns=[])}onDone(N){this._onDoneFns.push(N)}onDestroy(N){this._onDestroyFns.push(N)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(N=>N.play())}pause(){this.players.forEach(N=>N.pause())}restart(){this.players.forEach(N=>N.restart())}finish(){this._onFinish(),this.players.forEach(N=>N.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(N=>N.destroy()),this._onDestroyFns.forEach(N=>N()),this._onDestroyFns=[])}reset(){this.players.forEach(N=>N.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(N){const q=N*this.totalTime;this.players.forEach(Y=>{const k=Y.totalTime?Math.min(1,q/Y.totalTime):1;Y.setPosition(k)})}getPosition(){const N=this.players.reduce((q,Y)=>null===q||Y.totalTime>q.totalTime?Y:q,null);return null!=N?N.getPosition():0}beforeDestroy(){this.players.forEach(N=>{N.beforeDestroy&&N.beforeDestroy()})}triggerCallback(N){const q="start"==N?this._onStartFns:this._onDoneFns;q.forEach(Y=>Y()),q.length=0}}const Z="!"},2687:(Et,Me,a)=>{a.d(Me,{Em:()=>Se,X6:()=>oe,kH:()=>We,qV:()=>zn,rt:()=>dt,tE:()=>Nt,yG:()=>J});var t=a(6895),o=a(4650),g=a(3353),l=a(7579),s=a(727),L=a(1135),R=a(9646),T=a(9521),M=a(8505),E=a(8372),O=a(9300),F=a(4004),V=a(5698),S=a(5684),e=a(1884),I=a(2722),w=a(1281),pe=a(9643),ae=a(2289);class X{constructor(ge){this._items=ge,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new l.x,this._typeaheadSubscription=s.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=xe=>xe.disabled,this._pressedLetters=[],this.tabOut=new l.x,this.change=new l.x,ge instanceof o.n_E&&(this._itemChangesSubscription=ge.changes.subscribe(xe=>{if(this._activeItem){const vt=xe.toArray().indexOf(this._activeItem);vt>-1&&vt!==this._activeItemIndex&&(this._activeItemIndex=vt)}}))}skipPredicate(ge){return this._skipPredicateFn=ge,this}withWrap(ge=!0){return this._wrap=ge,this}withVerticalOrientation(ge=!0){return this._vertical=ge,this}withHorizontalOrientation(ge){return this._horizontal=ge,this}withAllowedModifierKeys(ge){return this._allowedModifierKeys=ge,this}withTypeAhead(ge=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,M.b)(xe=>this._pressedLetters.push(xe)),(0,E.b)(ge),(0,O.h)(()=>this._pressedLetters.length>0),(0,F.U)(()=>this._pressedLetters.join(""))).subscribe(xe=>{const ut=this._getItemsArray();for(let vt=1;vt!ge[qt]||this._allowedModifierKeys.indexOf(qt)>-1);switch(xe){case T.Mf:return void this.tabOut.next();case T.JH:if(this._vertical&&vt){this.setNextItemActive();break}return;case T.LH:if(this._vertical&&vt){this.setPreviousItemActive();break}return;case T.SV:if(this._horizontal&&vt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case T.oh:if(this._horizontal&&vt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case T.Sd:if(this._homeAndEnd&&vt){this.setFirstItemActive();break}return;case T.uR:if(this._homeAndEnd&&vt){this.setLastItemActive();break}return;case T.Ku:if(this._pageUpAndDown.enabled&&vt){const qt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(qt>0?qt:0,1);break}return;case T.VM:if(this._pageUpAndDown.enabled&&vt){const qt=this._activeItemIndex+this._pageUpAndDown.delta,Ct=this._getItemsArray().length;this._setActiveItemByIndex(qt=T.A&&xe<=T.Z||xe>=T.xE&&xe<=T.aO)&&this._letterKeyStream.next(String.fromCharCode(xe))))}this._pressedLetters=[],ge.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ge){const xe=this._getItemsArray(),ut="number"==typeof ge?ge:xe.indexOf(ge);this._activeItem=xe[ut]??null,this._activeItemIndex=ut}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(ge){this._wrap?this._setActiveInWrapMode(ge):this._setActiveInDefaultMode(ge)}_setActiveInWrapMode(ge){const xe=this._getItemsArray();for(let ut=1;ut<=xe.length;ut++){const vt=(this._activeItemIndex+ge*ut+xe.length)%xe.length;if(!this._skipPredicateFn(xe[vt]))return void this.setActiveItem(vt)}}_setActiveInDefaultMode(ge){this._setActiveItemByIndex(this._activeItemIndex+ge,ge)}_setActiveItemByIndex(ge,xe){const ut=this._getItemsArray();if(ut[ge]){for(;this._skipPredicateFn(ut[ge]);)if(!ut[ge+=xe])return;this.setActiveItem(ge)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class Se extends X{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ge){return this._origin=ge,this}setActiveItem(ge){super.setActiveItem(ge),this.activeItem&&this.activeItem.focus(this._origin)}}let St=(()=>{class ke{constructor(xe){this._platform=xe}isDisabled(xe){return xe.hasAttribute("disabled")}isVisible(xe){return function ot(ke){return!!(ke.offsetWidth||ke.offsetHeight||"function"==typeof ke.getClientRects&&ke.getClientRects().length)}(xe)&&"visible"===getComputedStyle(xe).visibility}isTabbable(xe){if(!this._platform.isBrowser)return!1;const ut=function rn(ke){try{return ke.frameElement}catch{return null}}(function sn(ke){return ke.ownerDocument&&ke.ownerDocument.defaultView||window}(xe));if(ut&&(-1===Xt(ut)||!this.isVisible(ut)))return!1;let vt=xe.nodeName.toLowerCase(),qt=Xt(xe);return xe.hasAttribute("contenteditable")?-1!==qt:!("iframe"===vt||"object"===vt||this._platform.WEBKIT&&this._platform.IOS&&!function ct(ke){let ge=ke.nodeName.toLowerCase(),xe="input"===ge&&ke.type;return"text"===xe||"password"===xe||"select"===ge||"textarea"===ge}(xe))&&("audio"===vt?!!xe.hasAttribute("controls")&&-1!==qt:"video"===vt?-1!==qt&&(null!==qt||this._platform.FIREFOX||xe.hasAttribute("controls")):xe.tabIndex>=0)}isFocusable(xe,ut){return function Rt(ke){return!function Dt(ke){return function mn(ke){return"input"==ke.nodeName.toLowerCase()}(ke)&&"hidden"==ke.type}(ke)&&(function gt(ke){let ge=ke.nodeName.toLowerCase();return"input"===ge||"select"===ge||"button"===ge||"textarea"===ge}(ke)||function Wt(ke){return function At(ke){return"a"==ke.nodeName.toLowerCase()}(ke)&&ke.hasAttribute("href")}(ke)||ke.hasAttribute("contenteditable")||_t(ke))}(xe)&&!this.isDisabled(xe)&&(ut?.ignoreVisibility||this.isVisible(xe))}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(g.t4))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();function _t(ke){if(!ke.hasAttribute("tabindex")||void 0===ke.tabIndex)return!1;let ge=ke.getAttribute("tabindex");return!(!ge||isNaN(parseInt(ge,10)))}function Xt(ke){if(!_t(ke))return null;const ge=parseInt(ke.getAttribute("tabindex")||"",10);return isNaN(ge)?-1:ge}class Dn{get enabled(){return this._enabled}set enabled(ge){this._enabled=ge,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ge,this._startAnchor),this._toggleAnchorTabIndex(ge,this._endAnchor))}constructor(ge,xe,ut,vt,qt=!1){this._element=ge,this._checker=xe,this._ngZone=ut,this._document=vt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,qt||this.attachAnchors()}destroy(){const ge=this._startAnchor,xe=this._endAnchor;ge&&(ge.removeEventListener("focus",this.startAnchorListener),ge.remove()),xe&&(xe.removeEventListener("focus",this.endAnchorListener),xe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ge){return new Promise(xe=>{this._executeOnStable(()=>xe(this.focusInitialElement(ge)))})}focusFirstTabbableElementWhenReady(ge){return new Promise(xe=>{this._executeOnStable(()=>xe(this.focusFirstTabbableElement(ge)))})}focusLastTabbableElementWhenReady(ge){return new Promise(xe=>{this._executeOnStable(()=>xe(this.focusLastTabbableElement(ge)))})}_getRegionBoundary(ge){const xe=this._element.querySelectorAll(`[cdk-focus-region-${ge}], [cdkFocusRegion${ge}], [cdk-focus-${ge}]`);return"start"==ge?xe.length?xe[0]:this._getFirstTabbableElement(this._element):xe.length?xe[xe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ge){const xe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(xe){if(!this._checker.isFocusable(xe)){const ut=this._getFirstTabbableElement(xe);return ut?.focus(ge),!!ut}return xe.focus(ge),!0}return this.focusFirstTabbableElement(ge)}focusFirstTabbableElement(ge){const xe=this._getRegionBoundary("start");return xe&&xe.focus(ge),!!xe}focusLastTabbableElement(ge){const xe=this._getRegionBoundary("end");return xe&&xe.focus(ge),!!xe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ge){if(this._checker.isFocusable(ge)&&this._checker.isTabbable(ge))return ge;const xe=ge.children;for(let ut=0;ut=0;ut--){const vt=xe[ut].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(xe[ut]):null;if(vt)return vt}return null}_createAnchor(){const ge=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ge),ge.classList.add("cdk-visually-hidden"),ge.classList.add("cdk-focus-trap-anchor"),ge.setAttribute("aria-hidden","true"),ge}_toggleAnchorTabIndex(ge,xe){ge?xe.setAttribute("tabindex","0"):xe.removeAttribute("tabindex")}toggleAnchors(ge){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ge,this._startAnchor),this._toggleAnchorTabIndex(ge,this._endAnchor))}_executeOnStable(ge){this._ngZone.isStable?ge():this._ngZone.onStable.pipe((0,V.q)(1)).subscribe(ge)}}let zn=(()=>{class ke{constructor(xe,ut,vt){this._checker=xe,this._ngZone=ut,this._document=vt}create(xe,ut=!1){return new Dn(xe,this._checker,this._ngZone,this._document,ut)}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(St),o.LFG(o.R0b),o.LFG(t.K0))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();function oe(ke){return 0===ke.buttons||0===ke.offsetX&&0===ke.offsetY}function J(ke){const ge=ke.touches&&ke.touches[0]||ke.changedTouches&&ke.changedTouches[0];return!(!ge||-1!==ge.identifier||null!=ge.radiusX&&1!==ge.radiusX||null!=ge.radiusY&&1!==ge.radiusY)}const Te=new o.OlP("cdk-input-modality-detector-options"),Pe={ignoreKeys:[T.zL,T.jx,T.b2,T.MW,T.JU]},it=(0,g.i$)({passive:!0,capture:!0});let yt=(()=>{class ke{get mostRecentModality(){return this._modality.value}constructor(xe,ut,vt,qt){this._platform=xe,this._mostRecentTarget=null,this._modality=new L.X(null),this._lastTouchMs=0,this._onKeydown=Ct=>{this._options?.ignoreKeys?.some(tn=>tn===Ct.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(Ct))},this._onMousedown=Ct=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Ct)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(Ct))},this._onTouchstart=Ct=>{J(Ct)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(Ct))},this._options={...Pe,...qt},this.modalityDetected=this._modality.pipe((0,S.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,e.x)()),xe.isBrowser&&ut.runOutsideAngular(()=>{vt.addEventListener("keydown",this._onKeydown,it),vt.addEventListener("mousedown",this._onMousedown,it),vt.addEventListener("touchstart",this._onTouchstart,it)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,it),document.removeEventListener("mousedown",this._onMousedown,it),document.removeEventListener("touchstart",this._onTouchstart,it))}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(g.t4),o.LFG(o.R0b),o.LFG(t.K0),o.LFG(Te,8))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})();const zt=new o.OlP("cdk-focus-monitor-default-options"),jt=(0,g.i$)({passive:!0,capture:!0});let Nt=(()=>{class ke{constructor(xe,ut,vt,qt,Ct){this._ngZone=xe,this._platform=ut,this._inputModalityDetector=vt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new l.x,this._rootNodeFocusAndBlurListener=tn=>{for(let Qe=(0,g.sA)(tn);Qe;Qe=Qe.parentElement)"focus"===tn.type?this._onFocus(tn,Qe):this._onBlur(tn,Qe)},this._document=qt,this._detectionMode=Ct?.detectionMode||0}monitor(xe,ut=!1){const vt=(0,w.fI)(xe);if(!this._platform.isBrowser||1!==vt.nodeType)return(0,R.of)(null);const qt=(0,g.kV)(vt)||this._getDocument(),Ct=this._elementInfo.get(vt);if(Ct)return ut&&(Ct.checkChildren=!0),Ct.subject;const tn={checkChildren:ut,subject:new l.x,rootNode:qt};return this._elementInfo.set(vt,tn),this._registerGlobalListeners(tn),tn.subject}stopMonitoring(xe){const ut=(0,w.fI)(xe),vt=this._elementInfo.get(ut);vt&&(vt.subject.complete(),this._setClasses(ut),this._elementInfo.delete(ut),this._removeGlobalListeners(vt))}focusVia(xe,ut,vt){const qt=(0,w.fI)(xe);qt===this._getDocument().activeElement?this._getClosestElementsInfo(qt).forEach(([tn,je])=>this._originChanged(tn,ut,je)):(this._setOrigin(ut),"function"==typeof qt.focus&&qt.focus(vt))}ngOnDestroy(){this._elementInfo.forEach((xe,ut)=>this.stopMonitoring(ut))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(xe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(xe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:xe&&this._isLastInteractionFromInputLabel(xe)?"mouse":"program"}_shouldBeAttributedToTouch(xe){return 1===this._detectionMode||!!xe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(xe,ut){xe.classList.toggle("cdk-focused",!!ut),xe.classList.toggle("cdk-touch-focused","touch"===ut),xe.classList.toggle("cdk-keyboard-focused","keyboard"===ut),xe.classList.toggle("cdk-mouse-focused","mouse"===ut),xe.classList.toggle("cdk-program-focused","program"===ut)}_setOrigin(xe,ut=!1){this._ngZone.runOutsideAngular(()=>{this._origin=xe,this._originFromTouchInteraction="touch"===xe&&ut,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(xe,ut){const vt=this._elementInfo.get(ut),qt=(0,g.sA)(xe);!vt||!vt.checkChildren&&ut!==qt||this._originChanged(ut,this._getFocusOrigin(qt),vt)}_onBlur(xe,ut){const vt=this._elementInfo.get(ut);!vt||vt.checkChildren&&xe.relatedTarget instanceof Node&&ut.contains(xe.relatedTarget)||(this._setClasses(ut),this._emitOrigin(vt,null))}_emitOrigin(xe,ut){xe.subject.observers.length&&this._ngZone.run(()=>xe.subject.next(ut))}_registerGlobalListeners(xe){if(!this._platform.isBrowser)return;const ut=xe.rootNode,vt=this._rootNodeFocusListenerCount.get(ut)||0;vt||this._ngZone.runOutsideAngular(()=>{ut.addEventListener("focus",this._rootNodeFocusAndBlurListener,jt),ut.addEventListener("blur",this._rootNodeFocusAndBlurListener,jt)}),this._rootNodeFocusListenerCount.set(ut,vt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,I.R)(this._stopInputModalityDetector)).subscribe(qt=>{this._setOrigin(qt,!0)}))}_removeGlobalListeners(xe){const ut=xe.rootNode;if(this._rootNodeFocusListenerCount.has(ut)){const vt=this._rootNodeFocusListenerCount.get(ut);vt>1?this._rootNodeFocusListenerCount.set(ut,vt-1):(ut.removeEventListener("focus",this._rootNodeFocusAndBlurListener,jt),ut.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jt),this._rootNodeFocusListenerCount.delete(ut))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(xe,ut,vt){this._setClasses(xe,ut),this._emitOrigin(vt,ut),this._lastFocusOrigin=ut}_getClosestElementsInfo(xe){const ut=[];return this._elementInfo.forEach((vt,qt)=>{(qt===xe||vt.checkChildren&&qt.contains(xe))&&ut.push([qt,vt])}),ut}_isLastInteractionFromInputLabel(xe){const{_mostRecentTarget:ut,mostRecentModality:vt}=this._inputModalityDetector;if("mouse"!==vt||!ut||ut===xe||"INPUT"!==xe.nodeName&&"TEXTAREA"!==xe.nodeName||xe.disabled)return!1;const qt=xe.labels;if(qt)for(let Ct=0;Ct{class ke{constructor(xe,ut){this._elementRef=xe,this._focusMonitor=ut,this._focusOrigin=null,this.cdkFocusChange=new o.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const xe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(xe,1===xe.nodeType&&xe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(ut=>{this._focusOrigin=ut,this.cdkFocusChange.emit(ut)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.Y36(o.SBq),o.Y36(Nt))},ke.\u0275dir=o.lG2({type:ke,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),ke})();const j="cdk-high-contrast-black-on-white",P="cdk-high-contrast-white-on-black",K="cdk-high-contrast-active";let ze=(()=>{class ke{constructor(xe,ut){this._platform=xe,this._document=ut,this._breakpointSubscription=(0,o.f3M)(ae.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const xe=this._document.createElement("div");xe.style.backgroundColor="rgb(1,2,3)",xe.style.position="absolute",this._document.body.appendChild(xe);const ut=this._document.defaultView||window,vt=ut&&ut.getComputedStyle?ut.getComputedStyle(xe):null,qt=(vt&&vt.backgroundColor||"").replace(/ /g,"");switch(xe.remove(),qt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const xe=this._document.body.classList;xe.remove(K,j,P),this._hasCheckedHighContrastMode=!0;const ut=this.getHighContrastMode();1===ut?xe.add(K,j):2===ut&&xe.add(K,P)}}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(g.t4),o.LFG(t.K0))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})(),dt=(()=>{class ke{constructor(xe){xe._applyBodyHighContrastModeCssClasses()}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(ze))},ke.\u0275mod=o.oAB({type:ke}),ke.\u0275inj=o.cJS({imports:[pe.Q8]}),ke})()},445:(Et,Me,a)=>{a.d(Me,{Is:()=>R,vT:()=>M});var t=a(4650),o=a(6895);const g=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function l(){return(0,t.f3M)(o.K0)}}),s=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let R=(()=>{class E{constructor(F){this.value="ltr",this.change=new t.vpe,F&&(this.value=function L(E){const O=E?.toLowerCase()||"";return"auto"===O&&typeof navigator<"u"&&navigator?.language?s.test(navigator.language)?"rtl":"ltr":"rtl"===O?"rtl":"ltr"}((F.body?F.body.dir:null)||(F.documentElement?F.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return E.\u0275fac=function(F){return new(F||E)(t.LFG(g,8))},E.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),M=(()=>{class E{}return E.\u0275fac=function(F){return new(F||E)},E.\u0275mod=t.oAB({type:E}),E.\u0275inj=t.cJS({}),E})()},4425:(Et,Me,a)=>{a.d(Me,{Iq:()=>R,TU:()=>l});var t=a(6895),o=a(4650);class g{constructor(M,E){this._document=E;const O=this._textarea=this._document.createElement("textarea"),F=O.style;F.position="fixed",F.top=F.opacity="0",F.left="-999em",O.setAttribute("aria-hidden","true"),O.value=M,O.readOnly=!0,this._document.body.appendChild(O)}copy(){const M=this._textarea;let E=!1;try{if(M){const O=this._document.activeElement;M.select(),M.setSelectionRange(0,M.value.length),E=this._document.execCommand("copy"),O&&O.focus()}}catch{}return E}destroy(){const M=this._textarea;M&&(M.remove(),this._textarea=void 0)}}let l=(()=>{class T{constructor(E){this._document=E}copy(E){const O=this.beginCopy(E),F=O.copy();return O.destroy(),F}beginCopy(E){return new g(E,this._document)}}return T.\u0275fac=function(E){return new(E||T)(o.LFG(t.K0))},T.\u0275prov=o.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),R=(()=>{class T{}return T.\u0275fac=function(E){return new(E||T)},T.\u0275mod=o.oAB({type:T}),T.\u0275inj=o.cJS({}),T})()},1281:(Et,Me,a)=>{a.d(Me,{Eq:()=>s,HM:()=>L,Ig:()=>o,fI:()=>R,su:()=>g,t6:()=>l});var t=a(4650);function o(M){return null!=M&&"false"!=`${M}`}function g(M,E=0){return l(M)?Number(M):E}function l(M){return!isNaN(parseFloat(M))&&!isNaN(Number(M))}function s(M){return Array.isArray(M)?M:[M]}function L(M){return null==M?"":"string"==typeof M?M:`${M}px`}function R(M){return M instanceof t.SBq?M.nativeElement:M}},9521:(Et,Me,a)=>{a.d(Me,{A:()=>Dt,JH:()=>Z,JU:()=>L,K5:()=>s,Ku:()=>V,LH:()=>pe,L_:()=>F,MW:()=>Je,Mf:()=>g,SV:()=>ae,Sd:()=>I,VM:()=>S,Vb:()=>bn,Z:()=>$t,ZH:()=>o,aO:()=>wt,b2:()=>Do,hY:()=>O,jx:()=>R,oh:()=>w,uR:()=>e,xE:()=>k,zL:()=>T});const o=8,g=9,s=13,L=16,R=17,T=18,O=27,F=32,V=33,S=34,e=35,I=36,w=37,pe=38,ae=39,Z=40,k=48,wt=57,Dt=65,$t=90,Je=91,Do=224;function bn(Co,...pi){return pi.length?pi.some(Fi=>Co[Fi]):Co.altKey||Co.shiftKey||Co.ctrlKey||Co.metaKey}},2289:(Et,Me,a)=>{a.d(Me,{Yg:()=>Z,vx:()=>w,xu:()=>S});var t=a(4650),o=a(1281),g=a(7579),l=a(9841),s=a(7272),L=a(9751),R=a(5698),T=a(5684),M=a(8372),E=a(4004),O=a(8675),F=a(2722),V=a(3353);let S=(()=>{class q{}return q.\u0275fac=function(k){return new(k||q)},q.\u0275mod=t.oAB({type:q}),q.\u0275inj=t.cJS({}),q})();const e=new Set;let I,w=(()=>{class q{constructor(k){this._platform=k,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ae}matchMedia(k){return(this._platform.WEBKIT||this._platform.BLINK)&&function pe(q){if(!e.has(q))try{I||(I=document.createElement("style"),I.setAttribute("type","text/css"),document.head.appendChild(I)),I.sheet&&(I.sheet.insertRule(`@media ${q} {body{ }}`,0),e.add(q))}catch(Y){console.error(Y)}}(k),this._matchMedia(k)}}return q.\u0275fac=function(k){return new(k||q)(t.LFG(V.t4))},q.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})();function ae(q){return{matches:"all"===q||""===q,media:q,addListener:()=>{},removeListener:()=>{}}}let Z=(()=>{class q{constructor(k,me){this._mediaMatcher=k,this._zone=me,this._queries=new Map,this._destroySubject=new g.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(k){return U((0,o.Eq)(k)).some(fe=>this._registerQuery(fe).mql.matches)}observe(k){const fe=U((0,o.Eq)(k)).map(ye=>this._registerQuery(ye).observable);let te=(0,l.a)(fe);return te=(0,s.z)(te.pipe((0,R.q)(1)),te.pipe((0,T.T)(1),(0,M.b)(0))),te.pipe((0,E.U)(ye=>{const H={matches:!1,breakpoints:{}};return ye.forEach(({matches:X,query:ve})=>{H.matches=H.matches||X,H.breakpoints[ve]=X}),H}))}_registerQuery(k){if(this._queries.has(k))return this._queries.get(k);const me=this._mediaMatcher.matchMedia(k),te={observable:new L.y(ye=>{const H=X=>this._zone.run(()=>ye.next(X));return me.addListener(H),()=>{me.removeListener(H)}}).pipe((0,O.O)(me),(0,E.U)(({matches:ye})=>({query:k,matches:ye})),(0,F.R)(this._destroySubject)),mql:me};return this._queries.set(k,te),te}}return q.\u0275fac=function(k){return new(k||q)(t.LFG(w),t.LFG(t.R0b))},q.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),q})();function U(q){return q.map(Y=>Y.split(",")).reduce((Y,k)=>Y.concat(k)).map(Y=>Y.trim())}},9643:(Et,Me,a)=>{a.d(Me,{Q8:()=>s});var t=a(4650);let o=(()=>{class L{create(T){return typeof MutationObserver>"u"?null:new MutationObserver(T)}}return L.\u0275fac=function(T){return new(T||L)},L.\u0275prov=t.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),s=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=t.oAB({type:L}),L.\u0275inj=t.cJS({providers:[o]}),L})()},8184:(Et,Me,a)=>{a.d(Me,{Iu:()=>wt,U8:()=>Ae,X_:()=>Y,aV:()=>sn,pI:()=>xt,tR:()=>k,xu:()=>Yt});var t=a(3488),o=a(6895),g=a(4650),l=a(1281),s=a(3353),L=a(445),R=a(4080),T=a(7579),M=a(727),E=a(6451),O=a(5698),F=a(2722),V=a(2529),S=a(9521);const e=(0,s.Mq)();class I{constructor(J,Te){this._viewportRuler=J,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Te}attach(){}enable(){if(this._canBeEnabled()){const J=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=J.style.left||"",this._previousHTMLStyles.top=J.style.top||"",J.style.left=(0,l.HM)(-this._previousScrollPosition.left),J.style.top=(0,l.HM)(-this._previousScrollPosition.top),J.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const J=this._document.documentElement,Pe=J.style,Ge=this._document.body.style,it=Pe.scrollBehavior||"",yt=Ge.scrollBehavior||"";this._isEnabled=!1,Pe.left=this._previousHTMLStyles.left,Pe.top=this._previousHTMLStyles.top,J.classList.remove("cdk-global-scrollblock"),e&&(Pe.scrollBehavior=Ge.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e&&(Pe.scrollBehavior=it,Ge.scrollBehavior=yt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Te=this._document.body,Pe=this._viewportRuler.getViewportSize();return Te.scrollHeight>Pe.height||Te.scrollWidth>Pe.width}}class pe{constructor(J,Te,Pe,Ge){this._scrollDispatcher=J,this._ngZone=Te,this._viewportRuler=Pe,this._config=Ge,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(J){this._overlayRef=J}enable(){if(this._scrollSubscription)return;const J=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=J.subscribe(()=>{const Te=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Te-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=J.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ae{enable(){}disable(){}attach(){}}function Z(oe,J){return J.some(Te=>oe.bottomTe.bottom||oe.rightTe.right)}function U(oe,J){return J.some(Te=>oe.topTe.bottom||oe.leftTe.right)}class N{constructor(J,Te,Pe,Ge){this._scrollDispatcher=J,this._viewportRuler=Te,this._ngZone=Pe,this._config=Ge,this._scrollSubscription=null}attach(J){this._overlayRef=J}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Te=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Pe,height:Ge}=this._viewportRuler.getViewportSize();Z(Te,[{width:Pe,height:Ge,bottom:Ge,right:Pe,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let q=(()=>{class oe{constructor(Te,Pe,Ge,it){this._scrollDispatcher=Te,this._viewportRuler=Pe,this._ngZone=Ge,this.noop=()=>new ae,this.close=yt=>new pe(this._scrollDispatcher,this._ngZone,this._viewportRuler,yt),this.block=()=>new I(this._viewportRuler,this._document),this.reposition=yt=>new N(this._scrollDispatcher,this._viewportRuler,this._ngZone,yt),this._document=it}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.LFG(t.mF),g.LFG(t.rL),g.LFG(g.R0b),g.LFG(o.K0))},oe.\u0275prov=g.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();class Y{constructor(J){if(this.scrollStrategy=new ae,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,J){const Te=Object.keys(J);for(const Pe of Te)void 0!==J[Pe]&&(this[Pe]=J[Pe])}}}class k{constructor(J,Te,Pe,Ge,it){this.offsetX=Pe,this.offsetY=Ge,this.panelClass=it,this.originX=J.originX,this.originY=J.originY,this.overlayX=Te.overlayX,this.overlayY=Te.overlayY}}class fe{constructor(J,Te){this.connectionPair=J,this.scrollableViewProperties=Te}}let H=(()=>{class oe{constructor(Te){this._attachedOverlays=[],this._document=Te}ngOnDestroy(){this.detach()}add(Te){this.remove(Te),this._attachedOverlays.push(Te)}remove(Te){const Pe=this._attachedOverlays.indexOf(Te);Pe>-1&&this._attachedOverlays.splice(Pe,1),0===this._attachedOverlays.length&&this.detach()}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.LFG(o.K0))},oe.\u0275prov=g.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),X=(()=>{class oe extends H{constructor(Te,Pe){super(Te),this._ngZone=Pe,this._keydownListener=Ge=>{const it=this._attachedOverlays;for(let yt=it.length-1;yt>-1;yt--)if(it[yt]._keydownEvents.observers.length>0){const Ut=it[yt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ut.next(Ge)):Ut.next(Ge);break}}}add(Te){super.add(Te),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.LFG(o.K0),g.LFG(g.R0b,8))},oe.\u0275prov=g.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),ve=(()=>{class oe extends H{constructor(Te,Pe,Ge){super(Te),this._platform=Pe,this._ngZone=Ge,this._cursorStyleIsSet=!1,this._pointerDownListener=it=>{this._pointerDownEventTarget=(0,s.sA)(it)},this._clickListener=it=>{const yt=(0,s.sA)(it),Ut="click"===it.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:yt;this._pointerDownEventTarget=null;const $t=this._attachedOverlays.slice();for(let Je=$t.length-1;Je>-1;Je--){const et=$t[Je];if(et._outsidePointerEvents.observers.length<1||!et.hasAttached())continue;if(et.overlayElement.contains(yt)||et.overlayElement.contains(Ut))break;const pt=et._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>pt.next(it)):pt.next(it)}}}add(Te){if(super.add(Te),!this._isAttached){const Pe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Pe)):this._addEventListeners(Pe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Pe.style.cursor,Pe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Te=this._document.body;Te.removeEventListener("pointerdown",this._pointerDownListener,!0),Te.removeEventListener("click",this._clickListener,!0),Te.removeEventListener("auxclick",this._clickListener,!0),Te.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Te.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Te){Te.addEventListener("pointerdown",this._pointerDownListener,!0),Te.addEventListener("click",this._clickListener,!0),Te.addEventListener("auxclick",this._clickListener,!0),Te.addEventListener("contextmenu",this._clickListener,!0)}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.LFG(o.K0),g.LFG(s.t4),g.LFG(g.R0b,8))},oe.\u0275prov=g.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),Se=(()=>{class oe{constructor(Te,Pe){this._platform=Pe,this._document=Te}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Te="cdk-overlay-container";if(this._platform.isBrowser||(0,s.Oy)()){const Ge=this._document.querySelectorAll(`.${Te}[platform="server"], .${Te}[platform="test"]`);for(let it=0;itthis._backdropClick.next(pt),this._backdropTransitionendHandler=pt=>{this._disposeBackdrop(pt.target)},this._keydownEvents=new T.x,this._outsidePointerEvents=new T.x,Ge.scrollStrategy&&(this._scrollStrategy=Ge.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ge.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(J){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Te=this._portalOutlet.attach(J);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Te?.onDestroy&&Te.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Te}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const J=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),J}dispose(){const J=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,J&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(J){J!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=J,this.hasAttached()&&(J.attach(this),this.updatePosition()))}updateSize(J){this._config={...this._config,...J},this._updateElementSize()}setDirection(J){this._config={...this._config,direction:J},this._updateElementDirection()}addPanelClass(J){this._pane&&this._toggleClasses(this._pane,J,!0)}removePanelClass(J){this._pane&&this._toggleClasses(this._pane,J,!1)}getDirection(){const J=this._config.direction;return J?"string"==typeof J?J:J.value:"ltr"}updateScrollStrategy(J){J!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=J,this.hasAttached()&&(J.attach(this),J.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const J=this._pane.style;J.width=(0,l.HM)(this._config.width),J.height=(0,l.HM)(this._config.height),J.minWidth=(0,l.HM)(this._config.minWidth),J.minHeight=(0,l.HM)(this._config.minHeight),J.maxWidth=(0,l.HM)(this._config.maxWidth),J.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(J){this._pane.style.pointerEvents=J?"":"none"}_attachBackdrop(){const J="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(J)})}):this._backdropElement.classList.add(J)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const J=this._backdropElement;if(J){if(this._animationsDisabled)return void this._disposeBackdrop(J);J.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{J.addEventListener("transitionend",this._backdropTransitionendHandler)}),J.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(J)},500))}}_toggleClasses(J,Te,Pe){const Ge=(0,l.Eq)(Te||[]).filter(it=>!!it);Ge.length&&(Pe?J.classList.add(...Ge):J.classList.remove(...Ge))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const J=this._ngZone.onStable.pipe((0,F.R)((0,E.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),J.unsubscribe())})})}_disposeScrollStrategy(){const J=this._scrollStrategy;J&&(J.disable(),J.detach&&J.detach())}_disposeBackdrop(J){J&&(J.removeEventListener("click",this._backdropClickHandler),J.removeEventListener("transitionend",this._backdropTransitionendHandler),J.remove(),this._backdropElement===J&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const St="cdk-overlay-connected-position-bounding-box",rn=/([A-Za-z%]+)$/;class ot{get positions(){return this._preferredPositions}constructor(J,Te,Pe,Ge,it){this._viewportRuler=Te,this._document=Pe,this._platform=Ge,this._overlayContainer=it,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new T.x,this._resizeSubscription=M.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(J)}attach(J){this._validatePositions(),J.hostElement.classList.add(St),this._overlayRef=J,this._boundingBox=J.hostElement,this._pane=J.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const J=this._originRect,Te=this._overlayRect,Pe=this._viewportRect,Ge=this._containerRect,it=[];let yt;for(let Ut of this._preferredPositions){let $t=this._getOriginPoint(J,Ge,Ut),Je=this._getOverlayPoint($t,Te,Ut),et=this._getOverlayFit(Je,Te,Pe,Ut);if(et.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ut,$t);this._canFitWithFlexibleDimensions(et,Je,Pe)?it.push({position:Ut,origin:$t,overlayRect:Te,boundingBoxRect:this._calculateBoundingBoxRect($t,Ut)}):(!yt||yt.overlayFit.visibleArea$t&&($t=et,Ut=Je)}return this._isPushed=!1,void this._applyPosition(Ut.position,Ut.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(yt.position,yt.originPoint);this._applyPosition(yt.position,yt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&>(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(St),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const J=this._lastPosition;if(J){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Te=this._getOriginPoint(this._originRect,this._containerRect,J);this._applyPosition(J,Te)}else this.apply()}withScrollableContainers(J){return this._scrollables=J,this}withPositions(J){return this._preferredPositions=J,-1===J.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(J){return this._viewportMargin=J,this}withFlexibleDimensions(J=!0){return this._hasFlexibleDimensions=J,this}withGrowAfterOpen(J=!0){return this._growAfterOpen=J,this}withPush(J=!0){return this._canPush=J,this}withLockedPosition(J=!0){return this._positionLocked=J,this}setOrigin(J){return this._origin=J,this}withDefaultOffsetX(J){return this._offsetX=J,this}withDefaultOffsetY(J){return this._offsetY=J,this}withTransformOriginOn(J){return this._transformOriginSelector=J,this}_getOriginPoint(J,Te,Pe){let Ge,it;if("center"==Pe.originX)Ge=J.left+J.width/2;else{const yt=this._isRtl()?J.right:J.left,Ut=this._isRtl()?J.left:J.right;Ge="start"==Pe.originX?yt:Ut}return Te.left<0&&(Ge-=Te.left),it="center"==Pe.originY?J.top+J.height/2:"top"==Pe.originY?J.top:J.bottom,Te.top<0&&(it-=Te.top),{x:Ge,y:it}}_getOverlayPoint(J,Te,Pe){let Ge,it;return Ge="center"==Pe.overlayX?-Te.width/2:"start"===Pe.overlayX?this._isRtl()?-Te.width:0:this._isRtl()?0:-Te.width,it="center"==Pe.overlayY?-Te.height/2:"top"==Pe.overlayY?0:-Te.height,{x:J.x+Ge,y:J.y+it}}_getOverlayFit(J,Te,Pe,Ge){const it=Wt(Te);let{x:yt,y:Ut}=J,$t=this._getOffset(Ge,"x"),Je=this._getOffset(Ge,"y");$t&&(yt+=$t),Je&&(Ut+=Je);let Vt=0-Ut,zt=Ut+it.height-Pe.height,jt=this._subtractOverflows(it.width,0-yt,yt+it.width-Pe.width),Nt=this._subtractOverflows(it.height,Vt,zt),We=jt*Nt;return{visibleArea:We,isCompletelyWithinViewport:it.width*it.height===We,fitsInViewportVertically:Nt===it.height,fitsInViewportHorizontally:jt==it.width}}_canFitWithFlexibleDimensions(J,Te,Pe){if(this._hasFlexibleDimensions){const Ge=Pe.bottom-Te.y,it=Pe.right-Te.x,yt=Dt(this._overlayRef.getConfig().minHeight),Ut=Dt(this._overlayRef.getConfig().minWidth);return(J.fitsInViewportVertically||null!=yt&&yt<=Ge)&&(J.fitsInViewportHorizontally||null!=Ut&&Ut<=it)}return!1}_pushOverlayOnScreen(J,Te,Pe){if(this._previousPushAmount&&this._positionLocked)return{x:J.x+this._previousPushAmount.x,y:J.y+this._previousPushAmount.y};const Ge=Wt(Te),it=this._viewportRect,yt=Math.max(J.x+Ge.width-it.width,0),Ut=Math.max(J.y+Ge.height-it.height,0),$t=Math.max(it.top-Pe.top-J.y,0),Je=Math.max(it.left-Pe.left-J.x,0);let et=0,pt=0;return et=Ge.width<=it.width?Je||-yt:J.xjt&&!this._isInitialRender&&!this._growAfterOpen&&(yt=J.y-jt/2)}if("end"===Te.overlayX&&!Ge||"start"===Te.overlayX&&Ge)Vt=Pe.width-J.x+this._viewportMargin,et=J.x-this._viewportMargin;else if("start"===Te.overlayX&&!Ge||"end"===Te.overlayX&&Ge)pt=J.x,et=Pe.right-J.x;else{const zt=Math.min(Pe.right-J.x+Pe.left,J.x),jt=this._lastBoundingBoxSize.width;et=2*zt,pt=J.x-zt,et>jt&&!this._isInitialRender&&!this._growAfterOpen&&(pt=J.x-jt/2)}return{top:yt,left:pt,bottom:Ut,right:Vt,width:et,height:it}}_setBoundingBoxStyles(J,Te){const Pe=this._calculateBoundingBoxRect(J,Te);!this._isInitialRender&&!this._growAfterOpen&&(Pe.height=Math.min(Pe.height,this._lastBoundingBoxSize.height),Pe.width=Math.min(Pe.width,this._lastBoundingBoxSize.width));const Ge={};if(this._hasExactPosition())Ge.top=Ge.left="0",Ge.bottom=Ge.right=Ge.maxHeight=Ge.maxWidth="",Ge.width=Ge.height="100%";else{const it=this._overlayRef.getConfig().maxHeight,yt=this._overlayRef.getConfig().maxWidth;Ge.height=(0,l.HM)(Pe.height),Ge.top=(0,l.HM)(Pe.top),Ge.bottom=(0,l.HM)(Pe.bottom),Ge.width=(0,l.HM)(Pe.width),Ge.left=(0,l.HM)(Pe.left),Ge.right=(0,l.HM)(Pe.right),Ge.alignItems="center"===Te.overlayX?"center":"end"===Te.overlayX?"flex-end":"flex-start",Ge.justifyContent="center"===Te.overlayY?"center":"bottom"===Te.overlayY?"flex-end":"flex-start",it&&(Ge.maxHeight=(0,l.HM)(it)),yt&&(Ge.maxWidth=(0,l.HM)(yt))}this._lastBoundingBoxSize=Pe,gt(this._boundingBox.style,Ge)}_resetBoundingBoxStyles(){gt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){gt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(J,Te){const Pe={},Ge=this._hasExactPosition(),it=this._hasFlexibleDimensions,yt=this._overlayRef.getConfig();if(Ge){const et=this._viewportRuler.getViewportScrollPosition();gt(Pe,this._getExactOverlayY(Te,J,et)),gt(Pe,this._getExactOverlayX(Te,J,et))}else Pe.position="static";let Ut="",$t=this._getOffset(Te,"x"),Je=this._getOffset(Te,"y");$t&&(Ut+=`translateX(${$t}px) `),Je&&(Ut+=`translateY(${Je}px)`),Pe.transform=Ut.trim(),yt.maxHeight&&(Ge?Pe.maxHeight=(0,l.HM)(yt.maxHeight):it&&(Pe.maxHeight="")),yt.maxWidth&&(Ge?Pe.maxWidth=(0,l.HM)(yt.maxWidth):it&&(Pe.maxWidth="")),gt(this._pane.style,Pe)}_getExactOverlayY(J,Te,Pe){let Ge={top:"",bottom:""},it=this._getOverlayPoint(Te,this._overlayRect,J);return this._isPushed&&(it=this._pushOverlayOnScreen(it,this._overlayRect,Pe)),"bottom"===J.overlayY?Ge.bottom=this._document.documentElement.clientHeight-(it.y+this._overlayRect.height)+"px":Ge.top=(0,l.HM)(it.y),Ge}_getExactOverlayX(J,Te,Pe){let yt,Ge={left:"",right:""},it=this._getOverlayPoint(Te,this._overlayRect,J);return this._isPushed&&(it=this._pushOverlayOnScreen(it,this._overlayRect,Pe)),yt=this._isRtl()?"end"===J.overlayX?"left":"right":"end"===J.overlayX?"right":"left","right"===yt?Ge.right=this._document.documentElement.clientWidth-(it.x+this._overlayRect.width)+"px":Ge.left=(0,l.HM)(it.x),Ge}_getScrollVisibility(){const J=this._getOriginRect(),Te=this._pane.getBoundingClientRect(),Pe=this._scrollables.map(Ge=>Ge.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:U(J,Pe),isOriginOutsideView:Z(J,Pe),isOverlayClipped:U(Te,Pe),isOverlayOutsideView:Z(Te,Pe)}}_subtractOverflows(J,...Te){return Te.reduce((Pe,Ge)=>Pe-Math.max(Ge,0),J)}_getNarrowedViewportRect(){const J=this._document.documentElement.clientWidth,Te=this._document.documentElement.clientHeight,Pe=this._viewportRuler.getViewportScrollPosition();return{top:Pe.top+this._viewportMargin,left:Pe.left+this._viewportMargin,right:Pe.left+J-this._viewportMargin,bottom:Pe.top+Te-this._viewportMargin,width:J-2*this._viewportMargin,height:Te-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(J,Te){return"x"===Te?null==J.offsetX?this._offsetX:J.offsetX:null==J.offsetY?this._offsetY:J.offsetY}_validatePositions(){}_addPanelClasses(J){this._pane&&(0,l.Eq)(J).forEach(Te=>{""!==Te&&-1===this._appliedPanelClasses.indexOf(Te)&&(this._appliedPanelClasses.push(Te),this._pane.classList.add(Te))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(J=>{this._pane.classList.remove(J)}),this._appliedPanelClasses=[])}_getOriginRect(){const J=this._origin;if(J instanceof g.SBq)return J.nativeElement.getBoundingClientRect();if(J instanceof Element)return J.getBoundingClientRect();const Te=J.width||0,Pe=J.height||0;return{top:J.y,bottom:J.y+Pe,left:J.x,right:J.x+Te,height:Pe,width:Te}}}function gt(oe,J){for(let Te in J)J.hasOwnProperty(Te)&&(oe[Te]=J[Te]);return oe}function Dt(oe){if("number"!=typeof oe&&null!=oe){const[J,Te]=oe.split(rn);return Te&&"px"!==Te?null:parseFloat(J)}return oe||null}function Wt(oe){return{top:Math.floor(oe.top),right:Math.floor(oe.right),bottom:Math.floor(oe.bottom),left:Math.floor(oe.left),width:Math.floor(oe.width),height:Math.floor(oe.height)}}const _t="cdk-global-overlay-wrapper";class Xt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(J){const Te=J.getConfig();this._overlayRef=J,this._width&&!Te.width&&J.updateSize({width:this._width}),this._height&&!Te.height&&J.updateSize({height:this._height}),J.hostElement.classList.add(_t),this._isDisposed=!1}top(J=""){return this._bottomOffset="",this._topOffset=J,this._alignItems="flex-start",this}left(J=""){return this._xOffset=J,this._xPosition="left",this}bottom(J=""){return this._topOffset="",this._bottomOffset=J,this._alignItems="flex-end",this}right(J=""){return this._xOffset=J,this._xPosition="right",this}start(J=""){return this._xOffset=J,this._xPosition="start",this}end(J=""){return this._xOffset=J,this._xPosition="end",this}width(J=""){return this._overlayRef?this._overlayRef.updateSize({width:J}):this._width=J,this}height(J=""){return this._overlayRef?this._overlayRef.updateSize({height:J}):this._height=J,this}centerHorizontally(J=""){return this.left(J),this._xPosition="center",this}centerVertically(J=""){return this.top(J),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const J=this._overlayRef.overlayElement.style,Te=this._overlayRef.hostElement.style,Pe=this._overlayRef.getConfig(),{width:Ge,height:it,maxWidth:yt,maxHeight:Ut}=Pe,$t=!("100%"!==Ge&&"100vw"!==Ge||yt&&"100%"!==yt&&"100vw"!==yt),Je=!("100%"!==it&&"100vh"!==it||Ut&&"100%"!==Ut&&"100vh"!==Ut),et=this._xPosition,pt=this._xOffset,Vt="rtl"===this._overlayRef.getConfig().direction;let zt="",jt="",Nt="";$t?Nt="flex-start":"center"===et?(Nt="center",Vt?jt=pt:zt=pt):Vt?"left"===et||"end"===et?(Nt="flex-end",zt=pt):("right"===et||"start"===et)&&(Nt="flex-start",jt=pt):"left"===et||"start"===et?(Nt="flex-start",zt=pt):("right"===et||"end"===et)&&(Nt="flex-end",jt=pt),J.position=this._cssPosition,J.marginLeft=$t?"0":zt,J.marginTop=Je?"0":this._topOffset,J.marginBottom=this._bottomOffset,J.marginRight=$t?"0":jt,Te.justifyContent=Nt,Te.alignItems=Je?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const J=this._overlayRef.overlayElement.style,Te=this._overlayRef.hostElement,Pe=Te.style;Te.classList.remove(_t),Pe.justifyContent=Pe.alignItems=J.marginTop=J.marginBottom=J.marginLeft=J.marginRight=J.position="",this._overlayRef=null,this._isDisposed=!0}}let ct=(()=>{class oe{constructor(Te,Pe,Ge,it){this._viewportRuler=Te,this._document=Pe,this._platform=Ge,this._overlayContainer=it}global(){return new Xt}flexibleConnectedTo(Te){return new ot(Te,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.LFG(t.rL),g.LFG(o.K0),g.LFG(s.t4),g.LFG(Se))},oe.\u0275prov=g.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),Rt=0,sn=(()=>{class oe{constructor(Te,Pe,Ge,it,yt,Ut,$t,Je,et,pt,Vt,zt){this.scrollStrategies=Te,this._overlayContainer=Pe,this._componentFactoryResolver=Ge,this._positionBuilder=it,this._keyboardDispatcher=yt,this._injector=Ut,this._ngZone=$t,this._document=Je,this._directionality=et,this._location=pt,this._outsideClickDispatcher=Vt,this._animationsModuleType=zt}create(Te){const Pe=this._createHostElement(),Ge=this._createPaneElement(Pe),it=this._createPortalOutlet(Ge),yt=new Y(Te);return yt.direction=yt.direction||this._directionality.value,new wt(it,Pe,Ge,yt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Te){const Pe=this._document.createElement("div");return Pe.id="cdk-overlay-"+Rt++,Pe.classList.add("cdk-overlay-pane"),Te.appendChild(Pe),Pe}_createHostElement(){const Te=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Te),Te}_createPortalOutlet(Te){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new R.u0(Te,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.LFG(q),g.LFG(Se),g.LFG(g._Vd),g.LFG(ct),g.LFG(X),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(o.K0),g.LFG(L.Is),g.LFG(o.Ye),g.LFG(ve),g.LFG(g.QbO,8))},oe.\u0275prov=g.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const Dn=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],zn=new g.OlP("cdk-connected-overlay-scroll-strategy");let Yt=(()=>{class oe{constructor(Te){this.elementRef=Te}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.Y36(g.SBq))},oe.\u0275dir=g.lG2({type:oe,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),oe})(),xt=(()=>{class oe{get offsetX(){return this._offsetX}set offsetX(Te){this._offsetX=Te,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Te){this._offsetY=Te,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Te){this._hasBackdrop=(0,l.Ig)(Te)}get lockPosition(){return this._lockPosition}set lockPosition(Te){this._lockPosition=(0,l.Ig)(Te)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Te){this._flexibleDimensions=(0,l.Ig)(Te)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Te){this._growAfterOpen=(0,l.Ig)(Te)}get push(){return this._push}set push(Te){this._push=(0,l.Ig)(Te)}constructor(Te,Pe,Ge,it,yt){this._overlay=Te,this._dir=yt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=M.w0.EMPTY,this._attachSubscription=M.w0.EMPTY,this._detachSubscription=M.w0.EMPTY,this._positionSubscription=M.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new R.UE(Pe,Ge),this._scrollStrategyFactory=it,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Te){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Te.origin&&this.open&&this._position.apply()),Te.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Dn);const Te=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Te.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Te.detachments().subscribe(()=>this.detach.emit()),Te.keydownEvents().subscribe(Pe=>{this.overlayKeydown.next(Pe),Pe.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(Pe)&&(Pe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Pe=>{this.overlayOutsideClick.next(Pe)})}_buildConfig(){const Te=this._position=this.positionStrategy||this._createPositionStrategy(),Pe=new Y({direction:this._dir,positionStrategy:Te,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Pe.width=this.width),(this.height||0===this.height)&&(Pe.height=this.height),(this.minWidth||0===this.minWidth)&&(Pe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Pe.minHeight=this.minHeight),this.backdropClass&&(Pe.backdropClass=this.backdropClass),this.panelClass&&(Pe.panelClass=this.panelClass),Pe}_updatePositionStrategy(Te){const Pe=this.positions.map(Ge=>({originX:Ge.originX,originY:Ge.originY,overlayX:Ge.overlayX,overlayY:Ge.overlayY,offsetX:Ge.offsetX||this.offsetX,offsetY:Ge.offsetY||this.offsetY,panelClass:Ge.panelClass||void 0}));return Te.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Pe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Te=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Te),Te}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Yt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Te=>{this.backdropClick.emit(Te)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,V.o)(()=>this.positionChange.observers.length>0)).subscribe(Te=>{this.positionChange.emit(Te),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return oe.\u0275fac=function(Te){return new(Te||oe)(g.Y36(sn),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(zn),g.Y36(L.Is,8))},oe.\u0275dir=g.lG2({type:oe,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[g.TTD]}),oe})();const $e={provide:zn,deps:[sn],useFactory:function Ye(oe){return()=>oe.scrollStrategies.reposition()}};let Ae=(()=>{class oe{}return oe.\u0275fac=function(Te){return new(Te||oe)},oe.\u0275mod=g.oAB({type:oe}),oe.\u0275inj=g.cJS({providers:[sn,$e],imports:[L.vT,R.eL,t.Cl,t.Cl]}),oe})()},3353:(Et,Me,a)=>{a.d(Me,{Mq:()=>S,Oy:()=>U,_i:()=>e,i$:()=>O,kV:()=>pe,sA:()=>Z,t4:()=>l,ud:()=>s});var t=a(4650),o=a(6895);let g;try{g=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g=!1}let M,F,V,I,l=(()=>{class N{constructor(Y){this._platformId=Y,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return N.\u0275fac=function(Y){return new(Y||N)(t.LFG(t.Lbi))},N.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),s=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275mod=t.oAB({type:N}),N.\u0275inj=t.cJS({}),N})();function O(N){return function E(){if(null==M&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>M=!0}))}finally{M=M||!1}return M}()?N:!!N.capture}function S(){if(null==V){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return V=!1,V;if("scrollBehavior"in document.documentElement.style)V=!0;else{const N=Element.prototype.scrollTo;V=!!N&&!/\{\s*\[native code\]\s*\}/.test(N.toString())}}return V}function e(){if("object"!=typeof document||!document)return 0;if(null==F){const N=document.createElement("div"),q=N.style;N.dir="rtl",q.width="1px",q.overflow="auto",q.visibility="hidden",q.pointerEvents="none",q.position="absolute";const Y=document.createElement("div"),k=Y.style;k.width="2px",k.height="1px",N.appendChild(Y),document.body.appendChild(N),F=0,0===N.scrollLeft&&(N.scrollLeft=1,F=0===N.scrollLeft?1:2),N.remove()}return F}function pe(N){if(function w(){if(null==I){const N=typeof document<"u"?document.head:null;I=!(!N||!N.createShadowRoot&&!N.attachShadow)}return I}()){const q=N.getRootNode?N.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&q instanceof ShadowRoot)return q}return null}function Z(N){return N.composedPath?N.composedPath()[0]:N.target}function U(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Et,Me,a)=>{a.d(Me,{C5:()=>E,Pl:()=>ae,UE:()=>O,eL:()=>U,en:()=>V,u0:()=>e});var t=a(4650),o=a(6895);class M{attach(Y){return this._attachedHost=Y,Y.attach(this)}detach(){let Y=this._attachedHost;null!=Y&&(this._attachedHost=null,Y.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Y){this._attachedHost=Y}}class E extends M{constructor(Y,k,me,fe,te){super(),this.component=Y,this.viewContainerRef=k,this.injector=me,this.componentFactoryResolver=fe,this.projectableNodes=te}}class O extends M{constructor(Y,k,me,fe){super(),this.templateRef=Y,this.viewContainerRef=k,this.context=me,this.injector=fe}get origin(){return this.templateRef.elementRef}attach(Y,k=this.context){return this.context=k,super.attach(Y)}detach(){return this.context=void 0,super.detach()}}class F extends M{constructor(Y){super(),this.element=Y instanceof t.SBq?Y.nativeElement:Y}}class V{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Y){return Y instanceof E?(this._attachedPortal=Y,this.attachComponentPortal(Y)):Y instanceof O?(this._attachedPortal=Y,this.attachTemplatePortal(Y)):this.attachDomPortal&&Y instanceof F?(this._attachedPortal=Y,this.attachDomPortal(Y)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Y){this._disposeFn=Y}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class e extends V{constructor(Y,k,me,fe,te){super(),this.outletElement=Y,this._componentFactoryResolver=k,this._appRef=me,this._defaultInjector=fe,this.attachDomPortal=ye=>{const H=ye.element,X=this._document.createComment("dom-portal");H.parentNode.insertBefore(X,H),this.outletElement.appendChild(H),this._attachedPortal=ye,super.setDisposeFn(()=>{X.parentNode&&X.parentNode.replaceChild(H,X)})},this._document=te}attachComponentPortal(Y){const me=(Y.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Y.component);let fe;return Y.viewContainerRef?(fe=Y.viewContainerRef.createComponent(me,Y.viewContainerRef.length,Y.injector||Y.viewContainerRef.injector,Y.projectableNodes||void 0),this.setDisposeFn(()=>fe.destroy())):(fe=me.create(Y.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(fe.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(fe.hostView),fe.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(fe)),this._attachedPortal=Y,fe}attachTemplatePortal(Y){let k=Y.viewContainerRef,me=k.createEmbeddedView(Y.templateRef,Y.context,{injector:Y.injector});return me.rootNodes.forEach(fe=>this.outletElement.appendChild(fe)),me.detectChanges(),this.setDisposeFn(()=>{let fe=k.indexOf(me);-1!==fe&&k.remove(fe)}),this._attachedPortal=Y,me}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Y){return Y.hostView.rootNodes[0]}}let ae=(()=>{class q extends V{constructor(k,me,fe){super(),this._componentFactoryResolver=k,this._viewContainerRef=me,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=te=>{const ye=te.element,H=this._document.createComment("dom-portal");te.setAttachedHost(this),ye.parentNode.insertBefore(H,ye),this._getRootNode().appendChild(ye),this._attachedPortal=te,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(ye,H)})},this._document=fe}get portal(){return this._attachedPortal}set portal(k){this.hasAttached()&&!k&&!this._isInitialized||(this.hasAttached()&&super.detach(),k&&super.attach(k),this._attachedPortal=k||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(k){k.setAttachedHost(this);const me=null!=k.viewContainerRef?k.viewContainerRef:this._viewContainerRef,te=(k.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(k.component),ye=me.createComponent(te,me.length,k.injector||me.injector,k.projectableNodes||void 0);return me!==this._viewContainerRef&&this._getRootNode().appendChild(ye.hostView.rootNodes[0]),super.setDisposeFn(()=>ye.destroy()),this._attachedPortal=k,this._attachedRef=ye,this.attached.emit(ye),ye}attachTemplatePortal(k){k.setAttachedHost(this);const me=this._viewContainerRef.createEmbeddedView(k.templateRef,k.context,{injector:k.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=k,this._attachedRef=me,this.attached.emit(me),me}_getRootNode(){const k=this._viewContainerRef.element.nativeElement;return k.nodeType===k.ELEMENT_NODE?k:k.parentNode}}return q.\u0275fac=function(k){return new(k||q)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(o.K0))},q.\u0275dir=t.lG2({type:q,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),q})(),U=(()=>{class q{}return q.\u0275fac=function(k){return new(k||q)},q.\u0275mod=t.oAB({type:q}),q.\u0275inj=t.cJS({}),q})()},3488:(Et,Me,a)=>{a.d(Me,{xd:()=>ot,ZD:()=>Ye,x0:()=>zn,N7:()=>sn,mF:()=>Dt,Cl:()=>$e,rL:()=>At});var t=a(1281),o=a(4650),g=a(7579),l=a(9646),s=a(9751),L=a(4968),R=a(6406),T=a(3101),M=a(727),E=a(5191),O=a(1884),F=a(3601),V=a(9300),S=a(2722),e=a(8675),I=a(1520),w=a(3900),pe=a(4782),ae=a(3353),Z=a(6895),U=a(445),N=a(4033);class q{}class k extends q{constructor(Ze){super(),this._data=Ze}connect(){return(0,E.b)(this._data)?this._data:(0,l.of)(this._data)}disconnect(){}}class fe{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Ze,oe,J,Te,Pe){Ze.forEachOperation((Ge,it,yt)=>{let Ut,$t;null==Ge.previousIndex?(Ut=this._insertView(()=>J(Ge,it,yt),yt,oe,Te(Ge)),$t=Ut?1:0):null==yt?(this._detachAndCacheView(it,oe),$t=3):(Ut=this._moveView(it,yt,oe,Te(Ge)),$t=2),Pe&&Pe({context:Ut?.context,operation:$t,record:Ge})})}detach(){for(const Ze of this._viewCache)Ze.destroy();this._viewCache=[]}_insertView(Ze,oe,J,Te){const Pe=this._insertViewFromCache(oe,J);if(Pe)return void(Pe.context.$implicit=Te);const Ge=Ze();return J.createEmbeddedView(Ge.templateRef,Ge.context,Ge.index)}_detachAndCacheView(Ze,oe){const J=oe.detach(Ze);this._maybeCacheView(J,oe)}_moveView(Ze,oe,J,Te){const Pe=J.get(Ze);return J.move(Pe,oe),Pe.context.$implicit=Te,Pe}_maybeCacheView(Ze,oe){if(this._viewCache.length0?Pe/this._itemSize:0;if(oe.end>Te){const yt=Math.ceil(J/this._itemSize),Ut=Math.max(0,Math.min(Ge,Te-yt));Ge!=Ut&&(Ge=Ut,Pe=Ut*this._itemSize,oe.start=Math.floor(Ge)),oe.end=Math.max(0,Math.min(Te,oe.start+yt))}const it=Pe-oe.start*this._itemSize;if(it0&&(oe.end=Math.min(Te,oe.end+Ut),oe.start=Math.max(0,Math.floor(Ge-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(oe),this._viewport.setRenderedContentOffset(this._itemSize*oe.start),this._scrolledIndexChange.next(Math.floor(Ge))}}function rn(Ae){return Ae._scrollStrategy}let ot=(()=>{class Ae{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new St(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(oe){this._itemSize=(0,t.su)(oe)}get minBufferPx(){return this._minBufferPx}set minBufferPx(oe){this._minBufferPx=(0,t.su)(oe)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(oe){this._maxBufferPx=(0,t.su)(oe)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return Ae.\u0275fac=function(oe){return new(oe||Ae)},Ae.\u0275dir=o.lG2({type:Ae,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[o._Bn([{provide:wt,useFactory:rn,deps:[(0,o.Gpc)(()=>Ae)]}]),o.TTD]}),Ae})(),Dt=(()=>{class Ae{constructor(oe,J,Te){this._ngZone=oe,this._platform=J,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Te}register(oe){this.scrollContainers.has(oe)||this.scrollContainers.set(oe,oe.elementScrolled().subscribe(()=>this._scrolled.next(oe)))}deregister(oe){const J=this.scrollContainers.get(oe);J&&(J.unsubscribe(),this.scrollContainers.delete(oe))}scrolled(oe=20){return this._platform.isBrowser?new s.y(J=>{this._globalSubscription||this._addGlobalListener();const Te=oe>0?this._scrolled.pipe((0,F.e)(oe)).subscribe(J):this._scrolled.subscribe(J);return this._scrolledCount++,()=>{Te.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,l.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((oe,J)=>this.deregister(J)),this._scrolled.complete()}ancestorScrolled(oe,J){const Te=this.getAncestorScrollContainers(oe);return this.scrolled(J).pipe((0,V.h)(Pe=>!Pe||Te.indexOf(Pe)>-1))}getAncestorScrollContainers(oe){const J=[];return this.scrollContainers.forEach((Te,Pe)=>{this._scrollableContainsElement(Pe,oe)&&J.push(Pe)}),J}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(oe,J){let Te=(0,t.fI)(J),Pe=oe.getElementRef().nativeElement;do{if(Te==Pe)return!0}while(Te=Te.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const oe=this._getWindow();return(0,L.R)(oe.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ae.\u0275fac=function(oe){return new(oe||Ae)(o.LFG(o.R0b),o.LFG(ae.t4),o.LFG(Z.K0,8))},Ae.\u0275prov=o.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})(),Wt=(()=>{class Ae{constructor(oe,J,Te,Pe){this.elementRef=oe,this.scrollDispatcher=J,this.ngZone=Te,this.dir=Pe,this._destroyed=new g.x,this._elementScrolled=new s.y(Ge=>this.ngZone.runOutsideAngular(()=>(0,L.R)(this.elementRef.nativeElement,"scroll").pipe((0,S.R)(this._destroyed)).subscribe(Ge)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(oe){const J=this.elementRef.nativeElement,Te=this.dir&&"rtl"==this.dir.value;null==oe.left&&(oe.left=Te?oe.end:oe.start),null==oe.right&&(oe.right=Te?oe.start:oe.end),null!=oe.bottom&&(oe.top=J.scrollHeight-J.clientHeight-oe.bottom),Te&&0!=(0,ae._i)()?(null!=oe.left&&(oe.right=J.scrollWidth-J.clientWidth-oe.left),2==(0,ae._i)()?oe.left=oe.right:1==(0,ae._i)()&&(oe.left=oe.right?-oe.right:oe.right)):null!=oe.right&&(oe.left=J.scrollWidth-J.clientWidth-oe.right),this._applyScrollToOptions(oe)}_applyScrollToOptions(oe){const J=this.elementRef.nativeElement;(0,ae.Mq)()?J.scrollTo(oe):(null!=oe.top&&(J.scrollTop=oe.top),null!=oe.left&&(J.scrollLeft=oe.left))}measureScrollOffset(oe){const J="left",Pe=this.elementRef.nativeElement;if("top"==oe)return Pe.scrollTop;if("bottom"==oe)return Pe.scrollHeight-Pe.clientHeight-Pe.scrollTop;const Ge=this.dir&&"rtl"==this.dir.value;return"start"==oe?oe=Ge?"right":J:"end"==oe&&(oe=Ge?J:"right"),Ge&&2==(0,ae._i)()?oe==J?Pe.scrollWidth-Pe.clientWidth-Pe.scrollLeft:Pe.scrollLeft:Ge&&1==(0,ae._i)()?oe==J?Pe.scrollLeft+Pe.scrollWidth-Pe.clientWidth:-Pe.scrollLeft:oe==J?Pe.scrollLeft:Pe.scrollWidth-Pe.clientWidth-Pe.scrollLeft}}return Ae.\u0275fac=function(oe){return new(oe||Ae)(o.Y36(o.SBq),o.Y36(Dt),o.Y36(o.R0b),o.Y36(U.Is,8))},Ae.\u0275dir=o.lG2({type:Ae,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),Ae})(),At=(()=>{class Ae{constructor(oe,J,Te){this._platform=oe,this._change=new g.x,this._changeListener=Pe=>{this._change.next(Pe)},this._document=Te,J.runOutsideAngular(()=>{if(oe.isBrowser){const Pe=this._getWindow();Pe.addEventListener("resize",this._changeListener),Pe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const oe=this._getWindow();oe.removeEventListener("resize",this._changeListener),oe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const oe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),oe}getViewportRect(){const oe=this.getViewportScrollPosition(),{width:J,height:Te}=this.getViewportSize();return{top:oe.top,left:oe.left,bottom:oe.top+Te,right:oe.left+J,height:Te,width:J}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const oe=this._document,J=this._getWindow(),Te=oe.documentElement,Pe=Te.getBoundingClientRect();return{top:-Pe.top||oe.body.scrollTop||J.scrollY||Te.scrollTop||0,left:-Pe.left||oe.body.scrollLeft||J.scrollX||Te.scrollLeft||0}}change(oe=20){return oe>0?this._change.pipe((0,F.e)(oe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const oe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:oe.innerWidth,height:oe.innerHeight}:{width:0,height:0}}}return Ae.\u0275fac=function(oe){return new(oe||Ae)(o.LFG(ae.t4),o.LFG(o.R0b),o.LFG(Z.K0,8))},Ae.\u0275prov=o.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})();const _t=new o.OlP("VIRTUAL_SCROLLABLE");let Xt=(()=>{class Ae extends Wt{constructor(oe,J,Te,Pe){super(oe,J,Te,Pe)}measureViewportSize(oe){const J=this.elementRef.nativeElement;return"horizontal"===oe?J.clientWidth:J.clientHeight}}return Ae.\u0275fac=function(oe){return new(oe||Ae)(o.Y36(o.SBq),o.Y36(Dt),o.Y36(o.R0b),o.Y36(U.Is,8))},Ae.\u0275dir=o.lG2({type:Ae,features:[o.qOj]}),Ae})();const Rt=typeof requestAnimationFrame<"u"?R.Z:T.E;let sn=(()=>{class Ae extends Xt{get orientation(){return this._orientation}set orientation(oe){this._orientation!==oe&&(this._orientation=oe,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(oe){this._appendOnly=(0,t.Ig)(oe)}constructor(oe,J,Te,Pe,Ge,it,yt,Ut){super(oe,it,Te,Ge),this.elementRef=oe,this._changeDetectorRef=J,this._scrollStrategy=Pe,this.scrollable=Ut,this._platform=(0,o.f3M)(ae.t4),this._detachedSubject=new g.x,this._renderedRangeSubject=new g.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new s.y($t=>this._scrollStrategy.scrolledIndexChange.subscribe(Je=>Promise.resolve().then(()=>this.ngZone.run(()=>$t.next(Je))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=M.w0.EMPTY,this._viewportChanges=yt.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,e.O)(null),(0,F.e)(0,Rt)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(oe){this.ngZone.runOutsideAngular(()=>{this._forOf=oe,this._forOf.dataStream.pipe((0,S.R)(this._detachedSubject)).subscribe(J=>{const Te=J.length;Te!==this._dataLength&&(this._dataLength=Te,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(oe){return this.getElementRef().nativeElement.getBoundingClientRect()[oe]}setTotalContentSize(oe){this._totalContentSize!==oe&&(this._totalContentSize=oe,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(oe){(function ct(Ae,Ze){return Ae.start==Ze.start&&Ae.end==Ze.end})(this._renderedRange,oe)||(this.appendOnly&&(oe={start:0,end:Math.max(this._renderedRange.end,oe.end)}),this._renderedRangeSubject.next(this._renderedRange=oe),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(oe,J="to-start"){oe=this.appendOnly&&"to-start"===J?0:oe;const Pe="horizontal"==this.orientation,Ge=Pe?"X":"Y";let yt=`translate${Ge}(${Number((Pe&&this.dir&&"rtl"==this.dir.value?-1:1)*oe)}px)`;this._renderedContentOffset=oe,"to-end"===J&&(yt+=` translate${Ge}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=yt&&(this._renderedContentTransform=yt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(oe,J="auto"){const Te={behavior:J};"horizontal"===this.orientation?Te.start=oe:Te.top=oe,this.scrollable.scrollTo(Te)}scrollToIndex(oe,J="auto"){this._scrollStrategy.scrollToIndex(oe,J)}measureScrollOffset(oe){let J;return J=this.scrollable==this?Te=>super.measureScrollOffset(Te):Te=>this.scrollable.measureScrollOffset(Te),Math.max(0,J(oe??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(oe){let J;const Ge="rtl"==this.dir?.value;J="start"==oe?Ge?"right":"left":"end"==oe?Ge?"left":"right":oe||("horizontal"===this.orientation?"left":"top");const it=this.scrollable.measureBoundingClientRectWithScrollOffset(J);return this.elementRef.nativeElement.getBoundingClientRect()[J]-it}measureRenderedContentSize(){const oe=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?oe.offsetWidth:oe.offsetHeight}measureRangeSize(oe){return this._forOf?this._forOf.measureRangeSize(oe,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(oe){oe&&this._runAfterChangeDetection.push(oe),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const oe=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const J of oe)J()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Ae.\u0275fac=function(oe){return new(oe||Ae)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(wt,8),o.Y36(U.Is,8),o.Y36(Dt),o.Y36(At),o.Y36(_t,8))},Ae.\u0275cmp=o.Xpm({type:Ae,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(oe,J){if(1&oe&&o.Gf(ve,7),2&oe){let Te;o.iGM(Te=o.CRH())&&(J._contentWrapper=Te.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(oe,J){2&oe&&o.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===J.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==J.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[o._Bn([{provide:Wt,useFactory:(Ze,oe)=>Ze||oe,deps:[[new o.FiY,new o.tBr(_t)],Ae]}]),o.qOj,o.jDz],ngContentSelectors:Se,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(oe,J){1&oe&&(o.F$t(),o.TgZ(0,"div",0,1),o.Hsn(2),o.qZA(),o._UZ(3,"div",2)),2&oe&&(o.xp6(3),o.Udp("width",J._totalContentWidth)("height",J._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),Ae})();function Dn(Ae,Ze,oe){if(!oe.getBoundingClientRect)return 0;const Te=oe.getBoundingClientRect();return"horizontal"===Ae?"start"===Ze?Te.left:Te.right:"start"===Ze?Te.top:Te.bottom}let zn=(()=>{class Ae{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(oe){this._cdkVirtualForOf=oe,function Y(Ae){return Ae&&"function"==typeof Ae.connect&&!(Ae instanceof N.c)}(oe)?this._dataSourceChanges.next(oe):this._dataSourceChanges.next(new k((0,E.b)(oe)?oe:Array.from(oe||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(oe){this._needsUpdate=!0,this._cdkVirtualForTrackBy=oe?(J,Te)=>oe(J+(this._renderedRange?this._renderedRange.start:0),Te):void 0}set cdkVirtualForTemplate(oe){oe&&(this._needsUpdate=!0,this._template=oe)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(oe){this._viewRepeater.viewCacheSize=(0,t.su)(oe)}constructor(oe,J,Te,Pe,Ge,it){this._viewContainerRef=oe,this._template=J,this._differs=Te,this._viewRepeater=Pe,this._viewport=Ge,this.viewChange=new g.x,this._dataSourceChanges=new g.x,this.dataStream=this._dataSourceChanges.pipe((0,e.O)(null),(0,I.G)(),(0,w.w)(([yt,Ut])=>this._changeDataSource(yt,Ut)),(0,pe.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new g.x,this.dataStream.subscribe(yt=>{this._data=yt,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,S.R)(this._destroyed)).subscribe(yt=>{this._renderedRange=yt,this.viewChange.observers.length&&it.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(oe,J){if(oe.start>=oe.end)return 0;const Te=oe.start-this._renderedRange.start,Pe=oe.end-oe.start;let Ge,it;for(let yt=0;yt-1;yt--){const Ut=this._viewContainerRef.get(yt+Te);if(Ut&&Ut.rootNodes.length){it=Ut.rootNodes[Ut.rootNodes.length-1];break}}return Ge&&it?Dn(J,"end",it)-Dn(J,"start",Ge):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const oe=this._differ.diff(this._renderedItems);oe?this._applyChanges(oe):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((oe,J)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(oe,J):J)),this._needsUpdate=!0)}_changeDataSource(oe,J){return oe&&oe.disconnect(this),this._needsUpdate=!0,J?J.connect(this):(0,l.of)()}_updateContext(){const oe=this._data.length;let J=this._viewContainerRef.length;for(;J--;){const Te=this._viewContainerRef.get(J);Te.context.index=this._renderedRange.start+J,Te.context.count=oe,this._updateComputedContextProperties(Te.context),Te.detectChanges()}}_applyChanges(oe){this._viewRepeater.applyChanges(oe,this._viewContainerRef,(Pe,Ge,it)=>this._getEmbeddedViewArgs(Pe,it),Pe=>Pe.item),oe.forEachIdentityChange(Pe=>{this._viewContainerRef.get(Pe.currentIndex).context.$implicit=Pe.item});const J=this._data.length;let Te=this._viewContainerRef.length;for(;Te--;){const Pe=this._viewContainerRef.get(Te);Pe.context.index=this._renderedRange.start+Te,Pe.context.count=J,this._updateComputedContextProperties(Pe.context)}}_updateComputedContextProperties(oe){oe.first=0===oe.index,oe.last=oe.index===oe.count-1,oe.even=oe.index%2==0,oe.odd=!oe.even}_getEmbeddedViewArgs(oe,J){return{templateRef:this._template,context:{$implicit:oe.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:J}}}return Ae.\u0275fac=function(oe){return new(oe||Ae)(o.Y36(o.s_b),o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(X),o.Y36(sn,4),o.Y36(o.R0b))},Ae.\u0275dir=o.lG2({type:Ae,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[o._Bn([{provide:X,useClass:fe}])]}),Ae})(),Ye=(()=>{class Ae{}return Ae.\u0275fac=function(oe){return new(oe||Ae)},Ae.\u0275mod=o.oAB({type:Ae}),Ae.\u0275inj=o.cJS({}),Ae})(),$e=(()=>{class Ae{}return Ae.\u0275fac=function(oe){return new(oe||Ae)},Ae.\u0275mod=o.oAB({type:Ae}),Ae.\u0275inj=o.cJS({imports:[U.vT,Ye,sn,U.vT,Ye]}),Ae})()},6895:(Et,Me,a)=>{a.d(Me,{Do:()=>ae,ED:()=>Ei,EM:()=>vs,HT:()=>l,JF:()=>Xi,JJ:()=>ii,K0:()=>L,Mx:()=>Ro,NF:()=>gr,Nd:()=>_o,O5:()=>Co,Ov:()=>On,PC:()=>Fe,RF:()=>Zi,S$:()=>I,Ts:()=>$o,V_:()=>M,Ye:()=>Z,b0:()=>pe,bD:()=>ri,dv:()=>_t,ez:()=>Oo,gd:()=>Xn,i8:()=>Tn,iq:()=>qe,mk:()=>Ko,n9:()=>Ji,q:()=>g,qS:()=>ui,rS:()=>Pn,sg:()=>To,tP:()=>Ue,uU:()=>ho,wE:()=>X,w_:()=>s,zE:()=>se});var t=a(4650);let o=null;function g(){return o}function l(ne){o||(o=ne)}class s{}const L=new t.OlP("DocumentToken");let R=(()=>{class ne{historyGo(le){throw new Error("Not implemented")}}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275prov=t.Yz7({token:ne,factory:function(){return function T(){return(0,t.LFG)(E)}()},providedIn:"platform"}),ne})();const M=new t.OlP("Location Initialized");let E=(()=>{class ne extends R{constructor(le){super(),this._doc=le,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(le){const Ke=g().getGlobalEventTarget(this._doc,"window");return Ke.addEventListener("popstate",le,!1),()=>Ke.removeEventListener("popstate",le)}onHashChange(le){const Ke=g().getGlobalEventTarget(this._doc,"window");return Ke.addEventListener("hashchange",le,!1),()=>Ke.removeEventListener("hashchange",le)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(le){this._location.pathname=le}pushState(le,Ke,Pt){O()?this._history.pushState(le,Ke,Pt):this._location.hash=Pt}replaceState(le,Ke,Pt){O()?this._history.replaceState(le,Ke,Pt):this._location.hash=Pt}forward(){this._history.forward()}back(){this._history.back()}historyGo(le=0){this._history.go(le)}getState(){return this._history.state}}return ne.\u0275fac=function(le){return new(le||ne)(t.LFG(L))},ne.\u0275prov=t.Yz7({token:ne,factory:function(){return function F(){return new E((0,t.LFG)(L))}()},providedIn:"platform"}),ne})();function O(){return!!window.history.pushState}function V(ne,Ve){if(0==ne.length)return Ve;if(0==Ve.length)return ne;let le=0;return ne.endsWith("/")&&le++,Ve.startsWith("/")&&le++,2==le?ne+Ve.substring(1):1==le?ne+Ve:ne+"/"+Ve}function S(ne){const Ve=ne.match(/#|\?|$/),le=Ve&&Ve.index||ne.length;return ne.slice(0,le-("/"===ne[le-1]?1:0))+ne.slice(le)}function e(ne){return ne&&"?"!==ne[0]?"?"+ne:ne}let I=(()=>{class ne{historyGo(le){throw new Error("Not implemented")}}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275prov=t.Yz7({token:ne,factory:function(){return(0,t.f3M)(pe)},providedIn:"root"}),ne})();const w=new t.OlP("appBaseHref");let pe=(()=>{class ne extends I{constructor(le,Ke){super(),this._platformLocation=le,this._removeListenerFns=[],this._baseHref=Ke??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(L).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}prepareExternalUrl(le){return V(this._baseHref,le)}path(le=!1){const Ke=this._platformLocation.pathname+e(this._platformLocation.search),Pt=this._platformLocation.hash;return Pt&&le?`${Ke}${Pt}`:Ke}pushState(le,Ke,Pt,ln){const yn=this.prepareExternalUrl(Pt+e(ln));this._platformLocation.pushState(le,Ke,yn)}replaceState(le,Ke,Pt,ln){const yn=this.prepareExternalUrl(Pt+e(ln));this._platformLocation.replaceState(le,Ke,yn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}}return ne.\u0275fac=function(le){return new(le||ne)(t.LFG(R),t.LFG(w,8))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),ae=(()=>{class ne extends I{constructor(le,Ke){super(),this._platformLocation=le,this._baseHref="",this._removeListenerFns=[],null!=Ke&&(this._baseHref=Ke)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(le){this._removeListenerFns.push(this._platformLocation.onPopState(le),this._platformLocation.onHashChange(le))}getBaseHref(){return this._baseHref}path(le=!1){let Ke=this._platformLocation.hash;return null==Ke&&(Ke="#"),Ke.length>0?Ke.substring(1):Ke}prepareExternalUrl(le){const Ke=V(this._baseHref,le);return Ke.length>0?"#"+Ke:Ke}pushState(le,Ke,Pt,ln){let yn=this.prepareExternalUrl(Pt+e(ln));0==yn.length&&(yn=this._platformLocation.pathname),this._platformLocation.pushState(le,Ke,yn)}replaceState(le,Ke,Pt,ln){let yn=this.prepareExternalUrl(Pt+e(ln));0==yn.length&&(yn=this._platformLocation.pathname),this._platformLocation.replaceState(le,Ke,yn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(le=0){this._platformLocation.historyGo?.(le)}}return ne.\u0275fac=function(le){return new(le||ne)(t.LFG(R),t.LFG(w,8))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})(),Z=(()=>{class ne{constructor(le){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=le;const Ke=this._locationStrategy.getBaseHref();this._basePath=function Y(ne){if(new RegExp("^(https?:)?//").test(ne)){const[,le]=ne.split(/\/\/[^\/]+/);return le}return ne}(S(q(Ke))),this._locationStrategy.onPopState(Pt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Pt.state,type:Pt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(le=!1){return this.normalize(this._locationStrategy.path(le))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(le,Ke=""){return this.path()==this.normalize(le+e(Ke))}normalize(le){return ne.stripTrailingSlash(function N(ne,Ve){return ne&&Ve.startsWith(ne)?Ve.substring(ne.length):Ve}(this._basePath,q(le)))}prepareExternalUrl(le){return le&&"/"!==le[0]&&(le="/"+le),this._locationStrategy.prepareExternalUrl(le)}go(le,Ke="",Pt=null){this._locationStrategy.pushState(Pt,"",le,Ke),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+e(Ke)),Pt)}replaceState(le,Ke="",Pt=null){this._locationStrategy.replaceState(Pt,"",le,Ke),this._notifyUrlChangeListeners(this.prepareExternalUrl(le+e(Ke)),Pt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(le=0){this._locationStrategy.historyGo?.(le)}onUrlChange(le){return this._urlChangeListeners.push(le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Ke=>{this._notifyUrlChangeListeners(Ke.url,Ke.state)})),()=>{const Ke=this._urlChangeListeners.indexOf(le);this._urlChangeListeners.splice(Ke,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(le="",Ke){this._urlChangeListeners.forEach(Pt=>Pt(le,Ke))}subscribe(le,Ke,Pt){return this._subject.subscribe({next:le,error:Ke,complete:Pt})}}return ne.normalizeQueryParams=e,ne.joinWithSlash=V,ne.stripTrailingSlash=S,ne.\u0275fac=function(le){return new(le||ne)(t.LFG(I))},ne.\u0275prov=t.Yz7({token:ne,factory:function(){return function U(){return new Z((0,t.LFG)(I))}()},providedIn:"root"}),ne})();function q(ne){return ne.replace(/\/index.html$/,"")}var me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me))(),fe=(()=>((fe=fe||{})[fe.Zero=0]="Zero",fe[fe.One=1]="One",fe[fe.Two=2]="Two",fe[fe.Few=3]="Few",fe[fe.Many=4]="Many",fe[fe.Other=5]="Other",fe))(),te=(()=>((te=te||{})[te.Format=0]="Format",te[te.Standalone=1]="Standalone",te))(),ye=(()=>((ye=ye||{})[ye.Narrow=0]="Narrow",ye[ye.Abbreviated=1]="Abbreviated",ye[ye.Wide=2]="Wide",ye[ye.Short=3]="Short",ye))(),H=(()=>((H=H||{})[H.Short=0]="Short",H[H.Medium=1]="Medium",H[H.Long=2]="Long",H[H.Full=3]="Full",H))(),X=(()=>((X=X||{})[X.Decimal=0]="Decimal",X[X.Group=1]="Group",X[X.List=2]="List",X[X.PercentSign=3]="PercentSign",X[X.PlusSign=4]="PlusSign",X[X.MinusSign=5]="MinusSign",X[X.Exponential=6]="Exponential",X[X.SuperscriptingExponent=7]="SuperscriptingExponent",X[X.PerMille=8]="PerMille",X[X.Infinity=9]="Infinity",X[X.NaN=10]="NaN",X[X.TimeSeparator=11]="TimeSeparator",X[X.CurrencyDecimal=12]="CurrencyDecimal",X[X.CurrencyGroup=13]="CurrencyGroup",X))();function Wt(ne,Ve){return Ae((0,t.cg1)(ne)[t.wAp.DateFormat],Ve)}function mn(ne,Ve){return Ae((0,t.cg1)(ne)[t.wAp.TimeFormat],Ve)}function At(ne,Ve){return Ae((0,t.cg1)(ne)[t.wAp.DateTimeFormat],Ve)}function _t(ne,Ve){const le=(0,t.cg1)(ne),Ke=le[t.wAp.NumberSymbols][Ve];if(typeof Ke>"u"){if(Ve===X.CurrencyDecimal)return le[t.wAp.NumberSymbols][X.Decimal];if(Ve===X.CurrencyGroup)return le[t.wAp.NumberSymbols][X.Group]}return Ke}const zn=t.kL8;function Yt(ne){if(!ne[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${ne[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ae(ne,Ve){for(let le=Ve;le>-1;le--)if(typeof ne[le]<"u")return ne[le];throw new Error("Locale data API: locale data undefined")}function Ze(ne){const[Ve,le]=ne.split(":");return{hours:+Ve,minutes:+le}}const Pe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ge={},it=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var yt=(()=>((yt=yt||{})[yt.Short=0]="Short",yt[yt.ShortGMT=1]="ShortGMT",yt[yt.Long=2]="Long",yt[yt.Extended=3]="Extended",yt))(),Ut=(()=>((Ut=Ut||{})[Ut.FullYear=0]="FullYear",Ut[Ut.Month=1]="Month",Ut[Ut.Date=2]="Date",Ut[Ut.Hours=3]="Hours",Ut[Ut.Minutes=4]="Minutes",Ut[Ut.Seconds=5]="Seconds",Ut[Ut.FractionalSeconds=6]="FractionalSeconds",Ut[Ut.Day=7]="Day",Ut))(),$t=(()=>(($t=$t||{})[$t.DayPeriods=0]="DayPeriods",$t[$t.Days=1]="Days",$t[$t.Months=2]="Months",$t[$t.Eras=3]="Eras",$t))();function Je(ne,Ve,le,Ke){let Pt=function Qe(ne){if(Re(ne))return ne;if("number"==typeof ne&&!isNaN(ne))return new Date(ne);if("string"==typeof ne){if(ne=ne.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(ne)){const[Pt,ln=1,yn=1]=ne.split("-").map(Qn=>+Qn);return et(Pt,ln-1,yn)}const le=parseFloat(ne);if(!isNaN(ne-le))return new Date(le);let Ke;if(Ke=ne.match(Pe))return function ft(ne){const Ve=new Date(0);let le=0,Ke=0;const Pt=ne[8]?Ve.setUTCFullYear:Ve.setFullYear,ln=ne[8]?Ve.setUTCHours:Ve.setHours;ne[9]&&(le=Number(ne[9]+ne[10]),Ke=Number(ne[9]+ne[11])),Pt.call(Ve,Number(ne[1]),Number(ne[2])-1,Number(ne[3]));const yn=Number(ne[4]||0)-le,Qn=Number(ne[5]||0)-Ke,Ao=Number(ne[6]||0),Fo=Math.floor(1e3*parseFloat("0."+(ne[7]||0)));return ln.call(Ve,yn,Qn,Ao,Fo),Ve}(Ke)}const Ve=new Date(ne);if(!Re(Ve))throw new Error(`Unable to convert "${ne}" into a date`);return Ve}(ne);Ve=pt(le,Ve)||Ve;let Qn,yn=[];for(;Ve;){if(Qn=it.exec(Ve),!Qn){yn.push(Ve);break}{yn=yn.concat(Qn.slice(1));const Xo=yn.pop();if(!Xo)break;Ve=Xo}}let Ao=Pt.getTimezoneOffset();Ke&&(Ao=Ct(Ke,Ao),Pt=function je(ne,Ve,le){const Ke=le?-1:1,Pt=ne.getTimezoneOffset();return function tn(ne,Ve){return(ne=new Date(ne.getTime())).setMinutes(ne.getMinutes()+Ve),ne}(ne,Ke*(Ct(Ve,Pt)-Pt))}(Pt,Ke,!0));let Fo="";return yn.forEach(Xo=>{const go=function qt(ne){if(vt[ne])return vt[ne];let Ve;switch(ne){case"G":case"GG":case"GGG":Ve=j($t.Eras,ye.Abbreviated);break;case"GGGG":Ve=j($t.Eras,ye.Wide);break;case"GGGGG":Ve=j($t.Eras,ye.Narrow);break;case"y":Ve=Nt(Ut.FullYear,1,0,!1,!0);break;case"yy":Ve=Nt(Ut.FullYear,2,0,!0,!0);break;case"yyy":Ve=Nt(Ut.FullYear,3,0,!1,!0);break;case"yyyy":Ve=Nt(Ut.FullYear,4,0,!1,!0);break;case"Y":Ve=ut(1);break;case"YY":Ve=ut(2,!0);break;case"YYY":Ve=ut(3);break;case"YYYY":Ve=ut(4);break;case"M":case"L":Ve=Nt(Ut.Month,1,1);break;case"MM":case"LL":Ve=Nt(Ut.Month,2,1);break;case"MMM":Ve=j($t.Months,ye.Abbreviated);break;case"MMMM":Ve=j($t.Months,ye.Wide);break;case"MMMMM":Ve=j($t.Months,ye.Narrow);break;case"LLL":Ve=j($t.Months,ye.Abbreviated,te.Standalone);break;case"LLLL":Ve=j($t.Months,ye.Wide,te.Standalone);break;case"LLLLL":Ve=j($t.Months,ye.Narrow,te.Standalone);break;case"w":Ve=xe(1);break;case"ww":Ve=xe(2);break;case"W":Ve=xe(1,!0);break;case"d":Ve=Nt(Ut.Date,1);break;case"dd":Ve=Nt(Ut.Date,2);break;case"c":case"cc":Ve=Nt(Ut.Day,1);break;case"ccc":Ve=j($t.Days,ye.Abbreviated,te.Standalone);break;case"cccc":Ve=j($t.Days,ye.Wide,te.Standalone);break;case"ccccc":Ve=j($t.Days,ye.Narrow,te.Standalone);break;case"cccccc":Ve=j($t.Days,ye.Short,te.Standalone);break;case"E":case"EE":case"EEE":Ve=j($t.Days,ye.Abbreviated);break;case"EEEE":Ve=j($t.Days,ye.Wide);break;case"EEEEE":Ve=j($t.Days,ye.Narrow);break;case"EEEEEE":Ve=j($t.Days,ye.Short);break;case"a":case"aa":case"aaa":Ve=j($t.DayPeriods,ye.Abbreviated);break;case"aaaa":Ve=j($t.DayPeriods,ye.Wide);break;case"aaaaa":Ve=j($t.DayPeriods,ye.Narrow);break;case"b":case"bb":case"bbb":Ve=j($t.DayPeriods,ye.Abbreviated,te.Standalone,!0);break;case"bbbb":Ve=j($t.DayPeriods,ye.Wide,te.Standalone,!0);break;case"bbbbb":Ve=j($t.DayPeriods,ye.Narrow,te.Standalone,!0);break;case"B":case"BB":case"BBB":Ve=j($t.DayPeriods,ye.Abbreviated,te.Format,!0);break;case"BBBB":Ve=j($t.DayPeriods,ye.Wide,te.Format,!0);break;case"BBBBB":Ve=j($t.DayPeriods,ye.Narrow,te.Format,!0);break;case"h":Ve=Nt(Ut.Hours,1,-12);break;case"hh":Ve=Nt(Ut.Hours,2,-12);break;case"H":Ve=Nt(Ut.Hours,1);break;case"HH":Ve=Nt(Ut.Hours,2);break;case"m":Ve=Nt(Ut.Minutes,1);break;case"mm":Ve=Nt(Ut.Minutes,2);break;case"s":Ve=Nt(Ut.Seconds,1);break;case"ss":Ve=Nt(Ut.Seconds,2);break;case"S":Ve=Nt(Ut.FractionalSeconds,1);break;case"SS":Ve=Nt(Ut.FractionalSeconds,2);break;case"SSS":Ve=Nt(Ut.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ve=K(yt.Short);break;case"ZZZZZ":Ve=K(yt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ve=K(yt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ve=K(yt.Long);break;default:return null}return vt[ne]=Ve,Ve}(Xo);Fo+=go?go(Pt,le,Ao):"''"===Xo?"'":Xo.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Fo}function et(ne,Ve,le){const Ke=new Date(0);return Ke.setFullYear(ne,Ve,le),Ke.setHours(0,0,0),Ke}function pt(ne,Ve){const le=function Se(ne){return(0,t.cg1)(ne)[t.wAp.LocaleId]}(ne);if(Ge[le]=Ge[le]||{},Ge[le][Ve])return Ge[le][Ve];let Ke="";switch(Ve){case"shortDate":Ke=Wt(ne,H.Short);break;case"mediumDate":Ke=Wt(ne,H.Medium);break;case"longDate":Ke=Wt(ne,H.Long);break;case"fullDate":Ke=Wt(ne,H.Full);break;case"shortTime":Ke=mn(ne,H.Short);break;case"mediumTime":Ke=mn(ne,H.Medium);break;case"longTime":Ke=mn(ne,H.Long);break;case"fullTime":Ke=mn(ne,H.Full);break;case"short":const Pt=pt(ne,"shortTime"),ln=pt(ne,"shortDate");Ke=Vt(At(ne,H.Short),[Pt,ln]);break;case"medium":const yn=pt(ne,"mediumTime"),Qn=pt(ne,"mediumDate");Ke=Vt(At(ne,H.Medium),[yn,Qn]);break;case"long":const Ao=pt(ne,"longTime"),Fo=pt(ne,"longDate");Ke=Vt(At(ne,H.Long),[Ao,Fo]);break;case"full":const Xo=pt(ne,"fullTime"),go=pt(ne,"fullDate");Ke=Vt(At(ne,H.Full),[Xo,go])}return Ke&&(Ge[le][Ve]=Ke),Ke}function Vt(ne,Ve){return Ve&&(ne=ne.replace(/\{([^}]+)}/g,function(le,Ke){return null!=Ve&&Ke in Ve?Ve[Ke]:le})),ne}function zt(ne,Ve,le="-",Ke,Pt){let ln="";(ne<0||Pt&&ne<=0)&&(Pt?ne=1-ne:(ne=-ne,ln=le));let yn=String(ne);for(;yn.length0||Qn>-le)&&(Qn+=le),ne===Ut.Hours)0===Qn&&-12===le&&(Qn=12);else if(ne===Ut.FractionalSeconds)return function jt(ne,Ve){return zt(ne,3).substring(0,Ve)}(Qn,Ve);const Ao=_t(yn,X.MinusSign);return zt(Qn,Ve,Ao,Ke,Pt)}}function j(ne,Ve,le=te.Format,Ke=!1){return function(Pt,ln){return function P(ne,Ve,le,Ke,Pt,ln){switch(le){case $t.Months:return function rn(ne,Ve,le){const Ke=(0,t.cg1)(ne),ln=Ae([Ke[t.wAp.MonthsFormat],Ke[t.wAp.MonthsStandalone]],Ve);return Ae(ln,le)}(Ve,Pt,Ke)[ne.getMonth()];case $t.Days:return function St(ne,Ve,le){const Ke=(0,t.cg1)(ne),ln=Ae([Ke[t.wAp.DaysFormat],Ke[t.wAp.DaysStandalone]],Ve);return Ae(ln,le)}(Ve,Pt,Ke)[ne.getDay()];case $t.DayPeriods:const yn=ne.getHours(),Qn=ne.getMinutes();if(ln){const Fo=function xt(ne){const Ve=(0,t.cg1)(ne);return Yt(Ve),(Ve[t.wAp.ExtraData][2]||[]).map(Ke=>"string"==typeof Ke?Ze(Ke):[Ze(Ke[0]),Ze(Ke[1])])}(Ve),Xo=function Ye(ne,Ve,le){const Ke=(0,t.cg1)(ne);Yt(Ke);const ln=Ae([Ke[t.wAp.ExtraData][0],Ke[t.wAp.ExtraData][1]],Ve)||[];return Ae(ln,le)||[]}(Ve,Pt,Ke),go=Fo.findIndex(mi=>{if(Array.isArray(mi)){const[Ho,yi]=mi,vi=yn>=Ho.hours&&Qn>=Ho.minutes,ji=yn0?Math.floor(Pt/60):Math.ceil(Pt/60);switch(ne){case yt.Short:return(Pt>=0?"+":"")+zt(yn,2,ln)+zt(Math.abs(Pt%60),2,ln);case yt.ShortGMT:return"GMT"+(Pt>=0?"+":"")+zt(yn,1,ln);case yt.Long:return"GMT"+(Pt>=0?"+":"")+zt(yn,2,ln)+":"+zt(Math.abs(Pt%60),2,ln);case yt.Extended:return 0===Ke?"Z":(Pt>=0?"+":"")+zt(yn,2,ln)+":"+zt(Math.abs(Pt%60),2,ln);default:throw new Error(`Unknown zone width "${ne}"`)}}}function ge(ne){return et(ne.getFullYear(),ne.getMonth(),ne.getDate()+(4-ne.getDay()))}function xe(ne,Ve=!1){return function(le,Ke){let Pt;if(Ve){const ln=new Date(le.getFullYear(),le.getMonth(),1).getDay()-1,yn=le.getDate();Pt=1+Math.floor((yn+ln)/7)}else{const ln=ge(le),yn=function ke(ne){const Ve=et(ne,0,1).getDay();return et(ne,0,1+(Ve<=4?4:11)-Ve)}(ln.getFullYear()),Qn=ln.getTime()-yn.getTime();Pt=1+Math.round(Qn/6048e5)}return zt(Pt,ne,_t(Ke,X.MinusSign))}}function ut(ne,Ve=!1){return function(le,Ke){return zt(ge(le).getFullYear(),ne,_t(Ke,X.MinusSign),Ve)}}const vt={};function Ct(ne,Ve){ne=ne.replace(/:/g,"");const le=Date.parse("Jan 01, 1970 00:00:00 "+ne)/6e4;return isNaN(le)?Ve:le}function Re(ne){return ne instanceof Date&&!isNaN(ne.valueOf())}const He=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ko(ne){const Ve=parseInt(ne);if(isNaN(Ve))throw new Error("Invalid integer literal when parsing "+ne);return Ve}let po=(()=>{class ne{}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275prov=t.Yz7({token:ne,factory:function(le){let Ke=null;return le?Ke=new le:(Pt=t.LFG(t.soG),Ke=new Po(Pt)),Ke;var Pt},providedIn:"root"}),ne})();let Po=(()=>{class ne extends po{constructor(le){super(),this.locale=le}getPluralCategory(le,Ke){switch(zn(Ke||this.locale)(le)){case fe.Zero:return"zero";case fe.One:return"one";case fe.Two:return"two";case fe.Few:return"few";case fe.Many:return"many";default:return"other"}}}return ne.\u0275fac=function(le){return new(le||ne)(t.LFG(t.soG))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac}),ne})();function ui(ne,Ve,le){return(0,t.dwT)(ne,Ve,le)}function Ro(ne,Ve){Ve=encodeURIComponent(Ve);for(const le of ne.split(";")){const Ke=le.indexOf("="),[Pt,ln]=-1==Ke?[le,""]:[le.slice(0,Ke),le.slice(Ke+1)];if(Pt.trim()===Ve)return decodeURIComponent(ln)}return null}let Ko=(()=>{class ne{constructor(le,Ke,Pt,ln){this._iterableDiffers=le,this._keyValueDiffers=Ke,this._ngEl=Pt,this._renderer=ln,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(le){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof le?le.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(le){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof le?le.split(/\s+/):le,this._rawClass&&((0,t.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const le=this._iterableDiffer.diff(this._rawClass);le&&this._applyIterableChanges(le)}else if(this._keyValueDiffer){const le=this._keyValueDiffer.diff(this._rawClass);le&&this._applyKeyValueChanges(le)}}_applyKeyValueChanges(le){le.forEachAddedItem(Ke=>this._toggleClass(Ke.key,Ke.currentValue)),le.forEachChangedItem(Ke=>this._toggleClass(Ke.key,Ke.currentValue)),le.forEachRemovedItem(Ke=>{Ke.previousValue&&this._toggleClass(Ke.key,!1)})}_applyIterableChanges(le){le.forEachAddedItem(Ke=>{if("string"!=typeof Ke.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,t.AaK)(Ke.item)}`);this._toggleClass(Ke.item,!0)}),le.forEachRemovedItem(Ke=>this._toggleClass(Ke.item,!1))}_applyClasses(le){le&&(Array.isArray(le)||le instanceof Set?le.forEach(Ke=>this._toggleClass(Ke,!0)):Object.keys(le).forEach(Ke=>this._toggleClass(Ke,!!le[Ke])))}_removeClasses(le){le&&(Array.isArray(le)||le instanceof Set?le.forEach(Ke=>this._toggleClass(Ke,!1)):Object.keys(le).forEach(Ke=>this._toggleClass(Ke,!1)))}_toggleClass(le,Ke){(le=le.trim())&&le.split(/\s+/g).forEach(Pt=>{Ke?this._renderer.addClass(this._ngEl.nativeElement,Pt):this._renderer.removeClass(this._ngEl.nativeElement,Pt)})}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.SBq),t.Y36(t.Qsj))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),ne})();class ni{constructor(Ve,le,Ke,Pt){this.$implicit=Ve,this.ngForOf=le,this.index=Ke,this.count=Pt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let To=(()=>{class ne{set ngForOf(le){this._ngForOf=le,this._ngForOfDirty=!0}set ngForTrackBy(le){this._trackByFn=le}get ngForTrackBy(){return this._trackByFn}constructor(le,Ke,Pt){this._viewContainer=le,this._template=Ke,this._differs=Pt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(le){le&&(this._template=le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const le=this._ngForOf;!this._differ&&le&&(this._differ=this._differs.find(le).create(this.ngForTrackBy))}if(this._differ){const le=this._differ.diff(this._ngForOf);le&&this._applyChanges(le)}}_applyChanges(le){const Ke=this._viewContainer;le.forEachOperation((Pt,ln,yn)=>{if(null==Pt.previousIndex)Ke.createEmbeddedView(this._template,new ni(Pt.item,this._ngForOf,-1,-1),null===yn?void 0:yn);else if(null==yn)Ke.remove(null===ln?void 0:ln);else if(null!==ln){const Qn=Ke.get(ln);Ke.move(Qn,yn),Do(Qn,Pt)}});for(let Pt=0,ln=Ke.length;Pt{Do(Ke.get(Pt.currentIndex),Pt)})}static ngTemplateContextGuard(le,Ke){return!0}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),ne})();function Do(ne,Ve){ne.context.$implicit=Ve.item}let Co=(()=>{class ne{constructor(le,Ke){this._viewContainer=le,this._context=new pi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ke}set ngIf(le){this._context.$implicit=this._context.ngIf=le,this._updateView()}set ngIfThen(le){Fi("ngIfThen",le),this._thenTemplateRef=le,this._thenViewRef=null,this._updateView()}set ngIfElse(le){Fi("ngIfElse",le),this._elseTemplateRef=le,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(le,Ke){return!0}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.s_b),t.Y36(t.Rgc))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),ne})();class pi{constructor(){this.$implicit=null,this.ngIf=null}}function Fi(ne,Ve){if(Ve&&!Ve.createEmbeddedView)throw new Error(`${ne} must be a TemplateRef, but received '${(0,t.AaK)(Ve)}'.`)}class oo{constructor(Ve,le){this._viewContainerRef=Ve,this._templateRef=le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ve){Ve&&!this._created?this.create():!Ve&&this._created&&this.destroy()}}let Zi=(()=>{class ne{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(le){this._ngSwitch=le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(le){this._defaultViews.push(le)}_matchCase(le){const Ke=le==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Ke,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ke}_updateDefaultCases(le){if(this._defaultViews.length>0&&le!==this._defaultUsed){this._defaultUsed=le;for(const Ke of this._defaultViews)Ke.enforceState(le)}}}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),ne})(),Ji=(()=>{class ne{constructor(le,Ke,Pt){this.ngSwitch=Pt,Pt._addCase(),this._view=new oo(le,Ke)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Zi,9))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),ne})(),Ei=(()=>{class ne{constructor(le,Ke,Pt){Pt._addDefault(new oo(le,Ke))}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Zi,9))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngSwitchDefault",""]],standalone:!0}),ne})(),qe=(()=>{class ne{constructor(le){this._localization=le,this._caseViews={}}set ngPlural(le){this._updateView(le)}addCase(le,Ke){this._caseViews[le]=Ke}_updateView(le){this._clearViews();const Pt=function Go(ne,Ve,le,Ke){let Pt=`=${ne}`;if(Ve.indexOf(Pt)>-1||(Pt=le.getPluralCategory(ne,Ke),Ve.indexOf(Pt)>-1))return Pt;if(Ve.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${ne}"`)}(le,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Pt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(le){le&&(this._activeView=le,this._activeView.create())}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(po))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),ne})(),se=(()=>{class ne{constructor(le,Ke,Pt,ln){this.value=le;const yn=!isNaN(Number(le));ln.addCase(yn?`=${le}`:le,new oo(Pt,Ke))}}return ne.\u0275fac=function(le){return new(le||ne)(t.$8M("ngPluralCase"),t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(qe,1))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngPluralCase",""]],standalone:!0}),ne})(),Fe=(()=>{class ne{constructor(le,Ke,Pt){this._ngEl=le,this._differs=Ke,this._renderer=Pt,this._ngStyle=null,this._differ=null}set ngStyle(le){this._ngStyle=le,!this._differ&&le&&(this._differ=this._differs.find(le).create())}ngDoCheck(){if(this._differ){const le=this._differ.diff(this._ngStyle);le&&this._applyChanges(le)}}_setStyle(le,Ke){const[Pt,ln]=le.split("."),yn=-1===Pt.indexOf("-")?void 0:t.JOm.DashCase;null!=Ke?this._renderer.setStyle(this._ngEl.nativeElement,Pt,ln?`${Ke}${ln}`:Ke,yn):this._renderer.removeStyle(this._ngEl.nativeElement,Pt,yn)}_applyChanges(le){le.forEachRemovedItem(Ke=>this._setStyle(Ke.key,null)),le.forEachAddedItem(Ke=>this._setStyle(Ke.key,Ke.currentValue)),le.forEachChangedItem(Ke=>this._setStyle(Ke.key,Ke.currentValue))}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),ne})(),Ue=(()=>{class ne{constructor(le){this._viewContainerRef=le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(le){if(le.ngTemplateOutlet||le.ngTemplateOutletInjector){const Ke=this._viewContainerRef;if(this._viewRef&&Ke.remove(Ke.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Pt,ngTemplateOutletContext:ln,ngTemplateOutletInjector:yn}=this;this._viewRef=Ke.createEmbeddedView(Pt,ln,yn?{injector:yn}:void 0)}else this._viewRef=null}else this._viewRef&&le.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.s_b))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]}),ne})();function Ft(ne,Ve){return new t.vHH(2100,!1)}class Gt{createSubscription(Ve,le){return Ve.subscribe({next:le,error:Ke=>{throw Ke}})}dispose(Ve){Ve.unsubscribe()}}class un{createSubscription(Ve,le){return Ve.then(le,Ke=>{throw Ke})}dispose(Ve){}}const pn=new un,fn=new Gt;let On=(()=>{class ne{constructor(le){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=le}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(le){return this._obj?le!==this._obj?(this._dispose(),this.transform(le)):this._latestValue:(le&&this._subscribe(le),this._latestValue)}_subscribe(le){this._obj=le,this._strategy=this._selectStrategy(le),this._subscription=this._strategy.createSubscription(le,Ke=>this._updateLatestValue(le,Ke))}_selectStrategy(le){if((0,t.QGY)(le))return pn;if((0,t.F4k)(le))return fn;throw Ft()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(le,Ke){le===this._obj&&(this._latestValue=Ke,this._ref.markForCheck())}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.sBO,16))},ne.\u0275pipe=t.Yjl({name:"async",type:ne,pure:!1,standalone:!0}),ne})(),Tn=(()=>{class ne{transform(le){if(null==le)return null;if("string"!=typeof le)throw Ft();return le.toLowerCase()}}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275pipe=t.Yjl({name:"lowercase",type:ne,pure:!0,standalone:!0}),ne})();const En=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Pn=(()=>{class ne{transform(le){if(null==le)return null;if("string"!=typeof le)throw Ft();return le.replace(En,Ke=>Ke[0].toUpperCase()+Ke.slice(1).toLowerCase())}}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275pipe=t.Yjl({name:"titlecase",type:ne,pure:!0,standalone:!0}),ne})(),Xn=(()=>{class ne{transform(le){if(null==le)return null;if("string"!=typeof le)throw Ft();return le.toUpperCase()}}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275pipe=t.Yjl({name:"uppercase",type:ne,pure:!0,standalone:!0}),ne})();const Vn=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Zn=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let ho=(()=>{class ne{constructor(le,Ke,Pt){this.locale=le,this.defaultTimezone=Ke,this.defaultOptions=Pt}transform(le,Ke,Pt,ln){if(null==le||""===le||le!=le)return null;try{return Je(le,Ke??this.defaultOptions?.dateFormat??"mediumDate",ln||this.locale,Pt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(yn){throw Ft()}}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.soG,16),t.Y36(Vn,24),t.Y36(Zn,24))},ne.\u0275pipe=t.Yjl({name:"date",type:ne,pure:!0,standalone:!0}),ne})(),$o=(()=>{class ne{transform(le){return JSON.stringify(le,null,2)}}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275pipe=t.Yjl({name:"json",type:ne,pure:!1,standalone:!0}),ne})(),_o=(()=>{class ne{constructor(le){this.differs=le,this.keyValues=[],this.compareFn=Bo}transform(le,Ke=Bo){if(!le||!(le instanceof Map)&&"object"!=typeof le)return null;this.differ||(this.differ=this.differs.find(le).create());const Pt=this.differ.diff(le),ln=Ke!==this.compareFn;return Pt&&(this.keyValues=[],Pt.forEachItem(yn=>{this.keyValues.push(function bo(ne,Ve){return{key:ne,value:Ve}}(yn.key,yn.currentValue))})),(Pt||ln)&&(this.keyValues.sort(Ke),this.compareFn=Ke),this.keyValues}}return ne.\u0275fac=function(le){return new(le||ne)(t.Y36(t.aQg,16))},ne.\u0275pipe=t.Yjl({name:"keyvalue",type:ne,pure:!1,standalone:!0}),ne})();function Bo(ne,Ve){const le=ne.key,Ke=Ve.key;if(le===Ke)return 0;if(void 0===le)return 1;if(void 0===Ke)return-1;if(null===le)return 1;if(null===Ke)return-1;if("string"==typeof le&&"string"==typeof Ke)return le{class ne{constructor(le){this._locale=le}transform(le,Ke,Pt){if(!function Vo(ne){return!(null==ne||""===ne||ne!=ne)}(le))return null;Pt=Pt||this._locale;try{return function Un(ne,Ve,le){return function nn(ne,Ve,le,Ke,Pt,ln,yn=!1){let Qn="",Ao=!1;if(isFinite(ne)){let Fo=function co(ne){let Ke,Pt,ln,yn,Qn,Ve=Math.abs(ne)+"",le=0;for((Pt=Ve.indexOf("."))>-1&&(Ve=Ve.replace(".","")),(ln=Ve.search(/e/i))>0?(Pt<0&&(Pt=ln),Pt+=+Ve.slice(ln+1),Ve=Ve.substring(0,ln)):Pt<0&&(Pt=Ve.length),ln=0;"0"===Ve.charAt(ln);ln++);if(ln===(Qn=Ve.length))Ke=[0],Pt=1;else{for(Qn--;"0"===Ve.charAt(Qn);)Qn--;for(Pt-=ln,Ke=[],yn=0;ln<=Qn;ln++,yn++)Ke[yn]=Number(Ve.charAt(ln))}return Pt>22&&(Ke=Ke.splice(0,21),le=Pt-1,Pt=1),{digits:Ke,exponent:le,integerLen:Pt}}(ne);yn&&(Fo=function Yn(ne){if(0===ne.digits[0])return ne;const Ve=ne.digits.length-ne.integerLen;return ne.exponent?ne.exponent+=2:(0===Ve?ne.digits.push(0,0):1===Ve&&ne.digits.push(0),ne.integerLen+=2),ne}(Fo));let Xo=Ve.minInt,go=Ve.minFrac,mi=Ve.maxFrac;if(ln){const Tr=ln.match(He);if(null===Tr)throw new Error(`${ln} is not a valid digit info`);const tr=Tr[1],ur=Tr[3],Mr=Tr[5];null!=tr&&(Xo=ko(tr)),null!=ur&&(go=ko(ur)),null!=Mr?mi=ko(Mr):null!=ur&&go>mi&&(mi=go)}!function Wo(ne,Ve,le){if(Ve>le)throw new Error(`The minimum number of digits after fraction (${Ve}) is higher than the maximum (${le}).`);let Ke=ne.digits,Pt=Ke.length-ne.integerLen;const ln=Math.min(Math.max(Ve,Pt),le);let yn=ln+ne.integerLen,Qn=Ke[yn];if(yn>0){Ke.splice(Math.max(ne.integerLen,yn));for(let go=yn;go=5)if(yn-1<0){for(let go=0;go>yn;go--)Ke.unshift(0),ne.integerLen++;Ke.unshift(1),ne.integerLen++}else Ke[yn-1]++;for(;Pt=Fo?yi.pop():Ao=!1),mi>=10?1:0},0);Xo&&(Ke.unshift(Xo),ne.integerLen++)}(Fo,go,mi);let Ho=Fo.digits,yi=Fo.integerLen;const vi=Fo.exponent;let ji=[];for(Ao=Ho.every(Tr=>!Tr);yi0?ji=Ho.splice(yi,Ho.length):(ji=Ho,Ho=[0]);const Ri=[];for(Ho.length>=Ve.lgSize&&Ri.unshift(Ho.splice(-Ve.lgSize,Ho.length).join(""));Ho.length>Ve.gSize;)Ri.unshift(Ho.splice(-Ve.gSize,Ho.length).join(""));Ho.length&&Ri.unshift(Ho.join("")),Qn=Ri.join(_t(le,Ke)),ji.length&&(Qn+=_t(le,Pt)+ji.join("")),vi&&(Qn+=_t(le,X.Exponential)+"+"+vi)}else Qn=_t(le,X.Infinity);return Qn=ne<0&&!Ao?Ve.negPre+Qn+Ve.negSuf:Ve.posPre+Qn+Ve.posSuf,Qn}(ne,function $n(ne,Ve="-"){const le={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ke=ne.split(";"),Pt=Ke[0],ln=Ke[1],yn=-1!==Pt.indexOf(".")?Pt.split("."):[Pt.substring(0,Pt.lastIndexOf("0")+1),Pt.substring(Pt.lastIndexOf("0")+1)],Qn=yn[0],Ao=yn[1]||"";le.posPre=Qn.substring(0,Qn.indexOf("#"));for(let Xo=0;Xo{class ne{}return ne.\u0275fac=function(le){return new(le||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({}),ne})();const ri="browser";function gr(ne){return ne===ri}let vs=(()=>{class ne{}return ne.\u0275prov=(0,t.Yz7)({token:ne,providedIn:"root",factory:()=>new Hi((0,t.LFG)(L),window)}),ne})();class Hi{constructor(Ve,le){this.document=Ve,this.window=le,this.offset=()=>[0,0]}setOffset(Ve){this.offset=Array.isArray(Ve)?()=>Ve:Ve}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Ve){this.supportsScrolling()&&this.window.scrollTo(Ve[0],Ve[1])}scrollToAnchor(Ve){if(!this.supportsScrolling())return;const le=function Ar(ne,Ve){const le=ne.getElementById(Ve)||ne.getElementsByName(Ve)[0];if(le)return le;if("function"==typeof ne.createTreeWalker&&ne.body&&(ne.body.createShadowRoot||ne.body.attachShadow)){const Ke=ne.createTreeWalker(ne.body,NodeFilter.SHOW_ELEMENT);let Pt=Ke.currentNode;for(;Pt;){const ln=Pt.shadowRoot;if(ln){const yn=ln.getElementById(Ve)||ln.querySelector(`[name="${Ve}"]`);if(yn)return yn}Pt=Ke.nextNode()}}return null}(this.document,Ve);le&&(this.scrollToElement(le),le.focus())}setHistoryScrollRestoration(Ve){if(this.supportScrollRestoration()){const le=this.window.history;le&&le.scrollRestoration&&(le.scrollRestoration=Ve)}}scrollToElement(Ve){const le=Ve.getBoundingClientRect(),Ke=le.left+this.window.pageXOffset,Pt=le.top+this.window.pageYOffset,ln=this.offset();this.window.scrollTo(Ke-ln[0],Pt-ln[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Ve=vr(this.window.history)||vr(Object.getPrototypeOf(this.window.history));return!(!Ve||!Ve.writable&&!Ve.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function vr(ne){return Object.getOwnPropertyDescriptor(ne,"scrollRestoration")}class Xi{}},529:(Et,Me,a)=>{a.d(Me,{Ed:()=>ze,JF:()=>K,PD:()=>P,WM:()=>E,eN:()=>Se,jN:()=>M});var t=a(6895),o=a(4650),g=a(9646),l=a(9751),s=a(4351),L=a(9300),R=a(4004);class T{}class M{}class E{constructor(ge){this.normalizedNames=new Map,this.lazyUpdate=null,ge?this.lazyInit="string"==typeof ge?()=>{this.headers=new Map,ge.split("\n").forEach(xe=>{const ut=xe.indexOf(":");if(ut>0){const vt=xe.slice(0,ut),qt=vt.toLowerCase(),Ct=xe.slice(ut+1).trim();this.maybeSetNormalizedName(vt,qt),this.headers.has(qt)?this.headers.get(qt).push(Ct):this.headers.set(qt,[Ct])}})}:()=>{this.headers=new Map,Object.keys(ge).forEach(xe=>{let ut=ge[xe];const vt=xe.toLowerCase();"string"==typeof ut&&(ut=[ut]),ut.length>0&&(this.headers.set(vt,ut),this.maybeSetNormalizedName(xe,vt))})}:this.headers=new Map}has(ge){return this.init(),this.headers.has(ge.toLowerCase())}get(ge){this.init();const xe=this.headers.get(ge.toLowerCase());return xe&&xe.length>0?xe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ge){return this.init(),this.headers.get(ge.toLowerCase())||null}append(ge,xe){return this.clone({name:ge,value:xe,op:"a"})}set(ge,xe){return this.clone({name:ge,value:xe,op:"s"})}delete(ge,xe){return this.clone({name:ge,value:xe,op:"d"})}maybeSetNormalizedName(ge,xe){this.normalizedNames.has(xe)||this.normalizedNames.set(xe,ge)}init(){this.lazyInit&&(this.lazyInit instanceof E?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ge=>this.applyUpdate(ge)),this.lazyUpdate=null))}copyFrom(ge){ge.init(),Array.from(ge.headers.keys()).forEach(xe=>{this.headers.set(xe,ge.headers.get(xe)),this.normalizedNames.set(xe,ge.normalizedNames.get(xe))})}clone(ge){const xe=new E;return xe.lazyInit=this.lazyInit&&this.lazyInit instanceof E?this.lazyInit:this,xe.lazyUpdate=(this.lazyUpdate||[]).concat([ge]),xe}applyUpdate(ge){const xe=ge.name.toLowerCase();switch(ge.op){case"a":case"s":let ut=ge.value;if("string"==typeof ut&&(ut=[ut]),0===ut.length)return;this.maybeSetNormalizedName(ge.name,xe);const vt=("a"===ge.op?this.headers.get(xe):void 0)||[];vt.push(...ut),this.headers.set(xe,vt);break;case"d":const qt=ge.value;if(qt){let Ct=this.headers.get(xe);if(!Ct)return;Ct=Ct.filter(tn=>-1===qt.indexOf(tn)),0===Ct.length?(this.headers.delete(xe),this.normalizedNames.delete(xe)):this.headers.set(xe,Ct)}else this.headers.delete(xe),this.normalizedNames.delete(xe)}}forEach(ge){this.init(),Array.from(this.normalizedNames.keys()).forEach(xe=>ge(this.normalizedNames.get(xe),this.headers.get(xe)))}}class F{encodeKey(ge){return I(ge)}encodeValue(ge){return I(ge)}decodeKey(ge){return decodeURIComponent(ge)}decodeValue(ge){return decodeURIComponent(ge)}}const S=/%(\d[a-f0-9])/gi,e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function I(ke){return encodeURIComponent(ke).replace(S,(ge,xe)=>e[xe]??ge)}function w(ke){return`${ke}`}class pe{constructor(ge={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ge.encoder||new F,ge.fromString){if(ge.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function V(ke,ge){const xe=new Map;return ke.length>0&&ke.replace(/^\?/,"").split("&").forEach(vt=>{const qt=vt.indexOf("="),[Ct,tn]=-1==qt?[ge.decodeKey(vt),""]:[ge.decodeKey(vt.slice(0,qt)),ge.decodeValue(vt.slice(qt+1))],je=xe.get(Ct)||[];je.push(tn),xe.set(Ct,je)}),xe}(ge.fromString,this.encoder)}else ge.fromObject?(this.map=new Map,Object.keys(ge.fromObject).forEach(xe=>{const ut=ge.fromObject[xe],vt=Array.isArray(ut)?ut.map(w):[w(ut)];this.map.set(xe,vt)})):this.map=null}has(ge){return this.init(),this.map.has(ge)}get(ge){this.init();const xe=this.map.get(ge);return xe?xe[0]:null}getAll(ge){return this.init(),this.map.get(ge)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ge,xe){return this.clone({param:ge,value:xe,op:"a"})}appendAll(ge){const xe=[];return Object.keys(ge).forEach(ut=>{const vt=ge[ut];Array.isArray(vt)?vt.forEach(qt=>{xe.push({param:ut,value:qt,op:"a"})}):xe.push({param:ut,value:vt,op:"a"})}),this.clone(xe)}set(ge,xe){return this.clone({param:ge,value:xe,op:"s"})}delete(ge,xe){return this.clone({param:ge,value:xe,op:"d"})}toString(){return this.init(),this.keys().map(ge=>{const xe=this.encoder.encodeKey(ge);return this.map.get(ge).map(ut=>xe+"="+this.encoder.encodeValue(ut)).join("&")}).filter(ge=>""!==ge).join("&")}clone(ge){const xe=new pe({encoder:this.encoder});return xe.cloneFrom=this.cloneFrom||this,xe.updates=(this.updates||[]).concat(ge),xe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ge=>this.map.set(ge,this.cloneFrom.map.get(ge))),this.updates.forEach(ge=>{switch(ge.op){case"a":case"s":const xe=("a"===ge.op?this.map.get(ge.param):void 0)||[];xe.push(w(ge.value)),this.map.set(ge.param,xe);break;case"d":if(void 0===ge.value){this.map.delete(ge.param);break}{let ut=this.map.get(ge.param)||[];const vt=ut.indexOf(w(ge.value));-1!==vt&&ut.splice(vt,1),ut.length>0?this.map.set(ge.param,ut):this.map.delete(ge.param)}}}),this.cloneFrom=this.updates=null)}}class Z{constructor(){this.map=new Map}set(ge,xe){return this.map.set(ge,xe),this}get(ge){return this.map.has(ge)||this.map.set(ge,ge.defaultValue()),this.map.get(ge)}delete(ge){return this.map.delete(ge),this}has(ge){return this.map.has(ge)}keys(){return this.map.keys()}}function N(ke){return typeof ArrayBuffer<"u"&&ke instanceof ArrayBuffer}function q(ke){return typeof Blob<"u"&&ke instanceof Blob}function Y(ke){return typeof FormData<"u"&&ke instanceof FormData}class me{constructor(ge,xe,ut,vt){let qt;if(this.url=xe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ge.toUpperCase(),function U(ke){switch(ke){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||vt?(this.body=void 0!==ut?ut:null,qt=vt):qt=ut,qt&&(this.reportProgress=!!qt.reportProgress,this.withCredentials=!!qt.withCredentials,qt.responseType&&(this.responseType=qt.responseType),qt.headers&&(this.headers=qt.headers),qt.context&&(this.context=qt.context),qt.params&&(this.params=qt.params)),this.headers||(this.headers=new E),this.context||(this.context=new Z),this.params){const Ct=this.params.toString();if(0===Ct.length)this.urlWithParams=xe;else{const tn=xe.indexOf("?");this.urlWithParams=xe+(-1===tn?"?":tnRe.set(He,ge.setHeaders[He]),je)),ge.setParams&&(Qe=Object.keys(ge.setParams).reduce((Re,He)=>Re.set(He,ge.setParams[He]),Qe)),new me(xe,ut,qt,{params:Qe,headers:je,context:ft,reportProgress:tn,responseType:vt,withCredentials:Ct})}}var fe=(()=>((fe=fe||{})[fe.Sent=0]="Sent",fe[fe.UploadProgress=1]="UploadProgress",fe[fe.ResponseHeader=2]="ResponseHeader",fe[fe.DownloadProgress=3]="DownloadProgress",fe[fe.Response=4]="Response",fe[fe.User=5]="User",fe))();class te{constructor(ge,xe=200,ut="OK"){this.headers=ge.headers||new E,this.status=void 0!==ge.status?ge.status:xe,this.statusText=ge.statusText||ut,this.url=ge.url||null,this.ok=this.status>=200&&this.status<300}}class ye extends te{constructor(ge={}){super(ge),this.type=fe.ResponseHeader}clone(ge={}){return new ye({headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class H extends te{constructor(ge={}){super(ge),this.type=fe.Response,this.body=void 0!==ge.body?ge.body:null}clone(ge={}){return new H({body:void 0!==ge.body?ge.body:this.body,headers:ge.headers||this.headers,status:void 0!==ge.status?ge.status:this.status,statusText:ge.statusText||this.statusText,url:ge.url||this.url||void 0})}}class X extends te{constructor(ge){super(ge,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ge.url||"(unknown url)"}`:`Http failure response for ${ge.url||"(unknown url)"}: ${ge.status} ${ge.statusText}`,this.error=ge.error||null}}function ve(ke,ge){return{body:ge,headers:ke.headers,context:ke.context,observe:ke.observe,params:ke.params,reportProgress:ke.reportProgress,responseType:ke.responseType,withCredentials:ke.withCredentials}}let Se=(()=>{class ke{constructor(xe){this.handler=xe}request(xe,ut,vt={}){let qt;if(xe instanceof me)qt=xe;else{let je,Qe;je=vt.headers instanceof E?vt.headers:new E(vt.headers),vt.params&&(Qe=vt.params instanceof pe?vt.params:new pe({fromObject:vt.params})),qt=new me(xe,ut,void 0!==vt.body?vt.body:null,{headers:je,context:vt.context,params:Qe,reportProgress:vt.reportProgress,responseType:vt.responseType||"json",withCredentials:vt.withCredentials})}const Ct=(0,g.of)(qt).pipe((0,s.b)(je=>this.handler.handle(je)));if(xe instanceof me||"events"===vt.observe)return Ct;const tn=Ct.pipe((0,L.h)(je=>je instanceof H));switch(vt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return tn.pipe((0,R.U)(je=>{if(null!==je.body&&!(je.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return je.body}));case"blob":return tn.pipe((0,R.U)(je=>{if(null!==je.body&&!(je.body instanceof Blob))throw new Error("Response is not a Blob.");return je.body}));case"text":return tn.pipe((0,R.U)(je=>{if(null!==je.body&&"string"!=typeof je.body)throw new Error("Response is not a string.");return je.body}));default:return tn.pipe((0,R.U)(je=>je.body))}case"response":return tn;default:throw new Error(`Unreachable: unhandled observe type ${vt.observe}}`)}}delete(xe,ut={}){return this.request("DELETE",xe,ut)}get(xe,ut={}){return this.request("GET",xe,ut)}head(xe,ut={}){return this.request("HEAD",xe,ut)}jsonp(xe,ut){return this.request("JSONP",xe,{params:(new pe).append(ut,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(xe,ut={}){return this.request("OPTIONS",xe,ut)}patch(xe,ut,vt={}){return this.request("PATCH",xe,ve(vt,ut))}post(xe,ut,vt={}){return this.request("POST",xe,ve(vt,ut))}put(xe,ut,vt={}){return this.request("PUT",xe,ve(vt,ut))}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(T))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac}),ke})();function wt(ke,ge){return ge(ke)}function St(ke,ge){return(xe,ut)=>ge.intercept(xe,{handle:vt=>ke(vt,ut)})}const ot=new o.OlP("HTTP_INTERCEPTORS"),gt=new o.OlP("HTTP_INTERCEPTOR_FNS");function Dt(){let ke=null;return(ge,xe)=>(null===ke&&(ke=((0,o.f3M)(ot,{optional:!0})??[]).reduceRight(St,wt)),ke(ge,xe))}let At,Wt=(()=>{class ke extends T{constructor(xe,ut){super(),this.backend=xe,this.injector=ut,this.chain=null}handle(xe){if(null===this.chain){const ut=Array.from(new Set(this.injector.get(gt)));this.chain=ut.reduceRight((vt,qt)=>function rn(ke,ge,xe){return(ut,vt)=>xe.runInContext(()=>ge(ut,qt=>ke(qt,vt)))}(vt,qt,this.injector),wt)}return this.chain(xe,ut=>this.backend.handle(ut))}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(M),o.LFG(o.lqb))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac}),ke})(),mn=0;class sn{}function Dn(){return"object"==typeof window?window:{}}let zn=(()=>{class ke{constructor(xe,ut){this.callbackMap=xe,this.document=ut,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+mn++}handle(xe){if("JSONP"!==xe.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==xe.responseType)throw new Error("JSONP requests must use Json response type.");if(xe.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new l.y(ut=>{const vt=this.nextCallback(),qt=xe.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${vt}$1`),Ct=this.document.createElement("script");Ct.src=qt;let tn=null,je=!1;this.callbackMap[vt]=He=>{delete this.callbackMap[vt],tn=He,je=!0};const Qe=()=>{Ct.parentNode&&Ct.parentNode.removeChild(Ct),delete this.callbackMap[vt]};return Ct.addEventListener("load",He=>{this.resolvedPromise.then(()=>{Qe(),je?(ut.next(new H({body:tn,status:200,statusText:"OK",url:qt})),ut.complete()):ut.error(new X({url:qt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Ct.addEventListener("error",He=>{Qe(),ut.error(new X({error:He,status:0,statusText:"JSONP Error",url:qt}))}),this.document.body.appendChild(Ct),ut.next({type:fe.Sent}),()=>{je||this.removeListeners(Ct),Qe()}})}removeListeners(xe){At||(At=this.document.implementation.createHTMLDocument()),At.adoptNode(xe)}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(sn),o.LFG(t.K0))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac}),ke})();function Yt(ke,ge){return"JSONP"===ke.method?(0,o.f3M)(zn).handle(ke):ge(ke)}const Ye=/^\)\]\}',?\n/;let Ae=(()=>{class ke{constructor(xe){this.xhrFactory=xe}handle(xe){if("JSONP"===xe.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new l.y(ut=>{const vt=this.xhrFactory.build();if(vt.open(xe.method,xe.urlWithParams),xe.withCredentials&&(vt.withCredentials=!0),xe.headers.forEach((Ie,he)=>vt.setRequestHeader(Ie,he.join(","))),xe.headers.has("Accept")||vt.setRequestHeader("Accept","application/json, text/plain, */*"),!xe.headers.has("Content-Type")){const Ie=xe.detectContentTypeHeader();null!==Ie&&vt.setRequestHeader("Content-Type",Ie)}if(xe.responseType){const Ie=xe.responseType.toLowerCase();vt.responseType="json"!==Ie?Ie:"text"}const qt=xe.serializeBody();let Ct=null;const tn=()=>{if(null!==Ct)return Ct;const Ie=vt.statusText||"OK",he=new E(vt.getAllResponseHeaders()),we=function $e(ke){return"responseURL"in ke&&ke.responseURL?ke.responseURL:/^X-Request-URL:/m.test(ke.getAllResponseHeaders())?ke.getResponseHeader("X-Request-URL"):null}(vt)||xe.url;return Ct=new ye({headers:he,status:vt.status,statusText:Ie,url:we}),Ct},je=()=>{let{headers:Ie,status:he,statusText:we,url:ce}=tn(),nt=null;204!==he&&(nt=typeof vt.response>"u"?vt.responseText:vt.response),0===he&&(he=nt?200:0);let be=he>=200&&he<300;if("json"===xe.responseType&&"string"==typeof nt){const rt=nt;nt=nt.replace(Ye,"");try{nt=""!==nt?JSON.parse(nt):null}catch(Zt){nt=rt,be&&(be=!1,nt={error:Zt,text:nt})}}be?(ut.next(new H({body:nt,headers:Ie,status:he,statusText:we,url:ce||void 0})),ut.complete()):ut.error(new X({error:nt,headers:Ie,status:he,statusText:we,url:ce||void 0}))},Qe=Ie=>{const{url:he}=tn(),we=new X({error:Ie,status:vt.status||0,statusText:vt.statusText||"Unknown Error",url:he||void 0});ut.error(we)};let ft=!1;const Re=Ie=>{ft||(ut.next(tn()),ft=!0);let he={type:fe.DownloadProgress,loaded:Ie.loaded};Ie.lengthComputable&&(he.total=Ie.total),"text"===xe.responseType&&vt.responseText&&(he.partialText=vt.responseText),ut.next(he)},He=Ie=>{let he={type:fe.UploadProgress,loaded:Ie.loaded};Ie.lengthComputable&&(he.total=Ie.total),ut.next(he)};return vt.addEventListener("load",je),vt.addEventListener("error",Qe),vt.addEventListener("timeout",Qe),vt.addEventListener("abort",Qe),xe.reportProgress&&(vt.addEventListener("progress",Re),null!==qt&&vt.upload&&vt.upload.addEventListener("progress",He)),vt.send(qt),ut.next({type:fe.Sent}),()=>{vt.removeEventListener("error",Qe),vt.removeEventListener("abort",Qe),vt.removeEventListener("load",je),vt.removeEventListener("timeout",Qe),xe.reportProgress&&(vt.removeEventListener("progress",Re),null!==qt&&vt.upload&&vt.upload.removeEventListener("progress",He)),vt.readyState!==vt.DONE&&vt.abort()}})}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(t.JF))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac}),ke})();const Ze=new o.OlP("XSRF_ENABLED"),oe="XSRF-TOKEN",J=new o.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>oe}),Te="X-XSRF-TOKEN",Pe=new o.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Te});class Ge{}let it=(()=>{class ke{constructor(xe,ut,vt){this.doc=xe,this.platform=ut,this.cookieName=vt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const xe=this.doc.cookie||"";return xe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,t.Mx)(xe,this.cookieName),this.lastCookieString=xe),this.lastToken}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(t.K0),o.LFG(o.Lbi),o.LFG(J))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac}),ke})();function yt(ke,ge){const xe=ke.url.toLowerCase();if(!(0,o.f3M)(Ze)||"GET"===ke.method||"HEAD"===ke.method||xe.startsWith("http://")||xe.startsWith("https://"))return ge(ke);const ut=(0,o.f3M)(Ge).getToken(),vt=(0,o.f3M)(Pe);return null!=ut&&!ke.headers.has(vt)&&(ke=ke.clone({headers:ke.headers.set(vt,ut)})),ge(ke)}let Ut=(()=>{class ke{constructor(xe){this.injector=xe}intercept(xe,ut){return this.injector.runInContext(()=>yt(xe,vt=>ut.handle(vt)))}}return ke.\u0275fac=function(xe){return new(xe||ke)(o.LFG(o.lqb))},ke.\u0275prov=o.Yz7({token:ke,factory:ke.\u0275fac}),ke})();var $t=(()=>(($t=$t||{})[$t.Interceptors=0]="Interceptors",$t[$t.LegacyInterceptors=1]="LegacyInterceptors",$t[$t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",$t[$t.NoXsrfProtection=3]="NoXsrfProtection",$t[$t.JsonpSupport=4]="JsonpSupport",$t[$t.RequestsMadeViaParent=5]="RequestsMadeViaParent",$t))();function Je(ke,ge){return{\u0275kind:ke,\u0275providers:ge}}function et(...ke){const ge=[Se,Ae,Wt,{provide:T,useExisting:Wt},{provide:M,useExisting:Ae},{provide:gt,useValue:yt,multi:!0},{provide:Ze,useValue:!0},{provide:Ge,useClass:it}];for(const xe of ke)ge.push(...xe.\u0275providers);return(0,o.MR2)(ge)}const Vt=new o.OlP("LEGACY_INTERCEPTOR_FN");function jt({cookieName:ke,headerName:ge}){const xe=[];return void 0!==ke&&xe.push({provide:J,useValue:ke}),void 0!==ge&&xe.push({provide:Pe,useValue:ge}),Je($t.CustomXsrfConfiguration,xe)}let P=(()=>{class ke{static disable(){return{ngModule:ke,providers:[Je($t.NoXsrfProtection,[{provide:Ze,useValue:!1}]).\u0275providers]}}static withOptions(xe={}){return{ngModule:ke,providers:jt(xe).\u0275providers}}}return ke.\u0275fac=function(xe){return new(xe||ke)},ke.\u0275mod=o.oAB({type:ke}),ke.\u0275inj=o.cJS({providers:[Ut,{provide:ot,useExisting:Ut,multi:!0},{provide:Ge,useClass:it},jt({cookieName:oe,headerName:Te}).\u0275providers,{provide:Ze,useValue:!0}]}),ke})(),K=(()=>{class ke{}return ke.\u0275fac=function(xe){return new(xe||ke)},ke.\u0275mod=o.oAB({type:ke}),ke.\u0275inj=o.cJS({providers:[et(Je($t.LegacyInterceptors,[{provide:Vt,useFactory:Dt},{provide:gt,useExisting:Vt,multi:!0}]),jt({cookieName:oe,headerName:Te}))]}),ke})(),ze=(()=>{class ke{}return ke.\u0275fac=function(xe){return new(xe||ke)},ke.\u0275mod=o.oAB({type:ke}),ke.\u0275inj=o.cJS({providers:[Je($t.JsonpSupport,[zn,{provide:sn,useFactory:Dn},{provide:gt,useValue:Yt,multi:!0}]).\u0275providers]}),ke})()},4650:(Et,Me,a)=>{a.d(Me,{$8M:()=>qc,$WT:()=>ui,$Z:()=>fr,AFp:()=>bf,ALo:()=>V3,AaK:()=>T,Akn:()=>Su,AsE:()=>y2,B6R:()=>Sn,BQk:()=>d,CHM:()=>pa,CRH:()=>q3,CZH:()=>Z4,Ckj:()=>iu,CqO:()=>It,D6c:()=>Tg,DdM:()=>D3,Dn7:()=>Y3,DyG:()=>Fs,EEQ:()=>Mi,EJc:()=>km,EiD:()=>ou,EpF:()=>y,F$t:()=>ua,F4k:()=>ht,FYo:()=>q1,FiY:()=>Ns,G48:()=>ig,Gf:()=>J3,GfV:()=>zp,GkF:()=>c,Gpc:()=>O,Gre:()=>A0,GuJ:()=>ce,Hsn:()=>u2,Ikx:()=>C2,JOm:()=>Qi,JVY:()=>ll,JZr:()=>I,Jf7:()=>nd,KtG:()=>wi,L6k:()=>Od,LAX:()=>El,LFG:()=>ze,LSH:()=>ru,Lbi:()=>Am,Lck:()=>R8,MAs:()=>N4,MGl:()=>L4,MMx:()=>w2,MR2:()=>Vp,NdJ:()=>Mn,O4$:()=>kr,OlP:()=>No,Oqu:()=>_2,P3R:()=>Fd,PXZ:()=>qm,Q6J:()=>Bh,QGY:()=>ie,QbO:()=>Fm,Qsj:()=>X1,R0b:()=>Bl,RDi:()=>Ys,Rgc:()=>Jh,SBq:()=>Fl,Sil:()=>Vm,Suo:()=>K3,TTD:()=>Hi,TgZ:()=>fh,Tol:()=>_0,Udp:()=>m2,UuU:()=>ic,VKq:()=>O3,W1O:()=>nf,WD2:()=>vs,WFA:()=>Rn,WLB:()=>w3,X6Q:()=>og,XFs:()=>oe,Xpm:()=>nn,Xts:()=>Yc,Y36:()=>ca,YKP:()=>y3,YNc:()=>hh,Yjl:()=>ko,Yz7:()=>_t,Z0I:()=>sn,ZZ4:()=>e0,_Bn:()=>_3,_UZ:()=>bu,_Vd:()=>cu,_c5:()=>Cg,_uU:()=>E0,aQg:()=>t0,c2e:()=>Nm,cJS:()=>ct,cg1:()=>T2,d8E:()=>z2,dDg:()=>Wm,dqk:()=>yt,dwT:()=>V6,eBb:()=>ul,eFA:()=>kf,ekj:()=>g2,eoX:()=>Ff,f3M:()=>ke,g9A:()=>Sf,gM2:()=>$3,h0i:()=>_h,hGG:()=>zg,hij:()=>V4,iGM:()=>Z3,ifc:()=>Re,ip1:()=>Mf,jDz:()=>z3,kEZ:()=>P3,kL8:()=>$0,l5B:()=>I3,lG2:()=>Wo,lcZ:()=>B3,lqb:()=>Pl,lri:()=>If,mCW:()=>ra,n5z:()=>_l,n_E:()=>U4,oAB:()=>$n,oJD:()=>bi,oxw:()=>Vl,pB0:()=>dl,q3G:()=>kn,qLn:()=>lu,qOj:()=>Cu,qZA:()=>Mu,qbA:()=>A3,qzn:()=>ia,rWj:()=>Af,s9C:()=>d2,sBO:()=>rg,sIi:()=>Ap,s_b:()=>G4,soG:()=>J4,tBr:()=>ya,tb:()=>xf,tp0:()=>Ls,uIk:()=>g1,vHH:()=>w,vpe:()=>_1,wAp:()=>Eo,xi3:()=>H3,xp6:()=>Rl,ynx:()=>f,z2F:()=>K4,z3N:()=>ec,zSh:()=>t1,zs3:()=>Ot});var t=a(7579),o=a(727),g=a(9751),l=a(6451),s=a(3099);function L(n){for(let i in n)if(n[i]===L)return i;throw Error("Could not find renamed property on target object.")}function R(n,i){for(const r in i)i.hasOwnProperty(r)&&!n.hasOwnProperty(r)&&(n[r]=i[r])}function T(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(T).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const i=n.toString();if(null==i)return""+i;const r=i.indexOf("\n");return-1===r?i:i.substring(0,r)}function M(n,i){return null==n||""===n?null===i?"":i:null==i||""===i?n:n+" "+i}const E=L({__forward_ref__:L});function O(n){return n.__forward_ref__=O,n.toString=function(){return T(this())},n}function F(n){return V(n)?n():n}function V(n){return"function"==typeof n&&n.hasOwnProperty(E)&&n.__forward_ref__===O}function S(n){return n&&!!n.\u0275providers}const I="https://g.co/ng/security#xss";class w extends Error{constructor(i,r){super(function pe(n,i){return`NG0${Math.abs(n)}${i?": "+i.trim():""}`}(i,r)),this.code=i}}function ae(n){return"string"==typeof n?n:null==n?"":String(n)}function Y(n,i){throw new w(-201,!1)}function gt(n,i){null==n&&function Dt(n,i,r,u){throw new Error(`ASSERTION ERROR: ${n}`+(null==u?"":` [Expected=> ${r} ${u} ${i} <=Actual]`))}(i,n,null,"!=")}function _t(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function ct(n){return{providers:n.providers||[],imports:n.imports||[]}}function Rt(n){return Dn(n,Ye)||Dn(n,Ae)}function sn(n){return null!==Rt(n)}function Dn(n,i){return n.hasOwnProperty(i)?n[i]:null}function xt(n){return n&&(n.hasOwnProperty($e)||n.hasOwnProperty(Ze))?n[$e]:null}const Ye=L({\u0275prov:L}),$e=L({\u0275inj:L}),Ae=L({ngInjectableDef:L}),Ze=L({ngInjectorDef:L});var oe=(()=>((oe=oe||{})[oe.Default=0]="Default",oe[oe.Host=1]="Host",oe[oe.Self=2]="Self",oe[oe.SkipSelf=4]="SkipSelf",oe[oe.Optional=8]="Optional",oe))();let J;function Pe(n){const i=J;return J=n,i}function Ge(n,i,r){const u=Rt(n);return u&&"root"==u.providedIn?void 0===u.value?u.value=u.factory():u.value:r&oe.Optional?null:void 0!==i?i:void Y(T(n))}const yt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),et={},pt="__NG_DI_FLAG__",Vt="ngTempTokenPath",jt=/\n/gm,We="__source";let j;function P(n){const i=j;return j=n,i}function K(n,i=oe.Default){if(void 0===j)throw new w(-203,!1);return null===j?Ge(n,void 0,i):j.get(n,i&oe.Optional?null:void 0,i)}function ze(n,i=oe.Default){return(function Te(){return J}()||K)(F(n),i)}function ke(n,i=oe.Default){return ze(n,ge(i))}function ge(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function xe(n){const i=[];for(let r=0;r((je=je||{})[je.OnPush=0]="OnPush",je[je.Default=1]="Default",je))(),Re=(()=>{return(n=Re||(Re={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Re;var n})();const He={},Ie=[],he=L({\u0275cmp:L}),we=L({\u0275dir:L}),ce=L({\u0275pipe:L}),nt=L({\u0275mod:L}),be=L({\u0275fac:L}),rt=L({__NG_ELEMENT_ID__:L});let Zt=0;function nn(n){return tn(()=>{const r=!0===n.standalone,u={},m={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:u,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===je.OnPush,directiveDefs:null,pipeDefs:null,standalone:r,dependencies:r&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Ie,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||Re.Emulated,id:"c"+Zt++,styles:n.styles||Ie,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},_=n.dependencies,x=n.features;return m.inputs=co(n.inputs,u),m.outputs=co(n.outputs),x&&x.forEach(Q=>Q(m)),m.directiveDefs=_?()=>("function"==typeof _?_():_).map(jn).filter(Un):null,m.pipeDefs=_?()=>("function"==typeof _?_():_).map(Po).filter(Un):null,m})}function Sn(n,i,r){const u=n.\u0275cmp;u.directiveDefs=()=>("function"==typeof i?i():i).map(jn),u.pipeDefs=()=>("function"==typeof r?r():r).map(Po)}function jn(n){return po(n)||Go(n)}function Un(n){return null!==n}function $n(n){return tn(()=>({type:n.type,bootstrap:n.bootstrap||Ie,declarations:n.declarations||Ie,imports:n.imports||Ie,exports:n.exports||Ie,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function co(n,i){if(null==n)return He;const r={};for(const u in n)if(n.hasOwnProperty(u)){let m=n[u],_=m;Array.isArray(m)&&(_=m[1],m=m[0]),r[m]=u,i&&(i[m]=_)}return r}const Wo=nn;function ko(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function po(n){return n[he]||null}function Go(n){return n[we]||null}function Po(n){return n[ce]||null}function ui(n){const i=po(n)||Go(n)||Po(n);return null!==i&&i.standalone}function Ro(n,i){const r=n[nt]||null;if(!r&&!0===i)throw new Error(`Type ${T(n)} does not have '\u0275mod' property.`);return r}function xn(n){return Array.isArray(n)&&"object"==typeof n[1]}function Vn(n){return Array.isArray(n)&&!0===n[1]}function Zn(n){return 0!=(4&n.flags)}function ho(n){return n.componentOffset>-1}function uo(n){return 1==(1&n.flags)}function fo(n){return null!==n.template}function Zo(n){return 0!=(256&n[2])}function Li(n,i){return n.hasOwnProperty(be)?n[be]:null}class vs{constructor(i,r,u){this.previousValue=i,this.currentValue=r,this.firstChange=u}isFirstChange(){return this.firstChange}}function Hi(){return vr}function vr(n){return n.type.prototype.ngOnChanges&&(n.setInput=js),Ar}function Ar(){const n=da(this),i=n?.current;if(i){const r=n.previous;if(r===He)n.previous=i;else for(let u in i)r[u]=i[u];n.current=null,this.ngOnChanges(i)}}function js(n,i,r,u){const m=this.declaredInputs[r],_=da(n)||function Yi(n,i){return n[Xi]=i}(n,{previous:He,current:null}),x=_.current||(_.current={}),Q=_.previous,ue=Q[m];x[m]=new vs(ue&&ue.currentValue,i,Q===He),n[u]=i}Hi.ngInherit=!0;const Xi="__ngSimpleChanges__";function da(n){return n[Xi]||null}function Ne(n){for(;Array.isArray(n);)n=n[0];return n}function on(n,i){return Ne(i[n])}function wn(n,i){return Ne(i[n.index])}function to(n,i){return n.data[i]}function yo(n,i){return n[i]}function Jn(n,i){const r=i[n];return xn(r)?r:r[0]}function hi(n){return 64==(64&n[2])}function Oi(n,i){return null==i?null:n[i]}function $i(n){n[18]=0}function fi(n,i){n[5]+=i;let r=n,u=n[3];for(;null!==u&&(1===i&&1===r[5]||-1===i&&0===r[5]);)u[5]+=i,r=u,u=u[3]}const lo={lFrame:ss(null),bindingsEnabled:!0};function hn(){return lo.bindingsEnabled}function gn(){return lo.lFrame.lView}function mo(){return lo.lFrame.tView}function pa(n){return lo.lFrame.contextLView=n,n[8]}function wi(n){return lo.lFrame.contextLView=null,n}function ai(){let n=_s();for(;null!==n&&64===n.type;)n=n.parent;return n}function _s(){return lo.lFrame.currentTNode}function gi(n,i){const r=lo.lFrame;r.currentTNode=n,r.isParent=i}function os(){return lo.lFrame.isParent}function Pi(){lo.lFrame.isParent=!1}function ei(){const n=lo.lFrame;let i=n.bindingRootIndex;return-1===i&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function cr(){return lo.lFrame.bindingIndex++}function _i(n){const i=lo.lFrame,r=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,r}function Wc(n,i){const r=lo.lFrame;r.bindingIndex=r.bindingRootIndex=n,yr(i)}function yr(n){lo.lFrame.currentDirectiveIndex=n}function Nr(n){const i=lo.lFrame.currentDirectiveIndex;return-1===i?null:n[i]}function Cs(){return lo.lFrame.currentQueryIndex}function Lr(n){lo.lFrame.currentQueryIndex=n}function Zs(n){const i=n[1];return 2===i.type?i.declTNode:1===i.type?n[6]:null}function Cr(n,i,r){if(r&oe.SkipSelf){let m=i,_=n;for(;!(m=m.parent,null!==m||r&oe.Host||(m=Zs(_),null===m||(_=_[15],10&m.type))););if(null===m)return!1;i=m,n=_}const u=lo.lFrame=rs();return u.currentTNode=i,u.lView=n,!0}function lc(n){const i=rs(),r=n[1];lo.lFrame=i,i.currentTNode=r.firstChild,i.lView=n,i.tView=r,i.contextLView=n,i.bindingIndex=r.bindingStartIndex,i.inI18n=!1}function rs(){const n=lo.lFrame,i=null===n?null:n.child;return null===i?ss(n):i}function ss(n){const i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=i),i}function zs(){const n=lo.lFrame;return lo.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const uc=zs;function ki(){const n=zs();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Ui(){return lo.lFrame.selectedIndex}function er(n){lo.lFrame.selectedIndex=n}function ci(){const n=lo.lFrame;return to(n.tView,n.selectedIndex)}function kr(){lo.lFrame.currentNamespace="svg"}function Ve(n,i){for(let r=i.directiveStart,u=i.directiveEnd;r=u)break}else i[ue]<0&&(n[18]+=65536),(Q<_||-1==_)&&(yn(n,r,i,ue),n[18]=(4294901760&n[18])+ue+2),ue++}function yn(n,i,r,u){const m=r[u]<0,_=r[u+1],Q=n[m?-r[u]:r[u]];if(m){if(n[2]>>11>16&&(3&n[2])===i){n[2]+=2048;try{_.call(Q)}finally{}}}else try{_.call(Q)}finally{}}class Ao{constructor(i,r,u){this.factory=i,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=u}}function Ri(n,i,r){let u=0;for(;ui){x=_-1;break}}}for(;_>16}(n),u=i;for(;r>0;)u=u[15],r--;return u}let Zc=!0;function bs(n){const i=Zc;return Zc=n,i}let cs=0;const nr={};function Rr(n,i){const r=or(n,i);if(-1!==r)return r;const u=i[1];u.firstCreatePass&&(n.injectorIndex=i.length,dr(u.data,n),dr(i,null),dr(u.blueprint,null));const m=ir(n,i),_=n.injectorIndex;if(pc(m)){const x=Ts(m),Q=Ms(m,i),ue=Q[1].data;for(let Le=0;Le<8;Le++)i[_+Le]=Q[x+Le]|ue[x+Le]}return i[_+8]=m,_}function dr(n,i){n.push(0,0,0,0,0,0,0,0,i)}function or(n,i){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===i[n.injectorIndex+8]?-1:n.injectorIndex}function ir(n,i){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let r=0,u=null,m=i;for(;null!==m;){if(u=Wr(m),null===u)return-1;if(r++,m=m[15],-1!==u.injectorIndex)return u.injectorIndex|r<<16}return-1}function Ia(n,i,r){!function ma(n,i,r){let u;"string"==typeof r?u=r.charCodeAt(0)||0:r.hasOwnProperty(rt)&&(u=r[rt]),null==u&&(u=r[rt]=cs++);const m=255&u;i.data[n+(m>>5)]|=1<=0?255&i:ws:i}(r);if("function"==typeof _){if(!Cr(i,n,u))return u&oe.Host?Kc(m,0,u):ls(i,r,u,m);try{const x=_(u);if(null!=x||u&oe.Optional)return x;Y()}finally{uc()}}else if("number"==typeof _){let x=null,Q=or(n,i),ue=-1,Le=u&oe.Host?i[16][6]:null;for((-1===Q||u&oe.SkipSelf)&&(ue=-1===Q?ir(n,i):i[Q+8],-1!==ue&&ga(u,!1)?(x=i[1],Q=Ts(ue),i=Ms(ue,i)):Q=-1);-1!==Q;){const st=i[1];if(Fa(_,Q,st.data)){const bt=Iu(Q,i,r,x,u,Le);if(bt!==nr)return bt}ue=i[Q+8],-1!==ue&&ga(u,i[1].data[Q+8]===Le)&&Fa(_,Q,i)?(x=st,Q=Ts(ue),i=Ms(ue,i)):Q=-1}}return m}function Iu(n,i,r,u,m,_){const x=i[1],Q=x.data[n+8],st=Ds(Q,x,r,null==u?ho(Q)&&Zc:u!=x&&0!=(3&Q.type),m&oe.Host&&_===Q);return null!==st?rr(i,x,st,Q):nr}function Ds(n,i,r,u,m){const _=n.providerIndexes,x=i.data,Q=1048575&_,ue=n.directiveStart,st=_>>20,Jt=m?Q+st:n.directiveEnd;for(let cn=u?Q:Q+st;cn=ue&&Cn.type===r)return cn}if(m){const cn=x[ue];if(cn&&fo(cn)&&cn.type===r)return ue}return null}function rr(n,i,r,u){let m=n[r];const _=i.data;if(function Fo(n){return n instanceof Ao}(m)){const x=m;x.resolving&&function U(n,i){const r=i?`. Dependency path: ${i.join(" > ")} > ${n}`:"";throw new w(-200,`Circular dependency in DI detected for ${n}${r}`)}(function Z(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():ae(n)}(_[r]));const Q=bs(x.canSeeViewProviders);x.resolving=!0;const ue=x.injectImpl?Pe(x.injectImpl):null;Cr(n,u,oe.Default);try{m=n[r]=x.factory(void 0,_,n,u),i.firstCreatePass&&r>=u.directiveStart&&function ne(n,i,r){const{ngOnChanges:u,ngOnInit:m,ngDoCheck:_}=i.type.prototype;if(u){const x=vr(i);(r.preOrderHooks||(r.preOrderHooks=[])).push(n,x),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(n,x)}m&&(r.preOrderHooks||(r.preOrderHooks=[])).push(0-n,m),_&&((r.preOrderHooks||(r.preOrderHooks=[])).push(n,_),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(n,_))}(r,_[r],i)}finally{null!==ue&&Pe(ue),bs(Q),x.resolving=!1,uc()}}return m}function Fa(n,i,r){return!!(r[i+(n>>5)]&1<{const i=n.prototype.constructor,r=i[be]||Na(i),u=Object.prototype;let m=Object.getPrototypeOf(n.prototype).constructor;for(;m&&m!==u;){const _=m[be]||Na(m);if(_&&_!==r)return _;m=Object.getPrototypeOf(m)}return _=>new _})}function Na(n){return V(n)?()=>{const i=Na(F(n));return i&&i()}:Li(n)}function Wr(n){const i=n[1],r=i.type;return 2===r?i.declTNode:1===r?n[6]:null}function qc(n){return function xs(n,i){if("class"===i)return n.classes;if("style"===i)return n.styles;const r=n.attrs;if(r){const u=r.length;let m=0;for(;m{const u=function Js(n){return function(...r){if(n){const u=n(...r);for(const m in u)this[m]=u[m]}}}(i);function m(..._){if(this instanceof m)return u.apply(this,_),this;const x=new m(..._);return Q.annotation=x,Q;function Q(ue,Le,st){const bt=ue.hasOwnProperty(La)?ue[La]:Object.defineProperty(ue,La,{value:[]})[La];for(;bt.length<=st;)bt.push(null);return(bt[st]=bt[st]||[]).push(x),ue}}return r&&(m.prototype=Object.create(r.prototype)),m.prototype.ngMetadataName=n,m.annotationCls=m,m})}class No{constructor(i,r){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof r?this.__NG_ELEMENT_ID__=r:void 0!==r&&(this.\u0275prov=_t({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Fs=Function;function b(n,i){n.forEach(r=>Array.isArray(r)?b(r,i):i(r))}function re(n,i,r){i>=n.length?n.push(r):n.splice(i,0,r)}function De(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function tt(n,i){const r=[];for(let u=0;u=0?n[1|u]=r:(u=~u,function vn(n,i,r,u){let m=n.length;if(m==i)n.push(r,u);else if(1===m)n.push(u,n[0]),n[0]=r;else{for(m--,n.push(n[m-1],n[m]);m>i;)n[m]=n[m-2],m--;n[i]=r,n[i+1]=u}}(n,u,i,r)),u}function Yo(n,i){const r=ti(n,i);if(r>=0)return n[1|r]}function ti(n,i){return function Ii(n,i,r){let u=0,m=n.length>>r;for(;m!==u;){const _=u+(m-u>>1),x=n[_<i?m=_:u=_+1}return~(m<({token:n})),-1),Ns=ut(ka("Optional"),8),Ls=ut(ka("SkipSelf"),4);var Qi=(()=>((Qi=Qi||{})[Qi.Important=1]="Important",Qi[Qi.DashCase=2]="DashCase",Qi))();const Ml=new Map;let yc=0;function Bu(n){return Ml.get(n)||null}class O1{get lView(){return Bu(this.lViewId)}constructor(i,r,u){this.lViewId=i,this.nodeIndex=r,this.native=u}}function Mi(n){let i=rl(n);if(i){if(xn(i)){const r=i;let u,m,_;if(Ql(n)){if(u=function Yu(n,i){const r=n[1].components;if(r)for(let u=0;u=0){const Q=Ne(_[x]),ue=jl(_,x,Q);li(Q,ue),i=ue;break}}}}return i||null}function jl(n,i,r){return new O1(n[20],i,r)}const Gl="__ngContext__";function li(n,i){xn(i)?(n[Gl]=i[20],function Cc(n){Ml.set(n[20],n)}(i)):n[Gl]=i}function rl(n){const i=n[Gl];return"number"==typeof i?Bu(i):i||null}function Ql(n){return n&&n.constructor&&n.constructor.\u0275cmp}function Hu(n,i){const r=n[1];for(let u=22;u0&&(n[r-1][4]=u[4]);const _=De(n,10+i);!function Dc(n,i){Bs(n,i,i[11],2,null,null),i[0]=null,i[6]=null}(u[1],u);const x=_[19];null!==x&&x.detachView(_[1]),u[3]=null,u[4]=null,u[2]&=-65}return u}function Ga(n,i){if(!(128&i[2])){const r=i[11];r.destroyNode&&Bs(n,i,r,3,null,null),function A1(n){let i=n[13];if(!i)return ql(n[1],n);for(;i;){let r=null;if(xn(i))r=i[13];else{const u=i[10];u&&(r=u)}if(!r){for(;i&&!i[4]&&i!==n;)xn(i)&&ql(i[1],i),i=i[3];null===i&&(i=n),xn(i)&&ql(i[1],i),r=i&&i[4]}i=r}}(i)}}function ql(n,i){if(!(128&i[2])){i[2]&=-65,i[2]|=128,function N1(n,i){let r;if(null!=n&&null!=(r=n.destroyHooks))for(let u=0;u=0?u[m=x]():u[m=-x].unsubscribe(),_+=2}else{const x=u[m=r[_+1]];r[_].call(x)}if(null!==u){for(let _=m+1;_-1){const{encapsulation:_}=n.data[u.directiveStart+m];if(_===Re.None||_===Re.Emulated)return null}return wn(u,r)}}(n,i.parent,r)}function Wi(n,i,r,u,m){n.insertBefore(i,r,u,m)}function ju(n,i,r){n.appendChild(i,r)}function Qa(n,i,r,u,m){null!==u?Wi(n,i,r,u,m):ju(n,i,r)}function bl(n,i){return n.parentNode(i)}function Ic(n,i,r){return Ma(n,i,r)}let oa,nu,$r,Ma=function Wa(n,i,r){return 40&n.type?wn(n,r):null};function na(n,i,r,u){const m=Xr(n,u,i),_=i[11],Q=Ic(u.parent||i[6],u,i);if(null!=m)if(Array.isArray(r))for(let ue=0;uen,createScript:n=>n,createScriptURL:n=>n})}catch{}return oa}()?.createHTML(n)||n}function Ys(n){nu=n}function Sa(){if(void 0===$r&&($r=null,yt.trustedTypes))try{$r=yt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return $r}function xa(n){return Sa()?.createHTML(n)||n}function Ka(n){return Sa()?.createScriptURL(n)||n}class qa{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${I})`}}class Lc extends qa{getTypeName(){return"HTML"}}class B1 extends qa{getTypeName(){return"Style"}}class kc extends qa{getTypeName(){return"Script"}}class H1 extends qa{getTypeName(){return"URL"}}class Xa extends qa{getTypeName(){return"ResourceURL"}}function ec(n){return n instanceof qa?n.changingThisBreaksApplicationSecurity:n}function ia(n,i){const r=function Dd(n){return n instanceof qa&&n.getTypeName()||null}(n);if(null!=r&&r!==i){if("ResourceURL"===r&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${r} (see ${I})`)}return r===i}function ll(n){return new Lc(n)}function Od(n){return new B1(n)}function ul(n){return new kc(n)}function El(n){return new H1(n)}function dl(n){return new Xa(n)}class pl{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i=""+i;try{const r=(new window.DOMParser).parseFromString(xr(i),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(i):(r.removeChild(r.firstChild),r)}catch{return null}}}class wd{constructor(i){if(this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const r=this.inertDocument.createElement("html");this.inertDocument.appendChild(r);const u=this.inertDocument.createElement("body");r.appendChild(u)}}getInertBodyElement(i){const r=this.inertDocument.createElement("template");if("content"in r)return r.innerHTML=xr(i),r;const u=this.inertDocument.createElement("body");return u.innerHTML=xr(i),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(u),u}stripCustomNsAttrs(i){const r=i.attributes;for(let m=r.length-1;0"),!0}endElement(i){const r=i.nodeName.toLowerCase();Xu.hasOwnProperty(r)&&!Ku.hasOwnProperty(r)&&(this.buf.push(""))}chars(i){this.buf.push(G(i))}checkClobberedElement(i,r){if(r&&(i.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`);return r}}const hl=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ee=/([^\#-~ |!])/g;function G(n){return n.replace(/&/g,"&").replace(hl,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(ee,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}let U1;function ou(n,i){let r=null;try{U1=U1||function Y1(n){const i=new wd(n);return function Rc(){try{return!!(new window.DOMParser).parseFromString(xr(""),"text/html")}catch{return!1}}()?new pl(i):i}(n);let u=i?String(i):"";r=U1.getInertBodyElement(u);let m=5,_=u;do{if(0===m)throw new Error("Failed to sanitize html because the input is unstable");m--,u=_,_=r.innerHTML,r=U1.getInertBodyElement(u)}while(u!==_);return xr((new Id).sanitizeChildren(wl(r)||r))}finally{if(r){const u=wl(r)||r;for(;u.firstChild;)u.removeChild(u.firstChild)}}}function wl(n){return"content"in n&&function lp(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var kn=(()=>((kn=kn||{})[kn.NONE=0]="NONE",kn[kn.HTML=1]="HTML",kn[kn.STYLE=2]="STYLE",kn[kn.SCRIPT=3]="SCRIPT",kn[kn.URL=4]="URL",kn[kn.RESOURCE_URL=5]="RESOURCE_URL",kn))();function bi(n){const i=Hc();return i?xa(i.sanitize(kn.HTML,n)||""):ia(n,"HTML")?xa(ec(n)):ou(function Zu(){return void 0!==nu?nu:typeof document<"u"?document:void 0}(),ae(n))}function iu(n){const i=Hc();return i?i.sanitize(kn.STYLE,n)||"":ia(n,"Style")?ec(n):ae(n)}function ru(n){const i=Hc();return i?i.sanitize(kn.URL,n)||"":ia(n,"URL")?ec(n):ra(ae(n))}function j1(n){const i=Hc();if(i)return Ka(i.sanitize(kn.RESOURCE_URL,n)||"");if(ia(n,"ResourceURL"))return Ka(ec(n));throw new w(904,!1)}function Fd(n,i,r){return function Ad(n,i){return"src"===i&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===i&&("base"===n||"link"===n)?j1:ru}(i,r)(n)}function Hc(){const n=gn();return n&&n[12]}const Yc=new No("ENVIRONMENT_INITIALIZER"),G1=new No("INJECTOR",-1),$c=new No("INJECTOR_DEF_TYPES");class pp{get(i,r=et){if(r===et){const u=new Error(`NullInjectorError: No provider for ${T(i)}!`);throw u.name="NullInjectorError",u}return r}}function Vp(n){return{\u0275providers:n}}function Nd(...n){return{\u0275providers:Q1(0,n),\u0275fromNgModule:!0}}function Q1(n,...i){const r=[],u=new Set;let m;return b(i,_=>{const x=_;su(x,r,[],u)&&(m||(m=[]),m.push(x))}),void 0!==m&&so(m,r),r}function so(n,i){for(let r=0;r{i.push(_)})}}function su(n,i,r,u){if(!(n=F(n)))return!1;let m=null,_=xt(n);const x=!_&&po(n);if(_||x){if(x&&!x.standalone)return!1;m=n}else{const ue=n.ngModule;if(_=xt(ue),!_)return!1;m=ue}const Q=u.has(m);if(x){if(Q)return!1;if(u.add(m),x.dependencies){const ue="function"==typeof x.dependencies?x.dependencies():x.dependencies;for(const Le of ue)su(Le,i,r,u)}}else{if(!_)return!1;{if(null!=_.imports&&!Q){let Le;u.add(m);try{b(_.imports,st=>{su(st,i,r,u)&&(Le||(Le=[]),Le.push(st))})}finally{}void 0!==Le&&so(Le,i)}if(!Q){const Le=Li(m)||(()=>new m);i.push({provide:m,useFactory:Le,deps:Ie},{provide:$c,useValue:m,multi:!0},{provide:Yc,useValue:()=>ze(m),multi:!0})}const ue=_.providers;null==ue||Q||W1(ue,st=>{i.push(st)})}}return m!==n&&void 0!==n.providers}function W1(n,i){for(let r of n)S(r)&&(r=r.\u0275providers),Array.isArray(r)?W1(r,i):i(r)}const e1=L({provide:String,useValue:L});function au(n){return null!==n&&"object"==typeof n&&e1 in n}function hs(n){return"function"==typeof n}const t1=new No("Set Injector scope."),fl={},ml={};let Z1;function J1(){return void 0===Z1&&(Z1=new pp),Z1}class Pl{}class fp extends Pl{get destroyed(){return this._destroyed}constructor(i,r,u,m){super(),this.parent=r,this.source=u,this.scopes=m,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,K1(i,x=>this.processProvider(x)),this.records.set(G1,oc(void 0,this)),m.has("environment")&&this.records.set(Pl,oc(void 0,this));const _=this.records.get(t1);null!=_&&"string"==typeof _.value&&this.scopes.add(_.value),this.injectorDefTypes=new Set(this.get($c.multi,Ie,oe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();for(const i of this._onDestroyHooks)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(i){this._onDestroyHooks.push(i)}runInContext(i){this.assertNotDestroyed();const r=P(this),u=Pe(void 0);try{return i()}finally{P(r),Pe(u)}}get(i,r=et,u=oe.Default){this.assertNotDestroyed(),u=ge(u);const m=P(this),_=Pe(void 0);try{if(!(u&oe.SkipSelf)){let Q=this.records.get(i);if(void 0===Q){const ue=function Il(n){return"function"==typeof n||"object"==typeof n&&n instanceof No}(i)&&Rt(i);Q=ue&&this.injectableDefInScope(ue)?oc(kd(i),fl):null,this.records.set(i,Q)}if(null!=Q)return this.hydrate(i,Q)}return(u&oe.Self?J1():this.parent).get(i,r=u&oe.Optional&&r===et?null:r)}catch(x){if("NullInjectorError"===x.name){if((x[Vt]=x[Vt]||[]).unshift(T(i)),m)throw x;return function qt(n,i,r,u){const m=n[Vt];throw i[We]&&m.unshift(i[We]),n.message=function Ct(n,i,r,u=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let m=T(i);if(Array.isArray(i))m=i.map(T).join(" -> ");else if("object"==typeof i){let _=[];for(let x in i)if(i.hasOwnProperty(x)){let Q=i[x];_.push(x+":"+("string"==typeof Q?JSON.stringify(Q):T(Q)))}m=`{${_.join(", ")}}`}return`${r}${u?"("+u+")":""}[${m}]: ${n.replace(jt,"\n ")}`}("\n"+n.message,m,r,u),n.ngTokenPath=m,n[Vt]=null,n}(x,i,"R3InjectorError",this.source)}throw x}finally{Pe(_),P(m)}}resolveInjectorInitializers(){const i=P(this),r=Pe(void 0);try{const u=this.get(Yc.multi,Ie,oe.Self);for(const m of u)m()}finally{P(i),Pe(r)}}toString(){const i=[],r=this.records;for(const u of r.keys())i.push(T(u));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(i){let r=hs(i=F(i))?i:F(i&&i.provide);const u=function Hp(n){return au(n)?oc(void 0,n.useValue):oc(gp(n),fl)}(i);if(hs(i)||!0!==i.multi)this.records.get(r);else{let m=this.records.get(r);m||(m=oc(void 0,fl,!0),m.factory=()=>xe(m.multi),this.records.set(r,m)),r=i,m.multi.push(i)}this.records.set(r,u)}hydrate(i,r){return r.value===fl&&(r.value=ml,r.value=r.factory()),"object"==typeof r.value&&r.value&&function Rd(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(i){if(!i.providedIn)return!1;const r=F(i.providedIn);return"string"==typeof r?"any"===r||this.scopes.has(r):this.injectorDefTypes.has(r)}}function kd(n){const i=Rt(n),r=null!==i?i.factory:Li(n);if(null!==r)return r;if(n instanceof No)throw new w(204,!1);if(n instanceof Function)return function mp(n){const i=n.length;if(i>0)throw tt(i,"?"),new w(204,!1);const r=function zn(n){const i=n&&(n[Ye]||n[Ae]);if(i){const r=function Yt(n){if(n.hasOwnProperty("name"))return n.name;const i=(""+n).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${r}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${r}" class.`),i}return null}(n);return null!==r?()=>r.factory(n):()=>new n}(n);throw new w(204,!1)}function gp(n,i,r){let u;if(hs(n)){const m=F(n);return Li(m)||kd(m)}if(au(n))u=()=>F(n.useValue);else if(function Ld(n){return!(!n||!n.useFactory)}(n))u=()=>n.useFactory(...xe(n.deps||[]));else if(function nc(n){return!(!n||!n.useExisting)}(n))u=()=>ze(F(n.useExisting));else{const m=F(n&&(n.useClass||n.provide));if(!function vp(n){return!!n.deps}(n))return Li(m)||kd(m);u=()=>new m(...xe(n.deps))}return u}function oc(n,i,r=!1){return{factory:n,value:i,multi:r?[]:void 0}}function K1(n,i){for(const r of n)Array.isArray(r)?K1(r,i):r&&S(r)?K1(r.\u0275providers,i):i(r)}class ic{}class Vd{}class Bd{resolveComponentFactory(i){throw function Or(n){const i=Error(`No component factory found for ${T(n)}. Did you add it to @NgModule.entryComponents?`);return i.ngComponent=n,i}(i)}}let cu=(()=>{class n{}return n.NULL=new Bd,n})();function _p(){return Al(ai(),gn())}function Al(n,i){return new Fl(wn(n,i))}let Fl=(()=>{class n{constructor(r){this.nativeElement=r}}return n.__NG_ELEMENT_ID__=_p,n})();function yp(n){return n instanceof Fl?n.nativeElement:n}class q1{}let X1=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Cp(){const n=gn(),r=Jn(ai().index,n);return(xn(r)?r:n)[11]}(),n})(),vl=(()=>{class n{}return n.\u0275prov=_t({token:n,providedIn:"root",factory:()=>null}),n})();class zp{constructor(i){this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}}const Tp=new zp("15.1.0"),n1={};function td(n){return n.ngOriginalError}class lu{constructor(){this._console=console}handleError(i){const r=this._findOriginalError(i);this._console.error("ERROR",i),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(i){let r=i&&td(i);for(;r&&td(r);)r=td(r);return r||null}}function nd(n){return n.ownerDocument.defaultView}function rc(n){return n instanceof Function?n():n}function Qp(n,i,r){let u=n.length;for(;;){const m=n.indexOf(i,r);if(-1===m)return m;if(0===m||n.charCodeAt(m-1)<=32){const _=i.length;if(m+_===u||n.charCodeAt(m+_)<=32)return m}r=m+1}}const Wp="ng-template";function bh(n,i,r){let u=0;for(;u_?"":m[bt+1].toLowerCase();const cn=8&u?Jt:null;if(cn&&-1!==Qp(cn,Le,0)||2&u&&Le!==Jt){if(Oa(u))return!1;x=!0}}}}else{if(!x&&!Oa(u)&&!Oa(ue))return!1;if(x&&Oa(ue))continue;x=!1,u=ue|1&u}}return Oa(u)||x}function Oa(n){return 0==(1&n)}function Jp(n,i,r,u){if(null===i)return-1;let m=0;if(u||!r){let _=!1;for(;m-1)for(r++;r0?'="'+Q+'"':"")+"]"}else 8&u?m+="."+x:4&u&&(m+=" "+x);else""!==m&&!Oa(x)&&(i+=Ep(_,m),m=""),u=x,_=_||!Oa(u);r++}return""!==m&&(i+=Ep(_,m)),i}const wo={};function Rl(n){z(mo(),gn(),Ui()+n,!1)}function z(n,i,r,u){if(!u)if(3==(3&i[2])){const _=n.preOrderCheckHooks;null!==_&&le(i,_,r)}else{const _=n.preOrderHooks;null!==_&&Ke(i,_,0,r)}er(r)}function mt(n,i=null,r=null,u){const m=Mt(n,i,r,u);return m.resolveInjectorInitializers(),m}function Mt(n,i=null,r=null,u,m=new Set){const _=[r||Ie,Nd(n)];return u=u||("object"==typeof n?void 0:T(n)),new fp(_,i||J1(),u||null,m)}let Ot=(()=>{class n{static create(r,u){if(Array.isArray(r))return mt({name:""},u,r,"");{const m=r.name??"";return mt({name:m},r.parent,r.providers,m)}}}return n.THROW_IF_NOT_FOUND=et,n.NULL=new pp,n.\u0275prov=_t({token:n,providedIn:"any",factory:()=>ze(G1)}),n.__NG_ELEMENT_ID__=-1,n})();function ca(n,i=oe.Default){const r=gn();return null===r?ze(n,i):Pu(ai(),r,F(n),i)}function fr(){throw new Error("invalid")}function Uc(n,i){const r=n.contentQueries;if(null!==r)for(let u=0;u22&&z(n,i,22,!1),r(u,m)}finally{er(_)}}function mu(n,i,r){if(Zn(i)){const m=i.directiveEnd;for(let _=i.directiveStart;_0;){const r=n[--i];if("number"==typeof r&&r<0)return r}return 0})(x)!=Q&&x.push(Q),x.push(r,u,_)}}(n,i,u,Yd(n,r,m.hostVars,wo),m)}function $s(n,i,r,u,m,_){const x=wn(n,i);!function ah(n,i,r,u,m,_,x){if(null==_)n.removeAttribute(i,m,r);else{const Q=null==x?ae(_):x(_,u||"",m);n.setAttribute(i,m,Q,r)}}(i[11],x,_,n.value,r,u,m)}function ld(n,i,r,u,m,_){const x=_[i];if(null!==x){const Q=u.setInput;for(let ue=0;ue0&&vu(r)}}function vu(n){for(let u=Hr(n);null!==u;u=Zl(u))for(let m=10;m0&&vu(_)}const r=n[1].components;if(null!==r)for(let u=0;u0&&vu(m)}}function v4(n,i){const r=Jn(i,n),u=r[1];(function dd(n,i){for(let r=i.length;r-1&&(Kl(i,u),De(r,u))}this._attachedToViewContainer=!1}Ga(this._lView[1],this._lView)}onDestroy(i){xh(this._lView[1],this._lView,null,i)}markForCheck(){_u(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){wp(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ta(n,i){Bs(n,i,i[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=i}}class _4 extends Ud{constructor(i){super(i),this._view=i}detectChanges(){const i=this._view;wp(i[1],i,i[8],!1)}checkNoChanges(){}get context(){return null}}class Nh extends cu{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const r=po(i);return new jd(r,this.ngModule)}}function Lh(n){const i=[];for(let r in n)n.hasOwnProperty(r)&&i.push({propName:n[r],templateName:r});return i}class u1{constructor(i,r){this.injector=i,this.parentInjector=r}get(i,r,u){u=ge(u);const m=this.injector.get(i,n1,u);return m!==n1||r===n1?m:this.parentInjector.get(i,r,u)}}class jd extends Vd{get inputs(){return Lh(this.componentDef.inputs)}get outputs(){return Lh(this.componentDef.outputs)}constructor(i,r){super(),this.componentDef=i,this.ngModule=r,this.componentType=i.type,this.selector=function fu(n){return n.map(hu).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!r}create(i,r,u,m){let _=(m=m||this.ngModule)instanceof Pl?m:m?.injector;_&&null!==this.componentDef.getStandaloneInjector&&(_=this.componentDef.getStandaloneInjector(_)||_);const x=_?new u1(i,_):i,Q=x.get(q1,null);if(null===Q)throw new w(407,!1);const ue=x.get(vl,null),Le=Q.createRenderer(null,this.componentDef),st=this.componentDef.selectors[0][0]||"div",bt=u?function n4(n,i,r){return n.selectRootElement(i,r===Re.ShadowDom)}(Le,u,this.componentDef.encapsulation):Jl(Le,st,function y4(n){const i=n.toLowerCase();return"svg"===i?"svg":"math"===i?"math":null}(st)),Jt=this.componentDef.onPush?288:272,cn=ih(0,null,null,1,0,null,null,null,null,null),Cn=Dp(null,cn,null,Jt,null,null,Q,Le,ue,x,null);let Hn,Kn;lc(Cn);try{const ao=this.componentDef;let xo,An=null;ao.findHostDirectiveDefs?(xo=[],An=new Map,ao.findHostDirectiveDefs(ao,xo,An),xo.push(ao)):xo=[ao];const Lo=function C4(n,i){const r=n[1];return n[22]=i,rd(r,22,2,"#host",null)}(Cn,bt),ar=function z4(n,i,r,u,m,_,x,Q){const ue=m[1];!function T4(n,i,r,u){for(const m of n)i.mergedAttrs=ur(i.mergedAttrs,m.hostAttrs);null!==i.mergedAttrs&&(Pp(i,i.mergedAttrs,!0),null!==r&&tu(u,r,i))}(u,n,i,x);const Le=_.createRenderer(i,r),st=Dp(m,Sh(r),null,r.onPush?32:16,m[n.index],n,_,Le,Q||null,null,null);return ue.firstCreatePass&&sh(ue,n,u.length-1),Op(m,st),m[n.index]=st}(Lo,bt,ao,xo,Cn,Q,Le);Kn=to(cn,22),bt&&function M4(n,i,r,u){if(u)Ri(n,r,["ng-version",Tp.full]);else{const{attrs:m,classes:_}=function Xp(n){const i=[],r=[];let u=1,m=2;for(;u0&&Ja(n,r,_.join(" "))}}(Le,ao,bt,u),void 0!==r&&function fd(n,i,r){const u=n.projection=[];for(let m=0;m=0;u--){const m=n[u];m.hostVars=i+=m.hostVars,m.hostAttrs=ur(m.hostAttrs,r=ur(r,m.hostAttrs))}}(u)}function zu(n){return n===He?{}:n===Ie?[]:n}function b4(n,i){const r=n.viewQuery;n.viewQuery=r?(u,m)=>{i(u,m),r(u,m)}:i}function E4(n,i){const r=n.contentQueries;n.contentQueries=r?(u,m,_)=>{i(u,m,_),r(u,m,_)}:i}function uh(n,i){const r=n.hostBindings;n.hostBindings=r?(u,m)=>{i(u,m),r(u,m)}:i}let Tu=null;function p1(){if(!Tu){const n=yt.Symbol;if(n&&n.iterator)Tu=n.iterator;else{const i=Object.getOwnPropertyNames(Map.prototype);for(let r=0;rx(Ne(Lo[u.index])):u.index;let An=null;if(!x&&Q&&(An=function jo(n,i,r,u){const m=n.cleanup;if(null!=m)for(let _=0;_ue?Q[ue]:null}"string"==typeof x&&(_+=2)}return null}(n,i,m,u.index)),null!==An)(An.__ngLastListenerFn__||An).__ngNextListenerFn__=_,An.__ngLastListenerFn__=_,Jt=!1;else{_=Eu(u,i,st,_,!1);const Lo=r.listen(Kn,m,_);bt.push(_,Lo),Le&&Le.push(m,xo,ao,ao+1)}}else _=Eu(u,i,st,_,!1);const cn=u.outputs;let Cn;if(Jt&&null!==cn&&(Cn=cn[m])){const Hn=Cn.length;if(Hn)for(let Kn=0;Kn-1?Jn(n.index,i):i);let ue=ts(i,0,u,x),Le=_.__ngNextListenerFn__;for(;Le;)ue=ts(i,0,Le,x)&&ue,Le=Le.__ngNextListenerFn__;return m&&!1===ue&&(x.preventDefault(),x.returnValue=!1),ue}}function Vl(n=1){return function as(n){return(lo.lFrame.contextLView=function zr(n,i){for(;n>0;)i=i[15],n--;return i}(n,lo.lFrame.contextLView))[8]}(n)}function ms(n,i){let r=null;const u=function kl(n){const i=n.attrs;if(null!=i){const r=i.indexOf(5);if(!(1&r))return i[r+1]}return null}(n);for(let m=0;m>17&32767}function p2(n){return 2|n}function Np(n){return(131068&n)>>2}function h2(n,i){return-131069&n|i<<2}function f2(n){return 1|n}function d0(n,i,r,u,m){const _=n[r+1],x=null===i;let Q=u?rp(_):Np(_),ue=!1;for(;0!==Q&&(!1===ue||x);){const st=n[Q+1];r6(n[Q],i)&&(ue=!0,n[Q+1]=u?f2(st):p2(st)),Q=u?rp(st):Np(st)}ue&&(n[r+1]=u?p2(_):f2(_))}function r6(n,i){return null===n||null==i||(Array.isArray(n)?n[1]:n)===i||!(!Array.isArray(n)||"string"!=typeof i)&&ti(n,i)>=0}const gs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p0(n){return n.substring(gs.key,gs.keyEnd)}function s6(n){return n.substring(gs.value,gs.valueEnd)}function h0(n,i){const r=gs.textEnd;return r===i?-1:(i=gs.keyEnd=function l6(n,i,r){for(;i32;)i++;return i}(n,gs.key=i,r),mh(n,i,r))}function f0(n,i){const r=gs.textEnd;let u=gs.key=mh(n,i,r);return r===u?-1:(u=gs.keyEnd=function u6(n,i,r){let u;for(;i=65&&(-33&u)<=90||u>=48&&u<=57);)i++;return i}(n,u,r),u=g0(n,u,r),u=gs.value=mh(n,u,r),u=gs.valueEnd=function d6(n,i,r){let u=-1,m=-1,_=-1,x=i,Q=x;for(;x32&&(Q=x),_=m,m=u,u=-33&ue}return Q}(n,u,r),g0(n,u,r))}function m0(n){gs.key=0,gs.keyEnd=0,gs.value=0,gs.valueEnd=0,gs.textEnd=n.length}function mh(n,i,r){for(;i=0;r=f0(i,r))z0(n,p0(i),s6(i))}function _0(n){Du(Bn,v1,n,!0)}function v1(n,i){for(let r=function a6(n){return m0(n),h0(n,mh(n,0,gs.textEnd))}(i);r>=0;r=h0(i,r))Bn(n,p0(i),!0)}function xu(n,i,r,u){const m=gn(),_=mo(),x=_i(2);_.firstUpdatePass&&C0(_,n,x,u),i!==wo&&mr(m,x,i)&&T0(_,_.data[Ui()],m,m[11],n,m[x+1]=function y6(n,i){return null==n||("string"==typeof i?n+=i:"object"==typeof n&&(n=T(ec(n)))),n}(i,r),u,x)}function Du(n,i,r,u){const m=mo(),_=_i(2);m.firstUpdatePass&&C0(m,null,_,u);const x=gn();if(r!==wo&&mr(x,_,r)){const Q=m.data[Ui()];if(b0(Q,u)&&!y0(m,_)){let ue=u?Q.classesWithoutHost:Q.stylesWithoutHost;null!==ue&&(r=M(ue,r||"")),Fp(m,Q,x,r,u)}else!function _6(n,i,r,u,m,_,x,Q){m===wo&&(m=Ie);let ue=0,Le=0,st=0=n.expandoStartIndex}function C0(n,i,r,u){const m=n.data;if(null===m[r+1]){const _=m[Ui()],x=y0(n,r);b0(_,u)&&null===i&&!x&&(i=!1),i=function h6(n,i,r,u){const m=Nr(n);let _=u?i.residualClasses:i.residualStyles;if(null===m)0===(u?i.classBindings:i.styleBindings)&&(r=Yh(r=v2(null,n,i,r,u),i.attrs,u),_=null);else{const x=i.directiveStylingLast;if(-1===x||n[x]!==m)if(r=v2(m,n,i,r,u),null===_){let ue=function f6(n,i,r){const u=r?i.classBindings:i.styleBindings;if(0!==Np(u))return n[rp(u)]}(n,i,u);void 0!==ue&&Array.isArray(ue)&&(ue=v2(null,n,i,ue[1],u),ue=Yh(ue,i.attrs,u),function m6(n,i,r,u){n[rp(r?i.classBindings:i.styleBindings)]=u}(n,i,u,ue))}else _=function g6(n,i,r){let u;const m=i.directiveEnd;for(let _=1+i.directiveStylingLast;_0)&&(Le=!0)):st=r,m)if(0!==ue){const Jt=rp(n[Q+1]);n[u+1]=k4(Jt,Q),0!==Jt&&(n[Jt+1]=h2(n[Jt+1],u)),n[Q+1]=function t6(n,i){return 131071&n|i<<17}(n[Q+1],u)}else n[u+1]=k4(Q,0),0!==Q&&(n[Q+1]=h2(n[Q+1],u)),Q=u;else n[u+1]=k4(ue,0),0===Q?Q=u:n[ue+1]=h2(n[ue+1],u),ue=u;Le&&(n[u+1]=p2(n[u+1])),d0(n,st,u,!0),d0(n,st,u,!1),function i6(n,i,r,u,m){const _=m?n.residualClasses:n.residualStyles;null!=_&&"string"==typeof i&&ti(_,i)>=0&&(r[u+1]=f2(r[u+1]))}(i,st,n,u,_),x=k4(Q,ue),_?i.classBindings=x:i.styleBindings=x}(m,_,i,r,x,u)}}function v2(n,i,r,u,m){let _=null;const x=r.directiveEnd;let Q=r.directiveStylingLast;for(-1===Q?Q=r.directiveStart:Q++;Q0;){const ue=n[m],Le=Array.isArray(ue),st=Le?ue[1]:ue,bt=null===st;let Jt=r[m+1];Jt===wo&&(Jt=bt?Ie:void 0);let cn=bt?Yo(Jt,u):st===u?Jt:void 0;if(Le&&!R4(cn)&&(cn=Yo(ue,u)),R4(cn)&&(Q=cn,x))return Q;const Cn=n[m+1];m=x?rp(Cn):Np(Cn)}if(null!==i){let ue=_?i.residualClasses:i.residualStyles;null!=ue&&(Q=Yo(ue,u))}return Q}function R4(n){return void 0!==n}function b0(n,i){return 0!=(n.flags&(i?8:16))}function E0(n,i=""){const r=gn(),u=mo(),m=n+22,_=u.firstCreatePass?rd(u,m,1,i,null):u.data[m],x=r[m]=function Yr(n,i){return n.createText(i)}(r[11],i);na(u,r,x,_),gi(_,!1)}function _2(n){return V4("",n,""),_2}function V4(n,i,r){const u=gn(),m=Zd(u,n,i,r);return m!==wo&&la(u,Ui(),m),V4}function y2(n,i,r,u,m){const _=gn(),x=Jd(_,n,i,r,u,m);return x!==wo&&la(_,Ui(),x),y2}function A0(n,i,r){Du(Bn,v1,Zd(gn(),n,i,r),!0)}function C2(n,i,r){const u=gn();return mr(u,cr(),i)&&wa(mo(),ci(),u,n,i,u[11],r,!0),C2}function z2(n,i,r){const u=gn();if(mr(u,cr(),i)){const _=mo(),x=ci();wa(_,x,u,n,i,Fh(Nr(_.data),x,u),r,!0)}return z2}const Lp=void 0;var R6=["en",[["a","p"],["AM","PM"],Lp],[["AM","PM"],Lp,Lp],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Lp,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Lp,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Lp,"{1} 'at' {0}",Lp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function k6(n){const r=Math.floor(Math.abs(n)),u=n.toString().replace(/^[^.]*\.?/,"").length;return 1===r&&0===u?1:5}];let gh={};function V6(n,i,r){"string"!=typeof i&&(r=i,i=n[Eo.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),gh[i]=n,r&&(gh[i][Eo.ExtraData]=r)}function T2(n){const i=function B6(n){return n.toLowerCase().replace(/_/g,"-")}(n);let r=U0(i);if(r)return r;const u=i.split("-")[0];if(r=U0(u),r)return r;if("en"===u)return R6;throw new w(701,!1)}function $0(n){return T2(n)[Eo.PluralCase]}function U0(n){return n in gh||(gh[n]=yt.ng&&yt.ng.common&&yt.ng.common.locales&&yt.ng.common.locales[n]),gh[n]}var Eo=(()=>((Eo=Eo||{})[Eo.LocaleId=0]="LocaleId",Eo[Eo.DayPeriodsFormat=1]="DayPeriodsFormat",Eo[Eo.DayPeriodsStandalone=2]="DayPeriodsStandalone",Eo[Eo.DaysFormat=3]="DaysFormat",Eo[Eo.DaysStandalone=4]="DaysStandalone",Eo[Eo.MonthsFormat=5]="MonthsFormat",Eo[Eo.MonthsStandalone=6]="MonthsStandalone",Eo[Eo.Eras=7]="Eras",Eo[Eo.FirstDayOfWeek=8]="FirstDayOfWeek",Eo[Eo.WeekendRange=9]="WeekendRange",Eo[Eo.DateFormat=10]="DateFormat",Eo[Eo.TimeFormat=11]="TimeFormat",Eo[Eo.DateTimeFormat=12]="DateTimeFormat",Eo[Eo.NumberSymbols=13]="NumberSymbols",Eo[Eo.NumberFormats=14]="NumberFormats",Eo[Eo.CurrencyCode=15]="CurrencyCode",Eo[Eo.CurrencySymbol=16]="CurrencySymbol",Eo[Eo.CurrencyName=17]="CurrencyName",Eo[Eo.Currencies=18]="Currencies",Eo[Eo.Directionality=19]="Directionality",Eo[Eo.PluralCase=20]="PluralCase",Eo[Eo.ExtraData=21]="ExtraData",Eo))();const vh="en-US";let j0=vh;function E2(n,i,r,u,m){if(n=F(n),Array.isArray(n))for(let _=0;_>20;if(hs(n)||!n.multi){const cn=new Ao(ue,m,ca),Cn=x2(Q,i,m?st:st+Jt,bt);-1===Cn?(Ia(Rr(Le,x),_,Q),S2(_,n,i.length),i.push(Q),Le.directiveStart++,Le.directiveEnd++,m&&(Le.providerIndexes+=1048576),r.push(cn),x.push(cn)):(r[Cn]=cn,x[Cn]=cn)}else{const cn=x2(Q,i,st+Jt,bt),Cn=x2(Q,i,st,st+Jt),Kn=Cn>=0&&r[Cn];if(m&&!Kn||!m&&!(cn>=0&&r[cn])){Ia(Rr(Le,x),_,Q);const ao=function k8(n,i,r,u,m){const _=new Ao(n,r,ca);return _.multi=[],_.index=i,_.componentProviders=0,v3(_,m,u&&!r),_}(m?L8:N8,r.length,m,u,ue);!m&&Kn&&(r[Cn].providerFactory=ao),S2(_,n,i.length,0),i.push(Q),Le.directiveStart++,Le.directiveEnd++,m&&(Le.providerIndexes+=1048576),r.push(ao),x.push(ao)}else S2(_,n,cn>-1?cn:Cn,v3(r[m?Cn:cn],ue,!m&&u));!m&&u&&Kn&&r[Cn].componentProviders++}}}function S2(n,i,r,u){const m=hs(i),_=function Bp(n){return!!n.useClass}(i);if(m||_){const ue=(_?F(i.useClass):i).prototype.ngOnDestroy;if(ue){const Le=n.destroyHooks||(n.destroyHooks=[]);if(!m&&i.multi){const st=Le.indexOf(r);-1===st?Le.push(r,[u,ue]):Le[st+1].push(u,ue)}else Le.push(r,ue)}}}function v3(n,i,r){return r&&n.componentProviders++,n.multi.push(i)-1}function x2(n,i,r,u){for(let m=r;m{r.providersResolver=(u,m)=>function F8(n,i,r){const u=mo();if(u.firstCreatePass){const m=fo(n);E2(r,u.data,u.blueprint,m,!0),E2(i,u.data,u.blueprint,m,!1)}}(u,m?m(n):n,i)}}class _h{}class y3{}function R8(n,i){return new C3(n,i??null)}class C3 extends _h{constructor(i,r){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nh(this);const u=Ro(i);this._bootstrapComponents=rc(u.bootstrap),this._r3Injector=Mt(i,r,[{provide:_h,useValue:this},{provide:cu,useValue:this.componentFactoryResolver}],T(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class O2 extends y3{constructor(i){super(),this.moduleType=i}create(i){return new C3(this.moduleType,i)}}class V8 extends _h{constructor(i,r,u){super(),this.componentFactoryResolver=new Nh(this),this.instance=null;const m=new fp([...i,{provide:_h,useValue:this},{provide:cu,useValue:this.componentFactoryResolver}],r||J1(),u,new Set(["environment"]));this.injector=m,m.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function w2(n,i,r=null){return new V8(n,i,r).injector}let B8=(()=>{class n{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r.id)){const u=Q1(0,r.type),m=u.length>0?w2([u],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r.id,m)}return this.cachedInjectors.get(r.id)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}}return n.\u0275prov=_t({token:n,providedIn:"environment",factory:()=>new n(ze(Pl))}),n})();function z3(n){n.getStandaloneInjector=i=>i.get(B8).getOrCreateStandaloneInjector(n)}function D3(n,i,r){const u=ei()+n,m=gn();return m[u]===wo?jc(m,u,r?i.call(r):i()):m1(m,u)}function O3(n,i,r,u){return F3(gn(),ei(),n,i,r,u)}function w3(n,i,r,u,m){return N3(gn(),ei(),n,i,r,u,m)}function P3(n,i,r,u,m,_){return L3(gn(),ei(),n,i,r,u,m,_)}function I3(n,i,r,u,m,_,x){return k3(gn(),ei(),n,i,r,u,m,_,x)}function A3(n,i,r,u,m,_,x,Q){const ue=ei()+n,Le=gn(),st=Qc(Le,ue,r,u,m,_);return mr(Le,ue+4,x)||st?jc(Le,ue+5,Q?i.call(Q,r,u,m,_,x):i(r,u,m,_,x)):m1(Le,ue+5)}function Wh(n,i){const r=n[i];return r===wo?void 0:r}function F3(n,i,r,u,m,_){const x=i+r;return mr(n,x,m)?jc(n,x+1,_?u.call(_,m):u(m)):Wh(n,x+1)}function N3(n,i,r,u,m,_,x){const Q=i+r;return Gc(n,Q,m,_)?jc(n,Q+2,x?u.call(x,m,_):u(m,_)):Wh(n,Q+2)}function L3(n,i,r,u,m,_,x,Q){const ue=i+r;return function ph(n,i,r,u,m){const _=Gc(n,i,r,u);return mr(n,i+2,m)||_}(n,ue,m,_,x)?jc(n,ue+3,Q?u.call(Q,m,_,x):u(m,_,x)):Wh(n,ue+3)}function k3(n,i,r,u,m,_,x,Q,ue){const Le=i+r;return Qc(n,Le,m,_,x,Q)?jc(n,Le+4,ue?u.call(ue,m,_,x,Q):u(m,_,x,Q)):Wh(n,Le+4)}function V3(n,i){const r=mo();let u;const m=n+22;r.firstCreatePass?(u=function X8(n,i){if(i)for(let r=i.length-1;r>=0;r--){const u=i[r];if(n===u.name)return u}}(i,r.pipeRegistry),r.data[m]=u,u.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(m,u.onDestroy)):u=r.data[m];const _=u.factory||(u.factory=Li(u.type)),x=Pe(ca);try{const Q=bs(!1),ue=_();return bs(Q),function op(n,i,r,u){r>=n.data.length&&(n.data[r]=null,n.blueprint[r]=null),i[r]=u}(r,gn(),m,ue),ue}finally{Pe(x)}}function B3(n,i,r){const u=n+22,m=gn(),_=yo(m,u);return Zh(m,u)?F3(m,ei(),i,_.transform,r,_):_.transform(r)}function H3(n,i,r,u){const m=n+22,_=gn(),x=yo(_,m);return Zh(_,m)?N3(_,ei(),i,x.transform,r,u,x):x.transform(r,u)}function Y3(n,i,r,u,m){const _=n+22,x=gn(),Q=yo(x,_);return Zh(x,_)?L3(x,ei(),i,Q.transform,r,u,m,Q):Q.transform(r,u,m)}function $3(n,i,r,u,m,_){const x=n+22,Q=gn(),ue=yo(Q,x);return Zh(Q,x)?k3(Q,ei(),i,ue.transform,r,u,m,_,ue):ue.transform(r,u,m,_)}function Zh(n,i){return n[1].data[i].pure}function I2(n){return i=>{setTimeout(n,void 0,i)}}const _1=class tm extends t.x{constructor(i=!1){super(),this.__isAsync=i}emit(i){super.next(i)}subscribe(i,r,u){let m=i,_=r||(()=>null),x=u;if(i&&"object"==typeof i){const ue=i;m=ue.next?.bind(ue),_=ue.error?.bind(ue),x=ue.complete?.bind(ue)}this.__isAsync&&(_=I2(_),m&&(m=I2(m)),x&&(x=I2(x)));const Q=super.subscribe({next:m,error:_,complete:x});return i instanceof o.w0&&i.add(Q),Q}};function nm(){return this._results[p1()]()}class U4{get changes(){return this._changes||(this._changes=new _1)}constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const r=p1(),u=U4.prototype;u[r]||(u[r]=nm)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,r){return this._results.reduce(i,r)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,r){const u=this;u.dirty=!1;const m=function B(n){return n.flat(Number.POSITIVE_INFINITY)}(i);(this._changesDetected=!function A(n,i,r){if(n.length!==i.length)return!1;for(let u=0;u{class n{}return n.__NG_ELEMENT_ID__=rm,n})();const om=Jh,im=class extends om{constructor(i,r,u){super(),this._declarationLView=i,this._declarationTContainer=r,this.elementRef=u}createEmbeddedView(i,r){const u=this._declarationTContainer.tViews,m=Dp(this._declarationLView,u,i,16,null,u.declTNode,null,null,null,null,r||null);m[17]=this._declarationLView[this._declarationTContainer.index];const x=this._declarationLView[19];return null!==x&&(m[19]=x.createEmbeddedView(u)),nh(u,m,i),new Ud(m)}};function rm(){return j4(ai(),gn())}function j4(n,i){return 4&n.type?new im(i,n,Al(n,i)):null}let G4=(()=>{class n{}return n.__NG_ELEMENT_ID__=sm,n})();function sm(){return G3(ai(),gn())}const am=G4,U3=class extends am{constructor(i,r,u){super(),this._lContainer=i,this._hostTNode=r,this._hostLView=u}get element(){return Al(this._hostTNode,this._hostLView)}get injector(){return new br(this._hostTNode,this._hostLView)}get parentInjector(){const i=ir(this._hostTNode,this._hostLView);if(pc(i)){const r=Ms(i,this._hostLView),u=Ts(i);return new br(r[1].data[u+8],r)}return new br(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const r=j3(this._lContainer);return null!==r&&r[i]||null}get length(){return this._lContainer.length-10}createEmbeddedView(i,r,u){let m,_;"number"==typeof u?m=u:null!=u&&(m=u.index,_=u.injector);const x=i.createEmbeddedView(r||{},_);return this.insert(x,m),x}createComponent(i,r,u,m,_){const x=i&&!function Ra(n){return"function"==typeof n}(i);let Q;if(x)Q=r;else{const bt=r||{};Q=bt.index,u=bt.injector,m=bt.projectableNodes,_=bt.environmentInjector||bt.ngModuleRef}const ue=x?i:new jd(po(i)),Le=u||this.parentInjector;if(!_&&null==ue.ngModule){const Jt=(x?Le:this.parentInjector).get(Pl,null);Jt&&(_=Jt)}const st=ue.create(Le,m,void 0,_);return this.insert(st.hostView,Q),st}insert(i,r){const u=i._lView,m=u[1];if(function Di(n){return Vn(n[3])}(u)){const st=this.indexOf(i);if(-1!==st)this.detach(st);else{const bt=u[3],Jt=new U3(bt,bt[6],bt[3]);Jt.detach(Jt.indexOf(i))}}const _=this._adjustIndex(r),x=this._lContainer;!function Oc(n,i,r,u){const m=10+u,_=r.length;u>0&&(r[m-1][4]=i),u<_-10?(i[4]=r[m],re(r,10+u,i)):(r.push(i),i[4]=null),i[3]=r;const x=i[17];null!==x&&r!==x&&function F1(n,i){const r=n[9];i[16]!==i[3][3][16]&&(n[2]=!0),null===r?n[9]=[i]:r.push(i)}(x,i);const Q=i[19];null!==Q&&Q.insertView(n),i[2]|=64}(m,u,x,_);const Q=Gu(_,x),ue=u[11],Le=bl(ue,x[7]);return null!==Le&&function I1(n,i,r,u,m,_){u[0]=m,u[6]=i,Bs(n,u,r,1,m,_)}(m,x[6],ue,u,Le,Q),i.attachToViewContainerRef(),re(A2(x),_,i),i}move(i,r){return this.insert(i,r)}indexOf(i){const r=j3(this._lContainer);return null!==r?r.indexOf(i):-1}remove(i){const r=this._adjustIndex(i,-1),u=Kl(this._lContainer,r);u&&(De(A2(this._lContainer),r),Ga(u[1],u))}detach(i){const r=this._adjustIndex(i,-1),u=Kl(this._lContainer,r);return u&&null!=De(A2(this._lContainer),r)?new Ud(u):null}_adjustIndex(i,r=0){return i??this.length+r}};function j3(n){return n[8]}function A2(n){return n[8]||(n[8]=[])}function G3(n,i){let r;const u=i[n.index];if(Vn(u))r=u;else{let m;if(8&n.type)m=Ne(u);else{const _=i[11];m=_.createComment("");const x=wn(n,i);Wi(_,bl(_,x),m,function Pc(n,i){return n.nextSibling(i)}(_,x),!1)}i[n.index]=r=c1(u,i,m,n),Op(i,r)}return new U3(r,n,i)}class F2{constructor(i){this.queryList=i,this.matches=null}clone(){return new F2(this.queryList)}setDirty(){this.queryList.setDirty()}}class N2{constructor(i=[]){this.queries=i}createEmbeddedView(i){const r=i.queries;if(null!==r){const u=null!==i.contentQueries?i.contentQueries[0]:r.length,m=[];for(let _=0;_0)u.push(x[Q/2]);else{const Le=_[Q+1],st=i[-ue];for(let bt=10;bt{class n{constructor(r){this.appInits=r,this.resolve=W4,this.reject=W4,this.initialized=!1,this.done=!1,this.donePromise=new Promise((u,m)=>{this.resolve=u,this.reject=m})}runInitializers(){if(this.initialized)return;const r=[],u=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let m=0;m{_.subscribe({complete:Q,error:ue})});r.push(x)}}Promise.all(r).then(()=>{u()}).catch(m=>{this.reject(m)}),0===r.length&&u(),this.initialized=!0}}return n.\u0275fac=function(r){return new(r||n)(ze(Mf,8))},n.\u0275prov=_t({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const bf=new No("AppId",{providedIn:"root",factory:function Ef(){return`${$2()}${$2()}${$2()}`}});function $2(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Sf=new No("Platform Initializer"),Am=new No("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),xf=new No("appBootstrapListener"),Fm=new No("AnimationModuleType");let Nm=(()=>{class n{log(r){console.log(r)}warn(r){console.warn(r)}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=_t({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const J4=new No("LocaleId",{providedIn:"root",factory:()=>ke(J4,oe.Optional|oe.SkipSelf)||function Lm(){return typeof $localize<"u"&&$localize.locale||vh}()}),km=new No("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Rm{constructor(i,r){this.ngModuleFactory=i,this.componentFactories=r}}let Vm=(()=>{class n{compileModuleSync(r){return new O2(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const u=this.compileModuleSync(r),_=rc(Ro(r).declarations).reduce((x,Q)=>{const ue=po(Q);return ue&&x.push(new jd(ue)),x},[]);return new Rm(u,_)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=_t({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Ym=(()=>Promise.resolve(0))();function U2(n){typeof Zone>"u"?Ym.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Bl{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:u=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _1(!1),this.onMicrotaskEmpty=new _1(!1),this.onStable=new _1(!1),this.onError=new _1(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const m=this;m._nesting=0,m._outer=m._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(m._inner=m._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(m._inner=m._inner.fork(Zone.longStackTraceZoneSpec)),m.shouldCoalesceEventChangeDetection=!u&&r,m.shouldCoalesceRunChangeDetection=u,m.lastRequestAnimationFrameId=-1,m.nativeRequestAnimationFrame=function $m(){let n=yt.requestAnimationFrame,i=yt.cancelAnimationFrame;if(typeof Zone<"u"&&n&&i){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const u=i[Zone.__symbol__("OriginalDelegate")];u&&(i=u)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function Gm(n){const i=()=>{!function jm(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(yt,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,G2(n),n.isCheckStableRunning=!0,j2(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),G2(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,u,m,_,x,Q)=>{try{return wf(n),r.invokeTask(m,_,x,Q)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||n.shouldCoalesceRunChangeDetection)&&i(),Pf(n)}},onInvoke:(r,u,m,_,x,Q,ue)=>{try{return wf(n),r.invoke(m,_,x,Q,ue)}finally{n.shouldCoalesceRunChangeDetection&&i(),Pf(n)}},onHasTask:(r,u,m,_)=>{r.hasTask(m,_),u===m&&("microTask"==_.change?(n._hasPendingMicrotasks=_.microTask,G2(n),j2(n)):"macroTask"==_.change&&(n.hasPendingMacrotasks=_.macroTask))},onHandleError:(r,u,m,_)=>(r.handleError(m,_),n.runOutsideAngular(()=>n.onError.emit(_)),!1)})}(m)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Bl.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(Bl.isInAngularZone())throw new w(909,!1)}run(i,r,u){return this._inner.run(i,r,u)}runTask(i,r,u,m){const _=this._inner,x=_.scheduleEventTask("NgZoneEvent: "+m,i,Um,W4,W4);try{return _.runTask(x,r,u)}finally{_.cancelTask(x)}}runGuarded(i,r,u){return this._inner.runGuarded(i,r,u)}runOutsideAngular(i){return this._outer.run(i)}}const Um={};function j2(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function G2(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function wf(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Pf(n){n._nesting--,j2(n)}class Qm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _1,this.onMicrotaskEmpty=new _1,this.onStable=new _1,this.onError=new _1}run(i,r,u){return i.apply(r,u)}runGuarded(i,r,u){return i.apply(r,u)}runOutsideAngular(i){return i()}runTask(i,r,u,m){return i.apply(r,u)}}const If=new No(""),Af=new No("");let Q2,Wm=(()=>{class n{constructor(r,u,m){this._ngZone=r,this.registry=u,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Q2||(function Zm(n){Q2=n}(m),m.addToWindow(u)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Bl.assertNotInAngularZone(),U2(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())U2(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(u=>!u.updateCb||!u.updateCb(r)||(clearTimeout(u.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,u,m){let _=-1;u&&u>0&&(_=setTimeout(()=>{this._callbacks=this._callbacks.filter(x=>x.timeoutId!==_),r(this._didWork,this.getPendingTasks())},u)),this._callbacks.push({doneCb:r,timeoutId:_,updateCb:m})}whenStable(r,u,m){if(m&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,u,m),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,u,m){return[]}}return n.\u0275fac=function(r){return new(r||n)(ze(Bl),ze(Ff),ze(Af))},n.\u0275prov=_t({token:n,factory:n.\u0275fac}),n})(),Ff=(()=>{class n{constructor(){this._applications=new Map}registerApplication(r,u){this._applications.set(r,u)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,u=!0){return Q2?.findTestabilityInTree(this,r,u)??null}}return n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=_t({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),sp=null;const Nf=new No("AllowMultipleToken"),W2=new No("PlatformDestroyListeners");class qm{constructor(i,r){this.name=i,this.token=r}}function kf(n,i,r=[]){const u=`Platform: ${i}`,m=new No(u);return(_=[])=>{let x=Z2();if(!x||x.injector.get(Nf,!1)){const Q=[...r,..._,{provide:m,useValue:!0}];n?n(Q):function Xm(n){if(sp&&!sp.get(Nf,!1))throw new w(400,!1);sp=n;const i=n.get(Vf);(function Lf(n){const i=n.get(Sf,null);i&&i.forEach(r=>r())})(n)}(function Rf(n=[],i){return Ot.create({name:i,providers:[{provide:t1,useValue:"platform"},{provide:W2,useValue:new Set([()=>sp=null])},...n]})}(Q,u))}return function tg(n){const i=Z2();if(!i)throw new w(401,!1);return i}()}}function Z2(){return sp?.get(Vf)??null}let Vf=(()=>{class n{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,u){const m=function Hf(n,i){let r;return r="noop"===n?new Qm:("zone.js"===n?void 0:n)||new Bl(i),r}(u?.ngZone,function Bf(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(u)),_=[{provide:Bl,useValue:m}];return m.run(()=>{const x=Ot.create({providers:_,parent:this.injector,name:r.moduleType.name}),Q=r.create(x),ue=Q.injector.get(lu,null);if(!ue)throw new w(402,!1);return m.runOutsideAngular(()=>{const Le=m.onError.subscribe({next:st=>{ue.handleError(st)}});Q.onDestroy(()=>{q4(this._modules,Q),Le.unsubscribe()})}),function Yf(n,i,r){try{const u=r();return ie(u)?u.catch(m=>{throw i.runOutsideAngular(()=>n.handleError(m)),m}):u}catch(u){throw i.runOutsideAngular(()=>n.handleError(u)),u}}(ue,m,()=>{const Le=Q.injector.get(Z4);return Le.runInitializers(),Le.donePromise.then(()=>(function G0(n){gt(n,"Expected localeId to be defined"),"string"==typeof n&&(j0=n.toLowerCase().replace(/_/g,"-"))}(Q.injector.get(J4,vh)||vh),this._moduleDoBootstrap(Q),Q))})})}bootstrapModule(r,u=[]){const m=$f({},u);return function Jm(n,i,r){const u=new O2(r);return Promise.resolve(u)}(0,0,r).then(_=>this.bootstrapModuleFactory(_,m))}_moduleDoBootstrap(r){const u=r.injector.get(K4);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(m=>u.bootstrap(m));else{if(!r.instance.ngDoBootstrap)throw new w(-403,!1);r.instance.ngDoBootstrap(u)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(u=>u.destroy()),this._destroyListeners.forEach(u=>u());const r=this._injector.get(W2,null);r&&(r.forEach(u=>u()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(r){return new(r||n)(ze(Ot))},n.\u0275prov=_t({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function $f(n,i){return Array.isArray(i)?i.reduce($f,n):{...n,...i}}let K4=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(r,u,m){this._zone=r,this._injector=u,this._exceptionHandler=m,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const _=new g.y(Q=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Q.next(this._stable),Q.complete()})}),x=new g.y(Q=>{let ue;this._zone.runOutsideAngular(()=>{ue=this._zone.onStable.subscribe(()=>{Bl.assertNotInAngularZone(),U2(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Q.next(!0))})})});const Le=this._zone.onUnstable.subscribe(()=>{Bl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Q.next(!1)}))});return()=>{ue.unsubscribe(),Le.unsubscribe()}});this.isStable=(0,l.T)(_,x.pipe((0,s.B)()))}bootstrap(r,u){const m=r instanceof Vd;if(!this._injector.get(Z4).done)throw!m&&ui(r),new w(405,false);let x;x=m?r:this._injector.get(cu).resolveComponentFactory(r),this.componentTypes.push(x.componentType);const Q=function Km(n){return n.isBoundToModule}(x)?void 0:this._injector.get(_h),Le=x.create(Ot.NULL,[],u||x.selector,Q),st=Le.location.nativeElement,bt=Le.injector.get(If,null);return bt?.registerApplication(st),Le.onDestroy(()=>{this.detachView(Le.hostView),q4(this.components,Le),bt?.unregisterApplication(st)}),this._loadComponent(Le),Le}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(r))}finally{this._runningTick=!1}}attachView(r){const u=r;this._views.push(u),u.attachToAppRef(this)}detachView(r){const u=r;q4(this._views,u),u.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const u=this._injector.get(xf,[]);u.push(...this._bootstrapListeners),u.forEach(m=>m(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>q4(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new w(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(r){return new(r||n)(ze(Bl),ze(Pl),ze(lu))},n.\u0275prov=_t({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function q4(n,i){const r=n.indexOf(i);r>-1&&n.splice(r,1)}function og(){return!1}function ig(){}let rg=(()=>{class n{}return n.__NG_ELEMENT_ID__=sg,n})();function sg(n){return function ag(n,i,r){if(ho(n)&&!r){const u=Jn(n.index,i);return new Ud(u,u)}return 47&n.type?new Ud(i[16],i):null}(ai(),gn(),16==(16&n))}class Wf{constructor(){}supports(i){return Ap(i)}create(i){return new hg(i)}}const pg=(n,i)=>i;class hg{constructor(i){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=i||pg}forEachItem(i){let r;for(r=this._itHead;null!==r;r=r._next)i(r)}forEachOperation(i){let r=this._itHead,u=this._removalsHead,m=0,_=null;for(;r||u;){const x=!u||r&&r.currentIndex{x=this._trackByFn(m,Q),null!==r&&Object.is(r.trackById,x)?(u&&(r=this._verifyReinsertion(r,Q,x,m)),Object.is(r.item,Q)||this._addIdentityChange(r,Q)):(r=this._mismatch(r,Q,x,m),u=!0),r=r._next,m++}),this.length=m;return this._truncate(r),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,r,u,m){let _;return null===i?_=this._itTail:(_=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(u,null))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._reinsertAfter(i,_,m)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(u,m))?(Object.is(i.item,r)||this._addIdentityChange(i,r),this._moveAfter(i,_,m)):i=this._addAfter(new fg(r,u),_,m),i}_verifyReinsertion(i,r,u,m){let _=null===this._unlinkedRecords?null:this._unlinkedRecords.get(u,null);return null!==_?i=this._reinsertAfter(_,i._prev,m):i.currentIndex!=m&&(i.currentIndex=m,this._addToMoves(i,m)),i}_truncate(i){for(;null!==i;){const r=i._next;this._addToRemovals(this._unlink(i)),i=r}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,r,u){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const m=i._prevRemoved,_=i._nextRemoved;return null===m?this._removalsHead=_:m._nextRemoved=_,null===_?this._removalsTail=m:_._prevRemoved=m,this._insertAfter(i,r,u),this._addToMoves(i,u),i}_moveAfter(i,r,u){return this._unlink(i),this._insertAfter(i,r,u),this._addToMoves(i,u),i}_addAfter(i,r,u){return this._insertAfter(i,r,u),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,r,u){const m=null===r?this._itHead:r._next;return i._next=m,i._prev=r,null===m?this._itTail=i:m._prev=i,null===r?this._itHead=i:r._next=i,null===this._linkedRecords&&(this._linkedRecords=new Zf),this._linkedRecords.put(i),i.currentIndex=u,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const r=i._prev,u=i._next;return null===r?this._itHead=u:r._next=u,null===u?this._itTail=r:u._prev=r,i}_addToMoves(i,r){return i.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zf),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,r){return i.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class fg{constructor(i,r){this.item=i,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mg{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,r){let u;for(u=this._head;null!==u;u=u._nextDup)if((null===r||r<=u.currentIndex)&&Object.is(u.trackById,i))return u;return null}remove(i){const r=i._prevDup,u=i._nextDup;return null===r?this._head=u:r._nextDup=u,null===u?this._tail=r:u._prevDup=r,null===this._head}}class Zf{constructor(){this.map=new Map}put(i){const r=i.trackById;let u=this.map.get(r);u||(u=new mg,this.map.set(r,u)),u.add(i)}get(i,r){const m=this.map.get(i);return m?m.get(i,r):null}remove(i){const r=i.trackById;return this.map.get(r).remove(i)&&this.map.delete(r),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Jf(n,i,r){const u=n.previousIndex;if(null===u)return u;let m=0;return r&&u{if(r&&r.key===m)this._maybeAddToChanges(r,u),this._appendAfter=r,r=r._next;else{const _=this._getOrCreateRecordForKey(m,u);r=this._insertBeforeOrAppend(r,_)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let u=r;null!==u;u=u._nextRemoved)u===this._mapHead&&(this._mapHead=null),this._records.delete(u.key),u._nextRemoved=u._next,u.previousValue=u.currentValue,u.currentValue=null,u._prev=null,u._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,r){if(i){const u=i._prev;return r._next=i,r._prev=u,i._prev=r,u&&(u._next=r),i===this._mapHead&&(this._mapHead=r),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(i,r){if(this._records.has(i)){const m=this._records.get(i);this._maybeAddToChanges(m,r);const _=m._prev,x=m._next;return _&&(_._next=x),x&&(x._prev=_),m._next=null,m._prev=null,m}const u=new vg(i);return this._records.set(i,u),u.currentValue=r,this._addToAdditions(u),u}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,r){Object.is(r,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=r,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,r){i instanceof Map?i.forEach(r):Object.keys(i).forEach(u=>r(i[u],u))}}class vg{constructor(i){this.key=i,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function qf(){return new e0([new Wf])}let e0=(()=>{class n{constructor(r){this.factories=r}static create(r,u){if(null!=u){const m=u.factories.slice();r=r.concat(m)}return new n(r)}static extend(r){return{provide:n,useFactory:u=>n.create(r,u||qf()),deps:[[n,new Ls,new Ns]]}}find(r){const u=this.factories.find(m=>m.supports(r));if(null!=u)return u;throw new w(901,!1)}}return n.\u0275prov=_t({token:n,providedIn:"root",factory:qf}),n})();function Xf(){return new t0([new Kf])}let t0=(()=>{class n{constructor(r){this.factories=r}static create(r,u){if(u){const m=u.factories.slice();r=r.concat(m)}return new n(r)}static extend(r){return{provide:n,useFactory:u=>n.create(r,u||Xf()),deps:[[n,new Ls,new Ns]]}}find(r){const u=this.factories.find(m=>m.supports(r));if(u)return u;throw new w(901,!1)}}return n.\u0275prov=_t({token:n,providedIn:"root",factory:Xf}),n})();const Cg=kf(null,"core",[]);let zg=(()=>{class n{constructor(r){}}return n.\u0275fac=function(r){return new(r||n)(ze(K4))},n.\u0275mod=$n({type:n}),n.\u0275inj=ct({}),n})();function Tg(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}},4006:(Et,Me,a)=>{a.d(Me,{F:()=>Do,Fj:()=>S,JJ:()=>Ae,JL:()=>Ze,JU:()=>T,NI:()=>pi,Oe:()=>yo,On:()=>Ft,Q7:()=>Xi,TO:()=>tn,UX:()=>Qs,Wl:()=>E,_Y:()=>Gt,a5:()=>Yt,cw:()=>je,kI:()=>U,nJ:()=>Qe,oH:()=>ho,sg:()=>fo,u:()=>oi,u5:()=>lo,ve:()=>V});var t=a(4650),o=a(6895),g=a(457),l=a(4128),s=a(4004);let L=(()=>{class Ee{constructor(de,lt){this._renderer=de,this._elementRef=lt,this.onChange=hn=>{},this.onTouched=()=>{}}setProperty(de,lt){this._renderer.setProperty(this._elementRef.nativeElement,de,lt)}registerOnTouched(de){this.onTouched=de}registerOnChange(de){this.onChange=de}setDisabledState(de){this.setProperty("disabled",de)}}return Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(t.Qsj),t.Y36(t.SBq))},Ee.\u0275dir=t.lG2({type:Ee}),Ee})(),R=(()=>{class Ee extends L{}return Ee.\u0275fac=function(){let Ce;return function(lt){return(Ce||(Ce=t.n5z(Ee)))(lt||Ee)}}(),Ee.\u0275dir=t.lG2({type:Ee,features:[t.qOj]}),Ee})();const T=new t.OlP("NgValueAccessor"),M={provide:T,useExisting:(0,t.Gpc)(()=>E),multi:!0};let E=(()=>{class Ee extends R{writeValue(de){this.setProperty("checked",de)}}return Ee.\u0275fac=function(){let Ce;return function(lt){return(Ce||(Ce=t.n5z(Ee)))(lt||Ee)}}(),Ee.\u0275dir=t.lG2({type:Ee,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(de,lt){1&de&&t.NdJ("change",function(Gn){return lt.onChange(Gn.target.checked)})("blur",function(){return lt.onTouched()})},features:[t._Bn([M]),t.qOj]}),Ee})();const O={provide:T,useExisting:(0,t.Gpc)(()=>S),multi:!0},V=new t.OlP("CompositionEventMode");let S=(()=>{class Ee extends L{constructor(de,lt,hn){super(de,lt),this._compositionMode=hn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function F(){const Ee=(0,o.q)()?(0,o.q)().getUserAgent():"";return/android (\d+)/.test(Ee.toLowerCase())}())}writeValue(de){this.setProperty("value",de??"")}_handleInput(de){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(de)}_compositionStart(){this._composing=!0}_compositionEnd(de){this._composing=!1,this._compositionMode&&this.onChange(de)}}return Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(V,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(de,lt){1&de&&t.NdJ("input",function(Gn){return lt._handleInput(Gn.target.value)})("blur",function(){return lt.onTouched()})("compositionstart",function(){return lt._compositionStart()})("compositionend",function(Gn){return lt._compositionEnd(Gn.target.value)})},features:[t._Bn([O]),t.qOj]}),Ee})();function I(Ee){return null==Ee||("string"==typeof Ee||Array.isArray(Ee))&&0===Ee.length}function w(Ee){return null!=Ee&&"number"==typeof Ee.length}const pe=new t.OlP("NgValidators"),ae=new t.OlP("NgAsyncValidators"),Z=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class U{static min(Ce){return function N(Ee){return Ce=>{if(I(Ce.value)||I(Ee))return null;const de=parseFloat(Ce.value);return!isNaN(de)&&de{if(I(Ce.value)||I(Ee))return null;const de=parseFloat(Ce.value);return!isNaN(de)&&de>Ee?{max:{max:Ee,actual:Ce.value}}:null}}(Ce)}static required(Ce){return Y(Ce)}static requiredTrue(Ce){return function k(Ee){return!0===Ee.value?null:{required:!0}}(Ce)}static email(Ce){return function me(Ee){return I(Ee.value)||Z.test(Ee.value)?null:{email:!0}}(Ce)}static minLength(Ce){return function fe(Ee){return Ce=>I(Ce.value)||!w(Ce.value)?null:Ce.value.lengthw(Ce.value)&&Ce.value.length>Ee?{maxlength:{requiredLength:Ee,actualLength:Ce.value.length}}:null}(Ce)}static pattern(Ce){return function ye(Ee){if(!Ee)return H;let Ce,de;return"string"==typeof Ee?(de="","^"!==Ee.charAt(0)&&(de+="^"),de+=Ee,"$"!==Ee.charAt(Ee.length-1)&&(de+="$"),Ce=new RegExp(de)):(de=Ee.toString(),Ce=Ee),lt=>{if(I(lt.value))return null;const hn=lt.value;return Ce.test(hn)?null:{pattern:{requiredPattern:de,actualValue:hn}}}}(Ce)}static nullValidator(Ce){return null}static compose(Ce){return ot(Ce)}static composeAsync(Ce){return Dt(Ce)}}function Y(Ee){return I(Ee.value)?{required:!0}:null}function H(Ee){return null}function X(Ee){return null!=Ee}function ve(Ee){return(0,t.QGY)(Ee)?(0,g.D)(Ee):Ee}function Se(Ee){let Ce={};return Ee.forEach(de=>{Ce=null!=de?{...Ce,...de}:Ce}),0===Object.keys(Ce).length?null:Ce}function wt(Ee,Ce){return Ce.map(de=>de(Ee))}function rn(Ee){return Ee.map(Ce=>function St(Ee){return!Ee.validate}(Ce)?Ce:de=>Ce.validate(de))}function ot(Ee){if(!Ee)return null;const Ce=Ee.filter(X);return 0==Ce.length?null:function(de){return Se(wt(de,Ce))}}function gt(Ee){return null!=Ee?ot(rn(Ee)):null}function Dt(Ee){if(!Ee)return null;const Ce=Ee.filter(X);return 0==Ce.length?null:function(de){const lt=wt(de,Ce).map(ve);return(0,l.D)(lt).pipe((0,s.U)(Se))}}function Wt(Ee){return null!=Ee?Dt(rn(Ee)):null}function mn(Ee,Ce){return null===Ee?[Ce]:Array.isArray(Ee)?[...Ee,Ce]:[Ee,Ce]}function At(Ee){return Ee._rawValidators}function _t(Ee){return Ee._rawAsyncValidators}function Xt(Ee){return Ee?Array.isArray(Ee)?Ee:[Ee]:[]}function ct(Ee,Ce){return Array.isArray(Ee)?Ee.includes(Ce):Ee===Ce}function Rt(Ee,Ce){const de=Xt(Ce);return Xt(Ee).forEach(hn=>{ct(de,hn)||de.push(hn)}),de}function sn(Ee,Ce){return Xt(Ce).filter(de=>!ct(Ee,de))}class Dn{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(Ce){this._rawValidators=Ce||[],this._composedValidatorFn=gt(this._rawValidators)}_setAsyncValidators(Ce){this._rawAsyncValidators=Ce||[],this._composedAsyncValidatorFn=Wt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ce){this._onDestroyCallbacks.push(Ce)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ce=>Ce()),this._onDestroyCallbacks=[]}reset(Ce){this.control&&this.control.reset(Ce)}hasError(Ce,de){return!!this.control&&this.control.hasError(Ce,de)}getError(Ce,de){return this.control?this.control.getError(Ce,de):null}}class zn extends Dn{get formDirective(){return null}get path(){return null}}class Yt extends Dn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class xt{constructor(Ce){this._cd=Ce}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ae=(()=>{class Ee extends xt{constructor(de){super(de)}}return Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(Yt,2))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(de,lt){2&de&&t.ekj("ng-untouched",lt.isUntouched)("ng-touched",lt.isTouched)("ng-pristine",lt.isPristine)("ng-dirty",lt.isDirty)("ng-valid",lt.isValid)("ng-invalid",lt.isInvalid)("ng-pending",lt.isPending)},features:[t.qOj]}),Ee})(),Ze=(()=>{class Ee extends xt{constructor(de){super(de)}}return Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(zn,10))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(de,lt){2&de&&t.ekj("ng-untouched",lt.isUntouched)("ng-touched",lt.isTouched)("ng-pristine",lt.isPristine)("ng-dirty",lt.isDirty)("ng-valid",lt.isValid)("ng-invalid",lt.isInvalid)("ng-pending",lt.isPending)("ng-submitted",lt.isSubmitted)},features:[t.qOj]}),Ee})();const P="VALID",K="INVALID",ze="PENDING",dt="DISABLED";function ke(Ee){return(vt(Ee)?Ee.validators:Ee)||null}function xe(Ee,Ce){return(vt(Ce)?Ce.asyncValidators:Ee)||null}function vt(Ee){return null!=Ee&&!Array.isArray(Ee)&&"object"==typeof Ee}function qt(Ee,Ce,de){const lt=Ee.controls;if(!(Ce?Object.keys(lt):lt).length)throw new t.vHH(1e3,"");if(!lt[de])throw new t.vHH(1001,"")}function Ct(Ee,Ce,de){Ee._forEachChild((lt,hn)=>{if(void 0===de[hn])throw new t.vHH(1002,"")})}class tn{constructor(Ce,de){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ce),this._assignAsyncValidators(de)}get validator(){return this._composedValidatorFn}set validator(Ce){this._rawValidators=this._composedValidatorFn=Ce}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ce){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ce}get parent(){return this._parent}get valid(){return this.status===P}get invalid(){return this.status===K}get pending(){return this.status==ze}get disabled(){return this.status===dt}get enabled(){return this.status!==dt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ce){this._assignValidators(Ce)}setAsyncValidators(Ce){this._assignAsyncValidators(Ce)}addValidators(Ce){this.setValidators(Rt(Ce,this._rawValidators))}addAsyncValidators(Ce){this.setAsyncValidators(Rt(Ce,this._rawAsyncValidators))}removeValidators(Ce){this.setValidators(sn(Ce,this._rawValidators))}removeAsyncValidators(Ce){this.setAsyncValidators(sn(Ce,this._rawAsyncValidators))}hasValidator(Ce){return ct(this._rawValidators,Ce)}hasAsyncValidator(Ce){return ct(this._rawAsyncValidators,Ce)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ce={}){this.touched=!0,this._parent&&!Ce.onlySelf&&this._parent.markAsTouched(Ce)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ce=>Ce.markAllAsTouched())}markAsUntouched(Ce={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(de=>{de.markAsUntouched({onlySelf:!0})}),this._parent&&!Ce.onlySelf&&this._parent._updateTouched(Ce)}markAsDirty(Ce={}){this.pristine=!1,this._parent&&!Ce.onlySelf&&this._parent.markAsDirty(Ce)}markAsPristine(Ce={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(de=>{de.markAsPristine({onlySelf:!0})}),this._parent&&!Ce.onlySelf&&this._parent._updatePristine(Ce)}markAsPending(Ce={}){this.status=ze,!1!==Ce.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ce.onlySelf&&this._parent.markAsPending(Ce)}disable(Ce={}){const de=this._parentMarkedDirty(Ce.onlySelf);this.status=dt,this.errors=null,this._forEachChild(lt=>{lt.disable({...Ce,onlySelf:!0})}),this._updateValue(),!1!==Ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ce,skipPristineCheck:de}),this._onDisabledChange.forEach(lt=>lt(!0))}enable(Ce={}){const de=this._parentMarkedDirty(Ce.onlySelf);this.status=P,this._forEachChild(lt=>{lt.enable({...Ce,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ce.emitEvent}),this._updateAncestors({...Ce,skipPristineCheck:de}),this._onDisabledChange.forEach(lt=>lt(!1))}_updateAncestors(Ce){this._parent&&!Ce.onlySelf&&(this._parent.updateValueAndValidity(Ce),Ce.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ce){this._parent=Ce}getRawValue(){return this.value}updateValueAndValidity(Ce={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===P||this.status===ze)&&this._runAsyncValidator(Ce.emitEvent)),!1!==Ce.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ce.onlySelf&&this._parent.updateValueAndValidity(Ce)}_updateTreeValidity(Ce={emitEvent:!0}){this._forEachChild(de=>de._updateTreeValidity(Ce)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ce.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?dt:P}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ce){if(this.asyncValidator){this.status=ze,this._hasOwnPendingAsyncValidator=!0;const de=ve(this.asyncValidator(this));this._asyncValidationSubscription=de.subscribe(lt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(lt,{emitEvent:Ce})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ce,de={}){this.errors=Ce,this._updateControlsErrors(!1!==de.emitEvent)}get(Ce){let de=Ce;return null==de||(Array.isArray(de)||(de=de.split(".")),0===de.length)?null:de.reduce((lt,hn)=>lt&<._find(hn),this)}getError(Ce,de){const lt=de?this.get(de):this;return lt&<.errors?lt.errors[Ce]:null}hasError(Ce,de){return!!this.getError(Ce,de)}get root(){let Ce=this;for(;Ce._parent;)Ce=Ce._parent;return Ce}_updateControlsErrors(Ce){this.status=this._calculateStatus(),Ce&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ce)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?dt:this.errors?K:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ze)?ze:this._anyControlsHaveStatus(K)?K:P}_anyControlsHaveStatus(Ce){return this._anyControls(de=>de.status===Ce)}_anyControlsDirty(){return this._anyControls(Ce=>Ce.dirty)}_anyControlsTouched(){return this._anyControls(Ce=>Ce.touched)}_updatePristine(Ce={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ce.onlySelf&&this._parent._updatePristine(Ce)}_updateTouched(Ce={}){this.touched=this._anyControlsTouched(),this._parent&&!Ce.onlySelf&&this._parent._updateTouched(Ce)}_registerOnCollectionChange(Ce){this._onCollectionChange=Ce}_setUpdateStrategy(Ce){vt(Ce)&&null!=Ce.updateOn&&(this._updateOn=Ce.updateOn)}_parentMarkedDirty(Ce){return!Ce&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ce){return null}_assignValidators(Ce){this._rawValidators=Array.isArray(Ce)?Ce.slice():Ce,this._composedValidatorFn=function ge(Ee){return Array.isArray(Ee)?gt(Ee):Ee||null}(this._rawValidators)}_assignAsyncValidators(Ce){this._rawAsyncValidators=Array.isArray(Ce)?Ce.slice():Ce,this._composedAsyncValidatorFn=function ut(Ee){return Array.isArray(Ee)?Wt(Ee):Ee||null}(this._rawAsyncValidators)}}class je extends tn{constructor(Ce,de,lt){super(ke(de),xe(lt,de)),this.controls=Ce,this._initObservables(),this._setUpdateStrategy(de),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ce,de){return this.controls[Ce]?this.controls[Ce]:(this.controls[Ce]=de,de.setParent(this),de._registerOnCollectionChange(this._onCollectionChange),de)}addControl(Ce,de,lt={}){this.registerControl(Ce,de),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}removeControl(Ce,de={}){this.controls[Ce]&&this.controls[Ce]._registerOnCollectionChange(()=>{}),delete this.controls[Ce],this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}setControl(Ce,de,lt={}){this.controls[Ce]&&this.controls[Ce]._registerOnCollectionChange(()=>{}),delete this.controls[Ce],de&&this.registerControl(Ce,de),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}contains(Ce){return this.controls.hasOwnProperty(Ce)&&this.controls[Ce].enabled}setValue(Ce,de={}){Ct(this,0,Ce),Object.keys(Ce).forEach(lt=>{qt(this,!0,lt),this.controls[lt].setValue(Ce[lt],{onlySelf:!0,emitEvent:de.emitEvent})}),this.updateValueAndValidity(de)}patchValue(Ce,de={}){null!=Ce&&(Object.keys(Ce).forEach(lt=>{const hn=this.controls[lt];hn&&hn.patchValue(Ce[lt],{onlySelf:!0,emitEvent:de.emitEvent})}),this.updateValueAndValidity(de))}reset(Ce={},de={}){this._forEachChild((lt,hn)=>{lt.reset(Ce[hn],{onlySelf:!0,emitEvent:de.emitEvent})}),this._updatePristine(de),this._updateTouched(de),this.updateValueAndValidity(de)}getRawValue(){return this._reduceChildren({},(Ce,de,lt)=>(Ce[lt]=de.getRawValue(),Ce))}_syncPendingControls(){let Ce=this._reduceChildren(!1,(de,lt)=>!!lt._syncPendingControls()||de);return Ce&&this.updateValueAndValidity({onlySelf:!0}),Ce}_forEachChild(Ce){Object.keys(this.controls).forEach(de=>{const lt=this.controls[de];lt&&Ce(lt,de)})}_setUpControls(){this._forEachChild(Ce=>{Ce.setParent(this),Ce._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ce){for(const[de,lt]of Object.entries(this.controls))if(this.contains(de)&&Ce(lt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(de,lt,hn)=>((lt.enabled||this.disabled)&&(de[hn]=lt.value),de))}_reduceChildren(Ce,de){let lt=Ce;return this._forEachChild((hn,Gn)=>{lt=de(lt,hn,Gn)}),lt}_allControlsDisabled(){for(const Ce of Object.keys(this.controls))if(this.controls[Ce].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ce){return this.controls.hasOwnProperty(Ce)?this.controls[Ce]:null}}const Qe=je,Ie=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>he}),he="always";function we(Ee,Ce){return[...Ce.path,Ee]}function ce(Ee,Ce,de=he){Zt(Ee,Ce),Ce.valueAccessor.writeValue(Ee.value),(Ee.disabled||"always"===de)&&Ce.valueAccessor.setDisabledState?.(Ee.disabled),function Sn(Ee,Ce){Ce.valueAccessor.registerOnChange(de=>{Ee._pendingValue=de,Ee._pendingChange=!0,Ee._pendingDirty=!0,"change"===Ee.updateOn&&Un(Ee,Ce)})}(Ee,Ce),function $n(Ee,Ce){const de=(lt,hn)=>{Ce.valueAccessor.writeValue(lt),hn&&Ce.viewToModelUpdate(lt)};Ee.registerOnChange(de),Ce._registerOnDestroy(()=>{Ee._unregisterOnChange(de)})}(Ee,Ce),function jn(Ee,Ce){Ce.valueAccessor.registerOnTouched(()=>{Ee._pendingTouched=!0,"blur"===Ee.updateOn&&Ee._pendingChange&&Un(Ee,Ce),"submit"!==Ee.updateOn&&Ee.markAsTouched()})}(Ee,Ce),function rt(Ee,Ce){if(Ce.valueAccessor.setDisabledState){const de=lt=>{Ce.valueAccessor.setDisabledState(lt)};Ee.registerOnDisabledChange(de),Ce._registerOnDestroy(()=>{Ee._unregisterOnDisabledChange(de)})}}(Ee,Ce)}function nt(Ee,Ce,de=!0){const lt=()=>{};Ce.valueAccessor&&(Ce.valueAccessor.registerOnChange(lt),Ce.valueAccessor.registerOnTouched(lt)),nn(Ee,Ce),Ee&&(Ce._invokeOnDestroyCallbacks(),Ee._registerOnCollectionChange(()=>{}))}function be(Ee,Ce){Ee.forEach(de=>{de.registerOnValidatorChange&&de.registerOnValidatorChange(Ce)})}function Zt(Ee,Ce){const de=At(Ee);null!==Ce.validator?Ee.setValidators(mn(de,Ce.validator)):"function"==typeof de&&Ee.setValidators([de]);const lt=_t(Ee);null!==Ce.asyncValidator?Ee.setAsyncValidators(mn(lt,Ce.asyncValidator)):"function"==typeof lt&&Ee.setAsyncValidators([lt]);const hn=()=>Ee.updateValueAndValidity();be(Ce._rawValidators,hn),be(Ce._rawAsyncValidators,hn)}function nn(Ee,Ce){let de=!1;if(null!==Ee){if(null!==Ce.validator){const hn=At(Ee);if(Array.isArray(hn)&&hn.length>0){const Gn=hn.filter(qo=>qo!==Ce.validator);Gn.length!==hn.length&&(de=!0,Ee.setValidators(Gn))}}if(null!==Ce.asyncValidator){const hn=_t(Ee);if(Array.isArray(hn)&&hn.length>0){const Gn=hn.filter(qo=>qo!==Ce.asyncValidator);Gn.length!==hn.length&&(de=!0,Ee.setAsyncValidators(Gn))}}}const lt=()=>{};return be(Ce._rawValidators,lt),be(Ce._rawAsyncValidators,lt),de}function Un(Ee,Ce){Ee._pendingDirty&&Ee.markAsDirty(),Ee.setValue(Ee._pendingValue,{emitModelToViewChange:!1}),Ce.viewToModelUpdate(Ee._pendingValue),Ee._pendingChange=!1}function Yn(Ee,Ce){Zt(Ee,Ce)}function ui(Ee,Ce){if(!Ee.hasOwnProperty("model"))return!1;const de=Ee.model;return!!de.isFirstChange()||!Object.is(Ce,de.currentValue)}function Ko(Ee,Ce){Ee._syncPendingControls(),Ce.forEach(de=>{const lt=de.control;"submit"===lt.updateOn&<._pendingChange&&(de.viewToModelUpdate(lt._pendingValue),lt._pendingChange=!1)})}function Fn(Ee,Ce){if(!Ce)return null;let de,lt,hn;return Array.isArray(Ce),Ce.forEach(Gn=>{Gn.constructor===S?de=Gn:function Ro(Ee){return Object.getPrototypeOf(Ee.constructor)===R}(Gn)?lt=Gn:hn=Gn}),hn||lt||de||null}const ni={provide:zn,useExisting:(0,t.Gpc)(()=>Do)},To=(()=>Promise.resolve())();let Do=(()=>{class Ee extends zn{constructor(de,lt,hn){super(),this.callSetDisabledState=hn,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new je({},gt(de),Wt(lt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(de){To.then(()=>{const lt=this._findContainer(de.path);de.control=lt.registerControl(de.name,de.control),ce(de.control,de,this.callSetDisabledState),de.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(de)})}getControl(de){return this.form.get(de.path)}removeControl(de){To.then(()=>{const lt=this._findContainer(de.path);lt&<.removeControl(de.name),this._directives.delete(de)})}addFormGroup(de){To.then(()=>{const lt=this._findContainer(de.path),hn=new je({});Yn(hn,de),lt.registerControl(de.name,hn),hn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(de){To.then(()=>{const lt=this._findContainer(de.path);lt&<.removeControl(de.name)})}getFormGroup(de){return this.form.get(de.path)}updateModel(de,lt){To.then(()=>{this.form.get(de.path).setValue(lt)})}setValue(de){this.control.setValue(de)}onSubmit(de){return this.submitted=!0,Ko(this.form,this._directives),this.ngSubmit.emit(de),"dialog"===de?.target?.method}onReset(){this.resetForm()}resetForm(de){this.form.reset(de),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(de){return de.pop(),de.length?this.form.get(de):this.form}}return Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(pe,10),t.Y36(ae,10),t.Y36(Ie,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(de,lt){1&de&&t.NdJ("submit",function(Gn){return lt.onSubmit(Gn)})("reset",function(){return lt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([ni]),t.qOj]}),Ee})();function bn(Ee,Ce){const de=Ee.indexOf(Ce);de>-1&&Ee.splice(de,1)}function Co(Ee){return"object"==typeof Ee&&null!==Ee&&2===Object.keys(Ee).length&&"value"in Ee&&"disabled"in Ee}const pi=class extends tn{constructor(Ce=null,de,lt){super(ke(de),xe(lt,de)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ce),this._setUpdateStrategy(de),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vt(de)&&(de.nonNullable||de.initialValueIsDefault)&&(this.defaultValue=Co(Ce)?Ce.value:Ce)}setValue(Ce,de={}){this.value=this._pendingValue=Ce,this._onChange.length&&!1!==de.emitModelToViewChange&&this._onChange.forEach(lt=>lt(this.value,!1!==de.emitViewToModelChange)),this.updateValueAndValidity(de)}patchValue(Ce,de={}){this.setValue(Ce,de)}reset(Ce=this.defaultValue,de={}){this._applyFormState(Ce),this.markAsPristine(de),this.markAsUntouched(de),this.setValue(this.value,de),this._pendingChange=!1}_updateValue(){}_anyControls(Ce){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ce){this._onChange.push(Ce)}_unregisterOnChange(Ce){bn(this._onChange,Ce)}registerOnDisabledChange(Ce){this._onDisabledChange.push(Ce)}_unregisterOnDisabledChange(Ce){bn(this._onDisabledChange,Ce)}_forEachChild(Ce){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ce){Co(Ce)?(this.value=this._pendingValue=Ce.value,Ce.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ce}},Ue={provide:Yt,useExisting:(0,t.Gpc)(()=>Ft)},Tt=(()=>Promise.resolve())();let Ft=(()=>{class Ee extends Yt{constructor(de,lt,hn,Gn,qo,gn){super(),this._changeDetectorRef=qo,this.callSetDisabledState=gn,this.control=new pi,this._registered=!1,this.update=new t.vpe,this._parent=de,this._setValidators(lt),this._setAsyncValidators(hn),this.valueAccessor=Fn(0,Gn)}ngOnChanges(de){if(this._checkForErrors(),!this._registered||"name"in de){if(this._registered&&(this._checkName(),this.formDirective)){const lt=de.name.previousValue;this.formDirective.removeControl({name:lt,path:this._getPath(lt)})}this._setUpControl()}"isDisabled"in de&&this._updateDisabled(de),ui(de,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(de){this.viewModel=de,this.update.emit(de)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ce(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(de){Tt.then(()=>{this.control.setValue(de,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(de){const lt=de.isDisabled.currentValue,hn=0!==lt&&(0,t.D6c)(lt);Tt.then(()=>{hn&&!this.control.disabled?this.control.disable():!hn&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(de){return this._parent?we(de,this._parent):[de]}}return Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(zn,9),t.Y36(pe,10),t.Y36(ae,10),t.Y36(T,10),t.Y36(t.sBO,8),t.Y36(Ie,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([Ue]),t.qOj,t.TTD]}),Ee})(),Gt=(()=>{class Ee{}return Ee.\u0275fac=function(de){return new(de||Ee)},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),Ee})(),Tn=(()=>{class Ee{}return Ee.\u0275fac=function(de){return new(de||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({}),Ee})();const Vn=new t.OlP("NgModelWithFormControlWarning"),Zn={provide:Yt,useExisting:(0,t.Gpc)(()=>ho)};let ho=(()=>{class Ee extends Yt{set isDisabled(de){}constructor(de,lt,hn,Gn,qo){super(),this._ngModelWarningConfig=Gn,this.callSetDisabledState=qo,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(de),this._setAsyncValidators(lt),this.valueAccessor=Fn(0,hn)}ngOnChanges(de){if(this._isControlChanged(de)){const lt=de.form.previousValue;lt&&nt(lt,this,!1),ce(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ui(de,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&nt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(de){this.viewModel=de,this.update.emit(de)}_isControlChanged(de){return de.hasOwnProperty("form")}}return Ee._ngModelWarningSentOnce=!1,Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(pe,10),t.Y36(ae,10),t.Y36(T,10),t.Y36(Vn,8),t.Y36(Ie,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([Zn]),t.qOj,t.TTD]}),Ee})();const uo={provide:zn,useExisting:(0,t.Gpc)(()=>fo)};let fo=(()=>{class Ee extends zn{constructor(de,lt,hn){super(),this.callSetDisabledState=hn,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(de),this._setAsyncValidators(lt)}ngOnChanges(de){this._checkFormPresent(),de.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(de){const lt=this.form.get(de.path);return ce(lt,de,this.callSetDisabledState),lt.updateValueAndValidity({emitEvent:!1}),this.directives.push(de),lt}getControl(de){return this.form.get(de.path)}removeControl(de){nt(de.control||null,de,!1),function Wn(Ee,Ce){const de=Ee.indexOf(Ce);de>-1&&Ee.splice(de,1)}(this.directives,de)}addFormGroup(de){this._setUpFormContainer(de)}removeFormGroup(de){this._cleanUpFormContainer(de)}getFormGroup(de){return this.form.get(de.path)}addFormArray(de){this._setUpFormContainer(de)}removeFormArray(de){this._cleanUpFormContainer(de)}getFormArray(de){return this.form.get(de.path)}updateModel(de,lt){this.form.get(de.path).setValue(lt)}onSubmit(de){return this.submitted=!0,Ko(this.form,this.directives),this.ngSubmit.emit(de),"dialog"===de?.target?.method}onReset(){this.resetForm()}resetForm(de){this.form.reset(de),this.submitted=!1}_updateDomValue(){this.directives.forEach(de=>{const lt=de.control,hn=this.form.get(de.path);lt!==hn&&(nt(lt||null,de),(Ee=>Ee instanceof pi)(hn)&&(ce(hn,de,this.callSetDisabledState),de.control=hn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(de){const lt=this.form.get(de.path);Yn(lt,de),lt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(de){if(this.form){const lt=this.form.get(de.path);lt&&function co(Ee,Ce){return nn(Ee,Ce)}(lt,de)&<.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zt(this.form,this),this._oldForm&&nn(this._oldForm,this)}_checkFormPresent(){}}return Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(pe,10),t.Y36(ae,10),t.Y36(Ie,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formGroup",""]],hostBindings:function(de,lt){1&de&&t.NdJ("submit",function(Gn){return lt.onSubmit(Gn)})("reset",function(){return lt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([uo]),t.qOj,t.TTD]}),Ee})();const ii={provide:Yt,useExisting:(0,t.Gpc)(()=>oi)};let oi=(()=>{class Ee extends Yt{set isDisabled(de){}constructor(de,lt,hn,Gn,qo){super(),this._ngModelWarningConfig=qo,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=de,this._setValidators(lt),this._setAsyncValidators(hn),this.valueAccessor=Fn(0,Gn)}ngOnChanges(de){this._added||this._setUpControl(),ui(de,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(de){this.viewModel=de,this.update.emit(de)}get path(){return we(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return Ee._ngModelWarningSentOnce=!1,Ee.\u0275fac=function(de){return new(de||Ee)(t.Y36(zn,13),t.Y36(pe,10),t.Y36(ae,10),t.Y36(T,10),t.Y36(Vn,8))},Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([ii]),t.qOj,t.TTD]}),Ee})(),Gr=(()=>{class Ee{constructor(){this._validator=H}ngOnChanges(de){if(this.inputName in de){const lt=this.normalizeInput(de[this.inputName].currentValue);this._enabled=this.enabled(lt),this._validator=this._enabled?this.createValidator(lt):H,this._onChange&&this._onChange()}}validate(de){return this._validator(de)}registerOnValidatorChange(de){this._onChange=de}enabled(de){return null!=de}}return Ee.\u0275fac=function(de){return new(de||Ee)},Ee.\u0275dir=t.lG2({type:Ee,features:[t.TTD]}),Ee})();const Ar={provide:pe,useExisting:(0,t.Gpc)(()=>Xi),multi:!0};let Xi=(()=>{class Ee extends Gr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.D6c,this.createValidator=de=>Y}enabled(de){return de}}return Ee.\u0275fac=function(){let Ce;return function(lt){return(Ce||(Ce=t.n5z(Ee)))(lt||Ee)}}(),Ee.\u0275dir=t.lG2({type:Ee,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(de,lt){2&de&&t.uIk("required",lt._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([Ar]),t.qOj]}),Ee})(),to=(()=>{class Ee{}return Ee.\u0275fac=function(de){return new(de||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({imports:[Tn]}),Ee})();class yo extends tn{constructor(Ce,de,lt){super(ke(de),xe(lt,de)),this.controls=Ce,this._initObservables(),this._setUpdateStrategy(de),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ce){return this.controls[this._adjustIndex(Ce)]}push(Ce,de={}){this.controls.push(Ce),this._registerControl(Ce),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}insert(Ce,de,lt={}){this.controls.splice(Ce,0,de),this._registerControl(de),this.updateValueAndValidity({emitEvent:lt.emitEvent})}removeAt(Ce,de={}){let lt=this._adjustIndex(Ce);lt<0&&(lt=0),this.controls[lt]&&this.controls[lt]._registerOnCollectionChange(()=>{}),this.controls.splice(lt,1),this.updateValueAndValidity({emitEvent:de.emitEvent})}setControl(Ce,de,lt={}){let hn=this._adjustIndex(Ce);hn<0&&(hn=0),this.controls[hn]&&this.controls[hn]._registerOnCollectionChange(()=>{}),this.controls.splice(hn,1),de&&(this.controls.splice(hn,0,de),this._registerControl(de)),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ce,de={}){Ct(this,0,Ce),Ce.forEach((lt,hn)=>{qt(this,!1,hn),this.at(hn).setValue(lt,{onlySelf:!0,emitEvent:de.emitEvent})}),this.updateValueAndValidity(de)}patchValue(Ce,de={}){null!=Ce&&(Ce.forEach((lt,hn)=>{this.at(hn)&&this.at(hn).patchValue(lt,{onlySelf:!0,emitEvent:de.emitEvent})}),this.updateValueAndValidity(de))}reset(Ce=[],de={}){this._forEachChild((lt,hn)=>{lt.reset(Ce[hn],{onlySelf:!0,emitEvent:de.emitEvent})}),this._updatePristine(de),this._updateTouched(de),this.updateValueAndValidity(de)}getRawValue(){return this.controls.map(Ce=>Ce.getRawValue())}clear(Ce={}){this.controls.length<1||(this._forEachChild(de=>de._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ce.emitEvent}))}_adjustIndex(Ce){return Ce<0?Ce+this.length:Ce}_syncPendingControls(){let Ce=this.controls.reduce((de,lt)=>!!lt._syncPendingControls()||de,!1);return Ce&&this.updateValueAndValidity({onlySelf:!0}),Ce}_forEachChild(Ce){this.controls.forEach((de,lt)=>{Ce(de,lt)})}_updateValue(){this.value=this.controls.filter(Ce=>Ce.enabled||this.disabled).map(Ce=>Ce.value)}_anyControls(Ce){return this.controls.some(de=>de.enabled&&Ce(de))}_setUpControls(){this._forEachChild(Ce=>this._registerControl(Ce))}_allControlsDisabled(){for(const Ce of this.controls)if(Ce.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ce){Ce.setParent(this),Ce._registerOnCollectionChange(this._onCollectionChange)}_find(Ce){return this.at(Ce)??null}}let lo=(()=>{class Ee{static withConfig(de){return{ngModule:Ee,providers:[{provide:Ie,useValue:de.callSetDisabledState??he}]}}}return Ee.\u0275fac=function(de){return new(de||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({imports:[to]}),Ee})(),Qs=(()=>{class Ee{static withConfig(de){return{ngModule:Ee,providers:[{provide:Vn,useValue:de.warnOnNgModelWithFormControl??"always"},{provide:Ie,useValue:de.callSetDisabledState??he}]}}}return Ee.\u0275fac=function(de){return new(de||Ee)},Ee.\u0275mod=t.oAB({type:Ee}),Ee.\u0275inj=t.cJS({imports:[to]}),Ee})()},1481:(Et,Me,a)=>{a.d(Me,{Dx:()=>Ge,H7:()=>Qe,b2:()=>Ze,h_:()=>J,q6:()=>xt,se:()=>H});var t=a(6895),o=a(4650);class g extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class l extends g{static makeCurrent(){(0,t.HT)(new l)}onAndCancel(he,we,ce){return he.addEventListener(we,ce,!1),()=>{he.removeEventListener(we,ce,!1)}}dispatchEvent(he,we){he.dispatchEvent(we)}remove(he){he.parentNode&&he.parentNode.removeChild(he)}createElement(he,we){return(we=we||this.getDefaultDocument()).createElement(he)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(he){return he.nodeType===Node.ELEMENT_NODE}isShadowRoot(he){return he instanceof DocumentFragment}getGlobalEventTarget(he,we){return"window"===we?window:"document"===we?he:"body"===we?he.body:null}getBaseHref(he){const we=function L(){return s=s||document.querySelector("base"),s?s.getAttribute("href"):null}();return null==we?null:function T(Ie){R=R||document.createElement("a"),R.setAttribute("href",Ie);const he=R.pathname;return"/"===he.charAt(0)?he:`/${he}`}(we)}resetBaseElement(){s=null}getUserAgent(){return window.navigator.userAgent}getCookie(he){return(0,t.Mx)(document.cookie,he)}}let R,s=null;const M=new o.OlP("TRANSITION_ID"),O=[{provide:o.ip1,useFactory:function E(Ie,he,we){return()=>{we.get(o.CZH).donePromise.then(()=>{const ce=(0,t.q)(),nt=he.querySelectorAll(`style[ng-transition="${Ie}"]`);for(let be=0;be{class Ie{build(){return new XMLHttpRequest}}return Ie.\u0275fac=function(we){return new(we||Ie)},Ie.\u0275prov=o.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const S=new o.OlP("EventManagerPlugins");let e=(()=>{class Ie{constructor(we,ce){this._zone=ce,this._eventNameToPlugin=new Map,we.forEach(nt=>nt.manager=this),this._plugins=we.slice().reverse()}addEventListener(we,ce,nt){return this._findPluginFor(ce).addEventListener(we,ce,nt)}addGlobalEventListener(we,ce,nt){return this._findPluginFor(ce).addGlobalEventListener(we,ce,nt)}getZone(){return this._zone}_findPluginFor(we){const ce=this._eventNameToPlugin.get(we);if(ce)return ce;const nt=this._plugins;for(let be=0;be{class Ie{constructor(){this._stylesSet=new Set}addStyles(we){const ce=new Set;we.forEach(nt=>{this._stylesSet.has(nt)||(this._stylesSet.add(nt),ce.add(nt))}),this.onStylesAdded(ce)}onStylesAdded(we){}getAllStyles(){return Array.from(this._stylesSet)}}return Ie.\u0275fac=function(we){return new(we||Ie)},Ie.\u0275prov=o.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})(),pe=(()=>{class Ie extends w{constructor(we){super(),this._doc=we,this._hostNodes=new Map,this._hostNodes.set(we.head,[])}_addStylesToHost(we,ce,nt){we.forEach(be=>{const rt=this._doc.createElement("style");rt.textContent=be,nt.push(ce.appendChild(rt))})}addHost(we){const ce=[];this._addStylesToHost(this._stylesSet,we,ce),this._hostNodes.set(we,ce)}removeHost(we){const ce=this._hostNodes.get(we);ce&&ce.forEach(ae),this._hostNodes.delete(we)}onStylesAdded(we){this._hostNodes.forEach((ce,nt)=>{this._addStylesToHost(we,nt,ce)})}ngOnDestroy(){this._hostNodes.forEach(we=>we.forEach(ae))}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(t.K0))},Ie.\u0275prov=o.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();function ae(Ie){(0,t.q)().remove(Ie)}const Z={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},U=/%COMP%/g,q="%COMP%",Y=`_nghost-${q}`,k=`_ngcontent-${q}`;function te(Ie,he){return he.flat(100).map(we=>we.replace(U,Ie))}function ye(Ie){return he=>{if("__ngUnwrap__"===he)return Ie;!1===Ie(he)&&(he.preventDefault(),he.returnValue=!1)}}let H=(()=>{class Ie{constructor(we,ce,nt){this.eventManager=we,this.sharedStylesHost=ce,this.appId=nt,this.rendererByCompId=new Map,this.defaultRenderer=new X(we)}createRenderer(we,ce){if(!we||!ce)return this.defaultRenderer;switch(ce.encapsulation){case o.ifc.Emulated:{let nt=this.rendererByCompId.get(ce.id);return nt||(nt=new St(this.eventManager,this.sharedStylesHost,ce,this.appId),this.rendererByCompId.set(ce.id,nt)),nt.applyToHost(we),nt}case o.ifc.ShadowDom:return new rn(this.eventManager,this.sharedStylesHost,we,ce);default:if(!this.rendererByCompId.has(ce.id)){const nt=te(ce.id,ce.styles);this.sharedStylesHost.addStyles(nt),this.rendererByCompId.set(ce.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(e),o.LFG(pe),o.LFG(o.AFp))},Ie.\u0275prov=o.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();class X{constructor(he){this.eventManager=he,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(he,we){return we?document.createElementNS(Z[we]||we,he):document.createElement(he)}createComment(he){return document.createComment(he)}createText(he){return document.createTextNode(he)}appendChild(he,we){(wt(he)?he.content:he).appendChild(we)}insertBefore(he,we,ce){he&&(wt(he)?he.content:he).insertBefore(we,ce)}removeChild(he,we){he&&he.removeChild(we)}selectRootElement(he,we){let ce="string"==typeof he?document.querySelector(he):he;if(!ce)throw new Error(`The selector "${he}" did not match any elements`);return we||(ce.textContent=""),ce}parentNode(he){return he.parentNode}nextSibling(he){return he.nextSibling}setAttribute(he,we,ce,nt){if(nt){we=nt+":"+we;const be=Z[nt];be?he.setAttributeNS(be,we,ce):he.setAttribute(we,ce)}else he.setAttribute(we,ce)}removeAttribute(he,we,ce){if(ce){const nt=Z[ce];nt?he.removeAttributeNS(nt,we):he.removeAttribute(`${ce}:${we}`)}else he.removeAttribute(we)}addClass(he,we){he.classList.add(we)}removeClass(he,we){he.classList.remove(we)}setStyle(he,we,ce,nt){nt&(o.JOm.DashCase|o.JOm.Important)?he.style.setProperty(we,ce,nt&o.JOm.Important?"important":""):he.style[we]=ce}removeStyle(he,we,ce){ce&o.JOm.DashCase?he.style.removeProperty(we):he.style[we]=""}setProperty(he,we,ce){he[we]=ce}setValue(he,we){he.nodeValue=we}listen(he,we,ce){return"string"==typeof he?this.eventManager.addGlobalEventListener(he,we,ye(ce)):this.eventManager.addEventListener(he,we,ye(ce))}}function wt(Ie){return"TEMPLATE"===Ie.tagName&&void 0!==Ie.content}class St extends X{constructor(he,we,ce,nt){super(he),this.component=ce;const be=te(nt+"-"+ce.id,ce.styles);we.addStyles(be),this.contentAttr=function me(Ie){return k.replace(U,Ie)}(nt+"-"+ce.id),this.hostAttr=function fe(Ie){return Y.replace(U,Ie)}(nt+"-"+ce.id)}applyToHost(he){super.setAttribute(he,this.hostAttr,"")}createElement(he,we){const ce=super.createElement(he,we);return super.setAttribute(ce,this.contentAttr,""),ce}}class rn extends X{constructor(he,we,ce,nt){super(he),this.sharedStylesHost=we,this.hostEl=ce,this.shadowRoot=ce.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const be=te(nt.id,nt.styles);for(let rt=0;rt{class Ie extends I{constructor(we){super(we)}supports(we){return!0}addEventListener(we,ce,nt){return we.addEventListener(ce,nt,!1),()=>this.removeEventListener(we,ce,nt)}removeEventListener(we,ce,nt){return we.removeEventListener(ce,nt)}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(t.K0))},Ie.\u0275prov=o.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const gt=["alt","control","meta","shift"],Dt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Wt={alt:Ie=>Ie.altKey,control:Ie=>Ie.ctrlKey,meta:Ie=>Ie.metaKey,shift:Ie=>Ie.shiftKey};let mn=(()=>{class Ie extends I{constructor(we){super(we)}supports(we){return null!=Ie.parseEventName(we)}addEventListener(we,ce,nt){const be=Ie.parseEventName(ce),rt=Ie.eventCallback(be.fullKey,nt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(we,be.domEventName,rt))}static parseEventName(we){const ce=we.toLowerCase().split("."),nt=ce.shift();if(0===ce.length||"keydown"!==nt&&"keyup"!==nt)return null;const be=Ie._normalizeKey(ce.pop());let rt="",Zt=ce.indexOf("code");if(Zt>-1&&(ce.splice(Zt,1),rt="code."),gt.forEach(Sn=>{const jn=ce.indexOf(Sn);jn>-1&&(ce.splice(jn,1),rt+=Sn+".")}),rt+=be,0!=ce.length||0===be.length)return null;const nn={};return nn.domEventName=nt,nn.fullKey=rt,nn}static matchEventFullKeyCode(we,ce){let nt=Dt[we.key]||we.key,be="";return ce.indexOf("code.")>-1&&(nt=we.code,be="code."),!(null==nt||!nt)&&(nt=nt.toLowerCase()," "===nt?nt="space":"."===nt&&(nt="dot"),gt.forEach(rt=>{rt!==nt&&(0,Wt[rt])(we)&&(be+=rt+".")}),be+=nt,be===ce)}static eventCallback(we,ce,nt){return be=>{Ie.matchEventFullKeyCode(be,we)&&nt.runGuarded(()=>ce(be))}}static _normalizeKey(we){return"esc"===we?"escape":we}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(t.K0))},Ie.\u0275prov=o.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})();const xt=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:t.bD},{provide:o.g9A,useValue:function sn(){l.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function zn(){return(0,o.RDi)(document),document},deps:[]}]),Ye=new o.OlP(""),$e=[{provide:o.rWj,useClass:class F{addToWindow(he){o.dqk.getAngularTestability=(ce,nt=!0)=>{const be=he.findTestabilityInTree(ce,nt);if(null==be)throw new Error("Could not find testability for element.");return be},o.dqk.getAllAngularTestabilities=()=>he.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>he.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(ce=>{const nt=o.dqk.getAllAngularTestabilities();let be=nt.length,rt=!1;const Zt=function(nn){rt=rt||nn,be--,0==be&&ce(rt)};nt.forEach(function(nn){nn.whenStable(Zt)})})}findTestabilityInTree(he,we,ce){return null==we?null:he.getTestability(we)??(ce?(0,t.q)().isShadowRoot(we)?this.findTestabilityInTree(he,we.host,!0):this.findTestabilityInTree(he,we.parentElement,!0):null)}},deps:[]},{provide:o.lri,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b,o.eoX,o.rWj]}],Ae=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function Dn(){return new o.qLn},deps:[]},{provide:S,useClass:ot,multi:!0,deps:[t.K0,o.R0b,o.Lbi]},{provide:S,useClass:mn,multi:!0,deps:[t.K0]},{provide:H,useClass:H,deps:[e,pe,o.AFp]},{provide:o.FYo,useExisting:H},{provide:w,useExisting:pe},{provide:pe,useClass:pe,deps:[t.K0]},{provide:e,useClass:e,deps:[S,o.R0b]},{provide:t.JF,useClass:V,deps:[]},[]];let Ze=(()=>{class Ie{constructor(we){}static withServerTransition(we){return{ngModule:Ie,providers:[{provide:o.AFp,useValue:we.appId},{provide:M,useExisting:o.AFp},O]}}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(Ye,12))},Ie.\u0275mod=o.oAB({type:Ie}),Ie.\u0275inj=o.cJS({providers:[...Ae,...$e],imports:[t.ez,o.hGG]}),Ie})(),J=(()=>{class Ie{constructor(we){this._doc=we,this._dom=(0,t.q)()}addTag(we,ce=!1){return we?this._getOrCreateElement(we,ce):null}addTags(we,ce=!1){return we?we.reduce((nt,be)=>(be&&nt.push(this._getOrCreateElement(be,ce)),nt),[]):[]}getTag(we){return we&&this._doc.querySelector(`meta[${we}]`)||null}getTags(we){if(!we)return[];const ce=this._doc.querySelectorAll(`meta[${we}]`);return ce?[].slice.call(ce):[]}updateTag(we,ce){if(!we)return null;ce=ce||this._parseSelector(we);const nt=this.getTag(ce);return nt?this._setMetaElementAttributes(we,nt):this._getOrCreateElement(we,!0)}removeTag(we){this.removeTagElement(this.getTag(we))}removeTagElement(we){we&&this._dom.remove(we)}_getOrCreateElement(we,ce=!1){if(!ce){const rt=this._parseSelector(we),Zt=this.getTags(rt).filter(nn=>this._containsAttributes(we,nn))[0];if(void 0!==Zt)return Zt}const nt=this._dom.createElement("meta");return this._setMetaElementAttributes(we,nt),this._doc.getElementsByTagName("head")[0].appendChild(nt),nt}_setMetaElementAttributes(we,ce){return Object.keys(we).forEach(nt=>ce.setAttribute(this._getMetaKeyMap(nt),we[nt])),ce}_parseSelector(we){const ce=we.name?"name":"property";return`${ce}="${we[ce]}"`}_containsAttributes(we,ce){return Object.keys(we).every(nt=>ce.getAttribute(this._getMetaKeyMap(nt))===we[nt])}_getMetaKeyMap(we){return Te[we]||we}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(t.K0))},Ie.\u0275prov=o.Yz7({token:Ie,factory:function(we){let ce=null;return ce=we?new we:function oe(){return new J((0,o.LFG)(t.K0))}(),ce},providedIn:"root"}),Ie})();const Te={httpEquiv:"http-equiv"};let Ge=(()=>{class Ie{constructor(we){this._doc=we}getTitle(){return this._doc.title}setTitle(we){this._doc.title=we||""}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(t.K0))},Ie.\u0275prov=o.Yz7({token:Ie,factory:function(we){let ce=null;return ce=we?new we:function Pe(){return new Ge((0,o.LFG)(t.K0))}(),ce},providedIn:"root"}),Ie})();typeof window<"u"&&window;let Qe=(()=>{class Ie{}return Ie.\u0275fac=function(we){return new(we||Ie)},Ie.\u0275prov=o.Yz7({token:Ie,factory:function(we){let ce=null;return ce=we?new(we||Ie):o.LFG(Re),ce},providedIn:"root"}),Ie})(),Re=(()=>{class Ie extends Qe{constructor(we){super(),this._doc=we}sanitize(we,ce){if(null==ce)return null;switch(we){case o.q3G.NONE:return ce;case o.q3G.HTML:return(0,o.qzn)(ce,"HTML")?(0,o.z3N)(ce):(0,o.EiD)(this._doc,String(ce)).toString();case o.q3G.STYLE:return(0,o.qzn)(ce,"Style")?(0,o.z3N)(ce):ce;case o.q3G.SCRIPT:if((0,o.qzn)(ce,"Script"))return(0,o.z3N)(ce);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.qzn)(ce,"URL")?(0,o.z3N)(ce):(0,o.mCW)(String(ce));case o.q3G.RESOURCE_URL:if((0,o.qzn)(ce,"ResourceURL"))return(0,o.z3N)(ce);throw new Error(`unsafe value used in a resource URL context (see ${o.JZr})`);default:throw new Error(`Unexpected SecurityContext ${we} (see ${o.JZr})`)}}bypassSecurityTrustHtml(we){return(0,o.JVY)(we)}bypassSecurityTrustStyle(we){return(0,o.L6k)(we)}bypassSecurityTrustScript(we){return(0,o.eBb)(we)}bypassSecurityTrustUrl(we){return(0,o.LAX)(we)}bypassSecurityTrustResourceUrl(we){return(0,o.pB0)(we)}}return Ie.\u0275fac=function(we){return new(we||Ie)(o.LFG(t.K0))},Ie.\u0275prov=o.Yz7({token:Ie,factory:function(we){let ce=null;return ce=we?new we:function ft(Ie){return new Re(Ie.get(t.K0))}(o.LFG(o.zs3)),ce},providedIn:"root"}),Ie})()},9116:(Et,Me,a)=>{a.d(Me,{gz:()=>fo,m2:()=>bn,eC:()=>Wt,F0:()=>or,rH:()=>Ia,Od:()=>xs,Bz:()=>Cl,lC:()=>Gr});var t=a(4650),o=a(457),g=a(9646),l=a(1135),s=a(6805),L=a(9841),R=a(7272),T=a(9770),M=a(9635),E=a(2843),O=a(9751),F=a(515),V=a(4033),S=a(7579),e=a(6895),I=a(4004),w=a(3900),pe=a(5698),ae=a(8675),Z=a(9300),U=a(5577),N=a(590),q=a(4351),Y=a(8505),k=a(262),me=a(5026),fe=a(4482),te=a(5403);function ye(A){return A<=0?()=>F.E:(0,fe.e)((B,b)=>{let re=[];B.subscribe((0,te.x)(b,De=>{re.push(De),A{for(const De of re)b.next(De);b.complete()},void 0,()=>{re=null}))})}var H=a(8068),X=a(6590),ve=a(4671);function Se(A,B){const b=arguments.length>=2;return re=>re.pipe(A?(0,Z.h)((De,tt)=>A(De,tt,re)):ve.y,ye(1),b?(0,X.d)(B):(0,H.T)(()=>new s.K))}var wt=a(2529),St=a(9718),rn=a(8746),ot=a(8343),gt=a(8189),Dt=a(1481);const Wt="primary",mn=Symbol("RouteTitle");class At{constructor(B){this.params=B||{}}has(B){return Object.prototype.hasOwnProperty.call(this.params,B)}get(B){if(this.has(B)){const b=this.params[B];return Array.isArray(b)?b[0]:b}return null}getAll(B){if(this.has(B)){const b=this.params[B];return Array.isArray(b)?b:[b]}return[]}get keys(){return Object.keys(this.params)}}function _t(A){return new At(A)}function Xt(A,B,b){const re=b.path.split("/");if(re.length>A.length||"full"===b.pathMatch&&(B.hasChildren()||re.lengthre[tt]===De)}return A===B}function Dn(A){return Array.prototype.concat.apply([],A)}function zn(A){return A.length>0?A[A.length-1]:null}function xt(A,B){for(const b in A)A.hasOwnProperty(b)&&B(A[b],b)}function Ye(A){return(0,t.CqO)(A)?A:(0,t.QGY)(A)?(0,o.D)(Promise.resolve(A)):(0,g.of)(A)}const $e=!1,Ae={exact:function Te(A,B,b){if(!pt(A.segments,B.segments)||!yt(A.segments,B.segments,b)||A.numberOfChildren!==B.numberOfChildren)return!1;for(const re in B.children)if(!A.children[re]||!Te(A.children[re],B.children[re],b))return!1;return!0},subset:Ge},Ze={exact:function J(A,B){return Rt(A,B)},subset:function Pe(A,B){return Object.keys(B).length<=Object.keys(A).length&&Object.keys(B).every(b=>sn(A[b],B[b]))},ignored:()=>!0};function oe(A,B,b){return Ae[b.paths](A.root,B.root,b.matrixParams)&&Ze[b.queryParams](A.queryParams,B.queryParams)&&!("exact"===b.fragment&&A.fragment!==B.fragment)}function Ge(A,B,b){return it(A,B,B.segments,b)}function it(A,B,b,re){if(A.segments.length>b.length){const De=A.segments.slice(0,b.length);return!(!pt(De,b)||B.hasChildren()||!yt(De,b,re))}if(A.segments.length===b.length){if(!pt(A.segments,b)||!yt(A.segments,b,re))return!1;for(const De in B.children)if(!A.children[De]||!Ge(A.children[De],B.children[De],re))return!1;return!0}{const De=b.slice(0,A.segments.length),tt=b.slice(A.segments.length);return!!(pt(A.segments,De)&&yt(A.segments,De,re)&&A.children[Wt])&&it(A.children[Wt],B,tt,re)}}function yt(A,B,b){return B.every((re,De)=>Ze[b](A[De].parameters,re.parameters))}class Ut{constructor(B=new $t([],{}),b={},re=null){this.root=B,this.queryParams=b,this.fragment=re}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_t(this.queryParams)),this._queryParamMap}toString(){return Nt.serialize(this)}}class $t{constructor(B,b){this.segments=B,this.children=b,this.parent=null,xt(b,(re,De)=>re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return We(this)}}class Je{constructor(B,b){this.path=B,this.parameters=b}get parameterMap(){return this._parameterMap||(this._parameterMap=_t(this.parameters)),this._parameterMap}toString(){return xe(this)}}function pt(A,B){return A.length===B.length&&A.every((b,re)=>b.path===B[re].path)}let zt=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:function(){return new jt},providedIn:"root"}),A})();class jt{parse(B){const b=new Re(B);return new Ut(b.parseRootSegment(),b.parseQueryParams(),b.parseFragment())}serialize(B){const b=`/${j(B.root,!0)}`,re=function vt(A){const B=Object.keys(A).map(b=>{const re=A[b];return Array.isArray(re)?re.map(De=>`${K(b)}=${K(De)}`).join("&"):`${K(b)}=${K(re)}`}).filter(b=>!!b);return B.length?`?${B.join("&")}`:""}(B.queryParams);return`${b}${re}${"string"==typeof B.fragment?`#${function ze(A){return encodeURI(A)}(B.fragment)}`:""}`}}const Nt=new jt;function We(A){return A.segments.map(B=>xe(B)).join("/")}function j(A,B){if(!A.hasChildren())return We(A);if(B){const b=A.children[Wt]?j(A.children[Wt],!1):"",re=[];return xt(A.children,(De,tt)=>{tt!==Wt&&re.push(`${tt}:${j(De,!1)}`)}),re.length>0?`${b}(${re.join("//")})`:b}{const b=function Vt(A,B){let b=[];return xt(A.children,(re,De)=>{De===Wt&&(b=b.concat(B(re,De)))}),xt(A.children,(re,De)=>{De!==Wt&&(b=b.concat(B(re,De)))}),b}(A,(re,De)=>De===Wt?[j(A.children[Wt],!1)]:[`${De}:${j(re,!1)}`]);return 1===Object.keys(A.children).length&&null!=A.children[Wt]?`${We(A)}/${b[0]}`:`${We(A)}/(${b.join("//")})`}}function P(A){return encodeURIComponent(A).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function K(A){return P(A).replace(/%3B/gi,";")}function dt(A){return P(A).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ke(A){return decodeURIComponent(A)}function ge(A){return ke(A.replace(/\+/g,"%20"))}function xe(A){return`${dt(A.path)}${function ut(A){return Object.keys(A).map(B=>`;${dt(B)}=${dt(A[B])}`).join("")}(A.parameters)}`}const qt=/^[^\/()?;=#]+/;function Ct(A){const B=A.match(qt);return B?B[0]:""}const tn=/^[^=?&#]+/,Qe=/^[^&#]+/;class Re{constructor(B){this.url=B,this.remaining=B}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new $t([],{}):new $t([],this.parseChildren())}parseQueryParams(){const B={};if(this.consumeOptional("?"))do{this.parseQueryParam(B)}while(this.consumeOptional("&"));return B}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const B=[];for(this.peekStartsWith("(")||B.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),B.push(this.parseSegment());let b={};this.peekStartsWith("/(")&&(this.capture("/"),b=this.parseParens(!0));let re={};return this.peekStartsWith("(")&&(re=this.parseParens(!1)),(B.length>0||Object.keys(b).length>0)&&(re[Wt]=new $t(B,b)),re}parseSegment(){const B=Ct(this.remaining);if(""===B&&this.peekStartsWith(";"))throw new t.vHH(4009,$e);return this.capture(B),new Je(ke(B),this.parseMatrixParams())}parseMatrixParams(){const B={};for(;this.consumeOptional(";");)this.parseParam(B);return B}parseParam(B){const b=Ct(this.remaining);if(!b)return;this.capture(b);let re="";if(this.consumeOptional("=")){const De=Ct(this.remaining);De&&(re=De,this.capture(re))}B[ke(b)]=ke(re)}parseQueryParam(B){const b=function je(A){const B=A.match(tn);return B?B[0]:""}(this.remaining);if(!b)return;this.capture(b);let re="";if(this.consumeOptional("=")){const at=function ft(A){const B=A.match(Qe);return B?B[0]:""}(this.remaining);at&&(re=at,this.capture(re))}const De=ge(b),tt=ge(re);if(B.hasOwnProperty(De)){let at=B[De];Array.isArray(at)||(at=[at],B[De]=at),at.push(tt)}else B[De]=tt}parseParens(B){const b={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const re=Ct(this.remaining),De=this.remaining[re.length];if("/"!==De&&")"!==De&&";"!==De)throw new t.vHH(4010,$e);let tt;re.indexOf(":")>-1?(tt=re.slice(0,re.indexOf(":")),this.capture(tt),this.capture(":")):B&&(tt=Wt);const at=this.parseChildren();b[tt]=1===Object.keys(at).length?at[Wt]:new $t([],at),this.consumeOptional("//")}return b}peekStartsWith(B){return this.remaining.startsWith(B)}consumeOptional(B){return!!this.peekStartsWith(B)&&(this.remaining=this.remaining.substring(B.length),!0)}capture(B){if(!this.consumeOptional(B))throw new t.vHH(4011,$e)}}function He(A){return A.segments.length>0?new $t([],{[Wt]:A}):A}function Ie(A){const B={};for(const re of Object.keys(A.children)){const tt=Ie(A.children[re]);(tt.segments.length>0||tt.hasChildren())&&(B[re]=tt)}return function he(A){if(1===A.numberOfChildren&&A.children[Wt]){const B=A.children[Wt];return new $t(A.segments.concat(B.segments),B.children)}return A}(new $t(A.segments,B))}function we(A){return A instanceof Ut}function Zt(A,B,b,re,De){if(0===b.length)return jn(B.root,B.root,B.root,re,De);const tt=function Yn(A){if("string"==typeof A[0]&&1===A.length&&"/"===A[0])return new $n(!0,0,A);let B=0,b=!1;const re=A.reduce((De,tt,at)=>{if("object"==typeof tt&&null!=tt){if(tt.outlets){const Kt={};return xt(tt.outlets,(vn,qn)=>{Kt[qn]="string"==typeof vn?vn.split("/"):vn}),[...De,{outlets:Kt}]}if(tt.segmentPath)return[...De,tt.segmentPath]}return"string"!=typeof tt?[...De,tt]:0===at?(tt.split("/").forEach((Kt,vn)=>{0==vn&&"."===Kt||(0==vn&&""===Kt?b=!0:".."===Kt?B++:""!=Kt&&De.push(Kt))}),De):[...De,tt]},[]);return new $n(b,B,re)}(b);return tt.toRoot()?jn(B.root,B.root,new $t([],{}),re,De):function at(vn){const qn=function ko(A,B,b,re){if(A.isAbsolute)return new co(B.root,!0,0);if(-1===re)return new co(b,b===B.root,0);return function po(A,B,b){let re=A,De=B,tt=b;for(;tt>De;){if(tt-=De,re=re.parent,!re)throw new t.vHH(4005,!1);De=re.segments.length}return new co(re,!1,De-tt)}(b,re+(nn(A.commands[0])?0:1),A.numberOfDoubleDots)}(tt,B,A.snapshot?._urlSegment,vn),Bn=qn.processChildren?ui(qn.segmentGroup,qn.index,tt.commands):Po(qn.segmentGroup,qn.index,tt.commands);return jn(B.root,qn.segmentGroup,Bn,re,De)}(A.snapshot?._lastPathIndex)}function nn(A){return"object"==typeof A&&null!=A&&!A.outlets&&!A.segmentPath}function Sn(A){return"object"==typeof A&&null!=A&&A.outlets}function jn(A,B,b,re,De){let at,tt={};re&&xt(re,(vn,qn)=>{tt[qn]=Array.isArray(vn)?vn.map(Bn=>`${Bn}`):`${vn}`}),at=A===B?b:Un(A,B,b);const Kt=He(Ie(at));return new Ut(Kt,tt,De)}function Un(A,B,b){const re={};return xt(A.children,(De,tt)=>{re[tt]=De===B?b:Un(De,B,b)}),new $t(A.segments,re)}class $n{constructor(B,b,re){if(this.isAbsolute=B,this.numberOfDoubleDots=b,this.commands=re,B&&re.length>0&&nn(re[0]))throw new t.vHH(4003,!1);const De=re.find(Sn);if(De&&De!==zn(re))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class co{constructor(B,b,re){this.segmentGroup=B,this.processChildren=b,this.index=re}}function Po(A,B,b){if(A||(A=new $t([],{})),0===A.segments.length&&A.hasChildren())return ui(A,B,b);const re=function Ro(A,B,b){let re=0,De=B;const tt={match:!1,pathIndex:0,commandIndex:0};for(;De=b.length)return tt;const at=A.segments[De],Kt=b[re];if(Sn(Kt))break;const vn=`${Kt}`,qn=re0&&void 0===vn)break;if(vn&&qn&&"object"==typeof qn&&void 0===qn.outlets){if(!ro(vn,qn,at))return tt;re+=2}else{if(!ro(vn,{},at))return tt;re++}De++}return{match:!0,pathIndex:De,commandIndex:re}}(A,B,b),De=b.slice(re.commandIndex);if(re.match&&re.pathIndex{"string"==typeof tt&&(tt=[tt]),null!==tt&&(De[at]=Po(A.children[at],B,tt))}),xt(A.children,(tt,at)=>{void 0===re[at]&&(De[at]=tt)}),new $t(A.segments,De)}}function Ko(A,B,b){const re=A.segments.slice(0,B);let De=0;for(;De{"string"==typeof b&&(b=[b]),null!==b&&(B[re]=Ko(new $t([],{}),0,b))}),B}function Wn(A){const B={};return xt(A,(b,re)=>B[re]=`${b}`),B}function ro(A,B,b){return A==b.path&&Rt(B,b.parameters)}const ni="imperative";class To{constructor(B,b){this.id=B,this.url=b}}class Do extends To{constructor(B,b,re="imperative",De=null){super(B,b),this.type=0,this.navigationTrigger=re,this.restoredState=De}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bn extends To{constructor(B,b,re){super(B,b),this.urlAfterRedirects=re,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Co extends To{constructor(B,b,re,De){super(B,b),this.reason=re,this.code=De,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class pi extends To{constructor(B,b,re,De){super(B,b),this.reason=re,this.code=De,this.type=16}}class Fi extends To{constructor(B,b,re,De){super(B,b),this.error=re,this.target=De,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oo extends To{constructor(B,b,re,De){super(B,b),this.urlAfterRedirects=re,this.state=De,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zi extends To{constructor(B,b,re,De){super(B,b),this.urlAfterRedirects=re,this.state=De,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ji extends To{constructor(B,b,re,De,tt){super(B,b),this.urlAfterRedirects=re,this.state=De,this.shouldActivate=tt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ei extends To{constructor(B,b,re,De){super(B,b),this.urlAfterRedirects=re,this.state=De,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jr extends To{constructor(B,b,re,De){super(B,b),this.urlAfterRedirects=re,this.state=De,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qe{constructor(B){this.route=B,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class se{constructor(B){this.route=B,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Fe{constructor(B){this.snapshot=B,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ue{constructor(B){this.snapshot=B,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tt{constructor(B){this.snapshot=B,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ft{constructor(B){this.snapshot=B,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gt{constructor(B,b,re){this.routerEvent=B,this.position=b,this.anchor=re,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let fn=(()=>{class A{createUrlTree(b,re,De,tt,at,Kt){return Zt(b||re.root,De,tt,at,Kt)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac}),A})(),Tn=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:function(B){return fn.\u0275fac(B)},providedIn:"root"}),A})();class En{constructor(B){this._root=B}get root(){return this._root.value}parent(B){const b=this.pathFromRoot(B);return b.length>1?b[b.length-2]:null}children(B){const b=Pn(B,this._root);return b?b.children.map(re=>re.value):[]}firstChild(B){const b=Pn(B,this._root);return b&&b.children.length>0?b.children[0].value:null}siblings(B){const b=Xn(B,this._root);return b.length<2?[]:b[b.length-2].children.map(De=>De.value).filter(De=>De!==B)}pathFromRoot(B){return Xn(B,this._root).map(b=>b.value)}}function Pn(A,B){if(A===B.value)return B;for(const b of B.children){const re=Pn(A,b);if(re)return re}return null}function Xn(A,B){if(A===B.value)return[B];for(const b of B.children){const re=Xn(A,b);if(re.length)return re.unshift(B),re}return[]}class xn{constructor(B,b){this.value=B,this.children=b}toString(){return`TreeNode(${this.value})`}}function Vn(A){const B={};return A&&A.children.forEach(b=>B[b.value.outlet]=b),B}class Zn extends En{constructor(B,b){super(B),this.snapshot=b,Bo(this,B)}toString(){return this.snapshot.toString()}}function ho(A,B){const b=function uo(A,B){const at=new bo([],{},{},"",{},Wt,B,null,A.root,-1,{});return new _o("",new xn(at,[]))}(A,B),re=new l.X([new Je("",{})]),De=new l.X({}),tt=new l.X({}),at=new l.X({}),Kt=new l.X(""),vn=new fo(re,De,at,Kt,tt,Wt,B,b.root);return vn.snapshot=b.root,new Zn(new xn(vn,[]),b)}class fo{constructor(B,b,re,De,tt,at,Kt,vn){this.url=B,this.params=b,this.queryParams=re,this.fragment=De,this.data=tt,this.outlet=at,this.component=Kt,this.title=this.data?.pipe((0,I.U)(qn=>qn[mn]))??(0,g.of)(void 0),this._futureSnapshot=vn}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,I.U)(B=>_t(B)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,I.U)(B=>_t(B)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Zo(A,B="emptyOnly"){const b=A.pathFromRoot;let re=0;if("always"!==B)for(re=b.length-1;re>=1;){const De=b[re],tt=b[re-1];if(De.routeConfig&&""===De.routeConfig.path)re--;else{if(tt.component)break;re--}}return function $o(A){return A.reduce((B,b)=>({params:{...B.params,...b.params},data:{...B.data,...b.data},resolve:{...b.data,...B.resolve,...b.routeConfig?.data,...b._resolvedData}}),{params:{},data:{},resolve:{}})}(b.slice(re))}class bo{get title(){return this.data?.[mn]}constructor(B,b,re,De,tt,at,Kt,vn,qn,Bn,Yo){this.url=B,this.params=b,this.queryParams=re,this.fragment=De,this.data=tt,this.outlet=at,this.component=Kt,this.routeConfig=vn,this._urlSegment=qn,this._lastPathIndex=Bn,this._resolve=Yo}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_t(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_t(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(re=>re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _o extends En{constructor(B,b){super(b),this.url=B,Bo(this,b)}toString(){return ii(this._root)}}function Bo(A,B){B.value._routerState=A,B.children.forEach(b=>Bo(A,b))}function ii(A){const B=A.children.length>0?` { ${A.children.map(ii).join(", ")} } `:"";return`${A.value}${B}`}function oi(A){if(A.snapshot){const B=A.snapshot,b=A._futureSnapshot;A.snapshot=b,Rt(B.queryParams,b.queryParams)||A.queryParams.next(b.queryParams),B.fragment!==b.fragment&&A.fragment.next(b.fragment),Rt(B.params,b.params)||A.params.next(b.params),function ct(A,B){if(A.length!==B.length)return!1;for(let b=0;bRt(b.parameters,B[re].parameters))}(A.url,B.url);return b&&!(!A.parent!=!B.parent)&&(!A.parent||Io(A.parent,B.parent))}function Qo(A,B,b){if(b&&A.shouldReuseRoute(B.value,b.value.snapshot)){const re=b.value;re._futureSnapshot=B.value;const De=function Si(A,B,b){return B.children.map(re=>{for(const De of b.children)if(A.shouldReuseRoute(re.value,De.value.snapshot))return Qo(A,re,De);return Qo(A,re)})}(A,B,b);return new xn(re,De)}{if(A.shouldAttach(B.value)){const tt=A.retrieve(B.value);if(null!==tt){const at=tt.route;return at.value._futureSnapshot=B.value,at.children=B.children.map(Kt=>Qo(A,Kt)),at}}const re=function Ni(A){return new fo(new l.X(A.url),new l.X(A.params),new l.X(A.queryParams),new l.X(A.fragment),new l.X(A.data),A.outlet,A.component,A)}(B.value),De=B.children.map(tt=>Qo(A,tt));return new xn(re,De)}}const Oo="ngNavigationCancelingError";function ri(A,B){const{redirectTo:b,navigationBehaviorOptions:re}=we(B)?{redirectTo:B,navigationBehaviorOptions:void 0}:B,De=Ki(!1,0,B);return De.url=b,De.navigationBehaviorOptions=re,De}function Ki(A,B,b){const re=new Error("NavigationCancelingError: "+(A||""));return re[Oo]=!0,re.cancellationCode=B,b&&(re.url=b),re}function si(A){return qi(A)&&we(A.url)}function qi(A){return A&&A[Oo]}class gr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new xi,this.attachRef=null}}let xi=(()=>{class A{constructor(){this.contexts=new Map}onChildOutletCreated(b,re){const De=this.getOrCreateContext(b);De.outlet=re,this.contexts.set(b,De)}onChildOutletDestroyed(b){const re=this.getContext(b);re&&(re.outlet=null,re.attachRef=null)}onOutletDeactivated(){const b=this.contexts;return this.contexts=new Map,b}onOutletReAttached(b){this.contexts=b}getOrCreateContext(b){let re=this.getContext(b);return re||(re=new gr,this.contexts.set(b,re)),re}getContext(b){return this.contexts.get(b)||null}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();const Us=!1;let Gr=(()=>{class A{constructor(){this.activated=null,this._activatedRoute=null,this.name=Wt,this.activateEvents=new t.vpe,this.deactivateEvents=new t.vpe,this.attachEvents=new t.vpe,this.detachEvents=new t.vpe,this.parentContexts=(0,t.f3M)(xi),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb)}ngOnChanges(b){if(b.name){const{firstChange:re,previousValue:De}=b.name;if(re)return;this.isTrackedInParentContexts(De)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(De)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(b){return this.parentContexts.getContext(b)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const b=this.parentContexts.getContext(this.name);b?.route&&(b.attachRef?this.attach(b.attachRef,b.route):this.activateWith(b.route,b.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,Us);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,Us);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,Us);this.location.detach();const b=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(b.instance),b}attach(b,re){this.activated=b,this._activatedRoute=re,this.location.insert(b.hostView),this.attachEvents.emit(b.instance)}deactivate(){if(this.activated){const b=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(b)}}activateWith(b,re){if(this.isActivated)throw new t.vHH(4013,Us);this._activatedRoute=b;const De=this.location,at=b.snapshot.component,Kt=this.parentContexts.getOrCreateContext(this.name).children,vn=new Li(b,Kt,De.injector);if(re&&function vs(A){return!!A.resolveComponentFactory}(re)){const qn=re.resolveComponentFactory(at);this.activated=De.createComponent(qn,De.length,vn)}else this.activated=De.createComponent(at,{index:De.length,injector:vn,environmentInjector:re??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275dir=t.lG2({type:A,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),A})();class Li{constructor(B,b,re){this.route=B,this.childContexts=b,this.parent=re}get(B,b){return B===fo?this.route:B===xi?this.childContexts:this.parent.get(B,b)}}let Hi=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275cmp=t.Xpm({type:A,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(b,re){1&b&&t._UZ(0,"router-outlet")},dependencies:[Gr],encapsulation:2}),A})();function vr(A,B){return A.providers&&!A._injector&&(A._injector=(0,t.MMx)(A.providers,B,`Route: ${A.path}`)),A._injector??B}function kt(A){const B=A.children&&A.children.map(kt),b=B?{...A,children:B}:{...A};return!b.component&&!b.loadComponent&&(B||b.loadChildren)&&b.outlet&&b.outlet!==Wt&&(b.component=Hi),b}function $(A){return A.outlet||Wt}function Ne(A,B){const b=A.filter(re=>$(re)===B);return b.push(...A.filter(re=>$(re)!==B)),b}function Lt(A){if(!A)return null;if(A.routeConfig?._injector)return A.routeConfig._injector;for(let B=A.parent;B;B=B.parent){const b=B.routeConfig;if(b?._loadedInjector)return b._loadedInjector;if(b?._injector)return b._injector}return null}class wn{constructor(B,b,re,De){this.routeReuseStrategy=B,this.futureState=b,this.currState=re,this.forwardEvent=De}activate(B){const b=this.futureState._root,re=this.currState?this.currState._root:null;this.deactivateChildRoutes(b,re,B),oi(this.futureState.root),this.activateChildRoutes(b,re,B)}deactivateChildRoutes(B,b,re){const De=Vn(b);B.children.forEach(tt=>{const at=tt.value.outlet;this.deactivateRoutes(tt,De[at],re),delete De[at]}),xt(De,(tt,at)=>{this.deactivateRouteAndItsChildren(tt,re)})}deactivateRoutes(B,b,re){const De=B.value,tt=b?b.value:null;if(De===tt)if(De.component){const at=re.getContext(De.outlet);at&&this.deactivateChildRoutes(B,b,at.children)}else this.deactivateChildRoutes(B,b,re);else tt&&this.deactivateRouteAndItsChildren(b,re)}deactivateRouteAndItsChildren(B,b){B.value.component&&this.routeReuseStrategy.shouldDetach(B.value.snapshot)?this.detachAndStoreRouteSubtree(B,b):this.deactivateRouteAndOutlet(B,b)}detachAndStoreRouteSubtree(B,b){const re=b.getContext(B.value.outlet),De=re&&B.value.component?re.children:b,tt=Vn(B);for(const at of Object.keys(tt))this.deactivateRouteAndItsChildren(tt[at],De);if(re&&re.outlet){const at=re.outlet.detach(),Kt=re.children.onOutletDeactivated();this.routeReuseStrategy.store(B.value.snapshot,{componentRef:at,route:B,contexts:Kt})}}deactivateRouteAndOutlet(B,b){const re=b.getContext(B.value.outlet),De=re&&B.value.component?re.children:b,tt=Vn(B);for(const at of Object.keys(tt))this.deactivateRouteAndItsChildren(tt[at],De);re&&re.outlet&&(re.outlet.deactivate(),re.children.onOutletDeactivated(),re.attachRef=null,re.resolver=null,re.route=null)}activateChildRoutes(B,b,re){const De=Vn(b);B.children.forEach(tt=>{this.activateRoutes(tt,De[tt.value.outlet],re),this.forwardEvent(new Ft(tt.value.snapshot))}),B.children.length&&this.forwardEvent(new Ue(B.value.snapshot))}activateRoutes(B,b,re){const De=B.value,tt=b?b.value:null;if(oi(De),De===tt)if(De.component){const at=re.getOrCreateContext(De.outlet);this.activateChildRoutes(B,b,at.children)}else this.activateChildRoutes(B,b,re);else if(De.component){const at=re.getOrCreateContext(De.outlet);if(this.routeReuseStrategy.shouldAttach(De.snapshot)){const Kt=this.routeReuseStrategy.retrieve(De.snapshot);this.routeReuseStrategy.store(De.snapshot,null),at.children.onOutletReAttached(Kt.contexts),at.attachRef=Kt.componentRef,at.route=Kt.route.value,at.outlet&&at.outlet.attach(Kt.componentRef,Kt.route.value),oi(Kt.route.value),this.activateChildRoutes(B,null,at.children)}else{const Kt=Lt(De.snapshot),vn=Kt?.get(t._Vd)??null;at.attachRef=null,at.route=De,at.resolver=vn,at.injector=Kt,at.outlet&&at.outlet.activateWith(De,at.injector),this.activateChildRoutes(B,null,at.children)}}else this.activateChildRoutes(B,null,re)}}class no{constructor(B){this.path=B,this.route=this.path[this.path.length-1]}}class to{constructor(B,b){this.component=B,this.route=b}}function yo(A,B,b){const re=A._root;return hi(re,B?B._root:null,b,[re.value])}function Uo(A,B){const b=Symbol(),re=B.get(A,b);return re===b?"function"!=typeof A||(0,t.Z0I)(A)?B.get(A):A:re}function hi(A,B,b,re,De={canDeactivateChecks:[],canActivateChecks:[]}){const tt=Vn(B);return A.children.forEach(at=>{(function Di(A,B,b,re,De={canDeactivateChecks:[],canActivateChecks:[]}){const tt=A.value,at=B?B.value:null,Kt=b?b.getContext(A.value.outlet):null;if(at&&tt.routeConfig===at.routeConfig){const vn=function Oi(A,B,b){if("function"==typeof b)return b(A,B);switch(b){case"pathParamsChange":return!pt(A.url,B.url);case"pathParamsOrQueryParamsChange":return!pt(A.url,B.url)||!Rt(A.queryParams,B.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Io(A,B)||!Rt(A.queryParams,B.queryParams);default:return!Io(A,B)}}(at,tt,tt.routeConfig.runGuardsAndResolvers);vn?De.canActivateChecks.push(new no(re)):(tt.data=at.data,tt._resolvedData=at._resolvedData),hi(A,B,tt.component?Kt?Kt.children:null:b,re,De),vn&&Kt&&Kt.outlet&&Kt.outlet.isActivated&&De.canDeactivateChecks.push(new to(Kt.outlet.component,at))}else at&&$i(B,Kt,De),De.canActivateChecks.push(new no(re)),hi(A,null,tt.component?Kt?Kt.children:null:b,re,De)})(at,tt[at.value.outlet],b,re.concat([at.value]),De),delete tt[at.value.outlet]}),xt(tt,(at,Kt)=>$i(at,b.getContext(Kt),De)),De}function $i(A,B,b){const re=Vn(A),De=A.value;xt(re,(tt,at)=>{$i(tt,De.component?B?B.children.getContext(at):null:B,b)}),b.canDeactivateChecks.push(new to(De.component&&B&&B.outlet&&B.outlet.isActivated?B.outlet.component:null,De))}function fi(A){return"function"==typeof A}function qo(A){return A instanceof s.K||"EmptyError"===A?.name}const gn=Symbol("INITIAL_VALUE");function mo(){return(0,w.w)(A=>(0,L.a)(A.map(B=>B.pipe((0,pe.q)(1),(0,ae.O)(gn)))).pipe((0,I.U)(B=>{for(const b of B)if(!0!==b){if(b===gn)return gn;if(!1===b||b instanceof Ut)return b}return!0}),(0,Z.h)(B=>B!==gn),(0,pe.q)(1)))}function ys(A){return(0,M.z)((0,Y.b)(B=>{if(we(B))throw ri(0,B)}),(0,I.U)(B=>!0===B))}const ei={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fr(A,B,b,re,De){const tt=is(A,B,b);return tt.matched?function Ws(A,B,b,re){const De=B.canMatch;if(!De||0===De.length)return(0,g.of)(!0);const tt=De.map(at=>{const Kt=Uo(at,A);return Ye(function lt(A){return A&&fi(A.canMatch)}(Kt)?Kt.canMatch(B,b):A.runInContext(()=>Kt(B,b)))});return(0,g.of)(tt).pipe(mo(),ys())}(re=vr(B,re),B,b).pipe((0,I.U)(at=>!0===at?tt:{...ei})):(0,g.of)(tt)}function is(A,B,b){if(""===B.path)return"full"===B.pathMatch&&(A.hasChildren()||b.length>0)?{...ei}:{matched:!0,consumedSegments:[],remainingSegments:b,parameters:{},positionalParamSegments:{}};const De=(B.matcher||Xt)(b,A,B);if(!De)return{...ei};const tt={};xt(De.posParams,(Kt,vn)=>{tt[vn]=Kt.path});const at=De.consumed.length>0?{...tt,...De.consumed[De.consumed.length-1].parameters}:tt;return{matched:!0,consumedSegments:De.consumed,remainingSegments:b.slice(De.consumed.length),parameters:at,positionalParamSegments:De.posParams??{}}}function cr(A,B,b,re){if(b.length>0&&function Qr(A,B,b){return b.some(re=>lr(A,B,re)&&$(re)!==Wt)}(A,b,re)){const tt=new $t(B,function cc(A,B,b,re){const De={};De[Wt]=re,re._sourceSegment=A,re._segmentIndexShift=B.length;for(const tt of b)if(""===tt.path&&$(tt)!==Wt){const at=new $t([],{});at._sourceSegment=A,at._segmentIndexShift=B.length,De[$(tt)]=at}return De}(A,B,re,new $t(b,A.children)));return tt._sourceSegment=A,tt._segmentIndexShift=B.length,{segmentGroup:tt,slicedSegments:[]}}if(0===b.length&&function Wc(A,B,b){return b.some(re=>lr(A,B,re))}(A,b,re)){const tt=new $t(A.segments,function _i(A,B,b,re,De){const tt={};for(const at of re)if(lr(A,b,at)&&!De[$(at)]){const Kt=new $t([],{});Kt._sourceSegment=A,Kt._segmentIndexShift=B.length,tt[$(at)]=Kt}return{...De,...tt}}(A,B,b,re,A.children));return tt._sourceSegment=A,tt._segmentIndexShift=B.length,{segmentGroup:tt,slicedSegments:b}}const De=new $t(A.segments,A.children);return De._sourceSegment=A,De._segmentIndexShift=B.length,{segmentGroup:De,slicedSegments:b}}function lr(A,B,b){return(!(A.hasChildren()||B.length>0)||"full"!==b.pathMatch)&&""===b.path}function yr(A,B,b,re){return!!($(A)===re||re!==Wt&&lr(B,b,A))&&("**"===A.path||is(B,A,b).matched)}function Nr(A,B,b){return 0===B.length&&!A.children[b]}const Cs=!1;class Lr{constructor(B){this.segmentGroup=B||null}}class Zs{constructor(B){this.urlTree=B}}function Cr(A){return(0,E._)(new Lr(A))}function lc(A){return(0,E._)(new Zs(A))}class uc{constructor(B,b,re,De,tt){this.injector=B,this.configLoader=b,this.urlSerializer=re,this.urlTree=De,this.config=tt,this.allowRedirects=!0}apply(){const B=cr(this.urlTree.root,[],[],this.config).segmentGroup,b=new $t(B.segments,B.children);return this.expandSegmentGroup(this.injector,this.config,b,Wt).pipe((0,I.U)(tt=>this.createUrlTree(Ie(tt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,k.K)(tt=>{if(tt instanceof Zs)return this.allowRedirects=!1,this.match(tt.urlTree);throw tt instanceof Lr?this.noMatchError(tt):tt}))}match(B){return this.expandSegmentGroup(this.injector,this.config,B.root,Wt).pipe((0,I.U)(De=>this.createUrlTree(Ie(De),B.queryParams,B.fragment))).pipe((0,k.K)(De=>{throw De instanceof Lr?this.noMatchError(De):De}))}noMatchError(B){return new t.vHH(4002,Cs)}createUrlTree(B,b,re){const De=He(B);return new Ut(De,b,re)}expandSegmentGroup(B,b,re,De){return 0===re.segments.length&&re.hasChildren()?this.expandChildren(B,b,re).pipe((0,I.U)(tt=>new $t([],tt))):this.expandSegment(B,re,b,re.segments,De,!0)}expandChildren(B,b,re){const De=[];for(const tt of Object.keys(re.children))"primary"===tt?De.unshift(tt):De.push(tt);return(0,o.D)(De).pipe((0,q.b)(tt=>{const at=re.children[tt],Kt=Ne(b,tt);return this.expandSegmentGroup(B,Kt,at,tt).pipe((0,I.U)(vn=>({segment:vn,outlet:tt})))}),(0,me.R)((tt,at)=>(tt[at.outlet]=at.segment,tt),{}),Se())}expandSegment(B,b,re,De,tt,at){return(0,o.D)(re).pipe((0,q.b)(Kt=>this.expandSegmentAgainstRoute(B,b,re,Kt,De,tt,at).pipe((0,k.K)(qn=>{if(qn instanceof Lr)return(0,g.of)(null);throw qn}))),(0,N.P)(Kt=>!!Kt),(0,k.K)((Kt,vn)=>{if(qo(Kt))return Nr(b,De,tt)?(0,g.of)(new $t([],{})):Cr(b);throw Kt}))}expandSegmentAgainstRoute(B,b,re,De,tt,at,Kt){return yr(De,b,tt,at)?void 0===De.redirectTo?this.matchSegmentAgainstRoute(B,b,De,tt,at):Kt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(B,b,re,De,tt,at):Cr(b):Cr(b)}expandSegmentAgainstRouteUsingRedirect(B,b,re,De,tt,at){return"**"===De.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(B,re,De,at):this.expandRegularSegmentAgainstRouteUsingRedirect(B,b,re,De,tt,at)}expandWildCardWithParamsAgainstRouteUsingRedirect(B,b,re,De){const tt=this.applyRedirectCommands([],re.redirectTo,{});return re.redirectTo.startsWith("/")?lc(tt):this.lineralizeSegments(re,tt).pipe((0,U.z)(at=>{const Kt=new $t(at,{});return this.expandSegment(B,Kt,b,at,De,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(B,b,re,De,tt,at){const{matched:Kt,consumedSegments:vn,remainingSegments:qn,positionalParamSegments:Bn}=is(b,De,tt);if(!Kt)return Cr(b);const Yo=this.applyRedirectCommands(vn,De.redirectTo,Bn);return De.redirectTo.startsWith("/")?lc(Yo):this.lineralizeSegments(De,Yo).pipe((0,U.z)(ti=>this.expandSegment(B,b,re,ti.concat(qn),at,!1)))}matchSegmentAgainstRoute(B,b,re,De,tt){return"**"===re.path?(B=vr(re,B),re.loadChildren?(re._loadedRoutes?(0,g.of)({routes:re._loadedRoutes,injector:re._loadedInjector}):this.configLoader.loadChildren(B,re)).pipe((0,I.U)(Kt=>(re._loadedRoutes=Kt.routes,re._loadedInjector=Kt.injector,new $t(De,{})))):(0,g.of)(new $t(De,{}))):Fr(b,re,De,B).pipe((0,w.w)(({matched:at,consumedSegments:Kt,remainingSegments:vn})=>at?this.getChildConfig(B=re._injector??B,re,De).pipe((0,U.z)(Bn=>{const Yo=Bn.injector??B,ti=Bn.routes,{segmentGroup:Er,slicedSegments:Ii}=cr(b,Kt,vn,ti),Vr=new $t(Er.segments,Er.children);if(0===Ii.length&&Vr.hasChildren())return this.expandChildren(Yo,ti,Vr).pipe((0,I.U)($l=>new $t(Kt,$l)));if(0===ti.length&&0===Ii.length)return(0,g.of)(new $t(Kt,{}));const Gi=$(re)===tt;return this.expandSegment(Yo,Vr,ti,Ii,Gi?Wt:tt,!0).pipe((0,I.U)(Ks=>new $t(Kt.concat(Ks.segments),Ks.children)))})):Cr(b)))}getChildConfig(B,b,re){return b.children?(0,g.of)({routes:b.children,injector:B}):b.loadChildren?void 0!==b._loadedRoutes?(0,g.of)({routes:b._loadedRoutes,injector:b._loadedInjector}):function Hl(A,B,b,re){const De=B.canLoad;if(void 0===De||0===De.length)return(0,g.of)(!0);const tt=De.map(at=>{const Kt=Uo(at,A);return Ye(function Qs(A){return A&&fi(A.canLoad)}(Kt)?Kt.canLoad(B,b):A.runInContext(()=>Kt(B,b)))});return(0,g.of)(tt).pipe(mo(),ys())}(B,b,re).pipe((0,U.z)(De=>De?this.configLoader.loadChildren(B,b).pipe((0,Y.b)(tt=>{b._loadedRoutes=tt.routes,b._loadedInjector=tt.injector})):function ss(A){return(0,E._)(Ki(Cs,3))}())):(0,g.of)({routes:[],injector:B})}lineralizeSegments(B,b){let re=[],De=b.root;for(;;){if(re=re.concat(De.segments),0===De.numberOfChildren)return(0,g.of)(re);if(De.numberOfChildren>1||!De.children[Wt])return(0,E._)(new t.vHH(4e3,Cs));De=De.children[Wt]}}applyRedirectCommands(B,b,re){return this.applyRedirectCreateUrlTree(b,this.urlSerializer.parse(b),B,re)}applyRedirectCreateUrlTree(B,b,re,De){const tt=this.createSegmentGroup(B,b.root,re,De);return new Ut(tt,this.createQueryParams(b.queryParams,this.urlTree.queryParams),b.fragment)}createQueryParams(B,b){const re={};return xt(B,(De,tt)=>{if("string"==typeof De&&De.startsWith(":")){const Kt=De.substring(1);re[tt]=b[Kt]}else re[tt]=De}),re}createSegmentGroup(B,b,re,De){const tt=this.createSegments(B,b.segments,re,De);let at={};return xt(b.children,(Kt,vn)=>{at[vn]=this.createSegmentGroup(B,Kt,re,De)}),new $t(tt,at)}createSegments(B,b,re,De){return b.map(tt=>tt.path.startsWith(":")?this.findPosParam(B,tt,De):this.findOrReturn(tt,re))}findPosParam(B,b,re){const De=re[b.path.substring(1)];if(!De)throw new t.vHH(4001,Cs);return De}findOrReturn(B,b){let re=0;for(const De of b){if(De.path===B.path)return b.splice(re),De;re++}return B}}class zr{}class ci{constructor(B,b,re,De,tt,at,Kt){this.injector=B,this.rootComponentType=b,this.config=re,this.urlTree=De,this.url=tt,this.paramsInheritanceStrategy=at,this.urlSerializer=Kt}recognize(){const B=cr(this.urlTree.root,[],[],this.config.filter(b=>void 0===b.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,B,Wt).pipe((0,I.U)(b=>{if(null===b)return null;const re=new bo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Wt,this.rootComponentType,null,this.urlTree.root,-1,{}),De=new xn(re,b),tt=new _o(this.url,De);return this.inheritParamsAndData(tt._root),tt}))}inheritParamsAndData(B){const b=B.value,re=Zo(b,this.paramsInheritanceStrategy);b.params=Object.freeze(re.params),b.data=Object.freeze(re.data),B.children.forEach(De=>this.inheritParamsAndData(De))}processSegmentGroup(B,b,re,De){return 0===re.segments.length&&re.hasChildren()?this.processChildren(B,b,re):this.processSegment(B,b,re,re.segments,De)}processChildren(B,b,re){return(0,o.D)(Object.keys(re.children)).pipe((0,q.b)(De=>{const tt=re.children[De],at=Ne(b,De);return this.processSegmentGroup(B,at,tt,De)}),(0,me.R)((De,tt)=>De&&tt?(De.push(...tt),De):null),(0,wt.o)(De=>null!==De),(0,X.d)(null),Se(),(0,I.U)(De=>{if(null===De)return null;const tt=Pa(De);return function kr(A){A.sort((B,b)=>B.value.outlet===Wt?-1:b.value.outlet===Wt?1:B.value.outlet.localeCompare(b.value.outlet))}(tt),tt}))}processSegment(B,b,re,De,tt){return(0,o.D)(b).pipe((0,q.b)(at=>this.processSegmentAgainstRoute(at._injector??B,at,re,De,tt)),(0,N.P)(at=>!!at),(0,k.K)(at=>{if(qo(at))return Nr(re,De,tt)?(0,g.of)([]):(0,g.of)(null);throw at}))}processSegmentAgainstRoute(B,b,re,De,tt){if(b.redirectTo||!yr(b,re,De,tt))return(0,g.of)(null);let at;if("**"===b.path){const Kt=De.length>0?zn(De).parameters:{},vn=Ve(re)+De.length,qn=new bo(De,Kt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ke(b),$(b),b.component??b._loadedComponent??null,b,ne(re),vn,Pt(b));at=(0,g.of)({snapshot:qn,consumedSegments:[],remainingSegments:[]})}else at=Fr(re,b,De,B).pipe((0,I.U)(({matched:Kt,consumedSegments:vn,remainingSegments:qn,parameters:Bn})=>{if(!Kt)return null;const Yo=Ve(re)+vn.length;return{snapshot:new bo(vn,Bn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ke(b),$(b),b.component??b._loadedComponent??null,b,ne(re),Yo,Pt(b)),consumedSegments:vn,remainingSegments:qn}}));return at.pipe((0,w.w)(Kt=>{if(null===Kt)return(0,g.of)(null);const{snapshot:vn,consumedSegments:qn,remainingSegments:Bn}=Kt;B=b._injector??B;const Yo=b._loadedInjector??B,ti=function dc(A){return A.children?A.children:A.loadChildren?A._loadedRoutes:[]}(b),{segmentGroup:Er,slicedSegments:Ii}=cr(re,qn,Bn,ti.filter(Gi=>void 0===Gi.redirectTo));if(0===Ii.length&&Er.hasChildren())return this.processChildren(Yo,ti,Er).pipe((0,I.U)(Gi=>null===Gi?null:[new xn(vn,Gi)]));if(0===ti.length&&0===Ii.length)return(0,g.of)([new xn(vn,[])]);const Vr=$(b)===tt;return this.processSegment(Yo,ti,Er,Ii,Vr?Wt:tt).pipe((0,I.U)(Gi=>null===Gi?null:[new xn(vn,Gi)]))}))}}function ha(A){const B=A.value.routeConfig;return B&&""===B.path&&void 0===B.redirectTo}function Pa(A){const B=[],b=new Set;for(const re of A){if(!ha(re)){B.push(re);continue}const De=B.find(tt=>re.value.routeConfig===tt.value.routeConfig);void 0!==De?(De.children.push(...re.children),b.add(De)):B.push(re)}for(const re of b){const De=Pa(re.children);B.push(new xn(re.value,De))}return B.filter(re=>!b.has(re))}function ne(A){let B=A;for(;B._sourceSegment;)B=B._sourceSegment;return B}function Ve(A){let B=A,b=B._segmentIndexShift??0;for(;B._sourceSegment;)B=B._sourceSegment,b+=B._segmentIndexShift??0;return b-1}function Ke(A){return A.data||{}}function Pt(A){return A.resolve||{}}function go(A){return"string"==typeof A.title||null===A.title}function mi(A){return(0,w.w)(B=>{const b=A(B);return b?(0,o.D)(b).pipe((0,I.U)(()=>B)):(0,g.of)(B)})}const vi=new t.OlP("ROUTES");let ji=(()=>{class A{constructor(b,re){this.injector=b,this.compiler=re,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(b){if(this.componentLoaders.get(b))return this.componentLoaders.get(b);if(b._loadedComponent)return(0,g.of)(b._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(b);const re=Ye(b.loadComponent()).pipe((0,I.U)(Tr),(0,Y.b)(tt=>{this.onLoadEndListener&&this.onLoadEndListener(b),b._loadedComponent=tt}),(0,rn.x)(()=>{this.componentLoaders.delete(b)})),De=new V.c(re,()=>new S.x).pipe((0,ot.x)());return this.componentLoaders.set(b,De),De}loadChildren(b,re){if(this.childrenLoaders.get(re))return this.childrenLoaders.get(re);if(re._loadedRoutes)return(0,g.of)({routes:re._loadedRoutes,injector:re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(re);const tt=this.loadModuleFactoryOrRoutes(re.loadChildren).pipe((0,I.U)(Kt=>{this.onLoadEndListener&&this.onLoadEndListener(re);let vn,qn,Bn=!1;Array.isArray(Kt)?qn=Kt:(vn=Kt.create(b).injector,qn=Dn(vn.get(vi,[],t.XFs.Self|t.XFs.Optional)));return{routes:qn.map(kt),injector:vn}}),(0,rn.x)(()=>{this.childrenLoaders.delete(re)})),at=new V.c(tt,()=>new S.x).pipe((0,ot.x)());return this.childrenLoaders.set(re,at),at}loadModuleFactoryOrRoutes(b){return Ye(b()).pipe((0,I.U)(Tr),(0,U.z)(De=>De instanceof t.YKP||Array.isArray(De)?(0,g.of)(De):(0,o.D)(this.compiler.compileModuleAsync(De))))}}return A.\u0275fac=function(b){return new(b||A)(t.LFG(t.zs3),t.LFG(t.Sil))},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();function Tr(A){return function Ri(A){return A&&"object"==typeof A&&"default"in A}(A)?A.default:A}let ur=(()=>{class A{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new S.x,this.configLoader=(0,t.f3M)(ji),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(zt),this.rootContexts=(0,t.f3M)(xi),this.navigationId=0,this.afterPreactivation=()=>(0,g.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=De=>this.events.next(new se(De)),this.configLoader.onLoadStartListener=De=>this.events.next(new qe(De))}complete(){this.transitions?.complete()}handleNavigationRequest(b){const re=++this.navigationId;this.transitions?.next({...this.transitions.value,...b,id:re})}setupNavigations(b){return this.transitions=new l.X({id:0,targetPageId:0,currentUrlTree:b.currentUrlTree,currentRawUrl:b.currentUrlTree,extractedUrl:b.urlHandlingStrategy.extract(b.currentUrlTree),urlAfterRedirects:b.urlHandlingStrategy.extract(b.currentUrlTree),rawUrl:b.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ni,restoredState:null,currentSnapshot:b.routerState.snapshot,targetSnapshot:null,currentRouterState:b.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Z.h)(re=>0!==re.id),(0,I.U)(re=>({...re,extractedUrl:b.urlHandlingStrategy.extract(re.rawUrl)})),(0,w.w)(re=>{let De=!1,tt=!1;return(0,g.of)(re).pipe((0,Y.b)(at=>{this.currentNavigation={id:at.id,initialUrl:at.rawUrl,extractedUrl:at.extractedUrl,trigger:at.source,extras:at.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,w.w)(at=>{const Kt=b.browserUrlTree.toString(),vn=!b.navigated||at.extractedUrl.toString()!==Kt||Kt!==b.currentUrlTree.toString();if(!vn&&"reload"!==(at.extras.onSameUrlNavigation??b.onSameUrlNavigation)){const Bn="";return this.events.next(new pi(at.id,b.serializeUrl(re.rawUrl),Bn,0)),b.rawUrlTree=at.rawUrl,at.resolve(null),F.E}if(b.urlHandlingStrategy.shouldProcessUrl(at.rawUrl))return Mr(at.source)&&(b.browserUrlTree=at.extractedUrl),(0,g.of)(at).pipe((0,w.w)(Bn=>{const Yo=this.transitions?.getValue();return this.events.next(new Do(Bn.id,this.urlSerializer.serialize(Bn.extractedUrl),Bn.source,Bn.restoredState)),Yo!==this.transitions?.getValue()?F.E:Promise.resolve(Bn)}),function ki(A,B,b,re){return(0,w.w)(De=>function zs(A,B,b,re,De){return new uc(A,B,b,re,De).apply()}(A,B,b,De.extractedUrl,re).pipe((0,I.U)(tt=>({...De,urlAfterRedirects:tt}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,b.config),(0,Y.b)(Bn=>{this.currentNavigation={...this.currentNavigation,finalUrl:Bn.urlAfterRedirects},re.urlAfterRedirects=Bn.urlAfterRedirects}),function ln(A,B,b,re,De){return(0,U.z)(tt=>function er(A,B,b,re,De,tt,at="emptyOnly"){return new ci(A,B,b,re,De,at,tt).recognize().pipe((0,w.w)(Kt=>null===Kt?function Ui(A){return new O.y(B=>B.error(A))}(new zr):(0,g.of)(Kt)))}(A,B,b,tt.urlAfterRedirects,re.serialize(tt.urlAfterRedirects),re,De).pipe((0,I.U)(at=>({...tt,targetSnapshot:at}))))}(this.environmentInjector,this.rootComponentType,b.config,this.urlSerializer,b.paramsInheritanceStrategy),(0,Y.b)(Bn=>{if(re.targetSnapshot=Bn.targetSnapshot,"eager"===b.urlUpdateStrategy){if(!Bn.extras.skipLocationChange){const ti=b.urlHandlingStrategy.merge(Bn.urlAfterRedirects,Bn.rawUrl);b.setBrowserUrl(ti,Bn)}b.browserUrlTree=Bn.urlAfterRedirects}const Yo=new oo(Bn.id,this.urlSerializer.serialize(Bn.extractedUrl),this.urlSerializer.serialize(Bn.urlAfterRedirects),Bn.targetSnapshot);this.events.next(Yo)}));if(vn&&b.urlHandlingStrategy.shouldProcessUrl(b.rawUrlTree)){const{id:Bn,extractedUrl:Yo,source:ti,restoredState:Er,extras:Ii}=at,Vr=new Do(Bn,this.urlSerializer.serialize(Yo),ti,Er);this.events.next(Vr);const Gi=ho(Yo,this.rootComponentType).snapshot;return re={...at,targetSnapshot:Gi,urlAfterRedirects:Yo,extras:{...Ii,skipLocationChange:!1,replaceUrl:!1}},(0,g.of)(re)}{const Bn="";return this.events.next(new pi(at.id,b.serializeUrl(re.extractedUrl),Bn,1)),b.rawUrlTree=at.rawUrl,at.resolve(null),F.E}}),(0,Y.b)(at=>{const Kt=new Zi(at.id,this.urlSerializer.serialize(at.extractedUrl),this.urlSerializer.serialize(at.urlAfterRedirects),at.targetSnapshot);this.events.next(Kt)}),(0,I.U)(at=>re={...at,guards:yo(at.targetSnapshot,at.currentSnapshot,this.rootContexts)}),function pa(A,B){return(0,U.z)(b=>{const{targetSnapshot:re,currentSnapshot:De,guards:{canActivateChecks:tt,canDeactivateChecks:at}}=b;return 0===at.length&&0===tt.length?(0,g.of)({...b,guardsResult:!0}):function wi(A,B,b,re){return(0,o.D)(A).pipe((0,U.z)(De=>function Pi(A,B,b,re,De){const tt=B&&B.routeConfig?B.routeConfig.canDeactivate:null;if(!tt||0===tt.length)return(0,g.of)(!0);const at=tt.map(Kt=>{const vn=Lt(B)??De,qn=Uo(Kt,vn);return Ye(function de(A){return A&&fi(A.canDeactivate)}(qn)?qn.canDeactivate(A,B,b,re):vn.runInContext(()=>qn(A,B,b,re))).pipe((0,N.P)())});return(0,g.of)(at).pipe(mo())}(De.component,De.route,b,B,re)),(0,N.P)(De=>!0!==De,!0))}(at,re,De,A).pipe((0,U.z)(Kt=>Kt&&function lo(A){return"boolean"==typeof A}(Kt)?function ai(A,B,b,re){return(0,o.D)(B).pipe((0,q.b)(De=>(0,R.z)(function ns(A,B){return null!==A&&B&&B(new Fe(A)),(0,g.of)(!0)}(De.route.parent,re),function _s(A,B){return null!==A&&B&&B(new Tt(A)),(0,g.of)(!0)}(De.route,re),function os(A,B,b){const re=B[B.length-1],tt=B.slice(0,B.length-1).reverse().map(at=>function Jn(A){const B=A.routeConfig?A.routeConfig.canActivateChild:null;return B&&0!==B.length?{node:A,guards:B}:null}(at)).filter(at=>null!==at).map(at=>(0,T.P)(()=>{const Kt=at.guards.map(vn=>{const qn=Lt(at.node)??b,Bn=Uo(vn,qn);return Ye(function Ce(A){return A&&fi(A.canActivateChild)}(Bn)?Bn.canActivateChild(re,A):qn.runInContext(()=>Bn(re,A))).pipe((0,N.P)())});return(0,g.of)(Kt).pipe(mo())}));return(0,g.of)(tt).pipe(mo())}(A,De.path,b),function gi(A,B,b){const re=B.routeConfig?B.routeConfig.canActivate:null;if(!re||0===re.length)return(0,g.of)(!0);const De=re.map(tt=>(0,T.P)(()=>{const at=Lt(B)??b,Kt=Uo(tt,at);return Ye(function Ee(A){return A&&fi(A.canActivate)}(Kt)?Kt.canActivate(B,A):at.runInContext(()=>Kt(B,A))).pipe((0,N.P)())}));return(0,g.of)(De).pipe(mo())}(A,De.route,b))),(0,N.P)(De=>!0!==De,!0))}(re,tt,A,B):(0,g.of)(Kt)),(0,I.U)(Kt=>({...b,guardsResult:Kt})))})}(this.environmentInjector,at=>this.events.next(at)),(0,Y.b)(at=>{if(re.guardsResult=at.guardsResult,we(at.guardsResult))throw ri(0,at.guardsResult);const Kt=new Ji(at.id,this.urlSerializer.serialize(at.extractedUrl),this.urlSerializer.serialize(at.urlAfterRedirects),at.targetSnapshot,!!at.guardsResult);this.events.next(Kt)}),(0,Z.h)(at=>!!at.guardsResult||(b.restoreHistory(at),this.cancelNavigationTransition(at,"",3,b),!1)),mi(at=>{if(at.guards.canActivateChecks.length)return(0,g.of)(at).pipe((0,Y.b)(Kt=>{const vn=new Ei(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),this.urlSerializer.serialize(Kt.urlAfterRedirects),Kt.targetSnapshot);this.events.next(vn)}),(0,w.w)(Kt=>{let vn=!1;return(0,g.of)(Kt).pipe(function yn(A,B){return(0,U.z)(b=>{const{targetSnapshot:re,guards:{canActivateChecks:De}}=b;if(!De.length)return(0,g.of)(b);let tt=0;return(0,o.D)(De).pipe((0,q.b)(at=>function Qn(A,B,b,re){const De=A.routeConfig,tt=A._resolve;return void 0!==De?.title&&!go(De)&&(tt[mn]=De.title),function Ao(A,B,b,re){const De=function Fo(A){return[...Object.keys(A),...Object.getOwnPropertySymbols(A)]}(A);if(0===De.length)return(0,g.of)({});const tt={};return(0,o.D)(De).pipe((0,U.z)(at=>function Xo(A,B,b,re){const De=Lt(B)??re,tt=Uo(A,De);return Ye(tt.resolve?tt.resolve(B,b):De.runInContext(()=>tt(B,b)))}(A[at],B,b,re).pipe((0,N.P)(),(0,Y.b)(Kt=>{tt[at]=Kt}))),ye(1),(0,St.h)(tt),(0,k.K)(at=>qo(at)?F.E:(0,E._)(at)))}(tt,A,B,re).pipe((0,I.U)(at=>(A._resolvedData=at,A.data=Zo(A,b).resolve,De&&go(De)&&(A.data[mn]=De.title),null)))}(at.route,re,A,B)),(0,Y.b)(()=>tt++),ye(1),(0,U.z)(at=>tt===De.length?(0,g.of)(b):F.E))})}(b.paramsInheritanceStrategy,this.environmentInjector),(0,Y.b)({next:()=>vn=!0,complete:()=>{vn||(b.restoreHistory(Kt),this.cancelNavigationTransition(Kt,"",2,b))}}))}),(0,Y.b)(Kt=>{const vn=new jr(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),this.urlSerializer.serialize(Kt.urlAfterRedirects),Kt.targetSnapshot);this.events.next(vn)}))}),mi(at=>{const Kt=vn=>{const qn=[];vn.routeConfig?.loadComponent&&!vn.routeConfig._loadedComponent&&qn.push(this.configLoader.loadComponent(vn.routeConfig).pipe((0,Y.b)(Bn=>{vn.component=Bn}),(0,I.U)(()=>{})));for(const Bn of vn.children)qn.push(...Kt(Bn));return qn};return(0,L.a)(Kt(at.targetSnapshot.root)).pipe((0,X.d)(),(0,pe.q)(1))}),mi(()=>this.afterPreactivation()),(0,I.U)(at=>{const Kt=function Vo(A,B,b){const re=Qo(A,B._root,b?b._root:void 0);return new Zn(re,B)}(b.routeReuseStrategy,at.targetSnapshot,at.currentRouterState);return re={...at,targetRouterState:Kt}}),(0,Y.b)(at=>{b.currentUrlTree=at.urlAfterRedirects,b.rawUrlTree=b.urlHandlingStrategy.merge(at.urlAfterRedirects,at.rawUrl),b.routerState=at.targetRouterState,"deferred"===b.urlUpdateStrategy&&(at.extras.skipLocationChange||b.setBrowserUrl(b.rawUrlTree,at),b.browserUrlTree=at.urlAfterRedirects)}),((A,B,b)=>(0,I.U)(re=>(new wn(B,re.targetRouterState,re.currentRouterState,b).activate(A),re)))(this.rootContexts,b.routeReuseStrategy,at=>this.events.next(at)),(0,Y.b)({next:at=>{De=!0,this.lastSuccessfulNavigation=this.currentNavigation,b.navigated=!0,this.events.next(new bn(at.id,this.urlSerializer.serialize(at.extractedUrl),this.urlSerializer.serialize(b.currentUrlTree))),b.titleStrategy?.updateTitle(at.targetRouterState.snapshot),at.resolve(!0)},complete:()=>{De=!0}}),(0,rn.x)(()=>{De||tt||this.cancelNavigationTransition(re,"",1,b),this.currentNavigation?.id===re.id&&(this.currentNavigation=null)}),(0,k.K)(at=>{if(tt=!0,qi(at)){si(at)||(b.navigated=!0,b.restoreHistory(re,!0));const Kt=new Co(re.id,this.urlSerializer.serialize(re.extractedUrl),at.message,at.cancellationCode);if(this.events.next(Kt),si(at)){const vn=b.urlHandlingStrategy.merge(at.url,b.rawUrlTree),qn={skipLocationChange:re.extras.skipLocationChange,replaceUrl:"eager"===b.urlUpdateStrategy||Mr(re.source)};b.scheduleNavigation(vn,ni,null,qn,{resolve:re.resolve,reject:re.reject,promise:re.promise})}else re.resolve(!1)}else{b.restoreHistory(re,!0);const Kt=new Fi(re.id,this.urlSerializer.serialize(re.extractedUrl),at,re.targetSnapshot??void 0);this.events.next(Kt);try{re.resolve(b.errorHandler(at))}catch(vn){re.reject(vn)}}return F.E}))}))}cancelNavigationTransition(b,re,De,tt){const at=new Co(b.id,this.urlSerializer.serialize(b.extractedUrl),re,De);this.events.next(at),b.resolve(!1)}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();function Mr(A){return A!==ni}let pc=(()=>{class A{buildTitle(b){let re,De=b.root;for(;void 0!==De;)re=this.getResolvedTitleForRoute(De)??re,De=De.children.find(tt=>tt.outlet===Wt);return re}getResolvedTitleForRoute(b){return b.data[mn]}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:function(){return(0,t.f3M)(Ts)},providedIn:"root"}),A})(),Ts=(()=>{class A extends pc{constructor(b){super(),this.title=b}updateTitle(b){const re=this.buildTitle(b);void 0!==re&&this.title.setTitle(re)}}return A.\u0275fac=function(b){return new(b||A)(t.LFG(Dt.Dx))},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})(),wu=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:function(){return(0,t.f3M)(Zc)},providedIn:"root"}),A})();class Ms{shouldDetach(B){return!1}store(B,b){}shouldAttach(B){return!1}retrieve(B){return null}shouldReuseRoute(B,b){return B.routeConfig===b.routeConfig}}let Zc=(()=>{class A extends Ms{}return A.\u0275fac=function(){let B;return function(re){return(B||(B=t.n5z(A)))(re||A)}}(),A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();const Es=new t.OlP("",{providedIn:"root",factory:()=>({})});let Ss=(()=>{class A{}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:function(){return(0,t.f3M)(Jc)},providedIn:"root"}),A})(),Jc=(()=>{class A{shouldProcessUrl(b){return!0}extract(b){return b}merge(b,re){return b}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();function nr(A){throw A}function ma(A,B,b){return B.parse("/")}const Rr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},dr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let or=(()=>{class A{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,t.f3M)(t.c2e),this.isNgZoneEnabled=!1,this.options=(0,t.f3M)(Es,{optional:!0})||{},this.errorHandler=this.options.errorHandler||nr,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ma,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,t.f3M)(Ss),this.routeReuseStrategy=(0,t.f3M)(wu),this.urlCreationStrategy=(0,t.f3M)(Tn),this.titleStrategy=(0,t.f3M)(pc),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Dn((0,t.f3M)(vi,{optional:!0})??[]),this.navigationTransitions=(0,t.f3M)(ur),this.urlSerializer=(0,t.f3M)(zt),this.location=(0,t.f3M)(e.Ye),this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ut,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ho(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(b=>{this.lastSuccessfulId=b.id,this.currentPageId=b.targetPageId},b=>{this.console.warn(`Unhandled Navigation Error: ${b}`)})}resetRootComponentType(b){this.routerState.root.component=b,this.navigationTransitions.rootComponentType=b}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const b=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ni,b)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(b=>{const re="popstate"===b.type?"popstate":"hashchange";"popstate"===re&&setTimeout(()=>{this.navigateToSyncWithBrowser(b.url,re,b.state)},0)}))}navigateToSyncWithBrowser(b,re,De){const tt={replaceUrl:!0},at=De?.navigationId?De:null;if(De){const vn={...De};delete vn.navigationId,delete vn.\u0275routerPageId,0!==Object.keys(vn).length&&(tt.state=vn)}const Kt=this.parseUrl(b);this.scheduleNavigation(Kt,re,at,tt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(b){this.config=b.map(kt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(b,re={}){const{relativeTo:De,queryParams:tt,fragment:at,queryParamsHandling:Kt,preserveFragment:vn}=re,qn=vn?this.currentUrlTree.fragment:at;let Bn=null;switch(Kt){case"merge":Bn={...this.currentUrlTree.queryParams,...tt};break;case"preserve":Bn=this.currentUrlTree.queryParams;break;default:Bn=tt||null}return null!==Bn&&(Bn=this.removeEmptyProps(Bn)),this.urlCreationStrategy.createUrlTree(De,this.routerState,this.currentUrlTree,b,Bn,qn??null)}navigateByUrl(b,re={skipLocationChange:!1}){const De=we(b)?b:this.parseUrl(b),tt=this.urlHandlingStrategy.merge(De,this.rawUrlTree);return this.scheduleNavigation(tt,ni,null,re)}navigate(b,re={skipLocationChange:!1}){return function ir(A){for(let B=0;B{const tt=b[De];return null!=tt&&(re[De]=tt),re},{})}scheduleNavigation(b,re,De,tt,at){if(this.disposed)return Promise.resolve(!1);let Kt,vn,qn,Bn;return at?(Kt=at.resolve,vn=at.reject,qn=at.promise):qn=new Promise((Yo,ti)=>{Kt=Yo,vn=ti}),Bn="computed"===this.canceledNavigationResolution?De&&De.\u0275routerPageId?De.\u0275routerPageId:tt.replaceUrl||tt.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Bn,source:re,restoredState:De,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:b,extras:tt,resolve:Kt,reject:vn,promise:qn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),qn.catch(Yo=>Promise.reject(Yo))}setBrowserUrl(b,re){const De=this.urlSerializer.serialize(b),tt={...re.extras.state,...this.generateNgRouterState(re.id,re.targetPageId)};this.location.isCurrentPathEqualTo(De)||re.extras.replaceUrl?this.location.replaceState(De,"",tt):this.location.go(De,"",tt)}restoreHistory(b,re=!1){if("computed"===this.canceledNavigationResolution){const De=this.currentPageId-b.targetPageId;"popstate"!==b.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===De?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===De&&(this.resetState(b),this.browserUrlTree=b.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(De)}else"replace"===this.canceledNavigationResolution&&(re&&this.resetState(b),this.resetUrlToCurrentUrlTree())}resetState(b){this.routerState=b.currentRouterState,this.currentUrlTree=b.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,b.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(b,re){return"computed"===this.canceledNavigationResolution?{navigationId:b,\u0275routerPageId:re}:{navigationId:b}}}return A.\u0275fac=function(b){return new(b||A)},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})(),Ia=(()=>{class A{constructor(b,re,De,tt,at,Kt){this.router=b,this.route=re,this.tabIndexAttribute=De,this.renderer=tt,this.el=at,this.locationStrategy=Kt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new S.x;const vn=at.nativeElement.tagName;this.isAnchorElement="A"===vn||"AREA"===vn,this.isAnchorElement?this.subscription=b.events.subscribe(qn=>{qn instanceof bn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(b){this._preserveFragment=(0,t.D6c)(b)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(b){this._skipLocationChange=(0,t.D6c)(b)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(b){this._replaceUrl=(0,t.D6c)(b)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(b){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",b)}ngOnChanges(b){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(b){null!=b?(this.commands=Array.isArray(b)?b:[b],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(b,re,De,tt,at){return!!(null===this.urlTree||this.isAnchorElement&&(0!==b||re||De||tt||at||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const b=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",b)}applyAttributeValue(b,re){const De=this.renderer,tt=this.el.nativeElement;null!==re?De.setAttribute(tt,b,re):De.removeAttribute(tt,b)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return A.\u0275fac=function(b){return new(b||A)(t.Y36(or),t.Y36(fo),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(e.S$))},A.\u0275dir=t.lG2({type:A,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(b,re){1&b&&t.NdJ("click",function(tt){return re.onClick(tt.button,tt.ctrlKey,tt.shiftKey,tt.altKey,tt.metaKey)}),2&b&&t.uIk("target",re.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[t.TTD]}),A})(),xs=(()=>{class A{get isActive(){return this._isActive}constructor(b,re,De,tt,at){this.router=b,this.element=re,this.renderer=De,this.cdr=tt,this.link=at,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.vpe,this.routerEventsSubscription=b.events.subscribe(Kt=>{Kt instanceof bn&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,gt.J)()).subscribe(b=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const b=[...this.links.toArray(),this.link].filter(re=>!!re).map(re=>re.onChanges);this.linkInputChangesSubscription=(0,o.D)(b).pipe((0,gt.J)()).subscribe(re=>{this._isActive!==this.isLinkActive(this.router)(re)&&this.update()})}set routerLinkActive(b){const re=Array.isArray(b)?b:b.split(" ");this.classes=re.filter(De=>!!De)}ngOnChanges(b){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const b=this.hasActiveLinks();this._isActive!==b&&(this._isActive=b,this.cdr.markForCheck(),this.classes.forEach(re=>{b?this.renderer.addClass(this.element.nativeElement,re):this.renderer.removeClass(this.element.nativeElement,re)}),b&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(b))})}isLinkActive(b){const re=function Kc(A){return!!A.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return De=>!!De.urlTree&&b.isActive(De.urlTree,re)}hasActiveLinks(){const b=this.isLinkActive(this.router);return this.link&&b(this.link)||this.links.some(b)}}return A.\u0275fac=function(b){return new(b||A)(t.Y36(or),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(Ia,8))},A.\u0275dir=t.lG2({type:A,selectors:[["","routerLinkActive",""]],contentQueries:function(b,re,De){if(1&b&&t.Suo(De,Ia,5),2&b){let tt;t.iGM(tt=t.CRH())&&(re.links=tt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.TTD]}),A})();class ls{}let Iu=(()=>{class A{constructor(b,re,De,tt,at){this.router=b,this.injector=De,this.preloadingStrategy=tt,this.loader=at}setUpPreloading(){this.subscription=this.router.events.pipe((0,Z.h)(b=>b instanceof bn),(0,q.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(b,re){const De=[];for(const tt of re){tt.providers&&!tt._injector&&(tt._injector=(0,t.MMx)(tt.providers,b,`Route: ${tt.path}`));const at=tt._injector??b,Kt=tt._loadedInjector??at;tt.loadChildren&&!tt._loadedRoutes&&void 0===tt.canLoad||tt.loadComponent&&!tt._loadedComponent?De.push(this.preloadConfig(at,tt)):(tt.children||tt._loadedRoutes)&&De.push(this.processRoutes(Kt,tt.children??tt._loadedRoutes))}return(0,o.D)(De).pipe((0,gt.J)())}preloadConfig(b,re){return this.preloadingStrategy.preload(re,()=>{let De;De=re.loadChildren&&void 0===re.canLoad?this.loader.loadChildren(b,re):(0,g.of)(null);const tt=De.pipe((0,U.z)(at=>null===at?(0,g.of)(void 0):(re._loadedRoutes=at.routes,re._loadedInjector=at.injector,this.processRoutes(at.injector??b,at.routes))));if(re.loadComponent&&!re._loadedComponent){const at=this.loader.loadComponent(re);return(0,o.D)([tt,at]).pipe((0,gt.J)())}return tt})}}return A.\u0275fac=function(b){return new(b||A)(t.LFG(or),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(ls),t.LFG(ji))},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();const Ds=new t.OlP("");let rr=(()=>{class A{constructor(b,re,De,tt,at={}){this.urlSerializer=b,this.transitions=re,this.viewportScroller=De,this.zone=tt,this.options=at,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},at.scrollPositionRestoration=at.scrollPositionRestoration||"disabled",at.anchorScrolling=at.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(b=>{b instanceof Do?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=b.navigationTrigger,this.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof bn&&(this.lastId=b.id,this.scheduleScrollEvent(b,this.urlSerializer.parse(b.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(b=>{b instanceof Gt&&(b.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(b.position):b.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(b.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(b,re){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gt(b,"popstate"===this.lastSource?this.store[this.restoredId]:null,re))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return A.\u0275fac=function(b){t.$Z()},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac}),A})();function br(A,B){return{\u0275kind:A,\u0275providers:B}}function Wr(){const A=(0,t.f3M)(t.zs3);return B=>{const b=A.get(t.z2F);if(B!==b.components[0])return;const re=A.get(or),De=A.get(qc);1===A.get(Vi)&&re.initialNavigation(),A.get(Js,null,t.XFs.Optional)?.setUpPreloading(),A.get(Ds,null,t.XFs.Optional)?.init(),re.resetRootComponentType(b.componentTypes[0]),De.closed||(De.next(),De.unsubscribe())}}const qc=new t.OlP("",{factory:()=>new S.x}),Vi=new t.OlP("",{providedIn:"root",factory:()=>1});const Js=new t.OlP("");function ka(A){return br(0,[{provide:Js,useExisting:Iu},{provide:ls,useExisting:A}])}const ds=new t.OlP("ROUTER_FORROOT_GUARD"),z1=[e.Ye,{provide:zt,useClass:jt},or,xi,{provide:fo,useFactory:function ga(A){return A.routerState.root},deps:[or]},ji,[]];function Ps(){return new t.PXZ("Router",or)}let Cl=(()=>{class A{constructor(b){}static forRoot(b,re){return{ngModule:A,providers:[z1,[],{provide:vi,multi:!0,useValue:b},{provide:ds,useFactory:As,deps:[[or,new t.FiY,new t.tp0]]},{provide:Es,useValue:re||{}},re?.useHash?{provide:e.S$,useClass:e.Do}:{provide:e.S$,useClass:e.b0},{provide:Ds,useFactory:()=>{const A=(0,t.f3M)(e.EM),B=(0,t.f3M)(t.R0b),b=(0,t.f3M)(Es),re=(0,t.f3M)(ur),De=(0,t.f3M)(zt);return b.scrollOffset&&A.setOffset(b.scrollOffset),new rr(De,re,A,B,b)}},re?.preloadingStrategy?ka(re.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:Ps},re?.initialNavigation?va(re):[],[{provide:Ci,useFactory:Wr},{provide:t.tb,multi:!0,useExisting:Ci}]]}}static forChild(b){return{ngModule:A,providers:[{provide:vi,multi:!0,useValue:b}]}}}return A.\u0275fac=function(b){return new(b||A)(t.LFG(ds,8))},A.\u0275mod=t.oAB({type:A}),A.\u0275inj=t.cJS({imports:[Hi]}),A})();function As(A){return"guarded"}function va(A){return["disabled"===A.initialNavigation?br(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const B=(0,t.f3M)(or);return()=>{B.setUpLocationChangeListener()}}},{provide:Vi,useValue:2}]).\u0275providers:[],"enabledBlocking"===A.initialNavigation?br(2,[{provide:Vi,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:B=>{const b=B.get(e.V_,Promise.resolve());return()=>b.then(()=>new Promise(De=>{const tt=B.get(or),at=B.get(qc);(function re(De){B.get(or).events.pipe((0,Z.h)(at=>at instanceof bn||at instanceof Co||at instanceof Fi),(0,I.U)(at=>at instanceof bn||at instanceof Co&&(0===at.code||1===at.code)&&null),(0,Z.h)(at=>null!==at),(0,pe.q)(1)).subscribe(()=>{De()})})(()=>{De(!0)}),B.get(ur).afterPreactivation=()=>(De(!0),at.closed?(0,g.of)(void 0):at),tt.initialNavigation()}))}}]).\u0275providers:[]]}const Ci=new t.OlP("")},1218:(Et,Me,a)=>{a.d(Me,{BOg:()=>ii,BXH:()=>oo,Ej7:()=>Uo,FsU:()=>ld,Hkd:()=>nt,LBP:()=>Ma,LJh:()=>Rr,M8e:()=>zr,NFG:()=>sr,OYp:()=>Co,RIp:()=>Zs,RU0:()=>Mr,Rfq:()=>ko,TSL:()=>u1,U2Q:()=>Yn,UKj:()=>pi,UTl:()=>Ml,UY$:()=>r1,V65:()=>Xt,VWu:()=>ai,WH2:()=>re,XuQ:()=>ce,Z5F:()=>Pt,_ry:()=>Hs,bBn:()=>Zt,cN2:()=>aa,d2H:()=>Xa,d_$:()=>h1,eFY:()=>xa,eLU:()=>Qo,gvV:()=>Sr,iUK:()=>Zc,np6:()=>ic,nrZ:()=>$a,rHg:()=>du,rMt:()=>ns,sZJ:()=>nc,s_U:()=>Ph,ssy:()=>Pa,uIz:()=>Rh,ud1:()=>tn,v6v:()=>zo,vEg:()=>Pi,vkb:()=>Ee,w1L:()=>n1,x0x:()=>xi,yQU:()=>Ro});const Xt={name:"bars",theme:"outline",icon:''},tn={name:"calendar",theme:"outline",icon:''},ce={name:"caret-down",theme:"outline",icon:''},nt={name:"caret-down",theme:"fill",icon:''},Zt={name:"caret-up",theme:"fill",icon:''},Yn={name:"check",theme:"outline",icon:''},ko={name:"check-circle",theme:"fill",icon:''},Ro={name:"check-circle",theme:"outline",icon:''},Co={name:"close-circle",theme:"outline",icon:''},pi={name:"clock-circle",theme:"outline",icon:''},oo={name:"close-circle",theme:"fill",icon:''},ii={name:"caret-up",theme:"outline",icon:''},Qo={name:"close",theme:"outline",icon:''},xi={name:"copy",theme:"outline",icon:''},Uo={name:"dashboard",theme:"outline",icon:''},Ee={name:"delete",theme:"outline",icon:''},ai={name:"double-left",theme:"outline",icon:''},ns={name:"double-right",theme:"outline",icon:''},Pi={name:"down",theme:"outline",icon:''},Zs={name:"edit",theme:"outline",icon:''},zr={name:"exclamation-circle",theme:"fill",icon:''},Pa={name:"exclamation-circle",theme:"outline",icon:''},Pt={name:"eye",theme:"outline",icon:''},Mr={name:"ellipsis",theme:"outline",icon:''},Zc={name:"file",theme:"fill",icon:''},Rr={name:"file",theme:"outline",icon:''},sr={name:"filter",theme:"fill",icon:''},re={name:"form",theme:"outline",icon:''},Ml={name:"info-circle",theme:"fill",icon:''},$a={name:"info-circle",theme:"outline",icon:''},Sr={name:"left",theme:"outline",icon:''},Ma={name:"menu-fold",theme:"outline",icon:''},Hs={name:"menu-unfold",theme:"outline",icon:''},xa={name:"paper-clip",theme:"outline",icon:''},Xa={name:"loading",theme:"outline",icon:''},nc={name:"question-circle",theme:"outline",icon:''},ic={name:"right",theme:"outline",icon:''},n1={name:"rotate-right",theme:"outline",icon:''},r1={name:"rotate-left",theme:"outline",icon:''},du={name:"search",theme:"outline",icon:''},zo={name:"star",theme:"fill",icon:''},aa={name:"swap-right",theme:"outline",icon:''},ld={name:"up",theme:"outline",icon:''},Ph={name:"upload",theme:"outline",icon:''},u1={name:"vertical-align-top",theme:"outline",icon:''},Rh={name:"zoom-in",theme:"outline",icon:''},h1={name:"zoom-out",theme:"outline",icon:''}},5355:(Et,Me,a)=>{a.d(Me,{$O:()=>I,E_:()=>w,Is:()=>U,RC:()=>pe,RI:()=>T,ig:()=>Z,j:()=>ae,jS:()=>V,jp:()=>e,kJ:()=>E,lg:()=>S,uG:()=>O});var t=a(3950),o=a(7634),g=a(7062),l=a(9722),s=a(7773),L=a(9661),R=a(591),T=Object.prototype.hasOwnProperty;function M(N){return null==N}var E=Array.isArray;function O(N,q){var Y=N.__typename,k=N.id,me=N._id;if("string"==typeof Y&&(q&&(q.keyObject=M(k)?M(me)?void 0:{_id:me}:{id:k}),M(k)&&!M(me)&&(k=me),!M(k)))return"".concat(Y,":").concat("number"==typeof k||"string"==typeof k?k:JSON.stringify(k))}var F={dataIdFromObject:O,addTypename:!0,resultCaching:!0,canonizeResults:!1};function V(N){return(0,t.o)(F,N)}function S(N){var q=N.canonizeResults;return void 0===q?F.canonizeResults:q}function e(N,q){return(0,o.Yk)(q)?N.get(q.__ref,"__typename"):q&&q.__typename}var I=/^[_a-z][_0-9a-z]*/i;function w(N){var q=N.match(I);return q?q[0]:N}function pe(N,q,Y){return!!(0,g.s)(q)&&(E(q)?q.every(function(k){return pe(N,k,Y)}):N.selections.every(function(k){if((0,o.My)(k)&&(0,l.LZ)(k,Y)){var me=(0,o.u2)(k);return T.call(q,me)&&(!k.selectionSet||pe(k.selectionSet,q[me],Y))}return!0}))}function ae(N){return(0,g.s)(N)&&!(0,o.Yk)(N)&&!E(N)}function Z(){return new s.w0}function U(N,q){var Y=(0,L.F)((0,R.kU)(N));return{fragmentMap:Y,lookupFragment:function(k){var me=Y[k];return!me&&q&&(me=q.lookup(k)),me||null}}}},3750:(Et,Me,a)=>{a.d(Me,{B:()=>M,h:()=>T});var E,O,t=a(655),g=(a(7509),a(9428)),l=a(7062),s=a(9545),L=a(5355),T=function(){function V(){this.known=new(s.sy?WeakSet:Set),this.pool=new g.B(s.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return V.prototype.isKnown=function(S){return(0,l.s)(S)&&this.known.has(S)},V.prototype.pass=function(S){if((0,l.s)(S)){var e=function R(V){return(0,l.s)(V)?(0,L.kJ)(V)?V.slice(0):(0,t.pi)({__proto__:Object.getPrototypeOf(V)},V):V}(S);return this.passes.set(e,S),e}return S},V.prototype.admit=function(S){var e=this;if((0,l.s)(S)){var I=this.passes.get(S);if(I)return I;switch(Object.getPrototypeOf(S)){case Array.prototype:if(this.known.has(S))return S;var pe=S.map(this.admit,this);return(ae=this.pool.lookupArray(pe)).array||(this.known.add(ae.array=pe),__DEV__&&Object.freeze(pe)),ae.array;case null:case Object.prototype:if(this.known.has(S))return S;var Z=Object.getPrototypeOf(S),U=[Z],N=this.sortedKeys(S);U.push(N.json);var ae,q=U.length;if(N.sorted.forEach(function(me){U.push(e.admit(S[me]))}),!(ae=this.pool.lookupArray(U)).object){var Y=ae.object=Object.create(Z);this.known.add(Y),N.sorted.forEach(function(me,fe){Y[me]=U[q+fe]}),__DEV__&&Object.freeze(Y)}return ae.object}}return S},V.prototype.sortedKeys=function(S){var e=Object.keys(S),I=this.pool.lookupArray(e);if(!I.keys){e.sort();var w=JSON.stringify(e);(I.keys=this.keysByJSON.get(w))||this.keysByJSON.set(w,I.keys={sorted:e,json:w})}return I.keys},V}(),M=Object.assign(function(V){if((0,l.s)(V)){void 0===E&&F();var S=E.admit(V),e=O.get(S);return void 0===e&&O.set(S,e=JSON.stringify(S)),e}return JSON.stringify(V)},{reset:F});function F(){E=new T,O=new(s.mr?WeakMap:Map)}},6430:(Et,Me,a)=>{a.d(Me,{QS:()=>T,_v:()=>R,ab:()=>g,li:()=>L});var t=a(9769),g=new(a(3119).g7),l=new WeakMap;function s(E){var O=l.get(E);return O||l.set(E,O={vars:new Set,dep:(0,t.dP)()}),O}function L(E){s(E).vars.forEach(function(O){return O.forgetCache(E)})}function R(E){s(E).vars.forEach(function(O){return O.attachCache(E)})}function T(E){var O=new Set,F=new Set,V=function(e){if(arguments.length>0){if(E!==e){E=e,O.forEach(function(pe){s(pe).dep.dirty(V),M(pe)});var I=Array.from(F);F.clear(),I.forEach(function(pe){return pe(E)})}}else{var w=g.getValue();w&&(S(w),s(w).dep(V))}return E};V.onNextChange=function(e){return F.add(e),function(){F.delete(e)}};var S=V.attachCache=function(e){return O.add(e),s(e).vars.add(V),V};return V.forgetCache=function(e){return O.delete(e)},V}function M(E){E.broadcastWatches&&E.broadcastWatches()}},484:(Et,Me,a)=>{a.d(Me,{i:()=>F});var t=a(655),o=a(7509),g=a(4302),s=a(591);function T(V,S){return S?S(V):g.y.of()}function M(V){return"function"==typeof V?new F(V):V}function E(V){return V.request.length<=1}var O=function(V){function S(e,I){var w=V.call(this,e)||this;return w.link=I,w}return(0,t.ZT)(S,V),S}(Error),F=function(){function V(S){S&&(this.request=S)}return V.empty=function(){return new V(function(){return g.y.of()})},V.from=function(S){return 0===S.length?V.empty():S.map(M).reduce(function(e,I){return e.concat(I)})},V.split=function(S,e,I){var w=M(e),pe=M(I||new V(T));return E(w)&&E(pe)?new V(function(ae){return S(ae)?w.request(ae)||g.y.of():pe.request(ae)||g.y.of()}):new V(function(ae,Z){return S(ae)?w.request(ae,Z)||g.y.of():pe.request(ae,Z)||g.y.of()})},V.execute=function(S,e){return S.request(function l(V,S){var e=(0,t.pi)({},V);return Object.defineProperty(S,"setContext",{enumerable:!1,value:function(pe){e=(0,t.pi)((0,t.pi)({},e),"function"==typeof pe?pe(e):pe)}}),Object.defineProperty(S,"getContext",{enumerable:!1,value:function(){return(0,t.pi)({},e)}}),S}(e.context,function L(V){var S={variables:V.variables||{},extensions:V.extensions||{},operationName:V.operationName,query:V.query};return S.operationName||(S.operationName="string"!=typeof S.query?(0,s.rY)(S.query)||void 0:""),S}(function R(V){for(var S=["query","operationName","variables","extensions","context"],e=0,I=Object.keys(V);e{function t(o){return Array.isArray(o)&&o.length>0}a.d(Me,{O:()=>t})},9545:(Et,Me,a)=>{a.d(Me,{DN:()=>s,aS:()=>l,mr:()=>o,sy:()=>g});var t=a(7509),o="function"==typeof WeakMap&&"ReactNative"!==(0,t.wY)(function(){return navigator.product}),g="function"==typeof WeakSet,l="function"==typeof Symbol&&"function"==typeof Symbol.for,s=l&&Symbol.asyncIterator;(0,t.wY)(function(){return window.document.createElement}),(0,t.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},396:(Et,Me,a)=>{a.d(Me,{X:()=>o});var t=Object.prototype.toString;function o(l){return g(l)}function g(l,s){switch(t.call(l)){case"[object Array]":if((s=s||new Map).has(l))return s.get(l);var L=l.slice(0);return s.set(l,L),L.forEach(function(T,M){L[M]=g(T,s)}),L;case"[object Object]":if((s=s||new Map).has(l))return s.get(l);var R=Object.create(Object.getPrototypeOf(l));return s.set(l,R),Object.keys(l).forEach(function(T){R[T]=g(l[T],s)}),R;default:return l}}},3950:(Et,Me,a)=>{function t(){for(var o=[],g=0;gt})},8561:(Et,Me,a)=>{a.d(Me,{X:()=>o});var t=new Map;function o(g){var l=t.get(g)||1;return t.set(g,l+1),"".concat(g,":").concat(l,":").concat(Math.random().toString(36).slice(2))}},7773:(Et,Me,a)=>{a.d(Me,{Ee:()=>l,bw:()=>s,w0:()=>R});var t=a(655),o=a(7062),g=Object.prototype.hasOwnProperty;function l(){for(var T=[],M=0;M1)for(var O=new R,F=1;F{function t(o){return null!==o&&"object"==typeof o}a.d(Me,{s:()=>t})},7509:(Et,Me,a)=>{a.d(Me,{ej:()=>s,kG:()=>L,wY:()=>F});var t=a(655),o="Invariant Violation",g=Object.setPrototypeOf,l=void 0===g?function(me,fe){return me.__proto__=fe,me}:g,s=function(me){function fe(te){void 0===te&&(te=o);var ye=me.call(this,"number"==typeof te?o+": "+te+" (see https://github.com/apollographql/invariant-packages)":te)||this;return ye.framesToPop=1,ye.name=o,l(ye,fe.prototype),ye}return(0,t.ZT)(fe,me),fe}(Error);function L(me,fe){if(!me)throw new s(fe)}var me,R=["debug","log","warn","error","silent"],T=R.indexOf("log");function M(me){return function(){if(R.indexOf(me)>=T){var fe=console[me]||console.log;return fe.apply(console,arguments)}}}function F(me){try{return me()}catch{}}(me=L||(L={})).debug=M("debug"),me.log=M("log"),me.warn=M("warn"),me.error=M("error");const V=F(function(){return globalThis})||F(function(){return window})||F(function(){return self})||F(function(){return global})||F(function(){return F.constructor("return this")()});var S="__",e=[S,S].join("DEV");const w=function I(){try{return Boolean(__DEV__)}catch{return Object.defineProperty(V,e,{value:"production"!==F(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),V[e]}}();function pe(me){try{return me()}catch{}}var ae=pe(function(){return globalThis})||pe(function(){return window})||pe(function(){return self})||pe(function(){return global})||pe(function(){return pe.constructor("return this")()}),Z=!1;!function U(){ae&&!pe(function(){return"production"})&&!pe(function(){return process})&&(Object.defineProperty(ae,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),Z=!0)}(),a(9826),function Y(){(function N(){Z&&(delete ae.process,Z=!1)})()}(),function k(){__DEV__?L("boolean"==typeof w,w):L("boolean"==typeof w,38)}()},9722:(Et,Me,a)=>{a.d(Me,{FS:()=>R,LZ:()=>g,mj:()=>T});var t=a(7509),o=a(1335);function g(O,F){var V=O.directives;return!V||!V.length||function E(O){var F=[];return O&&O.length&&O.forEach(function(V){if(function M(O){var F=O.name.value;return"skip"===F||"include"===F}(V)){var S=V.arguments,e=V.name.value;__DEV__?(0,t.kG)(S&&1===S.length,"Incorrect number of arguments for the @".concat(e," directive.")):(0,t.kG)(S&&1===S.length,40);var I=S[0];__DEV__?(0,t.kG)(I.name&&"if"===I.name.value,"Invalid argument for the @".concat(e," directive.")):(0,t.kG)(I.name&&"if"===I.name.value,41);var w=I.value;__DEV__?(0,t.kG)(w&&("Variable"===w.kind||"BooleanValue"===w.kind),"Argument for the @".concat(e," directive must be a variable or a boolean value.")):(0,t.kG)(w&&("Variable"===w.kind||"BooleanValue"===w.kind),42),F.push({directive:V,ifArgument:I})}}),F}(V).every(function(S){var e=S.directive,I=S.ifArgument,w=!1;return"Variable"===I.value.kind?(w=F&&F[I.value.name.value],__DEV__?(0,t.kG)(void 0!==w,"Invalid variable referenced in @".concat(e.name.value," directive.")):(0,t.kG)(void 0!==w,39)):w=I.value.value,"skip"===e.name.value?!w:w})}function R(O,F,V){var S=new Set(O),e=S.size;return(0,o.Vn)(F,{Directive:function(I){if(S.delete(I.name.value)&&(!V||!S.size))return o.$_}}),V?!S.size:S.size{a.d(Me,{F:()=>l,Yk:()=>g,hi:()=>s});var t=a(655),o=a(7509);function g(L,R){var T=R,M=[];return L.definitions.forEach(function(O){if("OperationDefinition"===O.kind)throw __DEV__?new o.ej("Found a ".concat(O.operation," operation").concat(O.name?" named '".concat(O.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new o.ej(43);"FragmentDefinition"===O.kind&&M.push(O)}),typeof T>"u"&&(__DEV__?(0,o.kG)(1===M.length,"Found ".concat(M.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,o.kG)(1===M.length,44),T=M[0].name.value),(0,t.pi)((0,t.pi)({},L),{definitions:(0,t.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:T}}]}}],L.definitions,!0)})}function l(L){void 0===L&&(L=[]);var R={};return L.forEach(function(T){R[T.name.value]=T}),R}function s(L,R){switch(L.kind){case"InlineFragment":return L;case"FragmentSpread":var T=L.name.value;if("function"==typeof R)return R(T);var M=R&&R[T];return __DEV__?(0,o.kG)(M,"No fragment named ".concat(T)):(0,o.kG)(M,45),M||null;default:return null}}},591:(Et,Me,a)=>{a.d(Me,{$H:()=>l,A$:()=>g,O4:()=>E,iW:()=>R,kU:()=>L,p$:()=>M,pD:()=>T,rY:()=>s});var t=a(7509),o=a(7634);function g(O){__DEV__?(0,t.kG)(O&&"Document"===O.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,t.kG)(O&&"Document"===O.kind,46);var F=O.definitions.filter(function(V){return"FragmentDefinition"!==V.kind}).map(function(V){if("OperationDefinition"!==V.kind)throw __DEV__?new t.ej('Schema type definitions not allowed in queries. Found: "'.concat(V.kind,'"')):new t.ej(47);return V});return __DEV__?(0,t.kG)(F.length<=1,"Ambiguous GraphQL document: contains ".concat(F.length," operations")):(0,t.kG)(F.length<=1,48),O}function l(O){return g(O),O.definitions.filter(function(F){return"OperationDefinition"===F.kind})[0]}function s(O){return O.definitions.filter(function(F){return"OperationDefinition"===F.kind&&F.name}).map(function(F){return F.name.value})[0]||null}function L(O){return O.definitions.filter(function(F){return"FragmentDefinition"===F.kind})}function R(O){var F=l(O);return __DEV__?(0,t.kG)(F&&"query"===F.operation,"Must contain a query definition."):(0,t.kG)(F&&"query"===F.operation,49),F}function T(O){__DEV__?(0,t.kG)("Document"===O.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,t.kG)("Document"===O.kind,50),__DEV__?(0,t.kG)(O.definitions.length<=1,"Fragment must have exactly one definition."):(0,t.kG)(O.definitions.length<=1,51);var F=O.definitions[0];return __DEV__?(0,t.kG)("FragmentDefinition"===F.kind,"Must be a fragment definition."):(0,t.kG)("FragmentDefinition"===F.kind,52),F}function M(O){g(O);for(var F,V=0,S=O.definitions;V{a.d(Me,{Ao:()=>me,JW:()=>L,My:()=>k,NC:()=>N,PT:()=>ae,Yk:()=>s,kQ:()=>l,qw:()=>Y,u2:()=>q,vb:()=>I,vf:()=>w});var t=a(7509),o=a(7062),g=a(9661);function l(fe){return{__ref:String(fe)}}function s(fe){return Boolean(fe&&"object"==typeof fe&&"string"==typeof fe.__ref)}function L(fe){return(0,o.s)(fe)&&"Document"===fe.kind&&Array.isArray(fe.definitions)}function I(fe,te,ye,H){if(function M(fe){return"IntValue"===fe.kind}(ye)||function E(fe){return"FloatValue"===fe.kind}(ye))fe[te.value]=Number(ye.value);else if(function T(fe){return"BooleanValue"===fe.kind}(ye)||function R(fe){return"StringValue"===fe.kind}(ye))fe[te.value]=ye.value;else if(function F(fe){return"ObjectValue"===fe.kind}(ye)){var X={};ye.fields.map(function(Se){return I(X,Se.name,Se.value,H)}),fe[te.value]=X}else if(function O(fe){return"Variable"===fe.kind}(ye))fe[te.value]=(H||{})[ye.name.value];else if(function V(fe){return"ListValue"===fe.kind}(ye))fe[te.value]=ye.values.map(function(Se){var wt={};return I(wt,te,Se,H),wt[te.value]});else if(function S(fe){return"EnumValue"===fe.kind}(ye))fe[te.value]=ye.value;else{if(!function e(fe){return"NullValue"===fe.kind}(ye))throw __DEV__?new t.ej('The inline argument "'.concat(te.value,'" of kind "').concat(ye.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new t.ej(54);fe[te.value]=null}}function w(fe,te){var ye=null;fe.directives&&(ye={},fe.directives.forEach(function(X){ye[X.name.value]={},X.arguments&&X.arguments.forEach(function(ve){return I(ye[X.name.value],ve.name,ve.value,te)})}));var H=null;return fe.arguments&&fe.arguments.length&&(H={},fe.arguments.forEach(function(X){return I(H,X.name,X.value,te)})),ae(fe.name.value,H,ye)}var pe=["connection","include","skip","client","rest","export"],ae=Object.assign(function(fe,te,ye){if(te&&ye&&ye.connection&&ye.connection.key){if(ye.connection.filter&&ye.connection.filter.length>0){var H=ye.connection.filter?ye.connection.filter:[];H.sort();var X={};return H.forEach(function(wt){X[wt]=te[wt]}),"".concat(ye.connection.key,"(").concat(Z(X),")")}return ye.connection.key}var ve=fe;if(te){var Se=Z(te);ve+="(".concat(Se,")")}return ye&&Object.keys(ye).forEach(function(wt){-1===pe.indexOf(wt)&&(ye[wt]&&Object.keys(ye[wt]).length?ve+="@".concat(wt,"(").concat(Z(ye[wt]),")"):ve+="@".concat(wt))}),ve},{setStringify:function(fe){var te=Z;return Z=fe,te}}),Z=function(te){return JSON.stringify(te,U)};function U(fe,te){return(0,o.s)(te)&&!Array.isArray(te)&&(te=Object.keys(te).sort().reduce(function(ye,H){return ye[H]=te[H],ye},{})),te}function N(fe,te){if(fe.arguments&&fe.arguments.length){var ye={};return fe.arguments.forEach(function(H){return I(ye,H.name,H.value,te)}),ye}return null}function q(fe){return fe.alias?fe.alias.value:fe.name.value}function Y(fe,te,ye){if("string"==typeof fe.__typename)return fe.__typename;for(var H=0,X=te.selections;H{a.d(Me,{Gw:()=>V,aL:()=>N,ob:()=>q,Fo:()=>e});var t=a(655),o=a(7509),g=a(1335),l=a(591);function s(Y,k,me){var fe=0;return Y.forEach(function(te,ye){k.call(this,te,ye,Y)&&(Y[fe++]=te)},me),Y.length=fe,Y}var L=a(7634),R=a(9661),T={kind:"Field",name:{kind:"Name",value:"__typename"}};function M(Y,k){return!Y||Y.selectionSet.selections.every(function(me){return"FragmentSpread"===me.kind&&M(k[me.name.value],k)})}function E(Y){return M((0,l.$H)(Y)||(0,l.pD)(Y),(0,R.F)((0,l.kU)(Y)))?null:Y}function O(Y){return function(me){return Y.some(function(fe){return fe.name&&fe.name===me.name.value||fe.test&&fe.test(me)})}}function F(Y,k){var me=Object.create(null),fe=[],te=Object.create(null),ye=[],H=E((0,g.Vn)(k,{Variable:{enter:function(X,ve,Se){"VariableDefinition"!==Se.kind&&(me[X.name.value]=!0)}},Field:{enter:function(X){if(Y&&X.directives&&Y.some(function(Se){return Se.remove})&&X.directives&&X.directives.some(O(Y)))return X.arguments&&X.arguments.forEach(function(Se){"Variable"===Se.value.kind&&fe.push({name:Se.value.name.value})}),X.selectionSet&&U(X.selectionSet).forEach(function(Se){ye.push({name:Se.name.value})}),null}},FragmentSpread:{enter:function(X){te[X.name.value]=!0}},Directive:{enter:function(X){if(O(Y)(X))return null}}}));return H&&s(fe,function(X){return!!X.name&&!me[X.name]}).length&&(H=function ae(Y,k){var me=function pe(Y){return function(me){return Y.some(function(fe){return me.value&&"Variable"===me.value.kind&&me.value.name&&(fe.name===me.value.name.value||fe.test&&fe.test(me))})}}(Y);return E((0,g.Vn)(k,{OperationDefinition:{enter:function(fe){return(0,t.pi)((0,t.pi)({},fe),{variableDefinitions:fe.variableDefinitions?fe.variableDefinitions.filter(function(te){return!Y.some(function(ye){return ye.name===te.variable.name.value})}):[]})}},Field:{enter:function(fe){var te=Y.some(function(H){return H.remove});if(te){var ye=0;if(fe.arguments&&fe.arguments.forEach(function(H){me(H)&&(ye+=1)}),1===ye)return null}}},Argument:{enter:function(fe){if(me(fe))return null}}}))}(fe,H)),H&&s(ye,function(X){return!!X.name&&!te[X.name]}).length&&(H=function Z(Y,k){function me(fe){if(Y.some(function(te){return te.name===fe.name.value}))return null}return E((0,g.Vn)(k,{FragmentSpread:{enter:me},FragmentDefinition:{enter:me}}))}(ye,H)),H}var V=Object.assign(function(Y){return(0,g.Vn)(Y,{SelectionSet:{enter:function(k,me,fe){if(!fe||"OperationDefinition"!==fe.kind){var te=k.selections;if(te&&!te.some(function(X){return(0,L.My)(X)&&("__typename"===X.name.value||0===X.name.value.lastIndexOf("__",0))})){var H=fe;if(!((0,L.My)(H)&&H.directives&&H.directives.some(function(X){return"export"===X.name.value})))return(0,t.pi)((0,t.pi)({},k),{selections:(0,t.ev)((0,t.ev)([],te,!0),[T],!1)})}}}}})},{added:function(Y){return Y===T}}),S={test:function(Y){var k="connection"===Y.name.value;return k&&(!Y.arguments||!Y.arguments.some(function(me){return"key"===me.name.value}))&&__DEV__&&o.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),k}};function e(Y){return F([S],(0,l.A$)(Y))}function U(Y){var k=[];return Y.selections.forEach(function(me){((0,L.My)(me)||(0,L.Ao)(me))&&me.selectionSet?U(me.selectionSet).forEach(function(fe){return k.push(fe)}):"FragmentSpread"===me.kind&&k.push(me)}),k}function N(Y){return"query"===(0,l.p$)(Y).operation?Y:(0,g.Vn)(Y,{OperationDefinition:{enter:function(te){return(0,t.pi)((0,t.pi)({},te),{operation:"query"})}}})}function q(Y){(0,l.A$)(Y);var k=F([{test:function(me){return"client"===me.name.value},remove:!0}],Y);return k&&(k=(0,g.Vn)(k,{FragmentDefinition:{enter:function(me){if(me.selectionSet&&me.selectionSet.selections.every(function(te){return(0,L.My)(te)&&"__typename"===te.name.value}))return null}}})),k}},9933:(Et,Me,a)=>{a.d(Me,{c:()=>U,t:()=>H});var t=a(7579),o=a(727),s=(a(457),a(515),a(4650)),R=(a(5577),a(2722));const T=s.GuJ,E=Symbol("__destroy"),O=Symbol("__decoratorApplied");function F(ve){return"string"==typeof ve?Symbol(`__destroy__${ve}`):E}function S(ve,Se){ve[Se]||(ve[Se]=new t.x)}function e(ve,Se){ve[Se]&&(ve[Se].next(),ve[Se].complete(),ve[Se]=null)}function I(ve){ve instanceof o.w0&&ve.unsubscribe()}function pe(ve,Se){return function(){if(ve&&ve.call(this),e(this,F()),Se.arrayName&&function w(ve){Array.isArray(ve)&&ve.forEach(I)}(this[Se.arrayName]),Se.checkProperties)for(const wt in this)Se.blackList?.includes(wt)||I(this[wt])}}function U(ve={}){return Se=>{!function M(ve){return!!ve[T]}(Se)?function ae(ve,Se){ve.prototype.ngOnDestroy=pe(ve.prototype.ngOnDestroy,Se)}(Se,ve):function Z(ve,Se){const wt=ve.\u0275pipe;wt.onDestroy=pe(wt.onDestroy,Se)}(Se,ve),function V(ve){ve.prototype[O]=!0}(Se)}}function H(ve,Se){return wt=>{const St=F(Se);"string"==typeof Se?function ye(ve,Se,wt){const St=ve[Se];S(ve,wt),ve[Se]=function(){St.apply(this,arguments),e(this,wt),ve[Se]=St}}(ve,Se,St):S(ve,St);return wt.pipe((0,R.R)(ve[St]))}}Symbol("CheckerHasBeenSet")},2635:(Et,Me,a)=>{a.d(Me,{_N:()=>te,eJ:()=>fe,fM:()=>ye,pP:()=>H});var t=a(4650),o=a(5191),g=a(9841),l=a(457),s=a(9751),L=a(4707),R=a(9635),T=a(727),M=a(1884),E=a(8505),O=a(3900);let V=(()=>{class X{}return X.\u0275fac=function(Se){return new(Se||X)},X.\u0275prov=t.Yz7({token:X,factory:function(){return function F(X){return X instanceof t.R0b}((0,t.f3M)(t.R0b))?new e:(0,t.f3M)(S)},providedIn:"root"}),X})(),S=(()=>{class X extends V{constructor(Se){super(),this.appRef=Se,this.isScheduled=!1}schedule(){this.isScheduled||(this.isScheduled=!0,requestAnimationFrame(()=>{this.appRef.tick(),this.isScheduled=!1}))}}return X.\u0275fac=function(Se){return new(Se||X)(t.LFG(t.z2F))},X.\u0275prov=t.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();class e extends V{schedule(){}}let I=(()=>{class X{constructor(Se,wt){this.cdRef=Se,this.tickScheduler=wt}schedule(){this.cdRef.markForCheck(),this.tickScheduler.schedule()}}return X.\u0275fac=function(Se){return new(Se||X)(t.LFG(t.sBO),t.LFG(V))},X.\u0275prov=t.Yz7({token:X,factory:X.\u0275fac}),X})();function Y(X){const ve=function pe(X){return ve=>X[ve.type]?.(ve)}(X),Se=new L.t(1);return{nextPotentialObservable(wt){Se.next(wt)},handlePotentialObservableChanges:()=>Se.pipe((0,M.x)(),function k(){return(0,R.z)((0,O.w)(X=>{const ve=function ae(X){return(0,o.b)(X)?X:function U(X){return function N(X){return!!X&&"object"==typeof X&&!Array.isArray(X)}(X)&&Object.keys(X).length>0&&Object.values(X).every(o.b)}(X)?(0,g.a)(function q(X){return Object.keys(X).reduce((ve,Se)=>({...ve,[Se]:X[Se].pipe((0,M.x)())}),{})}(X)):function Z(X){return"function"==typeof X?.then}(X)?(0,l.D)(X):new s.y(ve=>{ve.next(X)})}(X);let Se=!0,wt=!0;return new s.y(St=>{const rn=ve.subscribe({next(ot){St.next({type:"next",value:ot,reset:Se,synchronous:wt}),Se=!1},error(ot){St.next({type:"error",error:ot,reset:Se,synchronous:wt}),Se=!1},complete(){St.next({type:"complete",reset:Se,synchronous:wt}),Se=!1}});return Se&&(St.next({type:"suspense",reset:Se,synchronous:!0}),Se=!1),wt=!1,rn})}))}(),(0,M.x)(me),(0,E.b)(ve))}}function me(X,ve){return X.type===ve.type&&X.reset===ve.reset&&("next"===ve.type?X.value===ve.value:"error"!==ve.type||X.error===ve.error)}let fe=(()=>{class X{constructor(Se,wt,St,rn){this.mainTemplateRef=Se,this.viewContainerRef=wt,this.errorHandler=St,this.renderScheduler=rn,this.isMainViewCreated=!1,this.isSuspenseViewCreated=!1,this.viewContext={$implicit:void 0,ngrxLet:void 0,error:void 0,complete:!1},this.renderEventManager=Y({suspense:()=>{this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.error=void 0,this.viewContext.complete=!1,this.renderSuspenseView()},next:ot=>{this.viewContext.$implicit=ot.value,this.viewContext.ngrxLet=ot.value,ot.reset&&(this.viewContext.error=void 0,this.viewContext.complete=!1),this.renderMainView(ot.synchronous)},error:ot=>{this.viewContext.error=ot.error,ot.reset&&(this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.complete=!1),this.renderMainView(ot.synchronous),this.errorHandler.handleError(ot.error)},complete:ot=>{this.viewContext.complete=!0,ot.reset&&(this.viewContext.$implicit=void 0,this.viewContext.ngrxLet=void 0,this.viewContext.error=void 0),this.renderMainView(ot.synchronous)}}),this.subscription=new T.w0}set ngrxLet(Se){this.renderEventManager.nextPotentialObservable(Se)}static ngTemplateContextGuard(Se,wt){return!0}ngOnInit(){this.subscription.add(this.renderEventManager.handlePotentialObservableChanges().subscribe())}ngOnDestroy(){this.subscription.unsubscribe()}renderMainView(Se){this.isSuspenseViewCreated&&(this.isSuspenseViewCreated=!1,this.viewContainerRef.clear()),this.isMainViewCreated||(this.isMainViewCreated=!0,this.viewContainerRef.createEmbeddedView(this.mainTemplateRef,this.viewContext)),Se||this.renderScheduler.schedule()}renderSuspenseView(){this.isMainViewCreated&&(this.isMainViewCreated=!1,this.viewContainerRef.clear()),this.suspenseTemplateRef&&!this.isSuspenseViewCreated&&(this.isSuspenseViewCreated=!0,this.viewContainerRef.createEmbeddedView(this.suspenseTemplateRef))}}return X.\u0275fac=function(Se){return new(Se||X)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(t.qLn),t.Y36(I))},X.\u0275dir=t.lG2({type:X,selectors:[["","ngrxLet",""]],inputs:{ngrxLet:"ngrxLet",suspenseTemplateRef:["ngrxLetSuspenseTpl","suspenseTemplateRef"]},features:[t._Bn([I])]}),X})(),te=(()=>{class X{}return X.\u0275fac=function(Se){return new(Se||X)},X.\u0275mod=t.oAB({type:X}),X.\u0275inj=t.cJS({}),X})(),ye=(()=>{class X{constructor(Se){this.errorHandler=Se,this.renderScheduler=function w(){return new I((0,t.f3M)(t.sBO),(0,t.f3M)(V))}(),this.renderEventManager=Y({suspense:wt=>this.setRenderedValue(void 0,wt.synchronous),next:wt=>this.setRenderedValue(wt.value,wt.synchronous),error:wt=>{wt.reset&&this.setRenderedValue(void 0,wt.synchronous),this.errorHandler.handleError(wt.error)},complete:wt=>{wt.reset&&this.setRenderedValue(void 0,wt.synchronous)}}),this.subscription=this.renderEventManager.handlePotentialObservableChanges().subscribe()}transform(Se){return this.renderEventManager.nextPotentialObservable(Se),this.renderedValue}ngOnDestroy(){this.subscription.unsubscribe()}setRenderedValue(Se,wt){Se!==this.renderedValue&&(this.renderedValue=Se,wt||this.renderScheduler.schedule())}}return X.\u0275fac=function(Se){return new(Se||X)(t.Y36(t.qLn,16))},X.\u0275pipe=t.Yjl({name:"ngrxPush",type:X,pure:!1}),X})(),H=(()=>{class X{}return X.\u0275fac=function(Se){return new(Se||X)},X.\u0275mod=t.oAB({type:X}),X.\u0275inj=t.cJS({}),X})()},5951:(Et,Me,a)=>{a.d(Me,{F:()=>T,W:()=>R});var t=a(4650),o=a(9751),g=a(1135),l=a(4004),s=a(9300),L=a(8505);let R=(()=>{class M{transform(O,F){return O instanceof o.y?this.dispose():O=this.observableOf(O,F),O.pipe((0,l.U)(V=>this.transformOptions(V,F)))}ngOnDestroy(){this.dispose()}transformOptions(O,F){const V=this.transformSelectProps(F),S=[],e={};return O?.forEach(I=>{const w=this.transformOption(I,V);if(w.group){const pe=e[w.label];void 0===pe?e[w.label]=S.push(w)-1:w.group.forEach(ae=>S[pe].group.push(ae))}else S.push(w)}),S}transformOption(O,F){const V=F.groupProp(O);return Array.isArray(V)?{label:F.labelProp(O),group:V.map(S=>this.transformOption(S,F))}:(O={label:F.labelProp(O),value:F.valueProp(O),disabled:!!F.disabledProp(O)},V?{label:V,group:[O]}:O)}transformSelectProps(O){const F=O?.props||O?.templateOptions||{},V=S=>"function"==typeof S?S:e=>e[S];return{groupProp:V(F.groupProp||"group"),labelProp:V(F.labelProp||"label"),valueProp:V(F.valueProp||"value"),disabledProp:V(F.disabledProp||"disabled")}}dispose(){this._options&&(this._options.complete(),this._options=null),this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)}observableOf(O,F){return this.dispose(),F&&F.options&&F.options.fieldChanges&&(this._subscription=F.options.fieldChanges.pipe((0,s.h)(({property:V,type:S,field:e})=>"expressionChanges"===S&&(0===V.indexOf("templateOptions.options")||0===V.indexOf("props.options"))&&e===F&&Array.isArray(e.props.options)&&!!this._options),(0,L.b)(()=>this._options.next(F.props.options))).subscribe()),this._options=new g.X(O),this._options.asObservable()}}return M.\u0275fac=function(O){return new(O||M)},M.\u0275pipe=t.Yjl({name:"formlySelectOptions",type:M,pure:!0}),M})(),T=(()=>{class M{}return M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({}),M})()},6212:(Et,Me,a)=>{a.d(Me,{JD:()=>J,M2:()=>Ge,T7:()=>oe,X0:()=>Nt,cw:()=>Ze,fS:()=>Te,hv:()=>it,l7:()=>ct,n2:()=>yt});var t=a(4650),o=a(4006),g=a(5191),l=a(6451),s=a(9646),L=a(9751),R=a(7579),T=a(1884),M=a(8675),E=a(8372),O=a(9300),F=a(3900),V=a(5698),S=a(8505),e=a(4004),I=a(6895),w=a(1481);const pe=["container"];function ae(We,j){}function Z(We,j){1&We&&t._UZ(0,"formly-field",1),2&We&&t.Q6J("field",j.$implicit)}const U=["*"],N=["fieldComponent"];function Y(We,j,P){if(j.id)return j.id;let K=j.type;return!K&&j.template&&(K="template"),K instanceof t.DyG&&(K=K.prototype.constructor.name),[We,K,j.key,P].join("_")}function k(We){return!ve(We.key)&&""!==We.key}function me(We){if(!k(We))return[];if(We._keyPath?.key!==We.key){let j=[];if("string"==typeof We.key){const P=-1===We.key.indexOf("[")?We.key:We.key.replace(/\[(\w+)\]/g,".$1");j=-1!==P.indexOf(".")?P.split("."):[P]}else j=Array.isArray(We.key)?We.key.slice(0):[`${We.key}`];Wt(We,"_keyPath",{key:We.key,path:j})}return We._keyPath.path.slice(0)}const fe=["required","pattern","minLength","maxLength","min","max"];function te(We,j){let P=me(We);if(0===P.length)return;let K=We;for(;K.parent;)K=K.parent,P=[...me(K),...P];if(void 0===j&&We.resetOnHide){const ze=P.pop();delete P.reduce((ke,ge)=>ke[ge]||{},K.model)[ze]}else!function ye(We,j,P){for(let K=0;K{for(const K in P)ve(We[K])||wt(We[K])?We[K]=Dt(P[K]):rn(We[K],P[K])&&X(We[K],P[K])}),We}function ve(We){return null==We}function Se(We){return void 0===We}function wt(We){return""===We}function St(We){return"function"==typeof We}function rn(We,j){return ot(We)&&ot(j)&&Object.getPrototypeOf(We)===Object.getPrototypeOf(j)&&!(Array.isArray(We)||Array.isArray(j))}function ot(We){return null!=We&&"object"==typeof We}function Dt(We){if(!ot(We)||(0,g.b)(We)||We instanceof t.Rgc||We.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(We.constructor.name))return We;if(We instanceof Set)return new Set(We);if(We instanceof Map)return new Map(We);if(We._isAMomentObject&&St(We.clone))return We.clone();if(We instanceof o.TO)return null;if(We instanceof Date)return new Date(We.getTime());if(Array.isArray(We))return We.slice(0).map(K=>Dt(K));const j=Object.getPrototypeOf(We);let P=Object.create(j);return P=Object.setPrototypeOf(P,j),Object.keys(We).reduce((K,ze)=>{const dt=Object.getOwnPropertyDescriptor(We,ze);return dt.get?Object.defineProperty(K,ze,dt):K[ze]=Dt(We[ze]),K},P)}function Wt(We,j,P){Object.defineProperty(We,j,{enumerable:!1,writable:!0,configurable:!0}),We[j]=P}function mn(We,j,P){let K=[];const ze=()=>{K.forEach(ke=>ke()),K=[]},dt=At(We,j,({firstChange:ke,currentValue:ge})=>{!ke&&P(),ze(),ot(ge)&&"Object"===ge.constructor.name&&Object.keys(ge).forEach(xe=>{K.push(mn(We,[...j,xe],P))})});return()=>{dt.unsubscribe(),ze()}}function At(We,j,P){We._observers||Wt(We,"_observers",{});let K=We;for(let ge=0;ge=1)){const{enumerable:ge}=Object.getOwnPropertyDescriptor(K,ze)||{enumerable:!0};Object.defineProperty(K,ze,{enumerable:ge,configurable:!0,get:()=>ke.value,set:xe=>{if(xe!==ke.value){const ut=ke.value;ke.value=xe,ke.onChange.forEach(vt=>vt({previousValue:ut,currentValue:xe,firstChange:!1}))}}})}return{setValue(ge){ke.value=ge},unsubscribe(){ke.onChange=ke.onChange.filter(ge=>ge!==P),0===ke.onChange.length&&delete We._observers[dt]}}}function _t(We,j){if(j=Array.isArray(j)?j.join("."):j,We.fieldGroup)for(let P=0,K=We.fieldGroup.length;P{j instanceof t.UuU?j.injector.get(t.sBO).markForCheck():j.markForCheck()})}const ct=new t.OlP("FORMLY_CONFIG");let Rt=(()=>{class We{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError:P=>P.formControl?.invalid&&(P.formControl?.touched||P.options.parentForm?.submitted||!!P.field.validation?.show)},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(P){P.types&&P.types.forEach(K=>this.setType(K)),P.validators&&P.validators.forEach(K=>this.setValidator(K)),P.wrappers&&P.wrappers.forEach(K=>this.setWrapper(K)),P.validationMessages&&P.validationMessages.forEach(K=>this.addValidatorMessage(K.name,K.message)),P.extensions&&this.setSortedExtensions(P.extensions),P.extras&&(this.extras={...this.extras,...P.extras}),P.presets&&(this.presets={...this.presets,...P.presets.reduce((K,ze)=>({...K,[ze.name]:ze.config}),{})})}setType(P){Array.isArray(P)?P.forEach(K=>this.setType(K)):(this.types[P.name]||(this.types[P.name]={name:P.name}),["component","extends","defaultOptions","wrappers"].forEach(K=>{P.hasOwnProperty(K)&&(this.types[P.name][K]=P[K])}))}getType(P,K=!1){if(P instanceof t.DyG)return{component:P,name:P.prototype.constructor.name};if(!this.types[P]){if(K)throw new Error(`[Formly Error] The type "${P}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(P),this.types[P]}getMergedField(P={}){const K=this.getType(P.type);if(!K)return;K.defaultOptions&&X(P,K.defaultOptions);const ze=K.extends&&this.getType(K.extends).defaultOptions;ze&&X(P,ze),P?.optionsTypes&&P.optionsTypes.forEach(ke=>{const ge=this.getType(ke).defaultOptions;ge&&X(P,ge)});const dt=this.resolveFieldTypeRef(P);dt?.instance?.defaultOptions&&X(P,dt.instance.defaultOptions),!P.wrappers&&K.wrappers&&(P.wrappers=[...K.wrappers])}resolveFieldTypeRef(P={}){const K=this.getType(P.type);if(!K)return null;if(!K.component||K._componentRef)return K._componentRef;const{_viewContainerRef:ze,_injector:dt}=P.options;if(!ze||!dt)return null;const ke=ze.createComponent(K.component,{injector:dt});Wt(K,"_componentRef",ke);try{ke.destroy()}catch(ge){console.error(`An error occurred while destroying the Formly component type "${P.type}"`,ge)}return K._componentRef}setWrapper(P){this.wrappers[P.name]=P,P.types&&P.types.forEach(K=>{this.setTypeWrapper(K,P.name)})}getWrapper(P){if(P instanceof t.DyG)return{component:P,name:P.prototype.constructor.name};if(!this.wrappers[P])throw new Error(`[Formly Error] The wrapper "${P}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[P]}setTypeWrapper(P,K){this.types[P]||(this.types[P]={}),this.types[P].wrappers||(this.types[P].wrappers=[]),-1===this.types[P].wrappers.indexOf(K)&&this.types[P].wrappers.push(K)}setValidator(P){this.validators[P.name]=P}getValidator(P){if(!this.validators[P])throw new Error(`[Formly Error] The validator "${P}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[P]}addValidatorMessage(P,K){this.messages[P]=K}getValidatorMessage(P){return this.messages[P]}setSortedExtensions(P){P.forEach(K=>{const ze=K.priority??1;this.extensionsByPriority[ze]={...this.extensionsByPriority[ze],[K.name]:K.extension}}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((K,ze)=>K-ze).reduce((K,ze)=>({...K,...this.extensionsByPriority[ze]}),{})}mergeExtendedType(P){if(!this.types[P].extends)return;const K=this.getType(this.types[P].extends);this.types[P].component||(this.types[P].component=K.component),this.types[P].wrappers||(this.types[P].wrappers=K.wrappers)}}return We.\u0275fac=function(P){return new(P||We)},We.\u0275prov=t.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})(),sn=(()=>{class We{constructor(P,K,ze,dt){this.config=P,this.injector=K,this.viewContainerRef=ze,this.parentForm=dt}buildForm(P,K=[],ze,dt){this.build({fieldGroup:K,model:ze,form:P,options:dt})}build(P){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");P.parent?this._build(P):(this._setOptions(P),function q(We,j){const P=We._updateTreeValidity.bind(We);We._updateTreeValidity=()=>{},j(),We._updateTreeValidity=P}(P.form,()=>{this._build(P);const K=P.options;K.checkExpressions?.(P,!0),K.detectChanges?.(P)}))}_build(P){if(!P)return;const K=Object.values(this.config.extensions);K.forEach(ze=>ze.prePopulate?.(P)),K.forEach(ze=>ze.onPopulate?.(P)),P.fieldGroup?.forEach(ze=>this._build(ze)),K.forEach(ze=>ze.postPopulate?.(P))}_setOptions(P){P.form=P.form||new o.cw({}),P.model=P.model||{},P.options=P.options||{};const K=P.options;K._viewContainerRef||Wt(K,"_viewContainerRef",this.viewContainerRef),K._injector||Wt(K,"_injector",this.injector),K.build||(K._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(P)},K.build=(ze=P)=>(this.build(ze),ze)),!K.parentForm&&this.parentForm&&(Wt(K,"parentForm",this.parentForm),At(K,["parentForm","submitted"],({firstChange:ze})=>{ze||(K.checkExpressions(P),K.detectChanges(P))}))}}return We.\u0275fac=function(P){return new(P||We)(t.LFG(Rt),t.LFG(t.zs3),t.LFG(t.s_b,8),t.LFG(o.sg,8))},We.\u0275prov=t.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"}),We})();function Dn(We,j=!1){const P=We.formControl,K=P._fields?P._fields.indexOf(We):-1;-1!==K&&P._fields.splice(K,1);const ze=P.parent;if(!ze)return;const dt={emitEvent:j};if(ze instanceof o.Oe){const ke=ze.controls.findIndex(ge=>ge===P);-1!==ke&&ze.removeAt(ke,dt)}else if(ze instanceof o.cw){const ke=me(We),ge=ke[ke.length-1];ze.get([ge])===P&&ze.removeControl(ge,dt)}P.setParent(null)}function zn(We){return We.formControl?We.formControl:!1===We.shareFormControl?null:We.form?.get(me(We))}function Yt(We,j,P=!1){if((j=j||We.formControl)._fields||Wt(j,"_fields",[]),-1===j._fields.indexOf(We)&&j._fields.push(We),!We.formControl&&j){Wt(We,"formControl",j),j.setValidators(null),j.setAsyncValidators(null),We.props.disabled=!!We.props.disabled;const ge=At(We,["props","disabled"],({firstChange:xe,currentValue:ut})=>{xe||(ut?We.formControl.disable():We.formControl.enable())});j instanceof o.NI&&j.registerOnDisabledChange(ge.setValue)}if(!We.form||!k(We))return;let K=We.form;const ze=me(We),dt=H(We);(!ve(j.value)||!ve(dt))&&j.value!==dt&&j instanceof o.NI&&j.patchValue(dt);for(let ge=0;geYe(j))}let $e=(()=>{class We{constructor(P){this.ref=P}ngOnChanges(){this.name=this.name||"formly-group"}}return We.\u0275fac=function(P){return new(P||We)(t.Y36(t.Rgc))},We.\u0275dir=t.lG2({type:We,selectors:[["","formlyTemplate",""]],inputs:{name:["formlyTemplate","name"]},features:[t.TTD]}),We})(),Ae=(()=>{class We{}return We.\u0275fac=function(P){return new(P||We)},We.\u0275prov=t.Yz7({token:We,factory:We.\u0275fac}),We})(),Ze=(()=>{class We{constructor(P,K,ze,dt,ke){this.config=P,this.renderer=K,this._elementRef=ze,this.hostContainerRef=dt,this.form=ke,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){return this.config.extras.renderFormlyFieldElement?this._elementRef:this.componentRefs?.[0]instanceof t.UuU?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(P){this.triggerHook("onChanges",P)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(P=>P.unsubscribe()),this.hooksObservers.forEach(P=>P()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(P,K,ze=[]){if(this.containerRef===P&&(this.resetRefs(this.field),this.containerRef.clear(),ze=this.field?.wrappers),ze?.length>0){const[dt,...ke]=ze,{component:ge}=this.config.getWrapper(dt),xe=P.createComponent(ge);this.attachComponentRef(xe,K),At(xe.instance,["fieldComponent"],({currentValue:ut,previousValue:vt,firstChange:qt})=>{if(ut){if(vt&&vt._lContainer===ut._lContainer)return;const Ct=vt?vt.detach():null;Ct&&!Ct.destroyed?ut.insert(Ct):this.renderField(ut,K,ke),!qt&&xe.changeDetectorRef.detectChanges()}})}else if(K?.type){const dt=this.form?.templates?.find(ge=>ge.name===K.type);let ke;if(dt)ke=P.createEmbeddedView(dt.ref,{$implicit:K});else{const{component:ge}=this.config.getType(K.type,!0);ke=P.createComponent(ge)}this.attachComponentRef(ke,K)}}triggerHook(P,K){if(("onInit"===P||"onChanges"===P&&K.field&&!K.field.firstChange)&&(this.valueChangesUnsubscribe=this.fieldChanges(this.field)),this.field?.hooks?.[P]&&(!K||K.field)){const ze=this.field.hooks[P](this.field);if((0,g.b)(ze)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(P)){const dt=ze.subscribe();this.hooksObservers.push(()=>dt.unsubscribe())}}"onChanges"===P&&K.field&&(this.resetRefs(K.field.previousValue),this.render())}attachComponentRef(P,K){this.componentRefs.push(P),K._componentRefs.push(P),P instanceof t.UuU&&Object.assign(P.instance,{field:K})}render(){if(this.field){if(!this.field.options)return void(this.detectFieldBuild=!0);this.detectFieldBuild=!1,this.hostObservers.forEach(P=>P.unsubscribe()),this.hostObservers=[At(this.field,["hide"],({firstChange:P,currentValue:K})=>{const ze=this.containerRef;!1===this.config.extras.lazyRender?(P&&this.renderField(ze,this.field),(!P||P&&K)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",K?"none":"")):K?(ze.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(ze,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!P&&this.field.options.detectChanges(this.field)}),At(this.field,["className"],({firstChange:P,currentValue:K})=>{(!P||P&&K)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",K)}),...["touched","pristine","status"].map(P=>At(this.field,["formControl",P],({firstChange:K})=>!K&&Xt(this.field)))]}}resetRefs(P){P&&(P._componentRefs?P._componentRefs=P._componentRefs.filter(K=>-1===this.componentRefs.indexOf(K)):Wt(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(P){if(this.valueChangesUnsubscribe(),!P)return()=>{};const K=[mn(P,["props"],()=>P.options.detectChanges(P)),mn(P.options,["formState"],()=>P.options.detectChanges(P))];for(const ze of Object.keys(P._expressions)){const dt=At(P,["_expressions",ze],({currentValue:ke,previousValue:ge})=>{ge?.subscription&&(ge.subscription.unsubscribe(),ge.subscription=null),(0,g.b)(ke.value$)&&(ke.subscription=ke.value$.subscribe())});K.push(()=>{P._expressions[ze]?.subscription&&P._expressions[ze].subscription.unsubscribe(),dt.unsubscribe()})}for(const ze of[["template"],["fieldGroupClassName"],["validation","show"]]){const dt=At(P,ze,({firstChange:ke})=>!ke&&P.options.detectChanges(P));K.push(()=>dt.unsubscribe())}if(P.formControl&&!P.fieldGroup){const ze=P.formControl;let dt=ze.valueChanges.pipe((0,T.x)((ut,vt)=>!(ut!==vt||Array.isArray(ut)||ot(ut))));ze.value!==H(P)&&(dt=dt.pipe((0,M.O)(ze.value)));const{updateOn:ke,debounce:ge}=P.modelOptions;(!ke||"change"===ke)&&ge?.default>0&&(dt=ze.valueChanges.pipe((0,E.b)(ge.default)));const xe=dt.subscribe(ut=>{ze._fields?.length>1&&ze instanceof o.NI&&ze.patchValue(ut,{emitEvent:!1,onlySelf:!0}),P.parsers?.forEach(vt=>ut=vt(ut)),ut===P.formControl.value?(k(P)&&te(P,ut),P.options.fieldChanges.next({value:ut,field:P,type:"valueChanges"})):P.formControl.setValue(ut)});K.push(()=>xe.unsubscribe())}return()=>K.forEach(ze=>ze())}}return We.\u0275fac=function(P){return new(P||We)(t.Y36(Rt),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(Ae,8))},We.\u0275cmp=t.Xpm({type:We,selectors:[["formly-field"]],viewQuery:function(P,K){if(1&P&&t.Gf(pe,7,t.s_b),2&P){let ze;t.iGM(ze=t.CRH())&&(K.viewContainerRef=ze.first)}},inputs:{field:"field"},features:[t.TTD],decls:2,vars:0,consts:[["container",""]],template:function(P,K){1&P&&t.YNc(0,ae,0,0,"ng-template",null,0,t.W1O)},styles:["[_nghost-%COMP%]:empty{display:none}"]}),We})(),oe=(()=>{class We{constructor(P,K,ze,dt){this.builder=P,this.config=K,this.ngZone=ze,this.fieldTemplates=dt,this.modelChange=new t.vpe,this.field={type:"formly-group"},this._modelChangeValue={},this.valueChangesUnsubscribe=()=>{}}set form(P){this.field.form=P}get form(){return this.field.form}set model(P){this.setField({model:P})}get model(){return this.field.model}set fields(P){this.setField({fieldGroup:P})}get fields(){return this.field.fieldGroup}set options(P){this.setField({options:P})}get options(){return this.field.options}set templates(P){this.fieldTemplates.templates=P}ngDoCheck(){"changeDetectionCheck"===this.config.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(P){P.fields&&this.form&&Ye(this.form),(P.fields||P.form||P.model&&this._modelChangeValue!==P.model.currentValue)&&(this.valueChangesUnsubscribe(),this.builder.build(this.field),this.valueChangesUnsubscribe=this.valueChanges())}ngOnDestroy(){this.valueChangesUnsubscribe()}checkExpressionChange(){this.field.options.checkExpressions?.(this.field)}valueChanges(){this.valueChangesUnsubscribe();const P=this.field.options.fieldChanges.pipe((0,O.h)(({field:K,type:ze})=>k(K)&&"valueChanges"===ze),(0,F.w)(()=>this.ngZone.onStable.asObservable().pipe((0,V.q)(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=Dt(this.model))}));return()=>P.unsubscribe()}setField(P){this.config.extras.immutable?this.field={...this.field,...Dt(P)}:Object.keys(P).forEach(K=>this.field[K]=P[K])}}return We.\u0275fac=function(P){return new(P||We)(t.Y36(sn),t.Y36(Rt),t.Y36(t.R0b),t.Y36(Ae))},We.\u0275cmp=t.Xpm({type:We,selectors:[["formly-form"]],contentQueries:function(P,K,ze){if(1&P&&t.Suo(ze,$e,4),2&P){let dt;t.iGM(dt=t.CRH())&&(K.templates=dt)}},inputs:{form:"form",model:"model",fields:"fields",options:"options"},outputs:{modelChange:"modelChange"},features:[t._Bn([sn,Ae]),t.TTD],decls:1,vars:1,consts:[[3,"field"]],template:function(P,K){1&P&&t._UZ(0,"formly-field",0),2&P&&t.Q6J("field",K.field)},dependencies:[Ze],encapsulation:2,changeDetection:0}),We})(),J=(()=>{class We{constructor(P,K,ze){this.renderer=P,this.elementRef=K,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(dt,ke)=>{switch(dt){case"focus":return this.onFocus(ke);case"blur":return this.onBlur(ke);case"change":return this.onChange(ke);default:return this.props[dt](this.field,ke)}}},this.document=ze}get props(){return this.field.props||{}}get fieldAttrElements(){return this.field?._elementRefs||[]}ngOnChanges(P){P.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(K=>K()),this.uiEvents.events.forEach(K=>{(this.props?.[K]||-1!==["focus","blur","change"].indexOf(K))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,K,ze=>this.uiEvents.callback(K,ze)))}),this.props?.attributes&&At(this.field,["props","attributes"],({currentValue:K,previousValue:ze})=>{ze&&Object.keys(ze).forEach(dt=>this.removeAttribute(dt)),K&&Object.keys(K).forEach(dt=>{null!=K[dt]&&this.setAttribute(dt,K[dt])})}),this.detachElementRef(P.field.previousValue),this.attachElementRef(P.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=At(this.field,["focus"],({currentValue:K})=>{this.toggleFocus(K)}))),P.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const P=this.elementRef.nativeElement;this.uiAttributes=[...fe,"tabindex","placeholder","readonly","disabled","step"].filter(K=>!P.hasAttribute||!P.hasAttribute(K))}this.uiAttributes.forEach(P=>{const K=this.props[P];this.uiAttributesCache[P]!==K&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(P.toLowerCase()))&&(this.uiAttributesCache[P]=K,K||0===K?this.setAttribute(P,!0===K?P:`${K}`):this.removeAttribute(P))})}ngOnDestroy(){this.uiEvents.listeners.forEach(P=>P()),this.detachElementRef(this.field),this.focusObserver?.unsubscribe()}toggleFocus(P){const K=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!K||!K.nativeElement.focus)return;const ze=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:dt})=>this.document.activeElement===dt||dt.contains(this.document.activeElement));P&&!ze?Promise.resolve().then(()=>K.nativeElement.focus()):!P&&ze&&Promise.resolve().then(()=>K.nativeElement.blur())}onFocus(P){this.focusObserver?.setValue(!0),this.props.focus?.(this.field,P)}onBlur(P){this.focusObserver?.setValue(!1),this.props.blur?.(this.field,P)}onHostChange(P){P instanceof Event||this.onChange(P)}onChange(P){this.props.change?.(this.field,P),this.field.formControl?.markAsDirty()}attachElementRef(P){P&&(-1===P._elementRefs?.indexOf(this.elementRef)?P._elementRefs.push(this.elementRef):Wt(P,"_elementRefs",[this.elementRef]))}detachElementRef(P){const K=P?._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==K&&P._elementRefs.splice(K,1)}setAttribute(P,K){this.renderer.setAttribute(this.elementRef.nativeElement,P,K)}removeAttribute(P){this.renderer.removeAttribute(this.elementRef.nativeElement,P)}}return We.\u0275fac=function(P){return new(P||We)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(I.K0))},We.\u0275dir=t.lG2({type:We,selectors:[["","formlyAttributes",""]],hostBindings:function(P,K){1&P&&t.NdJ("change",function(dt){return K.onHostChange(dt)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[t.TTD]}),We})(),Te=(()=>{class We{get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}return We.\u0275fac=function(P){return new(P||We)},We.\u0275dir=t.lG2({type:We,inputs:{field:"field"}}),We})(),Pe=(()=>{class We extends Te{}return We.\u0275fac=function(){let j;return function(K){return(j||(j=t.n5z(We)))(K||We)}}(),We.\u0275cmp=t.Xpm({type:We,selectors:[["formly-group"]],hostVars:2,hostBindings:function(P,K){2&P&&t.Tol(K.field.fieldGroupClassName||"")},features:[t.qOj],ngContentSelectors:U,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(P,K){1&P&&(t.F$t(),t.YNc(0,Z,1,1,"formly-field",0),t.Hsn(1)),2&P&&t.Q6J("ngForOf",K.field.fieldGroup)},dependencies:[Ze,I.sg],encapsulation:2,changeDetection:0}),We})(),Ge=(()=>{class We{constructor(P){this.config=P}ngOnChanges(){const P=fe.map(K=>`templateOptions.${K}`);this.errorMessage$=(0,l.T)(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe((0,O.h)(({field:K,type:ze,property:dt})=>K===this.field&&"expressionChanges"===ze&&(-1!==dt.indexOf("validation")||-1!==P.indexOf(dt)))):(0,s.of)(null)).pipe((0,M.O)(null),(0,F.w)(()=>(0,g.b)(this.errorMessage)?this.errorMessage:(0,s.of)(this.errorMessage)))}get errorMessage(){const P=this.field.formControl;for(const K in P.errors)if(P.errors.hasOwnProperty(K)){let ze=this.config.getValidatorMessage(K);if(ot(P.errors[K])){if(P.errors[K].errorPath)return;P.errors[K].message&&(ze=P.errors[K].message)}return this.field.validation?.messages?.[K]&&(ze=this.field.validation.messages[K]),this.field.validators?.[K]?.message&&(ze=this.field.validators[K].message),this.field.asyncValidators?.[K]?.message&&(ze=this.field.asyncValidators[K].message),"function"==typeof ze?ze(P.errors[K],this.field):ze}}}return We.\u0275fac=function(P){return new(P||We)(t.Y36(Rt))},We.\u0275cmp=t.Xpm({type:We,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[t.TTD],decls:2,vars:3,template:function(P,K){1&P&&(t._uU(0),t.ALo(1,"async")),2&P&&t.Oqu(t.lcZ(1,1,K.errorMessage$))},dependencies:[I.Ov],encapsulation:2,changeDetection:0}),We})(),it=(()=>{class We extends Te{onPopulate(P){!P.formControl&&k(P)&&Yt(P,zn(P)||new o.Oe([],{updateOn:P.modelOptions.updateOn})),P.fieldGroup=P.fieldGroup||[];const K=P.model?P.model.length:0;if(P.fieldGroup.length>K)for(let ze=P.fieldGroup.length-1;ze>=K;--ze)Dn(P.fieldGroup[ze],!0),P.fieldGroup.splice(ze,1);for(let ze=P.fieldGroup.length;zedt.key=`${ke}`),Dn(ze,!0),this._build(),K&&this.formControl.markAsDirty()}_build(){(this.field.formControl._fields??[this.field]).forEach(K=>this.options.build(K)),this.options.fieldChanges.next({field:this.field,value:H(this.field),type:"valueChanges"})}}return We.\u0275fac=function(){let j;return function(K){return(j||(j=t.n5z(We)))(K||We)}}(),We.\u0275dir=t.lG2({type:We,features:[t.qOj]}),We})(),yt=(()=>{class We extends Te{set _staticContent(P){this.fieldComponent=P}}return We.\u0275fac=function(){let j;return function(K){return(j||(j=t.n5z(We)))(K||We)}}(),We.\u0275dir=t.lG2({type:We,viewQuery:function(P,K){if(1&P&&(t.Gf(N,5,t.s_b),t.Gf(N,7,t.s_b)),2&P){let ze;t.iGM(ze=t.CRH())&&(K.fieldComponent=ze.first),t.iGM(ze=t.CRH())&&(K._staticContent=ze.first)}},features:[t.qOj]}),We})(),Ut=(()=>{class We extends Te{constructor(P){super(),this.sanitizer=P,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return We.\u0275fac=function(P){return new(P||We)(t.Y36(w.H7))},We.\u0275cmp=t.Xpm({type:We,selectors:[["formly-template"]],features:[t.qOj],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(P,K){1&P&&t._UZ(0,"div",0),2&P&&t.Q6J("innerHtml",K.template,t.oJD)},encapsulation:2,changeDetection:0}),We})();class et{onPopulate(j){if(j._expressions)return;Wt(j,"_expressions",{}),At(j,["hide"],({currentValue:K,firstChange:ze})=>{Wt(j,"_hide",!!K),(!ze||ze&&!0===K)&&(j.props.hidden=K,j.options._hiddenFieldsForCheck.push(j))}),j.hideExpression&&At(j,["hideExpression"],({currentValue:K})=>{j._expressions.hide=this.parseExpressions(j,"hide","boolean"==typeof K?()=>K:K)});const P=(K,ze)=>{"string"==typeof ze||St(ze)?j._expressions[K]=this.parseExpressions(j,K,ze):ze instanceof L.y&&(j._expressions[K]={value$:ze.pipe((0,S.b)(dt=>{this.evalExpr(j,K,dt),j.options.detectChanges(j)}))})};j.expressions=j.expressions||{};for(const K of Object.keys(j.expressions))At(j,["expressions",K],({currentValue:ze})=>{P(K,St(ze)?(...dt)=>ze(j,dt[3]):ze)});j.expressionProperties=j.expressionProperties||{};for(const K of Object.keys(j.expressionProperties))At(j,["expressionProperties",K],({currentValue:ze})=>P(K,ze))}postPopulate(j){if(!j.parent&&!j.options.checkExpressions){let P=!1;j.options.checkExpressions=(K,ze)=>{if(P)return;P=!0;const dt=this.checkExpressions(K,ze),ke=j.options;ke._hiddenFieldsForCheck.sort(ge=>ge.hide?-1:1).forEach(ge=>this.changeHideState(ge,ge.hide,!ze)),ke._hiddenFieldsForCheck=[],dt&&(this.checkExpressions(j),j.options&&j.options.detectChanges&&j.options.detectChanges(j)),P=!1},j.options._checkField=(K,ze)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),j.options.checkExpressions(K,ze)}}}parseExpressions(j,P,K){let ze,dt;if(j.parent&&["hide","props.disabled"].includes(P)){const ke=ge=>"hide"===P?ge.hide:ge.props.disabled;ze=()=>{let ge=j.parent;for(;ge.parent&&!ke(ge);)ge=ge.parent;return ke(ge)}}return"string"==typeof(K=K||(()=>!1))&&(K=function $t(We,j){try{return Function(...j,`return ${We};`)}catch(P){console.error(P)}}(K,["model","formState","field"])),{callback:ke=>{try{const ge=function Je(We,j,P){return"function"==typeof We?We.apply(j,P):!!We}(ze?(...xe)=>ze(j)||K(...xe):K,{field:j},[j.model,j.options.formState,j,ke]);return!(!ke&&(dt===ge||ot(ge)&&!(0,g.b)(ge)&&JSON.stringify(ge)===JSON.stringify(dt))||(dt=ge,this.evalExpr(j,P,ge),0))}catch(ge){throw ge.message=`[Formly Error] [Expression "${P}"] ${ge.message}`,ge}}}}checkExpressions(j,P=!1){if(!j)return!1;let K=!1;if(j._expressions)for(const ze of Object.keys(j._expressions))j._expressions[ze].callback?.(P)&&(K=!0);return j.fieldGroup?.forEach(ze=>this.checkExpressions(ze,P)&&(K=!0)),K}changeDisabledState(j,P){j.fieldGroup&&j.fieldGroup.filter(K=>!K._expressions.hasOwnProperty("props.disabled")).forEach(K=>this.changeDisabledState(K,P)),k(j)&&j.props.disabled!==P&&(j.props.disabled=P)}changeHideState(j,P,K){if(j.fieldGroup&&j.fieldGroup.filter(ze=>!ze._expressions.hide).forEach(ze=>this.changeHideState(ze,P,K)),j.formControl&&k(j)){Wt(j,"_hide",!(!P&&!j.hide));const ze=j.formControl;ze._fields?.length>1&&xt(ze),!0!==P||ze._fields&&!ze._fields.every(dt=>!!dt._hide)?!1===P&&(j.resetOnHide&&!Se(j.defaultValue)&&Se(H(j))&&te(j,j.defaultValue),Yt(j,void 0,!0),j.resetOnHide&&j.fieldArray&&j.fieldGroup?.length!==j.model?.length&&j.options.build(j)):(Dn(j,!0),K&&j.resetOnHide&&(te(j,void 0),j.formControl.reset({value:void 0,disabled:j.formControl.disabled}),j.options.fieldChanges.next({value:void 0,field:j,type:"valueChanges"}),j.fieldGroup&&j.formControl instanceof o.Oe&&(j.fieldGroup.length=0)))}j.options.fieldChanges&&j.options.fieldChanges.next({field:j,type:"hidden",value:P})}evalExpr(j,P,K){try{let ze=j;const dt=this._evalExpressionPath(j,P),ke=dt.length-1;for(let ge=0;geze).forEach(ze=>{const dt=ze.match(/['|"](.*?)['|"]/);dt?K.push(dt[1]):K.push(...ze.split(".").filter(ke=>ke))}),j._expressions[P]&&(j._expressions[P].paths=K),K}}class pt{constructor(j){this.config=j}onPopulate(j){this.initFieldValidation(j,"validators"),this.initFieldValidation(j,"asyncValidators")}initFieldValidation(j,P){const K=[];if("validators"===P&&!(j.hasOwnProperty("fieldGroup")&&!k(j))&&K.push(this.getPredefinedFieldValidation(j)),j[P])for(const ze of Object.keys(j[P]))"validation"===ze?K.push(...j[P].validation.map(dt=>this.wrapNgValidatorFn(j,dt))):K.push(this.wrapNgValidatorFn(j,j[P][ze],ze));Wt(j,"_"+P,K)}getPredefinedFieldValidation(j){let P=[];return fe.forEach(K=>At(j,["props",K],({currentValue:ze,firstChange:dt})=>{P=P.filter(ke=>ke!==K),null!=ze&&!1!==ze&&P.push(K),!dt&&j.formControl&&xt(j.formControl)})),K=>0===P.length?null:o.kI.compose(P.map(ze=>()=>{const dt=j.props[ze];switch(ze){case"required":return o.kI.required(K);case"pattern":return o.kI.pattern(dt)(K);case"minLength":const ke=o.kI.minLength(dt)(K),ge=this.config.getValidatorMessage("minlength")||j.validation?.messages?.minlength?"minlength":"minLength";return ke?{[ge]:ke.minlength}:null;case"maxLength":const xe=o.kI.maxLength(dt)(K),ut=this.config.getValidatorMessage("maxlength")||j.validation?.messages?.maxlength?"maxlength":"maxLength";return xe?{[ut]:xe.maxlength}:null;case"min":return o.kI.min(dt)(K);case"max":return o.kI.max(dt)(K);default:return null}}))(K)}wrapNgValidatorFn(j,P,K){let ze;if("string"==typeof P&&(ze=Dt(this.config.getValidator(P))),"object"==typeof P&&P.name&&(ze=Dt(this.config.getValidator(P.name)),P.options&&(ze.options=P.options)),"object"==typeof P&&P.expression){const{expression:dt,...ke}=P;ze={name:K,validation:dt,options:Object.keys(ke).length>0?ke:null}}return"function"==typeof P&&(ze={name:K,validation:P}),dt=>{const ke=ze.validation(dt,j,ze.options);return function gt(We){return!!We&&"function"==typeof We.then}(ke)?ke.then(ge=>this.handleAsyncResult(j,K?!!ge:ge,ze)):(0,g.b)(ke)?ke.pipe((0,e.U)(ge=>this.handleAsyncResult(j,K?!!ge:ge,ze))):this.handleResult(j,K?!!ke:ke,ze)}}handleAsyncResult(j,P,K){return j.options.detectChanges(j),this.handleResult(j,P,K)}handleResult(j,P,{name:K,options:ze}){"boolean"==typeof P&&(P=P?null:{[K]:ze||!0});const dt=j.formControl;return dt?._childrenErrors?.[K]?.(),ot(P)&&Object.keys(P).forEach(ke=>{const ge=P[ke].errorPath?P[ke].errorPath:ze?.errorPath,xe=ge?j.formControl.get(ge):null;if(xe){const{errorPath:ut,...vt}=P[ke];xe.setErrors({...xe.errors||{},[ke]:vt}),!dt._childrenErrors&&Wt(dt,"_childrenErrors",{}),dt._childrenErrors[ke]=()=>{const{[ke]:qt,...Ct}=xe.errors||{};xe.setErrors(0===Object.keys(Ct).length?null:Ct)}}}),P}}class Vt{prePopulate(j){this.root||(this.root=j),j.parent&&Object.defineProperty(j,"form",{get:()=>j.parent.formControl,configurable:!0})}onPopulate(j){j.hasOwnProperty("fieldGroup")&&!k(j)?Wt(j,"formControl",j.form):this.addFormControl(j)}postPopulate(j){if(this.root===j&&(this.root=null,this.setValidators(j)&&j.parent)){let K=j.parent;for(;K;)(k(K)||!K.parent)&&xt(K.formControl,!0),K=K.parent}}addFormControl(j){let P=zn(j);if(!P){const K={updateOn:j.modelOptions.updateOn};if(j.fieldGroup)P=new o.cw({},K);else{const ze=k(j)?H(j):j.defaultValue;P=new o.NI({value:ze,disabled:!1},{...K,initialValueIsDefault:!0})}}Yt(j,P)}setValidators(j,P=!1){!1===P&&k(j)&&j.props?.disabled&&(P=!0);let K=!1;if(j.fieldGroup?.forEach(ze=>ze&&this.setValidators(ze,P)&&(K=!0)),k(j)||!j.parent||!k(j)&&!j.fieldGroup){const{formControl:ze}=j;if(ze&&(k(j)&&ze instanceof o.NI&&(P&&ze.enabled&&(ze.disable({emitEvent:!1,onlySelf:!0}),K=!0),!P&&ze.disabled&&(ze.enable({emitEvent:!1,onlySelf:!0}),K=!0)),(null===ze.validator||null===ze.asyncValidator)&&(ze.setValidators(()=>{const dt=o.kI.compose(this.mergeValidators(j,"_validators"));return dt?dt(ze):null}),ze.setAsyncValidators(()=>{const dt=o.kI.composeAsync(this.mergeValidators(j,"_asyncValidators"));return dt?dt(ze):(0,s.of)(null)}),K=!0),K)){xt(ze,!0);let dt=ze.parent;for(let ke=1;ke1?ze._fields.filter(dt=>!dt._hide).forEach(dt=>K.push(...dt[P])):j[P]&&K.push(...j[P]),j.fieldGroup&&j.fieldGroup.filter(dt=>dt?.fieldGroup&&!k(dt)).forEach(dt=>K.push(...this.mergeValidators(dt,P))),K}}class zt{constructor(j){this.config=j,this.formId=0}prePopulate(j){const P=j.parent;this.initRootOptions(j),this.initFieldProps(j),P&&(Object.defineProperty(j,"options",{get:()=>P.options,configurable:!0}),Object.defineProperty(j,"model",{get:()=>k(j)&&j.fieldGroup?H(j):P.model,configurable:!0})),Object.defineProperty(j,"get",{value:K=>_t(j,K),configurable:!0}),this.getFieldComponentInstance(j).prePopulate?.(j)}onPopulate(j){this.initFieldOptions(j),this.getFieldComponentInstance(j).onPopulate?.(j),j.fieldGroup&&j.fieldGroup.forEach((P,K)=>{P&&(Object.defineProperty(P,"parent",{get:()=>j,configurable:!0}),Object.defineProperty(P,"index",{get:()=>K,configurable:!0})),this.formId++})}postPopulate(j){this.getFieldComponentInstance(j).postPopulate?.(j)}initFieldProps(j){j.props??(j.props=j.templateOptions),Object.defineProperty(j,"templateOptions",{get:()=>j.props,set:P=>j.props=P,configurable:!0})}initRootOptions(j){if(j.parent)return;const P=j.options;j.options.formState=j.options.formState||{},P.showError||(P.showError=this.config.extras.showError),P.fieldChanges||Wt(P,"fieldChanges",new R.x),P._hiddenFieldsForCheck||(P._hiddenFieldsForCheck=[]),P._markForCheck=K=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),P.detectChanges(K)},P.detectChanges=K=>{K._componentRefs&&(K.options.checkExpressions(K),Xt(K)),K.fieldGroup?.forEach(ze=>ze&&P.detectChanges(ze))},P.resetModel=K=>{K=Dt(K??P._initialModel),j.model&&(Object.keys(j.model).forEach(ze=>delete j.model[ze]),Object.assign(j.model,K||{})),P.build(j),j.form.reset(j.model),P.parentForm&&P.parentForm.control===j.formControl&&(P.parentForm.submitted=!1)},P.updateInitialValue=K=>P._initialModel=Dt(K??j.model),j.options.updateInitialValue()}initFieldOptions(j){if(X(j,{id:Y(`formly_${this.formId}`,j,j.index),hooks:{},modelOptions:{},validation:{messages:{}},props:j.type&&k(j)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==j.resetOnHide&&(j.resetOnHide=!0),"formly-template"!==j.type&&(j.template||j.expressions?.template||j.expressionProperties?.template)&&(j.type="formly-template"),!j.type&&j.fieldGroup&&(j.type="formly-group"),j.type&&this.config.getMergedField(j),k(j)&&!Se(j.defaultValue)&&Se(H(j))){const P=ze=>ze.hide||ze.expressions?.hide||ze.hideExpression;let K=!j.resetOnHide||!P(j);if(!P(j)&&j.resetOnHide){let ze=j.parent;for(;ze&&!P(ze);)ze=ze.parent;K=!ze||!P(ze)}K&&te(j,j.defaultValue)}j.wrappers=j.wrappers||[]}getFieldComponentInstance(j){const P=()=>{let K=this.config.resolveFieldTypeRef(j);const ze=j._componentRefs?.slice(-1)[0];return ze instanceof t.UuU&&ze?.componentType===K?.componentType&&(K=ze),K?.instance};return j._proxyInstance||Wt(j,"_proxyInstance",new Proxy({},{get:(K,ze)=>P()?.[ze],set:(K,ze,dt)=>P()[ze]=dt})),j._proxyInstance}}function jt(We){return{types:[{name:"formly-group",component:Pe},{name:"formly-template",component:Ut}],extensions:[{name:"core",extension:new zt(We),priority:-250},{name:"field-validation",extension:new pt(We),priority:-200},{name:"field-form",extension:new Vt,priority:-150},{name:"field-expression",extension:new et,priority:-100}]}}let Nt=(()=>{class We{constructor(P,K=[]){K&&K.forEach(ze=>P.addConfig(ze))}static forRoot(P={}){return{ngModule:We,providers:[{provide:ct,multi:!0,useFactory:jt,deps:[Rt]},{provide:ct,useValue:P,multi:!0},Rt,sn]}}static forChild(P={}){return{ngModule:We,providers:[{provide:ct,multi:!0,useFactory:jt,deps:[Rt]},{provide:ct,useValue:P,multi:!0},sn]}}}return We.\u0275fac=function(P){return new(P||We)(t.LFG(Rt),t.LFG(ct,8))},We.\u0275mod=t.oAB({type:We}),We.\u0275inj=t.cJS({imports:[[I.ez]]}),We})()},7221:(Et,Me,a)=>{a.d(Me,{F:()=>E});var t=a(4650),o=a(6895),g=a(6212),l=a(4006),s=a(6704),L=a(3679);function R(O,F){if(1&O&&(t.ynx(0),t.TgZ(1,"nz-form-label",4),t._uU(2),t.qZA(),t.BQk()),2&O){const V=t.oxw();t.xp6(1),t.Q6J("nzRequired",V.props.required&&!0!==V.props.hideRequiredMarker)("nzFor",V.id),t.xp6(1),t.hij(" ",V.props.label," ")}}function T(O,F){if(1&O&&t._UZ(0,"formly-validation-message",5),2&O){const V=t.oxw();t.Q6J("field",V.field)}}let M=(()=>{class O extends g.n2{get errorState(){return this.showError?"error":""}}return O.\u0275fac=function(){let F;return function(S){return(F||(F=t.n5z(O)))(S||O)}}(),O.\u0275cmp=t.Xpm({type:O,selectors:[["formly-wrapper-nz-form-field"]],features:[t.qOj],decls:7,vars:3,consts:[[4,"ngIf"],[3,"nzValidateStatus","nzErrorTip"],["fieldComponent",""],["errorTpl",""],[3,"nzRequired","nzFor"],[3,"field"]],template:function(V,S){if(1&V&&(t.TgZ(0,"nz-form-item"),t.YNc(1,R,3,3,"ng-container",0),t.TgZ(2,"nz-form-control",1),t.GkF(3,null,2),t.YNc(5,T,1,1,"ng-template",null,3,t.W1O),t.qZA()()),2&V){const e=t.MAs(6);t.xp6(1),t.Q6J("ngIf",S.props.label&&!0!==S.props.hideLabel),t.xp6(1),t.Q6J("nzValidateStatus",S.errorState)("nzErrorTip",e)}},dependencies:[s.Nx,s.iK,s.Fd,g.M2,L.SK,o.O5,L.t3],encapsulation:2}),O})(),E=(()=>{class O{}return O.\u0275fac=function(V){return new(V||O)},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({imports:[[o.ez,l.UX,s.U5,g.X0.forChild({wrappers:[{name:"form-field",component:M}]})]]}),O})()},4697:(Et,Me,a)=>{a.d(Me,{u:()=>ye});var t=a(4650),o=a(7221),g=a(6895),l=a(6212),s=a(4006),L=a(5635),R=a(7096);function T(H,X){if(1&H&&t._UZ(0,"input",2),2&H){const ve=t.oxw();t.Q6J("formControl",ve.formControl)("type",ve.props.type||"text")("formlyAttributes",ve.field)}}function M(H,X){if(1&H&&t._UZ(0,"nz-input-number",3),2&H){const ve=t.oxw();t.Q6J("formControl",ve.formControl)("formlyAttributes",ve.field)}}let E=(()=>{class H extends l.fS{}return H.\u0275fac=function(){let X;return function(Se){return(X||(X=t.n5z(H)))(Se||H)}}(),H.\u0275cmp=t.Xpm({type:H,selectors:[["formly-field-nz-input"]],features:[t.qOj],decls:3,vars:2,consts:[["nz-input","",3,"formControl","type","formlyAttributes",4,"ngIf","ngIfElse"],["numberTmp",""],["nz-input","",3,"formControl","type","formlyAttributes"],[3,"formControl","formlyAttributes"]],template:function(ve,Se){if(1&ve&&(t.YNc(0,T,1,3,"input",0),t.YNc(1,M,1,2,"ng-template",null,1,t.W1O)),2&ve){const wt=t.MAs(2);t.Q6J("ngIf","number"!==Se.props.type)("ngIfElse",wt)}},dependencies:[R._V,g.O5,L.Zp,s.Fj,s.JJ,s.oH,l.JD],encapsulation:2,changeDetection:0}),H})(),O=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({imports:[[g.ez,s.UX,L.o7,R.Zf,o.F,l.X0.forChild({types:[{name:"input",component:E,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{props:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{props:{type:"number"}}}]})]]}),H})(),F=(()=>{class H extends l.fS{}return H.\u0275fac=function(){let X;return function(Se){return(X||(X=t.n5z(H)))(Se||H)}}(),H.\u0275cmp=t.Xpm({type:H,selectors:[["formly-field-nz-textarea"]],features:[t.qOj],decls:1,vars:2,consts:[["nz-input","",3,"formControl","formlyAttributes"]],template:function(ve,Se){1&ve&&t._UZ(0,"textarea",0),2&ve&&t.Q6J("formControl",Se.formControl)("formlyAttributes",Se.field)},dependencies:[L.Zp,s.Fj,s.JJ,s.oH,l.JD],encapsulation:2,changeDetection:0}),H})(),V=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({imports:[[g.ez,s.UX,L.o7,o.F,l.X0.forChild({types:[{name:"textarea",component:F,wrappers:["form-field"]}]})]]}),H})();var S=a(5951),e=a(8521);function I(H,X){if(1&H&&(t.TgZ(0,"label",2),t._uU(1),t.qZA()),2&H){const ve=X.$implicit;t.Q6J("nzValue",ve.value)("nzDisabled",ve.disabled),t.xp6(1),t.hij(" ",ve.label," ")}}let w=(()=>{class H extends l.fS{}return H.\u0275fac=function(){let X;return function(Se){return(X||(X=t.n5z(H)))(Se||H)}}(),H.\u0275cmp=t.Xpm({type:H,selectors:[["formly-field-nz-radio"]],features:[t.qOj],decls:4,vars:7,consts:[[3,"formControl","ngModelChange"],["nz-radio","",3,"nzValue","nzDisabled",4,"ngFor","ngForOf"],["nz-radio","",3,"nzValue","nzDisabled"]],template:function(ve,Se){1&ve&&(t.TgZ(0,"nz-radio-group",0),t.NdJ("ngModelChange",function(St){return Se.props.change&&Se.props.change(Se.field,St)}),t.YNc(1,I,2,3,"label",1),t.ALo(2,"async"),t.ALo(3,"formlySelectOptions"),t.qZA()),2&ve&&(t.Q6J("formControl",Se.formControl),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,2,t.xi3(3,4,Se.props.options,Se.field))))},dependencies:[e.Dg,e.Of,s.JJ,s.oH,g.sg,g.Ov,S.W],encapsulation:2,changeDetection:0}),H})(),pe=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({imports:[[g.ez,s.UX,e.aF,o.F,S.F,l.X0.forChild({types:[{name:"radio",component:w,wrappers:["form-field"]}]})]]}),H})();var ae=a(8213);let Z=(()=>{class H extends l.fS{constructor(){super(...arguments),this.defaultOptions={props:{indeterminate:!0,hideLabel:!0}}}}return H.\u0275fac=function(){let X;return function(Se){return(X||(X=t.n5z(H)))(Se||H)}}(),H.\u0275cmp=t.Xpm({type:H,selectors:[["formly-field-nz-checkbox"]],features:[t.qOj],decls:2,vars:4,consts:[["nz-checkbox","",3,"nzIndeterminate","formControl","formlyAttributes","ngModelChange"]],template:function(ve,Se){1&ve&&(t.TgZ(0,"label",0),t.NdJ("ngModelChange",function(St){return Se.props.change&&Se.props.change(Se.field,St)}),t._uU(1),t.qZA()),2&ve&&(t.Q6J("nzIndeterminate",Se.props.indeterminate&&null==Se.formControl.value)("formControl",Se.formControl)("formlyAttributes",Se.field),t.xp6(1),t.hij(" ",Se.props.label," "))},dependencies:[ae.Ie,s.JJ,s.oH,l.JD],encapsulation:2,changeDetection:0}),H})(),U=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({imports:[[g.ez,s.UX,ae.Wr,o.F,l.X0.forChild({types:[{name:"checkbox",component:Z,wrappers:["form-field"]},{name:"boolean",extends:"checkbox"}]})]]}),H})();var N=a(8231);function q(H,X){if(1&H&&t._UZ(0,"nz-option",6),2&H){const ve=X.$implicit;t.Q6J("nzValue",ve.value)("nzDisabled",ve.disabled)("nzLabel",ve.label)}}function Y(H,X){if(1&H&&(t.TgZ(0,"nz-option-group",4),t.YNc(1,q,1,3,"nz-option",5),t.qZA()),2&H){const ve=t.oxw().$implicit;t.Q6J("nzLabel",ve.label),t.xp6(1),t.Q6J("ngForOf",ve.group)}}function k(H,X){if(1&H&&t._UZ(0,"nz-option",6),2&H){const ve=t.oxw().$implicit;t.Q6J("nzValue",ve.value)("nzDisabled",ve.disabled)("nzLabel",ve.label)}}function me(H,X){if(1&H&&(t.ynx(0),t.YNc(1,Y,2,2,"nz-option-group",2),t.YNc(2,k,1,3,"nz-option",3),t.BQk()),2&H){const ve=X.$implicit;t.xp6(1),t.Q6J("ngIf",ve.group),t.xp6(1),t.Q6J("ngIf",!ve.group)}}let fe=(()=>{class H extends l.fS{}return H.\u0275fac=function(){let X;return function(Se){return(X||(X=t.n5z(H)))(Se||H)}}(),H.\u0275cmp=t.Xpm({type:H,selectors:[["formly-field-nz-select"]],features:[t.qOj],decls:4,vars:12,consts:[[3,"nzPlaceHolder","formControl","formlyAttributes","nzMode","ngModelChange"],[4,"ngFor","ngForOf"],[3,"nzLabel",4,"ngIf"],[3,"nzValue","nzDisabled","nzLabel",4,"ngIf"],[3,"nzLabel"],[3,"nzValue","nzDisabled","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzDisabled","nzLabel"]],template:function(ve,Se){1&ve&&(t.TgZ(0,"nz-select",0),t.NdJ("ngModelChange",function(St){return Se.props.change&&Se.props.change(Se.field,St)}),t.YNc(1,me,3,2,"ng-container",1),t.ALo(2,"async"),t.ALo(3,"formlySelectOptions"),t.qZA()),2&ve&&(t.ekj("ng-dirty",Se.showError),t.Q6J("nzPlaceHolder",Se.props.placeholder)("formControl",Se.formControl)("formlyAttributes",Se.field)("nzMode",Se.props.multiple?"multiple":"default"),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,7,t.xi3(3,9,Se.props.options,Se.field))))},dependencies:[N.Vq,N.Yy,N.Ip,s.JJ,s.oH,l.JD,g.sg,g.O5,g.Ov,S.W],encapsulation:2,changeDetection:0}),H})(),te=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({imports:[[g.ez,s.UX,N.LV,o.F,S.F,l.X0.forChild({types:[{name:"select",component:fe,wrappers:["form-field"]},{name:"enum",extends:"select"}]})]]}),H})(),ye=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=t.oAB({type:H}),H.\u0275inj=t.cJS({imports:[[o.F,O,V,pe,U,te]]}),H})()},3595:(Et,Me,a)=>{a.d(Me,{BV:()=>Wn,zu:()=>ro,_M:()=>Do,VG:()=>pi,mm:()=>oo,AE:()=>Fi,Ps:()=>Ei});var t=a(4650),o=(()=>{return(qe=o||(o={}))[qe.loading=1]="loading",qe[qe.setVariables=2]="setVariables",qe[qe.fetchMore=3]="fetchMore",qe[qe.refetch=4]="refetch",qe[qe.poll=6]="poll",qe[qe.ready=7]="ready",qe[qe.error=8]="error",o;var qe})();function g(qe){return!!qe&&qe<7}var l=a(655),s=a(7509),L=a(484),R=L.i.execute,M=a(1335),E=a(9722),O=a(4302),F=function(qe,se){var Fe;try{Fe=JSON.stringify(qe)}catch(Tt){var Ue=__DEV__?new s.ej("Network request failed. ".concat(se," is not serializable: ").concat(Tt.message)):new s.ej(23);throw Ue.parseError=Tt,Ue}return Fe},S=a(9545);function Y(qe){var se={next:function(){return qe.read()}};return S.DN&&(se[Symbol.asyncIterator]=function(){return this}),se}function k(qe){var se=qe;if(function e(qe){return!!qe.body}(qe)&&(se=qe.body),function w(qe){return!(!S.DN||!qe[Symbol.asyncIterator])}(se))return function U(qe){var se,Fe=qe[Symbol.asyncIterator]();return(se={next:function(){return Fe.next()}})[Symbol.asyncIterator]=function(){return this},se}(se);if(function I(qe){return!!qe.getReader}(se))return Y(se.getReader());if(function pe(qe){return!!qe.stream}(se))return Y(se.stream().getReader());if(function ae(qe){return!!qe.arrayBuffer}(se))return function q(qe){var se=!1,Fe={next:function(){return se?Promise.resolve({value:void 0,done:!0}):(se=!0,new Promise(function(Ue,Tt){qe.then(function(Ft){Ue({value:Ft,done:!1})}).catch(Tt)}))}};return S.DN&&(Fe[Symbol.asyncIterator]=function(){return this}),Fe}(se.arrayBuffer());if(function Z(qe){return!!qe.pipe}(se))return function N(qe){var se=null,Fe=null,Ue=!1,Tt=[],Ft=[];function Gt(Tn){if(!Fe){if(Ft.length){var En=Ft.shift();if(Array.isArray(En)&&En[0])return En[0]({value:Tn,done:!1})}Tt.push(Tn)}}function un(Tn){Fe=Tn,Ft.slice().forEach(function(Pn){Pn[1](Tn)}),!se||se()}function pn(){Ue=!0,Ft.slice().forEach(function(En){En[0]({value:void 0,done:!0})}),!se||se()}se=function(){se=null,qe.removeListener("data",Gt),qe.removeListener("error",un),qe.removeListener("end",pn),qe.removeListener("finish",pn),qe.removeListener("close",pn)},qe.on("data",Gt),qe.on("error",un),qe.on("end",pn),qe.on("finish",pn),qe.on("close",pn);var On={next:function(){return function fn(){return new Promise(function(Tn,En){return Fe?En(Fe):Tt.length?Tn({value:Tt.shift(),done:!1}):Ue?Tn({value:void 0,done:!0}):void Ft.push([Tn,En])})}()}};return S.DN&&(On[Symbol.asyncIterator]=function(){return this}),On}(se);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var me=function(qe,se,Fe){var Ue=new Error(Fe);throw Ue.name="ServerError",Ue.response=qe,Ue.statusCode=qe.status,Ue.result=se,Ue},fe=Object.prototype.hasOwnProperty;function ye(qe){var se={};return qe.split("\n").forEach(function(Fe){var Ue=Fe.indexOf(":");if(Ue>-1){var Tt=Fe.slice(0,Ue).trim().toLowerCase(),Ft=Fe.slice(Ue+1).trim();se[Tt]=Ft}}),se}function H(qe,se){qe.status>=300&&me(qe,function(){try{return JSON.parse(se)}catch{return se}}(),"Response not successful: Received status code ".concat(qe.status));try{return JSON.parse(se)}catch(Tt){var Ue=Tt;throw Ue.name="ServerParseError",Ue.response=qe,Ue.statusCode=qe.status,Ue.bodyText=se,Ue}}function X(qe,se){var Fe,Ue;"AbortError"!==qe.name&&(qe.result&&qe.result.errors&&qe.result.data&&(null===(Fe=se.next)||void 0===Fe||Fe.call(se,qe.result)),null===(Ue=se.error)||void 0===Ue||Ue.call(se,qe))}var St=a(2465),Dt={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Wt=function(qe,se){return se(qe)};function _t(qe,se){if(!se){var Fe=Object.create(null);return Object.keys(Object(qe)).forEach(function(Ft){Fe[Ft.toLowerCase()]=qe[Ft]}),Fe}var Ue=Object.create(null);Object.keys(Object(qe)).forEach(function(Ft){Ue[Ft.toLowerCase()]={originalName:Ft,value:qe[Ft]}});var Tt=Object.create(null);return Object.keys(Ue).forEach(function(Ft){Tt[Ue[Ft].originalName]=Ue[Ft].value}),Tt}function Rt(qe){return new O.y(function(se){se.error(qe)})}var sn=(0,s.wY)(function(){return fetch}),Dn=function(qe){void 0===qe&&(qe={});var se=qe.uri,Fe=void 0===se?"/graphql":se,Ue=qe.fetch,Tt=qe.print,Ft=void 0===Tt?Wt:Tt,Gt=qe.includeExtensions,un=qe.preserveHeaderCase,pn=qe.useGETForQueries,fn=qe.includeUnusedVariables,On=void 0!==fn&&fn,Tn=(0,l._T)(qe,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(qe){if(!qe&&typeof fetch>"u")throw __DEV__?new s.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new s.ej(22)}(Ue||sn);var En={http:{includeExtensions:Gt,preserveHeaderCase:un},options:Tn.fetchOptions,credentials:Tn.credentials,headers:Tn.headers};return new L.i(function(Pn){var Xn=function(qe,se){return qe.getContext().uri||("function"==typeof se?se(qe):se||"/graphql")}(Pn,Fe),xn=Pn.getContext(),Vn={};if(xn.clientAwareness){var Zn=xn.clientAwareness,ho=Zn.name,uo=Zn.version;ho&&(Vn["apollographql-client-name"]=ho),uo&&(Vn["apollographql-client-version"]=uo)}var ii,fo=(0,l.pi)((0,l.pi)({},Vn),xn.headers),$o=function At(qe,se){for(var Fe=[],Ue=2;Ue"u")return{controller:!1,signal:!1};var qe=new AbortController;return{controller:qe,signal:qe.signal}}();(ii=oi.controller)&&(bo.signal=oi.signal)}if(pn&&!Pn.query.definitions.some(function(ri){return"OperationDefinition"===ri.kind&&"mutation"===ri.operation})&&(bo.method="GET"),(0,E.FS)(["defer"],Pn.query)&&(bo.headers.accept="multipart/mixed; deferSpec=20220824, application/json"),"GET"===bo.method){var Si=function ct(qe,se){var Fe=[],Ue=function(Tn,En){Fe.push("".concat(Tn,"=").concat(encodeURIComponent(En)))};if("query"in se&&Ue("query",se.query),se.operationName&&Ue("operationName",se.operationName),se.variables){var Tt=void 0;try{Tt=F(se.variables,"Variables map")}catch(Tn){return{parseError:Tn}}Ue("variables",Tt)}if(se.extensions){var Ft=void 0;try{Ft=F(se.extensions,"Extensions map")}catch(Tn){return{parseError:Tn}}Ue("extensions",Ft)}var Gt="",un=qe,pn=qe.indexOf("#");-1!==pn&&(Gt=qe.substr(pn),un=qe.substr(0,pn));var fn=-1===un.indexOf("?")?"?":"&";return{newURI:un+fn+Fe.join("&")+Gt}}(Xn,_o),Ni=Si.newURI,Oo=Si.parseError;if(Oo)return Rt(Oo);Xn=Ni}else try{bo.body=F(_o,"Payload")}catch(ri){return Rt(ri)}return new O.y(function(ri){return(Ue||(0,s.wY)(function(){return fetch})||sn)(Xn,bo).then(function(si){var qi;Pn.setContext({response:si});var gr=null===(qi=si.headers)||void 0===qi?void 0:qi.get("content-type");return null!==gr&&/^multipart\/mixed/i.test(gr)?function te(qe,se){var Fe,Ue,Tt;return(0,l.mG)(this,void 0,void 0,function(){var Ft,Gt,un,pn,fn,On,Tn,En,Pn,Xn,xn,Vn,Zn,ho,uo,fo,Zo,$o,bo,_o;return(0,l.Jh)(this,function(Bo){switch(Bo.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");Ft=new TextDecoder("utf-8"),Gt=null===(Fe=qe.headers)||void 0===Fe?void 0:Fe.get("content-type"),pn=Gt?.includes(un="boundary=")?Gt?.substring(Gt?.indexOf(un)+un.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",fn="--".concat(pn),On="",Tn=k(qe),En=!0,Bo.label=1;case 1:return En?[4,Tn.next()]:[3,3];case 2:for(Pn=Bo.sent(),xn=Pn.done,Vn="string"==typeof(Xn=Pn.value)?Xn:Ft.decode(Xn),En=!xn,Zn=(On+=Vn).indexOf(fn);Zn>-1;){if(ho=void 0,_o=[On.slice(0,Zn),On.slice(Zn+fn.length)],On=_o[1],(ho=_o[0]).trim()){if(uo=ho.indexOf("\r\n\r\n"),fo=ye(ho.slice(0,uo)),(Zo=fo["content-type"])&&-1===Zo.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");$o=ho.slice(uo);try{bo=H(qe,$o.replace("\r\n","")),(Object.keys(bo).length>1||"data"in bo||"incremental"in bo||"errors"in bo)&&(null===(Ue=se.next)||void 0===Ue||Ue.call(se,bo))}catch(ii){X(ii,se)}}Zn=On.indexOf(fn)}return[3,1];case 3:return null===(Tt=se.complete)||void 0===Tt||Tt.call(se),[2]}})})}(si,ri):function ve(qe,se,Fe){(function Se(qe){return function(se){return se.text().then(function(Fe){return H(se,Fe)}).then(function(Fe){return se.status>=300&&me(se,Fe,"Response not successful: Received status code ".concat(se.status)),!Array.isArray(Fe)&&!fe.call(Fe,"data")&&!fe.call(Fe,"errors")&&me(se,Fe,"Server response was missing for query '".concat(Array.isArray(qe)?qe.map(function(Ue){return Ue.operationName}):qe.operationName,"'.")),Fe})}})(se)(qe).then(function(Ue){var Tt,Ft;null===(Tt=Fe.next)||void 0===Tt||Tt.call(Fe,Ue),null===(Ft=Fe.complete)||void 0===Ft||Ft.call(Fe)}).catch(function(Ue){return X(Ue,Fe)})}(si,Pn,ri)}).catch(function(si){return X(si,ri)}),function(){ii&&ii.abort()}})})},zn=function(qe){function se(Fe){void 0===Fe&&(Fe={});var Ue=qe.call(this,Dn(Fe).request)||this;return Ue.options=Fe,Ue}return(0,l.ZT)(se,qe),se}(L.i),Yt=a(7883),xt=a(3445),Ye=a(7773);function $e(qe){return"incremental"in qe}function oe(qe,se){var Fe=qe,Ue=new Ye.w0;return $e(se)&&(0,xt.O)(se.incremental)&&se.incremental.forEach(function(Tt){for(var Ft=Tt.data,Gt=Tt.path,un=Gt.length-1;un>=0;--un){var pn=Gt[un],On=isNaN(+pn)?{}:[];On[pn]=Ft,Ft=On}Fe=Ue.merge(Fe,Ft)}),Fe}var J=a(3750);function Te(qe,se,Fe){return new O.y(function(Ue){var Tt=Ue.next,Ft=Ue.error,Gt=Ue.complete,un=0,pn=!1,fn={then:function(Pn){return new Promise(function(Xn){return Xn(Pn())})}};function On(Pn,Xn){return Pn?function(xn){++un;var Vn=function(){return Pn(xn)};fn=fn.then(Vn,Vn).then(function(Zn){--un,Tt&&Tt.call(Ue,Zn),pn&&Tn.complete()},function(Zn){throw--un,Zn}).catch(function(Zn){Ft&&Ft.call(Ue,Zn)})}:function(xn){return Xn&&Xn.call(Ue,xn)}}var Tn={next:On(se,Tt),error:On(Fe,Ft),complete:function(){pn=!0,un||Gt&&Gt.call(Ue)}},En=qe.subscribe(Tn);return function(){return En.unsubscribe()}})}function Pe(qe){var se=Ge(qe);return(0,xt.O)(se)}function Ge(qe){var se=(0,xt.O)(qe.errors)?qe.errors.slice(0):[];return $e(qe)&&(0,xt.O)(qe.incremental)&&qe.incremental.forEach(function(Fe){Fe.errors&&se.push.apply(se,Fe.errors)}),se}var it=a(591),yt=a(3291),Ut=a(7634),$t=a(7062),Je=a(8561);function et(qe,se,Fe){var Ue=[];qe.forEach(function(Tt){return Tt[se]&&Ue.push(Tt)}),Ue.forEach(function(Tt){return Tt[se](Fe)})}function pt(qe){function se(Fe){Object.defineProperty(qe,Fe,{value:O.y})}return S.aS&&Symbol.species&&se(Symbol.species),se("@@species"),qe}function Vt(qe){return qe&&"function"==typeof qe.then}var zt=function(qe){function se(Fe){var Ue=qe.call(this,function(Tt){return Ue.addObserver(Tt),function(){return Ue.removeObserver(Tt)}})||this;return Ue.observers=new Set,Ue.promise=new Promise(function(Tt,Ft){Ue.resolve=Tt,Ue.reject=Ft}),Ue.handlers={next:function(Tt){null!==Ue.sub&&(Ue.latest=["next",Tt],Ue.notify("next",Tt),et(Ue.observers,"next",Tt))},error:function(Tt){var Ft=Ue.sub;null!==Ft&&(Ft&&setTimeout(function(){return Ft.unsubscribe()}),Ue.sub=null,Ue.latest=["error",Tt],Ue.reject(Tt),Ue.notify("error",Tt),et(Ue.observers,"error",Tt))},complete:function(){var Tt=Ue.sub;if(null!==Tt){var Ft=Ue.sources.shift();Ft?Vt(Ft)?Ft.then(function(Gt){return Ue.sub=Gt.subscribe(Ue.handlers)}):Ue.sub=Ft.subscribe(Ue.handlers):(Tt&&setTimeout(function(){return Tt.unsubscribe()}),Ue.sub=null,Ue.latest&&"next"===Ue.latest[0]?Ue.resolve(Ue.latest[1]):Ue.resolve(),Ue.notify("complete"),et(Ue.observers,"complete"))}}},Ue.nextResultListeners=new Set,Ue.cancel=function(Tt){Ue.reject(Tt),Ue.sources=[],Ue.handlers.complete()},Ue.promise.catch(function(Tt){}),"function"==typeof Fe&&(Fe=[new O.y(Fe)]),Vt(Fe)?Fe.then(function(Tt){return Ue.start(Tt)},Ue.handlers.error):Ue.start(Fe),Ue}return(0,l.ZT)(se,qe),se.prototype.start=function(Fe){void 0===this.sub&&(this.sources=Array.from(Fe),this.handlers.complete())},se.prototype.deliverLastMessage=function(Fe){if(this.latest){var Ue=this.latest[0],Tt=Fe[Ue];Tt&&Tt.call(Fe,this.latest[1]),null===this.sub&&"next"===Ue&&Fe.complete&&Fe.complete()}},se.prototype.addObserver=function(Fe){this.observers.has(Fe)||(this.deliverLastMessage(Fe),this.observers.add(Fe))},se.prototype.removeObserver=function(Fe){this.observers.delete(Fe)&&this.observers.size<1&&this.handlers.complete()},se.prototype.notify=function(Fe,Ue){var Tt=this.nextResultListeners;Tt.size&&(this.nextResultListeners=new Set,Tt.forEach(function(Ft){return Ft(Fe,Ue)}))},se.prototype.beforeNext=function(Fe){var Ue=!1;this.nextResultListeners.add(function(Tt,Ft){Ue||(Ue=!0,Fe(Tt,Ft))})},se}(O.y);pt(zt);var We=function(qe){function se(Fe){var Ue=Fe.graphQLErrors,Tt=Fe.clientErrors,Ft=Fe.networkError,Gt=Fe.errorMessage,un=Fe.extraInfo,pn=qe.call(this,Gt)||this;return pn.name="ApolloError",pn.graphQLErrors=Ue||[],pn.clientErrors=Tt||[],pn.networkError=Ft||null,pn.message=Gt||function(qe){var se="";return((0,xt.O)(qe.graphQLErrors)||(0,xt.O)(qe.clientErrors))&&(qe.graphQLErrors||[]).concat(qe.clientErrors||[]).forEach(function(Ue){se+="".concat(Ue?Ue.message:"Error message not found.","\n")}),qe.networkError&&(se+="".concat(qe.networkError.message,"\n")),se=se.replace(/\n$/,"")}(pn),pn.extraInfo=un,pn.__proto__=se.prototype,pn}return(0,l.ZT)(se,qe),se}(Error),j=a(396),P=a(3950),K=Object.assign,ze=Object.hasOwnProperty,dt=function(qe){function se(Fe){var Ue=Fe.queryManager,Tt=Fe.queryInfo,Ft=Fe.options,Gt=qe.call(this,function(Vn){try{var Zn=Vn._subscription._observer;Zn&&!Zn.error&&(Zn.error=ge)}catch{}var ho=!Gt.observers.size;Gt.observers.add(Vn);var uo=Gt.last;return uo&&uo.error?Vn.error&&Vn.error(uo.error):uo&&uo.result&&Vn.next&&Vn.next(uo.result),ho&&Gt.reobserve().catch(function(){}),function(){Gt.observers.delete(Vn)&&!Gt.observers.size&&Gt.tearDownQuery()}})||this;Gt.observers=new Set,Gt.subscriptions=new Set,Gt.queryInfo=Tt,Gt.queryManager=Ue,Gt.isTornDown=!1;var un=Ue.defaultOptions.watchQuery,fn=(void 0===un?{}:un).fetchPolicy,On=void 0===fn?"cache-first":fn,Tn=Ft.fetchPolicy,En=void 0===Tn?On:Tn,Pn=Ft.initialFetchPolicy,Xn=void 0===Pn?"standby"===En?On:En:Pn;Gt.options=(0,l.pi)((0,l.pi)({},Ft),{initialFetchPolicy:Xn,fetchPolicy:En}),Gt.queryId=Tt.queryId||Ue.generateQueryId();var xn=(0,it.$H)(Gt.query);return Gt.queryName=xn&&xn.name&&xn.name.value,Gt}return(0,l.ZT)(se,qe),Object.defineProperty(se.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),se.prototype.result=function(){var Fe=this;return new Promise(function(Ue,Tt){var Ft={next:function(un){Ue(un),Fe.observers.delete(Ft),Fe.observers.size||Fe.queryManager.removeQuery(Fe.queryId),setTimeout(function(){Gt.unsubscribe()},0)},error:Tt},Gt=Fe.subscribe(Ft)})},se.prototype.getCurrentResult=function(Fe){void 0===Fe&&(Fe=!0);var Ue=this.getLastResult(!0),Tt=this.queryInfo.networkStatus||Ue&&Ue.networkStatus||o.ready,Ft=(0,l.pi)((0,l.pi)({},Ue),{loading:g(Tt),networkStatus:Tt}),Gt=this.options.fetchPolicy,un=void 0===Gt?"cache-first":Gt;if("network-only"!==un&&"no-cache"!==un&&"standby"!==un&&!this.queryManager.transform(this.options.query).hasForcedResolvers){var pn=this.queryInfo.getDiff();(pn.complete||this.options.returnPartialData)&&(Ft.data=pn.result),(0,Yt.D)(Ft.data,{})&&(Ft.data=void 0),pn.complete?(delete Ft.partial,pn.complete&&Ft.networkStatus===o.loading&&("cache-first"===un||"cache-only"===un)&&(Ft.networkStatus=o.ready,Ft.loading=!1)):Ft.partial=!0,__DEV__&&!pn.complete&&!this.options.partialRefetch&&!Ft.loading&&!Ft.data&&!Ft.error&&xe(pn.missing)}return Fe&&this.updateLastResult(Ft),Ft},se.prototype.isDifferentFromLastResult=function(Fe,Ue){return!this.last||!(0,Yt.D)(this.last.result,Fe)||Ue&&!(0,Yt.D)(this.last.variables,Ue)},se.prototype.getLast=function(Fe,Ue){var Tt=this.last;if(Tt&&Tt[Fe]&&(!Ue||(0,Yt.D)(Tt.variables,this.variables)))return Tt[Fe]},se.prototype.getLastResult=function(Fe){return this.getLast("result",Fe)},se.prototype.getLastError=function(Fe){return this.getLast("error",Fe)},se.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},se.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},se.prototype.refetch=function(Fe){var Ue,Tt={pollInterval:0},Ft=this.options.fetchPolicy;if(Tt.fetchPolicy="cache-and-network"===Ft?Ft:"no-cache"===Ft?"no-cache":"network-only",__DEV__&&Fe&&ze.call(Fe,"variables")){var Gt=(0,it.iW)(this.query),un=Gt.variableDefinitions;(!un||!un.some(function(pn){return"variables"===pn.variable.name.value}))&&__DEV__&&s.kG.warn("Called refetch(".concat(JSON.stringify(Fe),") for query ").concat((null===(Ue=Gt.name)||void 0===Ue?void 0:Ue.value)||JSON.stringify(Gt),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return Fe&&!(0,Yt.D)(this.options.variables,Fe)&&(Tt.variables=this.options.variables=(0,l.pi)((0,l.pi)({},this.options.variables),Fe)),this.queryInfo.resetLastWrite(),this.reobserve(Tt,o.refetch)},se.prototype.fetchMore=function(Fe){var Ue=this,Tt=(0,l.pi)((0,l.pi)({},Fe.query?Fe:(0,l.pi)((0,l.pi)((0,l.pi)((0,l.pi)({},this.options),{query:this.query}),Fe),{variables:(0,l.pi)((0,l.pi)({},this.options.variables),Fe.variables)})),{fetchPolicy:"no-cache"}),Ft=this.queryManager.generateQueryId(),Gt=this.queryInfo,un=Gt.networkStatus;Gt.networkStatus=o.fetchMore,Tt.notifyOnNetworkStatusChange&&this.observe();var pn=new Set;return this.queryManager.fetchQuery(Ft,Tt,o.fetchMore).then(function(fn){return Ue.queryManager.removeQuery(Ft),Gt.networkStatus===o.fetchMore&&(Gt.networkStatus=un),Ue.queryManager.cache.batch({update:function(On){var Tn=Fe.updateQuery;Tn?On.updateQuery({query:Ue.query,variables:Ue.variables,returnPartialData:!0,optimistic:!1},function(En){return Tn(En,{fetchMoreResult:fn.data,variables:Tt.variables})}):On.writeQuery({query:Tt.query,variables:Tt.variables,data:fn.data})},onWatchUpdated:function(On){pn.add(On.query)}}),fn}).finally(function(){pn.has(Ue.query)||ke(Ue)})},se.prototype.subscribeToMore=function(Fe){var Ue=this,Tt=this.queryManager.startGraphQLSubscription({query:Fe.document,variables:Fe.variables,context:Fe.context}).subscribe({next:function(Ft){var Gt=Fe.updateQuery;Gt&&Ue.updateQuery(function(un,pn){return Gt(un,{subscriptionData:Ft,variables:pn.variables})})},error:function(Ft){Fe.onError?Fe.onError(Ft):__DEV__&&s.kG.error("Unhandled GraphQL subscription error",Ft)}});return this.subscriptions.add(Tt),function(){Ue.subscriptions.delete(Tt)&&Tt.unsubscribe()}},se.prototype.setOptions=function(Fe){return this.reobserve(Fe)},se.prototype.setVariables=function(Fe){return(0,Yt.D)(this.variables,Fe)?this.observers.size?this.result():Promise.resolve():(this.options.variables=Fe,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:Fe},o.setVariables):Promise.resolve())},se.prototype.updateQuery=function(Fe){var Ue=this.queryManager,Ft=Fe(Ue.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});Ft&&(Ue.cache.writeQuery({query:this.options.query,data:Ft,variables:this.variables}),Ue.broadcastQueries())},se.prototype.startPolling=function(Fe){this.options.pollInterval=Fe,this.updatePolling()},se.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},se.prototype.applyNextFetchPolicy=function(Fe,Ue){if(Ue.nextFetchPolicy){var Tt=Ue.fetchPolicy,Ft=void 0===Tt?"cache-first":Tt,Gt=Ue.initialFetchPolicy,un=void 0===Gt?Ft:Gt;"standby"===Ft||(Ue.fetchPolicy="function"==typeof Ue.nextFetchPolicy?Ue.nextFetchPolicy(Ft,{reason:Fe,options:Ue,observable:this,initialFetchPolicy:un}):"variables-changed"===Fe?un:Ue.nextFetchPolicy)}return Ue.fetchPolicy},se.prototype.fetch=function(Fe,Ue){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,Fe,Ue)},se.prototype.updatePolling=function(){var Fe=this;if(!this.queryManager.ssrMode){var Tt=this.pollingInfo,Ft=this.options.pollInterval;if(!Ft)return void(Tt&&(clearTimeout(Tt.timeout),delete this.pollingInfo));if(!Tt||Tt.interval!==Ft){__DEV__?(0,s.kG)(Ft,"Attempted to start a polling query without a polling interval."):(0,s.kG)(Ft,12),(Tt||(this.pollingInfo={})).interval=Ft;var un=function(){Fe.pollingInfo&&(g(Fe.queryInfo.networkStatus)?pn():Fe.reobserve({fetchPolicy:"no-cache"===Fe.options.initialFetchPolicy?"no-cache":"network-only"},o.poll).then(pn,pn))},pn=function(){var fn=Fe.pollingInfo;fn&&(clearTimeout(fn.timeout),fn.timeout=setTimeout(un,fn.interval))};pn()}}},se.prototype.updateLastResult=function(Fe,Ue){return void 0===Ue&&(Ue=this.variables),this.last=(0,l.pi)((0,l.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?Fe:(0,j.X)(Fe),variables:Ue}),(0,xt.O)(Fe.errors)||delete this.last.error,this.last},se.prototype.reobserve=function(Fe,Ue){var Tt=this;this.isTornDown=!1;var Ft=Ue===o.refetch||Ue===o.fetchMore||Ue===o.poll,Gt=this.options.variables,un=this.options.fetchPolicy,pn=(0,P.o)(this.options,Fe||{}),fn=Ft?pn:K(this.options,pn);Ft||(this.updatePolling(),Fe&&Fe.variables&&!(0,Yt.D)(Fe.variables,Gt)&&"standby"!==fn.fetchPolicy&&fn.fetchPolicy===un&&(this.applyNextFetchPolicy("variables-changed",fn),void 0===Ue&&(Ue=o.setVariables)));var On=fn.variables&&(0,l.pi)({},fn.variables),Tn=this.fetch(fn,Ue),En={next:function(Pn){Tt.reportResult(Pn,On)},error:function(Pn){Tt.reportError(Pn,On)}};return Ft||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=Tn,this.observer=En),Tn.addObserver(En),Tn.promise},se.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},se.prototype.reportResult=function(Fe,Ue){var Tt=this.getLastError();(Tt||this.isDifferentFromLastResult(Fe,Ue))&&((Tt||!Fe.partial||this.options.returnPartialData)&&this.updateLastResult(Fe,Ue),et(this.observers,"next",Fe))},se.prototype.reportError=function(Fe,Ue){var Tt=(0,l.pi)((0,l.pi)({},this.getLastResult()),{error:Fe,errors:Fe.graphQLErrors,networkStatus:o.error,loading:!1});this.updateLastResult(Tt,Ue),et(this.observers,"error",this.last.error=Fe)},se.prototype.hasObservers=function(){return this.observers.size>0},se.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(Fe){return Fe.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},se}(O.y);function ke(qe){var se=qe.options,Fe=se.fetchPolicy,Ue=se.nextFetchPolicy;return"cache-and-network"===Fe||"network-only"===Fe?qe.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=Ue,"function"==typeof Ue?Ue.apply(this,arguments):Fe}}):qe.reobserve()}function ge(qe){__DEV__&&s.kG.error("Unhandled error",qe.message,qe.stack)}function xe(qe){__DEV__&&qe&&__DEV__&&s.kG.debug("Missing cache result fields: ".concat(JSON.stringify(qe)),qe)}pt(dt);var ut=a(9661),vt=a(6430),qt=function(){function qe(se){var Ue=se.client,Tt=se.resolvers,Ft=se.fragmentMatcher;this.cache=se.cache,Ue&&(this.client=Ue),Tt&&this.addResolvers(Tt),Ft&&this.setFragmentMatcher(Ft)}return qe.prototype.addResolvers=function(se){var Fe=this;this.resolvers=this.resolvers||{},Array.isArray(se)?se.forEach(function(Ue){Fe.resolvers=(0,Ye.Ee)(Fe.resolvers,Ue)}):this.resolvers=(0,Ye.Ee)(this.resolvers,se)},qe.prototype.setResolvers=function(se){this.resolvers={},this.addResolvers(se)},qe.prototype.getResolvers=function(){return this.resolvers||{}},qe.prototype.runResolvers=function(se){var Fe=se.document,Ue=se.remoteResult,Tt=se.context,Ft=se.variables,Gt=se.onlyRunForcedResolvers,un=void 0!==Gt&≫return(0,l.mG)(this,void 0,void 0,function(){return(0,l.Jh)(this,function(pn){return Fe?[2,this.resolveDocument(Fe,Ue.data,Tt,Ft,this.fragmentMatcher,un).then(function(fn){return(0,l.pi)((0,l.pi)({},Ue),{data:fn.result})})]:[2,Ue]})})},qe.prototype.setFragmentMatcher=function(se){this.fragmentMatcher=se},qe.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},qe.prototype.clientQuery=function(se){return(0,E.FS)(["client"],se)&&this.resolvers?se:null},qe.prototype.serverQuery=function(se){return(0,yt.ob)(se)},qe.prototype.prepareContext=function(se){var Fe=this.cache;return(0,l.pi)((0,l.pi)({},se),{cache:Fe,getCacheKey:function(Ue){return Fe.identify(Ue)}})},qe.prototype.addExportedVariables=function(se,Fe,Ue){return void 0===Fe&&(Fe={}),void 0===Ue&&(Ue={}),(0,l.mG)(this,void 0,void 0,function(){return(0,l.Jh)(this,function(Tt){return se?[2,this.resolveDocument(se,this.buildRootValueFromCache(se,Fe)||{},this.prepareContext(Ue),Fe).then(function(Ft){return(0,l.pi)((0,l.pi)({},Fe),Ft.exportedVariables)})]:[2,(0,l.pi)({},Fe)]})})},qe.prototype.shouldForceResolvers=function(se){var Fe=!1;return(0,M.Vn)(se,{Directive:{enter:function(Ue){if("client"===Ue.name.value&&Ue.arguments&&(Fe=Ue.arguments.some(function(Tt){return"always"===Tt.name.value&&"BooleanValue"===Tt.value.kind&&!0===Tt.value.value})))return M.$_}}}),Fe},qe.prototype.buildRootValueFromCache=function(se,Fe){return this.cache.diff({query:(0,yt.aL)(se),variables:Fe,returnPartialData:!0,optimistic:!1}).result},qe.prototype.resolveDocument=function(se,Fe,Ue,Tt,Ft,Gt){return void 0===Ue&&(Ue={}),void 0===Tt&&(Tt={}),void 0===Ft&&(Ft=function(){return!0}),void 0===Gt&&(Gt=!1),(0,l.mG)(this,void 0,void 0,function(){var un,pn,fn,On,Tn,En,Pn,Xn,xn;return(0,l.Jh)(this,function(Vn){return un=(0,it.p$)(se),pn=(0,it.kU)(se),fn=(0,ut.F)(pn),Tn=(On=un.operation)?On.charAt(0).toUpperCase()+On.slice(1):"Query",Pn=(En=this).cache,Xn=En.client,xn={fragmentMap:fn,context:(0,l.pi)((0,l.pi)({},Ue),{cache:Pn,client:Xn}),variables:Tt,fragmentMatcher:Ft,defaultOperationType:Tn,exportedVariables:{},onlyRunForcedResolvers:Gt},[2,this.resolveSelectionSet(un.selectionSet,Fe,xn).then(function(Zn){return{result:Zn,exportedVariables:xn.exportedVariables}})]})})},qe.prototype.resolveSelectionSet=function(se,Fe,Ue){return(0,l.mG)(this,void 0,void 0,function(){var Tt,Ft,Gt,un,fn=this;return(0,l.Jh)(this,function(On){return Tt=Ue.fragmentMap,Ft=Ue.context,Gt=Ue.variables,un=[Fe],[2,Promise.all(se.selections.map(function(Tn){return(0,l.mG)(fn,void 0,void 0,function(){var En;return(0,l.Jh)(this,function(Xn){return(0,E.LZ)(Tn,Gt)?(0,Ut.My)(Tn)?[2,this.resolveField(Tn,Fe,Ue).then(function(xn){var Vn;typeof xn<"u"&&un.push(((Vn={})[(0,Ut.u2)(Tn)]=xn,Vn))})]:((0,Ut.Ao)(Tn)?En=Tn:(En=Tt[Tn.name.value],__DEV__?(0,s.kG)(En,"No fragment named ".concat(Tn.name.value)):(0,s.kG)(En,11)),En&&En.typeCondition&&Ue.fragmentMatcher(Fe,En.typeCondition.name.value,Ft)?[2,this.resolveSelectionSet(En.selectionSet,Fe,Ue).then(function(xn){un.push(xn)})]:[2]):[2]})})})).then(function(){return(0,Ye.bw)(un)})]})})},qe.prototype.resolveField=function(se,Fe,Ue){return(0,l.mG)(this,void 0,void 0,function(){var Tt,Ft,Gt,un,pn,fn,On,Tn,En,Pn=this;return(0,l.Jh)(this,function(Xn){return Tt=Ue.variables,Ft=se.name.value,Gt=(0,Ut.u2)(se),un=Ft!==Gt,pn=Fe[Gt]||Fe[Ft],fn=Promise.resolve(pn),(!Ue.onlyRunForcedResolvers||this.shouldForceResolvers(se))&&(On=Fe.__typename||Ue.defaultOperationType,(Tn=this.resolvers&&this.resolvers[On])&&(En=Tn[un?Ft:Gt])&&(fn=Promise.resolve(vt.ab.withValue(this.cache,En,[Fe,(0,Ut.NC)(se,Tt),Ue.context,{field:se,fragmentMap:Ue.fragmentMap}])))),[2,fn.then(function(xn){return void 0===xn&&(xn=pn),se.directives&&se.directives.forEach(function(Vn){"export"===Vn.name.value&&Vn.arguments&&Vn.arguments.forEach(function(Zn){"as"===Zn.name.value&&"StringValue"===Zn.value.kind&&(Ue.exportedVariables[Zn.value.value]=xn)})}),se.selectionSet&&null!=xn?Array.isArray(xn)?Pn.resolveSubSelectedArray(se,xn,Ue):se.selectionSet?Pn.resolveSelectionSet(se.selectionSet,xn,Ue):void 0:xn})]})})},qe.prototype.resolveSubSelectedArray=function(se,Fe,Ue){var Tt=this;return Promise.all(Fe.map(function(Ft){return null===Ft?null:Array.isArray(Ft)?Tt.resolveSubSelectedArray(se,Ft,Ue):se.selectionSet?Tt.resolveSelectionSet(se.selectionSet,Ft,Ue):void 0}))},qe}(),Ct=new(S.mr?WeakMap:Map);function tn(qe,se){var Fe=qe[se];"function"==typeof Fe&&(qe[se]=function(){return Ct.set(qe,(Ct.get(qe)+1)%1e15),Fe.apply(this,arguments)})}function je(qe){qe.notifyTimeout&&(clearTimeout(qe.notifyTimeout),qe.notifyTimeout=void 0)}var Qe=function(){function qe(se,Fe){void 0===Fe&&(Fe=se.generateQueryId()),this.queryId=Fe,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var Ue=this.cache=se.cache;Ct.has(Ue)||(Ct.set(Ue,0),tn(Ue,"evict"),tn(Ue,"modify"),tn(Ue,"reset"))}return qe.prototype.init=function(se){var Fe=se.networkStatus||o.loading;return this.variables&&this.networkStatus!==o.loading&&!(0,Yt.D)(this.variables,se.variables)&&(Fe=o.setVariables),(0,Yt.D)(se.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:se.document,variables:se.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:Fe}),se.observableQuery&&this.setObservableQuery(se.observableQuery),se.lastRequestId&&(this.lastRequestId=se.lastRequestId),this},qe.prototype.reset=function(){je(this),this.dirty=!1},qe.prototype.getDiff=function(se){void 0===se&&(se=this.variables);var Fe=this.getDiffOptions(se);if(this.lastDiff&&(0,Yt.D)(Fe,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=se);var Ue=this.observableQuery;if(Ue&&"no-cache"===Ue.options.fetchPolicy)return{complete:!1};var Tt=this.cache.diff(Fe);return this.updateLastDiff(Tt,Fe),Tt},qe.prototype.updateLastDiff=function(se,Fe){this.lastDiff=se?{diff:se,options:Fe||this.getDiffOptions()}:void 0},qe.prototype.getDiffOptions=function(se){var Fe;return void 0===se&&(se=this.variables),{query:this.document,variables:se,returnPartialData:!0,optimistic:!0,canonizeResults:null===(Fe=this.observableQuery)||void 0===Fe?void 0:Fe.options.canonizeResults}},qe.prototype.setDiff=function(se){var Fe=this,Ue=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(se),!this.dirty&&!(0,Yt.D)(Ue&&Ue.result,se&&se.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return Fe.notify()},0)))},qe.prototype.setObservableQuery=function(se){var Fe=this;se!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=se,se?(se.queryInfo=this,this.listeners.add(this.oqListener=function(){Fe.getDiff().fromOptimisticTransaction?se.observe():ke(se)})):delete this.oqListener)},qe.prototype.notify=function(){var se=this;je(this),this.shouldNotify()&&this.listeners.forEach(function(Fe){return Fe(se)}),this.dirty=!1},qe.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(g(this.networkStatus)&&this.observableQuery){var se=this.observableQuery.options.fetchPolicy;if("cache-only"!==se&&"cache-and-network"!==se)return!1}return!0},qe.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=qe.prototype.cancel,this.subscriptions.forEach(function(Fe){return Fe.unsubscribe()});var se=this.observableQuery;se&&se.stopPolling()}},qe.prototype.cancel=function(){},qe.prototype.updateWatch=function(se){var Fe=this;void 0===se&&(se=this.variables);var Ue=this.observableQuery;if(!Ue||"no-cache"!==Ue.options.fetchPolicy){var Tt=(0,l.pi)((0,l.pi)({},this.getDiffOptions(se)),{watcher:this,callback:function(Ft){return Fe.setDiff(Ft)}});(!this.lastWatch||!(0,Yt.D)(Tt,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=Tt))}},qe.prototype.resetLastWrite=function(){this.lastWrite=void 0},qe.prototype.shouldWrite=function(se,Fe){var Ue=this.lastWrite;return!(Ue&&Ue.dmCount===Ct.get(this.cache)&&(0,Yt.D)(Fe,Ue.variables)&&(0,Yt.D)(se.data,Ue.result.data))},qe.prototype.markResult=function(se,Fe,Ue,Tt){var Ft=this,Gt=new Ye.w0,un=(0,xt.O)(se.errors)?se.errors.slice(0):[];if(this.reset(),"incremental"in se&&(0,xt.O)(se.incremental)){var pn=oe(this.getDiff().result,se);se.data=pn}else if("hasNext"in se&&se.hasNext){var fn=this.getDiff();se.data=Gt.merge(fn.result,se.data)}this.graphQLErrors=un,"no-cache"===Ue.fetchPolicy?this.updateLastDiff({result:se.data,complete:!0},this.getDiffOptions(Ue.variables)):0!==Tt&&(ft(se,Ue.errorPolicy)?this.cache.performTransaction(function(On){if(Ft.shouldWrite(se,Ue.variables))On.writeQuery({query:Fe,data:se.data,variables:Ue.variables,overwrite:1===Tt}),Ft.lastWrite={result:se,variables:Ue.variables,dmCount:Ct.get(Ft.cache)};else if(Ft.lastDiff&&Ft.lastDiff.diff.complete)return void(se.data=Ft.lastDiff.diff.result);var Tn=Ft.getDiffOptions(Ue.variables),En=On.diff(Tn);Ft.stopped||Ft.updateWatch(Ue.variables),Ft.updateLastDiff(En,Tn),En.complete&&(se.data=En.result)}):this.lastWrite=void 0)},qe.prototype.markReady=function(){return this.networkError=null,this.networkStatus=o.ready},qe.prototype.markError=function(se){return this.networkStatus=o.error,this.lastWrite=void 0,this.reset(),se.graphQLErrors&&(this.graphQLErrors=se.graphQLErrors),se.networkError&&(this.networkError=se.networkError),se},qe}();function ft(qe,se){void 0===se&&(se="none");var Fe="ignore"===se||"all"===se,Ue=!Pe(qe);return!Ue&&Fe&&qe.data&&(Ue=!0),Ue}var Re=Object.prototype.hasOwnProperty,He=function(){function qe(se){var Fe=se.cache,Ue=se.link,Tt=se.defaultOptions,Ft=se.queryDeduplication,Gt=void 0!==Ft&&Ft,un=se.onBroadcast,pn=se.ssrMode,fn=void 0!==pn&&pn,On=se.clientAwareness,Tn=void 0===On?{}:On,En=se.localState,Pn=se.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(S.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=Fe,this.link=Ue,this.defaultOptions=Tt||Object.create(null),this.queryDeduplication=Gt,this.clientAwareness=Tn,this.localState=En||new qt({cache:Fe}),this.ssrMode=fn,this.assumeImmutableResults=!!Pn,(this.onBroadcast=un)&&(this.mutationStore=Object.create(null))}return qe.prototype.stop=function(){var se=this;this.queries.forEach(function(Fe,Ue){se.stopQueryNoBroadcast(Ue)}),this.cancelPendingFetches(__DEV__?new s.ej("QueryManager stopped while query was in flight"):new s.ej(13))},qe.prototype.cancelPendingFetches=function(se){this.fetchCancelFns.forEach(function(Fe){return Fe(se)}),this.fetchCancelFns.clear()},qe.prototype.mutate=function(se){var Fe,Ue,Tt=se.mutation,Ft=se.variables,Gt=se.optimisticResponse,un=se.updateQueries,pn=se.refetchQueries,fn=void 0===pn?[]:pn,On=se.awaitRefetchQueries,Tn=void 0!==On&&On,En=se.update,Pn=se.onQueryUpdated,Xn=se.fetchPolicy,xn=void 0===Xn?(null===(Fe=this.defaultOptions.mutate)||void 0===Fe?void 0:Fe.fetchPolicy)||"network-only":Xn,Vn=se.errorPolicy,Zn=void 0===Vn?(null===(Ue=this.defaultOptions.mutate)||void 0===Ue?void 0:Ue.errorPolicy)||"none":Vn,ho=se.keepRootFields,uo=se.context;return(0,l.mG)(this,void 0,void 0,function(){var fo,Zo,bo,_o,Bo;return(0,l.Jh)(this,function(ii){switch(ii.label){case 0:return __DEV__?(0,s.kG)(Tt,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,s.kG)(Tt,14),__DEV__?(0,s.kG)("network-only"===xn||"no-cache"===xn,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,s.kG)("network-only"===xn||"no-cache"===xn,15),fo=this.generateMutationId(),Zo=this.transform(Tt),bo=Zo.hasClientExports,Tt=this.cache.transformForLink(Zo.document),Ft=this.getVariables(Tt,Ft),bo?[4,this.localState.addExportedVariables(Tt,Ft,uo)]:[3,2];case 1:Ft=ii.sent(),ii.label=2;case 2:return _o=this.mutationStore&&(this.mutationStore[fo]={mutation:Tt,variables:Ft,loading:!0,error:null}),Gt&&this.markMutationOptimistic(Gt,{mutationId:fo,document:Tt,variables:Ft,fetchPolicy:xn,errorPolicy:Zn,context:uo,updateQueries:un,update:En,keepRootFields:ho}),this.broadcastQueries(),Bo=this,[2,new Promise(function(oi,Io){return Te(Bo.getObservableFromLink(Tt,(0,l.pi)((0,l.pi)({},uo),{optimisticResponse:Gt}),Ft,!1),function(Vo){if(Pe(Vo)&&"none"===Zn)throw new We({graphQLErrors:Ge(Vo)});_o&&(_o.loading=!1,_o.error=null);var Qo=(0,l.pi)({},Vo);return"function"==typeof fn&&(fn=fn(Qo)),"ignore"===Zn&&Pe(Qo)&&delete Qo.errors,Bo.markMutationResult({mutationId:fo,result:Qo,document:Tt,variables:Ft,fetchPolicy:xn,errorPolicy:Zn,context:uo,update:En,updateQueries:un,awaitRefetchQueries:Tn,refetchQueries:fn,removeOptimistic:Gt?fo:void 0,onQueryUpdated:Pn,keepRootFields:ho})}).subscribe({next:function(Vo){Bo.broadcastQueries(),(!("hasNext"in Vo)||!1===Vo.hasNext)&&oi(Vo)},error:function(Vo){_o&&(_o.loading=!1,_o.error=Vo),Gt&&Bo.cache.removeOptimistic(fo),Bo.broadcastQueries(),Io(Vo instanceof We?Vo:new We({networkError:Vo}))}})})]}})})},qe.prototype.markMutationResult=function(se,Fe){var Ue=this;void 0===Fe&&(Fe=this.cache);var Tt=se.result,Ft=[],Gt="no-cache"===se.fetchPolicy;if(!Gt&&ft(Tt,se.errorPolicy)){if($e(Tt)||Ft.push({result:Tt.data,dataId:"ROOT_MUTATION",query:se.document,variables:se.variables}),$e(Tt)&&(0,xt.O)(Tt.incremental)){var pn=oe(Fe.diff({id:"ROOT_MUTATION",query:this.transform(se.document).asQuery,variables:se.variables,optimistic:!1,returnPartialData:!0}).result,Tt);typeof pn<"u"&&(Tt.data=pn,Ft.push({result:pn,dataId:"ROOT_MUTATION",query:se.document,variables:se.variables}))}var fn=se.updateQueries;fn&&this.queries.forEach(function(Tn,En){var Pn=Tn.observableQuery,Xn=Pn&&Pn.queryName;if(Xn&&Re.call(fn,Xn)){var xn=fn[Xn],Vn=Ue.queries.get(En),Zn=Vn.document,ho=Vn.variables,uo=Fe.diff({query:Zn,variables:ho,returnPartialData:!0,optimistic:!1}),fo=uo.result;if(uo.complete&&fo){var $o=xn(fo,{mutationResult:Tt,queryName:Zn&&(0,it.rY)(Zn)||void 0,queryVariables:ho});$o&&Ft.push({result:$o,dataId:"ROOT_QUERY",query:Zn,variables:ho})}}})}if(Ft.length>0||se.refetchQueries||se.update||se.onQueryUpdated||se.removeOptimistic){var On=[];if(this.refetchQueries({updateCache:function(Tn){Gt||Ft.forEach(function(xn){return Tn.write(xn)});var En=se.update,Pn=!function Ze(qe){return $e(qe)||function Ae(qe){return"hasNext"in qe&&"data"in qe}(qe)}(Tt)||$e(Tt)&&!Tt.hasNext;if(En){if(!Gt){var Xn=Tn.diff({id:"ROOT_MUTATION",query:Ue.transform(se.document).asQuery,variables:se.variables,optimistic:!1,returnPartialData:!0});Xn.complete&&("incremental"in(Tt=(0,l.pi)((0,l.pi)({},Tt),{data:Xn.result}))&&delete Tt.incremental,"hasNext"in Tt&&delete Tt.hasNext)}Pn&&En(Tn,Tt,{context:se.context,variables:se.variables})}!Gt&&!se.keepRootFields&&Pn&&Tn.modify({id:"ROOT_MUTATION",fields:function(xn,Vn){return"__typename"===Vn.fieldName?xn:Vn.DELETE}})},include:se.refetchQueries,optimistic:!1,removeOptimistic:se.removeOptimistic,onQueryUpdated:se.onQueryUpdated||null}).forEach(function(Tn){return On.push(Tn)}),se.awaitRefetchQueries||se.onQueryUpdated)return Promise.all(On).then(function(){return Tt})}return Promise.resolve(Tt)},qe.prototype.markMutationOptimistic=function(se,Fe){var Ue=this,Tt="function"==typeof se?se(Fe.variables):se;return this.cache.recordOptimisticTransaction(function(Ft){try{Ue.markMutationResult((0,l.pi)((0,l.pi)({},Fe),{result:{data:Tt}}),Ft)}catch(Gt){__DEV__&&s.kG.error(Gt)}},Fe.mutationId)},qe.prototype.fetchQuery=function(se,Fe,Ue){return this.fetchQueryObservable(se,Fe,Ue).promise},qe.prototype.getQueryStore=function(){var se=Object.create(null);return this.queries.forEach(function(Fe,Ue){se[Ue]={variables:Fe.variables,networkStatus:Fe.networkStatus,networkError:Fe.networkError,graphQLErrors:Fe.graphQLErrors}}),se},qe.prototype.resetErrors=function(se){var Fe=this.queries.get(se);Fe&&(Fe.networkError=void 0,Fe.graphQLErrors=[])},qe.prototype.transform=function(se){var Fe=this.transformCache;if(!Fe.has(se)){var Ue=this.cache.transformDocument(se),Tt=(0,yt.Fo)(Ue),Ft=this.localState.clientQuery(Ue),Gt=Tt&&this.localState.serverQuery(Tt),un={document:Ue,hasClientExports:(0,E.mj)(Ue),hasForcedResolvers:this.localState.shouldForceResolvers(Ue),clientQuery:Ft,serverQuery:Gt,defaultVars:(0,it.O4)((0,it.$H)(Ue)),asQuery:(0,l.pi)((0,l.pi)({},Ue),{definitions:Ue.definitions.map(function(fn){return"OperationDefinition"===fn.kind&&"query"!==fn.operation?(0,l.pi)((0,l.pi)({},fn),{operation:"query"}):fn})})},pn=function(fn){fn&&!Fe.has(fn)&&Fe.set(fn,un)};pn(se),pn(Ue),pn(Ft),pn(Gt)}return Fe.get(se)},qe.prototype.getVariables=function(se,Fe){return(0,l.pi)((0,l.pi)({},this.transform(se).defaultVars),Fe)},qe.prototype.watchQuery=function(se){typeof(se=(0,l.pi)((0,l.pi)({},se),{variables:this.getVariables(se.query,se.variables)})).notifyOnNetworkStatusChange>"u"&&(se.notifyOnNetworkStatusChange=!1);var Fe=new Qe(this),Ue=new dt({queryManager:this,queryInfo:Fe,options:se});return this.queries.set(Ue.queryId,Fe),Fe.init({document:Ue.query,observableQuery:Ue,variables:Ue.variables}),Ue},qe.prototype.query=function(se,Fe){var Ue=this;return void 0===Fe&&(Fe=this.generateQueryId()),__DEV__?(0,s.kG)(se.query,"query option is required. You must specify your GraphQL document in the query option."):(0,s.kG)(se.query,16),__DEV__?(0,s.kG)("Document"===se.query.kind,'You must wrap the query string in a "gql" tag.'):(0,s.kG)("Document"===se.query.kind,17),__DEV__?(0,s.kG)(!se.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,s.kG)(!se.returnPartialData,18),__DEV__?(0,s.kG)(!se.pollInterval,"pollInterval option only supported on watchQuery."):(0,s.kG)(!se.pollInterval,19),this.fetchQuery(Fe,se).finally(function(){return Ue.stopQuery(Fe)})},qe.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},qe.prototype.generateRequestId=function(){return this.requestIdCounter++},qe.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},qe.prototype.stopQueryInStore=function(se){this.stopQueryInStoreNoBroadcast(se),this.broadcastQueries()},qe.prototype.stopQueryInStoreNoBroadcast=function(se){var Fe=this.queries.get(se);Fe&&Fe.stop()},qe.prototype.clearStore=function(se){return void 0===se&&(se={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new s.ej("Store reset while query was in flight (not completed in link chain)"):new s.ej(20)),this.queries.forEach(function(Fe){Fe.observableQuery?Fe.networkStatus=o.loading:Fe.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(se)},qe.prototype.getObservableQueries=function(se){var Fe=this;void 0===se&&(se="active");var Ue=new Map,Tt=new Map,Ft=new Set;return Array.isArray(se)&&se.forEach(function(Gt){"string"==typeof Gt?Tt.set(Gt,!1):(0,Ut.JW)(Gt)?Tt.set(Fe.transform(Gt).document,!1):(0,$t.s)(Gt)&&Gt.query&&Ft.add(Gt)}),this.queries.forEach(function(Gt,un){var pn=Gt.observableQuery,fn=Gt.document;if(pn){if("all"===se)return void Ue.set(un,pn);var On=pn.queryName;if("standby"===pn.options.fetchPolicy||"active"===se&&!pn.hasObservers())return;("active"===se||On&&Tt.has(On)||fn&&Tt.has(fn))&&(Ue.set(un,pn),On&&Tt.set(On,!0),fn&&Tt.set(fn,!0))}}),Ft.size&&Ft.forEach(function(Gt){var un=(0,Je.X)("legacyOneTimeQuery"),pn=Fe.getQuery(un).init({document:Gt.query,variables:Gt.variables}),fn=new dt({queryManager:Fe,queryInfo:pn,options:(0,l.pi)((0,l.pi)({},Gt),{fetchPolicy:"network-only"})});(0,s.kG)(fn.queryId===un),pn.setObservableQuery(fn),Ue.set(un,fn)}),__DEV__&&Tt.size&&Tt.forEach(function(Gt,un){Gt||__DEV__&&s.kG.warn("Unknown query ".concat("string"==typeof un?"named ":"").concat(JSON.stringify(un,null,2)," requested in refetchQueries options.include array"))}),Ue},qe.prototype.reFetchObservableQueries=function(se){var Fe=this;void 0===se&&(se=!1);var Ue=[];return this.getObservableQueries(se?"all":"active").forEach(function(Tt,Ft){var Gt=Tt.options.fetchPolicy;Tt.resetLastResults(),(se||"standby"!==Gt&&"cache-only"!==Gt)&&Ue.push(Tt.refetch()),Fe.getQuery(Ft).setDiff(null)}),this.broadcastQueries(),Promise.all(Ue)},qe.prototype.setObservableQuery=function(se){this.getQuery(se.queryId).setObservableQuery(se)},qe.prototype.startGraphQLSubscription=function(se){var Fe=this,Ue=se.query,Tt=se.fetchPolicy,Ft=se.errorPolicy,Gt=se.variables,un=se.context,pn=void 0===un?{}:un;Ue=this.transform(Ue).document,Gt=this.getVariables(Ue,Gt);var fn=function(Tn){return Fe.getObservableFromLink(Ue,pn,Tn).map(function(En){if("no-cache"!==Tt&&(ft(En,Ft)&&Fe.cache.write({query:Ue,result:En.data,dataId:"ROOT_SUBSCRIPTION",variables:Tn}),Fe.broadcastQueries()),Pe(En))throw new We({graphQLErrors:En.errors});return En})};if(this.transform(Ue).hasClientExports){var On=this.localState.addExportedVariables(Ue,Gt,pn).then(fn);return new O.y(function(Tn){var En=null;return On.then(function(Pn){return En=Pn.subscribe(Tn)},Tn.error),function(){return En&&En.unsubscribe()}})}return fn(Gt)},qe.prototype.stopQuery=function(se){this.stopQueryNoBroadcast(se),this.broadcastQueries()},qe.prototype.stopQueryNoBroadcast=function(se){this.stopQueryInStoreNoBroadcast(se),this.removeQuery(se)},qe.prototype.removeQuery=function(se){this.fetchCancelFns.delete(se),this.queries.has(se)&&(this.getQuery(se).stop(),this.queries.delete(se))},qe.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(se){return se.notify()})},qe.prototype.getLocalState=function(){return this.localState},qe.prototype.getObservableFromLink=function(se,Fe,Ue,Tt){var Gt,Ft=this;void 0===Tt&&(Tt=null!==(Gt=Fe?.queryDeduplication)&&void 0!==Gt?Gt:this.queryDeduplication);var un,pn=this.transform(se).serverQuery;if(pn){var On=this.inFlightLinkObservables,Tn=this.link,En={query:pn,variables:Ue,operationName:(0,it.rY)(pn)||void 0,context:this.prepareContext((0,l.pi)((0,l.pi)({},Fe),{forceFetch:!Tt}))};if(Fe=En.context,Tt){var Pn=On.get(pn)||new Map;On.set(pn,Pn);var Xn=(0,J.B)(Ue);if(!(un=Pn.get(Xn))){var xn=new zt([R(Tn,En)]);Pn.set(Xn,un=xn),xn.beforeNext(function(){Pn.delete(Xn)&&Pn.size<1&&On.delete(pn)})}}else un=new zt([R(Tn,En)])}else un=new zt([O.y.of({data:{}})]),Fe=this.prepareContext(Fe);var Vn=this.transform(se).clientQuery;return Vn&&(un=Te(un,function(Zn){return Ft.localState.runResolvers({document:Vn,remoteResult:Zn,context:Fe,variables:Ue})})),un},qe.prototype.getResultsFromLink=function(se,Fe,Ue){var Tt=se.lastRequestId=this.generateRequestId(),Ft=this.cache.transformForLink(this.transform(se.document).document);return Te(this.getObservableFromLink(Ft,Ue.context,Ue.variables),function(Gt){var un=Ge(Gt),pn=un.length>0;if(Tt>=se.lastRequestId){if(pn&&"none"===Ue.errorPolicy)throw se.markError(new We({graphQLErrors:un}));se.markResult(Gt,Ft,Ue,Fe),se.markReady()}var fn={data:Gt.data,loading:!1,networkStatus:o.ready};return pn&&"ignore"!==Ue.errorPolicy&&(fn.errors=un,fn.networkStatus=o.error),fn},function(Gt){var un=function jt(qe){return qe.hasOwnProperty("graphQLErrors")}(Gt)?Gt:new We({networkError:Gt});throw Tt>=se.lastRequestId&&se.markError(un),un})},qe.prototype.fetchQueryObservable=function(se,Fe,Ue){var Tt=this;void 0===Ue&&(Ue=o.loading);var Ft=this.transform(Fe.query).document,Gt=this.getVariables(Ft,Fe.variables),un=this.getQuery(se),pn=this.defaultOptions.watchQuery,fn=Fe.fetchPolicy,Tn=Fe.errorPolicy,Pn=Fe.returnPartialData,xn=Fe.notifyOnNetworkStatusChange,Zn=Fe.context,uo=Object.assign({},Fe,{query:Ft,variables:Gt,fetchPolicy:void 0===fn?pn&&pn.fetchPolicy||"cache-first":fn,errorPolicy:void 0===Tn?pn&&pn.errorPolicy||"none":Tn,returnPartialData:void 0!==Pn&&Pn,notifyOnNetworkStatusChange:void 0!==xn&&xn,context:void 0===Zn?{}:Zn}),fo=function(bo){uo.variables=bo;var _o=Tt.fetchQueryByPolicy(un,uo,Ue);return"standby"!==uo.fetchPolicy&&_o.length>0&&un.observableQuery&&un.observableQuery.applyNextFetchPolicy("after-fetch",Fe),_o},Zo=function(){return Tt.fetchCancelFns.delete(se)};this.fetchCancelFns.set(se,function(bo){Zo(),setTimeout(function(){return $o.cancel(bo)})});var $o=new zt(this.transform(uo.query).hasClientExports?this.localState.addExportedVariables(uo.query,uo.variables,uo.context).then(fo):fo(uo.variables));return $o.promise.then(Zo,Zo),$o},qe.prototype.refetchQueries=function(se){var Fe=this,Ue=se.updateCache,Tt=se.include,Ft=se.optimistic,Gt=void 0!==Ft&&Ft,un=se.removeOptimistic,pn=void 0===un?Gt?(0,Je.X)("refetchQueries"):void 0:un,fn=se.onQueryUpdated,On=new Map;Tt&&this.getObservableQueries(Tt).forEach(function(En,Pn){On.set(Pn,{oq:En,lastDiff:Fe.getQuery(Pn).getDiff()})});var Tn=new Map;return Ue&&this.cache.batch({update:Ue,optimistic:Gt&&pn||!1,removeOptimistic:pn,onWatchUpdated:function(En,Pn,Xn){var xn=En.watcher instanceof Qe&&En.watcher.observableQuery;if(xn){if(fn){On.delete(xn.queryId);var Vn=fn(xn,Pn,Xn);return!0===Vn&&(Vn=xn.refetch()),!1!==Vn&&Tn.set(xn,Vn),Vn}null!==fn&&On.set(xn.queryId,{oq:xn,lastDiff:Xn,diff:Pn})}}}),On.size&&On.forEach(function(En,Pn){var Zn,Xn=En.oq,xn=En.lastDiff,Vn=En.diff;if(fn){if(!Vn){var ho=Xn.queryInfo;ho.reset(),Vn=ho.getDiff()}Zn=fn(Xn,Vn,xn)}(!fn||!0===Zn)&&(Zn=Xn.refetch()),!1!==Zn&&Tn.set(Xn,Zn),Pn.indexOf("legacyOneTimeQuery")>=0&&Fe.stopQueryNoBroadcast(Pn)}),pn&&this.cache.removeOptimistic(pn),Tn},qe.prototype.fetchQueryByPolicy=function(se,Fe,Ue){var Tt=this,Ft=Fe.query,Gt=Fe.variables,un=Fe.fetchPolicy,pn=Fe.refetchWritePolicy,fn=Fe.errorPolicy,On=Fe.returnPartialData,Tn=Fe.context,En=Fe.notifyOnNetworkStatusChange,Pn=se.networkStatus;se.init({document:this.transform(Ft).document,variables:Gt,networkStatus:Ue});var Xn=function(){return se.getDiff(Gt)},xn=function(fo,Zo){void 0===Zo&&(Zo=se.networkStatus||o.loading);var $o=fo.result;__DEV__&&!On&&!(0,Yt.D)($o,{})&&xe(fo.missing);var bo=function(_o){return O.y.of((0,l.pi)({data:_o,loading:g(Zo),networkStatus:Zo},fo.complete?null:{partial:!0}))};return $o&&Tt.transform(Ft).hasForcedResolvers?Tt.localState.runResolvers({document:Ft,remoteResult:{data:$o},context:Tn,variables:Gt,onlyRunForcedResolvers:!0}).then(function(_o){return bo(_o.data||void 0)}):bo($o)},Vn="no-cache"===un?0:Ue===o.refetch&&"merge"!==pn?1:2,Zn=function(){return Tt.getResultsFromLink(se,Vn,{variables:Gt,context:Tn,fetchPolicy:un,errorPolicy:fn})},ho=En&&"number"==typeof Pn&&Pn!==Ue&&g(Ue);switch(un){default:case"cache-first":return(uo=Xn()).complete?[xn(uo,se.markReady())]:On||ho?[xn(uo),Zn()]:[Zn()];case"cache-and-network":var uo;return(uo=Xn()).complete||On||ho?[xn(uo),Zn()]:[Zn()];case"cache-only":return[xn(Xn(),se.markReady())];case"network-only":return ho?[xn(Xn()),Zn()]:[Zn()];case"no-cache":return ho?[xn(se.getDiff()),Zn()]:[Zn()];case"standby":return[]}},qe.prototype.getQuery=function(se){return se&&!this.queries.has(se)&&this.queries.set(se,new Qe(this,se)),this.queries.get(se)},qe.prototype.prepareContext=function(se){void 0===se&&(se={});var Fe=this.localState.prepareContext(se);return(0,l.pi)((0,l.pi)({},Fe),{clientAwareness:this.clientAwareness})},qe}();function Ie(qe,se){return(0,P.o)(qe,se,se.variables&&{variables:(0,l.pi)((0,l.pi)({},qe&&qe.variables),se.variables)})}var he=!1,we=function(){function qe(se){var Fe=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var Ue=se.uri,Gt=se.cache,un=se.ssrMode,pn=void 0!==un&&un,fn=se.ssrForceFetchDelay,On=void 0===fn?0:fn,Tn=se.connectToDevTools,En=void 0===Tn?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:Tn,Pn=se.queryDeduplication,Xn=void 0===Pn||Pn,xn=se.defaultOptions,Vn=se.assumeImmutableResults,Zn=void 0!==Vn&&Vn,ho=se.resolvers,uo=se.typeDefs,fo=se.fragmentMatcher,Zo=se.name,$o=se.version,bo=se.link;if(bo||(bo=Ue?new zn({uri:Ue,credentials:se.credentials,headers:se.headers}):L.i.empty()),!Gt)throw __DEV__?new s.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new s.ej(9);if(this.link=bo,this.cache=Gt,this.disableNetworkFetches=pn||On>0,this.queryDeduplication=Xn,this.defaultOptions=xn||Object.create(null),this.typeDefs=uo,On&&setTimeout(function(){return Fe.disableNetworkFetches=!1},On),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),En&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!he&&En&&__DEV__&&(he=!0,typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var _o=window.navigator,Bo=_o&&_o.userAgent,ii=void 0;"string"==typeof Bo&&(Bo.indexOf("Chrome/")>-1?ii="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":Bo.indexOf("Firefox/")>-1&&(ii="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),ii&&__DEV__&&s.kG.log("Download the Apollo DevTools for a better development experience: "+ii)}this.version="3.7.4",this.localState=new qt({cache:Gt,client:this,resolvers:ho,fragmentMatcher:fo}),this.queryManager=new He({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:Xn,ssrMode:pn,clientAwareness:{name:Zo,version:$o},localState:this.localState,assumeImmutableResults:Zn,onBroadcast:En?function(){Fe.devToolsHookCb&&Fe.devToolsHookCb({action:{},state:{queries:Fe.queryManager.getQueryStore(),mutations:Fe.queryManager.mutationStore||{}},dataWithOptimisticResults:Fe.cache.extract(!0)})}:void 0})}return qe.prototype.stop=function(){this.queryManager.stop()},qe.prototype.watchQuery=function(se){return this.defaultOptions.watchQuery&&(se=Ie(this.defaultOptions.watchQuery,se)),this.disableNetworkFetches&&("network-only"===se.fetchPolicy||"cache-and-network"===se.fetchPolicy)&&(se=(0,l.pi)((0,l.pi)({},se),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(se)},qe.prototype.query=function(se){return this.defaultOptions.query&&(se=Ie(this.defaultOptions.query,se)),__DEV__?(0,s.kG)("cache-and-network"!==se.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,s.kG)("cache-and-network"!==se.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===se.fetchPolicy&&(se=(0,l.pi)((0,l.pi)({},se),{fetchPolicy:"cache-first"})),this.queryManager.query(se)},qe.prototype.mutate=function(se){return this.defaultOptions.mutate&&(se=Ie(this.defaultOptions.mutate,se)),this.queryManager.mutate(se)},qe.prototype.subscribe=function(se){return this.queryManager.startGraphQLSubscription(se)},qe.prototype.readQuery=function(se,Fe){return void 0===Fe&&(Fe=!1),this.cache.readQuery(se,Fe)},qe.prototype.readFragment=function(se,Fe){return void 0===Fe&&(Fe=!1),this.cache.readFragment(se,Fe)},qe.prototype.writeQuery=function(se){this.cache.writeQuery(se),this.queryManager.broadcastQueries()},qe.prototype.writeFragment=function(se){this.cache.writeFragment(se),this.queryManager.broadcastQueries()},qe.prototype.__actionHookForDevTools=function(se){this.devToolsHookCb=se},qe.prototype.__requestRaw=function(se){return R(this.link,se)},qe.prototype.resetStore=function(){var se=this;return Promise.resolve().then(function(){return se.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(se.resetStoreCallbacks.map(function(Fe){return Fe()}))}).then(function(){return se.reFetchObservableQueries()})},qe.prototype.clearStore=function(){var se=this;return Promise.resolve().then(function(){return se.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(se.clearStoreCallbacks.map(function(Fe){return Fe()}))})},qe.prototype.onResetStore=function(se){var Fe=this;return this.resetStoreCallbacks.push(se),function(){Fe.resetStoreCallbacks=Fe.resetStoreCallbacks.filter(function(Ue){return Ue!==se})}},qe.prototype.onClearStore=function(se){var Fe=this;return this.clearStoreCallbacks.push(se),function(){Fe.clearStoreCallbacks=Fe.clearStoreCallbacks.filter(function(Ue){return Ue!==se})}},qe.prototype.reFetchObservableQueries=function(se){return this.queryManager.reFetchObservableQueries(se)},qe.prototype.refetchQueries=function(se){var Fe=this.queryManager.refetchQueries(se),Ue=[],Tt=[];Fe.forEach(function(Gt,un){Ue.push(un),Tt.push(Gt)});var Ft=Promise.all(Tt);return Ft.queries=Ue,Ft.results=Tt,Ft.catch(function(Gt){__DEV__&&s.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(Gt))}),Ft},qe.prototype.getObservableQueries=function(se){return void 0===se&&(se="active"),this.queryManager.getObservableQueries(se)},qe.prototype.extract=function(se){return this.cache.extract(se)},qe.prototype.restore=function(se){return this.cache.restore(se)},qe.prototype.addResolvers=function(se){this.localState.addResolvers(se)},qe.prototype.setResolvers=function(se){this.localState.setResolvers(se)},qe.prototype.getResolvers=function(){return this.localState.getResolvers()},qe.prototype.setLocalStateFragmentMatcher=function(se){this.localState.setFragmentMatcher(se)},qe.prototype.setLink=function(se){this.link=this.queryManager.link=se},qe}(),ce=a(2856),nt=a(9751),be=a(4408),Zt=a(7565);const Sn=new class nn extends Zt.v{}(class rt extends be.o{constructor(se,Fe){super(se,Fe),this.scheduler=se,this.work=Fe}schedule(se,Fe=0){return Fe>0?super.schedule(se,Fe):(this.delay=Fe,this.state=se,this.scheduler.flush(this),this)}execute(se,Fe){return Fe>0||this.closed?super.execute(se,Fe):this._execute(se,Fe)}requestAsyncId(se,Fe,Ue=0){return null!=Ue&&Ue>0||null==Ue&&this.delay>0?super.requestAsyncId(se,Fe,Ue):(se.flush(this),0)}});var Un=a(8822),$n=a(457),Yn=a(4004),co=a(8675),Wo=a(5363);function ko(qe){return new nt.y(se=>(qe().then(Fe=>{se.closed||(se.next(Fe),se.complete())},Fe=>{se.closed||se.error(Fe)}),()=>se.unsubscribe()))}class Go{constructor(se){this.zone=se,this.now=Date.now?Date.now:()=>+new Date}schedule(se,Fe=0,Ue){return this.zone.run(()=>Sn.schedule(se,Fe,Ue))}}function Po(qe){return qe[Un.L]=()=>qe,qe}function ui(qe,se){return qe.pipe((0,Wo.Q)(new Go(se)))}function Ro(qe,se,Fe){return qe&&typeof qe[se]<"u"?qe[se]:Fe}class Fn{constructor(se,Fe,Ue){this.obsQuery=se;const Tt=ui((0,$n.D)(Po(this.obsQuery)),Fe);this.valueChanges=Ue.useInitialLoading?Tt.pipe(function Ko(qe){return function(Fe){return new nt.y(function(Tt){const Ft=qe.getCurrentResult(),{loading:Gt,errors:un,error:pn,partial:fn,data:On}=Ft,{partialRefetch:Tn,fetchPolicy:En}=qe.options,Pn=un||pn;return Tn&&fn&&(!On||0===Object.keys(On).length)&&"cache-only"!==En&&!Gt&&!Pn&&Tt.next({...Ft,loading:!0,networkStatus:o.loading}),Fe.subscribe(Tt)})}}(this.obsQuery)):Tt,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(se){return this.obsQuery.refetch(se)}fetchMore(se){return this.obsQuery.fetchMore(se)}subscribeToMore(se){return this.obsQuery.subscribeToMore(se)}updateQuery(se){return this.obsQuery.updateQuery(se)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(se){return this.obsQuery.startPolling(se)}setOptions(se){return this.obsQuery.setOptions(se)}setVariables(se){return this.obsQuery.setVariables(se)}}const Wn=new t.OlP("APOLLO_FLAGS"),ro=new t.OlP("APOLLO_OPTIONS"),ni=new t.OlP("APOLLO_NAMED_OPTIONS");class To{constructor(se,Fe,Ue){this.ngZone=se,this.flags=Fe,this._client=Ue,this.useInitialLoading=Ro(Fe,"useInitialLoading",!1),this.useMutationLoading=Ro(Fe,"useMutationLoading",!1)}watchQuery(se){return new Fn(this.ensureClient().watchQuery({...se}),this.ngZone,{useInitialLoading:this.useInitialLoading,...se})}query(se){return ko(()=>this.ensureClient().query({...se}))}mutate(se){return function po(qe,se){return se?qe.pipe((0,co.O)({loading:!0}),(0,Yn.U)(Fe=>({...Fe,loading:!!Fe.loading}))):qe.pipe((0,Yn.U)(Fe=>({...Fe,loading:!1})))}(ko(()=>this.ensureClient().mutate({...se})),se.useMutationLoading??this.useMutationLoading)}subscribe(se,Fe){const Ue=(0,$n.D)(Po(this.ensureClient().subscribe({...se})));return Fe&&!0!==Fe.useZone?Ue:ui(Ue,this.ngZone)}getClient(){return this.client}setClient(se){this.client=se}get client(){return this._client}set client(se){if(this._client)throw new Error("Client has been already defined");this._client=se}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Do=(()=>{class qe extends To{constructor(Fe,Ue,Tt,Ft){if(super(Fe,Ft),this._ngZone=Fe,this.map=new Map,Ue&&this.createDefault(Ue),Tt&&"object"==typeof Tt)for(let Gt in Tt)Tt.hasOwnProperty(Gt)&&this.create(Tt[Gt],Gt)}create(Fe,Ue){bn(Ue)?this.createDefault(Fe):this.createNamed(Ue,Fe)}default(){return this}use(Fe){return bn(Fe)?this.default():this.map.get(Fe)}createDefault(Fe){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new we(Fe))}createNamed(Fe,Ue){if(this.map.has(Fe))throw new Error(`Client ${Fe} has been already created`);this.map.set(Fe,new To(this._ngZone,this.flags,new we(Ue)))}removeClient(Fe){bn(Fe)?this._client=void 0:this.map.delete(Fe)}}return qe.\u0275fac=function(Fe){return new(Fe||qe)(t.LFG(t.R0b),t.LFG(ro,8),t.LFG(ni,8),t.LFG(Wn,8))},qe.\u0275prov=t.Yz7({token:qe,factory:qe.\u0275fac}),qe})();function bn(qe){return!qe||"default"===qe}const Co=[Do];let pi=(()=>{class qe{}return qe.\u0275fac=function(Fe){return new(Fe||qe)},qe.\u0275mod=t.oAB({type:qe}),qe.\u0275inj=t.cJS({providers:Co}),qe})(),Fi=(()=>{class qe{constructor(Fe){this.apollo=Fe,this.client="default"}watch(Fe,Ue){return this.apollo.use(this.client).watchQuery({...Ue,variables:Fe,query:this.document})}fetch(Fe,Ue){return this.apollo.use(this.client).query({...Ue,variables:Fe,query:this.document})}}return qe.\u0275fac=function(Fe){return new(Fe||qe)(t.LFG(Do))},qe.\u0275prov=t.Yz7({token:qe,factory:qe.\u0275fac}),qe})(),oo=(()=>{class qe{constructor(Fe){this.apollo=Fe,this.client="default"}mutate(Fe,Ue){return this.apollo.use(this.client).mutate({...Ue,variables:Fe,mutation:this.document})}}return qe.\u0275fac=function(Fe){return new(Fe||qe)(t.LFG(Do))},qe.\u0275prov=t.Yz7({token:qe,factory:qe.\u0275fac}),qe})();const Ei=function Ji(qe,...se){return(0,ce.Ps)(qe,...se)}},4047:(Et,Me,a)=>{function t(o,g){if(!Boolean(o))throw new Error(g)}a.d(Me,{a:()=>t})},744:(Et,Me,a)=>{function g(E){return l(E,[])}function l(E,O){switch(typeof E){case"string":return JSON.stringify(E);case"function":return E.name?`[function ${E.name}]`:"[function]";case"object":return function s(E,O){if(null===E)return"null";if(O.includes(E))return"[Circular]";const F=[...O,E];if(function L(E){return"function"==typeof E.toJSON}(E)){const V=E.toJSON();if(V!==E)return"string"==typeof V?V:l(V,F)}else if(Array.isArray(E))return function T(E,O){if(0===E.length)return"[]";if(O.length>2)return"[Array]";const F=Math.min(10,E.length),V=E.length-F,S=[];for(let e=0;e1&&S.push(`... ${V} more items`),"["+S.join(", ")+"]"}(E,F);return function R(E,O){const F=Object.entries(E);return 0===F.length?"{}":O.length>2?"["+function M(E){const O=Object.prototype.toString.call(E).replace(/^\[object /,"").replace(/]$/,"");if("Object"===O&&"function"==typeof E.constructor){const F=E.constructor.name;if("string"==typeof F&&""!==F)return F}return O}(E)+"]":"{ "+F.map(([S,e])=>S+": "+l(e,O)).join(", ")+" }"}(E,F)}(E,O);default:return String(E)}}a.d(Me,{X:()=>g})},6298:(Et,Me,a)=>{a.d(Me,{UG:()=>s,WU:()=>o,Ye:()=>t,h8:()=>g,ku:()=>L});class t{constructor(T,M,E){this.start=T.start,this.end=M.end,this.startToken=T,this.endToken=M,this.source=E}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(T,M,E,O,F,V){this.kind=T,this.start=M,this.end=E,this.line=O,this.column=F,this.value=V,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const g={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},l=new Set(Object.keys(g));function s(R){const T=R?.kind;return"string"==typeof T&&l.has(T)}var L=(()=>{return(R=L||(L={})).QUERY="query",R.MUTATION="mutation",R.SUBSCRIPTION="subscription",L;var R})()},2032:(Et,Me,a)=>{a.d(Me,{LZ:()=>s,wv:()=>o});var t=a(6009);function o(L){var R;let T=Number.MAX_SAFE_INTEGER,M=null,E=-1;for(let F=0;F0===V?F:F.slice(T)).slice(null!==(R=M)&&void 0!==R?R:0,E+1)}function g(L){let R=0;for(;R1&&M.slice(1).every(ae=>0===ae.length||(0,t.FD)(ae.charCodeAt(0))),F=T.endsWith('\\"""'),V=L.endsWith('"')&&!F,S=L.endsWith("\\"),e=V||S,I=!(null!=R&&R.minimize)&&(!E||L.length>70||e||O||F);let w="";const pe=E&&(0,t.FD)(L.charCodeAt(0));return(I&&!pe||O)&&(w+="\n"),w+=T,(I||e)&&(w+="\n"),'"""'+w+'"""'}},6009:(Et,Me,a)=>{function t(L){return 9===L||32===L}function o(L){return L>=48&&L<=57}function g(L){return L>=97&&L<=122||L>=65&&L<=90}function l(L){return g(L)||95===L}function s(L){return g(L)||o(L)||95===L}a.d(Me,{FD:()=>t,HQ:()=>s,LQ:()=>l,X1:()=>o})},9558:(Et,Me,a)=>{a.d(Me,{h:()=>t});var t=(()=>{return(o=t||(t={})).NAME="Name",o.DOCUMENT="Document",o.OPERATION_DEFINITION="OperationDefinition",o.VARIABLE_DEFINITION="VariableDefinition",o.SELECTION_SET="SelectionSet",o.FIELD="Field",o.ARGUMENT="Argument",o.FRAGMENT_SPREAD="FragmentSpread",o.INLINE_FRAGMENT="InlineFragment",o.FRAGMENT_DEFINITION="FragmentDefinition",o.VARIABLE="Variable",o.INT="IntValue",o.FLOAT="FloatValue",o.STRING="StringValue",o.BOOLEAN="BooleanValue",o.NULL="NullValue",o.ENUM="EnumValue",o.LIST="ListValue",o.OBJECT="ObjectValue",o.OBJECT_FIELD="ObjectField",o.DIRECTIVE="Directive",o.NAMED_TYPE="NamedType",o.LIST_TYPE="ListType",o.NON_NULL_TYPE="NonNullType",o.SCHEMA_DEFINITION="SchemaDefinition",o.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",o.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",o.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",o.FIELD_DEFINITION="FieldDefinition",o.INPUT_VALUE_DEFINITION="InputValueDefinition",o.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",o.UNION_TYPE_DEFINITION="UnionTypeDefinition",o.ENUM_TYPE_DEFINITION="EnumTypeDefinition",o.ENUM_VALUE_DEFINITION="EnumValueDefinition",o.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",o.DIRECTIVE_DEFINITION="DirectiveDefinition",o.SCHEMA_EXTENSION="SchemaExtension",o.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",o.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",o.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",o.UNION_TYPE_EXTENSION="UnionTypeExtension",o.ENUM_TYPE_EXTENSION="EnumTypeExtension",o.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",t;var o})()},2465:(Et,Me,a)=>{a.d(Me,{S:()=>R});var t=a(2032);const g=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function l(e){return s[e.charCodeAt(0)]}const s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var L=a(1335);function R(e){return(0,L.Vn)(e,M)}const M={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>E(e.definitions,"\n\n")},OperationDefinition:{leave(e){const I=F("(",E(e.variableDefinitions,", "),")"),w=E([e.operation,E([e.name,I]),E(e.directives," ")]," ");return("query"===w?"":w+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:I,defaultValue:w,directives:pe})=>e+": "+I+F(" = ",w)+F(" ",E(pe," "))},SelectionSet:{leave:({selections:e})=>O(e)},Field:{leave({alias:e,name:I,arguments:w,directives:pe,selectionSet:ae}){const Z=F("",e,": ")+I;let U=Z+F("(",E(w,", "),")");return U.length>80&&(U=Z+F("(\n",V(E(w,"\n")),"\n)")),E([U,E(pe," "),ae]," ")}},Argument:{leave:({name:e,value:I})=>e+": "+I},FragmentSpread:{leave:({name:e,directives:I})=>"..."+e+F(" ",E(I," "))},InlineFragment:{leave:({typeCondition:e,directives:I,selectionSet:w})=>E(["...",F("on ",e),E(I," "),w]," ")},FragmentDefinition:{leave:({name:e,typeCondition:I,variableDefinitions:w,directives:pe,selectionSet:ae})=>`fragment ${e}${F("(",E(w,", "),")")} on ${I} ${F("",E(pe," ")," ")}`+ae},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:I})=>I?(0,t.LZ)(e):function o(e){return`"${e.replace(g,l)}"`}(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+E(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+E(e,", ")+"}"},ObjectField:{leave:({name:e,value:I})=>e+": "+I},Directive:{leave:({name:e,arguments:I})=>"@"+e+F("(",E(I,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:I,operationTypes:w})=>F("",e,"\n")+E(["schema",E(I," "),O(w)]," ")},OperationTypeDefinition:{leave:({operation:e,type:I})=>e+": "+I},ScalarTypeDefinition:{leave:({description:e,name:I,directives:w})=>F("",e,"\n")+E(["scalar",I,E(w," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:I,interfaces:w,directives:pe,fields:ae})=>F("",e,"\n")+E(["type",I,F("implements ",E(w," & ")),E(pe," "),O(ae)]," ")},FieldDefinition:{leave:({description:e,name:I,arguments:w,type:pe,directives:ae})=>F("",e,"\n")+I+(S(w)?F("(\n",V(E(w,"\n")),"\n)"):F("(",E(w,", "),")"))+": "+pe+F(" ",E(ae," "))},InputValueDefinition:{leave:({description:e,name:I,type:w,defaultValue:pe,directives:ae})=>F("",e,"\n")+E([I+": "+w,F("= ",pe),E(ae," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:I,interfaces:w,directives:pe,fields:ae})=>F("",e,"\n")+E(["interface",I,F("implements ",E(w," & ")),E(pe," "),O(ae)]," ")},UnionTypeDefinition:{leave:({description:e,name:I,directives:w,types:pe})=>F("",e,"\n")+E(["union",I,E(w," "),F("= ",E(pe," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:I,directives:w,values:pe})=>F("",e,"\n")+E(["enum",I,E(w," "),O(pe)]," ")},EnumValueDefinition:{leave:({description:e,name:I,directives:w})=>F("",e,"\n")+E([I,E(w," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:I,directives:w,fields:pe})=>F("",e,"\n")+E(["input",I,E(w," "),O(pe)]," ")},DirectiveDefinition:{leave:({description:e,name:I,arguments:w,repeatable:pe,locations:ae})=>F("",e,"\n")+"directive @"+I+(S(w)?F("(\n",V(E(w,"\n")),"\n)"):F("(",E(w,", "),")"))+(pe?" repeatable":"")+" on "+E(ae," | ")},SchemaExtension:{leave:({directives:e,operationTypes:I})=>E(["extend schema",E(e," "),O(I)]," ")},ScalarTypeExtension:{leave:({name:e,directives:I})=>E(["extend scalar",e,E(I," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:I,directives:w,fields:pe})=>E(["extend type",e,F("implements ",E(I," & ")),E(w," "),O(pe)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:I,directives:w,fields:pe})=>E(["extend interface",e,F("implements ",E(I," & ")),E(w," "),O(pe)]," ")},UnionTypeExtension:{leave:({name:e,directives:I,types:w})=>E(["extend union",e,E(I," "),F("= ",E(w," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:I,values:w})=>E(["extend enum",e,E(I," "),O(w)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:I,fields:w})=>E(["extend input",e,E(I," "),O(w)]," ")}};function E(e,I=""){var w;return null!==(w=e?.filter(pe=>pe).join(I))&&void 0!==w?w:""}function O(e){return F("{\n",V(E(e,"\n")),"\n}")}function F(e,I,w=""){return null!=I&&""!==I?e+I+w:""}function V(e){return F(" ",e.replace(/\n/g,"\n "))}function S(e){var I;return null!==(I=e?.some(w=>w.includes("\n")))&&void 0!==I&&I}},9826:(Et,Me,a)=>{a.d(Me,{H:()=>l,T:()=>s});var t=a(4047),o=a(744);class l{constructor(R,T="GraphQL request",M={line:1,column:1}){"string"==typeof R||(0,t.a)(!1,`Body must be a string. Received: ${(0,o.X)(R)}.`),this.body=R,this.name=T,this.locationOffset=M,this.locationOffset.line>0||(0,t.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,t.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(L){return L instanceof l}},1335:(Et,Me,a)=>{a.d(Me,{$_:()=>s,Vn:()=>L});var t=a(4047),o=a(744),g=a(6298),l=a(9558);const s=Object.freeze({});function L(E,O,F=g.h8){const V=new Map;for(const fe of Object.values(l.h))V.set(fe,T(O,fe));let S,Z,U,e=Array.isArray(E),I=[E],w=-1,pe=[],ae=E;const N=[],q=[];do{w++;const fe=w===I.length,te=fe&&0!==pe.length;if(fe){if(Z=0===q.length?void 0:N[N.length-1],ae=U,U=q.pop(),te)if(e){ae=ae.slice();let H=0;for(const[X,ve]of pe){const Se=X-H;null===ve?(ae.splice(Se,1),H++):ae[Se]=ve}}else{ae=Object.defineProperties({},Object.getOwnPropertyDescriptors(ae));for(const[H,X]of pe)ae[H]=X}w=S.index,I=S.keys,pe=S.edits,e=S.inArray,S=S.prev}else if(U){if(Z=e?w:I[w],ae=U[Z],null==ae)continue;N.push(Z)}let ye;if(!Array.isArray(ae)){var Y,k;if((0,g.UG)(ae)||(0,t.a)(!1,`Invalid AST Node: ${(0,o.X)(ae)}.`),ye=(fe?null===(Y=V.get(ae.kind))||void 0===Y?void 0:Y.leave:null===(k=V.get(ae.kind))||void 0===k?void 0:k.enter)?.call(O,ae,Z,U,N,q),ye===s)break;if(!1===ye){if(!fe){N.pop();continue}}else if(void 0!==ye&&(pe.push([Z,ye]),!fe)){if(!(0,g.UG)(ye)){N.pop();continue}ae=ye}}var me;void 0===ye&&te&&pe.push([Z,ae]),fe?N.pop():(S={inArray:e,index:w,keys:I,edits:pe,prev:S},e=Array.isArray(ae),I=e?ae:null!==(me=F[ae.kind])&&void 0!==me?me:[],w=-1,pe=[],U&&q.push(U),U=ae)}while(void 0!==S);return 0!==pe.length?pe[pe.length-1][1]:E}function T(E,O){const F=E[O];return"object"==typeof F?F:"function"==typeof F?{enter:F,leave:void 0}:{enter:E.enter,leave:E.leave}}},9597:(Et,Me,a)=>{a.d(Me,{L:()=>H,r:()=>ye});var t=a(655),o=a(4650),g=a(7579),l=a(2722),s=a(2539),L=a(2536),R=a(3187),T=a(445),M=a(6895),E=a(1102),O=a(6287);function F(X,ve){1&X&&o.GkF(0)}function V(X,ve){if(1&X&&(o.ynx(0),o.YNc(1,F,1,0,"ng-container",9),o.BQk()),2&X){const Se=o.oxw(3);o.xp6(1),o.Q6J("nzStringTemplateOutlet",Se.nzIcon)}}function S(X,ve){if(1&X&&o._UZ(0,"span",10),2&X){const Se=o.oxw(3);o.Q6J("nzType",Se.nzIconType||Se.inferredIconType)("nzTheme",Se.iconTheme)}}function e(X,ve){if(1&X&&(o.TgZ(0,"div",6),o.YNc(1,V,2,1,"ng-container",7),o.YNc(2,S,1,2,"ng-template",null,8,o.W1O),o.qZA()),2&X){const Se=o.MAs(3),wt=o.oxw(2);o.xp6(1),o.Q6J("ngIf",wt.nzIcon)("ngIfElse",Se)}}function I(X,ve){if(1&X&&(o.ynx(0),o._uU(1),o.BQk()),2&X){const Se=o.oxw(4);o.xp6(1),o.Oqu(Se.nzMessage)}}function w(X,ve){if(1&X&&(o.TgZ(0,"span",14),o.YNc(1,I,2,1,"ng-container",9),o.qZA()),2&X){const Se=o.oxw(3);o.xp6(1),o.Q6J("nzStringTemplateOutlet",Se.nzMessage)}}function pe(X,ve){if(1&X&&(o.ynx(0),o._uU(1),o.BQk()),2&X){const Se=o.oxw(4);o.xp6(1),o.Oqu(Se.nzDescription)}}function ae(X,ve){if(1&X&&(o.TgZ(0,"span",15),o.YNc(1,pe,2,1,"ng-container",9),o.qZA()),2&X){const Se=o.oxw(3);o.xp6(1),o.Q6J("nzStringTemplateOutlet",Se.nzDescription)}}function Z(X,ve){if(1&X&&(o.TgZ(0,"div",11),o.YNc(1,w,2,1,"span",12),o.YNc(2,ae,2,1,"span",13),o.qZA()),2&X){const Se=o.oxw(2);o.xp6(1),o.Q6J("ngIf",Se.nzMessage),o.xp6(1),o.Q6J("ngIf",Se.nzDescription)}}function U(X,ve){if(1&X&&(o.ynx(0),o._uU(1),o.BQk()),2&X){const Se=o.oxw(3);o.xp6(1),o.Oqu(Se.nzAction)}}function N(X,ve){if(1&X&&(o.TgZ(0,"div",16),o.YNc(1,U,2,1,"ng-container",9),o.qZA()),2&X){const Se=o.oxw(2);o.xp6(1),o.Q6J("nzStringTemplateOutlet",Se.nzAction)}}function q(X,ve){1&X&&o._UZ(0,"span",19)}function Y(X,ve){if(1&X&&(o.ynx(0),o.TgZ(1,"span",20),o._uU(2),o.qZA(),o.BQk()),2&X){const Se=o.oxw(4);o.xp6(2),o.Oqu(Se.nzCloseText)}}function k(X,ve){if(1&X&&(o.ynx(0),o.YNc(1,Y,3,1,"ng-container",9),o.BQk()),2&X){const Se=o.oxw(3);o.xp6(1),o.Q6J("nzStringTemplateOutlet",Se.nzCloseText)}}function me(X,ve){if(1&X){const Se=o.EpF();o.TgZ(0,"button",17),o.NdJ("click",function(){o.CHM(Se);const St=o.oxw(2);return o.KtG(St.closeAlert())}),o.YNc(1,q,1,0,"ng-template",null,18,o.W1O),o.YNc(3,k,2,1,"ng-container",7),o.qZA()}if(2&X){const Se=o.MAs(2),wt=o.oxw(2);o.xp6(3),o.Q6J("ngIf",wt.nzCloseText)("ngIfElse",Se)}}function fe(X,ve){if(1&X){const Se=o.EpF();o.TgZ(0,"div",1),o.NdJ("@slideAlertMotion.done",function(){o.CHM(Se);const St=o.oxw();return o.KtG(St.onFadeAnimationDone())}),o.YNc(1,e,4,2,"div",2),o.YNc(2,Z,3,2,"div",3),o.YNc(3,N,2,1,"div",4),o.YNc(4,me,4,2,"button",5),o.qZA()}if(2&X){const Se=o.oxw();o.ekj("ant-alert-rtl","rtl"===Se.dir)("ant-alert-success","success"===Se.nzType)("ant-alert-info","info"===Se.nzType)("ant-alert-warning","warning"===Se.nzType)("ant-alert-error","error"===Se.nzType)("ant-alert-no-icon",!Se.nzShowIcon)("ant-alert-banner",Se.nzBanner)("ant-alert-closable",Se.nzCloseable)("ant-alert-with-description",!!Se.nzDescription),o.Q6J("@.disabled",Se.nzNoAnimation)("@slideAlertMotion",void 0),o.xp6(1),o.Q6J("ngIf",Se.nzShowIcon),o.xp6(1),o.Q6J("ngIf",Se.nzMessage||Se.nzDescription),o.xp6(1),o.Q6J("ngIf",Se.nzAction),o.xp6(1),o.Q6J("ngIf",Se.nzCloseable||Se.nzCloseText)}}let ye=(()=>{class X{constructor(Se,wt,St){this.nzConfigService=Se,this.cdr=wt,this.directionality=St,this._nzModuleName="alert",this.nzAction=null,this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzIcon=null,this.nzOnClose=new o.vpe,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.dir="ltr",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new g.x,this.nzConfigService.getConfigChangeEventForComponent("alert").pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(Se=>{this.dir=Se,this.cdr.detectChanges()}),this.dir=this.directionality.value}closeAlert(){this.closed=!0}onFadeAnimationDone(){this.closed&&this.nzOnClose.emit(!0)}ngOnChanges(Se){const{nzShowIcon:wt,nzDescription:St,nzType:rn,nzBanner:ot}=Se;if(wt&&(this.isShowIconSet=!0),rn)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}St&&(this.iconTheme=this.nzDescription?"outline":"fill"),ot&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return X.\u0275fac=function(Se){return new(Se||X)(o.Y36(L.jY),o.Y36(o.sBO),o.Y36(T.Is,8))},X.\u0275cmp=o.Xpm({type:X,selectors:[["nz-alert"]],inputs:{nzAction:"nzAction",nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation",nzIcon:"nzIcon"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[o.TTD],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-rtl","ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],["class","ant-alert-icon",4,"ngIf"],["class","ant-alert-content",4,"ngIf"],["class","ant-alert-action",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],[1,"ant-alert-icon"],[4,"ngIf","ngIfElse"],["iconDefaultTemplate",""],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"],[1,"ant-alert-content"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],[1,"ant-alert-message"],[1,"ant-alert-description"],[1,"ant-alert-action"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(Se,wt){1&Se&&o.YNc(0,fe,5,24,"div",0),2&Se&&o.Q6J("ngIf",!wt.closed)},dependencies:[M.O5,E.Ls,O.f],encapsulation:2,data:{animation:[s.Rq]},changeDetection:0}),(0,t.gn)([(0,L.oS)(),(0,R.yF)()],X.prototype,"nzCloseable",void 0),(0,t.gn)([(0,L.oS)(),(0,R.yF)()],X.prototype,"nzShowIcon",void 0),(0,t.gn)([(0,R.yF)()],X.prototype,"nzBanner",void 0),(0,t.gn)([(0,R.yF)()],X.prototype,"nzNoAnimation",void 0),X})(),H=(()=>{class X{}return X.\u0275fac=function(Se){return new(Se||X)},X.\u0275mod=o.oAB({type:X}),X.\u0275inj=o.cJS({imports:[T.vT,M.ez,E.PV,O.T]}),X})()},2383:(Et,Me,a)=>{a.d(Me,{ic:()=>St});var t=a(445),o=a(8184),g=a(6895),l=a(4650),s=a(4903),L=a(6287),R=a(5635),T=a(7579),M=a(2722),E=a(8505),O=a(1005),F=a(9300),V=a(9521),S=a(4080);const X={provide:a(4006).JU,useExisting:(0,l.Gpc)(()=>Se),multi:!0};let Se=(()=>{class rn{constructor(gt,Dt,Wt,mn,At,_t){this.ngZone=gt,this.elementRef=Dt,this.overlay=Wt,this.viewContainerRef=mn,this.nzInputGroupWhitSuffixOrPrefixDirective=At,this.document=_t,this.onChange=()=>{},this.onTouched=()=>{},this.panelOpen=!1,this.destroy$=new T.x,this.overlayRef=null,this.portal=null,this.previousValue=null}get activeOption(){return this.nzAutocomplete&&this.nzAutocomplete.options.length?this.nzAutocomplete.activeItem:null}ngAfterViewInit(){this.nzAutocomplete&&this.nzAutocomplete.animationStateChange.pipe((0,M.R)(this.destroy$)).subscribe(gt=>{"void"===gt.toState&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.destroyPanel()}writeValue(gt){this.ngZone.runOutsideAngular(()=>Promise.resolve(null).then(()=>this.setTriggerValue(gt)))}registerOnChange(gt){this.onChange=gt}registerOnTouched(gt){this.onTouched=gt}setDisabledState(gt){this.elementRef.nativeElement.disabled=gt,this.closePanel()}openPanel(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()}closePanel(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.selectionChangeSubscription.unsubscribe(),this.overlayOutsideClickSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.portal=null))}handleKeydown(gt){const Dt=gt.keyCode,Wt=Dt===V.LH||Dt===V.JH;Dt===V.hY&>.preventDefault(),!this.panelOpen||Dt!==V.hY&&Dt!==V.Mf?this.panelOpen&&Dt===V.K5?this.nzAutocomplete.showPanel&&(gt.preventDefault(),this.activeOption?this.activeOption.selectViaInteraction():this.closePanel()):this.panelOpen&&Wt&&this.nzAutocomplete.showPanel&&(gt.stopPropagation(),gt.preventDefault(),Dt===V.LH?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())}handleInput(gt){const Dt=gt.target,Wt=this.document;let mn=Dt.value;"number"===Dt.type&&(mn=""===mn?null:parseFloat(mn)),this.previousValue!==mn&&(this.previousValue=mn,this.onChange(mn),this.canOpen()&&Wt.activeElement===gt.target&&this.openPanel())}handleFocus(){this.canOpen()&&this.openPanel()}handleBlur(){this.onTouched()}subscribeOptionsChange(){return this.nzAutocomplete.options.changes.pipe((0,E.b)(()=>this.positionStrategy.reapplyLastPosition()),(0,O.g)(0)).subscribe(()=>{this.resetActiveItem(),this.panelOpen&&this.overlayRef.updatePosition()})}subscribeSelectionChange(){return this.nzAutocomplete.selectionChange.subscribe(gt=>{this.setValueAndClose(gt)})}subscribeOverlayOutsideClick(){return this.overlayRef.outsidePointerEvents().pipe((0,F.h)(gt=>!this.elementRef.nativeElement.contains(gt.target))).subscribe(()=>{this.closePanel()})}attachOverlay(){if(!this.nzAutocomplete)throw function ve(){return Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}();!this.portal&&this.nzAutocomplete.template&&(this.portal=new S.UE(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick(),this.overlayRef.detachments().pipe((0,M.R)(this.destroy$)).subscribe(()=>{this.closePanel()})),this.nzAutocomplete.isOpen=this.panelOpen=!0}updateStatus(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()}destroyPanel(){this.overlayRef&&this.closePanel()}getOverlayConfig(){return new o.X_({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})}getConnectedElement(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}getOverlayPosition(){const gt=[new o.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new o.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(gt).withTransformOriginOn(".ant-select-dropdown"),this.positionStrategy}resetActiveItem(){const gt=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==gt?(this.nzAutocomplete.setActiveItem(gt),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)}setValueAndClose(gt){const Dt=gt.nzValue;this.setTriggerValue(gt.getLabel()),this.onChange(Dt),this.elementRef.nativeElement.focus(),this.closePanel()}setTriggerValue(gt){const Dt=this.nzAutocomplete.getOption(gt),Wt=Dt?Dt.getLabel():gt;this.elementRef.nativeElement.value=Wt??"",this.nzAutocomplete.nzBackfill||(this.previousValue=Wt)}doBackfill(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())}canOpen(){const gt=this.elementRef.nativeElement;return!gt.readOnly&&!gt.disabled}}return rn.\u0275fac=function(gt){return new(gt||rn)(l.Y36(l.R0b),l.Y36(l.SBq),l.Y36(o.aV),l.Y36(l.s_b),l.Y36(R.ke,8),l.Y36(g.K0,8))},rn.\u0275dir=l.lG2({type:rn,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(gt,Dt){1>&&l.NdJ("focusin",function(){return Dt.handleFocus()})("blur",function(){return Dt.handleBlur()})("input",function(mn){return Dt.handleInput(mn)})("keydown",function(mn){return Dt.handleKeydown(mn)})},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[l._Bn([X])]}),rn})(),St=(()=>{class rn{}return rn.\u0275fac=function(gt){return new(gt||rn)},rn.\u0275mod=l.oAB({type:rn}),rn.\u0275inj=l.cJS({imports:[t.vT,g.ez,o.U8,L.T,s.g,R.o7]}),rn})()},4383:(Et,Me,a)=>{a.d(Me,{Dz:()=>e,Rt:()=>w});var t=a(655),o=a(4650),g=a(2536),l=a(3187),s=a(3353),L=a(6895),R=a(1102),T=a(445);const M=["textEl"];function E(pe,ae){if(1&pe&&o._UZ(0,"span",3),2&pe){const Z=o.oxw();o.Q6J("nzType",Z.nzIcon)}}function O(pe,ae){if(1&pe){const Z=o.EpF();o.TgZ(0,"img",4),o.NdJ("error",function(N){o.CHM(Z);const q=o.oxw();return o.KtG(q.imgError(N))}),o.qZA()}if(2&pe){const Z=o.oxw();o.Q6J("src",Z.nzSrc,o.LSH),o.uIk("srcset",Z.nzSrcSet)("alt",Z.nzAlt)}}function F(pe,ae){if(1&pe&&(o.TgZ(0,"span",5,6),o._uU(2),o.qZA()),2&pe){const Z=o.oxw();o.Q6J("ngStyle",Z.textStyles),o.xp6(2),o.Oqu(Z.nzText)}}let e=(()=>{class pe{constructor(Z,U,N,q){this.nzConfigService=Z,this.elementRef=U,this.cdr=N,this.platform=q,this._nzModuleName="avatar",this.nzShape="circle",this.nzSize="default",this.nzGap=4,this.nzError=new o.vpe,this.hasText=!1,this.hasSrc=!0,this.hasIcon=!1,this.textStyles={},this.classMap={},this.customSize=null,this.el=this.elementRef.nativeElement}imgError(Z){this.nzError.emit(Z),Z.defaultPrevented||(this.hasSrc=!1,this.hasIcon=!1,this.hasText=!1,this.nzIcon?this.hasIcon=!0:this.nzText&&(this.hasText=!0),this.cdr.detectChanges(),this.setSizeStyle(),this.notifyCalc())}ngOnChanges(){this.hasText=!this.nzSrc&&!!this.nzText,this.hasIcon=!this.nzSrc&&!!this.nzIcon,this.hasSrc=!!this.nzSrc,this.setSizeStyle(),this.notifyCalc()}calcStringSize(){if(!this.hasText)return;const Z=this.textEl.nativeElement.offsetWidth,U=this.el.getBoundingClientRect().width,N=2*this.nzGap{this.calcStringSize()})}setSizeStyle(){this.customSize="number"==typeof this.nzSize?`${this.nzSize}px`:null,this.cdr.markForCheck()}}return pe.\u0275fac=function(Z){return new(Z||pe)(o.Y36(g.jY),o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(s.t4))},pe.\u0275cmp=o.Xpm({type:pe,selectors:[["nz-avatar"]],viewQuery:function(Z,U){if(1&Z&&o.Gf(M,5),2&Z){let N;o.iGM(N=o.CRH())&&(U.textEl=N.first)}},hostAttrs:[1,"ant-avatar"],hostVars:20,hostBindings:function(Z,U){2&Z&&(o.Udp("width",U.customSize)("height",U.customSize)("line-height",U.customSize)("font-size",U.hasIcon&&U.customSize?U.nzSize/2:null,"px"),o.ekj("ant-avatar-lg","large"===U.nzSize)("ant-avatar-sm","small"===U.nzSize)("ant-avatar-square","square"===U.nzShape)("ant-avatar-circle","circle"===U.nzShape)("ant-avatar-icon",U.nzIcon)("ant-avatar-image",U.hasSrc))},inputs:{nzShape:"nzShape",nzSize:"nzSize",nzGap:"nzGap",nzText:"nzText",nzSrc:"nzSrc",nzSrcSet:"nzSrcSet",nzAlt:"nzAlt",nzIcon:"nzIcon"},outputs:{nzError:"nzError"},exportAs:["nzAvatar"],features:[o.TTD],decls:3,vars:3,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[3,"src","error",4,"ngIf"],["class","ant-avatar-string",3,"ngStyle",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"src","error"],[1,"ant-avatar-string",3,"ngStyle"],["textEl",""]],template:function(Z,U){1&Z&&(o.YNc(0,E,1,1,"span",0),o.YNc(1,O,1,3,"img",1),o.YNc(2,F,3,2,"span",2)),2&Z&&(o.Q6J("ngIf",U.nzIcon&&U.hasIcon),o.xp6(1),o.Q6J("ngIf",U.nzSrc&&U.hasSrc),o.xp6(1),o.Q6J("ngIf",U.nzText&&U.hasText))},dependencies:[L.O5,L.PC,R.Ls],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,g.oS)()],pe.prototype,"nzShape",void 0),(0,t.gn)([(0,g.oS)()],pe.prototype,"nzSize",void 0),(0,t.gn)([(0,g.oS)(),(0,l.Rn)()],pe.prototype,"nzGap",void 0),pe})(),w=(()=>{class pe{}return pe.\u0275fac=function(Z){return new(Z||pe)},pe.\u0275mod=o.oAB({type:pe}),pe.\u0275inj=o.cJS({imports:[T.vT,L.ez,R.PV,s.ud]}),pe})()},48:(Et,Me,a)=>{a.d(Me,{F9:()=>te,mS:()=>ye,x7:()=>fe});var t=a(655),o=a(4650),g=a(7579),l=a(2722),s=a(2539),L=a(2536),R=a(3187),T=a(445),M=a(4903),E=a(6895),O=a(6287),F=a(9643);function V(H,X){if(1&H&&(o.TgZ(0,"p",6),o._uU(1),o.qZA()),2&H){const ve=X.$implicit,Se=o.oxw(2).index,wt=o.oxw(2);o.ekj("current",ve===wt.countArray[Se]),o.xp6(1),o.hij(" ",ve," ")}}function S(H,X){if(1&H&&(o.ynx(0),o.YNc(1,V,2,3,"p",5),o.BQk()),2&H){const ve=o.oxw(3);o.xp6(1),o.Q6J("ngForOf",ve.countSingleArray)}}function e(H,X){if(1&H&&(o.TgZ(0,"span",3),o.YNc(1,S,2,1,"ng-container",4),o.qZA()),2&H){const ve=X.index,Se=o.oxw(2);o.Udp("transform","translateY("+100*-Se.countArray[ve]+"%)"),o.Q6J("nzNoAnimation",Se.noAnimation),o.xp6(1),o.Q6J("ngIf",!Se.nzDot&&void 0!==Se.countArray[ve])}}function I(H,X){if(1&H&&(o.ynx(0),o.YNc(1,e,2,4,"span",2),o.BQk()),2&H){const ve=o.oxw();o.xp6(1),o.Q6J("ngForOf",ve.maxNumberArray)}}function w(H,X){if(1&H&&o._uU(0),2&H){const ve=o.oxw();o.hij("",ve.nzOverflowCount,"+")}}function pe(H,X){if(1&H&&(o.ynx(0),o._uU(1),o.BQk()),2&H){const ve=o.oxw(2);o.xp6(1),o.Oqu(ve.nzText)}}function ae(H,X){if(1&H&&(o.ynx(0),o._UZ(1,"span",2),o.TgZ(2,"span",3),o.YNc(3,pe,2,1,"ng-container",1),o.qZA(),o.BQk()),2&H){const ve=o.oxw();o.xp6(1),o.Gre("ant-badge-status-dot ant-badge-status-",ve.nzStatus||ve.presetColor,""),o.Udp("background",!ve.presetColor&&ve.nzColor),o.Q6J("ngStyle",ve.nzStyle),o.xp6(2),o.Q6J("nzStringTemplateOutlet",ve.nzText)}}function Z(H,X){if(1&H&&o._UZ(0,"nz-badge-sup",5),2&H){const ve=o.oxw(2);o.Q6J("nzOffset",ve.nzOffset)("nzSize",ve.nzSize)("nzTitle",ve.nzTitle)("nzStyle",ve.nzStyle)("nzDot",ve.nzDot)("nzOverflowCount",ve.nzOverflowCount)("disableAnimation",!!(ve.nzStandalone||ve.nzStatus||ve.nzColor||null!=ve.noAnimation&&ve.noAnimation.nzNoAnimation))("nzCount",ve.nzCount)("noAnimation",!(null==ve.noAnimation||!ve.noAnimation.nzNoAnimation))}}function U(H,X){if(1&H&&(o.ynx(0),o.YNc(1,Z,1,9,"nz-badge-sup",4),o.BQk()),2&H){const ve=o.oxw();o.xp6(1),o.Q6J("ngIf",ve.showSup)}}const N=["*"];function q(H,X){if(1&H&&(o.ynx(0),o.TgZ(1,"span",3),o._uU(2),o.qZA(),o.BQk()),2&H){const ve=o.oxw();o.xp6(2),o.Oqu(ve.nzText)}}const Y=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let k=(()=>{class H{constructor(){this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.nzSize="default",this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9]}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(ve){const{nzOverflowCount:Se,nzCount:wt}=ve;wt&&"number"==typeof wt.currentValue&&(this.count=Math.max(0,wt.currentValue),this.countArray=this.count.toString().split("").map(St=>+St)),Se&&this.generateMaxNumberArray()}}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275cmp=o.Xpm({type:H,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:17,hostBindings:function(ve,Se){2&ve&&(o.uIk("title",null===Se.nzTitle?"":Se.nzTitle||Se.nzCount),o.d8E("@.disabled",Se.disableAnimation)("@zoomBadgeMotion",void 0),o.Akn(Se.nzStyle),o.Udp("right",Se.nzOffset&&Se.nzOffset[0]?-Se.nzOffset[0]:null,"px")("margin-top",Se.nzOffset&&Se.nzOffset[1]?Se.nzOffset[1]:null,"px"),o.ekj("ant-badge-count",!Se.nzDot)("ant-badge-count-sm","small"===Se.nzSize)("ant-badge-dot",Se.nzDot)("ant-badge-multiple-words",Se.countArray.length>=2))},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzCount:"nzCount",noAnimation:"noAnimation",nzSize:"nzSize"},exportAs:["nzBadgeSup"],features:[o.TTD],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(ve,Se){if(1&ve&&(o.YNc(0,I,2,1,"ng-container",0),o.YNc(1,w,1,1,"ng-template",null,1,o.W1O)),2&ve){const wt=o.MAs(2);o.Q6J("ngIf",Se.count<=Se.nzOverflowCount)("ngIfElse",wt)}},dependencies:[E.sg,E.O5,M.P],encapsulation:2,data:{animation:[s.Ev]},changeDetection:0}),H})(),fe=(()=>{class H{constructor(ve,Se,wt,St,rn,ot){this.nzConfigService=ve,this.renderer=Se,this.cdr=wt,this.elementRef=St,this.directionality=rn,this.noAnimation=ot,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new g.x,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null,this.nzSize="default"}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(ve=>{this.dir=ve,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(ve){const{nzColor:Se,nzShowDot:wt,nzDot:St,nzCount:rn,nzShowZero:ot}=ve;Se&&(this.presetColor=this.nzColor&&-1!==Y.indexOf(this.nzColor)?this.nzColor:null),(wt||St||rn||ot)&&(this.showSup=this.nzShowDot&&this.nzDot||this.nzCount>0||this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return H.\u0275fac=function(ve){return new(ve||H)(o.Y36(L.jY),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(T.Is,8),o.Y36(M.P,9))},H.\u0275cmp=o.Xpm({type:H,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:4,hostBindings:function(ve,Se){2&ve&&o.ekj("ant-badge-status",Se.nzStatus)("ant-badge-not-a-wrapper",!!(Se.nzStandalone||Se.nzStatus||Se.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset",nzSize:"nzSize"},exportAs:["nzBadge"],features:[o.TTD],ngContentSelectors:N,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzSize","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(ve,Se){1&ve&&(o.F$t(),o.YNc(0,ae,4,7,"ng-container",0),o.Hsn(1),o.YNc(2,U,2,1,"ng-container",1)),2&ve&&(o.Q6J("ngIf",Se.nzStatus||Se.nzColor),o.xp6(2),o.Q6J("nzStringTemplateOutlet",Se.nzCount))},dependencies:[E.O5,E.PC,O.f,k],encapsulation:2,data:{animation:[s.Ev]},changeDetection:0}),(0,t.gn)([(0,R.yF)()],H.prototype,"nzShowZero",void 0),(0,t.gn)([(0,R.yF)()],H.prototype,"nzShowDot",void 0),(0,t.gn)([(0,R.yF)()],H.prototype,"nzStandalone",void 0),(0,t.gn)([(0,R.yF)()],H.prototype,"nzDot",void 0),(0,t.gn)([(0,L.oS)()],H.prototype,"nzOverflowCount",void 0),(0,t.gn)([(0,L.oS)()],H.prototype,"nzColor",void 0),H})(),te=(()=>{class H{constructor(){this.nzPlacement="end",this.nzText=null,this.presetColor=null}ngOnChanges(ve){const{nzColor:Se}=ve;Se&&(this.presetColor=this.nzColor&&-1!==Y.indexOf(this.nzColor)?this.nzColor:null)}}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275cmp=o.Xpm({type:H,selectors:[["nz-ribbon"]],hostAttrs:[1,"ant-ribbon-wrapper"],inputs:{nzColor:"nzColor",nzPlacement:"nzPlacement",nzText:"nzText"},exportAs:["nzRibbon"],features:[o.TTD],ngContentSelectors:N,decls:4,vars:11,consts:[[1,"ant-ribbon"],[4,"nzStringTemplateOutlet"],[1,"ant-ribbon-corner"],[1,"ant-ribbon-text"]],template:function(ve,Se){1&ve&&(o.F$t(),o.Hsn(0),o.TgZ(1,"div",0),o.YNc(2,q,3,1,"ng-container",1),o._UZ(3,"div",2),o.qZA()),2&ve&&(o.xp6(1),o.Tol(Se.presetColor&&"ant-ribbon-color-"+Se.presetColor),o.Udp("background-color",!Se.presetColor&&Se.nzColor),o.ekj("ant-ribbon-placement-end","end"===Se.nzPlacement)("ant-ribbon-placement-start","start"===Se.nzPlacement),o.xp6(1),o.Q6J("nzStringTemplateOutlet",Se.nzText),o.xp6(1),o.Udp("color",!Se.presetColor&&Se.nzColor))},dependencies:[O.f],encapsulation:2,changeDetection:0}),H})(),ye=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=o.oAB({type:H}),H.\u0275inj=o.cJS({imports:[T.vT,E.ez,F.Q8,O.T,M.g]}),H})()},6616:(Et,Me,a)=>{a.d(Me,{fY:()=>Z,ix:()=>ae,sL:()=>U});var t=a(655),o=a(4650),g=a(7579),l=a(4968),s=a(2722),L=a(8675),R=a(9300),T=a(2536),M=a(3187),E=a(1102),O=a(445),F=a(6895),V=a(7044),S=a(1664);const e=["nz-button",""];function I(N,q){1&N&&o._UZ(0,"span",1)}const w=["*"];let ae=(()=>{class N{constructor(Y,k,me,fe,te,ye){this.ngZone=Y,this.elementRef=k,this.cdr=me,this.renderer=fe,this.nzConfigService=te,this.directionality=ye,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new g.x,this.loading$=new g.x,this.nzConfigService.getConfigChangeEventForComponent("button").pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}insertSpan(Y,k){Y.forEach(me=>{if("#text"===me.nodeName){const fe=k.createElement("span"),te=k.parentNode(me);k.insertBefore(te,fe,me),k.appendChild(fe,me)}})}assertIconOnly(Y,k){const me=Array.from(Y.childNodes),fe=me.filter(X=>{const ve=Array.from(X.childNodes||[]);return"SPAN"===X.nodeName&&ve.length>0&&ve.every(Se=>"svg"===Se.nodeName)}).length,te=me.every(X=>"#text"!==X.nodeName);me.filter(X=>{const ve=Array.from(X.childNodes||[]);return!("SPAN"===X.nodeName&&ve.length>0&&ve.every(Se=>"svg"===Se.nodeName))}).every(X=>"SPAN"!==X.nodeName)&&te&&fe>=1&&k.addClass(Y,"ant-btn-icon-only")}ngOnInit(){this.directionality.change?.pipe((0,s.R)(this.destroy$)).subscribe(Y=>{this.dir=Y,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,l.R)(this.elementRef.nativeElement,"click",{capture:!0}).pipe((0,s.R)(this.destroy$)).subscribe(Y=>{(this.disabled&&"A"===Y.target?.tagName||this.nzLoading)&&(Y.preventDefault(),Y.stopImmediatePropagation())})})}ngOnChanges(Y){const{nzLoading:k}=Y;k&&this.loading$.next(this.nzLoading)}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe((0,L.O)(this.nzLoading),(0,R.h)(()=>!!this.nzIconDirectiveElement),(0,s.R)(this.destroy$)).subscribe(Y=>{const k=this.nzIconDirectiveElement.nativeElement;Y?this.renderer.setStyle(k,"display","none"):this.renderer.removeStyle(k,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return N.\u0275fac=function(Y){return new(Y||N)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(T.jY),o.Y36(O.Is,8))},N.\u0275cmp=o.Xpm({type:N,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(Y,k,me){if(1&Y&&o.Suo(me,E.Ls,5,o.SBq),2&Y){let fe;o.iGM(fe=o.CRH())&&(k.nzIconDirectiveElement=fe.first)}},hostAttrs:[1,"ant-btn"],hostVars:30,hostBindings:function(Y,k){2&Y&&(o.uIk("tabindex",k.disabled?-1:null===k.tabIndex?null:k.tabIndex)("disabled",k.disabled||null),o.ekj("ant-btn-primary","primary"===k.nzType)("ant-btn-dashed","dashed"===k.nzType)("ant-btn-link","link"===k.nzType)("ant-btn-text","text"===k.nzType)("ant-btn-circle","circle"===k.nzShape)("ant-btn-round","round"===k.nzShape)("ant-btn-lg","large"===k.nzSize)("ant-btn-sm","small"===k.nzSize)("ant-btn-dangerous",k.nzDanger)("ant-btn-loading",k.nzLoading)("ant-btn-background-ghost",k.nzGhost)("ant-btn-block",k.nzBlock)("ant-input-search-button",k.nzSearch)("ant-btn-rtl","rtl"===k.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[o.TTD],attrs:e,ngContentSelectors:w,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(Y,k){1&Y&&(o.F$t(),o.YNc(0,I,1,0,"span",0),o.Hsn(1)),2&Y&&o.Q6J("ngIf",k.nzLoading)},dependencies:[F.O5,E.Ls,V.w],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,M.yF)()],N.prototype,"nzBlock",void 0),(0,t.gn)([(0,M.yF)()],N.prototype,"nzGhost",void 0),(0,t.gn)([(0,M.yF)()],N.prototype,"nzSearch",void 0),(0,t.gn)([(0,M.yF)()],N.prototype,"nzLoading",void 0),(0,t.gn)([(0,M.yF)()],N.prototype,"nzDanger",void 0),(0,t.gn)([(0,M.yF)()],N.prototype,"disabled",void 0),(0,t.gn)([(0,T.oS)()],N.prototype,"nzSize",void 0),N})(),Z=(()=>{class N{constructor(Y){this.directionality=Y,this.nzSize="default",this.dir="ltr",this.destroy$=new g.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,s.R)(this.destroy$)).subscribe(Y=>{this.dir=Y})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return N.\u0275fac=function(Y){return new(Y||N)(o.Y36(O.Is,8))},N.\u0275cmp=o.Xpm({type:N,selectors:[["nz-button-group"]],hostAttrs:[1,"ant-btn-group"],hostVars:6,hostBindings:function(Y,k){2&Y&&o.ekj("ant-btn-group-lg","large"===k.nzSize)("ant-btn-group-sm","small"===k.nzSize)("ant-btn-group-rtl","rtl"===k.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:w,decls:1,vars:0,template:function(Y,k){1&Y&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),N})(),U=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275mod=o.oAB({type:N}),N.\u0275inj=o.cJS({imports:[O.vT,F.ez,S.vG,E.PV,V.a,V.a,S.vG]}),N})()},1971:(Et,Me,a)=>{a.d(Me,{_i:()=>rn,bd:()=>Dt,vh:()=>mn});var t=a(655),o=a(4650),g=a(3187),l=a(7579),s=a(2722),L=a(2536),R=a(445),T=a(6895),M=a(6287);function E(At,_t){1&At&&o.Hsn(0)}const O=["*"];function F(At,_t){1&At&&(o.TgZ(0,"div",4),o._UZ(1,"div",5),o.qZA()),2&At&&o.Q6J("ngClass",_t.$implicit)}function V(At,_t){if(1&At&&(o.TgZ(0,"div",2),o.YNc(1,F,2,1,"div",3),o.qZA()),2&At){const Xt=_t.$implicit;o.xp6(1),o.Q6J("ngForOf",Xt)}}function S(At,_t){if(1&At&&(o.ynx(0),o._uU(1),o.BQk()),2&At){const Xt=o.oxw(3);o.xp6(1),o.Oqu(Xt.nzTitle)}}function e(At,_t){if(1&At&&(o.TgZ(0,"div",11),o.YNc(1,S,2,1,"ng-container",12),o.qZA()),2&At){const Xt=o.oxw(2);o.xp6(1),o.Q6J("nzStringTemplateOutlet",Xt.nzTitle)}}function I(At,_t){if(1&At&&(o.ynx(0),o._uU(1),o.BQk()),2&At){const Xt=o.oxw(3);o.xp6(1),o.Oqu(Xt.nzExtra)}}function w(At,_t){if(1&At&&(o.TgZ(0,"div",13),o.YNc(1,I,2,1,"ng-container",12),o.qZA()),2&At){const Xt=o.oxw(2);o.xp6(1),o.Q6J("nzStringTemplateOutlet",Xt.nzExtra)}}function pe(At,_t){}function ae(At,_t){if(1&At&&(o.ynx(0),o.YNc(1,pe,0,0,"ng-template",14),o.BQk()),2&At){const Xt=o.oxw(2);o.xp6(1),o.Q6J("ngTemplateOutlet",Xt.listOfNzCardTabComponent.template)}}function Z(At,_t){if(1&At&&(o.TgZ(0,"div",6)(1,"div",7),o.YNc(2,e,2,1,"div",8),o.YNc(3,w,2,1,"div",9),o.qZA(),o.YNc(4,ae,2,1,"ng-container",10),o.qZA()),2&At){const Xt=o.oxw();o.xp6(2),o.Q6J("ngIf",Xt.nzTitle),o.xp6(1),o.Q6J("ngIf",Xt.nzExtra),o.xp6(1),o.Q6J("ngIf",Xt.listOfNzCardTabComponent)}}function U(At,_t){}function N(At,_t){if(1&At&&(o.TgZ(0,"div",15),o.YNc(1,U,0,0,"ng-template",14),o.qZA()),2&At){const Xt=o.oxw();o.xp6(1),o.Q6J("ngTemplateOutlet",Xt.nzCover)}}function q(At,_t){1&At&&(o.ynx(0),o.Hsn(1),o.BQk())}function Y(At,_t){1&At&&o._UZ(0,"nz-card-loading")}function k(At,_t){}function me(At,_t){if(1&At&&(o.TgZ(0,"li")(1,"span"),o.YNc(2,k,0,0,"ng-template",14),o.qZA()()),2&At){const Xt=_t.$implicit,ct=o.oxw(2);o.Udp("width",100/ct.nzActions.length,"%"),o.xp6(2),o.Q6J("ngTemplateOutlet",Xt)}}function fe(At,_t){if(1&At&&(o.TgZ(0,"ul",16),o.YNc(1,me,3,3,"li",17),o.qZA()),2&At){const Xt=o.oxw();o.xp6(1),o.Q6J("ngForOf",Xt.nzActions)}}let St=(()=>{class At{constructor(){this.nzHoverable=!0}}return At.\u0275fac=function(Xt){return new(Xt||At)},At.\u0275dir=o.lG2({type:At,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(Xt,ct){2&Xt&&o.ekj("ant-card-hoverable",ct.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"]}),(0,t.gn)([(0,g.yF)()],At.prototype,"nzHoverable",void 0),At})(),rn=(()=>{class At{}return At.\u0275fac=function(Xt){return new(Xt||At)},At.\u0275cmp=o.Xpm({type:At,selectors:[["nz-card-tab"]],viewQuery:function(Xt,ct){if(1&Xt&&o.Gf(o.Rgc,7),2&Xt){let Rt;o.iGM(Rt=o.CRH())&&(ct.template=Rt.first)}},exportAs:["nzCardTab"],ngContentSelectors:O,decls:1,vars:0,template:function(Xt,ct){1&Xt&&(o.F$t(),o.YNc(0,E,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),At})(),ot=(()=>{class At{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}}return At.\u0275fac=function(Xt){return new(Xt||At)},At.\u0275cmp=o.Xpm({type:At,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(Xt,ct){1&Xt&&(o.TgZ(0,"div",0),o.YNc(1,V,2,1,"div",1),o.qZA()),2&Xt&&(o.xp6(1),o.Q6J("ngForOf",ct.listOfLoading))},dependencies:[T.mk,T.sg],encapsulation:2,changeDetection:0}),At})(),Dt=(()=>{class At{constructor(Xt,ct,Rt){this.nzConfigService=Xt,this.cdr=ct,this.directionality=Rt,this._nzModuleName="card",this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new l.x,this.nzConfigService.getConfigChangeEventForComponent("card").pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){this.directionality.change?.pipe((0,s.R)(this.destroy$)).subscribe(Xt=>{this.dir=Xt,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return At.\u0275fac=function(Xt){return new(Xt||At)(o.Y36(L.jY),o.Y36(o.sBO),o.Y36(R.Is,8))},At.\u0275cmp=o.Xpm({type:At,selectors:[["nz-card"]],contentQueries:function(Xt,ct,Rt){if(1&Xt&&(o.Suo(Rt,rn,5),o.Suo(Rt,St,4)),2&Xt){let sn;o.iGM(sn=o.CRH())&&(ct.listOfNzCardTabComponent=sn.first),o.iGM(sn=o.CRH())&&(ct.listOfNzCardGridDirective=sn)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(Xt,ct){2&Xt&&o.ekj("ant-card-loading",ct.nzLoading)("ant-card-bordered",!1===ct.nzBorderless&&ct.nzBordered)("ant-card-hoverable",ct.nzHoverable)("ant-card-small","small"===ct.nzSize)("ant-card-contain-grid",ct.listOfNzCardGridDirective&&ct.listOfNzCardGridDirective.length)("ant-card-type-inner","inner"===ct.nzType)("ant-card-contain-tabs",!!ct.listOfNzCardTabComponent)("ant-card-rtl","rtl"===ct.dir)},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:O,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(Xt,ct){if(1&Xt&&(o.F$t(),o.YNc(0,Z,5,3,"div",0),o.YNc(1,N,2,1,"div",1),o.TgZ(2,"div",2),o.YNc(3,q,2,0,"ng-container",3),o.YNc(4,Y,1,0,"ng-template",null,4,o.W1O),o.qZA(),o.YNc(6,fe,2,1,"ul",5)),2&Xt){const Rt=o.MAs(5);o.Q6J("ngIf",ct.nzTitle||ct.nzExtra||ct.listOfNzCardTabComponent),o.xp6(1),o.Q6J("ngIf",ct.nzCover),o.xp6(1),o.Q6J("ngStyle",ct.nzBodyStyle),o.xp6(1),o.Q6J("ngIf",!ct.nzLoading)("ngIfElse",Rt),o.xp6(3),o.Q6J("ngIf",ct.nzActions.length)}},dependencies:[T.sg,T.O5,T.tP,T.PC,M.f,ot],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,L.oS)(),(0,g.yF)()],At.prototype,"nzBordered",void 0),(0,t.gn)([(0,L.oS)(),(0,g.yF)()],At.prototype,"nzBorderless",void 0),(0,t.gn)([(0,g.yF)()],At.prototype,"nzLoading",void 0),(0,t.gn)([(0,L.oS)(),(0,g.yF)()],At.prototype,"nzHoverable",void 0),(0,t.gn)([(0,L.oS)()],At.prototype,"nzSize",void 0),At})(),mn=(()=>{class At{}return At.\u0275fac=function(Xt){return new(Xt||At)},At.\u0275mod=o.oAB({type:At}),At.\u0275inj=o.cJS({imports:[T.ez,M.T,R.vT]}),At})()},1519:(Et,Me,a)=>{a.d(Me,{D3:()=>L,y7:()=>T});var t=a(4650),o=a(1281),g=a(9751),l=a(7579);let s=(()=>{class M{create(O){return typeof ResizeObserver>"u"?null:new ResizeObserver(O)}}return M.\u0275fac=function(O){return new(O||M)},M.\u0275prov=t.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),L=(()=>{class M{constructor(O){this.nzResizeObserverFactory=O,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((O,F)=>this.cleanupObserver(F))}observe(O){const F=(0,o.fI)(O);return new g.y(V=>{const e=this.observeElement(F).subscribe(V);return()=>{e.unsubscribe(),this.unobserveElement(F)}})}observeElement(O){if(this.observedElements.has(O))this.observedElements.get(O).count++;else{const F=new l.x,V=this.nzResizeObserverFactory.create(S=>F.next(S));V&&V.observe(O),this.observedElements.set(O,{observer:V,stream:F,count:1})}return this.observedElements.get(O).stream}unobserveElement(O){this.observedElements.has(O)&&(this.observedElements.get(O).count--,this.observedElements.get(O).count||this.cleanupObserver(O))}cleanupObserver(O){if(this.observedElements.has(O)){const{observer:F,stream:V}=this.observedElements.get(O);F&&F.disconnect(),V.complete(),this.observedElements.delete(O)}}}return M.\u0275fac=function(O){return new(O||M)(t.LFG(s))},M.\u0275prov=t.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),T=(()=>{class M{}return M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({providers:[s]}),M})()},8213:(Et,Me,a)=>{a.d(Me,{Ie:()=>w,Wr:()=>ae,ub:()=>pe});var t=a(655),o=a(4650),g=a(4006),l=a(7579),s=a(4968),L=a(2722),R=a(3187),T=a(2687),M=a(445),E=a(9570),O=a(6895);const F=["*"],V=["inputElement"],S=["nz-checkbox",""];function e(Z,U){if(1&Z){const N=o.EpF();o.TgZ(0,"label",1),o.NdJ("nzCheckedChange",function(Y){const me=o.CHM(N).$implicit,fe=o.oxw();return o.KtG(fe.onCheckedChange(me,Y))}),o.TgZ(1,"span"),o._uU(2),o.qZA()()}if(2&Z){const N=U.$implicit,q=o.oxw();o.Q6J("nzDisabled",N.disabled||q.nzDisabled)("nzChecked",N.checked),o.xp6(2),o.Oqu(N.label)}}let I=(()=>{class Z{constructor(N,q){this.nzOnChange=new o.vpe,this.checkboxList=[],N.addClass(q.nativeElement,"ant-checkbox-group")}addCheckbox(N){this.checkboxList.push(N)}removeCheckbox(N){this.checkboxList.splice(this.checkboxList.indexOf(N),1)}onChange(){const N=this.checkboxList.filter(q=>q.nzChecked).map(q=>q.nzValue);this.nzOnChange.emit(N)}}return Z.\u0275fac=function(N){return new(N||Z)(o.Y36(o.Qsj),o.Y36(o.SBq))},Z.\u0275cmp=o.Xpm({type:Z,selectors:[["nz-checkbox-wrapper"]],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:F,decls:1,vars:0,template:function(N,q){1&N&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),Z})(),w=(()=>{class Z{constructor(N,q,Y,k,me,fe,te){this.ngZone=N,this.elementRef=q,this.nzCheckboxWrapperComponent=Y,this.cdr=k,this.focusMonitor=me,this.directionality=fe,this.nzFormStatusService=te,this.dir="ltr",this.destroy$=new l.x,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new o.vpe,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.nzId=null}innerCheckedChange(N){this.nzDisabled||(this.nzChecked=N,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(N){this.nzChecked=N,this.cdr.markForCheck()}registerOnChange(N){this.onChange=N}registerOnTouched(N){this.onTouched=N}setDisabledState(N){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||N,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,L.R)(this.destroy$)).subscribe(N=>{N||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),this.directionality.change.pipe((0,L.R)(this.destroy$)).subscribe(N=>{this.dir=N,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,s.R)(this.elementRef.nativeElement,"click").pipe((0,L.R)(this.destroy$)).subscribe(N=>{N.preventDefault(),this.focus(),!this.nzDisabled&&this.ngZone.run(()=>{this.innerCheckedChange(!this.nzChecked),this.cdr.markForCheck()})}),(0,s.R)(this.inputElement.nativeElement,"click").pipe((0,L.R)(this.destroy$)).subscribe(N=>N.stopPropagation())})}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}}return Z.\u0275fac=function(N){return new(N||Z)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(I,8),o.Y36(o.sBO),o.Y36(T.tE),o.Y36(M.Is,8),o.Y36(E.kH,8))},Z.\u0275cmp=o.Xpm({type:Z,selectors:[["","nz-checkbox",""]],viewQuery:function(N,q){if(1&N&&o.Gf(V,7),2&N){let Y;o.iGM(Y=o.CRH())&&(q.inputElement=Y.first)}},hostAttrs:[1,"ant-checkbox-wrapper"],hostVars:6,hostBindings:function(N,q){2&N&&o.ekj("ant-checkbox-wrapper-in-form-item",!!q.nzFormStatusService)("ant-checkbox-wrapper-checked",q.nzChecked)("ant-checkbox-rtl","rtl"===q.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked",nzId:"nzId"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[o._Bn([{provide:g.JU,useExisting:(0,o.Gpc)(()=>Z),multi:!0}])],attrs:S,ngContentSelectors:F,decls:6,vars:11,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(N,q){1&N&&(o.F$t(),o.TgZ(0,"span",0)(1,"input",1,2),o.NdJ("ngModelChange",function(k){return q.innerCheckedChange(k)}),o.qZA(),o._UZ(3,"span",3),o.qZA(),o.TgZ(4,"span"),o.Hsn(5),o.qZA()),2&N&&(o.ekj("ant-checkbox-checked",q.nzChecked&&!q.nzIndeterminate)("ant-checkbox-disabled",q.nzDisabled)("ant-checkbox-indeterminate",q.nzIndeterminate),o.xp6(1),o.Q6J("checked",q.nzChecked)("ngModel",q.nzChecked)("disabled",q.nzDisabled),o.uIk("autofocus",q.nzAutoFocus?"autofocus":null)("id",q.nzId))},dependencies:[g.Wl,g.JJ,g.On],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,R.yF)()],Z.prototype,"nzAutoFocus",void 0),(0,t.gn)([(0,R.yF)()],Z.prototype,"nzDisabled",void 0),(0,t.gn)([(0,R.yF)()],Z.prototype,"nzIndeterminate",void 0),(0,t.gn)([(0,R.yF)()],Z.prototype,"nzChecked",void 0),Z})(),pe=(()=>{class Z{constructor(N,q,Y,k){this.elementRef=N,this.focusMonitor=q,this.cdr=Y,this.directionality=k,this.onChange=()=>{},this.onTouched=()=>{},this.options=[],this.nzDisabled=!1,this.dir="ltr",this.destroy$=new l.x}trackByOption(N,q){return q.value}onCheckedChange(N,q){N.checked=q,this.onChange(this.options)}ngOnInit(){this.focusMonitor.monitor(this.elementRef,!0).pipe((0,L.R)(this.destroy$)).subscribe(N=>{N||Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,L.R)(this.destroy$)).subscribe(N=>{this.dir=N,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}writeValue(N){this.options=N,this.cdr.markForCheck()}registerOnChange(N){this.onChange=N}registerOnTouched(N){this.onTouched=N}setDisabledState(N){this.nzDisabled=N,this.cdr.markForCheck()}}return Z.\u0275fac=function(N){return new(N||Z)(o.Y36(o.SBq),o.Y36(T.tE),o.Y36(o.sBO),o.Y36(M.Is,8))},Z.\u0275cmp=o.Xpm({type:Z,selectors:[["nz-checkbox-group"]],hostAttrs:[1,"ant-checkbox-group"],hostVars:2,hostBindings:function(N,q){2&N&&o.ekj("ant-checkbox-group-rtl","rtl"===q.dir)},inputs:{nzDisabled:"nzDisabled"},exportAs:["nzCheckboxGroup"],features:[o._Bn([{provide:g.JU,useExisting:(0,o.Gpc)(()=>Z),multi:!0}])],decls:1,vars:2,consts:[["nz-checkbox","","class","ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange",4,"ngFor","ngForOf","ngForTrackBy"],["nz-checkbox","",1,"ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange"]],template:function(N,q){1&N&&o.YNc(0,e,3,3,"label",0),2&N&&o.Q6J("ngForOf",q.options)("ngForTrackBy",q.trackByOption)},dependencies:[O.sg,w],encapsulation:2}),(0,t.gn)([(0,R.yF)()],Z.prototype,"nzDisabled",void 0),Z})(),ae=(()=>{class Z{}return Z.\u0275fac=function(N){return new(N||Z)},Z.\u0275mod=o.oAB({type:Z}),Z.\u0275inj=o.cJS({imports:[M.vT,O.ez,g.u5,T.rt]}),Z})()},2539:(Et,Me,a)=>{a.d(Me,{$C:()=>S,Ev:()=>e,J_:()=>l,MC:()=>L,Rq:()=>V,c8:()=>R,mF:()=>F});var t=a(7340);let o=(()=>{class w{}return w.SLOW="0.3s",w.BASE="0.2s",w.FAST="0.1s",w})(),g=(()=>{class w{}return w.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",w.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",w.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",w.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",w.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",w.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",w.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",w.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",w.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",w.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",w.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",w.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",w.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",w.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",w})();const l=(0,t.X$)("collapseMotion",[(0,t.SB)("expanded",(0,t.oB)({height:"*"})),(0,t.SB)("collapsed",(0,t.oB)({height:0,overflow:"hidden"})),(0,t.SB)("hidden",(0,t.oB)({height:0,overflow:"hidden",borderTopWidth:"0"})),(0,t.eR)("expanded => collapsed",(0,t.jt)(`150ms ${g.EASE_IN_OUT}`)),(0,t.eR)("expanded => hidden",(0,t.jt)(`150ms ${g.EASE_IN_OUT}`)),(0,t.eR)("collapsed => expanded",(0,t.jt)(`150ms ${g.EASE_IN_OUT}`)),(0,t.eR)("hidden => expanded",(0,t.jt)(`150ms ${g.EASE_IN_OUT}`))]),L=((0,t.X$)("treeCollapseMotion",[(0,t.eR)("* => *",[(0,t.IO)("nz-tree-node:leave,nz-tree-builtin-node:leave",[(0,t.oB)({overflow:"hidden"}),(0,t.EY)(0,[(0,t.jt)(`150ms ${g.EASE_IN_OUT}`,(0,t.oB)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),(0,t.IO)("nz-tree-node:enter,nz-tree-builtin-node:enter",[(0,t.oB)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),(0,t.EY)(0,[(0,t.jt)(`150ms ${g.EASE_IN_OUT}`,(0,t.oB)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),(0,t.X$)("fadeMotion",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0}),(0,t.jt)(`${o.BASE}`,(0,t.oB)({opacity:1}))]),(0,t.eR)(":leave",[(0,t.oB)({opacity:1}),(0,t.jt)(`${o.BASE}`,(0,t.oB)({opacity:0}))])])),R=(0,t.X$)("helpMotion",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0,transform:"translateY(-5px)"}),(0,t.jt)(`${o.SLOW} ${g.EASE_IN_OUT}`,(0,t.oB)({opacity:1,transform:"translateY(0)"}))]),(0,t.eR)(":leave",[(0,t.oB)({opacity:1,transform:"translateY(0)"}),(0,t.jt)(`${o.SLOW} ${g.EASE_IN_OUT}`,(0,t.oB)({opacity:0,transform:"translateY(-5px)"}))])]),E=((0,t.X$)("moveUpMotion",[(0,t.eR)("* => enter",[(0,t.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),(0,t.jt)(`${o.BASE}`,(0,t.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),(0,t.eR)("* => leave",[(0,t.oB)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),(0,t.jt)(`${o.BASE}`,(0,t.oB)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),(0,t.X$)("notificationMotion",[(0,t.SB)("enterRight",(0,t.oB)({opacity:1,transform:"translateX(0)"})),(0,t.eR)("* => enterRight",[(0,t.oB)({opacity:0,transform:"translateX(5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("enterLeft",(0,t.oB)({opacity:1,transform:"translateX(0)"})),(0,t.eR)("* => enterLeft",[(0,t.oB)({opacity:0,transform:"translateX(-5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("enterTop",(0,t.oB)({opacity:1,transform:"translateY(0)"})),(0,t.eR)("* => enterTop",[(0,t.oB)({opacity:0,transform:"translateY(-5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("enterBottom",(0,t.oB)({opacity:1,transform:"translateY(0)"})),(0,t.eR)("* => enterBottom",[(0,t.oB)({opacity:0,transform:"translateY(5%)"}),(0,t.jt)("100ms linear")]),(0,t.SB)("leave",(0,t.oB)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),(0,t.eR)("* => leave",[(0,t.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,t.jt)("100ms linear")])]),`${o.BASE} ${g.EASE_OUT_QUINT}`),O=`${o.BASE} ${g.EASE_IN_QUINT}`,F=(0,t.X$)("slideMotion",[(0,t.SB)("void",(0,t.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,t.SB)("enter",(0,t.oB)({opacity:1,transform:"scaleY(1)"})),(0,t.eR)("void => *",[(0,t.jt)(E)]),(0,t.eR)("* => void",[(0,t.jt)(O)])]),V=(0,t.X$)("slideAlertMotion",[(0,t.eR)(":leave",[(0,t.oB)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),(0,t.jt)(`${o.SLOW} ${g.EASE_IN_OUT_CIRC}`,(0,t.oB)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),S=(0,t.X$)("zoomBigMotion",[(0,t.eR)("void => active",[(0,t.oB)({opacity:0,transform:"scale(0.8)"}),(0,t.jt)(`${o.BASE} ${g.EASE_OUT_CIRC}`,(0,t.oB)({opacity:1,transform:"scale(1)"}))]),(0,t.eR)("active => void",[(0,t.oB)({opacity:1,transform:"scale(1)"}),(0,t.jt)(`${o.BASE} ${g.EASE_IN_OUT_CIRC}`,(0,t.oB)({opacity:0,transform:"scale(0.8)"}))])]),e=(0,t.X$)("zoomBadgeMotion",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),(0,t.jt)(`${o.SLOW} ${g.EASE_OUT_BACK}`,(0,t.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),(0,t.eR)(":leave",[(0,t.oB)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),(0,t.jt)(`${o.SLOW} ${g.EASE_IN_BACK}`,(0,t.oB)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);(0,t.X$)("thumbMotion",[(0,t.SB)("from",(0,t.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),(0,t.SB)("to",(0,t.oB)({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),(0,t.eR)("from => to",(0,t.jt)(`300ms ${g.EASE_IN_OUT}`))])},3414:(Et,Me,a)=>{a.d(Me,{Bh:()=>g,M8:()=>L,R_:()=>U,o2:()=>s,uf:()=>l});var t=a(8809),o=a(7952);const g=["success","processing","error","default","warning"],l=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function s(N){return-1!==l.indexOf(N)}function L(N){return-1!==g.indexOf(N)}const S=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function e({r:N,g:q,b:Y}){const k=(0,t.py)(N,q,Y);return{h:360*k.h,s:k.s,v:k.v}}function I({r:N,g:q,b:Y}){return`#${(0,t.vq)(N,q,Y,!1)}`}function pe(N,q,Y){let k;return k=Math.round(N.h)>=60&&Math.round(N.h)<=240?Y?Math.round(N.h)-2*q:Math.round(N.h)+2*q:Y?Math.round(N.h)+2*q:Math.round(N.h)-2*q,k<0?k+=360:k>=360&&(k-=360),k}function ae(N,q,Y){if(0===N.h&&0===N.s)return N.s;let k;return k=Y?N.s-.16*q:4===q?N.s+.16:N.s+.05*q,k>1&&(k=1),Y&&5===q&&k>.1&&(k=.1),k<.06&&(k=.06),Number(k.toFixed(2))}function Z(N,q,Y){let k;return k=Y?N.v+.05*q:N.v-.15*q,k>1&&(k=1),Number(k.toFixed(2))}function U(N,q={}){const Y=[],k=(0,o.uA)(N);for(let me=5;me>0;me-=1){const fe=e(k),te=I((0,o.uA)({h:pe(fe,me,!0),s:ae(fe,me,!0),v:Z(fe,me,!0)}));Y.push(te)}Y.push(I(k));for(let me=1;me<=4;me+=1){const fe=e(k),te=I((0,o.uA)({h:pe(fe,me),s:ae(fe,me),v:Z(fe,me)}));Y.push(te)}return"dark"===q.theme?S.map(({index:me,opacity:fe})=>I(function w(N,q,Y){const k=Y/100;return{r:(q.r-N.r)*k+N.r,g:(q.g-N.g)*k+N.g,b:(q.b-N.b)*k+N.b}}((0,o.uA)(q.backgroundColor||"#141414"),(0,o.uA)(Y[me]),100*fe))):Y}},2536:(Et,Me,a)=>{a.d(Me,{jY:()=>e,oS:()=>I});var t=a(4650),o=a(7579),g=a(9300),l=a(9718),s=a(5192),L=a(3414),R=a(1355),T=a(3187);const M=new t.OlP("nz-config"),E=`-ant-${Date.now()}-${Math.random()}`;function F(w,pe){const ae=function O(w,pe){const ae={},Z=(q,Y)=>{let k=q.clone();return k=Y?.(k)||k,k.toRgbString()},U=(q,Y)=>{const k=new s.C(q),me=(0,L.R_)(k.toRgbString());ae[`${Y}-color`]=Z(k),ae[`${Y}-color-disabled`]=me[1],ae[`${Y}-color-hover`]=me[4],ae[`${Y}-color-active`]=me[7],ae[`${Y}-color-outline`]=k.clone().setAlpha(.2).toRgbString(),ae[`${Y}-color-deprecated-bg`]=me[1],ae[`${Y}-color-deprecated-border`]=me[3]};if(pe.primaryColor){U(pe.primaryColor,"primary");const q=new s.C(pe.primaryColor),Y=(0,L.R_)(q.toRgbString());Y.forEach((me,fe)=>{ae[`primary-${fe+1}`]=me}),ae["primary-color-deprecated-l-35"]=Z(q,me=>me.lighten(35)),ae["primary-color-deprecated-l-20"]=Z(q,me=>me.lighten(20)),ae["primary-color-deprecated-t-20"]=Z(q,me=>me.tint(20)),ae["primary-color-deprecated-t-50"]=Z(q,me=>me.tint(50)),ae["primary-color-deprecated-f-12"]=Z(q,me=>me.setAlpha(.12*me.getAlpha()));const k=new s.C(Y[0]);ae["primary-color-active-deprecated-f-30"]=Z(k,me=>me.setAlpha(.3*me.getAlpha())),ae["primary-color-active-deprecated-d-02"]=Z(k,me=>me.darken(2))}return pe.successColor&&U(pe.successColor,"success"),pe.warningColor&&U(pe.warningColor,"warning"),pe.errorColor&&U(pe.errorColor,"error"),pe.infoColor&&U(pe.infoColor,"info"),`\n :root {\n ${Object.keys(ae).map(q=>`--${w}-${q}: ${ae[q]};`).join("\n")}\n }\n `.trim()}(w,pe);(0,T.J8)()?(0,T.hq)(ae,`${E}-dynamic-theme`):(0,R.ZK)("NzConfigService: SSR do not support dynamic theme with css variables.")}const V=function(w){return void 0!==w};let e=(()=>{class w{constructor(ae){this.configUpdated$=new o.x,this.config=ae||{},this.config.theme&&F(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme)}getConfig(){return this.config}getConfigForComponent(ae){return this.config[ae]}getConfigChangeEventForComponent(ae){return this.configUpdated$.pipe((0,g.h)(Z=>Z===ae),(0,l.h)(void 0))}set(ae,Z){this.config[ae]={...this.config[ae],...Z},"theme"===ae&&this.config.theme&&F(this.getConfig().prefixCls?.prefixCls||"ant",this.config.theme),this.configUpdated$.next(ae)}}return w.\u0275fac=function(ae){return new(ae||w)(t.LFG(M,8))},w.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})();function I(){return function(pe,ae,Z){const U=`$$__zorroConfigDecorator__${ae}`;return Object.defineProperty(pe,U,{configurable:!0,writable:!0,enumerable:!1}),{get(){const N=Z?.get?Z.get.bind(this)():this[U],q=(this.propertyAssignCounter?.[ae]||0)>1,Y=this.nzConfigService.getConfigForComponent(this._nzModuleName)?.[ae];return q&&V(N)?N:V(Y)?Y:N},set(N){this.propertyAssignCounter=this.propertyAssignCounter||{},this.propertyAssignCounter[ae]=(this.propertyAssignCounter[ae]||0)+1,Z?.set?Z.set.bind(this)(N):this[U]=N},configurable:!0,enumerable:!0}}}},9570:(Et,Me,a)=>{a.d(Me,{kH:()=>R,mJ:()=>O,w_:()=>E,yW:()=>T});var t=a(4650),o=a(4707),g=a(1135),l=a(6895),s=a(1102);function L(F,V){if(1&F&&t._UZ(0,"span",1),2&F){const S=t.oxw();t.Q6J("nzType",S.iconType)}}let R=(()=>{class F{constructor(){this.formStatusChanges=new o.t(1)}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=t.Yz7({token:F,factory:F.\u0275fac}),F})(),T=(()=>{class F{constructor(){this.noFormStatus=new g.X(!1)}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=t.Yz7({token:F,factory:F.\u0275fac}),F})();const M={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let E=(()=>{class F{constructor(S){this.cdr=S,this.status="",this.iconType=null}ngOnChanges(S){this.updateIcon()}updateIcon(){this.iconType=this.status?M[this.status]:null,this.cdr.markForCheck()}}return F.\u0275fac=function(S){return new(S||F)(t.Y36(t.sBO))},F.\u0275cmp=t.Xpm({type:F,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(S,e){2&S&&t.ekj("ant-form-item-feedback-icon-error","error"===e.status)("ant-form-item-feedback-icon-warning","warning"===e.status)("ant-form-item-feedback-icon-success","success"===e.status)("ant-form-item-feedback-icon-validating","validating"===e.status)},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[t.TTD],decls:1,vars:1,consts:[["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(S,e){1&S&&t.YNc(0,L,1,1,"span",0),2&S&&t.Q6J("ngIf",e.iconType)},dependencies:[l.O5,s.Ls],encapsulation:2,changeDetection:0}),F})(),O=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=t.oAB({type:F}),F.\u0275inj=t.cJS({imports:[l.ez,s.PV]}),F})()},1355:(Et,Me,a)=>{a.d(Me,{Bq:()=>l,ZK:()=>R});var t=a(4650);const g={},l="[NG-ZORRO]:";const R=(...E)=>function L(E,...O){(0,t.X6Q)()&&function s(...E){const O=E.reduce((F,V)=>F+V.toString(),"");return!g[O]&&(g[O]=!0,!0)}(...O)&&E(...O)}((...O)=>console.warn(l,...O),...E)},4903:(Et,Me,a)=>{a.d(Me,{P:()=>R,g:()=>T});var t=a(6895),o=a(4650),g=a(655),l=a(1281),s=a(3187);const L="nz-animate-disabled";let R=(()=>{class M{constructor(O,F,V){this.element=O,this.renderer=F,this.animationType=V,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const O=(0,l.fI)(this.element);O&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(O,L):this.renderer.removeClass(O,L))}}return M.\u0275fac=function(O){return new(O||M)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.QbO,8))},M.\u0275dir=o.lG2({type:M,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[o.TTD]}),(0,g.gn)([(0,s.yF)()],M.prototype,"nzNoAnimation",void 0),M})(),T=(()=>{class M{}return M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[t.ez]}),M})()},6287:(Et,Me,a)=>{a.d(Me,{T:()=>s,f:()=>g});var t=a(6895),o=a(4650);let g=(()=>{class L{constructor(T,M){this.viewContainer=T,this.templateRef=M,this.embeddedViewRef=null,this.context=new l,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(T,M){return!0}recreateView(){this.viewContainer.clear();const T=this.nzStringTemplateOutlet instanceof o.Rgc;this.embeddedViewRef=this.viewContainer.createEmbeddedView(T?this.nzStringTemplateOutlet:this.templateRef,T?this.nzStringTemplateOutletContext:this.context)}updateContext(){const M=this.nzStringTemplateOutlet instanceof o.Rgc?this.nzStringTemplateOutletContext:this.context,E=this.embeddedViewRef.context;if(M)for(const O of Object.keys(M))E[O]=M[O]}ngOnChanges(T){const{nzStringTemplateOutletContext:M,nzStringTemplateOutlet:E}=T;E&&(this.context.$implicit=E.currentValue),(()=>{let V=!1;return E&&(V=!!E.firstChange||(E.previousValue instanceof o.Rgc||E.currentValue instanceof o.Rgc)),M&&(I=>{const w=Object.keys(I.previousValue||{}),pe=Object.keys(I.currentValue||{});if(w.length===pe.length){for(const ae of pe)if(-1===w.indexOf(ae))return!0;return!1}return!0})(M)||V})()?this.recreateView():this.updateContext()}}return L.\u0275fac=function(T){return new(T||L)(o.Y36(o.s_b),o.Y36(o.Rgc))},L.\u0275dir=o.lG2({type:L,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[o.TTD]}),L})();class l{}let s=(()=>{class L{}return L.\u0275fac=function(T){return new(T||L)},L.\u0275mod=o.oAB({type:L}),L.\u0275inj=o.cJS({imports:[t.ez]}),L})()},1691:(Et,Me,a)=>{a.d(Me,{A7:()=>E,Ek:()=>T,d_:()=>F,e4:()=>I,fG:()=>O,hQ:()=>e,yW:()=>R});var t=a(655),o=a(8184),g=a(4650),l=a(2722),s=a(3303),L=a(3187);const R={top:new o.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new o.tR({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new o.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new o.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new o.tR({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new o.tR({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new o.tR({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new o.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new o.tR({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new o.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new o.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new o.tR({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new o.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new o.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},T=[R.top,R.right,R.bottom,R.left],E=[new o.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new o.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],O=[R.bottomLeft,new o.tR({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function F(w){for(const pe in R)if(w.connectionPair.originX===R[pe].originX&&w.connectionPair.originY===R[pe].originY&&w.connectionPair.overlayX===R[pe].overlayX&&w.connectionPair.overlayY===R[pe].overlayY)return pe}new o.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),new o.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),new o.tR({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),new o.tR({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2);let e=(()=>{class w{constructor(ae,Z){this.cdkConnectedOverlay=ae,this.nzDestroyService=Z,this.nzArrowPointAtCenter=!1,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe((0,l.R)(this.nzDestroyService)).subscribe(U=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(U)})}updateArrowPosition(ae){const Z=this.getOriginRect(),U=F(ae);let N=0,q=0;"topLeft"===U||"bottomLeft"===U?N=Z.width/2-14:"topRight"===U||"bottomRight"===U?N=-(Z.width/2-14):"leftTop"===U||"rightTop"===U?q=Z.height/2-10:("leftBottom"===U||"rightBottom"===U)&&(q=-(Z.height/2-10)),(this.cdkConnectedOverlay.offsetX!==N||this.cdkConnectedOverlay.offsetY!==q)&&(this.cdkConnectedOverlay.offsetY=q,this.cdkConnectedOverlay.offsetX=N,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof o.xu?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){const ae=this.getFlexibleConnectedPositionStrategyOrigin();if(ae instanceof g.SBq)return ae.nativeElement.getBoundingClientRect();if(ae instanceof Element)return ae.getBoundingClientRect();const Z=ae.width||0,U=ae.height||0;return{top:ae.y,bottom:ae.y+U,left:ae.x,right:ae.x+Z,height:U,width:Z}}}return w.\u0275fac=function(ae){return new(ae||w)(g.Y36(o.pI),g.Y36(s.kn))},w.\u0275dir=g.lG2({type:w,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:"nzArrowPointAtCenter"},exportAs:["nzConnectedOverlay"],features:[g._Bn([s.kn])]}),(0,t.gn)([(0,L.yF)()],w.prototype,"nzArrowPointAtCenter",void 0),w})(),I=(()=>{class w{}return w.\u0275fac=function(ae){return new(ae||w)},w.\u0275mod=g.oAB({type:w}),w.\u0275inj=g.cJS({}),w})()},5469:(Et,Me,a)=>{a.d(Me,{e:()=>s,h:()=>l});const t=["moz","ms","webkit"];function l(L){if(typeof window>"u")return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(L);const R=t.filter(T=>`${T}CancelAnimationFrame`in window||`${T}CancelRequestAnimationFrame`in window)[0];return R?(window[`${R}CancelAnimationFrame`]||window[`${R}CancelRequestAnimationFrame`]).call(this,L):clearTimeout(L)}const s=function g(){if(typeof window>"u")return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const L=t.filter(R=>`${R}RequestAnimationFrame`in window)[0];return L?window[`${L}RequestAnimationFrame`]:function o(){let L=0;return function(R){const T=(new Date).getTime(),M=Math.max(0,16-(T-L)),E=setTimeout(()=>{R(T+M)},M);return L=T+M,E}}()}()},3303:(Et,Me,a)=>{a.d(Me,{G_:()=>N,MF:()=>U,Ml:()=>ae,WV:()=>q,kn:()=>me,ow:()=>Y,r3:()=>k,rI:()=>e});var t=a(4650),o=a(7579),g=a(3601),l=a(8746),s=a(4004),L=a(9300),R=a(2722),T=a(8675),M=a(1884),E=a(3187),O=a(6895),F=a(5469),V=a(2289);const S=()=>{};let e=(()=>{class te{constructor(H,X){this.ngZone=H,this.rendererFactory2=X,this.resizeSource$=new o.x,this.listeners=0,this.disposeHandle=S,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}ngOnDestroy(){this.handler=S}subscribe(){return this.registerListener(),this.resizeSource$.pipe((0,g.e)(16),(0,l.x)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=S)}}return te.\u0275fac=function(H){return new(H||te)(t.LFG(t.R0b),t.LFG(t.FYo))},te.\u0275prov=t.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),ae=(()=>{class te{constructor(H){this.draggingThreshold=5,this.currentDraggingSequence=null,this.currentStartingPoint=null,this.handleRegistry=new Set,this.renderer=H.createRenderer(null,null)}requestDraggingSequence(H){return this.handleRegistry.size||this.registerDraggingHandler((0,E.z6)(H)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=function pe(te){const ye=(0,E.wv)(te);return{x:ye.pageX,y:ye.pageY}}(H),this.currentDraggingSequence=new o.x,this.currentDraggingSequence.pipe((0,s.U)(X=>({x:X.pageX-this.currentStartingPoint.x,y:X.pageY-this.currentStartingPoint.y})),(0,L.h)(X=>Math.abs(X.x)>this.draggingThreshold||Math.abs(X.y)>this.draggingThreshold),(0,l.x)(()=>this.teardownDraggingSequence()))}registerDraggingHandler(H){H?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",X=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(X.touches[0]||X.changedTouches[0])})}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",X=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(X)})}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})}))}teardownDraggingSequence(){this.currentDraggingSequence=null}}return te.\u0275fac=function(H){return new(H||te)(t.LFG(t.FYo))},te.\u0275prov=t.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();function Z(te,ye,H,X){const ve=H-ye;let Se=te/(X/2);return Se<1?ve/2*Se*Se*Se+ye:ve/2*((Se-=2)*Se*Se+2)+ye}let U=(()=>{class te{constructor(H,X){this.ngZone=H,this.doc=X}setScrollTop(H,X=0){H===window?(this.doc.body.scrollTop=X,this.doc.documentElement.scrollTop=X):H.scrollTop=X}getOffset(H){const X={top:0,left:0};if(!H||!H.getClientRects().length)return X;const ve=H.getBoundingClientRect();if(ve.width||ve.height){const Se=H.ownerDocument.documentElement;X.top=ve.top-Se.clientTop,X.left=ve.left-Se.clientLeft}else X.top=ve.top,X.left=ve.left;return X}getScroll(H,X=!0){if(typeof window>"u")return 0;const ve=X?"scrollTop":"scrollLeft";let Se=0;return this.isWindow(H)?Se=H[X?"pageYOffset":"pageXOffset"]:H instanceof Document?Se=H.documentElement[ve]:H&&(Se=H[ve]),H&&!this.isWindow(H)&&"number"!=typeof Se&&(Se=(H.ownerDocument||H).documentElement[ve]),Se}isWindow(H){return null!=H&&H===H.window}scrollTo(H,X=0,ve={}){const Se=H||window,wt=this.getScroll(Se),St=Date.now(),{easing:rn,callback:ot,duration:gt=450}=ve,Dt=()=>{const mn=Date.now()-St,At=(rn||Z)(mn>gt?gt:mn,wt,X,gt);this.isWindow(Se)?Se.scrollTo(window.pageXOffset,At):Se instanceof HTMLDocument||"HTMLDocument"===Se.constructor.name?Se.documentElement.scrollTop=At:Se.scrollTop=At,mn(0,F.e)(Dt))}}return te.\u0275fac=function(H){return new(H||te)(t.LFG(t.R0b),t.LFG(O.K0))},te.\u0275prov=t.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})();var N=(()=>{return(te=N||(N={})).xxl="xxl",te.xl="xl",te.lg="lg",te.md="md",te.sm="sm",te.xs="xs",N;var te})();const q={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},Y={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"};let k=(()=>{class te{constructor(H,X){this.resizeService=H,this.mediaMatcher=X,this.destroy$=new o.x,this.resizeService.subscribe().pipe((0,R.R)(this.destroy$)).subscribe(()=>{})}ngOnDestroy(){this.destroy$.next()}subscribe(H,X){if(X){const ve=()=>this.matchMedia(H,!0);return this.resizeService.subscribe().pipe((0,s.U)(ve),(0,T.O)(ve()),(0,M.x)((Se,wt)=>Se[0]===wt[0]),(0,s.U)(Se=>Se[1]))}{const ve=()=>this.matchMedia(H);return this.resizeService.subscribe().pipe((0,s.U)(ve),(0,T.O)(ve()),(0,M.x)())}}matchMedia(H,X){let ve=N.md;const Se={};return Object.keys(H).map(wt=>{const St=wt,rn=this.mediaMatcher.matchMedia(q[St]).matches;Se[wt]=rn,rn&&(ve=St)}),X?[ve,Se]:ve}}return te.\u0275fac=function(H){return new(H||te)(t.LFG(e),t.LFG(V.vx))},te.\u0275prov=t.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),te})(),me=(()=>{class te extends o.x{ngOnDestroy(){this.next(),this.complete()}}return te.\u0275fac=function(){let ye;return function(X){return(ye||(ye=t.n5z(te)))(X||te)}}(),te.\u0275prov=t.Yz7({token:te,factory:te.\u0275fac}),te})()},7044:(Et,Me,a)=>{a.d(Me,{a:()=>l,w:()=>g});var t=a(3353),o=a(4650);let g=(()=>{class s{constructor(R,T){this.elementRef=R,this.renderer=T,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","string"==typeof this.hidden?this.hidden:""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return s.\u0275fac=function(R){return new(R||s)(o.Y36(o.SBq),o.Y36(o.Qsj))},s.\u0275dir=o.lG2({type:s,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[o.TTD]}),s})(),l=(()=>{class s{}return s.\u0275fac=function(R){return new(R||s)},s.\u0275mod=o.oAB({type:s}),s.\u0275inj=o.cJS({imports:[t.ud]}),s})()},3187:(Et,Me,a)=>{a.d(Me,{D8:()=>it,DX:()=>O,GL:()=>sn,GM:()=>Dn,He:()=>w,J8:()=>Je,L8:()=>J,Ly:()=>ct,Rn:()=>q,Sm:()=>Dt,WX:()=>pe,YM:()=>gt,Zu:()=>P,cO:()=>M,hq:()=>j,kK:()=>F,lN:()=>$t,ov:()=>Ut,pW:()=>k,qR:()=>ye,sw:()=>I,tI:()=>Se,ui:()=>ot,wU:()=>V,wv:()=>fe,yF:()=>U,z6:()=>me});var t=a(1281),o=a(1355),g=a(7579),l=a(5191),s=a(457),L=a(9646),R=a(5698);function M(K,ze){if(!K||!ze||K.length!==ze.length)return!1;const dt=K.length;for(let ke=0;ke"u"||null===K}function V(K,ze){if(K===ze)return!0;if("object"!=typeof K||!K||"object"!=typeof ze||!ze)return!1;const dt=Object.keys(K),ke=Object.keys(ze);if(dt.length!==ke.length)return!1;const ge=Object.prototype.hasOwnProperty.bind(ze);for(let xe=0;xew(ze,K))}function k(K){if(!K.getClientRects().length)return{top:0,left:0};const ze=K.getBoundingClientRect(),dt=K.ownerDocument.defaultView;return{top:ze.top+dt.pageYOffset,left:ze.left+dt.pageXOffset}}function me(K){return K.type.startsWith("touch")}function fe(K){return me(K)?K.touches[0]||K.changedTouches[0]:K}function ye(K,ze="@"){if("string"!=typeof K)return[];const dt=function te(K){const ze=Array.isArray(K)?K:[K];let dt=ze.join("").replace(/(\$|\^)/g,"\\$1");return ze.length>1&&(dt=`[${dt}]`),new RegExp(`(\\s|^)(${dt})[^\\s]*`,"g")}(ze),ke=K.match(dt);return null!==ke?ke.map(ge=>ge.trim()):[]}function Se(K){return!!K&&"function"==typeof K.then&&"function"==typeof K.catch}function ot(K){return"number"==typeof K&&isFinite(K)}function gt(K,ze){return Math.round(K*Math.pow(10,ze))/Math.pow(10,ze)}function Dt(K,ze=0){return K.reduce((dt,ke)=>dt+ke,ze)}const mn=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],At=typeof window<"u",_t=At&&null!=window.mozInnerScreenX,Xt=K=>parseInt(K,10);function ct(K,ze,dt){if(!At)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");const ke=dt&&dt.debug||!1;if(ke){const tn=document.querySelector("#input-textarea-caret-position-mirror-div");tn&&tn.parentNode.removeChild(tn)}const ge=document.createElement("div");ge.id="input-textarea-caret-position-mirror-div",document.body.appendChild(ge);const xe=ge.style,ut=window.getComputedStyle?window.getComputedStyle(K):K.currentStyle,vt="INPUT"===K.nodeName;xe.whiteSpace="pre-wrap",vt||(xe.wordWrap="break-word"),xe.position="absolute",ke||(xe.visibility="hidden"),mn.forEach(tn=>{vt&&"lineHeight"===tn?xe.lineHeight=ut.height:xe[tn]=ut[tn]}),_t?K.scrollHeight>Xt(ut.height)&&(xe.overflowY="scroll"):xe.overflow="hidden",ge.textContent=K.value.substring(0,ze),vt&&(ge.textContent=ge.textContent.replace(/\s/g,"\xa0"));const qt=document.createElement("span");qt.textContent=K.value.substring(ze)||".",ge.appendChild(qt);const Ct={top:qt.offsetTop+Xt(ut.borderTopWidth),left:qt.offsetLeft+Xt(ut.borderLeftWidth),height:Xt(ut.lineHeight)};return ke?(qt.style.backgroundColor="#eee",function Rt(K,ze){const dt=getComputedStyle(K).getPropertyValue("font-size"),ke=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(ke),ke.id="DEBUG",ke.style.position="absolute",ke.style.backgroundColor="red",ke.style.height=dt,ke.style.width="1px",ke.style.top=`${K.getBoundingClientRect().top-K.scrollTop+window.pageYOffset+ze.top}px`,ke.style.left=`${K.getBoundingClientRect().left-K.scrollLeft+window.pageXOffset+ze.left}px`}(K,Ct)):document.body.removeChild(ge),Ct}function sn(K){if(typeof window<"u"&&window.document&&window.document.documentElement){const ze=Array.isArray(K)?K:[K],{documentElement:dt}=window.document;return ze.some(ke=>ke in dt.style)}return!1}function Dn(K){return K?Object.keys(K).map(ze=>{const dt=K[ze];return`${ze}:${"string"==typeof dt?dt:`${dt}px`}`}).join(";"):""}let Ye;const $e={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function Ae(K){if(!K)return 0;const ze=K.match(/^\d*(\.\d*)?/);return ze?Number(ze[0]):0}function J(K,ze,dt,ke,ge,xe=""){Ye||(Ye=document.createElement("div"),Ye.setAttribute("aria-hidden","true"),document.body.appendChild(Ye));const ut=window.getComputedStyle(K),vt=function Ze(K){return Array.prototype.slice.apply(K).map(dt=>`${dt}: ${K.getPropertyValue(dt)};`).join("")}(ut),qt=Ae(ut.lineHeight),Ct=Math.round(qt*(ze+1)+Ae(ut.paddingTop)+Ae(ut.paddingBottom));Ye.setAttribute("style",vt),Ye.style.position="fixed",Ye.style.left="0",Ye.style.height="auto",Ye.style.minHeight="auto",Ye.style.maxHeight="auto",Ye.style.top="-999999px",Ye.style.zIndex="-1000",Ye.style.textOverflow="clip",Ye.style.whiteSpace="normal",Ye.style.webkitLineClamp="none";const tn=function oe(K){const ze=[];return K.forEach(dt=>{const ke=ze[ze.length-1];ke&&3===dt.nodeType&&3===ke.nodeType?ke.data+=dt.data:ze.push(dt)}),ze}(dt),je=document.createElement("div"),Qe=document.createElement("span"),ft=document.createTextNode(xe),Re=document.createElement("span");function He(){return Ye.offsetHeight{Qe.appendChild(Sn)}),Qe.appendChild(ft),ke.forEach(Sn=>{Re.appendChild(Sn.cloneNode(!0))}),je.appendChild(Qe),je.appendChild(Re),Ye.appendChild(je),He()){const Sn=Ye.innerHTML;return Ye.removeChild(je),{contentNodes:dt,text:Sn,ellipsis:!1}}const Ie=Array.prototype.slice.apply(Ye.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:Sn})=>8!==Sn),he=Array.prototype.slice.apply(Ye.childNodes[0].childNodes[1].cloneNode(!0).childNodes);Ye.removeChild(je),Ye.innerHTML="";const we=document.createElement("span");Ye.appendChild(we);const ce=document.createTextNode(ge+xe);function be(Sn,jn,Un=0,$n=jn.length,Yn=0){const co=Math.floor((Un+$n)/2);if(Sn.textContent=jn.slice(0,co),Un>=$n-1)for(let Wo=$n;Wo>=Un;Wo-=1){const ko=jn.slice(0,Wo);if(Sn.textContent=ko,He()||!ko)return Wo===jn.length?{finished:!1,node:document.createTextNode(jn)}:{finished:!0,node:document.createTextNode(ko)}}return He()?be(Sn,jn,co,$n,co):be(Sn,jn,Un,co,Yn)}function rt(Sn,jn){const Un=Sn.nodeType;if(1===Un)return He()?{finished:!1,node:tn[jn]}:(we.removeChild(Sn),{finished:!0,node:null});if(3===Un){const $n=Sn.textContent||"",Yn=document.createTextNode($n);return function nt(Sn){we.insertBefore(Sn,ce)}(Yn),be(Yn,$n)}return{finished:!1,node:null}}we.appendChild(ce),he.forEach(Sn=>{Ye.appendChild(Sn)});const Zt=[];Ie.some((Sn,jn)=>{const{finished:Un,node:$n}=rt(Sn,jn);return $n&&Zt.push($n),Un});const nn={contentNodes:Zt,text:Ye.innerHTML,ellipsis:!0};for(;Ye.firstChild;)Ye.removeChild(Ye.firstChild);return nn}let Te,Pe;const Ge={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function it(K="vertical",ze="ant"){if(typeof document>"u"||typeof window>"u")return 0;const dt="vertical"===K;if(dt&&Te)return Te;if(!dt&&Pe)return Pe;const ke=document.createElement("div");Object.keys(Ge).forEach(xe=>{ke.style[xe]=Ge[xe]}),ke.className=`${ze}-hide-scrollbar scroll-div-append-to-body`,dt?ke.style.overflowY="scroll":ke.style.overflowX="scroll",document.body.appendChild(ke);let ge=0;return dt?(ge=ke.offsetWidth-ke.clientWidth,Te=ge):(ge=ke.offsetHeight-ke.clientHeight,Pe=ge),document.body.removeChild(ke),ge}function Ut(){const K=new g.x;return Promise.resolve().then(()=>K.next()),K.pipe((0,R.q)(1))}function $t(K){return(0,l.b)(K)?K:Se(K)?(0,s.D)(Promise.resolve(K)):(0,L.of)(K)}function Je(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function pt({mark:K}={}){return K?K.startsWith("data-")?K:`data-${K}`:"rc-util-key"}function Vt(K){return K.attachTo?K.attachTo:document.querySelector("head")||document.body}function zt(K,ze={}){if(!Je())return null;const dt=document.createElement("style");ze.csp?.nonce&&(dt.nonce=ze.csp?.nonce),dt.innerHTML=K;const ke=Vt(ze),{firstChild:ge}=ke;return ze.prepend&&ke.prepend?ke.prepend(dt):ze.prepend&&ge?ke.insertBefore(dt,ge):ke.appendChild(dt),dt}const jt=new Map;function j(K,ze,dt={}){const ke=Vt(dt);if(!jt.has(ke)){const ut=zt("",dt),{parentNode:vt}=ut;jt.set(ke,vt),vt.removeChild(ut)}const ge=function Nt(K,ze={}){const dt=Vt(ze);return Array.from(jt.get(dt)?.children||[]).find(ke=>"STYLE"===ke.tagName&&ke.getAttribute(pt(ze))===K)}(ze,dt);if(ge)return dt.csp?.nonce&&ge.nonce!==dt.csp?.nonce&&(ge.nonce=dt.csp?.nonce),ge.innerHTML!==K&&(ge.innerHTML=K),ge;const xe=zt(K,dt);return xe?.setAttribute(pt(dt),ze),xe}function P(K,ze,dt){return{[`${K}-status-success`]:"success"===ze,[`${K}-status-warning`]:"warning"===ze,[`${K}-status-error`]:"error"===ze,[`${K}-status-validating`]:"validating"===ze,[`${K}-has-feedback`]:dt}}},1664:(Et,Me,a)=>{a.d(Me,{dQ:()=>R,vG:()=>T});var t=a(3353),o=a(4650);class g{constructor(E,O,F,V){this.triggerElement=E,this.ngZone=O,this.insertExtraNode=F,this.platformId=V,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=S=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===S.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new t.t4(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const E=this.triggerElement,O=this.getWaveColor(E);E.setAttribute(this.waveAttributeName,"true"),!(Date.now(){E.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(E){return!!E&&"#ffffff"!==E&&"rgb(255, 255, 255)"!==E&&this.isNotGrey(E)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(E)&&"transparent"!==E}isNotGrey(E){const O=E.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(O&&O[1]&&O[2]&&O[3]&&O[1]===O[2]&&O[2]===O[3])}getWaveColor(E){const O=getComputedStyle(E);return O.getPropertyValue("border-top-color")||O.getPropertyValue("border-color")||O.getPropertyValue("background-color")}runTimeoutOutsideZone(E,O){this.ngZone.runOutsideAngular(()=>setTimeout(E,O))}}const l={disabled:!1},s=new o.OlP("nz-wave-global-options",{providedIn:"root",factory:function L(){return l}});let R=(()=>{class M{constructor(O,F,V,S,e){this.ngZone=O,this.elementRef=F,this.config=V,this.animationType=S,this.platformId=e,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let O=!1;return this.config&&"boolean"==typeof this.config.disabled&&(O=this.config.disabled),"NoopAnimations"===this.animationType&&(O=!0),O}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new g(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return M.\u0275fac=function(O){return new(O||M)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(s,8),o.Y36(o.QbO,8),o.Y36(o.Lbi))},M.\u0275dir=o.lG2({type:M,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),M})(),T=(()=>{class M{}return M.\u0275fac=function(O){return new(O||M)},M.\u0275mod=o.oAB({type:M}),M.\u0275inj=o.cJS({imports:[t.ud]}),M})()},9194:(Et,Me,a)=>{a.d(Me,{R7:()=>Yt,q6:()=>xt,uj:()=>sn});var t=a(445),o=a(3353),g=a(6895),l=a(4650),s=a(6287),L=a(655),R=a(7579),T=a(6451),M=a(3187),E=a(2722),O=a(8675),F=a(3900),V=a(3601),S=a(8505),e=a(2536),I=a(1355),w=a(3303);function pe(Ye,$e){1&Ye&&l.Hsn(0)}const ae=["*"];function Z(Ye,$e){if(1&Ye&&(l.ynx(0),l._uU(1),l.BQk()),2&Ye){const Ae=l.oxw(3);l.xp6(1),l.Oqu(Ae.nzTitle)}}function U(Ye,$e){if(1&Ye&&(l.TgZ(0,"div",6),l.YNc(1,Z,2,1,"ng-container",7),l.qZA()),2&Ye){const Ae=l.oxw(2);l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ae.nzTitle)}}function N(Ye,$e){if(1&Ye&&(l.ynx(0),l._uU(1),l.BQk()),2&Ye){const Ae=l.oxw(3);l.xp6(1),l.Oqu(Ae.nzExtra)}}function q(Ye,$e){if(1&Ye&&(l.TgZ(0,"div",8),l.YNc(1,N,2,1,"ng-container",7),l.qZA()),2&Ye){const Ae=l.oxw(2);l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ae.nzExtra)}}function Y(Ye,$e){if(1&Ye&&(l.TgZ(0,"div",3),l.YNc(1,U,2,1,"div",4),l.YNc(2,q,2,1,"div",5),l.qZA()),2&Ye){const Ae=l.oxw();l.xp6(1),l.Q6J("ngIf",Ae.nzTitle),l.xp6(1),l.Q6J("ngIf",Ae.nzExtra)}}function k(Ye,$e){if(1&Ye&&(l.ynx(0),l._uU(1),l.BQk()),2&Ye){const Ae=l.oxw(2).$implicit;l.xp6(1),l.hij(" ",Ae.title," ")}}function me(Ye,$e){}function fe(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"td",12)(2,"div",13)(3,"span",14),l.YNc(4,k,2,1,"ng-container",7),l.qZA(),l.TgZ(5,"span",15),l.YNc(6,me,0,0,"ng-template",16),l.qZA()()(),l.BQk()),2&Ye){const Ae=l.oxw().$implicit,Ze=l.oxw(3);l.xp6(1),l.Q6J("colSpan",Ae.span),l.xp6(2),l.ekj("ant-descriptions-item-no-colon",!Ze.nzColon),l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ae.title),l.xp6(2),l.Q6J("ngTemplateOutlet",Ae.content)}}function te(Ye,$e){if(1&Ye&&(l.ynx(0),l._uU(1),l.BQk()),2&Ye){const Ae=l.oxw(2).$implicit;l.xp6(1),l.hij(" ",Ae.title," ")}}function ye(Ye,$e){}function H(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"td",14),l.YNc(2,te,2,1,"ng-container",7),l.qZA(),l.TgZ(3,"td",17),l.YNc(4,ye,0,0,"ng-template",16),l.qZA(),l.BQk()),2&Ye){const Ae=l.oxw().$implicit;l.xp6(2),l.Q6J("nzStringTemplateOutlet",Ae.title),l.xp6(1),l.Q6J("colSpan",2*Ae.span-1),l.xp6(1),l.Q6J("ngTemplateOutlet",Ae.content)}}function X(Ye,$e){if(1&Ye&&(l.ynx(0),l.YNc(1,fe,7,5,"ng-container",2),l.YNc(2,H,5,3,"ng-container",2),l.BQk()),2&Ye){const Ae=l.oxw(3);l.xp6(1),l.Q6J("ngIf",!Ae.nzBordered),l.xp6(1),l.Q6J("ngIf",Ae.nzBordered)}}function ve(Ye,$e){if(1&Ye&&(l.TgZ(0,"tr",10),l.YNc(1,X,3,2,"ng-container",11),l.qZA()),2&Ye){const Ae=$e.$implicit;l.xp6(1),l.Q6J("ngForOf",Ae)}}function Se(Ye,$e){if(1&Ye&&(l.ynx(0),l.YNc(1,ve,2,1,"tr",9),l.BQk()),2&Ye){const Ae=l.oxw();l.xp6(1),l.Q6J("ngForOf",Ae.itemMatrix)}}function wt(Ye,$e){if(1&Ye&&(l.ynx(0),l._uU(1),l.BQk()),2&Ye){const Ae=l.oxw().$implicit;l.xp6(1),l.hij(" ",Ae.title," ")}}function St(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"td",12)(2,"div",13)(3,"span",14),l.YNc(4,wt,2,1,"ng-container",7),l.qZA()()(),l.BQk()),2&Ye){const Ae=$e.$implicit,Ze=l.oxw(4);l.xp6(1),l.Q6J("colSpan",Ae.span),l.xp6(2),l.ekj("ant-descriptions-item-no-colon",!Ze.nzColon),l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ae.title)}}function rn(Ye,$e){}function ot(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"td",12)(2,"div",13)(3,"span",15),l.YNc(4,rn,0,0,"ng-template",16),l.qZA()()(),l.BQk()),2&Ye){const Ae=$e.$implicit;l.xp6(1),l.Q6J("colSpan",Ae.span),l.xp6(3),l.Q6J("ngTemplateOutlet",Ae.content)}}function gt(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"tr",10),l.YNc(2,St,5,4,"ng-container",11),l.qZA(),l.TgZ(3,"tr",10),l.YNc(4,ot,5,2,"ng-container",11),l.qZA(),l.BQk()),2&Ye){const Ae=$e.$implicit;l.xp6(2),l.Q6J("ngForOf",Ae),l.xp6(2),l.Q6J("ngForOf",Ae)}}function Dt(Ye,$e){if(1&Ye&&(l.ynx(0),l.YNc(1,gt,5,2,"ng-container",11),l.BQk()),2&Ye){const Ae=l.oxw(2);l.xp6(1),l.Q6J("ngForOf",Ae.itemMatrix)}}function Wt(Ye,$e){if(1&Ye&&(l.ynx(0),l._uU(1),l.BQk()),2&Ye){const Ae=l.oxw().$implicit;l.xp6(1),l.hij(" ",Ae.title," ")}}function mn(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"td",18),l.YNc(2,Wt,2,1,"ng-container",7),l.qZA(),l.BQk()),2&Ye){const Ae=$e.$implicit;l.xp6(1),l.Q6J("colSpan",Ae.span),l.xp6(1),l.Q6J("nzStringTemplateOutlet",Ae.title)}}function At(Ye,$e){}function _t(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"td",17),l.YNc(2,At,0,0,"ng-template",16),l.qZA(),l.BQk()),2&Ye){const Ae=$e.$implicit;l.xp6(1),l.Q6J("colSpan",Ae.span),l.xp6(1),l.Q6J("ngTemplateOutlet",Ae.content)}}function Xt(Ye,$e){if(1&Ye&&(l.ynx(0),l.TgZ(1,"tr",10),l.YNc(2,mn,3,2,"ng-container",11),l.qZA(),l.TgZ(3,"tr",10),l.YNc(4,_t,3,2,"ng-container",11),l.qZA(),l.BQk()),2&Ye){const Ae=$e.$implicit;l.xp6(2),l.Q6J("ngForOf",Ae),l.xp6(2),l.Q6J("ngForOf",Ae)}}function ct(Ye,$e){if(1&Ye&&(l.ynx(0),l.YNc(1,Xt,5,2,"ng-container",11),l.BQk()),2&Ye){const Ae=l.oxw(2);l.xp6(1),l.Q6J("ngForOf",Ae.itemMatrix)}}function Rt(Ye,$e){if(1&Ye&&(l.ynx(0),l.YNc(1,Dt,2,1,"ng-container",2),l.YNc(2,ct,2,1,"ng-container",2),l.BQk()),2&Ye){const Ae=l.oxw();l.xp6(1),l.Q6J("ngIf",!Ae.nzBordered),l.xp6(1),l.Q6J("ngIf",Ae.nzBordered)}}let sn=(()=>{class Ye{constructor(){this.nzSpan=1,this.nzTitle="",this.inputChange$=new R.x}ngOnChanges(){this.inputChange$.next()}ngOnDestroy(){this.inputChange$.complete()}}return Ye.\u0275fac=function(Ae){return new(Ae||Ye)},Ye.\u0275cmp=l.Xpm({type:Ye,selectors:[["nz-descriptions-item"]],viewQuery:function(Ae,Ze){if(1&Ae&&l.Gf(l.Rgc,7),2&Ae){let oe;l.iGM(oe=l.CRH())&&(Ze.content=oe.first)}},inputs:{nzSpan:"nzSpan",nzTitle:"nzTitle"},exportAs:["nzDescriptionsItem"],features:[l.TTD],ngContentSelectors:ae,decls:1,vars:0,template:function(Ae,Ze){1&Ae&&(l.F$t(),l.YNc(0,pe,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),(0,L.gn)([(0,M.Rn)()],Ye.prototype,"nzSpan",void 0),Ye})();const zn={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};let Yt=(()=>{class Ye{constructor(Ae,Ze,oe,J){this.nzConfigService=Ae,this.cdr=Ze,this.breakpointService=oe,this.directionality=J,this._nzModuleName="descriptions",this.nzBordered=!1,this.nzLayout="horizontal",this.nzColumn=zn,this.nzSize="default",this.nzTitle="",this.nzColon=!0,this.itemMatrix=[],this.realColumn=3,this.dir="ltr",this.breakpoint=w.G_.md,this.destroy$=new R.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,E.R)(this.destroy$)).subscribe(Ae=>{this.dir=Ae})}ngOnChanges(Ae){Ae.nzColumn&&this.prepareMatrix()}ngAfterContentInit(){const Ae=this.items.changes.pipe((0,O.O)(this.items),(0,E.R)(this.destroy$));(0,T.T)(Ae,Ae.pipe((0,F.w)(()=>(0,T.T)(...this.items.map(Ze=>Ze.inputChange$)).pipe((0,V.e)(16)))),this.breakpointService.subscribe(w.WV).pipe((0,S.b)(Ze=>this.breakpoint=Ze))).pipe((0,E.R)(this.destroy$)).subscribe(()=>{this.prepareMatrix(),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}prepareMatrix(){if(!this.items)return;let Ae=[],Ze=0;const oe=this.realColumn=this.getColumn(),J=this.items.toArray(),Te=J.length,Pe=[],Ge=()=>{Pe.push(Ae),Ae=[],Ze=0};for(let it=0;it=oe?(Ze>oe&&(0,I.ZK)(`"nzColumn" is ${oe} but we have row length ${Ze}`),Ae.push({title:Ut,content:$t,span:oe-(Ze-Je)}),Ge()):it===Te-1?(Ae.push({title:Ut,content:$t,span:oe-(Ze-Je)}),Ge()):Ae.push({title:Ut,content:$t,span:Je})}this.itemMatrix=Pe}getColumn(){return"number"!=typeof this.nzColumn?this.nzColumn[this.breakpoint]:this.nzColumn}}return Ye.\u0275fac=function(Ae){return new(Ae||Ye)(l.Y36(e.jY),l.Y36(l.sBO),l.Y36(w.r3),l.Y36(t.Is,8))},Ye.\u0275cmp=l.Xpm({type:Ye,selectors:[["nz-descriptions"]],contentQueries:function(Ae,Ze,oe){if(1&Ae&&l.Suo(oe,sn,4),2&Ae){let J;l.iGM(J=l.CRH())&&(Ze.items=J)}},hostAttrs:[1,"ant-descriptions"],hostVars:8,hostBindings:function(Ae,Ze){2&Ae&&l.ekj("ant-descriptions-bordered",Ze.nzBordered)("ant-descriptions-middle","middle"===Ze.nzSize)("ant-descriptions-small","small"===Ze.nzSize)("ant-descriptions-rtl","rtl"===Ze.dir)},inputs:{nzBordered:"nzBordered",nzLayout:"nzLayout",nzColumn:"nzColumn",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra",nzColon:"nzColon"},exportAs:["nzDescriptions"],features:[l.TTD],decls:6,vars:3,consts:[["class","ant-descriptions-header",4,"ngIf"],[1,"ant-descriptions-view"],[4,"ngIf"],[1,"ant-descriptions-header"],["class","ant-descriptions-title",4,"ngIf"],["class","ant-descriptions-extra",4,"ngIf"],[1,"ant-descriptions-title"],[4,"nzStringTemplateOutlet"],[1,"ant-descriptions-extra"],["class","ant-descriptions-row",4,"ngFor","ngForOf"],[1,"ant-descriptions-row"],[4,"ngFor","ngForOf"],[1,"ant-descriptions-item",3,"colSpan"],[1,"ant-descriptions-item-container"],[1,"ant-descriptions-item-label"],[1,"ant-descriptions-item-content"],[3,"ngTemplateOutlet"],[1,"ant-descriptions-item-content",3,"colSpan"],[1,"ant-descriptions-item-label",3,"colSpan"]],template:function(Ae,Ze){1&Ae&&(l.YNc(0,Y,3,2,"div",0),l.TgZ(1,"div",1)(2,"table")(3,"tbody"),l.YNc(4,Se,2,1,"ng-container",2),l.YNc(5,Rt,3,2,"ng-container",2),l.qZA()()()),2&Ae&&(l.Q6J("ngIf",Ze.nzTitle||Ze.nzExtra),l.xp6(4),l.Q6J("ngIf","horizontal"===Ze.nzLayout),l.xp6(1),l.Q6J("ngIf","vertical"===Ze.nzLayout))},dependencies:[g.sg,g.O5,g.tP,s.f],encapsulation:2,changeDetection:0}),(0,L.gn)([(0,M.yF)(),(0,e.oS)()],Ye.prototype,"nzBordered",void 0),(0,L.gn)([(0,e.oS)()],Ye.prototype,"nzColumn",void 0),(0,L.gn)([(0,e.oS)()],Ye.prototype,"nzSize",void 0),(0,L.gn)([(0,e.oS)(),(0,M.yF)()],Ye.prototype,"nzColon",void 0),Ye})(),xt=(()=>{class Ye{}return Ye.\u0275fac=function(Ae){return new(Ae||Ye)},Ye.\u0275mod=l.oAB({type:Ye}),Ye.\u0275inj=l.cJS({imports:[t.vT,g.ez,s.T,o.ud]}),Ye})()},2577:(Et,Me,a)=>{a.d(Me,{S:()=>E,g:()=>M});var t=a(655),o=a(4650),g=a(3187),l=a(6895),s=a(6287),L=a(445);function R(O,F){if(1&O&&(o.ynx(0),o._uU(1),o.BQk()),2&O){const V=o.oxw(2);o.xp6(1),o.Oqu(V.nzText)}}function T(O,F){if(1&O&&(o.TgZ(0,"span",1),o.YNc(1,R,2,1,"ng-container",2),o.qZA()),2&O){const V=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",V.nzText)}}let M=(()=>{class O{constructor(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1,this.nzPlain=!1}}return O.\u0275fac=function(V){return new(V||O)},O.\u0275cmp=o.Xpm({type:O,selectors:[["nz-divider"]],hostAttrs:[1,"ant-divider"],hostVars:16,hostBindings:function(V,S){2&V&&o.ekj("ant-divider-horizontal","horizontal"===S.nzType)("ant-divider-vertical","vertical"===S.nzType)("ant-divider-with-text",S.nzText)("ant-divider-plain",S.nzPlain)("ant-divider-with-text-left",S.nzText&&"left"===S.nzOrientation)("ant-divider-with-text-right",S.nzText&&"right"===S.nzOrientation)("ant-divider-with-text-center",S.nzText&&"center"===S.nzOrientation)("ant-divider-dashed",S.nzDashed)},inputs:{nzText:"nzText",nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzPlain:"nzPlain"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(V,S){1&V&&o.YNc(0,T,2,1,"span",0),2&V&&o.Q6J("ngIf",S.nzText)},dependencies:[l.O5,s.f],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,g.yF)()],O.prototype,"nzDashed",void 0),(0,t.gn)([(0,g.yF)()],O.prototype,"nzPlain",void 0),O})(),E=(()=>{class O{}return O.\u0275fac=function(V){return new(V||O)},O.\u0275mod=o.oAB({type:O}),O.\u0275inj=o.cJS({imports:[L.vT,l.ez,s.T]}),O})()},9562:(Et,Me,a)=>{a.d(Me,{RR:()=>Dt,b1:()=>Wt,cm:()=>St,wA:()=>gt});var t=a(655),o=a(9521),g=a(4080),l=a(4650),s=a(7579),L=a(1135),R=a(6451),T=a(4968),M=a(515),E=a(9841),O=a(9718),F=a(4004),V=a(3900),S=a(9300),e=a(3601),I=a(1884),w=a(2722),pe=a(2536),ae=a(1691),Z=a(3187),U=a(8184),N=a(3353),q=a(445),Y=a(6895),k=a(6616),me=a(4903),fe=a(6287),te=a(1102),ye=a(3325),H=a(2539);function X(_t,Xt){if(1&_t){const ct=l.EpF();l.TgZ(0,"div",0),l.NdJ("@slideMotion.done",function(sn){l.CHM(ct);const Dn=l.oxw();return l.KtG(Dn.onAnimationEvent(sn))})("mouseenter",function(){l.CHM(ct);const sn=l.oxw();return l.KtG(sn.setMouseState(!0))})("mouseleave",function(){l.CHM(ct);const sn=l.oxw();return l.KtG(sn.setMouseState(!1))}),l.Hsn(1),l.qZA()}if(2&_t){const ct=l.oxw();l.ekj("ant-dropdown-rtl","rtl"===ct.dir),l.Q6J("ngClass",ct.nzOverlayClassName)("ngStyle",ct.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",!(null==ct.noAnimation||!ct.noAnimation.nzNoAnimation))("nzNoAnimation",null==ct.noAnimation?null:ct.noAnimation.nzNoAnimation)}}const ve=["*"],wt=[ae.yW.bottomLeft,ae.yW.bottomRight,ae.yW.topRight,ae.yW.topLeft];let St=(()=>{class _t{constructor(ct,Rt,sn,Dn,zn,Yt){this.nzConfigService=ct,this.elementRef=Rt,this.overlay=sn,this.renderer=Dn,this.viewContainerRef=zn,this.platform=Yt,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new s.x,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new L.X(!1),this.nzTrigger$=new L.X("hover"),this.overlayClose$=new s.x,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new l.vpe}setDropdownMenuValue(ct,Rt){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(ct,Rt)}ngAfterViewInit(){if(this.nzDropdownMenu){const ct=this.elementRef.nativeElement,Rt=(0,R.T)((0,T.R)(ct,"mouseenter").pipe((0,O.h)(!0)),(0,T.R)(ct,"mouseleave").pipe((0,O.h)(!1))),Dn=(0,R.T)(this.nzDropdownMenu.mouseState$,Rt),zn=(0,T.R)(ct,"click").pipe((0,F.U)(()=>!this.nzVisible)),Yt=this.nzTrigger$.pipe((0,V.w)(Ae=>"hover"===Ae?Dn:"click"===Ae?zn:M.E)),xt=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,S.h)(()=>this.nzClickHide),(0,O.h)(!1)),Ye=(0,R.T)(Yt,xt,this.overlayClose$).pipe((0,S.h)(()=>!this.nzDisabled)),$e=(0,R.T)(this.inputVisible$,Ye);(0,E.a)([$e,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,F.U)(([Ae,Ze])=>Ae||Ze),(0,e.e)(150),(0,I.x)(),(0,S.h)(()=>this.platform.isBrowser),(0,w.R)(this.destroy$)).subscribe(Ae=>{const oe=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:ct).getBoundingClientRect().width;this.nzVisible!==Ae&&this.nzVisibleChange.emit(Ae),this.nzVisible=Ae,Ae?(this.overlayRef?this.overlayRef.getConfig().minWidth=oe:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:oe,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,R.T)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,S.h)(J=>!this.elementRef.nativeElement.contains(J.target))),this.overlayRef.keydownEvents().pipe((0,S.h)(J=>J.keyCode===o.hY&&!(0,o.Vb)(J)))).pipe((0,w.R)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([ae.yW[this.nzPlacement],...wt]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new g.UE(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,w.R)(this.destroy$)).subscribe(Ae=>{"void"===Ae.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(ct){const{nzVisible:Rt,nzDisabled:sn,nzOverlayClassName:Dn,nzOverlayStyle:zn,nzTrigger:Yt}=ct;if(Yt&&this.nzTrigger$.next(this.nzTrigger),Rt&&this.inputVisible$.next(this.nzVisible),sn){const xt=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(xt,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(xt,"disabled")}Dn&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),zn&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}}return _t.\u0275fac=function(ct){return new(ct||_t)(l.Y36(pe.jY),l.Y36(l.SBq),l.Y36(U.aV),l.Y36(l.Qsj),l.Y36(l.s_b),l.Y36(N.t4))},_t.\u0275dir=l.lG2({type:_t,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[l.TTD]}),(0,t.gn)([(0,pe.oS)(),(0,Z.yF)()],_t.prototype,"nzBackdrop",void 0),(0,t.gn)([(0,Z.yF)()],_t.prototype,"nzClickHide",void 0),(0,t.gn)([(0,Z.yF)()],_t.prototype,"nzDisabled",void 0),(0,t.gn)([(0,Z.yF)()],_t.prototype,"nzVisible",void 0),_t})(),rn=(()=>{class _t{}return _t.\u0275fac=function(ct){return new(ct||_t)},_t.\u0275mod=l.oAB({type:_t}),_t.\u0275inj=l.cJS({}),_t})(),gt=(()=>{class _t{constructor(ct,Rt,sn){this.renderer=ct,this.nzButtonGroupComponent=Rt,this.elementRef=sn}ngAfterViewInit(){const ct=this.renderer.parentNode(this.elementRef.nativeElement);this.nzButtonGroupComponent&&ct&&this.renderer.addClass(ct,"ant-dropdown-button")}}return _t.\u0275fac=function(ct){return new(ct||_t)(l.Y36(l.Qsj),l.Y36(k.fY,9),l.Y36(l.SBq))},_t.\u0275dir=l.lG2({type:_t,selectors:[["","nz-button","","nz-dropdown",""]]}),_t})(),Dt=(()=>{class _t{constructor(ct,Rt,sn,Dn,zn,Yt,xt){this.cdr=ct,this.elementRef=Rt,this.renderer=sn,this.viewContainerRef=Dn,this.nzMenuService=zn,this.directionality=Yt,this.noAnimation=xt,this.mouseState$=new L.X(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new l.vpe,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new s.x}onAnimationEvent(ct){this.animationStateChange$.emit(ct)}setMouseState(ct){this.mouseState$.next(ct)}setValue(ct,Rt){this[ct]=Rt,this.cdr.markForCheck()}ngOnInit(){this.directionality.change?.pipe((0,w.R)(this.destroy$)).subscribe(ct=>{this.dir=ct,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return _t.\u0275fac=function(ct){return new(ct||_t)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.Qsj),l.Y36(l.s_b),l.Y36(ye.hl),l.Y36(q.Is,8),l.Y36(me.P,9))},_t.\u0275cmp=l.Xpm({type:_t,selectors:[["nz-dropdown-menu"]],viewQuery:function(ct,Rt){if(1&ct&&l.Gf(l.Rgc,7),2&ct){let sn;l.iGM(sn=l.CRH())&&(Rt.templateRef=sn.first)}},exportAs:["nzDropdownMenu"],features:[l._Bn([ye.hl,{provide:ye.Cc,useValue:!0}])],ngContentSelectors:ve,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(ct,Rt){1&ct&&(l.F$t(),l.YNc(0,X,2,7,"ng-template"))},dependencies:[Y.mk,Y.PC,me.P],encapsulation:2,data:{animation:[H.mF]},changeDetection:0}),_t})(),Wt=(()=>{class _t{}return _t.\u0275fac=function(ct){return new(ct||_t)},_t.\u0275mod=l.oAB({type:_t}),_t.\u0275inj=l.cJS({imports:[q.vT,Y.ez,U.U8,k.sL,ye.ip,te.PV,me.g,N.ud,ae.e4,rn,fe.T,ye.ip]}),_t})();new U.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new U.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new U.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new U.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})},4788:(Et,Me,a)=>{a.d(Me,{Xo:()=>wt,gB:()=>Se,p9:()=>X});var t=a(4080),o=a(4650),g=a(7579),l=a(2722),s=a(8675),L=a(2536),R=a(6895),T=a(1811),M=a(6287),E=a(445);function O(St,rn){if(1&St&&(o.ynx(0),o._UZ(1,"img",5),o.BQk()),2&St){const ot=o.oxw(2);o.xp6(1),o.Q6J("src",ot.nzNotFoundImage,o.LSH)("alt",ot.isContentString?ot.nzNotFoundContent:"empty")}}function F(St,rn){if(1&St&&(o.ynx(0),o.YNc(1,O,2,2,"ng-container",4),o.BQk()),2&St){const ot=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",ot.nzNotFoundImage)}}function V(St,rn){1&St&&o._UZ(0,"nz-empty-default")}function S(St,rn){1&St&&o._UZ(0,"nz-empty-simple")}function e(St,rn){if(1&St&&(o.ynx(0),o._uU(1),o.BQk()),2&St){const ot=o.oxw(2);o.xp6(1),o.hij(" ",ot.isContentString?ot.nzNotFoundContent:ot.locale.description," ")}}function I(St,rn){if(1&St&&(o.TgZ(0,"p",6),o.YNc(1,e,2,1,"ng-container",4),o.qZA()),2&St){const ot=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",ot.nzNotFoundContent)}}function w(St,rn){if(1&St&&(o.ynx(0),o._uU(1),o.BQk()),2&St){const ot=o.oxw(2);o.xp6(1),o.hij(" ",ot.nzNotFoundFooter," ")}}function pe(St,rn){if(1&St&&(o.TgZ(0,"div",7),o.YNc(1,w,2,1,"ng-container",4),o.qZA()),2&St){const ot=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",ot.nzNotFoundFooter)}}function ae(St,rn){1&St&&o._UZ(0,"nz-empty",6),2&St&&o.Q6J("nzNotFoundImage","simple")}function Z(St,rn){1&St&&o._UZ(0,"nz-empty",7),2&St&&o.Q6J("nzNotFoundImage","simple")}function U(St,rn){1&St&&o._UZ(0,"nz-empty")}function N(St,rn){if(1&St&&(o.ynx(0,2),o.YNc(1,ae,1,1,"nz-empty",3),o.YNc(2,Z,1,1,"nz-empty",4),o.YNc(3,U,1,0,"nz-empty",5),o.BQk()),2&St){const ot=o.oxw();o.Q6J("ngSwitch",ot.size),o.xp6(1),o.Q6J("ngSwitchCase","normal"),o.xp6(1),o.Q6J("ngSwitchCase","small")}}function q(St,rn){}function Y(St,rn){if(1&St&&o.YNc(0,q,0,0,"ng-template",8),2&St){const ot=o.oxw(2);o.Q6J("cdkPortalOutlet",ot.contentPortal)}}function k(St,rn){if(1&St&&(o.ynx(0),o._uU(1),o.BQk()),2&St){const ot=o.oxw(2);o.xp6(1),o.hij(" ",ot.content," ")}}function me(St,rn){if(1&St&&(o.ynx(0),o.YNc(1,Y,1,1,null,1),o.YNc(2,k,2,1,"ng-container",1),o.BQk()),2&St){const ot=o.oxw();o.xp6(1),o.Q6J("ngIf","string"!==ot.contentType),o.xp6(1),o.Q6J("ngIf","string"===ot.contentType)}}const fe=new o.OlP("nz-empty-component-name");let te=(()=>{class St{}return St.\u0275fac=function(ot){return new(ot||St)},St.\u0275cmp=o.Xpm({type:St,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(ot,gt){1&ot&&(o.O4$(),o.TgZ(0,"svg",0)(1,"g",1)(2,"g",2),o._UZ(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),o.qZA(),o._UZ(8,"path",8),o.TgZ(9,"g",9),o._UZ(10,"ellipse",10)(11,"path",11),o.qZA()()())},encapsulation:2,changeDetection:0}),St})(),ye=(()=>{class St{}return St.\u0275fac=function(ot){return new(ot||St)},St.\u0275cmp=o.Xpm({type:St,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(ot,gt){1&ot&&(o.O4$(),o.TgZ(0,"svg",0)(1,"g",1),o._UZ(2,"ellipse",2),o.TgZ(3,"g",3),o._UZ(4,"path",4)(5,"path",5),o.qZA()()())},encapsulation:2,changeDetection:0}),St})();const H=["default","simple"];let X=(()=>{class St{constructor(ot,gt){this.i18n=ot,this.cdr=gt,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new g.x}ngOnChanges(ot){const{nzNotFoundContent:gt,nzNotFoundImage:Dt}=ot;if(gt&&(this.isContentString="string"==typeof gt.currentValue),Dt){const Wt=Dt.currentValue||"default";this.isImageBuildIn=H.findIndex(mn=>mn===Wt)>-1}}ngOnInit(){this.i18n.localeChange.pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return St.\u0275fac=function(ot){return new(ot||St)(o.Y36(T.wi),o.Y36(o.sBO))},St.\u0275cmp=o.Xpm({type:St,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[o.TTD],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(ot,gt){1&ot&&(o.TgZ(0,"div",0),o.YNc(1,F,2,1,"ng-container",1),o.YNc(2,V,1,0,"nz-empty-default",1),o.YNc(3,S,1,0,"nz-empty-simple",1),o.qZA(),o.YNc(4,I,2,1,"p",2),o.YNc(5,pe,2,1,"div",3)),2&ot&&(o.xp6(1),o.Q6J("ngIf",!gt.isImageBuildIn),o.xp6(1),o.Q6J("ngIf",gt.isImageBuildIn&&"simple"!==gt.nzNotFoundImage),o.xp6(1),o.Q6J("ngIf",gt.isImageBuildIn&&"simple"===gt.nzNotFoundImage),o.xp6(1),o.Q6J("ngIf",null!==gt.nzNotFoundContent),o.xp6(1),o.Q6J("ngIf",gt.nzNotFoundFooter))},dependencies:[R.O5,M.f,te,ye],encapsulation:2,changeDetection:0}),St})(),Se=(()=>{class St{constructor(ot,gt,Dt,Wt){this.configService=ot,this.viewContainerRef=gt,this.cdr=Dt,this.injector=Wt,this.contentType="string",this.size="",this.destroy$=new g.x}ngOnChanges(ot){ot.nzComponentName&&(this.size=function ve(St){switch(St){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(ot.nzComponentName.currentValue)),ot.specificContent&&!ot.specificContent.isFirstChange()&&(this.content=ot.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const ot=this.content;if("string"==typeof ot)this.contentType="string";else if(ot instanceof o.Rgc){const gt={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new t.UE(ot,this.viewContainerRef,gt)}else if(ot instanceof o.DyG){const gt=o.zs3.create({parent:this.injector,providers:[{provide:fe,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new t.C5(ot,this.viewContainerRef,gt)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe((0,s.O)(!0),(0,l.R)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return St.\u0275fac=function(ot){return new(ot||St)(o.Y36(L.jY),o.Y36(o.s_b),o.Y36(o.sBO),o.Y36(o.zs3))},St.\u0275cmp=o.Xpm({type:St,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[o.TTD],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(ot,gt){1&ot&&(o.YNc(0,N,4,3,"ng-container",0),o.YNc(1,me,3,2,"ng-container",1)),2&ot&&(o.Q6J("ngIf",!gt.content&&null!==gt.specificContent),o.xp6(1),o.Q6J("ngIf",gt.content))},dependencies:[R.O5,R.RF,R.n9,R.ED,t.Pl,X],encapsulation:2,changeDetection:0}),St})(),wt=(()=>{class St{}return St.\u0275fac=function(ot){return new(ot||St)},St.\u0275mod=o.oAB({type:St}),St.\u0275inj=o.cJS({imports:[E.vT,R.ez,t.eL,M.T,T.YI]}),St})()},6704:(Et,Me,a)=>{a.d(Me,{Fd:()=>ot,Lr:()=>rn,Nx:()=>Se,U5:()=>At,iK:()=>Dt});var t=a(445),o=a(2289),g=a(3353),l=a(6895),s=a(4650),L=a(6287),R=a(3679),T=a(1102),M=a(7570),E=a(4006),O=a(7579),F=a(727),V=a(2722),S=a(9300),e=a(4004),I=a(8505),w=a(8675),pe=a(2539),ae=a(9570),Z=a(3187),U=a(1811),N=a(655),q=a(2536);const Y=["*"];function k(_t,Xt){if(1&_t&&(s.ynx(0),s._uU(1),s.BQk()),2&_t){const ct=s.oxw(2);s.xp6(1),s.Oqu(ct.innerTip)}}const me=function(_t){return[_t]},fe=function(_t){return{$implicit:_t}};function te(_t,Xt){if(1&_t&&(s.TgZ(0,"div",4)(1,"div",5),s.YNc(2,k,2,1,"ng-container",6),s.qZA()()),2&_t){const ct=s.oxw();s.Q6J("@helpMotion",void 0),s.xp6(1),s.Q6J("ngClass",s.VKq(4,me,"ant-form-item-explain-"+ct.status)),s.xp6(1),s.Q6J("nzStringTemplateOutlet",ct.innerTip)("nzStringTemplateOutletContext",s.VKq(6,fe,ct.validateControl))}}function ye(_t,Xt){if(1&_t&&(s.ynx(0),s._uU(1),s.BQk()),2&_t){const ct=s.oxw(2);s.xp6(1),s.Oqu(ct.nzExtra)}}function H(_t,Xt){if(1&_t&&(s.TgZ(0,"div",7),s.YNc(1,ye,2,1,"ng-container",8),s.qZA()),2&_t){const ct=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",ct.nzExtra)}}function X(_t,Xt){if(1&_t&&(s.ynx(0),s._UZ(1,"span",3),s.BQk()),2&_t){const ct=Xt.$implicit,Rt=s.oxw(2);s.xp6(1),s.Q6J("nzType",ct)("nzTheme",Rt.tooltipIcon.theme)}}function ve(_t,Xt){if(1&_t&&(s.TgZ(0,"span",1),s.YNc(1,X,2,2,"ng-container",2),s.qZA()),2&_t){const ct=s.oxw();s.Q6J("nzTooltipTitle",ct.nzTooltipTitle),s.xp6(1),s.Q6J("nzStringTemplateOutlet",ct.tooltipIcon.type)}}let Se=(()=>{class _t{constructor(ct,Rt,sn){this.cdr=sn,this.status="",this.hasFeedback=!1,this.withHelpClass=!1,this.destroy$=new O.x,Rt.addClass(ct.nativeElement,"ant-form-item")}setWithHelpViaTips(ct){this.withHelpClass=ct,this.cdr.markForCheck()}setStatus(ct){this.status=ct,this.cdr.markForCheck()}setHasFeedback(ct){this.hasFeedback=ct,this.cdr.markForCheck()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return _t.\u0275fac=function(ct){return new(ct||_t)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO))},_t.\u0275cmp=s.Xpm({type:_t,selectors:[["nz-form-item"]],hostVars:12,hostBindings:function(ct,Rt){2&ct&&s.ekj("ant-form-item-has-success","success"===Rt.status)("ant-form-item-has-warning","warning"===Rt.status)("ant-form-item-has-error","error"===Rt.status)("ant-form-item-is-validating","validating"===Rt.status)("ant-form-item-has-feedback",Rt.hasFeedback&&Rt.status)("ant-form-item-with-help",Rt.withHelpClass)},exportAs:["nzFormItem"],ngContentSelectors:Y,decls:1,vars:0,template:function(ct,Rt){1&ct&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),_t})();const St={type:"question-circle",theme:"outline"};let rn=(()=>{class _t{constructor(ct,Rt,sn,Dn){this.nzConfigService=ct,this.renderer=sn,this.directionality=Dn,this._nzModuleName="form",this.nzLayout="horizontal",this.nzNoColon=!1,this.nzAutoTips={},this.nzDisableAutoTips=!1,this.nzTooltipIcon=St,this.dir="ltr",this.destroy$=new O.x,this.inputChanges$=new O.x,this.renderer.addClass(Rt.nativeElement,"ant-form"),this.dir=this.directionality.value,this.directionality.change?.pipe((0,V.R)(this.destroy$)).subscribe(zn=>{this.dir=zn})}getInputObservable(ct){return this.inputChanges$.pipe((0,S.h)(Rt=>ct in Rt),(0,e.U)(Rt=>Rt[ct]))}ngOnChanges(ct){this.inputChanges$.next(ct)}ngOnDestroy(){this.inputChanges$.complete(),this.destroy$.next(),this.destroy$.complete()}}return _t.\u0275fac=function(ct){return new(ct||_t)(s.Y36(q.jY),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(t.Is,8))},_t.\u0275dir=s.lG2({type:_t,selectors:[["","nz-form",""]],hostVars:8,hostBindings:function(ct,Rt){2&ct&&s.ekj("ant-form-horizontal","horizontal"===Rt.nzLayout)("ant-form-vertical","vertical"===Rt.nzLayout)("ant-form-inline","inline"===Rt.nzLayout)("ant-form-rtl","rtl"===Rt.dir)},inputs:{nzLayout:"nzLayout",nzNoColon:"nzNoColon",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzTooltipIcon:"nzTooltipIcon"},exportAs:["nzForm"],features:[s.TTD]}),(0,N.gn)([(0,q.oS)(),(0,Z.yF)()],_t.prototype,"nzNoColon",void 0),(0,N.gn)([(0,q.oS)()],_t.prototype,"nzAutoTips",void 0),(0,N.gn)([(0,Z.yF)()],_t.prototype,"nzDisableAutoTips",void 0),(0,N.gn)([(0,q.oS)()],_t.prototype,"nzTooltipIcon",void 0),_t})(),ot=(()=>{class _t{constructor(ct,Rt,sn,Dn,zn,Yt,xt){this.nzFormItemComponent=Rt,this.cdr=sn,this.nzFormDirective=Yt,this.nzFormStatusService=xt,this._hasFeedback=!1,this.validateChanges=F.w0.EMPTY,this.validateString=null,this.destroyed$=new O.x,this.status="",this.validateControl=null,this.innerTip=null,this.nzAutoTips={},this.nzDisableAutoTips="default",Dn.addClass(ct.nativeElement,"ant-form-item-control"),this.subscribeAutoTips(zn.localeChange.pipe((0,I.b)(Ye=>this.localeId=Ye.locale))),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzAutoTips")),this.subscribeAutoTips(this.nzFormDirective?.getInputObservable("nzDisableAutoTips").pipe((0,S.h)(()=>"default"===this.nzDisableAutoTips)))}get disableAutoTips(){return"default"!==this.nzDisableAutoTips?(0,Z.sw)(this.nzDisableAutoTips):this.nzFormDirective?.nzDisableAutoTips}set nzHasFeedback(ct){this._hasFeedback=(0,Z.sw)(ct),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this._hasFeedback}),this.nzFormItemComponent&&this.nzFormItemComponent.setHasFeedback(this._hasFeedback)}get nzHasFeedback(){return this._hasFeedback}set nzValidateStatus(ct){ct instanceof E.TO||ct instanceof E.On?(this.validateControl=ct,this.validateString=null,this.watchControl()):ct instanceof E.u?(this.validateControl=ct.control,this.validateString=null,this.watchControl()):(this.validateString=ct,this.validateControl=null,this.setStatus())}watchControl(){this.validateChanges.unsubscribe(),this.validateControl&&this.validateControl.statusChanges&&(this.validateChanges=this.validateControl.statusChanges.pipe((0,w.O)(null),(0,V.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck()}))}setStatus(){this.status=this.getControlStatus(this.validateString),this.innerTip=this.getInnerTip(this.status),this.nzFormStatusService.formStatusChanges.next({status:this.status,hasFeedback:this.nzHasFeedback}),this.nzFormItemComponent&&(this.nzFormItemComponent.setWithHelpViaTips(!!this.innerTip),this.nzFormItemComponent.setStatus(this.status))}getControlStatus(ct){let Rt;return Rt="warning"===ct||this.validateControlStatus("INVALID","warning")?"warning":"error"===ct||this.validateControlStatus("INVALID")?"error":"validating"===ct||"pending"===ct||this.validateControlStatus("PENDING")?"validating":"success"===ct||this.validateControlStatus("VALID")?"success":"",Rt}validateControlStatus(ct,Rt){if(this.validateControl){const{dirty:sn,touched:Dn,status:zn}=this.validateControl;return(!!sn||!!Dn)&&(Rt?this.validateControl.hasError(Rt):zn===ct)}return!1}getInnerTip(ct){switch(ct){case"error":return!this.disableAutoTips&&this.autoErrorTip||this.nzErrorTip||null;case"validating":return this.nzValidatingTip||null;case"success":return this.nzSuccessTip||null;case"warning":return this.nzWarningTip||null;default:return null}}updateAutoErrorTip(){if(this.validateControl){const ct=this.validateControl.errors||{};let Rt="";for(const sn in ct)if(ct.hasOwnProperty(sn)&&(Rt=ct[sn]?.[this.localeId]??this.nzAutoTips?.[this.localeId]?.[sn]??this.nzAutoTips.default?.[sn]??this.nzFormDirective?.nzAutoTips?.[this.localeId]?.[sn]??this.nzFormDirective?.nzAutoTips.default?.[sn]),Rt)break;this.autoErrorTip=Rt}}subscribeAutoTips(ct){ct?.pipe((0,V.R)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||(this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck())})}ngOnChanges(ct){const{nzDisableAutoTips:Rt,nzAutoTips:sn,nzSuccessTip:Dn,nzWarningTip:zn,nzErrorTip:Yt,nzValidatingTip:xt}=ct;Rt||sn?(this.updateAutoErrorTip(),this.setStatus()):(Dn||zn||Yt||xt)&&this.setStatus()}ngOnInit(){this.setStatus()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}ngAfterContentInit(){!this.validateControl&&!this.validateString&&(this.nzValidateStatus=this.defaultValidateControl instanceof E.oH?this.defaultValidateControl.control:this.defaultValidateControl)}}return _t.\u0275fac=function(ct){return new(ct||_t)(s.Y36(s.SBq),s.Y36(Se,9),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(U.wi),s.Y36(rn,8),s.Y36(ae.kH))},_t.\u0275cmp=s.Xpm({type:_t,selectors:[["nz-form-control"]],contentQueries:function(ct,Rt,sn){if(1&ct&&s.Suo(sn,E.a5,5),2&ct){let Dn;s.iGM(Dn=s.CRH())&&(Rt.defaultValidateControl=Dn.first)}},inputs:{nzSuccessTip:"nzSuccessTip",nzWarningTip:"nzWarningTip",nzErrorTip:"nzErrorTip",nzValidatingTip:"nzValidatingTip",nzExtra:"nzExtra",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzHasFeedback:"nzHasFeedback",nzValidateStatus:"nzValidateStatus"},exportAs:["nzFormControl"],features:[s._Bn([ae.kH]),s.TTD],ngContentSelectors:Y,decls:5,vars:2,consts:[[1,"ant-form-item-control-input"],[1,"ant-form-item-control-input-content"],["class","ant-form-item-explain ant-form-item-explain-connected",4,"ngIf"],["class","ant-form-item-extra",4,"ngIf"],[1,"ant-form-item-explain","ant-form-item-explain-connected"],["role","alert",3,"ngClass"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-form-item-extra"],[4,"nzStringTemplateOutlet"]],template:function(ct,Rt){1&ct&&(s.F$t(),s.TgZ(0,"div",0)(1,"div",1),s.Hsn(2),s.qZA()(),s.YNc(3,te,3,8,"div",2),s.YNc(4,H,2,1,"div",3)),2&ct&&(s.xp6(3),s.Q6J("ngIf",Rt.innerTip),s.xp6(1),s.Q6J("ngIf",Rt.nzExtra))},dependencies:[l.mk,l.O5,L.f],encapsulation:2,data:{animation:[pe.c8]},changeDetection:0}),_t})();function gt(_t){return{...St,..."string"==typeof _t?{type:_t}:_t}}let Dt=(()=>{class _t{constructor(ct,Rt,sn,Dn){this.cdr=sn,this.nzFormDirective=Dn,this.nzRequired=!1,this.noColon="default",this._tooltipIcon="default",this.destroy$=new O.x,Rt.addClass(ct.nativeElement,"ant-form-item-label"),this.nzFormDirective&&(this.nzFormDirective.getInputObservable("nzNoColon").pipe((0,S.h)(()=>"default"===this.noColon),(0,V.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzTooltipIcon").pipe((0,S.h)(()=>"default"===this._tooltipIcon),(0,V.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()))}set nzNoColon(ct){this.noColon=(0,Z.sw)(ct)}get nzNoColon(){return"default"!==this.noColon?this.noColon:this.nzFormDirective?.nzNoColon}set nzTooltipIcon(ct){this._tooltipIcon=gt(ct)}get tooltipIcon(){return"default"!==this._tooltipIcon?this._tooltipIcon:gt(this.nzFormDirective?.nzTooltipIcon||St)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return _t.\u0275fac=function(ct){return new(ct||_t)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(rn,12))},_t.\u0275cmp=s.Xpm({type:_t,selectors:[["nz-form-label"]],inputs:{nzFor:"nzFor",nzRequired:"nzRequired",nzNoColon:"nzNoColon",nzTooltipTitle:"nzTooltipTitle",nzTooltipIcon:"nzTooltipIcon"},exportAs:["nzFormLabel"],ngContentSelectors:Y,decls:3,vars:6,consts:[["class","ant-form-item-tooltip","nz-tooltip","",3,"nzTooltipTitle",4,"ngIf"],["nz-tooltip","",1,"ant-form-item-tooltip",3,"nzTooltipTitle"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"]],template:function(ct,Rt){1&ct&&(s.F$t(),s.TgZ(0,"label"),s.Hsn(1),s.YNc(2,ve,2,2,"span",0),s.qZA()),2&ct&&(s.ekj("ant-form-item-no-colon",Rt.nzNoColon)("ant-form-item-required",Rt.nzRequired),s.uIk("for",Rt.nzFor),s.xp6(2),s.Q6J("ngIf",Rt.nzTooltipTitle))},dependencies:[l.O5,T.Ls,M.SY,L.f],encapsulation:2,changeDetection:0}),(0,N.gn)([(0,Z.yF)()],_t.prototype,"nzRequired",void 0),_t})(),At=(()=>{class _t{}return _t.\u0275fac=function(ct){return new(ct||_t)},_t.\u0275mod=s.oAB({type:_t}),_t.\u0275inj=s.cJS({imports:[t.vT,l.ez,R.Jb,T.PV,M.cg,o.xu,g.ud,L.T,R.Jb]}),_t})()},3679:(Et,Me,a)=>{a.d(Me,{Jb:()=>V,SK:()=>O,t3:()=>F});var t=a(4650),o=a(4707),g=a(7579),l=a(2722),s=a(3303),L=a(2289),R=a(3353),T=a(445),M=a(3187),E=a(6895);let O=(()=>{class S{constructor(I,w,pe,ae,Z,U,N){this.elementRef=I,this.renderer=w,this.mediaMatcher=pe,this.ngZone=ae,this.platform=Z,this.breakpointService=U,this.directionality=N,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new o.t(1),this.dir="ltr",this.destroy$=new g.x}getGutter(){const I=[null,null],w=this.nzGutter||0;return(Array.isArray(w)?w:[w,null]).forEach((ae,Z)=>{"object"==typeof ae&&null!==ae?(I[Z]=null,Object.keys(s.WV).map(U=>{const N=U;this.mediaMatcher.matchMedia(s.WV[N]).matches&&ae[N]&&(I[Z]=ae[N])})):I[Z]=Number(ae)||null}),I}setGutterStyle(){const[I,w]=this.getGutter();this.actualGutter$.next([I,w]);const pe=(ae,Z)=>{null!==Z&&this.renderer.setStyle(this.elementRef.nativeElement,ae,`-${Z/2}px`)};pe("margin-left",I),pe("margin-right",I),pe("margin-top",w),pe("margin-bottom",w)}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(I=>{this.dir=I}),this.setGutterStyle()}ngOnChanges(I){I.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(s.WV).pipe((0,l.R)(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return S.\u0275fac=function(I){return new(I||S)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(L.vx),t.Y36(t.R0b),t.Y36(R.t4),t.Y36(s.r3),t.Y36(T.Is,8))},S.\u0275dir=t.lG2({type:S,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostAttrs:[1,"ant-row"],hostVars:20,hostBindings:function(I,w){2&I&&t.ekj("ant-row-top","top"===w.nzAlign)("ant-row-middle","middle"===w.nzAlign)("ant-row-bottom","bottom"===w.nzAlign)("ant-row-start","start"===w.nzJustify)("ant-row-end","end"===w.nzJustify)("ant-row-center","center"===w.nzJustify)("ant-row-space-around","space-around"===w.nzJustify)("ant-row-space-between","space-between"===w.nzJustify)("ant-row-space-evenly","space-evenly"===w.nzJustify)("ant-row-rtl","rtl"===w.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[t.TTD]}),S})(),F=(()=>{class S{constructor(I,w,pe,ae){this.elementRef=I,this.nzRowDirective=w,this.renderer=pe,this.directionality=ae,this.classMap={},this.destroy$=new g.x,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}setHostClassMap(){const I={"ant-col":!0,[`ant-col-${this.nzSpan}`]:(0,M.DX)(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:(0,M.DX)(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:(0,M.DX)(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:(0,M.DX)(this.nzPull),[`ant-col-push-${this.nzPush}`]:(0,M.DX)(this.nzPush),"ant-col-rtl":"rtl"===this.dir,...this.generateClass()};for(const w in this.classMap)this.classMap.hasOwnProperty(w)&&this.renderer.removeClass(this.elementRef.nativeElement,w);this.classMap={...I};for(const w in this.classMap)this.classMap.hasOwnProperty(w)&&this.classMap[w]&&this.renderer.addClass(this.elementRef.nativeElement,w)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(I){return"number"==typeof I?`${I} ${I} auto`:"string"==typeof I&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(I)?`0 0 ${I}`:I}generateClass(){const w={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(pe=>{const ae=pe.replace("nz","").toLowerCase();if((0,M.DX)(this[pe]))if("number"==typeof this[pe]||"string"==typeof this[pe])w[`ant-col-${ae}-${this[pe]}`]=!0;else{const Z=this[pe];["span","pull","push","offset","order"].forEach(N=>{w[`ant-col-${ae}${"span"===N?"-":`-${N}-`}${Z[N]}`]=Z&&(0,M.DX)(Z[N])})}}),w}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(I=>{this.dir=I,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(I){this.setHostClassMap();const{nzFlex:w}=I;w&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe((0,l.R)(this.destroy$)).subscribe(([I,w])=>{const pe=(ae,Z)=>{null!==Z&&this.renderer.setStyle(this.elementRef.nativeElement,ae,Z/2+"px")};pe("padding-left",I),pe("padding-right",I),pe("padding-top",w),pe("padding-bottom",w)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return S.\u0275fac=function(I){return new(I||S)(t.Y36(t.SBq),t.Y36(O,9),t.Y36(t.Qsj),t.Y36(T.Is,8))},S.\u0275dir=t.lG2({type:S,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(I,w){2&I&&t.Udp("flex",w.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[t.TTD]}),S})(),V=(()=>{class S{}return S.\u0275fac=function(I){return new(I||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[T.vT,E.ez,L.xu,R.ud]}),S})()},1811:(Et,Me,a)=>{a.d(Me,{YI:()=>E,iF:()=>l,u7:()=>L,wi:()=>T});var t=a(4650),o=a(1135),g=a(1355),l={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week",secondError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",minuteError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-59Allowable range

",hourError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

0-23Allowable range

",dayError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-31Allowable range

",monthError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

1-12Allowable range

",weekError:"

*Any value

,Separator between multiple values

-Connector for interval values

/Equally distributed

? Not specify

0-7Allowable range (0 represents Sunday, 1-7 are Monday to Sunday)

"}},s={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},TimePicker:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]},Calendar:{lang:{placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"],locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},timePickerLocale:{placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]}},global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7b5b\u9009\u9879\u4e2d\u641c\u7d22",selectNone:"\u6e05\u7a7a\u6240\u6709"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Image:{preview:"\u9884\u89c8"},CronExpression:{cronError:"cron \u8868\u8fbe\u5f0f\u4e0d\u5408\u6cd5",second:"\u79d2",minute:"\u5206\u949f",hour:"\u5c0f\u65f6",day:"\u65e5",month:"\u6708",week:"\u5468",secondError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",minuteError:"

*\u4efb\u610f\u503c

,\u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

-\u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/\u5e73\u5747\u5206\u914d

0-59\u5141\u8bb8\u8303\u56f4

",hourError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

0-23 \u5141\u8bb8\u8303\u56f4

",dayError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-31 \u5141\u8bb8\u8303\u56f4

",monthError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

1-12 \u5141\u8bb8\u8303\u56f4

",weekError:"

* \u4efb\u610f\u503c

, \u591a\u4e2a\u503c\u4e4b\u95f4\u7684\u5206\u9694\u7b26

- \u533a\u95f4\u503c\u7684\u8fde\u63a5\u7b26

/ \u5e73\u5747\u5206\u914d

? \u4e0d\u6307\u5b9a

0-7 \u5141\u8bb8\u8303\u56f4\uff080\u4ee3\u8868\u5468\u65e5\uff0c1-7\u4f9d\u6b21\u4e3a\u5468\u4e00\u5230\u5468\u65e5\uff09

"}};const L=new t.OlP("nz-i18n"),R=new t.OlP("nz-date-locale");let T=(()=>{class ut{constructor(qt,Ct){this._change=new o.X(this._locale),this.setLocale(qt||s),this.setDateLocale(Ct||null)}get localeChange(){return this._change.asObservable()}translate(qt,Ct){let tn=this._getObjectPath(this._locale,qt);return"string"==typeof tn?(Ct&&Object.keys(Ct).forEach(je=>tn=tn.replace(new RegExp(`%${je}%`,"g"),Ct[je])),tn):qt}setLocale(qt){this._locale&&this._locale.locale===qt.locale||(this._locale=qt,this._change.next(qt))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(qt){this.dateLocale=qt}getDateLocale(){return this.dateLocale}getLocaleData(qt,Ct){const tn=qt?this._getObjectPath(this._locale,qt):this._locale;return!tn&&!Ct&&(0,g.ZK)(`Missing translations for "${qt}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),tn||Ct||this._getObjectPath(l,qt)||{}}_getObjectPath(qt,Ct){let tn=qt;const je=Ct.split("."),Qe=je.length;let ft=0;for(;tn&&ft{class ut{}return ut.\u0275fac=function(qt){return new(qt||ut)},ut.\u0275mod=t.oAB({type:ut}),ut.\u0275inj=t.cJS({}),ut})();new t.OlP("date-config")},1102:(Et,Me,a)=>{a.d(Me,{sV:()=>xe,Ls:()=>je,PV:()=>Qe,H5:()=>qt});var t=a(3353),o=a(4650),g=a(655),l=a(7579),s=a(457),L=a(2722),R=a(6895),T=a(5192),I=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function w(ft,Re,He){var Ie;return(Ie=Math.round(ft.h)>=60&&Math.round(ft.h)<=240?He?Math.round(ft.h)-2*Re:Math.round(ft.h)+2*Re:He?Math.round(ft.h)+2*Re:Math.round(ft.h)-2*Re)<0?Ie+=360:Ie>=360&&(Ie-=360),Ie}function pe(ft,Re,He){return 0===ft.h&&0===ft.s?ft.s:((Ie=He?ft.s-.16*Re:4===Re?ft.s+.16:ft.s+.05*Re)>1&&(Ie=1),He&&5===Re&&Ie>.1&&(Ie=.1),Ie<.06&&(Ie=.06),Number(Ie.toFixed(2)));var Ie}function ae(ft,Re,He){var Ie;return(Ie=He?ft.v+.05*Re:ft.v-.15*Re)>1&&(Ie=1),Number(Ie.toFixed(2))}function Z(ft){for(var Re=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},He=[],Ie=new T.C(ft),he=5;he>0;he-=1){var we=Ie.toHsv(),ce=new T.C({h:w(we,he,!0),s:pe(we,he,!0),v:ae(we,he,!0)}).toHexString();He.push(ce)}He.push(Ie.toHexString());for(var nt=1;nt<=4;nt+=1){var be=Ie.toHsv(),rt=new T.C({h:w(be,nt),s:pe(be,nt),v:ae(be,nt)}).toHexString();He.push(rt)}return"dark"===Re.theme?I.map(function(Zt){var nn=Zt.index,Sn=Zt.opacity;return new T.C(Re.backgroundColor||"#141414").mix(He[nn],100*Sn).toHexString()}):He}var U={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},N={},q={};Object.keys(U).forEach(function(ft){N[ft]=Z(U[ft]),N[ft].primary=N[ft][5],q[ft]=Z(U[ft],{theme:"dark",backgroundColor:"#141414"}),q[ft].primary=q[ft][5]});var ot=a(529),gt=a(9646),Dt=a(9751),Wt=a(4004),mn=a(8505),At=a(8746),_t=a(262),Xt=a(3099),ct=a(9300),Rt=a(5698),sn=a(1481);const Dn="[@ant-design/icons-angular]:";function Yt(ft){(0,o.X6Q)()&&console.warn(`${Dn} ${ft}.`)}function xt(ft){return Z(ft)[0]}function Ye(ft,Re){switch(Re){case"fill":return`${ft}-fill`;case"outline":return`${ft}-o`;case"twotone":return`${ft}-twotone`;case void 0:return ft;default:throw new Error(`${Dn}Theme "${Re}" is not a recognized theme!`)}}function oe(ft){return"object"==typeof ft&&"string"==typeof ft.name&&("string"==typeof ft.theme||void 0===ft.theme)&&"string"==typeof ft.icon}function Ge(ft){const Re=ft.split(":");switch(Re.length){case 1:return[ft,""];case 2:return[Re[1],Re[0]];default:throw new Error(`${Dn}The icon type ${ft} is not valid!`)}}function Ut(ft){return new Error(`${Dn}the icon ${ft} does not exist or is not registered.`)}function et(){return new Error(`${Dn} tag not found.`)}const zt=new o.OlP("ant_icons");let jt=(()=>{class ft{constructor(He,Ie,he,we,ce){this._rendererFactory=He,this._handler=Ie,this._document=he,this.sanitizer=we,this._antIcons=ce,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new l.x,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new ot.eN(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}set twoToneColor({primaryColor:He,secondaryColor:Ie}){this._twoToneColorPalette.primaryColor=He,this._twoToneColorPalette.secondaryColor=Ie||xt(He)}get twoToneColor(){return{...this._twoToneColorPalette}}get _disableDynamicLoading(){return!1}useJsonpLoading(){this._enableJsonpLoading?Yt("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=He=>{this._jsonpIconLoad$.next(He)})}changeAssetsSource(He){this._assetsUrlRoot=He.endsWith("/")?He:He+"/"}addIcon(...He){He.forEach(Ie=>{this._svgDefinitions.set(Ye(Ie.name,Ie.theme),Ie)})}addIconLiteral(He,Ie){const[he,we]=Ge(He);if(!we)throw function yt(){return new Error(`${Dn}Type should have a namespace. Try "namespace:${name}".`)}();this.addIcon({name:He,icon:Ie})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(He,Ie){const he=oe(He)?He:this._svgDefinitions.get(He)||null;if(!he&&this._disableDynamicLoading)throw Ut(He);return(he?(0,gt.of)(he):this._loadIconDynamically(He)).pipe((0,Wt.U)(ce=>{if(!ce)throw Ut(He);return this._loadSVGFromCacheOrCreateNew(ce,Ie)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(He){if(!this._http&&!this._enableJsonpLoading)return(0,gt.of)(function $t(){return function zn(ft){console.error(`${Dn} ${ft}.`)}('you need to import "HttpClientModule" to use dynamic importing.'),null}());let Ie=this._inProgressFetches.get(He);if(!Ie){const[he,we]=Ge(He),ce=we?{name:He,icon:""}:function J(ft){const Re=ft.split("-"),He=function Ae(ft){return"o"===ft?"outline":ft}(Re.splice(Re.length-1,1)[0]);return{name:Re.join("-"),theme:He,icon:""}}(he),be=(we?`${this._assetsUrlRoot}assets/${we}/${he}`:`${this._assetsUrlRoot}assets/${ce.theme}/${ce.name}`)+(this._enableJsonpLoading?".js":".svg"),rt=this.sanitizer.sanitize(o.q3G.URL,be);if(!rt)throw function Je(ft){return new Error(`${Dn}The url "${ft}" is unsafe.`)}(be);Ie=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(ce,rt):this._http.get(rt,{responseType:"text"}).pipe((0,Wt.U)(nn=>({...ce,icon:nn})))).pipe((0,mn.b)(nn=>this.addIcon(nn)),(0,At.x)(()=>this._inProgressFetches.delete(He)),(0,_t.K)(()=>(0,gt.of)(null)),(0,Xt.B)()),this._inProgressFetches.set(He,Ie)}return Ie}_loadIconDynamicallyWithJsonp(He,Ie){return new Dt.y(he=>{const we=this._document.createElement("script"),ce=setTimeout(()=>{nt(),he.error(function pt(){return new Error(`${Dn}Importing timeout error.`)}())},6e3);function nt(){we.parentNode.removeChild(we),clearTimeout(ce)}we.src=Ie,this._document.body.appendChild(we),this._jsonpIconLoad$.pipe((0,ct.h)(be=>be.name===He.name&&be.theme===He.theme),(0,Rt.q)(1)).subscribe(be=>{he.next(be),nt()})})}_loadSVGFromCacheOrCreateNew(He,Ie){let he;const we=Ie||this._twoToneColorPalette.primaryColor,ce=xt(we)||this._twoToneColorPalette.secondaryColor,nt="twotone"===He.theme?function $e(ft,Re,He,Ie){return`${Ye(ft,Re)}-${He}-${Ie}`}(He.name,He.theme,we,ce):void 0===He.theme?He.name:Ye(He.name,He.theme),be=this._svgRenderedDefinitions.get(nt);return be?he=be.icon:(he=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(function it(ft){return""!==Ge(ft)[1]}(He.name)?He.icon:function Pe(ft){return ft.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}(He.icon)),"twotone"===He.theme,we,ce)),this._svgRenderedDefinitions.set(nt,{...He,icon:he})),function Te(ft){return ft.cloneNode(!0)}(he)}_createSVGElementFromString(He){const Ie=this._document.createElement("div");Ie.innerHTML=He;const he=Ie.querySelector("svg");if(!he)throw et;return he}_setSVGAttribute(He){return this._renderer.setAttribute(He,"width","1em"),this._renderer.setAttribute(He,"height","1em"),He}_colorizeSVGIcon(He,Ie,he,we){if(Ie){const ce=He.childNodes,nt=ce.length;for(let be=0;be{class ft{constructor(He,Ie,he){this._iconService=He,this._elementRef=Ie,this._renderer=he}ngOnChanges(He){(He.type||He.theme||He.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(He=>{if(!this.type)return this._clearSVGElement(),void He(null);const Ie=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(he=>{const we=this._getSelfRenderMeta();!function Nt(ft,Re){return ft.type===Re.type&&ft.theme===Re.theme&&ft.twoToneColor===Re.twoToneColor}(Ie,we)?He(null):(this._setSVGElement(he),He(he))})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(He,Ie){if(oe(He))return He;{const[he,we]=Ge(He);return we?He:function Ze(ft){return ft.endsWith("-fill")||ft.endsWith("-o")||ft.endsWith("-twotone")}(he)?(Ie&&Yt(`'type' ${he} already gets a theme inside so 'theme' ${Ie} would be ignored`),he):Ye(he,Ie||this._iconService.defaultTheme)}}_setSVGElement(He){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,He)}_clearSVGElement(){const He=this._elementRef.nativeElement,Ie=He.childNodes;for(let we=Ie.length-1;we>=0;we--){const ce=Ie[we];"svg"===ce.tagName?.toLowerCase()&&this._renderer.removeChild(He,ce)}}}return ft.\u0275fac=function(He){return new(He||ft)(o.Y36(jt),o.Y36(o.SBq),o.Y36(o.Qsj))},ft.\u0275dir=o.lG2({type:ft,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[o.TTD]}),ft})();var K=a(1355),ze=a(3187),dt=a(1218),ke=a(2536);const ge=[dt.V65,dt.ud1,dt.bBn,dt.BOg,dt.Hkd,dt.XuQ,dt.Rfq,dt.yQU,dt.U2Q,dt.UKj,dt.OYp,dt.BXH,dt.eLU,dt.x0x,dt.vkb,dt.VWu,dt.rMt,dt.vEg,dt.RIp,dt.RU0,dt.M8e,dt.ssy,dt.Z5F,dt.iUK,dt.LJh,dt.NFG,dt.UTl,dt.nrZ,dt.gvV,dt.d2H,dt.eFY,dt.sZJ,dt.np6,dt.w1L,dt.UY$,dt.v6v,dt.rHg,dt.v6v,dt.s_U,dt.TSL,dt.FsU,dt.cN2,dt.uIz,dt.d_$],xe=new o.OlP("nz_icons"),vt=(new o.OlP("nz_icon_default_twotone_color"),"#1890ff");let qt=(()=>{class ft extends jt{constructor(He,Ie,he,we,ce,nt,be){super(He,ce,nt,Ie,[...ge,...be||[]]),this.nzConfigService=he,this.platform=we,this.configUpdated$=new l.x,this.iconfontCache=new Set,this.subscription=null,this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}get _disableDynamicLoading(){return!this.platform.isBrowser}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}normalizeSvgElement(He){He.getAttribute("viewBox")||this._renderer.setAttribute(He,"viewBox","0 0 1024 1024"),(!He.getAttribute("width")||!He.getAttribute("height"))&&(this._renderer.setAttribute(He,"width","1em"),this._renderer.setAttribute(He,"height","1em")),He.getAttribute("fill")||this._renderer.setAttribute(He,"fill","currentColor")}fetchFromIconfont(He){const{scriptUrl:Ie}=He;if(this._document&&!this.iconfontCache.has(Ie)){const he=this._renderer.createElement("script");this._renderer.setAttribute(he,"src",Ie),this._renderer.setAttribute(he,"data-namespace",Ie.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,he),this.iconfontCache.add(Ie)}}createIconfontIcon(He){return this._createSVGElementFromString(``)}onConfigChange(){this.subscription=this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const He=this.getConfig();this.defaultTheme=He.nzTheme||"outline"}configDefaultTwotoneColor(){const Ie=this.getConfig().nzTwotoneColor||vt;let he=vt;Ie&&(Ie.startsWith("#")?he=Ie:(0,K.ZK)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:he}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return ft.\u0275fac=function(He){return new(He||ft)(o.LFG(o.FYo),o.LFG(sn.H7),o.LFG(ke.jY),o.LFG(t.t4),o.LFG(ot.jN,8),o.LFG(R.K0,8),o.LFG(xe,8))},ft.\u0275prov=o.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"}),ft})();const Ct=new o.OlP("nz_icons_patch");let tn=(()=>{class ft{constructor(He,Ie){this.extraIcons=He,this.rootIconService=Ie,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(He=>this.rootIconService.addIcon(He)),this.patched=!0)}}return ft.\u0275fac=function(He){return new(He||ft)(o.LFG(Ct,2),o.LFG(qt))},ft.\u0275prov=o.Yz7({token:ft,factory:ft.\u0275fac}),ft})(),je=(()=>{class ft extends We{constructor(He,Ie,he,we,ce,nt){super(we,he,ce),this.ngZone=He,this.changeDetectorRef=Ie,this.iconService=we,this.renderer=ce,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,this.destroy$=new l.x,nt&&nt.doPatch(),this.el=he.nativeElement}set nzSpin(He){this.spin=He}set nzType(He){this.type=He}set nzTheme(He){this.theme=He}set nzTwotoneColor(He){this.twoToneColor=He}set nzIconfont(He){this.iconfont=He}ngOnChanges(He){const{nzType:Ie,nzTwotoneColor:he,nzSpin:we,nzTheme:ce,nzRotate:nt}=He;Ie||he||we||ce?this.changeIcon2():nt?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const He=this.el.children;let Ie=He.length;if(!this.type&&He.length)for(;Ie--;){const he=He[Ie];"svg"===he.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(he)}}}ngOnDestroy(){this.destroy$.next()}changeIcon2(){this.setClassName(),this.ngZone.runOutsideAngular(()=>{(0,s.D)(this._changeIcon()).pipe((0,L.R)(this.destroy$)).subscribe({next:He=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),He&&(this.setSVGData(He),this.handleSpin(He),this.handleRotate(He))})},error:K.ZK})})}handleSpin(He){this.spin||"loading"===this.type?this.renderer.addClass(He,"anticon-spin"):this.renderer.removeClass(He,"anticon-spin")}handleRotate(He){this.nzRotate?this.renderer.setAttribute(He,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(He,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(He){this.renderer.setAttribute(He,"data-icon",this.type),this.renderer.setAttribute(He,"aria-hidden","true")}}return ft.\u0275fac=function(He){return new(He||ft)(o.Y36(o.R0b),o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(qt),o.Y36(o.Qsj),o.Y36(tn,8))},ft.\u0275dir=o.lG2({type:ft,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(He,Ie){2&He&&o.ekj("anticon",!0)},inputs:{nzSpin:"nzSpin",nzRotate:"nzRotate",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[o.qOj,o.TTD]}),(0,g.gn)([(0,ze.yF)()],ft.prototype,"nzSpin",null),ft})(),Qe=(()=>{class ft{static forRoot(He){return{ngModule:ft,providers:[{provide:xe,useValue:He}]}}static forChild(He){return{ngModule:ft,providers:[tn,{provide:Ct,useValue:He}]}}}return ft.\u0275fac=function(He){return new(He||ft)},ft.\u0275mod=o.oAB({type:ft}),ft.\u0275inj=o.cJS({imports:[t.ud]}),ft})()},7096:(Et,Me,a)=>{a.d(Me,{Rb:()=>zn,Zf:()=>Yt,_V:()=>Rt});var t=a(655),o=a(9521),g=a(4650),l=a(4006),s=a(7579),L=a(4968),R=a(6451),T=a(1884),M=a(2722),E=a(8675),O=a(3900),F=a(5577),V=a(4004),S=a(3303),e=a(3187),I=a(2687),w=a(445),pe=a(9570),ae=a(6895),Z=a(1102),U=a(6287);const N=["upHandler"],q=["downHandler"],Y=["inputElement"];function k(xt,Ye){if(1&xt&&g._UZ(0,"nz-form-item-feedback-icon",11),2&xt){const $e=g.oxw();g.Q6J("status",$e.status)}}const me=["nz-input-number-group-slot",""];function fe(xt,Ye){if(1&xt&&g._UZ(0,"span",2),2&xt){const $e=g.oxw();g.Q6J("nzType",$e.icon)}}function te(xt,Ye){if(1&xt&&(g.ynx(0),g._uU(1),g.BQk()),2&xt){const $e=g.oxw();g.xp6(1),g.Oqu($e.template)}}const ye=["*"];function H(xt,Ye){if(1&xt&&g._UZ(0,"div",7),2&xt){const $e=g.oxw(2);g.Q6J("icon",$e.nzAddOnBeforeIcon)("template",$e.nzAddOnBefore)}}function X(xt,Ye){}function ve(xt,Ye){if(1&xt&&(g.TgZ(0,"div",8),g.YNc(1,X,0,0,"ng-template",9),g.qZA()),2&xt){const $e=g.oxw(2),Ae=g.MAs(4);g.ekj("ant-input-number-affix-wrapper-disabled",$e.disabled)("ant-input-number-affix-wrapper-sm",$e.isSmall)("ant-input-number-affix-wrapper-lg",$e.isLarge)("ant-input-number-affix-wrapper-focused",$e.focused),g.Q6J("ngClass",$e.affixInGroupStatusCls),g.xp6(1),g.Q6J("ngTemplateOutlet",Ae)}}function Se(xt,Ye){if(1&xt&&g._UZ(0,"span",7),2&xt){const $e=g.oxw(2);g.Q6J("icon",$e.nzAddOnAfterIcon)("template",$e.nzAddOnAfter)}}function wt(xt,Ye){if(1&xt&&(g.TgZ(0,"span",4),g.YNc(1,H,1,2,"div",5),g.YNc(2,ve,2,10,"div",6),g.YNc(3,Se,1,2,"span",5),g.qZA()),2&xt){const $e=g.oxw(),Ae=g.MAs(6);g.xp6(1),g.Q6J("ngIf",$e.nzAddOnBefore||$e.nzAddOnBeforeIcon),g.xp6(1),g.Q6J("ngIf",$e.isAffix||$e.hasFeedback)("ngIfElse",Ae),g.xp6(1),g.Q6J("ngIf",$e.nzAddOnAfter||$e.nzAddOnAfterIcon)}}function St(xt,Ye){}function rn(xt,Ye){if(1&xt&&g.YNc(0,St,0,0,"ng-template",9),2&xt){g.oxw(2);const $e=g.MAs(4);g.Q6J("ngTemplateOutlet",$e)}}function ot(xt,Ye){if(1&xt&&g.YNc(0,rn,1,1,"ng-template",10),2&xt){const $e=g.oxw(),Ae=g.MAs(6);g.Q6J("ngIf",$e.isAffix)("ngIfElse",Ae)}}function gt(xt,Ye){if(1&xt&&g._UZ(0,"span",13),2&xt){const $e=g.oxw(2);g.Q6J("icon",$e.nzPrefixIcon)("template",$e.nzPrefix)}}function Dt(xt,Ye){}function Wt(xt,Ye){if(1&xt&&g._UZ(0,"nz-form-item-feedback-icon",16),2&xt){const $e=g.oxw(3);g.Q6J("status",$e.status)}}function mn(xt,Ye){if(1&xt&&(g.TgZ(0,"span",14),g.YNc(1,Wt,1,1,"nz-form-item-feedback-icon",15),g.qZA()),2&xt){const $e=g.oxw(2);g.Q6J("icon",$e.nzSuffixIcon)("template",$e.nzSuffix),g.xp6(1),g.Q6J("ngIf",$e.isFeedback)}}function At(xt,Ye){if(1&xt&&(g.YNc(0,gt,1,2,"span",11),g.YNc(1,Dt,0,0,"ng-template",9),g.YNc(2,mn,2,3,"span",12)),2&xt){const $e=g.oxw(),Ae=g.MAs(6);g.Q6J("ngIf",$e.nzPrefix||$e.nzPrefixIcon),g.xp6(1),g.Q6J("ngTemplateOutlet",Ae),g.xp6(1),g.Q6J("ngIf",$e.nzSuffix||$e.nzSuffixIcon||$e.isFeedback)}}function _t(xt,Ye){if(1&xt&&g._UZ(0,"nz-form-item-feedback-icon",16),2&xt){const $e=g.oxw(3);g.Q6J("status",$e.status)}}function Xt(xt,Ye){if(1&xt&&(g.TgZ(0,"span",18),g.YNc(1,_t,1,1,"nz-form-item-feedback-icon",15),g.qZA()),2&xt){const $e=g.oxw(2);g.xp6(1),g.Q6J("ngIf",$e.isFeedback)}}function ct(xt,Ye){if(1&xt&&(g.Hsn(0),g.YNc(1,Xt,2,1,"span",17)),2&xt){const $e=g.oxw();g.xp6(1),g.Q6J("ngIf",!$e.isAddOn&&!$e.isAffix&&$e.isFeedback)}}let Rt=(()=>{class xt{constructor($e,Ae,Ze,oe,J,Te,Pe,Ge,it){this.ngZone=$e,this.elementRef=Ae,this.cdr=Ze,this.focusMonitor=oe,this.renderer=J,this.directionality=Te,this.destroy$=Pe,this.nzFormStatusService=Ge,this.nzFormNoStatusService=it,this.isNzDisableFirstChange=!0,this.isFocused=!1,this.disabled$=new s.x,this.disabledUp=!1,this.disabledDown=!1,this.dir="ltr",this.prefixCls="ant-input-number",this.status="",this.statusCls={},this.hasFeedback=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzBlur=new g.vpe,this.nzFocus=new g.vpe,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=yt=>yt.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,""),this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStatus="",this.nzStep=1,this.nzInputMode="decimal",this.nzId=null,this.nzDisabled=!1,this.nzReadOnly=!1,this.nzAutoFocus=!1,this.nzBorderless=!1,this.nzFormatter=yt=>yt}onModelChange($e){this.parsedValue=this.nzParser($e),this.inputElement.nativeElement.value=`${this.parsedValue}`;const Ae=this.getCurrentValidValue(this.parsedValue);this.setValue(Ae)}getCurrentValidValue($e){let Ae=$e;return Ae=""===Ae?"":this.isNotCompleteNumber(Ae)?this.value:`${this.getValidValue(Ae)}`,this.toNumber(Ae)}isNotCompleteNumber($e){return isNaN($e)||""===$e||null===$e||!(!$e||$e.toString().indexOf(".")!==$e.toString().length-1)}getValidValue($e){let Ae=parseFloat($e);return isNaN(Ae)?$e:(Aethis.nzMax&&(Ae=this.nzMax),Ae)}toNumber($e){if(this.isNotCompleteNumber($e))return $e;const Ae=String($e);if(Ae.indexOf(".")>=0&&(0,e.DX)(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode($e,this.nzPrecision);if("cut"===this.nzPrecisionMode){const Ze=Ae.split(".");return Ze[1]=Ze[1].slice(0,this.nzPrecision),Number(Ze.join("."))}return Number(Number($e).toFixed(this.nzPrecision))}return Number($e)}getRatio($e){let Ae=1;return $e.metaKey||$e.ctrlKey?Ae=.1:$e.shiftKey&&(Ae=10),Ae}down($e,Ae){this.isFocused||this.focus(),this.step("down",$e,Ae)}up($e,Ae){this.isFocused||this.focus(),this.step("up",$e,Ae)}getPrecision($e){const Ae=$e.toString();if(Ae.indexOf("e-")>=0)return parseInt(Ae.slice(Ae.indexOf("e-")+2),10);let Ze=0;return Ae.indexOf(".")>=0&&(Ze=Ae.length-Ae.indexOf(".")-1),Ze}getMaxPrecision($e,Ae){if((0,e.DX)(this.nzPrecision))return this.nzPrecision;const Ze=this.getPrecision(Ae),oe=this.getPrecision(this.nzStep),J=this.getPrecision($e);return $e?Math.max(J,Ze+oe):Ze+oe}getPrecisionFactor($e,Ae){const Ze=this.getMaxPrecision($e,Ae);return Math.pow(10,Ze)}upStep($e,Ae){const Ze=this.getPrecisionFactor($e,Ae),oe=Math.abs(this.getMaxPrecision($e,Ae));let J;return J="number"==typeof $e?((Ze*$e+Ze*this.nzStep*Ae)/Ze).toFixed(oe):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(J)}downStep($e,Ae){const Ze=this.getPrecisionFactor($e,Ae),oe=Math.abs(this.getMaxPrecision($e,Ae));let J;return J="number"==typeof $e?((Ze*$e-Ze*this.nzStep*Ae)/Ze).toFixed(oe):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(J)}step($e,Ae,Ze=1){if(this.stop(),Ae.preventDefault(),this.nzDisabled)return;const oe=this.getCurrentValidValue(this.parsedValue)||0;let J=0;"up"===$e?J=this.upStep(oe,Ze):"down"===$e&&(J=this.downStep(oe,Ze));const Te=J>this.nzMax||Jthis.nzMax?J=this.nzMax:J{this[$e](Ae,Ze)},300))}stop(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)}setValue($e){if(`${this.value}`!=`${$e}`&&this.onChange($e),this.value=$e,this.parsedValue=$e,this.disabledUp=this.disabledDown=!1,$e||0===$e){const Ae=Number($e);Ae>=this.nzMax&&(this.disabledUp=!0),Ae<=this.nzMin&&(this.disabledDown=!0)}}updateDisplayValue($e){const Ae=(0,e.DX)(this.nzFormatter($e))?this.nzFormatter($e):"";this.displayValue=Ae,this.inputElement.nativeElement.value=`${Ae}`}writeValue($e){this.value=$e,this.setValue($e),this.updateDisplayValue($e),this.cdr.markForCheck()}registerOnChange($e){this.onChange=$e}registerOnTouched($e){this.onTouched=$e}setDisabledState($e){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||$e,this.isNzDisableFirstChange=!1,this.disabled$.next(this.nzDisabled),this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,T.x)(($e,Ae)=>$e.status===Ae.status&&$e.hasFeedback===Ae.hasFeedback),(0,M.R)(this.destroy$)).subscribe(({status:$e,hasFeedback:Ae})=>{this.setStatusStyles($e,Ae)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,M.R)(this.destroy$)).subscribe($e=>{$e?(this.isFocused=!0,this.nzFocus.emit()):(this.isFocused=!1,this.updateDisplayValue(this.value),this.nzBlur.emit(),Promise.resolve().then(()=>this.onTouched()))}),this.dir=this.directionality.value,this.directionality.change.pipe((0,M.R)(this.destroy$)).subscribe($e=>{this.dir=$e}),this.setupHandlersListeners(),this.ngZone.runOutsideAngular(()=>{(0,L.R)(this.inputElement.nativeElement,"keyup").pipe((0,M.R)(this.destroy$)).subscribe(()=>this.stop()),(0,L.R)(this.inputElement.nativeElement,"keydown").pipe((0,M.R)(this.destroy$)).subscribe($e=>{const{keyCode:Ae}=$e;Ae!==o.LH&&Ae!==o.JH&&Ae!==o.K5||this.ngZone.run(()=>{if(Ae===o.LH){const Ze=this.getRatio($e);this.up($e,Ze),this.stop()}else if(Ae===o.JH){const Ze=this.getRatio($e);this.down($e,Ze),this.stop()}else this.updateDisplayValue(this.value);this.cdr.markForCheck()})})})}ngOnChanges($e){const{nzStatus:Ae,nzDisabled:Ze}=$e;if($e.nzFormatter&&!$e.nzFormatter.isFirstChange()){const oe=this.getCurrentValidValue(this.parsedValue);this.setValue(oe),this.updateDisplayValue(oe)}Ze&&this.disabled$.next(this.nzDisabled),Ae&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef)}setupHandlersListeners(){this.ngZone.runOutsideAngular(()=>{(0,R.T)((0,L.R)(this.upHandler.nativeElement,"mouseup"),(0,L.R)(this.upHandler.nativeElement,"mouseleave"),(0,L.R)(this.downHandler.nativeElement,"mouseup"),(0,L.R)(this.downHandler.nativeElement,"mouseleave")).pipe((0,M.R)(this.destroy$)).subscribe(()=>this.stop())})}setStatusStyles($e,Ae){this.status=$e,this.hasFeedback=Ae,this.cdr.markForCheck(),this.statusCls=(0,e.Zu)(this.prefixCls,$e,Ae),Object.keys(this.statusCls).forEach(Ze=>{this.statusCls[Ze]?this.renderer.addClass(this.elementRef.nativeElement,Ze):this.renderer.removeClass(this.elementRef.nativeElement,Ze)})}}return xt.\u0275fac=function($e){return new($e||xt)(g.Y36(g.R0b),g.Y36(g.SBq),g.Y36(g.sBO),g.Y36(I.tE),g.Y36(g.Qsj),g.Y36(w.Is,8),g.Y36(S.kn),g.Y36(pe.kH,8),g.Y36(pe.yW,8))},xt.\u0275cmp=g.Xpm({type:xt,selectors:[["nz-input-number"]],viewQuery:function($e,Ae){if(1&$e&&(g.Gf(N,7),g.Gf(q,7),g.Gf(Y,7)),2&$e){let Ze;g.iGM(Ze=g.CRH())&&(Ae.upHandler=Ze.first),g.iGM(Ze=g.CRH())&&(Ae.downHandler=Ze.first),g.iGM(Ze=g.CRH())&&(Ae.inputElement=Ze.first)}},hostAttrs:[1,"ant-input-number"],hostVars:16,hostBindings:function($e,Ae){2&$e&&g.ekj("ant-input-number-in-form-item",!!Ae.nzFormStatusService)("ant-input-number-focused",Ae.isFocused)("ant-input-number-lg","large"===Ae.nzSize)("ant-input-number-sm","small"===Ae.nzSize)("ant-input-number-disabled",Ae.nzDisabled)("ant-input-number-readonly",Ae.nzReadOnly)("ant-input-number-rtl","rtl"===Ae.dir)("ant-input-number-borderless",Ae.nzBorderless)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecision:"nzPrecision",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStatus:"nzStatus",nzStep:"nzStep",nzInputMode:"nzInputMode",nzId:"nzId",nzDisabled:"nzDisabled",nzReadOnly:"nzReadOnly",nzAutoFocus:"nzAutoFocus",nzBorderless:"nzBorderless",nzFormatter:"nzFormatter"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[g._Bn([{provide:l.JU,useExisting:(0,g.Gpc)(()=>xt),multi:!0},S.kn]),g.TTD],decls:11,vars:15,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown"],["upHandler",""],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown"],["downHandler",""],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","readOnly","ngModel","ngModelChange"],["inputElement",""],["class","ant-input-number-suffix",3,"status",4,"ngIf"],[1,"ant-input-number-suffix",3,"status"]],template:function($e,Ae){1&$e&&(g.TgZ(0,"div",0)(1,"span",1,2),g.NdJ("mousedown",function(oe){return Ae.up(oe)}),g._UZ(3,"span",3),g.qZA(),g.TgZ(4,"span",4,5),g.NdJ("mousedown",function(oe){return Ae.down(oe)}),g._UZ(6,"span",6),g.qZA()(),g.TgZ(7,"div",7)(8,"input",8,9),g.NdJ("ngModelChange",function(oe){return Ae.onModelChange(oe)}),g.qZA()(),g.YNc(10,k,1,1,"nz-form-item-feedback-icon",10)),2&$e&&(g.xp6(1),g.ekj("ant-input-number-handler-up-disabled",Ae.disabledUp),g.xp6(3),g.ekj("ant-input-number-handler-down-disabled",Ae.disabledDown),g.xp6(4),g.Q6J("disabled",Ae.nzDisabled)("placeholder",Ae.nzPlaceHolder)("readOnly",Ae.nzReadOnly)("ngModel",Ae.displayValue),g.uIk("id",Ae.nzId)("autofocus",Ae.nzAutoFocus?"autofocus":null)("min",Ae.nzMin)("max",Ae.nzMax)("step",Ae.nzStep)("inputmode",Ae.nzInputMode),g.xp6(2),g.Q6J("ngIf",Ae.hasFeedback&&!!Ae.status&&!Ae.nzFormNoStatusService))},dependencies:[ae.O5,l.Fj,l.JJ,l.On,Z.Ls,pe.w_],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,e.yF)()],xt.prototype,"nzDisabled",void 0),(0,t.gn)([(0,e.yF)()],xt.prototype,"nzReadOnly",void 0),(0,t.gn)([(0,e.yF)()],xt.prototype,"nzAutoFocus",void 0),(0,t.gn)([(0,e.yF)()],xt.prototype,"nzBorderless",void 0),xt})(),sn=(()=>{class xt{constructor(){this.icon=null,this.type=null,this.template=null}}return xt.\u0275fac=function($e){return new($e||xt)},xt.\u0275cmp=g.Xpm({type:xt,selectors:[["","nz-input-number-group-slot",""]],hostVars:6,hostBindings:function($e,Ae){2&$e&&g.ekj("ant-input-number-group-addon","addon"===Ae.type)("ant-input-number-prefix","prefix"===Ae.type)("ant-input-number-suffix","suffix"===Ae.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:me,ngContentSelectors:ye,decls:3,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function($e,Ae){1&$e&&(g.F$t(),g.YNc(0,fe,1,1,"span",0),g.YNc(1,te,2,1,"ng-container",1),g.Hsn(2)),2&$e&&(g.Q6J("ngIf",Ae.icon),g.xp6(1),g.Q6J("nzStringTemplateOutlet",Ae.template))},dependencies:[ae.O5,U.f,Z.Ls],encapsulation:2,changeDetection:0}),xt})(),zn=(()=>{class xt{constructor($e,Ae,Ze,oe,J,Te,Pe){this.focusMonitor=$e,this.elementRef=Ae,this.renderer=Ze,this.cdr=oe,this.directionality=J,this.nzFormStatusService=Te,this.nzFormNoStatusService=Pe,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzStatus="",this.nzSize="default",this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.isFeedback=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.prefixCls="ant-input-number",this.affixStatusCls={},this.groupStatusCls={},this.affixInGroupStatusCls={},this.status="",this.hasFeedback=!1,this.destroy$=new s.x}updateChildrenInputSize(){this.listOfNzInputNumberComponent&&this.listOfNzInputNumberComponent.forEach($e=>$e.nzSize=this.nzSize)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,T.x)(($e,Ae)=>$e.status===Ae.status&&$e.hasFeedback===Ae.hasFeedback),(0,M.R)(this.destroy$)).subscribe(({status:$e,hasFeedback:Ae})=>{this.setStatusStyles($e,Ae)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,M.R)(this.destroy$)).subscribe($e=>{this.focused=!!$e,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,M.R)(this.destroy$)).subscribe($e=>{this.dir=$e})}ngAfterContentInit(){this.updateChildrenInputSize();const $e=this.listOfNzInputNumberComponent.changes.pipe((0,E.O)(this.listOfNzInputNumberComponent));$e.pipe((0,O.w)(Ae=>(0,R.T)($e,...Ae.map(Ze=>Ze.disabled$))),(0,F.z)(()=>$e),(0,V.U)(Ae=>Ae.some(Ze=>Ze.nzDisabled)),(0,M.R)(this.destroy$)).subscribe(Ae=>{this.disabled=Ae,this.cdr.markForCheck()})}ngOnChanges($e){const{nzSize:Ae,nzSuffix:Ze,nzPrefix:oe,nzPrefixIcon:J,nzSuffixIcon:Te,nzAddOnAfter:Pe,nzAddOnBefore:Ge,nzAddOnAfterIcon:it,nzAddOnBeforeIcon:yt,nzStatus:Ut}=$e;Ae&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),(Ze||oe||J||Te)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(Pe||Ge||it||yt)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),Ut&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}setStatusStyles($e,Ae){this.status=$e,this.hasFeedback=Ae,this.isFeedback=!!$e&&Ae,this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)||!this.isAddOn&&Ae,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=(0,e.Zu)(`${this.prefixCls}-affix-wrapper`,$e,Ae):{},this.cdr.markForCheck(),this.affixStatusCls=(0,e.Zu)(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":$e,!this.isAddOn&&Ae),this.groupStatusCls=(0,e.Zu)(`${this.prefixCls}-group-wrapper`,this.isAddOn?$e:"",!!this.isAddOn&&Ae);const oe={...this.affixStatusCls,...this.groupStatusCls};Object.keys(oe).forEach(J=>{oe[J]?this.renderer.addClass(this.elementRef.nativeElement,J):this.renderer.removeClass(this.elementRef.nativeElement,J)})}}return xt.\u0275fac=function($e){return new($e||xt)(g.Y36(I.tE),g.Y36(g.SBq),g.Y36(g.Qsj),g.Y36(g.sBO),g.Y36(w.Is,8),g.Y36(pe.kH,8),g.Y36(pe.yW,8))},xt.\u0275cmp=g.Xpm({type:xt,selectors:[["nz-input-number-group"]],contentQueries:function($e,Ae,Ze){if(1&$e&&g.Suo(Ze,Rt,5),2&$e){let oe;g.iGM(oe=g.CRH())&&(Ae.listOfNzInputNumberComponent=oe)}},hostVars:24,hostBindings:function($e,Ae){2&$e&&g.ekj("ant-input-number-group",Ae.nzCompact)("ant-input-number-group-compact",Ae.nzCompact)("ant-input-number-group-wrapper",Ae.isAddOn)("ant-input-number-group-wrapper-rtl",Ae.isAddOn&&"rtl"===Ae.dir)("ant-input-number-group-wrapper-lg",Ae.isAddOn&&Ae.isLarge)("ant-input-number-group-wrapper-sm",Ae.isAddOn&&Ae.isSmall)("ant-input-number-affix-wrapper",!Ae.isAddOn&&Ae.isAffix)("ant-input-number-affix-wrapper-rtl",!Ae.isAddOn&&"rtl"===Ae.dir)("ant-input-number-affix-wrapper-focused",!Ae.isAddOn&&Ae.isAffix&&Ae.focused)("ant-input-number-affix-wrapper-disabled",!Ae.isAddOn&&Ae.isAffix&&Ae.disabled)("ant-input-number-affix-wrapper-lg",!Ae.isAddOn&&Ae.isAffix&&Ae.isLarge)("ant-input-number-affix-wrapper-sm",!Ae.isAddOn&&Ae.isAffix&&Ae.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzCompact:"nzCompact"},exportAs:["nzInputNumberGroup"],features:[g._Bn([pe.yW]),g.TTD],ngContentSelectors:ye,decls:7,vars:2,consts:[["class","ant-input-number-wrapper ant-input-number-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-number-wrapper","ant-input-number-group"],["nz-input-number-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-number-affix-wrapper",3,"ant-input-number-affix-wrapper-disabled","ant-input-number-affix-wrapper-sm","ant-input-number-affix-wrapper-lg","ant-input-number-affix-wrapper-focused","ngClass",4,"ngIf","ngIfElse"],["nz-input-number-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-number-affix-wrapper",3,"ngClass"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-number-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-number-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-number-group-slot","","type","prefix",3,"icon","template"],["nz-input-number-group-slot","","type","suffix",3,"icon","template"],[3,"status",4,"ngIf"],[3,"status"],["nz-input-number-group-slot","","type","suffix",4,"ngIf"],["nz-input-number-group-slot","","type","suffix"]],template:function($e,Ae){if(1&$e&&(g.F$t(),g.YNc(0,wt,4,4,"span",0),g.YNc(1,ot,1,2,"ng-template",null,1,g.W1O),g.YNc(3,At,3,3,"ng-template",null,2,g.W1O),g.YNc(5,ct,2,1,"ng-template",null,3,g.W1O)),2&$e){const Ze=g.MAs(2);g.Q6J("ngIf",Ae.isAddOn)("ngIfElse",Ze)}},dependencies:[ae.mk,ae.O5,ae.tP,pe.w_,sn],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,e.yF)()],xt.prototype,"nzCompact",void 0),xt})(),Yt=(()=>{class xt{}return xt.\u0275fac=function($e){return new($e||xt)},xt.\u0275mod=g.oAB({type:xt}),xt.\u0275inj=g.cJS({imports:[w.vT,ae.ez,l.u5,U.T,Z.PV,pe.mJ]}),xt})()},5635:(Et,Me,a)=>{a.d(Me,{Zp:()=>_t,gB:()=>Rt,ke:()=>ct,o7:()=>zn,rh:()=>sn});var t=a(655),o=a(4650),g=a(7579),l=a(6451),s=a(1884),L=a(2722),R=a(9300),T=a(8675),M=a(3900),E=a(5577),O=a(4004),F=a(9570),V=a(3187),S=a(4006),e=a(445),I=a(2687),w=a(6895),pe=a(1102),ae=a(6287),Z=a(3353),U=a(3303);const N=["nz-input-group-slot",""];function q(Yt,xt){if(1&Yt&&o._UZ(0,"span",2),2&Yt){const Ye=o.oxw();o.Q6J("nzType",Ye.icon)}}function Y(Yt,xt){if(1&Yt&&(o.ynx(0),o._uU(1),o.BQk()),2&Yt){const Ye=o.oxw();o.xp6(1),o.Oqu(Ye.template)}}const k=["*"];function me(Yt,xt){if(1&Yt&&o._UZ(0,"span",7),2&Yt){const Ye=o.oxw(2);o.Q6J("icon",Ye.nzAddOnBeforeIcon)("template",Ye.nzAddOnBefore)}}function fe(Yt,xt){}function te(Yt,xt){if(1&Yt&&(o.TgZ(0,"span",8),o.YNc(1,fe,0,0,"ng-template",9),o.qZA()),2&Yt){const Ye=o.oxw(2),$e=o.MAs(4);o.ekj("ant-input-affix-wrapper-disabled",Ye.disabled)("ant-input-affix-wrapper-sm",Ye.isSmall)("ant-input-affix-wrapper-lg",Ye.isLarge)("ant-input-affix-wrapper-focused",Ye.focused),o.Q6J("ngClass",Ye.affixInGroupStatusCls),o.xp6(1),o.Q6J("ngTemplateOutlet",$e)}}function ye(Yt,xt){if(1&Yt&&o._UZ(0,"span",7),2&Yt){const Ye=o.oxw(2);o.Q6J("icon",Ye.nzAddOnAfterIcon)("template",Ye.nzAddOnAfter)}}function H(Yt,xt){if(1&Yt&&(o.TgZ(0,"span",4),o.YNc(1,me,1,2,"span",5),o.YNc(2,te,2,10,"span",6),o.YNc(3,ye,1,2,"span",5),o.qZA()),2&Yt){const Ye=o.oxw(),$e=o.MAs(6);o.xp6(1),o.Q6J("ngIf",Ye.nzAddOnBefore||Ye.nzAddOnBeforeIcon),o.xp6(1),o.Q6J("ngIf",Ye.isAffix||Ye.hasFeedback)("ngIfElse",$e),o.xp6(1),o.Q6J("ngIf",Ye.nzAddOnAfter||Ye.nzAddOnAfterIcon)}}function X(Yt,xt){}function ve(Yt,xt){if(1&Yt&&o.YNc(0,X,0,0,"ng-template",9),2&Yt){o.oxw(2);const Ye=o.MAs(4);o.Q6J("ngTemplateOutlet",Ye)}}function Se(Yt,xt){if(1&Yt&&o.YNc(0,ve,1,1,"ng-template",10),2&Yt){const Ye=o.oxw(),$e=o.MAs(6);o.Q6J("ngIf",Ye.isAffix)("ngIfElse",$e)}}function wt(Yt,xt){if(1&Yt&&o._UZ(0,"span",13),2&Yt){const Ye=o.oxw(2);o.Q6J("icon",Ye.nzPrefixIcon)("template",Ye.nzPrefix)}}function St(Yt,xt){}function rn(Yt,xt){if(1&Yt&&o._UZ(0,"nz-form-item-feedback-icon",16),2&Yt){const Ye=o.oxw(3);o.Q6J("status",Ye.status)}}function ot(Yt,xt){if(1&Yt&&(o.TgZ(0,"span",14),o.YNc(1,rn,1,1,"nz-form-item-feedback-icon",15),o.qZA()),2&Yt){const Ye=o.oxw(2);o.Q6J("icon",Ye.nzSuffixIcon)("template",Ye.nzSuffix),o.xp6(1),o.Q6J("ngIf",Ye.isFeedback)}}function gt(Yt,xt){if(1&Yt&&(o.YNc(0,wt,1,2,"span",11),o.YNc(1,St,0,0,"ng-template",9),o.YNc(2,ot,2,3,"span",12)),2&Yt){const Ye=o.oxw(),$e=o.MAs(6);o.Q6J("ngIf",Ye.nzPrefix||Ye.nzPrefixIcon),o.xp6(1),o.Q6J("ngTemplateOutlet",$e),o.xp6(1),o.Q6J("ngIf",Ye.nzSuffix||Ye.nzSuffixIcon||Ye.isFeedback)}}function Dt(Yt,xt){if(1&Yt&&(o.TgZ(0,"span",18),o._UZ(1,"nz-form-item-feedback-icon",16),o.qZA()),2&Yt){const Ye=o.oxw(2);o.xp6(1),o.Q6J("status",Ye.status)}}function Wt(Yt,xt){if(1&Yt&&(o.Hsn(0),o.YNc(1,Dt,2,1,"span",17)),2&Yt){const Ye=o.oxw();o.xp6(1),o.Q6J("ngIf",!Ye.isAddOn&&!Ye.isAffix&&Ye.isFeedback)}}let _t=(()=>{class Yt{constructor(Ye,$e,Ae,Ze,oe,J,Te){this.ngControl=Ye,this.renderer=$e,this.elementRef=Ae,this.hostView=Ze,this.directionality=oe,this.nzFormStatusService=J,this.nzFormNoStatusService=Te,this.nzBorderless=!1,this.nzSize="default",this.nzStatus="",this._disabled=!1,this.disabled$=new g.x,this.dir="ltr",this.prefixCls="ant-input",this.status="",this.statusCls={},this.hasFeedback=!1,this.feedbackRef=null,this.components=[],this.destroy$=new g.x,$e.addClass(Ae.nativeElement,"ant-input")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(Ye){this._disabled=null!=Ye&&"false"!=`${Ye}`}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,s.x)((Ye,$e)=>Ye.status===$e.status&&Ye.hasFeedback===$e.hasFeedback),(0,L.R)(this.destroy$)).subscribe(({status:Ye,hasFeedback:$e})=>{this.setStatusStyles(Ye,$e)}),this.ngControl&&this.ngControl.statusChanges?.pipe((0,R.h)(()=>null!==this.ngControl.disabled),(0,L.R)(this.destroy$)).subscribe(()=>{this.disabled$.next(this.ngControl.disabled)}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,L.R)(this.destroy$)).subscribe(Ye=>{this.dir=Ye})}ngOnChanges(Ye){const{disabled:$e,nzStatus:Ae}=Ye;$e&&this.disabled$.next(this.disabled),Ae&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setStatusStyles(Ye,$e){this.status=Ye,this.hasFeedback=$e,this.renderFeedbackIcon(),this.statusCls=(0,V.Zu)(this.prefixCls,Ye,$e),Object.keys(this.statusCls).forEach(Ae=>{this.statusCls[Ae]?this.renderer.addClass(this.elementRef.nativeElement,Ae):this.renderer.removeClass(this.elementRef.nativeElement,Ae)})}renderFeedbackIcon(){if(!this.status||!this.hasFeedback||this.nzFormNoStatusService)return this.hostView.clear(),void(this.feedbackRef=null);this.feedbackRef=this.feedbackRef||this.hostView.createComponent(F.w_),this.feedbackRef.location.nativeElement.classList.add("ant-input-suffix"),this.feedbackRef.instance.status=this.status,this.feedbackRef.instance.updateIcon()}}return Yt.\u0275fac=function(Ye){return new(Ye||Yt)(o.Y36(S.a5,10),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(e.Is,8),o.Y36(F.kH,8),o.Y36(F.yW,8))},Yt.\u0275dir=o.lG2({type:Yt,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostVars:11,hostBindings:function(Ye,$e){2&Ye&&(o.uIk("disabled",$e.disabled||null),o.ekj("ant-input-disabled",$e.disabled)("ant-input-borderless",$e.nzBorderless)("ant-input-lg","large"===$e.nzSize)("ant-input-sm","small"===$e.nzSize)("ant-input-rtl","rtl"===$e.dir))},inputs:{nzBorderless:"nzBorderless",nzSize:"nzSize",nzStatus:"nzStatus",disabled:"disabled"},exportAs:["nzInput"],features:[o.TTD]}),(0,t.gn)([(0,V.yF)()],Yt.prototype,"nzBorderless",void 0),Yt})(),Xt=(()=>{class Yt{constructor(){this.icon=null,this.type=null,this.template=null}}return Yt.\u0275fac=function(Ye){return new(Ye||Yt)},Yt.\u0275cmp=o.Xpm({type:Yt,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(Ye,$e){2&Ye&&o.ekj("ant-input-group-addon","addon"===$e.type)("ant-input-prefix","prefix"===$e.type)("ant-input-suffix","suffix"===$e.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:N,ngContentSelectors:k,decls:3,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(Ye,$e){1&Ye&&(o.F$t(),o.YNc(0,q,1,1,"span",0),o.YNc(1,Y,2,1,"ng-container",1),o.Hsn(2)),2&Ye&&(o.Q6J("ngIf",$e.icon),o.xp6(1),o.Q6J("nzStringTemplateOutlet",$e.template))},dependencies:[w.O5,pe.Ls,ae.f],encapsulation:2,changeDetection:0}),Yt})(),ct=(()=>{class Yt{constructor(Ye){this.elementRef=Ye}}return Yt.\u0275fac=function(Ye){return new(Ye||Yt)(o.Y36(o.SBq))},Yt.\u0275dir=o.lG2({type:Yt,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]}),Yt})(),Rt=(()=>{class Yt{constructor(Ye,$e,Ae,Ze,oe,J,Te){this.focusMonitor=Ye,this.elementRef=$e,this.renderer=Ae,this.cdr=Ze,this.directionality=oe,this.nzFormStatusService=J,this.nzFormNoStatusService=Te,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzStatus="",this.nzSize="default",this.nzSearch=!1,this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.isFeedback=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.prefixCls="ant-input",this.affixStatusCls={},this.groupStatusCls={},this.affixInGroupStatusCls={},this.status="",this.hasFeedback=!1,this.destroy$=new g.x}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach(Ye=>Ye.nzSize=this.nzSize)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,s.x)((Ye,$e)=>Ye.status===$e.status&&Ye.hasFeedback===$e.hasFeedback),(0,L.R)(this.destroy$)).subscribe(({status:Ye,hasFeedback:$e})=>{this.setStatusStyles(Ye,$e)}),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,L.R)(this.destroy$)).subscribe(Ye=>{this.focused=!!Ye,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,L.R)(this.destroy$)).subscribe(Ye=>{this.dir=Ye})}ngAfterContentInit(){this.updateChildrenInputSize();const Ye=this.listOfNzInputDirective.changes.pipe((0,T.O)(this.listOfNzInputDirective));Ye.pipe((0,M.w)($e=>(0,l.T)(Ye,...$e.map(Ae=>Ae.disabled$))),(0,E.z)(()=>Ye),(0,O.U)($e=>$e.some(Ae=>Ae.disabled)),(0,L.R)(this.destroy$)).subscribe($e=>{this.disabled=$e,this.cdr.markForCheck()})}ngOnChanges(Ye){const{nzSize:$e,nzSuffix:Ae,nzPrefix:Ze,nzPrefixIcon:oe,nzSuffixIcon:J,nzAddOnAfter:Te,nzAddOnBefore:Pe,nzAddOnAfterIcon:Ge,nzAddOnBeforeIcon:it,nzStatus:yt}=Ye;$e&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),(Ae||Ze||oe||J)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(Te||Pe||Ge||it)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),yt&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}setStatusStyles(Ye,$e){this.status=Ye,this.hasFeedback=$e,this.isFeedback=!!Ye&&$e,this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)||!this.isAddOn&&$e,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=(0,V.Zu)(`${this.prefixCls}-affix-wrapper`,Ye,$e):{},this.cdr.markForCheck(),this.affixStatusCls=(0,V.Zu)(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":Ye,!this.isAddOn&&$e),this.groupStatusCls=(0,V.Zu)(`${this.prefixCls}-group-wrapper`,this.isAddOn?Ye:"",!!this.isAddOn&&$e);const Ze={...this.affixStatusCls,...this.groupStatusCls};Object.keys(Ze).forEach(oe=>{Ze[oe]?this.renderer.addClass(this.elementRef.nativeElement,oe):this.renderer.removeClass(this.elementRef.nativeElement,oe)})}}return Yt.\u0275fac=function(Ye){return new(Ye||Yt)(o.Y36(I.tE),o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(o.sBO),o.Y36(e.Is,8),o.Y36(F.kH,8),o.Y36(F.yW,8))},Yt.\u0275cmp=o.Xpm({type:Yt,selectors:[["nz-input-group"]],contentQueries:function(Ye,$e,Ae){if(1&Ye&&o.Suo(Ae,_t,4),2&Ye){let Ze;o.iGM(Ze=o.CRH())&&($e.listOfNzInputDirective=Ze)}},hostVars:40,hostBindings:function(Ye,$e){2&Ye&&o.ekj("ant-input-group-compact",$e.nzCompact)("ant-input-search-enter-button",$e.nzSearch)("ant-input-search",$e.nzSearch)("ant-input-search-rtl","rtl"===$e.dir)("ant-input-search-sm",$e.nzSearch&&$e.isSmall)("ant-input-search-large",$e.nzSearch&&$e.isLarge)("ant-input-group-wrapper",$e.isAddOn)("ant-input-group-wrapper-rtl","rtl"===$e.dir)("ant-input-group-wrapper-lg",$e.isAddOn&&$e.isLarge)("ant-input-group-wrapper-sm",$e.isAddOn&&$e.isSmall)("ant-input-affix-wrapper",$e.isAffix&&!$e.isAddOn)("ant-input-affix-wrapper-rtl","rtl"===$e.dir)("ant-input-affix-wrapper-focused",$e.isAffix&&$e.focused)("ant-input-affix-wrapper-disabled",$e.isAffix&&$e.disabled)("ant-input-affix-wrapper-lg",$e.isAffix&&!$e.isAddOn&&$e.isLarge)("ant-input-affix-wrapper-sm",$e.isAffix&&!$e.isAddOn&&$e.isSmall)("ant-input-group",!$e.isAffix&&!$e.isAddOn)("ant-input-group-rtl","rtl"===$e.dir)("ant-input-group-lg",!$e.isAffix&&!$e.isAddOn&&$e.isLarge)("ant-input-group-sm",!$e.isAffix&&!$e.isAddOn&&$e.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzSearch:"nzSearch",nzCompact:"nzCompact"},exportAs:["nzInputGroup"],features:[o._Bn([F.yW]),o.TTD],ngContentSelectors:k,decls:7,vars:2,consts:[["class","ant-input-wrapper ant-input-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-affix-wrapper",3,"ant-input-affix-wrapper-disabled","ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg","ant-input-affix-wrapper-focused","ngClass",4,"ngIf","ngIfElse"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper",3,"ngClass"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"],[3,"status",4,"ngIf"],[3,"status"],["nz-input-group-slot","","type","suffix",4,"ngIf"],["nz-input-group-slot","","type","suffix"]],template:function(Ye,$e){if(1&Ye&&(o.F$t(),o.YNc(0,H,4,4,"span",0),o.YNc(1,Se,1,2,"ng-template",null,1,o.W1O),o.YNc(3,gt,3,3,"ng-template",null,2,o.W1O),o.YNc(5,Wt,2,1,"ng-template",null,3,o.W1O)),2&Ye){const Ae=o.MAs(2);o.Q6J("ngIf",$e.isAddOn)("ngIfElse",Ae)}},dependencies:[w.mk,w.O5,w.tP,F.w_,Xt],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,V.yF)()],Yt.prototype,"nzSearch",void 0),(0,t.gn)([(0,V.yF)()],Yt.prototype,"nzCompact",void 0),Yt})(),sn=(()=>{class Yt{constructor(Ye,$e,Ae,Ze){this.elementRef=Ye,this.ngZone=$e,this.platform=Ae,this.resizeService=Ze,this.autosize=!1,this.el=this.elementRef.nativeElement,this.maxHeight=null,this.minHeight=null,this.destroy$=new g.x,this.inputGap=10}set nzAutosize(Ye){var Ae;"string"==typeof Ye||!0===Ye?this.autosize=!0:"string"!=typeof(Ae=Ye)&&"boolean"!=typeof Ae&&(Ae.maxRows||Ae.minRows)&&(this.autosize=!0,this.minRows=Ye.minRows,this.maxRows=Ye.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent(Ye=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;const $e=this.el,Ae=$e.value;if(!Ye&&this.minRows===this.previousMinRows&&Ae===this.previousValue)return;const Ze=$e.placeholder;$e.classList.add("nz-textarea-autosize-measuring"),$e.placeholder="";let oe=Math.round(($e.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;null!==this.maxHeight&&oe>this.maxHeight&&(oe=this.maxHeight),null!==this.minHeight&&oerequestAnimationFrame(()=>{const{selectionStart:J,selectionEnd:Te}=$e;!this.destroy$.isStopped&&document.activeElement===$e&&$e.setSelectionRange(J,Te)})),this.previousValue=Ae,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;const Ye=this.el.cloneNode(!1);Ye.rows=1,Ye.style.position="absolute",Ye.style.visibility="hidden",Ye.style.border="none",Ye.style.padding="0",Ye.style.height="",Ye.style.minHeight="",Ye.style.maxHeight="",Ye.style.overflow="hidden",this.el.parentNode.appendChild(Ye),this.cachedLineHeight=Ye.clientHeight-this.inputGap,this.el.parentNode.removeChild(Ye),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){const Ye=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return null!==Ye&&(this.el.style.minHeight=`${Ye}px`),Ye}setMaxHeight(){const Ye=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return null!==Ye&&(this.el.style.maxHeight=`${Ye}px`),Ye}noopInputHandler(){}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.subscribe().pipe((0,L.R)(this.destroy$)).subscribe(()=>this.resizeToFitContent(!0)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}}return Yt.\u0275fac=function(Ye){return new(Ye||Yt)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Z.t4),o.Y36(U.rI))},Yt.\u0275dir=o.lG2({type:Yt,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(Ye,$e){1&Ye&&o.NdJ("input",function(){return $e.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]}),Yt})(),zn=(()=>{class Yt{}return Yt.\u0275fac=function(Ye){return new(Ye||Yt)},Yt.\u0275mod=o.oAB({type:Yt}),Yt.\u0275inj=o.cJS({imports:[e.vT,w.ez,pe.PV,Z.ud,ae.T,F.mJ]}),Yt})()},6152:(Et,Me,a)=>{a.d(Me,{AA:()=>Re,I2:()=>vt,IO:()=>K,KC:()=>xe,Pb:()=>ze,Ph:()=>Ie,n_:()=>ft,nk:()=>ut,t4:()=>qt,yi:()=>ke,yw:()=>ge});var t=a(4650),o=a(6895),g=a(4383),l=a(6287),s=a(655),L=a(3187),R=a(7579),T=a(9770),M=a(9646),E=a(6451),O=a(9751),F=a(1135),V=a(5698),S=a(3900),e=a(2722),I=a(3303),w=a(4788),pe=a(445),ae=a(5681),Z=a(3679);const U=["*"];function N(he,we){if(1&he&&t._UZ(0,"nz-avatar",3),2&he){const ce=t.oxw();t.Q6J("nzSrc",ce.nzSrc)}}function q(he,we){1&he&&t.Hsn(0,0,["*ngIf","!nzSrc"])}function Y(he,we){if(1&he&&t._UZ(0,"nz-list-item-meta-avatar",3),2&he){const ce=t.oxw();t.Q6J("nzSrc",ce.avatarStr)}}function k(he,we){if(1&he&&(t.TgZ(0,"nz-list-item-meta-avatar"),t.GkF(1,4),t.qZA()),2&he){const ce=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",ce.avatarTpl)}}function me(he,we){if(1&he&&(t.ynx(0),t._uU(1),t.BQk()),2&he){const ce=t.oxw(3);t.xp6(1),t.Oqu(ce.nzTitle)}}function fe(he,we){if(1&he&&(t.TgZ(0,"nz-list-item-meta-title"),t.YNc(1,me,2,1,"ng-container",6),t.qZA()),2&he){const ce=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",ce.nzTitle)}}function te(he,we){if(1&he&&(t.ynx(0),t._uU(1),t.BQk()),2&he){const ce=t.oxw(3);t.xp6(1),t.Oqu(ce.nzDescription)}}function ye(he,we){if(1&he&&(t.TgZ(0,"nz-list-item-meta-description"),t.YNc(1,te,2,1,"ng-container",6),t.qZA()),2&he){const ce=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",ce.nzDescription)}}function H(he,we){if(1&he&&(t.TgZ(0,"div",5),t.YNc(1,fe,2,1,"nz-list-item-meta-title",1),t.YNc(2,ye,2,1,"nz-list-item-meta-description",1),t.Hsn(3,1),t.Hsn(4,2),t.qZA()),2&he){const ce=t.oxw();t.xp6(1),t.Q6J("ngIf",ce.nzTitle&&!ce.titleComponent),t.xp6(1),t.Q6J("ngIf",ce.nzDescription&&!ce.descriptionComponent)}}const X=[[["nz-list-item-meta-avatar"]],[["nz-list-item-meta-title"]],[["nz-list-item-meta-description"]]],ve=["nz-list-item-meta-avatar","nz-list-item-meta-title","nz-list-item-meta-description"];function Se(he,we){1&he&&t.Hsn(0)}const wt=["nz-list-item-actions",""];function St(he,we){}function rn(he,we){1&he&&t._UZ(0,"em",3)}function ot(he,we){if(1&he&&(t.TgZ(0,"li"),t.YNc(1,St,0,0,"ng-template",1),t.YNc(2,rn,1,0,"em",2),t.qZA()),2&he){const ce=we.$implicit,nt=we.last;t.xp6(1),t.Q6J("ngTemplateOutlet",ce),t.xp6(1),t.Q6J("ngIf",!nt)}}function gt(he,we){}const Dt=function(he,we){return{$implicit:he,index:we}};function Wt(he,we){if(1&he&&(t.ynx(0),t.YNc(1,gt,0,0,"ng-template",9),t.BQk()),2&he){const ce=we.$implicit,nt=we.index,be=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",be.nzRenderItem)("ngTemplateOutletContext",t.WLB(2,Dt,ce,nt))}}function mn(he,we){if(1&he&&(t.TgZ(0,"div",7),t.YNc(1,Wt,2,5,"ng-container",8),t.Hsn(2,4),t.qZA()),2&he){const ce=t.oxw();t.xp6(1),t.Q6J("ngForOf",ce.nzDataSource)}}function At(he,we){if(1&he&&(t.ynx(0),t._uU(1),t.BQk()),2&he){const ce=t.oxw(2);t.xp6(1),t.Oqu(ce.nzHeader)}}function _t(he,we){if(1&he&&(t.TgZ(0,"nz-list-header"),t.YNc(1,At,2,1,"ng-container",10),t.qZA()),2&he){const ce=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",ce.nzHeader)}}function Xt(he,we){1&he&&t._UZ(0,"div"),2&he&&t.Udp("min-height",53,"px")}function ct(he,we){}function Rt(he,we){if(1&he&&(t.TgZ(0,"div",13),t.YNc(1,ct,0,0,"ng-template",9),t.qZA()),2&he){const ce=we.$implicit,nt=we.index,be=t.oxw(2);t.Q6J("nzSpan",be.nzGrid.span||null)("nzXs",be.nzGrid.xs||null)("nzSm",be.nzGrid.sm||null)("nzMd",be.nzGrid.md||null)("nzLg",be.nzGrid.lg||null)("nzXl",be.nzGrid.xl||null)("nzXXl",be.nzGrid.xxl||null),t.xp6(1),t.Q6J("ngTemplateOutlet",be.nzRenderItem)("ngTemplateOutletContext",t.WLB(9,Dt,ce,nt))}}function sn(he,we){if(1&he&&(t.TgZ(0,"div",11),t.YNc(1,Rt,2,12,"div",12),t.qZA()),2&he){const ce=t.oxw();t.Q6J("nzGutter",ce.nzGrid.gutter||null),t.xp6(1),t.Q6J("ngForOf",ce.nzDataSource)}}function Dn(he,we){if(1&he&&t._UZ(0,"nz-list-empty",14),2&he){const ce=t.oxw();t.Q6J("nzNoResult",ce.nzNoResult)}}function zn(he,we){if(1&he&&(t.ynx(0),t._uU(1),t.BQk()),2&he){const ce=t.oxw(2);t.xp6(1),t.Oqu(ce.nzFooter)}}function Yt(he,we){if(1&he&&(t.TgZ(0,"nz-list-footer"),t.YNc(1,zn,2,1,"ng-container",10),t.qZA()),2&he){const ce=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",ce.nzFooter)}}function xt(he,we){}function Ye(he,we){}function $e(he,we){if(1&he&&(t.TgZ(0,"nz-list-pagination"),t.YNc(1,Ye,0,0,"ng-template",6),t.qZA()),2&he){const ce=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",ce.nzPagination)}}const Ae=[[["nz-list-header"]],[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],"*"],Ze=["nz-list-header","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","*"];function oe(he,we){if(1&he&&t._UZ(0,"ul",6),2&he){const ce=t.oxw(2);t.Q6J("nzActions",ce.nzActions)}}function J(he,we){if(1&he&&(t.YNc(0,oe,1,1,"ul",5),t.Hsn(1)),2&he){const ce=t.oxw();t.Q6J("ngIf",ce.nzActions&&ce.nzActions.length>0)}}function Te(he,we){if(1&he&&(t.ynx(0),t._uU(1),t.BQk()),2&he){const ce=t.oxw(3);t.xp6(1),t.Oqu(ce.nzContent)}}function Pe(he,we){if(1&he&&(t.ynx(0),t.YNc(1,Te,2,1,"ng-container",8),t.BQk()),2&he){const ce=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",ce.nzContent)}}function Ge(he,we){if(1&he&&(t.Hsn(0,1),t.Hsn(1,2),t.YNc(2,Pe,2,1,"ng-container",7)),2&he){const ce=t.oxw();t.xp6(2),t.Q6J("ngIf",ce.nzContent)}}function it(he,we){1&he&&t.Hsn(0,3)}function yt(he,we){}function Ut(he,we){}function $t(he,we){}function Je(he,we){}function et(he,we){if(1&he&&(t.YNc(0,yt,0,0,"ng-template",9),t.YNc(1,Ut,0,0,"ng-template",9),t.YNc(2,$t,0,0,"ng-template",9),t.YNc(3,Je,0,0,"ng-template",9)),2&he){const ce=t.oxw(),nt=t.MAs(3),be=t.MAs(5),rt=t.MAs(1);t.Q6J("ngTemplateOutlet",nt),t.xp6(1),t.Q6J("ngTemplateOutlet",ce.nzExtra),t.xp6(1),t.Q6J("ngTemplateOutlet",be),t.xp6(1),t.Q6J("ngTemplateOutlet",rt)}}function pt(he,we){}function Vt(he,we){}function zt(he,we){}function jt(he,we){if(1&he&&(t.TgZ(0,"nz-list-item-extra"),t.YNc(1,zt,0,0,"ng-template",9),t.qZA()),2&he){const ce=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",ce.nzExtra)}}function Nt(he,we){}function We(he,we){if(1&he&&(t.ynx(0),t.TgZ(1,"div",10),t.YNc(2,pt,0,0,"ng-template",9),t.YNc(3,Vt,0,0,"ng-template",9),t.qZA(),t.YNc(4,jt,2,1,"nz-list-item-extra",7),t.YNc(5,Nt,0,0,"ng-template",9),t.BQk()),2&he){const ce=t.oxw(),nt=t.MAs(3),be=t.MAs(1),rt=t.MAs(5);t.xp6(2),t.Q6J("ngTemplateOutlet",nt),t.xp6(1),t.Q6J("ngTemplateOutlet",be),t.xp6(1),t.Q6J("ngIf",ce.nzExtra),t.xp6(1),t.Q6J("ngTemplateOutlet",rt)}}const j=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],P=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"];let K=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-item-meta-title"]],exportAs:["nzListItemMetaTitle"],ngContentSelectors:U,decls:2,vars:0,consts:[[1,"ant-list-item-meta-title"]],template:function(ce,nt){1&ce&&(t.F$t(),t.TgZ(0,"h4",0),t.Hsn(1),t.qZA())},encapsulation:2,changeDetection:0}),he})(),ze=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-item-meta-description"]],exportAs:["nzListItemMetaDescription"],ngContentSelectors:U,decls:2,vars:0,consts:[[1,"ant-list-item-meta-description"]],template:function(ce,nt){1&ce&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},encapsulation:2,changeDetection:0}),he})(),dt=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-item-meta-avatar"]],inputs:{nzSrc:"nzSrc"},exportAs:["nzListItemMetaAvatar"],ngContentSelectors:U,decls:3,vars:2,consts:[[1,"ant-list-item-meta-avatar"],[3,"nzSrc",4,"ngIf"],[4,"ngIf"],[3,"nzSrc"]],template:function(ce,nt){1&ce&&(t.F$t(),t.TgZ(0,"div",0),t.YNc(1,N,1,1,"nz-avatar",1),t.YNc(2,q,1,0,"ng-content",2),t.qZA()),2&ce&&(t.xp6(1),t.Q6J("ngIf",nt.nzSrc),t.xp6(1),t.Q6J("ngIf",!nt.nzSrc))},dependencies:[o.O5,g.Dz],encapsulation:2,changeDetection:0}),he})(),ke=(()=>{class he{constructor(ce,nt){this.elementRef=ce,this.renderer=nt,this.avatarStr="",this.renderer.addClass(ce.nativeElement,"ant-list-item-meta")}set nzAvatar(ce){ce instanceof t.Rgc?(this.avatarStr="",this.avatarTpl=ce):this.avatarStr=ce}}return he.\u0275fac=function(ce){return new(ce||he)(t.Y36(t.SBq),t.Y36(t.Qsj))},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-item-meta"],["","nz-list-item-meta",""]],contentQueries:function(ce,nt,be){if(1&ce&&(t.Suo(be,ze,5),t.Suo(be,K,5)),2&ce){let rt;t.iGM(rt=t.CRH())&&(nt.descriptionComponent=rt.first),t.iGM(rt=t.CRH())&&(nt.titleComponent=rt.first)}},inputs:{nzAvatar:"nzAvatar",nzTitle:"nzTitle",nzDescription:"nzDescription"},exportAs:["nzListItemMeta"],ngContentSelectors:ve,decls:4,vars:3,consts:[[3,"nzSrc",4,"ngIf"],[4,"ngIf"],["class","ant-list-item-meta-content",4,"ngIf"],[3,"nzSrc"],[3,"ngTemplateOutlet"],[1,"ant-list-item-meta-content"],[4,"nzStringTemplateOutlet"]],template:function(ce,nt){1&ce&&(t.F$t(X),t.YNc(0,Y,1,1,"nz-list-item-meta-avatar",0),t.YNc(1,k,2,1,"nz-list-item-meta-avatar",1),t.Hsn(2),t.YNc(3,H,5,2,"div",2)),2&ce&&(t.Q6J("ngIf",nt.avatarStr),t.xp6(1),t.Q6J("ngIf",nt.avatarTpl),t.xp6(2),t.Q6J("ngIf",nt.nzTitle||nt.nzDescription||nt.descriptionComponent||nt.titleComponent))},dependencies:[o.O5,o.tP,l.f,K,ze,dt],encapsulation:2,changeDetection:0}),he})(),ge=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:U,decls:1,vars:0,template:function(ce,nt){1&ce&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),he})(),xe=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-item-action"]],viewQuery:function(ce,nt){if(1&ce&&t.Gf(t.Rgc,5),2&ce){let be;t.iGM(be=t.CRH())&&(nt.templateRef=be.first)}},exportAs:["nzListItemAction"],ngContentSelectors:U,decls:1,vars:0,template:function(ce,nt){1&ce&&(t.F$t(),t.YNc(0,Se,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),he})(),ut=(()=>{class he{constructor(ce,nt,be){this.ngZone=ce,this.nzActions=[],this.actions=[],this.inputActionChanges$=new R.x,this.contentChildrenChanges$=(0,T.P)(()=>this.nzListItemActions?(0,M.of)(null):this.ngZone.onStable.pipe((0,V.q)(1),this.enterZone(),(0,S.w)(()=>this.contentChildrenChanges$))),(0,E.T)(this.contentChildrenChanges$,this.inputActionChanges$).pipe((0,e.R)(be)).subscribe(()=>{this.actions=this.nzActions.length?this.nzActions:this.nzListItemActions.map(rt=>rt.templateRef),nt.detectChanges()})}ngOnChanges(){this.inputActionChanges$.next(null)}enterZone(){return ce=>new O.y(nt=>ce.subscribe({next:be=>this.ngZone.run(()=>nt.next(be))}))}}return he.\u0275fac=function(ce){return new(ce||he)(t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(I.kn))},he.\u0275cmp=t.Xpm({type:he,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(ce,nt,be){if(1&ce&&t.Suo(be,xe,4),2&ce){let rt;t.iGM(rt=t.CRH())&&(nt.nzListItemActions=rt)}},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[t._Bn([I.kn]),t.TTD],attrs:wt,decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(ce,nt){1&ce&&t.YNc(0,ot,3,2,"li",0),2&ce&&t.Q6J("ngForOf",nt.actions)},dependencies:[o.sg,o.O5,o.tP],encapsulation:2,changeDetection:0}),he})(),vt=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:1,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(ce,nt){1&ce&&t._UZ(0,"nz-embed-empty",0),2&ce&&t.Q6J("nzComponentName","list")("specificContent",nt.nzNoResult)},dependencies:[w.gB],encapsulation:2,changeDetection:0}),he})(),qt=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:U,decls:1,vars:0,template:function(ce,nt){1&ce&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),he})(),Ct=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:U,decls:1,vars:0,template:function(ce,nt){1&ce&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),he})(),tn=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:U,decls:1,vars:0,template:function(ce,nt){1&ce&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),he})(),je=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275dir=t.lG2({type:he,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]}),he})(),ft=(()=>{class he{constructor(ce){this.directionality=ce,this.nzBordered=!1,this.nzGrid="",this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.dir="ltr",this.itemLayoutNotifySource=new F.X(this.nzItemLayout),this.destroy$=new R.x}get itemLayoutNotify$(){return this.itemLayoutNotifySource.asObservable()}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,e.R)(this.destroy$)).subscribe(ce=>{this.dir=ce})}getSomethingAfterLastItem(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)}ngOnChanges(ce){ce.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)}ngOnDestroy(){this.itemLayoutNotifySource.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()}}return he.\u0275fac=function(ce){return new(ce||he)(t.Y36(pe.Is,8))},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(ce,nt,be){if(1&ce&&(t.Suo(be,Ct,5),t.Suo(be,tn,5),t.Suo(be,je,5)),2&ce){let rt;t.iGM(rt=t.CRH())&&(nt.nzListFooterComponent=rt.first),t.iGM(rt=t.CRH())&&(nt.nzListPaginationComponent=rt.first),t.iGM(rt=t.CRH())&&(nt.nzListLoadMoreDirective=rt.first)}},hostAttrs:[1,"ant-list"],hostVars:16,hostBindings:function(ce,nt){2&ce&&t.ekj("ant-list-rtl","rtl"===nt.dir)("ant-list-vertical","vertical"===nt.nzItemLayout)("ant-list-lg","large"===nt.nzSize)("ant-list-sm","small"===nt.nzSize)("ant-list-split",nt.nzSplit)("ant-list-bordered",nt.nzBordered)("ant-list-loading",nt.nzLoading)("ant-list-something-after-last-item",nt.hasSomethingAfterLastItem)},inputs:{nzDataSource:"nzDataSource",nzBordered:"nzBordered",nzGrid:"nzGrid",nzHeader:"nzHeader",nzFooter:"nzFooter",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzPagination:"nzPagination",nzSize:"nzSize",nzSplit:"nzSplit",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[t.TTD],ngContentSelectors:Ze,decls:15,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(ce,nt){if(1&ce&&(t.F$t(Ae),t.YNc(0,mn,3,1,"ng-template",null,0,t.W1O),t.YNc(2,_t,2,1,"nz-list-header",1),t.Hsn(3),t.TgZ(4,"nz-spin",2),t.ynx(5),t.YNc(6,Xt,1,2,"div",3),t.YNc(7,sn,2,2,"div",4),t.YNc(8,Dn,1,1,"nz-list-empty",5),t.BQk(),t.qZA(),t.YNc(9,Yt,2,1,"nz-list-footer",1),t.Hsn(10,1),t.YNc(11,xt,0,0,"ng-template",6),t.Hsn(12,2),t.YNc(13,$e,2,1,"nz-list-pagination",1),t.Hsn(14,3)),2&ce){const be=t.MAs(1);t.xp6(2),t.Q6J("ngIf",nt.nzHeader),t.xp6(2),t.Q6J("nzSpinning",nt.nzLoading),t.xp6(2),t.Q6J("ngIf",nt.nzLoading&&nt.nzDataSource&&0===nt.nzDataSource.length),t.xp6(1),t.Q6J("ngIf",nt.nzGrid&&nt.nzDataSource)("ngIfElse",be),t.xp6(1),t.Q6J("ngIf",!nt.nzLoading&&nt.nzDataSource&&0===nt.nzDataSource.length),t.xp6(1),t.Q6J("ngIf",nt.nzFooter),t.xp6(2),t.Q6J("ngTemplateOutlet",nt.nzLoadMore),t.xp6(2),t.Q6J("ngIf",nt.nzPagination)}},dependencies:[o.sg,o.O5,o.tP,ae.W,Z.t3,Z.SK,l.f,qt,Ct,tn,vt],encapsulation:2,changeDetection:0}),(0,s.gn)([(0,L.yF)()],he.prototype,"nzBordered",void 0),(0,s.gn)([(0,L.yF)()],he.prototype,"nzLoading",void 0),(0,s.gn)([(0,L.yF)()],he.prototype,"nzSplit",void 0),he})(),Re=(()=>{class he{constructor(ce,nt,be,rt){this.parentComp=be,this.cdr=rt,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1,nt.addClass(ce.nativeElement,"ant-list-item")}get isVerticalAndExtra(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)}ngAfterViewInit(){this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe(ce=>{this.itemLayout=ce,this.cdr.detectChanges()})}ngOnDestroy(){this.itemLayout$&&this.itemLayout$.unsubscribe()}}return he.\u0275fac=function(ce){return new(ce||he)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(ft),t.Y36(t.sBO))},he.\u0275cmp=t.Xpm({type:he,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(ce,nt,be){if(1&ce&&t.Suo(be,ge,5),2&ce){let rt;t.iGM(rt=t.CRH())&&(nt.listItemExtraDirective=rt.first)}},hostVars:2,hostBindings:function(ce,nt){2&ce&&t.ekj("ant-list-item-no-flex",nt.nzNoFlex)},inputs:{nzActions:"nzActions",nzContent:"nzContent",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex"},exportAs:["nzListItem"],ngContentSelectors:P,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(ce,nt){if(1&ce&&(t.F$t(j),t.YNc(0,J,2,1,"ng-template",null,0,t.W1O),t.YNc(2,Ge,3,1,"ng-template",null,1,t.W1O),t.YNc(4,it,1,0,"ng-template",null,2,t.W1O),t.YNc(6,et,4,4,"ng-template",null,3,t.W1O),t.YNc(8,We,6,4,"ng-container",4)),2&ce){const be=t.MAs(7);t.xp6(8),t.Q6J("ngIf",nt.isVerticalAndExtra)("ngIfElse",be)}},dependencies:[o.O5,o.tP,l.f,ut,ge],encapsulation:2,changeDetection:0}),(0,s.gn)([(0,L.yF)()],he.prototype,"nzNoFlex",void 0),he})(),Ie=(()=>{class he{}return he.\u0275fac=function(ce){return new(ce||he)},he.\u0275mod=t.oAB({type:he}),he.\u0275inj=t.cJS({imports:[pe.vT,o.ez,ae.j,Z.Jb,g.Rt,l.T,w.Xo]}),he})()},3325:(Et,Me,a)=>{a.d(Me,{Cc:()=>$e,YV:()=>zt,hl:()=>Ze,ip:()=>jt,r9:()=>J,uA:()=>Vt,wO:()=>et});var t=a(655),o=a(4650),g=a(7579),l=a(1135),s=a(6451),L=a(9841),R=a(4004),T=a(5577),M=a(9300),E=a(9718),O=a(3601),F=a(1884),V=a(2722),S=a(8675),e=a(3900),I=a(3187),w=a(9116),pe=a(445),ae=a(8184),Z=a(1691),U=a(3353),N=a(4903),q=a(6895),Y=a(1102),k=a(6287),me=a(2539);const fe=["nz-submenu-title",""];function te(Nt,We){if(1&Nt&&o._UZ(0,"span",4),2&Nt){const j=o.oxw();o.Q6J("nzType",j.nzIcon)}}function ye(Nt,We){if(1&Nt&&(o.ynx(0),o.TgZ(1,"span"),o._uU(2),o.qZA(),o.BQk()),2&Nt){const j=o.oxw();o.xp6(2),o.Oqu(j.nzTitle)}}function H(Nt,We){1&Nt&&o._UZ(0,"span",8)}function X(Nt,We){1&Nt&&o._UZ(0,"span",9)}function ve(Nt,We){if(1&Nt&&(o.TgZ(0,"span",5),o.YNc(1,H,1,0,"span",6),o.YNc(2,X,1,0,"span",7),o.qZA()),2&Nt){const j=o.oxw();o.Q6J("ngSwitch",j.dir),o.xp6(1),o.Q6J("ngSwitchCase","rtl")}}function Se(Nt,We){1&Nt&&o._UZ(0,"span",10)}const wt=["*"],St=["nz-submenu-inline-child",""];function rn(Nt,We){}const ot=["nz-submenu-none-inline-child",""];function gt(Nt,We){}const Dt=["nz-submenu",""];function Wt(Nt,We){1&Nt&&o.Hsn(0,0,["*ngIf","!nzTitle"])}function mn(Nt,We){if(1&Nt&&o._UZ(0,"div",6),2&Nt){const j=o.oxw(),P=o.MAs(7);o.Q6J("mode",j.mode)("nzOpen",j.nzOpen)("@.disabled",!(null==j.noAnimation||!j.noAnimation.nzNoAnimation))("nzNoAnimation",null==j.noAnimation?null:j.noAnimation.nzNoAnimation)("menuClass",j.nzMenuClassName)("templateOutlet",P)}}function At(Nt,We){if(1&Nt){const j=o.EpF();o.TgZ(0,"div",8),o.NdJ("subMenuMouseState",function(K){o.CHM(j);const ze=o.oxw(2);return o.KtG(ze.setMouseEnterState(K))}),o.qZA()}if(2&Nt){const j=o.oxw(2),P=o.MAs(7);o.Q6J("theme",j.theme)("mode",j.mode)("nzOpen",j.nzOpen)("position",j.position)("nzDisabled",j.nzDisabled)("isMenuInsideDropDown",j.isMenuInsideDropDown)("templateOutlet",P)("menuClass",j.nzMenuClassName)("@.disabled",!(null==j.noAnimation||!j.noAnimation.nzNoAnimation))("nzNoAnimation",null==j.noAnimation?null:j.noAnimation.nzNoAnimation)}}function _t(Nt,We){if(1&Nt){const j=o.EpF();o.YNc(0,At,1,10,"ng-template",7),o.NdJ("positionChange",function(K){o.CHM(j);const ze=o.oxw();return o.KtG(ze.onPositionChange(K))})}if(2&Nt){const j=o.oxw(),P=o.MAs(1);o.Q6J("cdkConnectedOverlayPositions",j.overlayPositions)("cdkConnectedOverlayOrigin",P)("cdkConnectedOverlayWidth",j.triggerWidth)("cdkConnectedOverlayOpen",j.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function Xt(Nt,We){1&Nt&&o.Hsn(0,1)}const ct=[[["","title",""]],"*"],Rt=["[title]","*"],sn=["titleElement"],Dn=["nz-menu-group",""];function zn(Nt,We){if(1&Nt&&(o.ynx(0),o._uU(1),o.BQk()),2&Nt){const j=o.oxw();o.xp6(1),o.Oqu(j.nzTitle)}}function Yt(Nt,We){1&Nt&&o.Hsn(0,1,["*ngIf","!nzTitle"])}const xt=["*",[["","title",""]]],Ye=["*","[title]"],$e=new o.OlP("NzIsInDropDownMenuToken"),Ae=new o.OlP("NzMenuServiceLocalToken");let Ze=(()=>{class Nt{constructor(){this.descendantMenuItemClick$=new g.x,this.childMenuItemClick$=new g.x,this.theme$=new l.X("light"),this.mode$=new l.X("vertical"),this.inlineIndent$=new l.X(24),this.isChildSubMenuOpen$=new l.X(!1)}onDescendantMenuItemClick(j){this.descendantMenuItemClick$.next(j)}onChildMenuItemClick(j){this.childMenuItemClick$.next(j)}setMode(j){this.mode$.next(j)}setTheme(j){this.theme$.next(j)}setInlineIndent(j){this.inlineIndent$.next(j)}}return Nt.\u0275fac=function(j){return new(j||Nt)},Nt.\u0275prov=o.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})(),oe=(()=>{class Nt{constructor(j,P,K){this.nzHostSubmenuService=j,this.nzMenuService=P,this.isMenuInsideDropDown=K,this.mode$=this.nzMenuService.mode$.pipe((0,R.U)(ge=>"inline"===ge?"inline":"vertical"===ge||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new l.X(!1),this.isChildSubMenuOpen$=new l.X(!1),this.isMouseEnterTitleOrOverlay$=new g.x,this.childMenuItemClick$=new g.x,this.destroy$=new g.x,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const ze=this.childMenuItemClick$.pipe((0,T.z)(()=>this.mode$),(0,M.h)(ge=>"inline"!==ge||this.isMenuInsideDropDown),(0,E.h)(!1)),dt=(0,s.T)(this.isMouseEnterTitleOrOverlay$,ze);(0,L.a)([this.isChildSubMenuOpen$,dt]).pipe((0,R.U)(([ge,xe])=>ge||xe),(0,O.e)(150),(0,F.x)(),(0,V.R)(this.destroy$)).pipe((0,F.x)()).subscribe(ge=>{this.setOpenStateWithoutDebounce(ge),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(ge):this.nzMenuService.isChildSubMenuOpen$.next(ge)})}onChildMenuItemClick(j){this.childMenuItemClick$.next(j)}setOpenStateWithoutDebounce(j){this.isCurrentSubMenuOpen$.next(j)}setMouseEnterTitleOrOverlayState(j){this.isMouseEnterTitleOrOverlay$.next(j)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.LFG(Nt,12),o.LFG(Ze),o.LFG($e))},Nt.\u0275prov=o.Yz7({token:Nt,factory:Nt.\u0275fac}),Nt})(),J=(()=>{class Nt{constructor(j,P,K,ze,dt,ke,ge){this.nzMenuService=j,this.cdr=P,this.nzSubmenuService=K,this.isMenuInsideDropDown=ze,this.directionality=dt,this.routerLink=ke,this.router=ge,this.destroy$=new g.x,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new g.x,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,ge&&this.router.events.pipe((0,V.R)(this.destroy$),(0,M.h)(xe=>xe instanceof w.m2)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(j){this.nzDisabled?(j.preventDefault(),j.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(j){this.nzSelected=j,this.selected$.next(j)}updateRouterActive(){!this.listOfRouterLink||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const j=this.hasActiveLinks();this.nzSelected!==j&&(this.nzSelected=j,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const j=this.isLinkActive(this.router);return this.routerLink&&j(this.routerLink)||this.listOfRouterLink.some(j)}isLinkActive(j){return P=>j.isActive(P.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}ngOnInit(){(0,L.a)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,V.R)(this.destroy$)).subscribe(([j,P])=>{this.inlinePaddingLeft="inline"===j?this.level*P:null}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.dir=j})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,V.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(j){j.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(Ze),o.Y36(o.sBO),o.Y36(oe,8),o.Y36($e),o.Y36(pe.Is,8),o.Y36(w.rH,8),o.Y36(w.F0,8))},Nt.\u0275dir=o.lG2({type:Nt,selectors:[["","nz-menu-item",""]],contentQueries:function(j,P,K){if(1&j&&o.Suo(K,w.rH,5),2&j){let ze;o.iGM(ze=o.CRH())&&(P.listOfRouterLink=ze)}},hostVars:20,hostBindings:function(j,P){1&j&&o.NdJ("click",function(ze){return P.clickMenuItem(ze)}),2&j&&(o.Udp("padding-left","rtl"===P.dir?null:P.nzPaddingLeft||P.inlinePaddingLeft,"px")("padding-right","rtl"===P.dir?P.nzPaddingLeft||P.inlinePaddingLeft:null,"px"),o.ekj("ant-dropdown-menu-item",P.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",P.isMenuInsideDropDown&&P.nzSelected)("ant-dropdown-menu-item-danger",P.isMenuInsideDropDown&&P.nzDanger)("ant-dropdown-menu-item-disabled",P.isMenuInsideDropDown&&P.nzDisabled)("ant-menu-item",!P.isMenuInsideDropDown)("ant-menu-item-selected",!P.isMenuInsideDropDown&&P.nzSelected)("ant-menu-item-danger",!P.isMenuInsideDropDown&&P.nzDanger)("ant-menu-item-disabled",!P.isMenuInsideDropDown&&P.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[o.TTD]}),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzDisabled",void 0),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzSelected",void 0),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzDanger",void 0),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzMatchRouterExact",void 0),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzMatchRouter",void 0),Nt})(),Te=(()=>{class Nt{constructor(j,P){this.cdr=j,this.directionality=P,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new o.vpe,this.subMenuMouseState=new o.vpe,this.dir="ltr",this.destroy$=new g.x}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.dir=j,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(j){this.nzDisabled||this.subMenuMouseState.next(j)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(o.sBO),o.Y36(pe.Is,8))},Nt.\u0275cmp=o.Xpm({type:Nt,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(j,P){1&j&&o.NdJ("click",function(){return P.clickTitle()})("mouseenter",function(){return P.setMouseState(!0)})("mouseleave",function(){return P.setMouseState(!1)}),2&j&&(o.Udp("padding-left","rtl"===P.dir?null:P.paddingLeft,"px")("padding-right","rtl"===P.dir?P.paddingLeft:null,"px"),o.ekj("ant-dropdown-menu-submenu-title",P.isMenuInsideDropDown)("ant-menu-submenu-title",!P.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:fe,ngContentSelectors:wt,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(j,P){if(1&j&&(o.F$t(),o.YNc(0,te,1,1,"span",0),o.YNc(1,ye,3,1,"ng-container",1),o.Hsn(2),o.YNc(3,ve,3,2,"span",2),o.YNc(4,Se,1,0,"ng-template",null,3,o.W1O)),2&j){const K=o.MAs(5);o.Q6J("ngIf",P.nzIcon),o.xp6(1),o.Q6J("nzStringTemplateOutlet",P.nzTitle),o.xp6(2),o.Q6J("ngIf",P.isMenuInsideDropDown)("ngIfElse",K)}},dependencies:[q.O5,q.RF,q.n9,q.ED,Y.Ls,k.f],encapsulation:2,changeDetection:0}),Nt})(),Pe=(()=>{class Nt{constructor(j,P,K){this.elementRef=j,this.renderer=P,this.directionality=K,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new g.x}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.dir=j})}ngOnChanges(j){const{mode:P,nzOpen:K,menuClass:ze}=j;(P||K)&&this.calcMotionState(),ze&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(dt=>!!dt).forEach(dt=>{this.renderer.removeClass(this.elementRef.nativeElement,dt)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(dt=>!!dt).forEach(dt=>{this.renderer.addClass(this.elementRef.nativeElement,dt)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(pe.Is,8))},Nt.\u0275cmp=o.Xpm({type:Nt,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(j,P){2&j&&(o.d8E("@collapseMotion",P.expandState),o.ekj("ant-menu-rtl","rtl"===P.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[o.TTD],attrs:St,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(j,P){1&j&&o.YNc(0,rn,0,0,"ng-template",0),2&j&&o.Q6J("ngTemplateOutlet",P.templateOutlet)},dependencies:[q.tP],encapsulation:2,data:{animation:[me.J_]},changeDetection:0}),Nt})(),Ge=(()=>{class Nt{constructor(j){this.directionality=j,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new o.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new g.x}setMouseState(j){this.nzDisabled||this.subMenuMouseState.next(j)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){this.calcMotionState(),this.dir=this.directionality.value,this.directionality.change?.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.dir=j})}ngOnChanges(j){const{mode:P,nzOpen:K}=j;(P||K)&&this.calcMotionState()}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(pe.Is,8))},Nt.\u0275cmp=o.Xpm({type:Nt,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(j,P){1&j&&o.NdJ("mouseenter",function(){return P.setMouseState(!0)})("mouseleave",function(){return P.setMouseState(!1)}),2&j&&(o.d8E("@slideMotion",P.expandState)("@zoomBigMotion",P.expandState),o.ekj("ant-menu-light","light"===P.theme)("ant-menu-dark","dark"===P.theme)("ant-menu-submenu-placement-bottom","horizontal"===P.mode)("ant-menu-submenu-placement-right","vertical"===P.mode&&"right"===P.position)("ant-menu-submenu-placement-left","vertical"===P.mode&&"left"===P.position)("ant-menu-submenu-rtl","rtl"===P.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[o.TTD],attrs:ot,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(j,P){1&j&&(o.TgZ(0,"div",0),o.YNc(1,gt,0,0,"ng-template",1),o.qZA()),2&j&&(o.ekj("ant-dropdown-menu",P.isMenuInsideDropDown)("ant-menu",!P.isMenuInsideDropDown)("ant-dropdown-menu-vertical",P.isMenuInsideDropDown)("ant-menu-vertical",!P.isMenuInsideDropDown)("ant-dropdown-menu-sub",P.isMenuInsideDropDown)("ant-menu-sub",!P.isMenuInsideDropDown)("ant-menu-rtl","rtl"===P.dir),o.Q6J("ngClass",P.menuClass),o.xp6(1),o.Q6J("ngTemplateOutlet",P.templateOutlet))},dependencies:[q.mk,q.tP],encapsulation:2,data:{animation:[me.$C,me.mF]},changeDetection:0}),Nt})();const it=[Z.yW.rightTop,Z.yW.right,Z.yW.rightBottom,Z.yW.leftTop,Z.yW.left,Z.yW.leftBottom],yt=[Z.yW.bottomLeft,Z.yW.bottomRight,Z.yW.topRight,Z.yW.topLeft];let Ut=(()=>{class Nt{constructor(j,P,K,ze,dt,ke,ge){this.nzMenuService=j,this.cdr=P,this.nzSubmenuService=K,this.platform=ze,this.isMenuInsideDropDown=dt,this.directionality=ke,this.noAnimation=ge,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzPlacement="bottomLeft",this.nzOpenChange=new o.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new g.x,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=it,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(j){this.nzSubmenuService.setOpenStateWithoutDebounce(j)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(j){this.isActive=j,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(j)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&"bottomLeft"===this.nzPlacement&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(j){const P=(0,Z.d_)(j);"rightTop"===P||"rightBottom"===P||"right"===P?this.position="right":("leftTop"===P||"leftBottom"===P||"left"===P)&&(this.position="left")}ngOnInit(){this.nzMenuService.theme$.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.theme=j,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.mode=j,"horizontal"===j?this.overlayPositions=[Z.yW[this.nzPlacement],...yt]:"vertical"===j&&(this.overlayPositions=it),this.cdr.markForCheck()}),(0,L.a)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,V.R)(this.destroy$)).subscribe(([j,P])=>{this.inlinePaddingLeft="inline"===j?this.level*P:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.isActive=j,j!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=j,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.dir=j,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const j=this.listOfNzMenuItemDirective,P=j.changes,K=(0,s.T)(P,...j.map(ze=>ze.selected$));P.pipe((0,S.O)(j),(0,e.w)(()=>K),(0,S.O)(!0),(0,R.U)(()=>j.some(ze=>ze.nzSelected)),(0,V.R)(this.destroy$)).subscribe(ze=>{this.isSelected=ze,this.cdr.markForCheck()})}ngOnChanges(j){const{nzOpen:P}=j;P&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(Ze),o.Y36(o.sBO),o.Y36(oe),o.Y36(U.t4),o.Y36($e),o.Y36(pe.Is,8),o.Y36(N.P,9))},Nt.\u0275cmp=o.Xpm({type:Nt,selectors:[["","nz-submenu",""]],contentQueries:function(j,P,K){if(1&j&&(o.Suo(K,Nt,5),o.Suo(K,J,5)),2&j){let ze;o.iGM(ze=o.CRH())&&(P.listOfNzSubMenuComponent=ze),o.iGM(ze=o.CRH())&&(P.listOfNzMenuItemDirective=ze)}},viewQuery:function(j,P){if(1&j&&o.Gf(ae.xu,7,o.SBq),2&j){let K;o.iGM(K=o.CRH())&&(P.cdkOverlayOrigin=K.first)}},hostVars:34,hostBindings:function(j,P){2&j&&o.ekj("ant-dropdown-menu-submenu",P.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",P.isMenuInsideDropDown&&P.nzDisabled)("ant-dropdown-menu-submenu-open",P.isMenuInsideDropDown&&P.nzOpen)("ant-dropdown-menu-submenu-selected",P.isMenuInsideDropDown&&P.isSelected)("ant-dropdown-menu-submenu-vertical",P.isMenuInsideDropDown&&"vertical"===P.mode)("ant-dropdown-menu-submenu-horizontal",P.isMenuInsideDropDown&&"horizontal"===P.mode)("ant-dropdown-menu-submenu-inline",P.isMenuInsideDropDown&&"inline"===P.mode)("ant-dropdown-menu-submenu-active",P.isMenuInsideDropDown&&P.isActive)("ant-menu-submenu",!P.isMenuInsideDropDown)("ant-menu-submenu-disabled",!P.isMenuInsideDropDown&&P.nzDisabled)("ant-menu-submenu-open",!P.isMenuInsideDropDown&&P.nzOpen)("ant-menu-submenu-selected",!P.isMenuInsideDropDown&&P.isSelected)("ant-menu-submenu-vertical",!P.isMenuInsideDropDown&&"vertical"===P.mode)("ant-menu-submenu-horizontal",!P.isMenuInsideDropDown&&"horizontal"===P.mode)("ant-menu-submenu-inline",!P.isMenuInsideDropDown&&"inline"===P.mode)("ant-menu-submenu-active",!P.isMenuInsideDropDown&&P.isActive)("ant-menu-submenu-rtl","rtl"===P.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled",nzPlacement:"nzPlacement"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[o._Bn([oe]),o.TTD],attrs:Dt,ngContentSelectors:Rt,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(j,P){if(1&j&&(o.F$t(ct),o.TgZ(0,"div",0,1),o.NdJ("subMenuMouseState",function(ze){return P.setMouseEnterState(ze)})("toggleSubMenu",function(){return P.toggleSubMenu()}),o.YNc(2,Wt,1,0,"ng-content",2),o.qZA(),o.YNc(3,mn,1,6,"div",3),o.YNc(4,_t,1,5,"ng-template",null,4,o.W1O),o.YNc(6,Xt,1,0,"ng-template",null,5,o.W1O)),2&j){const K=o.MAs(5);o.Q6J("nzIcon",P.nzIcon)("nzTitle",P.nzTitle)("mode",P.mode)("nzDisabled",P.nzDisabled)("isMenuInsideDropDown",P.isMenuInsideDropDown)("paddingLeft",P.nzPaddingLeft||P.inlinePaddingLeft),o.xp6(2),o.Q6J("ngIf",!P.nzTitle),o.xp6(1),o.Q6J("ngIf","inline"===P.mode)("ngIfElse",K)}},dependencies:[q.O5,ae.pI,ae.xu,N.P,Te,Pe,Ge],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzOpen",void 0),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzDisabled",void 0),Nt})();function $t(Nt,We){return Nt||We}function Je(Nt){return Nt||!1}let et=(()=>{class Nt{constructor(j,P,K,ze){this.nzMenuService=j,this.isMenuInsideDropDown=P,this.cdr=K,this.directionality=ze,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new o.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new l.X(this.nzInlineCollapsed),this.mode$=new l.X(this.nzMode),this.destroy$=new g.x,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(j){this.nzInlineCollapsed=j,this.inlineCollapsed$.next(j)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(j=>j.nzOpen),this.listOfNzSubMenuComponent.forEach(j=>j.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(j=>j.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){(0,L.a)([this.inlineCollapsed$,this.mode$]).pipe((0,V.R)(this.destroy$)).subscribe(([j,P])=>{this.actualMode=j?"vertical":P,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.nzClick.emit(j),this.nzSelectable&&!j.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(P=>P.setSelectedState(P===j))}),this.dir=this.directionality.value,this.directionality.change?.pipe((0,V.R)(this.destroy$)).subscribe(j=>{this.dir=j,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,V.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(j){const{nzInlineCollapsed:P,nzInlineIndent:K,nzTheme:ze,nzMode:dt}=j;P&&this.inlineCollapsed$.next(this.nzInlineCollapsed),K&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),ze&&this.nzMenuService.setTheme(this.nzTheme),dt&&(this.mode$.next(this.nzMode),!j.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(ke=>ke.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(Ze),o.Y36($e),o.Y36(o.sBO),o.Y36(pe.Is,8))},Nt.\u0275dir=o.lG2({type:Nt,selectors:[["","nz-menu",""]],contentQueries:function(j,P,K){if(1&j&&(o.Suo(K,J,5),o.Suo(K,Ut,5)),2&j){let ze;o.iGM(ze=o.CRH())&&(P.listOfNzMenuItemDirective=ze),o.iGM(ze=o.CRH())&&(P.listOfNzSubMenuComponent=ze)}},hostVars:34,hostBindings:function(j,P){2&j&&o.ekj("ant-dropdown-menu",P.isMenuInsideDropDown)("ant-dropdown-menu-root",P.isMenuInsideDropDown)("ant-dropdown-menu-light",P.isMenuInsideDropDown&&"light"===P.nzTheme)("ant-dropdown-menu-dark",P.isMenuInsideDropDown&&"dark"===P.nzTheme)("ant-dropdown-menu-vertical",P.isMenuInsideDropDown&&"vertical"===P.actualMode)("ant-dropdown-menu-horizontal",P.isMenuInsideDropDown&&"horizontal"===P.actualMode)("ant-dropdown-menu-inline",P.isMenuInsideDropDown&&"inline"===P.actualMode)("ant-dropdown-menu-inline-collapsed",P.isMenuInsideDropDown&&P.nzInlineCollapsed)("ant-menu",!P.isMenuInsideDropDown)("ant-menu-root",!P.isMenuInsideDropDown)("ant-menu-light",!P.isMenuInsideDropDown&&"light"===P.nzTheme)("ant-menu-dark",!P.isMenuInsideDropDown&&"dark"===P.nzTheme)("ant-menu-vertical",!P.isMenuInsideDropDown&&"vertical"===P.actualMode)("ant-menu-horizontal",!P.isMenuInsideDropDown&&"horizontal"===P.actualMode)("ant-menu-inline",!P.isMenuInsideDropDown&&"inline"===P.actualMode)("ant-menu-inline-collapsed",!P.isMenuInsideDropDown&&P.nzInlineCollapsed)("ant-menu-rtl","rtl"===P.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[o._Bn([{provide:Ae,useClass:Ze},{provide:Ze,useFactory:$t,deps:[[new o.tp0,new o.FiY,Ze],Ae]},{provide:$e,useFactory:Je,deps:[[new o.tp0,new o.FiY,$e]]}]),o.TTD]}),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzInlineCollapsed",void 0),(0,t.gn)([(0,I.yF)()],Nt.prototype,"nzSelectable",void 0),Nt})();function pt(Nt){return Nt||!1}let Vt=(()=>{class Nt{constructor(j,P,K){this.elementRef=j,this.renderer=P,this.isMenuInsideDropDown=K,this.renderer.addClass(j.nativeElement,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group":"ant-menu-item-group")}ngAfterViewInit(){const j=this.titleElement.nativeElement.nextElementSibling;j&&this.renderer.addClass(j,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36($e))},Nt.\u0275cmp=o.Xpm({type:Nt,selectors:[["","nz-menu-group",""]],viewQuery:function(j,P){if(1&j&&o.Gf(sn,5),2&j){let K;o.iGM(K=o.CRH())&&(P.titleElement=K.first)}},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[o._Bn([{provide:$e,useFactory:pt,deps:[[new o.tp0,new o.FiY,$e]]}])],attrs:Dn,ngContentSelectors:Ye,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"],[4,"ngIf"]],template:function(j,P){1&j&&(o.F$t(xt),o.TgZ(0,"div",null,0),o.YNc(2,zn,2,1,"ng-container",1),o.YNc(3,Yt,1,0,"ng-content",2),o.qZA(),o.Hsn(4)),2&j&&(o.ekj("ant-menu-item-group-title",!P.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",P.isMenuInsideDropDown),o.xp6(2),o.Q6J("nzStringTemplateOutlet",P.nzTitle),o.xp6(1),o.Q6J("ngIf",!P.nzTitle))},dependencies:[q.O5,k.f],encapsulation:2,changeDetection:0}),Nt})(),zt=(()=>{class Nt{constructor(j,P){this.elementRef=j,this.renderer=P,this.renderer.addClass(j.nativeElement,"ant-dropdown-menu-item-divider")}}return Nt.\u0275fac=function(j){return new(j||Nt)(o.Y36(o.SBq),o.Y36(o.Qsj))},Nt.\u0275dir=o.lG2({type:Nt,selectors:[["","nz-menu-divider",""]],exportAs:["nzMenuDivider"]}),Nt})(),jt=(()=>{class Nt{}return Nt.\u0275fac=function(j){return new(j||Nt)},Nt.\u0275mod=o.oAB({type:Nt}),Nt.\u0275inj=o.cJS({imports:[pe.vT,q.ez,U.ud,ae.U8,Y.PV,N.g,k.T]}),Nt})()},6960:(Et,Me,a)=>{function t(Ct,tn,je,Qe,ft,Re,He){try{var Ie=Ct[Re](He),he=Ie.value}catch(we){return void je(we)}Ie.done?tn(he):Promise.resolve(he).then(Qe,ft)}a.d(Me,{du:()=>ut,Hf:()=>ke,Qp:()=>vt,Sf:()=>dt});var g=a(8184),l=a(4080),s=a(4650),L=a(7579),R=a(4968),T=a(9770),M=a(2722),E=a(9300),O=a(5698),F=a(8675),V=a(1355),S=a(3187),e=a(6895),I=a(7340),w=a(5469),pe=a(2687),ae=a(2536),Z=a(1811),U=a(6287),N=a(6616),q=a(7044),Y=a(1664),k=a(1102),me=a(9002),fe=a(9521),te=a(445),ye=a(655),H=a(4903);const X=["nz-modal-close",""];function ve(Ct,tn){if(1&Ct&&(s.ynx(0),s._UZ(1,"span",2),s.BQk()),2&Ct){const je=tn.$implicit;s.xp6(1),s.Q6J("nzType",je)}}const Se=["modalElement"];function wt(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"button",16),s.NdJ("click",function(){s.CHM(je);const ft=s.oxw();return s.KtG(ft.onCloseClick())}),s.qZA()}}function St(Ct,tn){if(1&Ct&&(s.ynx(0),s._UZ(1,"span",17),s.BQk()),2&Ct){const je=s.oxw();s.xp6(1),s.Q6J("innerHTML",je.config.nzTitle,s.oJD)}}function rn(Ct,tn){}function ot(Ct,tn){if(1&Ct&&s._UZ(0,"div",17),2&Ct){const je=s.oxw();s.Q6J("innerHTML",je.config.nzContent,s.oJD)}}function gt(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"button",18),s.NdJ("click",function(){s.CHM(je);const ft=s.oxw();return s.KtG(ft.onCancel())}),s._uU(1),s.qZA()}if(2&Ct){const je=s.oxw();s.Q6J("nzLoading",!!je.config.nzCancelLoading)("disabled",je.config.nzCancelDisabled),s.uIk("cdkFocusInitial","cancel"===je.config.nzAutofocus||null),s.xp6(1),s.hij(" ",je.config.nzCancelText||je.locale.cancelText," ")}}function Dt(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"button",19),s.NdJ("click",function(){s.CHM(je);const ft=s.oxw();return s.KtG(ft.onOk())}),s._uU(1),s.qZA()}if(2&Ct){const je=s.oxw();s.Q6J("nzType",je.config.nzOkType)("nzLoading",!!je.config.nzOkLoading)("disabled",je.config.nzOkDisabled)("nzDanger",je.config.nzOkDanger),s.uIk("cdkFocusInitial","ok"===je.config.nzAutofocus||null),s.xp6(1),s.hij(" ",je.config.nzOkText||je.locale.okText," ")}}const Wt=["nz-modal-footer",""];function mn(Ct,tn){if(1&Ct&&s._UZ(0,"div",5),2&Ct){const je=s.oxw(3);s.Q6J("innerHTML",je.config.nzFooter,s.oJD)}}function At(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"button",7),s.NdJ("click",function(){const Re=s.CHM(je).$implicit,He=s.oxw(4);return s.KtG(He.onButtonClick(Re))}),s._uU(1),s.qZA()}if(2&Ct){const je=tn.$implicit,Qe=s.oxw(4);s.Q6J("hidden",!Qe.getButtonCallableProp(je,"show"))("nzLoading",Qe.getButtonCallableProp(je,"loading"))("disabled",Qe.getButtonCallableProp(je,"disabled"))("nzType",je.type)("nzDanger",je.danger)("nzShape",je.shape)("nzSize",je.size)("nzGhost",je.ghost),s.xp6(1),s.hij(" ",je.label," ")}}function _t(Ct,tn){if(1&Ct&&(s.ynx(0),s.YNc(1,At,2,9,"button",6),s.BQk()),2&Ct){const je=s.oxw(3);s.xp6(1),s.Q6J("ngForOf",je.buttons)}}function Xt(Ct,tn){if(1&Ct&&(s.ynx(0),s.YNc(1,mn,1,1,"div",3),s.YNc(2,_t,2,1,"ng-container",4),s.BQk()),2&Ct){const je=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!je.buttonsFooter),s.xp6(1),s.Q6J("ngIf",je.buttonsFooter)}}const ct=function(Ct,tn){return{$implicit:Ct,modalRef:tn}};function Rt(Ct,tn){if(1&Ct&&(s.ynx(0),s.YNc(1,Xt,3,2,"ng-container",2),s.BQk()),2&Ct){const je=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",je.config.nzFooter)("nzStringTemplateOutletContext",s.WLB(2,ct,je.config.nzComponentParams,je.modalRef))}}function sn(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"button",10),s.NdJ("click",function(){s.CHM(je);const ft=s.oxw(2);return s.KtG(ft.onCancel())}),s._uU(1),s.qZA()}if(2&Ct){const je=s.oxw(2);s.Q6J("nzLoading",!!je.config.nzCancelLoading)("disabled",je.config.nzCancelDisabled),s.uIk("cdkFocusInitial","cancel"===je.config.nzAutofocus||null),s.xp6(1),s.hij(" ",je.config.nzCancelText||je.locale.cancelText," ")}}function Dn(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"button",11),s.NdJ("click",function(){s.CHM(je);const ft=s.oxw(2);return s.KtG(ft.onOk())}),s._uU(1),s.qZA()}if(2&Ct){const je=s.oxw(2);s.Q6J("nzType",je.config.nzOkType)("nzDanger",je.config.nzOkDanger)("nzLoading",!!je.config.nzOkLoading)("disabled",je.config.nzOkDisabled),s.uIk("cdkFocusInitial","ok"===je.config.nzAutofocus||null),s.xp6(1),s.hij(" ",je.config.nzOkText||je.locale.okText," ")}}function zn(Ct,tn){if(1&Ct&&(s.YNc(0,sn,2,4,"button",8),s.YNc(1,Dn,2,6,"button",9)),2&Ct){const je=s.oxw();s.Q6J("ngIf",null!==je.config.nzCancelText),s.xp6(1),s.Q6J("ngIf",null!==je.config.nzOkText)}}const Yt=["nz-modal-title",""];function xt(Ct,tn){if(1&Ct&&(s.ynx(0),s._UZ(1,"div",2),s.BQk()),2&Ct){const je=s.oxw();s.xp6(1),s.Q6J("innerHTML",je.config.nzTitle,s.oJD)}}function Ye(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){s.CHM(je);const ft=s.oxw();return s.KtG(ft.onCloseClick())}),s.qZA()}}function $e(Ct,tn){1&Ct&&s._UZ(0,"div",10)}function Ae(Ct,tn){}function Ze(Ct,tn){if(1&Ct&&s._UZ(0,"div",11),2&Ct){const je=s.oxw();s.Q6J("innerHTML",je.config.nzContent,s.oJD)}}function oe(Ct,tn){if(1&Ct){const je=s.EpF();s.TgZ(0,"div",12),s.NdJ("cancelTriggered",function(){s.CHM(je);const ft=s.oxw();return s.KtG(ft.onCloseClick())})("okTriggered",function(){s.CHM(je);const ft=s.oxw();return s.KtG(ft.onOkClick())}),s.qZA()}if(2&Ct){const je=s.oxw();s.Q6J("modalRef",je.modalRef)}}const J=()=>{};class Te{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=J,this.nzOnOk=J,this.nzIconType="question-circle"}}const it="ant-modal-mask",yt="modal",Ut={modalContainer:(0,I.X$)("modalContainer",[(0,I.SB)("void, exit",(0,I.oB)({})),(0,I.SB)("enter",(0,I.oB)({})),(0,I.eR)("* => enter",(0,I.jt)(".24s",(0,I.oB)({}))),(0,I.eR)("* => void, * => exit",(0,I.jt)(".2s",(0,I.oB)({})))])};function Je(Ct,tn,je){return typeof Ct>"u"?typeof tn>"u"?je:tn:Ct}function pt(Ct){const{nzCentered:tn,nzMask:je,nzMaskClosable:Qe,nzClosable:ft,nzOkLoading:Re,nzOkDisabled:He,nzCancelDisabled:Ie,nzCancelLoading:he,nzKeyboard:we,nzNoAnimation:ce,nzContent:nt,nzComponentParams:be,nzFooter:rt,nzZIndex:Zt,nzWidth:nn,nzWrapClassName:Sn,nzClassName:jn,nzStyle:Un,nzTitle:$n,nzCloseIcon:Yn,nzMaskStyle:co,nzBodyStyle:Wo,nzOkText:ko,nzCancelText:po,nzOkType:Go,nzOkDanger:Po,nzIconType:ui,nzModalType:Ro,nzOnOk:Ko,nzOnCancel:Fn,nzAfterOpen:Wn,nzAfterClose:ro,nzCloseOnNavigation:ni,nzAutofocus:To}=Ct;return{nzCentered:tn,nzMask:je,nzMaskClosable:Qe,nzClosable:ft,nzOkLoading:Re,nzOkDisabled:He,nzCancelDisabled:Ie,nzCancelLoading:he,nzKeyboard:we,nzNoAnimation:ce,nzContent:nt,nzComponentParams:be,nzFooter:rt,nzZIndex:Zt,nzWidth:nn,nzWrapClassName:Sn,nzClassName:jn,nzStyle:Un,nzTitle:$n,nzCloseIcon:Yn,nzMaskStyle:co,nzBodyStyle:Wo,nzOkText:ko,nzCancelText:po,nzOkType:Go,nzOkDanger:Po,nzIconType:ui,nzModalType:Ro,nzOnOk:Ko,nzOnCancel:Fn,nzAfterOpen:Wn,nzAfterClose:ro,nzCloseOnNavigation:ni,nzAutofocus:To}}function Vt(){throw Error("Attempting to attach modal content after content is already attached")}let zt=(()=>{class Ct extends l.en{constructor(je,Qe,ft,Re,He,Ie,he,we,ce,nt){super(),this.ngZone=je,this.host=Qe,this.focusTrapFactory=ft,this.cdr=Re,this.render=He,this.overlayRef=Ie,this.nzConfigService=he,this.config=we,this.animationType=nt,this.animationStateChanged=new s.vpe,this.containerClick=new s.vpe,this.cancelTriggered=new s.vpe,this.okTriggered=new s.vpe,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new L.x,this.document=ce,this.dir=Ie.getDirection(),this.isStringContent="string"==typeof we.nzContent,this.nzConfigService.getConfigChangeEventForComponent(yt).pipe((0,M.R)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}get showMask(){const je=this.nzConfigService.getConfigForComponent(yt)||{};return!!Je(this.config.nzMask,je.nzMask,!0)}get maskClosable(){const je=this.nzConfigService.getConfigForComponent(yt)||{};return!!Je(this.config.nzMaskClosable,je.nzMaskClosable,!0)}onContainerClick(je){je.target===je.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(je){return this.portalOutlet.hasAttached()&&Vt(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(je)}attachTemplatePortal(je){return this.portalOutlet.hasAttached()&&Vt(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(je)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.host.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const je=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const Qe=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),ft=(0,S.pW)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(je,"transform-origin",`${ft.left+Qe.width/2-je.offsetLeft}px ${ft.top+Qe.height/2-je.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.host.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.host.nativeElement.focus&&this.ngZone.runOutsideAngular(()=>(0,w.e)(()=>this.host.nativeElement.focus())))}trapFocus(){const je=this.host.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady();else{const Qe=this.document.activeElement;Qe!==je&&!je.contains(Qe)&&je.focus()}}restoreFocus(){const je=this.elementFocusedBeforeModalWasOpened;if(je&&"function"==typeof je.focus){const Qe=this.document.activeElement,ft=this.host.nativeElement;(!Qe||Qe===this.document.body||Qe===ft||ft.contains(Qe))&&je.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const je=this.modalElementRef.nativeElement,Qe=this.overlayRef.backdropElement;je.classList.add("ant-zoom-enter"),je.classList.add("ant-zoom-enter-active"),Qe&&(Qe.classList.add("ant-fade-enter"),Qe.classList.add("ant-fade-enter-active"))}setExitAnimationClass(){const je=this.modalElementRef.nativeElement;je.classList.add("ant-zoom-leave"),je.classList.add("ant-zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(je=!1){const Qe=this.overlayRef.backdropElement;if(Qe){if(this.animationDisabled()||je)return void Qe.classList.remove(it);Qe.classList.add("ant-fade-leave"),Qe.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const je=this.overlayRef.backdropElement,Qe=this.modalElementRef.nativeElement;je&&(je.classList.remove("ant-fade-enter"),je.classList.remove("ant-fade-enter-active")),Qe.classList.remove("ant-zoom-enter"),Qe.classList.remove("ant-zoom-enter-active"),Qe.classList.remove("ant-zoom-leave"),Qe.classList.remove("ant-zoom-leave-active")}setZIndexForBackdrop(){const je=this.overlayRef.backdropElement;je&&(0,S.DX)(this.config.nzZIndex)&&this.render.setStyle(je,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const je=this.overlayRef.backdropElement;if(je&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(ft=>{this.render.removeStyle(je,ft)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const Qe={...this.config.nzMaskStyle};Object.keys(Qe).forEach(ft=>{this.render.setStyle(je,ft,Qe[ft])}),this.oldMaskStyle=Qe}}updateMaskClassname(){const je=this.overlayRef.backdropElement;je&&(this.showMask?je.classList.add(it):je.classList.remove(it))}onAnimationDone(je){"enter"===je.toState?this.trapFocus():"exit"===je.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(je)}onAnimationStart(je){"enter"===je.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===je.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(je)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}setupMouseListeners(je){this.ngZone.runOutsideAngular(()=>{(0,R.R)(this.host.nativeElement,"mouseup").pipe((0,M.R)(this.destroy$)).subscribe(()=>{this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}),(0,R.R)(je.nativeElement,"mousedown").pipe((0,M.R)(this.destroy$)).subscribe(()=>{this.mouseDown=!0})})}}return Ct.\u0275fac=function(je){s.$Z()},Ct.\u0275dir=s.lG2({type:Ct,features:[s.qOj]}),Ct})(),jt=(()=>{class Ct{constructor(je){this.config=je}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(Te))},Ct.\u0275cmp=s.Xpm({type:Ct,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:X,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(je,Qe){1&je&&(s.TgZ(0,"span",0),s.YNc(1,ve,2,1,"ng-container",1),s.qZA()),2&je&&(s.xp6(1),s.Q6J("nzStringTemplateOutlet",Qe.config.nzCloseIcon))},dependencies:[U.f,q.w,k.Ls],encapsulation:2,changeDetection:0}),Ct})(),Nt=(()=>{class Ct extends zt{constructor(je,Qe,ft,Re,He,Ie,he,we,ce,nt,be){super(je,ft,Re,He,Ie,he,we,ce,nt,be),this.i18n=Qe,this.config=ce,this.cancelTriggered=new s.vpe,this.okTriggered=new s.vpe,this.i18n.localeChange.pipe((0,M.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(s.R0b),s.Y36(Z.wi),s.Y36(s.SBq),s.Y36(pe.qV),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(g.Iu),s.Y36(ae.jY),s.Y36(Te),s.Y36(e.K0,8),s.Y36(s.QbO,8))},Ct.\u0275cmp=s.Xpm({type:Ct,selectors:[["nz-modal-confirm-container"]],viewQuery:function(je,Qe){if(1&je&&(s.Gf(l.Pl,7),s.Gf(Se,7)),2&je){let ft;s.iGM(ft=s.CRH())&&(Qe.portalOutlet=ft.first),s.iGM(ft=s.CRH())&&(Qe.modalElementRef=ft.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(je,Qe){1&je&&(s.WFA("@modalContainer.start",function(Re){return Qe.onAnimationStart(Re)})("@modalContainer.done",function(Re){return Qe.onAnimationDone(Re)}),s.NdJ("click",function(Re){return Qe.onContainerClick(Re)})),2&je&&(s.d8E("@.disabled",Qe.config.nzNoAnimation)("@modalContainer",Qe.state),s.Tol(Qe.config.nzWrapClassName?"ant-modal-wrap "+Qe.config.nzWrapClassName:"ant-modal-wrap"),s.Udp("z-index",Qe.config.nzZIndex),s.ekj("ant-modal-wrap-rtl","rtl"===Qe.dir)("ant-modal-centered",Qe.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[s.qOj],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(je,Qe){1&je&&(s.TgZ(0,"div",0,1),s.ALo(2,"nzToCssUnit"),s.TgZ(3,"div",2),s.YNc(4,wt,1,0,"button",3),s.TgZ(5,"div",4)(6,"div",5)(7,"div",6),s._UZ(8,"span",7),s.TgZ(9,"span",8),s.YNc(10,St,2,1,"ng-container",9),s.qZA(),s.TgZ(11,"div",10),s.YNc(12,rn,0,0,"ng-template",11),s.YNc(13,ot,1,1,"div",12),s.qZA()(),s.TgZ(14,"div",13),s.YNc(15,gt,2,4,"button",14),s.YNc(16,Dt,2,6,"button",15),s.qZA()()()()()),2&je&&(s.Udp("width",s.lcZ(2,11,null==Qe.config?null:Qe.config.nzWidth)),s.Q6J("ngClass",Qe.config.nzClassName)("ngStyle",Qe.config.nzStyle),s.xp6(4),s.Q6J("ngIf",Qe.config.nzClosable),s.xp6(1),s.Q6J("ngStyle",Qe.config.nzBodyStyle),s.xp6(3),s.Q6J("nzType",Qe.config.nzIconType),s.xp6(2),s.Q6J("nzStringTemplateOutlet",Qe.config.nzTitle),s.xp6(3),s.Q6J("ngIf",Qe.isStringContent),s.xp6(2),s.Q6J("ngIf",null!==Qe.config.nzCancelText),s.xp6(1),s.Q6J("ngIf",null!==Qe.config.nzOkText))},dependencies:[e.mk,e.O5,e.PC,U.f,l.Pl,N.ix,q.w,Y.dQ,k.Ls,jt,me.ku],encapsulation:2,data:{animation:[Ut.modalContainer]}}),Ct})(),We=(()=>{class Ct{constructor(je,Qe){this.i18n=je,this.config=Qe,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new s.vpe,this.okTriggered=new s.vpe,this.destroy$=new L.x,Array.isArray(Qe.nzFooter)&&(this.buttonsFooter=!0,this.buttons=Qe.nzFooter.map(j)),this.i18n.localeChange.pipe((0,M.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(je,Qe){const ft=je[Qe],Re=this.modalRef.getContentComponent();return"function"==typeof ft?ft.apply(je,Re&&[Re]):ft}onButtonClick(je){if(!this.getButtonCallableProp(je,"loading")){const ft=this.getButtonCallableProp(je,"onClick");je.autoLoading&&(0,S.tI)(ft)&&(je.loading=!0,ft.then(()=>je.loading=!1).catch(Re=>{throw je.loading=!1,Re}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(Z.wi),s.Y36(Te))},Ct.\u0275cmp=s.Xpm({type:Ct,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:Wt,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(je,Qe){if(1&je&&(s.YNc(0,Rt,2,5,"ng-container",0),s.YNc(1,zn,2,2,"ng-template",null,1,s.W1O)),2&je){const ft=s.MAs(2);s.Q6J("ngIf",Qe.config.nzFooter)("ngIfElse",ft)}},dependencies:[e.sg,e.O5,U.f,N.ix,q.w,Y.dQ],encapsulation:2}),Ct})();function j(Ct){return{type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1,...Ct}}let P=(()=>{class Ct{constructor(je){this.config=je}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(Te))},Ct.\u0275cmp=s.Xpm({type:Ct,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:Yt,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(je,Qe){1&je&&(s.TgZ(0,"div",0),s.YNc(1,xt,2,1,"ng-container",1),s.qZA()),2&je&&(s.xp6(1),s.Q6J("nzStringTemplateOutlet",Qe.config.nzTitle))},dependencies:[U.f],encapsulation:2,changeDetection:0}),Ct})(),K=(()=>{class Ct extends zt{constructor(je,Qe,ft,Re,He,Ie,he,we,ce,nt){super(je,Qe,ft,Re,He,Ie,he,we,ce,nt),this.config=we}ngOnInit(){this.setupMouseListeners(this.modalElementRef)}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(pe.qV),s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(g.Iu),s.Y36(ae.jY),s.Y36(Te),s.Y36(e.K0,8),s.Y36(s.QbO,8))},Ct.\u0275cmp=s.Xpm({type:Ct,selectors:[["nz-modal-container"]],viewQuery:function(je,Qe){if(1&je&&(s.Gf(l.Pl,7),s.Gf(Se,7)),2&je){let ft;s.iGM(ft=s.CRH())&&(Qe.portalOutlet=ft.first),s.iGM(ft=s.CRH())&&(Qe.modalElementRef=ft.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(je,Qe){1&je&&(s.WFA("@modalContainer.start",function(Re){return Qe.onAnimationStart(Re)})("@modalContainer.done",function(Re){return Qe.onAnimationDone(Re)}),s.NdJ("click",function(Re){return Qe.onContainerClick(Re)})),2&je&&(s.d8E("@.disabled",Qe.config.nzNoAnimation)("@modalContainer",Qe.state),s.Tol(Qe.config.nzWrapClassName?"ant-modal-wrap "+Qe.config.nzWrapClassName:"ant-modal-wrap"),s.Udp("z-index",Qe.config.nzZIndex),s.ekj("ant-modal-wrap-rtl","rtl"===Qe.dir)("ant-modal-centered",Qe.config.nzCentered))},exportAs:["nzModalContainer"],features:[s.qOj],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(je,Qe){1&je&&(s.TgZ(0,"div",0,1),s.ALo(2,"nzToCssUnit"),s.TgZ(3,"div",2),s.YNc(4,Ye,1,0,"button",3),s.YNc(5,$e,1,0,"div",4),s.TgZ(6,"div",5),s.YNc(7,Ae,0,0,"ng-template",6),s.YNc(8,Ze,1,1,"div",7),s.qZA(),s.YNc(9,oe,1,1,"div",8),s.qZA()()),2&je&&(s.Udp("width",s.lcZ(2,9,null==Qe.config?null:Qe.config.nzWidth)),s.Q6J("ngClass",Qe.config.nzClassName)("ngStyle",Qe.config.nzStyle),s.xp6(4),s.Q6J("ngIf",Qe.config.nzClosable),s.xp6(1),s.Q6J("ngIf",Qe.config.nzTitle),s.xp6(1),s.Q6J("ngStyle",Qe.config.nzBodyStyle),s.xp6(2),s.Q6J("ngIf",Qe.isStringContent),s.xp6(1),s.Q6J("ngIf",null!==Qe.config.nzFooter))},dependencies:[e.mk,e.O5,e.PC,l.Pl,jt,We,P,me.ku],encapsulation:2,data:{animation:[Ut.modalContainer]}}),Ct})();class ze{constructor(tn,je,Qe){this.overlayRef=tn,this.config=je,this.containerInstance=Qe,this.componentInstance=null,this.state=0,this.afterClose=new L.x,this.afterOpen=new L.x,this.destroy$=new L.x,Qe.animationStateChanged.pipe((0,E.h)(ft=>"done"===ft.phaseName&&"enter"===ft.toState),(0,O.q)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),je.nzAfterOpen instanceof s.vpe&&je.nzAfterOpen.emit()}),Qe.animationStateChanged.pipe((0,E.h)(ft=>"done"===ft.phaseName&&"exit"===ft.toState),(0,O.q)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),Qe.containerClick.pipe((0,O.q)(1),(0,M.R)(this.destroy$)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),tn.keydownEvents().pipe((0,E.h)(ft=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&ft.keyCode===fe.hY&&!(0,fe.Vb)(ft))).subscribe(ft=>{ft.preventDefault(),this.trigger("cancel")}),Qe.cancelTriggered.pipe((0,M.R)(this.destroy$)).subscribe(()=>this.trigger("cancel")),Qe.okTriggered.pipe((0,M.R)(this.destroy$)).subscribe(()=>this.trigger("ok")),tn.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),je.nzAfterClose instanceof s.vpe&&je.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(tn){this.close(tn)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(tn){0===this.state&&(this.result=tn,this.containerInstance.animationStateChanged.pipe((0,E.h)(je=>"start"===je.phaseName),(0,O.q)(1)).subscribe(je=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},je.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1)}updateConfig(tn){Object.assign(this.config,tn),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(tn){var je=this;return function o(Ct){return function(){var tn=this,je=arguments;return new Promise(function(Qe,ft){var Re=Ct.apply(tn,je);function He(he){t(Re,Qe,ft,He,Ie,"next",he)}function Ie(he){t(Re,Qe,ft,He,Ie,"throw",he)}He(void 0)})}}(function*(){if(1===je.state)return;const Qe={ok:je.config.nzOnOk,cancel:je.config.nzOnCancel}[tn],ft={ok:"nzOkLoading",cancel:"nzCancelLoading"}[tn];if(!je.config[ft])if(Qe instanceof s.vpe)Qe.emit(je.getContentComponent());else if("function"==typeof Qe){const He=Qe(je.getContentComponent());if((0,S.tI)(He)){je.config[ft]=!0;let Ie=!1;try{Ie=yield He}finally{je.config[ft]=!1,je.closeWhitResult(Ie)}}else je.closeWhitResult(He)}})()}closeWhitResult(tn){!1!==tn&&this.close(tn)}_finishDialogClose(){this.state=2,this.overlayRef.dispose(),this.destroy$.next()}}let dt=(()=>{class Ct{constructor(je,Qe,ft,Re,He){this.overlay=je,this.injector=Qe,this.nzConfigService=ft,this.parentModal=Re,this.directionality=He,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new L.x,this.afterAllClose=(0,T.P)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe((0,F.O)(void 0)))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const je=this.parentModal;return je?je._afterAllClosed:this.afterAllClosedAtThisLevel}create(je){return this.open(je.nzContent,je)}closeAll(){this.closeModals(this.openModals)}confirm(je={},Qe="confirm"){return"nzFooter"in je&&(0,V.ZK)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in je||(je.nzWidth=416),"nzMaskClosable"in je||(je.nzMaskClosable=!1),je.nzModalType="confirm",je.nzClassName=`ant-modal-confirm ant-modal-confirm-${Qe} ${je.nzClassName||""}`,this.create(je)}info(je={}){return this.confirmFactory(je,"info")}success(je={}){return this.confirmFactory(je,"success")}error(je={}){return this.confirmFactory(je,"error")}warning(je={}){return this.confirmFactory(je,"warning")}open(je,Qe){const ft=function $t(Ct,tn){return{...tn,...Ct}}(Qe||{},new Te),Re=this.createOverlay(ft),He=this.attachModalContainer(Re,ft),Ie=this.attachModalContent(je,He,Re,ft);return He.modalRef=Ie,this.openModals.push(Ie),Ie.afterClose.subscribe(()=>this.removeOpenModal(Ie)),Ie}removeOpenModal(je){const Qe=this.openModals.indexOf(je);Qe>-1&&(this.openModals.splice(Qe,1),this.openModals.length||this._afterAllClosed.next())}closeModals(je){let Qe=je.length;for(;Qe--;)je[Qe].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(je){const Qe=this.nzConfigService.getConfigForComponent(yt)||{},ft=new g.X_({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:Je(je.nzCloseOnNavigation,Qe.nzCloseOnNavigation,!0),direction:Je(je.nzDirection,Qe.nzDirection,this.directionality.value)});return Je(je.nzMask,Qe.nzMask,!0)&&(ft.backdropClass=it),this.overlay.create(ft)}attachModalContainer(je,Qe){const Re=s.zs3.create({parent:Qe&&Qe.nzViewContainerRef&&Qe.nzViewContainerRef.injector||this.injector,providers:[{provide:g.Iu,useValue:je},{provide:Te,useValue:Qe}]}),Ie=new l.C5("confirm"===Qe.nzModalType?Nt:K,Qe.nzViewContainerRef,Re);return je.attach(Ie).instance}attachModalContent(je,Qe,ft,Re){const He=new ze(ft,Re,Qe);if(je instanceof s.Rgc)Qe.attachTemplatePortal(new l.UE(je,null,{$implicit:Re.nzComponentParams,modalRef:He}));else if((0,S.DX)(je)&&"string"!=typeof je){const Ie=this.createInjector(He,Re),he=Qe.attachComponentPortal(new l.C5(je,Re.nzViewContainerRef,Ie));(function et(Ct,tn){Object.assign(Ct,tn)})(he.instance,Re.nzComponentParams),He.componentInstance=he.instance}else Qe.attachStringContent();return He}createInjector(je,Qe){return s.zs3.create({parent:Qe&&Qe.nzViewContainerRef&&Qe.nzViewContainerRef.injector||this.injector,providers:[{provide:ze,useValue:je}]})}confirmFactory(je={},Qe){return"nzIconType"in je||(je.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[Qe]),"nzCancelText"in je||(je.nzCancelText=null),this.confirm(je,Qe)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.LFG(g.aV),s.LFG(s.zs3),s.LFG(ae.jY),s.LFG(Ct,12),s.LFG(te.Is,8))},Ct.\u0275prov=s.Yz7({token:Ct,factory:Ct.\u0275fac}),Ct})(),ke=(()=>{class Ct{constructor(je){this.templateRef=je}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(s.Rgc))},Ct.\u0275dir=s.lG2({type:Ct,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),Ct})(),ge=(()=>{class Ct{constructor(je,Qe){this.nzModalRef=je,this.templateRef=Qe,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(ze,8),s.Y36(s.Rgc))},Ct.\u0275dir=s.lG2({type:Ct,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),Ct})(),xe=(()=>{class Ct{constructor(je,Qe){this.nzModalRef=je,this.templateRef=Qe,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(ze,8),s.Y36(s.Rgc))},Ct.\u0275dir=s.lG2({type:Ct,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),Ct})(),ut=(()=>{class Ct{constructor(je,Qe,ft){this.cdr=je,this.modal=Qe,this.viewContainerRef=ft,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new s.vpe,this.nzOnCancel=new s.vpe,this.nzAfterOpen=new s.vpe,this.nzAfterClose=new s.vpe,this.nzVisibleChange=new s.vpe,this.modalRef=null,this.destroy$=new L.x}set modalTitle(je){je&&this.setTitleWithTemplate(je)}set modalFooter(je){je&&this.setFooterWithTemplate(je)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const je=this.getConfig();this.modalRef=this.modal.create(je),this.modalRef.afterClose.asObservable().pipe((0,M.R)(this.destroy$)).subscribe(()=>{this.close()})}}close(je){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(je),this.modalRef=null)}destroy(je){this.close(je)}triggerOk(){this.modalRef?.triggerOk()}triggerCancel(){this.modalRef?.triggerCancel()}getContentComponent(){return this.modalRef?.getContentComponent()}getElement(){return this.modalRef?.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(je){this.nzTitle=je,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(je){this.nzFooter=je,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const je=pt(this);return je.nzViewContainerRef=this.viewContainerRef,je.nzContent=this.nzContent||this.contentFromContentChild,je}ngOnChanges(je){const{nzVisible:Qe,...ft}=je;Object.keys(ft).length&&this.modalRef&&this.modalRef.updateConfig(pt(this)),Qe&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){this.modalRef?._finishDialogClose(),this.destroy$.next(),this.destroy$.complete()}}return Ct.\u0275fac=function(je){return new(je||Ct)(s.Y36(s.sBO),s.Y36(dt),s.Y36(s.s_b))},Ct.\u0275cmp=s.Xpm({type:Ct,selectors:[["nz-modal"]],contentQueries:function(je,Qe,ft){if(1&je&&(s.Suo(ft,xe,7,s.Rgc),s.Suo(ft,ke,7,s.Rgc),s.Suo(ft,ge,7,s.Rgc)),2&je){let Re;s.iGM(Re=s.CRH())&&(Qe.modalTitle=Re.first),s.iGM(Re=s.CRH())&&(Qe.contentFromContentChild=Re.first),s.iGM(Re=s.CRH())&&(Qe.modalFooter=Re.first)}},inputs:{nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzFooter:"nzFooter",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzCloseIcon:"nzCloseIcon",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[s.TTD],decls:0,vars:0,template:function(je,Qe){},encapsulation:2,changeDetection:0}),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzMask",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzMaskClosable",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzCloseOnNavigation",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzVisible",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzClosable",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzOkLoading",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzOkDisabled",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzCancelDisabled",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzCancelLoading",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzKeyboard",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzNoAnimation",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzCentered",void 0),(0,ye.gn)([(0,S.yF)()],Ct.prototype,"nzOkDanger",void 0),Ct})(),vt=(()=>{class Ct{}return Ct.\u0275fac=function(je){return new(je||Ct)},Ct.\u0275mod=s.oAB({type:Ct}),Ct.\u0275inj=s.cJS({providers:[dt],imports:[e.ez,te.vT,g.U8,U.T,l.eL,Z.YI,N.sL,k.PV,me.YS,H.g,me.YS]}),Ct})()},9002:(Et,Me,a)=>{a.d(Me,{YS:()=>V,ku:()=>R});var t=a(6895),o=a(4650),g=a(3187);a(1481);class L{transform(e,I=0,w="B",pe){if(!((0,g.ui)(e)&&(0,g.ui)(I)&&I%1==0&&I>=0))return e;let ae=e,Z=w;for(;"B"!==Z;)ae*=1024,Z=L.formats[Z].prev;if(pe){const N=(0,g.YM)(L.calculateResult(L.formats[pe],ae),I);return L.formatResult(N,pe)}for(const U in L.formats)if(L.formats.hasOwnProperty(U)){const N=L.formats[U];if(ae{class S{transform(I,w="px"){let N="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(q=>q===w)&&(N=w),"number"==typeof I?`${I}${N}`:`${I}`}}return S.\u0275fac=function(I){return new(I||S)},S.\u0275pipe=o.Yjl({name:"nzToCssUnit",type:S,pure:!0}),S})(),V=(()=>{class S{}return S.\u0275fac=function(I){return new(I||S)},S.\u0275mod=o.oAB({type:S}),S.\u0275inj=o.cJS({imports:[t.ez]}),S})()},6581:(Et,Me,a)=>{a.d(Me,{$6:()=>Z,lU:()=>pe});var t=a(655),o=a(4650),g=a(2539),l=a(2536),s=a(3187),L=a(7570),R=a(4903),T=a(445),M=a(6895),E=a(8184),O=a(6287),F=a(1691);function V(U,N){if(1&U&&(o.ynx(0),o._uU(1),o.BQk()),2&U){const q=o.oxw(3);o.xp6(1),o.Oqu(q.nzTitle)}}function S(U,N){if(1&U&&(o.TgZ(0,"div",10),o.YNc(1,V,2,1,"ng-container",9),o.qZA()),2&U){const q=o.oxw(2);o.xp6(1),o.Q6J("nzStringTemplateOutlet",q.nzTitle)}}function e(U,N){if(1&U&&(o.ynx(0),o._uU(1),o.BQk()),2&U){const q=o.oxw(2);o.xp6(1),o.Oqu(q.nzContent)}}function I(U,N){if(1&U&&(o.TgZ(0,"div",2)(1,"div",3)(2,"div",4),o._UZ(3,"span",5),o.qZA(),o.TgZ(4,"div",6)(5,"div"),o.YNc(6,S,2,1,"div",7),o.TgZ(7,"div",8),o.YNc(8,e,2,1,"ng-container",9),o.qZA()()()()()),2&U){const q=o.oxw();o.ekj("ant-popover-rtl","rtl"===q.dir),o.Q6J("ngClass",q._classMap)("ngStyle",q.nzOverlayStyle)("@.disabled",!(null==q.noAnimation||!q.noAnimation.nzNoAnimation))("nzNoAnimation",null==q.noAnimation?null:q.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),o.xp6(6),o.Q6J("ngIf",q.nzTitle),o.xp6(2),o.Q6J("nzStringTemplateOutlet",q.nzContent)}}let pe=(()=>{class U extends L.Mg{constructor(q,Y,k,me,fe,te){super(q,Y,k,me,fe,te),this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new o.vpe,this.componentRef=this.hostView.createComponent(ae)}getProxyPropertyMap(){return{nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop],...super.getProxyPropertyMap()}}}return U.\u0275fac=function(q){return new(q||U)(o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(o._Vd),o.Y36(o.Qsj),o.Y36(R.P,9),o.Y36(l.jY))},U.\u0275dir=o.lG2({type:U,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(q,Y){2&q&&o.ekj("ant-popover-open",Y.visible)},inputs:{arrowPointAtCenter:["nzPopoverArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[o.qOj]}),(0,t.gn)([(0,s.yF)()],U.prototype,"arrowPointAtCenter",void 0),(0,t.gn)([(0,l.oS)()],U.prototype,"nzPopoverBackdrop",void 0),U})(),ae=(()=>{class U extends L.XK{constructor(q,Y,k){super(q,Y,k),this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return(0,L.pu)(this.nzTitle)&&(0,L.pu)(this.nzContent)}}return U.\u0275fac=function(q){return new(q||U)(o.Y36(o.sBO),o.Y36(T.Is,8),o.Y36(R.P,9))},U.\u0275cmp=o.Xpm({type:U,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[o.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(q,Y){1&q&&(o.YNc(0,I,9,9,"ng-template",0,1,o.W1O),o.NdJ("overlayOutsideClick",function(me){return Y.onClickOutside(me)})("detach",function(){return Y.hide()})("positionChange",function(me){return Y.onPositionChange(me)})),2&q&&o.Q6J("cdkConnectedOverlayHasBackdrop",Y.hasBackdrop)("cdkConnectedOverlayOrigin",Y.origin)("cdkConnectedOverlayPositions",Y._positions)("cdkConnectedOverlayOpen",Y._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",Y.nzArrowPointAtCenter)},dependencies:[M.mk,M.O5,M.PC,E.pI,O.f,F.hQ,R.P],encapsulation:2,data:{animation:[g.$C]},changeDetection:0}),U})(),Z=(()=>{class U{}return U.\u0275fac=function(q){return new(q||U)},U.\u0275mod=o.oAB({type:U}),U.\u0275inj=o.cJS({imports:[T.vT,M.ez,E.U8,O.T,F.e4,R.g,L.cg]}),U})()},8521:(Et,Me,a)=>{a.d(Me,{Bq:()=>I,Dg:()=>pe,Of:()=>ae,aF:()=>Z});var t=a(4650),o=a(655),g=a(4006),l=a(4707),s=a(7579),L=a(4968),R=a(2722),T=a(3187),M=a(445),E=a(2687),O=a(9570),F=a(6895);const V=["*"],S=["inputElement"],e=["nz-radio",""];let I=(()=>{class U{}return U.\u0275fac=function(q){return new(q||U)},U.\u0275dir=t.lG2({type:U,selectors:[["","nz-radio-button",""]]}),U})(),w=(()=>{class U{constructor(){this.selected$=new l.t(1),this.touched$=new s.x,this.disabled$=new l.t(1),this.name$=new l.t(1)}touch(){this.touched$.next()}select(q){this.selected$.next(q)}setDisabled(q){this.disabled$.next(q)}setName(q){this.name$.next(q)}}return U.\u0275fac=function(q){return new(q||U)},U.\u0275prov=t.Yz7({token:U,factory:U.\u0275fac}),U})(),pe=(()=>{class U{constructor(q,Y,k){this.cdr=q,this.nzRadioService=Y,this.directionality=k,this.value=null,this.destroy$=new s.x,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr"}ngOnInit(){this.nzRadioService.selected$.pipe((0,R.R)(this.destroy$)).subscribe(q=>{this.value!==q&&(this.value=q,this.onChange(this.value))}),this.nzRadioService.touched$.pipe((0,R.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),this.directionality.change?.pipe((0,R.R)(this.destroy$)).subscribe(q=>{this.dir=q,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(q){const{nzDisabled:Y,nzName:k}=q;Y&&this.nzRadioService.setDisabled(this.nzDisabled),k&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}writeValue(q){this.value=q,this.nzRadioService.select(q),this.cdr.markForCheck()}registerOnChange(q){this.onChange=q}registerOnTouched(q){this.onTouched=q}setDisabledState(q){this.nzDisabled=q,this.nzRadioService.setDisabled(q),this.cdr.markForCheck()}}return U.\u0275fac=function(q){return new(q||U)(t.Y36(t.sBO),t.Y36(w),t.Y36(M.Is,8))},U.\u0275cmp=t.Xpm({type:U,selectors:[["nz-radio-group"]],hostAttrs:[1,"ant-radio-group"],hostVars:8,hostBindings:function(q,Y){2&q&&t.ekj("ant-radio-group-large","large"===Y.nzSize)("ant-radio-group-small","small"===Y.nzSize)("ant-radio-group-solid","solid"===Y.nzButtonStyle)("ant-radio-group-rtl","rtl"===Y.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[t._Bn([w,{provide:g.JU,useExisting:(0,t.Gpc)(()=>U),multi:!0}]),t.TTD],ngContentSelectors:V,decls:1,vars:0,template:function(q,Y){1&q&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),(0,o.gn)([(0,T.yF)()],U.prototype,"nzDisabled",void 0),U})(),ae=(()=>{class U{constructor(q,Y,k,me,fe,te,ye,H){this.ngZone=q,this.elementRef=Y,this.cdr=k,this.focusMonitor=me,this.directionality=fe,this.nzRadioService=te,this.nzRadioButtonDirective=ye,this.nzFormStatusService=H,this.isNgModel=!1,this.destroy$=new s.x,this.isNzDisableFirstChange=!0,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}setDisabledState(q){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||q,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}writeValue(q){this.isChecked=q,this.cdr.markForCheck()}registerOnChange(q){this.isNgModel=!0,this.onChange=q}registerOnTouched(q){this.onTouched=q}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe((0,R.R)(this.destroy$)).subscribe(q=>{this.name=q,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe((0,R.R)(this.destroy$)).subscribe(q=>{this.nzDisabled=q,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe((0,R.R)(this.destroy$)).subscribe(q=>{const Y=this.isChecked;this.isChecked=this.nzValue===q,this.isNgModel&&Y!==this.isChecked&&!1===this.isChecked&&this.onChange(!1),this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).pipe((0,R.R)(this.destroy$)).subscribe(q=>{q||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),this.directionality.change.pipe((0,R.R)(this.destroy$)).subscribe(q=>{this.dir=q,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.setupClickListener()}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}setupClickListener(){this.ngZone.runOutsideAngular(()=>{(0,L.R)(this.elementRef.nativeElement,"click").pipe((0,R.R)(this.destroy$)).subscribe(q=>{q.stopPropagation(),q.preventDefault(),!this.nzDisabled&&!this.isChecked&&this.ngZone.run(()=>{this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)),this.cdr.markForCheck()})})})}}return U.\u0275fac=function(q){return new(q||U)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(E.tE),t.Y36(M.Is,8),t.Y36(w,8),t.Y36(I,8),t.Y36(O.kH,8))},U.\u0275cmp=t.Xpm({type:U,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(q,Y){if(1&q&&t.Gf(S,7),2&q){let k;t.iGM(k=t.CRH())&&(Y.inputElement=k.first)}},hostVars:18,hostBindings:function(q,Y){2&q&&t.ekj("ant-radio-wrapper-in-form-item",!!Y.nzFormStatusService)("ant-radio-wrapper",!Y.isRadioButton)("ant-radio-button-wrapper",Y.isRadioButton)("ant-radio-wrapper-checked",Y.isChecked&&!Y.isRadioButton)("ant-radio-button-wrapper-checked",Y.isChecked&&Y.isRadioButton)("ant-radio-wrapper-disabled",Y.nzDisabled&&!Y.isRadioButton)("ant-radio-button-wrapper-disabled",Y.nzDisabled&&Y.isRadioButton)("ant-radio-wrapper-rtl",!Y.isRadioButton&&"rtl"===Y.dir)("ant-radio-button-wrapper-rtl",Y.isRadioButton&&"rtl"===Y.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[t._Bn([{provide:g.JU,useExisting:(0,t.Gpc)(()=>U),multi:!0}])],attrs:e,ngContentSelectors:V,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(q,Y){1&q&&(t.F$t(),t.TgZ(0,"span"),t._UZ(1,"input",0,1)(3,"span"),t.qZA(),t.TgZ(4,"span"),t.Hsn(5),t.qZA()),2&q&&(t.ekj("ant-radio",!Y.isRadioButton)("ant-radio-checked",Y.isChecked&&!Y.isRadioButton)("ant-radio-disabled",Y.nzDisabled&&!Y.isRadioButton)("ant-radio-button",Y.isRadioButton)("ant-radio-button-checked",Y.isChecked&&Y.isRadioButton)("ant-radio-button-disabled",Y.nzDisabled&&Y.isRadioButton),t.xp6(1),t.ekj("ant-radio-input",!Y.isRadioButton)("ant-radio-button-input",Y.isRadioButton),t.Q6J("disabled",Y.nzDisabled)("checked",Y.isChecked),t.uIk("autofocus",Y.nzAutoFocus?"autofocus":null)("name",Y.name),t.xp6(2),t.ekj("ant-radio-inner",!Y.isRadioButton)("ant-radio-button-inner",Y.isRadioButton))},encapsulation:2,changeDetection:0}),(0,o.gn)([(0,T.yF)()],U.prototype,"nzDisabled",void 0),(0,o.gn)([(0,T.yF)()],U.prototype,"nzAutoFocus",void 0),U})(),Z=(()=>{class U{}return U.\u0275fac=function(q){return new(q||U)},U.\u0275mod=t.oAB({type:U}),U.\u0275inj=t.cJS({imports:[M.vT,F.ez,g.u5]}),U})()},8231:(Et,Me,a)=>{a.d(Me,{Ip:()=>qt,LV:()=>we,Vq:()=>he,Yy:()=>ge});var t=a(4650),o=a(7579),g=a(4968),l=a(1135),s=a(9646),L=a(9841),R=a(6451),T=a(3488),M=a(6895),E=a(4788),O=a(2722),F=a(8675),V=a(1884),S=a(1365),e=a(4004),I=a(3900),w=a(3303),pe=a(1102),ae=a(7044),Z=a(6287),U=a(655),N=a(3187),q=a(9521),Y=a(8184),k=a(4006),me=a(2539),fe=a(2536),te=a(1691),ye=a(5469),H=a(2687),X=a(4903),ve=a(3353),Se=a(445),wt=a(9570),St=a(1811);const rn=["*"];function ot(ce,nt){}function gt(ce,nt){if(1&ce&&t.YNc(0,ot,0,0,"ng-template",4),2&ce){const be=t.oxw();t.Q6J("ngTemplateOutlet",be.template)}}function Dt(ce,nt){if(1&ce&&t._uU(0),2&ce){const be=t.oxw();t.Oqu(be.label)}}function Wt(ce,nt){1&ce&&t._UZ(0,"span",7)}function mn(ce,nt){if(1&ce&&(t.TgZ(0,"div",5),t.YNc(1,Wt,1,0,"span",6),t.qZA()),2&ce){const be=t.oxw();t.xp6(1),t.Q6J("ngIf",!be.icon)("ngIfElse",be.icon)}}function At(ce,nt){if(1&ce&&(t.ynx(0),t._uU(1),t.BQk()),2&ce){const be=t.oxw();t.xp6(1),t.Oqu(be.nzLabel)}}function _t(ce,nt){if(1&ce&&(t.TgZ(0,"div",4),t._UZ(1,"nz-embed-empty",5),t.qZA()),2&ce){const be=t.oxw();t.xp6(1),t.Q6J("specificContent",be.notFoundContent)}}function Xt(ce,nt){if(1&ce&&t._UZ(0,"nz-option-item-group",9),2&ce){const be=t.oxw().$implicit;t.Q6J("nzLabel",be.groupLabel)}}function ct(ce,nt){if(1&ce){const be=t.EpF();t.TgZ(0,"nz-option-item",10),t.NdJ("itemHover",function(Zt){t.CHM(be);const nn=t.oxw(2);return t.KtG(nn.onItemHover(Zt))})("itemClick",function(Zt){t.CHM(be);const nn=t.oxw(2);return t.KtG(nn.onItemClick(Zt))}),t.qZA()}if(2&ce){const be=t.oxw().$implicit,rt=t.oxw();t.Q6J("icon",rt.menuItemSelectedIcon)("customContent",be.nzCustomContent)("template",be.template)("grouped",!!be.groupLabel)("disabled",be.nzDisabled)("showState","tags"===rt.mode||"multiple"===rt.mode)("label",be.nzLabel)("compareWith",rt.compareWith)("activatedValue",rt.activatedValue)("listOfSelectedValue",rt.listOfSelectedValue)("value",be.nzValue)}}function Rt(ce,nt){1&ce&&(t.ynx(0,6),t.YNc(1,Xt,1,1,"nz-option-item-group",7),t.YNc(2,ct,1,11,"nz-option-item",8),t.BQk()),2&ce&&(t.Q6J("ngSwitch",nt.$implicit.type),t.xp6(1),t.Q6J("ngSwitchCase","group"),t.xp6(1),t.Q6J("ngSwitchCase","item"))}function sn(ce,nt){}function Dn(ce,nt){1&ce&&t.Hsn(0)}const zn=["inputElement"],Yt=["mirrorElement"];function xt(ce,nt){1&ce&&t._UZ(0,"span",3,4)}function Ye(ce,nt){if(1&ce&&(t.TgZ(0,"div",4),t._uU(1),t.qZA()),2&ce){const be=t.oxw(2);t.xp6(1),t.Oqu(be.label)}}function $e(ce,nt){if(1&ce&&t._uU(0),2&ce){const be=t.oxw(2);t.Oqu(be.label)}}function Ae(ce,nt){if(1&ce&&(t.ynx(0),t.YNc(1,Ye,2,1,"div",2),t.YNc(2,$e,1,1,"ng-template",null,3,t.W1O),t.BQk()),2&ce){const be=t.MAs(3),rt=t.oxw();t.xp6(1),t.Q6J("ngIf",rt.deletable)("ngIfElse",be)}}function Ze(ce,nt){1&ce&&t._UZ(0,"span",7)}function oe(ce,nt){if(1&ce){const be=t.EpF();t.TgZ(0,"span",5),t.NdJ("click",function(Zt){t.CHM(be);const nn=t.oxw();return t.KtG(nn.onDelete(Zt))}),t.YNc(1,Ze,1,0,"span",6),t.qZA()}if(2&ce){const be=t.oxw();t.xp6(1),t.Q6J("ngIf",!be.removeIcon)("ngIfElse",be.removeIcon)}}const J=function(ce){return{$implicit:ce}};function Te(ce,nt){if(1&ce&&(t.ynx(0),t._uU(1),t.BQk()),2&ce){const be=t.oxw();t.xp6(1),t.hij(" ",be.placeholder," ")}}function Pe(ce,nt){if(1&ce&&t._UZ(0,"nz-select-item",6),2&ce){const be=t.oxw(2);t.Q6J("deletable",!1)("disabled",!1)("removeIcon",be.removeIcon)("label",be.listOfTopItem[0].nzLabel)("contentTemplateOutlet",be.customTemplate)("contentTemplateOutletContext",be.listOfTopItem[0])}}function Ge(ce,nt){if(1&ce){const be=t.EpF();t.ynx(0),t.TgZ(1,"nz-select-search",4),t.NdJ("isComposingChange",function(Zt){t.CHM(be);const nn=t.oxw();return t.KtG(nn.isComposingChange(Zt))})("valueChange",function(Zt){t.CHM(be);const nn=t.oxw();return t.KtG(nn.onInputValueChange(Zt))}),t.qZA(),t.YNc(2,Pe,1,6,"nz-select-item",5),t.BQk()}if(2&ce){const be=t.oxw();t.xp6(1),t.Q6J("nzId",be.nzId)("disabled",be.disabled)("value",be.inputValue)("showInput",be.showSearch)("mirrorSync",!1)("autofocus",be.autofocus)("focusTrigger",be.open),t.xp6(1),t.Q6J("ngIf",be.isShowSingleLabel)}}function it(ce,nt){if(1&ce){const be=t.EpF();t.TgZ(0,"nz-select-item",9),t.NdJ("delete",function(){const nn=t.CHM(be).$implicit,Sn=t.oxw(2);return t.KtG(Sn.onDeleteItem(nn.contentTemplateOutletContext))}),t.qZA()}if(2&ce){const be=nt.$implicit,rt=t.oxw(2);t.Q6J("removeIcon",rt.removeIcon)("label",be.nzLabel)("disabled",be.nzDisabled||rt.disabled)("contentTemplateOutlet",be.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",be.contentTemplateOutletContext)}}function yt(ce,nt){if(1&ce){const be=t.EpF();t.ynx(0),t.YNc(1,it,1,6,"nz-select-item",7),t.TgZ(2,"nz-select-search",8),t.NdJ("isComposingChange",function(Zt){t.CHM(be);const nn=t.oxw();return t.KtG(nn.isComposingChange(Zt))})("valueChange",function(Zt){t.CHM(be);const nn=t.oxw();return t.KtG(nn.onInputValueChange(Zt))}),t.qZA(),t.BQk()}if(2&ce){const be=t.oxw();t.xp6(1),t.Q6J("ngForOf",be.listOfSlicedItem)("ngForTrackBy",be.trackValue),t.xp6(1),t.Q6J("nzId",be.nzId)("disabled",be.disabled)("value",be.inputValue)("autofocus",be.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",be.open)}}function Ut(ce,nt){if(1&ce&&t._UZ(0,"nz-select-placeholder",10),2&ce){const be=t.oxw();t.Q6J("placeholder",be.placeHolder)}}function $t(ce,nt){1&ce&&t._UZ(0,"span",1)}function Je(ce,nt){1&ce&&t._UZ(0,"span",3)}function et(ce,nt){1&ce&&t._UZ(0,"span",8)}function pt(ce,nt){1&ce&&t._UZ(0,"span",9)}function Vt(ce,nt){if(1&ce&&(t.ynx(0),t.YNc(1,et,1,0,"span",6),t.YNc(2,pt,1,0,"span",7),t.BQk()),2&ce){const be=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!be.search),t.xp6(1),t.Q6J("ngIf",be.search)}}function zt(ce,nt){if(1&ce&&t._UZ(0,"span",11),2&ce){const be=t.oxw().$implicit;t.Q6J("nzType",be)}}function jt(ce,nt){if(1&ce&&(t.ynx(0),t.YNc(1,zt,1,1,"span",10),t.BQk()),2&ce){const be=nt.$implicit;t.xp6(1),t.Q6J("ngIf",be)}}function Nt(ce,nt){if(1&ce&&t.YNc(0,jt,2,1,"ng-container",2),2&ce){const be=t.oxw(2);t.Q6J("nzStringTemplateOutlet",be.suffixIcon)}}function We(ce,nt){if(1&ce&&(t.YNc(0,Vt,3,2,"ng-container",4),t.YNc(1,Nt,1,1,"ng-template",null,5,t.W1O)),2&ce){const be=t.MAs(2),rt=t.oxw();t.Q6J("ngIf",rt.showArrow&&!rt.suffixIcon)("ngIfElse",be)}}function j(ce,nt){if(1&ce&&(t.ynx(0),t._uU(1),t.BQk()),2&ce){const be=t.oxw();t.xp6(1),t.Oqu(be.feedbackIcon)}}function P(ce,nt){if(1&ce&&t._UZ(0,"nz-form-item-feedback-icon",8),2&ce){const be=t.oxw(3);t.Q6J("status",be.status)}}function K(ce,nt){if(1&ce&&t.YNc(0,P,1,1,"nz-form-item-feedback-icon",7),2&ce){const be=t.oxw(2);t.Q6J("ngIf",be.hasFeedback&&!!be.status)}}function ze(ce,nt){if(1&ce&&(t.TgZ(0,"nz-select-arrow",5),t.YNc(1,K,1,1,"ng-template",null,6,t.W1O),t.qZA()),2&ce){const be=t.MAs(2),rt=t.oxw();t.Q6J("showArrow",rt.nzShowArrow)("loading",rt.nzLoading)("search",rt.nzOpen&&rt.nzShowSearch)("suffixIcon",rt.nzSuffixIcon)("feedbackIcon",be)}}function dt(ce,nt){if(1&ce){const be=t.EpF();t.TgZ(0,"nz-select-clear",9),t.NdJ("clear",function(){t.CHM(be);const Zt=t.oxw();return t.KtG(Zt.onClearSelection())}),t.qZA()}if(2&ce){const be=t.oxw();t.Q6J("clearIcon",be.nzClearIcon)}}function ke(ce,nt){if(1&ce){const be=t.EpF();t.TgZ(0,"nz-option-container",10),t.NdJ("keydown",function(Zt){t.CHM(be);const nn=t.oxw();return t.KtG(nn.onKeyDown(Zt))})("itemClick",function(Zt){t.CHM(be);const nn=t.oxw();return t.KtG(nn.onItemClick(Zt))})("scrollToBottom",function(){t.CHM(be);const Zt=t.oxw();return t.KtG(Zt.nzScrollToBottom.emit())}),t.qZA()}if(2&ce){const be=t.oxw();t.ekj("ant-select-dropdown-placement-bottomLeft","bottomLeft"===be.dropDownPosition)("ant-select-dropdown-placement-topLeft","topLeft"===be.dropDownPosition)("ant-select-dropdown-placement-bottomRight","bottomRight"===be.dropDownPosition)("ant-select-dropdown-placement-topRight","topRight"===be.dropDownPosition),t.Q6J("ngStyle",be.nzDropdownStyle)("itemSize",be.nzOptionHeightPx)("maxItemLength",be.nzOptionOverflowSize)("matchWidth",be.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",!(null==be.noAnimation||!be.noAnimation.nzNoAnimation))("nzNoAnimation",null==be.noAnimation?null:be.noAnimation.nzNoAnimation)("listOfContainerItem",be.listOfContainerItem)("menuItemSelectedIcon",be.nzMenuItemSelectedIcon)("notFoundContent",be.nzNotFoundContent)("activatedValue",be.activatedValue)("listOfSelectedValue",be.listOfValue)("dropdownRender",be.nzDropdownRender)("compareWith",be.compareWith)("mode",be.nzMode)}}let ge=(()=>{class ce{constructor(){this.nzLabel=null,this.changes=new o.x}ngOnChanges(){this.changes.next()}}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[t.TTD],ngContentSelectors:rn,decls:1,vars:0,template:function(be,rt){1&be&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),ce})(),xe=(()=>{class ce{constructor(be,rt,Zt){this.elementRef=be,this.ngZone=rt,this.destroy$=Zt,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new t.vpe,this.itemHover=new t.vpe}ngOnChanges(be){const{value:rt,activatedValue:Zt,listOfSelectedValue:nn}=be;(rt||nn)&&(this.selected=this.listOfSelectedValue.some(Sn=>this.compareWith(Sn,this.value))),(rt||Zt)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,g.R)(this.elementRef.nativeElement,"click").pipe((0,O.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),(0,g.R)(this.elementRef.nativeElement,"mouseenter").pipe((0,O.R)(this.destroy$)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})})}}return ce.\u0275fac=function(be){return new(be||ce)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(w.kn))},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(be,rt){2&be&&(t.uIk("title",rt.label),t.ekj("ant-select-item-option-grouped",rt.grouped)("ant-select-item-option-selected",rt.selected&&!rt.disabled)("ant-select-item-option-disabled",rt.disabled)("ant-select-item-option-active",rt.activated&&!rt.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[t._Bn([w.kn]),t.TTD],decls:5,vars:3,consts:[[1,"ant-select-item-option-content"],[3,"ngIf","ngIfElse"],["noCustomContent",""],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(be,rt){if(1&be&&(t.TgZ(0,"div",0),t.YNc(1,gt,1,1,"ng-template",1),t.YNc(2,Dt,1,1,"ng-template",null,2,t.W1O),t.qZA(),t.YNc(4,mn,2,2,"div",3)),2&be){const Zt=t.MAs(3);t.xp6(1),t.Q6J("ngIf",rt.customContent)("ngIfElse",Zt),t.xp6(3),t.Q6J("ngIf",rt.showState&&rt.selected)}},dependencies:[M.O5,M.tP,pe.Ls,ae.w],encapsulation:2,changeDetection:0}),ce})(),ut=(()=>{class ce{constructor(){this.nzLabel=null}}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(be,rt){1&be&&t.YNc(0,At,2,1,"ng-container",0),2&be&&t.Q6J("nzStringTemplateOutlet",rt.nzLabel)},dependencies:[Z.f],encapsulation:2,changeDetection:0}),ce})(),vt=(()=>{class ce{constructor(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new t.vpe,this.scrollToBottom=new t.vpe,this.scrolledIndex=0}onItemClick(be){this.itemClick.emit(be)}onItemHover(be){this.activatedValue=be}trackValue(be,rt){return rt.key}onScrolledIndexChange(be){this.scrolledIndex=be,be===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const be=this.listOfContainerItem.findIndex(rt=>this.compareWith(rt.key,this.activatedValue));(be=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(be||0)}ngOnChanges(be){const{listOfContainerItem:rt,activatedValue:Zt}=be;(rt||Zt)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-option-container"]],viewQuery:function(be,rt){if(1&be&&t.Gf(T.N7,7),2&be){let Zt;t.iGM(Zt=t.CRH())&&(rt.cdkVirtualScrollViewport=Zt.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[t.TTD],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(be,rt){1&be&&(t.TgZ(0,"div"),t.YNc(1,_t,2,1,"div",0),t.TgZ(2,"cdk-virtual-scroll-viewport",1),t.NdJ("scrolledIndexChange",function(nn){return rt.onScrolledIndexChange(nn)}),t.YNc(3,Rt,3,3,"ng-template",2),t.qZA(),t.YNc(4,sn,0,0,"ng-template",3),t.qZA()),2&be&&(t.xp6(1),t.Q6J("ngIf",0===rt.listOfContainerItem.length),t.xp6(1),t.Udp("height",rt.listOfContainerItem.length*rt.itemSize,"px")("max-height",rt.itemSize*rt.maxItemLength,"px"),t.ekj("full-width",!rt.matchWidth),t.Q6J("itemSize",rt.itemSize)("maxBufferPx",rt.itemSize*rt.maxItemLength)("minBufferPx",rt.itemSize*rt.maxItemLength),t.xp6(1),t.Q6J("cdkVirtualForOf",rt.listOfContainerItem)("cdkVirtualForTrackBy",rt.trackValue)("cdkVirtualForTemplateCacheSize",0),t.xp6(1),t.Q6J("ngTemplateOutlet",rt.dropdownRender))},dependencies:[M.O5,M.tP,M.RF,M.n9,T.xd,T.x0,T.N7,E.gB,xe,ut],encapsulation:2,changeDetection:0}),ce})(),qt=(()=>{class ce{constructor(be,rt){this.nzOptionGroupComponent=be,this.destroy$=rt,this.changes=new o.x,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe((0,F.O)(!0),(0,O.R)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}}return ce.\u0275fac=function(be){return new(be||ce)(t.Y36(ge,8),t.Y36(w.kn))},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-option"]],viewQuery:function(be,rt){if(1&be&&t.Gf(t.Rgc,7),2&be){let Zt;t.iGM(Zt=t.CRH())&&(rt.template=Zt.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[t._Bn([w.kn]),t.TTD],ngContentSelectors:rn,decls:1,vars:0,template:function(be,rt){1&be&&(t.F$t(),t.YNc(0,Dn,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzDisabled",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzHide",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzCustomContent",void 0),ce})(),Ct=(()=>{class ce{constructor(be,rt,Zt){this.elementRef=be,this.renderer=rt,this.focusMonitor=Zt,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new t.vpe,this.isComposingChange=new t.vpe}setCompositionState(be){this.isComposingChange.next(be)}onValueChange(be){this.value=be,this.valueChange.next(be),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const be=this.mirrorElement.nativeElement,rt=this.elementRef.nativeElement,Zt=this.inputElement.nativeElement;this.renderer.removeStyle(rt,"width"),this.renderer.setProperty(be,"textContent",`${Zt.value}\xa0`),this.renderer.setStyle(rt,"width",`${be.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(be){const rt=this.inputElement.nativeElement,{focusTrigger:Zt,showInput:nn}=be;nn&&(this.showInput?this.renderer.removeAttribute(rt,"readonly"):this.renderer.setAttribute(rt,"readonly","readonly")),Zt&&!0===Zt.currentValue&&!1===Zt.previousValue&&rt.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return ce.\u0275fac=function(be){return new(be||ce)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(H.tE))},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-select-search"]],viewQuery:function(be,rt){if(1&be&&(t.Gf(zn,7),t.Gf(Yt,5)),2&be){let Zt;t.iGM(Zt=t.CRH())&&(rt.inputElement=Zt.first),t.iGM(Zt=t.CRH())&&(rt.mirrorElement=Zt.first)}},hostAttrs:[1,"ant-select-selection-search"],inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[t._Bn([{provide:k.ve,useValue:!1}]),t.TTD],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(be,rt){1&be&&(t.TgZ(0,"input",0,1),t.NdJ("ngModelChange",function(nn){return rt.onValueChange(nn)})("compositionstart",function(){return rt.setCompositionState(!0)})("compositionend",function(){return rt.setCompositionState(!1)}),t.qZA(),t.YNc(2,xt,2,0,"span",2)),2&be&&(t.Udp("opacity",rt.showInput?null:0),t.Q6J("ngModel",rt.value)("disabled",rt.disabled),t.uIk("id",rt.nzId)("autofocus",rt.autofocus?"autofocus":null),t.xp6(2),t.Q6J("ngIf",rt.mirrorSync))},dependencies:[M.O5,k.Fj,k.JJ,k.On],encapsulation:2,changeDetection:0}),ce})(),tn=(()=>{class ce{constructor(){this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new t.vpe}onDelete(be){be.preventDefault(),be.stopPropagation(),this.disabled||this.delete.next(be)}}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(be,rt){2&be&&(t.uIk("title",rt.label),t.ekj("ant-select-selection-item-disabled",rt.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(be,rt){1&be&&(t.YNc(0,Ae,4,2,"ng-container",0),t.YNc(1,oe,2,2,"span",1)),2&be&&(t.Q6J("nzStringTemplateOutlet",rt.contentTemplateOutlet)("nzStringTemplateOutletContext",t.VKq(3,J,rt.contentTemplateOutletContext)),t.xp6(1),t.Q6J("ngIf",rt.deletable&&!rt.disabled))},dependencies:[M.O5,pe.Ls,Z.f,ae.w],encapsulation:2,changeDetection:0}),ce})(),je=(()=>{class ce{constructor(){this.placeholder=null}}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(be,rt){1&be&&t.YNc(0,Te,2,1,"ng-container",0),2&be&&t.Q6J("nzStringTemplateOutlet",rt.placeholder)},dependencies:[Z.f],encapsulation:2,changeDetection:0}),ce})(),Qe=(()=>{class ce{constructor(be,rt,Zt){this.elementRef=be,this.ngZone=rt,this.noAnimation=Zt,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new t.vpe,this.inputValueChange=new t.vpe,this.deleteItem=new t.vpe,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.destroy$=new o.x}updateTemplateVariable(){const be=0===this.listOfTopItem.length;this.isShowPlaceholder=be&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!be&&!this.isComposing&&!this.inputValue}isComposingChange(be){this.isComposing=be,this.updateTemplateVariable()}onInputValueChange(be){be!==this.inputValue&&(this.inputValue=be,this.updateTemplateVariable(),this.inputValueChange.emit(be),this.tokenSeparate(be,this.tokenSeparators))}tokenSeparate(be,rt){if(be&&be.length&&rt.length&&"default"!==this.mode&&((Sn,jn)=>{for(let Un=0;Un0)return!0;return!1})(be,rt)){const Sn=((Sn,jn)=>{const Un=new RegExp(`[${jn.join()}]`),$n=Sn.split(Un).filter(Yn=>Yn);return[...new Set($n)]})(be,rt);this.tokenize.next(Sn)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(be,rt){return rt.nzValue}onDeleteItem(be){!this.disabled&&!be.nzDisabled&&this.deleteItem.next(be)}ngOnChanges(be){const{listOfTopItem:rt,maxTagCount:Zt,customTemplate:nn,maxTagPlaceholder:Sn}=be;if(rt&&this.updateTemplateVariable(),rt||Zt||nn||Sn){const jn=this.listOfTopItem.slice(0,this.maxTagCount).map(Un=>({nzLabel:Un.nzLabel,nzValue:Un.nzValue,nzDisabled:Un.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:Un}));if(this.listOfTopItem.length>this.maxTagCount){const Un=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,$n=this.listOfTopItem.map(co=>co.nzValue),Yn={nzLabel:Un,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:$n.slice(this.maxTagCount)};jn.push(Yn)}this.listOfSlicedItem=jn}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,g.R)(this.elementRef.nativeElement,"click").pipe((0,O.R)(this.destroy$)).subscribe(be=>{be.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),(0,g.R)(this.elementRef.nativeElement,"keydown").pipe((0,O.R)(this.destroy$)).subscribe(be=>{be.target instanceof HTMLInputElement&&be.keyCode===q.ZH&&"default"!==this.mode&&!be.target.value&&this.listOfTopItem.length>0&&(be.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))})})}ngOnDestroy(){this.destroy$.next()}}return ce.\u0275fac=function(be){return new(be||ce)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(X.P,9))},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-select-top-control"]],viewQuery:function(be,rt){if(1&be&&t.Gf(Ct,5),2&be){let Zt;t.iGM(Zt=t.CRH())&&(rt.nzSelectSearchComponent=Zt.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[t.TTD],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(be,rt){1&be&&(t.ynx(0,0),t.YNc(1,Ge,3,8,"ng-container",1),t.YNc(2,yt,3,9,"ng-container",2),t.BQk(),t.YNc(3,Ut,1,1,"nz-select-placeholder",3)),2&be&&(t.Q6J("ngSwitch",rt.mode),t.xp6(1),t.Q6J("ngSwitchCase","default"),t.xp6(2),t.Q6J("ngIf",rt.isShowPlaceholder))},dependencies:[M.sg,M.O5,M.RF,M.n9,M.ED,ae.w,Ct,tn,je],encapsulation:2,changeDetection:0}),ce})(),ft=(()=>{class ce{constructor(){this.clearIcon=null,this.clear=new t.vpe}onClick(be){be.preventDefault(),be.stopPropagation(),this.clear.emit(be)}}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(be,rt){1&be&&t.NdJ("click",function(nn){return rt.onClick(nn)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(be,rt){1&be&&t.YNc(0,$t,1,0,"span",0),2&be&&t.Q6J("ngIf",!rt.clearIcon)("ngIfElse",rt.clearIcon)},dependencies:[M.O5,pe.Ls,ae.w],encapsulation:2,changeDetection:0}),ce})(),Re=(()=>{class ce{constructor(){this.loading=!1,this.search=!1,this.showArrow=!1,this.suffixIcon=null,this.feedbackIcon=null}}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(be,rt){2&be&&t.ekj("ant-select-arrow-loading",rt.loading)},inputs:{loading:"loading",search:"search",showArrow:"showArrow",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon"},decls:4,vars:3,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(be,rt){if(1&be&&(t.YNc(0,Je,1,0,"span",0),t.YNc(1,We,3,2,"ng-template",null,1,t.W1O),t.YNc(3,j,2,1,"ng-container",2)),2&be){const Zt=t.MAs(2);t.Q6J("ngIf",rt.loading)("ngIfElse",Zt),t.xp6(3),t.Q6J("nzStringTemplateOutlet",rt.feedbackIcon)}},dependencies:[M.O5,pe.Ls,Z.f,ae.w],encapsulation:2,changeDetection:0}),ce})();const He=(ce,nt)=>!(!nt||!nt.nzLabel)&&nt.nzLabel.toString().toLowerCase().indexOf(ce.toLowerCase())>-1;let he=(()=>{class ce{constructor(be,rt,Zt,nn,Sn,jn,Un,$n,Yn,co,Wo,ko){this.ngZone=be,this.destroy$=rt,this.nzConfigService=Zt,this.cdr=nn,this.host=Sn,this.renderer=jn,this.platform=Un,this.focusMonitor=$n,this.directionality=Yn,this.noAnimation=co,this.nzFormStatusService=Wo,this.nzFormNoStatusService=ko,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzStatus="",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzPlacement=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=He,this.compareWith=(po,Go)=>po===Go,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzSelectOnTab=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new t.vpe,this.nzScrollToBottom=new t.vpe,this.nzOpenChange=new t.vpe,this.nzBlur=new t.vpe,this.nzFocus=new t.vpe,this.listOfValue$=new l.X([]),this.listOfTemplateItem$=new l.X([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.requestId=-1,this.isNzDisableFirstChange=!0,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottomLeft",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.positions=[],this.prefixCls="ant-select",this.statusCls={},this.status="",this.hasFeedback=!1}set nzShowArrow(be){this._nzShowArrow=be}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(be){return{nzValue:be,nzLabel:be,type:"item"}}onItemClick(be){if(this.activatedValue=be,"default"===this.nzMode)(0===this.listOfValue.length||!this.compareWith(this.listOfValue[0],be))&&this.updateListOfValue([be]),this.setOpenState(!1);else{const rt=this.listOfValue.findIndex(Zt=>this.compareWith(Zt,be));if(-1!==rt){const Zt=this.listOfValue.filter((nn,Sn)=>Sn!==rt);this.updateListOfValue(Zt)}else if(this.listOfValue.length!this.compareWith(Zt,be.nzValue));this.updateListOfValue(rt),this.clearInput()}updateListOfContainerItem(){let be=this.listOfTagAndTemplateItem.filter(nn=>!nn.nzHide).filter(nn=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,nn));if("tags"===this.nzMode&&this.searchValue){const nn=this.listOfTagAndTemplateItem.find(Sn=>Sn.nzLabel===this.searchValue);if(nn)this.activatedValue=nn.nzValue;else{const Sn=this.generateTagItem(this.searchValue);be=[Sn,...be],this.activatedValue=Sn.nzValue}}const rt=be.find(nn=>nn.nzLabel===this.searchValue)||be.find(nn=>this.compareWith(nn.nzValue,this.activatedValue))||be.find(nn=>this.compareWith(nn.nzValue,this.listOfValue[0]))||be[0];this.activatedValue=rt&&rt.nzValue||null;let Zt=[];this.isReactiveDriven?Zt=[...new Set(this.nzOptions.filter(nn=>nn.groupLabel).map(nn=>nn.groupLabel))]:this.listOfNzOptionGroupComponent&&(Zt=this.listOfNzOptionGroupComponent.map(nn=>nn.nzLabel)),Zt.forEach(nn=>{const Sn=be.findIndex(jn=>nn===jn.groupLabel);Sn>-1&&be.splice(Sn,0,{groupLabel:nn,type:"group",key:nn})}),this.listOfContainerItem=[...be],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(be){const Zt=((nn,Sn)=>"default"===this.nzMode?nn.length>0?nn[0]:null:nn)(be);this.value!==Zt&&(this.listOfValue=be,this.listOfValue$.next(be),this.value=Zt,this.onChange(this.value))}onTokenSeparate(be){const rt=this.listOfTagAndTemplateItem.filter(Zt=>-1!==be.findIndex(nn=>nn===Zt.nzLabel)).map(Zt=>Zt.nzValue).filter(Zt=>-1===this.listOfValue.findIndex(nn=>this.compareWith(nn,Zt)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...rt]);else if("tags"===this.nzMode){const Zt=be.filter(nn=>-1===this.listOfTagAndTemplateItem.findIndex(Sn=>Sn.nzLabel===nn));this.updateListOfValue([...this.listOfValue,...rt,...Zt])}this.clearInput()}onKeyDown(be){if(this.nzDisabled)return;const rt=this.listOfContainerItem.filter(nn=>"item"===nn.type).filter(nn=>!nn.nzDisabled),Zt=rt.findIndex(nn=>this.compareWith(nn.nzValue,this.activatedValue));switch(be.keyCode){case q.LH:be.preventDefault(),this.nzOpen&&rt.length>0&&(this.activatedValue=rt[Zt>0?Zt-1:rt.length-1].nzValue);break;case q.JH:be.preventDefault(),this.nzOpen&&rt.length>0?this.activatedValue=rt[Zt{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,be!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){(0,ye.e)(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}writeValue(be){if(this.value!==be){this.value=be;const Zt=((nn,Sn)=>null==nn?[]:"default"===this.nzMode?[nn]:nn)(be);this.listOfValue=Zt,this.listOfValue$.next(Zt),this.cdr.markForCheck()}}registerOnChange(be){this.onChange=be}registerOnTouched(be){this.onTouched=be}setDisabledState(be){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||be,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(be){const{nzOpen:rt,nzDisabled:Zt,nzOptions:nn,nzStatus:Sn,nzPlacement:jn}=be;if(rt&&this.onOpenChange(),Zt&&this.nzDisabled&&this.setOpenState(!1),nn){this.isReactiveDriven=!0;const $n=(this.nzOptions||[]).map(Yn=>({template:Yn.label instanceof t.Rgc?Yn.label:null,nzLabel:"string"==typeof Yn.label||"number"==typeof Yn.label?Yn.label:null,nzValue:Yn.value,nzDisabled:Yn.disabled||!1,nzHide:Yn.hide||!1,nzCustomContent:Yn.label instanceof t.Rgc,groupLabel:Yn.groupLabel||null,type:"item",key:Yn.value}));this.listOfTemplateItem$.next($n)}if(Sn&&this.setStatusStyles(this.nzStatus,this.hasFeedback),jn){const{currentValue:Un}=jn;this.dropDownPosition=Un;const $n=["bottomLeft","topLeft","bottomRight","topRight"];this.positions=Un&&$n.includes(Un)?[te.yW[Un]]:$n.map(Yn=>te.yW[Yn])}}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe((0,V.x)((be,rt)=>be.status===rt.status&&be.hasFeedback===rt.hasFeedback),(0,S.M)(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:(0,s.of)(!1)),(0,e.U)(([{status:be,hasFeedback:rt},Zt])=>({status:Zt?"":be,hasFeedback:rt})),(0,O.R)(this.destroy$)).subscribe(({status:be,hasFeedback:rt})=>{this.setStatusStyles(be,rt)}),this.focusMonitor.monitor(this.host,!0).pipe((0,O.R)(this.destroy$)).subscribe(be=>{be?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),(0,L.a)([this.listOfValue$,this.listOfTemplateItem$]).pipe((0,O.R)(this.destroy$)).subscribe(([be,rt])=>{const Zt=be.filter(()=>"tags"===this.nzMode).filter(nn=>-1===rt.findIndex(Sn=>this.compareWith(Sn.nzValue,nn))).map(nn=>this.listOfTopItem.find(Sn=>this.compareWith(Sn.nzValue,nn))||this.generateTagItem(nn));this.listOfTagAndTemplateItem=[...rt,...Zt],this.listOfTopItem=this.listOfValue.map(nn=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(Sn=>this.compareWith(nn,Sn.nzValue))).filter(nn=>!!nn),this.updateListOfContainerItem()}),this.directionality.change?.pipe((0,O.R)(this.destroy$)).subscribe(be=>{this.dir=be,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe((0,O.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>(0,g.R)(this.host.nativeElement,"click").pipe((0,O.R)(this.destroy$)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))})),this.cdkConnectedOverlay.overlayKeydown.pipe((0,O.R)(this.destroy$)).subscribe(be=>{be.keyCode===q.hY&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||(0,R.T)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe((0,F.O)(!0),(0,I.w)(()=>(0,R.T)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(be=>be.changes),...this.listOfNzOptionGroupComponent.map(be=>be.changes)).pipe((0,F.O)(!0))),(0,O.R)(this.destroy$)).subscribe(()=>{const be=this.listOfNzOptionComponent.toArray().map(rt=>{const{template:Zt,nzLabel:nn,nzValue:Sn,nzDisabled:jn,nzHide:Un,nzCustomContent:$n,groupLabel:Yn}=rt;return{template:Zt,nzLabel:nn,nzValue:Sn,nzDisabled:jn,nzHide:Un,nzCustomContent:$n,groupLabel:Yn,type:"item",key:Sn}});this.listOfTemplateItem$.next(be),this.cdr.markForCheck()})}ngOnDestroy(){(0,ye.h)(this.requestId),this.focusMonitor.stopMonitoring(this.host)}setStatusStyles(be,rt){this.status=be,this.hasFeedback=rt,this.cdr.markForCheck(),this.statusCls=(0,N.Zu)(this.prefixCls,be,rt),Object.keys(this.statusCls).forEach(Zt=>{this.statusCls[Zt]?this.renderer.addClass(this.host.nativeElement,Zt):this.renderer.removeClass(this.host.nativeElement,Zt)})}}return ce.\u0275fac=function(be){return new(be||ce)(t.Y36(t.R0b),t.Y36(w.kn),t.Y36(fe.jY),t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(ve.t4),t.Y36(H.tE),t.Y36(Se.Is,8),t.Y36(X.P,9),t.Y36(wt.kH,8),t.Y36(wt.yW,8))},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["nz-select"]],contentQueries:function(be,rt,Zt){if(1&be&&(t.Suo(Zt,qt,5),t.Suo(Zt,ge,5)),2&be){let nn;t.iGM(nn=t.CRH())&&(rt.listOfNzOptionComponent=nn),t.iGM(nn=t.CRH())&&(rt.listOfNzOptionGroupComponent=nn)}},viewQuery:function(be,rt){if(1&be&&(t.Gf(Y.xu,7,t.SBq),t.Gf(Y.pI,7),t.Gf(Qe,7),t.Gf(ge,7,t.SBq),t.Gf(Qe,7,t.SBq)),2&be){let Zt;t.iGM(Zt=t.CRH())&&(rt.originElement=Zt.first),t.iGM(Zt=t.CRH())&&(rt.cdkConnectedOverlay=Zt.first),t.iGM(Zt=t.CRH())&&(rt.nzSelectTopControlComponent=Zt.first),t.iGM(Zt=t.CRH())&&(rt.nzOptionGroupComponentElement=Zt.first),t.iGM(Zt=t.CRH())&&(rt.nzSelectTopControlComponentElement=Zt.first)}},hostAttrs:[1,"ant-select"],hostVars:26,hostBindings:function(be,rt){2&be&&t.ekj("ant-select-in-form-item",!!rt.nzFormStatusService)("ant-select-lg","large"===rt.nzSize)("ant-select-sm","small"===rt.nzSize)("ant-select-show-arrow",rt.nzShowArrow)("ant-select-disabled",rt.nzDisabled)("ant-select-show-search",(rt.nzShowSearch||"default"!==rt.nzMode)&&!rt.nzDisabled)("ant-select-allow-clear",rt.nzAllowClear)("ant-select-borderless",rt.nzBorderless)("ant-select-open",rt.nzOpen)("ant-select-focused",rt.nzOpen||rt.focused)("ant-select-single","default"===rt.nzMode)("ant-select-multiple","default"!==rt.nzMode)("ant-select-rtl","rtl"===rt.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzSelectOnTab:"nzSelectOnTab",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[t._Bn([w.kn,{provide:k.JU,useExisting:(0,t.Gpc)(()=>ce),multi:!0}]),t.TTD],decls:5,vars:25,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","overlayOutsideClick","detach","positionChange"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon"],["feedbackIconTpl",""],[3,"status",4,"ngIf"],[3,"status"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(be,rt){if(1&be&&(t.TgZ(0,"nz-select-top-control",0,1),t.NdJ("inputValueChange",function(nn){return rt.onInputValueChange(nn)})("tokenize",function(nn){return rt.onTokenSeparate(nn)})("deleteItem",function(nn){return rt.onItemDelete(nn)})("keydown",function(nn){return rt.onKeyDown(nn)}),t.qZA(),t.YNc(2,ze,3,5,"nz-select-arrow",2),t.YNc(3,dt,1,1,"nz-select-clear",3),t.YNc(4,ke,1,23,"ng-template",4),t.NdJ("overlayOutsideClick",function(nn){return rt.onClickOutside(nn)})("detach",function(){return rt.setOpenState(!1)})("positionChange",function(nn){return rt.onPositionChange(nn)})),2&be){const Zt=t.MAs(1);t.Q6J("nzId",rt.nzId)("open",rt.nzOpen)("disabled",rt.nzDisabled)("mode",rt.nzMode)("@.disabled",!(null==rt.noAnimation||!rt.noAnimation.nzNoAnimation))("nzNoAnimation",null==rt.noAnimation?null:rt.noAnimation.nzNoAnimation)("maxTagPlaceholder",rt.nzMaxTagPlaceholder)("removeIcon",rt.nzRemoveIcon)("placeHolder",rt.nzPlaceHolder)("maxTagCount",rt.nzMaxTagCount)("customTemplate",rt.nzCustomTemplate)("tokenSeparators",rt.nzTokenSeparators)("showSearch",rt.nzShowSearch)("autofocus",rt.nzAutoFocus)("listOfTopItem",rt.listOfTopItem),t.xp6(2),t.Q6J("ngIf",rt.nzShowArrow||rt.hasFeedback&&!!rt.status),t.xp6(1),t.Q6J("ngIf",rt.nzAllowClear&&!rt.nzDisabled&&rt.listOfValue.length),t.xp6(1),t.Q6J("cdkConnectedOverlayHasBackdrop",rt.nzBackdrop)("cdkConnectedOverlayMinWidth",rt.nzDropdownMatchSelectWidth?null:rt.triggerWidth)("cdkConnectedOverlayWidth",rt.nzDropdownMatchSelectWidth?rt.triggerWidth:null)("cdkConnectedOverlayOrigin",Zt)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",rt.nzDropdownClassName)("cdkConnectedOverlayOpen",rt.nzOpen)("cdkConnectedOverlayPositions",rt.positions)}},dependencies:[M.O5,M.PC,Y.pI,Y.xu,te.hQ,X.P,ae.w,wt.w_,vt,Qe,ft,Re],encapsulation:2,data:{animation:[me.mF]},changeDetection:0}),(0,U.gn)([(0,fe.oS)()],ce.prototype,"nzSuffixIcon",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzAllowClear",void 0),(0,U.gn)([(0,fe.oS)(),(0,N.yF)()],ce.prototype,"nzBorderless",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzShowSearch",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzLoading",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzAutoFocus",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzAutoClearSearchValue",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzServerSearch",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzDisabled",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzOpen",void 0),(0,U.gn)([(0,N.yF)()],ce.prototype,"nzSelectOnTab",void 0),(0,U.gn)([(0,fe.oS)(),(0,N.yF)()],ce.prototype,"nzBackdrop",void 0),ce})(),we=(()=>{class ce{}return ce.\u0275fac=function(be){return new(be||ce)},ce.\u0275mod=t.oAB({type:ce}),ce.\u0275inj=t.cJS({imports:[Se.vT,M.ez,St.YI,k.u5,ve.ud,Y.U8,pe.PV,Z.T,E.Xo,te.e4,X.g,ae.a,wt.mJ,T.Cl,H.rt]}),ce})()},6903:(Et,Me,a)=>{a.d(Me,{$1:()=>S,NU:()=>w,zf:()=>pe});var t=a(445),o=a(6895),g=a(4650),l=a(655),s=a(7579),L=a(2722),R=a(2536),T=a(3187);function M(ae,Z){}const E=function(ae){return{$implicit:ae}};function O(ae,Z){if(1&ae&&(g.TgZ(0,"span",4),g.YNc(1,M,0,0,"ng-template",5),g.qZA()),2&ae){const U=g.oxw(),N=U.last,q=U.index,Y=g.oxw();g.Udp("margin-bottom","vertical"===Y.nzDirection?N?null:Y.spaceSize:null,"px")("margin-right","horizontal"===Y.nzDirection?N?null:Y.spaceSize:null,"px"),g.xp6(1),g.Q6J("ngTemplateOutlet",Y.nzSplit)("ngTemplateOutletContext",g.VKq(6,E,q))}}function F(ae,Z){if(1&ae&&(g.TgZ(0,"div",1),g.GkF(1,2),g.qZA(),g.YNc(2,O,2,8,"span",3)),2&ae){const U=Z.$implicit,N=Z.last,q=g.oxw();g.Udp("margin-bottom","vertical"===q.nzDirection?N?null:q.spaceSize:null,"px")("margin-right","horizontal"===q.nzDirection?N?null:q.spaceSize:null,"px"),g.xp6(1),g.Q6J("ngTemplateOutlet",U),g.xp6(1),g.Q6J("ngIf",q.nzSplit&&!N)}}const V=["*"];let S=(()=>{class ae{constructor(){}}return ae.\u0275fac=function(U){return new(U||ae)},ae.\u0275dir=g.lG2({type:ae,selectors:[["","nzSpaceItem",""]]}),ae})();const I={small:8,middle:16,large:24};let w=(()=>{class ae{constructor(U,N){this.nzConfigService=U,this.cdr=N,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=I.small,this.destroy$=new s.x}updateSpaceItems(){this.spaceSize=("string"==typeof this.nzSize?I[this.nzSize]:this.nzSize)/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe((0,L.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}}return ae.\u0275fac=function(U){return new(U||ae)(g.Y36(R.jY),g.Y36(g.sBO))},ae.\u0275cmp=g.Xpm({type:ae,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(U,N,q){if(1&U&&g.Suo(q,S,4,g.Rgc),2&U){let Y;g.iGM(Y=g.CRH())&&(N.items=Y)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(U,N){2&U&&(g.Udp("flex-wrap",N.nzWrap?"wrap":null),g.ekj("ant-space-horizontal","horizontal"===N.nzDirection)("ant-space-vertical","vertical"===N.nzDirection)("ant-space-align-start","start"===N.mergedAlign)("ant-space-align-end","end"===N.mergedAlign)("ant-space-align-center","center"===N.mergedAlign)("ant-space-align-baseline","baseline"===N.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize"},exportAs:["NzSpace"],features:[g.TTD],ngContentSelectors:V,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],[1,"ant-space-item"],[3,"ngTemplateOutlet"],["class","ant-space-split",3,"margin-bottom","margin-right",4,"ngIf"],[1,"ant-space-split"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(U,N){1&U&&(g.F$t(),g.Hsn(0),g.YNc(1,F,3,6,"ng-template",0)),2&U&&(g.xp6(1),g.Q6J("ngForOf",N.items))},dependencies:[o.sg,o.O5,o.tP],encapsulation:2,changeDetection:0}),(0,l.gn)([(0,T.yF)()],ae.prototype,"nzWrap",void 0),(0,l.gn)([(0,R.oS)()],ae.prototype,"nzSize",void 0),ae})(),pe=(()=>{class ae{}return ae.\u0275fac=function(U){return new(U||ae)},ae.\u0275mod=g.oAB({type:ae}),ae.\u0275inj=g.cJS({imports:[t.vT,o.ez]}),ae})()},5681:(Et,Me,a)=>{a.d(Me,{W:()=>te,j:()=>ye});var t=a(655),o=a(4650),g=a(7579),l=a(1135),s=a(4707),L=a(5963),R=a(8675),T=a(1884),M=a(3900),E=a(4482),O=a(5032),F=a(5403),V=a(8421),e=a(2722),I=a(2536),w=a(3187),pe=a(445),ae=a(6895),Z=a(9643);function U(H,X){1&H&&(o.TgZ(0,"span",3),o._UZ(1,"i",4)(2,"i",4)(3,"i",4)(4,"i",4),o.qZA())}function N(H,X){}function q(H,X){if(1&H&&(o.TgZ(0,"div",8),o._uU(1),o.qZA()),2&H){const ve=o.oxw(2);o.xp6(1),o.Oqu(ve.nzTip)}}function Y(H,X){if(1&H&&(o.TgZ(0,"div")(1,"div",5),o.YNc(2,N,0,0,"ng-template",6),o.YNc(3,q,2,1,"div",7),o.qZA()()),2&H){const ve=o.oxw(),Se=o.MAs(1);o.xp6(1),o.ekj("ant-spin-rtl","rtl"===ve.dir)("ant-spin-spinning",ve.isLoading)("ant-spin-lg","large"===ve.nzSize)("ant-spin-sm","small"===ve.nzSize)("ant-spin-show-text",ve.nzTip),o.xp6(1),o.Q6J("ngTemplateOutlet",ve.nzIndicator||Se),o.xp6(1),o.Q6J("ngIf",ve.nzTip)}}function k(H,X){if(1&H&&(o.TgZ(0,"div",9),o.Hsn(1),o.qZA()),2&H){const ve=o.oxw();o.ekj("ant-spin-blur",ve.isLoading)}}const me=["*"];let te=(()=>{class H{constructor(ve,Se,wt){this.nzConfigService=ve,this.cdr=Se,this.directionality=wt,this._nzModuleName="spin",this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new g.x,this.spinning$=new l.X(this.nzSpinning),this.delay$=new s.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){this.delay$.pipe((0,R.O)(this.nzDelay),(0,T.x)(),(0,M.w)(Se=>0===Se?this.spinning$:this.spinning$.pipe(function S(H){return(0,E.e)((X,ve)=>{let Se=!1,wt=null,St=null;const rn=()=>{if(St?.unsubscribe(),St=null,Se){Se=!1;const ot=wt;wt=null,ve.next(ot)}};X.subscribe((0,F.x)(ve,ot=>{St?.unsubscribe(),Se=!0,wt=ot,St=(0,F.x)(ve,rn,O.Z),(0,V.Xf)(H(ot)).subscribe(St)},()=>{rn(),ve.complete()},void 0,()=>{wt=St=null}))})}(wt=>(0,L.H)(wt?Se:0)))),(0,e.R)(this.destroy$)).subscribe(Se=>{this.isLoading=Se,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent("spin").pipe((0,e.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.directionality.change?.pipe((0,e.R)(this.destroy$)).subscribe(Se=>{this.dir=Se,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(ve){const{nzSpinning:Se,nzDelay:wt}=ve;Se&&this.spinning$.next(this.nzSpinning),wt&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return H.\u0275fac=function(ve){return new(ve||H)(o.Y36(I.jY),o.Y36(o.sBO),o.Y36(pe.Is,8))},H.\u0275cmp=o.Xpm({type:H,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(ve,Se){2&ve&&o.ekj("ant-spin-nested-loading",!Se.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[o.TTD],ngContentSelectors:me,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(ve,Se){1&ve&&(o.F$t(),o.YNc(0,U,5,0,"ng-template",null,0,o.W1O),o.YNc(2,Y,4,12,"div",1),o.YNc(3,k,2,2,"div",2)),2&ve&&(o.xp6(2),o.Q6J("ngIf",Se.isLoading),o.xp6(1),o.Q6J("ngIf",!Se.nzSimple))},dependencies:[ae.O5,ae.tP],encapsulation:2}),(0,t.gn)([(0,I.oS)()],H.prototype,"nzIndicator",void 0),(0,t.gn)([(0,w.Rn)()],H.prototype,"nzDelay",void 0),(0,t.gn)([(0,w.yF)()],H.prototype,"nzSimple",void 0),(0,t.gn)([(0,w.yF)()],H.prototype,"nzSpinning",void 0),H})(),ye=(()=>{class H{}return H.\u0275fac=function(ve){return new(ve||H)},H.\u0275mod=o.oAB({type:H}),H.\u0275inj=o.cJS({imports:[pe.vT,ae.ez,Z.Q8]}),H})()},6675:(Et,Me,a)=>{a.d(Me,{UX:()=>Ki,qn:()=>Io,Ql:()=>$o,Uo:()=>Qo,N8:()=>Xi,HQ:()=>_r,zu:()=>Hi,p0:()=>Li,h7:()=>Si,qD:()=>Ni,_C:()=>Oo,g6:()=>ri,Om:()=>Yi,$Z:()=>da});var t=a(445),o=a(3353),g=a(3488),l=a(6895),s=a(4650),L=a(4006),R=a(6616),T=a(1519),M=a(8213),E=a(6287),O=a(9562),F=a(4788),V=a(1811),S=a(1102),e=a(3325),I=a(655),w=a(7579),pe=a(4707),ae=a(2722),Z=a(2536),U=a(3303),N=a(3187),q=a(8231);const Y=["nz-pagination-item",""];function k(Be,kt){if(1&Be&&(s.TgZ(0,"a"),s._uU(1),s.qZA()),2&Be){const $=s.oxw().page;s.xp6(1),s.Oqu($)}}function me(Be,kt){1&Be&&s._UZ(0,"span",9)}function fe(Be,kt){1&Be&&s._UZ(0,"span",10)}function te(Be,kt){if(1&Be&&(s.TgZ(0,"button",6),s.ynx(1,2),s.YNc(2,me,1,0,"span",7),s.YNc(3,fe,1,0,"span",8),s.BQk(),s.qZA()),2&Be){const $=s.oxw(2);s.Q6J("disabled",$.disabled),s.xp6(1),s.Q6J("ngSwitch",$.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function ye(Be,kt){1&Be&&s._UZ(0,"span",10)}function H(Be,kt){1&Be&&s._UZ(0,"span",9)}function X(Be,kt){if(1&Be&&(s.TgZ(0,"button",6),s.ynx(1,2),s.YNc(2,ye,1,0,"span",11),s.YNc(3,H,1,0,"span",12),s.BQk(),s.qZA()),2&Be){const $=s.oxw(2);s.Q6J("disabled",$.disabled),s.xp6(1),s.Q6J("ngSwitch",$.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function ve(Be,kt){1&Be&&s._UZ(0,"span",20)}function Se(Be,kt){1&Be&&s._UZ(0,"span",21)}function wt(Be,kt){if(1&Be&&(s.ynx(0,2),s.YNc(1,ve,1,0,"span",18),s.YNc(2,Se,1,0,"span",19),s.BQk()),2&Be){const $=s.oxw(4);s.Q6J("ngSwitch",$.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function St(Be,kt){1&Be&&s._UZ(0,"span",21)}function rn(Be,kt){1&Be&&s._UZ(0,"span",20)}function ot(Be,kt){if(1&Be&&(s.ynx(0,2),s.YNc(1,St,1,0,"span",22),s.YNc(2,rn,1,0,"span",23),s.BQk()),2&Be){const $=s.oxw(4);s.Q6J("ngSwitch",$.direction),s.xp6(1),s.Q6J("ngSwitchCase","rtl")}}function gt(Be,kt){if(1&Be&&(s.TgZ(0,"div",15),s.ynx(1,2),s.YNc(2,wt,3,2,"ng-container",16),s.YNc(3,ot,3,2,"ng-container",16),s.BQk(),s.TgZ(4,"span",17),s._uU(5,"\u2022\u2022\u2022"),s.qZA()()),2&Be){const $=s.oxw(2).$implicit;s.xp6(1),s.Q6J("ngSwitch",$),s.xp6(1),s.Q6J("ngSwitchCase","prev_5"),s.xp6(1),s.Q6J("ngSwitchCase","next_5")}}function Dt(Be,kt){if(1&Be&&(s.ynx(0),s.TgZ(1,"a",13),s.YNc(2,gt,6,3,"div",14),s.qZA(),s.BQk()),2&Be){const $=s.oxw().$implicit;s.xp6(1),s.Q6J("ngSwitch",$)}}function Wt(Be,kt){1&Be&&(s.ynx(0,2),s.YNc(1,k,2,1,"a",3),s.YNc(2,te,4,3,"button",4),s.YNc(3,X,4,3,"button",4),s.YNc(4,Dt,3,1,"ng-container",5),s.BQk()),2&Be&&(s.Q6J("ngSwitch",kt.$implicit),s.xp6(1),s.Q6J("ngSwitchCase","page"),s.xp6(1),s.Q6J("ngSwitchCase","prev"),s.xp6(1),s.Q6J("ngSwitchCase","next"))}function mn(Be,kt){}const At=function(Be,kt){return{$implicit:Be,page:kt}},_t=["containerTemplate"];function Xt(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"ul")(1,"li",1),s.NdJ("click",function(){s.CHM($);const Lt=s.oxw();return s.KtG(Lt.prePage())}),s.qZA(),s.TgZ(2,"li",2)(3,"input",3),s.NdJ("keydown.enter",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.jumpToPageViaInput(Lt))}),s.qZA(),s.TgZ(4,"span",4),s._uU(5,"/"),s.qZA(),s._uU(6),s.qZA(),s.TgZ(7,"li",5),s.NdJ("click",function(){s.CHM($);const Lt=s.oxw();return s.KtG(Lt.nextPage())}),s.qZA()()}if(2&Be){const $=s.oxw();s.xp6(1),s.Q6J("disabled",$.isFirstIndex)("direction",$.dir)("itemRender",$.itemRender),s.uIk("title",$.locale.prev_page),s.xp6(1),s.uIk("title",$.pageIndex+"/"+$.lastIndex),s.xp6(1),s.Q6J("disabled",$.disabled)("value",$.pageIndex),s.xp6(3),s.hij(" ",$.lastIndex," "),s.xp6(1),s.Q6J("disabled",$.isLastIndex)("direction",$.dir)("itemRender",$.itemRender),s.uIk("title",null==$.locale?null:$.locale.next_page)}}const ct=["nz-pagination-options",""];function Rt(Be,kt){if(1&Be&&s._UZ(0,"nz-option",4),2&Be){const $=kt.$implicit;s.Q6J("nzLabel",$.label)("nzValue",$.value)}}function sn(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"nz-select",2),s.NdJ("ngModelChange",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.onPageSizeChange(Lt))}),s.YNc(1,Rt,1,2,"nz-option",3),s.qZA()}if(2&Be){const $=s.oxw();s.Q6J("nzDisabled",$.disabled)("nzSize",$.nzSize)("ngModel",$.pageSize),s.xp6(1),s.Q6J("ngForOf",$.listOfPageSizeOption)("ngForTrackBy",$.trackByOption)}}function Dn(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"div",5),s._uU(1),s.TgZ(2,"input",6),s.NdJ("keydown.enter",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.jumpToPageViaInput(Lt))}),s.qZA(),s._uU(3),s.qZA()}if(2&Be){const $=s.oxw();s.xp6(1),s.hij(" ",$.locale.jump_to," "),s.xp6(1),s.Q6J("disabled",$.disabled),s.xp6(1),s.hij(" ",$.locale.page," ")}}function zn(Be,kt){}const Yt=function(Be,kt){return{$implicit:Be,range:kt}};function xt(Be,kt){if(1&Be&&(s.TgZ(0,"li",4),s.YNc(1,zn,0,0,"ng-template",5),s.qZA()),2&Be){const $=s.oxw(2);s.xp6(1),s.Q6J("ngTemplateOutlet",$.showTotal)("ngTemplateOutletContext",s.WLB(2,Yt,$.total,$.ranges))}}function Ye(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"li",6),s.NdJ("gotoIndex",function(Lt){s.CHM($);const on=s.oxw(2);return s.KtG(on.jumpPage(Lt))})("diffIndex",function(Lt){s.CHM($);const on=s.oxw(2);return s.KtG(on.jumpDiff(Lt))}),s.qZA()}if(2&Be){const $=kt.$implicit,Ne=s.oxw(2);s.Q6J("locale",Ne.locale)("type",$.type)("index",$.index)("disabled",!!$.disabled)("itemRender",Ne.itemRender)("active",Ne.pageIndex===$.index)("direction",Ne.dir)}}function $e(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"li",7),s.NdJ("pageIndexChange",function(Lt){s.CHM($);const on=s.oxw(2);return s.KtG(on.onPageIndexChange(Lt))})("pageSizeChange",function(Lt){s.CHM($);const on=s.oxw(2);return s.KtG(on.onPageSizeChange(Lt))}),s.qZA()}if(2&Be){const $=s.oxw(2);s.Q6J("total",$.total)("locale",$.locale)("disabled",$.disabled)("nzSize",$.nzSize)("showSizeChanger",$.showSizeChanger)("showQuickJumper",$.showQuickJumper)("pageIndex",$.pageIndex)("pageSize",$.pageSize)("pageSizeOptions",$.pageSizeOptions)}}function Ae(Be,kt){if(1&Be&&(s.TgZ(0,"ul"),s.YNc(1,xt,2,5,"li",1),s.YNc(2,Ye,1,7,"li",2),s.YNc(3,$e,1,9,"li",3),s.qZA()),2&Be){const $=s.oxw();s.xp6(1),s.Q6J("ngIf",$.showTotal),s.xp6(1),s.Q6J("ngForOf",$.listOfPageItem)("ngForTrackBy",$.trackByPageItem),s.xp6(1),s.Q6J("ngIf",$.showQuickJumper||$.showSizeChanger)}}function Ze(Be,kt){}function oe(Be,kt){if(1&Be&&(s.ynx(0),s.YNc(1,Ze,0,0,"ng-template",6),s.BQk()),2&Be){s.oxw(2);const $=s.MAs(2);s.xp6(1),s.Q6J("ngTemplateOutlet",$.template)}}function J(Be,kt){if(1&Be&&(s.ynx(0),s.YNc(1,oe,2,1,"ng-container",5),s.BQk()),2&Be){const $=s.oxw(),Ne=s.MAs(4);s.xp6(1),s.Q6J("ngIf",$.nzSimple)("ngIfElse",Ne.template)}}let Te=(()=>{class Be{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new s.vpe,this.gotoIndex=new s.vpe,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges($){const{locale:Ne,index:Lt,type:on}=$;(Ne||Lt||on)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type])}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function($,Ne){1&$&&s.NdJ("click",function(){return Ne.clickItem()}),2&$&&(s.uIk("title",Ne.title),s.ekj("ant-pagination-prev","prev"===Ne.type)("ant-pagination-next","next"===Ne.type)("ant-pagination-item","page"===Ne.type)("ant-pagination-jump-prev","prev_5"===Ne.type)("ant-pagination-jump-prev-custom-icon","prev_5"===Ne.type)("ant-pagination-jump-next","next_5"===Ne.type)("ant-pagination-jump-next-custom-icon","next_5"===Ne.type)("ant-pagination-disabled",Ne.disabled)("ant-pagination-item-active",Ne.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[s.TTD],attrs:Y,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["type","button",1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function($,Ne){if(1&$&&(s.YNc(0,Wt,5,4,"ng-template",null,0,s.W1O),s.YNc(2,mn,0,0,"ng-template",1)),2&$){const Lt=s.MAs(1);s.xp6(2),s.Q6J("ngTemplateOutlet",Ne.itemRender||Lt)("ngTemplateOutletContext",s.WLB(2,At,Ne.type,Ne.index))}},dependencies:[l.tP,l.RF,l.n9,l.ED,S.Ls],encapsulation:2,changeDetection:0}),Be})(),Pe=(()=>{class Be{constructor($,Ne,Lt,on){this.cdr=$,this.renderer=Ne,this.elementRef=Lt,this.directionality=on,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new s.vpe,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new w.x,Ne.removeChild(Ne.parentNode(Lt.nativeElement),Lt.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,ae.R)(this.destroy$)).subscribe($=>{this.dir=$,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput($){const Ne=$.target,Lt=(0,N.He)(Ne.value,this.pageIndex);this.onPageIndexChange(Lt),Ne.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange($){this.pageIndexChange.next($)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges($){const{pageIndex:Ne,total:Lt,pageSize:on}=$;(Ne||Lt||on)&&this.updateBindingValue()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.sBO),s.Y36(s.Qsj),s.Y36(s.SBq),s.Y36(t.Is,8))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-pagination-simple"]],viewQuery:function($,Ne){if(1&$&&s.Gf(_t,7),2&$){let Lt;s.iGM(Lt=s.CRH())&&(Ne.template=Lt.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[s.TTD],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function($,Ne){1&$&&s.YNc(0,Xt,8,12,"ng-template",null,0,s.W1O)},dependencies:[Te],encapsulation:2,changeDetection:0}),Be})(),Ge=(()=>{class Be{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new s.vpe,this.pageSizeChange=new s.vpe,this.listOfPageSizeOption=[]}onPageSizeChange($){this.pageSize!==$&&this.pageSizeChange.next($)}jumpToPageViaInput($){const Ne=$.target,Lt=Math.floor((0,N.He)(Ne.value,this.pageIndex));this.pageIndexChange.next(Lt),Ne.value=""}trackByOption($,Ne){return Ne.value}ngOnChanges($){const{pageSize:Ne,pageSizeOptions:Lt,locale:on}=$;(Ne||Lt||on)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(wn=>({value:wn,label:`${wn} ${this.locale.items_per_page}`})))}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["li","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[s.TTD],attrs:ct,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function($,Ne){1&$&&(s.YNc(0,sn,2,5,"nz-select",0),s.YNc(1,Dn,4,3,"div",1)),2&$&&(s.Q6J("ngIf",Ne.showSizeChanger),s.xp6(1),s.Q6J("ngIf",Ne.showQuickJumper))},dependencies:[l.sg,l.O5,L.JJ,L.On,q.Ip,q.Vq],encapsulation:2,changeDetection:0}),Be})(),it=(()=>{class Be{constructor($,Ne,Lt,on){this.cdr=$,this.renderer=Ne,this.elementRef=Lt,this.directionality=on,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new s.vpe,this.pageSizeChange=new s.vpe,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new w.x,Ne.removeChild(Ne.parentNode(Lt.nativeElement),Lt.nativeElement)}ngOnInit(){this.directionality.change?.pipe((0,ae.R)(this.destroy$)).subscribe($=>{this.dir=$,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage($){this.onPageIndexChange($)}jumpDiff($){this.jumpPage(this.pageIndex+$)}trackByPageItem($,Ne){return`${Ne.type}-${Ne.index}`}onPageIndexChange($){this.pageIndexChange.next($)}onPageSizeChange($){this.pageSizeChange.next($)}getLastIndex($,Ne){return Math.ceil($/Ne)}buildIndexes(){const $=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,$)}getListOfPageItem($,Ne){const on=(wn,no)=>{const to=[];for(let yo=wn;yo<=no;yo++)to.push({index:yo,type:"page"});return to};return wn=Ne<=9?on(1,Ne):((no,to)=>{let yo=[];const Jn={type:"prev_5"},Uo={type:"next_5"},hi=on(1,1),Di=on(Ne,Ne);return yo=no<5?[...on(2,4===no?6:5),Uo]:no{class Be{constructor($,Ne,Lt,on,wn){this.i18n=$,this.cdr=Ne,this.breakpointService=Lt,this.nzConfigService=on,this.directionality=wn,this._nzModuleName="pagination",this.nzPageSizeChange=new s.vpe,this.nzPageIndexChange=new s.vpe,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new w.x,this.total$=new pe.t(1)}validatePageIndex($,Ne){return $>Ne?Ne:$<1?1:$}onPageIndexChange($){const Ne=this.getLastIndex(this.nzTotal,this.nzPageSize),Lt=this.validatePageIndex($,Ne);Lt!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=Lt,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange($){this.nzPageSize=$,this.nzPageSizeChange.emit($);const Ne=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>Ne&&this.onPageIndexChange(Ne)}onTotalChange($){const Ne=this.getLastIndex($,this.nzPageSize);this.nzPageIndex>Ne&&Promise.resolve().then(()=>{this.onPageIndexChange(Ne),this.cdr.markForCheck()})}getLastIndex($,Ne){return Math.ceil($/Ne)}ngOnInit(){this.i18n.localeChange.pipe((0,ae.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe((0,ae.R)(this.destroy$)).subscribe($=>{this.onTotalChange($)}),this.breakpointService.subscribe(U.WV).pipe((0,ae.R)(this.destroy$)).subscribe($=>{this.nzResponsive&&(this.size=$===U.G_.xs?"small":"default",this.cdr.markForCheck())}),this.directionality.change?.pipe((0,ae.R)(this.destroy$)).subscribe($=>{this.dir=$,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges($){const{nzHideOnSinglePage:Ne,nzTotal:Lt,nzPageSize:on,nzSize:wn}=$;Lt&&this.total$.next(this.nzTotal),(Ne||Lt||on)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),wn&&(this.size=wn.currentValue)}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(V.wi),s.Y36(s.sBO),s.Y36(U.r3),s.Y36(Z.jY),s.Y36(t.Is,8))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:8,hostBindings:function($,Ne){2&$&&s.ekj("ant-pagination-simple",Ne.nzSimple)("ant-pagination-disabled",Ne.nzDisabled)("mini",!Ne.nzSimple&&"small"===Ne.size)("ant-pagination-rtl","rtl"===Ne.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[s.TTD],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function($,Ne){1&$&&(s.YNc(0,J,2,2,"ng-container",0),s.TgZ(1,"nz-pagination-simple",1,2),s.NdJ("pageIndexChange",function(on){return Ne.onPageIndexChange(on)}),s.qZA(),s.TgZ(3,"nz-pagination-default",3,4),s.NdJ("pageIndexChange",function(on){return Ne.onPageIndexChange(on)})("pageSizeChange",function(on){return Ne.onPageSizeChange(on)}),s.qZA()),2&$&&(s.Q6J("ngIf",Ne.showPagination),s.xp6(1),s.Q6J("disabled",Ne.nzDisabled)("itemRender",Ne.nzItemRender)("locale",Ne.locale)("pageSize",Ne.nzPageSize)("total",Ne.nzTotal)("pageIndex",Ne.nzPageIndex),s.xp6(2),s.Q6J("nzSize",Ne.size)("itemRender",Ne.nzItemRender)("showTotal",Ne.nzShowTotal)("disabled",Ne.nzDisabled)("locale",Ne.locale)("showSizeChanger",Ne.nzShowSizeChanger)("showQuickJumper",Ne.nzShowQuickJumper)("total",Ne.nzTotal)("pageIndex",Ne.nzPageIndex)("pageSize",Ne.nzPageSize)("pageSizeOptions",Ne.nzPageSizeOptions))},dependencies:[l.O5,l.tP,Pe,it],encapsulation:2,changeDetection:0}),(0,I.gn)([(0,Z.oS)()],Be.prototype,"nzSize",void 0),(0,I.gn)([(0,Z.oS)()],Be.prototype,"nzPageSizeOptions",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzShowSizeChanger",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzShowQuickJumper",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzSimple",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzDisabled",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzResponsive",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzHideOnSinglePage",void 0),(0,I.gn)([(0,N.Rn)()],Be.prototype,"nzTotal",void 0),(0,I.gn)([(0,N.Rn)()],Be.prototype,"nzPageIndex",void 0),(0,I.gn)([(0,N.Rn)()],Be.prototype,"nzPageSize",void 0),Be})(),$t=(()=>{class Be{}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275mod=s.oAB({type:Be}),Be.\u0275inj=s.cJS({imports:[t.vT,l.ez,L.u5,q.LV,V.YI,S.PV]}),Be})();var Je=a(8521),et=a(5681),pt=a(4968),Vt=a(1135),zt=a(9841),jt=a(6451),Nt=a(515),We=a(9646),j=a(4004),P=a(9300),K=a(8675),ze=a(3900),dt=a(8372),ke=a(1005),ge=a(1884),xe=a(5684),ut=a(5577),vt=a(7044),qt=a(1664);const Ct=["*"];function tn(Be,kt){}function je(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"label",15),s.NdJ("ngModelChange",function(){s.CHM($);const Lt=s.oxw().$implicit,on=s.oxw(2);return s.KtG(on.check(Lt))}),s.qZA()}if(2&Be){const $=s.oxw().$implicit;s.Q6J("ngModel",$.checked)}}function Qe(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"label",16),s.NdJ("ngModelChange",function(){s.CHM($);const Lt=s.oxw().$implicit,on=s.oxw(2);return s.KtG(on.check(Lt))}),s.qZA()}if(2&Be){const $=s.oxw().$implicit;s.Q6J("ngModel",$.checked)}}function ft(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"li",12),s.NdJ("click",function(){const on=s.CHM($).$implicit,wn=s.oxw(2);return s.KtG(wn.check(on))}),s.YNc(1,je,1,1,"label",13),s.YNc(2,Qe,1,1,"label",14),s.TgZ(3,"span"),s._uU(4),s.qZA()()}if(2&Be){const $=kt.$implicit,Ne=s.oxw(2);s.Q6J("nzSelected",$.checked),s.xp6(1),s.Q6J("ngIf",!Ne.filterMultiple),s.xp6(1),s.Q6J("ngIf",Ne.filterMultiple),s.xp6(2),s.Oqu($.text)}}function Re(Be,kt){if(1&Be){const $=s.EpF();s.ynx(0),s.TgZ(1,"nz-filter-trigger",3),s.NdJ("nzVisibleChange",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.onVisibleChange(Lt))}),s._UZ(2,"span",4),s.qZA(),s.TgZ(3,"nz-dropdown-menu",null,5)(5,"div",6)(6,"ul",7),s.YNc(7,ft,5,4,"li",8),s.qZA(),s.TgZ(8,"div",9)(9,"button",10),s.NdJ("click",function(){s.CHM($);const Lt=s.oxw();return s.KtG(Lt.reset())}),s._uU(10),s.qZA(),s.TgZ(11,"button",11),s.NdJ("click",function(){s.CHM($);const Lt=s.oxw();return s.KtG(Lt.confirm())}),s._uU(12),s.qZA()()()(),s.BQk()}if(2&Be){const $=s.MAs(4),Ne=s.oxw();s.xp6(1),s.Q6J("nzVisible",Ne.isVisible)("nzActive",Ne.isChecked)("nzDropdownMenu",$),s.xp6(6),s.Q6J("ngForOf",Ne.listOfParsedFilter)("ngForTrackBy",Ne.trackByValue),s.xp6(2),s.Q6J("disabled",!Ne.isChecked),s.xp6(1),s.hij(" ",Ne.locale.filterReset," "),s.xp6(2),s.Oqu(Ne.locale.filterConfirm)}}function He(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"label",2),s.NdJ("ngModelChange",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.onCheckedChange(Lt))}),s.qZA()}if(2&Be){const $=s.oxw();s.ekj("ant-table-selection-select-all-custom",$.showRowSelection),s.Q6J("ngModel",$.checked)("nzDisabled",$.disabled)("nzIndeterminate",$.indeterminate)}}function Ie(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"li",9),s.NdJ("click",function(){const on=s.CHM($).$implicit;return s.KtG(on.onSelect())}),s._uU(1),s.qZA()}if(2&Be){const $=kt.$implicit;s.xp6(1),s.hij(" ",$.text," ")}}function he(Be,kt){if(1&Be&&(s.TgZ(0,"div",3)(1,"span",4),s._UZ(2,"span",5),s.qZA(),s.TgZ(3,"nz-dropdown-menu",null,6)(5,"ul",7),s.YNc(6,Ie,2,1,"li",8),s.qZA()()()),2&Be){const $=s.MAs(4),Ne=s.oxw();s.xp6(1),s.Q6J("nzDropdownMenu",$),s.xp6(5),s.Q6J("ngForOf",Ne.listOfSelections)}}function we(Be,kt){}function ce(Be,kt){if(1&Be&&s._UZ(0,"span",6),2&Be){const $=s.oxw();s.ekj("active","ascend"===$.sortOrder)}}function nt(Be,kt){if(1&Be&&s._UZ(0,"span",7),2&Be){const $=s.oxw();s.ekj("active","descend"===$.sortOrder)}}const be=["nzChecked",""];function rt(Be,kt){if(1&Be){const $=s.EpF();s.ynx(0),s._UZ(1,"nz-row-indent",2),s.TgZ(2,"button",3),s.NdJ("expandChange",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.onExpandChange(Lt))}),s.qZA(),s.BQk()}if(2&Be){const $=s.oxw();s.xp6(1),s.Q6J("indentSize",$.nzIndentSize),s.xp6(1),s.Q6J("expand",$.nzExpand)("spaceMode",!$.nzShowExpand)}}function Zt(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"label",4),s.NdJ("ngModelChange",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.onCheckedChange(Lt))}),s.qZA()}if(2&Be){const $=s.oxw();s.Q6J("nzDisabled",$.nzDisabled)("ngModel",$.nzChecked)("nzIndeterminate",$.nzIndeterminate)}}const nn=["nzColumnKey",""];function Sn(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"nz-table-filter",5),s.NdJ("filterChange",function(Lt){s.CHM($);const on=s.oxw();return s.KtG(on.onFilterValueChange(Lt))}),s.qZA()}if(2&Be){const $=s.oxw(),Ne=s.MAs(2),Lt=s.MAs(4);s.Q6J("contentTemplate",Ne)("extraTemplate",Lt)("customFilter",$.nzCustomFilter)("filterMultiple",$.nzFilterMultiple)("listOfFilter",$.nzFilters)}}function jn(Be,kt){}function Un(Be,kt){if(1&Be&&s.YNc(0,jn,0,0,"ng-template",6),2&Be){const $=s.oxw(),Ne=s.MAs(6),Lt=s.MAs(8);s.Q6J("ngTemplateOutlet",$.nzShowSort?Ne:Lt)}}function $n(Be,kt){1&Be&&(s.Hsn(0),s.Hsn(1,1))}function Yn(Be,kt){if(1&Be&&s._UZ(0,"nz-table-sorters",7),2&Be){const $=s.oxw(),Ne=s.MAs(8);s.Q6J("sortOrder",$.sortOrder)("sortDirections",$.sortDirections)("contentTemplate",Ne)}}function co(Be,kt){1&Be&&s.Hsn(0,2)}const Wo=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],ko=["[nz-th-extra]","nz-filter-trigger","*"],po=["nzSelections",""],Go=["nz-table-content",""];function Po(Be,kt){if(1&Be&&s._UZ(0,"col"),2&Be){const $=kt.$implicit;s.Udp("width",$)("min-width",$)}}function ui(Be,kt){}function Ro(Be,kt){if(1&Be&&(s.TgZ(0,"thead",3),s.YNc(1,ui,0,0,"ng-template",2),s.qZA()),2&Be){const $=s.oxw();s.xp6(1),s.Q6J("ngTemplateOutlet",$.theadTemplate)}}function Ko(Be,kt){}const Fn=["tdElement"],Wn=["nz-table-fixed-row",""];function ro(Be,kt){}function ni(Be,kt){if(1&Be&&(s.TgZ(0,"div",4),s.ALo(1,"async"),s.YNc(2,ro,0,0,"ng-template",5),s.qZA()),2&Be){const $=s.oxw(),Ne=s.MAs(5);s.Udp("width",s.lcZ(1,3,$.hostWidth$),"px"),s.xp6(2),s.Q6J("ngTemplateOutlet",Ne)}}function To(Be,kt){1&Be&&s.Hsn(0)}const Do=["nz-table-measure-row",""];function bn(Be,kt){1&Be&&s._UZ(0,"td",1,2)}function Co(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"tr",3),s.NdJ("listOfAutoWidth",function(Lt){s.CHM($);const on=s.oxw(2);return s.KtG(on.onListOfAutoWidthChange(Lt))}),s.qZA()}if(2&Be){const $=s.oxw().ngIf;s.Q6J("listOfMeasureColumn",$)}}function pi(Be,kt){if(1&Be&&(s.ynx(0),s.YNc(1,Co,1,1,"tr",2),s.BQk()),2&Be){const $=kt.ngIf,Ne=s.oxw();s.xp6(1),s.Q6J("ngIf",Ne.isInsideTable&&$.length)}}function Fi(Be,kt){if(1&Be&&(s.TgZ(0,"tr",4),s._UZ(1,"nz-embed-empty",5),s.ALo(2,"async"),s.qZA()),2&Be){const $=s.oxw();s.xp6(1),s.Q6J("specificContent",s.lcZ(2,1,$.noResult$))}}const oo=["tableHeaderElement"],Zi=["tableBodyElement"];function Ji(Be,kt){if(1&Be&&(s.TgZ(0,"div",7,8),s._UZ(2,"table",9),s.qZA()),2&Be){const $=s.oxw(2);s.Q6J("ngStyle",$.bodyStyleMap),s.xp6(2),s.Q6J("scrollX",$.scrollX)("listOfColWidth",$.listOfColWidth)("contentTemplate",$.contentTemplate)}}function Ei(Be,kt){}const jr=function(Be,kt){return{$implicit:Be,index:kt}};function qe(Be,kt){if(1&Be&&(s.ynx(0),s.YNc(1,Ei,0,0,"ng-template",13),s.BQk()),2&Be){const $=kt.$implicit,Ne=kt.index,Lt=s.oxw(3);s.xp6(1),s.Q6J("ngTemplateOutlet",Lt.virtualTemplate)("ngTemplateOutletContext",s.WLB(2,jr,$,Ne))}}function se(Be,kt){if(1&Be&&(s.TgZ(0,"cdk-virtual-scroll-viewport",10,8)(2,"table",11)(3,"tbody"),s.YNc(4,qe,2,5,"ng-container",12),s.qZA()()()),2&Be){const $=s.oxw(2);s.Udp("height",$.data.length?$.scrollY:$.noDateVirtualHeight),s.Q6J("itemSize",$.virtualItemSize)("maxBufferPx",$.virtualMaxBufferPx)("minBufferPx",$.virtualMinBufferPx),s.xp6(2),s.Q6J("scrollX",$.scrollX)("listOfColWidth",$.listOfColWidth),s.xp6(2),s.Q6J("cdkVirtualForOf",$.data)("cdkVirtualForTrackBy",$.virtualForTrackBy)}}function Fe(Be,kt){if(1&Be&&(s.ynx(0),s.TgZ(1,"div",2,3),s._UZ(3,"table",4),s.qZA(),s.YNc(4,Ji,3,4,"div",5),s.YNc(5,se,5,9,"cdk-virtual-scroll-viewport",6),s.BQk()),2&Be){const $=s.oxw();s.xp6(1),s.Q6J("ngStyle",$.headerStyleMap),s.xp6(2),s.Q6J("scrollX",$.scrollX)("listOfColWidth",$.listOfColWidth)("theadTemplate",$.theadTemplate),s.xp6(1),s.Q6J("ngIf",!$.virtualTemplate),s.xp6(1),s.Q6J("ngIf",$.virtualTemplate)}}function Ue(Be,kt){if(1&Be&&(s.TgZ(0,"div",14,8),s._UZ(2,"table",15),s.qZA()),2&Be){const $=s.oxw();s.Q6J("ngStyle",$.bodyStyleMap),s.xp6(2),s.Q6J("scrollX",$.scrollX)("listOfColWidth",$.listOfColWidth)("theadTemplate",$.theadTemplate)("contentTemplate",$.contentTemplate)}}function Tt(Be,kt){if(1&Be&&(s.ynx(0),s._uU(1),s.BQk()),2&Be){const $=s.oxw();s.xp6(1),s.Oqu($.title)}}function Ft(Be,kt){if(1&Be&&(s.ynx(0),s._uU(1),s.BQk()),2&Be){const $=s.oxw();s.xp6(1),s.Oqu($.footer)}}function Gt(Be,kt){}function un(Be,kt){if(1&Be&&(s.ynx(0),s.YNc(1,Gt,0,0,"ng-template",10),s.BQk()),2&Be){s.oxw();const $=s.MAs(11);s.xp6(1),s.Q6J("ngTemplateOutlet",$)}}function pn(Be,kt){if(1&Be&&s._UZ(0,"nz-table-title-footer",11),2&Be){const $=s.oxw();s.Q6J("title",$.nzTitle)}}function fn(Be,kt){if(1&Be&&s._UZ(0,"nz-table-inner-scroll",12),2&Be){const $=s.oxw(),Ne=s.MAs(13),Lt=s.MAs(3);s.Q6J("data",$.data)("scrollX",$.scrollX)("scrollY",$.scrollY)("contentTemplate",Ne)("listOfColWidth",$.listOfAutoColWidth)("theadTemplate",$.theadTemplate)("verticalScrollBarWidth",$.verticalScrollBarWidth)("virtualTemplate",$.nzVirtualScrollDirective?$.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",$.nzVirtualItemSize)("virtualMaxBufferPx",$.nzVirtualMaxBufferPx)("virtualMinBufferPx",$.nzVirtualMinBufferPx)("tableMainElement",Lt)("virtualForTrackBy",$.nzVirtualForTrackBy)}}function On(Be,kt){if(1&Be&&s._UZ(0,"nz-table-inner-default",13),2&Be){const $=s.oxw(),Ne=s.MAs(13);s.Q6J("tableLayout",$.nzTableLayout)("listOfColWidth",$.listOfManualColWidth)("theadTemplate",$.theadTemplate)("contentTemplate",Ne)}}function Tn(Be,kt){if(1&Be&&s._UZ(0,"nz-table-title-footer",14),2&Be){const $=s.oxw();s.Q6J("footer",$.nzFooter)}}function En(Be,kt){}function Pn(Be,kt){if(1&Be&&(s.ynx(0),s.YNc(1,En,0,0,"ng-template",10),s.BQk()),2&Be){s.oxw();const $=s.MAs(11);s.xp6(1),s.Q6J("ngTemplateOutlet",$)}}function Xn(Be,kt){if(1&Be){const $=s.EpF();s.TgZ(0,"nz-pagination",16),s.NdJ("nzPageSizeChange",function(Lt){s.CHM($);const on=s.oxw(2);return s.KtG(on.onPageSizeChange(Lt))})("nzPageIndexChange",function(Lt){s.CHM($);const on=s.oxw(2);return s.KtG(on.onPageIndexChange(Lt))}),s.qZA()}if(2&Be){const $=s.oxw(2);s.Q6J("hidden",!$.showPagination)("nzShowSizeChanger",$.nzShowSizeChanger)("nzPageSizeOptions",$.nzPageSizeOptions)("nzItemRender",$.nzItemRender)("nzShowQuickJumper",$.nzShowQuickJumper)("nzHideOnSinglePage",$.nzHideOnSinglePage)("nzShowTotal",$.nzShowTotal)("nzSize","small"===$.nzPaginationType?"small":"default"===$.nzSize?"default":"small")("nzPageSize",$.nzPageSize)("nzTotal",$.nzTotal)("nzSimple",$.nzSimple)("nzPageIndex",$.nzPageIndex)}}function xn(Be,kt){if(1&Be&&s.YNc(0,Xn,1,12,"nz-pagination",15),2&Be){const $=s.oxw();s.Q6J("ngIf",$.nzShowPagination&&$.data.length)}}function Vn(Be,kt){1&Be&&s.Hsn(0)}const Zn=["contentTemplate"];function ho(Be,kt){1&Be&&s.Hsn(0)}function uo(Be,kt){}function fo(Be,kt){if(1&Be&&(s.ynx(0),s.YNc(1,uo,0,0,"ng-template",2),s.BQk()),2&Be){s.oxw();const $=s.MAs(1);s.xp6(1),s.Q6J("ngTemplateOutlet",$)}}let $o=(()=>{class Be{constructor($,Ne,Lt,on){this.nzConfigService=$,this.ngZone=Ne,this.cdr=Lt,this.destroy$=on,this._nzModuleName="filterTrigger",this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new s.vpe}onVisibleChange($){this.nzVisible=$,this.nzVisibleChange.next($)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,pt.R)(this.nzDropdown.nativeElement,"click").pipe((0,ae.R)(this.destroy$)).subscribe($=>{$.stopPropagation()})})}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(Z.jY),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(U.kn))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-filter-trigger"]],viewQuery:function($,Ne){if(1&$&&s.Gf(O.cm,7,s.SBq),2&$){let Lt;s.iGM(Lt=s.CRH())&&(Ne.nzDropdown=Lt.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],features:[s._Bn([U.kn])],ngContentSelectors:Ct,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange"]],template:function($,Ne){1&$&&(s.F$t(),s.TgZ(0,"span",0),s.NdJ("nzVisibleChange",function(on){return Ne.onVisibleChange(on)}),s.Hsn(1),s.qZA()),2&$&&(s.ekj("active",Ne.nzActive)("ant-table-filter-open",Ne.nzVisible),s.Q6J("nzBackdrop",Ne.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",Ne.nzDropdownMenu)("nzVisible",Ne.nzVisible))},dependencies:[O.cm],encapsulation:2,changeDetection:0}),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzBackdrop",void 0),Be})(),bo=(()=>{class Be{constructor($,Ne){this.cdr=$,this.i18n=Ne,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new s.vpe,this.destroy$=new w.x,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}trackByValue($,Ne){return Ne.value}check($){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(Ne=>Ne===$?{...Ne,checked:!$.checked}:Ne),$.checked=!$.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(Ne=>({...Ne,checked:Ne===$})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange($){this.isVisible=$,$?this.listOfChecked=this.listOfParsedFilter.filter(Ne=>Ne.checked).map(Ne=>Ne.value):this.emitFilterData()}emitFilterData(){const $=this.listOfParsedFilter.filter(Ne=>Ne.checked).map(Ne=>Ne.value);(0,N.cO)(this.listOfChecked,$)||this.filterChange.emit(this.filterMultiple?$:$.length>0?$[0]:null)}parseListOfFilter($,Ne){return $.map(Lt=>({text:Lt.text,value:Lt.value,checked:!Ne&&!!Lt.byDefault}))}getCheckedStatus($){return $.some(Ne=>Ne.checked)}ngOnInit(){this.i18n.localeChange.pipe((0,ae.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges($){const{listOfFilter:Ne}=$;Ne&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.sBO),s.Y36(V.wi))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[s.TTD],decls:3,vars:3,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function($,Ne){1&$&&(s.TgZ(0,"span",0),s.YNc(1,tn,0,0,"ng-template",1),s.qZA(),s.YNc(2,Re,13,8,"ng-container",2)),2&$&&(s.xp6(1),s.Q6J("ngTemplateOutlet",Ne.contentTemplate),s.xp6(1),s.Q6J("ngIf",!Ne.customFilter)("ngIfElse",Ne.extraTemplate))},dependencies:[e.wO,e.r9,L.JJ,L.On,Je.Of,M.Ie,O.RR,R.ix,vt.w,qt.dQ,l.sg,l.O5,l.tP,S.Ls,$o],encapsulation:2,changeDetection:0}),Be})(),_o=(()=>{class Be{constructor(){this.expand=!1,this.spaceMode=!1,this.expandChange=new s.vpe}onHostClick(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand))}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275dir=s.lG2({type:Be,selectors:[["button","nz-row-expand-button",""]],hostAttrs:[1,"ant-table-row-expand-icon"],hostVars:7,hostBindings:function($,Ne){1&$&&s.NdJ("click",function(){return Ne.onHostClick()}),2&$&&(s.Ikx("type","button"),s.ekj("ant-table-row-expand-icon-expanded",!Ne.spaceMode&&!0===Ne.expand)("ant-table-row-expand-icon-collapsed",!Ne.spaceMode&&!1===Ne.expand)("ant-table-row-expand-icon-spaced",Ne.spaceMode))},inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"}}),Be})(),Bo=(()=>{class Be{constructor(){this.indentSize=0}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275dir=s.lG2({type:Be,selectors:[["nz-row-indent"]],hostAttrs:[1,"ant-table-row-indent"],hostVars:2,hostBindings:function($,Ne){2&$&&s.Udp("padding-left",Ne.indentSize,"px")},inputs:{indentSize:"indentSize"}}),Be})(),ii=(()=>{class Be{constructor(){this.listOfSelections=[],this.checked=!1,this.disabled=!1,this.indeterminate=!1,this.showCheckbox=!1,this.showRowSelection=!1,this.checkedChange=new s.vpe}onCheckedChange($){this.checked=$,this.checkedChange.emit($)}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-table-selection"]],hostAttrs:[1,"ant-table-selection"],inputs:{listOfSelections:"listOfSelections",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",showCheckbox:"showCheckbox",showRowSelection:"showRowSelection"},outputs:{checkedChange:"checkedChange"},decls:2,vars:2,consts:[["nz-checkbox","",3,"ant-table-selection-select-all-custom","ngModel","nzDisabled","nzIndeterminate","ngModelChange",4,"ngIf"],["class","ant-table-selection-extra",4,"ngIf"],["nz-checkbox","",3,"ngModel","nzDisabled","nzIndeterminate","ngModelChange"],[1,"ant-table-selection-extra"],["nz-dropdown","","nzPlacement","bottomLeft",1,"ant-table-selection-down",3,"nzDropdownMenu"],["nz-icon","","nzType","down"],["selectionMenu","nzDropdownMenu"],["nz-menu","",1,"ant-table-selection-menu"],["nz-menu-item","",3,"click",4,"ngFor","ngForOf"],["nz-menu-item","",3,"click"]],template:function($,Ne){1&$&&(s.YNc(0,He,1,5,"label",0),s.YNc(1,he,7,2,"div",1)),2&$&&(s.Q6J("ngIf",Ne.showCheckbox),s.xp6(1),s.Q6J("ngIf",Ne.showRowSelection))},dependencies:[e.wO,e.r9,L.JJ,L.On,M.Ie,O.cm,O.RR,vt.w,l.sg,l.O5,S.Ls],encapsulation:2,changeDetection:0}),Be})(),oi=(()=>{class Be{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges($){const{sortDirections:Ne}=$;Ne&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[s.TTD],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function($,Ne){1&$&&(s.TgZ(0,"span",0),s.YNc(1,we,0,0,"ng-template",1),s.qZA(),s.TgZ(2,"span",2)(3,"span",3),s.YNc(4,ce,1,2,"span",4),s.YNc(5,nt,1,2,"span",5),s.qZA()()),2&$&&(s.xp6(1),s.Q6J("ngTemplateOutlet",Ne.contentTemplate),s.xp6(1),s.ekj("ant-table-column-sorter-full",Ne.isDown&&Ne.isUp),s.xp6(2),s.Q6J("ngIf",Ne.isUp),s.xp6(1),s.Q6J("ngIf",Ne.isDown))},dependencies:[vt.w,l.O5,l.tP,S.Ls],encapsulation:2,changeDetection:0}),Be})(),Io=(()=>{class Be{constructor($,Ne){this.renderer=$,this.elementRef=Ne,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new w.x,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}setAutoLeftWidth($){this.renderer.setStyle(this.elementRef.nativeElement,"left",$)}setAutoRightWidth($){this.renderer.setStyle(this.elementRef.nativeElement,"right",$)}setIsFirstRight($){this.setFixClass($,"ant-table-cell-fix-right-first")}setIsLastLeft($){this.setFixClass($,"ant-table-cell-fix-left-last")}setFixClass($,Ne){this.renderer.removeClass(this.elementRef.nativeElement,Ne),$&&this.renderer.addClass(this.elementRef.nativeElement,Ne)}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const $=Ne=>"string"==typeof Ne&&""!==Ne?Ne:null;this.setAutoLeftWidth($(this.nzLeft)),this.setAutoRightWidth($(this.nzRight)),this.changes$.next()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.Qsj),s.Y36(s.SBq))},Be.\u0275dir=s.lG2({type:Be,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function($,Ne){2&$&&(s.Udp("position",Ne.isFixed?"sticky":null),s.ekj("ant-table-cell-fix-right",Ne.isFixedRight)("ant-table-cell-fix-left",Ne.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[s.TTD]}),Be})(),Vo=(()=>{class Be{constructor(){this.theadTemplate$=new pe.t(1),this.hasFixLeft$=new pe.t(1),this.hasFixRight$=new pe.t(1),this.hostWidth$=new pe.t(1),this.columnCount$=new pe.t(1),this.showEmpty$=new pe.t(1),this.noResult$=new pe.t(1),this.listOfThWidthConfigPx$=new Vt.X([]),this.tableWidthConfigPx$=new Vt.X([]),this.manualWidthConfigPx$=(0,zt.a)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe((0,j.U)(([$,Ne])=>$.length?$:Ne)),this.listOfAutoWidthPx$=new pe.t(1),this.listOfListOfThWidthPx$=(0,jt.T)(this.manualWidthConfigPx$,(0,zt.a)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe((0,j.U)(([$,Ne])=>$.length===Ne.length?$.map((Lt,on)=>"0px"===Lt?Ne[on]||null:Ne[on]||Lt):Ne))),this.listOfMeasureColumn$=new pe.t(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe((0,j.U)($=>$.map(Ne=>parseInt(Ne,10)))),this.enableAutoMeasure$=new pe.t(1)}setTheadTemplate($){this.theadTemplate$.next($)}setHasFixLeft($){this.hasFixLeft$.next($)}setHasFixRight($){this.hasFixRight$.next($)}setTableWidthConfig($){this.tableWidthConfigPx$.next($)}setListOfTh($){let Ne=0;$.forEach(on=>{Ne+=on.colspan&&+on.colspan||on.colSpan&&+on.colSpan||1});const Lt=$.map(on=>on.nzWidth);this.columnCount$.next(Ne),this.listOfThWidthConfigPx$.next(Lt)}setListOfMeasureColumn($){const Ne=[];$.forEach(Lt=>{const on=Lt.colspan&&+Lt.colspan||Lt.colSpan&&+Lt.colSpan||1;for(let wn=0;wn`${Ne}px`))}setShowEmpty($){this.showEmpty$.next($)}setNoResult($){this.noResult$.next($)}setScroll($,Ne){const Lt=!(!$&&!Ne);Lt||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(Lt)}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275prov=s.Yz7({token:Be,factory:Be.\u0275fac}),Be})(),Qo=(()=>{class Be{constructor($){this.isInsideTable=!1,this.isInsideTable=!!$}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(Vo,8))},Be.\u0275dir=s.lG2({type:Be,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function($,Ne){2&$&&s.ekj("ant-table-cell",Ne.isInsideTable)}}),Be})(),Si=(()=>{class Be{constructor(){this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzIndentSize=0,this.nzShowExpand=!1,this.nzShowCheckbox=!1,this.nzExpand=!1,this.nzCheckedChange=new s.vpe,this.nzExpandChange=new s.vpe,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange($){this.nzChecked=$,this.nzCheckedChange.emit($)}onExpandChange($){this.nzExpand=$,this.nzExpandChange.emit($)}ngOnChanges($){const Ne=to=>to&&to.firstChange&&void 0!==to.currentValue,{nzExpand:Lt,nzChecked:on,nzShowExpand:wn,nzShowCheckbox:no}=$;wn&&(this.isNzShowExpandChanged=!0),no&&(this.isNzShowCheckboxChanged=!0),Ne(Lt)&&!this.isNzShowExpandChanged&&(this.nzShowExpand=!0),Ne(on)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["td","nzChecked",""],["td","nzDisabled",""],["td","nzIndeterminate",""],["td","nzIndentSize",""],["td","nzExpand",""],["td","nzShowExpand",""],["td","nzShowCheckbox",""]],hostVars:4,hostBindings:function($,Ne){2&$&&s.ekj("ant-table-cell-with-append",Ne.nzShowExpand||Ne.nzIndentSize>0)("ant-table-selection-column",Ne.nzShowCheckbox)},inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzIndentSize:"nzIndentSize",nzShowExpand:"nzShowExpand",nzShowCheckbox:"nzShowCheckbox",nzExpand:"nzExpand"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},features:[s.TTD],attrs:be,ngContentSelectors:Ct,decls:3,vars:2,consts:[[4,"ngIf"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange",4,"ngIf"],[3,"indentSize"],["nz-row-expand-button","",3,"expand","spaceMode","expandChange"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange"]],template:function($,Ne){1&$&&(s.F$t(),s.YNc(0,rt,3,3,"ng-container",0),s.YNc(1,Zt,1,3,"label",1),s.Hsn(2)),2&$&&(s.Q6J("ngIf",Ne.nzShowExpand||Ne.nzIndentSize>0),s.xp6(1),s.Q6J("ngIf",Ne.nzShowCheckbox))},dependencies:[L.JJ,L.On,M.Ie,l.O5,Bo,_o],encapsulation:2,changeDetection:0}),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzShowExpand",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzShowCheckbox",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzExpand",void 0),Be})(),Ni=(()=>{class Be{constructor($,Ne,Lt,on){this.host=$,this.cdr=Ne,this.ngZone=Lt,this.destroy$=on,this.manualClickOrder$=new w.x,this.calcOperatorChange$=new w.x,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new w.x,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new s.vpe,this.nzSortOrderChange=new s.vpe,this.nzFilterChange=new s.vpe}getNextSortDirection($,Ne){const Lt=$.indexOf(Ne);return Lt===$.length-1?$[0]:$[Lt+1]}setSortOrder($){this.sortOrderChange$.next($)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange($){this.nzFilterChange.emit($),this.nzFilterValue=$,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}ngOnInit(){this.ngZone.runOutsideAngular(()=>(0,pt.R)(this.host.nativeElement,"click").pipe((0,P.h)(()=>this.nzShowSort),(0,ae.R)(this.destroy$)).subscribe(()=>{const $=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder($),this.manualClickOrder$.next(this)})})),this.sortOrderChange$.pipe((0,ae.R)(this.destroy$)).subscribe($=>{this.sortOrder!==$&&(this.sortOrder=$,this.nzSortOrderChange.emit($)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges($){const{nzSortDirections:Ne,nzFilters:Lt,nzSortOrder:on,nzSortFn:wn,nzFilterFn:no,nzSortPriority:to,nzFilterMultiple:yo,nzShowSort:Jn,nzShowFilter:Uo}=$;Ne&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),on&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),Jn&&(this.isNzShowSortChanged=!0),Uo&&(this.isNzShowFilterChanged=!0);const hi=Di=>Di&&Di.firstChange&&void 0!==Di.currentValue;if((hi(on)||hi(wn))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),hi(Lt)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(Lt||yo)&&this.nzShowFilter){const Di=this.nzFilters.filter(Oi=>Oi.byDefault).map(Oi=>Oi.value);this.nzFilterValue=this.nzFilterMultiple?Di:Di[0]||null}(wn||no||to||Lt)&&this.updateCalcOperator()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(U.kn))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function($,Ne){2&$&&s.ekj("ant-table-column-has-sorters",Ne.nzShowSort)("ant-table-column-sort","descend"===Ne.sortOrder||"ascend"===Ne.sortOrder)},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[s._Bn([U.kn]),s.TTD],attrs:nn,ngContentSelectors:ko,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function($,Ne){if(1&$&&(s.F$t(Wo),s.YNc(0,Sn,1,5,"nz-table-filter",0),s.YNc(1,Un,1,1,"ng-template",null,1,s.W1O),s.YNc(3,$n,2,0,"ng-template",null,2,s.W1O),s.YNc(5,Yn,1,3,"ng-template",null,3,s.W1O),s.YNc(7,co,1,0,"ng-template",null,4,s.W1O)),2&$){const Lt=s.MAs(2);s.Q6J("ngIf",Ne.nzShowFilter||Ne.nzCustomFilter)("ngIfElse",Lt)}},dependencies:[l.O5,l.tP,oi,bo],encapsulation:2,changeDetection:0}),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzShowSort",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzShowFilter",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzCustomFilter",void 0),Be})(),Oo=(()=>{class Be{constructor($,Ne){this.renderer=$,this.elementRef=Ne,this.changes$=new w.x,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges($){const{nzWidth:Ne,colspan:Lt,rowspan:on,colSpan:wn,rowSpan:no}=$;if(Lt||wn){const to=this.colspan||this.colSpan;(0,N.kK)(to)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${to}`)}if(on||no){const to=this.rowspan||this.rowSpan;(0,N.kK)(to)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${to}`)}(Ne||Lt)&&this.changes$.next()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.Qsj),s.Y36(s.SBq))},Be.\u0275dir=s.lG2({type:Be,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[s.TTD]}),Be})(),ri=(()=>{class Be{constructor(){this.nzSelections=[],this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzShowCheckbox=!1,this.nzShowRowSelection=!1,this.nzCheckedChange=new s.vpe,this.isNzShowExpandChanged=!1,this.isNzShowCheckboxChanged=!1}onCheckedChange($){this.nzChecked=$,this.nzCheckedChange.emit($)}ngOnChanges($){const Ne=to=>to&&to.firstChange&&void 0!==to.currentValue,{nzChecked:Lt,nzSelections:on,nzShowExpand:wn,nzShowCheckbox:no}=$;wn&&(this.isNzShowExpandChanged=!0),no&&(this.isNzShowCheckboxChanged=!0),Ne(on)&&!this.isNzShowExpandChanged&&(this.nzShowRowSelection=!0),Ne(Lt)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=!0)}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["th","nzSelections",""],["th","nzChecked",""],["th","nzShowCheckbox",""],["th","nzShowRowSelection",""]],hostAttrs:[1,"ant-table-selection-column"],inputs:{nzSelections:"nzSelections",nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzShowCheckbox:"nzShowCheckbox",nzShowRowSelection:"nzShowRowSelection"},outputs:{nzCheckedChange:"nzCheckedChange"},features:[s.TTD],attrs:po,ngContentSelectors:Ct,decls:2,vars:6,consts:[[3,"checked","disabled","indeterminate","listOfSelections","showCheckbox","showRowSelection","checkedChange"]],template:function($,Ne){1&$&&(s.F$t(),s.TgZ(0,"nz-table-selection",0),s.NdJ("checkedChange",function(on){return Ne.onCheckedChange(on)}),s.qZA(),s.Hsn(1)),2&$&&s.Q6J("checked",Ne.nzChecked)("disabled",Ne.nzDisabled)("indeterminate",Ne.nzIndeterminate)("listOfSelections",Ne.nzSelections)("showCheckbox",Ne.nzShowCheckbox)("showRowSelection",Ne.nzShowRowSelection)},dependencies:[ii],encapsulation:2,changeDetection:0}),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzShowCheckbox",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzShowRowSelection",void 0),Be})(),Ki=(()=>{class Be{constructor(){this.nzAlign=null}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275dir=s.lG2({type:Be,selectors:[["th","nzAlign",""],["td","nzAlign",""]],hostVars:2,hostBindings:function($,Ne){2&$&&s.Udp("text-align",Ne.nzAlign)},inputs:{nzAlign:"nzAlign"}}),Be})(),gr=(()=>{class Be{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function($,Ne){2&$&&(s.Udp("table-layout",Ne.tableLayout)("width",Ne.scrollX)("min-width",Ne.scrollX?"100%":null),s.ekj("ant-table-fixed",Ne.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:Go,ngContentSelectors:Ct,decls:4,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function($,Ne){1&$&&(s.F$t(),s.YNc(0,Po,1,4,"col",0),s.YNc(1,Ro,2,1,"thead",1),s.YNc(2,Ko,0,0,"ng-template",2),s.Hsn(3)),2&$&&(s.Q6J("ngForOf",Ne.listOfColWidth),s.xp6(1),s.Q6J("ngIf",Ne.theadTemplate),s.xp6(1),s.Q6J("ngTemplateOutlet",Ne.contentTemplate))},dependencies:[l.sg,l.O5,l.tP],encapsulation:2,changeDetection:0}),Be})(),xi=(()=>{class Be{constructor($,Ne){this.nzTableStyleService=$,this.renderer=Ne,this.hostWidth$=new Vt.X(null),this.enableAutoMeasure$=new Vt.X(!1),this.destroy$=new w.x}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:$,hostWidth$:Ne}=this.nzTableStyleService;$.pipe((0,ae.R)(this.destroy$)).subscribe(this.enableAutoMeasure$),Ne.pipe((0,ae.R)(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe((0,ae.R)(this.destroy$)).subscribe($=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${$}`)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(Vo),s.Y36(s.Qsj))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function($,Ne){if(1&$&&s.Gf(Fn,7),2&$){let Lt;s.iGM(Lt=s.CRH())&&(Ne.tdElement=Lt.first)}},attrs:Wn,ngContentSelectors:Ct,decls:6,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function($,Ne){if(1&$&&(s.F$t(),s.TgZ(0,"td",0,1),s.YNc(2,ni,3,5,"div",2),s.ALo(3,"async"),s.qZA(),s.YNc(4,To,1,0,"ng-template",null,3,s.W1O)),2&$){const Lt=s.MAs(5);s.xp6(2),s.Q6J("ngIf",s.lcZ(3,2,Ne.enableAutoMeasure$))("ngIfElse",Lt)}},dependencies:[l.O5,l.tP,l.Ov],encapsulation:2,changeDetection:0}),Be})(),Us=(()=>{class Be{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:2,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function($,Ne){1&$&&(s.TgZ(0,"div",0),s._UZ(1,"table",1),s.qZA()),2&$&&(s.xp6(1),s.Q6J("contentTemplate",Ne.contentTemplate)("tableLayout",Ne.tableLayout)("listOfColWidth",Ne.listOfColWidth)("theadTemplate",Ne.theadTemplate))},dependencies:[gr],encapsulation:2,changeDetection:0}),Be})(),Gr=(()=>{class Be{constructor($,Ne){this.nzResizeObserver=$,this.ngZone=Ne,this.listOfMeasureColumn=[],this.listOfAutoWidth=new s.vpe,this.destroy$=new w.x}trackByFunc($,Ne){return Ne}ngAfterViewInit(){this.listOfTdElement.changes.pipe((0,K.O)(this.listOfTdElement)).pipe((0,ze.w)($=>(0,zt.a)($.toArray().map(Ne=>this.nzResizeObserver.observe(Ne).pipe((0,j.U)(([Lt])=>{const{width:on}=Lt.target.getBoundingClientRect();return Math.floor(on)}))))),(0,dt.b)(16),(0,ae.R)(this.destroy$)).subscribe($=>{this.ngZone instanceof s.R0b&&s.R0b.isInAngularZone()?this.listOfAutoWidth.next($):this.ngZone.run(()=>this.listOfAutoWidth.next($))})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(T.D3),s.Y36(s.R0b))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function($,Ne){if(1&$&&s.Gf(Fn,5),2&$){let Lt;s.iGM(Lt=s.CRH())&&(Ne.listOfTdElement=Lt)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:Do,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function($,Ne){1&$&&s.YNc(0,bn,2,0,"td",0),2&$&&s.Q6J("ngForOf",Ne.listOfMeasureColumn)("ngForTrackBy",Ne.trackByFunc)},dependencies:[l.sg],encapsulation:2,changeDetection:0}),Be})(),Li=(()=>{class Be{constructor($){if(this.nzTableStyleService=$,this.isInsideTable=!1,this.showEmpty$=new Vt.X(!1),this.noResult$=new Vt.X(void 0),this.listOfMeasureColumn$=new Vt.X([]),this.destroy$=new w.x,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:Ne,noResult$:Lt,listOfMeasureColumn$:on}=this.nzTableStyleService;Lt.pipe((0,ae.R)(this.destroy$)).subscribe(this.noResult$),on.pipe((0,ae.R)(this.destroy$)).subscribe(this.listOfMeasureColumn$),Ne.pipe((0,ae.R)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange($){this.nzTableStyleService.setListOfAutoWidth($)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(Vo,8))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["tbody"]],hostVars:2,hostBindings:function($,Ne){2&$&&s.ekj("ant-table-tbody",Ne.isInsideTable)},ngContentSelectors:Ct,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function($,Ne){1&$&&(s.F$t(),s.YNc(0,pi,2,1,"ng-container",0),s.ALo(1,"async"),s.Hsn(2),s.YNc(3,Fi,3,3,"tr",1),s.ALo(4,"async")),2&$&&(s.Q6J("ngIf",s.lcZ(1,2,Ne.listOfMeasureColumn$)),s.xp6(3),s.Q6J("ngIf",s.lcZ(4,4,Ne.showEmpty$)))},dependencies:[l.O5,F.gB,Gr,xi,l.Ov],encapsulation:2,changeDetection:0}),Be})(),vs=(()=>{class Be{constructor($,Ne,Lt,on){this.renderer=$,this.ngZone=Ne,this.platform=Lt,this.resizeService=on,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=wn=>wn,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new w.x,this.scroll$=new w.x,this.destroy$=new w.x}setScrollPositionClassName($=!1){const{scrollWidth:Ne,scrollLeft:Lt,clientWidth:on}=this.tableBodyElement.nativeElement,wn="ant-table-ping-left",no="ant-table-ping-right";Ne===on&&0!==Ne||$?(this.renderer.removeClass(this.tableMainElement,wn),this.renderer.removeClass(this.tableMainElement,no)):0===Lt?(this.renderer.removeClass(this.tableMainElement,wn),this.renderer.addClass(this.tableMainElement,no)):Ne===Lt+on?(this.renderer.removeClass(this.tableMainElement,no),this.renderer.addClass(this.tableMainElement,wn)):(this.renderer.addClass(this.tableMainElement,wn),this.renderer.addClass(this.tableMainElement,no))}ngOnChanges($){const{scrollX:Ne,scrollY:Lt,data:on}=$;(Ne||Lt)&&(this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&0!==this.verticalScrollBarWidth?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next())),on&&this.ngZone.runOutsideAngular(()=>this.data$.next())}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const $=this.scroll$.pipe((0,K.O)(null),(0,ke.g)(0),(0,ze.w)(()=>(0,pt.R)(this.tableBodyElement.nativeElement,"scroll").pipe((0,K.O)(!0))),(0,ae.R)(this.destroy$)),Ne=this.resizeService.subscribe().pipe((0,ae.R)(this.destroy$)),Lt=this.data$.pipe((0,ae.R)(this.destroy$));(0,jt.T)($,Ne,Lt,this.scroll$).pipe((0,K.O)(!0),(0,ke.g)(0),(0,ae.R)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),$.pipe((0,P.h)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.Qsj),s.Y36(s.R0b),s.Y36(o.t4),s.Y36(U.rI))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-table-inner-scroll"]],viewQuery:function($,Ne){if(1&$&&(s.Gf(oo,5,s.SBq),s.Gf(Zi,5,s.SBq),s.Gf(g.N7,5,g.N7)),2&$){let Lt;s.iGM(Lt=s.CRH())&&(Ne.tableHeaderElement=Lt.first),s.iGM(Lt=s.CRH())&&(Ne.tableBodyElement=Lt.first),s.iGM(Lt=s.CRH())&&(Ne.cdkVirtualScrollViewport=Lt.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},features:[s.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function($,Ne){1&$&&(s.YNc(0,Fe,6,6,"ng-container",0),s.YNc(1,Ue,3,5,"div",1)),2&$&&(s.Q6J("ngIf",Ne.scrollY),s.xp6(1),s.Q6J("ngIf",!Ne.scrollY))},dependencies:[l.O5,l.tP,l.PC,g.xd,g.x0,g.N7,Li,gr],encapsulation:2,changeDetection:0}),Be})(),Hi=(()=>{class Be{constructor($){this.templateRef=$}static ngTemplateContextGuard($,Ne){return!0}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.Rgc))},Be.\u0275dir=s.lG2({type:Be,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]}),Be})(),vr=(()=>{class Be{constructor(){this.destroy$=new w.x,this.pageIndex$=new Vt.X(1),this.frontPagination$=new Vt.X(!0),this.pageSize$=new Vt.X(10),this.listOfData$=new Vt.X([]),this.pageIndexDistinct$=this.pageIndex$.pipe((0,ge.x)()),this.pageSizeDistinct$=this.pageSize$.pipe((0,ge.x)()),this.listOfCalcOperator$=new Vt.X([]),this.queryParams$=(0,zt.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe((0,dt.b)(0),(0,xe.T)(1),(0,j.U)(([$,Ne,Lt])=>({pageIndex:$,pageSize:Ne,sort:Lt.filter(on=>on.sortFn).map(on=>({key:on.key,value:on.sortOrder})),filter:Lt.filter(on=>on.filterFn).map(on=>({key:on.key,value:on.filterValue}))}))),this.listOfDataAfterCalc$=(0,zt.a)([this.listOfData$,this.listOfCalcOperator$]).pipe((0,j.U)(([$,Ne])=>{let Lt=[...$];const on=Ne.filter(no=>{const{filterValue:to,filterFn:yo}=no;return!(null==to||Array.isArray(to)&&0===to.length)&&"function"==typeof yo});for(const no of on){const{filterFn:to,filterValue:yo}=no;Lt=Lt.filter(Jn=>to(yo,Jn))}const wn=Ne.filter(no=>null!==no.sortOrder&&"function"==typeof no.sortFn).sort((no,to)=>+to.sortPriority-+no.sortPriority);return Ne.length&&Lt.sort((no,to)=>{for(const yo of wn){const{sortFn:Jn,sortOrder:Uo}=yo;if(Jn&&Uo){const hi=Jn(no,to,Uo);if(0!==hi)return"ascend"===Uo?hi:-hi}}return 0}),Lt})),this.listOfFrontEndCurrentPageData$=(0,zt.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe((0,ae.R)(this.destroy$),(0,P.h)($=>{const[Ne,Lt,on]=$;return Ne<=(Math.ceil(on.length/Lt)||1)}),(0,j.U)(([$,Ne,Lt])=>Lt.slice(($-1)*Ne,$*Ne))),this.listOfCurrentPageData$=this.frontPagination$.pipe((0,ze.w)($=>$?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe((0,ze.w)($=>$?this.listOfDataAfterCalc$:this.listOfData$),(0,j.U)($=>$.length),(0,ge.x)())}updatePageSize($){this.pageSize$.next($)}updateFrontPagination($){this.frontPagination$.next($)}updatePageIndex($){this.pageIndex$.next($)}updateListOfData($){this.listOfData$.next($)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275prov=s.Yz7({token:Be,factory:Be.\u0275fac}),Be})(),Ar=(()=>{class Be{constructor(){this.title=null,this.footer=null}}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function($,Ne){2&$&&s.ekj("ant-table-title",null!==Ne.title)("ant-table-footer",null!==Ne.footer)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function($,Ne){1&$&&(s.YNc(0,Tt,2,1,"ng-container",0),s.YNc(1,Ft,2,1,"ng-container",0)),2&$&&(s.Q6J("nzStringTemplateOutlet",Ne.title),s.xp6(1),s.Q6J("nzStringTemplateOutlet",Ne.footer))},dependencies:[E.f],encapsulation:2,changeDetection:0}),Be})(),Xi=(()=>{class Be{constructor($,Ne,Lt,on,wn,no,to){this.elementRef=$,this.nzResizeObserver=Ne,this.nzConfigService=Lt,this.cdr=on,this.nzTableStyleService=wn,this.nzTableDataService=no,this.directionality=to,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=yo=>yo,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new s.vpe,this.nzPageIndexChange=new s.vpe,this.nzQueryParams=new s.vpe,this.nzCurrentPageDataChange=new s.vpe,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new w.x,this.templateMode$=new Vt.X(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe((0,ae.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}onPageSizeChange($){this.nzTableDataService.updatePageSize($)}onPageIndexChange($){this.nzTableDataService.updatePageIndex($)}ngOnInit(){const{pageIndexDistinct$:$,pageSizeDistinct$:Ne,listOfCurrentPageData$:Lt,total$:on,queryParams$:wn}=this.nzTableDataService,{theadTemplate$:no,hasFixLeft$:to,hasFixRight$:yo}=this.nzTableStyleService;this.dir=this.directionality.value,this.directionality.change?.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{this.dir=Jn,this.cdr.detectChanges()}),wn.pipe((0,ae.R)(this.destroy$)).subscribe(this.nzQueryParams),$.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{Jn!==this.nzPageIndex&&(this.nzPageIndex=Jn,this.nzPageIndexChange.next(Jn))}),Ne.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{Jn!==this.nzPageSize&&(this.nzPageSize=Jn,this.nzPageSizeChange.next(Jn))}),on.pipe((0,ae.R)(this.destroy$),(0,P.h)(()=>this.nzFrontPagination)).subscribe(Jn=>{Jn!==this.nzTotal&&(this.nzTotal=Jn,this.cdr.markForCheck())}),Lt.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{this.data=Jn,this.nzCurrentPageDataChange.next(Jn),this.cdr.markForCheck()}),no.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{this.theadTemplate=Jn,this.cdr.markForCheck()}),to.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{this.hasFixLeft=Jn,this.cdr.markForCheck()}),yo.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{this.hasFixRight=Jn,this.cdr.markForCheck()}),(0,zt.a)([on,this.templateMode$]).pipe((0,j.U)(([Jn,Uo])=>0===Jn&&!Uo),(0,ae.R)(this.destroy$)).subscribe(Jn=>{this.nzTableStyleService.setShowEmpty(Jn)}),this.verticalScrollBarWidth=(0,N.D8)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{this.listOfAutoColWidth=Jn,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe((0,ae.R)(this.destroy$)).subscribe(Jn=>{this.listOfManualColWidth=Jn,this.cdr.markForCheck()})}ngOnChanges($){const{nzScroll:Ne,nzPageIndex:Lt,nzPageSize:on,nzFrontPagination:wn,nzData:no,nzWidthConfig:to,nzNoResult:yo,nzTemplateMode:Jn}=$;Lt&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),on&&this.nzTableDataService.updatePageSize(this.nzPageSize),no&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),wn&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),Ne&&this.setScrollOnChanges(),to&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),Jn&&this.templateMode$.next(this.nzTemplateMode),yo&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,j.U)(([$])=>{const{width:Ne}=$.target.getBoundingClientRect();return Math.floor(Ne-(this.scrollY?this.verticalScrollBarWidth:0))}),(0,ae.R)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.SBq),s.Y36(T.D3),s.Y36(Z.jY),s.Y36(s.sBO),s.Y36(Vo),s.Y36(vr),s.Y36(t.Is,8))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["nz-table"]],contentQueries:function($,Ne,Lt){if(1&$&&s.Suo(Lt,Hi,5),2&$){let on;s.iGM(on=s.CRH())&&(Ne.nzVirtualScrollDirective=on.first)}},viewQuery:function($,Ne){if(1&$&&s.Gf(vs,5),2&$){let Lt;s.iGM(Lt=s.CRH())&&(Ne.nzTableInnerScrollComponent=Lt.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:2,hostBindings:function($,Ne){2&$&&s.ekj("ant-table-wrapper-rtl","rtl"===Ne.dir)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange"},exportAs:["nzTable"],features:[s._Bn([Vo,vr]),s.TTD],ngContentSelectors:Ct,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function($,Ne){if(1&$&&(s.F$t(),s.TgZ(0,"nz-spin",0),s.YNc(1,un,2,1,"ng-container",1),s.TgZ(2,"div",2,3),s.YNc(4,pn,1,1,"nz-table-title-footer",4),s.YNc(5,fn,1,13,"nz-table-inner-scroll",5),s.YNc(6,On,1,4,"ng-template",null,6,s.W1O),s.YNc(8,Tn,1,1,"nz-table-title-footer",7),s.qZA(),s.YNc(9,Pn,2,1,"ng-container",1),s.qZA(),s.YNc(10,xn,1,1,"ng-template",null,8,s.W1O),s.YNc(12,Vn,1,0,"ng-template",null,9,s.W1O)),2&$){const Lt=s.MAs(7);s.Q6J("nzDelay",Ne.nzLoadingDelay)("nzSpinning",Ne.nzLoading)("nzIndicator",Ne.nzLoadingIndicator),s.xp6(1),s.Q6J("ngIf","both"===Ne.nzPaginationPosition||"top"===Ne.nzPaginationPosition),s.xp6(1),s.ekj("ant-table-rtl","rtl"===Ne.dir)("ant-table-fixed-header",Ne.nzData.length&&Ne.scrollY)("ant-table-fixed-column",Ne.scrollX)("ant-table-has-fix-left",Ne.hasFixLeft)("ant-table-has-fix-right",Ne.hasFixRight)("ant-table-bordered",Ne.nzBordered)("nz-table-out-bordered",Ne.nzOuterBordered&&!Ne.nzBordered)("ant-table-middle","middle"===Ne.nzSize)("ant-table-small","small"===Ne.nzSize),s.xp6(2),s.Q6J("ngIf",Ne.nzTitle),s.xp6(1),s.Q6J("ngIf",Ne.scrollY||Ne.scrollX)("ngIfElse",Lt),s.xp6(3),s.Q6J("ngIf",Ne.nzFooter),s.xp6(1),s.Q6J("ngIf","both"===Ne.nzPaginationPosition||"bottom"===Ne.nzPaginationPosition)}},dependencies:[l.O5,l.tP,Ut,et.W,Ar,Us,vs],encapsulation:2,changeDetection:0}),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzFrontPagination",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzTemplateMode",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzShowPagination",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzLoading",void 0),(0,I.gn)([(0,N.yF)()],Be.prototype,"nzOuterBordered",void 0),(0,I.gn)([(0,Z.oS)()],Be.prototype,"nzLoadingIndicator",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzBordered",void 0),(0,I.gn)([(0,Z.oS)()],Be.prototype,"nzSize",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzShowSizeChanger",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzHideOnSinglePage",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzShowQuickJumper",void 0),(0,I.gn)([(0,Z.oS)(),(0,N.yF)()],Be.prototype,"nzSimple",void 0),Be})(),da=(()=>{class Be{constructor($){this.nzTableStyleService=$,this.destroy$=new w.x,this.listOfFixedColumns$=new pe.t(1),this.listOfColumns$=new pe.t(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe((0,ze.w)(Ne=>(0,jt.T)(this.listOfFixedColumns$,...Ne.map(Lt=>Lt.changes$)).pipe((0,ut.z)(()=>this.listOfFixedColumns$))),(0,ae.R)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,j.U)(Ne=>Ne.filter(Lt=>!1!==Lt.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,j.U)(Ne=>Ne.filter(Lt=>!1!==Lt.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe((0,ze.w)(Ne=>(0,jt.T)(this.listOfColumns$,...Ne.map(Lt=>Lt.changes$)).pipe((0,ut.z)(()=>this.listOfColumns$))),(0,ae.R)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!$}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe((0,K.O)(this.listOfCellFixedDirective),(0,ae.R)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe((0,K.O)(this.listOfNzThDirective),(0,ae.R)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe($=>{$.forEach(Ne=>Ne.setIsLastLeft(Ne===$[$.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe($=>{$.forEach(Ne=>Ne.setIsFirstRight(Ne===$[0]))}),(0,zt.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe((0,ae.R)(this.destroy$)).subscribe(([$,Ne])=>{Ne.forEach((Lt,on)=>{if(Lt.isAutoLeft){const no=Ne.slice(0,on).reduce((yo,Jn)=>yo+(Jn.colspan||Jn.colSpan||1),0),to=$.slice(0,no).reduce((yo,Jn)=>yo+Jn,0);Lt.setAutoLeftWidth(`${to}px`)}})}),(0,zt.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe((0,ae.R)(this.destroy$)).subscribe(([$,Ne])=>{Ne.forEach((Lt,on)=>{const wn=Ne[Ne.length-on-1];if(wn.isAutoRight){const to=Ne.slice(Ne.length-on,Ne.length).reduce((Jn,Uo)=>Jn+(Uo.colspan||Uo.colSpan||1),0),yo=$.slice($.length-to,$.length).reduce((Jn,Uo)=>Jn+Uo,0);wn.setAutoRightWidth(`${yo}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(Vo,8))},Be.\u0275dir=s.lG2({type:Be,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function($,Ne,Lt){if(1&$&&(s.Suo(Lt,Oo,4),s.Suo(Lt,Io,4)),2&$){let on;s.iGM(on=s.CRH())&&(Ne.listOfNzThDirective=on),s.iGM(on=s.CRH())&&(Ne.listOfCellFixedDirective=on)}},hostVars:2,hostBindings:function($,Ne){2&$&&s.ekj("ant-table-row",Ne.isInsideTable)}}),Be})(),Yi=(()=>{class Be{constructor($,Ne,Lt,on){this.elementRef=$,this.renderer=Ne,this.nzTableStyleService=Lt,this.nzTableDataService=on,this.destroy$=new w.x,this.isInsideTable=!1,this.nzSortOrderChange=new s.vpe,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const $=this.listOfNzTrDirective.changes.pipe((0,K.O)(this.listOfNzTrDirective),(0,j.U)(wn=>wn&&wn.first)),Ne=$.pipe((0,ze.w)(wn=>wn?wn.listOfColumnsChanges$:Nt.E),(0,ae.R)(this.destroy$));Ne.subscribe(wn=>this.nzTableStyleService.setListOfTh(wn)),this.nzTableStyleService.enableAutoMeasure$.pipe((0,ze.w)(wn=>wn?Ne:(0,We.of)([]))).pipe((0,ae.R)(this.destroy$)).subscribe(wn=>this.nzTableStyleService.setListOfMeasureColumn(wn));const Lt=$.pipe((0,ze.w)(wn=>wn?wn.listOfFixedLeftColumnChanges$:Nt.E),(0,ae.R)(this.destroy$)),on=$.pipe((0,ze.w)(wn=>wn?wn.listOfFixedRightColumnChanges$:Nt.E),(0,ae.R)(this.destroy$));Lt.subscribe(wn=>{this.nzTableStyleService.setHasFixLeft(0!==wn.length)}),on.subscribe(wn=>{this.nzTableStyleService.setHasFixRight(0!==wn.length)})}if(this.nzTableDataService){const $=this.listOfNzThAddOnComponent.changes.pipe((0,K.O)(this.listOfNzThAddOnComponent));$.pipe((0,ze.w)(()=>(0,jt.T)(...this.listOfNzThAddOnComponent.map(on=>on.manualClickOrder$))),(0,ae.R)(this.destroy$)).subscribe(on=>{this.nzSortOrderChange.emit({key:on.nzColumnKey,value:on.sortOrder}),on.nzSortFn&&!1===on.nzSortPriority&&this.listOfNzThAddOnComponent.filter(no=>no!==on).forEach(no=>no.clearSortOrder())}),$.pipe((0,ze.w)(on=>(0,jt.T)($,...on.map(wn=>wn.calcOperatorChange$)).pipe((0,ut.z)(()=>$))),(0,j.U)(on=>on.filter(wn=>!!wn.nzSortFn||!!wn.nzFilterFn).map(wn=>{const{nzSortFn:no,sortOrder:to,nzFilterFn:yo,nzFilterValue:Jn,nzSortPriority:Uo,nzColumnKey:hi}=wn;return{key:hi,sortFn:no,sortPriority:Uo,sortOrder:to,filterFn:yo,filterValue:Jn}})),(0,ke.g)(0),(0,ae.R)(this.destroy$)).subscribe(on=>{this.nzTableDataService.listOfCalcOperator$.next(on)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return Be.\u0275fac=function($){return new($||Be)(s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(Vo,8),s.Y36(vr,8))},Be.\u0275cmp=s.Xpm({type:Be,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function($,Ne,Lt){if(1&$&&(s.Suo(Lt,da,5),s.Suo(Lt,Ni,5)),2&$){let on;s.iGM(on=s.CRH())&&(Ne.listOfNzTrDirective=on),s.iGM(on=s.CRH())&&(Ne.listOfNzThAddOnComponent=on)}},viewQuery:function($,Ne){if(1&$&&s.Gf(Zn,7),2&$){let Lt;s.iGM(Lt=s.CRH())&&(Ne.templateRef=Lt.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:Ct,decls:3,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function($,Ne){1&$&&(s.F$t(),s.YNc(0,ho,1,0,"ng-template",null,0,s.W1O),s.YNc(2,fo,2,1,"ng-container",1)),2&$&&(s.xp6(2),s.Q6J("ngIf",!Ne.isInsideTable))},dependencies:[l.O5,l.tP],encapsulation:2,changeDetection:0}),Be})(),_r=(()=>{class Be{}return Be.\u0275fac=function($){return new($||Be)},Be.\u0275mod=s.oAB({type:Be}),Be.\u0275inj=s.cJS({imports:[t.vT,e.ip,L.u5,E.T,Je.aF,M.Wr,O.b1,R.sL,l.ez,o.ud,$t,T.y7,et.j,V.YI,S.PV,F.Xo,g.Cl]}),Be})()},3513:(Et,Me,a)=>{a.d(Me,{Ao:()=>dt,Fx:()=>ze,we:()=>je,xH:()=>Ct,xw:()=>xe});var t=a(4650),o=a(1102),g=a(6287),l=a(5469),s=a(2687),L=a(1281),R=a(9521),T=a(4968),M=a(727),E=a(6406),O=a(3101),F=a(7579),V=a(9646),S=a(6451),e=a(2722),I=a(3601),w=a(8675),pe=a(590),ae=a(9300),Z=a(1005),U=a(6895),N=a(3325),q=a(9562),Y=a(3488),k=a(1519),me=a(445),fe=a(655),te=a(3187),ye=a(9116),H=a(9643),X=a(3353),ve=a(2536),Se=a(1355);function wt(Qe,ft){if(1&Qe&&(t.ynx(0),t._UZ(1,"span",1),t.BQk()),2&Qe){const Re=ft.$implicit;t.xp6(1),t.Q6J("nzType",Re)}}function St(Qe,ft){if(1&Qe&&(t.ynx(0),t._uU(1),t.BQk()),2&Qe){const Re=t.oxw().$implicit;t.xp6(1),t.hij(" ",Re.tab.label," ")}}const rn=function(){return{visible:!1}};function ot(Qe,ft){if(1&Qe){const Re=t.EpF();t.TgZ(0,"li",8),t.NdJ("click",function(){const he=t.CHM(Re).$implicit,we=t.oxw(2);return t.KtG(we.onSelect(he))})("contextmenu",function(Ie){const we=t.CHM(Re).$implicit,ce=t.oxw(2);return t.KtG(ce.onContextmenu(we,Ie))}),t.YNc(1,St,2,1,"ng-container",9),t.qZA()}if(2&Qe){const Re=ft.$implicit;t.ekj("ant-tabs-dropdown-menu-item-disabled",Re.disabled),t.Q6J("nzSelected",Re.active)("nzDisabled",Re.disabled),t.xp6(1),t.Q6J("nzStringTemplateOutlet",Re.tab.label)("nzStringTemplateOutletContext",t.DdM(6,rn))}}function gt(Qe,ft){if(1&Qe&&(t.TgZ(0,"ul",6),t.YNc(1,ot,2,7,"li",7),t.qZA()),2&Qe){const Re=t.oxw();t.xp6(1),t.Q6J("ngForOf",Re.items)}}function Dt(Qe,ft){if(1&Qe){const Re=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){t.CHM(Re);const Ie=t.oxw();return t.KtG(Ie.addClicked.emit())}),t.qZA()}if(2&Qe){const Re=t.oxw();t.Q6J("addIcon",Re.addIcon)}}const Wt=function(){return{minWidth:"46px"}},mn=["navWarp"],At=["navList"];function _t(Qe,ft){if(1&Qe){const Re=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){t.CHM(Re);const Ie=t.oxw();return t.KtG(Ie.addClicked.emit())}),t.qZA()}if(2&Qe){const Re=t.oxw();t.Q6J("addIcon",Re.addIcon)}}function Xt(Qe,ft){}function ct(Qe,ft){if(1&Qe&&(t.TgZ(0,"div",9),t.YNc(1,Xt,0,0,"ng-template",10),t.qZA()),2&Qe){const Re=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",Re.extraTemplate)}}const Rt=["*"],sn=["nz-tab-body",""];function Dn(Qe,ft){}function zn(Qe,ft){if(1&Qe&&(t.ynx(0),t.YNc(1,Dn,0,0,"ng-template",1),t.BQk()),2&Qe){const Re=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",Re.content)}}function Yt(Qe,ft){if(1&Qe&&(t.ynx(0),t._UZ(1,"span",1),t.BQk()),2&Qe){const Re=ft.$implicit;t.xp6(1),t.Q6J("nzType",Re)}}const xt=["contentTemplate"];function Ye(Qe,ft){1&Qe&&t.Hsn(0)}function $e(Qe,ft){1&Qe&&t.Hsn(0,1)}const Ae=[[["","nz-tab-link",""]],"*"],Ze=["[nz-tab-link]","*"];function oe(Qe,ft){if(1&Qe&&(t.ynx(0),t._uU(1),t.BQk()),2&Qe){const Re=t.oxw().$implicit;t.xp6(1),t.Oqu(Re.label)}}function J(Qe,ft){if(1&Qe){const Re=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(Ie){t.CHM(Re);const he=t.oxw().index,we=t.oxw(2);return t.KtG(we.onClose(he,Ie))}),t.qZA()}if(2&Qe){const Re=t.oxw().$implicit;t.Q6J("closeIcon",Re.nzCloseIcon)}}const Te=function(){return{visible:!0}};function Pe(Qe,ft){if(1&Qe){const Re=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(Ie){const he=t.CHM(Re),we=he.$implicit,ce=he.index,nt=t.oxw(2);return t.KtG(nt.clickNavItem(we,ce,Ie))})("contextmenu",function(Ie){const we=t.CHM(Re).$implicit,ce=t.oxw(2);return t.KtG(ce.contextmenuNavItem(we,Ie))}),t.TgZ(1,"div",7),t.YNc(2,oe,2,1,"ng-container",8),t.YNc(3,J,1,1,"button",9),t.qZA()()}if(2&Qe){const Re=ft.$implicit,He=ft.index,Ie=t.oxw(2);t.Udp("margin-right","horizontal"===Ie.position?Ie.nzTabBarGutter:null,"px")("margin-bottom","vertical"===Ie.position?Ie.nzTabBarGutter:null,"px"),t.ekj("ant-tabs-tab-active",Ie.nzSelectedIndex===He)("ant-tabs-tab-disabled",Re.nzDisabled),t.xp6(1),t.Q6J("disabled",Re.nzDisabled)("tab",Re)("active",Ie.nzSelectedIndex===He),t.uIk("tabIndex",Ie.getTabIndex(Re,He))("aria-disabled",Re.nzDisabled)("aria-selected",Ie.nzSelectedIndex===He&&!Ie.nzHideAll)("aria-controls",Ie.getTabContentId(He)),t.xp6(1),t.Q6J("nzStringTemplateOutlet",Re.label)("nzStringTemplateOutletContext",t.DdM(18,Te)),t.xp6(1),t.Q6J("ngIf",Re.nzClosable&&Ie.closable&&!Re.nzDisabled)}}function Ge(Qe,ft){if(1&Qe){const Re=t.EpF();t.TgZ(0,"nz-tabs-nav",4),t.NdJ("tabScroll",function(Ie){t.CHM(Re);const he=t.oxw();return t.KtG(he.nzTabListScroll.emit(Ie))})("selectFocusedIndex",function(Ie){t.CHM(Re);const he=t.oxw();return t.KtG(he.setSelectedIndex(Ie))})("addClicked",function(){t.CHM(Re);const Ie=t.oxw();return t.KtG(Ie.onAdd())}),t.YNc(1,Pe,4,19,"div",5),t.qZA()}if(2&Qe){const Re=t.oxw();t.Q6J("ngStyle",Re.nzTabBarStyle)("selectedIndex",Re.nzSelectedIndex||0)("inkBarAnimated",Re.inkBarAnimated)("addable",Re.addable)("addIcon",Re.nzAddIcon)("hideBar",Re.nzHideAll)("position",Re.position)("extraTemplate",Re.nzTabBarExtraContent),t.xp6(1),t.Q6J("ngForOf",Re.tabs)}}function it(Qe,ft){if(1&Qe&&t._UZ(0,"div",11),2&Qe){const Re=ft.$implicit,He=ft.index,Ie=t.oxw();t.Q6J("active",Ie.nzSelectedIndex===He&&!Ie.nzHideAll)("content",Re.content)("forceRender",Re.nzForceRender)("tabPaneAnimated",Ie.tabPaneAnimated)}}let yt=(()=>{class Qe{constructor(Re){this.elementRef=Re,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(t.SBq))},Qe.\u0275cmp=t.Xpm({type:Qe,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(Re,He){1&Re&&t.YNc(0,wt,2,1,"ng-container",0),2&Re&&t.Q6J("nzStringTemplateOutlet",He.addIcon)},dependencies:[o.Ls,g.f],encapsulation:2}),Qe})(),Ut=(()=>{class Qe{constructor(Re,He,Ie){this.elementRef=Re,this.ngZone=He,this.animationMode=Ie,this.position="horizontal",this.animated=!0}get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}alignToElement(Re){this.ngZone.runOutsideAngular(()=>{(0,l.e)(()=>this.setStyles(Re))})}setStyles(Re){const He=this.elementRef.nativeElement;"horizontal"===this.position?(He.style.top="",He.style.height="",He.style.left=this.getLeftPosition(Re),He.style.width=this.getElementWidth(Re)):(He.style.left="",He.style.width="",He.style.top=this.getTopPosition(Re),He.style.height=this.getElementHeight(Re))}getLeftPosition(Re){return Re?`${Re.offsetLeft||0}px`:"0"}getElementWidth(Re){return Re?`${Re.offsetWidth||0}px`:"0"}getTopPosition(Re){return Re?`${Re.offsetTop||0}px`:"0"}getElementHeight(Re){return Re?`${Re.offsetHeight||0}px`:"0"}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.QbO,8))},Qe.\u0275dir=t.lG2({type:Qe,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(Re,He){2&Re&&t.ekj("ant-tabs-ink-bar-animated",He._animated)},inputs:{position:"position",animated:"animated"}}),Qe})(),$t=(()=>{class Qe{constructor(Re){this.elementRef=Re,this.disabled=!1,this.active=!1,this.el=Re.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(t.SBq))},Qe.\u0275dir=t.lG2({type:Qe,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",tab:"tab",active:"active"}}),Qe})(),Je=(()=>{class Qe{constructor(Re,He){this.cdr=Re,this.elementRef=He,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new t.vpe,this.selected=new t.vpe,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(Re){Re.disabled||(Re.tab.nzClick.emit(),this.selected.emit(Re))}onContextmenu(Re,He){Re.disabled||Re.tab.nzContextmenu.emit(He)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(Re){Re||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(t.sBO),t.Y36(t.SBq))},Qe.\u0275cmp=t.Xpm({type:Qe,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(Re,He){2&Re&&t.ekj("ant-tabs-nav-operations-hidden",0===He.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(Re,He){if(1&Re&&(t.TgZ(0,"button",0,1),t.NdJ("nzVisibleChange",function(he){return He.menuVisChange(he)})("mouseenter",function(){return He.showItems()}),t._UZ(2,"span",2),t.qZA(),t.TgZ(3,"nz-dropdown-menu",null,3),t.YNc(5,gt,2,1,"ul",4),t.qZA(),t.YNc(6,Dt,1,1,"button",5)),2&Re){const Ie=t.MAs(4);t.Q6J("nzDropdownMenu",Ie)("nzOverlayStyle",t.DdM(5,Wt))("nzMatchWidthElement",null),t.xp6(5),t.Q6J("ngIf",He.menuOpened),t.xp6(1),t.Q6J("ngIf",He.addable)}},dependencies:[U.sg,U.O5,o.Ls,g.f,N.wO,N.r9,q.cm,q.RR,yt],encapsulation:2,changeDetection:0}),Qe})();const zt=.995**20;let jt=(()=>{class Qe{constructor(Re,He){this.ngZone=Re,this.elementRef=He,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new t.vpe,this.tabScroll=new t.vpe,this.onTouchEnd=Ie=>{if(!this.touchPosition)return;const he=this.lastOffset,we=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,he){const ce=he.x/we,nt=he.y/we,be=Math.abs(ce),rt=Math.abs(nt);if(Math.max(be,rt)<.1)return;let Zt=ce,nn=nt;this.motion=window.setInterval(()=>{Math.abs(Zt)<.01&&Math.abs(nn)<.01?window.clearInterval(this.motion):(Zt*=zt,nn*=zt,this.onOffset(20*Zt,20*nn,Ie))},20)}},this.onTouchMove=Ie=>{if(!this.touchPosition)return;Ie.preventDefault();const{screenX:he,screenY:we}=Ie.touches[0],ce=he-this.touchPosition.x,nt=we-this.touchPosition.y;this.onOffset(ce,nt,Ie);const be=Date.now();this.lastTimeDiff=be-this.lastTimestamp,this.lastTimestamp=be,this.lastOffset={x:ce,y:nt},this.touchPosition={x:he,y:we}},this.onTouchStart=Ie=>{const{screenX:he,screenY:we}=Ie.touches[0];this.touchPosition={x:he,y:we},window.clearInterval(this.motion)},this.onWheel=Ie=>{const{deltaX:he,deltaY:we}=Ie;let ce;const nt=Math.abs(he),be=Math.abs(we);nt===be?ce="x"===this.lastWheelDirection?he:we:nt>be?(ce=he,this.lastWheelDirection="x"):(ce=we,this.lastWheelDirection="y");const rt=Date.now(),Zt=Math.abs(ce);(rt-this.lastWheelTimestamp>100||Zt-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-ce,-ce,Ie),(Ie.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=rt,this.lastMixedWheel=Zt}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular(()=>{const Re=this.elementRef.nativeElement,He=(0,T.R)(Re,"wheel"),Ie=(0,T.R)(Re,"touchstart"),he=(0,T.R)(Re,"touchmove"),we=(0,T.R)(Re,"touchend"),ce=new M.w0;return ce.add(this.subscribeWrap("wheel",He,this.onWheel)),ce.add(this.subscribeWrap("touchstart",Ie,this.onTouchStart)),ce.add(this.subscribeWrap("touchmove",he,this.onTouchMove)),ce.add(this.subscribeWrap("touchend",we,this.onTouchEnd)),()=>{ce.unsubscribe()}})}subscribeWrap(Re,He,Ie){return He.subscribe(he=>{this.tabScroll.emit({type:Re,event:he}),he.defaultPrevented||Ie(he)})}onOffset(Re,He,Ie){this.ngZone.run(()=>{this.offsetChange.emit({x:Re,y:He,event:Ie})})}ngOnDestroy(){this.unsubscribe()}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(t.R0b),t.Y36(t.SBq))},Qe.\u0275dir=t.lG2({type:Qe,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}}),Qe})();const Nt=typeof requestAnimationFrame<"u"?E.Z:O.E;let j=(()=>{class Qe{constructor(Re,He,Ie,he,we){this.cdr=Re,this.ngZone=He,this.viewportRuler=Ie,this.nzResizeObserver=he,this.dir=we,this.indexFocused=new t.vpe,this.selectFocusedIndex=new t.vpe,this.addClicked=new t.vpe,this.tabScroll=new t.vpe,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new F.x,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}get selectedIndex(){return this._selectedIndex}set selectedIndex(Re){const He=(0,L.su)(Re);this._selectedIndex!==He&&(this._selectedIndex=Re,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(Re))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(Re){!this.isValidIndex(Re)||this.focusIndex===Re||!this.keyManager||this.keyManager.setActiveItem(Re)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}ngAfterViewInit(){const Re=this.dir?this.dir.change:(0,V.of)(null),He=this.viewportRuler.change(150),Ie=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new s.Em(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),(0,l.e)(Ie),(0,S.T)(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe((0,e.R)(this.destroy$),(0,I.e)(16,Nt)).subscribe(()=>{Ie()}),(0,S.T)(Re,He,this.items.changes).pipe((0,e.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(Ie),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe((0,e.R)(this.destroy$)).subscribe(he=>{this.indexFocused.emit(he),this.setTabFocus(he),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(Re){const He=this.items.toArray().findIndex(Ie=>Ie===Re);-1!==He&&(this.keyManager.updateActiveItem(He),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(Re)))}onOffsetChange(Re){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId&&(this.transformX>=0&&Re.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&Re.x<0))return;Re.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+Re.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId&&(this.transformY>=0&&Re.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&Re.y<0))return;Re.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+Re.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(Re){const He=this.navWarpRef.nativeElement.contains(Re.target);if(!(0,R.Vb)(Re)&&He)switch(Re.keyCode){case R.oh:case R.LH:case R.SV:case R.JH:this.lockAnimation(),this.keyManager.onKeydown(Re);break;case R.K5:case R.L_:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(Re)}}isValidIndex(Re){if(!this.items)return!0;const He=this.items?this.items.toArray()[Re]:null;return!!He&&!He.disabled}scrollToTab(Re){if(!this.items.find(Ie=>Ie===Re))return;const He=this.items.toArray();if("horizontal"===this.position){let Ie=this.transformX;if("rtl"===this.getLayoutDirection()){const he=He[0].left+He[0].width-Re.left-Re.width;hethis.transformX+this.wrapperWidth&&(Ie=he+Re.width-this.wrapperWidth)}else Re.left<-this.transformX?Ie=-Re.left:Re.left+Re.width>-this.transformX+this.wrapperWidth&&(Ie=-(Re.left+Re.width-this.wrapperWidth));this.transformX=Ie,this.transformY=0,this.setTransform(Ie,0)}else{let Ie=this.transformY;Re.top<-this.transformY?Ie=-Re.top:Re.top+Re.height>-this.transformY+this.wrapperHeight&&(Ie=-(Re.top+Re.height-this.wrapperHeight)),this.transformY=Ie,this.transformX=0,this.setTransform(0,Ie)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1},150)})}setTransform(Re,He){this.navListRef.nativeElement.style.transform=`translate(${Re}px, ${He}px)`}clampTransformX(Re){const He=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(He,Re),0):Math.min(Math.max(He,Re),0)}clampTransformY(Re){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,Re),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const Re=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,He=Re?Re.elementRef.nativeElement:null;He&&this.inkBar.alignToElement(He.parentElement)}setPingStatus(){const Re={top:!1,right:!1,bottom:!1,left:!1},He=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(Re.right=this.transformX>0,Re.left=this.transformX+this.wrapperWidth{const he=`ant-tabs-nav-wrap-ping-${Ie}`;Re[Ie]?He.classList.add(he):He.classList.remove(he)})}setVisibleRange(){let Re,He,Ie,he,we,ce;const nt=this.items.toArray(),be={width:0,height:0,left:0,top:0,right:0},rt=Yn=>{let co;return co="right"===He?nt[0].left+nt[0].width-nt[Yn].left-nt[Yn].width:(nt[Yn]||be)[He],co};"horizontal"===this.position?(Re="width",he=this.wrapperWidth,we=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),ce=this.addButtonWidth,Ie=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(He="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthhe&&(Zt=he-ce),!nt.length)return this.hiddenItems=[],void this.cdr.markForCheck();const nn=nt.length;let Sn=nn;for(let Yn=0;YnIe+Zt){Sn=Yn-1;break}let jn=0;for(let Yn=nn-1;Yn>=0;Yn-=1)if(rt(Yn){class Qe{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}}return Qe.\u0275fac=function(Re){return new(Re||Qe)},Qe.\u0275cmp=t.Xpm({type:Qe,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(Re,He){2&Re&&(t.uIk("tabindex",He.active?0:-1)("aria-hidden",!He.active),t.Udp("visibility",He.tabPaneAnimated?He.active?null:"hidden":null)("height",He.tabPaneAnimated?He.active?null:0:null)("overflow-y",He.tabPaneAnimated?He.active?null:"none":null)("display",He.tabPaneAnimated||He.active?null:"none"),t.ekj("ant-tabs-tabpane-active",He.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:sn,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(Re,He){1&Re&&t.YNc(0,zn,2,1,"ng-container",0),2&Re&&t.Q6J("ngIf",He.active||He.forceRender)},dependencies:[U.O5,U.tP],encapsulation:2,changeDetection:0}),Qe})(),K=(()=>{class Qe{constructor(){this.closeIcon="close"}}return Qe.\u0275fac=function(Re){return new(Re||Qe)},Qe.\u0275cmp=t.Xpm({type:Qe,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(Re,He){1&Re&&t.YNc(0,Yt,2,1,"ng-container",0),2&Re&&t.Q6J("nzStringTemplateOutlet",He.closeIcon)},dependencies:[o.Ls,g.f],encapsulation:2}),Qe})(),ze=(()=>{class Qe{constructor(Re){this.templateRef=Re}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(t.Rgc,1))},Qe.\u0275dir=t.lG2({type:Qe,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]}),Qe})(),dt=(()=>{class Qe{constructor(Re,He){this.elementRef=Re,this.routerLink=He}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(t.SBq),t.Y36(ye.rH,10))},Qe.\u0275dir=t.lG2({type:Qe,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]}),Qe})(),ke=(()=>{class Qe{}return Qe.\u0275fac=function(Re){return new(Re||Qe)},Qe.\u0275dir=t.lG2({type:Qe,selectors:[["","nz-tab",""]],exportAs:["nzTab"]}),Qe})();const ge=new t.OlP("NZ_TAB_SET");let xe=(()=>{class Qe{constructor(Re){this.closestTabSet=Re,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new t.vpe,this.nzDeselect=new t.vpe,this.nzClick=new t.vpe,this.nzContextmenu=new t.vpe,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new F.x}get content(){return this.template||this.contentTemplate}get label(){return this.nzTitle||this.nzTabLinkTemplateDirective?.templateRef}ngOnChanges(Re){const{nzTitle:He,nzDisabled:Ie,nzForceRender:he}=Re;(He||Ie||he)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(ge))},Qe.\u0275cmp=t.Xpm({type:Qe,selectors:[["nz-tab"]],contentQueries:function(Re,He,Ie){if(1&Re&&(t.Suo(Ie,ze,5),t.Suo(Ie,ke,5,t.Rgc),t.Suo(Ie,dt,5)),2&Re){let he;t.iGM(he=t.CRH())&&(He.nzTabLinkTemplateDirective=he.first),t.iGM(he=t.CRH())&&(He.template=he.first),t.iGM(he=t.CRH())&&(He.linkDirective=he.first)}},viewQuery:function(Re,He){if(1&Re&&t.Gf(xt,7),2&Re){let Ie;t.iGM(Ie=t.CRH())&&(He.contentTemplate=Ie.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[t.TTD],ngContentSelectors:Ze,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(Re,He){1&Re&&(t.F$t(Ae),t.YNc(0,Ye,1,0,"ng-template",null,0,t.W1O),t.YNc(2,$e,1,0,"ng-template",null,1,t.W1O))},encapsulation:2,changeDetection:0}),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzClosable",void 0),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzDisabled",void 0),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzForceRender",void 0),Qe})();class ut{}let qt=0,Ct=(()=>{class Qe{constructor(Re,He,Ie,he,we){this.nzConfigService=Re,this.ngZone=He,this.cdr=Ie,this.directionality=he,this.router=we,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new t.vpe(!0),this.nzSelectedIndexChange=new t.vpe,this.nzTabListScroll=new t.vpe,this.nzClose=new t.vpe,this.nzAdd=new t.vpe,this.allTabs=new t.n_E,this.tabs=new t.n_E,this.dir="ltr",this.destroy$=new F.x,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=M.w0.EMPTY,this.tabsSubscription=M.w0.EMPTY,this.canDeactivateSubscription=M.w0.EMPTY,this.tabSetId=qt++}get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(Re){this.indexToSelect=(0,L.su)(Re,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe((0,e.R)(this.destroy$)).subscribe(Re=>{this.dir=Re,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this.setUpRouter())}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const He=this.tabs.toArray();for(let Ie=0;Ie{this.tabs.forEach((Ie,he)=>Ie.isActive=he===Re),He||this.nzSelectedIndexChange.emit(Re)})}this.tabs.forEach((He,Ie)=>{He.position=Ie-Re,null!=this.selectedIndex&&0===He.position&&!He.origin&&(He.origin=Re-this.selectedIndex)}),this.selectedIndex!==Re&&(this.selectedIndex=Re,this.cdr.markForCheck())}onClose(Re,He){He.preventDefault(),He.stopPropagation(),this.nzClose.emit({index:Re})}onAdd(){this.nzAdd.emit()}clampTabIndex(Re){return Math.min(this.tabs.length-1,Math.max(Re||0,0))}createChangeEvent(Re){const He=new ut;return He.index=Re,this.tabs&&this.tabs.length&&(He.tab=this.tabs.toArray()[Re],this.tabs.forEach((Ie,he)=>{he!==Re&&Ie.nzDeselect.emit()}),He.tab.nzSelect.emit()),He}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=(0,S.T)(...this.tabs.map(Re=>Re.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe((0,w.O)(this.allTabs)).subscribe(Re=>{this.tabs.reset(Re.filter(He=>He.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(Re,He){return"function"==typeof this.nzCanDeactivate?(0,te.lN)(this.nzCanDeactivate(Re,He)).pipe((0,pe.P)(),(0,e.R)(this.destroy$)):(0,V.of)(!0)}clickNavItem(Re,He,Ie){Re.nzDisabled||(Re.nzClick.emit(),this.isRouterLinkClickEvent(He,Ie)||this.setSelectedIndex(He))}isRouterLinkClickEvent(Re,He){const Ie=He.target;return!!this.nzLinkRouter&&!!this.tabs.toArray()[Re]?.linkDirective?.elementRef.nativeElement.contains(Ie)}contextmenuNavItem(Re,He){Re.nzDisabled||Re.nzContextmenu.emit(He)}setSelectedIndex(Re){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,Re).subscribe(He=>{He&&(this.nzSelectedIndex=Re,this.tabNavBarRef.focusIndex=Re,this.cdr.markForCheck())})}getTabIndex(Re,He){return Re.nzDisabled?null:this.selectedIndex===He?0:-1}getTabContentId(Re){return`nz-tabs-${this.tabSetId}-tab-${Re}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${Se.Bq} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);this.router.events.pipe((0,e.R)(this.destroy$),(0,ae.h)(Re=>Re instanceof ye.m2),(0,w.O)(!0),(0,Z.g)(0)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router.navigated){const Re=this.findShouldActiveTabIndex();Re!==this.selectedIndex&&this.setSelectedIndex(Re),this.nzHideAll=-1===Re}}findShouldActiveTabIndex(){const Re=this.tabs.toArray(),He=this.isLinkActive(this.router);return Re.findIndex(Ie=>{const he=Ie.linkDirective;return!!he&&He(he.routerLink)})}isLinkActive(Re){return He=>!!He&&Re.isActive(He.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?`${this.getTabContentMarginValue()}%`:""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?`${this.getTabContentMarginValue()}%`:""}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(t.Y36(ve.jY),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(me.Is,8),t.Y36(ye.F0,8))},Qe.\u0275cmp=t.Xpm({type:Qe,selectors:[["nz-tabset"]],contentQueries:function(Re,He,Ie){if(1&Re&&t.Suo(Ie,xe,5),2&Re){let he;t.iGM(he=t.CRH())&&(He.allTabs=he)}},viewQuery:function(Re,He){if(1&Re&&t.Gf(j,5),2&Re){let Ie;t.iGM(Ie=t.CRH())&&(He.tabNavBarRef=Ie.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(Re,He){2&Re&&t.ekj("ant-tabs-card","card"===He.nzType||"editable-card"===He.nzType)("ant-tabs-editable","editable-card"===He.nzType)("ant-tabs-editable-card","editable-card"===He.nzType)("ant-tabs-centered",He.nzCentered)("ant-tabs-rtl","rtl"===He.dir)("ant-tabs-top","top"===He.nzTabPosition)("ant-tabs-bottom","bottom"===He.nzTabPosition)("ant-tabs-left","left"===He.nzTabPosition)("ant-tabs-right","right"===He.nzTabPosition)("ant-tabs-default","default"===He.nzSize)("ant-tabs-small","small"===He.nzSize)("ant-tabs-large","large"===He.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[t._Bn([{provide:ge,useExisting:Qe}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(Re,He){1&Re&&(t.YNc(0,Ge,2,9,"nz-tabs-nav",0),t.TgZ(1,"div",1)(2,"div",2),t.YNc(3,it,1,4,"div",3),t.qZA()()),2&Re&&(t.Q6J("ngIf",He.tabs.length||He.addable),t.xp6(2),t.Udp("margin-left",He.getTabContentMarginLeft())("margin-right",He.getTabContentMarginRight()),t.ekj("ant-tabs-content-top","top"===He.nzTabPosition)("ant-tabs-content-bottom","bottom"===He.nzTabPosition)("ant-tabs-content-left","left"===He.nzTabPosition)("ant-tabs-content-right","right"===He.nzTabPosition)("ant-tabs-content-animated",He.tabPaneAnimated),t.xp6(1),t.Q6J("ngForOf",He.tabs))},dependencies:[U.sg,U.O5,U.PC,g.f,s.kH,j,$t,K,P],encapsulation:2}),(0,fe.gn)([(0,ve.oS)()],Qe.prototype,"nzType",void 0),(0,fe.gn)([(0,ve.oS)()],Qe.prototype,"nzSize",void 0),(0,fe.gn)([(0,ve.oS)()],Qe.prototype,"nzAnimated",void 0),(0,fe.gn)([(0,ve.oS)()],Qe.prototype,"nzTabBarGutter",void 0),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzHideAdd",void 0),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzCentered",void 0),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzHideAll",void 0),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzLinkRouter",void 0),(0,fe.gn)([(0,te.yF)()],Qe.prototype,"nzLinkExact",void 0),Qe})(),je=(()=>{class Qe{}return Qe.\u0275fac=function(Re){return new(Re||Qe)},Qe.\u0275mod=t.oAB({type:Qe}),Qe.\u0275inj=t.cJS({imports:[me.vT,U.ez,H.Q8,o.PV,g.T,X.ud,s.rt,Y.ZD,q.b1]}),Qe})()},6672:(Et,Me,a)=>{a.d(Me,{X:()=>S,j:()=>V});var t=a(655),o=a(4650),g=a(7579),l=a(2722),s=a(3414),L=a(3187),R=a(445),T=a(6895),M=a(1102),E=a(4006);function O(e,I){if(1&e){const w=o.EpF();o.TgZ(0,"span",1),o.NdJ("click",function(ae){o.CHM(w);const Z=o.oxw();return o.KtG(Z.closeTag(ae))}),o.qZA()}}const F=["*"];let V=(()=>{class e{constructor(w,pe,ae,Z){this.cdr=w,this.renderer=pe,this.elementRef=ae,this.directionality=Z,this.isPresetColor=!1,this.nzMode="default",this.nzChecked=!1,this.nzOnClose=new o.vpe,this.nzCheckedChange=new o.vpe,this.dir="ltr",this.destroy$=new g.x}updateCheckedStatus(){"checkable"===this.nzMode&&(this.nzChecked=!this.nzChecked,this.nzCheckedChange.emit(this.nzChecked))}closeTag(w){this.nzOnClose.emit(w),w.defaultPrevented||this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}clearPresetColor(){const w=this.elementRef.nativeElement,pe=new RegExp(`(ant-tag-(?:${[...s.uf,...s.Bh].join("|")}))`,"g"),ae=w.classList.toString(),Z=[];let U=pe.exec(ae);for(;null!==U;)Z.push(U[1]),U=pe.exec(ae);w.classList.remove(...Z)}setPresetColor(){const w=this.elementRef.nativeElement;this.clearPresetColor(),this.isPresetColor=!!this.nzColor&&((0,s.o2)(this.nzColor)||(0,s.M8)(this.nzColor)),this.isPresetColor&&w.classList.add(`ant-tag-${this.nzColor}`)}ngOnInit(){this.directionality.change?.pipe((0,l.R)(this.destroy$)).subscribe(w=>{this.dir=w,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(w){const{nzColor:pe}=w;pe&&this.setPresetColor()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(w){return new(w||e)(o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(R.Is,8))},e.\u0275cmp=o.Xpm({type:e,selectors:[["nz-tag"]],hostAttrs:[1,"ant-tag"],hostVars:10,hostBindings:function(w,pe){1&w&&o.NdJ("click",function(){return pe.updateCheckedStatus()}),2&w&&(o.Udp("background-color",pe.isPresetColor?"":pe.nzColor),o.ekj("ant-tag-has-color",pe.nzColor&&!pe.isPresetColor)("ant-tag-checkable","checkable"===pe.nzMode)("ant-tag-checkable-checked",pe.nzChecked)("ant-tag-rtl","rtl"===pe.dir))},inputs:{nzMode:"nzMode",nzColor:"nzColor",nzChecked:"nzChecked"},outputs:{nzOnClose:"nzOnClose",nzCheckedChange:"nzCheckedChange"},exportAs:["nzTag"],features:[o.TTD],ngContentSelectors:F,decls:2,vars:1,consts:[["nz-icon","","nzType","close","class","ant-tag-close-icon","tabindex","-1",3,"click",4,"ngIf"],["nz-icon","","nzType","close","tabindex","-1",1,"ant-tag-close-icon",3,"click"]],template:function(w,pe){1&w&&(o.F$t(),o.Hsn(0),o.YNc(1,O,1,0,"span",0)),2&w&&(o.xp6(1),o.Q6J("ngIf","closeable"===pe.nzMode))},dependencies:[T.O5,M.Ls],encapsulation:2,changeDetection:0}),(0,t.gn)([(0,L.yF)()],e.prototype,"nzChecked",void 0),e})(),S=(()=>{class e{}return e.\u0275fac=function(w){return new(w||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[R.vT,T.ez,E.u5,M.PV]}),e})()},7570:(Et,Me,a)=>{a.d(Me,{Mg:()=>N,SY:()=>k,XK:()=>me,cg:()=>fe,pu:()=>Y});var t=a(655),o=a(4650),g=a(2539),l=a(3414),s=a(3187),L=a(7579),R=a(3101),T=a(1884),M=a(2722),E=a(9300),O=a(1005),F=a(1691),V=a(4903),S=a(2536),e=a(445),I=a(6895),w=a(8184),pe=a(6287);const ae=["overlay"];function Z(te,ye){if(1&te&&(o.ynx(0),o._uU(1),o.BQk()),2&te){const H=o.oxw(2);o.xp6(1),o.Oqu(H.nzTitle)}}function U(te,ye){if(1&te&&(o.TgZ(0,"div",2)(1,"div",3)(2,"div",4),o._UZ(3,"span",5),o.qZA(),o.TgZ(4,"div",6),o.YNc(5,Z,2,1,"ng-container",7),o.qZA()()()),2&te){const H=o.oxw();o.ekj("ant-tooltip-rtl","rtl"===H.dir),o.Q6J("ngClass",H._classMap)("ngStyle",H.nzOverlayStyle)("@.disabled",!(null==H.noAnimation||!H.noAnimation.nzNoAnimation))("nzNoAnimation",null==H.noAnimation?null:H.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),o.xp6(3),o.Q6J("ngStyle",H._contentStyleMap),o.xp6(1),o.Q6J("ngStyle",H._contentStyleMap),o.xp6(1),o.Q6J("nzStringTemplateOutlet",H.nzTitle)("nzStringTemplateOutletContext",H.nzTitleContext)}}let N=(()=>{class te{constructor(H,X,ve,Se,wt,St){this.elementRef=H,this.hostView=X,this.resolver=ve,this.renderer=Se,this.noAnimation=wt,this.nzConfigService=St,this.visibleChange=new o.vpe,this.internalVisible=!1,this.destroy$=new L.x,this.triggerDisposables=[]}get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){const H=this.placement;return Array.isArray(H)&&H.length>0?H:"string"==typeof H&&H?[H]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}ngOnChanges(H){const{trigger:X}=H;X&&!X.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(H)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const H=this.componentRef;this.component=H.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),H.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();const X=this.component.nzVisibleChange.pipe((0,T.x)());X.pipe((0,M.R)(this.destroy$)).subscribe(ve=>{this.internalVisible=ve,this.visibleChange.emit(ve)}),X.pipe((0,E.h)(ve=>ve),(0,O.g)(0,R.E),(0,E.h)(()=>Boolean(this.component?.overlay?.overlayRef)),(0,M.R)(this.destroy$)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){const H=this.elementRef.nativeElement,X=this.trigger;if(this.removeTriggerListeners(),"hover"===X){let ve;this.triggerDisposables.push(this.renderer.listen(H,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(H,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!ve&&(ve=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(ve,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(ve,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===X?(this.triggerDisposables.push(this.renderer.listen(H,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(H,"focusout",()=>this.hide()))):"click"===X&&this.triggerDisposables.push(this.renderer.listen(H,"click",ve=>{ve.preventDefault(),this.show()}))}updatePropertiesByChanges(H){this.updatePropertiesByKeys(Object.keys(H))}updatePropertiesByKeys(H){const X={title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],...this.getProxyPropertyMap()};(H||Object.keys(X).filter(ve=>!ve.startsWith("directive"))).forEach(ve=>{if(X[ve]){const[Se,wt]=X[ve];this.updateComponentValue(Se,wt())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(H,X){typeof X<"u"&&(this.component[H]=X)}delayEnterLeave(H,X,ve=-1){this.delayTimer?this.clearTogglingTimer():ve>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,X?this.show():this.hide()},1e3*ve):X&&H?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(H=>H()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}}return te.\u0275fac=function(H){return new(H||te)(o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(o._Vd),o.Y36(o.Qsj),o.Y36(V.P),o.Y36(S.jY))},te.\u0275dir=o.lG2({type:te,features:[o.TTD]}),te})(),q=(()=>{class te{constructor(H,X,ve){this.cdr=H,this.directionality=X,this.noAnimation=ve,this.nzTitle=null,this.nzContent=null,this.nzArrowPointAtCenter=!1,this.nzOverlayStyle={},this.nzBackdrop=!1,this.nzVisibleChange=new L.x,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...F.Ek],this.destroy$=new L.x}set nzVisible(H){const X=(0,s.sw)(H);this._visible!==X&&(this._visible=X,this.nzVisibleChange.next(X))}get nzVisible(){return this._visible}set nzTrigger(H){this._trigger=H}get nzTrigger(){return this._trigger}set nzPlacement(H){const X=H.map(ve=>F.yW[ve]);this._positions=[...X,...F.Ek]}ngOnInit(){this.directionality.change?.pipe((0,M.R)(this.destroy$)).subscribe(H=>{this.dir=H,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(H){this.preferredPlacement=(0,F.d_)(H),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(H){this.origin=H,this.cdr.markForCheck()}onClickOutside(H){!this.origin.nativeElement.contains(H.target)&&null!==this.nzTrigger&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}}return te.\u0275fac=function(H){return new(H||te)(o.Y36(o.sBO),o.Y36(e.Is,8),o.Y36(V.P))},te.\u0275dir=o.lG2({type:te,viewQuery:function(H,X){if(1&H&&o.Gf(ae,5),2&H){let ve;o.iGM(ve=o.CRH())&&(X.overlay=ve.first)}}}),te})();function Y(te){return!(te instanceof o.Rgc||""!==te&&(0,s.DX)(te))}let k=(()=>{class te extends N{constructor(H,X,ve,Se,wt){super(H,X,ve,Se,wt),this.titleContext=null,this.trigger="hover",this.placement="top",this.visibleChange=new o.vpe,this.componentRef=this.hostView.createComponent(me)}getProxyPropertyMap(){return{...super.getProxyPropertyMap(),nzTooltipColor:["nzColor",()=>this.nzTooltipColor],nzTooltipTitleContext:["nzTitleContext",()=>this.titleContext]}}}return te.\u0275fac=function(H){return new(H||te)(o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(o._Vd),o.Y36(o.Qsj),o.Y36(V.P,9))},te.\u0275dir=o.lG2({type:te,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(H,X){2&H&&o.ekj("ant-tooltip-open",X.visible)},inputs:{title:["nzTooltipTitle","title"],titleContext:["nzTooltipTitleContext","titleContext"],directiveTitle:["nz-tooltip","directiveTitle"],trigger:["nzTooltipTrigger","trigger"],placement:["nzTooltipPlacement","placement"],origin:["nzTooltipOrigin","origin"],visible:["nzTooltipVisible","visible"],mouseEnterDelay:["nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzTooltipOverlayClassName","overlayClassName"],overlayStyle:["nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:["nzTooltipArrowPointAtCenter","arrowPointAtCenter"],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[o.qOj]}),(0,t.gn)([(0,s.yF)()],te.prototype,"arrowPointAtCenter",void 0),te})(),me=(()=>{class te extends q{constructor(H,X,ve){super(H,X,ve),this.nzTitle=null,this.nzTitleContext=null,this._contentStyleMap={}}isEmpty(){return Y(this.nzTitle)}updateStyles(){const H=this.nzColor&&(0,l.o2)(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:H},this._contentStyleMap={backgroundColor:this.nzColor&&!H?this.nzColor:null}}}return te.\u0275fac=function(H){return new(H||te)(o.Y36(o.sBO),o.Y36(e.Is,8),o.Y36(V.P,9))},te.\u0275cmp=o.Xpm({type:te,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[o.qOj],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(H,X){1&H&&(o.YNc(0,U,6,11,"ng-template",0,1,o.W1O),o.NdJ("overlayOutsideClick",function(Se){return X.onClickOutside(Se)})("detach",function(){return X.hide()})("positionChange",function(Se){return X.onPositionChange(Se)})),2&H&&o.Q6J("cdkConnectedOverlayOrigin",X.origin)("cdkConnectedOverlayOpen",X._visible)("cdkConnectedOverlayPositions",X._positions)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",X.nzArrowPointAtCenter)},dependencies:[I.mk,I.PC,w.pI,pe.f,F.hQ,V.P],encapsulation:2,data:{animation:[g.$C]},changeDetection:0}),te})(),fe=(()=>{class te{}return te.\u0275fac=function(H){return new(H||te)},te.\u0275mod=o.oAB({type:te}),te.\u0275inj=o.cJS({imports:[e.vT,I.ez,w.U8,pe.T,F.e4,V.g]}),te})()},8823:(Et,Me,a)=>{a.d(Me,{ZU:()=>oe,ZJ:()=>J});var t=a(445),o=a(4425),g=a(3353),l=a(6895),s=a(4650),L=a(6287);let R=(()=>{class Te{}return Te.\u0275fac=function(Ge){return new(Ge||Te)},Te.\u0275dir=s.lG2({type:Te,selectors:[["button","nz-trans-button",""]],hostVars:8,hostBindings:function(Ge,it){2&Ge&&s.Udp("border","0")("background","transparent")("padding","0")("line-height","inherit")}}),Te})(),T=(()=>{class Te{}return Te.\u0275fac=function(Ge){return new(Ge||Te)},Te.\u0275mod=s.oAB({type:Te}),Te.\u0275inj=s.cJS({imports:[l.ez]}),Te})();var M=a(1811),E=a(1102),O=a(5635),F=a(7570),V=a(7579),S=a(1135),e=a(9751),I=a(4968),w=a(515),pe=a(457),ae=a(727),Z=a(2722),U=a(3900),N=a(5698),q=a(1365),Y=a(9521),k=a(3303),me=a(655),fe=a(2536),te=a(5469),ye=a(3187);function H(Te,Pe){if(1&Te&&(s.ynx(0),s._UZ(1,"span",2),s.BQk()),2&Te){const Ge=Pe.$implicit;s.xp6(1),s.Q6J("nzType",Ge)}}const X=["textarea"];function ve(Te,Pe){if(1&Te){const Ge=s.EpF();s.TgZ(0,"textarea",2,3),s.NdJ("blur",function(){s.CHM(Ge);const yt=s.oxw();return s.KtG(yt.confirm())}),s.qZA(),s.TgZ(2,"button",4),s.NdJ("click",function(){s.CHM(Ge);const yt=s.oxw();return s.KtG(yt.confirm())}),s._UZ(3,"span",5),s.qZA()}}function Se(Te,Pe){if(1&Te&&(s.ynx(0),s._UZ(1,"span",8),s.BQk()),2&Te){const Ge=Pe.$implicit;s.xp6(1),s.Q6J("nzType",Ge)}}function wt(Te,Pe){if(1&Te){const Ge=s.EpF();s.TgZ(0,"button",6),s.NdJ("click",function(){s.CHM(Ge);const yt=s.oxw();return s.KtG(yt.onClick())}),s.YNc(1,Se,2,1,"ng-container",7),s.qZA()}if(2&Te){const Ge=s.oxw();s.Q6J("nzTooltipTitle",null===Ge.tooltip?null:Ge.tooltip||(null==Ge.locale?null:Ge.locale.edit)),s.xp6(1),s.Q6J("nzStringTemplateOutlet",Ge.icon)}}const St=["ellipsisContainer"],rn=["expandable"],ot=["contentTemplate"];function gt(Te,Pe){1&Te&&s.Hsn(0,0,["*ngIf","!content"])}function Dt(Te,Pe){if(1&Te&&(s.YNc(0,gt,1,0,"ng-content",1),s._uU(1)),2&Te){const Ge=Pe.content;s.Q6J("ngIf",!Ge),s.xp6(1),s.hij(" ",Ge," ")}}function Wt(Te,Pe){}function mn(Te,Pe){if(1&Te&&(s.ynx(0),s._uU(1),s.BQk()),2&Te){const Ge=s.oxw(3);s.xp6(1),s.Oqu(Ge.nzSuffix)}}const At=function(Te){return{content:Te}};function _t(Te,Pe){if(1&Te&&(s.ynx(0),s.YNc(1,Wt,0,0,"ng-template",6),s.YNc(2,mn,2,1,"ng-container",1),s.BQk()),2&Te){const Ge=s.oxw(2),it=s.MAs(1);s.xp6(1),s.Q6J("ngTemplateOutlet",it)("ngTemplateOutletContext",s.VKq(3,At,Ge.nzContent)),s.xp6(1),s.Q6J("ngIf",Ge.nzSuffix)}}function Xt(Te,Pe){if(1&Te&&(s.ynx(0),s._uU(1),s.BQk()),2&Te){const Ge=s.oxw(3);s.xp6(1),s.Oqu(Ge.ellipsisStr)}}function ct(Te,Pe){if(1&Te&&(s.ynx(0),s._uU(1),s.BQk()),2&Te){const Ge=s.oxw(3);s.xp6(1),s.Oqu(Ge.nzSuffix)}}function Rt(Te,Pe){if(1&Te){const Ge=s.EpF();s.TgZ(0,"a",9,10),s.NdJ("click",function(){s.CHM(Ge);const yt=s.oxw(3);return s.KtG(yt.onExpand())}),s._uU(2),s.qZA()}if(2&Te){const Ge=s.oxw(3);s.xp6(2),s.hij(" ",null==Ge.locale?null:Ge.locale.expand," ")}}function sn(Te,Pe){if(1&Te&&(s._UZ(0,"span",null,7),s.YNc(2,Xt,2,1,"ng-container",1),s.YNc(3,ct,2,1,"ng-container",1),s.YNc(4,Rt,3,1,"a",8)),2&Te){const Ge=s.oxw(2);s.xp6(2),s.Q6J("ngIf",Ge.isEllipsis),s.xp6(1),s.Q6J("ngIf",Ge.nzSuffix),s.xp6(1),s.Q6J("ngIf",Ge.nzExpandable&&Ge.isEllipsis)}}function Dn(Te,Pe){if(1&Te&&(s.ynx(0),s.YNc(1,_t,3,5,"ng-container",4),s.YNc(2,sn,5,3,"ng-template",null,5,s.W1O),s.BQk()),2&Te){const Ge=s.MAs(3),it=s.oxw();s.xp6(1),s.Q6J("ngIf",it.expanded||!it.hasOperationsWithEllipsis&&1===it.nzEllipsisRows&&!it.hasEllipsisObservers||it.canCssEllipsis||it.nzSuffix&&it.expanded)("ngIfElse",Ge)}}function zn(Te,Pe){if(1&Te){const Ge=s.EpF();s.TgZ(0,"nz-text-edit",11),s.NdJ("endEditing",function(yt){s.CHM(Ge);const Ut=s.oxw();return s.KtG(Ut.onEndEditing(yt))})("startEditing",function(){s.CHM(Ge);const yt=s.oxw();return s.KtG(yt.onStartEditing())}),s.qZA()}if(2&Te){const Ge=s.oxw();s.Q6J("text",Ge.nzContent)("icon",Ge.nzEditIcon)("tooltip",Ge.nzEditTooltip)}}function Yt(Te,Pe){if(1&Te){const Ge=s.EpF();s.TgZ(0,"nz-text-copy",12),s.NdJ("textCopy",function(yt){s.CHM(Ge);const Ut=s.oxw();return s.KtG(Ut.onTextCopy(yt))}),s.qZA()}if(2&Te){const Ge=s.oxw();s.Q6J("text",Ge.copyText)("tooltips",Ge.nzCopyTooltips)("icons",Ge.nzCopyIcons)}}const xt=["*"];let Ye=(()=>{class Te{constructor(Ge,it,yt,Ut){this.host=Ge,this.cdr=it,this.clipboard=yt,this.i18n=Ut,this.copied=!1,this.copyId=-1,this.nativeElement=this.host.nativeElement,this.copyTooltip=null,this.copedTooltip=null,this.copyIcon="copy",this.copedIcon="check",this.destroy$=new V.x,this.icons=["copy","check"],this.textCopy=new s.vpe}ngOnInit(){this.i18n.localeChange.pipe((0,Z.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.updateTooltips(),this.cdr.markForCheck()})}ngOnChanges(Ge){const{tooltips:it,icons:yt}=Ge;it&&this.updateTooltips(),yt&&this.updateIcons()}ngOnDestroy(){clearTimeout(this.copyId),this.destroy$.next(),this.destroy$.complete()}onClick(){if(this.copied)return;this.copied=!0,this.cdr.detectChanges();const Ge=this.text;this.textCopy.emit(Ge),this.clipboard.copy(Ge),this.onCopied()}onCopied(){clearTimeout(this.copyId),this.copyId=setTimeout(()=>{this.copied=!1,this.cdr.detectChanges()},3e3)}updateTooltips(){if(null===this.tooltips)this.copedTooltip=null,this.copyTooltip=null;else if(Array.isArray(this.tooltips)){const[Ge,it]=this.tooltips;this.copyTooltip=Ge||this.locale?.copy,this.copedTooltip=it||this.locale?.copied}else this.copyTooltip=this.locale?.copy,this.copedTooltip=this.locale?.copied;this.cdr.markForCheck()}updateIcons(){const[Ge,it]=this.icons;this.copyIcon=Ge,this.copedIcon=it,this.cdr.markForCheck()}}return Te.\u0275fac=function(Ge){return new(Ge||Te)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(o.TU),s.Y36(M.wi))},Te.\u0275cmp=s.Xpm({type:Te,selectors:[["nz-text-copy"]],inputs:{text:"text",tooltips:"tooltips",icons:"icons"},outputs:{textCopy:"textCopy"},exportAs:["nzTextCopy"],features:[s.TTD],decls:2,vars:4,consts:[["type","button","nz-tooltip","","nz-trans-button","",1,"ant-typography-copy",3,"nzTooltipTitle","click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(Ge,it){1&Ge&&(s.TgZ(0,"button",0),s.NdJ("click",function(){return it.onClick()}),s.YNc(1,H,2,1,"ng-container",1),s.qZA()),2&Ge&&(s.ekj("ant-typography-copy-success",it.copied),s.Q6J("nzTooltipTitle",it.copied?it.copedTooltip:it.copyTooltip),s.xp6(1),s.Q6J("nzStringTemplateOutlet",it.copied?it.copedIcon:it.copyIcon))},dependencies:[E.Ls,F.SY,R,L.f],encapsulation:2,changeDetection:0}),Te})(),$e=(()=>{class Te{constructor(Ge,it,yt,Ut,$t){this.ngZone=Ge,this.host=it,this.cdr=yt,this.i18n=Ut,this.destroy$=$t,this.editing=!1,this.icon="edit",this.startEditing=new s.vpe,this.endEditing=new s.vpe(!0),this.nativeElement=this.host.nativeElement,this.textarea$=new S.X(null)}set textarea(Ge){this.textarea$.next(Ge)}ngOnInit(){this.i18n.localeChange.pipe((0,Z.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.cdr.markForCheck()}),this.textarea$.pipe((0,U.w)(Ge=>Ge?new e.y(it=>this.ngZone.runOutsideAngular(()=>(0,I.R)(Ge.nativeElement,"keydown").subscribe(it))):w.E),(0,Z.R)(this.destroy$)).subscribe(Ge=>{Ge.keyCode!==Y.hY&&Ge.keyCode!==Y.K5||this.ngZone.run(()=>{Ge.keyCode===Y.hY?this.onCancel():this.onEnter(Ge),this.cdr.markForCheck()})}),this.textarea$.pipe((0,U.w)(Ge=>Ge?new e.y(it=>this.ngZone.runOutsideAngular(()=>(0,I.R)(Ge.nativeElement,"input").subscribe(it))):w.E),(0,Z.R)(this.destroy$)).subscribe(Ge=>{this.currentText=Ge.target.value})}onClick(){this.beforeText=this.text,this.currentText=this.beforeText,this.editing=!0,this.startEditing.emit(),this.focusAndSetValue()}confirm(){this.editing=!1,this.endEditing.emit(this.currentText)}onEnter(Ge){Ge.stopPropagation(),Ge.preventDefault(),this.confirm()}onCancel(){this.currentText=this.beforeText,this.confirm()}focusAndSetValue(){const Ge=this.ngZone.isStable?(0,pe.D)(Promise.resolve()):this.ngZone.onStable.pipe((0,N.q)(1));this.ngZone.runOutsideAngular(()=>{Ge.pipe((0,q.M)(this.textarea$),(0,Z.R)(this.destroy$)).subscribe(([,it])=>{it&&(it.nativeElement.focus(),it.nativeElement.value=this.currentText||"",this.autosizeDirective.resizeToFitContent(),this.cdr.markForCheck())})})}}return Te.\u0275fac=function(Ge){return new(Ge||Te)(s.Y36(s.R0b),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(M.wi),s.Y36(k.kn))},Te.\u0275cmp=s.Xpm({type:Te,selectors:[["nz-text-edit"]],viewQuery:function(Ge,it){if(1&Ge&&(s.Gf(X,5),s.Gf(O.rh,5)),2&Ge){let yt;s.iGM(yt=s.CRH())&&(it.textarea=yt.first),s.iGM(yt=s.CRH())&&(it.autosizeDirective=yt.first)}},inputs:{text:"text",icon:"icon",tooltip:"tooltip"},outputs:{startEditing:"startEditing",endEditing:"endEditing"},exportAs:["nzTextEdit"],features:[s._Bn([k.kn])],decls:3,vars:2,consts:[[3,"ngIf","ngIfElse"],["notEditing",""],["nz-input","","nzAutosize","",3,"blur"],["textarea",""],["nz-trans-button","",1,"ant-typography-edit-content-confirm",3,"click"],["nz-icon","","nzType","enter"],["nz-tooltip","","nz-trans-button","",1,"ant-typography-edit",3,"nzTooltipTitle","click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(Ge,it){if(1&Ge&&(s.YNc(0,ve,4,0,"ng-template",0),s.YNc(1,wt,2,2,"ng-template",null,1,s.W1O)),2&Ge){const yt=s.MAs(2);s.Q6J("ngIf",it.editing)("ngIfElse",yt)}},dependencies:[l.O5,E.Ls,F.SY,O.Zp,O.rh,R,L.f],encapsulation:2,changeDetection:0}),Te})(),oe=(()=>{class Te{constructor(Ge,it,yt,Ut,$t,Je,et,pt,Vt,zt){this.nzConfigService=Ge,this.host=it,this.cdr=yt,this.viewContainerRef=Ut,this.renderer=$t,this.platform=Je,this.i18n=et,this.resizeService=Vt,this.directionality=zt,this._nzModuleName="typography",this.nzCopyable=!1,this.nzEditable=!1,this.nzDisabled=!1,this.nzExpandable=!1,this.nzEllipsis=!1,this.nzCopyTooltips=void 0,this.nzCopyIcons=["copy","check"],this.nzEditTooltip=void 0,this.nzEditIcon="edit",this.nzEllipsisRows=1,this.nzContentChange=new s.vpe,this.nzCopy=new s.vpe,this.nzExpandChange=new s.vpe,this.nzOnEllipsis=new s.vpe,this.expandableBtnElementCache=null,this.editing=!1,this.cssEllipsis=!1,this.isEllipsis=!0,this.expanded=!1,this.ellipsisStr="...",this.dir="ltr",this.viewInit=!1,this.rfaId=-1,this.destroy$=new V.x,this.windowResizeSubscription=ae.w0.EMPTY,this.document=pt}get hasEllipsisObservers(){return this.nzOnEllipsis.observers.length>0}get canCssEllipsis(){return this.nzEllipsis&&this.cssEllipsis&&!this.expanded&&!this.hasEllipsisObservers}get hasOperationsWithEllipsis(){return(this.nzCopyable||this.nzEditable||this.nzExpandable)&&this.nzEllipsis}get copyText(){return"string"==typeof this.nzCopyText?this.nzCopyText:this.nzContent}onTextCopy(Ge){this.nzCopy.emit(Ge)}onStartEditing(){this.editing=!0}onEndEditing(Ge){this.editing=!1,this.nzContentChange.emit(Ge),this.nzContent===Ge&&this.renderOnNextFrame(),this.cdr.markForCheck()}onExpand(){this.isEllipsis=!1,this.expanded=!0,this.nzExpandChange.emit(),this.nzOnEllipsis.emit(!1)}canUseCSSEllipsis(){return!(this.nzEditable||this.nzCopyable||this.nzExpandable||this.nzSuffix||this.hasEllipsisObservers)&&(0,ye.GL)(1===this.nzEllipsisRows?"textOverflow":"webkitLineClamp")}renderOnNextFrame(){(0,te.h)(this.rfaId),this.viewInit&&this.nzEllipsis&&!(this.nzEllipsisRows<0)&&!this.expanded&&this.platform.isBrowser&&(this.rfaId=(0,te.e)(()=>{this.syncEllipsis()}))}getOriginContentViewRef(){const Ge=this.viewContainerRef.createEmbeddedView(this.contentTemplate,{content:this.nzContent});return Ge.detectChanges(),{viewRef:Ge,removeView:()=>{this.viewContainerRef.remove(this.viewContainerRef.indexOf(Ge))}}}syncEllipsis(){if(this.cssEllipsis)return;const{viewRef:Ge,removeView:it}=this.getOriginContentViewRef(),yt=[this.textCopyRef,this.textEditRef].filter(Vt=>Vt&&Vt.nativeElement).map(Vt=>Vt.nativeElement),Ut=this.getExpandableBtnElement();Ut&&yt.push(Ut);const{contentNodes:$t,text:Je,ellipsis:et}=(0,ye.L8)(this.host.nativeElement,this.nzEllipsisRows,Ge.rootNodes,yt,this.ellipsisStr,this.nzSuffix);it(),this.ellipsisText=Je,et!==this.isEllipsis&&(this.isEllipsis=et,this.nzOnEllipsis.emit(et));const pt=this.ellipsisContainer.nativeElement;for(;pt.firstChild;)this.renderer.removeChild(pt,pt.firstChild);$t.forEach(Vt=>{this.renderer.appendChild(pt,Vt.cloneNode(!0))}),this.cdr.markForCheck()}getExpandableBtnElement(){if(this.nzExpandable){const Ge=this.locale?this.locale.expand:"",it=this.expandableBtnElementCache;if(!it||it.innerText===Ge){const yt=this.document.createElement("a");yt.className="ant-typography-expand",yt.innerText=Ge,this.expandableBtnElementCache=yt}return this.expandableBtnElementCache}return this.expandableBtnElementCache=null,null}renderAndSubscribeWindowResize(){this.platform.isBrowser&&(this.windowResizeSubscription.unsubscribe(),this.cssEllipsis=this.canUseCSSEllipsis(),this.renderOnNextFrame(),this.windowResizeSubscription=this.resizeService.subscribe().pipe((0,Z.R)(this.destroy$)).subscribe(()=>this.renderOnNextFrame()))}ngOnInit(){this.i18n.localeChange.pipe((0,Z.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.cdr.markForCheck()}),this.directionality.change?.pipe((0,Z.R)(this.destroy$)).subscribe(Ge=>{this.dir=Ge,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.viewInit=!0,this.renderAndSubscribeWindowResize()}ngOnChanges(Ge){const{nzCopyable:it,nzEditable:yt,nzExpandable:Ut,nzEllipsis:$t,nzContent:Je,nzEllipsisRows:et,nzSuffix:pt}=Ge;(it||yt||Ut||$t||Je||et||pt)&&this.nzEllipsis&&(this.expanded?this.windowResizeSubscription.unsubscribe():this.renderAndSubscribeWindowResize())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.expandableBtnElementCache=null,this.windowResizeSubscription.unsubscribe()}}return Te.\u0275fac=function(Ge){return new(Ge||Te)(s.Y36(fe.jY),s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.s_b),s.Y36(s.Qsj),s.Y36(g.t4),s.Y36(M.wi),s.Y36(l.K0),s.Y36(k.rI),s.Y36(t.Is,8))},Te.\u0275cmp=s.Xpm({type:Te,selectors:[["nz-typography"],["","nz-typography",""],["p","nz-paragraph",""],["span","nz-text",""],["h1","nz-title",""],["h2","nz-title",""],["h3","nz-title",""],["h4","nz-title",""]],viewQuery:function(Ge,it){if(1&Ge&&(s.Gf($e,5),s.Gf(Ye,5),s.Gf(St,5),s.Gf(rn,5),s.Gf(ot,5)),2&Ge){let yt;s.iGM(yt=s.CRH())&&(it.textEditRef=yt.first),s.iGM(yt=s.CRH())&&(it.textCopyRef=yt.first),s.iGM(yt=s.CRH())&&(it.ellipsisContainer=yt.first),s.iGM(yt=s.CRH())&&(it.expandableBtn=yt.first),s.iGM(yt=s.CRH())&&(it.contentTemplate=yt.first)}},hostVars:26,hostBindings:function(Ge,it){2&Ge&&(s.Udp("-webkit-line-clamp",it.canCssEllipsis&&it.nzEllipsisRows>1?it.nzEllipsisRows:null),s.ekj("ant-typography",!it.editing)("ant-typography-rtl","rtl"===it.dir)("ant-typography-edit-content",it.editing)("ant-typography-secondary","secondary"===it.nzType)("ant-typography-warning","warning"===it.nzType)("ant-typography-danger","danger"===it.nzType)("ant-typography-success","success"===it.nzType)("ant-typography-disabled",it.nzDisabled)("ant-typography-ellipsis",it.nzEllipsis&&!it.expanded)("ant-typography-single-line",it.nzEllipsis&&1===it.nzEllipsisRows)("ant-typography-ellipsis-single-line",it.canCssEllipsis&&1===it.nzEllipsisRows)("ant-typography-ellipsis-multiple-line",it.canCssEllipsis&&it.nzEllipsisRows>1))},inputs:{nzCopyable:"nzCopyable",nzEditable:"nzEditable",nzDisabled:"nzDisabled",nzExpandable:"nzExpandable",nzEllipsis:"nzEllipsis",nzCopyTooltips:"nzCopyTooltips",nzCopyIcons:"nzCopyIcons",nzEditTooltip:"nzEditTooltip",nzEditIcon:"nzEditIcon",nzContent:"nzContent",nzEllipsisRows:"nzEllipsisRows",nzType:"nzType",nzCopyText:"nzCopyText",nzSuffix:"nzSuffix"},outputs:{nzContentChange:"nzContentChange",nzCopy:"nzCopy",nzExpandChange:"nzExpandChange",nzOnEllipsis:"nzOnEllipsis"},exportAs:["nzTypography"],features:[s.TTD],ngContentSelectors:xt,decls:5,vars:3,consts:[["contentTemplate",""],[4,"ngIf"],[3,"text","icon","tooltip","endEditing","startEditing",4,"ngIf"],[3,"text","tooltips","icons","textCopy",4,"ngIf"],[4,"ngIf","ngIfElse"],["jsEllipsis",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ellipsisContainer",""],["class","ant-typography-expand",3,"click",4,"ngIf"],[1,"ant-typography-expand",3,"click"],["expandable",""],[3,"text","icon","tooltip","endEditing","startEditing"],[3,"text","tooltips","icons","textCopy"]],template:function(Ge,it){1&Ge&&(s.F$t(),s.YNc(0,Dt,2,2,"ng-template",null,0,s.W1O),s.YNc(2,Dn,4,2,"ng-container",1),s.YNc(3,zn,1,3,"nz-text-edit",2),s.YNc(4,Yt,1,3,"nz-text-copy",3)),2&Ge&&(s.xp6(2),s.Q6J("ngIf",!it.editing),s.xp6(1),s.Q6J("ngIf",it.nzEditable),s.xp6(1),s.Q6J("ngIf",it.nzCopyable&&!it.editing))},dependencies:[l.O5,l.tP,Ye,$e],encapsulation:2,changeDetection:0}),(0,me.gn)([(0,ye.yF)()],Te.prototype,"nzCopyable",void 0),(0,me.gn)([(0,ye.yF)()],Te.prototype,"nzEditable",void 0),(0,me.gn)([(0,ye.yF)()],Te.prototype,"nzDisabled",void 0),(0,me.gn)([(0,ye.yF)()],Te.prototype,"nzExpandable",void 0),(0,me.gn)([(0,ye.yF)()],Te.prototype,"nzEllipsis",void 0),(0,me.gn)([(0,fe.oS)()],Te.prototype,"nzCopyTooltips",void 0),(0,me.gn)([(0,fe.oS)()],Te.prototype,"nzCopyIcons",void 0),(0,me.gn)([(0,fe.oS)()],Te.prototype,"nzEditTooltip",void 0),(0,me.gn)([(0,fe.oS)()],Te.prototype,"nzEditIcon",void 0),(0,me.gn)([(0,fe.oS)(),(0,ye.Rn)()],Te.prototype,"nzEllipsisRows",void 0),Te})(),J=(()=>{class Te{}return Te.\u0275fac=function(Ge){return new(Ge||Te)},Te.\u0275mod=s.oAB({type:Te}),Te.\u0275inj=s.cJS({imports:[t.vT,l.ez,E.PV,F.cg,O.o7,M.YI,T,o.Iq,L.T,g.ud]}),Te})()},5657:(Et,Me,a)=>{a.d(Me,{N:()=>g});var t=a(4650),o=a(6895);let g=(()=>{class l{constructor(L,R){this.document=L,this.platformId=R,this.documentIsAccessible=(0,o.NF)(this.platformId)}static getCookieRegExp(L){const R=L.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+R+"|;\\s*"+R+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(L){try{return decodeURIComponent(L)}catch{return L}}check(L){return!!this.documentIsAccessible&&(L=encodeURIComponent(L),l.getCookieRegExp(L).test(this.document.cookie))}get(L){if(this.documentIsAccessible&&this.check(L)){L=encodeURIComponent(L);const T=l.getCookieRegExp(L).exec(this.document.cookie);return T[1]?l.safeDecodeURIComponent(T[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const L={},R=this.document;return R.cookie&&""!==R.cookie&&R.cookie.split(";").forEach(T=>{const[M,E]=T.split("=");L[l.safeDecodeURIComponent(M.replace(/^ /,""))]=l.safeDecodeURIComponent(E)}),L}set(L,R,T,M,E,O,F){if(!this.documentIsAccessible)return;if("number"==typeof T||T instanceof Date||M||E||O||F)return void this.set(L,R,{expires:T,path:M,domain:E,secure:O,sameSite:F||"Lax"});let V=encodeURIComponent(L)+"="+encodeURIComponent(R)+";";const S=T||{};S.expires&&(V+="number"==typeof S.expires?"expires="+new Date((new Date).getTime()+1e3*S.expires*60*60*24).toUTCString()+";":"expires="+S.expires.toUTCString()+";"),S.path&&(V+="path="+S.path+";"),S.domain&&(V+="domain="+S.domain+";"),!1===S.secure&&"None"===S.sameSite&&(S.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${L} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),S.secure&&(V+="secure;"),S.sameSite||(S.sameSite="Lax"),V+="sameSite="+S.sameSite+";",this.document.cookie=V}delete(L,R,T,M,E="Lax"){if(!this.documentIsAccessible)return;const O=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(L,"",{expires:O,path:R,domain:T,secure:M,sameSite:E})}deleteAll(L,R,T,M="Lax"){if(!this.documentIsAccessible)return;const E=this.getAll();for(const O in E)E.hasOwnProperty(O)&&this.delete(O,L,R,T,M)}}return l.\u0275fac=function(L){return new(L||l)(t.LFG(o.K0),t.LFG(t.Lbi))},l.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})()},317:(Et,Me,a)=>{a.d(Me,{Y:()=>M,s:()=>E});var t=a(4650),o=a(6895);function g(O,F){1&O&&t._UZ(0,"div",9)}function l(O,F){if(1&O&&(t.TgZ(0,"span",10),t._uU(1),t.qZA()),2&O){const V=t.oxw().$implicit;t.xp6(1),t.Oqu(V.description)}}function s(O,F){if(1&O&&(t.TgZ(0,"section",11),t._UZ(1,"ngx-json-viewer",12),t.qZA()),2&O){const V=t.oxw().$implicit,S=t.oxw();t.xp6(1),t.Q6J("json",V.value)("expanded",S.expanded)("depth",S.depth)("_currentDepth",S._currentDepth+1)}}const L=function(O){return["segment",O]},R=function(O,F){return{"segment-main":!0,expandable:O,expanded:F}};function T(O,F){if(1&O){const V=t.EpF();t.TgZ(0,"section",2)(1,"section",3),t.NdJ("click",function(){const I=t.CHM(V).$implicit,w=t.oxw();return t.KtG(w.toggle(I))}),t.YNc(2,g,1,0,"div",4),t.TgZ(3,"span",5),t._uU(4),t.qZA(),t.TgZ(5,"span",6),t._uU(6,": "),t.qZA(),t.YNc(7,l,2,1,"span",7),t.qZA(),t.YNc(8,s,2,4,"section",8),t.qZA()}if(2&O){const V=F.$implicit,S=t.oxw();t.Q6J("ngClass",t.VKq(6,L,"segment-type-"+V.type)),t.xp6(1),t.Q6J("ngClass",t.WLB(8,R,S.isExpandable(V),V.expanded)),t.xp6(1),t.Q6J("ngIf",S.isExpandable(V)),t.xp6(2),t.Oqu(V.key),t.xp6(3),t.Q6J("ngIf",!V.expanded||!S.isExpandable(V)),t.xp6(1),t.Q6J("ngIf",V.expanded&&S.isExpandable(V))}}let M=(()=>{class O{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(V=>{this.segments.push(this.parseKeyValue(V,this.json[V]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(V){return"object"===V.type||"array"===V.type}toggle(V){this.isExpandable(V)&&(V.expanded=!V.expanded)}parseKeyValue(V,S){const e={key:V,value:S,type:void 0,description:""+S,expanded:this.isExpanded()};switch(typeof e.value){case"number":e.type="number";break;case"boolean":e.type="boolean";break;case"function":e.type="function";break;case"string":e.type="string",e.description='"'+e.value+'"';break;case"undefined":e.type="undefined",e.description="undefined";break;case"object":null===e.value?(e.type="null",e.description="null"):Array.isArray(e.value)?(e.type="array",e.description="Array["+e.value.length+"] "+JSON.stringify(e.value)):e.value instanceof Date?e.type="date":(e.type="object",e.description="Object "+JSON.stringify(e.value))}return e}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(V){const S=new WeakMap;return function e(I,w){let pe,ae;return"object"!=typeof I||null===I||I instanceof Boolean||I instanceof Date||I instanceof Number||I instanceof RegExp||I instanceof String?I:(pe=S.get(I),void 0!==pe?{$ref:pe}:(S.set(I,w),Array.isArray(I)?(ae=[],I.forEach(function(Z,U){ae[U]=e(Z,w+"["+U+"]")})):(ae={},Object.keys(I).forEach(function(Z){ae[Z]=e(I[Z],w+"["+JSON.stringify(Z)+"]")})),ae))}(V,"$")}}return O.\u0275fac=function(V){return new(V||O)},O.\u0275cmp=t.Xpm({type:O,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[t.TTD],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(V,S){1&V&&(t.TgZ(0,"section",0),t.YNc(1,T,9,11,"section",1),t.qZA()),2&V&&(t.xp6(1),t.Q6J("ngForOf",S.segments))},dependencies:[o.mk,o.sg,o.O5,O],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),O})(),E=(()=>{class O{}return O.\u0275fac=function(V){return new(V||O)},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({imports:[o.ez]}),O})()},4302:(Et,Me,a)=>{function g(k,me){(null==me||me>k.length)&&(me=k.length);for(var fe=0,te=new Array(me);feY});var L=function(){return"function"==typeof Symbol},R=function(k){return L()&&Boolean(Symbol[k])},T=function(k){return R(k)?Symbol[k]:"@@"+k};L()&&!R("observable")&&(Symbol.observable=Symbol("observable"));var M=T("iterator"),E=T("observable"),O=T("species");function F(k,me){var fe=k[me];if(null!=fe){if("function"!=typeof fe)throw new TypeError(fe+" is not a function");return fe}}function V(k){var me=k.constructor;return void 0!==me&&null===(me=me[O])&&(me=void 0),void 0!==me?me:Y}function e(k){e.log?e.log(k):setTimeout(function(){throw k})}function I(k){Promise.resolve().then(function(){try{k()}catch(me){e(me)}})}function w(k){var me=k._cleanup;if(void 0!==me&&(k._cleanup=void 0,me))try{if("function"==typeof me)me();else{var fe=F(me,"unsubscribe");fe&&fe.call(me)}}catch(te){e(te)}}function pe(k){k._observer=void 0,k._queue=void 0,k._state="closed"}function Z(k,me,fe){k._state="running";var te=k._observer;try{var ye=F(te,me);switch(me){case"next":ye&&ye.call(te,fe);break;case"error":if(pe(k),!ye)throw fe;ye.call(te,fe);break;case"complete":pe(k),ye&&ye.call(te)}}catch(H){e(H)}"closed"===k._state?w(k):"running"===k._state&&(k._state="ready")}function U(k,me,fe){if("closed"!==k._state){if("buffering"===k._state)return void k._queue.push({type:me,value:fe});if("ready"!==k._state)return k._state="buffering",k._queue=[{type:me,value:fe}],void I(function(){return function ae(k){var me=k._queue;if(me){k._queue=void 0,k._state="ready";for(var fe=0;fe1,ve=!1,Se=arguments[1],wt=Se;return new H(function(St){return ye.subscribe({next:function(rn){var ot=!ve;if(ve=!0,!ot||X)try{wt=te(wt,rn)}catch(gt){return St.error(gt)}else wt=rn},error:function(rn){St.error(rn)},complete:function(){if(!ve&&!X)return St.error(new TypeError("Cannot reduce an empty sequence"));St.next(wt),St.complete()}})})},me.concat=function(){for(var te=this,ye=arguments.length,H=new Array(ye),X=0;X=0&&ve.splice(ot,1),wt()}});ve.push(rn)},error:function(St){X.error(St)},complete:function(){wt()}});function wt(){Se.closed&&0===ve.length&&X.complete()}return function(){ve.forEach(function(St){return St.unsubscribe()}),Se.unsubscribe()}})},me[E]=function(){return this},k.from=function(te){var ye="function"==typeof this?this:k;if(null==te)throw new TypeError(te+" is not an object");var H=F(te,E);if(H){var X=H.call(te);if(Object(X)!==X)throw new TypeError(X+" is not an object");return function S(k){return k instanceof Y}(X)&&X.constructor===ye?X:new ye(function(ve){return X.subscribe(ve)})}if(R("iterator")&&(H=F(te,M)))return new ye(function(ve){I(function(){if(!ve.closed){for(var wt,Se=function t(k,me){var fe=typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(fe)return(fe=fe.call(k)).next.bind(fe);if(Array.isArray(k)||(fe=function o(k,me){if(k){if("string"==typeof k)return g(k,me);var fe=Object.prototype.toString.call(k).slice(8,-1);if("Object"===fe&&k.constructor&&(fe=k.constructor.name),"Map"===fe||"Set"===fe)return Array.from(k);if("Arguments"===fe||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(fe))return g(k,me)}}(k))||me&&k&&"number"==typeof k.length){fe&&(k=fe);var te=0;return function(){return te>=k.length?{done:!0}:{done:!1,value:k[te++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(H.call(te));!(wt=Se()).done;)if(ve.next(wt.value),ve.closed)return;ve.complete()}})});if(Array.isArray(te))return new ye(function(ve){I(function(){if(!ve.closed){for(var Se=0;Se{Et(Et.s=5231)}]); \ No newline at end of file diff --git a/server/public/polyfills.0d53395d7de28223.js b/server/public/polyfills.0d53395d7de28223.js new file mode 100644 index 000000000..8a3fb079c --- /dev/null +++ b/server/public/polyfills.0d53395d7de28223.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6429],{5321:(ie,Ee,de)=>{de(8332)},8332:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,T){n&&n.measure&&n.measure(M,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{static assertZonePatched(){if(e.Promise!==oe.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 t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CM.hasTask(t,r),onScheduleTask:(M,T,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,T,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,T,t,r)=>M.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class p{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}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}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),y&&y.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v[ct]&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),p=y("then"),L="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data[L];m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(m,void 0,S&&m!==J&&m!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const M=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let S=0;S{g||(g=!0,m(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),m=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,m--,0===m&&f(S)},F=>{s?(S[V]=s.errorCallback(F),m--,0===m&&f(S)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(M),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(M);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",p="prependListener",L="."+p+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;mfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const L=`${i}.${o}::`+p,Z=b.prototype;try{if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],L))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],L))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(p,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function mt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function pt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const p=v.XMLHttpRequest;if(!p)return;const L=p.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(L,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=5321)}]); \ No newline at end of file diff --git a/server/public/polyfills.46549b99607ed2fb.js b/server/public/polyfills.46549b99607ed2fb.js deleted file mode 100644 index c00990af2..000000000 --- a/server/public/polyfills.46549b99607ed2fb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6429],{7435:(ie,Ee,de)=>{de(8583)},8583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.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 t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CM.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}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}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;EU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return je&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",m="prependListener",L="."+m+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;Tfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch{}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=7435)}]); \ No newline at end of file diff --git a/server/public/runtime.b328a60398147a8d.js b/server/public/runtime.b328a60398147a8d.js new file mode 100644 index 000000000..1be1c9ff6 --- /dev/null +++ b/server/public/runtime.b328a60398147a8d.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,v={},m={};function a(e){var f=m[e];if(void 0!==f)return f.exports;var r=m[e]={exports:{}};return v[e](r,r.exports,a),r.exports}a.m=v,e=[],a.O=(f,r,b,c)=>{if(!r){var d=1/0;for(t=0;t=c)&&Object.keys(a.O).every(p=>a.O[p](r[n]))?r.splice(n--,1):(u=!1,c0&&e[t-1][2]>c;t--)e[t]=e[t-1];e[t]=[r,b,c]},a.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return a.d(f,{a:f}),f},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((f,r)=>(a.f[r](e,f),f),[])),a.u=e=>(8592===e?"common":e)+"."+{10:"a57878568e1af68b",647:"623c0a47b80c84a8",1084:"cc7a2dfff7332e28",1107:"21ddf6d39d06779a",1150:"94bdcdeedd2f7339",1364:"12bb9c99f867a6aa",1703:"fe74deedd51f66ab",1754:"906379ee1f4de488",1761:"1757ccd609e3ebfb",1914:"81eee4a5b946f717",2212:"7c5b25057022690e",2299:"0988428913d7a6f6",2602:"e359c1494cf777f0",2907:"99547d3b28cc5ead",3180:"6f440dd185b76ec7",3241:"ac614d68ffc8a17d",3266:"d696285f4aea3d00",3270:"7713e9f84711a804",3290:"f73c6cfa287fc8be",3291:"bdb19855e1d46c8e",3385:"7da54368d3f3368e",3407:"dfec5aefd7ffe3e4",3505:"84bd5eb1b163b35e",3517:"89b7dd18cffca9b4",3577:"8c97d3d55e87f3db",3759:"35f8c7163e99f7de",4294:"43ee4cc97fc893b4",4449:"385cbcaaa3a2a9b7",4503:"ea75d9592050f619",4872:"4170af96d9e3e4f3",5077:"62eaefd9054c5bc8",5358:"970c0a5a4c46ecf3",5369:"bd7c3140e8b78e84",5484:"68dcf87aec9743df",5556:"b061e9bbefb5e0f3",5584:"6969bbc0831b7c8d",5604:"b4a39a9ecac0878b",5683:"9a0c40ea40edb32d",5756:"74732a34d6188e8e",5787:"f7e6bdcc1ffc81c0",5802:"d37c1bd0f3048939",5978:"4c1bb8341b1baecd",6607:"6393e299ffce5d74",6735:"e326392aa1b68077",7121:"c94d9e6c2cb75b61",7129:"d41870c75dd1c100",7856:"7f558841cb7ecd2a",7903:"9b751d4f9560fc8e",8026:"4d734e84c7104fb8",8104:"4456aeba87b46715",8245:"2f882b4f5fd8d87b",8252:"5d50a5039c93fdd2",8421:"efbeebeb217b3565",8479:"bc64bfa439005be1",8592:"f9a47b73260d63b5",9641:"bed4b144f0984c4d",9803:"cc8d47b9b43faece",9814:"ce0ed4c247a924cc",9939:"11664881162fd2af"}[e]+".js",a.miniCssF=e=>{},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="main:";a.l=(r,b,c,t)=>{if(e[r])e[r].push(b);else{var d,u;if(void 0!==c)for(var n=document.getElementsByTagName("script"),o=0;o{d.onerror=d.onload=null,clearTimeout(s);var _=e[r];if(delete e[r],d.parentNode&&d.parentNode.removeChild(d),_&&_.forEach(h=>h(p)),g)return g(p)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),u&&document.head.appendChild(d)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={3666:0};a.f.j=(b,c)=>{var t=a.o(e,b)?e[b]:void 0;if(0!==t)if(t)c.push(t[2]);else if(3666!=b){var d=new Promise((i,l)=>t=e[b]=[i,l]);c.push(t[2]=d);var u=a.p+a.u(b),n=new Error;a.l(u,i=>{if(a.o(e,b)&&(0!==(t=e[b])&&(e[b]=void 0),t)){var l=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;n.message="Loading chunk "+b+" failed.\n("+l+": "+s+")",n.name="ChunkLoadError",n.type=l,n.request=s,t[1](n)}},"chunk-"+b,b)}else e[b]=0},a.O.j=b=>0===e[b];var f=(b,c)=>{var n,o,[t,d,u]=c,i=0;if(t.some(s=>0!==e[s])){for(n in d)a.o(d,n)&&(a.m[n]=d[n]);if(u)var l=u(a)}for(b&&b(c);i{"use strict";var e,v={},m={};function a(e){var f=m[e];if(void 0!==f)return f.exports;var r=m[e]={exports:{}};return v[e](r,r.exports,a),r.exports}a.m=v,e=[],a.O=(f,r,b,c)=>{if(!r){var t=1/0;for(d=0;d=c)&&Object.keys(a.O).every(p=>a.O[p](r[n]))?r.splice(n--,1):(u=!1,c0&&e[d-1][2]>c;d--)e[d]=e[d-1];e[d]=[r,b,c]},a.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return a.d(f,{a:f}),f},a.d=(e,f)=>{for(var r in f)a.o(f,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:f[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((f,r)=>(a.f[r](e,f),f),[])),a.u=e=>(8592===e?"common":e)+"."+{79:"edcc199a39b0c34f",97:"50ed270308fff8a6",404:"5e5af8aef5281309",681:"7bcc292db3618f14",729:"e0e78753d025d9b9",770:"07c8e52b29e505d9",933:"d8777dcd1516ba50",943:"a4594201e400e93c",1184:"9ee6366983dd8c9f",1192:"1161ffe4599e655e",1499:"1bcb5b3f2a6a1e89",1597:"ed80e16d49081efd",1655:"9618a309d2f34214",1711:"eea54ad8a7529740",1798:"c32eec679b58ec3f",1806:"cd22bea928ef2c97",1875:"638a9575e034ae9e",2043:"b7848c965aa73a21",2077:"cac92e8b07c8ce57",2156:"ecd7c288052ded7d",2186:"1f50c4fe72944294",2294:"9818a69a12d743df",2379:"c9fce64ba9a7c959",2579:"938ee89495d8a513",3218:"924bd5cde3d1e764",3547:"440d261bb7a45613",3883:"71e6689a3500da34",4024:"07ced42d6546c0ef",4038:"8dc8445aa4f19fdd",4355:"4386fbf1d0ea470e",4368:"f8f7c2083991c012",4579:"b42b3cfa2c0bfb4f",4637:"92c61fd0894ee7dd",4824:"0de1fbb7a4d99eab",5291:"d8615f40ced2bb98",5300:"aee90e7cda6d8ca9",5376:"2cece4bcacd26b39",5465:"8aa4e716762a05ff",5566:"f83e215cf9db82c6",5714:"7ceb10e7de467947",6343:"f14f0d0764b0efdd",6724:"4d550e9e44b34d73",7215:"2dede06be9e2d55f",7301:"36d7c35e2c690965",7717:"17225d5d4dbee03e",8103:"cfb73c0b48084050",8592:"5c82d3c1f0bc6d60",8667:"17a3b1aa4be56e18",8891:"08ffd20d3732aa22",8951:"dcfef90be029332d",9221:"1063d4dc30d23675",9246:"f420f906a257bef2",9397:"de8aea4b189d6aa0",9409:"e8a9f8595e5c4989",9526:"a5a4d10c8d4f9f43",9636:"2ad9d4a0edf91a15",9716:"75cd06843e3c8e35",9761:"d8b5c2efb009faa4",9896:"45d9ccf8c4a64da9"}[e]+".js",a.miniCssF=e=>{},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="main:";a.l=(r,b,c,d)=>{if(e[r])e[r].push(b);else{var t,u;if(void 0!==c)for(var n=document.getElementsByTagName("script"),o=0;o{t.onerror=t.onload=null,clearTimeout(s);var _=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(h=>h(p)),g)return g(p)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),u&&document.head.appendChild(t)}}})(),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),a.tu=e=>a.tt().createScriptURL(e),a.p="",(()=>{var e={3666:0};a.f.j=(b,c)=>{var d=a.o(e,b)?e[b]:void 0;if(0!==d)if(d)c.push(d[2]);else if(3666!=b){var t=new Promise((i,l)=>d=e[b]=[i,l]);c.push(d[2]=t);var u=a.p+a.u(b),n=new Error;a.l(u,i=>{if(a.o(e,b)&&(0!==(d=e[b])&&(e[b]=void 0),d)){var l=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;n.message="Loading chunk "+b+" failed.\n("+l+": "+s+")",n.name="ChunkLoadError",n.type=l,n.request=s,d[1](n)}},"chunk-"+b,b)}else e[b]=0},a.O.j=b=>0===e[b];var f=(b,c)=>{var n,o,[d,t,u]=c,i=0;if(d.some(s=>0!==e[s])){for(n in t)a.o(t,n)&&(a.m[n]=t[n]);if(u)var l=u(a)}for(b&&b(c);i*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon>.anticon{line-height:0;vertical-align:0}.anticon[tabindex]{cursor:pointer}.anticon-spin:before{display:inline-block;animation:loadingCircle 1s infinite linear}.anticon-spin{display:inline-block;animation:loadingCircle 1s infinite linear}.ant-fade-enter,.ant-fade-appear,.ant-fade-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-fade-enter.ant-fade-enter-active,.ant-fade-appear.ant-fade-appear-active{animation-name:antFadeIn;animation-play-state:running}.ant-fade-leave.ant-fade-leave-active{animation-name:antFadeOut;animation-play-state:running;pointer-events:none}.ant-fade-enter,.ant-fade-appear{opacity:0;animation-timing-function:linear}.ant-fade-leave{animation-timing-function:linear}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.ant-move-up-enter,.ant-move-up-appear,.ant-move-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-up-enter.ant-move-up-enter-active,.ant-move-up-appear.ant-move-up-appear-active{animation-name:antMoveUpIn;animation-play-state:running}.ant-move-up-leave.ant-move-up-leave-active{animation-name:antMoveUpOut;animation-play-state:running;pointer-events:none}.ant-move-up-enter,.ant-move-up-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-up-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-down-enter,.ant-move-down-appear,.ant-move-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-down-enter.ant-move-down-enter-active,.ant-move-down-appear.ant-move-down-appear-active{animation-name:antMoveDownIn;animation-play-state:running}.ant-move-down-leave.ant-move-down-leave-active{animation-name:antMoveDownOut;animation-play-state:running;pointer-events:none}.ant-move-down-enter,.ant-move-down-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-down-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-left-enter,.ant-move-left-appear,.ant-move-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-left-enter.ant-move-left-enter-active,.ant-move-left-appear.ant-move-left-appear-active{animation-name:antMoveLeftIn;animation-play-state:running}.ant-move-left-leave.ant-move-left-leave-active{animation-name:antMoveLeftOut;animation-play-state:running;pointer-events:none}.ant-move-left-enter,.ant-move-left-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-left-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-right-enter,.ant-move-right-appear,.ant-move-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-right-enter.ant-move-right-enter-active,.ant-move-right-appear.ant-move-right-appear-active{animation-name:antMoveRightIn;animation-play-state:running}.ant-move-right-leave.ant-move-right-leave-active{animation-name:antMoveRightOut;animation-play-state:running;pointer-events:none}.ant-move-right-enter,.ant-move-right-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-right-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftIn{0%{transform:translate(-100%);transform-origin:0 0;opacity:0}to{transform:translate(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftOut{0%{transform:translate(0);transform-origin:0 0;opacity:1}to{transform:translate(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightIn{0%{transform:translate(100%);transform-origin:0 0;opacity:0}to{transform:translate(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightOut{0%{transform:translate(0);transform-origin:0 0;opacity:1}to{transform:translate(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes loadingCircle{to{transform:rotate(360deg)}}[ant-click-animating=true],[ant-click-animating-without-extra-node=true]{position:relative}html{--antd-wave-shadow-color: #1890ff;--scroll-bar: 0}[ant-click-animating-without-extra-node=true]:after,.ant-click-animating-node{position:absolute;inset:0;display:block;border-radius:inherit;box-shadow:0 0 #1890ff;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation-fill-mode:forwards;content:"";pointer-events:none}@keyframes waveEffect{to{box-shadow:0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes fadeEffect{to{opacity:0}}.ant-slide-up-enter,.ant-slide-up-appear,.ant-slide-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-up-enter.ant-slide-up-enter-active,.ant-slide-up-appear.ant-slide-up-appear-active{animation-name:antSlideUpIn;animation-play-state:running}.ant-slide-up-leave.ant-slide-up-leave-active{animation-name:antSlideUpOut;animation-play-state:running;pointer-events:none}.ant-slide-up-enter,.ant-slide-up-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-up-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-down-enter,.ant-slide-down-appear,.ant-slide-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-down-enter.ant-slide-down-enter-active,.ant-slide-down-appear.ant-slide-down-appear-active{animation-name:antSlideDownIn;animation-play-state:running}.ant-slide-down-leave.ant-slide-down-leave-active{animation-name:antSlideDownOut;animation-play-state:running;pointer-events:none}.ant-slide-down-enter,.ant-slide-down-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-down-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-left-enter,.ant-slide-left-appear,.ant-slide-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-left-enter.ant-slide-left-enter-active,.ant-slide-left-appear.ant-slide-left-appear-active{animation-name:antSlideLeftIn;animation-play-state:running}.ant-slide-left-leave.ant-slide-left-leave-active{animation-name:antSlideLeftOut;animation-play-state:running;pointer-events:none}.ant-slide-left-enter,.ant-slide-left-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-left-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-right-enter,.ant-slide-right-appear,.ant-slide-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-right-enter.ant-slide-right-enter-active,.ant-slide-right-appear.ant-slide-right-appear-active{animation-name:antSlideRightIn;animation-play-state:running}.ant-slide-right-leave.ant-slide-right-leave-active{animation-name:antSlideRightOut;animation-play-state:running;pointer-events:none}.ant-slide-right-enter,.ant-slide-right-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-right-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0% 0%;opacity:0}to{transform:scaleY(1);transform-origin:0% 0%;opacity:1}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0% 0%;opacity:1}to{transform:scaleY(.8);transform-origin:0% 0%;opacity:0}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0% 0%;opacity:0}to{transform:scaleX(1);transform-origin:0% 0%;opacity:1}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0% 0%;opacity:1}to{transform:scaleX(.8);transform-origin:0% 0%;opacity:0}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0%;opacity:0}to{transform:scaleX(1);transform-origin:100% 0%;opacity:1}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0%;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0%;opacity:0}}.ant-zoom-enter,.ant-zoom-appear,.ant-zoom-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-enter.ant-zoom-enter-active,.ant-zoom-appear.ant-zoom-appear-active{animation-name:antZoomIn;animation-play-state:running}.ant-zoom-leave.ant-zoom-leave-active{animation-name:antZoomOut;animation-play-state:running;pointer-events:none}.ant-zoom-enter,.ant-zoom-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-enter-prepare,.ant-zoom-appear-prepare{transform:none}.ant-zoom-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-enter,.ant-zoom-big-appear,.ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-enter.ant-zoom-big-enter-active,.ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-enter,.ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-enter-prepare,.ant-zoom-big-appear-prepare{transform:none}.ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-fast-enter,.ant-zoom-big-fast-appear,.ant-zoom-big-fast-leave{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active,.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-fast-leave.ant-zoom-big-fast-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-fast-enter,.ant-zoom-big-fast-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-fast-enter-prepare,.ant-zoom-big-fast-appear-prepare{transform:none}.ant-zoom-big-fast-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-up-enter,.ant-zoom-up-appear,.ant-zoom-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-up-enter.ant-zoom-up-enter-active,.ant-zoom-up-appear.ant-zoom-up-appear-active{animation-name:antZoomUpIn;animation-play-state:running}.ant-zoom-up-leave.ant-zoom-up-leave-active{animation-name:antZoomUpOut;animation-play-state:running;pointer-events:none}.ant-zoom-up-enter,.ant-zoom-up-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-up-enter-prepare,.ant-zoom-up-appear-prepare{transform:none}.ant-zoom-up-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-down-enter,.ant-zoom-down-appear,.ant-zoom-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-down-enter.ant-zoom-down-enter-active,.ant-zoom-down-appear.ant-zoom-down-appear-active{animation-name:antZoomDownIn;animation-play-state:running}.ant-zoom-down-leave.ant-zoom-down-leave-active{animation-name:antZoomDownOut;animation-play-state:running;pointer-events:none}.ant-zoom-down-enter,.ant-zoom-down-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-down-enter-prepare,.ant-zoom-down-appear-prepare{transform:none}.ant-zoom-down-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-left-enter,.ant-zoom-left-appear,.ant-zoom-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-left-enter.ant-zoom-left-enter-active,.ant-zoom-left-appear.ant-zoom-left-appear-active{animation-name:antZoomLeftIn;animation-play-state:running}.ant-zoom-left-leave.ant-zoom-left-leave-active{animation-name:antZoomLeftOut;animation-play-state:running;pointer-events:none}.ant-zoom-left-enter,.ant-zoom-left-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-left-enter-prepare,.ant-zoom-left-appear-prepare{transform:none}.ant-zoom-left-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-right-enter,.ant-zoom-right-appear,.ant-zoom-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-right-enter.ant-zoom-right-enter-active,.ant-zoom-right-appear.ant-zoom-right-appear-active{animation-name:antZoomRightIn;animation-play-state:running}.ant-zoom-right-leave.ant-zoom-right-leave-active{animation-name:antZoomRightOut;animation-play-state:running;pointer-events:none}.ant-zoom-right-enter,.ant-zoom-right-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-right-enter-prepare,.ant-zoom-right-appear-prepare{transform:none}.ant-zoom-right-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0%;opacity:0}to{transform:scale(1);transform-origin:50% 0%}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0%}to{transform:scale(.8);transform-origin:50% 0%;opacity:0}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0% 50%;opacity:0}to{transform:scale(1);transform-origin:0% 50%}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0% 50%}to{transform:scale(.8);transform-origin:0% 50%;opacity:0}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse-legacy-active{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden;transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:1000}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-backdrop{inset:0;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0;position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-backdrop.ant-modal-mask{opacity:1}.cdk-overlay-pane{position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-global-scrollblock body{overflow-x:visible}.nz-overlay-transparent-backdrop,.nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.nz-animate-disabled.ant-scroll-number-only,.nz-animate-disabled.ant-drawer.ant-drawer-open .ant-drawer-mask{animation:none;transition:none}.nz-animate-disabled.ant-drawer>*{transition:none}.nz-animate-disabled .ant-modal-mask,.nz-animate-disabled .ant-modal,.nz-animate-disabled .ant-modal-mask.zoom-enter,.nz-animate-disabled .ant-modal.zoom-enter,.nz-animate-disabled .ant-modal-mask.zoom-leave,.nz-animate-disabled .ant-modal.zoom-leave,.nz-animate-disabled .ant-modal-mask.zoom-enter-active,.nz-animate-disabled .ant-modal.zoom-enter-active,.nz-animate-disabled .ant-modal-mask.zoom-leave-active,.nz-animate-disabled .ant-modal.zoom-leave-active{animation:none;transition:none}.nz-animate-disabled.ant-menu,.nz-animate-disabled.ant-menu .ant-menu-item,.nz-animate-disabled.ant-menu .ant-menu-submenu-title,.nz-animate-disabled.ant-menu .ant-menu-item .anticon,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon{transition:none}.nz-animate-disabled.ant-menu .ant-menu-item .anticon+span,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon+span{transition:none}.nz-animate-disabled.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs.ant-tabs-left .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-right .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-top .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-bottom .ant-tabs-ink-bar-animated{transition:none}.nz-animate-disabled.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transition:none}.ant-affix{position:fixed;z-index:10}nz-affix{display:block}.ant-alert{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:center;padding:8px 15px;word-wrap:break-word;border-radius:2px}.ant-alert-content{flex:1;min-width:0}.ant-alert-icon{margin-right:4px}.ant-alert-description{display:none;font-size:12px;line-height:20px}.ant-alert-success{background-color:#f6ffed;border:1px solid #b7eb8f}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{background-color:#fffbe6;border:1px solid #ffe58f}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{background-color:#fff2f0;border:1px solid #ffccc7}.ant-alert-error .ant-alert-icon{color:#ff4d4f}.ant-alert-error .ant-alert-description>pre{margin:0;padding:0}.ant-alert-action{margin-left:4px}.ant-alert-close-icon{margin-left:4px;padding:0;overflow:hidden;font-size:12px;line-height:12px;background-color:transparent;border:none;outline:none;cursor:pointer}.ant-alert-close-icon .anticon-close{color:#00000073;transition:color .3s}.ant-alert-close-icon .anticon-close:hover{color:#000000bf}.ant-alert-close-text{color:#00000073;transition:color .3s}.ant-alert-close-text:hover{color:#000000bf}.ant-alert-with-description{align-items:flex-start;padding:11px 15px 7px 20px}.ant-alert-with-description.ant-alert-no-icon{padding:7px 15px}.ant-alert-with-description .ant-alert-icon{margin-right:11px;font-size:20px}.ant-alert-with-description .ant-alert-message{display:block;margin-bottom:4px;color:#000000d9;font-size:14px}.ant-alert-message{color:#000000d9}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-motion-leave{overflow:hidden;opacity:1;transition:max-height .3s cubic-bezier(.78,.14,.15,.86),opacity .3s cubic-bezier(.78,.14,.15,.86),padding-top .3s cubic-bezier(.78,.14,.15,.86),padding-bottom .3s cubic-bezier(.78,.14,.15,.86),margin-bottom .3s cubic-bezier(.78,.14,.15,.86)}.ant-alert.ant-alert-motion-leave-active{max-height:0;margin-bottom:0!important;padding-top:0;padding-bottom:0;opacity:0}.ant-alert-banner{margin-bottom:0;border:0;border-radius:0}.ant-alert.ant-alert-rtl{direction:rtl}.ant-alert-rtl .ant-alert-icon{margin-right:auto;margin-left:4px}.ant-alert-rtl .ant-alert-action,.ant-alert-rtl .ant-alert-close-icon{margin-right:4px;margin-left:auto}.ant-alert-rtl.ant-alert-with-description{padding-right:20px;padding-left:11px}.ant-alert-rtl.ant-alert-with-description .ant-alert-icon{margin-right:auto;margin-left:11px}nz-alert{display:block}.ant-alert-icon{line-height:1}.ant-anchor{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;padding:0 0 0 2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:transparent}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#f0f0f0;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #1890ff;border-radius:8px;transform:translate(-50%);transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor-fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:4px 0 4px 16px}.ant-anchor-link-title{position:relative;display:block;margin-bottom:3px;overflow:hidden;color:#000000d9;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}.ant-anchor-link .ant-anchor-link{padding-top:2px;padding-bottom:2px}.ant-anchor-rtl{direction:rtl}.ant-anchor-rtl.ant-anchor-wrapper{margin-right:-4px;margin-left:0;padding-right:4px;padding-left:0}.ant-anchor-rtl .ant-anchor-ink{right:0;left:auto}.ant-anchor-rtl .ant-anchor-ink-ball{right:50%;left:0;transform:translate(50%)}.ant-anchor-rtl .ant-anchor-link{padding:4px 16px 4px 0}nz-link{display:block}.ant-avatar{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;overflow:hidden;color:#fff;white-space:nowrap;text-align:center;vertical-align:middle;background:#ccc;width:28px;height:28px;line-height:28px;border-radius:50%}.ant-avatar-image{background:transparent}.ant-avatar .ant-image-img{display:block}.ant-avatar-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar.ant-avatar-icon{font-size:16px}.ant-avatar.ant-avatar-icon>.anticon{margin:0}.ant-avatar-lg{width:32px;height:32px;line-height:32px;border-radius:50%}.ant-avatar-lg-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-lg.ant-avatar-icon{font-size:20px}.ant-avatar-lg.ant-avatar-icon>.anticon{margin:0}.ant-avatar-sm{width:22px;height:22px;line-height:22px;border-radius:50%}.ant-avatar-sm-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-sm.ant-avatar-icon{font-size:12px}.ant-avatar-sm.ant-avatar-icon>.anticon{margin:0}.ant-avatar-square{border-radius:2px}.ant-avatar>img{display:block;width:100%;height:100%;object-fit:cover}.ant-avatar-group{display:inline-flex}.ant-avatar-group .ant-avatar{border:1px solid #fff}.ant-avatar-group .ant-avatar:not(:first-child){margin-left:-8px}.ant-avatar-group-popover .ant-avatar+.ant-avatar{margin-left:3px}.ant-avatar-group-rtl .ant-avatar:not(:first-child){margin-right:-8px;margin-left:0}.ant-avatar-group-popover.ant-popover-rtl .ant-avatar+.ant-avatar{margin-right:3px;margin-left:0}.ant-back-top{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:fixed;right:100px;bottom:50px;z-index:10;width:40px;height:40px;cursor:pointer}.ant-back-top:empty{display:none}.ant-back-top-rtl{right:auto;left:100px;direction:rtl}.ant-back-top-content{width:40px;height:40px;overflow:hidden;color:#fff;text-align:center;background-color:#00000073;border-radius:20px;transition:all .3s}.ant-back-top-content:hover{background-color:#000000d9;transition:all .3s}.ant-back-top-icon{font-size:24px;line-height:40px}@media screen and (max-width: 768px){.ant-back-top{right:60px}.ant-back-top-rtl{right:auto;left:60px}}@media screen and (max-width: 480px){.ant-back-top{right:20px}.ant-back-top-rtl{right:auto;left:20px}}.ant-badge{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;line-height:1}.ant-badge-count{z-index:auto;min-width:18px;height:18px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-align:center;background:#ff4d4f;border-radius:9px;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-count-sm{min-width:14px;height:14px;padding:0;font-size:12px;line-height:14px;border-radius:7px}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{z-index:auto;width:6px;min-width:6px;height:6px;background:#ff4d4f;border-radius:100%;box-shadow:0 0 0 1px #fff}.ant-badge-dot.ant-scroll-number{transition:background 1.5s}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0%}.ant-badge-count.anticon-spin,.ant-badge-dot.anticon-spin,.ant-badge .ant-scroll-number-custom-component.anticon-spin{animation:antBadgeLoadingCircle 1s infinite linear}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;animation:antStatusProcessing 1.2s infinite ease-in-out;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#ff4d4f}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-pink,.ant-badge-status-magenta{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:#000000d9;font-size:12px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation-fill-mode:both}.ant-badge-zoom-leave{animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation-fill-mode:both}.ant-badge-not-a-wrapper .ant-badge-zoom-appear,.ant-badge-not-a-wrapper .ant-badge-zoom-enter{animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46)}.ant-badge-not-a-wrapper .ant-badge-zoom-leave{animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6)}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number-custom-component,.ant-badge-not-a-wrapper .ant-badge-count{transform:none}.ant-badge-not-a-wrapper .ant-scroll-number-custom-component,.ant-badge-not-a-wrapper .ant-scroll-number{position:relative;top:auto;display:block;transform-origin:50% 50%}@keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden;direction:ltr}.ant-scroll-number-only{position:relative;display:inline-block;height:18px;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:18px;margin:0;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-symbol{vertical-align:top}@keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@keyframes antBadgeLoadingCircle{0%{transform-origin:50%}to{transform:translate(50%,-50%) rotate(360deg);transform-origin:50%}}.ant-ribbon-wrapper{position:relative}.ant-ribbon{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:8px;height:22px;padding:0 8px;color:#fff;line-height:22px;white-space:nowrap;background-color:#1890ff;border-radius:2px}.ant-ribbon-text{color:#fff}.ant-ribbon-corner{position:absolute;top:100%;width:8px;height:8px;color:currentcolor;border:4px solid;transform:scaleY(.75);transform-origin:top}.ant-ribbon-corner:after{position:absolute;top:-4px;left:-4px;width:inherit;height:inherit;color:#00000040;border:inherit;content:""}.ant-ribbon-color-pink,.ant-ribbon-color-magenta{color:#eb2f96;background:#eb2f96}.ant-ribbon-color-red{color:#f5222d;background:#f5222d}.ant-ribbon-color-volcano{color:#fa541c;background:#fa541c}.ant-ribbon-color-orange{color:#fa8c16;background:#fa8c16}.ant-ribbon-color-yellow{color:#fadb14;background:#fadb14}.ant-ribbon-color-gold{color:#faad14;background:#faad14}.ant-ribbon-color-cyan{color:#13c2c2;background:#13c2c2}.ant-ribbon-color-lime{color:#a0d911;background:#a0d911}.ant-ribbon-color-green{color:#52c41a;background:#52c41a}.ant-ribbon-color-blue{color:#1890ff;background:#1890ff}.ant-ribbon-color-geekblue{color:#2f54eb;background:#2f54eb}.ant-ribbon-color-purple{color:#722ed1;background:#722ed1}.ant-ribbon.ant-ribbon-placement-end{right:-8px;border-bottom-right-radius:0}.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner{right:0;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon.ant-ribbon-placement-start{left:-8px;border-bottom-left-radius:0}.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner{left:0;border-color:currentcolor currentcolor transparent transparent}.ant-badge-rtl{direction:rtl}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-count,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-dot,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;direction:ltr;transform:translate(-50%,-50%);transform-origin:0% 0%}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;transform:translate(-50%,-50%);transform-origin:0% 0%}.ant-badge-rtl .ant-badge-status-text{margin-right:8px;margin-left:0}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-appear,.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-enter{animation-name:antZoomBadgeInRtl}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-leave{animation-name:antZoomBadgeOutRtl}.ant-ribbon-rtl{direction:rtl}.ant-ribbon-rtl.ant-ribbon-placement-end{right:unset;left:-8px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner{right:unset;left:0;border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner:after{border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-start{right:-8px;left:unset;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner{right:0;left:unset;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner:after{border-color:currentcolor transparent transparent currentcolor}@keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}.ant-badge .ant-scroll-number:only-child{position:relative;top:auto;display:block}.ant-badge .ant-badge-count:only-child{transform:none}nz-ribbon{display:block}.ant-breadcrumb{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";color:#00000073;font-size:12px}.ant-breadcrumb .anticon{font-size:12px}.ant-breadcrumb ol{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.ant-breadcrumb a{color:#00000073;transition:color .3s}.ant-breadcrumb a:hover{color:#000000d9}.ant-breadcrumb li:last-child{color:#000000d9}.ant-breadcrumb li:last-child a{color:#000000d9}li:last-child .ant-breadcrumb-separator{display:none}.ant-breadcrumb-separator{margin:0 4px;color:#00000073}.ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-link>.anticon+a{margin-left:4px}.ant-breadcrumb-overlay-link>.anticon{margin-left:4px}.ant-breadcrumb-rtl{direction:rtl}.ant-breadcrumb-rtl:before{display:table;content:""}.ant-breadcrumb-rtl:after{display:table;clear:both;content:""}.ant-breadcrumb-rtl>span{float:right}.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+a{margin-right:4px;margin-left:0}.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link>.anticon{margin-right:4px;margin-left:0}.ant-breadcrumb-link .anticon+span{margin-left:4px}.ant-breadcrumb>nz-breadcrumb-item:last-child{color:#000000d9}.ant-breadcrumb>nz-breadcrumb-item:last-child a{color:#000000d9}.ant-breadcrumb-rtl>nz-breadcrumb-item{float:right}nz-breadcrumb{display:block}nz-breadcrumb-item:last-child .ant-breadcrumb-separator{display:none}.ant-btn{line-height:1.66667;position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;border:1px solid transparent;box-shadow:0 2px #00000004;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;user-select:none;touch-action:manipulation;height:28px;padding:3px 11px;font-size:12px;border-radius:2px;color:#000000d9;border-color:#d9d9d9;background:#fff}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{text-decoration:none}.ant-btn:not([disabled]):active{outline:0;box-shadow:none}.ant-btn[disabled]{cursor:not-allowed}.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{height:32px;padding:3.3px 11px;font-size:14px;border-radius:2px}.ant-btn-sm{height:22px;padding:0 7px;font-size:12px;border-radius:2px}.ant-btn>a:only-child{color:currentcolor}.ant-btn>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn:hover,.ant-btn:focus{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn:hover>a:only-child,.ant-btn:focus>a:only-child{color:currentcolor}.ant-btn:hover>a:only-child:after,.ant-btn:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn:active>a:only-child{color:currentcolor}.ant-btn:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn[disabled],.ant-btn[disabled]:hover,.ant-btn[disabled]:focus,.ant-btn[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn[disabled]>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:active>a:only-child{color:currentcolor}.ant-btn[disabled]>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn:hover,.ant-btn:focus,.ant-btn:active{text-decoration:none;background:#fff}.ant-btn>span{display:inline-block}.ant-btn-primary{color:#fff;border-color:#1890ff;background:#1890ff;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b}.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-primary>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-primary:hover,.ant-btn-primary:focus{color:#fff;border-color:#40a9ff;background:#40a9ff}.ant-btn-primary:hover>a:only-child,.ant-btn-primary:focus>a:only-child{color:currentcolor}.ant-btn-primary:hover>a:only-child:after,.ant-btn-primary:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-primary:active{color:#fff;border-color:#096dd9;background:#096dd9}.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-primary:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:hover,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-primary[disabled]>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:active>a:only-child{color:currentcolor}.ant-btn-primary[disabled]>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary:last-child:not(:first-child),.ant-btn-group .ant-btn-primary+.ant-btn-primary{border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:#000000d9;border-color:#d9d9d9;background:transparent}.ant-btn-ghost>a:only-child{color:currentcolor}.ant-btn-ghost>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-ghost:hover,.ant-btn-ghost:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-ghost:hover>a:only-child,.ant-btn-ghost:focus>a:only-child{color:currentcolor}.ant-btn-ghost:hover>a:only-child:after,.ant-btn-ghost:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-ghost:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-ghost:active>a:only-child{color:currentcolor}.ant-btn-ghost:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-ghost[disabled],.ant-btn-ghost[disabled]:hover,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-ghost[disabled]>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:active>a:only-child{color:currentcolor}.ant-btn-ghost[disabled]>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed{color:#000000d9;border-color:#d9d9d9;background:#fff;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentcolor}.ant-btn-dashed>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed:hover,.ant-btn-dashed:focus{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn-dashed:hover>a:only-child,.ant-btn-dashed:focus>a:only-child{color:currentcolor}.ant-btn-dashed:hover>a:only-child:after,.ant-btn-dashed:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn-dashed:active>a:only-child{color:currentcolor}.ant-btn-dashed:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed[disabled],.ant-btn-dashed[disabled]:hover,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dashed[disabled]>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dashed[disabled]>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b}.ant-btn-danger>a:only-child{color:currentcolor}.ant-btn-danger>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger:hover,.ant-btn-danger:focus{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-danger:hover>a:only-child,.ant-btn-danger:focus>a:only-child{color:currentcolor}.ant-btn-danger:hover>a:only-child:after,.ant-btn-danger:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-danger:active>a:only-child{color:currentcolor}.ant-btn-danger:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger[disabled],.ant-btn-danger[disabled]:hover,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-danger[disabled]>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:active>a:only-child{color:currentcolor}.ant-btn-danger[disabled]>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link{color:#1890ff;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-link>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link:hover,.ant-btn-link:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-link:hover>a:only-child,.ant-btn-link:focus>a:only-child{color:currentcolor}.ant-btn-link:hover>a:only-child:after,.ant-btn-link:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-link:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link[disabled],.ant-btn-link[disabled]:hover,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-link:hover{background:transparent}.ant-btn-link:hover,.ant-btn-link:focus,.ant-btn-link:active{border-color:transparent}.ant-btn-link[disabled],.ant-btn-link[disabled]:hover,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-link[disabled]>a:only-child,.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-link[disabled]:active>a:only-child{color:currentcolor}.ant-btn-link[disabled]>a:only-child:after,.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-link[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text{color:#000000d9;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-text>a:only-child{color:currentcolor}.ant-btn-text>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text:hover,.ant-btn-text:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-text:hover>a:only-child,.ant-btn-text:focus>a:only-child{color:currentcolor}.ant-btn-text:hover>a:only-child:after,.ant-btn-text:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-text:active>a:only-child{color:currentcolor}.ant-btn-text:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text[disabled],.ant-btn-text[disabled]:hover,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-text:hover,.ant-btn-text:focus{color:#000000d9;background:rgba(0,0,0,.018);border-color:transparent}.ant-btn-text:active{color:#000000d9;background:rgba(0,0,0,.028);border-color:transparent}.ant-btn-text[disabled],.ant-btn-text[disabled]:hover,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-text[disabled]>a:only-child,.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-text[disabled]:active>a:only-child{color:currentcolor}.ant-btn-text[disabled]>a:only-child:after,.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-text[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;background:#fff}.ant-btn-dangerous>a:only-child{color:currentcolor}.ant-btn-dangerous>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous:hover,.ant-btn-dangerous:focus{color:#ff7875;border-color:#ff7875;background:#fff}.ant-btn-dangerous:hover>a:only-child,.ant-btn-dangerous:focus>a:only-child{color:currentcolor}.ant-btn-dangerous:hover>a:only-child:after,.ant-btn-dangerous:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e;background:#fff}.ant-btn-dangerous:active>a:only-child{color:currentcolor}.ant-btn-dangerous:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous[disabled],.ant-btn-dangerous[disabled]:hover,.ant-btn-dangerous[disabled]:focus,.ant-btn-dangerous[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous[disabled]>a:only-child,.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-dangerous[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous[disabled]>a:only-child:after,.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-dangerous[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b}.ant-btn-dangerous.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:hover,.ant-btn-dangerous.ant-btn-primary:focus{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-dangerous.ant-btn-primary:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary:focus>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-dangerous.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary[disabled],.ant-btn-dangerous.ant-btn-primary[disabled]:hover,.ant-btn-dangerous.ant-btn-primary[disabled]:focus,.ant-btn-dangerous.ant-btn-primary[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:hover,.ant-btn-dangerous.ant-btn-link:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-dangerous.ant-btn-link:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:hover,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link:hover,.ant-btn-dangerous.ant-btn-link:focus{color:#ff7875;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:hover>a:only-child,.ant-btn-dangerous.ant-btn-link:focus>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:hover,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text{color:#ff4d4f;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-text>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:hover,.ant-btn-dangerous.ant-btn-text:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-dangerous.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:hover,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text:hover,.ant-btn-dangerous.ant-btn-text:focus{color:#ff7875;border-color:transparent;background:rgba(0,0,0,.018)}.ant-btn-dangerous.ant-btn-text:hover>a:only-child,.ant-btn-dangerous.ant-btn-text:focus>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:active{color:#d9363e;border-color:transparent;background:rgba(0,0,0,.028)}.ant-btn-dangerous.ant-btn-text:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:hover,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-icon-only{width:28px;height:28px;padding:1.3px 0;font-size:14px;border-radius:2px;vertical-align:-3px}.ant-btn-icon-only>*{font-size:14px}.ant-btn-icon-only.ant-btn-lg{width:32px;height:32px;padding:1.7px 0;font-size:16px;border-radius:2px}.ant-btn-icon-only.ant-btn-lg>*{font-size:16px}.ant-btn-icon-only.ant-btn-sm{width:22px;height:22px;padding:0;font-size:12px;border-radius:2px}.ant-btn-icon-only.ant-btn-sm>*{font-size:12px}.ant-btn-icon-only>.anticon{display:flex;justify-content:center}a.ant-btn-icon-only{vertical-align:-1px}a.ant-btn-icon-only>.anticon{display:inline}.ant-btn-round{height:28px;padding:3px 14px;font-size:12px;border-radius:28px}.ant-btn-round.ant-btn-lg{height:32px;padding:3.3px 16px;font-size:14px;border-radius:32px}.ant-btn-round.ant-btn-sm{height:22px;padding:0 11px;font-size:12px;border-radius:22px}.ant-btn-round.ant-btn-icon-only{width:auto}.ant-btn-circle{min-width:28px;padding-right:0;padding-left:0;text-align:center;border-radius:50%}.ant-btn-circle.ant-btn-lg{min-width:32px;border-radius:50%}.ant-btn-circle.ant-btn-sm{min-width:22px;border-radius:50%}.ant-btn:before{position:absolute;inset:-1px;z-index:1;display:none;background:#fff;border-radius:inherit;opacity:.35;transition:opacity .2s;content:"";pointer-events:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645,.045,.355,1)}.ant-btn .anticon.anticon-plus>svg,.ant-btn .anticon.anticon-minus>svg{shape-rendering:optimizespeed}.ant-btn.ant-btn-loading{position:relative;cursor:default}.ant-btn.ant-btn-loading:before{display:block}.ant-btn>.ant-btn-loading-icon{transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-btn>.ant-btn-loading-icon .anticon{padding-right:4px;animation:none}.ant-btn>.ant-btn-loading-icon .anticon svg{animation:loadingCircle 1s infinite linear}.ant-btn>.ant-btn-loading-icon:only-child .anticon{padding-right:0}.ant-btn-group{position:relative;display:inline-flex}.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative}.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn:hover,.ant-btn-group>.ant-btn:focus,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>.ant-btn:active,.ant-btn-group>span>.ant-btn:active{z-index:2}.ant-btn-group>.ant-btn[disabled],.ant-btn-group>span>.ant-btn[disabled]{z-index:0}.ant-btn-group .ant-btn-icon-only{font-size:12px}.ant-btn-group .ant-btn+.ant-btn,.ant-btn+.ant-btn-group,.ant-btn-group span+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group>span+span,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child{border-radius:2px}.ant-btn-group>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group-sm>.ant-btn:only-child{border-radius:2px}.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{padding-right:8px;border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{padding-left:8px;border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-rtl.ant-btn+.ant-btn-group,.ant-btn-rtl.ant-btn-group span+.ant-btn,.ant-btn-rtl.ant-btn-group .ant-btn+span,.ant-btn-rtl.ant-btn-group>span+span,.ant-btn-rtl.ant-btn-group+.ant-btn,.ant-btn-rtl.ant-btn-group+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group-rtl.ant-btn+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group span+.ant-btn,.ant-btn-group-rtl.ant-btn-group .ant-btn+span,.ant-btn-group-rtl.ant-btn-group>span+span,.ant-btn-group-rtl.ant-btn-group+.ant-btn,.ant-btn-group-rtl.ant-btn-group+.ant-btn-group{margin-right:-1px;margin-left:auto}.ant-btn-group.ant-btn-group-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-radius:0 2px 2px 0}.ant-btn-group-rtl.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-radius:2px 0 0 2px}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-radius:0 2px 2px 0}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-radius:2px 0 0 2px}.ant-btn:focus>span,.ant-btn:active>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:4px}.ant-btn.ant-btn-background-ghost{color:#fff;border-color:#fff}.ant-btn.ant-btn-background-ghost,.ant-btn.ant-btn-background-ghost:hover,.ant-btn.ant-btn-background-ghost:active,.ant-btn.ant-btn-background-ghost:focus{background:transparent}.ant-btn.ant-btn-background-ghost:hover,.ant-btn.ant-btn-background-ghost:focus{color:#40a9ff;border-color:#40a9ff}.ant-btn.ant-btn-background-ghost:active{color:#096dd9;border-color:#096dd9}.ant-btn.ant-btn-background-ghost[disabled]{color:#00000040;background:transparent;border-color:#d9d9d9}.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;border-color:#1890ff;text-shadow:none}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:hover,.ant-btn-background-ghost.ant-btn-primary:focus{color:#40a9ff;border-color:#40a9ff}.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;border-color:#096dd9}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled]:hover,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:hover,.ant-btn-background-ghost.ant-btn-danger:focus{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled]:hover,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:hover,.ant-btn-background-ghost.ant-btn-dangerous:focus{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous[disabled],.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:transparent;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus{color:#ff7875;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>*:not(.anticon){margin-right:-.34em;letter-spacing:.34em}.ant-btn.ant-btn-block{width:100%}.ant-btn:empty{display:inline-block;width:0;visibility:hidden;content:"\a0"}a.ant-btn{padding-top:.01px!important;line-height:26px}a.ant-btn-lg{line-height:30px}a.ant-btn-sm{line-height:20px}.ant-btn-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary{border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled]{border-right-color:#d9d9d9;border-left-color:#40a9ff}.ant-btn-rtl.ant-btn>.ant-btn-loading-icon .anticon{padding-right:0;padding-left:4px}.ant-btn>.ant-btn-loading-icon:only-child .anticon{padding-right:0;padding-left:0}.ant-btn-rtl.ant-btn>.anticon+span,.ant-btn-rtl.ant-btn>span+.anticon{margin-right:8px;margin-left:0}.ant-card{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;background:#fff;border-radius:2px}.ant-card-rtl{direction:rtl}.ant-card-hoverable{cursor:pointer;transition:box-shadow .3s,border-color .3s}.ant-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px #00000029,0 3px 6px #0000001f,0 5px 12px 4px #00000017}.ant-card-bordered{border:1px solid #f0f0f0}.ant-card-head{min-height:36px;margin-bottom:-1px;padding:0 12px;color:#000000d9;font-weight:500;font-size:12px;background:transparent;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-card-head:before{display:table;content:""}.ant-card-head:after{display:table;clear:both;content:""}.ant-card-head-wrapper{display:flex;align-items:center}.ant-card-head-title{display:inline-block;flex:1;padding:8.5px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-card-head-title>.ant-typography,.ant-card-head-title>.ant-typography-edit-content{left:0;margin-top:0;margin-bottom:0}.ant-card-head .ant-tabs-top{clear:both;margin-bottom:-9px;color:#000000d9;font-weight:400;font-size:12px}.ant-card-head .ant-tabs-top-bar{border-bottom:1px solid #f0f0f0}.ant-card-extra{float:right;margin-left:auto;padding:8.5px 0;color:#000000d9;font-weight:400;font-size:12px}.ant-card-rtl .ant-card-extra{margin-right:auto;margin-left:0}.ant-card-body{padding:12px}.ant-card-body:before{display:table;content:""}.ant-card-body:after{display:table;clear:both;content:""}.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body{margin:-1px 0 0 -1px;padding:0}.ant-card-grid{float:left;width:33.33%;padding:12px;border:0;border-radius:0;box-shadow:1px 0 #f0f0f0,0 1px #f0f0f0,1px 1px #f0f0f0,1px 0 #f0f0f0 inset,0 1px #f0f0f0 inset;transition:all .3s}.ant-card-rtl .ant-card-grid{float:right}.ant-card-grid-hoverable:hover{position:relative;z-index:1;box-shadow:0 1px 2px -2px #00000029,0 3px 6px #0000001f,0 5px 12px 4px #00000017}.ant-card-contain-tabs>.ant-card-head .ant-card-head-title{min-height:27.5px;padding-bottom:0}.ant-card-contain-tabs>.ant-card-head .ant-card-extra{padding-bottom:0}.ant-card-bordered .ant-card-cover{margin-top:-1px;margin-right:-1px;margin-left:-1px}.ant-card-cover>*{display:block;width:100%}.ant-card-cover img{border-radius:2px 2px 0 0}.ant-card-actions{margin:0;padding:0;list-style:none;background:#fff;border-top:1px solid #f0f0f0}.ant-card-actions:before{display:table;content:""}.ant-card-actions:after{display:table;clear:both;content:""}.ant-card-actions>li{float:left;margin:4px 0;color:#00000073;text-align:center}.ant-card-rtl .ant-card-actions>li{float:right}.ant-card-actions>li>span{position:relative;display:block;min-width:32px;font-size:12px;line-height:1.66667;cursor:pointer}.ant-card-actions>li>span:hover{color:#1890ff;transition:color .3s}.ant-card-actions>li>span a:not(.ant-btn),.ant-card-actions>li>span>.anticon{display:inline-block;width:100%;color:#00000073;line-height:22px;transition:color .3s}.ant-card-actions>li>span a:not(.ant-btn):hover,.ant-card-actions>li>span>.anticon:hover{color:#1890ff}.ant-card-actions>li>span>.anticon{font-size:16px;line-height:22px}.ant-card-actions>li:not(:last-child){border-right:1px solid #f0f0f0}.ant-card-rtl .ant-card-actions>li:not(:last-child){border-right:none;border-left:1px solid #f0f0f0}.ant-card-type-inner .ant-card-head{padding:0 12px;background:#fafafa}.ant-card-type-inner .ant-card-head-title{padding:12px 0;font-size:12px}.ant-card-type-inner .ant-card-body{padding:16px 12px}.ant-card-type-inner .ant-card-extra{padding:13.5px 0}.ant-card-meta{margin:-4px 0}.ant-card-meta:before{display:table;content:""}.ant-card-meta:after{display:table;clear:both;content:""}.ant-card-meta-avatar{float:left;padding-right:16px}.ant-card-rtl .ant-card-meta-avatar{float:right;padding-right:0;padding-left:16px}.ant-card-meta-detail{overflow:hidden}.ant-card-meta-detail>div:not(:last-child){margin-bottom:4px}.ant-card-meta-title{overflow:hidden;color:#000000d9;font-weight:500;font-size:14px;white-space:nowrap;text-overflow:ellipsis}.ant-card-meta-description{color:#00000073}.ant-card-loading{overflow:hidden}.ant-card-loading .ant-card-body{-webkit-user-select:none;user-select:none}.ant-card-loading-content p{margin:0}.ant-card-loading-block{height:14px;margin:4px 0;background:linear-gradient(90deg,rgba(207,216,220,.2),rgba(207,216,220,.4),rgba(207,216,220,.2));background-size:600% 600%;border-radius:2px;animation:card-loading 1.4s ease infinite}@keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.ant-card-small>.ant-card-head{min-height:30px;padding:0 12px;font-size:12px}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-head-title{padding:6px 0}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra{padding:6px 0;font-size:12px}.ant-card-small>.ant-card-body{padding:12px}.ant-card-rtl .ant-skeleton-header{padding:0 0 0 8.5px}nz-card{display:block}nz-card-meta{display:block}nz-card-loading{display:block}.ant-carousel{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-carousel .slick-slider{position:relative;display:block;box-sizing:border-box;touch-action:pan-y;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.ant-carousel .slick-list{position:relative;display:block;margin:0;padding:0;overflow:hidden}.ant-carousel .slick-list:focus{outline:none}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-radio-input,.ant-carousel .slick-list .slick-slide input.ant-checkbox-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input{visibility:visible}.ant-carousel .slick-list .slick-slide>div>div{vertical-align:bottom}.ant-carousel .slick-slider .slick-track,.ant-carousel .slick-slider .slick-list{transform:translateZ(0);touch-action:pan-y}.ant-carousel .slick-track{position:relative;top:0;left:0;display:block}.ant-carousel .slick-track:before,.ant-carousel .slick-track:after{display:table;content:""}.ant-carousel .slick-track:after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-prev,.ant-carousel .slick-next{position:absolute;top:50%;display:block;width:20px;height:20px;margin-top:-10px;padding:0;color:transparent;font-size:0;line-height:0;background:transparent;border:0;outline:none;cursor:pointer}.ant-carousel .slick-prev:hover,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev:focus,.ant-carousel .slick-next:focus{color:transparent;background:transparent;outline:none}.ant-carousel .slick-prev:hover:before,.ant-carousel .slick-next:hover:before,.ant-carousel .slick-prev:focus:before,.ant-carousel .slick-next:focus:before{opacity:1}.ant-carousel .slick-prev.slick-disabled:before,.ant-carousel .slick-next.slick-disabled:before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev:before{content:"\2190"}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next:before{content:"\2192"}.ant-carousel .slick-dots{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex!important;justify-content:center;margin-right:15%;margin-left:15%;padding-left:0;list-style:none}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{top:12px;bottom:auto}.ant-carousel .slick-dots li{position:relative;display:inline-block;flex:0 1 auto;box-sizing:content-box;width:16px;height:3px;margin:0 3px;padding:0;text-align:center;text-indent:-999px;vertical-align:top;transition:all .5s}.ant-carousel .slick-dots li button{display:block;width:100%;height:3px;padding:0;color:transparent;font-size:0;background:#fff;border:0;border-radius:1px;outline:none;cursor:pointer;opacity:.3;transition:all .5s}.ant-carousel .slick-dots li button:hover,.ant-carousel .slick-dots li button:focus{opacity:.75}.ant-carousel .slick-dots li.slick-active{width:24px}.ant-carousel .slick-dots li.slick-active button{background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active:hover,.ant-carousel .slick-dots li.slick-active:focus{opacity:1}.ant-carousel-vertical .slick-dots{top:50%;bottom:auto;flex-direction:column;width:3px;height:auto;margin:0;transform:translateY(-50%)}.ant-carousel-vertical .slick-dots-left{right:auto;left:12px}.ant-carousel-vertical .slick-dots-right{right:12px;left:auto}.ant-carousel-vertical .slick-dots li{width:3px;height:16px;margin:4px 2px;vertical-align:baseline}.ant-carousel-vertical .slick-dots li button{width:3px;height:16px}.ant-carousel-vertical .slick-dots li.slick-active,.ant-carousel-vertical .slick-dots li.slick-active button{width:3px;height:24px}.ant-carousel-rtl{direction:rtl}.ant-carousel-rtl .ant-carousel .slick-track{right:0;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev{right:-25px;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev:before{content:"\2192"}.ant-carousel-rtl .ant-carousel .slick-next{right:auto;left:-25px}.ant-carousel-rtl .ant-carousel .slick-next:before{content:"\2190"}.ant-carousel-rtl.ant-carousel .slick-dots{flex-direction:row-reverse}.ant-carousel-rtl.ant-carousel-vertical .slick-dots{flex-direction:column}nz-carousel{display:block;position:relative;overflow:hidden;width:100%;height:100%}.slick-dots{display:block}.slick-track{opacity:1}.slick-list{direction:ltr}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner,.ant-checkbox-input:focus+.ant-checkbox-inner{border-color:#1890ff}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-checkbox:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-checkbox-checked .ant-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-checkbox-disabled .ant-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-checkbox-disabled:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox-disabled:after{visibility:hidden}.ant-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{cursor:not-allowed}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-checkbox+span{padding-right:8px;padding-left:8px}.ant-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-checkbox-group-item{margin-right:6px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-checkbox-indeterminate .ant-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-checkbox-rtl{direction:rtl}.ant-checkbox-group-rtl .ant-checkbox-group-item{margin-right:0;margin-left:6px}.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child{margin-left:0!important}.ant-checkbox-group-rtl .ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:6px}.ant-checkbox+span:empty{display:none}.ant-collapse{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background-color:#fafafa;border:1px solid #d9d9d9;border-bottom:0;border-radius:2px}.ant-collapse>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse>.ant-collapse-item:last-child,.ant-collapse>.ant-collapse-item:last-child>.ant-collapse-header{border-radius:0 0 2px 2px}.ant-collapse>.ant-collapse-item>.ant-collapse-header{position:relative;display:flex;flex-wrap:nowrap;align-items:flex-start;padding:8px;color:#000000d9;line-height:1.66667;cursor:pointer;transition:all .3s,visibility 0s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{display:inline-block;margin-right:8px;font-size:12px;vertical-align:-1px}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transition:transform .24s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{margin-left:auto}.ant-collapse>.ant-collapse-item>.ant-collapse-header:focus{outline:none}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only{cursor:default}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only .ant-collapse-header-text{cursor:pointer}.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-left:8px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header{position:relative;padding:8px 40px 8px 8px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{position:absolute;top:50%;right:8px;left:auto;margin:0;transform:translateY(-50%)}.ant-collapse-content{color:#000000d9;background-color:#fff;border-top:1px solid #d9d9d9}.ant-collapse-content>.ant-collapse-content-box{padding:8px 16px}.ant-collapse-content-hidden{display:none}.ant-collapse-item:last-child>.ant-collapse-content{border-radius:0 0 2px 2px}.ant-collapse-borderless{background-color:#fafafa;border:0}.ant-collapse-borderless>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse-borderless>.ant-collapse-item:last-child,.ant-collapse-borderless>.ant-collapse-item:last-child .ant-collapse-header{border-radius:0}.ant-collapse-borderless>.ant-collapse-item:last-child{border-bottom:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:4px}.ant-collapse-ghost{background-color:transparent;border:0}.ant-collapse-ghost>.ant-collapse-item{border-bottom:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:12px;padding-bottom:12px}.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{color:#00000040;cursor:not-allowed}.ant-collapse-rtl{direction:rtl}.ant-collapse-rtl .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:8px 40px 8px 8px}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{margin-right:0;margin-left:8px}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transform:rotate(180deg)}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{margin-right:auto;margin-left:0}.ant-collapse-rtl.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-right:8px;padding-left:0}nz-collapse{display:block}nz-collapse-panel{display:block}.ant-comment{position:relative;background-color:inherit}.ant-comment-inner{display:flex;padding:8px 0}.ant-comment-avatar{position:relative;flex-shrink:0;margin-right:8px;cursor:pointer}.ant-comment-avatar img{width:32px;height:32px;border-radius:50%}.ant-comment-content{position:relative;flex:1 1 auto;min-width:1px;font-size:12px;word-wrap:break-word}.ant-comment-content-author{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:0;font-size:12px}.ant-comment-content-author>a,.ant-comment-content-author>span{padding-right:4px;font-size:12px;line-height:18px}.ant-comment-content-author-name{color:#00000073;font-size:12px;transition:color .3s}.ant-comment-content-author-name>*{color:#00000073}.ant-comment-content-author-name>*:hover{color:#00000073}.ant-comment-content-author-time{color:#ccc;white-space:nowrap;cursor:auto}.ant-comment-content-detail p{margin-bottom:0;white-space:pre-wrap}.ant-comment-actions{margin-top:4px;margin-bottom:0;padding-left:0}.ant-comment-actions>li{display:inline-block;color:#00000073}.ant-comment-actions>li>span{margin-right:10px;color:#00000073;font-size:12px;cursor:pointer;transition:color .3s;-webkit-user-select:none;user-select:none}.ant-comment-actions>li>span:hover{color:#595959}.ant-comment-nested{margin-left:44px}.ant-comment-rtl{direction:rtl}.ant-comment-rtl .ant-comment-avatar{margin-right:0;margin-left:12px}.ant-comment-rtl .ant-comment-content-author>a,.ant-comment-rtl .ant-comment-content-author>span{padding-right:0;padding-left:8px}.ant-comment-rtl .ant-comment-actions{padding-right:0}.ant-comment-rtl .ant-comment-actions>li>span{margin-right:0;margin-left:10px}.ant-comment-rtl .ant-comment-nested{margin-right:44px;margin-left:0}nz-comment{display:block}nz-comment-content{display:block}.ant-picker-status-error.ant-picker,.ant-picker-status-error.ant-picker:not([disabled]):hover{background-color:#fff;border-color:#ff4d4f}.ant-picker-status-error.ant-picker-focused,.ant-picker-status-error.ant-picker:focus{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-picker-status-warning.ant-picker,.ant-picker-status-warning.ant-picker:not([disabled]):hover{background-color:#fff;border-color:#faad14}.ant-picker-status-warning.ant-picker-focused,.ant-picker-status-warning.ant-picker:focus{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-picker{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";padding:3px 7px;position:relative;display:inline-flex;align-items:center;background:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:border .3s,box-shadow .3s}.ant-picker:hover,.ant-picker-focused{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-picker:hover,.ant-input-rtl .ant-picker-focused{border-right-width:0;border-left-width:1px!important}.ant-picker-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-picker-focused{border-right-width:0;border-left-width:1px!important}.ant-picker.ant-picker-disabled{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-picker.ant-picker-disabled .ant-picker-suffix{color:#00000040}.ant-picker.ant-picker-borderless{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-picker-input{position:relative;display:inline-flex;align-items:center;width:100%}.ant-picker-input>input{position:relative;display:inline-block;width:100%;min-width:0;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;flex:auto;min-width:1px;height:auto;padding:0;background:transparent;border:0}.ant-picker-input>input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-picker-input>input:placeholder-shown{text-overflow:ellipsis}.ant-picker-input>input:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-picker-input>input:hover{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input:focus,.ant-picker-input>input-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-picker-input>input:focus,.ant-input-rtl .ant-picker-input>input-focused{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-picker-input>input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-picker-input>input-borderless,.ant-picker-input>input-borderless:hover,.ant-picker-input>input-borderless:focus,.ant-picker-input>input-borderless-focused,.ant-picker-input>input-borderless-disabled,.ant-picker-input>input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-picker-input>input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-picker-input>input-lg{padding:3.4px 11px;font-size:14px}.ant-picker-input>input-sm{padding:0 7px}.ant-picker-input>input-rtl{direction:rtl}.ant-picker-input>input:focus{box-shadow:none}.ant-picker-input>input[disabled]{background:transparent}.ant-picker-input:hover .ant-picker-clear{opacity:1}.ant-picker-input-placeholder>input{color:#bfbfbf}.ant-picker-large{padding:3.5px 11px}.ant-picker-large .ant-picker-input>input{font-size:14px}.ant-picker-small{padding:0 7px}.ant-picker-suffix{display:flex;flex:none;align-self:center;margin-left:2px;color:#00000040;line-height:1;pointer-events:none}.ant-picker-suffix>*{vertical-align:top}.ant-picker-suffix>*:not(:last-child){margin-right:8px}.ant-picker-clear{position:absolute;top:50%;right:0;color:#00000040;line-height:1;background:#fff;transform:translateY(-50%);cursor:pointer;opacity:0;transition:opacity .3s,color .3s}.ant-picker-clear>*{vertical-align:top}.ant-picker-clear:hover{color:#00000073}.ant-picker-separator{position:relative;display:inline-block;width:1em;height:14px;color:#00000040;font-size:14px;vertical-align:top;cursor:default}.ant-picker-focused .ant-picker-separator{color:#00000073}.ant-picker-disabled .ant-picker-range-separator .ant-picker-separator{cursor:not-allowed}.ant-picker-range{position:relative;display:inline-flex}.ant-picker-range .ant-picker-clear{right:7px}.ant-picker-range:hover .ant-picker-clear{opacity:1}.ant-picker-range .ant-picker-active-bar{bottom:-1px;height:2px;margin-left:7px;background:#1890ff;opacity:0;transition:all .3s ease-out;pointer-events:none}.ant-picker-range.ant-picker-focused .ant-picker-active-bar{opacity:1}.ant-picker-range-separator{align-items:center;padding:0 4px;line-height:1}.ant-picker-range.ant-picker-small .ant-picker-clear{right:7px}.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-left:7px}.ant-picker-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050}.ant-picker-dropdown-hidden{display:none}.ant-picker-dropdown-placement-bottomLeft .ant-picker-range-arrow{top:2.58561808px;display:block;transform:rotate(-135deg) translateY(1px)}.ant-picker-dropdown-placement-topLeft .ant-picker-range-arrow{bottom:2.58561808px;display:block;transform:rotate(45deg)}.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topRight,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomRight,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-picker-dropdown-range{padding:7.54247233px 0}.ant-picker-dropdown-range-hidden{display:none}.ant-picker-dropdown .ant-picker-panel>.ant-picker-time-panel{padding-top:2px}.ant-picker-ranges{margin-bottom:0;padding:2px 8px;overflow:hidden;line-height:28px;text-align:left;list-style:none}.ant-picker-ranges>li{display:inline-block}.ant-picker-ranges .ant-picker-preset>.ant-tag-blue{color:#1890ff;background:#e6f7ff;border-color:#91d5ff;cursor:pointer}.ant-picker-ranges .ant-picker-ok{float:right;margin-left:4px}.ant-picker-range-wrapper{display:flex}.ant-picker-range-arrow{position:absolute;z-index:1;display:none;width:11.3137085px;height:11.3137085px;margin-left:10.5px;background:linear-gradient(135deg,transparent 40%,#fff 40%);box-shadow:2px 2px 6px -2px #0000001a;transition:left .3s ease-out;border-radius:0 0 2px;pointer-events:none}.ant-picker-range-arrow:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:#fff;background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-picker-panel-container{overflow:hidden;vertical-align:top;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;transition:margin .3s}.ant-picker-panel-container .ant-picker-panels{display:inline-flex;flex-wrap:nowrap;direction:ltr}.ant-picker-panel-container .ant-picker-panel{vertical-align:top;background:transparent;border-width:0 0 1px 0;border-radius:0}.ant-picker-panel-container .ant-picker-panel .ant-picker-content,.ant-picker-panel-container .ant-picker-panel table{text-align:center}.ant-picker-panel-container .ant-picker-panel-focused{border-color:#f0f0f0}.ant-picker-panel{display:inline-flex;flex-direction:column;text-align:center;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none}.ant-picker-panel-focused{border-color:#1890ff}.ant-picker-decade-panel,.ant-picker-year-panel,.ant-picker-quarter-panel,.ant-picker-month-panel,.ant-picker-week-panel,.ant-picker-date-panel,.ant-picker-time-panel{display:flex;flex-direction:column;width:244px}.ant-picker-header{display:flex;padding:0 4px;color:#000000d9;border-bottom:1px solid #f0f0f0}.ant-picker-header>*{flex:none}.ant-picker-header button{padding:0;color:#00000040;line-height:32px;background:transparent;border:0;cursor:pointer;transition:color .3s}.ant-picker-header>button{min-width:1.6em;font-size:12px}.ant-picker-header>button:hover{color:#000000d9}.ant-picker-header-view{flex:auto;font-weight:500;line-height:32px}.ant-picker-header-view button{color:inherit;font-weight:inherit}.ant-picker-header-view button:not(:first-child){margin-left:4px}.ant-picker-header-view button:hover{color:#1890ff}.ant-picker-prev-icon,.ant-picker-next-icon,.ant-picker-super-prev-icon,.ant-picker-super-next-icon{position:relative;display:inline-block;width:7px;height:7px}.ant-picker-prev-icon:before,.ant-picker-next-icon:before,.ant-picker-super-prev-icon:before,.ant-picker-super-next-icon:before{position:absolute;top:0;left:0;display:inline-block;width:7px;height:7px;border:0 solid currentcolor;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-super-prev-icon:after,.ant-picker-super-next-icon:after{position:absolute;top:4px;left:4px;display:inline-block;width:7px;height:7px;border:0 solid currentcolor;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-prev-icon,.ant-picker-super-prev-icon{transform:rotate(-45deg)}.ant-picker-next-icon,.ant-picker-super-next-icon{transform:rotate(135deg)}.ant-picker-content{width:100%;table-layout:fixed;border-collapse:collapse}.ant-picker-content th,.ant-picker-content td{position:relative;min-width:24px;font-weight:400}.ant-picker-content th{height:30px;color:#000000d9;line-height:30px}.ant-picker-cell{padding:3px 0;color:#00000040;cursor:pointer}.ant-picker-cell-in-view{color:#000000d9}.ant-picker-cell:before{position:absolute;top:50%;right:0;left:0;z-index:1;height:22px;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background:#f5f5f5}.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{position:absolute;inset:0;z-index:1;border:1px solid #1890ff;border-radius:2px;content:""}.ant-picker-cell-in-view.ant-picker-cell-in-range{position:relative}.ant-picker-cell-in-view.ant-picker-cell-in-range:before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner{color:#fff;background:#1890ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):before,.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:before{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range):after{position:absolute;top:50%;z-index:0;height:24px;border-top:1px dashed #7ec1ff;border-bottom:1px dashed #7ec1ff;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell-range-hover-start:after,.ant-picker-cell-range-hover-end:after,.ant-picker-cell-range-hover:after{right:0;left:2px}.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start:before,.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end:before{background:#cbe6ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after,.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{position:absolute;top:0;bottom:0;z-index:-1;background:#cbe6ff;transition:all .3s;content:""}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:50%}.ant-picker-cell-range-hover.ant-picker-cell-range-end:after{left:50%}tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after{left:6px;border-left:1px dashed #7ec1ff;border-top-left-radius:2px;border-bottom-left-radius:2px}tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after{right:6px;border-right:1px dashed #7ec1ff;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-picker-cell-disabled{color:#00000040;pointer-events:none}.ant-picker-cell-disabled .ant-picker-cell-inner{background:transparent}.ant-picker-cell-disabled:before{background:rgba(0,0,0,.04)}.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#00000040}.ant-picker-decade-panel .ant-picker-content,.ant-picker-year-panel .ant-picker-content,.ant-picker-quarter-panel .ant-picker-content,.ant-picker-month-panel .ant-picker-content{height:192px}.ant-picker-decade-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-inner{padding:0 4px}.ant-picker-quarter-panel .ant-picker-content{height:56px}.ant-picker-footer{width:min-content;min-width:100%;line-height:30px;text-align:center;border-bottom:1px solid transparent}.ant-picker-panel .ant-picker-footer{border-top:1px solid #f0f0f0}.ant-picker-footer-extra{padding:0 8px;line-height:30px;text-align:left}.ant-picker-footer-extra:not(:last-child){border-bottom:1px solid #f0f0f0}.ant-picker-now{text-align:left}.ant-picker-today-btn{color:#1890ff}.ant-picker-today-btn:hover{color:#40a9ff}.ant-picker-today-btn:active{color:#096dd9}.ant-picker-today-btn.ant-picker-today-btn-disabled{color:#00000040;cursor:not-allowed}.ant-picker-decade-panel .ant-picker-cell-inner{padding:0 2px}.ant-picker-decade-panel .ant-picker-cell:before{display:none}.ant-picker-year-panel .ant-picker-body,.ant-picker-quarter-panel .ant-picker-body,.ant-picker-month-panel .ant-picker-body{padding:0 4px}.ant-picker-year-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-inner{width:60px}.ant-picker-year-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-month-panel .ant-picker-cell-range-hover-start:after{left:9.33333333px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start:after{right:9.33333333px;border-right:1px dashed #7ec1ff;border-radius:0 2px 2px 0}.ant-picker-year-panel .ant-picker-cell-range-hover-end:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-month-panel .ant-picker-cell-range-hover-end:after{right:9.33333333px;border-right:1px dashed #7ec1ff;border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-end:after{left:9.33333333px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-week-panel .ant-picker-body{padding:4px 8px}.ant-picker-week-panel .ant-picker-cell:hover .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell-selected .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell .ant-picker-cell-inner{background:transparent!important}.ant-picker-week-panel-row td{transition:background .3s}.ant-picker-week-panel-row:hover td{background:#f5f5f5}.ant-picker-week-panel-row-selected td,.ant-picker-week-panel-row-selected:hover td{background:#1890ff}.ant-picker-week-panel-row-selected td.ant-picker-cell-week,.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-week{color:#ffffff80}.ant-picker-week-panel-row-selected td.ant-picker-cell-today .ant-picker-cell-inner:before,.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#fff}.ant-picker-week-panel-row-selected td .ant-picker-cell-inner,.ant-picker-week-panel-row-selected:hover td .ant-picker-cell-inner{color:#fff}.ant-picker-date-panel .ant-picker-body{padding:4px 8px}.ant-picker-date-panel .ant-picker-content{width:224px}.ant-picker-date-panel .ant-picker-content th{width:32px}.ant-picker-datetime-panel{display:flex}.ant-picker-datetime-panel .ant-picker-time-panel{border-left:1px solid #f0f0f0}.ant-picker-datetime-panel .ant-picker-date-panel,.ant-picker-datetime-panel .ant-picker-time-panel{transition:opacity .3s}.ant-picker-datetime-panel-active .ant-picker-date-panel,.ant-picker-datetime-panel-active .ant-picker-time-panel{opacity:.3}.ant-picker-datetime-panel-active .ant-picker-date-panel-active,.ant-picker-datetime-panel-active .ant-picker-time-panel-active{opacity:1}.ant-picker-time-panel{width:auto;min-width:auto}.ant-picker-time-panel .ant-picker-content{display:flex;flex:auto;height:224px}.ant-picker-time-panel-column{flex:1 0 auto;width:56px;margin:0;padding:0;overflow-y:hidden;text-align:left;list-style:none;transition:background .3s}.ant-picker-time-panel-column:after{display:block;height:200px;content:""}.ant-picker-datetime-panel .ant-picker-time-panel-column:after{height:202px}.ant-picker-time-panel-column:not(:first-child){border-left:1px solid #f0f0f0}.ant-picker-time-panel-column-active{background:rgba(230,247,255,.2)}.ant-picker-time-panel-column:hover{overflow-y:auto}.ant-picker-time-panel-column>li{margin:0;padding:0}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner{display:block;width:100%;height:24px;margin:0;padding:0 0 0 14px;color:#000000d9;line-height:24px;border-radius:0;cursor:pointer;transition:background .3s}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover{background:#f5f5f5}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner{background:#e6f7ff}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-disabled .ant-picker-time-panel-cell-inner{color:#00000040;background:transparent;cursor:not-allowed}_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,:root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,:root .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell{padding:21px 0}.ant-picker-rtl{direction:rtl}.ant-picker-rtl .ant-picker-suffix{margin-right:2px;margin-left:0}.ant-picker-rtl .ant-picker-clear{right:auto;left:0}.ant-picker-rtl .ant-picker-separator{transform:rotate(180deg)}.ant-picker-panel-rtl .ant-picker-header-view button:not(:first-child){margin-right:4px;margin-left:0}.ant-picker-rtl.ant-picker-range .ant-picker-clear{right:auto;left:7px}.ant-picker-rtl.ant-picker-range .ant-picker-active-bar{margin-right:7px;margin-left:0}.ant-picker-rtl.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-right:7px}.ant-picker-dropdown-rtl .ant-picker-ranges{text-align:right}.ant-picker-dropdown-rtl .ant-picker-ranges .ant-picker-ok{float:left;margin-right:4px;margin-left:0}.ant-picker-panel-rtl{direction:rtl}.ant-picker-panel-rtl .ant-picker-prev-icon,.ant-picker-panel-rtl .ant-picker-super-prev-icon{transform:rotate(135deg)}.ant-picker-panel-rtl .ant-picker-next-icon,.ant-picker-panel-rtl .ant-picker-super-next-icon{transform:rotate(-45deg)}.ant-picker-cell .ant-picker-cell-inner{position:relative;z-index:2;display:inline-block;min-width:22px;height:22px;line-height:22px;border-radius:2px;transition:background .3s,border .3s}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:before{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-end:before{right:50%;left:50%}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-end:after{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):first-child:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after{right:6px;left:0;border-right:1px dashed #7ec1ff;border-left:none;border-radius:0 2px 2px 0}.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after{right:0;left:6px;border-right:none;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-end.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-start.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-start:last-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-end:first-child:after{right:6px;left:6px;border-right:1px dashed #7ec1ff;border-left:1px dashed #7ec1ff;border-radius:2px}.ant-picker-dropdown-rtl .ant-picker-footer-extra{direction:rtl;text-align:right}.ant-picker-panel-rtl .ant-picker-time-panel{direction:ltr}.ant-picker-inline{border:none;padding:0}.ant-picker-inline .ant-picker-range-arrow{display:none!important}.ant-picker-inline .ant-picker-dropdown{z-index:auto}.ant-picker-dropdown{top:unset;left:unset}.ant-picker-panel-container.ant-picker-week-number .ant-picker-date-panel .ant-picker-content{width:100%}.ant-picker-panel-container.ant-picker-week-number .ant-picker-date-panel .ant-picker-content th{width:inherit}.ant-picker-range-arrow{margin-right:10.5px}.ant-descriptions-header{display:flex;align-items:center;margin-bottom:8px}.ant-descriptions-title{flex:auto;overflow:hidden;color:#000000d9;font-weight:700;font-size:14px;line-height:1.66667;white-space:nowrap;text-overflow:ellipsis}.ant-descriptions-extra{margin-left:auto;color:#000000d9;font-size:12px}.ant-descriptions-view{width:100%;border-radius:2px}.ant-descriptions-view table{width:100%;table-layout:fixed}.ant-descriptions-row>th,.ant-descriptions-row>td{padding-bottom:4px}.ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-item-label{color:#000000d9;font-weight:400;font-size:12px;line-height:1.66667;text-align:start}.ant-descriptions-item-label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-descriptions-item-label.ant-descriptions-item-no-colon:after{content:" "}.ant-descriptions-item-no-label:after{margin:0;content:""}.ant-descriptions-item-content{display:table-cell;flex:1;color:#000000d9;font-size:12px;line-height:1.66667;word-break:break-word;overflow-wrap:break-word}.ant-descriptions-item{padding-bottom:0;vertical-align:top}.ant-descriptions-item-container{display:flex}.ant-descriptions-item-container .ant-descriptions-item-label,.ant-descriptions-item-container .ant-descriptions-item-content{display:inline-flex;align-items:baseline}.ant-descriptions-middle .ant-descriptions-row>th,.ant-descriptions-middle .ant-descriptions-row>td{padding-bottom:8px}.ant-descriptions-small .ant-descriptions-row>th,.ant-descriptions-small .ant-descriptions-row>td{padding-bottom:4px}.ant-descriptions-bordered .ant-descriptions-view{border:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-view>table{table-layout:auto;border-collapse:collapse}.ant-descriptions-bordered .ant-descriptions-item-label,.ant-descriptions-bordered .ant-descriptions-item-content{padding:12px 16px;border-right:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-item-label:last-child,.ant-descriptions-bordered .ant-descriptions-item-content:last-child{border-right:none}.ant-descriptions-bordered .ant-descriptions-item-label{background-color:#fafafa}.ant-descriptions-bordered .ant-descriptions-item-label:after{display:none}.ant-descriptions-bordered .ant-descriptions-row{border-bottom:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label,.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content{padding:8px 16px}.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label,.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:4px 8px}.ant-descriptions-rtl{direction:rtl}.ant-descriptions-rtl .ant-descriptions-item-label:after{margin:0 2px 0 8px}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content{border-right:none;border-left:1px solid #f0f0f0}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label:last-child,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content:last-child{border-left:none}nz-descriptions{display:block}.ant-divider{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";border-top:1px solid rgba(0,0,0,.06)}.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;height:.9em;margin:0 8px;vertical-align:middle;border-top:0;border-left:1px solid rgba(0,0,0,.06)}.ant-divider-horizontal{display:flex;clear:both;width:100%;min-width:100%;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text{display:flex;margin:16px 0;color:#000000d9;font-weight:500;font-size:14px;white-space:nowrap;text-align:center;border-top:0;border-top-color:#0000000f}.ant-divider-horizontal.ant-divider-with-text:before,.ant-divider-horizontal.ant-divider-with-text:after{position:relative;top:50%;width:50%;border-top:1px solid transparent;border-top-color:inherit;border-bottom:0;transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 1em}.ant-divider-dashed{background:none;border-color:#0000000f;border-style:dashed;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.ant-divider-plain.ant-divider-with-text{color:#000000d9;font-weight:400;font-size:12px}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left:before{width:0}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left:after{width:100%}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text{padding-left:0}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right:before{width:100%}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right:after{width:0}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text{padding-right:0}.ant-divider-rtl{direction:rtl}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:before{width:95%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:after{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:before{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:after{width:95%}.ant-drawer{position:fixed;z-index:1000;width:0%;height:100%;transition:width 0s ease .3s,height 0s ease .3s}.ant-drawer-content-wrapper{position:absolute;width:100%;height:100%;transition:transform .3s cubic-bezier(.23,1,.32,1),box-shadow .3s cubic-bezier(.23,1,.32,1)}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0%;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;transition:transform .3s cubic-bezier(.23,1,.32,1)}.ant-drawer-left,.ant-drawer-left .ant-drawer-content-wrapper{left:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:6px 0 16px -8px #00000014,9px 0 28px #0000000d,12px 0 48px 16px #00000008}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:-6px 0 16px -8px #00000014,-9px 0 28px #0000000d,-12px 0 48px 16px #00000008}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;transform:translate(1px)}.ant-drawer-top,.ant-drawer-bottom{left:0;width:100%;height:0%}.ant-drawer-top .ant-drawer-content-wrapper,.ant-drawer-bottom .ant-drawer-content-wrapper{width:100%}.ant-drawer-top.ant-drawer-open,.ant-drawer-bottom.ant-drawer-open{height:100%;transition:transform .3s cubic-bezier(.23,1,.32,1)}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 6px 16px -8px #00000014,0 9px 28px #0000000d,0 12px 48px 16px #00000008}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 -6px 16px -8px #00000014,0 -9px 28px #0000000d,0 -12px 48px 16px #00000008}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;transition:none;animation:antdDrawerFadeIn .3s cubic-bezier(.23,1,.32,1);pointer-events:auto}.ant-drawer-title{flex:1;margin:0;color:#000000d9;font-weight:500;font-size:14px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{display:inline-block;margin-right:12px;color:#00000073;font-weight:700;font-size:14px;font-style:normal;line-height:1;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:#000000bf;text-decoration:none}.ant-drawer-header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:11px 16px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-drawer-header-title{display:flex;flex:1;align-items:center;justify-content:space-between}.ant-drawer-header-close-only{padding-bottom:0;border:none}.ant-drawer-wrapper-body{display:flex;flex-flow:column nowrap;width:100%;height:100%}.ant-drawer-body{flex-grow:1;padding:16px;overflow:auto;font-size:12px;line-height:1.66667;word-wrap:break-word}.ant-drawer-footer{flex-shrink:0;padding:8px;border-top:1px solid #f0f0f0}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:#00000073;opacity:0;transition:opacity .3s linear,height 0s ease .3s;pointer-events:none}.ant-drawer .ant-picker-clear{background:#fff}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}.ant-drawer-rtl{direction:rtl}.ant-drawer-rtl .ant-drawer-close{margin-right:0;margin-left:12px}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger{color:#ff4d4f}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover{color:#fff;background-color:#ff4d4f}.ant-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;inset:-4px 0 -4px -7px;z-index:-9999;opacity:.0001;content:" "}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{font-size:10px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden,.ant-dropdown-menu-submenu-hidden{display:none}.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-top,.ant-dropdown-show-arrow.ant-dropdown-placement-topRight{padding-bottom:15.3137085px}.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-bottom,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight{padding-top:15.3137085px}.ant-dropdown-arrow{position:absolute;z-index:1;display:block;width:11.3137085px;height:11.3137085px;background:linear-gradient(135deg,transparent 40%,#fff 40%);border-radius:0 0 2px;pointer-events:none}.ant-dropdown-arrow:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:#fff;background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-dropdown-placement-top>.ant-dropdown-arrow,.ant-dropdown-placement-topLeft>.ant-dropdown-arrow,.ant-dropdown-placement-topRight>.ant-dropdown-arrow{bottom:10px;box-shadow:3px 3px 7px -3px #0000001a;transform:rotate(45deg)}.ant-dropdown-placement-top>.ant-dropdown-arrow{left:50%;transform:translate(-50%) rotate(45deg)}.ant-dropdown-placement-topLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-topRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-placement-bottom>.ant-dropdown-arrow,.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow,.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:9.41421356px;box-shadow:2px 2px 5px -2px #0000001a;transform:rotate(-135deg) translateY(-.5px)}.ant-dropdown-placement-bottom>.ant-dropdown-arrow{left:50%;transform:translate(-50%) rotate(-135deg) translateY(-.5px)}.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-dropdown-menu-item-group-title{padding:5px 8px;color:#00000073;transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;box-shadow:none;transform-origin:0 0}.ant-dropdown-menu-submenu-popup ul,.ant-dropdown-menu-submenu-popup li{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em}.ant-dropdown-menu-item{position:relative;display:flex;align-items:center}.ant-dropdown-menu-item-icon{min-width:12px;margin-right:8px;font-size:12px}.ant-dropdown-menu-title-content{flex:auto}.ant-dropdown-menu-title-content>a{color:inherit;transition:all .3s}.ant-dropdown-menu-title-content>a:hover{color:inherit}.ant-dropdown-menu-title-content>a:after{position:absolute;inset:0;content:""}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 8px;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;cursor:pointer;transition:all .3s}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-submenu-title-selected{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover,.ant-dropdown-menu-item.ant-dropdown-menu-item-active,.ant-dropdown-menu-item.ant-dropdown-menu-submenu-title-active,.ant-dropdown-menu-submenu-title.ant-dropdown-menu-item-active,.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-active{background-color:#f5f5f5}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:#00000040;cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-disabled a,.ant-dropdown-menu-submenu-title-disabled a{pointer-events:none}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{position:absolute;right:4px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-right:0!important;color:#00000073;font-size:10px;font-style:normal}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:20px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#1890ff}.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topRight,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-dropdown-trigger>.anticon.anticon-down,.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-button>.anticon.anticon-down{font-size:10px;vertical-align:baseline}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn-loading,.ant-dropdown-button.ant-btn-group>.ant-btn-loading+.ant-btn{cursor:default;pointer-events:none}.ant-dropdown-button.ant-btn-group>.ant-btn-loading+.ant-btn:before{display:block}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only){padding-right:4px;padding-left:4px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a{color:#ffffffa6}.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a .ant-dropdown-menu-submenu-arrow:after{color:#ffffffa6}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a:hover{color:#fff;background:transparent}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#1890ff}.ant-dropdown-rtl{direction:rtl}.ant-dropdown-rtl.ant-dropdown:before{right:-7px;left:0}.ant-dropdown-menu.ant-dropdown-menu-rtl,.ant-dropdown-rtl .ant-dropdown-menu-item-group-title,.ant-dropdown-menu-submenu-rtl .ant-dropdown-menu-item-group-title{direction:rtl;text-align:right}.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl{transform-origin:100% 0}.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li,.ant-dropdown-rtl .ant-dropdown-menu-item,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{text-align:right}.ant-dropdown-rtl .ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>span>.anticon:first-child{margin-right:0;margin-left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{right:auto;left:4px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-left:0!important;transform:scaleX(-1)}.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{padding-right:8px;padding-left:20px}.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{right:100%;left:0;margin-right:4px;margin-left:0}.ant-dropdown-menu>ul{list-style:inherit;margin:0;padding:0}.ant-dropdown{top:0;left:0;position:relative;width:100%;margin-top:6px;margin-bottom:6px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{transform:rotate(180deg)}.ant-empty{margin:0 8px;font-size:12px;line-height:1.66667;text-align:center}.ant-empty-image{height:100px;margin-bottom:8px}.ant-empty-image img{height:100%}.ant-empty-image svg{height:100%;margin:auto}.ant-empty-footer{margin-top:16px}.ant-empty-normal{margin:32px 0;color:#00000040}.ant-empty-normal .ant-empty-image{height:40px}.ant-empty-small{margin:8px 0;color:#00000040}.ant-empty-small .ant-empty-image{height:35px}.ant-empty-img-default-ellipse{fill:#f5f5f5;fill-opacity:.8}.ant-empty-img-default-path-1{fill:#aeb8c2}.ant-empty-img-default-path-2{fill:url(#linearGradient-1)}.ant-empty-img-default-path-3{fill:#f5f5f7}.ant-empty-img-default-path-4,.ant-empty-img-default-path-5{fill:#dce0e6}.ant-empty-img-default-g{fill:#fff}.ant-empty-img-simple-ellipse{fill:#f5f5f5}.ant-empty-img-simple-g{stroke:#d9d9d9}.ant-empty-img-simple-path{fill:#fafafa}.ant-empty-rtl{direction:rtl}nz-empty{display:block}.ant-row{display:flex;flex-flow:row wrap}.ant-row:before,.ant-row:after{display:flex}.ant-row-no-wrap{flex-wrap:nowrap}.ant-row-start{justify-content:flex-start}.ant-row-center{justify-content:center}.ant-row-end{justify-content:flex-end}.ant-row-space-between{justify-content:space-between}.ant-row-space-around{justify-content:space-around}.ant-row-space-evenly{justify-content:space-evenly}.ant-row-top{align-items:flex-start}.ant-row-middle{align-items:center}.ant-row-bottom{align-items:flex-end}.ant-col{position:relative;max-width:100%;min-height:1px}.ant-col-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{order:24}.ant-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{order:23}.ant-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{order:22}.ant-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{order:21}.ant-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{order:20}.ant-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{order:19}.ant-col-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{order:18}.ant-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{order:17}.ant-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{order:16}.ant-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{order:15}.ant-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{order:14}.ant-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{order:13}.ant-col-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{order:12}.ant-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{order:11}.ant-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{order:10}.ant-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{order:9}.ant-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{order:8}.ant-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{order:7}.ant-col-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{order:6}.ant-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{order:5}.ant-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{order:4}.ant-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{order:3}.ant-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{order:2}.ant-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{order:0}.ant-col-offset-0.ant-col-rtl{margin-right:0}.ant-col-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}.ant-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{order:24}.ant-col-xs-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{order:23}.ant-col-xs-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{order:22}.ant-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{order:21}.ant-col-xs-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{order:20}.ant-col-xs-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{order:19}.ant-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{order:18}.ant-col-xs-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{order:17}.ant-col-xs-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{order:16}.ant-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{order:15}.ant-col-xs-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{order:14}.ant-col-xs-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{order:13}.ant-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{order:12}.ant-col-xs-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{order:11}.ant-col-xs-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{order:10}.ant-col-xs-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{order:9}.ant-col-xs-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{order:8}.ant-col-xs-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{order:7}.ant-col-xs-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{order:6}.ant-col-xs-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{order:5}.ant-col-xs-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{order:4}.ant-col-xs-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{order:3}.ant-col-xs-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{order:2}.ant-col-xs-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xs-push-0.ant-col-rtl{right:auto}.ant-col-xs-pull-0.ant-col-rtl{left:auto}.ant-col-xs-offset-0.ant-col-rtl{margin-right:0}.ant-col-xs-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xs-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xs-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xs-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xs-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xs-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xs-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xs-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xs-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xs-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xs-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xs-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xs-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xs-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xs-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xs-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xs-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xs-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xs-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xs-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xs-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xs-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xs-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xs-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xs-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xs-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xs-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xs-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xs-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xs-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xs-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xs-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xs-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xs-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xs-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xs-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xs-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xs-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xs-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xs-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xs-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xs-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xs-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xs-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xs-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xs-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xs-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xs-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xs-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xs-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xs-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xs-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xs-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xs-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xs-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xs-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xs-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xs-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xs-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xs-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xs-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xs-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xs-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xs-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xs-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xs-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xs-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xs-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xs-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xs-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xs-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xs-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}@media (min-width: 576px){.ant-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{order:24}.ant-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{order:23}.ant-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{order:22}.ant-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{order:21}.ant-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{order:20}.ant-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{order:19}.ant-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{order:18}.ant-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{order:17}.ant-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{order:16}.ant-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{order:15}.ant-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{order:14}.ant-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{order:13}.ant-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{order:12}.ant-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{order:11}.ant-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{order:10}.ant-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{order:9}.ant-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{order:8}.ant-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{order:7}.ant-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{order:6}.ant-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{order:5}.ant-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{order:4}.ant-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{order:3}.ant-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{order:2}.ant-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-sm-push-0.ant-col-rtl{right:auto}.ant-col-sm-pull-0.ant-col-rtl{left:auto}.ant-col-sm-offset-0.ant-col-rtl{margin-right:0}.ant-col-sm-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-sm-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-sm-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-sm-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-sm-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-sm-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-sm-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-sm-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-sm-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-sm-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-sm-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-sm-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-sm-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-sm-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-sm-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-sm-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-sm-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-sm-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-sm-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-sm-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-sm-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-sm-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-sm-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-sm-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-sm-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-sm-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-sm-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-sm-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-sm-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-sm-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-sm-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-sm-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-sm-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-sm-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-sm-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-sm-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-sm-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-sm-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-sm-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-sm-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-sm-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-sm-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-sm-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-sm-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-sm-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-sm-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-sm-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-sm-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-sm-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-sm-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-sm-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-sm-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-sm-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-sm-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-sm-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-sm-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-sm-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-sm-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-sm-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-sm-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-sm-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-sm-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-sm-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-sm-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-sm-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-sm-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-sm-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-sm-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-sm-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-sm-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-sm-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-sm-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 768px){.ant-col-md-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{order:24}.ant-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{order:23}.ant-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{order:22}.ant-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{order:21}.ant-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{order:20}.ant-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{order:19}.ant-col-md-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{order:18}.ant-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{order:17}.ant-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{order:16}.ant-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{order:15}.ant-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{order:14}.ant-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{order:13}.ant-col-md-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{order:12}.ant-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{order:11}.ant-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{order:10}.ant-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{order:9}.ant-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{order:8}.ant-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{order:7}.ant-col-md-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{order:6}.ant-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{order:5}.ant-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{order:4}.ant-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{order:3}.ant-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{order:2}.ant-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-md-push-0.ant-col-rtl{right:auto}.ant-col-md-pull-0.ant-col-rtl{left:auto}.ant-col-md-offset-0.ant-col-rtl{margin-right:0}.ant-col-md-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-md-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-md-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-md-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-md-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-md-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-md-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-md-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-md-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-md-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-md-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-md-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-md-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-md-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-md-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-md-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-md-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-md-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-md-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-md-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-md-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-md-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-md-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-md-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-md-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-md-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-md-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-md-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-md-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-md-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-md-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-md-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-md-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-md-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-md-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-md-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-md-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-md-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-md-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-md-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-md-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-md-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-md-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-md-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-md-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-md-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-md-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-md-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-md-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-md-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-md-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-md-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-md-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-md-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-md-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-md-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-md-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-md-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-md-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-md-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-md-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-md-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-md-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-md-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-md-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-md-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-md-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-md-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-md-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-md-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-md-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-md-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 992px){.ant-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{order:24}.ant-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{order:23}.ant-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{order:22}.ant-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{order:21}.ant-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{order:20}.ant-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{order:19}.ant-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{order:18}.ant-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{order:17}.ant-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{order:16}.ant-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{order:15}.ant-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{order:14}.ant-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{order:13}.ant-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{order:12}.ant-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{order:11}.ant-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{order:10}.ant-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{order:9}.ant-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{order:8}.ant-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{order:7}.ant-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{order:6}.ant-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{order:5}.ant-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{order:4}.ant-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{order:3}.ant-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{order:2}.ant-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-lg-push-0.ant-col-rtl{right:auto}.ant-col-lg-pull-0.ant-col-rtl{left:auto}.ant-col-lg-offset-0.ant-col-rtl{margin-right:0}.ant-col-lg-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-lg-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-lg-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-lg-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-lg-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-lg-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-lg-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-lg-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-lg-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-lg-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-lg-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-lg-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-lg-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-lg-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-lg-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-lg-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-lg-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-lg-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-lg-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-lg-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-lg-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-lg-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-lg-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-lg-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-lg-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-lg-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-lg-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-lg-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-lg-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-lg-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-lg-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-lg-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-lg-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-lg-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-lg-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-lg-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-lg-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-lg-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-lg-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-lg-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-lg-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-lg-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-lg-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-lg-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-lg-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-lg-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-lg-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-lg-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-lg-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-lg-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-lg-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-lg-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-lg-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-lg-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-lg-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-lg-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-lg-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-lg-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-lg-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-lg-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-lg-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-lg-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-lg-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-lg-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-lg-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-lg-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-lg-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-lg-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-lg-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-lg-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-lg-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-lg-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 1200px){.ant-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{order:24}.ant-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{order:23}.ant-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{order:22}.ant-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{order:21}.ant-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{order:20}.ant-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{order:19}.ant-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{order:18}.ant-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{order:17}.ant-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{order:16}.ant-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{order:15}.ant-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{order:14}.ant-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{order:13}.ant-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{order:12}.ant-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{order:11}.ant-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{order:10}.ant-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{order:9}.ant-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{order:8}.ant-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{order:7}.ant-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{order:6}.ant-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{order:5}.ant-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{order:4}.ant-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{order:3}.ant-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{order:2}.ant-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xl-push-0.ant-col-rtl{right:auto}.ant-col-xl-pull-0.ant-col-rtl{left:auto}.ant-col-xl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 1600px){.ant-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{order:24}.ant-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{order:23}.ant-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{order:22}.ant-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{order:21}.ant-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{order:20}.ant-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{order:19}.ant-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{order:18}.ant-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{order:17}.ant-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{order:16}.ant-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{order:15}.ant-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{order:14}.ant-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{order:13}.ant-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{order:12}.ant-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{order:11}.ant-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{order:10}.ant-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{order:9}.ant-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{order:8}.ant-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{order:7}.ant-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{order:6}.ant-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{order:5}.ant-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{order:4}.ant-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{order:3}.ant-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{order:2}.ant-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-push-0.ant-col-rtl{right:auto}.ant-col-xxl-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xxl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xxl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xxl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xxl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xxl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xxl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xxl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xxl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xxl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xxl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xxl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xxl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xxl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xxl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xxl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xxl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xxl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xxl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xxl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xxl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xxl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xxl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xxl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xxl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xxl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xxl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xxl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xxl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xxl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xxl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xxl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xxl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xxl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xxl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xxl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xxl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xxl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xxl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xxl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xxl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xxl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xxl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xxl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xxl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xxl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xxl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xxl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xxl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xxl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xxl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xxl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xxl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xxl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xxl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xxl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xxl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xxl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xxl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xxl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xxl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xxl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xxl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xxl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xxl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xxl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xxl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xxl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xxl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xxl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xxl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xxl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xxl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}.ant-row-rtl{direction:rtl}.ant-input-affix-wrapper{position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;display:inline-flex}.ant-input-affix-wrapper::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-input-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper:focus,.ant-input-affix-wrapper-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-affix-wrapper:focus,.ant-input-rtl .ant-input-affix-wrapper-focused{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-affix-wrapper[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-affix-wrapper-lg{padding:3.4px 11px;font-size:14px}.ant-input-affix-wrapper-sm{padding:0 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:#40a9ff;border-right-width:1px;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:transparent}.ant-input-affix-wrapper>input.ant-input{padding:0;border:none;outline:none}.ant-input-affix-wrapper>input.ant-input:focus{box-shadow:none!important}.ant-input-affix-wrapper:before{width:0;visibility:hidden;content:"\a0"}.ant-input-prefix,.ant-input-suffix{display:flex;flex:none;align-items:center}.ant-input-prefix>*:not(:last-child),.ant-input-suffix>*:not(:last-child){margin-right:8px}.ant-input-show-count-suffix{color:#00000073}.ant-input-show-count-has-suffix{margin-right:2px}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.anticon.ant-input-clear-icon,.ant-input-clear-icon{margin:0;color:#00000040;font-size:12px;vertical-align:-1px;cursor:pointer;transition:color .3s}.anticon.ant-input-clear-icon:hover,.ant-input-clear-icon:hover{color:#00000073}.anticon.ant-input-clear-icon:active,.ant-input-clear-icon:active{color:#000000d9}.anticon.ant-input-clear-icon-hidden,.ant-input-clear-icon-hidden{visibility:hidden}.anticon.ant-input-clear-icon-has-suffix,.ant-input-clear-icon-has-suffix{margin:0 4px}.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0!important;border:0!important}.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;top:8px;right:8px;z-index:1}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#ff4d4f}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-status-error .ant-input-prefix{color:#ff4d4f}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#faad14}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-status-warning .ant-input-prefix{color:#faad14}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#ff4d4f}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-error .ant-input-prefix{color:#ff4d4f}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#faad14}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-warning .ant-input-prefix{color:#faad14}.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input{padding-right:24px}.ant-input-group-wrapper-status-error .ant-input-group-addon{color:#ff4d4f;border-color:#ff4d4f}.ant-input-group-wrapper-status-warning .ant-input-group-addon{color:#faad14;border-color:#faad14}.ant-input{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-input:hover{border-right-width:0;border-left-width:1px!important}.ant-input:focus,.ant-input-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input:focus,.ant-input-rtl .ant-input-focused{border-right-width:0;border-left-width:1px!important}.ant-input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-borderless,.ant-input-borderless:hover,.ant-input-borderless:focus,.ant-input-borderless-focused,.ant-input-borderless-disabled,.ant-input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-lg{padding:3.4px 11px;font-size:14px}.ant-input-sm{padding:0 7px}.ant-input-rtl{direction:rtl}.ant-input-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus{z-index:1;border-right-width:1px}.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{position:relative;padding:0 7px;color:#000000d9;font-weight:400;font-size:12px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input-group-addon .ant-select{margin:-4px -7px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-open .ant-select-selector,.ant-input-group-addon .ant-select-focused .ant-select-selector{color:#1890ff}.ant-input-group-addon .ant-cascader-picker{margin:-9px -8px;background-color:transparent}.ant-input-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-group>.ant-input:first-child,.ant-input-group-addon:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector,.ant-input-group-addon:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group>.ant-input:last-child,.ant-input-group-addon:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector,.ant-input-group-addon:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:3.4px 11px;font-size:14px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:0 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:32px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:22px}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact:before{display:table;content:""}.ant-input-group.ant-input-group-compact:after{display:table;clear:both;content:""}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper{display:inline-flex}.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>*:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select-focused{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow{z-index:1}.ant-input-group.ant-input-group-compact>*:first-child,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group.ant-input-group-compact>*:last-child,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-group>.ant-input-rtl:first-child,.ant-input-group-rtl .ant-input-group-addon:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-right:1px solid #d9d9d9;border-left:0}.ant-input-group-rtl .ant-input-group-addon:last-child{border-right:0;border-left:1px solid #d9d9d9}.ant-input-group-rtl.ant-input-group>.ant-input:last-child,.ant-input-group-rtl.ant-input-group-addon:last-child{border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child){border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>*:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>*:first-child,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input{border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>*:last-child,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-password-icon.anticon{color:#00000073;cursor:pointer;transition:all .3s}.ant-input-password-icon.anticon:hover{color:#000000d9}.ant-input[type=color]{height:28px}.ant-input[type=color].ant-input-lg{height:32px}.ant-input[type=color].ant-input-sm{height:22px;padding-top:3px;padding-bottom:3px}.ant-input-textarea-show-count>.ant-input{height:100%}.ant-input-textarea-show-count:after{float:right;color:#00000073;white-space:nowrap;content:attr(data-count);pointer-events:none}.ant-input-textarea-show-count.ant-input-textarea-in-form-item:after{margin-bottom:-22px}.ant-input-textarea-suffix{position:absolute;top:0;right:7px;bottom:0;z-index:1;display:inline-flex;align-items:center;margin:auto}.ant-input-search .ant-input:hover,.ant-input-search .ant-input:focus{border-color:#40a9ff}.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#40a9ff}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.66647}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{left:-1px;padding:0;border:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{padding-top:0;padding-bottom:0;border-radius:0 2px 2px 0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:#00000073}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading:before{inset:0}.ant-input-search-button{height:28px}.ant-input-search-button:hover,.ant-input-search-button:focus{z-index:1}.ant-input-search-large .ant-input-search-button{height:32px}.ant-input-search-small .ant-input-search-button{height:22px}.ant-input-group-wrapper-rtl,.ant-input-group-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:none}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count:after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix{margin-right:0;margin-left:4px}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{right:auto;left:8px}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused{border-right-color:#40a9ff}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon{right:-1px;left:auto}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon .ant-input-search-button{border-radius:2px 0 0 2px}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ant-input{height:28px}.ant-input-lg{height:32px}.ant-input-sm{height:22px}.ant-input-affix-wrapper>input.ant-input{height:auto}}textarea.nz-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only{width:28px;height:28px}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm{width:22px;height:22px}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg{width:32px;height:32px}.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-suffix{margin-left:0}nz-form-item-feedback-icon.ant-input-suffix{display:flex;flex:none;align-items:center;pointer-events:none}nz-form-item-feedback-icon.ant-input-suffix{position:absolute;top:0;right:0;z-index:1;height:100%;margin-right:8px;margin-left:4px}.ant-input-status-error.ant-input-has-feedback,.ant-input-status-warning.ant-input-has-feedback,.ant-input-status-validating.ant-input-has-feedback,.ant-input-status-success.ant-input-has-feedback{padding-right:16px}.ant-input-textarea-show-count{display:block;position:relative}.ant-input-number-affix-wrapper{display:inline-block;width:100%;min-width:0;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;position:relative;display:inline-flex;width:90px;padding:0;padding-inline-start:7px}.ant-input-number-affix-wrapper::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-number-affix-wrapper:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-input-number-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-number-affix-wrapper:focus,.ant-input-number-affix-wrapper-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-number-affix-wrapper:focus,.ant-input-rtl .ant-input-number-affix-wrapper-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number-affix-wrapper-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-affix-wrapper[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-affix-wrapper-borderless,.ant-input-number-affix-wrapper-borderless:hover,.ant-input-number-affix-wrapper-borderless:focus,.ant-input-number-affix-wrapper-borderless-focused,.ant-input-number-affix-wrapper-borderless-disabled,.ant-input-number-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-number-affix-wrapper{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-number-affix-wrapper-lg{padding:3.4px 11px;font-size:14px}.ant-input-number-affix-wrapper-sm{padding:0 7px}.ant-input-number-affix-wrapper-rtl{direction:rtl}.ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover{border-color:#40a9ff;border-right-width:1px;z-index:1}.ant-input-rtl .ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-number-affix-wrapper-focused,.ant-input-number-affix-wrapper:focus{z-index:1}.ant-input-number-affix-wrapper-disabled .ant-input-number[disabled]{background:transparent}.ant-input-number-affix-wrapper>div.ant-input-number{width:100%;border:none;outline:none}.ant-input-number-affix-wrapper>div.ant-input-number.ant-input-number-focused{box-shadow:none!important}.ant-input-number-affix-wrapper input.ant-input-number-input{padding:0}.ant-input-number-affix-wrapper:before{width:0;visibility:hidden;content:"\a0"}.ant-input-number-affix-wrapper .ant-input-number-handler-wrap{z-index:2}.ant-input-number-prefix,.ant-input-number-suffix{display:flex;flex:none;align-items:center;pointer-events:none}.ant-input-number-prefix{margin-inline-end:4px}.ant-input-number-suffix{position:absolute;top:0;right:0;z-index:1;height:100%;margin-right:7px;margin-left:4px}.ant-input-number-group-wrapper .ant-input-number-affix-wrapper{width:100%}.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover{background:#fff;border-color:#ff4d4f}.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus,.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-number-status-error .ant-input-number-prefix{color:#ff4d4f}.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover{background:#fff;border-color:#faad14}.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus,.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-number-status-warning .ant-input-number-prefix{color:#faad14}.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover{background:#fff;border-color:#ff4d4f}.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus,.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix{color:#ff4d4f}.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover{background:#fff;border-color:#faad14}.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus,.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix{color:#faad14}.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon{color:#ff4d4f;border-color:#ff4d4f}.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon{color:#faad14;border-color:#faad14}.ant-input-number{box-sizing:border-box;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;width:100%;min-width:0;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;transition:all .3s;display:inline-block;width:90px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:2px}.ant-input-number::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number:placeholder-shown{text-overflow:ellipsis}.ant-input-rtl .ant-input-number:hover{border-right-width:0;border-left-width:1px!important}.ant-input-number:focus,.ant-input-number-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-number:focus,.ant-input-rtl .ant-input-number-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-borderless,.ant-input-number-borderless:hover,.ant-input-number-borderless:focus,.ant-input-number-borderless-focused,.ant-input-number-borderless-disabled,.ant-input-number-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-number{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-number-lg{padding:3.4px 11px;font-size:14px}.ant-input-number-sm{padding:0 7px}.ant-input-number-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-number-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-number-group>[class*=col-]{padding-right:8px}.ant-input-number-group>[class*=col-]:last-child{padding-right:0}.ant-input-number-group-addon,.ant-input-number-group-wrap,.ant-input-number-group>.ant-input-number{display:table-cell}.ant-input-number-group-addon:not(:first-child):not(:last-child),.ant-input-number-group-wrap:not(:first-child):not(:last-child),.ant-input-number-group>.ant-input-number:not(:first-child):not(:last-child){border-radius:0}.ant-input-number-group-addon,.ant-input-number-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-number-group-wrap>*{display:block!important}.ant-input-number-group .ant-input-number{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-number-group .ant-input-number:focus{z-index:1;border-right-width:1px}.ant-input-number-group .ant-input-number:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-number-group .ant-input-number:hover{z-index:0}.ant-input-number-group-addon{position:relative;padding:0 7px;color:#000000d9;font-weight:400;font-size:12px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input-number-group-addon .ant-select{margin:-4px -7px}.ant-input-number-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-number-group-addon .ant-select-open .ant-select-selector,.ant-input-number-group-addon .ant-select-focused .ant-select-selector{color:#1890ff}.ant-input-number-group-addon .ant-cascader-picker{margin:-9px -8px;background-color:transparent}.ant-input-number-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-number-group>.ant-input-number:first-child,.ant-input-number-group-addon:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-number-group>.ant-input-number:first-child .ant-select .ant-select-selector,.ant-input-number-group-addon:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-number-group>.ant-input-number-affix-wrapper:not(:first-child) .ant-input-number{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group>.ant-input-number-affix-wrapper:not(:last-child) .ant-input-number{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-number-group-addon:first-child{border-right:0}.ant-input-number-group-addon:last-child{border-left:0}.ant-input-number-group>.ant-input-number:last-child,.ant-input-number-group-addon:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group>.ant-input-number:last-child .ant-select .ant-select-selector,.ant-input-number-group-addon:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group-lg .ant-input-number,.ant-input-number-group-lg>.ant-input-number-group-addon{padding:3.4px 11px;font-size:14px}.ant-input-number-group-sm .ant-input-number,.ant-input-number-group-sm>.ant-input-number-group-addon{padding:0 7px}.ant-input-number-group-lg .ant-select-single .ant-select-selector{height:32px}.ant-input-number-group-sm .ant-select-single .ant-select-selector{height:22px}.ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child),.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group.ant-input-number-group-compact{display:block}.ant-input-number-group.ant-input-number-group-compact:before{display:table;content:""}.ant-input-number-group.ant-input-number-group-compact:after{display:table;clear:both;content:""}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child),.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child):focus{z-index:1}.ant-input-number-group.ant-input-number-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-number-group.ant-input-number-group-compact>.ant-input-number-affix-wrapper{display:inline-flex}.ant-input-number-group.ant-input-number-group-compact>.ant-picker-range{display:inline-flex}.ant-input-number-group.ant-input-number-group-compact>*:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-number-group.ant-input-number-group-compact .ant-input-number{float:none}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input{border-right-width:1px;border-radius:0}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input:hover{z-index:1}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input:focus{z-index:1}.ant-input-number-group.ant-input-number-group-compact>.ant-select-focused{z-index:1}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-arrow{z-index:1}.ant-input-number-group.ant-input-number-group-compact>*:first-child,.ant-input-number-group.ant-input-number-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:first-child .ant-input{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-number-group.ant-input-number-group-compact>*:last-child,.ant-input-number-group.ant-input-number-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper{border-radius:0}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-number-group>.ant-input-number-rtl:first-child,.ant-input-number-group-rtl .ant-input-number-group-addon:first-child{border-radius:0 2px 2px 0}.ant-input-number-group-rtl .ant-input-number-group-addon:first-child{border-right:1px solid #d9d9d9;border-left:0}.ant-input-number-group-rtl .ant-input-number-group-addon:last-child{border-right:0;border-left:1px solid #d9d9d9}.ant-input-number-group-rtl.ant-input-number-group>.ant-input-number:last-child,.ant-input-number-group-rtl.ant-input-number-group-addon:last-child{border-radius:2px 0 0 2px}.ant-input-number-group-rtl.ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child){border-radius:2px 0 0 2px}.ant-input-number-group-rtl.ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>*:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>*:first-child,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:first-child .ant-input{border-radius:0 2px 2px 0}.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>*:last-child,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-number-group-wrapper{display:inline-block;text-align:start;vertical-align:top}.ant-input-number-handler{position:relative;display:block;width:100%;height:50%;overflow:hidden;color:#00000073;font-weight:700;line-height:0;text-align:center;border-left:1px solid #d9d9d9;transition:all .1s linear}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-up-inner,.ant-input-number-handler:hover .ant-input-number-handler-down-inner{color:#40a9ff}.ant-input-number-handler-up-inner,.ant-input-number-handler-down-inner{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;width:12px;height:12px;color:#00000073;line-height:12px;transition:all .1s linear;-webkit-user-select:none;user-select:none}.ant-input-number-handler-up-inner>*,.ant-input-number-handler-down-inner>*{line-height:1}.ant-input-number-handler-up-inner svg,.ant-input-number-handler-down-inner svg{display:inline-block}.ant-input-number-handler-up-inner:before,.ant-input-number-handler-down-inner:before{display:none}.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon{display:block}.ant-input-number:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-number:hover+.ant-form-item-children-icon{opacity:0;transition:opacity .24s linear .24s}.ant-input-number-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-number-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap,.ant-input-number-readonly .ant-input-number-handler-wrap{display:none}.ant-input-number-input{width:100%;height:26px;padding:0 7px;text-align:left;background-color:transparent;border:0;border-radius:2px;outline:0;transition:all .3s linear;-webkit-appearance:textfield!important;appearance:textfield!important}.ant-input-number-input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number-input:placeholder-shown{text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.ant-input-number-lg{padding:0;font-size:14px}.ant-input-number-lg input{height:30px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:20px;padding:0 7px}.ant-input-number-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border-radius:0 2px 2px 0;opacity:0;transition:opacity .24s linear .1s}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner{display:flex;align-items:center;justify-content:center;min-width:auto;margin-right:0;font-size:7px}.ant-input-number-borderless .ant-input-number-handler-wrap{border-left-width:0}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number:hover .ant-input-number-handler-wrap,.ant-input-number-focused .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:2px;cursor:pointer}.ant-input-number-handler-up-inner{top:50%;margin-top:-5px;text-align:center}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{top:0;border-top:1px solid #d9d9d9;border-bottom-right-radius:2px;cursor:pointer}.ant-input-number-handler-down-inner{top:50%;text-align:center;transform:translateY(-50%)}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-borderless .ant-input-number-handler-down{border-top-width:0}.ant-input-number-handler-up-disabled,.ant-input-number-handler-down-disabled{cursor:not-allowed}.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner{color:#00000040}.ant-input-number-borderless{box-shadow:none}.ant-input-number-out-of-range input{color:#ff4d4f}.ant-input-number-rtl{direction:rtl}.ant-input-number-rtl .ant-input-number-handler{border-right:1px solid #d9d9d9;border-left:0}.ant-input-number-rtl .ant-input-number-handler-wrap{right:auto;left:0}.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap{border-right-width:0}.ant-input-number-rtl .ant-input-number-handler-up{border-top-right-radius:0}.ant-input-number-rtl .ant-input-number-handler-down{border-bottom-right-radius:0}.ant-input-number-rtl .ant-input-number-input{direction:ltr;text-align:right}.ant-input-number-affix-wrapper>nz-input-number.ant-input-number{width:100%;border:none;outline:none}.ant-input-number-affix-wrapper>nz-input-number.ant-input-number.ant-input-number-focused{box-shadow:none!important}.ant-input-number.ant-input-number-has-feedback .ant-input-number-handler-wrap{z-index:2}.ant-layout{display:flex;flex:auto;flex-direction:column;min-height:0;background:#f0f2f5}.ant-layout,.ant-layout *{box-sizing:border-box}.ant-layout.ant-layout-has-sider{flex-direction:row}.ant-layout.ant-layout-has-sider>.ant-layout,.ant-layout.ant-layout-has-sider>.ant-layout-content{width:0}.ant-layout-header,.ant-layout-footer{flex:0 0 auto}.ant-layout-header{height:64px;padding:0 50px;color:#000000d9;line-height:64px;background:#001529}.ant-layout-footer{padding:24px 50px;color:#000000d9;font-size:12px;background:#f0f2f5}.ant-layout-content{flex:auto;min-height:0}.ant-layout-sider{position:relative;min-width:0;background:#001529;transition:all .2s}.ant-layout-sider-children{height:100%;margin-top:-.1px;padding-top:.1px}.ant-layout-sider-children .ant-menu.ant-menu-inline-collapsed{width:auto}.ant-layout-sider-has-trigger{padding-bottom:48px}.ant-layout-sider-right{order:1}.ant-layout-sider-trigger{position:fixed;bottom:0;z-index:1;height:48px;color:#fff;line-height:48px;text-align:center;background:#002140;cursor:pointer;transition:all .2s}.ant-layout-sider-zero-width>*{overflow:hidden}.ant-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;z-index:1;width:36px;height:42px;color:#fff;font-size:18px;line-height:42px;text-align:center;background:#001529;border-radius:0 2px 2px 0;cursor:pointer;transition:background .3s ease}.ant-layout-sider-zero-width-trigger:after{position:absolute;inset:0;background:transparent;transition:all .3s;content:""}.ant-layout-sider-zero-width-trigger:hover:after{background:rgba(255,255,255,.1)}.ant-layout-sider-zero-width-trigger-right{left:-36px;border-radius:2px 0 0 2px}.ant-layout-sider-light{background:#fff}.ant-layout-sider-light .ant-layout-sider-trigger,.ant-layout-sider-light .ant-layout-sider-zero-width-trigger{color:#000000d9;background:#fff}.ant-layout-rtl{direction:rtl}nz-content{display:block}nz-footer{display:block}nz-header{display:block}.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:16px}.ant-form-inline .ant-form-item>.ant-form-item-label,.ant-form-inline .ant-form-item>.ant-form-item-control{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-text,.ant-form-inline .ant-form-item .ant-form-item-has-feedback{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0;min-width:0}.ant-form-horizontal .ant-form-item-label[class$="-24"]+.ant-form-item-control,.ant-form-horizontal .ant-form-item-label[class*="-24 "]+.ant-form-item-control{min-width:unset}.ant-form-vertical .ant-form-item{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-form-vertical .ant-form-item-label,.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-form-vertical .ant-form-item-label>label,.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-form-vertical .ant-form-item-label>label:after,.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-vertical .ant-form-item-label,.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}@media (max-width: 575px){.ant-form-item .ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-label,.ant-form .ant-form-item .ant-form-item-control{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width: 767px){.ant-col-sm-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width: 991px){.ant-col-md-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width: 1199px){.ant-col-lg-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width: 1599px){.ant-col-xl-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:#00000073;font-size:14px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:12px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=radio],.ant-form input[type=checkbox]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus,.ant-form input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:#000000d9;font-size:12px;line-height:1.66667}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:22px}.ant-form-small .ant-form-item-control-input{min-height:22px}.ant-form-large .ant-form-item-label>label{height:32px}.ant-form-large .ant-form-item-control-input{min-height:32px}.ant-form-item{box-sizing:border-box;margin:0 0 16px;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";vertical-align:top;transition:margin-bottom .3s 17ms linear}.ant-form-item-with-help{margin-bottom:0;transition:none}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item-label-wrap{overflow:unset;line-height:1.41667em;white-space:unset}.ant-form-item-label>label{position:relative;display:inline-flex;align-items:center;max-width:100%;height:28px;color:#000000d9;font-size:12px}.ant-form-item-label>label>.anticon{font-size:12px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:inline-block;margin-right:4px;color:#ff4d4f;font-size:12px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{display:inline-block;margin-left:0;color:#00000073}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:#00000073;cursor:help;writing-mode:horizontal-tb;margin-inline-start:0px}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^="ant-col-"]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{position:relative;display:flex;align-items:center;min-height:28px}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;color:#00000073;font-size:12px;line-height:1.66667;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item-explain-connected{height:0;min-height:0;opacity:0}.ant-form-item-extra{min-height:16px}.ant-form-item-with-help .ant-form-item-explain{height:auto;min-height:16px;opacity:1}.ant-form-item-feedback-icon{font-size:12px;text-align:center;visibility:visible;animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.ant-form-item-feedback-icon-success{color:#52c41a}.ant-form-item-feedback-icon-error{color:#ff4d4f}.ant-form-item-feedback-icon-warning{color:#faad14}.ant-form-item-feedback-icon-validating{color:#1890ff}.ant-show-help{transition:height .3s linear,min-height .3s linear,margin-bottom .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-show-help-leave{min-height:16px}.ant-show-help-leave-active{min-height:0}.ant-show-help-item{overflow:hidden;transition:height .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-appear,.ant-show-help-item-enter{transform:translateY(-5px);opacity:0}.ant-show-help-item-appear-active,.ant-show-help-item-enter-active{transform:translateY(0);opacity:1}.ant-show-help-item-leave-active{transform:translateY(-5px)}@keyframes diffZoomIn1{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn2{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn3{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-right:0;margin-left:4px}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-right:0;margin-left:0}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-right:7px;padding-left:24px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:7px;padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input,.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:auto;left:28px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-selection-selected-value{padding-right:0;padding-left:42px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:0;margin-left:19px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker{padding-right:7px;padding-left:22.6px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-right:11px;padding-left:26.6px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-right:7px;padding-left:22.6px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{right:auto;left:0}.ant-form-rtl.ant-form-inline .ant-form-item{margin-right:0;margin-left:16px}nz-form-item.ant-form-item{transition:none}.ant-list{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative}.ant-list *{outline:none}.ant-list-pagination{margin-top:16px;text-align:right}.ant-list-pagination .ant-pagination-options{text-align:left}.ant-list-more{margin-top:8px;text-align:center}.ant-list-more button{padding-right:32px;padding-left:32px}.ant-list-spin{min-height:40px;text-align:center}.ant-list-empty-text{padding:8px;color:#00000040;font-size:12px;text-align:center}.ant-list-items{margin:0;padding:0;list-style:none}.ant-list-item{display:flex;align-items:center;justify-content:space-between;padding:8px 0;color:#000000d9}.ant-list-item-meta{display:flex;flex:1;align-items:flex-start;max-width:100%}.ant-list-item-meta-avatar{margin-right:8px}.ant-list-item-meta-content{flex:1 0;width:0;color:#000000d9}.ant-list-item-meta-title{margin-bottom:4px;color:#000000d9;font-size:12px;line-height:1.66667}.ant-list-item-meta-title>a{color:#000000d9;transition:all .3s}.ant-list-item-meta-title>a:hover{color:#1890ff}.ant-list-item-meta-description{color:#00000073;font-size:12px;line-height:1.66667}.ant-list-item-action{flex:0 0 auto;margin-left:48px;padding:0;font-size:0;list-style:none}.ant-list-item-action>li{position:relative;display:inline-block;padding:0 4px;color:#00000073;font-size:12px;line-height:1.66667;text-align:center}.ant-list-item-action>li:first-child{padding-left:0}.ant-list-item-action-split{position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background-color:#f0f0f0}.ant-list-header,.ant-list-footer{background:transparent}.ant-list-header,.ant-list-footer{padding-top:8px;padding-bottom:8px}.ant-list-empty{padding:8px 0;color:#00000073;font-size:12px;text-align:center}.ant-list-split .ant-list-item{border-bottom:1px solid #f0f0f0}.ant-list-split .ant-list-item:last-child{border-bottom:none}.ant-list-split .ant-list-header{border-bottom:1px solid #f0f0f0}.ant-list-split.ant-list-empty .ant-list-footer{border-top:1px solid #f0f0f0}.ant-list-loading .ant-list-spin-nested-loading{min-height:32px}.ant-list-split.ant-list-something-after-last-item .ant-spin-container>.ant-list-items>.ant-list-item:last-child{border-bottom:1px solid #f0f0f0}.ant-list-lg .ant-list-item{padding:12px 16px}.ant-list-sm .ant-list-item{padding:4px 12px}.ant-list-vertical .ant-list-item{align-items:initial}.ant-list-vertical .ant-list-item-main{display:block;flex:1}.ant-list-vertical .ant-list-item-extra{margin-left:40px}.ant-list-vertical .ant-list-item-meta{margin-bottom:8px}.ant-list-vertical .ant-list-item-meta-title{margin-bottom:8px;color:#000000d9;font-size:14px;line-height:24px}.ant-list-vertical .ant-list-item-action{margin-top:8px;margin-left:auto}.ant-list-vertical .ant-list-item-action>li{padding:0 8px}.ant-list-vertical .ant-list-item-action>li:first-child{padding-left:0}.ant-list-grid .ant-col>.ant-list-item{display:block;max-width:100%;margin-bottom:8px;padding-top:0;padding-bottom:0;border-bottom:none}.ant-list-item-no-flex{display:block}.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:right}.ant-list-bordered{border:1px solid #d9d9d9;border-radius:2px}.ant-list-bordered .ant-list-header,.ant-list-bordered .ant-list-footer,.ant-list-bordered .ant-list-item{padding-right:16px;padding-left:16px}.ant-list-bordered .ant-list-pagination{margin:8px 16px}.ant-list-bordered.ant-list-sm .ant-list-item,.ant-list-bordered.ant-list-sm .ant-list-header,.ant-list-bordered.ant-list-sm .ant-list-footer{padding:4px 12px}.ant-list-bordered.ant-list-lg .ant-list-item,.ant-list-bordered.ant-list-lg .ant-list-header,.ant-list-bordered.ant-list-lg .ant-list-footer{padding:12px 16px}@media screen and (max-width: 768px){.ant-list-item-action,.ant-list-vertical .ant-list-item-extra{margin-left:24px}}@media screen and (max-width: 576px){.ant-list-item{flex-wrap:wrap}.ant-list-item-action{margin-left:12px}.ant-list-vertical .ant-list-item{flex-wrap:wrap-reverse}.ant-list-vertical .ant-list-item-main{min-width:220px}.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}.ant-list-rtl{direction:rtl;text-align:right}.ant-list-rtl .ReactVirtualized__List .ant-list-item{direction:rtl}.ant-list-rtl .ant-list-pagination{text-align:left}.ant-list-rtl .ant-list-item-meta-avatar{margin-right:0;margin-left:8px}.ant-list-rtl .ant-list-item-action{margin-right:48px;margin-left:0}.ant-list.ant-list-rtl .ant-list-item-action>li:first-child{padding-right:0;padding-left:8px}.ant-list-rtl .ant-list-item-action-split{right:auto;left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin-right:40px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-action{margin-right:auto}.ant-list-rtl .ant-list-vertical .ant-list-item-action>li:first-child{padding-right:0;padding-left:8px}.ant-list-rtl .ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:left}@media screen and (max-width: 768px){.ant-list-rtl .ant-list-item-action,.ant-list-rtl .ant-list-vertical .ant-list-item-extra{margin-right:24px;margin-left:0}}@media screen and (max-width: 576px){.ant-list-rtl .ant-list-item-action{margin-right:22px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}nz-list,nz-list nz-spin,nz-list-header,nz-list-footer,nz-list-pagination,nz-list-empty,nz-list-item-extra{display:block}.ant-menu-item-danger.ant-menu-item,.ant-menu-item-danger.ant-menu-item:hover,.ant-menu-item-danger.ant-menu-item-active{color:#ff4d4f}.ant-menu-item-danger.ant-menu-item:active{background:#fff1f0}.ant-menu-item-danger.ant-menu-item-selected{color:#ff4d4f}.ant-menu-item-danger.ant-menu-item-selected>a,.ant-menu-item-danger.ant-menu-item-selected>a:hover{color:#ff4d4f}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{background-color:#fff1f0}.ant-menu-inline .ant-menu-item-danger.ant-menu-item:after{border-right-color:#ff4d4f}.ant-menu-dark .ant-menu-item-danger.ant-menu-item,.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,.ant-menu-dark .ant-menu-item-danger.ant-menu-item>a{color:#ff4d4f}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{color:#fff;background-color:#ff4d4f}.ant-menu{box-sizing:border-box;margin:0;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";padding:0;color:#000000d9;font-size:12px;line-height:0;text-align:left;list-style:none;background:#fff;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s}.ant-menu:before{display:table;content:""}.ant-menu:after{display:table;clear:both;content:""}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px #bae7ff}.ant-menu ul,.ant-menu ol{margin:0;padding:0;list-style:none}.ant-menu-overflow{display:flex}.ant-menu-overflow-item{flex:none}.ant-menu-hidden,.ant-menu-submenu-hidden{display:none}.ant-menu-item-group-title{height:1.66667;padding:8px 16px;color:#00000073;font-size:12px;line-height:1.66667;transition:all .3s}.ant-menu-horizontal .ant-menu-submenu{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#1890ff}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:initial;transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-title-content{transition:color .3s}.ant-menu-item a{color:#000000d9}.ant-menu-item a:hover{color:#1890ff}.ant-menu-item a:before{position:absolute;inset:0;background-color:transparent;content:""}.ant-menu-item>.ant-badge a{color:#000000d9}.ant-menu-item>.ant-badge a:hover{color:#1890ff}.ant-menu-item-divider{overflow:hidden;line-height:0;border-color:#f0f0f0;border-style:solid;border-width:1px 0 0}.ant-menu-item-divider-dashed{border-style:dashed}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected,.ant-menu-item-selected a,.ant-menu-item-selected a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #f0f0f0}.ant-menu-vertical-right{border-left:1px solid #f0f0f0}.ant-menu-vertical.ant-menu-sub,.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub{min-width:160px;max-height:calc(100vh - 100px);padding:0;overflow:hidden;border-right:0}.ant-menu-vertical.ant-menu-sub:not([class*="-active"]),.ant-menu-vertical-left.ant-menu-sub:not([class*="-active"]),.ant-menu-vertical-right.ant-menu-sub:not([class*="-active"]){overflow-x:hidden;overflow-y:auto}.ant-menu-vertical.ant-menu-sub .ant-menu-item,.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu-title{transition:border-color .3s,background .3s}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 12px;white-space:nowrap;cursor:pointer;transition:border-color .3s,background .3s,padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .ant-menu-item-icon,.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-item .anticon,.ant-menu-submenu-title .anticon{min-width:14px;font-size:12px;transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-item .ant-menu-item-icon+span,.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-item .anticon+span,.ant-menu-submenu-title .anticon+span{margin-left:8px;opacity:1;transition:opacity .3s cubic-bezier(.645,.045,.355,1),margin .3s,color .3s}.ant-menu-item .ant-menu-item-icon.svg,.ant-menu-submenu-title .ant-menu-item-icon.svg{vertical-align:-.125em}.ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-submenu-title.ant-menu-item-only-child>.anticon,.ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon{margin-right:0}.ant-menu-item:focus-visible,.ant-menu-submenu-title:focus-visible{box-shadow:0 0 0 2px #bae7ff}.ant-menu>.ant-menu-item-divider{margin:1px 0;padding:0}.ant-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;border-radius:2px;box-shadow:none;transform-origin:0 0}.ant-menu-submenu-popup:before{position:absolute;inset:-7px 0 0;z-index:-1;width:100%;height:100%;opacity:.0001;content:" "}.ant-menu-submenu-placement-rightTop:before{top:0;left:-7px}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:2px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-popup>.ant-menu{background-color:#fff}.ant-menu-submenu-expand-icon,.ant-menu-submenu-arrow{position:absolute;top:50%;right:16px;width:10px;color:#000000d9;transform:translateY(-50%);transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-arrow:before,.ant-menu-submenu-arrow:after{position:absolute;width:6px;height:1.5px;background-color:currentcolor;border-radius:2px;transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2.5px)}.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2.5px)}.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon,.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{color:#1890ff}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:before,.ant-menu-submenu-inline .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translate(2.5px)}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline .ant-menu-submenu-arrow:after{transform:rotate(45deg) translate(-2.5px)}.ant-menu-submenu-horizontal .ant-menu-submenu-arrow{display:none}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translate(-2.5px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{transform:rotate(45deg) translate(2.5px)}.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected{color:#1890ff}.ant-menu-horizontal{line-height:38px;border:0;border-bottom:1px solid #f0f0f0;box-shadow:none}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu{margin-top:-1px;margin-bottom:0;padding:0 12px}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected{color:#1890ff}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected:after{border-bottom:2px solid #1890ff}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom}.ant-menu-horizontal>.ant-menu-item:after,.ant-menu-horizontal>.ant-menu-submenu:after{position:absolute;right:20px;bottom:0;left:20px;border-bottom:2px solid transparent;transition:border-color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-horizontal>.ant-menu-submenu>.ant-menu-submenu-title{padding:0}.ant-menu-horizontal>.ant-menu-item a{color:#000000d9}.ant-menu-horizontal>.ant-menu-item a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected a{color:#1890ff}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:" "}.ant-menu-vertical .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-inline .ant-menu-item{position:relative}.ant-menu-vertical .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-inline .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #1890ff;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);content:""}.ant-menu-vertical .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-inline .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-inline .ant-menu-submenu-title{height:32px;margin-top:0;margin-bottom:0;padding:0 16px;overflow:hidden;line-height:32px;text-overflow:ellipsis}.ant-menu-vertical .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu,.ant-menu-inline .ant-menu-submenu{padding-bottom:.02px}.ant-menu-vertical .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child),.ant-menu-inline .ant-menu-item:not(:last-child){margin-bottom:0}.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-inline>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:32px;line-height:32px}.ant-menu-vertical .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-selected:after,.ant-menu-inline .ant-menu-item-selected:after{transform:scaleY(1);opacity:1;transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline.ant-menu-root .ant-menu-item,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title{display:flex;align-items:center;transition:border-color .3s,background .3s,padding .1s cubic-bezier(.215,.61,.355,1)}.ant-menu-inline.ant-menu-root .ant-menu-item>.ant-menu-title-content,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>.ant-menu-title-content{flex:auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.ant-menu-inline.ant-menu-root .ant-menu-item>*,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>*{flex:none}.ant-menu.ant-menu-inline-collapsed{width:80px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 calc(50% - 7px);text-overflow:clip}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:0}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:14px;line-height:32px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;opacity:0}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed .anticon{display:inline-block}.ant-menu.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu.ant-menu-inline-collapsed-tooltip a{color:#ffffffd9}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right,.ant-menu-root.ant-menu-inline{box-shadow:none}.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item>.ant-menu-inline-collapsed-noicon,.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title>.ant-menu-inline-collapsed-noicon{font-size:14px;text-align:center}.ant-menu-sub.ant-menu-inline{padding:0;background:#fafafa;border:0;border-radius:0;box-shadow:none}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:32px;line-height:32px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:#00000040!important;background:none;cursor:not-allowed}.ant-menu-item-disabled:after,.ant-menu-submenu-disabled:after{border-color:transparent!important}.ant-menu-item-disabled a,.ant-menu-submenu-disabled a{color:#00000040!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:#00000040!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{background:rgba(0,0,0,.25)!important}.ant-layout-header .ant-menu{line-height:inherit}.ant-menu-inline-collapsed-tooltip a,.ant-menu-inline-collapsed-tooltip a:hover{color:#fff}.ant-menu-light .ant-menu-item:hover,.ant-menu-light .ant-menu-item-active,.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,.ant-menu-light .ant-menu-submenu-active,.ant-menu-light .ant-menu-submenu-title:hover{color:#1890ff}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px #096dd9}.ant-menu-dark .ant-menu-item:focus-visible,.ant-menu-dark .ant-menu-submenu-title:focus-visible{box-shadow:0 0 0 2px #096dd9}.ant-menu.ant-menu-dark,.ant-menu-dark .ant-menu-sub,.ant-menu.ant-menu-dark .ant-menu-sub{color:#ffffffa6;background:#001529}.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:transparent}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;padding:0 12px;border-color:#001529;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover{background-color:#1890ff}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a,.ant-menu-dark .ant-menu-item>span>a{color:#ffffffa6}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:transparent}.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-title:hover>a,.ant-menu-dark .ant-menu-item:hover>span>a,.ant-menu-dark .ant-menu-item-active>span>a,.ant-menu-dark .ant-menu-submenu-active>span>a,.ant-menu-dark .ant-menu-submenu-open>span>a,.ant-menu-dark .ant-menu-submenu-selected>span>a,.ant-menu-dark .ant-menu-submenu-title:hover>span>a{color:#fff}.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:transparent}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>span>a,.ant-menu-dark .ant-menu-item-selected>a:hover,.ant-menu-dark .ant-menu-item-selected>span>a:hover{color:#fff}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,.ant-menu-dark .ant-menu-item-selected .anticon{color:#fff}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon+span,.ant-menu-dark .ant-menu-item-selected .anticon+span{color:#fff}.ant-menu.ant-menu-dark .ant-menu-item-selected,.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled>a,.ant-menu-dark .ant-menu-item-disabled>span>a,.ant-menu-dark .ant-menu-submenu-disabled>span>a{color:#ffffff59!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:#ffffff59!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{background:rgba(255,255,255,.35)!important}.ant-menu.ant-menu-rtl{direction:rtl;text-align:right}.ant-menu-rtl .ant-menu-item-group-title{text-align:right}.ant-menu-rtl.ant-menu-inline,.ant-menu-rtl.ant-menu-vertical{border-right:none;border-left:1px solid #f0f0f0}.ant-menu-rtl.ant-menu-dark.ant-menu-inline,.ant-menu-rtl.ant-menu-dark.ant-menu-vertical{border-left:none}.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu{transform-origin:top right}.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-rtl .ant-menu-item .anticon,.ant-menu-rtl .ant-menu-submenu-title .anticon{margin-right:auto;margin-left:8px}.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-left:0}.ant-menu-submenu-rtl.ant-menu-submenu-popup{transform-origin:100% 0}.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow{right:auto;left:16px}.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateY(-2px)}.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateY(2px)}.ant-menu-rtl.ant-menu-vertical .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-rtl.ant-menu-inline .ant-menu-item:after{right:auto;left:0}.ant-menu-rtl.ant-menu-vertical .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,.ant-menu-rtl.ant-menu-inline .ant-menu-item,.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{text-align:right}.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{padding-right:0;padding-left:34px}.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{padding-right:16px;padding-left:34px}.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title{padding:0 calc(50% - 7px)}.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title{padding:0 28px 0 16px}.ant-menu-sub.ant-menu-inline{border:0}.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-right:32px;padding-left:0}.ant-menu-submenu.ant-menu-submenu-placement-bottom{top:6px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right{left:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right.ant-menu-submenu-rtl{left:auto;right:4px}.ant-menu-submenu.ant-menu-submenu-placement-left{right:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-left.ant-menu-submenu-rtl{right:auto;left:4px}.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions,.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover{background:#fff;border-color:#ff4d4f}.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus,.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-mentions-status-error .ant-input-prefix{color:#ff4d4f}.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions,.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover{background:#fff;border-color:#faad14}.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus,.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-mentions-status-warning .ant-input-prefix{color:#faad14}.ant-mentions{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";width:100%;min-width:0;color:#000000d9;font-size:12px;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;position:relative;display:inline-block;height:auto;padding:0;overflow:hidden;line-height:1.66667;white-space:pre-wrap;vertical-align:bottom}.ant-mentions::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-mentions:placeholder-shown{text-overflow:ellipsis}.ant-mentions:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-mentions:hover{border-right-width:0;border-left-width:1px!important}.ant-mentions:focus,.ant-mentions-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-mentions:focus,.ant-input-rtl .ant-mentions-focused{border-right-width:0;border-left-width:1px!important}.ant-mentions-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-mentions[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-mentions-borderless,.ant-mentions-borderless:hover,.ant-mentions-borderless:focus,.ant-mentions-borderless-focused,.ant-mentions-borderless-disabled,.ant-mentions-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-mentions{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-mentions-lg{padding:3.4px 11px;font-size:14px}.ant-mentions-sm{padding:0 7px}.ant-mentions-disabled>textarea{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions-disabled>textarea:hover{border-color:#d9d9d9;border-right-width:1px}.ant-mentions-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-mentions-focused{border-right-width:0;border-left-width:1px!important}.ant-mentions>textarea,.ant-mentions-measure{min-height:26px;margin:0;padding:3px 7px;overflow:inherit;overflow-x:hidden;overflow-y:auto;font-weight:inherit;font-size:inherit;font-family:inherit;font-style:inherit;font-variant:inherit;font-size-adjust:inherit;font-stretch:inherit;line-height:inherit;direction:inherit;letter-spacing:inherit;white-space:inherit;text-align:inherit;vertical-align:top;word-wrap:break-word;word-break:inherit;tab-size:inherit}.ant-mentions>textarea{width:100%;border:none;outline:none;resize:none}.ant-mentions>textarea::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-mentions>textarea:placeholder-shown{text-overflow:ellipsis}.ant-mentions-measure{position:absolute;inset:0;z-index:-1;color:transparent;pointer-events:none}.ant-mentions-measure>span{display:inline-block;min-height:1em}.ant-mentions-dropdown{margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;font-size:12px;font-variant:initial;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-mentions-dropdown-hidden{display:none}.ant-mentions-dropdown-menu{max-height:250px;margin-bottom:0;padding-left:0;overflow:auto;list-style:none;outline:none}.ant-mentions-dropdown-menu-item{position:relative;display:block;min-width:100px;padding:5px 8px;overflow:hidden;color:#000000d9;font-weight:400;line-height:1.66667;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:background .3s ease}.ant-mentions-dropdown-menu-item:hover{background-color:#f5f5f5}.ant-mentions-dropdown-menu-item:first-child{border-radius:2px 2px 0 0}.ant-mentions-dropdown-menu-item:last-child{border-radius:0 0 2px 2px}.ant-mentions-dropdown-menu-item-disabled{color:#00000040;cursor:not-allowed}.ant-mentions-dropdown-menu-item-disabled:hover{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-mentions-dropdown-menu-item-selected{color:#000000d9;font-weight:600;background-color:#fafafa}.ant-mentions-dropdown-menu-item-active{background-color:#f5f5f5}.ant-mentions-suffix{position:absolute;top:0;right:7px;bottom:0;z-index:1;display:inline-flex;align-items:center;margin:auto}.ant-mentions-rtl{direction:rtl}.ant-mentions-dropdown{top:100%;left:12px;position:relative;width:100%;margin-top:8px;margin-bottom:4px}.ant-mentions:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-mentions:focus-within{border-right-width:0;border-left-width:1px!important}.ant-mentions.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus-within{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-mentions.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus-within{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-message{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:fixed;top:8px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice-content{display:inline-block;padding:8px 16px;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#ff4d4f}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:14px}.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active{animation-name:MessageMoveOut;animation-duration:.3s}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}.ant-message-rtl,.ant-message-rtl span{direction:rtl}.ant-message-rtl .anticon{margin-right:0;margin-left:8px}.ant-modal{box-sizing:border-box;padding:0 0 24px;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";pointer-events:none;position:relative;top:100px;width:auto;max-width:calc(100vw - 32px);margin:0 auto}.ant-modal.ant-zoom-enter,.ant-modal.ant-zoom-appear{transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;user-select:none}.ant-modal-mask{position:fixed;inset:0;z-index:1000;height:100%;background-color:#00000073}.ant-modal-mask-hidden{display:none}.ant-modal-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-modal-wrap{z-index:1000}.ant-modal-title{margin:0;color:#000000d9;font-weight:500;font-size:14px;line-height:22px;word-wrap:break-word}.ant-modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:0;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;pointer-events:auto}.ant-modal-close{position:absolute;top:0;right:0;z-index:10;padding:0;color:#00000073;font-weight:700;line-height:1;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s}.ant-modal-close-x{display:block;width:44px;height:44px;font-size:14px;font-style:normal;line-height:44px;text-align:center;text-transform:none;text-rendering:auto}.ant-modal-close:focus,.ant-modal-close:hover{color:#000000bf;text-decoration:none}.ant-modal-header{padding:11px 16px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-modal-body{padding:16px;font-size:12px;line-height:1.66667;word-wrap:break-word}.ant-modal-footer{padding:8px 16px;text-align:right;background:transparent;border-top:1px solid #f0f0f0;border-radius:0 0 2px 2px}.ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger){margin-bottom:0;margin-left:8px}.ant-modal-open{overflow:hidden}.ant-modal-centered{text-align:center}.ant-modal-centered:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.ant-modal-centered .ant-modal{top:0;display:inline-block;padding-bottom:0;text-align:left;vertical-align:middle}@media (max-width: 767px){.ant-modal{max-width:calc(100vw - 16px);margin:8px auto}.ant-modal-centered .ant-modal{flex:1}}.ant-modal-confirm .ant-modal-header{display:none}.ant-modal-confirm .ant-modal-body{padding:24px 24px 16px}.ant-modal-confirm-body-wrapper:before{display:table;content:""}.ant-modal-confirm-body-wrapper:after{display:table;clear:both;content:""}.ant-modal-confirm-body .ant-modal-confirm-title{display:block;overflow:hidden;color:#000000d9;font-weight:500;font-size:14px;line-height:1.4}.ant-modal-confirm-body .ant-modal-confirm-content{margin-top:8px;color:#000000d9;font-size:12px}.ant-modal-confirm-body>.anticon{float:left;margin-right:16px;font-size:22px}.ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-left:38px}.ant-modal-confirm .ant-modal-confirm-btns{float:right;margin-top:24px}.ant-modal-confirm .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-bottom:0;margin-left:8px}.ant-modal-confirm-error .ant-modal-confirm-body>.anticon{color:#ff4d4f}.ant-modal-confirm-warning .ant-modal-confirm-body>.anticon,.ant-modal-confirm-confirm .ant-modal-confirm-body>.anticon{color:#faad14}.ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#1890ff}.ant-modal-confirm-success .ant-modal-confirm-body>.anticon{color:#52c41a}.ant-modal-wrap-rtl{direction:rtl}.ant-modal-wrap-rtl .ant-modal-close{right:initial;left:0}.ant-modal-wrap-rtl .ant-modal-footer{text-align:left}.ant-modal-wrap-rtl .ant-modal-footer .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-body{direction:rtl}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon{float:right;margin-right:0;margin-left:16px}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-right:38px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-btns{float:left}.ant-modal-wrap-rtl .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl.ant-modal-centered .ant-modal{text-align:right}.ant-notification{box-sizing:border-box;margin:0 24px 0 0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:fixed;z-index:1010}.ant-notification-close-icon{font-size:12px;cursor:pointer}.ant-notification-hook-holder{position:relative}.ant-notification-notice{position:relative;width:384px;max-width:calc(100vw - 48px);margin-bottom:16px;margin-left:auto;padding:12px 16px;overflow:hidden;line-height:1.66667;word-wrap:break-word;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-notification-top .ant-notification-notice,.ant-notification-bottom .ant-notification-notice{margin-right:auto;margin-left:auto}.ant-notification-topLeft .ant-notification-notice,.ant-notification-bottomLeft .ant-notification-notice{margin-right:auto;margin-left:0}.ant-notification-notice-message{margin-bottom:8px;color:#000000d9;font-size:14px;line-height:24px}.ant-notification-notice-message-single-line-auto-margin{display:block;width:calc(280px - 100%);max-width:4px;background-color:transparent;pointer-events:none}.ant-notification-notice-message-single-line-auto-margin:before{display:block;content:""}.ant-notification-notice-description{font-size:12px}.ant-notification-notice-closable .ant-notification-notice-message{padding-right:24px}.ant-notification-notice-with-icon .ant-notification-notice-message{margin-bottom:4px;margin-left:48px;font-size:14px}.ant-notification-notice-with-icon .ant-notification-notice-description{margin-left:48px;font-size:12px}.ant-notification-notice-icon{position:absolute;margin-left:4px;font-size:24px;line-height:24px}.anticon.ant-notification-notice-icon-success{color:#52c41a}.anticon.ant-notification-notice-icon-info{color:#1890ff}.anticon.ant-notification-notice-icon-warning{color:#faad14}.anticon.ant-notification-notice-icon-error{color:#ff4d4f}.ant-notification-notice-close{position:absolute;top:16px;right:22px;color:#00000073;outline:none}.ant-notification-notice-close:hover{color:#000000ab}.ant-notification-notice-btn{float:right;margin-top:16px}.ant-notification .notification-fade-effect{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both}.ant-notification-fade-enter,.ant-notification-fade-appear{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both;opacity:0;animation-play-state:paused}.ant-notification-fade-leave{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both;animation-duration:.2s;animation-play-state:paused}.ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationFadeIn;animation-play-state:running}.ant-notification-fade-leave.ant-notification-fade-leave-active{animation-name:NotificationFadeOut;animation-play-state:running}@keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}.ant-notification-rtl{direction:rtl}.ant-notification-rtl .ant-notification-notice-closable .ant-notification-notice-message{padding-right:0;padding-left:24px}.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-message,.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-description{margin-right:48px;margin-left:0}.ant-notification-rtl .ant-notification-notice-icon{margin-right:4px;margin-left:0}.ant-notification-rtl .ant-notification-notice-close{right:auto;left:22px}.ant-notification-rtl .ant-notification-notice-btn{float:left}.ant-notification-top,.ant-notification-bottom{margin-right:0;margin-left:0}.ant-notification-top .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-top .ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationTopFadeIn}.ant-notification-bottom .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-bottom .ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationBottomFadeIn}.ant-notification-topLeft,.ant-notification-bottomLeft{margin-right:0;margin-left:24px}.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationLeftFadeIn}@keyframes NotificationTopFadeIn{0%{margin-top:-100%;opacity:0}to{margin-top:0;opacity:1}}@keyframes NotificationBottomFadeIn{0%{margin-bottom:-100%;opacity:0}to{margin-bottom:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}.ant-page-header{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;padding:8px 16px;background-color:#fff}.ant-page-header-ghost{background-color:inherit}.ant-page-header.has-breadcrumb{padding-top:8px}.ant-page-header.has-footer{padding-bottom:0}.ant-page-header-back{margin-right:8px;font-size:16px;line-height:1}.ant-page-header-back-button{color:#1890ff;text-decoration:none;outline:none;transition:color .3s;color:#000;cursor:pointer}.ant-page-header-back-button:focus,.ant-page-header-back-button:hover{color:#40a9ff}.ant-page-header-back-button:active{color:#096dd9}.ant-page-header .ant-divider-vertical{height:14px;margin:0 8px;vertical-align:middle}.ant-breadcrumb+.ant-page-header-heading{margin-top:4px}.ant-page-header-heading{display:flex;justify-content:space-between}.ant-page-header-heading-left{display:flex;align-items:center;margin:2px 0;overflow:hidden}.ant-page-header-heading-title{margin-right:8px;margin-bottom:0;color:#000000d9;font-weight:600;font-size:16px;line-height:28px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading .ant-avatar{margin-right:8px}.ant-page-header-heading-sub-title{margin-right:8px;color:#00000073;font-size:12px;line-height:1.66667;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading-extra{margin:2px 0;white-space:nowrap}.ant-page-header-heading-extra>*{white-space:unset}.ant-page-header-content{padding-top:8px}.ant-page-header-footer{margin-top:8px}.ant-page-header-footer .ant-tabs>.ant-tabs-nav{margin:0}.ant-page-header-footer .ant-tabs>.ant-tabs-nav:before{border:none}.ant-page-header-footer .ant-tabs .ant-tabs-tab{padding-top:4px;padding-bottom:4px;font-size:14px}.ant-page-header-compact .ant-page-header-heading{flex-wrap:wrap}.ant-page-header-rtl{direction:rtl}.ant-page-header-rtl .ant-page-header-back{float:right;margin-right:0;margin-left:16px}.ant-page-header-rtl .ant-page-header-heading-title,.ant-page-header-rtl .ant-page-header-heading .ant-avatar{margin-right:0;margin-left:8px}.ant-page-header-rtl .ant-page-header-heading-sub-title{float:right;margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-tags{float:right}.ant-page-header-rtl .ant-page-header-heading-extra{float:left}.ant-page-header-rtl .ant-page-header-heading-extra>*{margin-right:8px;margin-left:0}.ant-page-header-rtl .ant-page-header-heading-extra>*:first-child{margin-right:0}.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav{float:right}.ant-page-header-back-button{border:0;background:transparent;padding:0;line-height:inherit;display:inline-block}nz-page-header,nz-page-header-content,nz-page-header-footer{display:block}.ant-pagination{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-pagination ul,.ant-pagination ol{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-total-text{display:inline-block;height:28px;margin-right:8px;line-height:26px;vertical-align:middle}.ant-pagination-item{display:inline-block;min-width:28px;height:28px;margin-right:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:26px;text-align:center;vertical-align:middle;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:0;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:#000000d9;transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:hover{border-color:#1890ff;transition:all .3s}.ant-pagination-item:hover a{color:#1890ff}.ant-pagination-item:focus-visible{border-color:#1890ff;transition:all .3s}.ant-pagination-item:focus-visible a{color:#1890ff}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#1890ff}.ant-pagination-item-active a{color:#1890ff}.ant-pagination-item-active:hover{border-color:#40a9ff}.ant-pagination-item-active:focus-visible{border-color:#40a9ff}.ant-pagination-item-active:hover a{color:#40a9ff}.ant-pagination-item-active:focus-visible a{color:#40a9ff}.ant-pagination-jump-prev,.ant-pagination-jump-next{outline:0}.ant-pagination-jump-prev .ant-pagination-item-container,.ant-pagination-jump-next .ant-pagination-item-container{position:relative}.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon{color:#1890ff;font-size:12px;letter-spacing:-1px;opacity:0;transition:all .2s}.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg{inset:0;margin:auto}.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;inset:0;display:block;margin:auto;color:#00000040;font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .2s}.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon,.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis,.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-prev,.ant-pagination-jump-prev,.ant-pagination-jump-next{margin-right:8px}.ant-pagination-prev,.ant-pagination-next,.ant-pagination-jump-prev,.ant-pagination-jump-next{display:inline-block;min-width:28px;height:28px;color:#000000d9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:28px;text-align:center;vertical-align:middle;list-style:none;border-radius:2px;cursor:pointer;transition:all .3s}.ant-pagination-prev,.ant-pagination-next{font-family:Arial,Helvetica,sans-serif;outline:0}.ant-pagination-prev button,.ant-pagination-next button{color:#000000d9;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-pagination-prev:hover button,.ant-pagination-next:hover button{border-color:#40a9ff}.ant-pagination-prev .ant-pagination-item-link,.ant-pagination-next .ant-pagination-item-link{display:block;width:100%;height:100%;padding:0;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:all .3s}.ant-pagination-prev:focus-visible .ant-pagination-item-link,.ant-pagination-next:focus-visible .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-prev:hover .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-disabled,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:hover .ant-pagination-item-link{color:#00000040;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-disabled:focus-visible{cursor:not-allowed}.ant-pagination-disabled:focus-visible .ant-pagination-item-link{color:#00000040;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}@media all and (-ms-high-contrast: none){.ant-pagination-options *::-ms-backdrop,.ant-pagination-options{vertical-align:top}}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto}.ant-pagination-options-quick-jumper{display:inline-block;height:28px;margin-left:4px;line-height:28px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;width:50px;height:28px;margin:0 8px}.ant-pagination-options-quick-jumper input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-pagination-options-quick-jumper input:placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-pagination-options-quick-jumper input:hover{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input:focus,.ant-pagination-options-quick-jumper input-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-pagination-options-quick-jumper input:focus,.ant-input-rtl .ant-pagination-options-quick-jumper input-focused{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-pagination-options-quick-jumper input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-pagination-options-quick-jumper input-borderless,.ant-pagination-options-quick-jumper input-borderless:hover,.ant-pagination-options-quick-jumper input-borderless:focus,.ant-pagination-options-quick-jumper input-borderless-focused,.ant-pagination-options-quick-jumper input-borderless-disabled,.ant-pagination-options-quick-jumper input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{padding:3.4px 11px;font-size:14px}.ant-pagination-options-quick-jumper input-sm{padding:0 7px}.ant-pagination-options-quick-jumper input-rtl{direction:rtl}.ant-pagination-simple .ant-pagination-prev,.ant-pagination-simple .ant-pagination-next{height:22px;line-height:22px;vertical-align:top}.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link{height:22px;background-color:transparent;border:0}.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after{height:22px;line-height:22px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:22px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}.ant-pagination-simple .ant-pagination-simple-pager input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.ant-pagination-simple .ant-pagination-simple-pager input[disabled]{color:#00000040;background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.mini .ant-pagination-total-text,.ant-pagination.mini .ant-pagination-simple-pager{height:22px;line-height:22px}.ant-pagination.mini .ant-pagination-item{min-width:22px;height:22px;margin:0;line-height:20px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-prev,.ant-pagination.mini .ant-pagination-next{min-width:22px;height:22px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after{height:22px;line-height:22px}.ant-pagination.mini .ant-pagination-jump-prev,.ant-pagination.mini .ant-pagination-jump-next{height:22px;margin-right:0;line-height:22px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-size-changer{top:1px}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:22px;line-height:22px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{padding:0 7px;width:44px;height:22px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:#00000040;background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#e6e6e6}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#00000040}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{color:#00000040;background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{background:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis{opacity:1}.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager{color:#00000040}@media only screen and (max-width: 992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width: 576px){.ant-pagination-options{display:none}}.ant-pagination-rtl .ant-pagination-total-text,.ant-pagination-rtl .ant-pagination-item,.ant-pagination-rtl .ant-pagination-prev,.ant-pagination-rtl .ant-pagination-jump-prev,.ant-pagination-rtl .ant-pagination-jump-next{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-slash{margin:0 5px 0 10px}.ant-pagination-rtl .ant-pagination-options{margin-right:16px;margin-left:0}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper{margin-left:0}.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager,.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input{margin-right:0;margin-left:8px}.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options{margin-right:2px;margin-left:0}nz-pagination{display:block}.ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:left;cursor:auto;-webkit-user-select:text;user-select:text}.ant-popover:after{position:absolute;background:rgba(255,255,255,.01);content:""}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:15.3137085px}.ant-popover-placement-right,.ant-popover-placement-rightTop,.ant-popover-placement-rightBottom{padding-left:15.3137085px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:15.3137085px}.ant-popover-placement-left,.ant-popover-placement-leftTop,.ant-popover-placement-leftBottom{padding-right:15.3137085px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;box-shadow:0 0 8px #00000026 \ }@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ant-popover-inner{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}}.ant-popover-title{min-width:177px;min-height:28px;margin:0;padding:5px 12px 4px;color:#000000d9;font-weight:500;border-bottom:1px solid #f0f0f0}.ant-popover-inner-content{padding:8px 12px;color:#000000d9}.ant-popover-message{position:relative;padding:4px 0 12px;color:#000000d9;font-size:12px}.ant-popover-message>.anticon{position:absolute;top:8.00002px;color:#faad14;font-size:12px}.ant-popover-message-title{padding-left:20px}.ant-popover-buttons{margin-bottom:4px;text-align:right}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{position:absolute;display:block;width:16px;height:16px;overflow:hidden;background:transparent;pointer-events:none}.ant-popover-arrow-content{position:absolute;inset:0;display:block;width:11.3137085px;height:11.3137085px;margin:auto;background-color:#fff;content:"";pointer-events:auto;border-radius:0 0 2px;pointer-events:none}.ant-popover-arrow-content:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:#fff;background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-popover-placement-top .ant-popover-arrow,.ant-popover-placement-topLeft .ant-popover-arrow,.ant-popover-placement-topRight .ant-popover-arrow{bottom:-.6862915px}.ant-popover-placement-top .ant-popover-arrow-content,.ant-popover-placement-topLeft .ant-popover-arrow-content,.ant-popover-placement-topRight .ant-popover-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translateY(-8px) rotate(45deg)}.ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%)}.ant-popover-placement-topLeft .ant-popover-arrow{left:16px}.ant-popover-placement-topRight .ant-popover-arrow{right:16px}.ant-popover-placement-right .ant-popover-arrow,.ant-popover-placement-rightTop .ant-popover-arrow,.ant-popover-placement-rightBottom .ant-popover-arrow{left:-.6862915px}.ant-popover-placement-right .ant-popover-arrow-content,.ant-popover-placement-rightTop .ant-popover-arrow-content,.ant-popover-placement-rightBottom .ant-popover-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translate(8px) rotate(135deg)}.ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-rightTop .ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom .ant-popover-arrow,.ant-popover-placement-bottomLeft .ant-popover-arrow,.ant-popover-placement-bottomRight .ant-popover-arrow{top:-.6862915px}.ant-popover-placement-bottom .ant-popover-arrow-content,.ant-popover-placement-bottomLeft .ant-popover-arrow-content,.ant-popover-placement-bottomRight .ant-popover-arrow-content{box-shadow:2px 2px 5px #0000000f;transform:translateY(8px) rotate(-135deg)}.ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%)}.ant-popover-placement-bottomLeft .ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight .ant-popover-arrow{right:16px}.ant-popover-placement-left .ant-popover-arrow,.ant-popover-placement-leftTop .ant-popover-arrow,.ant-popover-placement-leftBottom .ant-popover-arrow{right:-.6862915px}.ant-popover-placement-left .ant-popover-arrow-content,.ant-popover-placement-leftTop .ant-popover-arrow-content,.ant-popover-placement-leftBottom .ant-popover-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translate(-8px) rotate(-45deg)}.ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-leftTop .ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}.ant-popover-pink .ant-popover-inner,.ant-popover-pink .ant-popover-arrow-content,.ant-popover-magenta .ant-popover-inner,.ant-popover-magenta .ant-popover-arrow-content{background-color:#eb2f96}.ant-popover-red .ant-popover-inner,.ant-popover-red .ant-popover-arrow-content{background-color:#f5222d}.ant-popover-volcano .ant-popover-inner,.ant-popover-volcano .ant-popover-arrow-content{background-color:#fa541c}.ant-popover-orange .ant-popover-inner,.ant-popover-orange .ant-popover-arrow-content{background-color:#fa8c16}.ant-popover-yellow .ant-popover-inner,.ant-popover-yellow .ant-popover-arrow-content{background-color:#fadb14}.ant-popover-gold .ant-popover-inner,.ant-popover-gold .ant-popover-arrow-content{background-color:#faad14}.ant-popover-cyan .ant-popover-inner,.ant-popover-cyan .ant-popover-arrow-content{background-color:#13c2c2}.ant-popover-lime .ant-popover-inner,.ant-popover-lime .ant-popover-arrow-content{background-color:#a0d911}.ant-popover-green .ant-popover-inner,.ant-popover-green .ant-popover-arrow-content{background-color:#52c41a}.ant-popover-blue .ant-popover-inner,.ant-popover-blue .ant-popover-arrow-content{background-color:#1890ff}.ant-popover-geekblue .ant-popover-inner,.ant-popover-geekblue .ant-popover-arrow-content{background-color:#2f54eb}.ant-popover-purple .ant-popover-inner,.ant-popover-purple .ant-popover-arrow-content{background-color:#722ed1}.ant-popover-rtl{direction:rtl;text-align:right}.ant-popover-rtl .ant-popover-message-title{padding-right:20px;padding-left:8px}.ant-popover-rtl .ant-popover-buttons{text-align:left}.ant-popover-rtl .ant-popover-buttons button{margin-right:8px;margin-left:0}.ant-popover{position:relative}.ant-progress{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-progress-line{position:relative;width:100%;font-size:12px}.ant-progress-steps{display:inline-block}.ant-progress-steps-outer{display:flex;flex-direction:row;align-items:center}.ant-progress-steps-item{flex-shrink:0;min-width:2px;margin-right:2px;background:#f3f3f3;transition:all .3s}.ant-progress-steps-item-active{background:#1890ff}.ant-progress-small.ant-progress-line,.ant-progress-small.ant-progress-line .ant-progress-text .anticon{font-size:12px}.ant-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ant-progress-show-info .ant-progress-outer{margin-right:calc(-2em - 8px);padding-right:calc(2em + 8px)}.ant-progress-inner{position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;background-color:#f5f5f5;border-radius:100px}.ant-progress-circle-trail{stroke:#f5f5f5}.ant-progress-circle-path{animation:ant-progress-appear .3s}.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#1890ff}.ant-progress-success-bg,.ant-progress-bg{position:relative;background-color:#1890ff;border-radius:100px;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.ant-progress-success-bg{position:absolute;top:0;left:0;background-color:#52c41a}.ant-progress-text{display:inline-block;width:2em;margin-left:8px;color:#000000d9;font-size:1em;line-height:1;white-space:nowrap;text-align:left;vertical-align:middle;word-break:normal}.ant-progress-text .anticon{font-size:12px}.ant-progress-status-active .ant-progress-bg:before{position:absolute;inset:0;background:#fff;border-radius:10px;opacity:0;animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;content:""}.ant-progress-status-exception .ant-progress-bg{background-color:#ff4d4f}.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#ff4d4f}.ant-progress-status-success .ant-progress-bg{background-color:#52c41a}.ant-progress-status-success .ant-progress-text{color:#52c41a}.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#52c41a}.ant-progress-circle .ant-progress-inner{position:relative;line-height:1;background-color:transparent}.ant-progress-circle .ant-progress-text{position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:#000000d9;font-size:.833333em;line-height:1;white-space:normal;text-align:center;transform:translate(-50%,-50%)}.ant-progress-circle .ant-progress-text .anticon{font-size:1.16666667em}.ant-progress-circle.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-circle.ant-progress-status-success .ant-progress-text{color:#52c41a}@keyframes ant-progress-active{0%{transform:translate(-100%) scaleX(0);opacity:.1}20%{transform:translate(-100%) scaleX(0);opacity:.5}to{transform:translate(0) scaleX(1);opacity:0}}.ant-progress-rtl{direction:rtl}.ant-progress-rtl.ant-progress-show-info .ant-progress-outer{margin-right:0;margin-left:calc(-2em - 8px);padding-right:0;padding-left:calc(2em + 8px)}.ant-progress-rtl .ant-progress-success-bg{right:0;left:auto}.ant-progress-rtl.ant-progress-line .ant-progress-text,.ant-progress-rtl.ant-progress-steps .ant-progress-text{margin-right:8px;margin-left:0;text-align:right}.ant-radio-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block;font-size:0}.ant-radio-group .ant-badge-count{z-index:1}.ant-radio-group>.ant-badge:not(:first-child)>.ant-radio-button-wrapper{border-left:none}.ant-radio-wrapper{box-sizing:border-box;margin:0 6px 0 0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-flex;align-items:baseline;cursor:pointer}.ant-radio-wrapper-disabled{cursor:not-allowed}.ant-radio-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-radio-wrapper.ant-radio-wrapper-in-form-item input[type=radio]{width:14px;height:14px}.ant-radio{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:-2px;display:inline-block;outline:none;cursor:pointer}.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner,.ant-radio-input:focus+.ant-radio-inner{border-color:#1890ff}.ant-radio-input:focus+.ant-radio-inner{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;visibility:hidden;animation:antRadioEffect .36s ease-in-out;animation-fill-mode:both;content:""}.ant-radio:hover:after,.ant-radio-wrapper:hover .ant-radio:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;background-color:#fff;border-color:#d9d9d9;border-style:solid;border-width:1px;border-radius:50%;transition:all .3s}.ant-radio-inner:after{position:absolute;top:50%;left:50%;display:block;width:14px;height:14px;margin-top:-7px;margin-left:-7px;background-color:#1890ff;border-top:0;border-left:0;border-radius:14px;transform:scale(0);opacity:0;transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;inset:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#1890ff}.ant-radio-checked .ant-radio-inner:after{transform:scale(.42857143);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled{cursor:not-allowed}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:#0003}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:#00000040;cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:28px;margin:0;padding:0 7px;color:#000000d9;font-size:12px;line-height:26px;background:#fff;border:1px solid #d9d9d9;border-top-width:1.02px;border-left-width:0;cursor:pointer;transition:color .3s,background .3s,border-color .3s,box-shadow .3s}.ant-radio-button-wrapper a{color:#000000d9}.ant-radio-button-wrapper>.ant-radio-button{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.ant-radio-group-large .ant-radio-button-wrapper{height:32px;font-size:14px;line-height:30px}.ant-radio-group-small .ant-radio-button-wrapper{height:22px;padding:0 7px;line-height:20px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:-1px;left:-1px;display:block;box-sizing:content-box;width:1px;height:100%;padding:1px 0;background-color:#d9d9d9;transition:background-color .3s;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:2px 0 0 2px}.ant-radio-button-wrapper:last-child{border-radius:0 2px 2px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:2px}.ant-radio-button-wrapper:hover{position:relative;color:#1890ff}.ant-radio-button-wrapper:focus-within{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#1890ff;background:#fff;border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#1890ff;border-color:#1890ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#40a9ff;border-color:#40a9ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#096dd9;border-color:#096dd9}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-button-wrapper-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:#00000040;background-color:#e6e6e6;border-color:#d9d9d9;box-shadow:none}@keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-radio-group.ant-radio-group-rtl{direction:rtl}.ant-radio-wrapper.ant-radio-wrapper-rtl{margin-right:0;margin-left:6px;direction:rtl}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl{border-right-width:0;border-left-width:1px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child):before{right:-1px;left:0}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child{border-right:1px solid #d9d9d9;border-radius:0 2px 2px 0}.ant-radio-button-wrapper-checked:not([class*=" ant-radio-button-wrapper-disabled"]).ant-radio-button-wrapper:first-child{border-right-color:#40a9ff}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child{border-radius:2px 0 0 2px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child{border-right-color:#d9d9d9}.ant-radio+span:empty{display:none}.ant-rate{box-sizing:border-box;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";display:inline-block;margin:0;padding:0;color:#fadb14;font-size:16px;line-height:unset;list-style:none;outline:none}.ant-rate-disabled .ant-rate-star{cursor:default}.ant-rate-disabled .ant-rate-star>div:hover{transform:scale(1)}.ant-rate-star{position:relative;display:inline-block;color:inherit;cursor:pointer}.ant-rate-star:not(:last-child){margin-right:8px}.ant-rate-star>div{transition:all .3s,outline 0s}.ant-rate-star>div:hover{transform:scale(1.1)}.ant-rate-star>div:focus{outline:0}.ant-rate-star>div:focus-visible{outline:1px dashed #fadb14;transform:scale(1.1)}.ant-rate-star-first,.ant-rate-star-second{color:#f0f0f0;transition:all .3s;-webkit-user-select:none;user-select:none}.ant-rate-star-first .anticon,.ant-rate-star-second .anticon{vertical-align:middle}.ant-rate-star-first{position:absolute;top:0;left:0;width:50%;height:100%;overflow:hidden;opacity:0}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-half .ant-rate-star-second{opacity:1}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-full .ant-rate-star-second{color:inherit}.ant-rate-text{display:inline-block;margin:0 8px;font-size:12px}.ant-rate-rtl{direction:rtl}.ant-rate-rtl .ant-rate-star:not(:last-child){margin-right:0;margin-left:8px}.ant-rate-rtl .ant-rate-star-first{right:0;left:auto}.ant-select-single .ant-select-selector{display:flex}.ant-select-single .ant-select-selector .ant-select-selection-search{position:absolute;inset:0 7px}.ant-select-single .ant-select-selector .ant-select-selection-search-input{width:100%}.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{padding:0;line-height:26px;transition:all .3s}@supports (-moz-appearance: meterbar){.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:26px}}.ant-select-single .ant-select-selector .ant-select-selection-item{position:relative;-webkit-user-select:none;user-select:none}.ant-select-single .ant-select-selector .ant-select-selection-placeholder{transition:none;pointer-events:none}.ant-select-single .ant-select-selector:after,.ant-select-single .ant-select-selector .ant-select-selection-item:after,.ant-select-single .ant-select-selector .ant-select-selection-placeholder:after{display:inline-block;width:0;visibility:hidden;content:"\a0"}.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:19px}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:15px}.ant-select-single.ant-select-open .ant-select-selection-item{color:#bfbfbf}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{width:100%;height:28px;padding:0 7px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{height:26px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{line-height:26px}.ant-select-single.ant-select-customize-input .ant-select-selector:after{display:none}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search{position:static;width:100%}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder{position:absolute;right:0;left:0;padding:0 7px}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder:after{display:none}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:32px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder{line-height:30px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:30px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder{line-height:20px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:20px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search{right:7px;left:7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{padding:0 7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:25px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:18px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{padding:0 11px}.ant-select-selection-overflow{position:relative;display:flex;flex:auto;flex-wrap:wrap;max-width:100%}.ant-select-selection-overflow-item{flex:none;align-self:center;max-width:100%}.ant-select-multiple .ant-select-selector{display:flex;flex-wrap:wrap;align-items:center;padding:0 3px}.ant-select-show-search.ant-select-multiple .ant-select-selector{cursor:text}.ant-select-disabled.ant-select-multiple .ant-select-selector{background:#f5f5f5;cursor:not-allowed}.ant-select-multiple .ant-select-selector:after{display:inline-block;width:0;margin:3px 0;line-height:20px;content:"\a0"}.ant-select-multiple.ant-select-show-arrow .ant-select-selector,.ant-select-multiple.ant-select-allow-clear .ant-select-selector{padding-right:20px}.ant-select-multiple .ant-select-selection-item{position:relative;display:flex;flex:none;box-sizing:border-box;max-width:100%;height:20px;margin-top:3px;margin-bottom:3px;line-height:18px;background:#f5f5f5;border:1px solid #f0f0f0;border-radius:2px;cursor:default;transition:font-size .3s,line-height .3s,height .3s;-webkit-user-select:none;user-select:none;margin-inline-end:3px;padding-inline-start:4px;padding-inline-end:2px}.ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:#bfbfbf;border-color:#d9d9d9;cursor:not-allowed}.ant-select-multiple .ant-select-selection-item-content{display:inline-block;margin-right:2px;overflow:hidden;white-space:pre;text-overflow:ellipsis}.ant-select-multiple .ant-select-selection-item-remove{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;color:#00000073;font-weight:700;font-size:10px;line-height:inherit;cursor:pointer}.ant-select-multiple .ant-select-selection-item-remove>*{line-height:1}.ant-select-multiple .ant-select-selection-item-remove svg{display:inline-block}.ant-select-multiple .ant-select-selection-item-remove:before{display:none}.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon{display:block}.ant-select-multiple .ant-select-selection-item-remove>.anticon{vertical-align:middle}.ant-select-multiple .ant-select-selection-item-remove:hover{color:#000000bf}.ant-select-multiple .ant-select-selection-overflow-item+.ant-select-selection-overflow-item .ant-select-selection-search{margin-inline-start:0}.ant-select-multiple .ant-select-selection-search{position:relative;max-width:100%;margin-inline-start:4px}.ant-select-multiple .ant-select-selection-search-input,.ant-select-multiple .ant-select-selection-search-mirror{height:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:20px;transition:all .3s}.ant-select-multiple .ant-select-selection-search-input{width:100%;min-width:4.1px}.ant-select-multiple .ant-select-selection-search-mirror{position:absolute;top:0;left:0;z-index:999;white-space:pre;visibility:hidden}.ant-select-multiple .ant-select-selection-placeholder{position:absolute;top:50%;right:7px;left:7px;transform:translateY(-50%);transition:all .3s}.ant-select-multiple.ant-select-lg .ant-select-selector:after{line-height:26px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:26px;line-height:24px}.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:26px;line-height:26px}.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror{height:26px;line-height:24px}.ant-select-multiple.ant-select-sm .ant-select-selector:after{line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:16px;line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{left:7px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{margin-inline-start:3px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:24px;line-height:24px}.ant-select-disabled .ant-select-selection-item-remove{display:none}.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#ff4d4f!important}.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#faad14!important}.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-select-status-error.ant-select-has-feedback .ant-select-clear,.ant-select-status-warning.ant-select-has-feedback .ant-select-clear,.ant-select-status-success.ant-select-has-feedback .ant-select-clear,.ant-select-status-validating.ant-select-has-feedback .ant-select-clear{right:32px}.ant-select-status-error.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-warning.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-success.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-validating.ant-select-has-feedback .ant-select-selection-selected-value{padding-right:42px}.ant-select{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;cursor:pointer}.ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:pointer}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:text}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:auto}.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:#00000040;background:#f5f5f5;cursor:not-allowed}.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{background:#f5f5f5}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:not-allowed}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{margin:0;padding:0;background:transparent;border:none;outline:none;-webkit-appearance:none;appearance:none}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-selection-item{flex:1;overflow:hidden;font-weight:400;white-space:nowrap;text-overflow:ellipsis}@media all and (-ms-high-contrast: none){.ant-select-selection-item *::-ms-backdrop,.ant-select-selection-item{flex:auto}}.ant-select-selection-placeholder{flex:1;overflow:hidden;color:#bfbfbf;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}@media all and (-ms-high-contrast: none){.ant-select-selection-placeholder *::-ms-backdrop,.ant-select-selection-placeholder{flex:auto}}.ant-select-arrow{display:inline-block;color:inherit;font-style:normal;line-height:0;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;right:7px;display:flex;align-items:center;height:12px;margin-top:-6px;color:#00000040;font-size:12px;line-height:1;text-align:center;pointer-events:none}.ant-select-arrow>*{line-height:1}.ant-select-arrow svg{display:inline-block}.ant-select-arrow:before{display:none}.ant-select-arrow .ant-select-arrow-icon{display:block}.ant-select-arrow .anticon{vertical-align:top;transition:transform .3s}.ant-select-arrow .anticon>svg{vertical-align:top}.ant-select-arrow .anticon:not(.ant-select-suffix){pointer-events:auto}.ant-select-disabled .ant-select-arrow{cursor:not-allowed}.ant-select-arrow>*:not(:last-child){margin-inline-end:4px}.ant-select-clear{position:absolute;top:50%;right:7px;z-index:1;display:inline-block;width:12px;height:12px;margin-top:-6px;color:#00000040;font-size:12px;font-style:normal;line-height:1;text-align:center;text-transform:none;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease;text-rendering:auto}.ant-select-clear:before{display:block}.ant-select-clear:hover{color:#00000073}.ant-select:hover .ant-select-clear{opacity:1}.ant-select-dropdown{margin:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;padding:4px 0;overflow:hidden;font-size:12px;font-variant:initial;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft,.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpIn}.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft,.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownIn}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpOut}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownOut}.ant-select-dropdown-empty{color:#00000040}.ant-select-item-empty{position:relative;display:block;min-height:28px;padding:5px 8px;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;color:#00000040}.ant-select-item{position:relative;display:block;min-height:28px;padding:5px 8px;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;cursor:pointer;transition:background .3s ease}.ant-select-item-group{color:#00000073;font-size:12px;cursor:default}.ant-select-item-option{display:flex}.ant-select-item-option-content{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-select-item-option-state{flex:none}.ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#f5f5f5}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#000000d9;font-weight:600;background-color:#e6f7ff}.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state{color:#1890ff}.ant-select-item-option-disabled{color:#00000040;cursor:not-allowed}.ant-select-item-option-disabled.ant-select-item-option-selected{background-color:#f5f5f5}.ant-select-item-option-grouped{padding-left:16px}.ant-select-lg{font-size:14px}.ant-select-borderless .ant-select-selector{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-select.ant-select-in-form-item{width:100%}.ant-select-rtl{direction:rtl}.ant-select-rtl .ant-select-arrow,.ant-select-rtl .ant-select-clear{right:initial;left:7px}.ant-select-dropdown-rtl{direction:rtl}.ant-select-dropdown-rtl .ant-select-item-option-grouped{padding-right:16px;padding-left:8px}.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector,.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector{padding-right:3px;padding-left:20px}.ant-select-rtl.ant-select-multiple .ant-select-selection-item{text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content{margin-right:0;margin-left:2px;text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror{right:0;left:auto}.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder{right:7px;left:auto}.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{right:7px}.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder{right:0;left:9px;text-align:right}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:7px;left:19px}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:15px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:6px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:18px}.ant-select-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;display:block}.ant-select-dropdown .cdk-virtual-scroll-content-wrapper{right:0}.ant-select-dropdown .full-width{contain:initial}.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper{position:static}.ant-select-dropdown .full-width .cdk-virtual-scroll-spacer{position:absolute;top:0;width:1px}.segmented-disabled-item,.segmented-disabled-item:hover,.segmented-disabled-item:focus{color:#00000040;cursor:not-allowed}.segmented-item-selected{background-color:#fff;border-radius:2px;box-shadow:0 2px 8px -2px #0000000d,0 1px 4px -1px #00000012,0 0 1px #00000014}.segmented-text-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-segmented{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block;padding:2px;color:#000000a6;background-color:#0000000a;border-radius:2px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-segmented-group{position:relative;display:flex;align-items:stretch;justify-items:flex-start;width:100%}.ant-segmented.ant-segmented-block{display:flex}.ant-segmented.ant-segmented-block .ant-segmented-item{flex:1;min-width:0}.ant-segmented:not(.ant-segmented-disabled):hover,.ant-segmented:not(.ant-segmented-disabled):focus{background-color:#0000000f}.ant-segmented-item{position:relative;text-align:center;cursor:pointer;transition:color .3s cubic-bezier(.645,.045,.355,1)}.ant-segmented-item-selected{background-color:#fff;border-radius:2px;box-shadow:0 2px 8px -2px #0000000d,0 1px 4px -1px #00000012,0 0 1px #00000014;color:#262626}.ant-segmented-item:hover,.ant-segmented-item:focus{color:#262626}.ant-segmented-item-label{min-height:24px;padding:0 7px;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-segmented-item-icon+*{margin-left:8px / 2}.ant-segmented-item-input{position:absolute;top:0;left:0;width:0;height:0;opacity:0;pointer-events:none}.ant-segmented.ant-segmented-lg .ant-segmented-item-label{min-height:28px;padding:0 11px;font-size:14px;line-height:28px}.ant-segmented.ant-segmented-sm .ant-segmented-item-label{min-height:18px;padding:0 7px;line-height:18px}.ant-segmented-item-disabled,.ant-segmented-item-disabled:hover,.ant-segmented-item-disabled:focus{color:#00000040;cursor:not-allowed}.ant-segmented-thumb{background-color:#fff;border-radius:2px;box-shadow:0 2px 8px -2px #0000000d,0 1px 4px -1px #00000012,0 0 1px #00000014;position:absolute;top:0;left:0;width:0;height:100%;padding:4px 0}.ant-segmented-thumb-motion-appear-active{transition:transform .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1);will-change:transform,width}.ant-segmented.ant-segmented-rtl{direction:rtl}.ant-segmented.ant-segmented-rtl .ant-segmented-item-icon{margin-right:0;margin-left:6px}.ant-skeleton{display:table;width:100%}.ant-skeleton-header{display:table-cell;padding-right:8px;vertical-align:top}.ant-skeleton-header .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);width:28px;height:28px;line-height:28px}.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-lg{width:32px;height:32px;line-height:32px}.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-sm{width:22px;height:22px;line-height:22px}.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-content{display:table-cell;width:100%;vertical-align:top}.ant-skeleton-content .ant-skeleton-title{width:100%;height:14px;margin-top:8px;background:rgba(190,190,190,.2);border-radius:4px}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:20px}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{width:100%;height:14px;list-style:none;background:rgba(190,190,190,.2);border-radius:4px}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:12px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{margin-top:8px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:20px}.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title,.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph>li{border-radius:100px}.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li{background:linear-gradient(90deg,rgba(190,190,190,.2) 25%,rgba(129,129,129,.24) 37%,rgba(190,190,190,.2) 63%);background-size:400% 100%;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-button,.ant-skeleton.ant-skeleton-active .ant-skeleton-input,.ant-skeleton.ant-skeleton-active .ant-skeleton-image{background:linear-gradient(90deg,rgba(190,190,190,.2) 25%,rgba(129,129,129,.24) 37%,rgba(190,190,190,.2) 63%);background-size:400% 100%;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton.ant-skeleton-block,.ant-skeleton.ant-skeleton-block .ant-skeleton-button,.ant-skeleton.ant-skeleton-block .ant-skeleton-input{width:100%}.ant-skeleton-element{display:inline-block;width:auto}.ant-skeleton-element .ant-skeleton-button{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);border-radius:2px;width:56px;min-width:56px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle{width:28px;min-width:28px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round{border-radius:28px}.ant-skeleton-element .ant-skeleton-button-lg{width:64px;min-width:64px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle{width:32px;min-width:32px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round{border-radius:32px}.ant-skeleton-element .ant-skeleton-button-sm{width:44px;min-width:44px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle{width:22px;min-width:22px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round{border-radius:22px}.ant-skeleton-element .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);width:28px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-lg{width:32px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-sm{width:22px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-input{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);width:140px;min-width:140px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-input-lg{width:160px;min-width:160px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-input-sm{width:110px;min-width:110px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-image{display:flex;align-items:center;justify-content:center;vertical-align:top;background:rgba(190,190,190,.2);width:96px;height:96px;line-height:96px}.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-image-path{fill:#bfbfbf}.ant-skeleton-element .ant-skeleton-image-svg{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px}.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle{border-radius:50%}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.ant-skeleton-rtl{direction:rtl}.ant-skeleton-rtl .ant-skeleton-header{padding-right:0;padding-left:16px}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li{animation-name:ant-skeleton-loading-rtl}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar{animation-name:ant-skeleton-loading-rtl}@keyframes ant-skeleton-loading-rtl{0%{background-position:0% 50%}to{background-position:100% 50%}}.ant-slider{box-sizing:border-box;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;height:12px;margin:10px 6px;padding:4px 0;cursor:pointer;touch-action:none}.ant-slider-vertical{width:12px;height:100%;margin:6px 10px;padding:0 4px}.ant-slider-vertical .ant-slider-rail{width:4px;height:100%}.ant-slider-vertical .ant-slider-track{width:4px}.ant-slider-vertical .ant-slider-handle{margin-top:-6px;margin-left:-5px}.ant-slider-vertical .ant-slider-mark{top:0;left:12px;width:18px;height:100%}.ant-slider-vertical .ant-slider-mark-text{left:4px;white-space:nowrap}.ant-slider-vertical .ant-slider-step{width:4px;height:100%}.ant-slider-vertical .ant-slider-dot{top:auto;margin-left:-2px}.ant-slider-tooltip .ant-tooltip-inner{min-width:unset}.ant-slider-rtl.ant-slider-vertical .ant-slider-handle{margin-right:-5px;margin-left:0}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark{right:12px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text{right:4px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-dot{right:2px;left:auto}.ant-slider-with-marks{margin-bottom:28px}.ant-slider-rail{position:absolute;width:100%;height:4px;background-color:#f5f5f5;border-radius:2px;transition:background-color .3s}.ant-slider-track{position:absolute;height:4px;background-color:#91d5ff;border-radius:2px;transition:background-color .3s}.ant-slider-handle{position:absolute;width:12px;height:12px;margin-top:-4px;background-color:#fff;border:solid 2px #91d5ff;border-radius:50%;box-shadow:0;cursor:pointer;transition:border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18,.89,.32,1.28)}.ant-slider-handle-dragging{z-index:1}.ant-slider-handle:focus{border-color:#46a6ff;outline:none;box-shadow:0 0 0 5px #1890ff1f}.ant-slider-handle.ant-tooltip-open{border-color:#1890ff}.ant-slider:hover .ant-slider-rail{background-color:#e1e1e1}.ant-slider:hover .ant-slider-track{background-color:#69c0ff}.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open){border-color:#69c0ff}.ant-slider-mark{position:absolute;top:14px;left:0;width:100%;font-size:12px}.ant-slider-mark-text{position:absolute;display:inline-block;color:#00000073;text-align:center;word-break:keep-all;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-slider-mark-text-active{color:#000000d9}.ant-slider-step{position:absolute;width:100%;height:4px;background:transparent;pointer-events:none}.ant-slider-dot{position:absolute;top:-2px;width:8px;height:8px;background-color:#fff;border:2px solid #f0f0f0;border-radius:50%;cursor:pointer}.ant-slider-dot-active{border-color:#8cc8ff}.ant-slider-disabled{cursor:not-allowed}.ant-slider-disabled .ant-slider-rail{background-color:#f5f5f5!important}.ant-slider-disabled .ant-slider-track{background-color:#00000040!important}.ant-slider-disabled .ant-slider-handle,.ant-slider-disabled .ant-slider-dot{background-color:#fff;border-color:#00000040!important;box-shadow:none;cursor:not-allowed}.ant-slider-disabled .ant-slider-mark-text,.ant-slider-disabled .ant-slider-dot{cursor:not-allowed!important}.ant-slider-rtl{direction:rtl}.ant-slider-rtl .ant-slider-mark{right:0;left:auto}.ant-spin{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;display:none;color:#1890ff;text-align:center;vertical-align:middle;opacity:0;transition:transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:6px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:3px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:12px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s}.ant-spin-container:after{position:absolute;inset:0;z-index:10;display:none \ ;width:100%;height:100%;background:#fff;opacity:0;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:#00000073}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}.ant-spin-dot-item:nth-child(1){top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(0);animation:antRotate 1.2s infinite linear}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ant-spin-blur{background:#fff;opacity:.5}}@keyframes antSpinMove{to{opacity:1}}@keyframes antRotate{to{transform:rotate(360deg)}}.ant-spin-rtl{direction:rtl}.ant-spin-rtl .ant-spin-dot-spin{transform:rotate(-45deg);animation-name:antRotateRtl}@keyframes antRotateRtl{to{transform:rotate(-405deg)}}nz-spin{display:block}.ant-statistic{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:0;color:#00000073;font-size:12px}.ant-statistic-content{color:#000000d9;font-size:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}.ant-steps{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:flex;width:100%;font-size:0;text-align:initial}.ant-steps-item{position:relative;display:inline-block;flex:1;overflow:hidden;vertical-align:top}.ant-steps-item-container{outline:none}.ant-steps-item:last-child{flex:none}.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-tail,.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-item-icon,.ant-steps-item-content{display:inline-block;vertical-align:top}.ant-steps-item-icon{width:24px;height:24px;margin:2px 8px 2px 0;font-size:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:24px;text-align:center;border:1px solid rgba(0,0,0,.25);border-radius:24px;transition:background-color .3s,border-color .3s}.ant-steps-item-icon .ant-steps-icon{position:relative;top:0;color:#1890ff;line-height:1}.ant-steps-item-tail{position:absolute;top:12px;left:0;width:100%;padding:0 10px}.ant-steps-item-tail:after{display:inline-block;width:100%;height:1px;background:#f0f0f0;border-radius:1px;transition:background .3s;content:""}.ant-steps-item-title{position:relative;display:inline-block;padding-right:16px;color:#000000d9;font-size:14px;line-height:28px}.ant-steps-item-title:after{position:absolute;top:14px;left:100%;display:block;width:9999px;height:1px;background:#f0f0f0;content:""}.ant-steps-item-subtitle{display:inline;margin-left:8px;color:#00000073;font-weight:400;font-size:12px}.ant-steps-item-description{color:#00000073;font-size:12px}.ant-steps-item-wait .ant-steps-item-icon{background-color:#fff;border-color:#00000040}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon{color:#00000040}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:rgba(0,0,0,.25)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#00000073}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#00000073}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#000000d9}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#000000d9}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon .ant-steps-icon{color:#fff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-title{font-weight:500}.ant-steps-item-finish .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#000000d9}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#00000073}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#1890ff}.ant-steps-item-error .ant-steps-item-icon{background-color:#fff;border-color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon{color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item.ant-steps-next-error .ant-steps-item-title:after{background:#ff4d4f}.ant-steps-item-disabled{cursor:not-allowed}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]{cursor:pointer}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-title,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-icon .ant-steps-icon{transition:color .3s}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-title,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-description{color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon{border-color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon{color:#1890ff}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:16px;white-space:nowrap}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-right:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-tail{display:none}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-description{max-width:140px;white-space:normal}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon{height:auto;background:none;border:0}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon>.ant-steps-icon{top:2px;left:.5px;width:20px;height:20px;font-size:20px;line-height:20px}.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon{width:auto;background:none}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:12px}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-small .ant-steps-item-icon{width:20px;height:20px;margin:0 8px 0 0;font-size:12px;line-height:20px;text-align:center;border-radius:20px}.ant-steps-small .ant-steps-item-title{padding-right:12px;font-size:12px;line-height:20px}.ant-steps-small .ant-steps-item-title:after{top:10px}.ant-steps-small .ant-steps-item-description{color:#00000073;font-size:12px}.ant-steps-small .ant-steps-item-tail{top:8px}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon{width:inherit;height:inherit;line-height:inherit;background:none;border:0;border-radius:0}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{font-size:20px;line-height:20px;transform:none}.ant-steps-vertical{display:flex;flex-direction:column}.ant-steps-vertical>.ant-steps-item{display:block;flex:1 0 auto;padding-left:0;overflow:visible}.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:left;margin-right:12px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-content{display:block;min-height:48px;overflow:hidden}.ant-steps-vertical>.ant-steps-item .ant-steps-item-title{line-height:24px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-description{padding-bottom:12px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{position:absolute;top:0;left:12px;width:1px;height:100%;padding:30px 0 6px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail:after{width:1px;height:100%}.ant-steps-vertical>.ant-steps-item:not(:last-child)>.ant-steps-item-container>.ant-steps-item-tail{display:block}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{position:absolute;top:0;left:10px;padding:26px 0 6px}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title{line-height:20px}.ant-steps-label-vertical .ant-steps-item{overflow:visible}.ant-steps-label-vertical .ant-steps-item-tail{margin-left:58px;padding:3.5px 24px}.ant-steps-label-vertical .ant-steps-item-content{display:block;width:108px;margin-top:8px;text-align:center}.ant-steps-label-vertical .ant-steps-item-icon{display:inline-block;margin-left:42px}.ant-steps-label-vertical .ant-steps-item-title{padding-right:0;padding-left:0}.ant-steps-label-vertical .ant-steps-item-title:after{display:none}.ant-steps-label-vertical .ant-steps-item-subtitle{display:block;margin-bottom:4px;margin-left:0;line-height:1.66667}.ant-steps-label-vertical.ant-steps-small:not(.ant-steps-dot) .ant-steps-item-icon{margin-left:46px}.ant-steps-dot .ant-steps-item-title,.ant-steps-dot.ant-steps-small .ant-steps-item-title{line-height:1.66667}.ant-steps-dot .ant-steps-item-tail,.ant-steps-dot.ant-steps-small .ant-steps-item-tail{top:4px;width:100%;margin:0 0 0 70px;padding:0}.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{width:calc(100% - 20px);height:3px;margin-left:12px}.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{left:2px}.ant-steps-dot .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-icon{width:8px;height:8px;margin-left:67px;padding-right:0;line-height:8px;background:transparent;border:0}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{position:relative;float:left;width:100%;height:100%;border-radius:100px;transition:all .3s}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{position:absolute;top:-12px;left:-26px;width:60px;height:32px;background:rgba(0,0,0,.001);content:""}.ant-steps-dot .ant-steps-item-content,.ant-steps-dot.ant-steps-small .ant-steps-item-content{width:140px}.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon{position:relative;top:-1px;width:10px;height:10px;line-height:10px;background:none}.ant-steps-dot .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-top:13px;margin-left:0;background:none}.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:6.5px;left:-9px;margin:0;padding:22px 0 4px}.ant-steps-vertical.ant-steps-dot.ant-steps-small .ant-steps-item-icon{margin-top:10px}.ant-steps-vertical.ant-steps-dot.ant-steps-small .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:3.5px}.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-content{width:inherit}.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-item-container .ant-steps-item-icon .ant-steps-icon-dot{top:-1px;left:-1px}.ant-steps-navigation{padding-top:12px}.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-left:-12px}.ant-steps-navigation .ant-steps-item{overflow:visible;text-align:center}.ant-steps-navigation .ant-steps-item-container{display:inline-block;height:100%;margin-left:-16px;padding-bottom:12px;text-align:left;transition:opacity .3s}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-content{max-width:auto}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{max-width:100%;padding-right:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title:after{display:none}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]{cursor:pointer}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]:hover{opacity:.85}.ant-steps-navigation .ant-steps-item:last-child{flex:1}.ant-steps-navigation .ant-steps-item:last-child:after{display:none}.ant-steps-navigation .ant-steps-item:after{position:absolute;top:50%;left:100%;display:inline-block;width:12px;height:12px;margin-top:-14px;margin-left:-2px;border:1px solid rgba(0,0,0,.25);border-bottom:none;border-left:none;transform:rotate(45deg);content:""}.ant-steps-navigation .ant-steps-item:before{position:absolute;bottom:0;left:50%;display:inline-block;width:0;height:2px;background-color:#1890ff;transition:width .3s,left .3s;transition-timing-function:ease-out;content:""}.ant-steps-navigation .ant-steps-item.ant-steps-item-active:before{left:0;width:100%}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item{margin-right:0!important}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:before{display:none}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item.ant-steps-item-active:before{top:0;right:0;left:unset;display:block;width:3px;height:calc(100% - 24px)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:after{position:relative;top:-2px;left:50%;display:block;width:8px;height:8px;margin-bottom:8px;text-align:center;transform:rotate(135deg)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}.ant-steps-navigation.ant-steps-horizontal>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}.ant-steps-rtl{direction:rtl}.ant-steps.ant-steps-rtl .ant-steps-item-icon{margin-right:0;margin-left:8px}.ant-steps-rtl .ant-steps-item-tail{right:0;left:auto}.ant-steps-rtl .ant-steps-item-title{padding-right:0;padding-left:16px}.ant-steps-rtl .ant-steps-item-title .ant-steps-item-subtitle{float:left;margin-right:8px;margin-left:0}.ant-steps-rtl .ant-steps-item-title:after{right:100%;left:auto}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:16px;padding-left:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-left:0}.ant-steps-rtl .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{right:.5px;left:auto}.ant-steps-rtl.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-right:-12px;margin-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container{margin-right:-16px;margin-left:0;text-align:right}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item:after{right:100%;left:auto;margin-right:-2px;margin-left:0;transform:rotate(225deg)}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:12px;padding-left:0}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-small .ant-steps-item-title{padding-right:0;padding-left:12px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:right;margin-right:0;margin-left:12px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:12px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{right:10px;left:auto}.ant-steps-rtl.ant-steps-label-vertical .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail{margin:0 70px 0 0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{margin-right:12px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{right:2px;left:auto}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon{margin-right:67px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{float:right}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{right:-26px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:-9px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{right:0;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-icon-dot{right:-2px;left:auto}.ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child{padding-right:4px;padding-left:0}.ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child.ant-steps-item-active{padding-right:4px}.ant-steps-with-progress .ant-steps-item{padding-top:4px}.ant-steps-with-progress .ant-steps-item .ant-steps-item-tail{top:4px!important}.ant-steps-with-progress.ant-steps-horizontal .ant-steps-item:first-child{padding-bottom:4px;padding-left:4px}.ant-steps-with-progress .ant-steps-item-icon{position:relative}.ant-steps-with-progress .ant-steps-item-icon .ant-progress{position:absolute;inset:-5px}.ant-switch{margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;box-sizing:border-box;min-width:40px;height:20px;line-height:20px;vertical-align:middle;background-image:linear-gradient(to right,rgba(0,0,0,.25),rgba(0,0,0,.25)),linear-gradient(to right,#fff,#fff);border:0;border-radius:100px;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.ant-switch:focus{outline:0;box-shadow:0 0 0 2px #0000001a}.ant-switch-checked:focus{box-shadow:0 0 0 2px #e6f7ff}.ant-switch:focus:hover{box-shadow:none}.ant-switch-checked{background:#1890ff}.ant-switch-loading,.ant-switch-disabled{cursor:not-allowed;opacity:.4}.ant-switch-loading *,.ant-switch-disabled *{box-shadow:none;cursor:not-allowed}.ant-switch-inner{display:block;margin:0 4px 0 22px;color:#fff;font-size:12px;transition:margin .2s}.ant-switch-checked .ant-switch-inner{margin:0 22px 0 4px}.ant-switch-handle{position:absolute;top:2px;left:2px;width:16px;height:16px;transition:all .2s ease-in-out}.ant-switch-handle:before{position:absolute;inset:0;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #00230b33;transition:all .2s ease-in-out;content:""}.ant-switch-checked .ant-switch-handle{left:calc(100% - 18px)}.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle:before{right:-30%;left:0}.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle:before{right:0;left:-30%}.ant-switch-loading-icon.anticon{position:relative;top:2px;color:#000000a6;vertical-align:top}.ant-switch-checked .ant-switch-loading-icon{color:#1890ff}.ant-switch-small{min-width:24px;height:14px;line-height:14px}.ant-switch-small .ant-switch-inner{margin:0 5px 0 16px;font-size:12px}.ant-switch-small .ant-switch-handle{width:10px;height:10px}.ant-switch-small .ant-switch-loading-icon{top:.5px;font-size:9px}.ant-switch-small.ant-switch-checked .ant-switch-inner{margin:0 16px 0 5px}.ant-switch-small.ant-switch-checked .ant-switch-handle{left:calc(100% - 12px)}.ant-switch-rtl{direction:rtl}.ant-switch-rtl .ant-switch-inner{margin:0 22px 0 4px}.ant-switch-rtl .ant-switch-handle{right:2px;left:auto}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle:before{right:0;left:-30%}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle:before{right:-30%;left:0}.ant-switch-rtl.ant-switch-checked .ant-switch-inner{margin:0 4px 0 22px}.ant-switch-rtl.ant-switch-checked .ant-switch-handle{right:calc(100% - 18px)}.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle{right:calc(100% - 12px)}nz-switch{display:inline-block}.ant-table.ant-table-middle{font-size:12px}.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle tfoot>tr>th,.ant-table.ant-table-middle tfoot>tr>td{padding:8px}.ant-table.ant-table-middle .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 25px}.ant-table.ant-table-middle .ant-table-selection-column{padding-inline-start:2px}.ant-table.ant-table-small{font-size:12px}.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small tfoot>tr>th,.ant-table.ant-table-small tfoot>tr>td{padding:4px}.ant-table.ant-table-small .ant-table-filter-trigger{margin-right:-2px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-4px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-4px -4px -4px 21px}.ant-table.ant-table-small .ant-table-selection-column{padding-inline-start:1px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #f0f0f0;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border-left:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>td{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th:before{background-color:transparent!important}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #f0f0f0;content:""}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{border-top:1px solid #f0f0f0}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-4px -5px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #f0f0f0;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar:not([rowspan]){box-shadow:0 1px 0 1px #fafafa}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{display:table;content:""}.ant-table-wrapper:after{display:table;clear:both;content:""}.ant-table{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;font-size:12px;background:#fff;border-radius:2px}.ant-table table{width:100%;text-align:left;border-radius:2px 2px 0 0;border-collapse:separate;border-spacing:0}.ant-table-thead>tr>th,.ant-table-tbody>tr>td,.ant-table tfoot>tr>th,.ant-table tfoot>tr>td{position:relative;padding:12px 8px;overflow-wrap:break-word}.ant-table-cell-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-cell-ellipsis .ant-table-column-title{overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.ant-table-title{padding:12px 8px}.ant-table-footer{padding:12px 8px;color:#000000d9;background:#fafafa}.ant-table-thead>tr>th{position:relative;color:#000000d9;font-weight:500;text-align:left;background:#fafafa;border-bottom:1px solid #f0f0f0;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{position:absolute;top:50%;right:0;width:1px;height:1.6em;background-color:#0000000f;transform:translateY(-50%);transition:background-color .3s;content:""}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 25px}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td,.ant-table-tbody>tr>td.ant-table-cell-row-hover{background:#fafafa}.ant-table-tbody>tr.ant-table-row-selected>td{background:#e6f7ff;border-color:#00000008}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#dcf4ff}.ant-table-summary{position:relative;z-index:2;background:#fff}div.ant-table-summary{box-shadow:0 -1px #f0f0f0}.ant-table-summary>tr>th,.ant-table-summary>tr>td{border-bottom:1px solid #f0f0f0}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex;flex-wrap:wrap;row-gap:4px}.ant-table-pagination>*{flex:none}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{outline:none;cursor:pointer;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:rgba(0,0,0,.04)}.ant-table-thead th.ant-table-column-has-sorters:hover:before{background-color:transparent!important}.ant-table-thead th.ant-table-column-has-sorters:focus-visible{color:#1890ff}.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover,.ant-table-thead th.ant-table-column-sort{background:#f5f5f5}.ant-table-thead th.ant-table-column-sort:before{background-color:transparent!important}td.ant-table-column-sort{background:#fafafa}.ant-table-column-title{position:relative;z-index:1;flex:1}.ant-table-column-sorters{display:flex;flex:auto;align-items:center;justify-content:space-between}.ant-table-column-sorters:after{position:absolute;inset:0;width:100%;height:100%;content:""}.ant-table-column-sorter{margin-left:4px;color:#bfbfbf;font-size:0;transition:color .3s}.ant-table-column-sorter-inner{display:inline-flex;flex-direction:column;align-items:center}.ant-table-column-sorter-up,.ant-table-column-sorter-down{font-size:11px}.ant-table-column-sorter-up.active,.ant-table-column-sorter-down.active{color:#1890ff}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-column-sorters:hover .ant-table-column-sorter{color:#a6a6a6}.ant-table-filter-column{display:flex;justify-content:space-between}.ant-table-filter-trigger{position:relative;display:flex;align-items:center;margin:-4px -4px -4px 4px;padding:0 4px;color:#bfbfbf;font-size:12px;border-radius:2px;cursor:pointer;transition:all .3s}.ant-table-filter-trigger:hover{color:#00000073;background:rgba(0,0,0,.04)}.ant-table-filter-trigger.active{color:#1890ff}.ant-table-filter-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";min-width:120px;background-color:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-table-filter-dropdown .ant-dropdown-menu{max-height:264px;overflow-x:hidden;border:0;box-shadow:none}.ant-table-filter-dropdown .ant-dropdown-menu:empty:after{display:block;padding:8px 0;color:#00000040;font-size:12px;text-align:center;content:"Not Found"}.ant-table-filter-dropdown-tree{padding:8px 8px 0}.ant-table-filter-dropdown-tree .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover{background-color:#bae7ff}.ant-table-filter-dropdown-search{padding:8px;border-bottom:1px #f0f0f0 solid}.ant-table-filter-dropdown-search-input input{min-width:140px}.ant-table-filter-dropdown-search-input .anticon{color:#00000040}.ant-table-filter-dropdown-checkall{width:100%;margin-bottom:4px;margin-left:4px}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{display:flex;justify-content:space-between;padding:7px 8px;overflow:hidden;background-color:inherit;border-top:1px solid #f0f0f0}.ant-table-selection-col{width:32px}.ant-table-bordered .ant-table-selection-col{width:50px}table tr th.ant-table-selection-column,table tr td.ant-table-selection-column{padding-right:4px;padding-left:4px;text-align:center}table tr th.ant-table-selection-column .ant-radio-wrapper,table tr td.ant-table-selection-column .ant-radio-wrapper{margin-right:0}table tr th.ant-table-selection-column.ant-table-cell-fix-left{z-index:3}table tr th.ant-table-selection-column:after{background-color:transparent!important}.ant-table-selection{position:relative;display:inline-flex;flex-direction:column}.ant-table-selection-extra{position:absolute;top:0;z-index:1;cursor:pointer;transition:all .3s;margin-inline-start:100%;padding-inline-start:2px}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{color:#1890ff;text-decoration:none;cursor:pointer;transition:color .3s;position:relative;display:inline-flex;float:left;box-sizing:border-box;width:17px;height:17px;padding:0;color:inherit;line-height:17px;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none;transform:scale(.82352941);transition:all .3s;-webkit-user-select:none;user-select:none}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#40a9ff}.ant-table-row-expand-icon:active{color:#096dd9}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover,.ant-table-row-expand-icon:active{border-color:currentcolor}.ant-table-row-expand-icon:before,.ant-table-row-expand-icon:after{position:absolute;background:currentcolor;transition:transform .3s ease-out;content:""}.ant-table-row-expand-icon:before{top:7px;right:3px;left:3px;height:1px}.ant-table-row-expand-icon:after{top:3px;bottom:3px;left:7px;width:1px;transform:rotate(90deg)}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0)}.ant-table-row-expand-icon-spaced{background:transparent;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:before,.ant-table-row-expand-icon-spaced:after{display:none;content:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-top:1.50002px;margin-right:4px}tr.ant-table-expanded-row>td,tr.ant-table-expanded-row:hover>td{background:#fbfbfb}tr.ant-table-expanded-row .ant-descriptions-view{display:flex}tr.ant-table-expanded-row .ant-descriptions-view table{flex:auto;width:auto}.ant-table .ant-table-expanded-row-fixed{position:relative;margin:-12px -8px;padding:12px 8px}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:#00000040}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#fff}.ant-table-cell-fix-left,.ant-table-cell-fix-right{position:sticky!important;z-index:2;background:#fff}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{position:absolute;top:0;right:0;bottom:-1px;width:30px;transform:translate(100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{position:absolute;top:0;bottom:-1px;left:0;width:30px;transform:translate(-100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:before,.ant-table .ant-table-container:after{position:absolute;top:0;bottom:0;z-index:1;width:30px;transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container{position:relative}.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container:before{box-shadow:inset 10px 0 8px -8px #00000026}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after{box-shadow:inset 10px 0 8px -8px #00000026}.ant-table-ping-left .ant-table-cell-fix-left-last:before{background-color:transparent!important}.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container{position:relative}.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container:after{box-shadow:inset -10px 0 8px -8px #00000026}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after{box-shadow:inset -10px 0 8px -8px #00000026}.ant-table-sticky-holder{position:sticky;z-index:3;background:#fff}.ant-table-sticky-scroll{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;background:#ffffff;border-top:1px solid #f0f0f0;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{height:8px;background-color:#00000059;border-radius:4px}.ant-table-sticky-scroll-bar:hover,.ant-table-sticky-scroll-bar-active{background-color:#000c}@media all and (-ms-high-contrast: none){.ant-table-ping-left .ant-table-cell-fix-left-last:after{box-shadow:none!important}.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:2px 2px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child{border-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-left-radius:2px;border-top-right-radius:2px}.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:2px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:2px}.ant-table-footer{border-radius:0 0 2px 2px}.ant-table-wrapper-rtl,.ant-table-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{right:auto;left:0}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-12px 25px -12px -8px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-right:4px;margin-left:0}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:12px 8px 12px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger{margin:-4px 4px -4px -4px}.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-right:8px;padding-left:0}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-indent,.ant-table-wrapper-rtl .ant-table-row-expand-icon{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:0;margin-left:4px}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0)}nz-table,nz-table-title-footer,nz-table-inner-scroll,nz-table-inner-default,nz-table-selection{display:block}nz-filter-trigger{display:inline-flex}.nz-table-out-bordered>.ant-table-title{border:1px solid #f0f0f0;border-bottom:0}.nz-table-out-bordered>.ant-table-container{border:1px solid #f0f0f0;border-bottom:0}.nz-table-out-bordered>.ant-table-footer{border:1px solid #f0f0f0;border-top:0}cdk-virtual-scroll-viewport.ant-table-body{overflow-y:scroll}.nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.nz-table-hide-scrollbar::-webkit-scrollbar{background-color:#fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar::-webkit-scrollbar{background-color:transparent}.ant-table-wrapper-rtl .ant-table thead>tr>th.ant-table-selection-column{text-align:center}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>td{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #f0f0f0;content:""}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-4px -5px}.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:4px 0;font-size:12px}.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:8px 0;font-size:14px}.ant-tabs-card.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:6px 8px}.ant-tabs-card.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:7px 8px 6px}.ant-tabs-rtl{direction:rtl}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab:last-of-type{margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .anticon{margin-right:0;margin-left:8px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove{margin-right:4px;margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-nav{order:1}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-content-holder{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-nav{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-content-holder{order:1}.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-right:2px;margin-left:0}.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-add{margin-right:2px;margin-left:0}.ant-tabs-dropdown-rtl{direction:rtl}.ant-tabs-dropdown-rtl .ant-tabs-dropdown-menu-item{text-align:right}.ant-tabs-top,.ant-tabs-bottom{flex-direction:column}.ant-tabs-top>.ant-tabs-nav,.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-top>div>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{margin:0 0 8px}.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before{position:absolute;right:0;left:0;border-bottom:1px solid #f0f0f0;content:""}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar{height:2px}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:width .3s,left .3s,right .3s}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{top:0;bottom:0;width:30px}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{left:0;box-shadow:inset 10px 0 8px -8px #00000014}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;box-shadow:inset -10px 0 8px -8px #00000014}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before{opacity:1}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after{opacity:1}.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{bottom:0}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar{bottom:0}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{order:1;margin-top:8px;margin-bottom:0}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before{top:0}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar{top:0}.ant-tabs-bottom>.ant-tabs-content-holder,.ant-tabs-bottom>div>.ant-tabs-content-holder{order:0}.ant-tabs-left>.ant-tabs-nav,.ant-tabs-right>.ant-tabs-nav,.ant-tabs-left>div>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{flex-direction:column;min-width:50px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{padding:4px 16px;text-align:center}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin:8px 0 0}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap{flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;left:0;height:30px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;box-shadow:inset 0 10px 8px -8px #00000014}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{bottom:0;box-shadow:inset 0 -10px 8px -8px #00000014}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{width:2px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:height .3s,top .3s}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-operations{flex:1 0 auto;flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar{right:0}.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-left>div>.ant-tabs-content-holder{margin-left:-1px;border-left:1px solid #f0f0f0}.ant-tabs-left>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-left>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-left:16px}.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{order:1}.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{left:0}.ant-tabs-right>.ant-tabs-content-holder,.ant-tabs-right>div>.ant-tabs-content-holder{order:0;margin-right:-1px;border-right:1px solid #f0f0f0}.ant-tabs-right>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-right>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-right:16px}.ant-tabs-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-tabs-dropdown-hidden{display:none}.ant-tabs-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-tabs-dropdown-menu-item{display:flex;align-items:center;min-width:120px;margin:0;padding:5px 8px;overflow:hidden;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-tabs-dropdown-menu-item>span{flex:1;white-space:nowrap}.ant-tabs-dropdown-menu-item-remove{flex:none;margin-left:8px;color:#00000073;font-size:12px;background:transparent;border:0;cursor:pointer}.ant-tabs-dropdown-menu-item-remove:hover{color:#40a9ff}.ant-tabs-dropdown-menu-item:hover{background:#f5f5f5}.ant-tabs-dropdown-menu-item-disabled,.ant-tabs-dropdown-menu-item-disabled:hover{color:#00000040;background:transparent;cursor:not-allowed}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab{margin:0;padding:4px 8px;background:#fafafa;border:1px solid #f0f0f0;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff;background:#fff}.ant-tabs-card>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-ink-bar{visibility:hidden}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-left:2px}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 2px 0 0}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab-active{border-bottom-color:#fff}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 0 2px 2px}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab-active{border-top-color:#fff}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-top:2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 0 0 2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab-active{border-right-color:#fff}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 2px 2px 0}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab-active{border-left-color:#fff}.ant-tabs{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:flex}.ant-tabs>.ant-tabs-nav,.ant-tabs>div>.ant-tabs-nav{position:relative;display:flex;flex:none;align-items:center}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap{position:relative;display:inline-block;display:flex;flex:auto;align-self:stretch;overflow:hidden;white-space:nowrap;transform:translate(0)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{position:absolute;z-index:1;opacity:0;transition:opacity .3s;content:"";pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-list{position:relative;display:flex;transition:transform .3s}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations{display:flex;align-self:stretch}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations-hidden,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more{position:relative;padding:4px 8px;background:transparent;border:0}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more:after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:""}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-width:40px;margin-left:2px;padding:0 4px;background:#fafafa;border:1px solid #f0f0f0;border-radius:2px 2px 0 0;outline:none;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:hover,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:hover{color:#40a9ff}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:focus,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:focus{color:#096dd9}.ant-tabs-extra-content{flex:none}.ant-tabs-centered>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*="ant-tabs-nav-wrap-ping"]),.ant-tabs-centered>div>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*="ant-tabs-nav-wrap-ping"]){justify-content:center}.ant-tabs-ink-bar{position:absolute;background:#1890ff;pointer-events:none}.ant-tabs-tab{position:relative;display:inline-flex;align-items:center;padding:8px 0;font-size:12px;background:transparent;border:0;outline:none;cursor:pointer}.ant-tabs-tab-btn:focus,.ant-tabs-tab-remove:focus,.ant-tabs-tab-btn:active,.ant-tabs-tab-remove:active{color:#096dd9}.ant-tabs-tab-btn{outline:none;transition:all .3s}.ant-tabs-tab-remove{flex:none;margin-right:0;margin-left:4px;color:#00000073;font-size:12px;background:transparent;border:none;outline:none;cursor:pointer;transition:all .3s}.ant-tabs-tab-remove:hover{color:#000000d9}.ant-tabs-tab:hover{color:#40a9ff}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#1890ff;text-shadow:0 0 .25px currentcolor}.ant-tabs-tab.ant-tabs-tab-disabled{color:#00000040;cursor:not-allowed}.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active{color:#00000040}.ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-tab .anticon{margin-right:8px}.ant-tabs-tab+.ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-content{display:flex;width:100%}.ant-tabs-content-holder{flex:auto;min-width:0;min-height:0}.ant-tabs-content-animated{transition:margin .3s}.ant-tabs-tabpane{flex:none;width:100%;outline:none}.ant-tabs-dropdown-menu-item a[nz-tab-link]{position:relative}a[nz-tab-link]:before{position:absolute;inset:0;background-color:transparent;content:""}a[nz-tab-link]~*{position:relative}nz-tabset,nz-tab-nav-operation,nz-tabs-nav{display:block;overflow:hidden}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item{min-width:120px;margin:0;padding:5px 8px;overflow:hidden;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item:hover{background:#f5f5f5}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover{color:#00000040;background:transparent;cursor:not-allowed}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled a,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover a{pointer-events:none;color:#00000040}.ant-tabs-rtl .ant-tabs-rtl-tab-next{right:auto;left:2px}.ant-tabs-tab-disabled a{pointer-events:none;color:#00000040}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-height:40px}.ant-tag{box-sizing:border-box;margin:0 8px 0 0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block;height:auto;padding:0 7px;font-size:12px;line-height:18px;white-space:nowrap;background:#fafafa;border:1px solid #d9d9d9;border-radius:2px;opacity:1;transition:all .3s}.ant-tag,.ant-tag a,.ant-tag a:hover{color:#000000d9}.ant-tag>a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ant-tag-close-icon{margin-left:3px;color:#00000073;font-size:10px;cursor:pointer;transition:all .3s}.ant-tag-close-icon:hover{color:#000000d9}.ant-tag-has-color{border-color:transparent}.ant-tag-has-color,.ant-tag-has-color a,.ant-tag-has-color a:hover,.ant-tag-has-color .anticon-close,.ant-tag-has-color .anticon-close:hover{color:#fff}.ant-tag-checkable{background-color:transparent;border-color:transparent;cursor:pointer}.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#1890ff}.ant-tag-checkable:active,.ant-tag-checkable-checked{color:#fff}.ant-tag-checkable-checked{background-color:#1890ff}.ant-tag-checkable:active{background-color:#096dd9}.ant-tag-hidden{display:none}.ant-tag-pink{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-pink-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-magenta{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-magenta-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-red{color:#cf1322;background:#fff1f0;border-color:#ffa39e}.ant-tag-red-inverse{color:#fff;background:#f5222d;border-color:#f5222d}.ant-tag-volcano{color:#d4380d;background:#fff2e8;border-color:#ffbb96}.ant-tag-volcano-inverse{color:#fff;background:#fa541c;border-color:#fa541c}.ant-tag-orange{color:#d46b08;background:#fff7e6;border-color:#ffd591}.ant-tag-orange-inverse{color:#fff;background:#fa8c16;border-color:#fa8c16}.ant-tag-yellow{color:#d4b106;background:#feffe6;border-color:#fffb8f}.ant-tag-yellow-inverse{color:#fff;background:#fadb14;border-color:#fadb14}.ant-tag-gold{color:#d48806;background:#fffbe6;border-color:#ffe58f}.ant-tag-gold-inverse{color:#fff;background:#faad14;border-color:#faad14}.ant-tag-cyan{color:#08979c;background:#e6fffb;border-color:#87e8de}.ant-tag-cyan-inverse{color:#fff;background:#13c2c2;border-color:#13c2c2}.ant-tag-lime{color:#7cb305;background:#fcffe6;border-color:#eaff8f}.ant-tag-lime-inverse{color:#fff;background:#a0d911;border-color:#a0d911}.ant-tag-green{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}.ant-tag-green-inverse{color:#fff;background:#52c41a;border-color:#52c41a}.ant-tag-blue{color:#096dd9;background:#e6f7ff;border-color:#91d5ff}.ant-tag-blue-inverse{color:#fff;background:#1890ff;border-color:#1890ff}.ant-tag-geekblue{color:#1d39c4;background:#f0f5ff;border-color:#adc6ff}.ant-tag-geekblue-inverse{color:#fff;background:#2f54eb;border-color:#2f54eb}.ant-tag-purple{color:#531dab;background:#f9f0ff;border-color:#d3adf7}.ant-tag-purple-inverse{color:#fff;background:#722ed1;border-color:#722ed1}.ant-tag-success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.ant-tag-processing{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.ant-tag-error{color:#ff4d4f;background:#fff2f0;border-color:#ffccc7}.ant-tag-warning{color:#faad14;background:#fffbe6;border-color:#ffe58f}.ant-tag>.anticon+span,.ant-tag>span+.anticon{margin-left:7px}.ant-tag.ant-tag-rtl{margin-right:0;margin-left:8px;direction:rtl;text-align:right}.ant-tag-rtl .ant-tag-close-icon{margin-right:3px;margin-left:0}.ant-tag-rtl.ant-tag>.anticon+span,.ant-tag-rtl.ant-tag>span+.anticon{margin-right:7px;margin-left:0}.ant-timeline{box-sizing:border-box;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";margin:0;padding:0;list-style:none}.ant-timeline-item{position:relative;margin:0;padding-bottom:20px;font-size:12px;list-style:none}.ant-timeline-item-tail{position:absolute;top:10px;left:4px;height:calc(100% - 10px);border-left:2px solid #f0f0f0}.ant-timeline-item-pending .ant-timeline-item-head{font-size:12px;background-color:transparent}.ant-timeline-item-pending .ant-timeline-item-tail{display:none}.ant-timeline-item-head{position:absolute;width:10px;height:10px;background-color:#fff;border:2px solid transparent;border-radius:100px}.ant-timeline-item-head-blue{color:#1890ff;border-color:#1890ff}.ant-timeline-item-head-red{color:#ff4d4f;border-color:#ff4d4f}.ant-timeline-item-head-green{color:#52c41a;border-color:#52c41a}.ant-timeline-item-head-gray{color:#00000040;border-color:#00000040}.ant-timeline-item-head-custom{position:absolute;top:5.5px;left:5px;width:auto;height:auto;margin-top:0;padding:3px 1px;line-height:1;text-align:center;border:0;border-radius:0;transform:translate(-50%,-50%)}.ant-timeline-item-content{position:relative;top:-7.00004px;margin:0 0 0 18px;word-break:break-word}.ant-timeline-item-last>.ant-timeline-item-tail{display:none}.ant-timeline-item-last>.ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-tail,.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{left:50%}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head{margin-left:-4px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{margin-left:1px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content{left:calc(50% - 4px);width:calc(50% - 14px);text-align:left}.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content{width:calc(50% - 12px);margin:0;text-align:right}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom{left:calc(100% - 6px)}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(100% - 18px)}.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail{display:block;height:calc(100% - 14px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail{display:none}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{top:15px;display:block;height:calc(100% - 15px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-label .ant-timeline-item-label{position:absolute;top:-7.00004px;width:calc(50% - 12px);text-align:right}.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{left:calc(50% + 14px);width:calc(50% - 14px);text-align:left}.ant-timeline-rtl{direction:rtl}.ant-timeline-rtl .ant-timeline-item-tail{right:4px;left:auto;border-right:2px solid #f0f0f0;border-left:none}.ant-timeline-rtl .ant-timeline-item-head-custom{right:5px;left:auto;transform:translate(50%,-50%)}.ant-timeline-rtl .ant-timeline-item-content{margin:0 18px 0 0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{right:50%;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head{margin-right:-4px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{margin-right:1px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content{right:calc(50% - 4px);left:auto;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom{right:0;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:100%;margin-right:18px;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{border-right:2px dotted #f0f0f0;border-left:none}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-label{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{right:calc(50% + 14px);text-align:right}.ant-tooltip{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1070;display:block;width:max-content;width:intrinsic;max-width:250px;visibility:visible}.ant-tooltip-content{position:relative}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:14.3137085px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightTop,.ant-tooltip-placement-rightBottom{padding-left:14.3137085px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:14.3137085px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftTop,.ant-tooltip-placement-leftBottom{padding-right:14.3137085px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:#000000bf;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-tooltip-arrow{position:absolute;z-index:2;display:block;width:22px;height:22px;overflow:hidden;background:transparent;pointer-events:none}.ant-tooltip-arrow-content{--antd-arrow-background-color: linear-gradient(to right bottom, rgba(0, 0, 0, .65), rgba(0, 0, 0, .75));position:absolute;inset:0;display:block;width:11.3137085px;height:11.3137085px;margin:auto;background-color:transparent;content:"";pointer-events:auto;border-radius:0 0 2px;pointer-events:none}.ant-tooltip-arrow-content:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:var(--antd-arrow-background-color);background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:0;transform:translateY(100%)}.ant-tooltip-placement-top .ant-tooltip-arrow-content,.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-topRight .ant-tooltip-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translateY(-11px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;transform:translateY(100%) translate(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{left:0;transform:translate(-100%)}.ant-tooltip-placement-right .ant-tooltip-arrow-content,.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content{box-shadow:-3px 3px 7px #00000012;transform:translate(11px) rotate(135deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;transform:translate(-100%) translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{right:0;transform:translate(100%)}.ant-tooltip-placement-left .ant-tooltip-arrow-content,.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content{box-shadow:3px -3px 7px #00000012;transform:translate(-11px) rotate(315deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;transform:translate(100%) translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:0;transform:translateY(-100%)}.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content{box-shadow:-3px -3px 7px #00000012;transform:translateY(11px) rotate(225deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;transform:translateY(-100%) translate(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-tooltip-pink .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-pink .ant-tooltip-arrow-content:before{background:#eb2f96}.ant-tooltip-magenta .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-magenta .ant-tooltip-arrow-content:before{background:#eb2f96}.ant-tooltip-red .ant-tooltip-inner{background-color:#f5222d}.ant-tooltip-red .ant-tooltip-arrow-content:before{background:#f5222d}.ant-tooltip-volcano .ant-tooltip-inner{background-color:#fa541c}.ant-tooltip-volcano .ant-tooltip-arrow-content:before{background:#fa541c}.ant-tooltip-orange .ant-tooltip-inner{background-color:#fa8c16}.ant-tooltip-orange .ant-tooltip-arrow-content:before{background:#fa8c16}.ant-tooltip-yellow .ant-tooltip-inner{background-color:#fadb14}.ant-tooltip-yellow .ant-tooltip-arrow-content:before{background:#fadb14}.ant-tooltip-gold .ant-tooltip-inner{background-color:#faad14}.ant-tooltip-gold .ant-tooltip-arrow-content:before{background:#faad14}.ant-tooltip-cyan .ant-tooltip-inner{background-color:#13c2c2}.ant-tooltip-cyan .ant-tooltip-arrow-content:before{background:#13c2c2}.ant-tooltip-lime .ant-tooltip-inner{background-color:#a0d911}.ant-tooltip-lime .ant-tooltip-arrow-content:before{background:#a0d911}.ant-tooltip-green .ant-tooltip-inner{background-color:#52c41a}.ant-tooltip-green .ant-tooltip-arrow-content:before{background:#52c41a}.ant-tooltip-blue .ant-tooltip-inner{background-color:#1890ff}.ant-tooltip-blue .ant-tooltip-arrow-content:before{background:#1890ff}.ant-tooltip-geekblue .ant-tooltip-inner{background-color:#2f54eb}.ant-tooltip-geekblue .ant-tooltip-arrow-content:before{background:#2f54eb}.ant-tooltip-purple .ant-tooltip-inner{background-color:#722ed1}.ant-tooltip-purple .ant-tooltip-arrow-content:before{background:#722ed1}.ant-tooltip-rtl{direction:rtl}.ant-tooltip-rtl .ant-tooltip-inner{text-align:right}.ant-tooltip{position:relative}.ant-transfer-customize-list .ant-transfer-list{flex:1 1 50%;width:auto;height:auto;min-height:200px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small{border:0;border-radius:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-selection-column{width:40px;min-width:40px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th{background:#fafafa}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:1px solid #f0f0f0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body{margin:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-pagination.ant-pagination{margin:16px 0 4px}.ant-transfer-customize-list .ant-input[disabled]{background-color:transparent}.ant-transfer-status-error .ant-transfer-list{border-color:#ff4d4f}.ant-transfer-status-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.ant-transfer-status-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-transfer-status-error .ant-transfer-list-search:not([disabled]):hover{border-right-width:0;border-left-width:1px!important}.ant-transfer-status-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-transfer-status-error .ant-transfer-list-search:not([disabled]):focus{border-right-width:0;border-left-width:1px!important}.ant-transfer-status-warning .ant-transfer-list{border-color:#faad14}.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):hover{border-right-width:0;border-left-width:1px!important}.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):focus{border-right-width:0;border-left-width:1px!important}.ant-transfer{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:stretch}.ant-transfer-disabled .ant-transfer-list{background:#f5f5f5}.ant-transfer-list{display:flex;flex-direction:column;width:180px;height:200px;border:1px solid #d9d9d9;border-radius:2px}.ant-transfer-list-with-pagination{width:250px;height:auto}.ant-transfer-list-search .anticon-search{color:#00000040}.ant-transfer-list-header{display:flex;flex:none;align-items:center;height:36px;padding:7px 8px 8px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-transfer-list-header>*:not(:last-child){margin-right:4px}.ant-transfer-list-header>*{flex:none}.ant-transfer-list-header-title{flex:auto;overflow:hidden;white-space:nowrap;text-align:right;text-overflow:ellipsis}.ant-transfer-list-header-dropdown{font-size:10px;transform:translateY(10%);cursor:pointer}.ant-transfer-list-header-dropdown[disabled]{cursor:not-allowed}.ant-transfer-list-body{display:flex;flex:auto;flex-direction:column;overflow:hidden;font-size:12px}.ant-transfer-list-body-search-wrapper{position:relative;flex:none;padding:8px}.ant-transfer-list-content{flex:auto;margin:0;padding:0;overflow:auto;list-style:none}.ant-transfer-list-content-item{display:flex;align-items:center;min-height:28px;padding:3px 8px;line-height:22px;transition:all .3s}.ant-transfer-list-content-item>*:not(:last-child){margin-right:8px}.ant-transfer-list-content-item>*{flex:none}.ant-transfer-list-content-item-text{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-transfer-list-content-item-remove{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;position:relative;color:#d9d9d9}.ant-transfer-list-content-item-remove:focus,.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item-remove:active{color:#096dd9}.ant-transfer-list-content-item-remove:after{position:absolute;inset:-3px -50%;content:""}.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:#f5f5f5;cursor:pointer}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover{background-color:#dcf4ff}.ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background:transparent;cursor:default}.ant-transfer-list-content-item-checked{background-color:#e6f7ff}.ant-transfer-list-content-item-disabled{color:#00000040;cursor:not-allowed}.ant-transfer-list-pagination{padding:4px 0;text-align:right;border-top:1px solid #f0f0f0}.ant-transfer-list-body-not-found{flex:none;width:100%;margin:auto 0;color:#00000040;text-align:center}.ant-transfer-list-footer{border-top:1px solid #f0f0f0}.ant-transfer-operation{display:flex;flex:none;flex-direction:column;align-self:center;margin:0 8px;vertical-align:middle}.ant-transfer-operation .ant-btn{display:block}.ant-transfer-operation .ant-btn:first-child{margin-bottom:4px}.ant-transfer-operation .ant-btn .anticon{font-size:12px}.ant-transfer .ant-empty-image{max-height:-4px}.ant-transfer-rtl{direction:rtl}.ant-transfer-rtl .ant-transfer-list-search{padding-right:8px;padding-left:24px}.ant-transfer-rtl .ant-transfer-list-search-action{right:auto;left:12px}.ant-transfer-rtl .ant-transfer-list-header>*:not(:last-child){margin-right:0;margin-left:4px}.ant-transfer-rtl .ant-transfer-list-header{right:0;left:auto}.ant-transfer-rtl .ant-transfer-list-header-title{text-align:left}.ant-transfer-rtl .ant-transfer-list-content-item>*:not(:last-child){margin-right:0;margin-left:8px}.ant-transfer-rtl .ant-transfer-list-pagination{text-align:left}.ant-transfer-rtl .ant-transfer-list-footer{right:0;left:auto}.ant-typography{color:#000000d9;overflow-wrap:break-word}.ant-typography.ant-typography-secondary{color:#00000073}.ant-typography.ant-typography-success{color:#52c41a}.ant-typography.ant-typography-warning{color:#faad14}.ant-typography.ant-typography-danger{color:#ff4d4f}a.ant-typography.ant-typography-danger:active,a.ant-typography.ant-typography-danger:focus{color:#d9363e}a.ant-typography.ant-typography-danger:hover{color:#ff7875}.ant-typography.ant-typography-disabled{color:#00000040;cursor:not-allowed;-webkit-user-select:none;user-select:none}div.ant-typography,.ant-typography p{margin-bottom:1em}h1.ant-typography,div.ant-typography-h1,div.ant-typography-h1>textarea,.ant-typography h1{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:33px;line-height:1.23}h2.ant-typography,div.ant-typography-h2,div.ant-typography-h2>textarea,.ant-typography h2{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:26px;line-height:1.35}h3.ant-typography,div.ant-typography-h3,div.ant-typography-h3>textarea,.ant-typography h3{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:21px;line-height:1.35}h4.ant-typography,div.ant-typography-h4,div.ant-typography-h4>textarea,.ant-typography h4{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:18px;line-height:1.4}h5.ant-typography,div.ant-typography-h5,div.ant-typography-h5>textarea,.ant-typography h5{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:14px;line-height:1.5}.ant-typography+h1.ant-typography,.ant-typography+h2.ant-typography,.ant-typography+h3.ant-typography,.ant-typography+h4.ant-typography,.ant-typography+h5.ant-typography{margin-top:1.2em}.ant-typography div+h1,.ant-typography ul+h1,.ant-typography li+h1,.ant-typography p+h1,.ant-typography h1+h1,.ant-typography h2+h1,.ant-typography h3+h1,.ant-typography h4+h1,.ant-typography h5+h1,.ant-typography div+h2,.ant-typography ul+h2,.ant-typography li+h2,.ant-typography p+h2,.ant-typography h1+h2,.ant-typography h2+h2,.ant-typography h3+h2,.ant-typography h4+h2,.ant-typography h5+h2,.ant-typography div+h3,.ant-typography ul+h3,.ant-typography li+h3,.ant-typography p+h3,.ant-typography h1+h3,.ant-typography h2+h3,.ant-typography h3+h3,.ant-typography h4+h3,.ant-typography h5+h3,.ant-typography div+h4,.ant-typography ul+h4,.ant-typography li+h4,.ant-typography p+h4,.ant-typography h1+h4,.ant-typography h2+h4,.ant-typography h3+h4,.ant-typography h4+h4,.ant-typography h5+h4,.ant-typography div+h5,.ant-typography ul+h5,.ant-typography li+h5,.ant-typography p+h5,.ant-typography h1+h5,.ant-typography h2+h5,.ant-typography h3+h5,.ant-typography h4+h5,.ant-typography h5+h5{margin-top:1.2em}a.ant-typography-ellipsis,span.ant-typography-ellipsis{display:inline-block;max-width:100%}a.ant-typography,.ant-typography a{color:#1890ff;outline:none;cursor:pointer;transition:color .3s;text-decoration:none}a.ant-typography:focus,.ant-typography a:focus,a.ant-typography:hover,.ant-typography a:hover{color:#40a9ff}a.ant-typography:active,.ant-typography a:active{color:#096dd9}a.ant-typography:active,.ant-typography a:active,a.ant-typography:hover,.ant-typography a:hover{text-decoration:none}a.ant-typography[disabled],.ant-typography a[disabled],a.ant-typography.ant-typography-disabled,.ant-typography a.ant-typography-disabled{color:#00000040;cursor:not-allowed}a.ant-typography[disabled]:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:active,a.ant-typography[disabled]:hover,.ant-typography a[disabled]:hover,a.ant-typography.ant-typography-disabled:hover,.ant-typography a.ant-typography-disabled:hover{color:#00000040}a.ant-typography[disabled]:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:active{pointer-events:none}.ant-typography code{margin:0 .2em;padding:.2em .4em .1em;font-size:85%;background:rgba(150,150,150,.1);border:1px solid rgba(100,100,100,.2);border-radius:3px}.ant-typography kbd{margin:0 .2em;padding:.15em .4em .1em;font-size:90%;background:rgba(150,150,150,.06);border:1px solid rgba(100,100,100,.2);border-bottom-width:2px;border-radius:3px}.ant-typography mark{padding:0;background-color:#ffe58f}.ant-typography u,.ant-typography ins{text-decoration:underline;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}.ant-typography s,.ant-typography del{text-decoration:line-through}.ant-typography strong{font-weight:600}.ant-typography-expand,.ant-typography-edit,.ant-typography-copy{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;margin-left:4px}.ant-typography-expand:focus,.ant-typography-edit:focus,.ant-typography-copy:focus,.ant-typography-expand:hover,.ant-typography-edit:hover,.ant-typography-copy:hover{color:#40a9ff}.ant-typography-expand:active,.ant-typography-edit:active,.ant-typography-copy:active{color:#096dd9}.ant-typography-copy-success,.ant-typography-copy-success:hover,.ant-typography-copy-success:focus{color:#52c41a}.ant-typography-edit-content{position:relative}div.ant-typography-edit-content{left:-8px;margin-top:-4px;margin-bottom:calc(1em - 4px)}.ant-typography-edit-content-confirm{position:absolute;right:10px;bottom:8px;color:#00000073;font-weight:400;font-size:12px;font-style:normal;pointer-events:none}.ant-typography-edit-content textarea{height:1em;margin:0!important;-moz-transition:none}.ant-typography ul,.ant-typography ol{margin:0 0 1em;padding:0}.ant-typography ul li,.ant-typography ol li{margin:0 0 0 20px;padding:0 0 0 4px}.ant-typography ul{list-style-type:circle}.ant-typography ul ul{list-style-type:disc}.ant-typography ol{list-style-type:decimal}.ant-typography pre,.ant-typography blockquote{margin:1em 0}.ant-typography pre{padding:.4em .6em;white-space:pre-wrap;word-wrap:break-word;background:rgba(150,150,150,.1);border:1px solid rgba(100,100,100,.2);border-radius:3px}.ant-typography pre code{display:inline;margin:0;padding:0;font-size:inherit;font-family:inherit;background:transparent;border:0}.ant-typography blockquote{padding:0 0 0 .6em;border-left:4px solid rgba(100,100,100,.2);opacity:.85}.ant-typography-single-line{white-space:nowrap}.ant-typography-ellipsis-single-line{overflow:hidden;text-overflow:ellipsis}a.ant-typography-ellipsis-single-line,span.ant-typography-ellipsis-single-line{vertical-align:bottom}.ant-typography-ellipsis-multiple-line{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-expand,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-copy{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-8px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ul li,.ant-typography-rtl.ant-typography ol li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#1890ff}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:8px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#096dd9}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#40a9ff}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#40a9ff;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:#000000d9;font-size:14px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:#00000073;font-size:12px}.ant-upload.ant-upload-drag .anticon-plus{color:#00000040;font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:#00000073}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.66667}.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{display:table;clear:both;content:""}.ant-upload-list-item{position:relative;height:20.00004px;margin-top:4px;font-size:12px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:20px;overflow:hidden;line-height:1.66667;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:20.00004px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:#00000073;transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:#000000d9}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .anticon-loading .anticon,.ant-upload-list-item-info .ant-upload-text-icon .anticon{position:absolute;top:4px;color:#00000073;font-size:12px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-text-icon>.anticon,.ant-upload-list-item-error .ant-upload-list-item-name{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:24px;font-size:12px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:4px;border:1px solid #d9d9d9;border-radius:2px}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 4px 4px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:#00000080;opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete{z-index:10;width:16px;margin:0 4px;color:#ffffffd9;font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions,.ant-upload-list-picture-card .ant-upload-list-item-actions:hover{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.66667;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:#fafafa}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-text-container,.ant-upload-list-picture-container{transition:opacity .3s,height .3s}.ant-upload-list-text-container:before,.ant-upload-list-picture-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-text-container .ant-upload-span,.ant-upload-list-picture-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-text .ant-upload-span,.ant-upload-list-picture .ant-upload-span{display:flex;align-items:center}.ant-upload-list-text .ant-upload-span>*,.ant-upload-list-picture .ant-upload-span>*{flex:none}.ant-upload-list-text .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-name{flex:auto;margin:0;padding:0 4px}.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-fill-mode:cubic-bezier(.78,.14,.15,.86)}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:20px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:24px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 4px 4px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item{float:unset}.ant-select-auto-complete{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-select-auto-complete .ant-select-clear{right:13px}.ant-select-dropdown-hidden{display:none}.ant-cascader-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner,.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner{border-color:#1890ff}.ant-cascader-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-cascader-checkbox:hover:after,.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox:after{visibility:visible}.ant-cascader-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-cascader-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-cascader-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-cascader-checkbox-disabled{cursor:not-allowed}.ant-cascader-checkbox-disabled.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-cascader-checkbox-disabled .ant-cascader-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-cascader-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-cascader-checkbox-disabled:hover:after,.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-disabled:after{visibility:hidden}.ant-cascader-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-cascader-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-disabled{cursor:not-allowed}.ant-cascader-checkbox-wrapper+.ant-cascader-checkbox-wrapper{margin-left:8px}.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-cascader-checkbox+span{padding-right:8px;padding-left:8px}.ant-cascader-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-cascader-checkbox-group-item{margin-right:6px}.ant-cascader-checkbox-group-item:last-child{margin-right:0}.ant-cascader-checkbox-group-item+.ant-cascader-checkbox-group-item{margin-left:0}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-cascader-checkbox-indeterminate.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-cascader-checkbox-rtl{direction:rtl}.ant-cascader-checkbox-group-rtl .ant-cascader-checkbox-group-item{margin-right:0;margin-left:6px}.ant-cascader-checkbox-group-rtl .ant-cascader-checkbox-group-item:last-child{margin-left:0!important}.ant-cascader-checkbox-group-rtl .ant-cascader-checkbox-group-item+.ant-cascader-checkbox-group-item{margin-left:6px}.ant-cascader{width:184px}.ant-cascader-checkbox{top:0;margin-right:4px}.ant-cascader-menus{display:flex;flex-wrap:nowrap;align-items:flex-start}.ant-cascader-menus.ant-cascader-menu-empty .ant-cascader-menu{width:100%;height:auto}.ant-cascader-menu{flex-grow:1;min-width:111px;height:180px;margin:-4px 0;padding:4px 0;overflow:auto;vertical-align:top;list-style:none;border-right:1px solid #f0f0f0;-ms-overflow-style:-ms-autohiding-scrollbar}.ant-cascader-menu-item{display:flex;flex-wrap:nowrap;align-items:center;padding:5px 8px;overflow:hidden;line-height:18px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-cascader-menu-item:hover{background:#f5f5f5}.ant-cascader-menu-item-disabled{color:#00000040;cursor:not-allowed}.ant-cascader-menu-item-disabled:hover{background:transparent}.ant-cascader-menu-empty .ant-cascader-menu-item{color:#00000040;cursor:default;pointer-events:none}.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover{font-weight:600;background-color:#e6f7ff}.ant-cascader-menu-item-content{flex:auto}.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-loading-icon{margin-left:0;color:#00000073;font-size:10px}.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon{color:#00000040}.ant-cascader-menu-item-keyword{color:#ff4d4f}.ant-cascader-rtl .ant-cascader-menu-item-expand-icon,.ant-cascader-rtl .ant-cascader-menu-item-loading-icon{margin-right:0;margin-left:0}.ant-cascader-rtl .ant-cascader-checkbox{top:0;margin-right:0;margin-left:4px}.ant-cascader-menus{position:relative;margin-top:2px;margin-bottom:2px}nz-tree-virtual-scroll-view{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}nz-tree-virtual-scroll-view .ant-tree-list,nz-tree-virtual-scroll-view .ant-tree-list-holder{height:100%}nz-tree-virtual-scroll-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon,nz-tree-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon{display:none}nz-tree-view .ant-tree-list-holder-inner{display:flex;flex-direction:column}@keyframes ant-tree-node-fx-do-not-use{0%{opacity:0}to{opacity:1}}.ant-tree.ant-tree-directory .ant-tree-treenode{position:relative}.ant-tree.ant-tree-directory .ant-tree-treenode:before{position:absolute;inset:0 0 4px;transition:background-color .3s;content:"";pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background:#f5f5f5}.ant-tree.ant-tree-directory .ant-tree-treenode>*{z-index:1}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher{transition:color .3s}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover:before,.ant-tree.ant-tree-directory .ant-tree-treenode-selected:before{background:#1890ff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff;background:transparent}.ant-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner,.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-tree-checkbox:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-tree-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{margin-right:6px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-tree-checkbox-rtl{direction:rtl}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item{margin-right:0;margin-left:6px}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:6px}.ant-tree{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-tree-focused:not(:hover):not(.ant-tree-active-focused){background:#e6f7ff}.ant-tree-list-holder-inner{align-items:flex-start}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner{align-items:stretch}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper{flex:auto}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-treenode.dragging{position:relative}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-treenode.dragging:after{position:absolute;inset:0 0 2px;border:1px solid #1890ff;opacity:0;animation:ant-tree-node-fx-do-not-use .3s;animation-play-state:running;animation-fill-mode:forwards;content:"";pointer-events:none}.ant-tree .ant-tree-treenode{display:flex;align-items:flex-start;padding:0 0 2px;outline:none}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:#00000040;cursor:not-allowed}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper{background:#f5f5f5}.ant-tree .ant-tree-treenode:not(.ant-tree .ant-tree-treenode-disabled).filter-node .ant-tree-title{color:inherit;font-weight:500}.ant-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;user-select:none}.ant-tree-indent-unit{display:inline-block;width:20px}.ant-tree-draggable-icon{width:20px;line-height:20px;text-align:center;opacity:.2;transition:opacity .3s}.ant-tree-treenode:hover .ant-tree-draggable-icon{opacity:.45}.ant-tree-switcher{position:relative;flex:none;align-self:stretch;width:20px;margin:0;line-height:20px;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-tree-switcher .ant-tree-switcher-icon,.ant-tree-switcher .ant-select-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-tree-switcher .ant-tree-switcher-icon svg,.ant-tree-switcher .ant-select-tree-switcher-icon svg{transition:transform .3s}.ant-tree-switcher-noop{cursor:default}.ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-tree-switcher-loading-icon{color:#1890ff}.ant-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-tree-switcher-leaf-line:before{position:absolute;top:0;right:12px;bottom:-2px;margin-left:-1px;border-right:1px solid #d9d9d9;content:" "}.ant-tree-switcher-leaf-line:after{position:absolute;width:6px;height:10px;border-bottom:1px solid #d9d9d9;content:" "}.ant-tree-checkbox{top:initial;margin:3px 8px 0 0}.ant-tree .ant-tree-node-content-wrapper{position:relative;z-index:auto;min-height:20px;margin:0;padding:0 4px;color:inherit;line-height:20px;background:transparent;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-tree .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle{display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;vertical-align:top}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty{display:none}.ant-tree-unselectable .ant-tree-node-content-wrapper:hover{background-color:transparent}.ant-tree-node-content-wrapper{line-height:20px;-webkit-user-select:none;user-select:none}.ant-tree-node-content-wrapper .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-tree-node-content-wrapper .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #1890ff;border-radius:50%;content:""}.ant-tree .ant-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-tree-show-line .ant-tree-indent-unit{position:relative;height:100%}.ant-tree-show-line .ant-tree-indent-unit:before{position:absolute;top:0;right:10px;bottom:-2px;border-right:1px solid #d9d9d9;content:""}.ant-tree-show-line .ant-tree-indent-unit-end:before{display:none}.ant-tree-show-line .ant-tree-switcher{background:#fff}.ant-tree-show-line .ant-tree-switcher-line-icon{vertical-align:-.15em}.ant-tree .ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:10px!important}.ant-tree-rtl{direction:rtl}.ant-tree-rtl .ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{right:-6px;left:unset}.ant-tree .ant-tree-treenode-rtl{direction:rtl}.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit:before{right:auto;left:-11px;border-right:none;border-left:1px solid #d9d9d9}.ant-tree-rtl .ant-tree-checkbox,.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox{margin:3px 0 0 8px}.font-highlight{color:#ff4d4f}.ant-tree-child-tree{overflow:hidden}nz-tree{display:block}.ant-select-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox-input:focus+.ant-select-tree-checkbox-inner{border-color:#1890ff}.ant-select-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-select-tree-checkbox:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox:after{visibility:visible}.ant-select-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-select-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-select-tree-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-select-tree-checkbox-disabled{cursor:not-allowed}.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-select-tree-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-select-tree-checkbox-disabled:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled:after{visibility:hidden}.ant-select-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-select-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-select-tree-checkbox-wrapper+.ant-select-tree-checkbox-wrapper{margin-left:8px}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-select-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-select-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-select-tree-checkbox-group-item{margin-right:6px}.ant-select-tree-checkbox-group-item:last-child{margin-right:0}.ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:0}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-select-tree-checkbox-rtl{direction:rtl}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item{margin-right:0;margin-left:6px}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:6px}.ant-tree-select-dropdown{padding:4px 2px}.ant-tree-select-dropdown-rtl{direction:rtl}.ant-tree-select-dropdown .ant-select-tree{border-radius:0}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner{align-items:stretch}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused){background:#e6f7ff}.ant-select-tree-list-holder-inner{align-items:flex-start}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner{align-items:stretch}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-treenode.dragging{position:relative}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-treenode.dragging:after{position:absolute;inset:0 0 2px;border:1px solid #1890ff;opacity:0;animation:ant-tree-node-fx-do-not-use .3s;animation-play-state:running;animation-fill-mode:forwards;content:"";pointer-events:none}.ant-select-tree .ant-select-tree-treenode{display:flex;align-items:flex-start;padding:0 0 2px;outline:none}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper{color:#00000040;cursor:not-allowed}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover{background:transparent}.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper{background:#f5f5f5}.ant-select-tree .ant-select-tree-treenode:not(.ant-select-tree .ant-select-tree-treenode-disabled).filter-node .ant-select-tree-title{color:inherit;font-weight:500}.ant-select-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;user-select:none}.ant-select-tree-indent-unit{display:inline-block;width:20px}.ant-select-tree-draggable-icon{width:20px;line-height:20px;text-align:center;opacity:.2;transition:opacity .3s}.ant-select-tree-treenode:hover .ant-select-tree-draggable-icon{opacity:.45}.ant-select-tree-switcher{position:relative;flex:none;align-self:stretch;width:20px;margin:0;line-height:20px;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-select-tree-switcher .ant-tree-switcher-icon,.ant-select-tree-switcher .ant-select-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-select-tree-switcher .ant-tree-switcher-icon svg,.ant-select-tree-switcher .ant-select-tree-switcher-icon svg{transition:transform .3s}.ant-select-tree-switcher-noop{cursor:default}.ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-select-tree-switcher-loading-icon{color:#1890ff}.ant-select-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-select-tree-switcher-leaf-line:before{position:absolute;top:0;right:12px;bottom:-2px;margin-left:-1px;border-right:1px solid #d9d9d9;content:" "}.ant-select-tree-switcher-leaf-line:after{position:absolute;width:6px;height:10px;border-bottom:1px solid #d9d9d9;content:" "}.ant-select-tree-checkbox{top:initial;margin:3px 8px 0 0}.ant-select-tree .ant-select-tree-node-content-wrapper{position:relative;z-index:auto;min-height:20px;margin:0;padding:0 4px;color:inherit;line-height:20px;background:transparent;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-select-tree .ant-select-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected{background-color:#bae7ff}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle{display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;vertical-align:top}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty{display:none}.ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover{background-color:transparent}.ant-select-tree-node-content-wrapper{line-height:20px;-webkit-user-select:none;user-select:none}.ant-select-tree-node-content-wrapper .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-select-tree-node-content-wrapper .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #1890ff;border-radius:50%;content:""}.ant-select-tree .ant-select-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-select-tree-show-line .ant-select-tree-indent-unit{position:relative;height:100%}.ant-select-tree-show-line .ant-select-tree-indent-unit:before{position:absolute;top:0;right:10px;bottom:-2px;border-right:1px solid #d9d9d9;content:""}.ant-select-tree-show-line .ant-select-tree-indent-unit-end:before{display:none}.ant-select-tree-show-line .ant-select-tree-switcher{background:#fff}.ant-select-tree-show-line .ant-select-tree-switcher-line-icon{vertical-align:-.15em}.ant-select-tree .ant-select-tree-treenode-leaf-last .ant-select-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:10px!important}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon{transform:scaleY(-1)}.ant-tree.ant-select-tree.ant-tree-show-line nz-tree-node[builtin]:not(:last-child)>li:before{content:" ";width:1px;border-left:1px solid #d9d9d9;height:calc(100% - 16px);position:absolute;left:12px;margin:26px 0}.ant-select-dropdown.ant-select-tree-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;overflow:auto}.ant-picker-calendar{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background:#fff}.ant-picker-calendar-header{display:flex;justify-content:flex-end;padding:8px 0}.ant-picker-calendar-header .ant-picker-calendar-year-select{min-width:80px}.ant-picker-calendar-header .ant-picker-calendar-month-select{min-width:70px;margin-left:4px}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{margin-left:4px}.ant-picker-calendar .ant-picker-panel{background:#fff;border:0;border-top:1px solid #f0f0f0;border-radius:0}.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel,.ant-picker-calendar .ant-picker-panel .ant-picker-date-panel{width:auto}.ant-picker-calendar .ant-picker-panel .ant-picker-body{padding:4px 0}.ant-picker-calendar .ant-picker-panel .ant-picker-content{width:100%}.ant-picker-calendar-mini{border-radius:2px}.ant-picker-calendar-mini .ant-picker-calendar-header{padding-right:4px;padding-left:4px}.ant-picker-calendar-mini .ant-picker-panel{border-radius:0 0 2px 2px}.ant-picker-calendar-mini .ant-picker-content{height:256px}.ant-picker-calendar-mini .ant-picker-content th{height:auto;padding:0;line-height:18px}.ant-picker-calendar-mini .ant-picker-cell:before{pointer-events:none}.ant-picker-calendar-full .ant-picker-panel{display:block;width:100%;text-align:right;background:#fff;border:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th,.ant-picker-calendar-full .ant-picker-panel .ant-picker-body td{padding:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{height:auto;padding:0 12px 5px 0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date{background:#f5f5f5}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell .ant-picker-calendar-date-today:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today{background:#e6f7ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date{display:block;width:auto;height:auto;margin:0 2px;padding:2px 4px 0;border:0;border-top:2px solid #f0f0f0;border-radius:0;transition:background .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-value{line-height:24px;transition:color .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{position:static;width:auto;height:86px;overflow-y:auto;color:#000000d9;line-height:1.66667;text-align:left}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today{border-color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:#000000d9}@media only screen and (max-width: 480px){.ant-picker-calendar-header{display:block}.ant-picker-calendar-header .ant-picker-calendar-year-select{width:50%}.ant-picker-calendar-header .ant-picker-calendar-month-select{width:calc(50% - 4px)}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{width:100%;margin-top:4px;margin-left:0}.ant-picker-calendar-header .ant-picker-calendar-mode-switch>label{width:50%;text-align:center}}.ant-picker-calendar-rtl{direction:rtl}.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-month-select,.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-mode-switch{margin-right:4px;margin-left:0}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel{text-align:left}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0 0 5px 12px}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{text-align:right}.ant-result{padding:48px 32px}.ant-result-success .ant-result-icon>.anticon{color:#52c41a}.ant-result-error .ant-result-icon>.anticon{color:#ff4d4f}.ant-result-info .ant-result-icon>.anticon{color:#1890ff}.ant-result-warning .ant-result-icon>.anticon{color:#faad14}.ant-result-image{width:250px;height:295px;margin:auto}.ant-result-icon{margin-bottom:24px;text-align:center}.ant-result-icon>.anticon{font-size:64px}.ant-result-title{color:#000000d9;font-size:20px;line-height:1.8;text-align:center}.ant-result-subtitle{color:#00000073;font-size:12px;line-height:1.6;text-align:center}.ant-result-extra{margin:24px 0 0;text-align:center}.ant-result-extra>*{margin-right:8px}.ant-result-extra>*:last-child{margin-right:0}.ant-result-content{margin-top:24px;padding:24px 40px;background-color:#fafafa}.ant-result-rtl{direction:rtl}.ant-result-rtl .ant-result-extra>*{margin-right:0;margin-left:8px}.ant-result-rtl .ant-result-extra>*:last-child{margin-left:0}nz-result{display:block}.ant-space{display:inline-flex}.ant-space-vertical{flex-direction:column}.ant-space-align-center{align-items:center}.ant-space-align-start{align-items:flex-start}.ant-space-align-end{align-items:flex-end}.ant-space-align-baseline{align-items:baseline}.ant-space-item:empty{display:none}.ant-space-rtl{direction:rtl}nz-space-item{display:block}.ant-image{position:relative;display:inline-block}.ant-image-img{width:100%;height:auto;vertical-align:middle}.ant-image-img-placeholder{background-color:#f5f5f5;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=);background-repeat:no-repeat;background-position:center center;background-size:30%}.ant-image-mask{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.5);cursor:pointer;opacity:0;transition:opacity .3s}.ant-image-mask-info{padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-image-mask-info .anticon{margin-inline-end:0px}.ant-image-mask:hover{opacity:1}.ant-image-placeholder{position:absolute;inset:0}.ant-image-preview{pointer-events:none;height:100%;text-align:center}.ant-image-preview.ant-zoom-enter,.ant-image-preview.ant-zoom-appear{transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;user-select:none}.ant-image-preview-mask{position:fixed;inset:0;z-index:1000;height:100%;background-color:#00000073}.ant-image-preview-mask-hidden{display:none}.ant-image-preview-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-image-preview-body{position:absolute;inset:0;overflow:hidden}.ant-image-preview-img{max-width:100%;max-height:100%;vertical-align:middle;transform:scaleZ(1);cursor:grab;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s;-webkit-user-select:none;user-select:none;pointer-events:auto}.ant-image-preview-img-wrapper{position:absolute;inset:0;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s}.ant-image-preview-img-wrapper:before{display:inline-block;width:1px;height:50%;margin-right:-1px;content:""}.ant-image-preview-moving .ant-image-preview-img{cursor:grabbing}.ant-image-preview-moving .ant-image-preview-img-wrapper{transition-duration:0s}.ant-image-preview-wrap{z-index:1080}.ant-image-preview-operations{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";position:absolute;top:0;right:0;z-index:1;display:flex;flex-direction:row-reverse;align-items:center;width:100%;color:#ffffffd9;list-style:none;background:rgba(0,0,0,.1);pointer-events:auto}.ant-image-preview-operations-operation{margin-left:8px;padding:8px;cursor:pointer}.ant-image-preview-operations-operation-disabled{color:#ffffff40;pointer-events:none}.ant-image-preview-operations-operation:last-of-type{margin-left:0}.ant-image-preview-operations-progress{position:absolute;left:50%;transform:translate(-50%)}.ant-image-preview-operations-icon{font-size:18px}.ant-image-preview-switch-left,.ant-image-preview-switch-right{position:absolute;top:50%;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;color:#ffffffd9;background:rgba(0,0,0,.1);border-radius:50%;cursor:pointer;pointer-events:auto}.ant-image-preview-switch-left-disabled,.ant-image-preview-switch-right-disabled{color:#ffffff40;cursor:not-allowed}.ant-image-preview-switch-left-disabled>.anticon,.ant-image-preview-switch-right-disabled>.anticon{cursor:not-allowed}.ant-image-preview-switch-left>.anticon,.ant-image-preview-switch-right>.anticon{font-size:18px}.ant-image-preview-switch-left{left:10px}.ant-image-preview-switch-right{right:10px}.cdk-overlay-backdrop.ant-image-preview-mask{opacity:1}.ant-cron-expression{display:flex;flex-wrap:nowrap}.ant-cron-expression-content{width:100%}.ant-cron-expression-content .ant-cron-expression-input-group-error{border-color:#ff4d4f;box-shadow:none}.ant-cron-expression-content .ant-cron-expression-input-group-error-focus{box-shadow:0 0 0 2px #ff4d4f33}.ant-cron-expression nz-cron-expression-input{width:20%}.ant-cron-expression-input-group{display:flex;flex-wrap:nowrap;align-items:center}.ant-cron-expression-input-group input{border:none!important;box-shadow:none!important;width:100%;outline:none;padding:0;border-radius:0}.ant-cron-expression-input-group-focus{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff33;outline:0}.ant-cron-expression nz-cron-expression-label{width:20%}.ant-cron-expression-label-group{display:flex;width:100%;flex-wrap:nowrap;justify-content:space-around;padding-top:0!important;padding-bottom:0!important}.ant-cron-expression-label-group-default{padding:0 8px}.ant-cron-expression-label-foucs{color:#1890ff}.ant-cron-expression-map{margin-left:8px}.ant-cron-expression-preview{display:flex;padding:8px}.ant-cron-expression-preview-dateTime{flex:1 1 auto;display:flex;align-items:center}.ant-cron-expression-preview-dateTime-center{justify-content:center}.ant-cron-expression-preview-content{flex:0 0 220px;display:flex;align-items:center;padding-left:8px}.ant-cron-expression-preview-content-date{flex:1 1 auto}.ant-cron-expression-preview-list,.ant-cron-expression-preview-icon,.ant-cron-expression-preview-list li,.ant-cron-expression-preview-icon li{list-style:none;margin:0;padding:0}.ant-cron-expression-preview-list{overflow-y:scroll;height:132px}.ant-cron-expression-preview-icon{height:100%}.ant-cron-expression-error{color:#ff4d4f}.ant-cron-expression-hint p{display:flex}.ant-cron-expression-hint span{display:inline-block;min-width:40px}.typeahead-match{font-weight:700} +[class^=ant-]::-ms-clear,[class*=ant-]::-ms-clear,[class^=ant-] input::-ms-clear,[class*=ant-] input::-ms-clear,[class^=ant-] input::-ms-reveal,[class*=ant-] input::-ms-reveal{display:none}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0;color:#000000d9;font-size:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-variant:tabular-nums;line-height:1.66667;background-color:#fff;font-feature-settings:"tnum"}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;color:#000000d9;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#1890ff;text-decoration:none;background-color:transparent;outline:none;cursor:pointer;transition:color .3s;-webkit-text-decoration-skip:objects}a:hover{color:#40a9ff}a:active{color:#096dd9}a:active,a:hover{text-decoration:none;outline:0}a:focus{text-decoration:none;outline:0}a[disabled]{color:#00000040;cursor:not-allowed}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type="range"]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;color:#00000073;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}::selection{color:#fff;background:#1890ff}.clearfix:before{display:table;content:""}.clearfix:after{display:table;clear:both;content:""}.anticon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon>*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon>.anticon{line-height:0;vertical-align:0}.anticon[tabindex]{cursor:pointer}.anticon-spin:before{display:inline-block;animation:loadingCircle 1s infinite linear}.anticon-spin{display:inline-block;animation:loadingCircle 1s infinite linear}.ant-fade-enter,.ant-fade-appear,.ant-fade-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-fade-enter.ant-fade-enter-active,.ant-fade-appear.ant-fade-appear-active{animation-name:antFadeIn;animation-play-state:running}.ant-fade-leave.ant-fade-leave-active{animation-name:antFadeOut;animation-play-state:running;pointer-events:none}.ant-fade-enter,.ant-fade-appear{opacity:0;animation-timing-function:linear}.ant-fade-leave{animation-timing-function:linear}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.ant-move-up-enter,.ant-move-up-appear,.ant-move-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-up-enter.ant-move-up-enter-active,.ant-move-up-appear.ant-move-up-appear-active{animation-name:antMoveUpIn;animation-play-state:running}.ant-move-up-leave.ant-move-up-leave-active{animation-name:antMoveUpOut;animation-play-state:running;pointer-events:none}.ant-move-up-enter,.ant-move-up-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-up-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-down-enter,.ant-move-down-appear,.ant-move-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-down-enter.ant-move-down-enter-active,.ant-move-down-appear.ant-move-down-appear-active{animation-name:antMoveDownIn;animation-play-state:running}.ant-move-down-leave.ant-move-down-leave-active{animation-name:antMoveDownOut;animation-play-state:running;pointer-events:none}.ant-move-down-enter,.ant-move-down-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-down-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-left-enter,.ant-move-left-appear,.ant-move-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-left-enter.ant-move-left-enter-active,.ant-move-left-appear.ant-move-left-appear-active{animation-name:antMoveLeftIn;animation-play-state:running}.ant-move-left-leave.ant-move-left-leave-active{animation-name:antMoveLeftOut;animation-play-state:running;pointer-events:none}.ant-move-left-enter,.ant-move-left-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-left-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-right-enter,.ant-move-right-appear,.ant-move-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-right-enter.ant-move-right-enter-active,.ant-move-right-appear.ant-move-right-appear-active{animation-name:antMoveRightIn;animation-play-state:running}.ant-move-right-leave.ant-move-right-leave-active{animation-name:antMoveRightOut;animation-play-state:running;pointer-events:none}.ant-move-right-enter,.ant-move-right-appear{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-right-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftIn{0%{transform:translate(-100%);transform-origin:0 0;opacity:0}to{transform:translate(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftOut{0%{transform:translate(0);transform-origin:0 0;opacity:1}to{transform:translate(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightIn{0%{transform:translate(100%);transform-origin:0 0;opacity:0}to{transform:translate(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightOut{0%{transform:translate(0);transform-origin:0 0;opacity:1}to{transform:translate(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes loadingCircle{to{transform:rotate(360deg)}}[ant-click-animating=true],[ant-click-animating-without-extra-node=true]{position:relative}html{--antd-wave-shadow-color: #1890ff;--scroll-bar: 0}[ant-click-animating-without-extra-node=true]:after,.ant-click-animating-node{position:absolute;inset:0;display:block;border-radius:inherit;box-shadow:0 0 #1890ff;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation-fill-mode:forwards;content:"";pointer-events:none}@keyframes waveEffect{to{box-shadow:0 0 #1890ff;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes fadeEffect{to{opacity:0}}.ant-slide-up-enter,.ant-slide-up-appear,.ant-slide-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-up-enter.ant-slide-up-enter-active,.ant-slide-up-appear.ant-slide-up-appear-active{animation-name:antSlideUpIn;animation-play-state:running}.ant-slide-up-leave.ant-slide-up-leave-active{animation-name:antSlideUpOut;animation-play-state:running;pointer-events:none}.ant-slide-up-enter,.ant-slide-up-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-up-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-down-enter,.ant-slide-down-appear,.ant-slide-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-down-enter.ant-slide-down-enter-active,.ant-slide-down-appear.ant-slide-down-appear-active{animation-name:antSlideDownIn;animation-play-state:running}.ant-slide-down-leave.ant-slide-down-leave-active{animation-name:antSlideDownOut;animation-play-state:running;pointer-events:none}.ant-slide-down-enter,.ant-slide-down-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-down-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-left-enter,.ant-slide-left-appear,.ant-slide-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-left-enter.ant-slide-left-enter-active,.ant-slide-left-appear.ant-slide-left-appear-active{animation-name:antSlideLeftIn;animation-play-state:running}.ant-slide-left-leave.ant-slide-left-leave-active{animation-name:antSlideLeftOut;animation-play-state:running;pointer-events:none}.ant-slide-left-enter,.ant-slide-left-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-left-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-right-enter,.ant-slide-right-appear,.ant-slide-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-right-enter.ant-slide-right-enter-active,.ant-slide-right-appear.ant-slide-right-appear-active{animation-name:antSlideRightIn;animation-play-state:running}.ant-slide-right-leave.ant-slide-right-leave-active{animation-name:antSlideRightOut;animation-play-state:running;pointer-events:none}.ant-slide-right-enter,.ant-slide-right-appear{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-right-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0% 0%;opacity:0}to{transform:scaleY(1);transform-origin:0% 0%;opacity:1}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0% 0%;opacity:1}to{transform:scaleY(.8);transform-origin:0% 0%;opacity:0}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0% 0%;opacity:0}to{transform:scaleX(1);transform-origin:0% 0%;opacity:1}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0% 0%;opacity:1}to{transform:scaleX(.8);transform-origin:0% 0%;opacity:0}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0%;opacity:0}to{transform:scaleX(1);transform-origin:100% 0%;opacity:1}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0%;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0%;opacity:0}}.ant-zoom-enter,.ant-zoom-appear,.ant-zoom-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-enter.ant-zoom-enter-active,.ant-zoom-appear.ant-zoom-appear-active{animation-name:antZoomIn;animation-play-state:running}.ant-zoom-leave.ant-zoom-leave-active{animation-name:antZoomOut;animation-play-state:running;pointer-events:none}.ant-zoom-enter,.ant-zoom-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-enter-prepare,.ant-zoom-appear-prepare{transform:none}.ant-zoom-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-enter,.ant-zoom-big-appear,.ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-enter.ant-zoom-big-enter-active,.ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-enter,.ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-enter-prepare,.ant-zoom-big-appear-prepare{transform:none}.ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-fast-enter,.ant-zoom-big-fast-appear,.ant-zoom-big-fast-leave{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active,.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-fast-leave.ant-zoom-big-fast-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-fast-enter,.ant-zoom-big-fast-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-fast-enter-prepare,.ant-zoom-big-fast-appear-prepare{transform:none}.ant-zoom-big-fast-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-up-enter,.ant-zoom-up-appear,.ant-zoom-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-up-enter.ant-zoom-up-enter-active,.ant-zoom-up-appear.ant-zoom-up-appear-active{animation-name:antZoomUpIn;animation-play-state:running}.ant-zoom-up-leave.ant-zoom-up-leave-active{animation-name:antZoomUpOut;animation-play-state:running;pointer-events:none}.ant-zoom-up-enter,.ant-zoom-up-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-up-enter-prepare,.ant-zoom-up-appear-prepare{transform:none}.ant-zoom-up-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-down-enter,.ant-zoom-down-appear,.ant-zoom-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-down-enter.ant-zoom-down-enter-active,.ant-zoom-down-appear.ant-zoom-down-appear-active{animation-name:antZoomDownIn;animation-play-state:running}.ant-zoom-down-leave.ant-zoom-down-leave-active{animation-name:antZoomDownOut;animation-play-state:running;pointer-events:none}.ant-zoom-down-enter,.ant-zoom-down-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-down-enter-prepare,.ant-zoom-down-appear-prepare{transform:none}.ant-zoom-down-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-left-enter,.ant-zoom-left-appear,.ant-zoom-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-left-enter.ant-zoom-left-enter-active,.ant-zoom-left-appear.ant-zoom-left-appear-active{animation-name:antZoomLeftIn;animation-play-state:running}.ant-zoom-left-leave.ant-zoom-left-leave-active{animation-name:antZoomLeftOut;animation-play-state:running;pointer-events:none}.ant-zoom-left-enter,.ant-zoom-left-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-left-enter-prepare,.ant-zoom-left-appear-prepare{transform:none}.ant-zoom-left-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-right-enter,.ant-zoom-right-appear,.ant-zoom-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-right-enter.ant-zoom-right-enter-active,.ant-zoom-right-appear.ant-zoom-right-appear-active{animation-name:antZoomRightIn;animation-play-state:running}.ant-zoom-right-leave.ant-zoom-right-leave-active{animation-name:antZoomRightOut;animation-play-state:running;pointer-events:none}.ant-zoom-right-enter,.ant-zoom-right-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-right-enter-prepare,.ant-zoom-right-appear-prepare{transform:none}.ant-zoom-right-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0%;opacity:0}to{transform:scale(1);transform-origin:50% 0%}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0%}to{transform:scale(.8);transform-origin:50% 0%;opacity:0}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0% 50%;opacity:0}to{transform:scale(1);transform-origin:0% 50%}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0% 50%}to{transform:scale(.8);transform-origin:0% 50%;opacity:0}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse-legacy-active{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden;transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:1000}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-backdrop{inset:0;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0;position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-backdrop.ant-modal-mask{opacity:1}.cdk-overlay-pane{position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-global-scrollblock body{overflow-x:visible}.nz-overlay-transparent-backdrop,.nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.nz-animate-disabled.ant-scroll-number-only,.nz-animate-disabled.ant-drawer.ant-drawer-open .ant-drawer-mask{animation:none;transition:none}.nz-animate-disabled.ant-drawer>*{transition:none}.nz-animate-disabled .ant-modal-mask,.nz-animate-disabled .ant-modal,.nz-animate-disabled .ant-modal-mask.zoom-enter,.nz-animate-disabled .ant-modal.zoom-enter,.nz-animate-disabled .ant-modal-mask.zoom-leave,.nz-animate-disabled .ant-modal.zoom-leave,.nz-animate-disabled .ant-modal-mask.zoom-enter-active,.nz-animate-disabled .ant-modal.zoom-enter-active,.nz-animate-disabled .ant-modal-mask.zoom-leave-active,.nz-animate-disabled .ant-modal.zoom-leave-active{animation:none;transition:none}.nz-animate-disabled.ant-menu,.nz-animate-disabled.ant-menu .ant-menu-item,.nz-animate-disabled.ant-menu .ant-menu-submenu-title,.nz-animate-disabled.ant-menu .ant-menu-item .anticon,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon{transition:none}.nz-animate-disabled.ant-menu .ant-menu-item .anticon+span,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon+span{transition:none}.nz-animate-disabled.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs.ant-tabs-left .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-right .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-top .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-bottom .ant-tabs-ink-bar-animated{transition:none}.nz-animate-disabled.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transition:none}.ant-affix{position:fixed;z-index:10}nz-affix{display:block}.ant-alert{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:center;padding:8px 15px;word-wrap:break-word;border-radius:2px}.ant-alert-content{flex:1;min-width:0}.ant-alert-icon{margin-right:4px}.ant-alert-description{display:none;font-size:12px;line-height:20px}.ant-alert-success{background-color:#f6ffed;border:1px solid #b7eb8f}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{background-color:#fffbe6;border:1px solid #ffe58f}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{background-color:#fff2f0;border:1px solid #ffccc7}.ant-alert-error .ant-alert-icon{color:#ff4d4f}.ant-alert-error .ant-alert-description>pre{margin:0;padding:0}.ant-alert-action{margin-left:4px}.ant-alert-close-icon{margin-left:4px;padding:0;overflow:hidden;font-size:12px;line-height:12px;background-color:transparent;border:none;outline:none;cursor:pointer}.ant-alert-close-icon .anticon-close{color:#00000073;transition:color .3s}.ant-alert-close-icon .anticon-close:hover{color:#000000bf}.ant-alert-close-text{color:#00000073;transition:color .3s}.ant-alert-close-text:hover{color:#000000bf}.ant-alert-with-description{align-items:flex-start;padding:11px 15px 7px 20px}.ant-alert-with-description.ant-alert-no-icon{padding:7px 15px}.ant-alert-with-description .ant-alert-icon{margin-right:11px;font-size:20px}.ant-alert-with-description .ant-alert-message{display:block;margin-bottom:4px;color:#000000d9;font-size:14px}.ant-alert-message{color:#000000d9}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-motion-leave{overflow:hidden;opacity:1;transition:max-height .3s cubic-bezier(.78,.14,.15,.86),opacity .3s cubic-bezier(.78,.14,.15,.86),padding-top .3s cubic-bezier(.78,.14,.15,.86),padding-bottom .3s cubic-bezier(.78,.14,.15,.86),margin-bottom .3s cubic-bezier(.78,.14,.15,.86)}.ant-alert.ant-alert-motion-leave-active{max-height:0;margin-bottom:0!important;padding-top:0;padding-bottom:0;opacity:0}.ant-alert-banner{margin-bottom:0;border:0;border-radius:0}.ant-alert.ant-alert-rtl{direction:rtl}.ant-alert-rtl .ant-alert-icon{margin-right:auto;margin-left:4px}.ant-alert-rtl .ant-alert-action,.ant-alert-rtl .ant-alert-close-icon{margin-right:4px;margin-left:auto}.ant-alert-rtl.ant-alert-with-description{padding-right:20px;padding-left:11px}.ant-alert-rtl.ant-alert-with-description .ant-alert-icon{margin-right:auto;margin-left:11px}nz-alert{display:block}.ant-alert-icon{line-height:1}.ant-anchor{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;padding:0 0 0 2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:transparent}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#f0f0f0;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #1890ff;border-radius:8px;transform:translate(-50%);transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor-fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:4px 0 4px 16px}.ant-anchor-link-title{position:relative;display:block;margin-bottom:3px;overflow:hidden;color:#000000d9;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}.ant-anchor-link .ant-anchor-link{padding-top:2px;padding-bottom:2px}.ant-anchor-rtl{direction:rtl}.ant-anchor-rtl.ant-anchor-wrapper{margin-right:-4px;margin-left:0;padding-right:4px;padding-left:0}.ant-anchor-rtl .ant-anchor-ink{right:0;left:auto}.ant-anchor-rtl .ant-anchor-ink-ball{right:50%;left:0;transform:translate(50%)}.ant-anchor-rtl .ant-anchor-link{padding:4px 16px 4px 0}nz-link{display:block}.ant-avatar{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;overflow:hidden;color:#fff;white-space:nowrap;text-align:center;vertical-align:middle;background:#ccc;width:28px;height:28px;line-height:28px;border-radius:50%}.ant-avatar-image{background:transparent}.ant-avatar .ant-image-img{display:block}.ant-avatar-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar.ant-avatar-icon{font-size:16px}.ant-avatar.ant-avatar-icon>.anticon{margin:0}.ant-avatar-lg{width:32px;height:32px;line-height:32px;border-radius:50%}.ant-avatar-lg-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-lg.ant-avatar-icon{font-size:20px}.ant-avatar-lg.ant-avatar-icon>.anticon{margin:0}.ant-avatar-sm{width:22px;height:22px;line-height:22px;border-radius:50%}.ant-avatar-sm-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-sm.ant-avatar-icon{font-size:12px}.ant-avatar-sm.ant-avatar-icon>.anticon{margin:0}.ant-avatar-square{border-radius:2px}.ant-avatar>img{display:block;width:100%;height:100%;object-fit:cover}.ant-avatar-group{display:inline-flex}.ant-avatar-group .ant-avatar{border:1px solid #fff}.ant-avatar-group .ant-avatar:not(:first-child){margin-left:-8px}.ant-avatar-group-popover .ant-avatar+.ant-avatar{margin-left:3px}.ant-avatar-group-rtl .ant-avatar:not(:first-child){margin-right:-8px;margin-left:0}.ant-avatar-group-popover.ant-popover-rtl .ant-avatar+.ant-avatar{margin-right:3px;margin-left:0}.ant-back-top{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:fixed;right:100px;bottom:50px;z-index:10;width:40px;height:40px;cursor:pointer}.ant-back-top:empty{display:none}.ant-back-top-rtl{right:auto;left:100px;direction:rtl}.ant-back-top-content{width:40px;height:40px;overflow:hidden;color:#fff;text-align:center;background-color:#00000073;border-radius:20px;transition:all .3s}.ant-back-top-content:hover{background-color:#000000d9;transition:all .3s}.ant-back-top-icon{font-size:24px;line-height:40px}@media screen and (max-width: 768px){.ant-back-top{right:60px}.ant-back-top-rtl{right:auto;left:60px}}@media screen and (max-width: 480px){.ant-back-top{right:20px}.ant-back-top-rtl{right:auto;left:20px}}.ant-badge{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;line-height:1}.ant-badge-count{z-index:auto;min-width:18px;height:18px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-align:center;background:#ff4d4f;border-radius:9px;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-count-sm{min-width:14px;height:14px;padding:0;font-size:12px;line-height:14px;border-radius:7px}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{z-index:auto;width:6px;min-width:6px;height:6px;background:#ff4d4f;border-radius:100%;box-shadow:0 0 0 1px #fff}.ant-badge-dot.ant-scroll-number{transition:background 1.5s}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0%}.ant-badge-count.anticon-spin,.ant-badge-dot.anticon-spin,.ant-badge .ant-scroll-number-custom-component.anticon-spin{animation:antBadgeLoadingCircle 1s infinite linear}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;animation:antStatusProcessing 1.2s infinite ease-in-out;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#ff4d4f}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-pink,.ant-badge-status-magenta{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:#000000d9;font-size:12px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation-fill-mode:both}.ant-badge-zoom-leave{animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation-fill-mode:both}.ant-badge-not-a-wrapper .ant-badge-zoom-appear,.ant-badge-not-a-wrapper .ant-badge-zoom-enter{animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46)}.ant-badge-not-a-wrapper .ant-badge-zoom-leave{animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6)}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number-custom-component,.ant-badge-not-a-wrapper .ant-badge-count{transform:none}.ant-badge-not-a-wrapper .ant-scroll-number-custom-component,.ant-badge-not-a-wrapper .ant-scroll-number{position:relative;top:auto;display:block;transform-origin:50% 50%}@keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden;direction:ltr}.ant-scroll-number-only{position:relative;display:inline-block;height:18px;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:18px;margin:0;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-symbol{vertical-align:top}@keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@keyframes antBadgeLoadingCircle{0%{transform-origin:50%}to{transform:translate(50%,-50%) rotate(360deg);transform-origin:50%}}.ant-ribbon-wrapper{position:relative}.ant-ribbon{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:8px;height:22px;padding:0 8px;color:#fff;line-height:22px;white-space:nowrap;background-color:#1890ff;border-radius:2px}.ant-ribbon-text{color:#fff}.ant-ribbon-corner{position:absolute;top:100%;width:8px;height:8px;color:currentcolor;border:4px solid;transform:scaleY(.75);transform-origin:top}.ant-ribbon-corner:after{position:absolute;top:-4px;left:-4px;width:inherit;height:inherit;color:#00000040;border:inherit;content:""}.ant-ribbon-color-pink,.ant-ribbon-color-magenta{color:#eb2f96;background:#eb2f96}.ant-ribbon-color-red{color:#f5222d;background:#f5222d}.ant-ribbon-color-volcano{color:#fa541c;background:#fa541c}.ant-ribbon-color-orange{color:#fa8c16;background:#fa8c16}.ant-ribbon-color-yellow{color:#fadb14;background:#fadb14}.ant-ribbon-color-gold{color:#faad14;background:#faad14}.ant-ribbon-color-cyan{color:#13c2c2;background:#13c2c2}.ant-ribbon-color-lime{color:#a0d911;background:#a0d911}.ant-ribbon-color-green{color:#52c41a;background:#52c41a}.ant-ribbon-color-blue{color:#1890ff;background:#1890ff}.ant-ribbon-color-geekblue{color:#2f54eb;background:#2f54eb}.ant-ribbon-color-purple{color:#722ed1;background:#722ed1}.ant-ribbon.ant-ribbon-placement-end{right:-8px;border-bottom-right-radius:0}.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner{right:0;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon.ant-ribbon-placement-start{left:-8px;border-bottom-left-radius:0}.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner{left:0;border-color:currentcolor currentcolor transparent transparent}.ant-badge-rtl{direction:rtl}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-count,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-dot,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;direction:ltr;transform:translate(-50%,-50%);transform-origin:0% 0%}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;transform:translate(-50%,-50%);transform-origin:0% 0%}.ant-badge-rtl .ant-badge-status-text{margin-right:8px;margin-left:0}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-appear,.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-enter{animation-name:antZoomBadgeInRtl}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-leave{animation-name:antZoomBadgeOutRtl}.ant-ribbon-rtl{direction:rtl}.ant-ribbon-rtl.ant-ribbon-placement-end{right:unset;left:-8px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner{right:unset;left:0;border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner:after{border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-start{right:-8px;left:unset;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner{right:0;left:unset;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner:after{border-color:currentcolor transparent transparent currentcolor}@keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}.ant-badge .ant-scroll-number:only-child{position:relative;top:auto;display:block}.ant-badge .ant-badge-count:only-child{transform:none}nz-ribbon{display:block}.ant-breadcrumb{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";color:#00000073;font-size:12px}.ant-breadcrumb .anticon{font-size:12px}.ant-breadcrumb ol{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.ant-breadcrumb a{color:#00000073;transition:color .3s}.ant-breadcrumb a:hover{color:#000000d9}.ant-breadcrumb li:last-child{color:#000000d9}.ant-breadcrumb li:last-child a{color:#000000d9}li:last-child .ant-breadcrumb-separator{display:none}.ant-breadcrumb-separator{margin:0 4px;color:#00000073}.ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-link>.anticon+a{margin-left:4px}.ant-breadcrumb-overlay-link>.anticon{margin-left:4px}.ant-breadcrumb-rtl{direction:rtl}.ant-breadcrumb-rtl:before{display:table;content:""}.ant-breadcrumb-rtl:after{display:table;clear:both;content:""}.ant-breadcrumb-rtl>span{float:right}.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+a{margin-right:4px;margin-left:0}.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link>.anticon{margin-right:4px;margin-left:0}.ant-breadcrumb-link .anticon+span{margin-left:4px}.ant-breadcrumb>nz-breadcrumb-item:last-child{color:#000000d9}.ant-breadcrumb>nz-breadcrumb-item:last-child a{color:#000000d9}.ant-breadcrumb-rtl>nz-breadcrumb-item{float:right}nz-breadcrumb{display:block}nz-breadcrumb-item:last-child .ant-breadcrumb-separator{display:none}.ant-btn{line-height:1.66667;position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;border:1px solid transparent;box-shadow:0 2px #00000004;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;user-select:none;touch-action:manipulation;height:28px;padding:3px 11px;font-size:12px;border-radius:2px;color:#000000d9;border-color:#d9d9d9;background:#fff}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{text-decoration:none}.ant-btn:not([disabled]):active{outline:0;box-shadow:none}.ant-btn[disabled]{cursor:not-allowed}.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{height:32px;padding:3.3px 11px;font-size:14px;border-radius:2px}.ant-btn-sm{height:22px;padding:0 7px;font-size:12px;border-radius:2px}.ant-btn>a:only-child{color:currentcolor}.ant-btn>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn:hover,.ant-btn:focus{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn:hover>a:only-child,.ant-btn:focus>a:only-child{color:currentcolor}.ant-btn:hover>a:only-child:after,.ant-btn:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn:active>a:only-child{color:currentcolor}.ant-btn:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn[disabled],.ant-btn[disabled]:hover,.ant-btn[disabled]:focus,.ant-btn[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn[disabled]>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:active>a:only-child{color:currentcolor}.ant-btn[disabled]>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn:hover,.ant-btn:focus,.ant-btn:active{text-decoration:none;background:#fff}.ant-btn>span{display:inline-block}.ant-btn-primary{color:#fff;border-color:#1890ff;background:#1890ff;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b}.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-primary>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-primary:hover,.ant-btn-primary:focus{color:#fff;border-color:#40a9ff;background:#40a9ff}.ant-btn-primary:hover>a:only-child,.ant-btn-primary:focus>a:only-child{color:currentcolor}.ant-btn-primary:hover>a:only-child:after,.ant-btn-primary:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-primary:active{color:#fff;border-color:#096dd9;background:#096dd9}.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-primary:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:hover,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-primary[disabled]>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:active>a:only-child{color:currentcolor}.ant-btn-primary[disabled]>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary:last-child:not(:first-child),.ant-btn-group .ant-btn-primary+.ant-btn-primary{border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:#000000d9;border-color:#d9d9d9;background:transparent}.ant-btn-ghost>a:only-child{color:currentcolor}.ant-btn-ghost>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-ghost:hover,.ant-btn-ghost:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-ghost:hover>a:only-child,.ant-btn-ghost:focus>a:only-child{color:currentcolor}.ant-btn-ghost:hover>a:only-child:after,.ant-btn-ghost:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-ghost:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-ghost:active>a:only-child{color:currentcolor}.ant-btn-ghost:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-ghost[disabled],.ant-btn-ghost[disabled]:hover,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-ghost[disabled]>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:active>a:only-child{color:currentcolor}.ant-btn-ghost[disabled]>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed{color:#000000d9;border-color:#d9d9d9;background:#fff;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentcolor}.ant-btn-dashed>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed:hover,.ant-btn-dashed:focus{color:#40a9ff;border-color:#40a9ff;background:#fff}.ant-btn-dashed:hover>a:only-child,.ant-btn-dashed:focus>a:only-child{color:currentcolor}.ant-btn-dashed:hover>a:only-child:after,.ant-btn-dashed:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed:active{color:#096dd9;border-color:#096dd9;background:#fff}.ant-btn-dashed:active>a:only-child{color:currentcolor}.ant-btn-dashed:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dashed[disabled],.ant-btn-dashed[disabled]:hover,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dashed[disabled]>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dashed[disabled]>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b}.ant-btn-danger>a:only-child{color:currentcolor}.ant-btn-danger>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger:hover,.ant-btn-danger:focus{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-danger:hover>a:only-child,.ant-btn-danger:focus>a:only-child{color:currentcolor}.ant-btn-danger:hover>a:only-child:after,.ant-btn-danger:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-danger:active>a:only-child{color:currentcolor}.ant-btn-danger:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-danger[disabled],.ant-btn-danger[disabled]:hover,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-danger[disabled]>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:active>a:only-child{color:currentcolor}.ant-btn-danger[disabled]>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link{color:#1890ff;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-link>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link:hover,.ant-btn-link:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-link:hover>a:only-child,.ant-btn-link:focus>a:only-child{color:currentcolor}.ant-btn-link:hover>a:only-child:after,.ant-btn-link:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-link:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-link[disabled],.ant-btn-link[disabled]:hover,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-link:hover{background:transparent}.ant-btn-link:hover,.ant-btn-link:focus,.ant-btn-link:active{border-color:transparent}.ant-btn-link[disabled],.ant-btn-link[disabled]:hover,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-link[disabled]>a:only-child,.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-link[disabled]:active>a:only-child{color:currentcolor}.ant-btn-link[disabled]>a:only-child:after,.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-link[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text{color:#000000d9;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-text>a:only-child{color:currentcolor}.ant-btn-text>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text:hover,.ant-btn-text:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-text:hover>a:only-child,.ant-btn-text:focus>a:only-child{color:currentcolor}.ant-btn-text:hover>a:only-child:after,.ant-btn-text:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-text:active>a:only-child{color:currentcolor}.ant-btn-text:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-text[disabled],.ant-btn-text[disabled]:hover,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-text:hover,.ant-btn-text:focus{color:#000000d9;background:rgba(0,0,0,.018);border-color:transparent}.ant-btn-text:active{color:#000000d9;background:rgba(0,0,0,.028);border-color:transparent}.ant-btn-text[disabled],.ant-btn-text[disabled]:hover,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-text[disabled]>a:only-child,.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-text[disabled]:active>a:only-child{color:currentcolor}.ant-btn-text[disabled]>a:only-child:after,.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-text[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;background:#fff}.ant-btn-dangerous>a:only-child{color:currentcolor}.ant-btn-dangerous>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous:hover,.ant-btn-dangerous:focus{color:#ff7875;border-color:#ff7875;background:#fff}.ant-btn-dangerous:hover>a:only-child,.ant-btn-dangerous:focus>a:only-child{color:currentcolor}.ant-btn-dangerous:hover>a:only-child:after,.ant-btn-dangerous:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e;background:#fff}.ant-btn-dangerous:active>a:only-child{color:currentcolor}.ant-btn-dangerous:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous[disabled],.ant-btn-dangerous[disabled]:hover,.ant-btn-dangerous[disabled]:focus,.ant-btn-dangerous[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous[disabled]>a:only-child,.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-dangerous[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous[disabled]>a:only-child:after,.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-dangerous[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary{color:#fff;border-color:#ff4d4f;background:#ff4d4f;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px #0000000b}.ant-btn-dangerous.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:hover,.ant-btn-dangerous.ant-btn-primary:focus{color:#fff;border-color:#ff7875;background:#ff7875}.ant-btn-dangerous.ant-btn-primary:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary:focus>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:active{color:#fff;border-color:#d9363e;background:#d9363e}.ant-btn-dangerous.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary[disabled],.ant-btn-dangerous.ant-btn-primary[disabled]:hover,.ant-btn-dangerous.ant-btn-primary[disabled]:focus,.ant-btn-dangerous.ant-btn-primary[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:hover,.ant-btn-dangerous.ant-btn-link:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-dangerous.ant-btn-link:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:hover,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link:hover,.ant-btn-dangerous.ant-btn-link:focus{color:#ff7875;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:hover>a:only-child,.ant-btn-dangerous.ant-btn-link:focus>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:hover,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text{color:#ff4d4f;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-text>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:hover,.ant-btn-dangerous.ant-btn-text:focus{color:#40a9ff;border-color:#40a9ff;background:transparent}.ant-btn-dangerous.ant-btn-text:active{color:#096dd9;border-color:#096dd9;background:transparent}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:hover,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text:hover,.ant-btn-dangerous.ant-btn-text:focus{color:#ff7875;border-color:transparent;background:rgba(0,0,0,.018)}.ant-btn-dangerous.ant-btn-text:hover>a:only-child,.ant-btn-dangerous.ant-btn-text:focus>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:active{color:#d9363e;border-color:transparent;background:rgba(0,0,0,.028)}.ant-btn-dangerous.ant-btn-text:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:hover,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:active{color:#00000040;border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-icon-only{width:28px;height:28px;padding:1.3px 0;font-size:14px;border-radius:2px;vertical-align:-3px}.ant-btn-icon-only>*{font-size:14px}.ant-btn-icon-only.ant-btn-lg{width:32px;height:32px;padding:1.7px 0;font-size:16px;border-radius:2px}.ant-btn-icon-only.ant-btn-lg>*{font-size:16px}.ant-btn-icon-only.ant-btn-sm{width:22px;height:22px;padding:0;font-size:12px;border-radius:2px}.ant-btn-icon-only.ant-btn-sm>*{font-size:12px}.ant-btn-icon-only>.anticon{display:flex;justify-content:center}a.ant-btn-icon-only{vertical-align:-1px}a.ant-btn-icon-only>.anticon{display:inline}.ant-btn-round{height:28px;padding:3px 14px;font-size:12px;border-radius:28px}.ant-btn-round.ant-btn-lg{height:32px;padding:3.3px 16px;font-size:14px;border-radius:32px}.ant-btn-round.ant-btn-sm{height:22px;padding:0 11px;font-size:12px;border-radius:22px}.ant-btn-round.ant-btn-icon-only{width:auto}.ant-btn-circle{min-width:28px;padding-right:0;padding-left:0;text-align:center;border-radius:50%}.ant-btn-circle.ant-btn-lg{min-width:32px;border-radius:50%}.ant-btn-circle.ant-btn-sm{min-width:22px;border-radius:50%}.ant-btn:before{position:absolute;inset:-1px;z-index:1;display:none;background:#fff;border-radius:inherit;opacity:.35;transition:opacity .2s;content:"";pointer-events:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645,.045,.355,1)}.ant-btn .anticon.anticon-plus>svg,.ant-btn .anticon.anticon-minus>svg{shape-rendering:optimizespeed}.ant-btn.ant-btn-loading{position:relative;cursor:default}.ant-btn.ant-btn-loading:before{display:block}.ant-btn>.ant-btn-loading-icon{transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-btn>.ant-btn-loading-icon .anticon{padding-right:4px;animation:none}.ant-btn>.ant-btn-loading-icon .anticon svg{animation:loadingCircle 1s infinite linear}.ant-btn>.ant-btn-loading-icon:only-child .anticon{padding-right:0}.ant-btn-group{position:relative;display:inline-flex}.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative}.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn:hover,.ant-btn-group>.ant-btn:focus,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>.ant-btn:active,.ant-btn-group>span>.ant-btn:active{z-index:2}.ant-btn-group>.ant-btn[disabled],.ant-btn-group>span>.ant-btn[disabled]{z-index:0}.ant-btn-group .ant-btn-icon-only{font-size:12px}.ant-btn-group .ant-btn+.ant-btn,.ant-btn+.ant-btn-group,.ant-btn-group span+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group>span+span,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child{border-radius:2px}.ant-btn-group>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group-sm>.ant-btn:only-child{border-radius:2px}.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{padding-right:8px;border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{padding-left:8px;border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-rtl.ant-btn+.ant-btn-group,.ant-btn-rtl.ant-btn-group span+.ant-btn,.ant-btn-rtl.ant-btn-group .ant-btn+span,.ant-btn-rtl.ant-btn-group>span+span,.ant-btn-rtl.ant-btn-group+.ant-btn,.ant-btn-rtl.ant-btn-group+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group-rtl.ant-btn+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group span+.ant-btn,.ant-btn-group-rtl.ant-btn-group .ant-btn+span,.ant-btn-group-rtl.ant-btn-group>span+span,.ant-btn-group-rtl.ant-btn-group+.ant-btn,.ant-btn-group-rtl.ant-btn-group+.ant-btn-group{margin-right:-1px;margin-left:auto}.ant-btn-group.ant-btn-group-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-radius:0 2px 2px 0}.ant-btn-group-rtl.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-radius:2px 0 0 2px}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-radius:0 2px 2px 0}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-radius:2px 0 0 2px}.ant-btn:focus>span,.ant-btn:active>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:4px}.ant-btn.ant-btn-background-ghost{color:#fff;border-color:#fff}.ant-btn.ant-btn-background-ghost,.ant-btn.ant-btn-background-ghost:hover,.ant-btn.ant-btn-background-ghost:active,.ant-btn.ant-btn-background-ghost:focus{background:transparent}.ant-btn.ant-btn-background-ghost:hover,.ant-btn.ant-btn-background-ghost:focus{color:#40a9ff;border-color:#40a9ff}.ant-btn.ant-btn-background-ghost:active{color:#096dd9;border-color:#096dd9}.ant-btn.ant-btn-background-ghost[disabled]{color:#00000040;background:transparent;border-color:#d9d9d9}.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;border-color:#1890ff;text-shadow:none}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:hover,.ant-btn-background-ghost.ant-btn-primary:focus{color:#40a9ff;border-color:#40a9ff}.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;border-color:#096dd9}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled]:hover,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:hover,.ant-btn-background-ghost.ant-btn-danger:focus{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled]:hover,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous{color:#ff4d4f;border-color:#ff4d4f;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:hover,.ant-btn-background-ghost.ant-btn-dangerous:focus{color:#ff7875;border-color:#ff7875}.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:active{color:#d9363e;border-color:#d9363e}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous[disabled],.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link{color:#ff4d4f;border-color:transparent;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus{color:#ff7875;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active{color:#d9363e;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active{color:#00000040;border-color:#d9d9d9;background:#f5f5f5;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after{position:absolute;inset:0;background:transparent;content:""}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>*:not(.anticon){margin-right:-.34em;letter-spacing:.34em}.ant-btn.ant-btn-block{width:100%}.ant-btn:empty{display:inline-block;width:0;visibility:hidden;content:"\a0"}a.ant-btn{padding-top:.01px!important;line-height:26px}a.ant-btn-lg{line-height:30px}a.ant-btn-sm{line-height:20px}.ant-btn-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary{border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled]{border-right-color:#d9d9d9;border-left-color:#40a9ff}.ant-btn-rtl.ant-btn>.ant-btn-loading-icon .anticon{padding-right:0;padding-left:4px}.ant-btn>.ant-btn-loading-icon:only-child .anticon{padding-right:0;padding-left:0}.ant-btn-rtl.ant-btn>.anticon+span,.ant-btn-rtl.ant-btn>span+.anticon{margin-right:8px;margin-left:0}.ant-card{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;background:#fff;border-radius:2px}.ant-card-rtl{direction:rtl}.ant-card-hoverable{cursor:pointer;transition:box-shadow .3s,border-color .3s}.ant-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px #00000029,0 3px 6px #0000001f,0 5px 12px 4px #00000017}.ant-card-bordered{border:1px solid #f0f0f0}.ant-card-head{min-height:36px;margin-bottom:-1px;padding:0 12px;color:#000000d9;font-weight:500;font-size:12px;background:transparent;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-card-head:before{display:table;content:""}.ant-card-head:after{display:table;clear:both;content:""}.ant-card-head-wrapper{display:flex;align-items:center}.ant-card-head-title{display:inline-block;flex:1;padding:8.5px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-card-head-title>.ant-typography,.ant-card-head-title>.ant-typography-edit-content{left:0;margin-top:0;margin-bottom:0}.ant-card-head .ant-tabs-top{clear:both;margin-bottom:-9px;color:#000000d9;font-weight:400;font-size:12px}.ant-card-head .ant-tabs-top-bar{border-bottom:1px solid #f0f0f0}.ant-card-extra{float:right;margin-left:auto;padding:8.5px 0;color:#000000d9;font-weight:400;font-size:12px}.ant-card-rtl .ant-card-extra{margin-right:auto;margin-left:0}.ant-card-body{padding:12px}.ant-card-body:before{display:table;content:""}.ant-card-body:after{display:table;clear:both;content:""}.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body{margin:-1px 0 0 -1px;padding:0}.ant-card-grid{float:left;width:33.33%;padding:12px;border:0;border-radius:0;box-shadow:1px 0 #f0f0f0,0 1px #f0f0f0,1px 1px #f0f0f0,1px 0 #f0f0f0 inset,0 1px #f0f0f0 inset;transition:all .3s}.ant-card-rtl .ant-card-grid{float:right}.ant-card-grid-hoverable:hover{position:relative;z-index:1;box-shadow:0 1px 2px -2px #00000029,0 3px 6px #0000001f,0 5px 12px 4px #00000017}.ant-card-contain-tabs>.ant-card-head .ant-card-head-title{min-height:27.5px;padding-bottom:0}.ant-card-contain-tabs>.ant-card-head .ant-card-extra{padding-bottom:0}.ant-card-bordered .ant-card-cover{margin-top:-1px;margin-right:-1px;margin-left:-1px}.ant-card-cover>*{display:block;width:100%}.ant-card-cover img{border-radius:2px 2px 0 0}.ant-card-actions{margin:0;padding:0;list-style:none;background:#fff;border-top:1px solid #f0f0f0}.ant-card-actions:before{display:table;content:""}.ant-card-actions:after{display:table;clear:both;content:""}.ant-card-actions>li{float:left;margin:4px 0;color:#00000073;text-align:center}.ant-card-rtl .ant-card-actions>li{float:right}.ant-card-actions>li>span{position:relative;display:block;min-width:32px;font-size:12px;line-height:1.66667;cursor:pointer}.ant-card-actions>li>span:hover{color:#1890ff;transition:color .3s}.ant-card-actions>li>span a:not(.ant-btn),.ant-card-actions>li>span>.anticon{display:inline-block;width:100%;color:#00000073;line-height:22px;transition:color .3s}.ant-card-actions>li>span a:not(.ant-btn):hover,.ant-card-actions>li>span>.anticon:hover{color:#1890ff}.ant-card-actions>li>span>.anticon{font-size:16px;line-height:22px}.ant-card-actions>li:not(:last-child){border-right:1px solid #f0f0f0}.ant-card-rtl .ant-card-actions>li:not(:last-child){border-right:none;border-left:1px solid #f0f0f0}.ant-card-type-inner .ant-card-head{padding:0 12px;background:#fafafa}.ant-card-type-inner .ant-card-head-title{padding:12px 0;font-size:12px}.ant-card-type-inner .ant-card-body{padding:16px 12px}.ant-card-type-inner .ant-card-extra{padding:13.5px 0}.ant-card-meta{margin:-4px 0}.ant-card-meta:before{display:table;content:""}.ant-card-meta:after{display:table;clear:both;content:""}.ant-card-meta-avatar{float:left;padding-right:16px}.ant-card-rtl .ant-card-meta-avatar{float:right;padding-right:0;padding-left:16px}.ant-card-meta-detail{overflow:hidden}.ant-card-meta-detail>div:not(:last-child){margin-bottom:4px}.ant-card-meta-title{overflow:hidden;color:#000000d9;font-weight:500;font-size:14px;white-space:nowrap;text-overflow:ellipsis}.ant-card-meta-description{color:#00000073}.ant-card-loading{overflow:hidden}.ant-card-loading .ant-card-body{-webkit-user-select:none;user-select:none}.ant-card-loading-content p{margin:0}.ant-card-loading-block{height:14px;margin:4px 0;background:linear-gradient(90deg,rgba(207,216,220,.2),rgba(207,216,220,.4),rgba(207,216,220,.2));background-size:600% 600%;border-radius:2px;animation:card-loading 1.4s ease infinite}@keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.ant-card-small>.ant-card-head{min-height:30px;padding:0 12px;font-size:12px}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-head-title{padding:6px 0}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra{padding:6px 0;font-size:12px}.ant-card-small>.ant-card-body{padding:12px}.ant-card-rtl .ant-skeleton-header{padding:0 0 0 8.5px}nz-card{display:block}nz-card-meta{display:block}nz-card-loading{display:block}.ant-carousel{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-carousel .slick-slider{position:relative;display:block;box-sizing:border-box;touch-action:pan-y;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.ant-carousel .slick-list{position:relative;display:block;margin:0;padding:0;overflow:hidden}.ant-carousel .slick-list:focus{outline:none}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-radio-input,.ant-carousel .slick-list .slick-slide input.ant-checkbox-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input{visibility:visible}.ant-carousel .slick-list .slick-slide>div>div{vertical-align:bottom}.ant-carousel .slick-slider .slick-track,.ant-carousel .slick-slider .slick-list{transform:translateZ(0);touch-action:pan-y}.ant-carousel .slick-track{position:relative;top:0;left:0;display:block}.ant-carousel .slick-track:before,.ant-carousel .slick-track:after{display:table;content:""}.ant-carousel .slick-track:after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-prev,.ant-carousel .slick-next{position:absolute;top:50%;display:block;width:20px;height:20px;margin-top:-10px;padding:0;color:transparent;font-size:0;line-height:0;background:transparent;border:0;outline:none;cursor:pointer}.ant-carousel .slick-prev:hover,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev:focus,.ant-carousel .slick-next:focus{color:transparent;background:transparent;outline:none}.ant-carousel .slick-prev:hover:before,.ant-carousel .slick-next:hover:before,.ant-carousel .slick-prev:focus:before,.ant-carousel .slick-next:focus:before{opacity:1}.ant-carousel .slick-prev.slick-disabled:before,.ant-carousel .slick-next.slick-disabled:before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev:before{content:"\2190"}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next:before{content:"\2192"}.ant-carousel .slick-dots{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex!important;justify-content:center;margin-right:15%;margin-left:15%;padding-left:0;list-style:none}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{top:12px;bottom:auto}.ant-carousel .slick-dots li{position:relative;display:inline-block;flex:0 1 auto;box-sizing:content-box;width:16px;height:3px;margin:0 3px;padding:0;text-align:center;text-indent:-999px;vertical-align:top;transition:all .5s}.ant-carousel .slick-dots li button{display:block;width:100%;height:3px;padding:0;color:transparent;font-size:0;background:#fff;border:0;border-radius:1px;outline:none;cursor:pointer;opacity:.3;transition:all .5s}.ant-carousel .slick-dots li button:hover,.ant-carousel .slick-dots li button:focus{opacity:.75}.ant-carousel .slick-dots li.slick-active{width:24px}.ant-carousel .slick-dots li.slick-active button{background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active:hover,.ant-carousel .slick-dots li.slick-active:focus{opacity:1}.ant-carousel-vertical .slick-dots{top:50%;bottom:auto;flex-direction:column;width:3px;height:auto;margin:0;transform:translateY(-50%)}.ant-carousel-vertical .slick-dots-left{right:auto;left:12px}.ant-carousel-vertical .slick-dots-right{right:12px;left:auto}.ant-carousel-vertical .slick-dots li{width:3px;height:16px;margin:4px 2px;vertical-align:baseline}.ant-carousel-vertical .slick-dots li button{width:3px;height:16px}.ant-carousel-vertical .slick-dots li.slick-active,.ant-carousel-vertical .slick-dots li.slick-active button{width:3px;height:24px}.ant-carousel-rtl{direction:rtl}.ant-carousel-rtl .ant-carousel .slick-track{right:0;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev{right:-25px;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev:before{content:"\2192"}.ant-carousel-rtl .ant-carousel .slick-next{right:auto;left:-25px}.ant-carousel-rtl .ant-carousel .slick-next:before{content:"\2190"}.ant-carousel-rtl.ant-carousel .slick-dots{flex-direction:row-reverse}.ant-carousel-rtl.ant-carousel-vertical .slick-dots{flex-direction:column}nz-carousel{display:block;position:relative;overflow:hidden;width:100%;height:100%}.slick-dots{display:block}.slick-track{opacity:1}.slick-list{direction:ltr}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner,.ant-checkbox-input:focus+.ant-checkbox-inner{border-color:#1890ff}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-checkbox:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-checkbox-checked .ant-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-checkbox-disabled .ant-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-checkbox-disabled:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox-disabled:after{visibility:hidden}.ant-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{cursor:not-allowed}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-checkbox+span{padding-right:8px;padding-left:8px}.ant-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-checkbox-group-item{margin-right:6px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-checkbox-indeterminate .ant-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-checkbox-rtl{direction:rtl}.ant-checkbox-group-rtl .ant-checkbox-group-item{margin-right:0;margin-left:6px}.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child{margin-left:0!important}.ant-checkbox-group-rtl .ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:6px}.ant-checkbox+span:empty{display:none}.ant-collapse{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background-color:#fafafa;border:1px solid #d9d9d9;border-bottom:0;border-radius:2px}.ant-collapse>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse>.ant-collapse-item:last-child,.ant-collapse>.ant-collapse-item:last-child>.ant-collapse-header{border-radius:0 0 2px 2px}.ant-collapse>.ant-collapse-item>.ant-collapse-header{position:relative;display:flex;flex-wrap:nowrap;align-items:flex-start;padding:8px;color:#000000d9;line-height:1.66667;cursor:pointer;transition:all .3s,visibility 0s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{display:inline-block;margin-right:8px;font-size:12px;vertical-align:-1px}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transition:transform .24s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{margin-left:auto}.ant-collapse>.ant-collapse-item>.ant-collapse-header:focus{outline:none}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only{cursor:default}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only .ant-collapse-header-text{cursor:pointer}.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-left:8px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header{position:relative;padding:8px 40px 8px 8px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{position:absolute;top:50%;right:8px;left:auto;margin:0;transform:translateY(-50%)}.ant-collapse-content{color:#000000d9;background-color:#fff;border-top:1px solid #d9d9d9}.ant-collapse-content>.ant-collapse-content-box{padding:8px 16px}.ant-collapse-content-hidden{display:none}.ant-collapse-item:last-child>.ant-collapse-content{border-radius:0 0 2px 2px}.ant-collapse-borderless{background-color:#fafafa;border:0}.ant-collapse-borderless>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse-borderless>.ant-collapse-item:last-child,.ant-collapse-borderless>.ant-collapse-item:last-child .ant-collapse-header{border-radius:0}.ant-collapse-borderless>.ant-collapse-item:last-child{border-bottom:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:4px}.ant-collapse-ghost{background-color:transparent;border:0}.ant-collapse-ghost>.ant-collapse-item{border-bottom:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:12px;padding-bottom:12px}.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{color:#00000040;cursor:not-allowed}.ant-collapse-rtl{direction:rtl}.ant-collapse-rtl .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:8px 40px 8px 8px}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{margin-right:0;margin-left:8px}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transform:rotate(180deg)}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{margin-right:auto;margin-left:0}.ant-collapse-rtl.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-right:8px;padding-left:0}nz-collapse{display:block}nz-collapse-panel{display:block}.ant-comment{position:relative;background-color:inherit}.ant-comment-inner{display:flex;padding:8px 0}.ant-comment-avatar{position:relative;flex-shrink:0;margin-right:8px;cursor:pointer}.ant-comment-avatar img{width:32px;height:32px;border-radius:50%}.ant-comment-content{position:relative;flex:1 1 auto;min-width:1px;font-size:12px;word-wrap:break-word}.ant-comment-content-author{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:0;font-size:12px}.ant-comment-content-author>a,.ant-comment-content-author>span{padding-right:4px;font-size:12px;line-height:18px}.ant-comment-content-author-name{color:#00000073;font-size:12px;transition:color .3s}.ant-comment-content-author-name>*{color:#00000073}.ant-comment-content-author-name>*:hover{color:#00000073}.ant-comment-content-author-time{color:#ccc;white-space:nowrap;cursor:auto}.ant-comment-content-detail p{margin-bottom:0;white-space:pre-wrap}.ant-comment-actions{margin-top:4px;margin-bottom:0;padding-left:0}.ant-comment-actions>li{display:inline-block;color:#00000073}.ant-comment-actions>li>span{margin-right:10px;color:#00000073;font-size:12px;cursor:pointer;transition:color .3s;-webkit-user-select:none;user-select:none}.ant-comment-actions>li>span:hover{color:#595959}.ant-comment-nested{margin-left:44px}.ant-comment-rtl{direction:rtl}.ant-comment-rtl .ant-comment-avatar{margin-right:0;margin-left:12px}.ant-comment-rtl .ant-comment-content-author>a,.ant-comment-rtl .ant-comment-content-author>span{padding-right:0;padding-left:8px}.ant-comment-rtl .ant-comment-actions{padding-right:0}.ant-comment-rtl .ant-comment-actions>li>span{margin-right:0;margin-left:10px}.ant-comment-rtl .ant-comment-nested{margin-right:44px;margin-left:0}nz-comment{display:block}nz-comment-content{display:block}.ant-picker-status-error.ant-picker,.ant-picker-status-error.ant-picker:not([disabled]):hover{background-color:#fff;border-color:#ff4d4f}.ant-picker-status-error.ant-picker-focused,.ant-picker-status-error.ant-picker:focus{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-picker-status-warning.ant-picker,.ant-picker-status-warning.ant-picker:not([disabled]):hover{background-color:#fff;border-color:#faad14}.ant-picker-status-warning.ant-picker-focused,.ant-picker-status-warning.ant-picker:focus{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-picker{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";padding:3px 7px;position:relative;display:inline-flex;align-items:center;background:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:border .3s,box-shadow .3s}.ant-picker:hover,.ant-picker-focused{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-picker:hover,.ant-input-rtl .ant-picker-focused{border-right-width:0;border-left-width:1px!important}.ant-picker-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-picker-focused{border-right-width:0;border-left-width:1px!important}.ant-picker.ant-picker-disabled{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-picker.ant-picker-disabled .ant-picker-suffix{color:#00000040}.ant-picker.ant-picker-borderless{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-picker-input{position:relative;display:inline-flex;align-items:center;width:100%}.ant-picker-input>input{position:relative;display:inline-block;width:100%;min-width:0;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;flex:auto;min-width:1px;height:auto;padding:0;background:transparent;border:0}.ant-picker-input>input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-picker-input>input:placeholder-shown{text-overflow:ellipsis}.ant-picker-input>input:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-picker-input>input:hover{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input:focus,.ant-picker-input>input-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-picker-input>input:focus,.ant-input-rtl .ant-picker-input>input-focused{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-picker-input>input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-picker-input>input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-picker-input>input-borderless,.ant-picker-input>input-borderless:hover,.ant-picker-input>input-borderless:focus,.ant-picker-input>input-borderless-focused,.ant-picker-input>input-borderless-disabled,.ant-picker-input>input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-picker-input>input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-picker-input>input-lg{padding:3.4px 11px;font-size:14px}.ant-picker-input>input-sm{padding:0 7px}.ant-picker-input>input-rtl{direction:rtl}.ant-picker-input>input:focus{box-shadow:none}.ant-picker-input>input[disabled]{background:transparent}.ant-picker-input:hover .ant-picker-clear{opacity:1}.ant-picker-input-placeholder>input{color:#bfbfbf}.ant-picker-large{padding:3.5px 11px}.ant-picker-large .ant-picker-input>input{font-size:14px}.ant-picker-small{padding:0 7px}.ant-picker-suffix{display:flex;flex:none;align-self:center;margin-left:2px;color:#00000040;line-height:1;pointer-events:none}.ant-picker-suffix>*{vertical-align:top}.ant-picker-suffix>*:not(:last-child){margin-right:8px}.ant-picker-clear{position:absolute;top:50%;right:0;color:#00000040;line-height:1;background:#fff;transform:translateY(-50%);cursor:pointer;opacity:0;transition:opacity .3s,color .3s}.ant-picker-clear>*{vertical-align:top}.ant-picker-clear:hover{color:#00000073}.ant-picker-separator{position:relative;display:inline-block;width:1em;height:14px;color:#00000040;font-size:14px;vertical-align:top;cursor:default}.ant-picker-focused .ant-picker-separator{color:#00000073}.ant-picker-disabled .ant-picker-range-separator .ant-picker-separator{cursor:not-allowed}.ant-picker-range{position:relative;display:inline-flex}.ant-picker-range .ant-picker-clear{right:7px}.ant-picker-range:hover .ant-picker-clear{opacity:1}.ant-picker-range .ant-picker-active-bar{bottom:-1px;height:2px;margin-left:7px;background:#1890ff;opacity:0;transition:all .3s ease-out;pointer-events:none}.ant-picker-range.ant-picker-focused .ant-picker-active-bar{opacity:1}.ant-picker-range-separator{align-items:center;padding:0 4px;line-height:1}.ant-picker-range.ant-picker-small .ant-picker-clear{right:7px}.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-left:7px}.ant-picker-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050}.ant-picker-dropdown-hidden{display:none}.ant-picker-dropdown-placement-bottomLeft .ant-picker-range-arrow{top:2.58561808px;display:block;transform:rotate(-135deg) translateY(1px)}.ant-picker-dropdown-placement-topLeft .ant-picker-range-arrow{bottom:2.58561808px;display:block;transform:rotate(45deg)}.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topRight,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomRight,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-picker-dropdown-range{padding:7.54247233px 0}.ant-picker-dropdown-range-hidden{display:none}.ant-picker-dropdown .ant-picker-panel>.ant-picker-time-panel{padding-top:2px}.ant-picker-ranges{margin-bottom:0;padding:2px 8px;overflow:hidden;line-height:28px;text-align:left;list-style:none}.ant-picker-ranges>li{display:inline-block}.ant-picker-ranges .ant-picker-preset>.ant-tag-blue{color:#1890ff;background:#e6f7ff;border-color:#91d5ff;cursor:pointer}.ant-picker-ranges .ant-picker-ok{float:right;margin-left:4px}.ant-picker-range-wrapper{display:flex}.ant-picker-range-arrow{position:absolute;z-index:1;display:none;width:11.3137085px;height:11.3137085px;margin-left:10.5px;background:linear-gradient(135deg,transparent 40%,#fff 40%);box-shadow:2px 2px 6px -2px #0000001a;transition:left .3s ease-out;border-radius:0 0 2px;pointer-events:none}.ant-picker-range-arrow:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:#fff;background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-picker-panel-container{overflow:hidden;vertical-align:top;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;transition:margin .3s}.ant-picker-panel-container .ant-picker-panels{display:inline-flex;flex-wrap:nowrap;direction:ltr}.ant-picker-panel-container .ant-picker-panel{vertical-align:top;background:transparent;border-width:0 0 1px 0;border-radius:0}.ant-picker-panel-container .ant-picker-panel .ant-picker-content,.ant-picker-panel-container .ant-picker-panel table{text-align:center}.ant-picker-panel-container .ant-picker-panel-focused{border-color:#f0f0f0}.ant-picker-panel{display:inline-flex;flex-direction:column;text-align:center;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none}.ant-picker-panel-focused{border-color:#1890ff}.ant-picker-decade-panel,.ant-picker-year-panel,.ant-picker-quarter-panel,.ant-picker-month-panel,.ant-picker-week-panel,.ant-picker-date-panel,.ant-picker-time-panel{display:flex;flex-direction:column;width:244px}.ant-picker-header{display:flex;padding:0 4px;color:#000000d9;border-bottom:1px solid #f0f0f0}.ant-picker-header>*{flex:none}.ant-picker-header button{padding:0;color:#00000040;line-height:32px;background:transparent;border:0;cursor:pointer;transition:color .3s}.ant-picker-header>button{min-width:1.6em;font-size:12px}.ant-picker-header>button:hover{color:#000000d9}.ant-picker-header-view{flex:auto;font-weight:500;line-height:32px}.ant-picker-header-view button{color:inherit;font-weight:inherit}.ant-picker-header-view button:not(:first-child){margin-left:4px}.ant-picker-header-view button:hover{color:#1890ff}.ant-picker-prev-icon,.ant-picker-next-icon,.ant-picker-super-prev-icon,.ant-picker-super-next-icon{position:relative;display:inline-block;width:7px;height:7px}.ant-picker-prev-icon:before,.ant-picker-next-icon:before,.ant-picker-super-prev-icon:before,.ant-picker-super-next-icon:before{position:absolute;top:0;left:0;display:inline-block;width:7px;height:7px;border:0 solid currentcolor;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-super-prev-icon:after,.ant-picker-super-next-icon:after{position:absolute;top:4px;left:4px;display:inline-block;width:7px;height:7px;border:0 solid currentcolor;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-prev-icon,.ant-picker-super-prev-icon{transform:rotate(-45deg)}.ant-picker-next-icon,.ant-picker-super-next-icon{transform:rotate(135deg)}.ant-picker-content{width:100%;table-layout:fixed;border-collapse:collapse}.ant-picker-content th,.ant-picker-content td{position:relative;min-width:24px;font-weight:400}.ant-picker-content th{height:30px;color:#000000d9;line-height:30px}.ant-picker-cell{padding:3px 0;color:#00000040;cursor:pointer}.ant-picker-cell-in-view{color:#000000d9}.ant-picker-cell:before{position:absolute;top:50%;right:0;left:0;z-index:1;height:22px;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background:#f5f5f5}.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{position:absolute;inset:0;z-index:1;border:1px solid #1890ff;border-radius:2px;content:""}.ant-picker-cell-in-view.ant-picker-cell-in-range{position:relative}.ant-picker-cell-in-view.ant-picker-cell-in-range:before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner{color:#fff;background:#1890ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):before,.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):before{background:#e6f7ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:before{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range):after{position:absolute;top:50%;z-index:0;height:24px;border-top:1px dashed #7ec1ff;border-bottom:1px dashed #7ec1ff;transform:translateY(-50%);transition:all .3s;content:""}.ant-picker-cell-range-hover-start:after,.ant-picker-cell-range-hover-end:after,.ant-picker-cell-range-hover:after{right:0;left:2px}.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start:before,.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end:before{background:#cbe6ff}.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after,.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{position:absolute;top:0;bottom:0;z-index:-1;background:#cbe6ff;transition:all .3s;content:""}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:50%}.ant-picker-cell-range-hover.ant-picker-cell-range-end:after{left:50%}tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after{left:6px;border-left:1px dashed #7ec1ff;border-top-left-radius:2px;border-bottom-left-radius:2px}tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after{right:6px;border-right:1px dashed #7ec1ff;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-picker-cell-disabled{color:#00000040;pointer-events:none}.ant-picker-cell-disabled .ant-picker-cell-inner{background:transparent}.ant-picker-cell-disabled:before{background:rgba(0,0,0,.04)}.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#00000040}.ant-picker-decade-panel .ant-picker-content,.ant-picker-year-panel .ant-picker-content,.ant-picker-quarter-panel .ant-picker-content,.ant-picker-month-panel .ant-picker-content{height:192px}.ant-picker-decade-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-inner{padding:0 4px}.ant-picker-quarter-panel .ant-picker-content{height:56px}.ant-picker-footer{width:min-content;min-width:100%;line-height:30px;text-align:center;border-bottom:1px solid transparent}.ant-picker-panel .ant-picker-footer{border-top:1px solid #f0f0f0}.ant-picker-footer-extra{padding:0 8px;line-height:30px;text-align:left}.ant-picker-footer-extra:not(:last-child){border-bottom:1px solid #f0f0f0}.ant-picker-now{text-align:left}.ant-picker-today-btn{color:#1890ff}.ant-picker-today-btn:hover{color:#40a9ff}.ant-picker-today-btn:active{color:#096dd9}.ant-picker-today-btn.ant-picker-today-btn-disabled{color:#00000040;cursor:not-allowed}.ant-picker-decade-panel .ant-picker-cell-inner{padding:0 2px}.ant-picker-decade-panel .ant-picker-cell:before{display:none}.ant-picker-year-panel .ant-picker-body,.ant-picker-quarter-panel .ant-picker-body,.ant-picker-month-panel .ant-picker-body{padding:0 4px}.ant-picker-year-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-inner{width:60px}.ant-picker-year-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-month-panel .ant-picker-cell-range-hover-start:after{left:9.33333333px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start:after{right:9.33333333px;border-right:1px dashed #7ec1ff;border-radius:0 2px 2px 0}.ant-picker-year-panel .ant-picker-cell-range-hover-end:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-month-panel .ant-picker-cell-range-hover-end:after{right:9.33333333px;border-right:1px dashed #7ec1ff;border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-end:after{left:9.33333333px;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-week-panel .ant-picker-body{padding:4px 8px}.ant-picker-week-panel .ant-picker-cell:hover .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell-selected .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell .ant-picker-cell-inner{background:transparent!important}.ant-picker-week-panel-row td{transition:background .3s}.ant-picker-week-panel-row:hover td{background:#f5f5f5}.ant-picker-week-panel-row-selected td,.ant-picker-week-panel-row-selected:hover td{background:#1890ff}.ant-picker-week-panel-row-selected td.ant-picker-cell-week,.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-week{color:#ffffff80}.ant-picker-week-panel-row-selected td.ant-picker-cell-today .ant-picker-cell-inner:before,.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#fff}.ant-picker-week-panel-row-selected td .ant-picker-cell-inner,.ant-picker-week-panel-row-selected:hover td .ant-picker-cell-inner{color:#fff}.ant-picker-date-panel .ant-picker-body{padding:4px 8px}.ant-picker-date-panel .ant-picker-content{width:224px}.ant-picker-date-panel .ant-picker-content th{width:32px}.ant-picker-datetime-panel{display:flex}.ant-picker-datetime-panel .ant-picker-time-panel{border-left:1px solid #f0f0f0}.ant-picker-datetime-panel .ant-picker-date-panel,.ant-picker-datetime-panel .ant-picker-time-panel{transition:opacity .3s}.ant-picker-datetime-panel-active .ant-picker-date-panel,.ant-picker-datetime-panel-active .ant-picker-time-panel{opacity:.3}.ant-picker-datetime-panel-active .ant-picker-date-panel-active,.ant-picker-datetime-panel-active .ant-picker-time-panel-active{opacity:1}.ant-picker-time-panel{width:auto;min-width:auto}.ant-picker-time-panel .ant-picker-content{display:flex;flex:auto;height:224px}.ant-picker-time-panel-column{flex:1 0 auto;width:56px;margin:0;padding:0;overflow-y:hidden;text-align:left;list-style:none;transition:background .3s}.ant-picker-time-panel-column:after{display:block;height:200px;content:""}.ant-picker-datetime-panel .ant-picker-time-panel-column:after{height:202px}.ant-picker-time-panel-column:not(:first-child){border-left:1px solid #f0f0f0}.ant-picker-time-panel-column-active{background:rgba(230,247,255,.2)}.ant-picker-time-panel-column:hover{overflow-y:auto}.ant-picker-time-panel-column>li{margin:0;padding:0}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner{display:block;width:100%;height:24px;margin:0;padding:0 0 0 14px;color:#000000d9;line-height:24px;border-radius:0;cursor:pointer;transition:background .3s}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover{background:#f5f5f5}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner{background:#e6f7ff}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-disabled .ant-picker-time-panel-cell-inner{color:#00000040;background:transparent;cursor:not-allowed}_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,:root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,:root .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell{padding:21px 0}.ant-picker-rtl{direction:rtl}.ant-picker-rtl .ant-picker-suffix{margin-right:2px;margin-left:0}.ant-picker-rtl .ant-picker-clear{right:auto;left:0}.ant-picker-rtl .ant-picker-separator{transform:rotate(180deg)}.ant-picker-panel-rtl .ant-picker-header-view button:not(:first-child){margin-right:4px;margin-left:0}.ant-picker-rtl.ant-picker-range .ant-picker-clear{right:auto;left:7px}.ant-picker-rtl.ant-picker-range .ant-picker-active-bar{margin-right:7px;margin-left:0}.ant-picker-rtl.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-right:7px}.ant-picker-dropdown-rtl .ant-picker-ranges{text-align:right}.ant-picker-dropdown-rtl .ant-picker-ranges .ant-picker-ok{float:left;margin-right:4px;margin-left:0}.ant-picker-panel-rtl{direction:rtl}.ant-picker-panel-rtl .ant-picker-prev-icon,.ant-picker-panel-rtl .ant-picker-super-prev-icon{transform:rotate(135deg)}.ant-picker-panel-rtl .ant-picker-next-icon,.ant-picker-panel-rtl .ant-picker-super-next-icon{transform:rotate(-45deg)}.ant-picker-cell .ant-picker-cell-inner{position:relative;z-index:2;display:inline-block;min-width:22px;height:22px;line-height:22px;border-radius:2px;transition:background .3s,border .3s}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:before{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-end:before{right:50%;left:50%}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-end:after{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:0 2px 2px 0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:2px 0 0 2px}.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):first-child:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after{right:6px;left:0;border-right:1px dashed #7ec1ff;border-left:none;border-radius:0 2px 2px 0}.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after{right:0;left:6px;border-right:none;border-left:1px dashed #7ec1ff;border-radius:2px 0 0 2px}.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-end.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-start.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-start:last-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-end:first-child:after{right:6px;left:6px;border-right:1px dashed #7ec1ff;border-left:1px dashed #7ec1ff;border-radius:2px}.ant-picker-dropdown-rtl .ant-picker-footer-extra{direction:rtl;text-align:right}.ant-picker-panel-rtl .ant-picker-time-panel{direction:ltr}.ant-picker-inline{border:none;padding:0}.ant-picker-inline .ant-picker-range-arrow{display:none!important}.ant-picker-inline .ant-picker-dropdown{z-index:auto}.ant-picker-dropdown{top:unset;left:unset}.ant-picker-panel-container.ant-picker-week-number .ant-picker-date-panel .ant-picker-content{width:100%}.ant-picker-panel-container.ant-picker-week-number .ant-picker-date-panel .ant-picker-content th{width:inherit}.ant-picker-range-arrow{margin-right:10.5px}.ant-descriptions-header{display:flex;align-items:center;margin-bottom:8px}.ant-descriptions-title{flex:auto;overflow:hidden;color:#000000d9;font-weight:700;font-size:14px;line-height:1.66667;white-space:nowrap;text-overflow:ellipsis}.ant-descriptions-extra{margin-left:auto;color:#000000d9;font-size:12px}.ant-descriptions-view{width:100%;border-radius:2px}.ant-descriptions-view table{width:100%;table-layout:fixed}.ant-descriptions-row>th,.ant-descriptions-row>td{padding-bottom:4px}.ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-item-label{color:#000000d9;font-weight:400;font-size:12px;line-height:1.66667;text-align:start}.ant-descriptions-item-label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-descriptions-item-label.ant-descriptions-item-no-colon:after{content:" "}.ant-descriptions-item-no-label:after{margin:0;content:""}.ant-descriptions-item-content{display:table-cell;flex:1;color:#000000d9;font-size:12px;line-height:1.66667;word-break:break-word;overflow-wrap:break-word}.ant-descriptions-item{padding-bottom:0;vertical-align:top}.ant-descriptions-item-container{display:flex}.ant-descriptions-item-container .ant-descriptions-item-label,.ant-descriptions-item-container .ant-descriptions-item-content{display:inline-flex;align-items:baseline}.ant-descriptions-middle .ant-descriptions-row>th,.ant-descriptions-middle .ant-descriptions-row>td{padding-bottom:8px}.ant-descriptions-small .ant-descriptions-row>th,.ant-descriptions-small .ant-descriptions-row>td{padding-bottom:4px}.ant-descriptions-bordered .ant-descriptions-view{border:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-view>table{table-layout:auto;border-collapse:collapse}.ant-descriptions-bordered .ant-descriptions-item-label,.ant-descriptions-bordered .ant-descriptions-item-content{padding:12px 16px;border-right:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-item-label:last-child,.ant-descriptions-bordered .ant-descriptions-item-content:last-child{border-right:none}.ant-descriptions-bordered .ant-descriptions-item-label{background-color:#fafafa}.ant-descriptions-bordered .ant-descriptions-item-label:after{display:none}.ant-descriptions-bordered .ant-descriptions-row{border-bottom:1px solid #f0f0f0}.ant-descriptions-bordered .ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label,.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content{padding:8px 16px}.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label,.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content{padding:4px 8px}.ant-descriptions-rtl{direction:rtl}.ant-descriptions-rtl .ant-descriptions-item-label:after{margin:0 2px 0 8px}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content{border-right:none;border-left:1px solid #f0f0f0}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label:last-child,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content:last-child{border-left:none}nz-descriptions{display:block}.ant-divider{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";border-top:1px solid rgba(0,0,0,.06)}.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;height:.9em;margin:0 8px;vertical-align:middle;border-top:0;border-left:1px solid rgba(0,0,0,.06)}.ant-divider-horizontal{display:flex;clear:both;width:100%;min-width:100%;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text{display:flex;margin:16px 0;color:#000000d9;font-weight:500;font-size:14px;white-space:nowrap;text-align:center;border-top:0;border-top-color:#0000000f}.ant-divider-horizontal.ant-divider-with-text:before,.ant-divider-horizontal.ant-divider-with-text:after{position:relative;top:50%;width:50%;border-top:1px solid transparent;border-top-color:inherit;border-bottom:0;transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 1em}.ant-divider-dashed{background:none;border-color:#0000000f;border-style:dashed;border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before,.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.ant-divider-plain.ant-divider-with-text{color:#000000d9;font-weight:400;font-size:12px}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left:before{width:0}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left:after{width:100%}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text{padding-left:0}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right:before{width:100%}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right:after{width:0}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text{padding-right:0}.ant-divider-rtl{direction:rtl}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:before{width:95%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:after{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:before{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:after{width:95%}.ant-drawer{position:fixed;z-index:1000;width:0%;height:100%;transition:width 0s ease .3s,height 0s ease .3s}.ant-drawer-content-wrapper{position:absolute;width:100%;height:100%;transition:transform .3s cubic-bezier(.23,1,.32,1),box-shadow .3s cubic-bezier(.23,1,.32,1)}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0%;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;transition:transform .3s cubic-bezier(.23,1,.32,1)}.ant-drawer-left,.ant-drawer-left .ant-drawer-content-wrapper{left:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:6px 0 16px -8px #00000014,9px 0 28px #0000000d,12px 0 48px 16px #00000008}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:-6px 0 16px -8px #00000014,-9px 0 28px #0000000d,-12px 0 48px 16px #00000008}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;transform:translate(1px)}.ant-drawer-top,.ant-drawer-bottom{left:0;width:100%;height:0%}.ant-drawer-top .ant-drawer-content-wrapper,.ant-drawer-bottom .ant-drawer-content-wrapper{width:100%}.ant-drawer-top.ant-drawer-open,.ant-drawer-bottom.ant-drawer-open{height:100%;transition:transform .3s cubic-bezier(.23,1,.32,1)}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 6px 16px -8px #00000014,0 9px 28px #0000000d,0 12px 48px 16px #00000008}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 -6px 16px -8px #00000014,0 -9px 28px #0000000d,0 -12px 48px 16px #00000008}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;transition:none;animation:antdDrawerFadeIn .3s cubic-bezier(.23,1,.32,1);pointer-events:auto}.ant-drawer-title{flex:1;margin:0;color:#000000d9;font-weight:500;font-size:14px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{display:inline-block;margin-right:12px;color:#00000073;font-weight:700;font-size:14px;font-style:normal;line-height:1;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:#000000bf;text-decoration:none}.ant-drawer-header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:11px 16px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-drawer-header-title{display:flex;flex:1;align-items:center;justify-content:space-between}.ant-drawer-header-close-only{padding-bottom:0;border:none}.ant-drawer-wrapper-body{display:flex;flex-flow:column nowrap;width:100%;height:100%}.ant-drawer-body{flex-grow:1;padding:16px;overflow:auto;font-size:12px;line-height:1.66667;word-wrap:break-word}.ant-drawer-footer{flex-shrink:0;padding:8px;border-top:1px solid #f0f0f0}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:#00000073;opacity:0;transition:opacity .3s linear,height 0s ease .3s;pointer-events:none}.ant-drawer .ant-picker-clear{background:#fff}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}.ant-drawer-rtl{direction:rtl}.ant-drawer-rtl .ant-drawer-close{margin-right:0;margin-left:12px}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger{color:#ff4d4f}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover{color:#fff;background-color:#ff4d4f}.ant-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;inset:-4px 0 -4px -7px;z-index:-9999;opacity:.0001;content:" "}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{font-size:10px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden,.ant-dropdown-menu-submenu-hidden{display:none}.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-top,.ant-dropdown-show-arrow.ant-dropdown-placement-topRight{padding-bottom:15.3137085px}.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-bottom,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight{padding-top:15.3137085px}.ant-dropdown-arrow{position:absolute;z-index:1;display:block;width:11.3137085px;height:11.3137085px;background:linear-gradient(135deg,transparent 40%,#fff 40%);border-radius:0 0 2px;pointer-events:none}.ant-dropdown-arrow:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:#fff;background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-dropdown-placement-top>.ant-dropdown-arrow,.ant-dropdown-placement-topLeft>.ant-dropdown-arrow,.ant-dropdown-placement-topRight>.ant-dropdown-arrow{bottom:10px;box-shadow:3px 3px 7px -3px #0000001a;transform:rotate(45deg)}.ant-dropdown-placement-top>.ant-dropdown-arrow{left:50%;transform:translate(-50%) rotate(45deg)}.ant-dropdown-placement-topLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-topRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-placement-bottom>.ant-dropdown-arrow,.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow,.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:9.41421356px;box-shadow:2px 2px 5px -2px #0000001a;transform:rotate(-135deg) translateY(-.5px)}.ant-dropdown-placement-bottom>.ant-dropdown-arrow{left:50%;transform:translate(-50%) rotate(-135deg) translateY(-.5px)}.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-dropdown-menu-item-group-title{padding:5px 8px;color:#00000073;transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;box-shadow:none;transform-origin:0 0}.ant-dropdown-menu-submenu-popup ul,.ant-dropdown-menu-submenu-popup li{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em}.ant-dropdown-menu-item{position:relative;display:flex;align-items:center}.ant-dropdown-menu-item-icon{min-width:12px;margin-right:8px;font-size:12px}.ant-dropdown-menu-title-content{flex:auto}.ant-dropdown-menu-title-content>a{color:inherit;transition:all .3s}.ant-dropdown-menu-title-content>a:hover{color:inherit}.ant-dropdown-menu-title-content>a:after{position:absolute;inset:0;content:""}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 8px;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;cursor:pointer;transition:all .3s}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-submenu-title-selected{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover,.ant-dropdown-menu-item.ant-dropdown-menu-item-active,.ant-dropdown-menu-item.ant-dropdown-menu-submenu-title-active,.ant-dropdown-menu-submenu-title.ant-dropdown-menu-item-active,.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-active{background-color:#f5f5f5}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:#00000040;cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-disabled a,.ant-dropdown-menu-submenu-title-disabled a{pointer-events:none}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#f0f0f0}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{position:absolute;right:4px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-right:0!important;color:#00000073;font-size:10px;font-style:normal}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:20px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#1890ff}.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topRight,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-dropdown-trigger>.anticon.anticon-down,.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-button>.anticon.anticon-down{font-size:10px;vertical-align:baseline}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn-loading,.ant-dropdown-button.ant-btn-group>.ant-btn-loading+.ant-btn{cursor:default;pointer-events:none}.ant-dropdown-button.ant-btn-group>.ant-btn-loading+.ant-btn:before{display:block}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only){padding-right:4px;padding-left:4px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a{color:#ffffffa6}.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a .ant-dropdown-menu-submenu-arrow:after{color:#ffffffa6}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a:hover{color:#fff;background:transparent}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#1890ff}.ant-dropdown-rtl{direction:rtl}.ant-dropdown-rtl.ant-dropdown:before{right:-7px;left:0}.ant-dropdown-menu.ant-dropdown-menu-rtl,.ant-dropdown-rtl .ant-dropdown-menu-item-group-title,.ant-dropdown-menu-submenu-rtl .ant-dropdown-menu-item-group-title{direction:rtl;text-align:right}.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl{transform-origin:100% 0}.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li,.ant-dropdown-rtl .ant-dropdown-menu-item,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{text-align:right}.ant-dropdown-rtl .ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>span>.anticon:first-child{margin-right:0;margin-left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{right:auto;left:4px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-left:0!important;transform:scaleX(-1)}.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{padding-right:8px;padding-left:20px}.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{right:100%;left:0;margin-right:4px;margin-left:0}.ant-dropdown-menu>ul{list-style:inherit;margin:0;padding:0}.ant-dropdown{top:0;left:0;position:relative;width:100%;margin-top:6px;margin-bottom:6px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{transform:rotate(180deg)}.ant-empty{margin:0 8px;font-size:12px;line-height:1.66667;text-align:center}.ant-empty-image{height:100px;margin-bottom:8px}.ant-empty-image img{height:100%}.ant-empty-image svg{height:100%;margin:auto}.ant-empty-footer{margin-top:16px}.ant-empty-normal{margin:32px 0;color:#00000040}.ant-empty-normal .ant-empty-image{height:40px}.ant-empty-small{margin:8px 0;color:#00000040}.ant-empty-small .ant-empty-image{height:35px}.ant-empty-img-default-ellipse{fill:#f5f5f5;fill-opacity:.8}.ant-empty-img-default-path-1{fill:#aeb8c2}.ant-empty-img-default-path-2{fill:url(#linearGradient-1)}.ant-empty-img-default-path-3{fill:#f5f5f7}.ant-empty-img-default-path-4,.ant-empty-img-default-path-5{fill:#dce0e6}.ant-empty-img-default-g{fill:#fff}.ant-empty-img-simple-ellipse{fill:#f5f5f5}.ant-empty-img-simple-g{stroke:#d9d9d9}.ant-empty-img-simple-path{fill:#fafafa}.ant-empty-rtl{direction:rtl}nz-empty{display:block}.ant-row{display:flex;flex-flow:row wrap}.ant-row:before,.ant-row:after{display:flex}.ant-row-no-wrap{flex-wrap:nowrap}.ant-row-start{justify-content:flex-start}.ant-row-center{justify-content:center}.ant-row-end{justify-content:flex-end}.ant-row-space-between{justify-content:space-between}.ant-row-space-around{justify-content:space-around}.ant-row-space-evenly{justify-content:space-evenly}.ant-row-top{align-items:flex-start}.ant-row-middle{align-items:center}.ant-row-bottom{align-items:flex-end}.ant-col{position:relative;max-width:100%;min-height:1px}.ant-col-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{order:24}.ant-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{order:23}.ant-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{order:22}.ant-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{order:21}.ant-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{order:20}.ant-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{order:19}.ant-col-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{order:18}.ant-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{order:17}.ant-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{order:16}.ant-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{order:15}.ant-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{order:14}.ant-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{order:13}.ant-col-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{order:12}.ant-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{order:11}.ant-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{order:10}.ant-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{order:9}.ant-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{order:8}.ant-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{order:7}.ant-col-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{order:6}.ant-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{order:5}.ant-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{order:4}.ant-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{order:3}.ant-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{order:2}.ant-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{order:0}.ant-col-offset-0.ant-col-rtl{margin-right:0}.ant-col-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}.ant-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{order:24}.ant-col-xs-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{order:23}.ant-col-xs-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{order:22}.ant-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{order:21}.ant-col-xs-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{order:20}.ant-col-xs-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{order:19}.ant-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{order:18}.ant-col-xs-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{order:17}.ant-col-xs-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{order:16}.ant-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{order:15}.ant-col-xs-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{order:14}.ant-col-xs-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{order:13}.ant-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{order:12}.ant-col-xs-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{order:11}.ant-col-xs-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{order:10}.ant-col-xs-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{order:9}.ant-col-xs-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{order:8}.ant-col-xs-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{order:7}.ant-col-xs-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{order:6}.ant-col-xs-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{order:5}.ant-col-xs-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{order:4}.ant-col-xs-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{order:3}.ant-col-xs-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{order:2}.ant-col-xs-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xs-push-0.ant-col-rtl{right:auto}.ant-col-xs-pull-0.ant-col-rtl{left:auto}.ant-col-xs-offset-0.ant-col-rtl{margin-right:0}.ant-col-xs-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xs-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xs-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xs-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xs-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xs-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xs-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xs-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xs-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xs-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xs-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xs-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xs-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xs-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xs-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xs-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xs-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xs-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xs-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xs-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xs-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xs-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xs-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xs-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xs-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xs-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xs-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xs-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xs-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xs-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xs-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xs-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xs-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xs-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xs-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xs-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xs-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xs-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xs-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xs-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xs-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xs-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xs-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xs-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xs-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xs-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xs-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xs-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xs-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xs-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xs-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xs-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xs-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xs-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xs-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xs-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xs-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xs-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xs-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xs-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xs-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xs-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xs-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xs-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xs-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xs-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xs-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xs-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xs-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xs-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xs-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xs-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}@media (min-width: 576px){.ant-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{order:24}.ant-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{order:23}.ant-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{order:22}.ant-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{order:21}.ant-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{order:20}.ant-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{order:19}.ant-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{order:18}.ant-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{order:17}.ant-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{order:16}.ant-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{order:15}.ant-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{order:14}.ant-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{order:13}.ant-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{order:12}.ant-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{order:11}.ant-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{order:10}.ant-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{order:9}.ant-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{order:8}.ant-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{order:7}.ant-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{order:6}.ant-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{order:5}.ant-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{order:4}.ant-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{order:3}.ant-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{order:2}.ant-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-sm-push-0.ant-col-rtl{right:auto}.ant-col-sm-pull-0.ant-col-rtl{left:auto}.ant-col-sm-offset-0.ant-col-rtl{margin-right:0}.ant-col-sm-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-sm-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-sm-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-sm-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-sm-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-sm-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-sm-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-sm-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-sm-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-sm-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-sm-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-sm-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-sm-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-sm-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-sm-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-sm-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-sm-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-sm-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-sm-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-sm-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-sm-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-sm-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-sm-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-sm-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-sm-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-sm-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-sm-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-sm-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-sm-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-sm-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-sm-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-sm-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-sm-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-sm-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-sm-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-sm-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-sm-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-sm-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-sm-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-sm-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-sm-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-sm-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-sm-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-sm-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-sm-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-sm-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-sm-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-sm-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-sm-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-sm-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-sm-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-sm-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-sm-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-sm-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-sm-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-sm-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-sm-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-sm-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-sm-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-sm-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-sm-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-sm-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-sm-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-sm-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-sm-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-sm-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-sm-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-sm-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-sm-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-sm-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-sm-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-sm-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 768px){.ant-col-md-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{order:24}.ant-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{order:23}.ant-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{order:22}.ant-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{order:21}.ant-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{order:20}.ant-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{order:19}.ant-col-md-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{order:18}.ant-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{order:17}.ant-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{order:16}.ant-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{order:15}.ant-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{order:14}.ant-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{order:13}.ant-col-md-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{order:12}.ant-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{order:11}.ant-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{order:10}.ant-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{order:9}.ant-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{order:8}.ant-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{order:7}.ant-col-md-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{order:6}.ant-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{order:5}.ant-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{order:4}.ant-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{order:3}.ant-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{order:2}.ant-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-md-push-0.ant-col-rtl{right:auto}.ant-col-md-pull-0.ant-col-rtl{left:auto}.ant-col-md-offset-0.ant-col-rtl{margin-right:0}.ant-col-md-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-md-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-md-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-md-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-md-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-md-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-md-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-md-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-md-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-md-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-md-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-md-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-md-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-md-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-md-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-md-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-md-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-md-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-md-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-md-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-md-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-md-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-md-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-md-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-md-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-md-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-md-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-md-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-md-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-md-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-md-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-md-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-md-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-md-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-md-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-md-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-md-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-md-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-md-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-md-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-md-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-md-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-md-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-md-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-md-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-md-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-md-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-md-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-md-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-md-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-md-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-md-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-md-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-md-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-md-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-md-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-md-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-md-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-md-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-md-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-md-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-md-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-md-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-md-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-md-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-md-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-md-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-md-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-md-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-md-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-md-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-md-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 992px){.ant-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{order:24}.ant-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{order:23}.ant-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{order:22}.ant-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{order:21}.ant-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{order:20}.ant-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{order:19}.ant-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{order:18}.ant-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{order:17}.ant-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{order:16}.ant-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{order:15}.ant-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{order:14}.ant-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{order:13}.ant-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{order:12}.ant-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{order:11}.ant-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{order:10}.ant-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{order:9}.ant-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{order:8}.ant-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{order:7}.ant-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{order:6}.ant-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{order:5}.ant-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{order:4}.ant-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{order:3}.ant-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{order:2}.ant-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-lg-push-0.ant-col-rtl{right:auto}.ant-col-lg-pull-0.ant-col-rtl{left:auto}.ant-col-lg-offset-0.ant-col-rtl{margin-right:0}.ant-col-lg-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-lg-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-lg-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-lg-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-lg-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-lg-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-lg-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-lg-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-lg-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-lg-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-lg-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-lg-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-lg-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-lg-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-lg-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-lg-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-lg-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-lg-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-lg-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-lg-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-lg-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-lg-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-lg-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-lg-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-lg-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-lg-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-lg-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-lg-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-lg-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-lg-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-lg-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-lg-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-lg-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-lg-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-lg-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-lg-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-lg-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-lg-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-lg-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-lg-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-lg-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-lg-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-lg-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-lg-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-lg-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-lg-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-lg-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-lg-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-lg-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-lg-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-lg-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-lg-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-lg-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-lg-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-lg-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-lg-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-lg-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-lg-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-lg-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-lg-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-lg-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-lg-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-lg-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-lg-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-lg-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-lg-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-lg-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-lg-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-lg-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-lg-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-lg-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-lg-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 1200px){.ant-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{order:24}.ant-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{order:23}.ant-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{order:22}.ant-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{order:21}.ant-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{order:20}.ant-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{order:19}.ant-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{order:18}.ant-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{order:17}.ant-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{order:16}.ant-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{order:15}.ant-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{order:14}.ant-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{order:13}.ant-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{order:12}.ant-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{order:11}.ant-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{order:10}.ant-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{order:9}.ant-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{order:8}.ant-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{order:7}.ant-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{order:6}.ant-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{order:5}.ant-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{order:4}.ant-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{order:3}.ant-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{order:2}.ant-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xl-push-0.ant-col-rtl{right:auto}.ant-col-xl-pull-0.ant-col-rtl{left:auto}.ant-col-xl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width: 1600px){.ant-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{order:24}.ant-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{order:23}.ant-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{order:22}.ant-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{order:21}.ant-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{order:20}.ant-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{order:19}.ant-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{order:18}.ant-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{order:17}.ant-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{order:16}.ant-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{order:15}.ant-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{order:14}.ant-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{order:13}.ant-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{order:12}.ant-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{order:11}.ant-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{order:10}.ant-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{order:9}.ant-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{order:8}.ant-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{order:7}.ant-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{order:6}.ant-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{order:5}.ant-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{order:4}.ant-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{order:3}.ant-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{order:2}.ant-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-push-0.ant-col-rtl{right:auto}.ant-col-xxl-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xxl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xxl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xxl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xxl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xxl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xxl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xxl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xxl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xxl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xxl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xxl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xxl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xxl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xxl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xxl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xxl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xxl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xxl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xxl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xxl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xxl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xxl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xxl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xxl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xxl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xxl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xxl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xxl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xxl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xxl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xxl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xxl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xxl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xxl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xxl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xxl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xxl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xxl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xxl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xxl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xxl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xxl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xxl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xxl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xxl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xxl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xxl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xxl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xxl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xxl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xxl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xxl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xxl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xxl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xxl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xxl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xxl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xxl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xxl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xxl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xxl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xxl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xxl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xxl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xxl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xxl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xxl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xxl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xxl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xxl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xxl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xxl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}.ant-row-rtl{direction:rtl}.ant-input-affix-wrapper{position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;display:inline-flex}.ant-input-affix-wrapper::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-input-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper:focus,.ant-input-affix-wrapper-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-affix-wrapper:focus,.ant-input-rtl .ant-input-affix-wrapper-focused{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-affix-wrapper[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-affix-wrapper-lg{padding:3.4px 11px;font-size:14px}.ant-input-affix-wrapper-sm{padding:0 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:#40a9ff;border-right-width:1px;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:transparent}.ant-input-affix-wrapper>input.ant-input{padding:0;border:none;outline:none}.ant-input-affix-wrapper>input.ant-input:focus{box-shadow:none!important}.ant-input-affix-wrapper:before{width:0;visibility:hidden;content:"\a0"}.ant-input-prefix,.ant-input-suffix{display:flex;flex:none;align-items:center}.ant-input-prefix>*:not(:last-child),.ant-input-suffix>*:not(:last-child){margin-right:8px}.ant-input-show-count-suffix{color:#00000073}.ant-input-show-count-has-suffix{margin-right:2px}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.anticon.ant-input-clear-icon,.ant-input-clear-icon{margin:0;color:#00000040;font-size:12px;vertical-align:-1px;cursor:pointer;transition:color .3s}.anticon.ant-input-clear-icon:hover,.ant-input-clear-icon:hover{color:#00000073}.anticon.ant-input-clear-icon:active,.ant-input-clear-icon:active{color:#000000d9}.anticon.ant-input-clear-icon-hidden,.ant-input-clear-icon-hidden{visibility:hidden}.anticon.ant-input-clear-icon-has-suffix,.ant-input-clear-icon-has-suffix{margin:0 4px}.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0!important;border:0!important}.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;top:8px;right:8px;z-index:1}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#ff4d4f}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-status-error .ant-input-prefix{color:#ff4d4f}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:#fff;border-color:#faad14}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-status-warning .ant-input-prefix{color:#faad14}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#ff4d4f}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-error .ant-input-prefix{color:#ff4d4f}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:#fff;border-color:#faad14}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-warning .ant-input-prefix{color:#faad14}.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input{padding-right:24px}.ant-input-group-wrapper-status-error .ant-input-group-addon{color:#ff4d4f;border-color:#ff4d4f}.ant-input-group-wrapper-status-warning .ant-input-group-addon{color:#faad14;border-color:#faad14}.ant-input{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-input:hover{border-right-width:0;border-left-width:1px!important}.ant-input:focus,.ant-input-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input:focus,.ant-input-rtl .ant-input-focused{border-right-width:0;border-left-width:1px!important}.ant-input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-borderless,.ant-input-borderless:hover,.ant-input-borderless:focus,.ant-input-borderless-focused,.ant-input-borderless-disabled,.ant-input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-lg{padding:3.4px 11px;font-size:14px}.ant-input-sm{padding:0 7px}.ant-input-rtl{direction:rtl}.ant-input-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus{z-index:1;border-right-width:1px}.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{position:relative;padding:0 7px;color:#000000d9;font-weight:400;font-size:12px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input-group-addon .ant-select{margin:-4px -7px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-open .ant-select-selector,.ant-input-group-addon .ant-select-focused .ant-select-selector{color:#1890ff}.ant-input-group-addon .ant-cascader-picker{margin:-9px -8px;background-color:transparent}.ant-input-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-group>.ant-input:first-child,.ant-input-group-addon:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector,.ant-input-group-addon:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group>.ant-input:last-child,.ant-input-group-addon:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector,.ant-input-group-addon:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:3.4px 11px;font-size:14px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:0 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:32px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:22px}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact:before{display:table;content:""}.ant-input-group.ant-input-group-compact:after{display:table;clear:both;content:""}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper{display:inline-flex}.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>*:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select-focused{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow{z-index:1}.ant-input-group.ant-input-group-compact>*:first-child,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group.ant-input-group-compact>*:last-child,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-group>.ant-input-rtl:first-child,.ant-input-group-rtl .ant-input-group-addon:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-right:1px solid #d9d9d9;border-left:0}.ant-input-group-rtl .ant-input-group-addon:last-child{border-right:0;border-left:1px solid #d9d9d9}.ant-input-group-rtl.ant-input-group>.ant-input:last-child,.ant-input-group-rtl.ant-input-group-addon:last-child{border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child){border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>*:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>*:first-child,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input{border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>*:last-child,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-password-icon.anticon{color:#00000073;cursor:pointer;transition:all .3s}.ant-input-password-icon.anticon:hover{color:#000000d9}.ant-input[type=color]{height:28px}.ant-input[type=color].ant-input-lg{height:32px}.ant-input[type=color].ant-input-sm{height:22px;padding-top:3px;padding-bottom:3px}.ant-input-textarea-show-count>.ant-input{height:100%}.ant-input-textarea-show-count:after{float:right;color:#00000073;white-space:nowrap;content:attr(data-count);pointer-events:none}.ant-input-textarea-show-count.ant-input-textarea-in-form-item:after{margin-bottom:-22px}.ant-input-textarea-suffix{position:absolute;top:0;right:7px;bottom:0;z-index:1;display:inline-flex;align-items:center;margin:auto}.ant-input-search .ant-input:hover,.ant-input-search .ant-input:focus{border-color:#40a9ff}.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#40a9ff}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.66647}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{left:-1px;padding:0;border:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{padding-top:0;padding-bottom:0;border-radius:0 2px 2px 0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:#00000073}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading:before{inset:0}.ant-input-search-button{height:28px}.ant-input-search-button:hover,.ant-input-search-button:focus{z-index:1}.ant-input-search-large .ant-input-search-button{height:32px}.ant-input-search-small .ant-input-search-button{height:22px}.ant-input-group-wrapper-rtl,.ant-input-group-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:none}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count:after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix{margin-right:0;margin-left:4px}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{right:auto;left:8px}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-right-color:#40a9ff;border-left-color:#d9d9d9}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused{border-right-color:#40a9ff}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon{right:-1px;left:auto}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon .ant-input-search-button{border-radius:2px 0 0 2px}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ant-input{height:28px}.ant-input-lg{height:32px}.ant-input-sm{height:22px}.ant-input-affix-wrapper>input.ant-input{height:auto}}textarea.nz-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only{width:28px;height:28px}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm{width:22px;height:22px}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg{width:32px;height:32px}.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-suffix{margin-left:0}nz-form-item-feedback-icon.ant-input-suffix{display:flex;flex:none;align-items:center;pointer-events:none}nz-form-item-feedback-icon.ant-input-suffix{position:absolute;top:0;right:0;z-index:1;height:100%;margin-right:8px;margin-left:4px}.ant-input-status-error.ant-input-has-feedback,.ant-input-status-warning.ant-input-has-feedback,.ant-input-status-validating.ant-input-has-feedback,.ant-input-status-success.ant-input-has-feedback{padding-right:16px}.ant-input-textarea-show-count{display:block;position:relative}.ant-input-number-affix-wrapper{display:inline-block;width:100%;min-width:0;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;position:relative;display:inline-flex;width:90px;padding:0;padding-inline-start:7px}.ant-input-number-affix-wrapper::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-number-affix-wrapper:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-input-number-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-number-affix-wrapper:focus,.ant-input-number-affix-wrapper-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-number-affix-wrapper:focus,.ant-input-rtl .ant-input-number-affix-wrapper-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number-affix-wrapper-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-affix-wrapper[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-affix-wrapper-borderless,.ant-input-number-affix-wrapper-borderless:hover,.ant-input-number-affix-wrapper-borderless:focus,.ant-input-number-affix-wrapper-borderless-focused,.ant-input-number-affix-wrapper-borderless-disabled,.ant-input-number-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-number-affix-wrapper{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-number-affix-wrapper-lg{padding:3.4px 11px;font-size:14px}.ant-input-number-affix-wrapper-sm{padding:0 7px}.ant-input-number-affix-wrapper-rtl{direction:rtl}.ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover{border-color:#40a9ff;border-right-width:1px;z-index:1}.ant-input-rtl .ant-input-number-affix-wrapper:not(.ant-input-number-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-number-affix-wrapper-focused,.ant-input-number-affix-wrapper:focus{z-index:1}.ant-input-number-affix-wrapper-disabled .ant-input-number[disabled]{background:transparent}.ant-input-number-affix-wrapper>div.ant-input-number{width:100%;border:none;outline:none}.ant-input-number-affix-wrapper>div.ant-input-number.ant-input-number-focused{box-shadow:none!important}.ant-input-number-affix-wrapper input.ant-input-number-input{padding:0}.ant-input-number-affix-wrapper:before{width:0;visibility:hidden;content:"\a0"}.ant-input-number-affix-wrapper .ant-input-number-handler-wrap{z-index:2}.ant-input-number-prefix,.ant-input-number-suffix{display:flex;flex:none;align-items:center;pointer-events:none}.ant-input-number-prefix{margin-inline-end:4px}.ant-input-number-suffix{position:absolute;top:0;right:0;z-index:1;height:100%;margin-right:7px;margin-left:4px}.ant-input-number-group-wrapper .ant-input-number-affix-wrapper{width:100%}.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover{background:#fff;border-color:#ff4d4f}.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus,.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-number-status-error .ant-input-number-prefix{color:#ff4d4f}.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number,.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover{background:#fff;border-color:#faad14}.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus,.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-number-status-warning .ant-input-number-prefix{color:#faad14}.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover{background:#fff;border-color:#ff4d4f}.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus,.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix{color:#ff4d4f}.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper,.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover{background:#fff;border-color:#faad14}.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus,.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix{color:#faad14}.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon{color:#ff4d4f;border-color:#ff4d4f}.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon{color:#faad14;border-color:#faad14}.ant-input-number{box-sizing:border-box;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;width:100%;min-width:0;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;transition:all .3s;display:inline-block;width:90px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:2px}.ant-input-number::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number:placeholder-shown{text-overflow:ellipsis}.ant-input-rtl .ant-input-number:hover{border-right-width:0;border-left-width:1px!important}.ant-input-number:focus,.ant-input-number-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-number:focus,.ant-input-rtl .ant-input-number-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-borderless,.ant-input-number-borderless:hover,.ant-input-number-borderless:focus,.ant-input-number-borderless-focused,.ant-input-number-borderless-disabled,.ant-input-number-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-number{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-number-lg{padding:3.4px 11px;font-size:14px}.ant-input-number-sm{padding:0 7px}.ant-input-number-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-number-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-number-group>[class*=col-]{padding-right:8px}.ant-input-number-group>[class*=col-]:last-child{padding-right:0}.ant-input-number-group-addon,.ant-input-number-group-wrap,.ant-input-number-group>.ant-input-number{display:table-cell}.ant-input-number-group-addon:not(:first-child):not(:last-child),.ant-input-number-group-wrap:not(:first-child):not(:last-child),.ant-input-number-group>.ant-input-number:not(:first-child):not(:last-child){border-radius:0}.ant-input-number-group-addon,.ant-input-number-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-number-group-wrap>*{display:block!important}.ant-input-number-group .ant-input-number{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-number-group .ant-input-number:focus{z-index:1;border-right-width:1px}.ant-input-number-group .ant-input-number:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-number-group .ant-input-number:hover{z-index:0}.ant-input-number-group-addon{position:relative;padding:0 7px;color:#000000d9;font-weight:400;font-size:12px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s}.ant-input-number-group-addon .ant-select{margin:-4px -7px}.ant-input-number-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-number-group-addon .ant-select-open .ant-select-selector,.ant-input-number-group-addon .ant-select-focused .ant-select-selector{color:#1890ff}.ant-input-number-group-addon .ant-cascader-picker{margin:-9px -8px;background-color:transparent}.ant-input-number-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-number-group>.ant-input-number:first-child,.ant-input-number-group-addon:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-number-group>.ant-input-number:first-child .ant-select .ant-select-selector,.ant-input-number-group-addon:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-number-group>.ant-input-number-affix-wrapper:not(:first-child) .ant-input-number{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group>.ant-input-number-affix-wrapper:not(:last-child) .ant-input-number{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-number-group-addon:first-child{border-right:0}.ant-input-number-group-addon:last-child{border-left:0}.ant-input-number-group>.ant-input-number:last-child,.ant-input-number-group-addon:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group>.ant-input-number:last-child .ant-select .ant-select-selector,.ant-input-number-group-addon:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group-lg .ant-input-number,.ant-input-number-group-lg>.ant-input-number-group-addon{padding:3.4px 11px;font-size:14px}.ant-input-number-group-sm .ant-input-number,.ant-input-number-group-sm>.ant-input-number-group-addon{padding:0 7px}.ant-input-number-group-lg .ant-select-single .ant-select-selector{height:32px}.ant-input-number-group-sm .ant-select-single .ant-select-selector{height:22px}.ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child),.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-number-group.ant-input-number-group-compact{display:block}.ant-input-number-group.ant-input-number-group-compact:before{display:table;content:""}.ant-input-number-group.ant-input-number-group-compact:after{display:table;clear:both;content:""}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child),.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-number-group.ant-input-number-group-compact>.ant-input-number:not(:first-child):not(:last-child):focus{z-index:1}.ant-input-number-group.ant-input-number-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-number-group.ant-input-number-group-compact>.ant-input-number-affix-wrapper{display:inline-flex}.ant-input-number-group.ant-input-number-group-compact>.ant-picker-range{display:inline-flex}.ant-input-number-group.ant-input-number-group-compact>*:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-number-group.ant-input-number-group-compact .ant-input-number{float:none}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input{border-right-width:1px;border-radius:0}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input:hover{z-index:1}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-number-group.ant-input-number-group-compact>.ant-input-group-wrapper .ant-input:focus{z-index:1}.ant-input-number-group.ant-input-number-group-compact>.ant-select-focused{z-index:1}.ant-input-number-group.ant-input-number-group-compact>.ant-select>.ant-select-arrow{z-index:1}.ant-input-number-group.ant-input-number-group-compact>*:first-child,.ant-input-number-group.ant-input-number-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:first-child .ant-input{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-number-group.ant-input-number-group-compact>*:last-child,.ant-input-number-group.ant-input-number-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper{border-radius:0}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-number-group>.ant-input-number-rtl:first-child,.ant-input-number-group-rtl .ant-input-number-group-addon:first-child{border-radius:0 2px 2px 0}.ant-input-number-group-rtl .ant-input-number-group-addon:first-child{border-right:1px solid #d9d9d9;border-left:0}.ant-input-number-group-rtl .ant-input-number-group-addon:last-child{border-right:0;border-left:1px solid #d9d9d9}.ant-input-number-group-rtl.ant-input-number-group>.ant-input-number:last-child,.ant-input-number-group-rtl.ant-input-number-group-addon:last-child{border-radius:2px 0 0 2px}.ant-input-number-group-rtl.ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child){border-radius:2px 0 0 2px}.ant-input-number-group-rtl.ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>*:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>*:first-child,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:first-child .ant-input{border-radius:0 2px 2px 0}.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>*:last-child,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact>.ant-cascader-picker-focused:last-child .ant-input{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-number-group-wrapper{display:inline-block;text-align:start;vertical-align:top}.ant-input-number-handler{position:relative;display:block;width:100%;height:50%;overflow:hidden;color:#00000073;font-weight:700;line-height:0;text-align:center;border-left:1px solid #d9d9d9;transition:all .1s linear}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-up-inner,.ant-input-number-handler:hover .ant-input-number-handler-down-inner{color:#40a9ff}.ant-input-number-handler-up-inner,.ant-input-number-handler-down-inner{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;width:12px;height:12px;color:#00000073;line-height:12px;transition:all .1s linear;-webkit-user-select:none;user-select:none}.ant-input-number-handler-up-inner>*,.ant-input-number-handler-down-inner>*{line-height:1}.ant-input-number-handler-up-inner svg,.ant-input-number-handler-down-inner svg{display:inline-block}.ant-input-number-handler-up-inner:before,.ant-input-number-handler-down-inner:before{display:none}.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon{display:block}.ant-input-number:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-number:hover+.ant-form-item-children-icon{opacity:0;transition:opacity .24s linear .24s}.ant-input-number-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-input-number-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap,.ant-input-number-readonly .ant-input-number-handler-wrap{display:none}.ant-input-number-input{width:100%;height:26px;padding:0 7px;text-align:left;background-color:transparent;border:0;border-radius:2px;outline:0;transition:all .3s linear;-webkit-appearance:textfield!important;appearance:textfield!important}.ant-input-number-input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-input-number-input:placeholder-shown{text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.ant-input-number-lg{padding:0;font-size:14px}.ant-input-number-lg input{height:30px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:20px;padding:0 7px}.ant-input-number-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border-radius:0 2px 2px 0;opacity:0;transition:opacity .24s linear .1s}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner{display:flex;align-items:center;justify-content:center;min-width:auto;margin-right:0;font-size:7px}.ant-input-number-borderless .ant-input-number-handler-wrap{border-left-width:0}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number:hover .ant-input-number-handler-wrap,.ant-input-number-focused .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:2px;cursor:pointer}.ant-input-number-handler-up-inner{top:50%;margin-top:-5px;text-align:center}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{top:0;border-top:1px solid #d9d9d9;border-bottom-right-radius:2px;cursor:pointer}.ant-input-number-handler-down-inner{top:50%;text-align:center;transform:translateY(-50%)}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-borderless .ant-input-number-handler-down{border-top-width:0}.ant-input-number-handler-up-disabled,.ant-input-number-handler-down-disabled{cursor:not-allowed}.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner{color:#00000040}.ant-input-number-borderless{box-shadow:none}.ant-input-number-out-of-range input{color:#ff4d4f}.ant-input-number-rtl{direction:rtl}.ant-input-number-rtl .ant-input-number-handler{border-right:1px solid #d9d9d9;border-left:0}.ant-input-number-rtl .ant-input-number-handler-wrap{right:auto;left:0}.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap{border-right-width:0}.ant-input-number-rtl .ant-input-number-handler-up{border-top-right-radius:0}.ant-input-number-rtl .ant-input-number-handler-down{border-bottom-right-radius:0}.ant-input-number-rtl .ant-input-number-input{direction:ltr;text-align:right}.ant-input-number-affix-wrapper>nz-input-number.ant-input-number{width:100%;border:none;outline:none}.ant-input-number-affix-wrapper>nz-input-number.ant-input-number.ant-input-number-focused{box-shadow:none!important}.ant-input-number.ant-input-number-has-feedback .ant-input-number-handler-wrap{z-index:2}.ant-layout{display:flex;flex:auto;flex-direction:column;min-height:0;background:#f0f2f5}.ant-layout,.ant-layout *{box-sizing:border-box}.ant-layout.ant-layout-has-sider{flex-direction:row}.ant-layout.ant-layout-has-sider>.ant-layout,.ant-layout.ant-layout-has-sider>.ant-layout-content{width:0}.ant-layout-header,.ant-layout-footer{flex:0 0 auto}.ant-layout-header{height:64px;padding:0 50px;color:#000000d9;line-height:64px;background:#001529}.ant-layout-footer{padding:24px 50px;color:#000000d9;font-size:12px;background:#f0f2f5}.ant-layout-content{flex:auto;min-height:0}.ant-layout-sider{position:relative;min-width:0;background:#001529;transition:all .2s}.ant-layout-sider-children{height:100%;margin-top:-.1px;padding-top:.1px}.ant-layout-sider-children .ant-menu.ant-menu-inline-collapsed{width:auto}.ant-layout-sider-has-trigger{padding-bottom:48px}.ant-layout-sider-right{order:1}.ant-layout-sider-trigger{position:fixed;bottom:0;z-index:1;height:48px;color:#fff;line-height:48px;text-align:center;background:#002140;cursor:pointer;transition:all .2s}.ant-layout-sider-zero-width>*{overflow:hidden}.ant-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;z-index:1;width:36px;height:42px;color:#fff;font-size:18px;line-height:42px;text-align:center;background:#001529;border-radius:0 2px 2px 0;cursor:pointer;transition:background .3s ease}.ant-layout-sider-zero-width-trigger:after{position:absolute;inset:0;background:transparent;transition:all .3s;content:""}.ant-layout-sider-zero-width-trigger:hover:after{background:rgba(255,255,255,.1)}.ant-layout-sider-zero-width-trigger-right{left:-36px;border-radius:2px 0 0 2px}.ant-layout-sider-light{background:#fff}.ant-layout-sider-light .ant-layout-sider-trigger,.ant-layout-sider-light .ant-layout-sider-zero-width-trigger{color:#000000d9;background:#fff}.ant-layout-rtl{direction:rtl}nz-content{display:block}nz-footer{display:block}nz-header{display:block}.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:16px}.ant-form-inline .ant-form-item>.ant-form-item-label,.ant-form-inline .ant-form-item>.ant-form-item-control{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-text,.ant-form-inline .ant-form-item .ant-form-item-has-feedback{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0;min-width:0}.ant-form-horizontal .ant-form-item-label[class$="-24"]+.ant-form-item-control,.ant-form-horizontal .ant-form-item-label[class*="-24 "]+.ant-form-item-control{min-width:unset}.ant-form-vertical .ant-form-item{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-form-vertical .ant-form-item-label,.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-form-vertical .ant-form-item-label>label,.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-form-vertical .ant-form-item-label>label:after,.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-vertical .ant-form-item-label,.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}@media (max-width: 575px){.ant-form-item .ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-label,.ant-form .ant-form-item .ant-form-item-control{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width: 767px){.ant-col-sm-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width: 991px){.ant-col-md-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width: 1199px){.ant-col-lg-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width: 1599px){.ant-col-xl-24.ant-form-item-label{padding:0 0 4px;line-height:1.66667;white-space:initial;text-align:left}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain-error{color:#ff4d4f}.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-error .ant-form-item-split{color:#ff4d4f}.ant-form{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:#00000073;font-size:14px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:12px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=radio],.ant-form input[type=checkbox]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus,.ant-form input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:#000000d9;font-size:12px;line-height:1.66667}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:22px}.ant-form-small .ant-form-item-control-input{min-height:22px}.ant-form-large .ant-form-item-label>label{height:32px}.ant-form-large .ant-form-item-control-input{min-height:32px}.ant-form-item{box-sizing:border-box;margin:0 0 16px;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";vertical-align:top;transition:margin-bottom .3s 17ms linear}.ant-form-item-with-help{margin-bottom:0;transition:none}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item-label-wrap{overflow:unset;line-height:1.41667em;white-space:unset}.ant-form-item-label>label{position:relative;display:inline-flex;align-items:center;max-width:100%;height:28px;color:#000000d9;font-size:12px}.ant-form-item-label>label>.anticon{font-size:12px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:inline-block;margin-right:4px;color:#ff4d4f;font-size:12px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{display:inline-block;margin-left:0;color:#00000073}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{color:#00000073;cursor:help;writing-mode:horizontal-tb;margin-inline-start:0px}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^="ant-col-"]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{position:relative;display:flex;align-items:center;min-height:28px}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;color:#00000073;font-size:12px;line-height:1.66667;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item-explain-connected{height:0;min-height:0;opacity:0}.ant-form-item-extra{min-height:16px}.ant-form-item-with-help .ant-form-item-explain{height:auto;min-height:16px;opacity:1}.ant-form-item-feedback-icon{font-size:12px;text-align:center;visibility:visible;animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.ant-form-item-feedback-icon-success{color:#52c41a}.ant-form-item-feedback-icon-error{color:#ff4d4f}.ant-form-item-feedback-icon-warning{color:#faad14}.ant-form-item-feedback-icon-validating{color:#1890ff}.ant-show-help{transition:height .3s linear,min-height .3s linear,margin-bottom .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-show-help-leave{min-height:16px}.ant-show-help-leave-active{min-height:0}.ant-show-help-item{overflow:hidden;transition:height .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1)!important}.ant-show-help-item-appear,.ant-show-help-item-enter{transform:translateY(-5px);opacity:0}.ant-show-help-item-appear-active,.ant-show-help-item-enter-active{transform:translateY(0);opacity:1}.ant-show-help-item-leave-active{transform:translateY(-5px)}@keyframes diffZoomIn1{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn2{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes diffZoomIn3{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-right:0;margin-left:4px}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-right:0;margin-left:0}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-right:7px;padding-left:24px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:7px;padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input,.ant-form-rtl .ant-form-item-has-feedback .ant-input-number-affix-wrapper .ant-input-number{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:auto;left:28px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-number-group-addon)>.ant-select .ant-select-selection-selected-value{padding-right:0;padding-left:42px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:0;margin-left:19px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker{padding-right:7px;padding-left:22.6px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-right:11px;padding-left:26.6px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-right:7px;padding-left:22.6px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{right:auto;left:0}.ant-form-rtl.ant-form-inline .ant-form-item{margin-right:0;margin-left:16px}nz-form-item.ant-form-item{transition:none}.ant-list{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative}.ant-list *{outline:none}.ant-list-pagination{margin-top:16px;text-align:right}.ant-list-pagination .ant-pagination-options{text-align:left}.ant-list-more{margin-top:8px;text-align:center}.ant-list-more button{padding-right:32px;padding-left:32px}.ant-list-spin{min-height:40px;text-align:center}.ant-list-empty-text{padding:8px;color:#00000040;font-size:12px;text-align:center}.ant-list-items{margin:0;padding:0;list-style:none}.ant-list-item{display:flex;align-items:center;justify-content:space-between;padding:8px 0;color:#000000d9}.ant-list-item-meta{display:flex;flex:1;align-items:flex-start;max-width:100%}.ant-list-item-meta-avatar{margin-right:8px}.ant-list-item-meta-content{flex:1 0;width:0;color:#000000d9}.ant-list-item-meta-title{margin-bottom:4px;color:#000000d9;font-size:12px;line-height:1.66667}.ant-list-item-meta-title>a{color:#000000d9;transition:all .3s}.ant-list-item-meta-title>a:hover{color:#1890ff}.ant-list-item-meta-description{color:#00000073;font-size:12px;line-height:1.66667}.ant-list-item-action{flex:0 0 auto;margin-left:48px;padding:0;font-size:0;list-style:none}.ant-list-item-action>li{position:relative;display:inline-block;padding:0 4px;color:#00000073;font-size:12px;line-height:1.66667;text-align:center}.ant-list-item-action>li:first-child{padding-left:0}.ant-list-item-action-split{position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background-color:#f0f0f0}.ant-list-header,.ant-list-footer{background:transparent}.ant-list-header,.ant-list-footer{padding-top:8px;padding-bottom:8px}.ant-list-empty{padding:8px 0;color:#00000073;font-size:12px;text-align:center}.ant-list-split .ant-list-item{border-bottom:1px solid #f0f0f0}.ant-list-split .ant-list-item:last-child{border-bottom:none}.ant-list-split .ant-list-header{border-bottom:1px solid #f0f0f0}.ant-list-split.ant-list-empty .ant-list-footer{border-top:1px solid #f0f0f0}.ant-list-loading .ant-list-spin-nested-loading{min-height:32px}.ant-list-split.ant-list-something-after-last-item .ant-spin-container>.ant-list-items>.ant-list-item:last-child{border-bottom:1px solid #f0f0f0}.ant-list-lg .ant-list-item{padding:12px 16px}.ant-list-sm .ant-list-item{padding:4px 12px}.ant-list-vertical .ant-list-item{align-items:initial}.ant-list-vertical .ant-list-item-main{display:block;flex:1}.ant-list-vertical .ant-list-item-extra{margin-left:40px}.ant-list-vertical .ant-list-item-meta{margin-bottom:8px}.ant-list-vertical .ant-list-item-meta-title{margin-bottom:8px;color:#000000d9;font-size:14px;line-height:24px}.ant-list-vertical .ant-list-item-action{margin-top:8px;margin-left:auto}.ant-list-vertical .ant-list-item-action>li{padding:0 8px}.ant-list-vertical .ant-list-item-action>li:first-child{padding-left:0}.ant-list-grid .ant-col>.ant-list-item{display:block;max-width:100%;margin-bottom:8px;padding-top:0;padding-bottom:0;border-bottom:none}.ant-list-item-no-flex{display:block}.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:right}.ant-list-bordered{border:1px solid #d9d9d9;border-radius:2px}.ant-list-bordered .ant-list-header,.ant-list-bordered .ant-list-footer,.ant-list-bordered .ant-list-item{padding-right:16px;padding-left:16px}.ant-list-bordered .ant-list-pagination{margin:8px 16px}.ant-list-bordered.ant-list-sm .ant-list-item,.ant-list-bordered.ant-list-sm .ant-list-header,.ant-list-bordered.ant-list-sm .ant-list-footer{padding:4px 12px}.ant-list-bordered.ant-list-lg .ant-list-item,.ant-list-bordered.ant-list-lg .ant-list-header,.ant-list-bordered.ant-list-lg .ant-list-footer{padding:12px 16px}@media screen and (max-width: 768px){.ant-list-item-action,.ant-list-vertical .ant-list-item-extra{margin-left:24px}}@media screen and (max-width: 576px){.ant-list-item{flex-wrap:wrap}.ant-list-item-action{margin-left:12px}.ant-list-vertical .ant-list-item{flex-wrap:wrap-reverse}.ant-list-vertical .ant-list-item-main{min-width:220px}.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}.ant-list-rtl{direction:rtl;text-align:right}.ant-list-rtl .ReactVirtualized__List .ant-list-item{direction:rtl}.ant-list-rtl .ant-list-pagination{text-align:left}.ant-list-rtl .ant-list-item-meta-avatar{margin-right:0;margin-left:8px}.ant-list-rtl .ant-list-item-action{margin-right:48px;margin-left:0}.ant-list.ant-list-rtl .ant-list-item-action>li:first-child{padding-right:0;padding-left:8px}.ant-list-rtl .ant-list-item-action-split{right:auto;left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin-right:40px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-action{margin-right:auto}.ant-list-rtl .ant-list-vertical .ant-list-item-action>li:first-child{padding-right:0;padding-left:8px}.ant-list-rtl .ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:left}@media screen and (max-width: 768px){.ant-list-rtl .ant-list-item-action,.ant-list-rtl .ant-list-vertical .ant-list-item-extra{margin-right:24px;margin-left:0}}@media screen and (max-width: 576px){.ant-list-rtl .ant-list-item-action{margin-right:22px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}nz-list,nz-list nz-spin,nz-list-header,nz-list-footer,nz-list-pagination,nz-list-empty,nz-list-item-extra{display:block}.ant-menu-item-danger.ant-menu-item,.ant-menu-item-danger.ant-menu-item:hover,.ant-menu-item-danger.ant-menu-item-active{color:#ff4d4f}.ant-menu-item-danger.ant-menu-item:active{background:#fff1f0}.ant-menu-item-danger.ant-menu-item-selected{color:#ff4d4f}.ant-menu-item-danger.ant-menu-item-selected>a,.ant-menu-item-danger.ant-menu-item-selected>a:hover{color:#ff4d4f}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{background-color:#fff1f0}.ant-menu-inline .ant-menu-item-danger.ant-menu-item:after{border-right-color:#ff4d4f}.ant-menu-dark .ant-menu-item-danger.ant-menu-item,.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,.ant-menu-dark .ant-menu-item-danger.ant-menu-item>a{color:#ff4d4f}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{color:#fff;background-color:#ff4d4f}.ant-menu{box-sizing:border-box;margin:0;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";padding:0;color:#000000d9;font-size:12px;line-height:0;text-align:left;list-style:none;background:#fff;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s}.ant-menu:before{display:table;content:""}.ant-menu:after{display:table;clear:both;content:""}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px #bae7ff}.ant-menu ul,.ant-menu ol{margin:0;padding:0;list-style:none}.ant-menu-overflow{display:flex}.ant-menu-overflow-item{flex:none}.ant-menu-hidden,.ant-menu-submenu-hidden{display:none}.ant-menu-item-group-title{height:1.66667;padding:8px 16px;color:#00000073;font-size:12px;line-height:1.66667;transition:all .3s}.ant-menu-horizontal .ant-menu-submenu{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#1890ff}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:initial;transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-title-content{transition:color .3s}.ant-menu-item a{color:#000000d9}.ant-menu-item a:hover{color:#1890ff}.ant-menu-item a:before{position:absolute;inset:0;background-color:transparent;content:""}.ant-menu-item>.ant-badge a{color:#000000d9}.ant-menu-item>.ant-badge a:hover{color:#1890ff}.ant-menu-item-divider{overflow:hidden;line-height:0;border-color:#f0f0f0;border-style:solid;border-width:1px 0 0}.ant-menu-item-divider-dashed{border-style:dashed}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected,.ant-menu-item-selected a,.ant-menu-item-selected a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #f0f0f0}.ant-menu-vertical-right{border-left:1px solid #f0f0f0}.ant-menu-vertical.ant-menu-sub,.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub{min-width:160px;max-height:calc(100vh - 100px);padding:0;overflow:hidden;border-right:0}.ant-menu-vertical.ant-menu-sub:not([class*="-active"]),.ant-menu-vertical-left.ant-menu-sub:not([class*="-active"]),.ant-menu-vertical-right.ant-menu-sub:not([class*="-active"]){overflow-x:hidden;overflow-y:auto}.ant-menu-vertical.ant-menu-sub .ant-menu-item,.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu-title{transition:border-color .3s,background .3s}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 12px;white-space:nowrap;cursor:pointer;transition:border-color .3s,background .3s,padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .ant-menu-item-icon,.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-item .anticon,.ant-menu-submenu-title .anticon{min-width:14px;font-size:12px;transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-item .ant-menu-item-icon+span,.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-item .anticon+span,.ant-menu-submenu-title .anticon+span{margin-left:8px;opacity:1;transition:opacity .3s cubic-bezier(.645,.045,.355,1),margin .3s,color .3s}.ant-menu-item .ant-menu-item-icon.svg,.ant-menu-submenu-title .ant-menu-item-icon.svg{vertical-align:-.125em}.ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-submenu-title.ant-menu-item-only-child>.anticon,.ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon{margin-right:0}.ant-menu-item:focus-visible,.ant-menu-submenu-title:focus-visible{box-shadow:0 0 0 2px #bae7ff}.ant-menu>.ant-menu-item-divider{margin:1px 0;padding:0}.ant-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;border-radius:2px;box-shadow:none;transform-origin:0 0}.ant-menu-submenu-popup:before{position:absolute;inset:-7px 0 0;z-index:-1;width:100%;height:100%;opacity:.0001;content:" "}.ant-menu-submenu-placement-rightTop:before{top:0;left:-7px}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:2px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-popup>.ant-menu{background-color:#fff}.ant-menu-submenu-expand-icon,.ant-menu-submenu-arrow{position:absolute;top:50%;right:16px;width:10px;color:#000000d9;transform:translateY(-50%);transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-arrow:before,.ant-menu-submenu-arrow:after{position:absolute;width:6px;height:1.5px;background-color:currentcolor;border-radius:2px;transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2.5px)}.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2.5px)}.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon,.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{color:#1890ff}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:before,.ant-menu-submenu-inline .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translate(2.5px)}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline .ant-menu-submenu-arrow:after{transform:rotate(45deg) translate(-2.5px)}.ant-menu-submenu-horizontal .ant-menu-submenu-arrow{display:none}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translate(-2.5px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{transform:rotate(45deg) translate(2.5px)}.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected{color:#1890ff}.ant-menu-horizontal{line-height:38px;border:0;border-bottom:1px solid #f0f0f0;box-shadow:none}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu{margin-top:-1px;margin-bottom:0;padding:0 12px}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected{color:#1890ff}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected:after{border-bottom:2px solid #1890ff}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom}.ant-menu-horizontal>.ant-menu-item:after,.ant-menu-horizontal>.ant-menu-submenu:after{position:absolute;right:20px;bottom:0;left:20px;border-bottom:2px solid transparent;transition:border-color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-horizontal>.ant-menu-submenu>.ant-menu-submenu-title{padding:0}.ant-menu-horizontal>.ant-menu-item a{color:#000000d9}.ant-menu-horizontal>.ant-menu-item a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected a{color:#1890ff}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:" "}.ant-menu-vertical .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-inline .ant-menu-item{position:relative}.ant-menu-vertical .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-inline .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #1890ff;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);content:""}.ant-menu-vertical .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-inline .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-inline .ant-menu-submenu-title{height:32px;margin-top:0;margin-bottom:0;padding:0 16px;overflow:hidden;line-height:32px;text-overflow:ellipsis}.ant-menu-vertical .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu,.ant-menu-inline .ant-menu-submenu{padding-bottom:.02px}.ant-menu-vertical .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child),.ant-menu-inline .ant-menu-item:not(:last-child){margin-bottom:0}.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-inline>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:32px;line-height:32px}.ant-menu-vertical .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-selected:after,.ant-menu-inline .ant-menu-item-selected:after{transform:scaleY(1);opacity:1;transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline.ant-menu-root .ant-menu-item,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title{display:flex;align-items:center;transition:border-color .3s,background .3s,padding .1s cubic-bezier(.215,.61,.355,1)}.ant-menu-inline.ant-menu-root .ant-menu-item>.ant-menu-title-content,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>.ant-menu-title-content{flex:auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.ant-menu-inline.ant-menu-root .ant-menu-item>*,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>*{flex:none}.ant-menu.ant-menu-inline-collapsed{width:80px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 calc(50% - 7px);text-overflow:clip}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:0}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:14px;line-height:32px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;opacity:0}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed .anticon{display:inline-block}.ant-menu.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu.ant-menu-inline-collapsed-tooltip a{color:#ffffffd9}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right,.ant-menu-root.ant-menu-inline{box-shadow:none}.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item>.ant-menu-inline-collapsed-noicon,.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title>.ant-menu-inline-collapsed-noicon{font-size:14px;text-align:center}.ant-menu-sub.ant-menu-inline{padding:0;background:#fafafa;border:0;border-radius:0;box-shadow:none}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:32px;line-height:32px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:#00000040!important;background:none;cursor:not-allowed}.ant-menu-item-disabled:after,.ant-menu-submenu-disabled:after{border-color:transparent!important}.ant-menu-item-disabled a,.ant-menu-submenu-disabled a{color:#00000040!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:#00000040!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{background:rgba(0,0,0,.25)!important}.ant-layout-header .ant-menu{line-height:inherit}.ant-menu-inline-collapsed-tooltip a,.ant-menu-inline-collapsed-tooltip a:hover{color:#fff}.ant-menu-light .ant-menu-item:hover,.ant-menu-light .ant-menu-item-active,.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,.ant-menu-light .ant-menu-submenu-active,.ant-menu-light .ant-menu-submenu-title:hover{color:#1890ff}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px #096dd9}.ant-menu-dark .ant-menu-item:focus-visible,.ant-menu-dark .ant-menu-submenu-title:focus-visible{box-shadow:0 0 0 2px #096dd9}.ant-menu.ant-menu-dark,.ant-menu-dark .ant-menu-sub,.ant-menu.ant-menu-dark .ant-menu-sub{color:#ffffffa6;background:#001529}.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:transparent}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;padding:0 12px;border-color:#001529;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover{background-color:#1890ff}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a,.ant-menu-dark .ant-menu-item>span>a{color:#ffffffa6}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:transparent}.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-title:hover>a,.ant-menu-dark .ant-menu-item:hover>span>a,.ant-menu-dark .ant-menu-item-active>span>a,.ant-menu-dark .ant-menu-submenu-active>span>a,.ant-menu-dark .ant-menu-submenu-open>span>a,.ant-menu-dark .ant-menu-submenu-selected>span>a,.ant-menu-dark .ant-menu-submenu-title:hover>span>a{color:#fff}.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:transparent}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>span>a,.ant-menu-dark .ant-menu-item-selected>a:hover,.ant-menu-dark .ant-menu-item-selected>span>a:hover{color:#fff}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,.ant-menu-dark .ant-menu-item-selected .anticon{color:#fff}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon+span,.ant-menu-dark .ant-menu-item-selected .anticon+span{color:#fff}.ant-menu.ant-menu-dark .ant-menu-item-selected,.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled>a,.ant-menu-dark .ant-menu-item-disabled>span>a,.ant-menu-dark .ant-menu-submenu-disabled>span>a{color:#ffffff59!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:#ffffff59!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{background:rgba(255,255,255,.35)!important}.ant-menu.ant-menu-rtl{direction:rtl;text-align:right}.ant-menu-rtl .ant-menu-item-group-title{text-align:right}.ant-menu-rtl.ant-menu-inline,.ant-menu-rtl.ant-menu-vertical{border-right:none;border-left:1px solid #f0f0f0}.ant-menu-rtl.ant-menu-dark.ant-menu-inline,.ant-menu-rtl.ant-menu-dark.ant-menu-vertical{border-left:none}.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu{transform-origin:top right}.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-rtl .ant-menu-item .anticon,.ant-menu-rtl .ant-menu-submenu-title .anticon{margin-right:auto;margin-left:8px}.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-left:0}.ant-menu-submenu-rtl.ant-menu-submenu-popup{transform-origin:100% 0}.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow{right:auto;left:16px}.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateY(-2px)}.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateY(2px)}.ant-menu-rtl.ant-menu-vertical .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-rtl.ant-menu-inline .ant-menu-item:after{right:auto;left:0}.ant-menu-rtl.ant-menu-vertical .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,.ant-menu-rtl.ant-menu-inline .ant-menu-item,.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{text-align:right}.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{padding-right:0;padding-left:34px}.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{padding-right:16px;padding-left:34px}.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title{padding:0 calc(50% - 7px)}.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title{padding:0 28px 0 16px}.ant-menu-sub.ant-menu-inline{border:0}.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-right:32px;padding-left:0}.ant-menu-submenu.ant-menu-submenu-placement-bottom{top:6px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right{left:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right.ant-menu-submenu-rtl{left:auto;right:4px}.ant-menu-submenu.ant-menu-submenu-placement-left{right:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-left.ant-menu-submenu-rtl{right:auto;left:4px}.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions,.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover{background:#fff;border-color:#ff4d4f}.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus,.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-mentions-status-error .ant-input-prefix{color:#ff4d4f}.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions,.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover{background:#fff;border-color:#faad14}.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus,.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-mentions-status-warning .ant-input-prefix{color:#faad14}.ant-mentions{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";width:100%;min-width:0;color:#000000d9;font-size:12px;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;position:relative;display:inline-block;height:auto;padding:0;overflow:hidden;line-height:1.66667;white-space:pre-wrap;vertical-align:bottom}.ant-mentions::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-mentions:placeholder-shown{text-overflow:ellipsis}.ant-mentions:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-mentions:hover{border-right-width:0;border-left-width:1px!important}.ant-mentions:focus,.ant-mentions-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-mentions:focus,.ant-input-rtl .ant-mentions-focused{border-right-width:0;border-left-width:1px!important}.ant-mentions-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-mentions[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-mentions-borderless,.ant-mentions-borderless:hover,.ant-mentions-borderless:focus,.ant-mentions-borderless-focused,.ant-mentions-borderless-disabled,.ant-mentions-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-mentions{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-mentions-lg{padding:3.4px 11px;font-size:14px}.ant-mentions-sm{padding:0 7px}.ant-mentions-disabled>textarea{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-mentions-disabled>textarea:hover{border-color:#d9d9d9;border-right-width:1px}.ant-mentions-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-mentions-focused{border-right-width:0;border-left-width:1px!important}.ant-mentions>textarea,.ant-mentions-measure{min-height:26px;margin:0;padding:3px 7px;overflow:inherit;overflow-x:hidden;overflow-y:auto;font-weight:inherit;font-size:inherit;font-family:inherit;font-style:inherit;font-variant:inherit;font-size-adjust:inherit;font-stretch:inherit;line-height:inherit;direction:inherit;letter-spacing:inherit;white-space:inherit;text-align:inherit;vertical-align:top;word-wrap:break-word;word-break:inherit;tab-size:inherit}.ant-mentions>textarea{width:100%;border:none;outline:none;resize:none}.ant-mentions>textarea::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-mentions>textarea:placeholder-shown{text-overflow:ellipsis}.ant-mentions-measure{position:absolute;inset:0;z-index:-1;color:transparent;pointer-events:none}.ant-mentions-measure>span{display:inline-block;min-height:1em}.ant-mentions-dropdown{margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;font-size:12px;font-variant:initial;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-mentions-dropdown-hidden{display:none}.ant-mentions-dropdown-menu{max-height:250px;margin-bottom:0;padding-left:0;overflow:auto;list-style:none;outline:none}.ant-mentions-dropdown-menu-item{position:relative;display:block;min-width:100px;padding:5px 8px;overflow:hidden;color:#000000d9;font-weight:400;line-height:1.66667;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:background .3s ease}.ant-mentions-dropdown-menu-item:hover{background-color:#f5f5f5}.ant-mentions-dropdown-menu-item:first-child{border-radius:2px 2px 0 0}.ant-mentions-dropdown-menu-item:last-child{border-radius:0 0 2px 2px}.ant-mentions-dropdown-menu-item-disabled{color:#00000040;cursor:not-allowed}.ant-mentions-dropdown-menu-item-disabled:hover{color:#00000040;background-color:#fff;cursor:not-allowed}.ant-mentions-dropdown-menu-item-selected{color:#000000d9;font-weight:600;background-color:#fafafa}.ant-mentions-dropdown-menu-item-active{background-color:#f5f5f5}.ant-mentions-suffix{position:absolute;top:0;right:7px;bottom:0;z-index:1;display:inline-flex;align-items:center;margin:auto}.ant-mentions-rtl{direction:rtl}.ant-mentions-dropdown{top:100%;left:12px;position:relative;width:100%;margin-top:8px;margin-bottom:4px}.ant-mentions:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-mentions:focus-within{border-right-width:0;border-left-width:1px!important}.ant-mentions.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus-within{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-mentions.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus-within{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-message{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:fixed;top:8px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice-content{display:inline-block;padding:8px 16px;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#ff4d4f}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:14px}.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active{animation-name:MessageMoveOut;animation-duration:.3s}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}.ant-message-rtl,.ant-message-rtl span{direction:rtl}.ant-message-rtl .anticon{margin-right:0;margin-left:8px}.ant-modal{box-sizing:border-box;padding:0 0 24px;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";pointer-events:none;position:relative;top:100px;width:auto;max-width:calc(100vw - 32px);margin:0 auto}.ant-modal.ant-zoom-enter,.ant-modal.ant-zoom-appear{transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;user-select:none}.ant-modal-mask{position:fixed;inset:0;z-index:1000;height:100%;background-color:#00000073}.ant-modal-mask-hidden{display:none}.ant-modal-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-modal-wrap{z-index:1000}.ant-modal-title{margin:0;color:#000000d9;font-weight:500;font-size:14px;line-height:22px;word-wrap:break-word}.ant-modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:0;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;pointer-events:auto}.ant-modal-close{position:absolute;top:0;right:0;z-index:10;padding:0;color:#00000073;font-weight:700;line-height:1;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s}.ant-modal-close-x{display:block;width:44px;height:44px;font-size:14px;font-style:normal;line-height:44px;text-align:center;text-transform:none;text-rendering:auto}.ant-modal-close:focus,.ant-modal-close:hover{color:#000000bf;text-decoration:none}.ant-modal-header{padding:11px 16px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-modal-body{padding:16px;font-size:12px;line-height:1.66667;word-wrap:break-word}.ant-modal-footer{padding:8px 16px;text-align:right;background:transparent;border-top:1px solid #f0f0f0;border-radius:0 0 2px 2px}.ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger){margin-bottom:0;margin-left:8px}.ant-modal-open{overflow:hidden}.ant-modal-centered{text-align:center}.ant-modal-centered:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.ant-modal-centered .ant-modal{top:0;display:inline-block;padding-bottom:0;text-align:left;vertical-align:middle}@media (max-width: 767px){.ant-modal{max-width:calc(100vw - 16px);margin:8px auto}.ant-modal-centered .ant-modal{flex:1}}.ant-modal-confirm .ant-modal-header{display:none}.ant-modal-confirm .ant-modal-body{padding:24px 24px 16px}.ant-modal-confirm-body-wrapper:before{display:table;content:""}.ant-modal-confirm-body-wrapper:after{display:table;clear:both;content:""}.ant-modal-confirm-body .ant-modal-confirm-title{display:block;overflow:hidden;color:#000000d9;font-weight:500;font-size:14px;line-height:1.4}.ant-modal-confirm-body .ant-modal-confirm-content{margin-top:8px;color:#000000d9;font-size:12px}.ant-modal-confirm-body>.anticon{float:left;margin-right:16px;font-size:22px}.ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-left:38px}.ant-modal-confirm .ant-modal-confirm-btns{float:right;margin-top:24px}.ant-modal-confirm .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-bottom:0;margin-left:8px}.ant-modal-confirm-error .ant-modal-confirm-body>.anticon{color:#ff4d4f}.ant-modal-confirm-warning .ant-modal-confirm-body>.anticon,.ant-modal-confirm-confirm .ant-modal-confirm-body>.anticon{color:#faad14}.ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#1890ff}.ant-modal-confirm-success .ant-modal-confirm-body>.anticon{color:#52c41a}.ant-modal-wrap-rtl{direction:rtl}.ant-modal-wrap-rtl .ant-modal-close{right:initial;left:0}.ant-modal-wrap-rtl .ant-modal-footer{text-align:left}.ant-modal-wrap-rtl .ant-modal-footer .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-body{direction:rtl}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon{float:right;margin-right:0;margin-left:16px}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-right:38px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-btns{float:left}.ant-modal-wrap-rtl .ant-modal-confirm-btns .ant-btn+.ant-btn{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl.ant-modal-centered .ant-modal{text-align:right}.ant-notification{box-sizing:border-box;margin:0 24px 0 0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:fixed;z-index:1010}.ant-notification-close-icon{font-size:12px;cursor:pointer}.ant-notification-hook-holder{position:relative}.ant-notification-notice{position:relative;width:384px;max-width:calc(100vw - 48px);margin-bottom:16px;margin-left:auto;padding:12px 16px;overflow:hidden;line-height:1.66667;word-wrap:break-word;background:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-notification-top .ant-notification-notice,.ant-notification-bottom .ant-notification-notice{margin-right:auto;margin-left:auto}.ant-notification-topLeft .ant-notification-notice,.ant-notification-bottomLeft .ant-notification-notice{margin-right:auto;margin-left:0}.ant-notification-notice-message{margin-bottom:8px;color:#000000d9;font-size:14px;line-height:24px}.ant-notification-notice-message-single-line-auto-margin{display:block;width:calc(280px - 100%);max-width:4px;background-color:transparent;pointer-events:none}.ant-notification-notice-message-single-line-auto-margin:before{display:block;content:""}.ant-notification-notice-description{font-size:12px}.ant-notification-notice-closable .ant-notification-notice-message{padding-right:24px}.ant-notification-notice-with-icon .ant-notification-notice-message{margin-bottom:4px;margin-left:48px;font-size:14px}.ant-notification-notice-with-icon .ant-notification-notice-description{margin-left:48px;font-size:12px}.ant-notification-notice-icon{position:absolute;margin-left:4px;font-size:24px;line-height:24px}.anticon.ant-notification-notice-icon-success{color:#52c41a}.anticon.ant-notification-notice-icon-info{color:#1890ff}.anticon.ant-notification-notice-icon-warning{color:#faad14}.anticon.ant-notification-notice-icon-error{color:#ff4d4f}.ant-notification-notice-close{position:absolute;top:16px;right:22px;color:#00000073;outline:none}.ant-notification-notice-close:hover{color:#000000ab}.ant-notification-notice-btn{float:right;margin-top:16px}.ant-notification .notification-fade-effect{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both}.ant-notification-fade-enter,.ant-notification-fade-appear{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both;opacity:0;animation-play-state:paused}.ant-notification-fade-leave{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both;animation-duration:.2s;animation-play-state:paused}.ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationFadeIn;animation-play-state:running}.ant-notification-fade-leave.ant-notification-fade-leave-active{animation-name:NotificationFadeOut;animation-play-state:running}@keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}.ant-notification-rtl{direction:rtl}.ant-notification-rtl .ant-notification-notice-closable .ant-notification-notice-message{padding-right:0;padding-left:24px}.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-message,.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-description{margin-right:48px;margin-left:0}.ant-notification-rtl .ant-notification-notice-icon{margin-right:4px;margin-left:0}.ant-notification-rtl .ant-notification-notice-close{right:auto;left:22px}.ant-notification-rtl .ant-notification-notice-btn{float:left}.ant-notification-top,.ant-notification-bottom{margin-right:0;margin-left:0}.ant-notification-top .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-top .ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationTopFadeIn}.ant-notification-bottom .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-bottom .ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationBottomFadeIn}.ant-notification-topLeft,.ant-notification-bottomLeft{margin-right:0;margin-left:24px}.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active{animation-name:NotificationLeftFadeIn}@keyframes NotificationTopFadeIn{0%{margin-top:-100%;opacity:0}to{margin-top:0;opacity:1}}@keyframes NotificationBottomFadeIn{0%{margin-bottom:-100%;opacity:0}to{margin-bottom:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}.ant-page-header{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;padding:8px 16px;background-color:#fff}.ant-page-header-ghost{background-color:inherit}.ant-page-header.has-breadcrumb{padding-top:8px}.ant-page-header.has-footer{padding-bottom:0}.ant-page-header-back{margin-right:8px;font-size:16px;line-height:1}.ant-page-header-back-button{color:#1890ff;text-decoration:none;outline:none;transition:color .3s;color:#000;cursor:pointer}.ant-page-header-back-button:focus,.ant-page-header-back-button:hover{color:#40a9ff}.ant-page-header-back-button:active{color:#096dd9}.ant-page-header .ant-divider-vertical{height:14px;margin:0 8px;vertical-align:middle}.ant-breadcrumb+.ant-page-header-heading{margin-top:4px}.ant-page-header-heading{display:flex;justify-content:space-between}.ant-page-header-heading-left{display:flex;align-items:center;margin:2px 0;overflow:hidden}.ant-page-header-heading-title{margin-right:8px;margin-bottom:0;color:#000000d9;font-weight:600;font-size:16px;line-height:28px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading .ant-avatar{margin-right:8px}.ant-page-header-heading-sub-title{margin-right:8px;color:#00000073;font-size:12px;line-height:1.66667;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading-extra{margin:2px 0;white-space:nowrap}.ant-page-header-heading-extra>*{white-space:unset}.ant-page-header-content{padding-top:8px}.ant-page-header-footer{margin-top:8px}.ant-page-header-footer .ant-tabs>.ant-tabs-nav{margin:0}.ant-page-header-footer .ant-tabs>.ant-tabs-nav:before{border:none}.ant-page-header-footer .ant-tabs .ant-tabs-tab{padding-top:4px;padding-bottom:4px;font-size:14px}.ant-page-header-compact .ant-page-header-heading{flex-wrap:wrap}.ant-page-header-rtl{direction:rtl}.ant-page-header-rtl .ant-page-header-back{float:right;margin-right:0;margin-left:16px}.ant-page-header-rtl .ant-page-header-heading-title,.ant-page-header-rtl .ant-page-header-heading .ant-avatar{margin-right:0;margin-left:8px}.ant-page-header-rtl .ant-page-header-heading-sub-title{float:right;margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-tags{float:right}.ant-page-header-rtl .ant-page-header-heading-extra{float:left}.ant-page-header-rtl .ant-page-header-heading-extra>*{margin-right:8px;margin-left:0}.ant-page-header-rtl .ant-page-header-heading-extra>*:first-child{margin-right:0}.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav{float:right}.ant-page-header-back-button{border:0;background:transparent;padding:0;line-height:inherit;display:inline-block}nz-page-header,nz-page-header-content,nz-page-header-footer{display:block}.ant-pagination{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-pagination ul,.ant-pagination ol{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-total-text{display:inline-block;height:28px;margin-right:8px;line-height:26px;vertical-align:middle}.ant-pagination-item{display:inline-block;min-width:28px;height:28px;margin-right:8px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:26px;text-align:center;vertical-align:middle;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:0;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:#000000d9;transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:hover{border-color:#1890ff;transition:all .3s}.ant-pagination-item:hover a{color:#1890ff}.ant-pagination-item:focus-visible{border-color:#1890ff;transition:all .3s}.ant-pagination-item:focus-visible a{color:#1890ff}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#1890ff}.ant-pagination-item-active a{color:#1890ff}.ant-pagination-item-active:hover{border-color:#40a9ff}.ant-pagination-item-active:focus-visible{border-color:#40a9ff}.ant-pagination-item-active:hover a{color:#40a9ff}.ant-pagination-item-active:focus-visible a{color:#40a9ff}.ant-pagination-jump-prev,.ant-pagination-jump-next{outline:0}.ant-pagination-jump-prev .ant-pagination-item-container,.ant-pagination-jump-next .ant-pagination-item-container{position:relative}.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon{color:#1890ff;font-size:12px;letter-spacing:-1px;opacity:0;transition:all .2s}.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg{inset:0;margin:auto}.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;inset:0;display:block;margin:auto;color:#00000040;font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .2s}.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon,.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis,.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-prev,.ant-pagination-jump-prev,.ant-pagination-jump-next{margin-right:8px}.ant-pagination-prev,.ant-pagination-next,.ant-pagination-jump-prev,.ant-pagination-jump-next{display:inline-block;min-width:28px;height:28px;color:#000000d9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:28px;text-align:center;vertical-align:middle;list-style:none;border-radius:2px;cursor:pointer;transition:all .3s}.ant-pagination-prev,.ant-pagination-next{font-family:Arial,Helvetica,sans-serif;outline:0}.ant-pagination-prev button,.ant-pagination-next button{color:#000000d9;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-pagination-prev:hover button,.ant-pagination-next:hover button{border-color:#40a9ff}.ant-pagination-prev .ant-pagination-item-link,.ant-pagination-next .ant-pagination-item-link{display:block;width:100%;height:100%;padding:0;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:all .3s}.ant-pagination-prev:focus-visible .ant-pagination-item-link,.ant-pagination-next:focus-visible .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-prev:hover .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-disabled,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:hover .ant-pagination-item-link{color:#00000040;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-disabled:focus-visible{cursor:not-allowed}.ant-pagination-disabled:focus-visible .ant-pagination-item-link{color:#00000040;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}@media all and (-ms-high-contrast: none){.ant-pagination-options *::-ms-backdrop,.ant-pagination-options{vertical-align:top}}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto}.ant-pagination-options-quick-jumper{display:inline-block;height:28px;margin-left:4px;line-height:28px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:#000000d9;font-size:12px;line-height:1.66667;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s;width:50px;height:28px;margin:0 8px}.ant-pagination-options-quick-jumper input::placeholder{color:#bfbfbf;-webkit-user-select:none;user-select:none}.ant-pagination-options-quick-jumper input:placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-pagination-options-quick-jumper input:hover{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input:focus,.ant-pagination-options-quick-jumper input-focused{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-pagination-options-quick-jumper input:focus,.ant-input-rtl .ant-pagination-options-quick-jumper input-focused{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px}.ant-pagination-options-quick-jumper input[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px}.ant-pagination-options-quick-jumper input-borderless,.ant-pagination-options-quick-jumper input-borderless:hover,.ant-pagination-options-quick-jumper input-borderless:focus,.ant-pagination-options-quick-jumper input-borderless-focused,.ant-pagination-options-quick-jumper input-borderless-disabled,.ant-pagination-options-quick-jumper input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{padding:3.4px 11px;font-size:14px}.ant-pagination-options-quick-jumper input-sm{padding:0 7px}.ant-pagination-options-quick-jumper input-rtl{direction:rtl}.ant-pagination-simple .ant-pagination-prev,.ant-pagination-simple .ant-pagination-next{height:22px;line-height:22px;vertical-align:top}.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link{height:22px;background-color:transparent;border:0}.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after{height:22px;line-height:22px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:22px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;outline:none;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}.ant-pagination-simple .ant-pagination-simple-pager input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.ant-pagination-simple .ant-pagination-simple-pager input[disabled]{color:#00000040;background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.mini .ant-pagination-total-text,.ant-pagination.mini .ant-pagination-simple-pager{height:22px;line-height:22px}.ant-pagination.mini .ant-pagination-item{min-width:22px;height:22px;margin:0;line-height:20px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-prev,.ant-pagination.mini .ant-pagination-next{min-width:22px;height:22px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after{height:22px;line-height:22px}.ant-pagination.mini .ant-pagination-jump-prev,.ant-pagination.mini .ant-pagination-jump-next{height:22px;margin-right:0;line-height:22px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-size-changer{top:1px}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:22px;line-height:22px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{padding:0 7px;width:44px;height:22px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:#00000040;background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#e6e6e6}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#00000040}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{color:#00000040;background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{background:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis{opacity:1}.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager{color:#00000040}@media only screen and (max-width: 992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width: 576px){.ant-pagination-options{display:none}}.ant-pagination-rtl .ant-pagination-total-text,.ant-pagination-rtl .ant-pagination-item,.ant-pagination-rtl .ant-pagination-prev,.ant-pagination-rtl .ant-pagination-jump-prev,.ant-pagination-rtl .ant-pagination-jump-next{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-slash{margin:0 5px 0 10px}.ant-pagination-rtl .ant-pagination-options{margin-right:16px;margin-left:0}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper{margin-left:0}.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager,.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input{margin-right:0;margin-left:8px}.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options{margin-right:2px;margin-left:0}nz-pagination{display:block}.ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:left;cursor:auto;-webkit-user-select:text;user-select:text}.ant-popover:after{position:absolute;background:rgba(255,255,255,.01);content:""}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:15.3137085px}.ant-popover-placement-right,.ant-popover-placement-rightTop,.ant-popover-placement-rightBottom{padding-left:15.3137085px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:15.3137085px}.ant-popover-placement-left,.ant-popover-placement-leftTop,.ant-popover-placement-leftBottom{padding-right:15.3137085px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d;box-shadow:0 0 8px #00000026 \ }@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ant-popover-inner{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}}.ant-popover-title{min-width:177px;min-height:28px;margin:0;padding:5px 12px 4px;color:#000000d9;font-weight:500;border-bottom:1px solid #f0f0f0}.ant-popover-inner-content{padding:8px 12px;color:#000000d9}.ant-popover-message{position:relative;padding:4px 0 12px;color:#000000d9;font-size:12px}.ant-popover-message>.anticon{position:absolute;top:8.00002px;color:#faad14;font-size:12px}.ant-popover-message-title{padding-left:20px}.ant-popover-buttons{margin-bottom:4px;text-align:right}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{position:absolute;display:block;width:16px;height:16px;overflow:hidden;background:transparent;pointer-events:none}.ant-popover-arrow-content{position:absolute;inset:0;display:block;width:11.3137085px;height:11.3137085px;margin:auto;background-color:#fff;content:"";pointer-events:auto;border-radius:0 0 2px;pointer-events:none}.ant-popover-arrow-content:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:#fff;background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-popover-placement-top .ant-popover-arrow,.ant-popover-placement-topLeft .ant-popover-arrow,.ant-popover-placement-topRight .ant-popover-arrow{bottom:-.6862915px}.ant-popover-placement-top .ant-popover-arrow-content,.ant-popover-placement-topLeft .ant-popover-arrow-content,.ant-popover-placement-topRight .ant-popover-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translateY(-8px) rotate(45deg)}.ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%)}.ant-popover-placement-topLeft .ant-popover-arrow{left:16px}.ant-popover-placement-topRight .ant-popover-arrow{right:16px}.ant-popover-placement-right .ant-popover-arrow,.ant-popover-placement-rightTop .ant-popover-arrow,.ant-popover-placement-rightBottom .ant-popover-arrow{left:-.6862915px}.ant-popover-placement-right .ant-popover-arrow-content,.ant-popover-placement-rightTop .ant-popover-arrow-content,.ant-popover-placement-rightBottom .ant-popover-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translate(8px) rotate(135deg)}.ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-rightTop .ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom .ant-popover-arrow,.ant-popover-placement-bottomLeft .ant-popover-arrow,.ant-popover-placement-bottomRight .ant-popover-arrow{top:-.6862915px}.ant-popover-placement-bottom .ant-popover-arrow-content,.ant-popover-placement-bottomLeft .ant-popover-arrow-content,.ant-popover-placement-bottomRight .ant-popover-arrow-content{box-shadow:2px 2px 5px #0000000f;transform:translateY(8px) rotate(-135deg)}.ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%)}.ant-popover-placement-bottomLeft .ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight .ant-popover-arrow{right:16px}.ant-popover-placement-left .ant-popover-arrow,.ant-popover-placement-leftTop .ant-popover-arrow,.ant-popover-placement-leftBottom .ant-popover-arrow{right:-.6862915px}.ant-popover-placement-left .ant-popover-arrow-content,.ant-popover-placement-leftTop .ant-popover-arrow-content,.ant-popover-placement-leftBottom .ant-popover-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translate(-8px) rotate(-45deg)}.ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%)}.ant-popover-placement-leftTop .ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}.ant-popover-pink .ant-popover-inner,.ant-popover-pink .ant-popover-arrow-content,.ant-popover-magenta .ant-popover-inner,.ant-popover-magenta .ant-popover-arrow-content{background-color:#eb2f96}.ant-popover-red .ant-popover-inner,.ant-popover-red .ant-popover-arrow-content{background-color:#f5222d}.ant-popover-volcano .ant-popover-inner,.ant-popover-volcano .ant-popover-arrow-content{background-color:#fa541c}.ant-popover-orange .ant-popover-inner,.ant-popover-orange .ant-popover-arrow-content{background-color:#fa8c16}.ant-popover-yellow .ant-popover-inner,.ant-popover-yellow .ant-popover-arrow-content{background-color:#fadb14}.ant-popover-gold .ant-popover-inner,.ant-popover-gold .ant-popover-arrow-content{background-color:#faad14}.ant-popover-cyan .ant-popover-inner,.ant-popover-cyan .ant-popover-arrow-content{background-color:#13c2c2}.ant-popover-lime .ant-popover-inner,.ant-popover-lime .ant-popover-arrow-content{background-color:#a0d911}.ant-popover-green .ant-popover-inner,.ant-popover-green .ant-popover-arrow-content{background-color:#52c41a}.ant-popover-blue .ant-popover-inner,.ant-popover-blue .ant-popover-arrow-content{background-color:#1890ff}.ant-popover-geekblue .ant-popover-inner,.ant-popover-geekblue .ant-popover-arrow-content{background-color:#2f54eb}.ant-popover-purple .ant-popover-inner,.ant-popover-purple .ant-popover-arrow-content{background-color:#722ed1}.ant-popover-rtl{direction:rtl;text-align:right}.ant-popover-rtl .ant-popover-message-title{padding-right:20px;padding-left:8px}.ant-popover-rtl .ant-popover-buttons{text-align:left}.ant-popover-rtl .ant-popover-buttons button{margin-right:8px;margin-left:0}.ant-popover{position:relative}.ant-progress{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-progress-line{position:relative;width:100%;font-size:12px}.ant-progress-steps{display:inline-block}.ant-progress-steps-outer{display:flex;flex-direction:row;align-items:center}.ant-progress-steps-item{flex-shrink:0;min-width:2px;margin-right:2px;background:#f3f3f3;transition:all .3s}.ant-progress-steps-item-active{background:#1890ff}.ant-progress-small.ant-progress-line,.ant-progress-small.ant-progress-line .ant-progress-text .anticon{font-size:12px}.ant-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ant-progress-show-info .ant-progress-outer{margin-right:calc(-2em - 8px);padding-right:calc(2em + 8px)}.ant-progress-inner{position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;background-color:#f5f5f5;border-radius:100px}.ant-progress-circle-trail{stroke:#f5f5f5}.ant-progress-circle-path{animation:ant-progress-appear .3s}.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#1890ff}.ant-progress-success-bg,.ant-progress-bg{position:relative;background-color:#1890ff;border-radius:100px;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.ant-progress-success-bg{position:absolute;top:0;left:0;background-color:#52c41a}.ant-progress-text{display:inline-block;width:2em;margin-left:8px;color:#000000d9;font-size:1em;line-height:1;white-space:nowrap;text-align:left;vertical-align:middle;word-break:normal}.ant-progress-text .anticon{font-size:12px}.ant-progress-status-active .ant-progress-bg:before{position:absolute;inset:0;background:#fff;border-radius:10px;opacity:0;animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;content:""}.ant-progress-status-exception .ant-progress-bg{background-color:#ff4d4f}.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#ff4d4f}.ant-progress-status-success .ant-progress-bg{background-color:#52c41a}.ant-progress-status-success .ant-progress-text{color:#52c41a}.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#52c41a}.ant-progress-circle .ant-progress-inner{position:relative;line-height:1;background-color:transparent}.ant-progress-circle .ant-progress-text{position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:#000000d9;font-size:.833333em;line-height:1;white-space:normal;text-align:center;transform:translate(-50%,-50%)}.ant-progress-circle .ant-progress-text .anticon{font-size:1.16666667em}.ant-progress-circle.ant-progress-status-exception .ant-progress-text{color:#ff4d4f}.ant-progress-circle.ant-progress-status-success .ant-progress-text{color:#52c41a}@keyframes ant-progress-active{0%{transform:translate(-100%) scaleX(0);opacity:.1}20%{transform:translate(-100%) scaleX(0);opacity:.5}to{transform:translate(0) scaleX(1);opacity:0}}.ant-progress-rtl{direction:rtl}.ant-progress-rtl.ant-progress-show-info .ant-progress-outer{margin-right:0;margin-left:calc(-2em - 8px);padding-right:0;padding-left:calc(2em + 8px)}.ant-progress-rtl .ant-progress-success-bg{right:0;left:auto}.ant-progress-rtl.ant-progress-line .ant-progress-text,.ant-progress-rtl.ant-progress-steps .ant-progress-text{margin-right:8px;margin-left:0;text-align:right}.ant-radio-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block;font-size:0}.ant-radio-group .ant-badge-count{z-index:1}.ant-radio-group>.ant-badge:not(:first-child)>.ant-radio-button-wrapper{border-left:none}.ant-radio-wrapper{box-sizing:border-box;margin:0 6px 0 0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-flex;align-items:baseline;cursor:pointer}.ant-radio-wrapper-disabled{cursor:not-allowed}.ant-radio-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-radio-wrapper.ant-radio-wrapper-in-form-item input[type=radio]{width:14px;height:14px}.ant-radio{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:-2px;display:inline-block;outline:none;cursor:pointer}.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner,.ant-radio-input:focus+.ant-radio-inner{border-color:#1890ff}.ant-radio-input:focus+.ant-radio-inner{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;visibility:hidden;animation:antRadioEffect .36s ease-in-out;animation-fill-mode:both;content:""}.ant-radio:hover:after,.ant-radio-wrapper:hover .ant-radio:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;background-color:#fff;border-color:#d9d9d9;border-style:solid;border-width:1px;border-radius:50%;transition:all .3s}.ant-radio-inner:after{position:absolute;top:50%;left:50%;display:block;width:14px;height:14px;margin-top:-7px;margin-left:-7px;background-color:#1890ff;border-top:0;border-left:0;border-radius:14px;transform:scale(0);opacity:0;transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;inset:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#1890ff}.ant-radio-checked .ant-radio-inner:after{transform:scale(.42857143);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled{cursor:not-allowed}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:#0003}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:#00000040;cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:28px;margin:0;padding:0 7px;color:#000000d9;font-size:12px;line-height:26px;background:#fff;border:1px solid #d9d9d9;border-top-width:1.02px;border-left-width:0;cursor:pointer;transition:color .3s,background .3s,border-color .3s,box-shadow .3s}.ant-radio-button-wrapper a{color:#000000d9}.ant-radio-button-wrapper>.ant-radio-button{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.ant-radio-group-large .ant-radio-button-wrapper{height:32px;font-size:14px;line-height:30px}.ant-radio-group-small .ant-radio-button-wrapper{height:22px;padding:0 7px;line-height:20px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:-1px;left:-1px;display:block;box-sizing:content-box;width:1px;height:100%;padding:1px 0;background-color:#d9d9d9;transition:background-color .3s;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:2px 0 0 2px}.ant-radio-button-wrapper:last-child{border-radius:0 2px 2px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:2px}.ant-radio-button-wrapper:hover{position:relative;color:#1890ff}.ant-radio-button-wrapper:focus-within{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#1890ff;background:#fff;border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#40a9ff}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#096dd9}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#1890ff;border-color:#1890ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#40a9ff;border-color:#40a9ff}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#096dd9;border-color:#096dd9}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px #e6f7ff}.ant-radio-button-wrapper-disabled{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:#00000040;background-color:#e6e6e6;border-color:#d9d9d9;box-shadow:none}@keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-radio-group.ant-radio-group-rtl{direction:rtl}.ant-radio-wrapper.ant-radio-wrapper-rtl{margin-right:0;margin-left:6px;direction:rtl}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl{border-right-width:0;border-left-width:1px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child):before{right:-1px;left:0}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child{border-right:1px solid #d9d9d9;border-radius:0 2px 2px 0}.ant-radio-button-wrapper-checked:not([class*=" ant-radio-button-wrapper-disabled"]).ant-radio-button-wrapper:first-child{border-right-color:#40a9ff}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child{border-radius:2px 0 0 2px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child{border-right-color:#d9d9d9}.ant-radio+span:empty{display:none}.ant-rate{box-sizing:border-box;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";display:inline-block;margin:0;padding:0;color:#fadb14;font-size:16px;line-height:unset;list-style:none;outline:none}.ant-rate-disabled .ant-rate-star{cursor:default}.ant-rate-disabled .ant-rate-star>div:hover{transform:scale(1)}.ant-rate-star{position:relative;display:inline-block;color:inherit;cursor:pointer}.ant-rate-star:not(:last-child){margin-right:8px}.ant-rate-star>div{transition:all .3s,outline 0s}.ant-rate-star>div:hover{transform:scale(1.1)}.ant-rate-star>div:focus{outline:0}.ant-rate-star>div:focus-visible{outline:1px dashed #fadb14;transform:scale(1.1)}.ant-rate-star-first,.ant-rate-star-second{color:#f0f0f0;transition:all .3s;-webkit-user-select:none;user-select:none}.ant-rate-star-first .anticon,.ant-rate-star-second .anticon{vertical-align:middle}.ant-rate-star-first{position:absolute;top:0;left:0;width:50%;height:100%;overflow:hidden;opacity:0}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-half .ant-rate-star-second{opacity:1}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-full .ant-rate-star-second{color:inherit}.ant-rate-text{display:inline-block;margin:0 8px;font-size:12px}.ant-rate-rtl{direction:rtl}.ant-rate-rtl .ant-rate-star:not(:last-child){margin-right:0;margin-left:8px}.ant-rate-rtl .ant-rate-star-first{right:0;left:auto}.ant-select-single .ant-select-selector{display:flex}.ant-select-single .ant-select-selector .ant-select-selection-search{position:absolute;inset:0 7px}.ant-select-single .ant-select-selector .ant-select-selection-search-input{width:100%}.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{padding:0;line-height:26px;transition:all .3s}@supports (-moz-appearance: meterbar){.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:26px}}.ant-select-single .ant-select-selector .ant-select-selection-item{position:relative;-webkit-user-select:none;user-select:none}.ant-select-single .ant-select-selector .ant-select-selection-placeholder{transition:none;pointer-events:none}.ant-select-single .ant-select-selector:after,.ant-select-single .ant-select-selector .ant-select-selection-item:after,.ant-select-single .ant-select-selector .ant-select-selection-placeholder:after{display:inline-block;width:0;visibility:hidden;content:"\a0"}.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:19px}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:15px}.ant-select-single.ant-select-open .ant-select-selection-item{color:#bfbfbf}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{width:100%;height:28px;padding:0 7px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{height:26px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{line-height:26px}.ant-select-single.ant-select-customize-input .ant-select-selector:after{display:none}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search{position:static;width:100%}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder{position:absolute;right:0;left:0;padding:0 7px}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder:after{display:none}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:32px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder{line-height:30px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:30px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder{line-height:20px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:20px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search{right:7px;left:7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{padding:0 7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:25px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:18px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{padding:0 11px}.ant-select-selection-overflow{position:relative;display:flex;flex:auto;flex-wrap:wrap;max-width:100%}.ant-select-selection-overflow-item{flex:none;align-self:center;max-width:100%}.ant-select-multiple .ant-select-selector{display:flex;flex-wrap:wrap;align-items:center;padding:0 3px}.ant-select-show-search.ant-select-multiple .ant-select-selector{cursor:text}.ant-select-disabled.ant-select-multiple .ant-select-selector{background:#f5f5f5;cursor:not-allowed}.ant-select-multiple .ant-select-selector:after{display:inline-block;width:0;margin:3px 0;line-height:20px;content:"\a0"}.ant-select-multiple.ant-select-show-arrow .ant-select-selector,.ant-select-multiple.ant-select-allow-clear .ant-select-selector{padding-right:20px}.ant-select-multiple .ant-select-selection-item{position:relative;display:flex;flex:none;box-sizing:border-box;max-width:100%;height:20px;margin-top:3px;margin-bottom:3px;line-height:18px;background:#f5f5f5;border:1px solid #f0f0f0;border-radius:2px;cursor:default;transition:font-size .3s,line-height .3s,height .3s;-webkit-user-select:none;user-select:none;margin-inline-end:3px;padding-inline-start:4px;padding-inline-end:2px}.ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:#bfbfbf;border-color:#d9d9d9;cursor:not-allowed}.ant-select-multiple .ant-select-selection-item-content{display:inline-block;margin-right:2px;overflow:hidden;white-space:pre;text-overflow:ellipsis}.ant-select-multiple .ant-select-selection-item-remove{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;color:#00000073;font-weight:700;font-size:10px;line-height:inherit;cursor:pointer}.ant-select-multiple .ant-select-selection-item-remove>*{line-height:1}.ant-select-multiple .ant-select-selection-item-remove svg{display:inline-block}.ant-select-multiple .ant-select-selection-item-remove:before{display:none}.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon{display:block}.ant-select-multiple .ant-select-selection-item-remove>.anticon{vertical-align:middle}.ant-select-multiple .ant-select-selection-item-remove:hover{color:#000000bf}.ant-select-multiple .ant-select-selection-overflow-item+.ant-select-selection-overflow-item .ant-select-selection-search{margin-inline-start:0}.ant-select-multiple .ant-select-selection-search{position:relative;max-width:100%;margin-inline-start:4px}.ant-select-multiple .ant-select-selection-search-input,.ant-select-multiple .ant-select-selection-search-mirror{height:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:20px;transition:all .3s}.ant-select-multiple .ant-select-selection-search-input{width:100%;min-width:4.1px}.ant-select-multiple .ant-select-selection-search-mirror{position:absolute;top:0;left:0;z-index:999;white-space:pre;visibility:hidden}.ant-select-multiple .ant-select-selection-placeholder{position:absolute;top:50%;right:7px;left:7px;transform:translateY(-50%);transition:all .3s}.ant-select-multiple.ant-select-lg .ant-select-selector:after{line-height:26px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:26px;line-height:24px}.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:26px;line-height:26px}.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror{height:26px;line-height:24px}.ant-select-multiple.ant-select-sm .ant-select-selector:after{line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:16px;line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{left:7px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{margin-inline-start:3px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:24px;line-height:24px}.ant-select-disabled .ant-select-selection-item-remove{display:none}.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#ff4d4f!important}.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector{border-color:#ff7875;box-shadow:0 0 0 2px #ff4d4f33;border-right-width:1px;outline:0}.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#faad14!important}.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector{border-color:#ffc53d;box-shadow:0 0 0 2px #faad1433;border-right-width:1px;outline:0}.ant-select-status-error.ant-select-has-feedback .ant-select-clear,.ant-select-status-warning.ant-select-has-feedback .ant-select-clear,.ant-select-status-success.ant-select-has-feedback .ant-select-clear,.ant-select-status-validating.ant-select-has-feedback .ant-select-clear{right:32px}.ant-select-status-error.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-warning.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-success.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-validating.ant-select-has-feedback .ant-select-selection-selected-value{padding-right:42px}.ant-select{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;cursor:pointer}.ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:pointer}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:text}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:auto}.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:#00000040;background:#f5f5f5;cursor:not-allowed}.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{background:#f5f5f5}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:not-allowed}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{margin:0;padding:0;background:transparent;border:none;outline:none;-webkit-appearance:none;appearance:none}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-selection-item{flex:1;overflow:hidden;font-weight:400;white-space:nowrap;text-overflow:ellipsis}@media all and (-ms-high-contrast: none){.ant-select-selection-item *::-ms-backdrop,.ant-select-selection-item{flex:auto}}.ant-select-selection-placeholder{flex:1;overflow:hidden;color:#bfbfbf;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}@media all and (-ms-high-contrast: none){.ant-select-selection-placeholder *::-ms-backdrop,.ant-select-selection-placeholder{flex:auto}}.ant-select-arrow{display:inline-block;color:inherit;font-style:normal;line-height:0;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;right:7px;display:flex;align-items:center;height:12px;margin-top:-6px;color:#00000040;font-size:12px;line-height:1;text-align:center;pointer-events:none}.ant-select-arrow>*{line-height:1}.ant-select-arrow svg{display:inline-block}.ant-select-arrow:before{display:none}.ant-select-arrow .ant-select-arrow-icon{display:block}.ant-select-arrow .anticon{vertical-align:top;transition:transform .3s}.ant-select-arrow .anticon>svg{vertical-align:top}.ant-select-arrow .anticon:not(.ant-select-suffix){pointer-events:auto}.ant-select-disabled .ant-select-arrow{cursor:not-allowed}.ant-select-arrow>*:not(:last-child){margin-inline-end:4px}.ant-select-clear{position:absolute;top:50%;right:7px;z-index:1;display:inline-block;width:12px;height:12px;margin-top:-6px;color:#00000040;font-size:12px;font-style:normal;line-height:1;text-align:center;text-transform:none;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease;text-rendering:auto}.ant-select-clear:before{display:block}.ant-select-clear:hover{color:#00000073}.ant-select:hover .ant-select-clear{opacity:1}.ant-select-dropdown{margin:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;padding:4px 0;overflow:hidden;font-size:12px;font-variant:initial;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft,.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpIn}.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft,.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownIn}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpOut}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownOut}.ant-select-dropdown-empty{color:#00000040}.ant-select-item-empty{position:relative;display:block;min-height:28px;padding:5px 8px;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;color:#00000040}.ant-select-item{position:relative;display:block;min-height:28px;padding:5px 8px;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;cursor:pointer;transition:background .3s ease}.ant-select-item-group{color:#00000073;font-size:12px;cursor:default}.ant-select-item-option{display:flex}.ant-select-item-option-content{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-select-item-option-state{flex:none}.ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#f5f5f5}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#000000d9;font-weight:600;background-color:#e6f7ff}.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state{color:#1890ff}.ant-select-item-option-disabled{color:#00000040;cursor:not-allowed}.ant-select-item-option-disabled.ant-select-item-option-selected{background-color:#f5f5f5}.ant-select-item-option-grouped{padding-left:16px}.ant-select-lg{font-size:14px}.ant-select-borderless .ant-select-selector{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-select.ant-select-in-form-item{width:100%}.ant-select-rtl{direction:rtl}.ant-select-rtl .ant-select-arrow,.ant-select-rtl .ant-select-clear{right:initial;left:7px}.ant-select-dropdown-rtl{direction:rtl}.ant-select-dropdown-rtl .ant-select-item-option-grouped{padding-right:16px;padding-left:8px}.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector,.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector{padding-right:3px;padding-left:20px}.ant-select-rtl.ant-select-multiple .ant-select-selection-item{text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content{margin-right:0;margin-left:2px;text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror{right:0;left:auto}.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder{right:7px;left:auto}.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{right:7px}.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder{right:0;left:9px;text-align:right}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:7px;left:19px}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:15px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:6px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:18px}.ant-select-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;display:block}.ant-select-dropdown .cdk-virtual-scroll-content-wrapper{right:0}.ant-select-dropdown .full-width{contain:initial}.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper{position:static}.ant-select-dropdown .full-width .cdk-virtual-scroll-spacer{position:absolute;top:0;width:1px}.segmented-disabled-item,.segmented-disabled-item:hover,.segmented-disabled-item:focus{color:#00000040;cursor:not-allowed}.segmented-item-selected{background-color:#fff;border-radius:2px;box-shadow:0 2px 8px -2px #0000000d,0 1px 4px -1px #00000012,0 0 1px #00000014}.segmented-text-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-segmented{box-sizing:border-box;margin:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block;padding:2px;color:#000000a6;background-color:#0000000a;border-radius:2px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-segmented-group{position:relative;display:flex;align-items:stretch;justify-items:flex-start;width:100%}.ant-segmented.ant-segmented-block{display:flex}.ant-segmented.ant-segmented-block .ant-segmented-item{flex:1;min-width:0}.ant-segmented:not(.ant-segmented-disabled):hover,.ant-segmented:not(.ant-segmented-disabled):focus{background-color:#0000000f}.ant-segmented-item{position:relative;text-align:center;cursor:pointer;transition:color .3s cubic-bezier(.645,.045,.355,1)}.ant-segmented-item-selected{background-color:#fff;border-radius:2px;box-shadow:0 2px 8px -2px #0000000d,0 1px 4px -1px #00000012,0 0 1px #00000014;color:#262626}.ant-segmented-item:hover,.ant-segmented-item:focus{color:#262626}.ant-segmented-item-label{min-height:24px;padding:0 7px;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-segmented-item-icon+*{margin-left:8px / 2}.ant-segmented-item-input{position:absolute;top:0;left:0;width:0;height:0;opacity:0;pointer-events:none}.ant-segmented.ant-segmented-lg .ant-segmented-item-label{min-height:28px;padding:0 11px;font-size:14px;line-height:28px}.ant-segmented.ant-segmented-sm .ant-segmented-item-label{min-height:18px;padding:0 7px;line-height:18px}.ant-segmented-item-disabled,.ant-segmented-item-disabled:hover,.ant-segmented-item-disabled:focus{color:#00000040;cursor:not-allowed}.ant-segmented-thumb{background-color:#fff;border-radius:2px;box-shadow:0 2px 8px -2px #0000000d,0 1px 4px -1px #00000012,0 0 1px #00000014;position:absolute;top:0;left:0;width:0;height:100%;padding:4px 0}.ant-segmented-thumb-motion-appear-active{transition:transform .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1);will-change:transform,width}.ant-segmented.ant-segmented-rtl{direction:rtl}.ant-segmented.ant-segmented-rtl .ant-segmented-item-icon{margin-right:0;margin-left:6px}.ant-skeleton{display:table;width:100%}.ant-skeleton-header{display:table-cell;padding-right:8px;vertical-align:top}.ant-skeleton-header .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);width:28px;height:28px;line-height:28px}.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-lg{width:32px;height:32px;line-height:32px}.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-sm{width:22px;height:22px;line-height:22px}.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-content{display:table-cell;width:100%;vertical-align:top}.ant-skeleton-content .ant-skeleton-title{width:100%;height:14px;margin-top:8px;background:rgba(190,190,190,.2);border-radius:4px}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:20px}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{width:100%;height:14px;list-style:none;background:rgba(190,190,190,.2);border-radius:4px}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:12px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{margin-top:8px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:20px}.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title,.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph>li{border-radius:100px}.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li{background:linear-gradient(90deg,rgba(190,190,190,.2) 25%,rgba(129,129,129,.24) 37%,rgba(190,190,190,.2) 63%);background-size:400% 100%;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-button,.ant-skeleton.ant-skeleton-active .ant-skeleton-input,.ant-skeleton.ant-skeleton-active .ant-skeleton-image{background:linear-gradient(90deg,rgba(190,190,190,.2) 25%,rgba(129,129,129,.24) 37%,rgba(190,190,190,.2) 63%);background-size:400% 100%;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton.ant-skeleton-block,.ant-skeleton.ant-skeleton-block .ant-skeleton-button,.ant-skeleton.ant-skeleton-block .ant-skeleton-input{width:100%}.ant-skeleton-element{display:inline-block;width:auto}.ant-skeleton-element .ant-skeleton-button{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);border-radius:2px;width:56px;min-width:56px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle{width:28px;min-width:28px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round{border-radius:28px}.ant-skeleton-element .ant-skeleton-button-lg{width:64px;min-width:64px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle{width:32px;min-width:32px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round{border-radius:32px}.ant-skeleton-element .ant-skeleton-button-sm{width:44px;min-width:44px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle{width:22px;min-width:22px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round{border-radius:22px}.ant-skeleton-element .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);width:28px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-lg{width:32px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-sm{width:22px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-input{display:inline-block;vertical-align:top;background:rgba(190,190,190,.2);width:140px;min-width:140px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-input-lg{width:160px;min-width:160px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-input-sm{width:110px;min-width:110px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-image{display:flex;align-items:center;justify-content:center;vertical-align:top;background:rgba(190,190,190,.2);width:96px;height:96px;line-height:96px}.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-image-path{fill:#bfbfbf}.ant-skeleton-element .ant-skeleton-image-svg{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px}.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle{border-radius:50%}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.ant-skeleton-rtl{direction:rtl}.ant-skeleton-rtl .ant-skeleton-header{padding-right:0;padding-left:16px}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li{animation-name:ant-skeleton-loading-rtl}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar{animation-name:ant-skeleton-loading-rtl}@keyframes ant-skeleton-loading-rtl{0%{background-position:0% 50%}to{background-position:100% 50%}}.ant-slider{box-sizing:border-box;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;height:12px;margin:10px 6px;padding:4px 0;cursor:pointer;touch-action:none}.ant-slider-vertical{width:12px;height:100%;margin:6px 10px;padding:0 4px}.ant-slider-vertical .ant-slider-rail{width:4px;height:100%}.ant-slider-vertical .ant-slider-track{width:4px}.ant-slider-vertical .ant-slider-handle{margin-top:-6px;margin-left:-5px}.ant-slider-vertical .ant-slider-mark{top:0;left:12px;width:18px;height:100%}.ant-slider-vertical .ant-slider-mark-text{left:4px;white-space:nowrap}.ant-slider-vertical .ant-slider-step{width:4px;height:100%}.ant-slider-vertical .ant-slider-dot{top:auto;margin-left:-2px}.ant-slider-tooltip .ant-tooltip-inner{min-width:unset}.ant-slider-rtl.ant-slider-vertical .ant-slider-handle{margin-right:-5px;margin-left:0}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark{right:12px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text{right:4px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-dot{right:2px;left:auto}.ant-slider-with-marks{margin-bottom:28px}.ant-slider-rail{position:absolute;width:100%;height:4px;background-color:#f5f5f5;border-radius:2px;transition:background-color .3s}.ant-slider-track{position:absolute;height:4px;background-color:#91d5ff;border-radius:2px;transition:background-color .3s}.ant-slider-handle{position:absolute;width:12px;height:12px;margin-top:-4px;background-color:#fff;border:solid 2px #91d5ff;border-radius:50%;box-shadow:0;cursor:pointer;transition:border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18,.89,.32,1.28)}.ant-slider-handle-dragging{z-index:1}.ant-slider-handle:focus{border-color:#46a6ff;outline:none;box-shadow:0 0 0 5px #1890ff1f}.ant-slider-handle.ant-tooltip-open{border-color:#1890ff}.ant-slider:hover .ant-slider-rail{background-color:#e1e1e1}.ant-slider:hover .ant-slider-track{background-color:#69c0ff}.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open){border-color:#69c0ff}.ant-slider-mark{position:absolute;top:14px;left:0;width:100%;font-size:12px}.ant-slider-mark-text{position:absolute;display:inline-block;color:#00000073;text-align:center;word-break:keep-all;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-slider-mark-text-active{color:#000000d9}.ant-slider-step{position:absolute;width:100%;height:4px;background:transparent;pointer-events:none}.ant-slider-dot{position:absolute;top:-2px;width:8px;height:8px;background-color:#fff;border:2px solid #f0f0f0;border-radius:50%;cursor:pointer}.ant-slider-dot-active{border-color:#8cc8ff}.ant-slider-disabled{cursor:not-allowed}.ant-slider-disabled .ant-slider-rail{background-color:#f5f5f5!important}.ant-slider-disabled .ant-slider-track{background-color:#00000040!important}.ant-slider-disabled .ant-slider-handle,.ant-slider-disabled .ant-slider-dot{background-color:#fff;border-color:#00000040!important;box-shadow:none;cursor:not-allowed}.ant-slider-disabled .ant-slider-mark-text,.ant-slider-disabled .ant-slider-dot{cursor:not-allowed!important}.ant-slider-rtl{direction:rtl}.ant-slider-rtl .ant-slider-mark{right:0;left:auto}.ant-spin{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;display:none;color:#1890ff;text-align:center;vertical-align:middle;opacity:0;transition:transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:6px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:3px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:12px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s}.ant-spin-container:after{position:absolute;inset:0;z-index:10;display:none \ ;width:100%;height:100%;background:#fff;opacity:0;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:#00000073}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}.ant-spin-dot-item:nth-child(1){top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(0);animation:antRotate 1.2s infinite linear}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ant-spin-blur{background:#fff;opacity:.5}}@keyframes antSpinMove{to{opacity:1}}@keyframes antRotate{to{transform:rotate(360deg)}}.ant-spin-rtl{direction:rtl}.ant-spin-rtl .ant-spin-dot-spin{transform:rotate(-45deg);animation-name:antRotateRtl}@keyframes antRotateRtl{to{transform:rotate(-405deg)}}nz-spin{display:block}.ant-statistic{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:0;color:#00000073;font-size:12px}.ant-statistic-content{color:#000000d9;font-size:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}.ant-steps{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:flex;width:100%;font-size:0;text-align:initial}.ant-steps-item{position:relative;display:inline-block;flex:1;overflow:hidden;vertical-align:top}.ant-steps-item-container{outline:none}.ant-steps-item:last-child{flex:none}.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-tail,.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-item-icon,.ant-steps-item-content{display:inline-block;vertical-align:top}.ant-steps-item-icon{width:24px;height:24px;margin:2px 8px 2px 0;font-size:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:24px;text-align:center;border:1px solid rgba(0,0,0,.25);border-radius:24px;transition:background-color .3s,border-color .3s}.ant-steps-item-icon .ant-steps-icon{position:relative;top:0;color:#1890ff;line-height:1}.ant-steps-item-tail{position:absolute;top:12px;left:0;width:100%;padding:0 10px}.ant-steps-item-tail:after{display:inline-block;width:100%;height:1px;background:#f0f0f0;border-radius:1px;transition:background .3s;content:""}.ant-steps-item-title{position:relative;display:inline-block;padding-right:16px;color:#000000d9;font-size:14px;line-height:28px}.ant-steps-item-title:after{position:absolute;top:14px;left:100%;display:block;width:9999px;height:1px;background:#f0f0f0;content:""}.ant-steps-item-subtitle{display:inline;margin-left:8px;color:#00000073;font-weight:400;font-size:12px}.ant-steps-item-description{color:#00000073;font-size:12px}.ant-steps-item-wait .ant-steps-item-icon{background-color:#fff;border-color:#00000040}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon{color:#00000040}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:rgba(0,0,0,.25)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#00000073}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#00000073}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#000000d9}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#000000d9}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon{background:#1890ff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon .ant-steps-icon{color:#fff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-title{font-weight:500}.ant-steps-item-finish .ant-steps-item-icon{background-color:#fff;border-color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#000000d9}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#1890ff}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#00000073}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#1890ff}.ant-steps-item-error .ant-steps-item-icon{background-color:#fff;border-color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon{color:#ff4d4f}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#f0f0f0}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#ff4d4f}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#f0f0f0}.ant-steps-item.ant-steps-next-error .ant-steps-item-title:after{background:#ff4d4f}.ant-steps-item-disabled{cursor:not-allowed}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]{cursor:pointer}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-title,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-icon .ant-steps-icon{transition:color .3s}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-title,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-description{color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon{border-color:#1890ff}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon{color:#1890ff}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:16px;white-space:nowrap}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-right:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-tail{display:none}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-description{max-width:140px;white-space:normal}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon{height:auto;background:none;border:0}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon>.ant-steps-icon{top:2px;left:.5px;width:20px;height:20px;font-size:20px;line-height:20px}.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}.ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon{width:auto;background:none}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:12px}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-small .ant-steps-item-icon{width:20px;height:20px;margin:0 8px 0 0;font-size:12px;line-height:20px;text-align:center;border-radius:20px}.ant-steps-small .ant-steps-item-title{padding-right:12px;font-size:12px;line-height:20px}.ant-steps-small .ant-steps-item-title:after{top:10px}.ant-steps-small .ant-steps-item-description{color:#00000073;font-size:12px}.ant-steps-small .ant-steps-item-tail{top:8px}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon{width:inherit;height:inherit;line-height:inherit;background:none;border:0;border-radius:0}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{font-size:20px;line-height:20px;transform:none}.ant-steps-vertical{display:flex;flex-direction:column}.ant-steps-vertical>.ant-steps-item{display:block;flex:1 0 auto;padding-left:0;overflow:visible}.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:left;margin-right:12px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-content{display:block;min-height:48px;overflow:hidden}.ant-steps-vertical>.ant-steps-item .ant-steps-item-title{line-height:24px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-description{padding-bottom:12px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{position:absolute;top:0;left:12px;width:1px;height:100%;padding:30px 0 6px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail:after{width:1px;height:100%}.ant-steps-vertical>.ant-steps-item:not(:last-child)>.ant-steps-item-container>.ant-steps-item-tail{display:block}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{position:absolute;top:0;left:10px;padding:26px 0 6px}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title{line-height:20px}.ant-steps-label-vertical .ant-steps-item{overflow:visible}.ant-steps-label-vertical .ant-steps-item-tail{margin-left:58px;padding:3.5px 24px}.ant-steps-label-vertical .ant-steps-item-content{display:block;width:108px;margin-top:8px;text-align:center}.ant-steps-label-vertical .ant-steps-item-icon{display:inline-block;margin-left:42px}.ant-steps-label-vertical .ant-steps-item-title{padding-right:0;padding-left:0}.ant-steps-label-vertical .ant-steps-item-title:after{display:none}.ant-steps-label-vertical .ant-steps-item-subtitle{display:block;margin-bottom:4px;margin-left:0;line-height:1.66667}.ant-steps-label-vertical.ant-steps-small:not(.ant-steps-dot) .ant-steps-item-icon{margin-left:46px}.ant-steps-dot .ant-steps-item-title,.ant-steps-dot.ant-steps-small .ant-steps-item-title{line-height:1.66667}.ant-steps-dot .ant-steps-item-tail,.ant-steps-dot.ant-steps-small .ant-steps-item-tail{top:4px;width:100%;margin:0 0 0 70px;padding:0}.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{width:calc(100% - 20px);height:3px;margin-left:12px}.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{left:2px}.ant-steps-dot .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-icon{width:8px;height:8px;margin-left:67px;padding-right:0;line-height:8px;background:transparent;border:0}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{position:relative;float:left;width:100%;height:100%;border-radius:100px;transition:all .3s}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{position:absolute;top:-12px;left:-26px;width:60px;height:32px;background:rgba(0,0,0,.001);content:""}.ant-steps-dot .ant-steps-item-content,.ant-steps-dot.ant-steps-small .ant-steps-item-content{width:140px}.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon{position:relative;top:-1px;width:10px;height:10px;line-height:10px;background:none}.ant-steps-dot .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-top:13px;margin-left:0;background:none}.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:6.5px;left:-9px;margin:0;padding:22px 0 4px}.ant-steps-vertical.ant-steps-dot.ant-steps-small .ant-steps-item-icon{margin-top:10px}.ant-steps-vertical.ant-steps-dot.ant-steps-small .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:3.5px}.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-content{width:inherit}.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-item-container .ant-steps-item-icon .ant-steps-icon-dot{top:-1px;left:-1px}.ant-steps-navigation{padding-top:12px}.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-left:-12px}.ant-steps-navigation .ant-steps-item{overflow:visible;text-align:center}.ant-steps-navigation .ant-steps-item-container{display:inline-block;height:100%;margin-left:-16px;padding-bottom:12px;text-align:left;transition:opacity .3s}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-content{max-width:auto}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{max-width:100%;padding-right:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title:after{display:none}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]{cursor:pointer}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]:hover{opacity:.85}.ant-steps-navigation .ant-steps-item:last-child{flex:1}.ant-steps-navigation .ant-steps-item:last-child:after{display:none}.ant-steps-navigation .ant-steps-item:after{position:absolute;top:50%;left:100%;display:inline-block;width:12px;height:12px;margin-top:-14px;margin-left:-2px;border:1px solid rgba(0,0,0,.25);border-bottom:none;border-left:none;transform:rotate(45deg);content:""}.ant-steps-navigation .ant-steps-item:before{position:absolute;bottom:0;left:50%;display:inline-block;width:0;height:2px;background-color:#1890ff;transition:width .3s,left .3s;transition-timing-function:ease-out;content:""}.ant-steps-navigation .ant-steps-item.ant-steps-item-active:before{left:0;width:100%}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item{margin-right:0!important}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:before{display:none}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item.ant-steps-item-active:before{top:0;right:0;left:unset;display:block;width:3px;height:calc(100% - 24px)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:after{position:relative;top:-2px;left:50%;display:block;width:8px;height:8px;margin-bottom:8px;text-align:center;transform:rotate(135deg)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}.ant-steps-navigation.ant-steps-horizontal>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}.ant-steps-rtl{direction:rtl}.ant-steps.ant-steps-rtl .ant-steps-item-icon{margin-right:0;margin-left:8px}.ant-steps-rtl .ant-steps-item-tail{right:0;left:auto}.ant-steps-rtl .ant-steps-item-title{padding-right:0;padding-left:16px}.ant-steps-rtl .ant-steps-item-title .ant-steps-item-subtitle{float:left;margin-right:8px;margin-left:0}.ant-steps-rtl .ant-steps-item-title:after{right:100%;left:auto}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:16px;padding-left:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-left:0}.ant-steps-rtl .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{right:.5px;left:auto}.ant-steps-rtl.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-right:-12px;margin-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container{margin-right:-16px;margin-left:0;text-align:right}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item:after{right:100%;left:auto;margin-right:-2px;margin-left:0;transform:rotate(225deg)}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:12px;padding-left:0}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-small .ant-steps-item-title{padding-right:0;padding-left:12px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:right;margin-right:0;margin-left:12px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:12px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{right:10px;left:auto}.ant-steps-rtl.ant-steps-label-vertical .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail{margin:0 70px 0 0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{margin-right:12px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{right:2px;left:auto}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon{margin-right:67px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{float:right}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{right:-26px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:-9px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{right:0;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-icon-dot{right:-2px;left:auto}.ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child{padding-right:4px;padding-left:0}.ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child.ant-steps-item-active{padding-right:4px}.ant-steps-with-progress .ant-steps-item{padding-top:4px}.ant-steps-with-progress .ant-steps-item .ant-steps-item-tail{top:4px!important}.ant-steps-with-progress.ant-steps-horizontal .ant-steps-item:first-child{padding-bottom:4px;padding-left:4px}.ant-steps-with-progress .ant-steps-item-icon{position:relative}.ant-steps-with-progress .ant-steps-item-icon .ant-progress{position:absolute;inset:-5px}.ant-switch{margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;box-sizing:border-box;min-width:40px;height:20px;line-height:20px;vertical-align:middle;background-image:linear-gradient(to right,rgba(0,0,0,.25),rgba(0,0,0,.25)),linear-gradient(to right,#fff,#fff);border:0;border-radius:100px;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.ant-switch:focus{outline:0;box-shadow:0 0 0 2px #0000001a}.ant-switch-checked:focus{box-shadow:0 0 0 2px #e6f7ff}.ant-switch:focus:hover{box-shadow:none}.ant-switch-checked{background:#1890ff}.ant-switch-loading,.ant-switch-disabled{cursor:not-allowed;opacity:.4}.ant-switch-loading *,.ant-switch-disabled *{box-shadow:none;cursor:not-allowed}.ant-switch-inner{display:block;margin:0 4px 0 22px;color:#fff;font-size:12px;transition:margin .2s}.ant-switch-checked .ant-switch-inner{margin:0 22px 0 4px}.ant-switch-handle{position:absolute;top:2px;left:2px;width:16px;height:16px;transition:all .2s ease-in-out}.ant-switch-handle:before{position:absolute;inset:0;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #00230b33;transition:all .2s ease-in-out;content:""}.ant-switch-checked .ant-switch-handle{left:calc(100% - 18px)}.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle:before{right:-30%;left:0}.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle:before{right:0;left:-30%}.ant-switch-loading-icon.anticon{position:relative;top:2px;color:#000000a6;vertical-align:top}.ant-switch-checked .ant-switch-loading-icon{color:#1890ff}.ant-switch-small{min-width:24px;height:14px;line-height:14px}.ant-switch-small .ant-switch-inner{margin:0 5px 0 16px;font-size:12px}.ant-switch-small .ant-switch-handle{width:10px;height:10px}.ant-switch-small .ant-switch-loading-icon{top:.5px;font-size:9px}.ant-switch-small.ant-switch-checked .ant-switch-inner{margin:0 16px 0 5px}.ant-switch-small.ant-switch-checked .ant-switch-handle{left:calc(100% - 12px)}.ant-switch-rtl{direction:rtl}.ant-switch-rtl .ant-switch-inner{margin:0 22px 0 4px}.ant-switch-rtl .ant-switch-handle{right:2px;left:auto}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle:before{right:0;left:-30%}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle:before{right:-30%;left:0}.ant-switch-rtl.ant-switch-checked .ant-switch-inner{margin:0 4px 0 22px}.ant-switch-rtl.ant-switch-checked .ant-switch-handle{right:calc(100% - 18px)}.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle{right:calc(100% - 12px)}nz-switch{display:inline-block}.ant-table.ant-table-middle{font-size:12px}.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle tfoot>tr>th,.ant-table.ant-table-middle tfoot>tr>td{padding:8px}.ant-table.ant-table-middle .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 25px}.ant-table.ant-table-middle .ant-table-selection-column{padding-inline-start:2px}.ant-table.ant-table-small{font-size:12px}.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small tfoot>tr>th,.ant-table.ant-table-small tfoot>tr>td{padding:4px}.ant-table.ant-table-small .ant-table-filter-trigger{margin-right:-2px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-4px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-4px -4px -4px 21px}.ant-table.ant-table-small .ant-table-selection-column{padding-inline-start:1px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #f0f0f0;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border-left:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>td{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th:before{background-color:transparent!important}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #f0f0f0;content:""}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{border-top:1px solid #f0f0f0}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-4px -5px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #f0f0f0;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar:not([rowspan]){box-shadow:0 1px 0 1px #fafafa}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{display:table;content:""}.ant-table-wrapper:after{display:table;clear:both;content:""}.ant-table{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;font-size:12px;background:#fff;border-radius:2px}.ant-table table{width:100%;text-align:left;border-radius:2px 2px 0 0;border-collapse:separate;border-spacing:0}.ant-table-thead>tr>th,.ant-table-tbody>tr>td,.ant-table tfoot>tr>th,.ant-table tfoot>tr>td{position:relative;padding:12px 8px;overflow-wrap:break-word}.ant-table-cell-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-cell-ellipsis .ant-table-column-title{overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.ant-table-title{padding:12px 8px}.ant-table-footer{padding:12px 8px;color:#000000d9;background:#fafafa}.ant-table-thead>tr>th{position:relative;color:#000000d9;font-weight:500;text-align:left;background:#fafafa;border-bottom:1px solid #f0f0f0;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{position:absolute;top:50%;right:0;width:1px;height:1.6em;background-color:#0000000f;transform:translateY(-50%);transition:background-color .3s;content:""}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #f0f0f0;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 25px}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td,.ant-table-tbody>tr>td.ant-table-cell-row-hover{background:#fafafa}.ant-table-tbody>tr.ant-table-row-selected>td{background:#e6f7ff;border-color:#00000008}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#dcf4ff}.ant-table-summary{position:relative;z-index:2;background:#fff}div.ant-table-summary{box-shadow:0 -1px #f0f0f0}.ant-table-summary>tr>th,.ant-table-summary>tr>td{border-bottom:1px solid #f0f0f0}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex;flex-wrap:wrap;row-gap:4px}.ant-table-pagination>*{flex:none}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{outline:none;cursor:pointer;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:rgba(0,0,0,.04)}.ant-table-thead th.ant-table-column-has-sorters:hover:before{background-color:transparent!important}.ant-table-thead th.ant-table-column-has-sorters:focus-visible{color:#1890ff}.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover,.ant-table-thead th.ant-table-column-sort{background:#f5f5f5}.ant-table-thead th.ant-table-column-sort:before{background-color:transparent!important}td.ant-table-column-sort{background:#fafafa}.ant-table-column-title{position:relative;z-index:1;flex:1}.ant-table-column-sorters{display:flex;flex:auto;align-items:center;justify-content:space-between}.ant-table-column-sorters:after{position:absolute;inset:0;width:100%;height:100%;content:""}.ant-table-column-sorter{margin-left:4px;color:#bfbfbf;font-size:0;transition:color .3s}.ant-table-column-sorter-inner{display:inline-flex;flex-direction:column;align-items:center}.ant-table-column-sorter-up,.ant-table-column-sorter-down{font-size:11px}.ant-table-column-sorter-up.active,.ant-table-column-sorter-down.active{color:#1890ff}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-column-sorters:hover .ant-table-column-sorter{color:#a6a6a6}.ant-table-filter-column{display:flex;justify-content:space-between}.ant-table-filter-trigger{position:relative;display:flex;align-items:center;margin:-4px -4px -4px 4px;padding:0 4px;color:#bfbfbf;font-size:12px;border-radius:2px;cursor:pointer;transition:all .3s}.ant-table-filter-trigger:hover{color:#00000073;background:rgba(0,0,0,.04)}.ant-table-filter-trigger.active{color:#1890ff}.ant-table-filter-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";min-width:120px;background-color:#fff;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-table-filter-dropdown .ant-dropdown-menu{max-height:264px;overflow-x:hidden;border:0;box-shadow:none}.ant-table-filter-dropdown .ant-dropdown-menu:empty:after{display:block;padding:8px 0;color:#00000040;font-size:12px;text-align:center;content:"Not Found"}.ant-table-filter-dropdown-tree{padding:8px 8px 0}.ant-table-filter-dropdown-tree .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover{background-color:#bae7ff}.ant-table-filter-dropdown-search{padding:8px;border-bottom:1px #f0f0f0 solid}.ant-table-filter-dropdown-search-input input{min-width:140px}.ant-table-filter-dropdown-search-input .anticon{color:#00000040}.ant-table-filter-dropdown-checkall{width:100%;margin-bottom:4px;margin-left:4px}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{display:flex;justify-content:space-between;padding:7px 8px;overflow:hidden;background-color:inherit;border-top:1px solid #f0f0f0}.ant-table-selection-col{width:32px}.ant-table-bordered .ant-table-selection-col{width:50px}table tr th.ant-table-selection-column,table tr td.ant-table-selection-column{padding-right:4px;padding-left:4px;text-align:center}table tr th.ant-table-selection-column .ant-radio-wrapper,table tr td.ant-table-selection-column .ant-radio-wrapper{margin-right:0}table tr th.ant-table-selection-column.ant-table-cell-fix-left{z-index:3}table tr th.ant-table-selection-column:after{background-color:transparent!important}.ant-table-selection{position:relative;display:inline-flex;flex-direction:column}.ant-table-selection-extra{position:absolute;top:0;z-index:1;cursor:pointer;transition:all .3s;margin-inline-start:100%;padding-inline-start:2px}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{color:#1890ff;text-decoration:none;cursor:pointer;transition:color .3s;position:relative;display:inline-flex;float:left;box-sizing:border-box;width:17px;height:17px;padding:0;color:inherit;line-height:17px;background:#fff;border:1px solid #f0f0f0;border-radius:2px;outline:none;transform:scale(.82352941);transition:all .3s;-webkit-user-select:none;user-select:none}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#40a9ff}.ant-table-row-expand-icon:active{color:#096dd9}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover,.ant-table-row-expand-icon:active{border-color:currentcolor}.ant-table-row-expand-icon:before,.ant-table-row-expand-icon:after{position:absolute;background:currentcolor;transition:transform .3s ease-out;content:""}.ant-table-row-expand-icon:before{top:7px;right:3px;left:3px;height:1px}.ant-table-row-expand-icon:after{top:3px;bottom:3px;left:7px;width:1px;transform:rotate(90deg)}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0)}.ant-table-row-expand-icon-spaced{background:transparent;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:before,.ant-table-row-expand-icon-spaced:after{display:none;content:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-top:1.50002px;margin-right:4px}tr.ant-table-expanded-row>td,tr.ant-table-expanded-row:hover>td{background:#fbfbfb}tr.ant-table-expanded-row .ant-descriptions-view{display:flex}tr.ant-table-expanded-row .ant-descriptions-view table{flex:auto;width:auto}.ant-table .ant-table-expanded-row-fixed{position:relative;margin:-12px -8px;padding:12px 8px}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:#00000040}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#fff}.ant-table-cell-fix-left,.ant-table-cell-fix-right{position:sticky!important;z-index:2;background:#fff}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{position:absolute;top:0;right:0;bottom:-1px;width:30px;transform:translate(100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{position:absolute;top:0;bottom:-1px;left:0;width:30px;transform:translate(-100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:before,.ant-table .ant-table-container:after{position:absolute;top:0;bottom:0;z-index:1;width:30px;transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container{position:relative}.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container:before{box-shadow:inset 10px 0 8px -8px #00000026}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after{box-shadow:inset 10px 0 8px -8px #00000026}.ant-table-ping-left .ant-table-cell-fix-left-last:before{background-color:transparent!important}.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container{position:relative}.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container:after{box-shadow:inset -10px 0 8px -8px #00000026}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after{box-shadow:inset -10px 0 8px -8px #00000026}.ant-table-sticky-holder{position:sticky;z-index:3;background:#fff}.ant-table-sticky-scroll{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;background:#ffffff;border-top:1px solid #f0f0f0;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{height:8px;background-color:#00000059;border-radius:4px}.ant-table-sticky-scroll-bar:hover,.ant-table-sticky-scroll-bar-active{background-color:#000c}.ant-table-custom-column col{width:auto!important;min-width:auto!important;display:none}.ant-table-custom-column .ant-table-thead .ant-table-row{width:100%;display:flex;justify-content:space-between}.ant-table-custom-column .ant-table-thead .ant-table-row th{overflow:hidden}.ant-table-custom-column .ant-table-tbody .ant-table-row{width:100%;display:flex;justify-content:space-between}.ant-table-custom-column .ant-table-tbody .ant-table-row td{overflow:hidden}.ant-table-custom-column .ant-table-tbody .ant-table-row .nz-disable-td{width:100%}.ant-table-custom-column .ant-table-fixed tr .ant-table-cell-fix-left-last,.ant-table-custom-column .ant-table-fixed tr .ant-table-cell-fix-right-first{overflow:visible}.ant-table-custom-column .ant-table-fixed .ant-table-row{width:100%}@media all and (-ms-high-contrast: none){.ant-table-ping-left .ant-table-cell-fix-left-last:after{box-shadow:none!important}.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:2px 2px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child{border-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-left-radius:2px;border-top-right-radius:2px}.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:2px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:2px}.ant-table-footer{border-radius:0 0 2px 2px}.ant-table-wrapper-rtl,.ant-table-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{right:auto;left:0}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-12px 25px -12px -8px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-right:4px;margin-left:0}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:12px 8px 12px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger{margin:-4px 4px -4px -4px}.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span{padding-right:8px;padding-left:0}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-indent,.ant-table-wrapper-rtl .ant-table-row-expand-icon{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:0;margin-left:4px}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0)}nz-table,nz-table-title-footer,nz-table-inner-scroll,nz-table-inner-default,nz-table-selection{display:block}nz-filter-trigger{display:inline-flex}.nz-table-out-bordered>.ant-table-title{border:1px solid #f0f0f0;border-bottom:0}.nz-table-out-bordered>.ant-table-container{border:1px solid #f0f0f0;border-bottom:0}.nz-table-out-bordered>.ant-table-footer{border:1px solid #f0f0f0;border-top:0}cdk-virtual-scroll-viewport.ant-table-body{overflow-y:scroll}.nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.nz-table-hide-scrollbar::-webkit-scrollbar{background-color:#fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar::-webkit-scrollbar{background-color:transparent}.ant-table-wrapper-rtl .ant-table thead>tr>th.ant-table-selection-column{text-align:center}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>td{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tfoot>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #f0f0f0}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #f0f0f0;content:""}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.cdk-virtual-scroll-viewport>.cdk-virtual-scroll-content-wrapper>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-4px -5px}.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:4px 0;font-size:12px}.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:8px 0;font-size:14px}.ant-tabs-card.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:6px 8px}.ant-tabs-card.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:7px 8px 6px}.ant-tabs-rtl{direction:rtl}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab:last-of-type{margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .anticon{margin-right:0;margin-left:8px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove{margin-right:4px;margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-nav{order:1}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-content-holder{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-nav{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-content-holder{order:1}.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-right:2px;margin-left:0}.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-add{margin-right:2px;margin-left:0}.ant-tabs-dropdown-rtl{direction:rtl}.ant-tabs-dropdown-rtl .ant-tabs-dropdown-menu-item{text-align:right}.ant-tabs-top,.ant-tabs-bottom{flex-direction:column}.ant-tabs-top>.ant-tabs-nav,.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-top>div>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{margin:0 0 8px}.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before{position:absolute;right:0;left:0;border-bottom:1px solid #f0f0f0;content:""}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar{height:2px}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:width .3s,left .3s,right .3s}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{top:0;bottom:0;width:30px}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{left:0;box-shadow:inset 10px 0 8px -8px #00000014}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;box-shadow:inset -10px 0 8px -8px #00000014}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before{opacity:1}.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after{opacity:1}.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{bottom:0}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar{bottom:0}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{order:1;margin-top:8px;margin-bottom:0}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before{top:0}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar{top:0}.ant-tabs-bottom>.ant-tabs-content-holder,.ant-tabs-bottom>div>.ant-tabs-content-holder{order:0}.ant-tabs-left>.ant-tabs-nav,.ant-tabs-right>.ant-tabs-nav,.ant-tabs-left>div>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{flex-direction:column;min-width:50px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{padding:4px 16px;text-align:center}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin:8px 0 0}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap{flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;left:0;height:30px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;box-shadow:inset 0 10px 8px -8px #00000014}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{bottom:0;box-shadow:inset 0 -10px 8px -8px #00000014}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{width:2px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:height .3s,top .3s}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-operations{flex:1 0 auto;flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar{right:0}.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-left>div>.ant-tabs-content-holder{margin-left:-1px;border-left:1px solid #f0f0f0}.ant-tabs-left>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-left>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-left:16px}.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{order:1}.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{left:0}.ant-tabs-right>.ant-tabs-content-holder,.ant-tabs-right>div>.ant-tabs-content-holder{order:0;margin-right:-1px;border-right:1px solid #f0f0f0}.ant-tabs-right>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-right>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-right:16px}.ant-tabs-dropdown{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-tabs-dropdown-hidden{display:none}.ant-tabs-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-tabs-dropdown-menu-item{display:flex;align-items:center;min-width:120px;margin:0;padding:5px 8px;overflow:hidden;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-tabs-dropdown-menu-item>span{flex:1;white-space:nowrap}.ant-tabs-dropdown-menu-item-remove{flex:none;margin-left:8px;color:#00000073;font-size:12px;background:transparent;border:0;cursor:pointer}.ant-tabs-dropdown-menu-item-remove:hover{color:#40a9ff}.ant-tabs-dropdown-menu-item:hover{background:#f5f5f5}.ant-tabs-dropdown-menu-item-disabled,.ant-tabs-dropdown-menu-item-disabled:hover{color:#00000040;background:transparent;cursor:not-allowed}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab{margin:0;padding:4px 8px;background:#fafafa;border:1px solid #f0f0f0;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff;background:#fff}.ant-tabs-card>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-ink-bar{visibility:hidden}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-left:2px}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 2px 0 0}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab-active{border-bottom-color:#fff}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 0 2px 2px}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab-active{border-top-color:#fff}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-top:2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 0 0 2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab-active{border-right-color:#fff}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 2px 2px 0}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab-active{border-left-color:#fff}.ant-tabs{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:flex}.ant-tabs>.ant-tabs-nav,.ant-tabs>div>.ant-tabs-nav{position:relative;display:flex;flex:none;align-items:center}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap{position:relative;display:inline-block;display:flex;flex:auto;align-self:stretch;overflow:hidden;white-space:nowrap;transform:translate(0)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{position:absolute;z-index:1;opacity:0;transition:opacity .3s;content:"";pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-list{position:relative;display:flex;transition:transform .3s}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations{display:flex;align-self:stretch}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations-hidden,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more{position:relative;padding:4px 8px;background:transparent;border:0}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more:after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:""}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-width:40px;margin-left:2px;padding:0 4px;background:#fafafa;border:1px solid #f0f0f0;border-radius:2px 2px 0 0;outline:none;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:hover,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:hover{color:#40a9ff}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:focus,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:focus{color:#096dd9}.ant-tabs-extra-content{flex:none}.ant-tabs-centered>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*="ant-tabs-nav-wrap-ping"]),.ant-tabs-centered>div>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*="ant-tabs-nav-wrap-ping"]){justify-content:center}.ant-tabs-ink-bar{position:absolute;background:#1890ff;pointer-events:none}.ant-tabs-tab{position:relative;display:inline-flex;align-items:center;padding:8px 0;font-size:12px;background:transparent;border:0;outline:none;cursor:pointer}.ant-tabs-tab-btn:focus,.ant-tabs-tab-remove:focus,.ant-tabs-tab-btn:active,.ant-tabs-tab-remove:active{color:#096dd9}.ant-tabs-tab-btn{outline:none;transition:all .3s}.ant-tabs-tab-remove{flex:none;margin-right:0;margin-left:4px;color:#00000073;font-size:12px;background:transparent;border:none;outline:none;cursor:pointer;transition:all .3s}.ant-tabs-tab-remove:hover{color:#000000d9}.ant-tabs-tab:hover{color:#40a9ff}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#1890ff;text-shadow:0 0 .25px currentcolor}.ant-tabs-tab.ant-tabs-tab-disabled{color:#00000040;cursor:not-allowed}.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active{color:#00000040}.ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-tab .anticon{margin-right:8px}.ant-tabs-tab+.ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-content{display:flex;width:100%}.ant-tabs-content-holder{flex:auto;min-width:0;min-height:0}.ant-tabs-content-animated{transition:margin .3s}.ant-tabs-tabpane{flex:none;width:100%;outline:none}.ant-tabs-dropdown-menu-item a[nz-tab-link]{position:relative}.ant-tabs-tab a[nz-tab-link]:before{position:absolute;inset:0;background-color:transparent;content:""}.ant-tabs-tab a[nz-tab-link]~*{position:relative}nz-tabset,nz-tab-nav-operation,nz-tabs-nav{display:block;overflow:hidden}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item{min-width:120px;margin:0;padding:5px 8px;overflow:hidden;color:#000000d9;font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item:hover{background:#f5f5f5}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover{color:#00000040;background:transparent;cursor:not-allowed}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled a,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover a{pointer-events:none;color:#00000040}.ant-tabs-rtl .ant-tabs-rtl-tab-next{right:auto;left:2px}.ant-tabs-tab-disabled a{pointer-events:none;color:#00000040}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-height:40px}.ant-tag{box-sizing:border-box;margin:0 8px 0 0;color:#000000d9;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block;height:auto;padding:0 7px;font-size:12px;line-height:18px;white-space:nowrap;background:#fafafa;border:1px solid #d9d9d9;border-radius:2px;opacity:1;transition:all .3s}.ant-tag,.ant-tag a,.ant-tag a:hover{color:#000000d9}.ant-tag>a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ant-tag-close-icon{margin-left:3px;color:#00000073;font-size:10px;cursor:pointer;transition:all .3s}.ant-tag-close-icon:hover{color:#000000d9}.ant-tag-has-color{border-color:transparent}.ant-tag-has-color,.ant-tag-has-color a,.ant-tag-has-color a:hover,.ant-tag-has-color .anticon-close,.ant-tag-has-color .anticon-close:hover{color:#fff}.ant-tag-checkable{background-color:transparent;border-color:transparent;cursor:pointer}.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#1890ff}.ant-tag-checkable:active,.ant-tag-checkable-checked{color:#fff}.ant-tag-checkable-checked{background-color:#1890ff}.ant-tag-checkable:active{background-color:#096dd9}.ant-tag-hidden{display:none}.ant-tag-pink{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-pink-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-magenta{color:#c41d7f;background:#fff0f6;border-color:#ffadd2}.ant-tag-magenta-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-red{color:#cf1322;background:#fff1f0;border-color:#ffa39e}.ant-tag-red-inverse{color:#fff;background:#f5222d;border-color:#f5222d}.ant-tag-volcano{color:#d4380d;background:#fff2e8;border-color:#ffbb96}.ant-tag-volcano-inverse{color:#fff;background:#fa541c;border-color:#fa541c}.ant-tag-orange{color:#d46b08;background:#fff7e6;border-color:#ffd591}.ant-tag-orange-inverse{color:#fff;background:#fa8c16;border-color:#fa8c16}.ant-tag-yellow{color:#d4b106;background:#feffe6;border-color:#fffb8f}.ant-tag-yellow-inverse{color:#fff;background:#fadb14;border-color:#fadb14}.ant-tag-gold{color:#d48806;background:#fffbe6;border-color:#ffe58f}.ant-tag-gold-inverse{color:#fff;background:#faad14;border-color:#faad14}.ant-tag-cyan{color:#08979c;background:#e6fffb;border-color:#87e8de}.ant-tag-cyan-inverse{color:#fff;background:#13c2c2;border-color:#13c2c2}.ant-tag-lime{color:#7cb305;background:#fcffe6;border-color:#eaff8f}.ant-tag-lime-inverse{color:#fff;background:#a0d911;border-color:#a0d911}.ant-tag-green{color:#389e0d;background:#f6ffed;border-color:#b7eb8f}.ant-tag-green-inverse{color:#fff;background:#52c41a;border-color:#52c41a}.ant-tag-blue{color:#096dd9;background:#e6f7ff;border-color:#91d5ff}.ant-tag-blue-inverse{color:#fff;background:#1890ff;border-color:#1890ff}.ant-tag-geekblue{color:#1d39c4;background:#f0f5ff;border-color:#adc6ff}.ant-tag-geekblue-inverse{color:#fff;background:#2f54eb;border-color:#2f54eb}.ant-tag-purple{color:#531dab;background:#f9f0ff;border-color:#d3adf7}.ant-tag-purple-inverse{color:#fff;background:#722ed1;border-color:#722ed1}.ant-tag-success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.ant-tag-processing{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.ant-tag-error{color:#ff4d4f;background:#fff2f0;border-color:#ffccc7}.ant-tag-warning{color:#faad14;background:#fffbe6;border-color:#ffe58f}.ant-tag>.anticon+span,.ant-tag>span+.anticon{margin-left:7px}.ant-tag.ant-tag-rtl{margin-right:0;margin-left:8px;direction:rtl;text-align:right}.ant-tag-rtl .ant-tag-close-icon{margin-right:3px;margin-left:0}.ant-tag-rtl.ant-tag>.anticon+span,.ant-tag-rtl.ant-tag>span+.anticon{margin-right:7px;margin-left:0}.ant-timeline{box-sizing:border-box;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";margin:0;padding:0;list-style:none}.ant-timeline-item{position:relative;margin:0;padding-bottom:20px;font-size:12px;list-style:none}.ant-timeline-item-tail{position:absolute;top:10px;left:4px;height:calc(100% - 10px);border-left:2px solid #f0f0f0}.ant-timeline-item-pending .ant-timeline-item-head{font-size:12px;background-color:transparent}.ant-timeline-item-pending .ant-timeline-item-tail{display:none}.ant-timeline-item-head{position:absolute;width:10px;height:10px;background-color:#fff;border:2px solid transparent;border-radius:100px}.ant-timeline-item-head-blue{color:#1890ff;border-color:#1890ff}.ant-timeline-item-head-red{color:#ff4d4f;border-color:#ff4d4f}.ant-timeline-item-head-green{color:#52c41a;border-color:#52c41a}.ant-timeline-item-head-gray{color:#00000040;border-color:#00000040}.ant-timeline-item-head-custom{position:absolute;top:5.5px;left:5px;width:auto;height:auto;margin-top:0;padding:3px 1px;line-height:1;text-align:center;border:0;border-radius:0;transform:translate(-50%,-50%)}.ant-timeline-item-content{position:relative;top:-7.00004px;margin:0 0 0 18px;word-break:break-word}.ant-timeline-item-last>.ant-timeline-item-tail{display:none}.ant-timeline-item-last>.ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-tail,.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{left:50%}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head{margin-left:-4px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{margin-left:1px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content{left:calc(50% - 4px);width:calc(50% - 14px);text-align:left}.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content{width:calc(50% - 12px);margin:0;text-align:right}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom{left:calc(100% - 6px)}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(100% - 18px)}.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail{display:block;height:calc(100% - 14px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail{display:none}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{top:15px;display:block;height:calc(100% - 15px);border-left:2px dotted #f0f0f0}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-label .ant-timeline-item-label{position:absolute;top:-7.00004px;width:calc(50% - 12px);text-align:right}.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{left:calc(50% + 14px);width:calc(50% - 14px);text-align:left}.ant-timeline-rtl{direction:rtl}.ant-timeline-rtl .ant-timeline-item-tail{right:4px;left:auto;border-right:2px solid #f0f0f0;border-left:none}.ant-timeline-rtl .ant-timeline-item-head-custom{right:5px;left:auto;transform:translate(50%,-50%)}.ant-timeline-rtl .ant-timeline-item-content{margin:0 18px 0 0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{right:50%;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head{margin-right:-4px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom{margin-right:1px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content{right:calc(50% - 4px);left:auto;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom{right:0;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:100%;margin-right:18px;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{border-right:2px dotted #f0f0f0;border-left:none}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-label{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{right:calc(50% + 14px);text-align:right}.ant-tooltip{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1070;display:block;width:max-content;width:intrinsic;max-width:250px;visibility:visible}.ant-tooltip-content{position:relative}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:14.3137085px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightTop,.ant-tooltip-placement-rightBottom{padding-left:14.3137085px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:14.3137085px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftTop,.ant-tooltip-placement-leftBottom{padding-right:14.3137085px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:#000000bf;border-radius:2px;box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}.ant-tooltip-arrow{position:absolute;z-index:2;display:block;width:22px;height:22px;overflow:hidden;background:transparent;pointer-events:none}.ant-tooltip-arrow-content{--antd-arrow-background-color: linear-gradient(to right bottom, rgba(0, 0, 0, .65), rgba(0, 0, 0, .75));position:absolute;inset:0;display:block;width:11.3137085px;height:11.3137085px;margin:auto;background-color:transparent;content:"";pointer-events:auto;border-radius:0 0 2px;pointer-events:none}.ant-tooltip-arrow-content:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:var(--antd-arrow-background-color);background-repeat:no-repeat;background-position:-10px -10px;content:"";clip-path:path("M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z")}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:0;transform:translateY(100%)}.ant-tooltip-placement-top .ant-tooltip-arrow-content,.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-topRight .ant-tooltip-arrow-content{box-shadow:3px 3px 7px #00000012;transform:translateY(-11px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;transform:translateY(100%) translate(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{left:0;transform:translate(-100%)}.ant-tooltip-placement-right .ant-tooltip-arrow-content,.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content{box-shadow:-3px 3px 7px #00000012;transform:translate(11px) rotate(135deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;transform:translate(-100%) translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{right:0;transform:translate(100%)}.ant-tooltip-placement-left .ant-tooltip-arrow-content,.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content{box-shadow:3px -3px 7px #00000012;transform:translate(-11px) rotate(315deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;transform:translate(100%) translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:0;transform:translateY(-100%)}.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content{box-shadow:-3px -3px 7px #00000012;transform:translateY(11px) rotate(225deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;transform:translateY(-100%) translate(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-tooltip-pink .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-pink .ant-tooltip-arrow-content:before{background:#eb2f96}.ant-tooltip-magenta .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-magenta .ant-tooltip-arrow-content:before{background:#eb2f96}.ant-tooltip-red .ant-tooltip-inner{background-color:#f5222d}.ant-tooltip-red .ant-tooltip-arrow-content:before{background:#f5222d}.ant-tooltip-volcano .ant-tooltip-inner{background-color:#fa541c}.ant-tooltip-volcano .ant-tooltip-arrow-content:before{background:#fa541c}.ant-tooltip-orange .ant-tooltip-inner{background-color:#fa8c16}.ant-tooltip-orange .ant-tooltip-arrow-content:before{background:#fa8c16}.ant-tooltip-yellow .ant-tooltip-inner{background-color:#fadb14}.ant-tooltip-yellow .ant-tooltip-arrow-content:before{background:#fadb14}.ant-tooltip-gold .ant-tooltip-inner{background-color:#faad14}.ant-tooltip-gold .ant-tooltip-arrow-content:before{background:#faad14}.ant-tooltip-cyan .ant-tooltip-inner{background-color:#13c2c2}.ant-tooltip-cyan .ant-tooltip-arrow-content:before{background:#13c2c2}.ant-tooltip-lime .ant-tooltip-inner{background-color:#a0d911}.ant-tooltip-lime .ant-tooltip-arrow-content:before{background:#a0d911}.ant-tooltip-green .ant-tooltip-inner{background-color:#52c41a}.ant-tooltip-green .ant-tooltip-arrow-content:before{background:#52c41a}.ant-tooltip-blue .ant-tooltip-inner{background-color:#1890ff}.ant-tooltip-blue .ant-tooltip-arrow-content:before{background:#1890ff}.ant-tooltip-geekblue .ant-tooltip-inner{background-color:#2f54eb}.ant-tooltip-geekblue .ant-tooltip-arrow-content:before{background:#2f54eb}.ant-tooltip-purple .ant-tooltip-inner{background-color:#722ed1}.ant-tooltip-purple .ant-tooltip-arrow-content:before{background:#722ed1}.ant-tooltip-rtl{direction:rtl}.ant-tooltip-rtl .ant-tooltip-inner{text-align:right}.ant-tooltip{position:relative}.ant-transfer-customize-list .ant-transfer-list{flex:1 1 50%;width:auto;height:auto;min-height:200px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small{border:0;border-radius:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-selection-column{width:40px;min-width:40px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th{background:#fafafa}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:1px solid #f0f0f0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body{margin:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-pagination.ant-pagination{margin:16px 0 4px}.ant-transfer-customize-list .ant-input[disabled]{background-color:transparent}.ant-transfer-status-error .ant-transfer-list{border-color:#ff4d4f}.ant-transfer-status-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.ant-transfer-status-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-transfer-status-error .ant-transfer-list-search:not([disabled]):hover{border-right-width:0;border-left-width:1px!important}.ant-transfer-status-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-transfer-status-error .ant-transfer-list-search:not([disabled]):focus{border-right-width:0;border-left-width:1px!important}.ant-transfer-status-warning .ant-transfer-list{border-color:#faad14}.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff;border-right-width:1px}.ant-input-rtl .ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):hover{border-right-width:0;border-left-width:1px!important}.ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33;border-right-width:1px;outline:0}.ant-input-rtl .ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):focus{border-right-width:0;border-left-width:1px!important}.ant-transfer{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:stretch}.ant-transfer-disabled .ant-transfer-list{background:#f5f5f5}.ant-transfer-list{display:flex;flex-direction:column;width:180px;height:200px;border:1px solid #d9d9d9;border-radius:2px}.ant-transfer-list-with-pagination{width:250px;height:auto}.ant-transfer-list-search .anticon-search{color:#00000040}.ant-transfer-list-header{display:flex;flex:none;align-items:center;height:36px;padding:7px 8px 8px;color:#000000d9;background:#fff;border-bottom:1px solid #f0f0f0;border-radius:2px 2px 0 0}.ant-transfer-list-header>*:not(:last-child){margin-right:4px}.ant-transfer-list-header>*{flex:none}.ant-transfer-list-header-title{flex:auto;overflow:hidden;white-space:nowrap;text-align:right;text-overflow:ellipsis}.ant-transfer-list-header-dropdown{font-size:10px;transform:translateY(10%);cursor:pointer}.ant-transfer-list-header-dropdown[disabled]{cursor:not-allowed}.ant-transfer-list-body{display:flex;flex:auto;flex-direction:column;overflow:hidden;font-size:12px}.ant-transfer-list-body-search-wrapper{position:relative;flex:none;padding:8px}.ant-transfer-list-content{flex:auto;margin:0;padding:0;overflow:auto;list-style:none}.ant-transfer-list-content-item{display:flex;align-items:center;min-height:28px;padding:3px 8px;line-height:22px;transition:all .3s}.ant-transfer-list-content-item>*:not(:last-child){margin-right:8px}.ant-transfer-list-content-item>*{flex:none}.ant-transfer-list-content-item-text{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-transfer-list-content-item-remove{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;position:relative;color:#d9d9d9}.ant-transfer-list-content-item-remove:focus,.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item-remove:active{color:#096dd9}.ant-transfer-list-content-item-remove:after{position:absolute;inset:-3px -50%;content:""}.ant-transfer-list-content-item-remove:hover{color:#40a9ff}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:#f5f5f5;cursor:pointer}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover{background-color:#dcf4ff}.ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background:transparent;cursor:default}.ant-transfer-list-content-item-checked{background-color:#e6f7ff}.ant-transfer-list-content-item-disabled{color:#00000040;cursor:not-allowed}.ant-transfer-list-pagination{padding:4px 0;text-align:right;border-top:1px solid #f0f0f0}.ant-transfer-list-body-not-found{flex:none;width:100%;margin:auto 0;color:#00000040;text-align:center}.ant-transfer-list-footer{border-top:1px solid #f0f0f0}.ant-transfer-operation{display:flex;flex:none;flex-direction:column;align-self:center;margin:0 8px;vertical-align:middle}.ant-transfer-operation .ant-btn{display:block}.ant-transfer-operation .ant-btn:first-child{margin-bottom:4px}.ant-transfer-operation .ant-btn .anticon{font-size:12px}.ant-transfer .ant-empty-image{max-height:-4px}.ant-transfer-rtl{direction:rtl}.ant-transfer-rtl .ant-transfer-list-search{padding-right:8px;padding-left:24px}.ant-transfer-rtl .ant-transfer-list-search-action{right:auto;left:12px}.ant-transfer-rtl .ant-transfer-list-header>*:not(:last-child){margin-right:0;margin-left:4px}.ant-transfer-rtl .ant-transfer-list-header{right:0;left:auto}.ant-transfer-rtl .ant-transfer-list-header-title{text-align:left}.ant-transfer-rtl .ant-transfer-list-content-item>*:not(:last-child){margin-right:0;margin-left:8px}.ant-transfer-rtl .ant-transfer-list-pagination{text-align:left}.ant-transfer-rtl .ant-transfer-list-footer{right:0;left:auto}.ant-typography{color:#000000d9;overflow-wrap:break-word}.ant-typography.ant-typography-secondary{color:#00000073}.ant-typography.ant-typography-success{color:#52c41a}.ant-typography.ant-typography-warning{color:#faad14}.ant-typography.ant-typography-danger{color:#ff4d4f}a.ant-typography.ant-typography-danger:active,a.ant-typography.ant-typography-danger:focus{color:#d9363e}a.ant-typography.ant-typography-danger:hover{color:#ff7875}.ant-typography.ant-typography-disabled{color:#00000040;cursor:not-allowed;-webkit-user-select:none;user-select:none}div.ant-typography,.ant-typography p{margin-bottom:1em}h1.ant-typography,div.ant-typography-h1,div.ant-typography-h1>textarea,.ant-typography h1{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:33px;line-height:1.23}h2.ant-typography,div.ant-typography-h2,div.ant-typography-h2>textarea,.ant-typography h2{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:26px;line-height:1.35}h3.ant-typography,div.ant-typography-h3,div.ant-typography-h3>textarea,.ant-typography h3{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:21px;line-height:1.35}h4.ant-typography,div.ant-typography-h4,div.ant-typography-h4>textarea,.ant-typography h4{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:18px;line-height:1.4}h5.ant-typography,div.ant-typography-h5,div.ant-typography-h5>textarea,.ant-typography h5{margin-bottom:.5em;color:#000000d9;font-weight:600;font-size:14px;line-height:1.5}.ant-typography+h1.ant-typography,.ant-typography+h2.ant-typography,.ant-typography+h3.ant-typography,.ant-typography+h4.ant-typography,.ant-typography+h5.ant-typography{margin-top:1.2em}.ant-typography div+h1,.ant-typography ul+h1,.ant-typography li+h1,.ant-typography p+h1,.ant-typography h1+h1,.ant-typography h2+h1,.ant-typography h3+h1,.ant-typography h4+h1,.ant-typography h5+h1,.ant-typography div+h2,.ant-typography ul+h2,.ant-typography li+h2,.ant-typography p+h2,.ant-typography h1+h2,.ant-typography h2+h2,.ant-typography h3+h2,.ant-typography h4+h2,.ant-typography h5+h2,.ant-typography div+h3,.ant-typography ul+h3,.ant-typography li+h3,.ant-typography p+h3,.ant-typography h1+h3,.ant-typography h2+h3,.ant-typography h3+h3,.ant-typography h4+h3,.ant-typography h5+h3,.ant-typography div+h4,.ant-typography ul+h4,.ant-typography li+h4,.ant-typography p+h4,.ant-typography h1+h4,.ant-typography h2+h4,.ant-typography h3+h4,.ant-typography h4+h4,.ant-typography h5+h4,.ant-typography div+h5,.ant-typography ul+h5,.ant-typography li+h5,.ant-typography p+h5,.ant-typography h1+h5,.ant-typography h2+h5,.ant-typography h3+h5,.ant-typography h4+h5,.ant-typography h5+h5{margin-top:1.2em}a.ant-typography-ellipsis,span.ant-typography-ellipsis{display:inline-block;max-width:100%}a.ant-typography,.ant-typography a{color:#1890ff;outline:none;cursor:pointer;transition:color .3s;text-decoration:none}a.ant-typography:focus,.ant-typography a:focus,a.ant-typography:hover,.ant-typography a:hover{color:#40a9ff}a.ant-typography:active,.ant-typography a:active{color:#096dd9}a.ant-typography:active,.ant-typography a:active,a.ant-typography:hover,.ant-typography a:hover{text-decoration:none}a.ant-typography[disabled],.ant-typography a[disabled],a.ant-typography.ant-typography-disabled,.ant-typography a.ant-typography-disabled{color:#00000040;cursor:not-allowed}a.ant-typography[disabled]:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:active,a.ant-typography[disabled]:hover,.ant-typography a[disabled]:hover,a.ant-typography.ant-typography-disabled:hover,.ant-typography a.ant-typography-disabled:hover{color:#00000040}a.ant-typography[disabled]:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:active{pointer-events:none}.ant-typography code{margin:0 .2em;padding:.2em .4em .1em;font-size:85%;background:rgba(150,150,150,.1);border:1px solid rgba(100,100,100,.2);border-radius:3px}.ant-typography kbd{margin:0 .2em;padding:.15em .4em .1em;font-size:90%;background:rgba(150,150,150,.06);border:1px solid rgba(100,100,100,.2);border-bottom-width:2px;border-radius:3px}.ant-typography mark{padding:0;background-color:#ffe58f}.ant-typography u,.ant-typography ins{text-decoration:underline;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}.ant-typography s,.ant-typography del{text-decoration:line-through}.ant-typography strong{font-weight:600}.ant-typography-expand,.ant-typography-edit,.ant-typography-copy{color:#1890ff;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;margin-left:4px}.ant-typography-expand:focus,.ant-typography-edit:focus,.ant-typography-copy:focus,.ant-typography-expand:hover,.ant-typography-edit:hover,.ant-typography-copy:hover{color:#40a9ff}.ant-typography-expand:active,.ant-typography-edit:active,.ant-typography-copy:active{color:#096dd9}.ant-typography-copy-success,.ant-typography-copy-success:hover,.ant-typography-copy-success:focus{color:#52c41a}.ant-typography-edit-content{position:relative}div.ant-typography-edit-content{left:-8px;margin-top:-4px;margin-bottom:calc(1em - 4px)}.ant-typography-edit-content-confirm{position:absolute;right:10px;bottom:8px;color:#00000073;font-weight:400;font-size:12px;font-style:normal;pointer-events:none}.ant-typography-edit-content textarea{height:1em;margin:0!important;-moz-transition:none}.ant-typography ul,.ant-typography ol{margin:0 0 1em;padding:0}.ant-typography ul li,.ant-typography ol li{margin:0 0 0 20px;padding:0 0 0 4px}.ant-typography ul{list-style-type:circle}.ant-typography ul ul{list-style-type:disc}.ant-typography ol{list-style-type:decimal}.ant-typography pre,.ant-typography blockquote{margin:1em 0}.ant-typography pre{padding:.4em .6em;white-space:pre-wrap;word-wrap:break-word;background:rgba(150,150,150,.1);border:1px solid rgba(100,100,100,.2);border-radius:3px}.ant-typography pre code{display:inline;margin:0;padding:0;font-size:inherit;font-family:inherit;background:transparent;border:0}.ant-typography blockquote{padding:0 0 0 .6em;border-left:4px solid rgba(100,100,100,.2);opacity:.85}.ant-typography-single-line{white-space:nowrap}.ant-typography-ellipsis-single-line{overflow:hidden;text-overflow:ellipsis}a.ant-typography-ellipsis-single-line,span.ant-typography-ellipsis-single-line{vertical-align:bottom}.ant-typography-ellipsis-multiple-line{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-expand,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-copy{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-8px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ul li,.ant-typography-rtl.ant-typography ol li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#1890ff}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:#fafafa;border:1px dashed #d9d9d9;border-radius:2px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:8px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#096dd9}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#40a9ff}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#40a9ff;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:#000000d9;font-size:14px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:#00000073;font-size:12px}.ant-upload.ant-upload-drag .anticon-plus{color:#00000040;font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:#00000073}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.66667}.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{display:table;clear:both;content:""}.ant-upload-list-item{position:relative;height:20.00004px;margin-top:4px;font-size:12px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:20px;overflow:hidden;line-height:1.66667;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:20.00004px;line-height:1;vertical-align:top}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:#00000073;transition:all .3s}.ant-upload-list-item-card-actions:hover .anticon{color:#000000d9}.ant-upload-list-item-info{height:100%;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .anticon-loading .anticon,.ant-upload-list-item-info .ant-upload-text-icon .anticon{position:absolute;top:4px;color:#00000073;font-size:12px}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5f5f5}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-text-icon>.anticon,.ant-upload-list-item-error .ant-upload-list-item-name{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{color:#ff4d4f}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:24px;font-size:12px;line-height:0}.ant-upload-list-picture .ant-upload-list-item,.ant-upload-list-picture-card .ant-upload-list-item{position:relative;height:66px;padding:4px;border:1px solid #d9d9d9;border-radius:2px}.ant-upload-list-picture .ant-upload-list-item:hover,.ant-upload-list-picture-card .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture .ant-upload-list-item-error,.ant-upload-list-picture-card .ant-upload-list-item-error{border-color:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture .ant-upload-list-item-uploading,.ant-upload-list-picture-card .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:60px;text-align:center;opacity:.8}.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff2f0}.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#ff4d4f}.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-picture-card .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture .ant-upload-list-item-icon .anticon,.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture .ant-upload-list-item-image,.ant-upload-list-picture-card .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture .ant-upload-list-item-thumbnail img,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name{margin-bottom:12px}.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 4px 4px 0;vertical-align:top}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:#00000080;opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete{z-index:10;width:16px;margin:0 4px;color:#ffffffd9;font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions,.ant-upload-list-picture-card .ant-upload-list-item-actions:hover{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.66667;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:#fafafa}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-text-container,.ant-upload-list-picture-container{transition:opacity .3s,height .3s}.ant-upload-list-text-container:before,.ant-upload-list-picture-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-text-container .ant-upload-span,.ant-upload-list-picture-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-text .ant-upload-span,.ant-upload-list-picture .ant-upload-span{display:flex;align-items:center}.ant-upload-list-text .ant-upload-span>*,.ant-upload-list-picture .ant-upload-span>*{flex:none}.ant-upload-list-text .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-name{flex:auto;margin:0;padding:0 4px}.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{animation-duration:.3s;animation-fill-mode:cubic-bezier(.78,.14,.15,.86)}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{animation-name:uploadAnimateInlineOut}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:20px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:24px;padding-left:0}.ant-upload-list-picture .ant-upload-list-item-info,.ant-upload-list-picture-card .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 4px 4px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item{float:unset}.ant-select-auto-complete{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum"}.ant-select-auto-complete .ant-select-clear{right:13px}.ant-select-dropdown-hidden{display:none}.ant-cascader-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner,.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner{border-color:#1890ff}.ant-cascader-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-cascader-checkbox:hover:after,.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox:after{visibility:visible}.ant-cascader-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-cascader-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-cascader-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-cascader-checkbox-disabled{cursor:not-allowed}.ant-cascader-checkbox-disabled.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-cascader-checkbox-disabled .ant-cascader-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-cascader-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-cascader-checkbox-disabled:hover:after,.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-disabled:after{visibility:hidden}.ant-cascader-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-cascader-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-disabled{cursor:not-allowed}.ant-cascader-checkbox-wrapper+.ant-cascader-checkbox-wrapper{margin-left:8px}.ant-cascader-checkbox-wrapper.ant-cascader-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-cascader-checkbox+span{padding-right:8px;padding-left:8px}.ant-cascader-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-cascader-checkbox-group-item{margin-right:6px}.ant-cascader-checkbox-group-item:last-child{margin-right:0}.ant-cascader-checkbox-group-item+.ant-cascader-checkbox-group-item{margin-left:0}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-cascader-checkbox-indeterminate.ant-cascader-checkbox-disabled .ant-cascader-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-cascader-checkbox-rtl{direction:rtl}.ant-cascader-checkbox-group-rtl .ant-cascader-checkbox-group-item{margin-right:0;margin-left:6px}.ant-cascader-checkbox-group-rtl .ant-cascader-checkbox-group-item:last-child{margin-left:0!important}.ant-cascader-checkbox-group-rtl .ant-cascader-checkbox-group-item+.ant-cascader-checkbox-group-item{margin-left:6px}.ant-cascader{width:184px}.ant-cascader-checkbox{top:0;margin-right:4px}.ant-cascader-menus{display:flex;flex-wrap:nowrap;align-items:flex-start}.ant-cascader-menus.ant-cascader-menu-empty .ant-cascader-menu{width:100%;height:auto}.ant-cascader-menu{flex-grow:1;min-width:111px;height:180px;margin:-4px 0;padding:4px 0;overflow:auto;vertical-align:top;list-style:none;border-right:1px solid #f0f0f0;-ms-overflow-style:-ms-autohiding-scrollbar}.ant-cascader-menu-item{display:flex;flex-wrap:nowrap;align-items:center;padding:5px 8px;overflow:hidden;line-height:18px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-cascader-menu-item:hover{background:#f5f5f5}.ant-cascader-menu-item-disabled{color:#00000040;cursor:not-allowed}.ant-cascader-menu-item-disabled:hover{background:transparent}.ant-cascader-menu-empty .ant-cascader-menu-item{color:#00000040;cursor:default;pointer-events:none}.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover{font-weight:600;background-color:#e6f7ff}.ant-cascader-menu-item-content{flex:auto}.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-loading-icon{margin-left:0;color:#00000073;font-size:10px}.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon{color:#00000040}.ant-cascader-menu-item-keyword{color:#ff4d4f}.ant-cascader-rtl .ant-cascader-menu-item-expand-icon,.ant-cascader-rtl .ant-cascader-menu-item-loading-icon{margin-right:0;margin-left:0}.ant-cascader-rtl .ant-cascader-checkbox{top:0;margin-right:0;margin-left:4px}.ant-cascader-menus{position:relative;margin-top:2px;margin-bottom:2px}nz-tree-virtual-scroll-view{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}nz-tree-virtual-scroll-view .ant-tree-list,nz-tree-virtual-scroll-view .ant-tree-list-holder{height:100%}nz-tree-virtual-scroll-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon,nz-tree-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon{display:none}nz-tree-view .ant-tree-list-holder-inner{display:flex;flex-direction:column}@keyframes ant-tree-node-fx-do-not-use{0%{opacity:0}to{opacity:1}}.ant-tree.ant-tree-directory .ant-tree-treenode{position:relative}.ant-tree.ant-tree-directory .ant-tree-treenode:before{position:absolute;inset:0 0 4px;transition:background-color .3s;content:"";pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background:#f5f5f5}.ant-tree.ant-tree-directory .ant-tree-treenode>*{z-index:1}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher{transition:color .3s}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover:before,.ant-tree.ant-tree-directory .ant-tree-treenode-selected:before{background:#1890ff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff;background:transparent}.ant-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner,.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner{border-color:#1890ff}.ant-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-tree-checkbox:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-tree-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{margin-right:6px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-tree-checkbox-rtl{direction:rtl}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item{margin-right:0;margin-left:6px}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:6px}.ant-tree{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-tree-focused:not(:hover):not(.ant-tree-active-focused){background:#e6f7ff}.ant-tree-list-holder-inner{align-items:flex-start}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner{align-items:stretch}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper{flex:auto}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-treenode.dragging{position:relative}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-treenode.dragging:after{position:absolute;inset:0 0 2px;border:1px solid #1890ff;opacity:0;animation:ant-tree-node-fx-do-not-use .3s;animation-play-state:running;animation-fill-mode:forwards;content:"";pointer-events:none}.ant-tree .ant-tree-treenode{display:flex;align-items:flex-start;padding:0 0 2px;outline:none}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:#00000040;cursor:not-allowed}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper{background:#f5f5f5}.ant-tree .ant-tree-treenode:not(.ant-tree .ant-tree-treenode-disabled).filter-node .ant-tree-title{color:inherit;font-weight:500}.ant-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;user-select:none}.ant-tree-indent-unit{display:inline-block;width:20px}.ant-tree-draggable-icon{width:20px;line-height:20px;text-align:center;opacity:.2;transition:opacity .3s}.ant-tree-treenode:hover .ant-tree-draggable-icon{opacity:.45}.ant-tree-switcher{position:relative;flex:none;align-self:stretch;width:20px;margin:0;line-height:20px;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-tree-switcher .ant-tree-switcher-icon,.ant-tree-switcher .ant-select-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-tree-switcher .ant-tree-switcher-icon svg,.ant-tree-switcher .ant-select-tree-switcher-icon svg{transition:transform .3s}.ant-tree-switcher-noop{cursor:default}.ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-tree-switcher-loading-icon{color:#1890ff}.ant-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-tree-switcher-leaf-line:before{position:absolute;top:0;right:12px;bottom:-2px;margin-left:-1px;border-right:1px solid #d9d9d9;content:" "}.ant-tree-switcher-leaf-line:after{position:absolute;width:6px;height:10px;border-bottom:1px solid #d9d9d9;content:" "}.ant-tree-checkbox{top:initial;margin:3px 8px 0 0}.ant-tree .ant-tree-node-content-wrapper{position:relative;z-index:auto;min-height:20px;margin:0;padding:0 4px;color:inherit;line-height:20px;background:transparent;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-tree .ant-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle{display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;vertical-align:top}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty{display:none}.ant-tree-unselectable .ant-tree-node-content-wrapper:hover{background-color:transparent}.ant-tree-node-content-wrapper{line-height:20px;-webkit-user-select:none;user-select:none}.ant-tree-node-content-wrapper .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-tree-node-content-wrapper .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #1890ff;border-radius:50%;content:""}.ant-tree .ant-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-tree-show-line .ant-tree-indent-unit{position:relative;height:100%}.ant-tree-show-line .ant-tree-indent-unit:before{position:absolute;top:0;right:10px;bottom:-2px;border-right:1px solid #d9d9d9;content:""}.ant-tree-show-line .ant-tree-indent-unit-end:before{display:none}.ant-tree-show-line .ant-tree-switcher{background:#fff}.ant-tree-show-line .ant-tree-switcher-line-icon{vertical-align:-.15em}.ant-tree .ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:10px!important}.ant-tree-rtl{direction:rtl}.ant-tree-rtl .ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{right:-6px;left:unset}.ant-tree .ant-tree-treenode-rtl{direction:rtl}.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit:before{right:auto;left:-11px;border-right:none;border-left:1px solid #d9d9d9}.ant-tree-rtl .ant-tree-checkbox,.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox{margin:3px 0 0 8px}.font-highlight{color:#ff4d4f}.ant-tree-child-tree{overflow:hidden}nz-tree{display:block}.ant-select-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox-input:focus+.ant-select-tree-checkbox-inner{border-color:#1890ff}.ant-select-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:""}.ant-select-tree-checkbox:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox:after{visibility:visible}.ant-select-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-select-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-select-tree-checkbox-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-select-tree-checkbox-disabled{cursor:not-allowed}.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{border-color:#00000040;animation-name:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;animation-name:none}.ant-select-tree-checkbox-disabled+span{color:#00000040;cursor:not-allowed}.ant-select-tree-checkbox-disabled:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled:after{visibility:hidden}.ant-select-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-select-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:"\a0"}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-select-tree-checkbox-wrapper+.ant-select-tree-checkbox-wrapper{margin-left:8px}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-select-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-select-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-select-tree-checkbox-group-item{margin-right:6px}.ant-select-tree-checkbox-group-item:last-child{margin-right:0}.ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:0}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#1890ff;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{background-color:#00000040;border-color:#00000040}.ant-select-tree-checkbox-rtl{direction:rtl}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item{margin-right:0;margin-left:6px}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:6px}.ant-tree-select-dropdown{padding:4px 2px}.ant-tree-select-dropdown-rtl{direction:rtl}.ant-tree-select-dropdown .ant-select-tree{border-radius:0}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner{align-items:stretch}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:2px;transition:background-color .3s}.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused){background:#e6f7ff}.ant-select-tree-list-holder-inner{align-items:flex-start}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner{align-items:stretch}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-treenode.dragging{position:relative}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-treenode.dragging:after{position:absolute;inset:0 0 2px;border:1px solid #1890ff;opacity:0;animation:ant-tree-node-fx-do-not-use .3s;animation-play-state:running;animation-fill-mode:forwards;content:"";pointer-events:none}.ant-select-tree .ant-select-tree-treenode{display:flex;align-items:flex-start;padding:0 0 2px;outline:none}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper{color:#00000040;cursor:not-allowed}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover{background:transparent}.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper{background:#f5f5f5}.ant-select-tree .ant-select-tree-treenode:not(.ant-select-tree .ant-select-tree-treenode-disabled).filter-node .ant-select-tree-title{color:inherit;font-weight:500}.ant-select-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;user-select:none}.ant-select-tree-indent-unit{display:inline-block;width:20px}.ant-select-tree-draggable-icon{width:20px;line-height:20px;text-align:center;opacity:.2;transition:opacity .3s}.ant-select-tree-treenode:hover .ant-select-tree-draggable-icon{opacity:.45}.ant-select-tree-switcher{position:relative;flex:none;align-self:stretch;width:20px;margin:0;line-height:20px;text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none}.ant-select-tree-switcher .ant-tree-switcher-icon,.ant-select-tree-switcher .ant-select-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-select-tree-switcher .ant-tree-switcher-icon svg,.ant-select-tree-switcher .ant-select-tree-switcher-icon svg{transition:transform .3s}.ant-select-tree-switcher-noop{cursor:default}.ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-select-tree-switcher-loading-icon{color:#1890ff}.ant-select-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-select-tree-switcher-leaf-line:before{position:absolute;top:0;right:12px;bottom:-2px;margin-left:-1px;border-right:1px solid #d9d9d9;content:" "}.ant-select-tree-switcher-leaf-line:after{position:absolute;width:6px;height:10px;border-bottom:1px solid #d9d9d9;content:" "}.ant-select-tree-checkbox{top:initial;margin:3px 8px 0 0}.ant-select-tree .ant-select-tree-node-content-wrapper{position:relative;z-index:auto;min-height:20px;margin:0;padding:0 4px;color:inherit;line-height:20px;background:transparent;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-select-tree .ant-select-tree-node-content-wrapper:hover{background-color:#f5f5f5}.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected{background-color:#bae7ff}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle{display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;vertical-align:top}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty{display:none}.ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover{background-color:transparent}.ant-select-tree-node-content-wrapper{line-height:20px;-webkit-user-select:none;user-select:none}.ant-select-tree-node-content-wrapper .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#1890ff;border-radius:1px;pointer-events:none}.ant-select-tree-node-content-wrapper .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #1890ff;border-radius:50%;content:""}.ant-select-tree .ant-select-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #1890ff}.ant-select-tree-show-line .ant-select-tree-indent-unit{position:relative;height:100%}.ant-select-tree-show-line .ant-select-tree-indent-unit:before{position:absolute;top:0;right:10px;bottom:-2px;border-right:1px solid #d9d9d9;content:""}.ant-select-tree-show-line .ant-select-tree-indent-unit-end:before{display:none}.ant-select-tree-show-line .ant-select-tree-switcher{background:#fff}.ant-select-tree-show-line .ant-select-tree-switcher-line-icon{vertical-align:-.15em}.ant-select-tree .ant-select-tree-treenode-leaf-last .ant-select-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:10px!important}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon{transform:scaleY(-1)}.ant-tree.ant-select-tree.ant-tree-show-line nz-tree-node[builtin]:not(:last-child)>li:before{content:" ";width:1px;border-left:1px solid #d9d9d9;height:calc(100% - 16px);position:absolute;left:12px;margin:26px 0}.ant-select-dropdown.ant-select-tree-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;overflow:auto}.ant-picker-calendar{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:"tnum";background:#fff}.ant-picker-calendar-header{display:flex;justify-content:flex-end;padding:8px 0}.ant-picker-calendar-header .ant-picker-calendar-year-select{min-width:80px}.ant-picker-calendar-header .ant-picker-calendar-month-select{min-width:70px;margin-left:4px}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{margin-left:4px}.ant-picker-calendar .ant-picker-panel{background:#fff;border:0;border-top:1px solid #f0f0f0;border-radius:0}.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel,.ant-picker-calendar .ant-picker-panel .ant-picker-date-panel{width:auto}.ant-picker-calendar .ant-picker-panel .ant-picker-body{padding:4px 0}.ant-picker-calendar .ant-picker-panel .ant-picker-content{width:100%}.ant-picker-calendar-mini{border-radius:2px}.ant-picker-calendar-mini .ant-picker-calendar-header{padding-right:4px;padding-left:4px}.ant-picker-calendar-mini .ant-picker-panel{border-radius:0 0 2px 2px}.ant-picker-calendar-mini .ant-picker-content{height:256px}.ant-picker-calendar-mini .ant-picker-content th{height:auto;padding:0;line-height:18px}.ant-picker-calendar-mini .ant-picker-cell:before{pointer-events:none}.ant-picker-calendar-full .ant-picker-panel{display:block;width:100%;text-align:right;background:#fff;border:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th,.ant-picker-calendar-full .ant-picker-panel .ant-picker-body td{padding:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{height:auto;padding:0 12px 5px 0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date{background:#f5f5f5}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell .ant-picker-calendar-date-today:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today{background:#e6f7ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date{display:block;width:auto;height:auto;margin:0 2px;padding:2px 4px 0;border:0;border-top:2px solid #f0f0f0;border-radius:0;transition:background .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-value{line-height:24px;transition:color .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{position:static;width:auto;height:86px;overflow-y:auto;color:#000000d9;line-height:1.66667;text-align:left}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today{border-color:#1890ff}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:#000000d9}@media only screen and (max-width: 480px){.ant-picker-calendar-header{display:block}.ant-picker-calendar-header .ant-picker-calendar-year-select{width:50%}.ant-picker-calendar-header .ant-picker-calendar-month-select{width:calc(50% - 4px)}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{width:100%;margin-top:4px;margin-left:0}.ant-picker-calendar-header .ant-picker-calendar-mode-switch>label{width:50%;text-align:center}}.ant-picker-calendar-rtl{direction:rtl}.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-month-select,.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-mode-switch{margin-right:4px;margin-left:0}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel{text-align:left}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0 0 5px 12px}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{text-align:right}.ant-result{padding:48px 32px}.ant-result-success .ant-result-icon>.anticon{color:#52c41a}.ant-result-error .ant-result-icon>.anticon{color:#ff4d4f}.ant-result-info .ant-result-icon>.anticon{color:#1890ff}.ant-result-warning .ant-result-icon>.anticon{color:#faad14}.ant-result-image{width:250px;height:295px;margin:auto}.ant-result-icon{margin-bottom:24px;text-align:center}.ant-result-icon>.anticon{font-size:64px}.ant-result-title{color:#000000d9;font-size:20px;line-height:1.8;text-align:center}.ant-result-subtitle{color:#00000073;font-size:12px;line-height:1.6;text-align:center}.ant-result-extra{margin:24px 0 0;text-align:center}.ant-result-extra>*{margin-right:8px}.ant-result-extra>*:last-child{margin-right:0}.ant-result-content{margin-top:24px;padding:24px 40px;background-color:#fafafa}.ant-result-rtl{direction:rtl}.ant-result-rtl .ant-result-extra>*{margin-right:0;margin-left:8px}.ant-result-rtl .ant-result-extra>*:last-child{margin-left:0}nz-result{display:block}.ant-space{display:inline-flex}.ant-space-vertical{flex-direction:column}.ant-space-align-center{align-items:center}.ant-space-align-start{align-items:flex-start}.ant-space-align-end{align-items:flex-end}.ant-space-align-baseline{align-items:baseline}.ant-space-item:empty{display:none}.ant-space-rtl{direction:rtl}nz-space-item{display:block}.ant-image{position:relative;display:inline-block}.ant-image-img{width:100%;height:auto;vertical-align:middle}.ant-image-img-placeholder{background-color:#f5f5f5;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=);background-repeat:no-repeat;background-position:center center;background-size:30%}.ant-image-mask{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.5);cursor:pointer;opacity:0;transition:opacity .3s}.ant-image-mask-info{padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-image-mask-info .anticon{margin-inline-end:0px}.ant-image-mask:hover{opacity:1}.ant-image-placeholder{position:absolute;inset:0}.ant-image-preview{pointer-events:none;height:100%;text-align:center}.ant-image-preview.ant-zoom-enter,.ant-image-preview.ant-zoom-appear{transform:none;opacity:0;animation-duration:.3s;-webkit-user-select:none;user-select:none}.ant-image-preview-mask{position:fixed;inset:0;z-index:1000;height:100%;background-color:#00000073}.ant-image-preview-mask-hidden{display:none}.ant-image-preview-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-image-preview-body{position:absolute;inset:0;overflow:hidden}.ant-image-preview-img{max-width:100%;max-height:100%;vertical-align:middle;transform:scaleZ(1);cursor:grab;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s;-webkit-user-select:none;user-select:none;pointer-events:auto}.ant-image-preview-img-wrapper{position:absolute;inset:0;transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s}.ant-image-preview-img-wrapper:before{display:inline-block;width:1px;height:50%;margin-right:-1px;content:""}.ant-image-preview-moving .ant-image-preview-img{cursor:grabbing}.ant-image-preview-moving .ant-image-preview-img-wrapper{transition-duration:0s}.ant-image-preview-wrap{z-index:1080}.ant-image-preview-operations{box-sizing:border-box;margin:0;padding:0;color:#000000d9;font-size:12px;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:"tnum";position:absolute;top:0;right:0;z-index:1;display:flex;flex-direction:row-reverse;align-items:center;width:100%;color:#ffffffd9;list-style:none;background:rgba(0,0,0,.1);pointer-events:auto}.ant-image-preview-operations-operation{margin-left:8px;padding:8px;cursor:pointer}.ant-image-preview-operations-operation-disabled{color:#ffffff40;pointer-events:none}.ant-image-preview-operations-operation:last-of-type{margin-left:0}.ant-image-preview-operations-progress{position:absolute;left:50%;transform:translate(-50%)}.ant-image-preview-operations-icon{font-size:18px}.ant-image-preview-switch-left,.ant-image-preview-switch-right{position:absolute;top:50%;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;color:#ffffffd9;background:rgba(0,0,0,.1);border-radius:50%;cursor:pointer;pointer-events:auto}.ant-image-preview-switch-left-disabled,.ant-image-preview-switch-right-disabled{color:#ffffff40;cursor:not-allowed}.ant-image-preview-switch-left-disabled>.anticon,.ant-image-preview-switch-right-disabled>.anticon{cursor:not-allowed}.ant-image-preview-switch-left>.anticon,.ant-image-preview-switch-right>.anticon{font-size:18px}.ant-image-preview-switch-left{left:10px}.ant-image-preview-switch-right{right:10px}.cdk-overlay-backdrop.ant-image-preview-mask{opacity:1}.ant-cron-expression{display:flex;flex-wrap:nowrap}.ant-cron-expression-content{width:100%}.ant-cron-expression-content .ant-cron-expression-input-group-error-focus{box-shadow:0 0 0 2px #ff4d4f33}.ant-cron-expression nz-cron-expression-input{width:20%}.ant-cron-expression-input-group{display:flex;flex-wrap:nowrap;align-items:center}.ant-cron-expression-input-group input{border:none!important;box-shadow:none!important;width:100%;outline:none;padding:0;border-radius:0}.ant-cron-expression-input-group-focus{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff33;outline:0}.ant-cron-expression nz-cron-expression-label{width:20%}.ant-cron-expression-label-group{display:flex;width:100%;flex-wrap:nowrap;justify-content:space-around;padding-top:0!important;padding-bottom:0!important}.ant-cron-expression-label-group-default{padding:0 8px}.ant-cron-expression-label-foucs{color:#1890ff}.ant-cron-expression-map{margin-left:8px}.ant-cron-expression-preview{display:flex;padding:8px}.ant-cron-expression-preview-dateTime{flex:1 1 auto;display:flex;align-items:center}.ant-cron-expression-preview-dateTime-center{justify-content:center}.ant-cron-expression-preview-content{flex:0 0 220px;display:flex;align-items:center;padding-left:8px}.ant-cron-expression-preview-content-date{flex:1 1 auto}.ant-cron-expression-preview-list,.ant-cron-expression-preview-icon,.ant-cron-expression-preview-list li,.ant-cron-expression-preview-icon li{list-style:none;margin:0;padding:0}.ant-cron-expression-preview-list{overflow-y:scroll;height:132px}.ant-cron-expression-preview-icon{height:100%}.ant-cron-expression-error{color:#ff4d4f}.ant-cron-expression-hint p{display:flex}.ant-cron-expression-hint span{display:inline-block;min-width:40px}.ant-qrcode{display:inline-block;position:relative;background-color:#fff;padding:8px}.ant-qrcode>canvas{display:block}.ant-qrcode-border{border-radius:2px;border:1px solid #f0f0f0}.ant-qrcode-mask{position:absolute;top:0;right:0;z-index:10;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;text-align:center;background-color:#fffffff5}.ant-qrcode-expired{color:#000000d9}.ant-water-mark{position:relative}.typeahead-match{font-weight:700}